JPH0531101B2 - - Google Patents

Info

Publication number
JPH0531101B2
JPH0531101B2 JP28984086A JP28984086A JPH0531101B2 JP H0531101 B2 JPH0531101 B2 JP H0531101B2 JP 28984086 A JP28984086 A JP 28984086A JP 28984086 A JP28984086 A JP 28984086A JP H0531101 B2 JPH0531101 B2 JP H0531101B2
Authority
JP
Japan
Prior art keywords
data
value
defect
streak
circuit
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 - Lifetime
Application number
JP28984086A
Other languages
Japanese (ja)
Other versions
JPS63142241A (en
Inventor
Akihisa Iida
Norihiro Nakai
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP28984086A priority Critical patent/JPS63142241A/en
Publication of JPS63142241A publication Critical patent/JPS63142241A/en
Publication of JPH0531101B2 publication Critical patent/JPH0531101B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、被検査物体の表面に存在する筋状の
キズ等の欠陥を弁別するための処理回路に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a processing circuit for discriminating defects such as streak-like scratches existing on the surface of an object to be inspected.

〔従来の技術〕[Conventional technology]

フイルム、紙等のシート状物、金属物その他の
製作物の表面に存在する欠陥を検出するために
種々の表面検査装置が知られており、これらの装
置によつて例えばピンホールや筋状の欠陥等を検
出して製品の品質管理が行われている。
Various surface inspection devices are known for detecting defects on the surface of sheets of film, paper, etc., metal objects, and other products. Product quality control is performed by detecting defects, etc.

このような計測装置では、単なる傷やピンホー
ルだけでなく筋状の傷をも検出することが行われ
る。例えば、第5図にはシート状物(ウエブ)の
表面検査装置(第1の従来例)が示されており、
この装置にはウエブ1の流れ方向に対して直角方
向に光源2からの光スポツトを走査機構3を介し
て照射する。そして、ウエブ1からの反射光は受
光器4にて受光され、図に示されるように、幅方
向及び流れ(長さ)方向において複数に分割した
レーン及びフレームで区切られる領域(データセ
ル)P毎に筋状の欠陥の検出が行われる。
Such a measuring device detects not only simple scratches and pinholes but also streaky scratches. For example, FIG. 5 shows a surface inspection device (first conventional example) for a sheet-like object (web).
This apparatus is irradiated with a light spot from a light source 2 via a scanning mechanism 3 in a direction perpendicular to the flow direction of the web 1. Then, the reflected light from the web 1 is received by a light receiver 4, and as shown in the figure, an area (data cell) P is divided into a plurality of lanes and frames in the width direction and flow (length) direction. Detection of streak defects is performed every time.

すなわち、走査機構3からの検査光はウエブ1
の一端から他端に向けて走査され、1フレーム長
さにおいて複数回の走査が行われるが、この場合
上記データセルPの中で走査毎に欠陥信号はカウ
ンタ回路にて積算され、この積算信号がスレツシ
ヨルド値より大きい値のときに筋状欠陥があると
判別される。例えば、第5図の筋100は、4回
の走査にて4回の欠陥信号がカウントされ筋状欠
陥であると判別される。
That is, the inspection light from the scanning mechanism 3
Scanning is performed from one end to the other end, and scanning is performed multiple times in one frame length. In this case, the defect signal is integrated by a counter circuit in the data cell P each time it is scanned, and this integrated signal is When the value is larger than the threshold value, it is determined that there is a streak defect. For example, the streak 100 in FIG. 5 is determined to be a streak defect by counting four defect signals in four scans.

また、従来の他の処理回路(第2の従来例)で
は、欠陥信号を単に積算するのではなく、アツプ
ダウンカウンタを用いて欠陥信号が得られたとき
は“1”を加算し、欠陥信号が得られなかつたと
きは“1”を減算する積算方式が用いられてお
り、単なる傷と筋状とを弁別することも行われて
いる。
In addition, in another conventional processing circuit (second conventional example), instead of simply integrating defective signals, when a defective signal is obtained using an up-down counter, "1" is added, and the defective signal is An integration method is used in which ``1'' is subtracted when ``1'' is not obtained, and it is also used to distinguish between simple scratches and streaks.

更に、特公昭52−437128号公報(第3の従来
例)に示されるように、幅方向に分割したレーン
数に対応するシフトレジスタを接続してその各レ
ーン毎の検出信号を複数の所定走査分だけ記憶す
る。そして、個々の走査において各レーン毎に上
記所定走査分の検出信号を加算していき、当該レ
ーンにおける検出信号とする。
Furthermore, as shown in Japanese Patent Publication No. 52-437128 (third conventional example), shift registers corresponding to the number of lanes divided in the width direction are connected, and the detection signal for each lane is scanned in a plurality of predetermined scans. Memorize only the minutes. Then, in each scan, the detection signals for the predetermined scan are added for each lane, and this is used as the detection signal for the lane.

従つて、これによれば、欠陥情報を持つ信号と
ランダムに発生するノイズとを弁別して筋状欠陥
の良好な弁別が可能になる。
Therefore, according to this, it is possible to discriminate between a signal having defect information and randomly generated noise, and to effectively discriminate a streaky defect.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記第1及び第2の従来例で
は、筋状欠陥の検出がフレーム毎に行われている
ことから、フレーム間にまたがる筋の実際の長さ
を正確に把握することができず、弁別精度が悪く
なるという問題がある。すなわち、上記積算カウ
ンタは1データセルP内の検出信号しか積算せ
ず、1フレーム終了時にカウンタ値を0にリセツ
トしており、これではフレーム間に存在する筋状
欠陥を検出することができない。
However, in the first and second conventional examples described above, since streak defects are detected frame by frame, it is not possible to accurately grasp the actual length of streaks spanning between frames, and There is a problem that accuracy deteriorates. That is, the integration counter only integrates the detection signal within one data cell P, and the counter value is reset to 0 at the end of one frame, making it impossible to detect streak defects existing between frames.

また、第1の従来例では、光学的にS/N比の
小さい筋状欠陥信号をノイズ信号と良好に弁別す
ることができないという問題がある。浅い筋状欠
陥や幅の小さい筋状欠陥まで正確に検出するに
は、S/N比の小さい欠陥信号を良好に弁別する
ことが必要となるが、このためには、筋状欠陥の
弁別する積算カウンタのスレツシヨルド値を低く
設定する必要がある。第1の従来例においては、
欠陥信号もランダムに発生するノイズ信号も同じ
ように積算するので、ノイズを欠陥信号として誤
検出する確率が増し、正確な計測ができない。
Further, in the first conventional example, there is a problem in that a streaky defect signal with a small S/N ratio cannot be optically distinguished from a noise signal. In order to accurately detect shallow streak defects and narrow streak defects, it is necessary to discriminate defect signals with a small S/N ratio. It is necessary to set the threshold value of the integration counter low. In the first conventional example,
Since defect signals and randomly generated noise signals are integrated in the same way, the probability of erroneously detecting noise as a defect signal increases, making accurate measurement impossible.

更に、第3の従来例は、フレーム間の筋状欠陥
の検出が多少でき、第1及び第2の従来例に比べ
て筋状欠陥を良好に検出するが、この実施例にお
いても、断続して存在する筋状欠陥を検出できな
いという問題がある。
Furthermore, although the third conventional example can detect some streak defects between frames and detects streak defects better than the first and second conventional examples, this example also has intermittent defects. However, there is a problem in that it is not possible to detect streak defects that exist.

すなわち、筋状欠陥は長さ方向に断続的な強弱
をもつて現れることもあるが、このように断続的
的に欠陥信号を検出すると、例えば、第6図に示
したように、上記アツプダウンカウンタ等にて行
なう場合には、筋状欠陥が跡絶えることによつて
積算値がスレツシヨルド値を越えることができ
ず、このような筋状欠陥を弁別することができな
い。
In other words, streaky defects may appear with intermittent strength and weakness in the length direction, but if defect signals are detected intermittently in this way, for example, as shown in Figure 6, the above-mentioned up-down In the case of using a counter or the like, the integrated value cannot exceed the threshold value due to the disappearance of streak defects, and such streak defects cannot be discriminated.

〔発明の目的〕[Purpose of the invention]

本発明は上記問題点を解決するためになされた
もので、ランダム欠陥及びランダムノイズと筋状
欠陥とを正確に検出し、かつフレーム間に存在す
る筋状欠陥や断続的に発生する筋状欠陥等の各種
の筋状欠陥を良好に弁別することのできる筋状欠
陥弁別処理回路を提供することを目的とする。
The present invention has been made to solve the above problems, and is capable of accurately detecting random defects, random noise, and streak defects, and detecting streak defects that exist between frames and streak defects that occur intermittently. It is an object of the present invention to provide a streak defect discrimination processing circuit that can satisfactorily discriminate various streak defects such as the following.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するために、本発明に係る筋状
欠陥弁別処理回路は、まず2値化された検出デー
タを一時的に記憶する一時記憶回路と、この一時
記憶回路に記憶された検出データを重み付け検出
データに変換する加減算制御回路とを備えてお
り、上記一時記憶回路は幅方向及び長さ方向を所
定数に細分割して設定された小データセル毎に検
出データを記憶し、加減算制御回路はこの検出デ
ータを長さ方向の小データセル毎に読み出して、
欠陥有りの場合は所定の加算値xで、欠陥無しの
場合は所定の減算値yで重み付けをした重み付け
検出データに変換する。
In order to achieve the above object, the streaky defect discrimination processing circuit according to the present invention first includes a temporary storage circuit that temporarily stores binary detected data, and a temporary storage circuit that temporarily stores the detected data that is stored in this temporary storage circuit. It is equipped with an addition/subtraction control circuit that converts it into weighted detection data, and the temporary storage circuit stores the detection data for each small data cell set by subdividing the width direction and length direction into a predetermined number, and performs addition/subtraction control. The circuit reads out this detected data for each small data cell in the length direction,
It is converted into weighted detection data that is weighted with a predetermined addition value x when there is a defect, and weighted with a predetermined subtraction value y when there is no defect.

そして、幅方向を分割したレーン毎に出力され
る分割信号から、データセルのレーン番号に対応
するアドレス信号を出力するレーン番号カウンタ
回路と、重み付けされた検出データの積算値を順
次記憶する積算値記憶回路と、加減算器と、比較
器とが用いられ、積算値記憶回路はレーン番号毎
に順次加算されていく積算値を記憶し、加減算器
は上記加減算制御回路出力と積算値記憶回路出力
とから前記検出データと積算値とを加減する。こ
うして得られた出力が、比較器に設定された基準
値を越えたときには、比較器から筋状欠陥出力が
与えられるようになつている。
Then, there is a lane number counter circuit that outputs an address signal corresponding to the lane number of the data cell from the divided signal output for each lane divided in the width direction, and an integrated value that sequentially stores the integrated value of the weighted detection data. A storage circuit, an adder/subtractor, and a comparator are used, and the integrated value storage circuit stores integrated values that are sequentially added for each lane number, and the adder/subtractor stores the integrated value that is added sequentially for each lane number, and the adder/subtractor outputs the output from the addition/subtraction control circuit and the integrated value storage circuit. Then, the detected data and the integrated value are adjusted. When the output thus obtained exceeds a reference value set in the comparator, the comparator provides a streak defect output.

〔作用〕[Effect]

以上の構成よれば、まず検出信号に対して筋状
の欠陥を検出するための重み付けが掛けられた値
が出力され、欠陥データである場合は増加値X
が、正常データである場合は減少値Yが加減算さ
れることになる。この増加値x及び減少値yは計
測する筋状欠陥によつて変わる値であり、例えば
連続的な欠陥を検出する場合にはx<yとし、断
続的な欠陥を検出する場合にはx>yとして適宜
設定される。
According to the above configuration, first, a value obtained by multiplying the detection signal by weighting for detecting a streak defect is output, and if it is defect data, an increase value
However, if the data is normal, the reduction value Y will be added or subtracted. The increase value x and decrease value y are values that change depending on the streak defect to be measured. For example, when detecting continuous defects, set x<y, and when detecting intermittent defects, set x> It is set appropriately as y.

このようにして得られた重み付け検出データは
順次積算されるが、このデータ積算値は欠陥が筋
状のものであるか否かを判断する基準となるもの
であり、このデータ積算値が比較器で設定された
所定の比較値、つまり筋状欠陥の指標となるスレ
ツシヨルド値を越えることにより、筋状欠陥が判
別されることになる。
The weighted detection data obtained in this way is accumulated sequentially, and this data accumulation value serves as the standard for determining whether or not the defect is streak-like. A streak defect is determined by exceeding a predetermined comparison value set in , that is, a threshold value that is an index of a streak defect.

以下図面を基づいて本発明の好適な実施例につ
いて説明する。
Preferred embodiments of the present invention will be described below with reference to the drawings.

〔実施例〕〔Example〕

第1図には、筋状欠陥弁別処理回路の全体ブロ
ツクが示され、受光器4、フイルタ回路5及び2
値化回路6の構成は従来と同じである。
FIG. 1 shows the entire block of the streak defect discrimination processing circuit, including a photoreceiver 4, filter circuits 5 and 2.
The configuration of the value conversion circuit 6 is the same as the conventional one.

本発明において特徴的なことは、細分割された
データセルで測定された検出信号に対して重み付
けを与えて加減算することにより各種の筋状の欠
陥を正確に弁別できるようにしたことである。こ
のため図示した実施例においては、2値化データ
を一時的に記憶する一時記憶回路7、ゲート回路
8を介して出力される2値化データに重み付けす
る加減算制御回路9、分割レーン毎に重み付けさ
れた検出データを積算する加減算器12、この加
減算器12の出力を記憶する積算値記憶回路1
3、筋状欠陥の判別を行なうコンパレータ14が
用いられている。コンパレータ14には比較値設
定スイツチ17が設けられており、これによりコ
ンパレータ14で比較基準となる比較値が設定さ
れる。なお、前記積算値記憶回路13としては、
RAMやシフトレジスタが用いられている。
A feature of the present invention is that various streak defects can be accurately discriminated by adding and subtracting weights to the detection signals measured in subdivided data cells. For this reason, in the illustrated embodiment, a temporary storage circuit 7 that temporarily stores the binarized data, an addition/subtraction control circuit 9 that weights the binarized data outputted via the gate circuit 8, and a weighting control circuit 9 that weights the binarized data for each divided lane. an adder/subtractor 12 that integrates the detected data, and an integrated value storage circuit 1 that stores the output of the adder/subtractor 12.
3. A comparator 14 is used to determine streak defects. The comparator 14 is provided with a comparison value setting switch 17, whereby a comparison value serving as a comparison standard is set in the comparator 14. Note that the integrated value storage circuit 13 includes:
RAM and shift registers are used.

前記加減算制御回路9には、「+x」設定スイ
ツチ10及び「−y」設定スイツチ11が設けら
れている。そして、一時記憶回路7から出力され
る2値化データが、欠陥信号「1」であるときに
はこれに加算値xを対応付け、正常信号「0」で
あるときにはこれに減算値yを対応付ける。ま
た、データセルの長さ方向の測長信号を上記ゲー
ト回路8に出力するために、測長パルス分周器1
5が設けられている。この測長パルス分周器15
は、例えば被測定物の送り機構から出力されるラ
イン測長パルスを入力としている。
The addition/subtraction control circuit 9 is provided with a "+x" setting switch 10 and a "-y" setting switch 11. When the binary data output from the temporary storage circuit 7 is a defective signal "1", an addition value x is associated with it, and when it is a normal signal "0", a subtraction value y is associated with it. Further, in order to output a length measurement signal in the length direction of the data cell to the gate circuit 8, a length measurement pulse frequency divider 1 is provided.
5 is provided. This length measurement pulse frequency divider 15
inputs, for example, a line length measurement pulse output from a feeding mechanism for the object to be measured.

さらに、第5図に示したような走査機構3から
は、検査光の1走査ラインを複数レーンに分割す
るためのレーンマークパルスが出力され、このレ
ーンマークパルスはレーン番号カウンタ16に入
力される。レーン番号カウンタ16は、レーンマ
ークパルスに基づき、レーンの分割個数に対応し
て各々異なつたアドレス信号を積算値記憶回路1
3に出力する。また積算値記憶回路13には、否
定回路18、積算値クリア回路19を介し、コン
パレータ14からの出力が反転入力されるように
なつている。
Further, the scanning mechanism 3 shown in FIG. 5 outputs a lane mark pulse for dividing one scanning line of the inspection light into a plurality of lanes, and this lane mark pulse is input to the lane number counter 16. . Based on the lane mark pulse, the lane number counter 16 sends different address signals to the integrated value storage circuit 1 in accordance with the number of divided lanes.
Output to 3. Further, the output from the comparator 14 is inverted and inputted to the integrated value storage circuit 13 via a negative circuit 18 and an integrated value clear circuit 19.

実施例は以上の構成からなり、以下にその作用
を第2図に基づいて説明する。第2図には各ブロ
ツクでの信号処理波形が示され、受光器4からの
出力が図Aであるとするとフイルタ回路5の出力
は図Bに示される欠陥無し(「0」)かあるいは欠
陥有り(「1」)かの2値化データが出力される。
The embodiment has the above configuration, and its operation will be explained below based on FIG. 2. Figure 2 shows signal processing waveforms in each block. If the output from the photoreceiver 4 is as shown in Figure A, the output of the filter circuit 5 is either defect-free ("0") or defective as shown in Figure B. Binarized data indicating whether it is present (“1”) is output.

こうして出力された2値化データは、一時記憶
回路7に一時的に格納される。この一時記憶回路
7には被測定物を幅方向に分割するレーンマーク
パルスが供給されており、2値化データは被測定
物の幅方向の位置とともに一時記憶されるように
なる。こうして幅方向の走査を一定回数(1回で
もよい)繰り返し、被測定物が流れ方向に1小デ
ータセル分だけ進んだことが測長パルス分周器1
5で検出されると、一時記憶回路7に記憶された
2値化データは、図Dに示したレーンマークパル
スと同期して、ゲート回路8を介して加減算制御
回路9に出力される。
The binarized data thus output is temporarily stored in the temporary storage circuit 7. A lane mark pulse for dividing the object to be measured in the width direction is supplied to this temporary storage circuit 7, and the binary data is temporarily stored together with the position of the object to be measured in the width direction. In this way, scanning in the width direction is repeated a certain number of times (or even once), and the length measurement pulse frequency divider 1 determines that the object to be measured has advanced by one small data cell in the flow direction.
5, the binary data stored in the temporary storage circuit 7 is output to the addition/subtraction control circuit 9 via the gate circuit 8 in synchronization with the lane mark pulse shown in FIG.

加減算制御回路9は、一時記憶回路7から供給
された2値化データに対し、図Fで示したよう
に、「+x」,「−y」の重み付けを行う。この実
施例においては連続性をもつた筋状欠陥を検出す
るために、例えば+x設定スイツチ10によりx
=3,−y設定スイツチ11によりy=5に設定
されているから、2値化データが「1」となる欠
陥データには「+3」が割り当てられ、2値化デ
ータが「0」となる正常データには「−5」が割
り当てられる。なお、断続的な筋状欠陥を検出し
ようとするときには、+x設定スイツチ10,−y
設定スイツチ11による重み付けデータの設定
を、x>yとするが、その詳細については後述す
る。
The addition/subtraction control circuit 9 weights the binary data supplied from the temporary storage circuit 7 with "+x" and "-y" as shown in FIG. In this embodiment, in order to detect continuous streak defects, for example, the +x setting switch 10
=3, -y Since y is set to 5 by the setting switch 11, "+3" is assigned to the defective data whose binary data becomes "1", and the binary data becomes "0". "-5" is assigned to normal data. Note that when attempting to detect intermittent streak defects, the +x setting switch 10, -y
The weighting data is set by the setting switch 11 so that x>y, the details of which will be described later.

加減算制御回路9から出力された検出データ
は、加減算器12によつてレーン毎に加減算さ
れ、積算値記憶回路13に記憶される。この積算
値記憶回路13には、レーンマークパルスの個数
に対応してレーン番号カウンタ16によつて出力
されるレーン番号アドレスが入力されており、前
記検出データはこのレーン番号アドレスごとに、
すなわち、被測定物を幅方向に分割したレーンご
とに積算して記憶される。
The detection data outputted from the addition/subtraction control circuit 9 is added/subtracted for each lane by an adder/subtractor 12 and stored in an integrated value storage circuit 13 . A lane number address outputted by a lane number counter 16 corresponding to the number of lane mark pulses is input to this integrated value storage circuit 13, and the detection data is stored for each lane number address.
That is, the values are accumulated and stored for each lane in which the object to be measured is divided in the width direction.

加減算器12は、積算値記憶回路13からフイ
ードバツクされる第2図Gの積算値に対し、さら
に加減算制御回路9からの検出データを加減算
し、同図Hに示したような積算検出データを出力
する。この積算検出データはコンパレータ14に
入力され、比較値設定スイツチ17で設定された
比較値(スレツシヨルド値)、例えば「30」と比
較される。そして、いずれかのレーンにおいて、
積算検出データが比較値「30」を越えたときに
は、コンパレータ14は第2図Iに示した筋状欠
陥出力を与えるようになる。
The adder/subtractor 12 further adds or subtracts the detection data from the addition/subtraction control circuit 9 to the integrated value of FIG. 2 G fed back from the integrated value storage circuit 13, and outputs integrated detection data as shown in FIG. do. This integrated detection data is input to the comparator 14 and compared with a comparison value (threshold value) set by the comparison value setting switch 17, for example "30". And in either lane,
When the integrated detection data exceeds the comparison value "30", the comparator 14 provides the streak defect output shown in FIG. 2I.

第3図a,bには、筋状欠陥の一例とその測定
結果が示されている。図示のように、第3レーン
に発生している筋は途中2個所で途切れ、この途
切れ部分は筋部分より短く、その他のレーンには
ランダムな欠陥が存在する。従つて、第3図bに
示したように、第3レーンの筋は比較値「30」を
越えて筋状欠陥であると判定される。しかしなが
ら、他のレーンに存在する欠陥は比較値「30」を
越えることがなく、筋状欠陥としては検出されな
いので、これにより筋状欠陥を明確に弁別して検
出することができるようになる。もちろん、受光
器4に断続的なノイズが入つた場合においても、
これは同様に筋状欠陥としては検出されず、ノイ
ズの影響も出にくくなる。なお、コンパレータ1
4から筋状欠陥出力が出力されたときには、この
出力は否定回路18を介し、リセツト信号として
積算値クリア回路19に供給され、積算値記憶回
路13の筋状欠陥が存在したレーンに対応したア
ドレスのデータは「0」にクリアされ、再び新た
な検出データの積算が行われる。
FIGS. 3a and 3b show an example of a streaky defect and its measurement results. As shown in the figure, the streaks occurring in the third lane are interrupted at two points along the way, and these interrupted portions are shorter than the streaked portions, and random defects are present in the other lanes. Therefore, as shown in FIG. 3b, the streak in the third lane exceeds the comparison value "30" and is determined to be a streak defect. However, since the defects existing in other lanes do not exceed the comparison value "30" and are not detected as streaky defects, it becomes possible to clearly distinguish and detect streaky defects. Of course, even if intermittent noise enters the receiver 4,
Similarly, this is not detected as a streaky defect and is less likely to be affected by noise. In addition, comparator 1
When a streaky defect output is output from 4, this output is supplied as a reset signal to the integrated value clearing circuit 19 via the NOT circuit 18, and the address corresponding to the lane where the streaky defect existed in the integrated value storage circuit 13 is sent. The data is cleared to "0" and new detection data is integrated again.

上記実施例では、x<yの条件のもとに検出デ
ータの重み付けを行つたので、比較的長い筋を検
出する場合に好適であるが、短い筋を検出する場
合には重み付けの比率を変えるようにする。
In the above embodiment, the detection data is weighted under the condition of x<y, which is suitable for detecting relatively long streaks, but the weighting ratio is changed when detecting short streaks. Do it like this.

すなわち、第4図aに示したように、連続する
筋状欠陥(筋長さが筋間隔長さより大きい)の場
合は、実施例のようにx<yとすることによつ
て、例え小さな欠陥やノイズが伴つたとしても、
その積算検出データは比較値を越えることがない
ので、筋状欠陥はこれらと弁別して検出される。
In other words, as shown in FIG. 4a, in the case of continuous streak defects (stripe length is greater than the inter-stripe interval length), even if the defect is small, by setting x<y as in the example, Even if it is accompanied by noise,
Since the integrated detection data does not exceed the comparison value, streak defects are detected separately from these.

一方、断続する筋状欠陥(筋長さよりも筋間隔
の方が大きい)の場合には、+x設定スイツチ1
0及び−y設定スイツチ11によりx>yとす
る。これにより、正常データより欠陥データの重
み付けの方が大きくなり、ランダムに発生する小
さな欠陥についても検出することができるように
なる。言い換えれば、連続的な筋は、欠陥検出デ
ータの重み付け加算値を正常検出データの重み付
け減算値よりも小さくすることにより、また断続
的な筋は、欠陥検出データの重み付け加算値を正
常検出データの重み付け減算値よりも大きくする
ことにより検出することができるようになるもの
である。
On the other hand, in the case of intermittent streak-like defects (muscle spacing is larger than streak length), the +x setting switch 1
0 and -y setting switch 11 to set x>y. As a result, defect data is weighted more heavily than normal data, and even small defects that occur randomly can be detected. In other words, continuous streaks are created by making the weighted addition value of defect detection data smaller than the weighted subtraction value of normal detection data, and intermittent streaks are created by making the weighted addition value of defect detection data smaller than the weighted subtraction value of normal detection data. Detection is possible by making the value larger than the weighted subtraction value.

〔発明の効果〕〔Effect of the invention〕

以上に説明したように、本発明では被測定物を
レーン分割及びフレーム分割によりデータセルと
して細分割し、このデータセル内から検出される
2値化信号を重み付けしながら加減算して積算す
るようにしている。したがつて、断続的な欠陥や
ノイズに対し、実用上最も問題となる筋状欠陥を
正確に弁別して検出することができるようにな
る。しかも、データセルごとに欠陥、正常の評価
情報を累積してゆき、フレームごとにリセツトさ
れることがないから、フレームに跨がるような長
い筋状欠陥も正しく検出することが可能となる。
また、重み付け値を変えることにより、検出され
た欠陥部分が連続的なものか、断続的なものかの
弁別もできるので、表面検査装置に限らず、各種
の欠陥検出、測定に適用することが可能である。
As explained above, in the present invention, the object to be measured is subdivided into data cells by lane division and frame division, and the binarized signals detected from within the data cells are added and subtracted while being weighted and integrated. ing. Therefore, it becomes possible to accurately discriminate and detect streaky defects, which are the most problematic in practice, from intermittent defects and noise. Moreover, since the defect/normality evaluation information is accumulated for each data cell and is not reset for each frame, it is possible to correctly detect long streak defects that span frames.
In addition, by changing the weighting values, it is possible to distinguish whether the detected defect is continuous or intermittent, so it can be applied not only to surface inspection equipment but also to various types of defect detection and measurement. It is possible.

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

第1図は本発明に係る筋状欠陥弁別処理回路の
好適な実施例を示すブロツク図である。第2図は
第1図のブロツク図中の各部における出力波形図
である。第3図は被測定物の欠陥状態と測定結果
を示す説明図である。第4図は筋状欠陥が連続す
るものと断続するものとの測定結果を比較した場
合の説明図である。第5図は筋状欠陥弁別処理回
路を用いる従来の表面検査装置の概略図である。
第6図は従来の筋状欠陥弁別処理回路を用いたと
きの測定結果を示す説明図である。 4……受光器、6……2値化回路、7……一時
記憶回路、9……加減算制御回路、10……+X
設定スイツチ、11……−Y設定スイツチ、12
……加減算器、13……積算値記憶回路、14…
…コンパレータ。
FIG. 1 is a block diagram showing a preferred embodiment of a streak defect discrimination processing circuit according to the present invention. FIG. 2 is an output waveform diagram of each part in the block diagram of FIG. 1. FIG. 3 is an explanatory diagram showing the defect state of the object to be measured and the measurement results. FIG. 4 is an explanatory diagram comparing the measurement results of continuous and intermittent streak defects. FIG. 5 is a schematic diagram of a conventional surface inspection apparatus using a streak defect discrimination processing circuit.
FIG. 6 is an explanatory diagram showing measurement results when using a conventional streak defect discrimination processing circuit. 4... Light receiver, 6... Binarization circuit, 7... Temporary memory circuit, 9... Addition/subtraction control circuit, 10... +X
Setting switch, 11...-Y setting switch, 12
...Adder/subtractor, 13... Integrated value storage circuit, 14...
…comparator.

Claims (1)

【特許請求の範囲】 1 被測定物の表面からの検出信号を2値化信号
に変換してこの2値化信号により筋状欠陥の計測
を行なうための筋状欠陥弁別処理回路において、 被測定物を幅方向及び長さ方向を細分割して設
定されたデータセル毎に上記2値化された検出デ
ータを一時的に記憶する一時記憶回路と、この一
時記憶回路に記憶された検出データを長さ方向の
データセル毎に読み出し欠陥有りの場合は所定の
加算値xで、また欠陥無しの場合は所定の減算値
yで重み付けをした重み付け検出データに変換す
る加減算制御回路と、幅方向を分割したレーン毎
に出力される分割信号からレーン番号毎にデータ
を記憶するためのアドレス領域を確保するレーン
番号カウンタ回路と、上記レーン番号に対応して
同一レーンのデータセル毎に積算されていく重み
付け検出データの積算データを順次記憶する積算
値記憶回路と、上記加減算制御回路出力と積算値
記憶回路出力とを加減算する加減算器と、この加
減算器の出力を所定の比較値と比較しデータ積算
値がこの比較値を越えた時に筋状欠陥と判別する
比較器とを備えたことを特徴とする筋状欠陥弁別
処理回路。 2 上記加算値x及び減算値yは、連続的な筋状
欠陥を検出する場合にはx<y、断続的な筋状欠
陥を検出する場合にはx>yの条件として検出デ
ータを重み付け検出データに変換することを特徴
とする特許請求の範囲第1項記載の筋状欠陥弁別
処理回路。
[Scope of Claims] 1. In a streak defect discrimination processing circuit for converting a detection signal from the surface of an object to be measured into a binary signal and measuring a streak defect using the binary signal, comprising: A temporary storage circuit that temporarily stores the binarized detection data for each data cell set by subdividing the object in the width direction and length direction, and a temporary storage circuit that temporarily stores the detection data stored in this temporary storage circuit. An addition/subtraction control circuit that converts each data cell in the length direction into weighted detection data that is weighted with a predetermined addition value x when there is a read defect and a predetermined subtraction value y when there is no defect; A lane number counter circuit secures an address area for storing data for each lane number from the division signal output for each divided lane, and the data is accumulated for each data cell on the same lane in accordance with the lane number. an integrated value storage circuit that sequentially stores integrated data of weighted detection data; an adder/subtractor that adds/subtracts the output of the addition/subtraction control circuit and the integrated value storage circuit; and an adder/subtractor that adds/subtracts the output of the addition/subtraction control circuit and the integrated value storage circuit, and compares the output of the adder/subtractor with a predetermined comparison value to perform data integration. A streak defect discrimination processing circuit comprising a comparator that determines a streak defect when the value exceeds the comparison value. 2 The above addition value x and subtraction value y are determined by weighting detection data under the condition that x < y when detecting continuous streak defects, and x > y when detecting intermittent streak defects. 2. The streaky defect discrimination processing circuit according to claim 1, wherein the processing circuit converts into data.
JP28984086A 1986-12-05 1986-12-05 Stripe like flaw discrimination processing circuit Granted JPS63142241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28984086A JPS63142241A (en) 1986-12-05 1986-12-05 Stripe like flaw discrimination processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28984086A JPS63142241A (en) 1986-12-05 1986-12-05 Stripe like flaw discrimination processing circuit

Publications (2)

Publication Number Publication Date
JPS63142241A JPS63142241A (en) 1988-06-14
JPH0531101B2 true JPH0531101B2 (en) 1993-05-11

Family

ID=17748447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28984086A Granted JPS63142241A (en) 1986-12-05 1986-12-05 Stripe like flaw discrimination processing circuit

Country Status (1)

Country Link
JP (1) JPS63142241A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008175549A (en) * 2007-01-16 2008-07-31 Olympus Corp Defect detection device and method

Also Published As

Publication number Publication date
JPS63142241A (en) 1988-06-14

Similar Documents

Publication Publication Date Title
EP0008353A1 (en) Method of detection and classification of flaws on metallic surfaces
JP2890801B2 (en) Surface scratch inspection device
JPH07198627A (en) Metallic surface defect inspection device
US5166535A (en) Surface inspecting apparatus with surface inspection width adjustment
JPH0531101B2 (en)
JPH07333197A (en) Automatic surface flaw detector
JPH06331317A (en) Dimension measuring device
JPS60122306A (en) Detector for road surface crack
JP2002372499A (en) Periodical defect inspection method and apparatus
JPH01262447A (en) Periodic defect discriminating processing circuit
JPH01253641A (en) Circuit for discriminating streak-like defect
JPS63172945A (en) Discrimination processing circuit for periodic flaw
JPH07121582B2 (en) Defect detection method and defect detection circuit in printed matter inspection apparatus
US6331888B1 (en) Method and apparatus for surface inspection
JPH0718814B2 (en) Surface inspection device
JPH0695076B2 (en) Steel plate surface flaw inspection method by neural network
JPS6246803B2 (en)
JPS593245A (en) Deficiency inspector
JPS5936051A (en) Bill hole detecting device
JPH02298840A (en) Inspecting method of flaw in surface of steel plate by neural circuit network
JPH07921Y2 (en) Rice grain condition detector
JPH0227241A (en) Defect inspecting device for optical disc
JPS5920972B2 (en) Defect detection device
JPS633256B2 (en)
JPH0619336B2 (en) Surface inspection device

Legal Events

Date Code Title Description
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