JPS6019872B2 - Defect inspection device - Google Patents

Defect inspection device

Info

Publication number
JPS6019872B2
JPS6019872B2 JP957779A JP957779A JPS6019872B2 JP S6019872 B2 JPS6019872 B2 JP S6019872B2 JP 957779 A JP957779 A JP 957779A JP 957779 A JP957779 A JP 957779A JP S6019872 B2 JPS6019872 B2 JP S6019872B2
Authority
JP
Japan
Prior art keywords
signal
output
sample
circuit
circuits
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.)
Expired
Application number
JP957779A
Other languages
Japanese (ja)
Other versions
JPS55100788A (en
Inventor
雪雄 上西
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP957779A priority Critical patent/JPS6019872B2/en
Publication of JPS55100788A publication Critical patent/JPS55100788A/en
Publication of JPS6019872B2 publication Critical patent/JPS6019872B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Closed-Circuit Television Systems (AREA)

Description

【発明の詳細な説明】 この発明は、シート物等の被検査面を光電的に走査して
欠点を検査する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an apparatus that photoelectrically scans the surface of a sheet or the like to be inspected for defects.

例えば第1図のように、光源1と適宜な撮像装置2との
間に紙やフィルム等のシート状の被検査物3を配して、
透過方式に被検査物3を走査し、撮像装置2より出力さ
れる映像信号から欠点を検出する場合、被検査物3に付
着した黒い汚れのような欠点(階欠点)は、同図1に示
すように映像信号中にその地合信号レベルより低レベル
の信号n,として現われ、被検査物3のピンホールのよ
うな欠点(明欠点)は、同図0のように地合信号レベル
より高レベルの信号山として現われる。
For example, as shown in FIG. 1, a sheet-shaped object to be inspected 3 such as paper or film is arranged between a light source 1 and a suitable imaging device 2,
When scanning the inspection object 3 using a transmission method and detecting defects from the video signal output from the imaging device 2, defects such as black dirt attached to the inspection object 3 (floor defects) are detected as shown in Fig. 1. As shown in the figure, defects such as pinholes (bright defects) appear in the video signal as a signal n, which is lower than the ground signal level. Appears as a high-level signal mountain.

品質管理等の必要性に応じて、上記の階欠点および明欠
点をそれぞれ正しく区別して検出することが望まれる。
その場合には、従来、次のような回路で処理している。
すなわち第1図に示すように、適宜な充放電時定数をも
つ積分回路4aでもつて映像信号を積分(包絡線検波)
することによって、地合信号レベルの低周波数の変動に
は追従し、かつ階欠点信号には応答の遅い信号を得、さ
らにその信号に加算回路5aにて適宜な直流電圧ひ,を
加集することにより、同図1の点線で示すような地合信
号レベルより適宜に低いしきい値信号SH,を得、比較
器6aにて映像信号をそのしきい値SH,で2値化し、
波形整形回路7aで整形すると、同図a,に示すような
階欠点検出信号が得られる。同様に、積分回路4bおよ
び加算回路5bによって同図川こ示すように地合信号レ
ベルより適宜に高いしきし、値信号SH2を得、比較器
6bにて映像信号をそのしきし、値SQで2値化し、波
形整形回路7bで整形すると、同図らに示すような明欠
点検出信号が得られるのである。ところで上記構成にお
いて、例えば同図mに示すように過大な明欠点信号山が
現われると、そのレベル上昇に応答して8音欠点弁別用
のしきし、値信号SH,も上昇し、明欠点信号n2の立
下がり時に、積分回路4aの立下がり応答が遅いため、
映像信号レベルがしきし、値SH,以下になる状態を生
ずることがある。
Depending on the need for quality control, etc., it is desirable to correctly distinguish and detect the above-mentioned grade defects and bright defects.
In this case, the following circuit has conventionally been used to process the problem.
In other words, as shown in FIG. 1, the video signal is integrated (envelope detection) using an integrating circuit 4a having an appropriate charging/discharging time constant.
By doing so, a signal is obtained that follows low frequency fluctuations in the ground signal level and has a slow response to the ground fault signal, and furthermore, an appropriate DC voltage is added to this signal in the adder circuit 5a. By doing this, a threshold signal SH, which is appropriately lower than the ground signal level as shown by the dotted line in FIG.
When the waveform is shaped by the waveform shaping circuit 7a, a floor defect detection signal as shown in FIG. Similarly, the integrating circuit 4b and the adding circuit 5b obtain a value signal SH2 which is appropriately higher than the ground signal level as shown in the figure, and the comparator 6b converts the video signal to the value SQ. When the signal is binarized and shaped by the waveform shaping circuit 7b, a bright spot detection signal as shown in the figures is obtained. By the way, in the above configuration, when an excessive bright defect signal peak appears, for example as shown in FIG. When n2 falls, the fall response of the integrating circuit 4a is slow, so
A situation may occur where the video signal level becomes too high and becomes less than the value SH.

そうすると、同図昨2,b3に示すように、比較器6b
からは正しい明欠点検出信号が出力されるが、比較器6
aから不必要な誤った検出信号が出力されてしまう。こ
のような現象は、過大な8音欠点信号の立下がりに対し
て明欠点弁別用しきい値信号SH2が応答しすぎる場合
にも生ずる。その結果、明欠点と賭欠点を正しく区別し
て計数することができなくなるという不都合を生じてい
た。この発明は上記の問題を解決するためになされたも
ので、その目的とするところは、この種の明欠点と階欠
点との双方を検出可能な欠点検査装置において、過大な
明欠点または晴欠点に基づいて、明欠点の場合には脂欠
点側に、また階欠点の場合には明欠点側にそれぞれ誤っ
た信号が出力されることを防止することある。
Then, as shown in Figure 2, b3, the comparator 6b
The correct bright defect detection signal is output from the comparator 6, but the comparator 6
An unnecessary and erroneous detection signal will be output from a. Such a phenomenon also occurs when the bright defect discrimination threshold signal SH2 responds too much to the excessive fall of the 8-tone defect signal. As a result, there has been an inconvenience in that bright defects and bright defects cannot be correctly distinguished and counted. This invention was made in order to solve the above-mentioned problem, and its purpose is to detect excessively bright or fine defects in a defect inspection device capable of detecting both bright defects and graded defects. Based on this, it is possible to prevent erroneous signals from being output to the greasy defect side in the case of a bright defect, and to the bright defect side in the case of a floor defect.

以下、この発明の実施例を図面に基づいて詳細に説明す
る。第2図において、撮像装置2、積分回路4a,4b
、加算回路5a,5b、比較器6a,6bおよび波形整
形回路7a,7bは前記と同じである。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings. In FIG. 2, an imaging device 2, integrating circuits 4a and 4b
, adder circuits 5a, 5b, comparators 6a, 6b, and waveform shaping circuits 7a, 7b are the same as described above.

本発明の装置では、積分回路4a,4bのそれぞれの出
力側に、所定の制御信号を受けて積分出力をホールドす
るホールド回路8a,8bが設けられている。このホー
ルド回路8a,8bが動作しておらず、積分回路4a,
4bの出力をそのまま加算回路5a,5bに入力してい
る状態は、堂1図の回路とまった〈同じである。なお、
撮像装置2として最近ではCCD等の自己走査型団体撮
像素子が用いられるが、その場合、映像信号は走査クロ
ツクと同じ周波数のパルス信号の形で得られる。第1図
および第3図の映像信号波形の冒頭部分は、高周波のパ
ルス信号であることを表わしているのである。波形整形
回路7aからは方形波に整形された晴久点検出信号が出
力されるが、その検出信号はオア回路9を介してホール
ド回路8aに制御信号として供給される。
In the apparatus of the present invention, hold circuits 8a and 8b are provided on the output side of each of the integration circuits 4a and 4b to receive a predetermined control signal and hold the integrated output. These hold circuits 8a, 8b are not operating, and the integrating circuits 4a,
The state in which the output of circuit 4b is directly input to adder circuits 5a and 5b is the same as the circuit shown in Figure 1. In addition,
Recently, a self-scanning collective image sensor such as a CCD has been used as the imaging device 2, but in this case, the video signal is obtained in the form of a pulse signal having the same frequency as the scanning clock. The beginning portions of the video signal waveforms in FIGS. 1 and 3 represent high-frequency pulse signals. The waveform shaping circuit 7a outputs a clear point detection signal shaped into a square wave, and the detection signal is supplied via the OR circuit 9 to the hold circuit 8a as a control signal.

この構成において、第3図1のように映像信号中に階欠
点信号n,が現われ、そのレベルがしきい値SH,以下
になると、同藤ね,に示すようにその時部,で波形整形
回路7aの出力が“H”になり、この“H”信号を受け
てホールド回路8aが機能して、時点ちの積分回路4a
の出力電圧を保持する。そのため、しきし、値SH,も
時点らのレベルに保持され、その値より映像信号レベル
が大きくなった時点t2に、波形整形回路7aの出力が
“L”に復帰し、ホールド回路8aのホールド動作も解
除される。このように、脂欠点検出信号によって脂欠点
弁別用のしきい値SH,をホールドすれば、階欠点信号
n,によってしきし、値SH,が不要にレベル低下しな
いので、日音欠点信号n.の幅に対応した比較的大きな
幅の検出信号が得られる。また、波形整形回路7bから
は方形波に整形された明欠点検出信号が出力されるが、
その検出信号はホールド回路8bに制御信号として供給
される。
In this configuration, when a floor defect signal n appears in the video signal as shown in FIG. The output of 7a becomes "H", and upon receiving this "H" signal, the hold circuit 8a functions, and the current integration circuit 4a is activated.
maintains the output voltage. Therefore, the threshold value SH, is also held at the level from time t2, and at time t2 when the video signal level becomes greater than that value, the output of the waveform shaping circuit 7a returns to "L", and the hold circuit 8a holds The operation is also canceled. In this way, if the threshold value SH for greasy defect discrimination is held based on the greasy defect detection signal, the level SH will not drop unnecessarily due to the level defect signal n, so that the level of the Nichion defect signal n. A detection signal with a relatively large width corresponding to the width of is obtained. Further, the waveform shaping circuit 7b outputs a bright defect detection signal shaped into a square wave.
The detection signal is supplied to the hold circuit 8b as a control signal.

この構成も上記と同じ目的のもので、第3図0,Qに示
すように、明欠点検出信号が出力されている期間(らか
らt4まで)、明欠点弁別用のしきし、値SH2が検出
時点t3の値に保持される。さらに、波形整形回路7b
から出力される明欠点検出信号は、タイマ回路10およ
びオア回路9を介して階欠点弁別側のホールド回路8a
の制御信号ともなる。このタイマ回路10はオフディレ
ィ型のもので、第3図批2およびCに示すように、波形
整形回路7bの出力が“H”に立上がると同時にタイマ
回路10の出力も“H”になり、波形整形回路7bの出
力が“L”に立下がると、その時点t4より予め設定さ
れた遅延時間To後にタイマ回路10の出力が“L”に
なる。このタイマ回路10の出力がホールド回路8aに
供、給され、階欠点弁別用のしきし、値$日,がホール
ドされる。すなわち、明欠点信号Qが比較器6bで弁別
されて波形整形回路7bが検出信号が出力されると、階
欠点弁別用のしきい値糞日,が時点t3の値に保持され
るので、しきい値SH,が明欠点信号比に影響されて不
必要にレベル上昇することがない。ところで、明欠点検
出信号の幅は映像信号中の明欠点信号−の幅より当然少
さくなり、特にしきい値S比が高く設定されている程、
検出信号の幅は狭くなる。
This configuration also has the same purpose as above, and as shown in FIG. It is held at the value at the detection time t3. Furthermore, the waveform shaping circuit 7b
The bright defect detection signal outputted from
It also serves as a control signal. This timer circuit 10 is of an off-delay type, and as shown in FIG. When the output of the waveform shaping circuit 7b falls to "L", the output of the timer circuit 10 becomes "L" after a preset delay time To from time t4. The output of this timer circuit 10 is supplied to a hold circuit 8a, and the threshold value $day for floor defect discrimination is held. That is, when the bright defect signal Q is discriminated by the comparator 6b and the waveform shaping circuit 7b outputs a detection signal, the threshold value for discriminating the grade defect is held at the value at time t3. The threshold value SH is not affected by the bright defect signal ratio and does not increase in level unnecessarily. By the way, the width of the bright defect detection signal is naturally smaller than the width of the bright defect signal in the video signal, and especially the higher the threshold S ratio is set,
The width of the detection signal becomes narrower.

したがって、明欠点検出信号が消失(立下がる)と同時
にしきし・値SH,のホールドを解除したのでは、その
時点からしきし、値SH,がレベル上昇してしまい、明
欠点信号りの立下がり時に、比較器6aにて誤弁別を生
じるおそれがある。この点本発明の装置にあっては、明
欠点検出信号が消失した後も、タイマ回路10で設定し
た一定時間Toはしさし・値SH,のホールド状態を続
けるので、しきし、値SH,のレベル上昇はなく、前述
した謀弁別は発生しないのである。なお、この実施例に
おいては、明欠点検出信号に応敷して8音欠点弁別用の
しきし、値$日,をホールドする系を示したが、階欠点
検出信号に応動して明欠点弁別用のしきし、値SH2を
ホールドする回路も必要に応じて上記と同様に設けるこ
とができる。
Therefore, if the hold on the threshold value SH, is released at the same time as the bright defect detection signal disappears (falls), the threshold value SH, will rise in level from that point on, and the bright defect signal will rise. When the voltage falls, there is a risk that the comparator 6a will make an erroneous discrimination. In this regard, in the apparatus of the present invention, even after the bright defect detection signal disappears, the hold state of To continues to be at the threshold value SH for a certain period of time set by the timer circuit 10, so that the threshold value SH, There is no increase in the level, and the above-mentioned conspiracy discrimination does not occur. In addition, in this embodiment, a system was shown in which the threshold for 8-note defect discrimination was held in response to the bright defect detection signal, and the value $day was held; A circuit for holding the value SH2 can also be provided in the same manner as described above, if necessary.

また、第4図は上記実施例における積分回路4aおよび
ホールド回路8aの具体的回路例を示す。
Further, FIG. 4 shows a specific circuit example of the integrating circuit 4a and the hold circuit 8a in the above embodiment.

同図において、映像信号はダイオードDおよびMOS−
FETからなるアナログスイッチSを通してコンデンサ
Cを充電し、またコンデンサCの放電はアナログスイッ
チSおよび低抗Rを通してなされる。そして、コンデン
サCの充電電圧がボルテージ・フオロア回路Aを介して
上言己加算回路5aに供給される。この回路は、アナロ
グスイッチSが開かれていると、映像信号を包絡線検波
する積分回路として動作し、上述した制御信号によって
アナログスイッチSが閉じられると、コンデンサCの充
放電路が断たれるので、コンデンサCにはそのときの電
圧が保持される。すなわち積分回路にホールド回路が組
込まれているのである。勿論、本発明はこれに限定され
るものではなく、例えば上記加算回路の出力側にホール
ド回路を設けることも可能である。以上詳細に説明した
ように、この発明によれば、過大な明欠点が検出された
ことに起因して誤って暗欠点信号が出力されたり、ある
いは過大な階欠点信号が出力されたことに起因して、誤
って明欠点信号が出力されるような誤動作を防止するこ
とができるとともに、明欠点および賭欠点に対応する検
出パルス幅を、実際の明欠点または8音欠点の幅に正確
に近付け、検出精度の向上を図ることができる。
In the same figure, the video signal is transmitted through diode D and MOS-
A capacitor C is charged through an analog switch S consisting of a FET, and discharged through an analog switch S and a low resistor R. The charging voltage of the capacitor C is then supplied to the adder circuit 5a via the voltage follower circuit A. When the analog switch S is open, this circuit operates as an integrating circuit that detects the envelope of the video signal, and when the analog switch S is closed by the above-mentioned control signal, the charging and discharging path of the capacitor C is cut off. Therefore, the voltage at that time is held in capacitor C. In other words, a hold circuit is built into the integrating circuit. Of course, the present invention is not limited to this, and it is also possible to provide a hold circuit on the output side of the adder circuit, for example. As explained in detail above, according to the present invention, a dark defect signal is erroneously output due to the detection of an excessively bright defect, or a dark defect signal is erroneously output due to the output of an excessively high-level defect signal. This makes it possible to prevent malfunctions such as erroneously outputting a bright defect signal, and to accurately bring the detection pulse width corresponding to bright defects and bet defects closer to the width of the actual bright defect or 8-tone defect. , it is possible to improve detection accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の装置のブロック図およびその要部の波形
図、第2図は本発明装置の一実施例を示すブロック図、
第3図はその要部の波形図、第4図は積分回路およびホ
ールド回路の具体的回路例で示す。 2・・・・・・撮像装置、4a,4b・・・・・・積分
回路、5a,5b……加算回路、6a,6b・・・・・
・比較器、7a,7b・・・・・・波形整形回路、8a
,8b・・・・・・ホールド回路、10……タイマ回路
。 第4図 第1図 第2図 第3図
FIG. 1 is a block diagram of a conventional device and a waveform diagram of its main parts, FIG. 2 is a block diagram showing an embodiment of the device of the present invention,
FIG. 3 is a waveform diagram of the main part thereof, and FIG. 4 is a specific circuit example of an integrating circuit and a hold circuit. 2... Imaging device, 4a, 4b... Integrating circuit, 5a, 5b... Adding circuit, 6a, 6b...
・Comparator, 7a, 7b... Waveform shaping circuit, 8a
, 8b... hold circuit, 10... timer circuit. Figure 4 Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1 被検査面を光電的に走査して、映像信号を出力する
撮像装置と; 前記撮像装置の出力側に並設され、かつ
それぞれ前記映像信号を包絡線検波する第1,第2の積
分回路と; 前記第1,第2の積分回路の出力側にそれ
ぞれ設けられ、かつ所定の2値制御信号の論理状態に応
じてそれぞれサンプルホールド動作する第1、第2のサ
ンプルホールド回路と; 前記第1、第2のサンプルホ
ールド回路の出力側にそれぞれ設けられ、かつ各サンプ
ルホールド回路の出力に適宜な直流電圧を加算すること
により、前記映像信号の地合レベルより低い第1のしき
い値信号、映像信号の地合レベルより高い第2のしきい
値信号をそれぞれ出力する第1、第2の加算回路と;
前記第1,第2の加算回路の出力側にそれぞれ設けられ
、かつ前記映像信号を前記第1、第2のしきい値信号と
それぞれ比較して2値化する第1、第2の比較回路と;
前記第1,第2の比較回路の出力側にそれぞれ設けら
れ、かつ各比較回路の出力を矩形波に整形して、明欠点
パルス,暗欠点パルスとしてそれぞれ出力する第1、第
2の波形整形回路と; 前記明欠点パルスの後方エツジ
から一定の遅れ時間を有するオフデイレイタイマとを備
え; 前記第1のサンプルホールド回路は、前記明欠点
パルスにより、また前記第2のサンプルホールド回路は
、前記暗欠点パルスによりサンプルホールド制御される
とともに; 前記第2のサンプルホールド回路は、前記
オフデイレイタイマによりサンプルホールド制御される
ことを特徴とする欠点検査装置。
1. An imaging device that photoelectrically scans a surface to be inspected and outputs a video signal; and first and second integrating circuits that are arranged in parallel on the output side of the imaging device and that perform envelope detection of the video signal, respectively. and; first and second sample-and-hold circuits that are respectively provided on the output sides of the first and second integration circuits and perform sample-and-hold operations according to the logic state of a predetermined binary control signal; 1. A first threshold signal that is provided on the output side of the second sample and hold circuit and that is lower than the ground level of the video signal by adding an appropriate DC voltage to the output of each sample and hold circuit. , first and second adder circuits each outputting a second threshold signal higher than the ground level of the video signal;
first and second comparison circuits that are respectively provided on the output sides of the first and second adder circuits and compare the video signal with the first and second threshold signals to binarize it, respectively; and;
first and second waveform shaping, which are respectively provided on the output side of the first and second comparison circuits, and which shape the output of each comparison circuit into a rectangular wave and output it as a bright spot pulse and a dark spot pulse, respectively; an off-delay timer having a constant delay time from the rear edge of the bright defect pulse; A defect inspection apparatus characterized in that the second sample and hold circuit is sample and hold controlled by the dark defect pulse and the second sample and hold circuit is sampled and held by the off-delay timer.
JP957779A 1979-01-29 1979-01-29 Defect inspection device Expired JPS6019872B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP957779A JPS6019872B2 (en) 1979-01-29 1979-01-29 Defect inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP957779A JPS6019872B2 (en) 1979-01-29 1979-01-29 Defect inspection device

Publications (2)

Publication Number Publication Date
JPS55100788A JPS55100788A (en) 1980-07-31
JPS6019872B2 true JPS6019872B2 (en) 1985-05-18

Family

ID=11724159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP957779A Expired JPS6019872B2 (en) 1979-01-29 1979-01-29 Defect inspection device

Country Status (1)

Country Link
JP (1) JPS6019872B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6212997Y2 (en) * 1979-10-16 1987-04-03
JPS5888953A (en) * 1981-11-20 1983-05-27 Fujitsu Ltd Ring trip circuit
JP4534190B2 (en) * 2003-08-26 2010-09-01 セイコーエプソン株式会社 Printing operation state determination apparatus, printing apparatus, and printing operation state determination method

Also Published As

Publication number Publication date
JPS55100788A (en) 1980-07-31

Similar Documents

Publication Publication Date Title
JPS5819109B2 (en) Pattern discrimination method
JPS6019872B2 (en) Defect inspection device
JPS5529878A (en) Focus detector of camera
US4277803A (en) Automatic product checking system
JPS58106570A (en) Picture discriminating device
CA2063070C (en) White level detection circuit for an optical image reader
JPH0641922B2 (en) Defect detection device
JPS6212997Y2 (en)
JPS598474A (en) Binary-coder for analog signal
GB2046899A (en) Defect inspection system
JPS5858448A (en) Defect detecting circuit
JPS6242382Y2 (en)
JPH0350217B2 (en)
JP2823212B2 (en) Image reading device
JPH0642199Y2 (en) Defect discrimination circuit
JPS5878262A (en) Defect detector
JPS6129078Y2 (en)
JPS55161486A (en) Defect detection system
JPS58142248A (en) Tester
JPH0230626B2 (en)
JPH0618439A (en) Inspection unit
JPH0731132B2 (en) Defect inspection device
JPS63210650A (en) Surface flaw detector for object
JPH04106462A (en) Defect inspector
JPS6343945B2 (en)