JPH06138165A - Pattern inspection method and device - Google Patents

Pattern inspection method and device

Info

Publication number
JPH06138165A
JPH06138165A JP4286360A JP28636092A JPH06138165A JP H06138165 A JPH06138165 A JP H06138165A JP 4286360 A JP4286360 A JP 4286360A JP 28636092 A JP28636092 A JP 28636092A JP H06138165 A JPH06138165 A JP H06138165A
Authority
JP
Japan
Prior art keywords
wiring pattern
line width
center position
length
pixel
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
JP4286360A
Other languages
Japanese (ja)
Inventor
Nobusane Shibuya
伸実 渋谷
Giichi Kakigi
義一 柿木
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 JP4286360A priority Critical patent/JPH06138165A/en
Publication of JPH06138165A publication Critical patent/JPH06138165A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To prevent excess detection of defects in wiring pattern by adding one pixel number at the center and the number of pixels in both oblique directions from the center after converting to the vertical can horizontal directions and multiplying a trigonometric function correction value to the added value for calculating the total length of line width in the oblique directions. CONSTITUTION:In image input part 32, wiring pattern is photographed, the electric signal according to the wiring pattern is binarized in binarizing circuit 33 and stored as an original pattern. The original pattern is processed by filtering in pre-processing part 34, measured with a length sensor in a radial length measurement part 35 in the radial direction from the center position in the line width direction, and the center position corresponding to the pixel is detected at center detection part 36 and sent to a coding circuit 37. The line width is measured basing on the pixel to be in the center position, coded to convert to radial code, which is referred to a dictionary in a defect judgment part 28 and the defect in the wiring pattern is detected from the goodness of the judgment.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリント板の配線パタ
ーンの欠陥を自動的に検査を行うパターン検査方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern inspection method for automatically inspecting printed circuit board wiring patterns for defects.

【0002】近年、装置の高度複雑化及び小型化に伴
い、使用されるプリント板に形成される配線パターンが
高密度化してきている。この配線パターンの欠陥検査に
あたっては自動外観検査が行われるようになってきてい
る。
In recent years, the wiring pattern formed on a printed board used has been densified with high complexity and miniaturization of the device. In the defect inspection of this wiring pattern, an automatic visual inspection has come to be performed.

【0003】自動外観検査は、光学的に配線パターンを
読み取り、電気信号に変換して2値化画像を得て、該画
像より欠陥を検出するものであり、2値化画像からの欠
陥検出を誤差が小さく高精度に行うことが要求されてい
る。
In the automatic visual inspection, a wiring pattern is optically read, converted into an electric signal to obtain a binarized image, and a defect is detected from the image. The defect is detected from the binarized image. There is a demand for high accuracy with a small error.

【0004】[0004]

【従来の技術】従来のパターン検査装置は、光センサ等
の光学系より配線パターンを撮像し、これを2値化画像
に変換してメモリする。この2値化画像を測長によりパ
ターンの中心を検出し、中心で複数方向のパターン長さ
を測長して測長値をラジアルコードにコード化する。そ
して、予めラジアルコードの良否を記憶した辞書と、検
出したラジアルコードを対応させて良否判定するもので
ある。この方法は、辞書データを入れ換えることが可能
であり、様々なパターンに適用できる汎用性を有してい
る。
2. Description of the Related Art A conventional pattern inspection apparatus captures an image of a wiring pattern from an optical system such as an optical sensor, converts it into a binary image, and stores it in a binary image. The center of the pattern is detected by measuring the length of the binarized image, the pattern lengths in a plurality of directions are measured at the center, and the measured length value is encoded into a radial code. Then, the pass / fail judgment is made by associating the detected radial code with the dictionary in which the pass / fail of the radial code is stored in advance. This method has the versatility that dictionary data can be exchanged and can be applied to various patterns.

【0005】ここで、コード化について説明する。図1
0に、従来のコード化回路図を示す。図10(A)に示
すように、コード化はパターンの中心を検出した後、縦
・横・斜めの4組の方向について、コード化の処理を行
うもので、4組のそれぞれの方向毎に、長さコード(2
bit ),バランスコード(1bit ),方向コード(1bi
t )から成る。
Here, the coding will be described. Figure 1
FIG. 0 shows a conventional coding circuit diagram. As shown in FIG. 10 (A), in the coding, after the center of the pattern is detected, the coding process is performed in four vertical, horizontal, and diagonal directions. , Length code (2
bit), balance code (1bit), direction code (1bi
t)).

【0006】向きが180°異なる方向(例えば、0°
方向と180°方向)の半径の測長値の和(直径)を計
算する。この値を4値に分ける。すなわち、しきい値
(1) より小さいとき、“S”(ショート)とする。第1
のしきい値以上、かつ、第2のしきい値(2) 以下のと
き、“C”(コレクト)とする。また、第2のしきい値
より大きいとき、“L”(ロング)とし、片側の測長値
が“OVしきい値”以上のとき、“OV”(オーバーフ
ロー)とし、2つの方向の1つ以上が“OV”のとき、
直径も“OV”とする。この処理によって、長さコード
(2bit )を作る。この場合、各長さとコードの対応
は、OV=1,L=1,C=2,S=3となる。
Direction different by 180 ° (for example, 0 °
Direction (180 ° direction) and the sum (diameter) of the length measurement values of the radius are calculated. This value is divided into four values. Ie threshold
(1) When it is smaller than the above, it is regarded as “S” (short). First
If the threshold value is equal to or more than the threshold value and is equal to or less than the second threshold value (2), it is regarded as “C” (collect). Further, when it is larger than the second threshold value, it is set to “L” (long), and when the measured value on one side is “OV threshold value” or more, it is set to “OV” (overflow) and one of two directions. When the above is "OV",
The diameter is also "OV". A length code (2 bits) is created by this processing. In this case, the correspondence between each length and the code is OV = 1, L = 1, C = 2, S = 3.

【0007】ここで、Lは直径であり、OVはセンサの
測長が規定最大長以上であることを意味する。
Here, L is the diameter, and OV means that the measured length of the sensor is not less than the specified maximum length.

【0008】次に、前述の2つの測長値の差を求める。
その値が“バランスマージン”以下であるとき(すなわ
ち、ほぼ中心でバランスが取れている)、バランスコー
ドを“1”,そうでないとき、“0”とする。もし、ど
ちらかがOVならば、両方がOVのときバランス片方が
OVのとき非バランスとする。
Next, the difference between the above two length measurement values is obtained.
When the value is equal to or less than the "balance margin" (that is, the balance is almost centered), the balance code is "1", and when not, it is "0". If one of them is OV, the balance is made when both are OV, and the one is unbalanced if they are OV.

【0009】バランスが“0”のときは、どちらが長い
かを方向コード(1bit )で示す。上が長いときは
“1”,下が長いときは“0”である。バランスが
“0”のときは、方向コードも“0”とするものであ
る。
When the balance is "0", the direction code (1 bit) indicates which is longer. It is "1" when the top is long, and "0" when the bottom is long. When the balance is "0", the direction code is also "0".

【0010】以上の処理によって、1組の方向に対し
て、4bit のコードを得る。これを4組の方向で求め、
16bit のコードとする。これがラジアルコードであ
り、表1に、各状態とラジアルコードの対応が示され
る。なお、OVは双方がOVのときはペアとし、片方が
OVのときはOVの方を長いものとする。
By the above processing, a 4-bit code is obtained for one set of directions. Find this in four directions,
Use 16-bit code. This is a radial code, and Table 1 shows the correspondence between each state and the radial code. It should be noted that the OVs are paired when both are OVs, and the OVs are longer when one is OV.

【0011】[0011]

【表1】 このような処理は、図10(B)の、コード化回路によ
って実現される。図10(B)において、まず、測長セ
ンサからの横方向の出力を例えばr1,r9とすると、
r1,r9はバランスコード化回路11に入力される。
このバランスコード化回路11では、差分演算回路12
によって出力r1,r9の差分を演算し、比較器13に
よって差分値が所定しきい値マージン(バランスマージ
ン)より大きいか否かでバランスが取れているか否かを
判断する。
[Table 1] Such processing is realized by the coding circuit shown in FIG. In FIG. 10B, first, assuming that the lateral outputs from the length measuring sensor are, for example, r1 and r9,
The r1 and r9 are input to the balance coding circuit 11.
In this balance coding circuit 11, the difference calculation circuit 12
Then, the difference between the outputs r1 and r9 is calculated, and the comparator 13 determines whether or not the difference is larger than a predetermined threshold margin (balance margin).

【0012】バランスがとれていない場合、比較器14
及びゲート15によりどちらかが長いかを示す方向bit
を出力する。すなわち、パランスコード化回路11は、
バランスと方向の2bit のコードを出力する。
If not balanced, the comparator 14
And direction bit that indicates which is longer depending on gate 15
Is output. That is, the balance coding circuit 11
Output 2bit code of balance and direction.

【0013】一方、出力r1,r9は、長さコード化回
路16に同時に入力される。ここでは、まず、加算回路
17により両出力の和が演算され、続いて各比較器1
8,19により所定の第1及び第2のしきい値との大小
比較が行われ、比較出力を出力する。これらの結果が2
bit の値にコード化される。すなわち、2個のしきい値
に対して、どの範囲の長さであるかを示す。また、別の
r1,r9は、比較器20,21によりOVしきい値と
比較され、OVであるか否かを求める。
On the other hand, the outputs r1 and r9 are simultaneously input to the length coding circuit 16. Here, first, the adder circuit 17 calculates the sum of both outputs, and then each comparator 1
8 and 19, the magnitude comparison with the predetermined first and second threshold values is performed, and a comparison output is output. These results are 2
It is encoded in the value of bit. That is, it indicates which range the length is for two thresholds. Further, the other r1 and r9 are compared with the OV threshold value by the comparators 20 and 21 to determine whether or not they are OV.

【0014】これらのすべてのデータをデータ変換回路
22に入力し、4bit のコードを得るものである。そし
て、以上の処理が出力r2とr9,…r8とr16の各
測長値に対しても行われ、結果として16bit の値(ラ
ジアルコード)が得られるものである。
All these data are input to the data conversion circuit 22 to obtain a 4-bit code. Then, the above processing is performed for each of the length measurement values of the outputs r2 and r9, ... R8 and r16, and as a result, a 16-bit value (radial code) is obtained.

【0015】次に、図11に、線幅の測長を説明するた
めの図を示す。図11(A)は配線パターン23であ
り、90°方向のパターン(幅)と45°方向のパタ
ーン(幅)の直線が結合したものである。図11
(B),(C)は線幅の計算例を示すもので、図10
(B)は0°と−180°の方向でA+Bで線幅が計算
され、図11(C)は135°と−135°の方向でI
NT(C×√2)+INT(D×√2)で線幅が計算さ
れる。なお、INTは四捨五入で整数化することを意味
する。
Next, FIG. 11 shows a diagram for explaining the measurement of the line width. FIG. 11A shows a wiring pattern 23 in which straight lines of a pattern (width) in the 90 ° direction and a pattern (width) in the 45 ° direction are combined. Figure 11
10B and 10C show an example of line width calculation, and FIG.
In (B), the line width is calculated by A + B in the directions of 0 ° and −180 °, and in FIG. 11 (C), I in the directions of 135 ° and −135 °.
The line width is calculated by NT (C × √2) + INT (D × √2). Note that INT means rounding into an integer.

【0016】また、小さな四角は1画素を示し、A,
B,C,Dは画素数を示しており、黒塗りの四角は中心
の画素を示している。長さは、中心の1画素は含めない
で、測長値の和を長さとしている。図10(B)の場
合、90°方向の直線の線幅の長さは、中心の1画素を
入れていないため、実際の長さより1小さく正確に測長
していないが、これは長さのしきい値も中心の1画素を
入れていないので誤差は生じない。
A small square indicates one pixel, and A,
B, C, and D indicate the number of pixels, and the black squares indicate the central pixel. The length does not include the central one pixel, and the length is the sum of the measured values. In the case of FIG. 10 (B), the length of the line width of the straight line in the 90 ° direction is smaller than the actual length by 1 because the center pixel is not inserted, but the length is not exactly measured. The threshold value of 1 does not include the central pixel, so no error occurs.

【0017】[0017]

【発明が解決しようとする課題】しかし、45°方向の
線幅の長さは、測長値をそれぞれ√2倍して補正して
ある補正測長値の和に、中心の1画素の斜め方向の長さ
√2画素分引いた値であるため、実際の長さから中心の
1画素引いたものより更に小さい。このため、45°方
向の直線において、細り欠陥が過剰検出されるという問
題がある。
However, the length of the line width in the direction of 45 ° is the sum of the corrected length measurement values that have been corrected by multiplying the length measurement values by √2, and the diagonal of one pixel at the center. Since it is a value obtained by subtracting √2 pixels in the direction, it is smaller than the actual length minus one pixel at the center. For this reason, there is a problem that thin defects are excessively detected on the straight line in the 45 ° direction.

【0018】例えば、図11(D)に示すように、対象
となる線幅の部分のみの画素を示した場合、○印、×
印の画素をこの線幅の中心として考えると、線幅の長さ
のしきい値C(コレクト)は6である。また、○印の画
素と×印の画素は同じ線幅の中心であるにもかかわら
ず、○印を中心として計算した線幅の長さは6であり、
×印を中心として計算した長さは5である。したがっ
て、○印の画素はC(コレクト)となり正常と判断され
るが、×はS(ショート)となり細り欠陥と判断され
る。
For example, as shown in FIG. 11 (D), when the pixels of only the target line width portion are shown, ◯ mark, ×
Considering the marked pixel as the center of the line width, the threshold value C (correction) of the line width is 6. Further, although the pixel marked with a circle and the pixel marked with a x have the same center of line width, the length of the line width calculated centering on the circle is 6,
The length calculated centering on the X mark is 5. Therefore, the pixel marked with a circle is C (correct) and is judged to be normal, while the pixel with a cross is S (short) and judged as a thin defect.

【0019】そこで、本発明は上記課題に鑑みなされた
もので、過剰検出を防止して高精度に欠陥検査を行うパ
ターン検査方法を提供することを目的とする。
Therefore, the present invention has been made in view of the above problems, and an object thereof is to provide a pattern inspection method for preventing defect detection and performing defect inspection with high accuracy.

【0020】[0020]

【課題を解決するための手段】図1に、本発明方法の原
理説明図を示す。図1は、被検査試料に形成された配線
パターンを撮像して画素に対応する2値化配線パターン
を得て、該2値化配線パターンの各中心位置から複数の
放射状方向の長さを測定し、該測定値より該中心位置を
含む線幅全長を算出してコード化することにより、該配
線パターンの欠陥検査を行うパターン検査方法の処理を
示したもので、ステップ(ST)1では前記中心位置か
ら複数の放射状方向の長さを測定する。ステップ2で
は、その後、斜め方向の前記線幅全長を算出する際、前
記中心位置の1画素及び該中心位置からの両斜め方向の
画素数を垂直方向又は水平方向に換算して加算する。ス
テップ3では、該加算値に、該斜め方向に対する三角関
数補正値を乗算して該線幅全長を算出する。
FIG. 1 shows an explanatory view of the principle of the method of the present invention. In FIG. 1, a wiring pattern formed on a sample to be inspected is imaged to obtain a binarized wiring pattern corresponding to a pixel, and a plurality of radial lengths are measured from each central position of the binarized wiring pattern. Then, the process of the pattern inspection method for inspecting the defect of the wiring pattern by calculating the entire line width including the center position from the measured value and coding is shown. A plurality of radial lengths are measured from the center position. In step 2, thereafter, when calculating the diagonal line width total length, one pixel at the center position and the number of pixels in both diagonal directions from the center position are converted in the vertical direction or the horizontal direction and added. In step 3, the added value is multiplied by the trigonometric function correction value for the diagonal direction to calculate the total line width.

【0021】[0021]

【作用】図1に示すように、配線パターンを撮像して画
素に対応する2値化配線パターンを得て、各中心位置か
ら複数の放射状方向の長さを測定する。この測定は、測
長センサの画素に対応して検出される。
As shown in FIG. 1, a wiring pattern is imaged to obtain a binary wiring pattern corresponding to a pixel, and a plurality of radial lengths are measured from each center position. This measurement is detected corresponding to the pixel of the length measuring sensor.

【0022】この測定による斜め方向の線幅全長を算出
する場合、中心位置の1画素と、中心位置から両斜め方
向の画素数を垂直又は水平方向に換算して加算し、加算
値に三角関数補正値を乗算することで線幅全長が算出さ
れる。この三角関数補正値は、垂直又は水平方向に対す
る斜め角度に換算するもので、実測長が算出される。
When calculating the total line width in the diagonal direction by this measurement, one pixel at the center position and the number of pixels in both diagonal directions from the center position are converted in the vertical or horizontal direction and added, and a trigonometric function is added to the added value. The total line width is calculated by multiplying the correction value. This trigonometric function correction value is converted into an oblique angle with respect to the vertical or horizontal direction, and the actually measured length is calculated.

【0023】すなわち、垂直又は水平方向に換算して加
算した後に実測長を算出することから、測長精度を向上
させることが可能となり、過剰検出を防止することが可
能となる。
That is, since the actually measured length is calculated after conversion in the vertical or horizontal direction and addition, the length measurement accuracy can be improved and excessive detection can be prevented.

【0024】[0024]

【実施例】図2に、本発明の一実施例の構成図を示す。
図2は、パターン検査装置の全体構成図を示したもので
ある。
FIG. 2 shows a block diagram of an embodiment of the present invention.
FIG. 2 shows an overall configuration diagram of the pattern inspection apparatus.

【0025】図2におけるパターン検査装置31は、検
査対象である被検査試料に形成された配線パターンが配
置され、照明、レンズ、光センサ(CCDセンサ)等の
光学系を有する画像入力部32において、該配線パター
ンが撮像される。この画像入力部32では、撮像される
配線パターンに応じた電気信号を2値化回路33に送出
する。
In the pattern inspection apparatus 31 shown in FIG. 2, the wiring pattern formed on the sample to be inspected, which is the inspection object, is arranged, and the image input unit 32 has an optical system such as an illumination, a lens, and an optical sensor (CCD sensor). The wiring pattern is imaged. In the image input unit 32, an electric signal corresponding to the imaged wiring pattern is sent to the binarization circuit 33.

【0026】2値化回路33では、この電気信号が2値
化されて原パターン(2値化配線パターン)として記憶
領域に格納される。原パターンは、前処理部34で平滑
化、エッジ抽出などのフィルタリング処理がなされて放
射状測長部35に送られる。放射状測長部35では、線
幅方向の中心位置より放射状に測長センサ(後述する)
により測定され、中心検出部36において画素に対応す
る中心位置が検出されてコード化回路37に送られる。
In the binarization circuit 33, this electric signal is binarized and stored in the storage area as an original pattern (binarized wiring pattern). The original pattern is subjected to filtering processing such as smoothing and edge extraction in the preprocessing unit 34, and is sent to the radial length measuring unit 35. In the radial length measuring unit 35, a length measuring sensor (described later) is arranged radially from the center position in the line width direction.
The center position corresponding to the pixel is detected by the center detector 36 and is sent to the encoding circuit 37.

【0027】そして、コード化回路37では、中心位置
となる画素に基づいて線幅を測長してコード化してラジ
アルコードに変換する。このラジアルコードは欠陥判定
部38において、辞書を参照して、その良否で配線パタ
ーンの欠陥を検出するものである。
Then, in the coding circuit 37, the line width is measured based on the pixel at the center position, coded and converted into a radial code. This radial code is used by the defect determination section 38 to refer to the dictionary and detect a defect in the wiring pattern based on its quality.

【0028】このようなパターン検査装置31の各部に
ついてさらに詳述する。
Each part of the pattern inspection device 31 will be described in more detail.

【0029】図3に図2の放射状測長部の動作原理を説
明するための図を示し、図4に測長センサの配置を説明
するための図を示す。
FIG. 3 is a diagram for explaining the operation principle of the radial length measuring unit in FIG. 2, and FIG. 4 is a diagram for explaining the arrangement of the length measuring sensors.

【0030】図3(A)は放射状測長部35におけるラ
ジアル測長センサ回路を示したもので、例えば、7ライ
ン分のフリップフロップを継続接続して構成した1つの
シフトレジスタを備えている。パターン2値画像はこの
ラジアル測長回路上で操作される。ラジアル測長回路に
は、7ビット×7ビットのラジアル測長センサエリア4
1が設けられている。そして、図3(B)に示すよう
に、ラジアル測長センサエリア41には、その中心のビ
ットから8方向に放射状に伸びた画素を有するラジアル
測長センサ421 〜428 が設けられている。このラジ
アル測長センサ421 〜428 は、8方向の各々につい
て画素が“1”である個数、すなわち配線パターン部の
長さを検出するためのものである。図3(B)では中心
からの位置を示す数字0〜3を各方向に沿って示してい
る。
FIG. 3A shows a radial length measuring sensor circuit in the radial length measuring unit 35, which is provided with, for example, one shift register constituted by continuously connecting flip-flops for 7 lines. The pattern binary image is operated on this radial length measuring circuit. The radial measurement circuit has a 7-bit x 7-bit radial measurement sensor area 4
1 is provided. As shown in FIG. 3B, the radial length measuring sensor area 41 is provided with radial length measuring sensors 42 1 to 42 8 having pixels radially extending in eight directions from a bit at the center thereof. . The radial length measurement sensors 42 1 to 42 8 are for detecting the number of pixels having “1” in each of the eight directions, that is, the length of the wiring pattern portion. In FIG. 3B, numerals 0 to 3 indicating positions from the center are shown along each direction.

【0031】なお、図3(A),(B)は説明上のため
簡易構成としたが、実際には、図3(C)に示すように
例えばラジアル測長センサの測長アームがA1〜A16
の16方向に配置されるもので、対応するr1〜r16
はその出力値(測長値)を示している。
Although FIGS. 3 (A) and 3 (B) have a simple structure for the sake of explanation, in practice, as shown in FIG. 3 (C), for example, the length measuring arm of the radial length measuring sensor has A1 to A1. A16
Are arranged in 16 directions, and the corresponding r1 to r16
Indicates the output value (measured value).

【0032】ここで、図4に、測長センサの配置を説明
するための図を示す。図4(A)〜(D)において、実
際には、ラジアル測長センサエリアは63ビット×63
ビットのエリアで構成され、図3(C)に示すように中
心からラインセンサ16方向に伸びた測長アームA1〜
A16のエリアを有し、各測長アームAi(i=1〜1
6)は32ビット長(中心のビットを含む)となってい
る。このラジアル測長センサにより、ラジアル測長セン
サの中心画素からの各方向0°(図4(A)),22.5°
(図4(B)),45°(図4(C)),67.5°(図4
(D))…,337.5 °の配線パターン部測長値r1〜t
16が得られるものである。
Here, FIG. 4 shows a diagram for explaining the arrangement of the length measuring sensors. In FIGS. 4A to 4D, the radial length measurement sensor area is actually 63 bits × 63.
The measuring arm A1 which is composed of bit areas and extends in the direction of the line sensor 16 from the center as shown in FIG.
It has an area of A16 and each measuring arm Ai (i = 1 to 1)
6) has a length of 32 bits (including the central bit). With this radial length measurement sensor, 0 ° in each direction from the center pixel of the radial length measurement sensor (Fig. 4 (A)), 22.5 °
(Fig. 4 (B)), 45 ° (Fig. 4 (C)), 67.5 ° (Fig. 4)
(D)), 337.5 ° wiring pattern length measurement values r1 to t
16 is obtained.

【0033】次に、図5に、図2の中心検出部の回路図
を示す。
Next, FIG. 5 shows a circuit diagram of the center detector of FIG.

【0034】図5において、測長センサからの出力r
1,r9は、対向測長のバランス演算回路51に入力す
る。ここでは、まず、差分演算回路52によって両出力
の差分を演算し、続いて比較器53によって該差分値が
所定しきい値マージンより大きいか否かを判定する。そ
して、その出力であるバランス検出信号を、バランス条
件判別回路(ROM)54に入力する。同様にして、測
長センサからの各出力の組r2とr10,r3とr1
1,…r8とr16を、それぞれ対応する対向測長値の
バランス演算回路51に入力し、各々バランス検出信号
をバランス条件判別回路54に対して入力する。その出
力をバランス条件信号(中心信号)とし、バランスが規
定の数以上あるときを中心とするものである。
In FIG. 5, the output r from the length measuring sensor
1 and r9 are input to the balance calculation circuit 51 for opposite dimension measurement. Here, first, the difference calculation circuit 52 calculates the difference between the two outputs, and then the comparator 53 determines whether or not the difference value is larger than a predetermined threshold margin. Then, the output of the balance detection signal is input to the balance condition determination circuit (ROM) 54. Similarly, the sets r2 and r10, r3 and r1 of the outputs from the length measurement sensor
.., r8 and r16 are input to the corresponding counter measurement value balance calculation circuits 51, and balance detection signals are input to the balance condition determination circuit 54, respectively. The output is used as a balance condition signal (center signal), and the center is when the balance is equal to or more than a specified number.

【0035】次に、図6に、図2のコード化回路の回路
図(2)を示し、図7に図2のコード化回路の回路図
(2)を示す。図6は1方向のコード(4ビット)にコ
ード化する場合であり、図7は他の各方向におけるコー
ド化を行うもので、各方向について図6の回路図が設け
られる。なお、図10(B)と同一部分については同一
の符号を付す。
Next, FIG. 6 shows a circuit diagram (2) of the coding circuit of FIG. 2, and FIG. 7 shows a circuit diagram (2) of the coding circuit of FIG. FIG. 6 shows the case of encoding into one direction code (4 bits), and FIG. 7 shows the case of encoding into each of the other directions, and the circuit diagram of FIG. 6 is provided for each direction. The same parts as those in FIG. 10B are designated by the same reference numerals.

【0036】図6(A)において、コード化回路37
は、図10(B)における長さコード化回路16に代え
て、長さ演算回路(ROM)62及び2つの比較器6
3,64より構成された長さコード化回路61を設けた
ものである。この場合、図6(B)に示す図10(B)
の長さコード化回路16と並設してもよく、また、パタ
ーン検査方法によっては長さコード化回路16のみが設
けられる。
In FIG. 6A, the coding circuit 37
Is a length calculation circuit (ROM) 62 and two comparators 6 instead of the length coding circuit 16 in FIG.
A length coding circuit 61 composed of 3, 64 is provided. In this case, FIG. 10B shown in FIG.
The length coding circuit 16 may be provided in parallel, or only the length coding circuit 16 may be provided depending on the pattern inspection method.

【0037】また、図7において、図3(C)に示す対
応する直線の組r2とr10,…r8とr16に対し
て、それぞれ図6(A)に示す1方向コード化回路71
が設けられ、これらの出力がゲート回路72により中心
信号に基づいてラジアルコード(16ビット)が生成さ
れる。
Further, in FIG. 7, the corresponding one-way coding circuit 71 shown in FIG. 6A is applied to the corresponding straight line sets r2 and r10, ... R8 and r16 shown in FIG.
And a gate circuit 72 generates a radial code (16 bits) based on the center signal from these outputs.

【0038】ここで、図8に、図6の線幅測長の原理を
説明するための図を示す。図8(A),(B)は放射状
測長部35における線幅を検出した画素を示したもの
で、図7(A)は0°,図8(B)は−45°の場合で
あり、図11(B),(C)と同一の図である。
Here, FIG. 8 shows a diagram for explaining the principle of line width measurement in FIG. 8A and 8B show pixels in which the line width is detected in the radial length measuring unit 35. FIG. 7A shows a case of 0 ° and FIG. 8B shows a case of −45 °. 11 (B) and 11 (C).

【0039】まず、第1の測長法は、図8(A)におい
ては中心位置(黒塗部分)の1画素と、該中心位置から
の両斜め方向の画素数を加算するもので(A+B+
1),従来の方法と何ら変わりはない。この場合の+1
はコード化するときのしきい値の設定の方法の違いであ
り、結果的に同様である。
First, in the first length measurement method, in FIG. 8A, one pixel at the center position (black-painted portion) and the number of pixels in both diagonal directions from the center position are added (A + B +).
1), there is no difference from the conventional method. +1 in this case
Is the difference in the method of setting the threshold value at the time of encoding, and the result is the same.

【0040】一方、図8(B)では線幅の長さは中心の
1画素とその両側の測長値の画素の画素数を水平方向
(垂直方向でもよい)の画素数(C,D)に換算して加
算する。この場合、線幅はINT{(C+D+1)×√
2}で表わされる。なお、√2は測長方向が45°(=
θ)のときの水平換算値を実測長に換算するときの三角
関数補正値(1/cos θ)である。また、INTは数値
を四捨五入して整数化する記号である。この処理によ
り、細り欠陥の過剰検出を減少することが出来る。
On the other hand, in FIG. 8B, the length of the line width is one pixel in the center and the number of pixels of the measured values on both sides thereof is the number of pixels in the horizontal direction (or in the vertical direction) (C, D). Convert to and add. In this case, the line width is INT {(C + D + 1) × √
2}. Note that √2 is 45 ° (=
It is a trigonometric function correction value (1 / cos θ) when converting the horizontal conversion value in the case of θ) into the measured length. Further, INT is a symbol for rounding a numerical value to make it an integer. This process can reduce the over-detection of thin defects.

【0041】具体的には図11(D)を用いると、線幅
の中心○,×における線幅の長さは、どちらも7にな
る。この場合、線幅の長さのしきい値C(コレクト)は
7であるので、○,×どちらもC(コレクト)となり、
正常と判断される。
Specifically, using FIG. 11D, the line width lengths at both the line width centers O and X are 7. In this case, since the threshold value C (correction) of the line width is 7, both O and × are C (correction),
It is judged to be normal.

【0042】また、第2の測長法は、図8(A)では、
A+Bとして中心位置の1画素を除外するもので、図6
における第1及び第2のコード化しきい値で該1画素分
の長さが勘案されて設定されるもので、結果的には第1
の測長法と同様である。なお、後述する第3の測長法も
同様である。
The second length measuring method is as shown in FIG.
One pixel at the center position is excluded as A + B.
The length of the one pixel is set in consideration by the first and second coding thresholds in
It is similar to the length measurement method of. The same applies to the third length measurement method described later.

【0043】図8(B)では、線幅がINT{(C+
D)×√2}で示されるもので、これによっても配線パ
ターンの細り欠陥の過剰検出を減少させることができ
る。具体的には図11(D)より、線幅の中心○,×に
おける線幅の長さは、どちらも6になる。この場合、線
幅の長さのしきい値C(コレクト)は6であるので、
○,×どちらもC(コレクト)となり、正常と判断され
る。
In FIG. 8B, the line width is INT {(C +
D) × √2}, which also can reduce the excessive detection of narrow defects in the wiring pattern. Specifically, as shown in FIG. 11D, the line width lengths at the line width centers ◯ and X are both 6. In this case, since the threshold value C (collect) of the line width is 6,
Both ○ and × are C (correct), and are judged to be normal.

【0044】続いて、第3の測長法は、図8(B)では
線幅がINT{C×√2+(√2−1)/2}+INT
{D×√2+(√2−1)/2}で示される。ここで
(√2−1)/2は1画素における斜め方向の実測誤差
の補正値である。すなわち、線幅の長さは、実際の測長
値の長さに中心の1画素の斜め方向の長さから1画素引
いた長さを2で割った値を足し、四捨五入した補正測長
値の和としている。この処理により、細り欠陥の過剰検
出を減少することが出来る。
Next, in the third length measuring method, the line width is INT {C × √2 + (√2-1) / 2} + INT in FIG. 8B.
It is shown by {D × √2 + (√2-1) / 2}. Here, (√2-1) / 2 is the correction value of the actual measurement error in the diagonal direction in one pixel. That is, the length of the line width is calculated by adding the value obtained by subtracting 1 pixel from the diagonal length of 1 pixel at the center to the length of the actual measured value and dividing by 2 and rounding off. Is the sum of This process can reduce the over-detection of thin defects.

【0045】具体的には図11(D)より、線幅の中心
○,×における線幅の長さは、どちらも6になる。この
場合、線幅の長さのしきい値C(コレクト)は6である
ので、○,×どちらもC(コレクト)となり、正常と判
断される。
Specifically, as shown in FIG. 11D, the line width lengths at the line width centers ◯ and X are both 6. In this case, since the threshold value C (correction) of the line width is 6, both O and × are C (correction), and it is determined that the line width is normal.

【0046】そこで、図6,図7に戻り、図3(C)の
測長結果r1〜r16を用いて実際的長さ演算例を示
す。上述の第1の測長法では、図6(A)の長さコード
化回路61を用いるもので、最も誤差が出る45°方向
の長さ演算例を表2に示し、比較として従来の長さ演算
例を表3に示す。r3,r11はそれぞれ45°,22
5°方向の補正測長値(画素数)を示している。r3,
r11の値を入力し、表に書かれている数値を長さとし
て出力する。
Then, returning to FIG. 6 and FIG. 7, an example of practical length calculation will be shown using the length measurement results r1 to r16 of FIG. In the first length measurement method described above, the length coding circuit 61 of FIG. 6A is used, and Table 2 shows an example of length calculation in the 45 ° direction in which the error occurs most. Table 3 shows an example of the calculation. r3 and r11 are 45 ° and 22 respectively
The corrected length measurement value (number of pixels) in the 5 ° direction is shown. r3
Input the value of r11 and output the numerical value written in the table as the length.

【0047】[0047]

【表2】 [Table 2]

【0048】[0048]

【表3】 なお、表2及び表3における○抜きはスキップを示して
いる(図4(C)参照)。
[Table 3] Note that the blank circles in Tables 2 and 3 indicate skips (see FIG. 4C).

【0049】そして、本発明の長さ演算例の実際の長さ
に対する誤差を表4に示し、比較として従来の長さ演算
例に対する誤差を表5に示す。
Then, Table 4 shows the error with respect to the actual length of the length calculation example of the present invention, and Table 5 shows the error with respect to the conventional length calculation example as a comparison.

【0050】[0050]

【表4】 [Table 4]

【0051】[0051]

【表5】 表4の本発明の演算例における誤差は−0.5 〜0.3 画素
の範囲である一方、表5の演算例では、しきい値が中心
の1画素小さいので、中心の1画素を加えた数値とし
た。網かけの数値は、第1の測長法の誤差より実際の長
さに対する誤差が大きいところを示している。すなわ
ち、従来の演算では、誤差が−0.1 〜−1.2画素であ
り、網かけの部分で表4と比べて誤差が大きいところが
多い。従って、新しい長さ演算を用いることにより細り
の過剰検出を防ぐことができるものである。
[Table 5] The error in the calculation example of the present invention in Table 4 is in the range of -0.5 to 0.3 pixels, while in the calculation example of Table 5, the threshold value is smaller by one pixel at the center, so the value obtained by adding one pixel at the center is set. . The shaded values indicate that the error with respect to the actual length is larger than the error of the first length measurement method. That is, in the conventional calculation, the error is −0.1 to −1.2 pixels, and there are many places where the error is large in the shaded portion as compared with Table 4. Therefore, it is possible to prevent the excessive detection of the thinness by using the new length calculation.

【0052】続いて、上述の第2の測長法では、水平方
向、垂直方向であるr1とr9,r5とr13は図6
(B)の長さコード化回路16を用い、それ以外の斜め
方向に関しては図6(A)の長さコード化回路61を用
いて演算を行うものである。
Subsequently, in the above-described second length measuring method, horizontal and vertical directions r1 and r9, r5 and r13 are shown in FIG.
The length coding circuit 16 shown in FIG. 6B is used, and the other lengthwise diagonal directions are calculated using the length coding circuit 61 shown in FIG.

【0053】これにより、回路的に従来の回路をも利用
することができ、容易に本発明を実施することができる
ものである。
As a result, a conventional circuit can be used as a circuit, and the present invention can be easily implemented.

【0054】そして、上述の第3の測長法では図6
(B)の長さコード化回路16のみを用いる。この場合
の演算例を45°を例として本発明による実際の長さに
対する誤差を表6に示し、表5と比較する。
Then, in the third length measuring method described above, FIG.
Only the length coding circuit 16 of (B) is used. An error with respect to the actual length according to the present invention is shown in Table 6 by taking 45 ° as an example of the calculation in this case, and compared with Table 5.

【0055】[0055]

【表6】 表6に示すように、誤差が−0.9 〜0.8 画素の範囲とな
り、網かけの部分で比較すると、表5に比べて誤差の大
きいところが少なく、図6(B)のような従来の長さコ
ード化回路16のみの回路で斜め方向の細り欠陥の過剰
検出を減少させることができるものである。
[Table 6] As shown in Table 6, the error is in the range of −0.9 to 0.8 pixels, and when compared in the shaded area, there are few places where the error is larger than in Table 5, and the conventional length code as shown in FIG. The circuit including only the digitizing circuit 16 can reduce excessive detection of slender thin defects.

【0056】次に、図9に、図2の欠陥判定部を説明す
るための図を示す。図9は、図7におけるゲート回路7
2より出力されたラジアルコード(16ビット)が欠陥
判定辞書(ROM)73にアドレスとして入力され、配
線パターンの細り欠陥の良否のデータを出力するもので
ある。なお、良否の判定結果は、予め記録されるもので
ある。
Next, FIG. 9 shows a diagram for explaining the defect determining section of FIG. FIG. 9 shows the gate circuit 7 in FIG.
The radial code (16 bits) output from No. 2 is input as an address to the defect determination dictionary (ROM) 73, and data on whether the thin defect of the wiring pattern is good or bad is output. It should be noted that the quality judgment result is recorded in advance.

【0057】[0057]

【発明の効果】以上のように本発明によれば、中心位置
の1画素及び中心位置からの両斜め方向の画素数を垂直
方向又は水平方向に換算して加算し、加算値に斜め方向
に対する三角関数補正値を乗算して斜め方向の線幅全長
を算出することにより、配線パターンの欠陥の過剰検出
を防止して高精度に欠陥検査を行うことができるもので
ある。
As described above, according to the present invention, one pixel at the center position and the number of pixels in both diagonal directions from the center position are converted in the vertical direction or the horizontal direction and added, and the added value for the diagonal direction is added. By calculating the total diagonal line width by multiplying the trigonometric correction value, it is possible to prevent excessive detection of defects in the wiring pattern and perform defect inspection with high accuracy.

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

【図1】本発明方法の原理説明図である。FIG. 1 is a diagram illustrating the principle of the method of the present invention.

【図2】本発明の一実施例の構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】図2の放射状測長部の動作原理を説明するため
の図である。
FIG. 3 is a diagram for explaining the operation principle of the radial length measuring unit in FIG.

【図4】測長センサの配置を説明するための図である。FIG. 4 is a diagram for explaining the arrangement of length measuring sensors.

【図5】図2の中心検出部の回路図である。5 is a circuit diagram of a center detector of FIG.

【図6】図2のコード化回路の回路図(1)である。6 is a circuit diagram (1) of the encoding circuit of FIG.

【図7】図2のコード化回路の回路図(2)である。7 is a circuit diagram (2) of the encoding circuit of FIG.

【図8】図6の線幅測長の原理を説明するための図であ
る。
8 is a diagram for explaining the principle of line width measurement in FIG.

【図9】図2の欠陥判定部を説明するための図である。FIG. 9 is a diagram for explaining the defect determination unit in FIG.

【図10】従来のコード化回路図である。FIG. 10 is a conventional coding circuit diagram.

【図11】線幅の測長を説明するための図である。FIG. 11 is a diagram for explaining measurement of line width.

【符号の説明】[Explanation of symbols]

31 パターン検査装置 32 画像入力部 33 2値化回路 34 前処理部 35 放射状測長部 36 中心検出部 37 コード化回路 38 欠陥判定部 16,61 長さコード回路 62 長さ演算回路 63,64 比較器 31 pattern inspection device 32 image input unit 33 binarization circuit 34 preprocessing unit 35 radial length measurement unit 36 center detection unit 37 coding circuit 38 defect determination unit 16,61 length code circuit 62 length calculation circuit 63, 64 comparison vessel

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 被検査試料に形成された配線パターンを
撮像して画素に対応する2値化配線パターンを得て、該
2値化配線パターンの各中心位置から複数の放射状方向
の長さを測定し、該測定値より該中心位置を含む線幅全
長を算出してコード化することにより、該配線パターン
の欠陥検査を行うパターン検査方法において、 前記中心位置から複数の放射状方向の長さを測定した後
に斜め方向の前記線幅全長を算出する際、前記中心位置
の1画素及び該中心位置からの両斜め方向の画素数を垂
直方向又は水平方向に換算して加算するステップと、 該加算値に、該斜め方向に対する三角関数補正値を乗算
して該線幅全長を算出するステップと、 を含むことを特徴とするパターン検査方法。
1. A wiring pattern formed on a sample to be inspected is imaged to obtain a binarized wiring pattern corresponding to a pixel, and a plurality of radial lengths from each central position of the binarized wiring pattern are obtained. A pattern inspecting method for inspecting a defect of the wiring pattern by measuring the total line width including the center position from the measured value and encoding the measured line length, and measuring a plurality of radial lengths from the center position. A step of converting one pixel at the center position and the number of pixels in both diagonal directions from the center position in the vertical direction or the horizontal direction and adding when calculating the total line width in the diagonal direction after measurement; A step of multiplying a value by a trigonometric function correction value in the diagonal direction to calculate the line width total length, and a pattern inspection method comprising:
【請求項2】 前記垂直方向又は水平方向への画素数を
換算するに際して、前記中心位置の1画素を除外して換
算し、前記コード化において補正することを特徴とする
請求項1記載のパターン検査方法。
2. The pattern according to claim 1, wherein when converting the number of pixels in the vertical direction or the horizontal direction, one pixel at the center position is excluded and converted, and correction is performed in the encoding. Inspection method.
【請求項3】 被検査試料に形成された配線パターンを
撮像して画素に対応する2値化配線パターンを得て、該
2値化配線パターンの各中心位置から複数の放射状方向
の長さを測定し、該測定値より該中心位置を含む線幅全
長を算出してコード化することにより、該配線パターン
の欠陥検査を行うパターン検査方法において、 前記中心位置から複数の放射状方向の長さを測定した後
に斜め方向の前記線幅全長を算出する際、前記該中心位
置からの両斜め方向の画素数を垂直方向又は水平方向に
換算して、それぞれに該斜め方向に対する三角関数補正
値を乗算するステップと、 それぞれの該乗算値に、該中心値の1画素における斜め
方向の実測誤差の補正値を加算するステップと、 該加算値のそれぞれを加算して該線幅全長を算出するス
テップと、 を含むことを特徴とするパターン検査方法。
3. A wiring pattern formed on a sample to be inspected is imaged to obtain a binarized wiring pattern corresponding to a pixel, and a plurality of radial lengths from each central position of the binarized wiring pattern are obtained. A pattern inspecting method for inspecting a defect of the wiring pattern by measuring the total line width including the center position from the measured value and encoding the measured line length, and measuring a plurality of radial lengths from the center position. When calculating the total line width in the diagonal direction after measurement, the number of pixels in both diagonal directions from the center position is converted into the vertical direction or the horizontal direction, and each is multiplied by a trigonometric function correction value for the diagonal direction. And a step of adding a correction value of a diagonal measurement error in one pixel of the center value to each of the multiplied values, and a step of adding each of the added values to calculate the total line width And a pattern inspection method comprising:
【請求項4】 被検査試料に形成された配線パターンを
撮像して画素に対応する2値化配線パターンを得て、該
2値化配線パターンの各中心位置から複数の放射状方向
の長さを測定し、該測定値より該中心位置を含む線幅全
長を算出してコード化することにより、該配線パターン
の欠陥検査を行うパターン検査装置において、 前記中心位置から複数の放射状方向の長さを測定した後
に斜め方向の前記線幅全長を算出する際、前記中心位置
の1画素及び該中心位置からの両斜め方向の画素数を垂
直方向又は水平方向に換算して加算し、該加算値に、該
斜め方向に対する三角関数補正値を乗算してコード化す
る長さコード化回路(61)を含むことを特徴とするパ
ターン検査装置。
4. A wiring pattern formed on a sample to be inspected is imaged to obtain a binarized wiring pattern corresponding to a pixel, and a plurality of radial lengths from each central position of the binarized wiring pattern are obtained. In a pattern inspection apparatus that performs defect inspection of the wiring pattern by measuring and coding the total line width including the center position from the measured value, a plurality of radial lengths from the center position are measured. When calculating the total line width in the diagonal direction after measurement, one pixel at the center position and the number of pixels in both diagonal directions from the center position are converted in the vertical direction or the horizontal direction and added to obtain the added value. A pattern inspection apparatus including a length encoding circuit (61) for multiplying and encoding the trigonometric function correction value in the diagonal direction.
JP4286360A 1992-10-23 1992-10-23 Pattern inspection method and device Pending JPH06138165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4286360A JPH06138165A (en) 1992-10-23 1992-10-23 Pattern inspection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4286360A JPH06138165A (en) 1992-10-23 1992-10-23 Pattern inspection method and device

Publications (1)

Publication Number Publication Date
JPH06138165A true JPH06138165A (en) 1994-05-20

Family

ID=17703377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4286360A Pending JPH06138165A (en) 1992-10-23 1992-10-23 Pattern inspection method and device

Country Status (1)

Country Link
JP (1) JPH06138165A (en)

Similar Documents

Publication Publication Date Title
JPS62201339A (en) Method of optically testing circuit substrate
JPH06138165A (en) Pattern inspection method and device
US7251348B2 (en) Land appearance inspecting device, and land appearance inspecting method
JPH08110305A (en) Method and device for inspecting appearance
JP3260425B2 (en) Pattern edge line estimation method and pattern inspection device
JP3189515B2 (en) Inspection equipment for printed wiring boards
JPS60205683A (en) Method and device for discrminating external appearance
JPH0426684B2 (en)
JPH05264240A (en) Visual inspection device
JP2535704Y2 (en) Shading image processing device
JPH01207878A (en) Contour inspection device
JPH0444307B2 (en)
JP2836580B2 (en) Projection inspection device for semiconductor integrated circuit device
JP2000294139A (en) Method and device for detecting defect of periodic pattern
JPH0679862A (en) Method for inspecting quality of printing paper surface and apparatus therefor
JPH01301151A (en) Inspection device for printed wiring
JP2787851B2 (en) Pattern feature extraction device
JPH05180618A (en) Position-recognizing method for object
JPS62299711A (en) Pattern inspecting instrument
JP2522927Y2 (en) Shading image processing device
JPH0352015B2 (en)
JP2510480B2 (en) Image defect determination device
JPS6225243A (en) Defect detecting method
JPS62119442A (en) Pattern inspecting apparatus
JPH07107711A (en) Detection of displacement of core coil

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020723