JPS63262768A - Pattern detecting signal binarization circuit - Google Patents

Pattern detecting signal binarization circuit

Info

Publication number
JPS63262768A
JPS63262768A JP62096132A JP9613287A JPS63262768A JP S63262768 A JPS63262768 A JP S63262768A JP 62096132 A JP62096132 A JP 62096132A JP 9613287 A JP9613287 A JP 9613287A JP S63262768 A JPS63262768 A JP S63262768A
Authority
JP
Japan
Prior art keywords
slice level
output
pattern
buffer
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.)
Pending
Application number
JP62096132A
Other languages
Japanese (ja)
Inventor
Koji Oka
浩司 岡
Moritoshi Ando
護俊 安藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62096132A priority Critical patent/JPS63262768A/en
Publication of JPS63262768A publication Critical patent/JPS63262768A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To constantly obtain a proper slice level by following a slice level to an original signal with respect to a base material part to be detected and reducing the slice level with a constant coefficient with respect to a pattern part to be detected. CONSTITUTION:A pattern detecting signal and the slice level from a buffer 19 are compared in a comparator 20 to output a binarization signal and a switch 11 is opened and closed according to this signal. In the base material part to be detected, the output of the comparator 20 goes to a low level to turn on the switch 11 and time constant circuits 12, 13 are charged, so that the output of a buffer 15 is substantially similar to the original signal and said slice level follows the original signal. In the pattern part to be detected, the output of the comparator 20 goes to a high level to turn off the switch 11, an electric charge stored in the tie constant circuits 12, 13 is discharged, the output of the buffer 15 is gradually reduced, so that said slice level is reduced with the constant coefficient.

Description

【発明の詳細な説明】 〔概 要〕 本発明は、回路自身の二値化出力を用いて、被検知対象
のパターン部か基材部分かを判定し、基材部分の場合に
はスライスレベルを二値化されるべき原信号に追従させ
、パターン部の場合には一定の係数でスライスレベルを
減少させ、それにより、常に適正なスライスレベルによ
って二(it化されるようにした′回路に関するもので
ある。
[Detailed Description of the Invention] [Summary] The present invention uses the binary output of the circuit itself to determine whether the object to be detected is a pattern part or a base material part, and if it is a base material part, the slice level is determined. This circuit relates to a circuit that follows the original signal to be binarized, reduces the slice level by a certain coefficient in the case of a pattern part, and thereby always converts it to an appropriate slice level. It is something.

〔産業上の利用分野〕[Industrial application field]

本発明は、例えばプリント基板等の被検知対象から検知
された原信号を二値化してパターン部と基材部分に対応
させるためのパターン検知信号二値化回路に関する。
The present invention relates to a pattern detection signal binarization circuit for binarizing an original signal detected from a detection target such as a printed circuit board and making the signal correspond to a pattern portion and a base material portion.

〔従来の技術〕[Conventional technology]

従来型の二値化回路の基本的な構成が第3図に、その動
作を説明する図が第4図に示される。第3図の二値化回
路は固定スライスレベルを用いた場合である。被検知対
象上に線状の遮光帯を設けてその反射散乱光を検知する
ブランクライン照明方式を用いたパターン検知において
は、パターン密度の高い部分(導体パターンの多い部分
)の検知信号強度は、パターン密度の低い部分の信号強
度と比較して小さくなる。これは、ブラックライン照明
方式がブラックライン周囲からの拡散漏入光量に基づい
ているためである。従って、固定スライスレベルを用い
た場合、すなわち第3図におけるように、パターン検知
信号をコンパレータ(COMP)31で、電源電圧■と
可変抵抗32から得られる固定スライスレベルと比較さ
れると第4図に示されるような二値化信号が得られる。
The basic configuration of a conventional binarization circuit is shown in FIG. 3, and a diagram illustrating its operation is shown in FIG. 4. The binarization circuit shown in FIG. 3 uses a fixed slice level. In pattern detection using a blank line illumination method in which a linear light-shielding band is provided on the object to be detected and reflected and scattered light is detected, the detection signal strength in areas with high pattern density (areas with many conductive patterns) is The signal strength is smaller than that of a portion with low pattern density. This is because the black line illumination method is based on the amount of diffused leakage light from around the black line. Therefore, when a fixed slice level is used, as shown in FIG. 3, when the pattern detection signal is compared with the fixed slice level obtained from the power supply voltage ■ and the variable resistor 32 by the comparator (COMP) 31, as shown in FIG. A binarized signal as shown in is obtained.

第4図において上段は被検知対象パターンが示されてお
り、斜線を付した部分が導体パターン部である。斜線の
ない部分は基材部分である。このパターンを線りに沿っ
て検知したパターン検知信号が第4図中段の波形図に実
線の曲線41として示される。固定スライスレベルは鎖
vA42で示される。図かられかるように、導体パター
ン密度の高い所では検知信号が小さくなる(丸い破線4
4の部分参照)。
In FIG. 4, the upper part shows the pattern to be detected, and the diagonally shaded part is the conductor pattern part. The part without diagonal lines is the base material part. A pattern detection signal obtained by detecting this pattern along a line is shown as a solid curve 41 in the waveform diagram in the middle part of FIG. The fixed slice level is indicated by strand vA42. As can be seen from the figure, the detection signal becomes smaller in areas where the conductor pattern density is high (round broken line 4
(See part 4).

従って、パターン検知信号41と固定スライスレベル4
2の関係から、第4図下段の実線のような対応する二値
化信号が得られる。しかしながら、この場合、適正なス
ライスレベルとしては破線43が理想とされ、二値化信
号として破線のような信号が望まれる。なお、Gは接地
レベルを示す。
Therefore, the pattern detection signal 41 and the fixed slice level 4
2, a corresponding binary signal as shown by the solid line in the lower part of FIG. 4 can be obtained. However, in this case, the ideal slice level is the dashed line 43, and a signal like the dashed line is desired as the binarized signal. Note that G indicates the ground level.

従来用いられている他の回路として第5図の積分型スラ
イスレベルを用いた二値化回路がある。
Another conventionally used circuit is a binarization circuit using an integral slice level shown in FIG.

この回路においては、コンパレータ53においてパター
ン検知信号とパターン検知信号の積分値が比較され二値
化される。すなわち、パターン検知信号はコンパレータ
53の一方の入力端子に供給され、かつ抵抗56および
キャパシタ57から成る積分回路へ供給される。積分回
路の出力はバッファ(B)51と可変抵抗54を介して
コンパレータ53の他方の入力端子へ供給される。電源
Vから可変抵抗55、バッファ52、およびダイオード
58を介してコンパレータ53の他方の入力端子へ電圧
を供給する回路は、最低スライスレベル(最小限界)を
保持するためのものである。
In this circuit, the comparator 53 compares the pattern detection signal and the integral value of the pattern detection signal and converts them into binary values. That is, the pattern detection signal is supplied to one input terminal of the comparator 53, and is also supplied to an integrating circuit consisting of a resistor 56 and a capacitor 57. The output of the integrating circuit is supplied to the other input terminal of the comparator 53 via a buffer (B) 51 and a variable resistor 54. The circuit that supplies voltage from the power supply V to the other input terminal of the comparator 53 via the variable resistor 55, buffer 52, and diode 58 is for maintaining the lowest slice level (minimum limit).

第6図を用いて上述の回路の動作を説明する。The operation of the above circuit will be explained using FIG.

第6図は第4図と同様に上段に被検知対象パターン、中
段にパターン検知信号51、下段に二値化信号がそれぞ
れ対応して示される。この場合のスライスレベルは鎖線
52のようになり、二値化信号は下段の実線のようにな
る。この場合の理想的なスライスレベルは破線53のよ
うなレベルが望まれ、このスライスレベルが用いられる
と二値化信号は破線のように修正されることになる。
In FIG. 6, similarly to FIG. 4, the pattern to be detected is shown in the upper row, the pattern detection signal 51 is shown in the middle row, and the binary signal is shown in the lower row, respectively. In this case, the slice level is as shown by the chain line 52, and the binarized signal is as shown by the lower solid line. The ideal slice level in this case is desired to be a level as shown by the broken line 53, and when this slice level is used, the binarized signal will be modified as shown by the broken line.

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

前述のように、二値化回路が固定スライスレベルを用い
る時は、パターン部の密度によって検知信号の強度が変
化し、適正なスライスレベルによる二値化を行うことが
できない。
As described above, when the binarization circuit uses a fixed slice level, the intensity of the detection signal changes depending on the density of the pattern portion, making it impossible to perform binarization using an appropriate slice level.

また、積分型スライスレベルを用いても、パターンの急
激な変化(パターン密度の低い部分から高い部分への変
化等)に追従できない場合があり、適正な二値化が難し
いという問題点がある。
Further, even if an integral slice level is used, it may not be possible to follow sudden changes in the pattern (such as changes from a low pattern density part to a high pattern density part), and there is a problem that proper binarization is difficult.

本発明の目的は、被検知対象のパターン密度の変化にか
かわらず適正なスライスレベルによりパターン検知信号
の二値化が可能となり、検知精度が向上する二値化回路
を得ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a binarization circuit that can binarize a pattern detection signal at an appropriate slice level regardless of changes in pattern density of a detection target and improves detection accuracy.

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

本発明の回路は、第1図に例示されるように、比較手段
20、切換手段11、バッファ15、時定数回路12 
、13、最低スライスレベル供給回路14゜16 、1
B、を具備する。
As illustrated in FIG. 1, the circuit of the present invention includes a comparison means 20, a switching means 11, a buffer 15, a time constant circuit
, 13, lowest slice level supply circuit 14゜16 , 1
B.

比較手段20は一方の入力に被検知対象のパターン検知
信号を受け、他方の入力にバッファ15の出力を受けて
、双方を比較し二値化信号を出力する。バッファ15の
入力は前記パターン検知信号を切換手段11および時定
数回路12,13を介して受け、切換手段11は比較手
段20の出力により開閉され、時定数回路12 、13
は切換手段11が閉路された時充電され、開路された時
放電され、最低スライスレベル供給回路14 、16 
、18は前記バッファ15の出力レベルがあらかじめ設
定された最低値以下となった時、その最低値を保持する
ようにする。
The comparison means 20 receives the pattern detection signal of the object to be detected at one input, receives the output of the buffer 15 at the other input, compares the two, and outputs a binary signal. The input of the buffer 15 receives the pattern detection signal via the switching means 11 and time constant circuits 12 and 13, and the switching means 11 is opened and closed by the output of the comparison means 20, and the time constant circuits 12 and 13
is charged when the switching means 11 is closed and discharged when the switching means 11 is opened, and the lowest slice level supply circuits 14 and 16
, 18 are arranged to hold the lowest value when the output level of the buffer 15 becomes lower than a preset lowest value.

〔作 用〕[For production]

前述のパターン検知信号二値化回路を用いれば、スライ
スレベルは原信号に追従する浮動型となり第4図中段に
例示されるような検知信号強度の小さい部分のパターン
も適正なレベルをもってスライスできる。スライスレベ
ルの原信号に対する追従は、基材部分は高速で追従し、
パターン部においては追従しないで、検査対象パターン
に応じた特定の時定数で減少する。パターン部における
スライスレベルの下がり過ぎはスライスレベルの下限値
を設定した最低スライスレベル供給回路により防止され
る。
If the above-mentioned pattern detection signal binarization circuit is used, the slice level will be a floating type that follows the original signal, and even a pattern in a portion where the detection signal intensity is low as illustrated in the middle part of FIG. 4 can be sliced at an appropriate level. When tracking the original signal at the slice level, the base material follows at high speed,
In the pattern portion, it does not follow, but decreases with a specific time constant depending on the pattern to be inspected. An excessive drop in the slice level in the pattern portion is prevented by a minimum slice level supply circuit that sets a lower limit value of the slice level.

〔実施例〕〔Example〕

本発明の一実施例としてのパターン検知信号二値化回路
の回路図が第1図に、動作を説明するための図が第2図
に示される。
A circuit diagram of a pattern detection signal binarization circuit as an embodiment of the present invention is shown in FIG. 1, and a diagram for explaining the operation is shown in FIG.

この回路は、コンパレータ(COMP) 20、スイッ
チ11、キャパシタ12、抵抗13、バッファ(B)1
5および16、可変抵抗14および17、ダイオード1
8、およびバッファ(B)19を具備する。
This circuit includes a comparator (COMP) 20, a switch 11, a capacitor 12, a resistor 13, and a buffer (B) 1.
5 and 16, variable resistors 14 and 17, diode 1
8, and a buffer (B) 19.

被検知対象からのパターン検知信号はコンパレータ20
の一方の入力端子およびスイッチ11の一方の端子に供
給される。スイッチ11の他方の端子はキャパシタ12
および抵抗13のそれぞれ一端に接続され、キャパシタ
12および抵抗工3の他端は接地される。スイッチ11
の他方の端子は同時にバッファ15の入力へ接続される
。バッファ15の出力は可変抵抗17を介してバッファ
19の入力へ供給される。バッファ16の入力には電源
電圧Vが可変抵抗14を介して供給される。
The pattern detection signal from the object to be detected is sent to the comparator 20.
and one terminal of the switch 11. The other terminal of switch 11 is connected to capacitor 12.
and resistor 13, and the other ends of capacitor 12 and resistor 3 are grounded. switch 11
The other terminal of is simultaneously connected to the input of buffer 15. The output of buffer 15 is supplied to the input of buffer 19 via variable resistor 17. A power supply voltage V is supplied to the input of the buffer 16 via a variable resistor 14 .

バッファ16の出力はダイオード18を介してバッファ
19の入力に供給される。バッファ19の出力はコンパ
レータ20の他方の端子に供給される。スイッチ11の
開閉はコンパレータ20の出力により制御される。
The output of buffer 16 is supplied via diode 18 to the input of buffer 19. The output of buffer 19 is supplied to the other terminal of comparator 20. The opening and closing of the switch 11 is controlled by the output of the comparator 20.

コンパレータ20の出力はパターンの有無に対応して高
レベルまたは低レベルとなる。パターン無の時、すなわ
ちネ★知信号が基材部分に対応する′ 時コンパレータ
20の出力は低レベルとなりスイッチを閉路(オン)す
る。キャパシタ12の値は100pF程度以下であるの
で迅速に充電され、バッファ15の出力における電圧は
、はぼ原信号と相似な波形となる。パターン有の場合、
すなわちコンパレータ20の出力が高レベルの時には、
スイッチ11を開路(オフ)する。するとキャパシタ1
2に蓄積されていた電荷がCRの時定数により放電し、
バッファ15の出力における電圧は次第に減少する。バ
ッファ19の入力電圧がバッファ16の出力電圧よりも
低くなるとダイオード18が導通し、スライスレベルの
最低値はほぼバッファ16の出力電圧となる。スライス
レベルの最低値は可変抵抗14により設定される。可変
抵抗17は検知信号強度とスライスレベルの比率を調整
する。
The output of the comparator 20 is at a high level or a low level depending on the presence or absence of a pattern. When there is no pattern, that is, when the intelligence signal corresponds to the base material portion, the output of the comparator 20 becomes a low level and the switch is closed (turned on). Since the value of the capacitor 12 is about 100 pF or less, it is quickly charged, and the voltage at the output of the buffer 15 has a waveform almost similar to the original signal. If there is a pattern,
That is, when the output of the comparator 20 is at a high level,
Switch 11 is opened (off). Then capacitor 1
The charge accumulated in 2 is discharged by the time constant of CR,
The voltage at the output of buffer 15 gradually decreases. When the input voltage of the buffer 19 becomes lower than the output voltage of the buffer 16, the diode 18 becomes conductive, and the lowest value of the slice level becomes approximately the output voltage of the buffer 16. The lowest value of the slice level is set by the variable resistor 14. The variable resistor 17 adjusts the ratio between the detected signal strength and the slice level.

第2図には最上段に被検知対象パターンが示される。斜
線を付した部分がパターン部であり、それ以外の部分が
基材部分である。線りの部分を検知したパターン検知信
号が次段の実線による曲線21として示される。スライ
スレベルは鎖!23で示され、パターン無の部分、すな
わち基材部分では、はぼパターン検知信号に追従するが
、パターン有の部分においては、時定数CXRで減少す
る。このパターンの例における理想的なスライスレベル
は破線22で示される。これにより従来例の回路に比較
して実施例の回路のスライスレベルがより適切であるこ
とがわかる。第2図の第3段目には二値化信号が示され
る。最下段には二値化信号に対応してスイッチ11の開
閉する態様が示される。
In FIG. 2, the pattern to be detected is shown at the top. The shaded portion is the pattern portion, and the other portions are the base material portion. A pattern detection signal that detects the linear portion is shown as a solid curve 21 in the next stage. The slice level is a chain! 23, in the part without a pattern, that is, in the base material part, it follows the pattern detection signal, but in the part with a pattern, it decreases with the time constant CXR. The ideal slice level in this example pattern is shown by dashed line 22. This shows that the slice level of the circuit of the embodiment is more appropriate than that of the conventional circuit. The third row of FIG. 2 shows the binarized signal. The bottom row shows how the switch 11 opens and closes in response to the binary signal.

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

本発明によれば、被検知対象のパターン密度の変化にか
かわらず適正なスライスレヘルによりパターン検知信号
の二値化を行うことができ−1その結果、検知精度の向
上が実現できる。
According to the present invention, it is possible to binarize a pattern detection signal with an appropriate slice level regardless of changes in pattern density of a detection target, and as a result, it is possible to realize an improvement in detection accuracy.

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

第1図は本発明の一実施例としてのパターン検知信号二
値化回路の回路図、 第2図は第1図の回路の動作を説明する図、第3図は従
来型の二値化回路の回路図、第4図は第3図の回路の動
作を説明する図、第5図は他の1つの従来型の二値化回
路の回路図、および 第6図は第5図の回路の動作を説明する図である。 図において、 11・・・スイッチ、     12・・・キャパシタ
、13・・・抵抗、      14 、17・・・可
変抵抗、15 、16 、19・・・バッファ、  1
8・・・ダイオード、20 、31・・・コンパレータ
、 32・・・可変抵抗、51.52・・・バッファ、
    53・・・コンパレータ、54 、55・・・
可変抵抗、   56・・・抵抗、57・・・キャパシ
タ、    58・・・ダイオード。
Fig. 1 is a circuit diagram of a pattern detection signal binarization circuit as an embodiment of the present invention, Fig. 2 is a diagram explaining the operation of the circuit of Fig. 1, and Fig. 3 is a conventional binarization circuit. 4 is a diagram explaining the operation of the circuit of FIG. 3, FIG. 5 is a circuit diagram of another conventional binarization circuit, and FIG. 6 is a diagram of the circuit of FIG. 5. It is a figure explaining operation. In the figure, 11... Switch, 12... Capacitor, 13... Resistor, 14, 17... Variable resistor, 15, 16, 19... Buffer, 1
8...Diode, 20, 31...Comparator, 32...Variable resistor, 51.52...Buffer,
53... Comparator, 54, 55...
Variable resistor, 56...Resistor, 57...Capacitor, 58...Diode.

Claims (1)

【特許請求の範囲】  パターン部および基材部分を具備する被検知対象のパ
ターン検知信号を一方の入力端子に受ける比較手段(2
0)と、 前記パターン検知信号を切換手段(11)を介して受け
、出力を前記比較手段(20)の他方の入力へ供給する
バッファ(15)と、 前記バッファ(15)の出力があらかじめ設定された最
低値以下となる時、前記最低値を前記比較手段(20)
の他方の入力に供給する最低スライスレベル供給回路(
14、16、18)と、 前記バッファ(15)の入力端子と前記切換手段(11
)の間にあらかじめ定められた時定数をもって充電され
た電荷を放電するような時定数回路(12、13)を具
備し、 前記切換手段(11)は前記比較手段(20)の出力が
、被検知対象の基材部分に対応する時閉路されて前記時
定数回路(12)を充電し、パターン部に対応する時開
路されて放電するようにし、前記比較手段(20)の出
力に二値化信号を得るようにしたパターン検知信号二値
化回路。
[Claims] Comparing means (2
0), a buffer (15) that receives the pattern detection signal via the switching means (11) and supplies the output to the other input of the comparison means (20), and the output of the buffer (15) is set in advance. When the lowest value is equal to or lower than the lowest value, the lowest value is compared with the comparing means (20).
The lowest slice level supply circuit (
14, 16, 18), and an input terminal of the buffer (15) and the switching means (11).
), the switching means (11) includes a time constant circuit (12, 13) for discharging the electric charge charged in a predetermined time constant between The circuit is closed to charge the time constant circuit (12) when corresponding to the base material portion to be detected, and the circuit is opened to discharge when corresponding to the pattern portion, and the output of the comparison means (20) is binarized. A pattern detection signal binarization circuit designed to obtain signals.
JP62096132A 1987-04-21 1987-04-21 Pattern detecting signal binarization circuit Pending JPS63262768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62096132A JPS63262768A (en) 1987-04-21 1987-04-21 Pattern detecting signal binarization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62096132A JPS63262768A (en) 1987-04-21 1987-04-21 Pattern detecting signal binarization circuit

Publications (1)

Publication Number Publication Date
JPS63262768A true JPS63262768A (en) 1988-10-31

Family

ID=14156864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62096132A Pending JPS63262768A (en) 1987-04-21 1987-04-21 Pattern detecting signal binarization circuit

Country Status (1)

Country Link
JP (1) JPS63262768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991011685A1 (en) * 1990-01-31 1991-08-08 Kabushiki Kaisha Komatsu Seisakusho Position detector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991011685A1 (en) * 1990-01-31 1991-08-08 Kabushiki Kaisha Komatsu Seisakusho Position detector
US5327078A (en) * 1990-01-31 1994-07-05 Kabushiki Kaisha Komatsu Speisakusho Position detecting apparstus having a mean value calculating circuit including a low pass filter

Similar Documents

Publication Publication Date Title
US3965388A (en) Digital light responsive switching circuit
MY133287A (en) Method and apparatus for sorting granular objects with at least two different threshold levels
KR880006915A (en) Aperture Control Circuit of Imaging Device
JPS63262768A (en) Pattern detecting signal binarization circuit
JPS55109968A (en) Frequency decision circuit
KR970049834A (en) Presence detection system for integrated circuits on electrically conductive objects, especially on chip cards
JPS5927499B2 (en) Background density compensation circuit
JPH10162095A (en) Slice ratio control circuit
KR200230601Y1 (en) Digitizer for converting analog image signal to degital image signal in radar apparatus
JP2568407B2 (en) Photoelectric switch
JPH0793680B2 (en) Image signal binarization circuit
JPH1131193A (en) Bar code reader
JP3113775B2 (en) Binarization circuit
JPS6417181A (en) Optical picture input device
JPH0974466A (en) Image information processing unit
JPS56137120A (en) Temperature detecting circuit
JPH0564908B2 (en)
JPS56145364A (en) Frequency monitor
RU1787587C (en) Sorting control device
JPH05507377A (en) Integrated logic/analog circuits
JPH02146869A (en) Image pickup device
JPH0124372B2 (en)
JPH05120435A (en) Luminance signal comparing and judging method
JPS5710884A (en) Border segment extraction system
JPH03139973A (en) Original reader for facsimile