JPS5858448A - Defect detecting circuit - Google Patents

Defect detecting circuit

Info

Publication number
JPS5858448A
JPS5858448A JP15718981A JP15718981A JPS5858448A JP S5858448 A JPS5858448 A JP S5858448A JP 15718981 A JP15718981 A JP 15718981A JP 15718981 A JP15718981 A JP 15718981A JP S5858448 A JPS5858448 A JP S5858448A
Authority
JP
Japan
Prior art keywords
signal
level
defect
counter
output
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
JP15718981A
Other languages
Japanese (ja)
Other versions
JPH0325741B2 (en
Inventor
Kenji Ogino
健次 荻野
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
Tateisi Electronics Co
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 Tateisi Electronics Co, Omron Tateisi Electronics Co filed Critical Tateisi Electronics Co
Priority to JP15718981A priority Critical patent/JPS5858448A/en
Publication of JPS5858448A publication Critical patent/JPS5858448A/en
Publication of JPH0325741B2 publication Critical patent/JPH0325741B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/93Detection standards; Calibrating baseline adjustment, drift correction

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

PURPOSE:To suppress the variance of a threshold to detect defects accurately, by obtaining data, which follows up a texture level, from the image pickup signal of a face to be examined of a sheet material or the like by an up/down counter and inhibiting the counting during the blank period and the defect detection period. CONSTITUTION:An image pickup element 5 consisting of a CCD sensor or the like is controlled by a driving circuit 12 to scan optically the surface of an object to be examined repeatedly. A video signal VS which is outputted from the element 5 and is amplified by an amplifier 6 is compared with a threshold signal SH, which is obtained from an amplifier 15, in level by a defect discriminating comparator 16, and a binary discrimination output OUT is outputted. The output of an up/down counter 11 is given to a D/A converter 14, and the counter 11 is counted up for VS>b and is counted down for VS<b in accorddance with an output signal (c) of a comparator 7 by the output signal (b) of the converter 14, and the operation of the counter 11 is inhibited in the blank time between scannings of the element 5 and in the time when a defect is detected by the comparator 16. The signal (b) is amplified in the amplifier 15 to obtain the signal SH.

Description

【発明の詳細な説明】 この発明は、シート物等の被検査面を撮像手段により光
電的に走査して欠点を検出する欠点検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a defect detection circuit that detects defects by photoelectrically scanning a surface to be inspected of a sheet or the like using an imaging means.

例えば第1図に示すように、撮像装置1と光源2との間
に紙やフィルム等のシート状の被検査物3を配し、透過
光式に被検査物3を走査し、ピンホール4の如き欠点を
検出する場合、基本的に次のような信号処理を行なう。
For example, as shown in FIG. 1, a sheet-like object to be inspected 3 such as paper or film is placed between an imaging device 1 and a light source 2, and the object to be inspected 3 is scanned using transmitted light. When detecting such defects, the following signal processing is basically performed.

上記I#I像装置1がCCD (電荷結合素子)等0半
導体イメージセンサを用いて構成される場合、その映像
信号は第2図に例示するように高周波パルスの形で出力
される。この波形図は1走査分の映像信号■Sを示して
おり、Fは被検査物3の正常部分の明るさに対応した地
合レベルであり、この地合レベルEには周知のように種
々の要因により低周波数の変動が現れる。また、nは被
検査物3のピンホール4に対応する欠点信号で、ビンホ
−ル4を通して強い光が撮像装v11に入射するため、
欠点信号nは地合レベルFより高レベルのパルス状の信
号となる。
When the I#I image device 1 is constructed using a semiconductor image sensor such as a CCD (charge coupled device), its video signal is output in the form of a high frequency pulse as illustrated in FIG. This waveform diagram shows the video signal S for one scan, where F is the ground level corresponding to the brightness of the normal part of the object to be inspected 3, and this ground level E has various values as is well known. Low frequency fluctuations appear due to these factors. Further, n is a defect signal corresponding to the pinhole 4 of the inspection object 3, and since strong light enters the imaging device v11 through the pinhole 4,
The defect signal n becomes a pulse-like signal with a level higher than the ground level F.

この欠点信@nを弁別するために、映像信号■Sを適宜
なしきい値で2値化する訳だが、浮動2値化として良く
知られているように、映像信号VSを適宜に積分すると
ともに適宜にレベルシフトすることにより、映像信号v
S中の地合レベルEの変動に追従するしきい値信号SH
を作り、これで2値化を行なっている。第3図はしきい
値信号SHを得る回路の要部である上記積分回路の具体
例費ある。この回路において、映像信号vSがダイオー
ドDのカソード側に印加され、映像信号VSの瞬時電圧
がコンデンサCの充電電圧Vc  (この回路の出力電
圧である)以上のとき、ダイオードDおよび抵抗R1を
通してコンデンサCへ充電電流が流れ、映−信号vSの
瞬時電圧が電圧VC以下のとき、コンデンサCから抵抗
R2に放電電流が流れる。ここで、抵抗R1およびR2
を適宜に選んで、コンデンサCに対する充電経路の時定
数を比較的小さく、放電経路の時定数を比較的大きく設
定すると、出力信号VCは第2図に示IJ、うに地合レ
ベルEの低周波数の変動に追従し、かつパルス状の欠点
信号nには余り応答しない波形となる。この信号VCを
適宜に増幅したり、あるいは一定電圧を加算することに
よりレベルシフトし、地合レベルEより僅かに大きいし
きい伯信号SHが得られるのである。
In order to discriminate this fault signal @n, the video signal ■S is binarized using an appropriate threshold value, but as is well known as floating binarization, the video signal VS is appropriately integrated and By appropriately level shifting, the video signal v
Threshold signal SH that follows fluctuations in ground level E during S
is created, and binarization is performed using this. FIG. 3 shows a specific example of the above-mentioned integrating circuit which is a main part of the circuit for obtaining the threshold signal SH. In this circuit, when the video signal VS is applied to the cathode side of the diode D, and the instantaneous voltage of the video signal VS is higher than the charging voltage Vc of the capacitor C (which is the output voltage of this circuit), the capacitor is connected through the diode D and the resistor R1. A charging current flows to C, and when the instantaneous voltage of the video signal vS is less than the voltage VC, a discharging current flows from the capacitor C to the resistor R2. Here, resistors R1 and R2
If the time constant of the charging path for the capacitor C is set to be relatively small and the time constant of the discharging path to the capacitor C is set to be relatively large, the output signal VC will be at a low frequency of IJ and ground level E as shown in Figure 2. The waveform follows the fluctuations of n and does not respond much to the pulsed defect signal n. A threshold signal SH slightly larger than the ground level E can be obtained by amplifying this signal VC appropriately or by adding a constant voltage to shift the level.

以上が欠点弁別の基本である。ところで、m像装[11
の出力には周知のように各走査の間で映像信号がなくな
る期間(帰線期間に相当するもので、ここではブランク
期間と称する)が含まれる。このブランク期間において
、上記積分回路のコンデンサCの充電電荷が放電するた
め、積分出力VCは徐々に低下し、しきい値信号S l
−1も低下する。
The above are the basics of defect discrimination. By the way, the m image system [11
As is well known, the output includes a period (corresponding to a retrace period, herein referred to as a blank period) in which no video signal is present between each scan. During this blank period, the charge in the capacitor C of the integrating circuit is discharged, so the integrated output VC gradually decreases, and the threshold signal S l
-1 also decreases.

このブランク期間でのしきい値の低下による誤弁別を防
ぐ目的で、従来は、第4図に示すようにコンデンサCの
充放電回路にゲートGを設け、ブランク期間ではこのゲ
ートGをオフにしてコンデンサCの充電電圧VCをブラ
ンク期間のi前の値に保持するようにしている。しかし
、・この回路方式にあっても、第5図に示すように映像
信号VSが途絶えるブランク期間が長い場合、コンデン
サCの電圧を完全に保持はできず、放電により電圧VC
は徐々に低下してしまう。従って、ブランク期間でのし
きい値SHの不要な低下により次の走査の映像信号の冒
頭部分で誤動作が生ずることを完全に防止することはで
きなかった。
In order to prevent erroneous discrimination due to a decrease in the threshold value during this blank period, conventionally, as shown in Figure 4, a gate G is provided in the charging/discharging circuit of the capacitor C, and this gate G is turned off during the blank period. The charging voltage VC of the capacitor C is held at the value i before the blank period. However, even with this circuit system, if the blank period in which the video signal VS is interrupted is long as shown in Figure 5, the voltage of the capacitor C cannot be completely held, and the voltage VC will decrease due to discharge.
gradually decreases. Therefore, it has not been possible to completely prevent malfunctions from occurring at the beginning of the video signal of the next scan due to an unnecessary drop in the threshold value SH during the blank period.

また、第2図に示した波形例において、欠点信@nの幅
およびレベルが大きいと、コンデンサCの充電電圧Vc
はその欠点信号nに大きく影響され、電圧Vcが不必要
に上昇してしまい、しきい値SHが映像信号vSの地合
レベルEから大きく離れてしまい、幅が大きくレベルが
大きい欠点信号nの直後に比較的レベルの小さな欠点が
あってもこれを検出できないという問題が生じていた。
In addition, in the waveform example shown in FIG. 2, if the width and level of the fault signal @n are large, the charging voltage Vc of the capacitor C
is greatly influenced by the defect signal n, the voltage Vc rises unnecessarily, and the threshold value SH deviates greatly from the ground level E of the video signal vS. A problem has arisen in that even if a relatively small level of defect occurs immediately after, it cannot be detected.

この発明は上述した従来の問題点に鑑みなされたもので
あり、その目的は、映像信号の各走査量のブランク期間
に全く影響されず、かつ、映像信号中の欠点信号のレベ
ルや幅にも影響を受けず、映像信号の地合レベルに正し
く追従するしきい値が得られ、その結果誤弁別の少い高
精度な欠点弁別が行なえるようにした欠点検出装置を提
供づることにある。
This invention has been made in view of the above-mentioned conventional problems, and its purpose is to be completely unaffected by the blank period of each scanning amount of a video signal, and to be able to avoid being affected by the level and width of defective signals in the video signal. It is an object of the present invention to provide a defect detection device which can obtain a threshold value that is not influenced by the ground level of a video signal and correctly follows the ground level of a video signal, and as a result, can perform highly accurate defect discrimination with fewer erroneous discriminations.

以下、この発明の実施例を図面に基づいて詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第6図はこの発明に係る欠点検出回路O−実施例を示す
ブロック図であり、第7図および第8図はこの欠点検出
装置の各部の信号波形を示寸。CODイメージセンサ等
からなる撮像素子5は駆動回路12からの制御信号を受
けて動作し、例えば第2図に示した態様で被検査物3上
を光電的に欅。
FIG. 6 is a block diagram showing an embodiment of the defect detection circuit O according to the present invention, and FIGS. 7 and 8 show signal waveforms of each part of this defect detection device. The image pickup device 5, which is a COD image sensor or the like, operates in response to a control signal from the drive circuit 12, and photoelectrically moves over the inspection object 3 in the manner shown in FIG. 2, for example.

り返し走査する。Scan repeatedly.

撮像素子5から出力されて増幅器6にて増幅された映像
信号■Sは、欠点弁別用比較器16において模述のよう
にして得られるしきい値信@sHとレベル比較され、こ
れにより2値化された弁別信号OUT、が出力される。
The video signal S output from the image sensor 5 and amplified by the amplifier 6 is level-compared with the threshold signal @sH obtained in the manner described in the defect discrimination comparator 16, and is thereby converted into a binary signal. The converted discrimination signal OUT is output.

この発明に係る欠点検出装置は、アップダウンカウンタ
11と、このカウンタ11のデジタル計数出力をアナロ
グ信号に変換するD/A変換器14と、このD/A変換
器14の出力信号すと上記映像信号vSのし′ベル比較
をする比較器7を有し、上記カウンタ11を、上記比較
器7の出力Cに応じてvS>bのときは所定速度でアッ
プカウントさせるとともに、vS〈bのときは所定速度
でダウンカウントさせ、かつ、搬像素子5の各走査量の
ブランク期間および上記欠点弁別用比較器16によって
欠点が検出されている期間は上記カウンタ11のカウン
ト動作を禁止するように回路構成されている。そして上
記D/A変換器14の出力信号すを増幅器15にて適宜
に増幅し、その出力信号をしきい値信号SHとしている
The defect detection device according to the present invention includes an up/down counter 11, a D/A converter 14 that converts the digital counting output of the counter 11 into an analog signal, and an output signal of the D/A converter 14 and the above-mentioned image. The counter 11 is incremented at a predetermined speed according to the output C of the comparator 7 when vS>b, and when vS<b. is configured to count down at a predetermined speed, and to prohibit the counting operation of the counter 11 during a blank period for each scanning amount of the image carrier 5 and during a period when a defect is detected by the defect discriminating comparator 16. It is configured. The output signal S of the D/A converter 14 is appropriately amplified by an amplifier 15, and the output signal is used as a threshold signal SH.

実施例について詳述すると、タイミング回路13からは
、駆動回路12にて作られる撮像重子5の走査クロック
信号と同期した2相のクロック信号TI、T2が出力さ
れる。第7図に示すように、クロック信@T2は、映像
信号VS中に含まれている各絵素パルスの立下がり直後
に発生する極めて幅の小さいパルス信号であり、またク
ロック信号T1は、クロック信号T2より極く僅かに羅
れて発生するやはり幅の狭いパルス信号である。このク
ロック信号TI、T2は撮像素子5の走査が行われてい
る期間にのみ発生し、各走査量のブランク期間では発生
しない。
To explain the embodiment in detail, the timing circuit 13 outputs two-phase clock signals TI and T2 that are synchronized with the scanning clock signal of the imaging element 5 produced by the drive circuit 12. As shown in FIG. 7, the clock signal @T2 is an extremely narrow pulse signal that occurs immediately after the fall of each pixel pulse included in the video signal VS, and the clock signal T1 is a clock signal It is also a narrow pulse signal that is generated very slightly apart from the signal T2. These clock signals TI and T2 are generated only during the period when the image sensor 5 is being scanned, and are not generated during the blank period of each scanning amount.

映像信号vSとD/A変換器14の出力信号わとをレベ
ル比較する比較器7の出力信号Cがフリツプフロツプ8
のセット入力側に印加され、上記クロック信号T1がこ
のフリップ70ツブ8のリセット入力側に印加される。
The output signal C of the comparator 7, which compares the levels of the video signal vS and the output signal W of the D/A converter 14, is sent to the flip-flop 8.
The clock signal T1 is applied to the reset input side of the flip 70 tube 8.

これにより、映*4g号VS中の6棒絵素パルスのレベ
ルが信号すのレベルより大きい場合、第7図Gに示すよ
うに比較器7からパルス信号が生じ、その信号によって
7リツプフロツプ8がセットされる。逆に、映像信号V
S中のある絵素パルスのレベルが信号すより低い場合、
比較器7の出力信号CはLレベルのままで、フリップ7
0ツブ1はクロック信号T1によってリセットされたま
まとなる。フリップ70ツブ8のセット出力Qはアンド
ゲート9に入力され、リセット出力Qはアンドゲート1
0に入力される。2つのアンドゲート9,10にはそれ
ぞれタイミング回路13からの上記クロック信号T2と
、欠点弁別用比較器16の出力OUTをインバータ17
で反転した信号が入力される。そして、アンドゲート9
の出力信号がカウンタ11のアップカウント入力となり
、アンドゲート10の出り信号がカウンタ11のダウン
カウント入力となる。
As a result, when the level of the 6-bar picture element pulse in the video *4g VS is higher than the level of the signal, a pulse signal is generated from the comparator 7 as shown in FIG. Set. Conversely, the video signal V
If the level of a certain pixel pulse in S is lower than the signal
The output signal C of the comparator 7 remains at L level, and the flip 7
0Tub1 remains reset by the clock signal T1. The set output Q of the flip 70 knob 8 is input to the AND gate 9, and the reset output Q is input to the AND gate 1.
It is input to 0. The clock signal T2 from the timing circuit 13 and the output OUT of the defect discrimination comparator 16 are connected to the two AND gates 9 and 10, respectively, through an inverter 17.
The inverted signal is input. And gate 9
The output signal of the AND gate 10 becomes the up-count input of the counter 11, and the output signal of the AND gate 10 becomes the down-count input of the counter 11.

以上の構成において、映像信号vSのレベルがしきい値
信号SHより低い場合(この実施例ではVS>SHとな
るのが欠点信号である)、欠点弁別用比較器16の出力
信号00丁はLレベルであり、従ってこれをインバータ
17で反転した信号はHレベルとなり、これはアンドゲ
ート9.10に印加される。この状態において、映像信
号VS中の各絵素パルスのレベルがD/A変換器14の
出力信号すより大きいと、そのような絵素パルスが発生
する度にフリップ70ツブ8がセットされ、その度にア
ンドゲート9からパルス信号UPが出力され、その度に
カウンタ11が1づつアップカウントされる。そのため
、カウンタ11の出力をアナログ変換してなる信号すの
レベルも増加して行く。
In the above configuration, when the level of the video signal vS is lower than the threshold signal SH (in this embodiment, VS>SH is a defect signal), the output signal 00 of the defect discrimination comparator 16 is L Therefore, the signal inverted by inverter 17 becomes H level, which is applied to AND gate 9.10. In this state, if the level of each pixel pulse in the video signal VS is higher than the output signal of the D/A converter 14, the flip 70 knob 8 is set every time such a pixel pulse is generated. Each time a pulse signal UP is output from the AND gate 9, the counter 11 is incremented by one each time. Therefore, the level of the signal obtained by analog converting the output of the counter 11 also increases.

上記とは逆に、映像信号VS中の絵素パルスのレベルが
信号すより低い場合、フリップ7Oツブ8がリセットさ
れたままとなり、その状態でクロック信号T2が発生す
るため、このようなレベルの低い絵素パルスが発生する
度にアンドゲート10からパルス信号DWが出力され、
その度にカウンタ11が1づづダウンカウントされる。
Contrary to the above, if the level of the pixel pulse in the video signal VS is lower than the signal level, the flip 7O knob 8 remains reset and the clock signal T2 is generated in that state, so the level of the pixel pulse in the video signal VS is lower than that of the signal. Every time a low pixel pulse occurs, a pulse signal DW is output from the AND gate 10,
Each time, the counter 11 is counted down by one.

その結果、カウンタ11の出力をアナログ変換してなる
信号すのレベルも減少する。
As a result, the level of the signal obtained by analog converting the output of the counter 11 also decreases.

上記のようにして、映像信号vSのレベルが信号すより
大きければ信号すのレベルが増加させられ、逆に信号す
より映像信号vSのレベルが小さければ信号すのレベル
が減少させられる。この結果、D/A変換器14の出力
信号すは映像信号VSの包絡線信号に略等しくなる。こ
こで注目すべきことは、タイミング回路13からのり0
ツク信号T1.T2は撮像素子5のブランク期間s l
−では発生しないため、ブランク期間BLではカウンタ
11のカウント動作が禁止されている。従ってブランク
期間8Lでの信号すのレベル変化は全くなく、映像信号
vSの終了点のレベルが全く減することなく保持される
。この様子を第8図(a )に示している。しきい鍵信
号SHはこの信号すに基づいて作られるものであるから
、しきい値SHのブランク期間BLでのレベル減資も全
くなくなる訳である。
As described above, if the level of the video signal vS is higher than the signal S, the level of the signal S is increased, and conversely, if the level of the video signal vS is lower than the signal S, the level of the signal S is decreased. As a result, the output signal of the D/A converter 14 becomes approximately equal to the envelope signal of the video signal VS. What should be noted here is that the timing circuit 13
Tsuk signal T1. T2 is the blank period s l of the image sensor 5
Since it does not occur in -, the counting operation of the counter 11 is prohibited during the blank period BL. Therefore, there is no change in the level of the signal S during the blank period 8L, and the level at the end point of the video signal vS is maintained without decreasing at all. This situation is shown in FIG. 8(a). Since the threshold key signal SH is generated based on this signal, there is no level capital reduction during the blank period BL of the threshold value SH.

映像信号vS中に欠点信号nが含まれている場合、これ
は欠点弁別用比較器16にて検出され、その欠点信号n
に対応して比較器16の出力信号0LITがHレベルと
なる。するとインバータ17からアンドゲート9,10
に印加されている信号がしレベルとなり、カウンタ11
に対するカウント入力が印加されなくなり、そのカウン
ト動作が禁止されることとなる。すなわち、比較器16
−にて欠点信号nが検出されると、カウンタ11のカウ
ント動作が禁止され、信号b  (L、きい鍵信号SH
)は変化しなくなり、欠点検出直前のレベルに保持され
る。従って第8図(b)に示すように、映像信号vS中
にレベルおよび幅とも大きな欠点信号nが含まれていて
も、それによってしきい値SHが不必要に変動させられ
ることはなく、従ってその大きな欠点信号の直後に微少
な欠点信号が発生した場合でも、これを確実に弁別する
ことができる。
When a defect signal n is included in the video signal vs, this is detected by the defect discrimination comparator 16, and the defect signal n is detected by the defect discrimination comparator 16.
Correspondingly, the output signal 0LIT of the comparator 16 becomes H level. Then, from the inverter 17, the AND gates 9, 10
The signal applied to the counter 11 reaches the next level, and the counter 11
No count input is applied to the count input, and the count operation is prohibited. That is, comparator 16
- When the defect signal n is detected, the counting operation of the counter 11 is prohibited, and the signal b (L, key signal SH
) no longer changes and is held at the level immediately before the defect was detected. Therefore, as shown in FIG. 8(b), even if the video signal vS contains a defect signal n having a large level and width, the threshold value SH will not be unnecessarily fluctuated thereby. Even if a small defect signal occurs immediately after the large defect signal, it can be reliably discriminated.

なお、上記の実施例では映像信号vSの地合レベルEよ
り大きくなる欠点信号の弁別について解明したが、地合
レベルEよりレベルが下がる欠点信号の弁別についても
上記と同様であることは言うまでもない。
In addition, in the above embodiment, the discrimination of a defect signal whose level is higher than the ground level E of the video signal vS was explained, but it goes without saying that the discrimination of a fault signal whose level is lower than the ground level E is similar to the above. .

以上詳細に説明したように、この発明に係る欠点検出装
置にあって番よ、コンデンサを含む積分回路によって映
像信号の地合レベル変動に追従した包絡線信号を得るの
ではなくて、アップダウンカウンタによってデジタル的
に映像信号の地合レベル信号に追従したデータを得、こ
れをD/A変換器変換して包絡線信号を得るようにし、
かつこのカウンタのカウント動作をブランク期間と欠点
検出期間では禁止するようにしているので、ブランク期
間および欠点検出期間での不必要で有害なしきい値の変
動がなくなり、正確な欠点検出が行なえる。
As explained in detail above, the defect detection device according to the present invention is advantageous in that it uses an up-down counter instead of an integrator circuit including a capacitor to obtain an envelope signal that follows ground level fluctuations of a video signal. to digitally obtain data that follows the ground level signal of the video signal, and convert this using a D/A converter to obtain an envelope signal.
Moreover, since the counting operation of this counter is prohibited during the blank period and the defect detection period, unnecessary and harmful fluctuations in the threshold value during the blank period and the defect detection period are eliminated, and accurate defect detection can be performed.

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

第1図は欠点検出装置の概要の説明図、第2図は映像信
号の波形例を示す図、第3図は従来のしきい鍵信号を得
るための回路の要部を示す図、第4図は従来のブランク
期間にてしきい値レベルを保持するための回路の要部を
示す図、第5図は第4図の回路の問題点を示す波形図、
第6図は本発明による欠点検出装置の一実施例のブロッ
ク図、第7図および第8図は第6図に示す本発明の装置
の各部の波形を示す図である。 5・・・・・・・・・撮像素子 7・・・・・・・・・比較器 11・・・・・・アップダウンカウンタ14・・・・・
・D/A変換器 16・・・・・・欠点弁別用比較器 vS・・・・・・映像信号 SH・・・・・・しきい鍵信号 0LJT・・・欠点弁別信号 特許出願人 立石電機株式会社 第1図 第2図 第3図 R1 第4図 @5図 第7図 第8図 シ 0LIT−m−「■−−
Fig. 1 is an explanatory diagram of the outline of the defect detection device, Fig. 2 is a diagram showing an example of the waveform of a video signal, Fig. 3 is a diagram showing the main parts of a conventional circuit for obtaining a threshold key signal, and Fig. 4 The figure shows the main parts of a conventional circuit for holding the threshold level during the blank period, and FIG. 5 is a waveform diagram showing problems with the circuit of FIG. 4.
FIG. 6 is a block diagram of an embodiment of the defect detection apparatus according to the present invention, and FIGS. 7 and 8 are diagrams showing waveforms of various parts of the apparatus according to the present invention shown in FIG. 5...Image sensor 7...Comparator 11...Up/down counter 14...
・D/A converter 16...Flaw discrimination comparator vS...Video signal SH...Threshold key signal 0LJT...Flaw discrimination signal Patent applicant Tateishi Electric Co., Ltd. Figure 1 Figure 2 Figure 3 R1 Figure 4 @ Figure 5 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 〈1) 被検査面を撮像手段により光電的に走査し、得
られる映像信号と適宜なしきい値とを欠点弁別用比較器
にてレベル比較することにより被検査面の欠点を検出す
る装置であって、アップダウンカウンタと、このカウン
タのデジタル計数出力をアナログ信号に変換するD/A
変換器と、このD/A変換器の出力信号すと上記映像信
号aのレベル比較をする比較器とを設け、上記カウンタ
を、上記比較器の出りに応じてa>bのときは所定速度
でアップカウントさせるとともに、a<bのときは所定
速度でダウンカウントさせ、がっ、上記me手段の各走
査量のブランク期間および上記欠点弁別用比較器によ?
て欠点が検出されている期間は上記カウンタのカウント
1作を禁止するように回路構成し、上記D/A変換器の
出り信号を適宜に増幅または減衰またはレベルシフトす
ることによって上記しきい値信号を得ることを特徴とす
る欠点検出回路。
(1) A device that detects defects on the surface to be inspected by photoelectrically scanning the surface to be inspected with an imaging means and comparing the levels of the obtained video signal and an appropriate threshold value with a defect discrimination comparator. an up/down counter and a D/A that converts the digital counting output of this counter into an analog signal.
A converter and a comparator for comparing the level of the output signal of the D/A converter and the video signal a are provided, and the counter is set to a predetermined value when a>b according to the output of the comparator. It is counted up at a speed, and when a<b, it is counted down at a predetermined speed.
The circuit is configured to prohibit one count operation of the counter during the period when a defect is detected, and the output signal of the D/A converter is appropriately amplified, attenuated, or level-shifted to adjust the threshold value. A defect detection circuit characterized by obtaining a signal.
JP15718981A 1981-10-02 1981-10-02 Defect detecting circuit Granted JPS5858448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15718981A JPS5858448A (en) 1981-10-02 1981-10-02 Defect detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15718981A JPS5858448A (en) 1981-10-02 1981-10-02 Defect detecting circuit

Publications (2)

Publication Number Publication Date
JPS5858448A true JPS5858448A (en) 1983-04-07
JPH0325741B2 JPH0325741B2 (en) 1991-04-08

Family

ID=15644140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15718981A Granted JPS5858448A (en) 1981-10-02 1981-10-02 Defect detecting circuit

Country Status (1)

Country Link
JP (1) JPS5858448A (en)

Also Published As

Publication number Publication date
JPH0325741B2 (en) 1991-04-08

Similar Documents

Publication Publication Date Title
EP0675345B1 (en) Device and method for receiving light used in ccd image sensor or the like
US4801788A (en) Bar code scanner for a video signal which has a shading waveform
JPS5858448A (en) Defect detecting circuit
CA1165432A (en) Digital measurement system for automatically focusing a television camera
JPH0350217B2 (en)
JPS5878262A (en) Defect detector
CA2063070C (en) White level detection circuit for an optical image reader
US4277803A (en) Automatic product checking system
JPS6212997Y2 (en)
JPH01284069A (en) Picture input device
JPH0350216B2 (en)
JPS6019872B2 (en) Defect inspection device
JPS6224989B2 (en)
US20230370743A1 (en) Image sensor and image sensing method
JP2849311B2 (en) Optical reader
JPS58218272A (en) Halftone detector
JP2580756B2 (en) Noise removal circuit for laser scanning light detection signal
JPS6219965Y2 (en)
JPS6129078Y2 (en)
EP0198525B1 (en) A device for determining a value representative of the amount of weak information of an original
JPH0721438A (en) Paper sheet detecting device
JPH0317508Y2 (en)
JPH0253375A (en) Reading part dirt detecting circuit
JP2000161660A (en) Flame detector
JP3234276B2 (en) Image reading device