JPH09179960A - Automatic light quantity controlling device and its method - Google Patents

Automatic light quantity controlling device and its method

Info

Publication number
JPH09179960A
JPH09179960A JP7337549A JP33754995A JPH09179960A JP H09179960 A JPH09179960 A JP H09179960A JP 7337549 A JP7337549 A JP 7337549A JP 33754995 A JP33754995 A JP 33754995A JP H09179960 A JPH09179960 A JP H09179960A
Authority
JP
Japan
Prior art keywords
level
light receiving
light
output level
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7337549A
Other languages
Japanese (ja)
Other versions
JP3356367B2 (en
Inventor
Masatoshi Toda
正利 戸田
Masaki Fuse
正樹 布施
Shintaro Tashiro
慎太郎 田代
Tetsuo Takahashi
哲生 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Rayon Co Ltd
Original Assignee
Mitsubishi Rayon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Rayon Co Ltd filed Critical Mitsubishi Rayon Co Ltd
Priority to JP33754995A priority Critical patent/JP3356367B2/en
Publication of JPH09179960A publication Critical patent/JPH09179960A/en
Application granted granted Critical
Publication of JP3356367B2 publication Critical patent/JP3356367B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To instantaneously match a light receiving level to an objective light receiving level by calculating an output level to an illuminating device which is necessary for obtaining the objective light receiving level and outputting the found output level to the illuminating device. SOLUTION: Relational expressions K=Y0 ÷X0 <2> and X=(Y÷K)<1/2> of a light source for a halogen lamp illuminating device 1 with an external dimming function to be used are supplied to a control program stored in a host computer to be a control part 4 as data exprssions. The control part 4 converts the digital output level X of the device 1 into an analog voltage value (0 to 5V) by the use of both the relational expressions based upon a current digital output level X0 , to the device 1, a current digital light receiving level Y0 , outputted from a picture processor 3, the digital output level X of the device 1, and a digital light receiving level Y from the processor 3 and outputs the analog voltage value to the device 1 in order to obtain an objective digital light receiving level.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は欠陥検査装置等に用
いることができる自動光量調節装置及び自動光量調節方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic light amount adjusting device and an automatic light amount adjusting method which can be used for a defect inspection device or the like.

【0002】[0002]

【従来技術】画像処理装置における照明用電源供給装置
として特開昭63−208174公報のものが知られて
いるが、この装置では、CCDカメラから取り込んだビ
デオ信号をD/A変換したピークホールド値(受光レベ
ル)を求め、その値が下限値以下なら照明装置電圧(出
力レベル)を上げ、上限値以上なら照明装置電圧を下げ
る方法を採用している。
2. Description of the Related Art Japanese Patent Laid-Open No. 63-208174 is known as a power supply device for illumination in an image processing device. In this device, a peak hold value obtained by D / A converting a video signal taken in from a CCD camera. (Light receiving level) is calculated, and if the value is less than or equal to the lower limit value, the lighting device voltage (output level) is increased, and if it is above the upper limit value, the lighting device voltage is decreased.

【0003】[0003]

【発明が解決しようとする課題】しかしこの自動光量調
節方法では、受光レベルの上限値、下限値の範囲が狭い
場合や、検査対象物の厚さ、色、種類等が変わり照明の
光量を大きく変える場合は、受光レベルを上限値と下限
値の間に合わせるまでに多くの比較操作を必要とし、ラ
インセンサを用いる連続シート物等の欠陥検査には不向
きであった。
However, according to this automatic light quantity adjusting method, when the upper and lower limits of the light receiving level are narrow, or the thickness, color, type, etc. of the inspection object are changed, the light quantity of the illumination is increased. In the case of changing, many comparison operations are required until the light receiving level is adjusted between the upper limit value and the lower limit value, and it is not suitable for defect inspection of a continuous sheet or the like using a line sensor.

【0004】[0004]

【課題を解決するための手段】本発明の要旨は、検査対
象物を照明する外部調光機能付きハロゲンランプ照明装
置(1)と、照明された検査対象物を撮像するラインセ
ンサ(2)と、ラインセンサからのビデオ信号を取り込
み受光レベルに変換する画像処理装置(3)と、照明装
置に対する出力レベルXoを与え、画像処理装置から出
力された受光レベルYoを測定して、次の関係式 K=Yo÷(Xo)2 (1) から係数Kを求め、目標とする受光レベルをYとしたと
きに次の関係式 X=(Y÷K)1/2 (2) から照明装置の出力レベルXを求め、この出力レベルX
を照明装置に出力する制御部(4)から成る自動光量調
節装置にある。
SUMMARY OF THE INVENTION The gist of the present invention is a halogen lamp illuminating device (1) with an external dimming function for illuminating an inspection object, and a line sensor (2) for imaging the illuminated inspection object. , An image processing device (3) that takes in a video signal from the line sensor and converts it into a light receiving level, and an output level Xo for the illuminating device, measure the light receiving level Yo output from the image processing device, and calculate the following relational expression: K = Yo ÷ (Xo) 2 The coefficient K is calculated from (1), and when the target received light level is Y, the following relational expression X = (Y ÷ K) 1/2 (2) Calculate the level X and output this level X
In the automatic light quantity adjusting device comprising a control unit (4) for outputting the light to the lighting device.

【0005】また本発明の要旨は、前記の自動光量調節
装置を使用する自動光量調節方法にある。
Further, the gist of the present invention resides in an automatic light amount adjusting method using the above-mentioned automatic light amount adjusting device.

【0006】[0006]

【発明の実施の形態】図1は、外部調光付きハロゲンラ
ンプ光源における出力レベル対ラインセンサによる受光
光量レベルの特性図を示している。ほぼ2次曲線に乗る
ため、前記(1)の関係式が得られる。図2は、本発明
の自動光量調節装置に検査対象物組み込んだ例を示すブ
ロック図である。この装置は連続シート物等の欠陥検査
装置等の一部として使用可能である。
1 shows a characteristic diagram of an output level in a halogen lamp light source with external dimming vs. a received light amount level by a line sensor. Since it rides on a quadratic curve, the relational expression (1) is obtained. FIG. 2 is a block diagram showing an example in which the inspection object is incorporated in the automatic light quantity adjusting device of the present invention. This device can be used as a part of a defect inspection device for continuous sheets and the like.

【0007】照明装置(1)としては、三菱レイヨン
(株)製ライトガイドと三菱レイヨン(株)製外部制御
電圧(0〜5V)による外部調光付き光源(型名 EL
I−J、N、H、R、M2、M3シリーズ)が用いられ
る。この照明装置は、ホストコンピュータからの制御電
圧(0〜5V)により光量値を変化させることができ
る。
As the lighting device (1), a light guide manufactured by Mitsubishi Rayon Co., Ltd. and a light source (model name EL) with external dimming by an external control voltage (0-5 V) manufactured by Mitsubishi Rayon Co., Ltd.
I-J, N, H, R, M2, M3 series) is used. This lighting device can change the light amount value by the control voltage (0 to 5 V) from the host computer.

【0008】ラインセンサ(2)は、照明装置(1)に
よって照射された検査対象物(5)からの反射光または
透過光等を受光するものであり、三菱レイヨン(株)製
(型名SCC、SCDシリーズ)のラインCCDカメラ
等を用いることができる。
The line sensor (2) receives reflected light or transmitted light from the inspection object (5) illuminated by the illuminating device (1) and is manufactured by Mitsubishi Rayon Co., Ltd. (model name SCC). , SCD series) line CCD camera or the like can be used.

【0009】画像処理装置(3)は、ラインセンサから
のアナログビデオ信号(0〜1V)を画像処理装置内の
8ビットA/D変換回路によりデジタル受光レベル(0
〜255)に変換し、ホストコンピュータから指定され
た指定範囲画素間(通常は検査幅)のデジタル受光レベ
ルの総和を指定範囲画素数で割りデジタル平均受光レベ
ルX0(0〜255)を求めてホストコンピュータへ送
信(GPIB通信)するものである。画像処理装置とし
ては、三菱レイヨン(株)製(型名 LSCシリーズ)
等を用いることができる。
The image processing device (3) converts the analog video signal (0 to 1 V) from the line sensor into a digital light receiving level (0) by an 8-bit A / D conversion circuit in the image processing device.
.About.255), and the sum of the digital light receiving levels between the designated range pixels (usually the inspection width) designated by the host computer is divided by the number of designated range pixels to obtain the digital average light receiving level X 0 (0 to 255). It is transmitted to the host computer (GPIB communication). The image processing device is manufactured by Mitsubishi Rayon Co., Ltd. (Model name LSC series)
Etc. can be used.

【0010】制御部(4)としてのホストコンピュータ
には、使用する照明装置の光源の関係式(1)及び
(2)がホストコンピュータの制御プログラムにデータ
式として与えられている。制御部(4)は、現状の照明
装置に対するデジタル出力レベルXo、現状の画像処理
装置から出力されたデジタル受光レベルYo、照明装置
のデジタル出力レベルXと画像処理装置から出力された
デジタル受光レベルYの両関係式を利用して、目標とす
るデジタル受光レベルYを得るための照明装置のデジタ
ル出力レベルXをアナログ電圧値(0〜5V)に変換し
照明装置に出力する役割を有している。
In the host computer as the control unit (4), the relational expressions (1) and (2) of the light source of the lighting device to be used are given to the control program of the host computer as data expressions. The control unit (4) controls the digital output level Xo for the current lighting device, the digital light receiving level Yo output from the current image processing device, the digital output level X of the lighting device and the digital light receiving level Y output from the image processing device. By using both of the relational expressions, the digital output level X of the lighting device for obtaining the target digital light reception level Y is converted into an analog voltage value (0 to 5V) and output to the lighting device. .

【0011】ホストコンピュータは現状の出力レベルX
0のデジタル信号をアナログ信号に変換して照明装置に
出力する。即ち、現状のデジタル出力レベルX0(0〜
255)を拡張ボードとして内蔵されている8ビットD
/A変換ボードによりデジタル出力レベル(0〜25
5)からアナログ電圧値(0〜5V)に変換し、照明装
置に対して出力する。
The host computer uses the current output level X
The digital signal of 0 is converted into an analog signal and output to the lighting device. That is, the current digital output level X 0 (0 to
255) built in as an expansion board 8-bit D
Digital output level (0-25
5) is converted into an analog voltage value (0 to 5 V) and output to the lighting device.

【0012】さらに、ホストコンピュータは、画像処理
装置からのデジタル平均受光レベルY0(0〜255)
を受信し、使用している照明装置の関係式(1)へデジ
タル出力レベルX0(0〜255)、デジタル平均受光
レベルY0(0〜255)を代入し、関係式(2)から
目標とするデジタル受光レベルY(0〜255)を得る
ためのデジタル出力レベルX(0〜255)を求め、こ
の値Xを照明装置へ出力する。これによって目標デジタ
ル受光レベルY(0〜255)を得ることができる。
Further, the host computer uses the digital average received light level Y 0 (0 to 255) from the image processing apparatus.
From the relational expression (2) by substituting the digital output level X 0 (0 to 255) and the digital average received light level Y 0 (0 to 255) into the relational expression (1) of the lighting device used. Then, the digital output level X (0 to 255) for obtaining the digital light receiving level Y (0 to 255) is calculated, and this value X is output to the lighting device. As a result, the target digital light reception level Y (0 to 255) can be obtained.

【0013】通常の利用では、図3等の制御フローによ
って、目標受光レベルに対して許容範囲の上限、下限の
範囲を設ける。即ち、ラインCCDカメラで受光した光
量が指定範囲に入っているかチェックし、指定上下限の
範囲内なら光量調節を終了する。範囲外ならば照明装置
の出力レベルを計算、出力し、再度受光し、受光レベル
をチェックする制御ループになっている。測定系の関係
で照明出力が足りない場合、または過多の場合は、ルー
プの回数に制限を持たせ制御不能の処理を行う。
In normal use, the upper and lower limits of the permissible range are set for the target light receiving level by the control flow shown in FIG. That is, it is checked whether the amount of light received by the line CCD camera is within the specified range, and if it is within the specified upper and lower limits, the adjustment of the amount of light is terminated. If it is out of the range, the control loop is for calculating and outputting the output level of the lighting device, receiving light again, and checking the light receiving level. If the illumination output is insufficient or excessive due to the measurement system, the number of loops is limited and uncontrollable processing is performed.

【0014】[0014]

【実施例】以下、本発明の自動光量調節装置及び方法を
実施例により具体的に説明する。 実施例1 照明装置としては、三菱レイヨン(株)製ライトガイド
と三菱レイヨン(株)製外部制御電圧(0〜5V)によ
る外部調光付き光源(型名 ELI−100J)を用い
た。ラインセンサとしては、三菱レイヨン(株)製(型
名SCC−2048)のラインCCDカメラ等を用い
た。制御部は図3の制御ループを採用した。
EXAMPLES The automatic light amount adjusting apparatus and method of the present invention will be described in detail below with reference to examples. Example 1 As a lighting device, a light guide manufactured by Mitsubishi Rayon Co., Ltd. and a light source with external dimming (model name ELI-100J) manufactured by Mitsubishi Rayon Co., Ltd. by an external control voltage (0 to 5 V) were used. As the line sensor, a line CCD camera manufactured by Mitsubishi Rayon Co., Ltd. (model name SCC-2048) was used. The control unit employs the control loop shown in FIG.

【0015】透明樹脂板を検査対象物とし、目標下限レ
ベル160と目標上限レベル170の中間の目標受光レ
ベルYを165とした場合、まず初期出力レベルXoと
して100の出力値を与えてやり初期受光レベルYoと
して64が得られた。そこで関係式(1)から係数K=
64÷1002=0.0064が得られた。
When a transparent resin plate is used as an inspection object and a target light receiving level Y intermediate between the target lower limit level 160 and the target upper limit level 170 is set to 165, first, an output value of 100 is given as an initial output level Xo, and the initial light receiving is performed. 64 was obtained as a level Yo. Therefore, from the relational expression (1), the coefficient K =
64 ÷ 100 2 = 0.0064.

【0016】次に関係式(2)からY=165となるよ
うなXの値を求めた。 X=165÷(0.0064)2=160 であるから出力レベルXとして160が求まった。この
X=160を出力すると受光レベルYとして166が得
られ、目標受光レベルの上下限値内に調光された。
Next, the value of X such that Y = 165 was obtained from the relational expression (2). Since X = 165 ÷ (0.0064) 2 = 160, 160 was obtained as the output level X. When this X = 160 is output, 166 is obtained as the light receiving level Y, and the light is adjusted within the upper and lower limit values of the target light receiving level.

【0017】[0017]

【発明の効果】本発明の自動光量調節装置または方法に
よれば、目標とする受光レベルを得るために必要な照明
装置への出力レベルを計算で求め、求めた出力レベルを
照明装置に出力することにより目標受光レベルに瞬時に
合わせることができる。
According to the automatic light quantity adjusting device or method of the present invention, the output level to the lighting device necessary for obtaining the target light receiving level is calculated, and the obtained output level is output to the lighting device. As a result, the target light receiving level can be instantly adjusted.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例1で用いた光源における出力レベルとラ
インCCDカメラによる受光光量レベルの特性図を示す
図である。
FIG. 1 is a diagram showing a characteristic diagram of an output level in a light source used in Example 1 and a received light amount level by a line CCD camera.

【図2】本発明の自動光量調節方法構成の一例を示すブ
ロック図である。
FIG. 2 is a block diagram showing an example of a configuration of an automatic light amount adjusting method of the present invention.

【図3】ホストコンピュータにおける制御プログラムの
フロー図である。
FIG. 3 is a flowchart of a control program in a host computer.

【符号の簡単な説明】[Brief description of reference numerals]

1 照明装置 2 ラインセンサ 3 画像処理装置 4 制御部 5 検査対象物 1 Lighting Device 2 Line Sensor 3 Image Processing Device 4 Control Unit 5 Inspection Object

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高橋 哲生 愛知県豊橋市牛川通四丁目1番地の2 三 菱レイヨン株式会社豊橋事業所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tetsuo Takahashi 2-4-1, Ushikawa-dori, Toyohashi City, Aichi Sanryo Rayon Co., Ltd. Toyohashi Plant

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 検査対象物を照明する外部調光機能付き
ハロゲンランプ照明装置(1)と、照明された検査対象
物を撮像するラインセンサ(2)と、ラインセンサから
のビデオ信号を取り込み受光レベルに変換する画像処理
装置(3)と、照明装置に対する出力レベルXoを与
え、画像処理装置から出力された受光レベルYoを測定
して、次の関係式 K=Yo÷(Xo)2 (1) から係数Kを求め、目標とする受光レベルをYとしたと
きに次の関係式 X=(Y÷K)1/2 (2) から照明装置の出力レベルXを求め、この出力レベルX
を照明装置に出力する制御部(4)から成る自動光量調
節装置。
1. A halogen lamp illuminating device (1) with an external dimming function for illuminating an inspection object, a line sensor (2) for imaging the illuminated inspection object, and receiving a video signal from the line sensor to receive light. An image processing device (3) for converting into a level and an output level Xo for the illuminating device are given, the light receiving level Yo output from the image processing device is measured, and the following relational expression K = Yo ÷ (Xo) 2 (1 ), The target light receiving level is Y, and the output level X of the lighting device is calculated from the following relational expression X = (Y ÷ K) 1/2 (2).
An automatic light quantity adjusting device comprising a control section (4) for outputting the light to a lighting device.
【請求項2】 請求項1に記載の自動光量調節装置を使
用する自動光量調節方法。
2. An automatic light amount adjusting method using the automatic light amount adjusting device according to claim 1.
JP33754995A 1995-12-25 1995-12-25 Automatic light control device and method Expired - Lifetime JP3356367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33754995A JP3356367B2 (en) 1995-12-25 1995-12-25 Automatic light control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33754995A JP3356367B2 (en) 1995-12-25 1995-12-25 Automatic light control device and method

Publications (2)

Publication Number Publication Date
JPH09179960A true JPH09179960A (en) 1997-07-11
JP3356367B2 JP3356367B2 (en) 2002-12-16

Family

ID=18309700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33754995A Expired - Lifetime JP3356367B2 (en) 1995-12-25 1995-12-25 Automatic light control device and method

Country Status (1)

Country Link
JP (1) JP3356367B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011203223A (en) * 2010-03-26 2011-10-13 Panasonic Electric Works Co Ltd Device and method for detecting flaw

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011203223A (en) * 2010-03-26 2011-10-13 Panasonic Electric Works Co Ltd Device and method for detecting flaw

Also Published As

Publication number Publication date
JP3356367B2 (en) 2002-12-16

Similar Documents

Publication Publication Date Title
US20030076411A1 (en) Electronic endoscope with light-amount adjustment apparatus
JPH04324767A (en) Television camera device with variable shutter
EP0106672A1 (en) System for scanning information from moving objects employing automatic light control
JPS61189579A (en) Exposure adjusting device for copying machine
JPH09179960A (en) Automatic light quantity controlling device and its method
TW370759B (en) Method of reading color image, color image reading apparatus and system for reading color image
JPH11168600A (en) Image reader
EP0506031A1 (en) Illumination flicker correction for video cameras
JPH09102849A (en) Image reading device
GB2122338A (en) Image information output apparatus
JPS63244028A (en) Copying device with automatic exposing device
JP3236164B2 (en) Image reading device
JP3846670B2 (en) Image reading device
JPH06289682A (en) Image forming device
JPH01288060A (en) Picture input device
JP4230091B2 (en) Appearance inspection device
JPS5913465A (en) Original reader
EP0549485A1 (en) Optical intermediate for electrophotography
JPH04130866A (en) Electronic image pickup device provided with fluorescent lamp for illumination
JPH06246904A (en) Method and apparatus for automatically re-inputting reference data
JPH07160070A (en) Image density adjusting device
JPS61224781A (en) Shading correcting control system
JP3094493B2 (en) Automatic color temperature correction device
JPS6152660A (en) Image forming device
JPH02100459A (en) Film image reader

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071004

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101004

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111004

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111004

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121004

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121004

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131004

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term