JP2998518B2 - Pattern inspection equipment - Google Patents

Pattern inspection equipment

Info

Publication number
JP2998518B2
JP2998518B2 JP26488393A JP26488393A JP2998518B2 JP 2998518 B2 JP2998518 B2 JP 2998518B2 JP 26488393 A JP26488393 A JP 26488393A JP 26488393 A JP26488393 A JP 26488393A JP 2998518 B2 JP2998518 B2 JP 2998518B2
Authority
JP
Japan
Prior art keywords
thin
line
circuit
defect
image data
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
JP26488393A
Other languages
Japanese (ja)
Other versions
JPH07120405A (en
Inventor
仁 稲住
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP26488393A priority Critical patent/JP2998518B2/en
Publication of JPH07120405A publication Critical patent/JPH07120405A/en
Application granted granted Critical
Publication of JP2998518B2 publication Critical patent/JP2998518B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

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 apparatus, and more particularly, to a pattern inspection apparatus for detecting a thin line width and a wide line width defect in an appearance inspection of a wiring pattern such as a printed circuit board.

【0002】[0002]

【従来の技術】従来において例えば“ラジアルマッチン
グを用いたプリント基板検査”精密工学会誌,Vo1.
56,No.8,pp30〜33,1990に示される
ように専用の測長センサとパターンコードを用いたパタ
ーン検査装置がある。
2. Description of the Related Art Conventionally, for example, "Printed circuit board inspection using radial matching", Journal of Precision Engineering, Vo1.
56, No. 8, pp. 30 to 33, 1990, there is a pattern inspection apparatus using a dedicated length measuring sensor and a pattern code.

【0003】以下、従来のパターン検査装置を図面を用
いて簡単に説明する。
Hereinafter, a conventional pattern inspection apparatus will be briefly described with reference to the drawings.

【0004】図11は、上述の測長センサを用いたパタ
ーン検査装置の検査方法を説明するための説明図であ
る。図11は、測長センサを表し、測長センサは、検査
中心101に対して放射線状の延びた16本の測長画素
102からなる。各々の測長画素102は検査中心10
1に対して対称の測長画素102を対にして対象パター
ンかけ、各測長画素102で計測されたデータを測長画
素の長さと対称性を要素としてコード化する。次いでコ
ード化されたデータとあらかじめ作成されたコード化辞
書とを比較して対象パターンのコードが正常パターンの
点のものか欠陥パターンの点のものかを判定する。
FIG. 11 is an explanatory diagram for explaining an inspection method of a pattern inspection apparatus using the above-described length measuring sensor. FIG. 11 shows a length measurement sensor. The length measurement sensor is composed of 16 length measurement pixels 102 extending radially from the inspection center 101. Each measurement pixel 102 is the inspection center 10
A target pattern is applied to a pair of symmetrically measured pixels 102 with respect to 1, and data measured by each of the measured pixels 102 is encoded using the length and symmetry of the measured pixels as elements. Next, the coded data is compared with a coded dictionary created in advance to determine whether the code of the target pattern is that of a normal pattern or that of a defective pattern.

【0005】図12(a)、(b)および(c)は、測
長センサによるコード化判定例の模式図である。図12
(a)は、正常パターンの場合、(b)は、線細り欠陥
の場合である。この場合、正常パターンと比較すると、
パターンの上下(90°)方向の測長画素対103は等
しいが、左右(0°)方向の測長画素対104の対称性
は保存されているものの長さが短くなり、斜め(45
°)方向の画素対105は非対称になる。一方(c)
は、線太り欠陥の場合であるが、正常なパターンと比較
すると、上下(90°)方向、斜め(45°)方向は正
常パターンと等しいが、左右(0°)方向は非対称とな
る。
FIGS. 12 (a), 12 (b) and 12 (c) are schematic diagrams showing examples of coding judgment by a length measuring sensor. FIG.
(A) shows the case of a normal pattern, and (b) shows the case of a thin line defect. In this case, when compared to the normal pattern,
The length-measuring pixel pairs 103 in the vertical (90 °) direction of the pattern are equal, but the symmetry of the length-measuring pixel pairs 104 in the left-right (0 °) direction is preserved, but the length becomes shorter,
The pixel pair 105 in the (°) direction becomes asymmetric. On the other hand (c)
Is a case of a line thick defect, but as compared with a normal pattern, the vertical (90 °) direction and the oblique (45 °) direction are equal to the normal pattern, but the horizontal (0 °) direction is asymmetric.

【0006】[0006]

【発明が解決しようとする課題】上述した従来のパター
ン検査装置では、放射状に延びる測長センサをもちいて
検査中心部のパターン状態をコード化し、あらかじめ作
成する辞書コードと比較して欠陥検出を行うので、コー
ド化と言った複雑な処理の実行や、複雑なパターンに対
して厳密な辞書コードを漏れなく作成しなければならな
いと言った問題がある。
In the above-described conventional pattern inspection apparatus, the pattern state at the center of the inspection is coded using a radially extending length measuring sensor, and the defect is detected by comparing it with a dictionary code prepared in advance. Therefore, there is a problem that it is necessary to execute complicated processing such as coding and to create a strict dictionary code for a complicated pattern without omission.

【0007】[0007]

【課題を解決するための手段】本発明のパターン検査装
置は、対象配線パターンを走査してその反射光に対応す
るビデオ信号を出力する光電変換スキャナと、この光電
変換スキャナからのビデオ信号を2値の画像信号に2値
化する2値化回路と、この2値化回路より得られる2値
画像データに逐次細線処理を施し細線画像データを生成
する細線化回路と、前記細線化回路の細線処理段数を線
幅基準公差に基づいて制御し線細り欠陥検出用の細線画
像データおよび線太り欠陥検出用の細線画像データを生
成させる細線処理制御部と、前記細線処理制御部より制
御され前記細線化回路で生成される細り欠陥検出用画像
データを記憶させる細り欠陥用細線画像メモリと、前記
細線処理制御部より制御され前記細線化回路で生成され
る太り欠陥検出用画像データを記憶させる太り欠陥検出
用細線画像メモリと、前記細り欠陥検出用細線画像メモ
リの画像データを読み込みこれに対して線細り部検出3
×3マスクをかけて検出した線幅が1画素以上の部分を
線細り欠陥部として抽出する細り欠陥部検出部と、前記
太り欠陥検出用細線画像メモリの画像データを読み込み
これに対して線太り部検出3×3マスクをかけて検出し
た線幅が2画素以上の部分を線太り欠陥部として抽出す
る太り欠陥部検出部とを含んで構成される。
A pattern inspection apparatus according to the present invention scans a target wiring pattern and outputs a video signal corresponding to reflected light of the target wiring pattern, and converts a video signal from the photoelectric conversion scanner into two. A binarizing circuit for binarizing a value image signal, a thinning circuit for sequentially performing thinning processing on binary image data obtained from the binarizing circuit to generate thin line image data, and a thin line of the thinning circuit A thin line processing control unit that controls the number of processing stages based on the line width reference tolerance to generate thin line image data for detecting a thin line defect and thin line image data for detecting a thick line defect; and the thin line controlled by the thin line processing control unit. A thin defect image memory for storing thin defect detection image data generated by the thinning circuit, and a thick defect detection memory controlled by the thin line processing control unit and generated by the thinning circuit. A defect detecting fine line image memory thickening and stores the image data, the thinning defect detecting fine line image picture data in the memory is read this for the line thinning section detects 3
A thin defect detecting section for extracting a portion having a line width of 1 pixel or more detected by applying a × 3 mask as a thin defect, and reading image data from the thin line image memory for detecting a thick defect to obtain a thick line. A thick defect detecting section for extracting a part having a line width of 2 pixels or more detected by applying the part detection 3 × 3 mask as a thick defect part.

【0008】本発明のパターン検査装置は、対象配線パ
ターンを走査してその反射光に対応するビデオ信号を出
力する光電変換スキャナと、この光電変換スキャナから
のビデオ信号を2値の画像信号に2値化する2値化回路
と、この2値化回路より得られる2値化画像データに逐
次細線処理を施し線幅が1画素の細線画像データ生成す
る細線化回路と、前記細線化回路で生成された細線画像
データに対して拡大処理を施し線幅細り判定の基準とな
る下限値の線幅パターンである細り線幅パターンを再構
成する第1の線幅拡大回路と、前記細線化回路で生成さ
れた細線画像データに対して拡大処理を施し線幅太り判
定の上限値の線幅パターンである太り線幅パターンを再
構成する第2の線幅拡大回路と、前記細り線幅パターン
が前記2値化回路より得られた2値画像よりはみ出した
部分を線細り箇所として抽出する細り部抽出回路と、前
記2値化回路より得られた2値画像が前記太り線幅パタ
ーンよりはみ出した部分を線太り箇所として抽出する太
り部抽出回路とを含んで構成される。
A pattern inspection apparatus according to the present invention scans a target wiring pattern and outputs a video signal corresponding to the reflected light, and converts the video signal from the photoelectric conversion scanner into a binary image signal. A binarization circuit for performing binarization, a thinning circuit for sequentially performing thinning processing on binarized image data obtained from the binarization circuit to generate thin line image data having a line width of one pixel, and a thinning circuit generated by the thinning circuit. A first line width enlarging circuit configured to perform an enlarging process on the thin line image data to reconstruct a thin line width pattern that is a lower limit line width pattern serving as a reference for line width thinning determination; A second line width enlargement circuit configured to perform an enlargement process on the generated thin line image data to reconstruct a thick line width pattern that is a line width pattern of an upper limit value of the line width thickening determination; Binarization circuit A thinned portion extraction circuit for extracting a portion protruding from the obtained binary image as a thinned portion, and a thinned portion extracting a portion where the binary image obtained from the binarization circuit protrudes from the thick line width pattern. And a fat part extraction circuit for extracting the fat part.

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
て詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0010】図1は、本発明の一実施例の構成と処理の
流れを示すブロック図である。以下、図1の流れに沿っ
て本実施例の動作を説明する。
FIG. 1 is a block diagram showing the configuration and processing flow of an embodiment of the present invention. Hereinafter, the operation of this embodiment will be described along the flow of FIG.

【0011】被検査対象となる配線パターンを光電変換
スキャナ1で走査して得られるビデオ信号dを、2値化
回路2で、パターン部が“1”、それ以外の部分を
“0”の値に2値化した2値画像データeを得る。
The video signal d obtained by scanning the wiring pattern to be inspected by the photoelectric conversion scanner 1 is converted into a binary signal by the binarization circuit 2 so that the pattern portion has a value of "1" and the other portions have a value of "0". To obtain binary image data e.

【0012】次に細線化回路3で細線処理制御部4にお
いて線幅基準公差に基づき指定される細線処理段数の細
線処理が行われる。まず細線処理制御部4で線幅基準公
差下限値に一致する線幅のパターンを線幅“1”にする
まで細線処理段数と線幅基準公差上限値に一致する線幅
のパターンを線幅“1”にするまでの細線処理段数をそ
れぞれ指示する段数設定データf1,f2を設定する。
細線化回路3では細線処理段数がまず制定段数f1にな
った時点でその時の細線画像データgを細り欠陥部検出
用細線画像メモリ5に格納し、さらに細線処理を進め細
線処理段数が設定段数f2となった時点で処理を終了し
その時の細線画像データhを太り欠陥部検出用細線画像
メモリ6に格納する。各々の細線画像データは、パター
ン部が“1”、それ以外が“0”の2値画像である。
Next, in the thinning circuit 3, the thin line processing controller 4 performs thin line processing of the number of thin line processing stages specified based on the line width reference tolerance. First, the thin line processing controller 4 sets the line width pattern matching the line width reference tolerance lower limit value to the line width "1" until the line width pattern matches the line width pattern tolerance and the line width reference tolerance upper limit value to the line width "line width". Step number setting data f1 and f2 are set, each of which indicates the number of fine line processing steps up to 1 ”.
The thinning circuit 3 first stores the thin line image data g in the thin line image memory 5 for detecting a thinned defect portion when the number of thin line processing stages reaches the established stage number f1. Then, the processing is terminated, and the thin line image data h at that time is stored in the thin line image memory 6 for detecting a thickened defect. Each thin line image data is a binary image in which the pattern portion is “1” and the others are “0”.

【0013】図2および図3は2値化回路2および細線
化回路3の動作例を示す模式図である。
FIGS. 2 and 3 are schematic diagrams showing examples of the operation of the binarization circuit 2 and the thinning circuit 3. FIG.

【0014】図2(a)および図3(a)は、基本とな
る2値画像データeによる2値画像10でありそれぞれ
線細り部a、線太り部bが存在する場合である。この2
値画像10に細線処理制御部4により細線化回路3で細
線処理を施して得られる細り欠陥部検出用細線画像デー
タgの細線画像11、太り部検出用細線画像データhの
細線画像12が図2(b)、図3(b)である。それぞ
れ線細り部a、線太り部bが存在する場合に対応してい
る。
FIGS. 2A and 3A show a binary image 10 based on the basic binary image data e, in which a thin line portion a and a thick line portion b exist, respectively. This 2
A thin line image 11 of thin line image data g for thin defect detection and a thin line image 12 of thin line image data h for thick part detection obtained by performing thin line processing by the thin line processing circuit 3 on the value image 10 by the thin line processing control unit 4 are shown. 2 (b) and FIG. 3 (b). This corresponds to a case where a thin line portion a and a thick line portion b exist, respectively.

【0015】ここで特徴的なことは、細り欠陥部検出用
細線画像11において、正常なパターン線幅部分は細線
画像11の線幅が画素数で“2”以上となるが、線幅基
準公差の下限値よりも細い線幅となる細り欠陥部aの部
分では細線画像の線幅が“1”となることである。また
一方の太り欠陥部検出用細線画像12においては、正常
なパターン線幅部分は細線画像12の線幅が“1”とな
るが、線幅基準公差の上限値よりも太い線幅となる太り
欠陥部bの部分では細線画像の線幅が“2”以上となる
ことである。後に続く細り欠陥部検出部7および太り欠
陥検出部8では上述した特徴を用いて線細り欠陥部、線
太り欠陥部をそれぞれ抽出する。
A characteristic feature of the thin line image 11 for detecting a thin defect portion is that the line width of the thin line image 11 is "2" or more in the number of pixels in the normal pattern line width portion. The line width of the thin line image is "1" in the portion of the thin defect portion a having a line width smaller than the lower limit value of "1". In one thick line defect detecting thin line image 12, the line width of the thin line image 12 is “1” in the normal pattern line width portion, but the line width is larger than the upper limit of the line width reference tolerance. In the defective portion b, the line width of the fine line image is "2" or more. The subsequent thin defect detecting section 7 and thick defect detecting section 8 extract the line thin defect and the thick defect using the above-described features.

【0016】次に、細り欠陥部抽出部7で、細り欠陥検
出用細線画像メモリ5の細線画像データoを読み込みこ
れに対して線細り部検出3×3マスクをかけ細り欠陥部
の抽出が行われる。一方これと並行して太り欠陥部抽出
部8では、太り欠陥検出用細線画像メモリ6の細線画像
データpを読み込みこれに対して線太り部検出3×3マ
スクをかけ太り欠陥部の抽出が行われる。
Next, the thin defect portion extracting section 7 reads the thin line image data o of the thin line image memory 5 for thin defect detection, applies a 3 × 3 line thin portion mask thereto, and extracts the thin defect portion. Will be On the other hand, in parallel with this, the fat defect extracting section 8 reads the thin line image data p of the fat defect image memory 6 and applies a line fat detection 3 × 3 mask to extract the fat defect. Will be

【0017】図4および図5は、細り欠陥部抽出部7お
よび太り欠陥部抽出部の処理動作を示す模式図である。
FIGS. 4 and 5 are schematic diagrams showing the processing operation of the thin defect extracting section 7 and the thick defect extracting section.

【0018】図4(a)は細り欠陥検出用細線画像デー
タ11にかける線細り部検出3×3マスク13、図5
(a)は太り欠陥検出用細線画像データ12にかける線
太り検出3×3マスク14の説明図、また図4(b)は
線細り部検出3×3マスク13で抽出される線幅“1”
の細り欠陥部、図5(b)は線太り部検出3×3マスク
14で抽出される線幅“2”以上の太り欠陥部の説明図
である。
FIG. 4A shows a thinned line detecting 3 × 3 mask 13 applied to the thinned line image data 11 for thinning defect detection.
4A is an explanatory diagram of a 3 × 3 mask 14 for detecting a line thickening applied to the thin line image data 12 for detecting a thick line defect. FIG. 4B is a diagram illustrating a line width “1” extracted by the 3 × 3 mask 13 for detecting a line thinning portion. "
FIG. 5B is an explanatory diagram of a thick defect portion having a line width of “2” or more extracted by the line thick portion detection 3 × 3 mask 14.

【0019】細り欠陥部抽出部7では読み込んだ線細り
欠陥部検出用細線画像データoの細線画像11のパター
ン部“1”の全てに対して次の条件の線細り部検出3×
3マスク13をかけ線幅“1”の線細り部15を抽出し
これを線細り部データqとして結果出力部9に送る。
The thin defect detecting section 7 detects the thin line detecting portion 3 × under the following conditions for all the pattern portions “1” of the thin line image 11 of the thin line image data o for detecting the thin line defect detected.
The thinned portion 15 having a line width of “1” is extracted by applying the three masks 13 and sent to the result output unit 9 as thinned portion data q.

【0020】線幅“1”の条件 ・3×3マスク内において、向かい合う画素対が両方と
も“0”の組が2つ以上の時 一方太り欠陥部抽出部8では読み込んだ線太り欠陥部検
出用細線画像データpの細線画像12のパターン部
“1”の全てに対して次の条件の線太り部検出3×3マ
スク14をかけ線幅“2”以上の線太り部16を抽出し
これを線太り部データrとして結果出力部9に送る。
Condition of Line Width "1" When two or more pairs of "0" are both facing pixel pairs in a 3 × 3 mask On the other hand, the fat defect detecting part 8 detects the fat defect read in. All the pattern portions “1” of the thin line image 12 of the thin line image data p are subjected to a line thick portion detection 3 × 3 mask 14 under the following conditions to extract a line thick portion 16 having a line width “2” or more. Is sent to the result output unit 9 as the thickened portion data r.

【0021】線幅“2”以上の条件 ・3×3マスク内において、向かい合う画素対が両方と
も“0”の組が1つ以下の時 最後に、結果出力部9で、細り欠陥部抽出部7と太り欠
陥部抽出部8の各々から得られる線細り部データq、線
太り部データrを読み込み、近傍にある欠陥部ごとにま
とめその中心位置を算出し、これを欠陥位置データsと
して出力する。
Condition where the line width is equal to or more than "2". In the 3 × 3 mask, when both pairs of pixels facing each other have no more than one set of "0". Finally, in the result output unit 9, the thin defect extraction unit 7 and the line-thickness part data 8 obtained from each of the thick-defect-part extraction units 8 are read out, and the center position of each of the nearby defect parts is calculated and output as defect position data s. I do.

【0022】図6は、本発明の他の実施例の構成と処理
の流れを示すブロック図である。以下、図6の流れに沿
って本実施例の動作を説明する。
FIG. 6 is a block diagram showing the configuration and processing flow of another embodiment of the present invention. Hereinafter, the operation of this embodiment will be described along the flow of FIG.

【0023】被検査対象となる配線パターンを光電変換
スキャナ21で走査して得られるビデオ信号Dを、2値
化回路22で、パターン部が“1”、それ以外の部分を
“0”の値に2値化した2値画像データEを得る。この
2値画像データEは、次の細線化回路23と、後の細り
部抽出回路26および太り部抽出回路27で用いられ
る。
The video signal D obtained by scanning the wiring pattern to be inspected by the photoelectric conversion scanner 21 is converted into a binary signal by the binarizing circuit 22 so that the pattern portion is "1" and the other portions are "0". To obtain binary image data E. This binary image data E is used in the next thinning circuit 23 and the thinned portion extracting circuit 26 and the thickened portion extracting circuit 27 later.

【0024】次に細線化回路23で、2値化回路22で
得られる2値画像データEに細線処理を施し、パターン
部の線幅を画素数で“1”とした細線画像データFを得
る。この細線画像データFは、次の線幅拡大回路24お
よび線幅拡大回路25に送られる。図7および図8は2
値化回路22および細線化回路23の動作を示す模式図
である。
Next, the thinning circuit 23 performs thinning on the binary image data E obtained by the binarizing circuit 22 to obtain thin line image data F in which the line width of the pattern portion is "1" in terms of the number of pixels. . The thin line image data F is sent to the next line width expansion circuit 24 and line width expansion circuit 25. FIG. 7 and FIG.
FIG. 3 is a schematic diagram showing the operation of the value conversion circuit 22 and the thinning circuit 23.

【0025】図7(a),図8(a)は、基本となる2
値画像データEによる2値画像29を示し、それぞれ線
細り部R、線太り部Sが存在する場合である。この2値
画像29に細線化回路23で細線処理を施して得られる
細線画像データFによる細線画像30を図7(b),図
8(b)に示す。それぞれ線細り部R、線太り部Sが存
在する場合に対応し、細線画像30はパターンの骨格に
相当する中心線となる。
FIGS. 7 (a) and 8 (a) show the basic 2
5 shows a binary image 29 based on value image data E, in which a thin line portion R and a thick line portion S exist, respectively. FIGS. 7B and 8B show a thin line image 30 based on thin line image data F obtained by performing thin line processing on the binary image 29 by the thin line circuit 23. The thin line image 30 is the center line corresponding to the skeleton of the pattern, corresponding to the case where the thin line portion R and the thick line portion S exist, respectively.

【0026】次に、線幅拡大回路24および線幅拡大回
路25で、細線化回路23で得られる細線画像データF
を読み込み、各々細線画像データFに対して、線幅細り
判定の基準となる下限値の線幅パターン(細り線幅パタ
ーン)データGを、また一方で線幅太り判定の上限値の
線幅パターン(太り線幅パターン)データHを生成す
る。それぞれの線幅パターンは、パターン部が“1”、
その他が“0”の値の2値画像である。
Next, the line width enlarging circuit 24 and the line width enlarging circuit 25 use the thin line image data F
, And for each thin line image data F, a line width pattern (thin line width pattern) data G of a lower limit as a reference for line width thinning determination, and a line width pattern of an upper limit of line width thickening determination on the other hand (Thick line width pattern) Data H is generated. For each line width pattern, the pattern portion is “1”,
Others are binary images having a value of “0”.

【0027】図9および図10は本実施例での細線化処
理以降の欠陥抽出処理動作を示す模式図である。
FIGS. 9 and 10 are schematic views showing the defect extraction processing operation after the thinning processing in this embodiment.

【0028】図9(a)に、図7(b)の細線画像30
を拡大した細り線幅パターン31を、図10(a)に
は、図8(b)の細線画像30を拡大した太り線幅パタ
ーン32を示す(斜線部)。ここで特徴的なことは、正
常パターンに対して拡大した各線幅パターン31は、2
値画像29内に完全に含まれる状態になり、太り線幅パ
ターン32は内部に2値画像29を完全に含む状態にな
るが、細り欠陥部Rがあるとその部分で細り線幅パター
ン31が2値画像29からはみ出す。逆に太り欠陥部S
があるとその部分で太り線幅パターン32から2値画像
29がはみ出す状態になることである。次の細り部抽出
回路26、太り部抽出回路27では上述した特徴を用い
て線細り欠陥部、線太り欠陥部をそれぞれ抽出する。
FIG. 9A shows a thin line image 30 shown in FIG.
FIG. 10A shows a thick line width pattern 32 obtained by enlarging the thin line image 30 shown in FIG. 8B (hatched portion). What is characteristic here is that each line width pattern 31 enlarged from the normal pattern is 2
The value image 29 is completely included, and the thick line width pattern 32 completely contains the binary image 29 inside. However, if there is a thin defect portion R, the thin line width pattern 31 is formed at that portion. It protrudes from the binary image 29. Conversely, fat defect S
If there is, the binary image 29 will protrude from the thick line width pattern 32 at that portion. In the following thinned portion extraction circuit 26 and thickened portion extraction circuit 27, a thin line defect portion and a thick line defect portion are respectively extracted using the above-described features.

【0029】次に、細り欠陥部抽出回路26で、線幅拡
大回路24で生成される細り線幅パターンデータGと2
値化回路2で得られる2値画像データEを読み込み細り
欠陥部を抽出する。同時に一方で、太り欠陥部抽出回路
27で、線幅拡大回路25で生成される太り線幅パター
ンデータHと2値化回路22で得られる2値画像データ
Eを読み込み太り欠陥部を抽出する。
Next, in the thin defect portion extraction circuit 26, the thin line width pattern data G and 2
The binary image data E obtained by the binarizing circuit 2 is read to extract a thin defect portion. At the same time, on the other hand, the fat defect extracting circuit 27 reads the fat line width pattern data H generated by the line width enlarging circuit 25 and the binary image data E obtained by the binarizing circuit 22, and extracts the fat defect.

【0030】細り欠陥部抽出回路26では、読み込んで
きた細り線幅パターンデータGと2値画像データEを読
み込み、次の条件を満たす部分を細り欠陥部を抽出す
る。
The thin defect portion extraction circuit 26 reads the thin line width pattern data G and the binary image data E that have been read, and extracts a thin defect portion from a portion satisfying the following condition.

【0031】・(2値画像データE=0)AND(細り
線幅パターンデータG=1) 太り欠陥部抽出回路27では、次の条件となる。
(Binary image data E = 0) AND (thin line width pattern data G = 1) In the fat defect extracting circuit 27, the following conditions are satisfied.

【0032】・(2値画像データE=1)AND(太り
線幅パターンデータH=0) 図9(b)は、細り欠陥部抽出回路26で抽出される細
り欠陥部Tを、図10(b)は、太り欠陥部抽出部27
で抽出される太り欠陥部Uを示す。
(Binary image data E = 1) AND (thick line width pattern data H = 0) FIG. 9B shows a thin defect portion T extracted by the thin defect portion extracting circuit 26 in FIG. b) is a fat defect extracting unit 27
5 shows a fat defect U extracted by.

【0033】最後に、結果出力部28で、細り部抽出回
路26と太り部抽出回路27の各々から得られる線細り
部データO、線太り部のデータPを読み込み、近傍にあ
る欠陥部ごとにまとめその中心位置を算出し、これを欠
陥位置データQとして出力する。
Finally, the result output unit 28 reads the thin line portion data O and the thick line portion data P obtained from each of the thin portion extraction circuit 26 and the thick portion extraction circuit 27, and for each defective portion in the vicinity. In summary, the center position is calculated, and this is output as defect position data Q.

【0034】[0034]

【発明の効果】上述したように本発明のパターン検査装
置は、線幅基準公差に基づいた細線化処理とこの細線処
理結果の画像データに対して簡単な3×3マスクをかけ
線細り欠陥部および線太り欠陥部を検出することによ
り、または細線化処理と拡大回路の組合せにより欠陥を
検出することにより、従来のパターン検査装置のように
測長センサを用いた複雑なコード化の処理や、コード化
辞書をあらかじめ作成するような手間もなく正確に欠陥
検出を行うことができる。
As described above, according to the pattern inspection apparatus of the present invention, a thinning process based on a line width reference tolerance and a simple 3 × 3 mask are applied to the image data resulting from the thinning process to obtain a thinning defect portion. By detecting a line-thickness defect portion or by detecting a defect by a combination of a thinning process and an enlargement circuit, a complicated coding process using a length measurement sensor like a conventional pattern inspection device, Defect detection can be performed accurately without the hassle of creating a coded dictionary in advance.

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

【図1】本発明の一実施例の構成と処理の流れを示すブ
ロック図である。
FIG. 1 is a block diagram showing the configuration and processing flow of an embodiment of the present invention.

【図2】(a)は図1中の2値化回路2による線細り部
aがある場合の2値化画像10を示す図、(b)は図1
中の細線化回路3による細線化処理を行った細線画像1
1を示す図である。
2A is a diagram showing a binarized image 10 in a case where there is a thin line portion a by the binarization circuit 2 in FIG. 1, and FIG. 2B is a diagram showing FIG.
Thin line image 1 subjected to thinning processing by the thinning circuit 3 in the middle
FIG.

【図3】(a)は図1中の2値化回路2による線太り部
bがある場合の2値化画像10を示す図、(b)は図1
中の細線化回路3による細線化処理を行った細線画像1
2を示す図である。
3A is a diagram showing a binarized image 10 in a case where there is a thick line portion b by the binarization circuit 2 in FIG. 1, and FIG. 3B is a diagram showing FIG.
Thin line image 1 subjected to thinning processing by the thinning circuit 3 in the middle
FIG.

【図4】(a)は図1中の細り欠陥部抽出部7で用いる
線細り部検出3×3マスク13を示す図、(b)は線細
り部検出3×3マスク13で抽出される線幅“1”の細
り欠陥部を示す図である。
4A is a diagram showing a thinned line detection 3 × 3 mask 13 used by the thinned defect portion extraction unit 7 in FIG. 1, and FIG. 4B is extracted by the thinned line detection 3 × 3 mask 13; It is a figure which shows the thin defect part of line width "1".

【図5】(a)は図1中の太り欠陥部抽出部8で用いる
線太り部検出3×3マスク14を示す図、(b)は線太
り部検出マスク14で抽出される線幅“2”以上の太り
欠陥分を示す図である。
5A is a diagram showing a line-thickness detection 3 × 3 mask 14 used by the line-thickness defect portion extraction unit 8 in FIG. 1, and FIG. 5B is a line width extracted by the line-thickness detection mask 14. It is a figure which shows the fat defect of 2 "or more.

【図6】本発明の他の実施例の構成と処理の流れを示す
ブロック図である。
FIG. 6 is a block diagram showing the configuration and processing flow of another embodiment of the present invention.

【図7】(a)は図6中の2進化回路22による線細り
部Rがある場合の2値化画像29を示す図、(b)は図
6中の細線化回路23による細線化処理を行った細線画
像30を示す図である。
7A is a diagram showing a binarized image 29 in a case where there is a thinned portion R by the binarizing circuit 22 in FIG. 6, and FIG. 7B is a thinning process by the thinning circuit 23 in FIG. FIG. 5 is a diagram showing a thin line image 30 on which the following has been performed.

【図8】(a)は図6中の2進化回路22による線太り
部Sがある場合の2値化画像29を示す図、(b)は図
6中の細線化回路23による細線化処理を行った細線画
像30を示す図である。
8A is a diagram showing a binarized image 29 in the case where there is a thick portion S by the binarizing circuit 22 in FIG. 6, and FIG. 8B is a thinning process by the thinning circuit 23 in FIG. FIG. 5 is a diagram showing a thin line image 30 on which the following has been performed.

【図9】(a)は図6中の線幅拡大回路24の動作を説
明する図、(b)は細り部抽出回路26の動作を説明す
る図である。
9A is a diagram for explaining the operation of the line width enlarging circuit 24 in FIG. 6, and FIG. 9B is a diagram for explaining the operation of the thinned portion extraction circuit 26.

【図10】(a)は図6中の線幅拡大回路25の動作を
説明する図、(b)は太り部抽出回路27の動作を説明
する図である。
10A is a diagram for explaining the operation of the line width enlarging circuit 25 in FIG. 6, and FIG. 10B is a diagram for explaining the operation of the thick portion extracting circuit 27.

【図11】従来のパターン検査装置の測長センサを示す
図である。
FIG. 11 is a diagram showing a length measurement sensor of a conventional pattern inspection apparatus.

【図12】図11に示す測長センサによるコード化判定
例の模式図で、(a)は正常パターン、(b)は線細り
欠陥部、(c)は太り欠陥部の場合である。
12A and 12B are schematic diagrams of an example of coding determination by the length measurement sensor shown in FIG. 11, in which FIG. 12A shows a normal pattern, FIG. 12B shows a thin line defect, and FIG. 12C shows a thick defect.

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

1,21 光電変換スキャナ 2,22 2値化回路 3,23 細線化回路 4 細線処理制御部 5 細り欠陥検出用細線画像メモリ 6 太り欠陥検出用細線画像メモリ 7 細り欠陥部抽出部 8 太り欠陥部抽出部 9 結果出力部 10,29 2値画像 11,30 細り欠陥検出用細線画像 12 太り欠陥検出用細線画像 13 線細り部検出3×3マスク 14 線太り部検出3×3マスク 15 線幅“1”の線細り部 16 線幅“2”以上の線太り部 24,25 線幅拡大回路 26 細り部抽出回路 27 太り部抽出回路 28 結果出力部 31 細り線幅パターン 32 太り線幅パターン 101 検査中心 102 測長画素 103 上下(90°)方向測長画素対 104 左右(0°)方向測長画素対 105 斜め(45°)方向測長画素対 d,D ビデオ信号 e,E 2値画像データ f1 細り欠陥検出用細線画像の段数設定データ f2 太り欠陥検出用細線画像の段数設定データ g 細り欠陥検出用細線画像データ h 太り欠陥検出用細線画像データ o 細り欠陥検出用細線画像メモリデータ p 太り欠陥検出用細線画像メモリデータ q,O 線細り部データ r,P 線太り部データ s 欠陥位置データ F 細線画像データ G 細り線幅パターンデータ H 太り線幅パターンデータ Q 欠陥位置データ Reference Signs List 1, 21 photoelectric conversion scanner 2, 22 binarization circuit 3, 23 thinning circuit 4 thin line processing control unit 5 thin line image memory for thinning defect detection 6 thin line image memory for thickening defect detection 7 thinning defect unit extraction unit 8 thickening defect unit Extraction unit 9 Result output unit 10, 29 Binary image 11, 30 Thin line image for thin defect detection 12 Thin line image for thick defect detection 13 Line thin part detection 3 × 3 mask 14 Line thick part detection 3 × 3 mask 15 Line width “ 1 "line thinning part 16 line width" 2 "or more line thickening part 24, 25 line width enlargement circuit 26 thin part extracting circuit 27 thick part extracting circuit 28 result output part 31 thin line width pattern 32 thick line width pattern 101 inspection Center 102 Length measurement pixel 103 Vertical (90 °) direction length measurement pixel pair 104 Left / right (0 °) direction length measurement pixel pair 105 Oblique (45 °) direction length measurement pixel pair d, D Video signal e, E 2 Value image data f1 Setting number of steps of thin line image for thin defect detection f2 Setting data of number of steps of thin line image for thick defect detection g Thin line image data for thin defect detection h Thin line image data for thick defect detection o Thin line image memory data for thin defect detection p Thin line image memory data for thick defect detection q, O line thin portion data r, P line thick portion data s Defect position data F Fine line image data G Thin line width pattern data H Thick line width pattern data Q Defect position data

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI H05K 3/00 G06F 15/62 405A (58)調査した分野(Int.Cl.7,DB名) G01N 21/88 G01B 11/24 G01B 11/30 G06T 7/00 H05K 3/00 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 identification code FI H05K 3/00 G06F 15/62 405A (58) Investigated field (Int.Cl. 7 , DB name) G01N 21/88 G01B 11 / 24 G01B 11/30 G06T 7/00 H05K 3/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 対象配線パターンを走査してその反射光
に対応するビデオ信号を出力する光電変換スキャナと、
この光電変換スキャナからのビデオ信号を2値の画像信
号に2値化する2値化回路と、この2値化回路より得ら
れる2値画像データに逐次細線処理を施し細線画像デー
タを生成する細線化回路と、前記細線化回路の細線処理
段数を線幅基準公差に基づいて制御し線細り欠陥検出用
の細線画像データおよび線太り欠陥検出用の細線画像デ
ータを生成させる細線処理制御部と、前記細線処理制御
部より制御され前記細線化回路で生成される細り欠陥検
出用画像データを記憶させる細り欠陥用細線画像メモリ
と、前記細線処理制御部より制御され前記細線化回路で
生成される太り欠陥検出用画像データを記憶させる太り
欠陥検出用細線画像メモリと、前記細り欠陥検出用細線
画像メモリの画像データを読み込みこれに対して線細り
部検出3×3マスクをかけて検出した線幅が1画素以上
の部分を線細り欠陥部として抽出する細り欠陥部検出部
と、前記太り欠陥検出用細線画像メモリの画像データを
読み込みこれに対して線太り部検出3×3マスクをかけ
て検出した線幅が2画素以上の部分を線太り欠陥部とし
て抽出する太り欠陥部検出部とを含むことを特徴とする
パターン検査装置。
A photoelectric conversion scanner for scanning a target wiring pattern and outputting a video signal corresponding to the reflected light;
A binarization circuit for binarizing a video signal from the photoelectric conversion scanner into a binary image signal, and a thin line for sequentially performing thin line processing on the binary image data obtained from the binarization circuit to generate thin line image data A thin line processing control unit that controls the number of thin line processing stages of the thin line circuit based on a line width reference tolerance and generates thin line image data for thin line defect detection and thin line image data for line thick defect detection, A thin defect image memory controlled by the thin line processing control unit and configured to store thin defect detection image data generated by the thinning circuit; and a thickening controlled by the thin line processing control unit and generated by the thinning circuit. A thin line image memory for thick defect detection for storing image data for defect detection, and image data of the thin line image memory for thin defect detection are read, and a line thin portion detection 3 × 3 mask And a thin defect detecting section for extracting a portion having a line width of 1 pixel or more as a thin defect, and reading image data from the thin line image memory for detecting a thick defect. A thick defect detecting section for extracting a portion having a line width of 2 pixels or more detected by applying a × 3 mask as a thick defect portion.
【請求項2】 対象配線パターンを走査してその反射光
に対応するビデオ信号を出力する光電変換スキャナと、
この光電変換スキャナからのビデオ信号を2値の画像信
号に2値化する2値化回路と、この2値化回路より得ら
れる2値化画像データに逐次細線処理を施し線幅が1画
素の細線画像データ生成する細線化回路と、前記細線化
回路で生成された細線画像データに対して拡大処理を施
し線幅細り判定の基準となる下限値の線幅パターンであ
る細り線幅パターンを再構成する第1の線幅拡大回路
と、前記細線化回路で生成された細線画像データに対し
て拡大処理を施し線幅太り判定の上限値の線幅パターン
である太り線幅パターンを再構成する第2の線幅拡大回
路と、前記細り線幅パターンが前記2値化回路より得ら
れた2値画像よりはみ出した部分を線細り箇所として抽
出する細り部抽出回路と、前記2値化回路より得られた
2値画像が前記太り線幅パターンよりはみ出した部分を
線太り箇所として抽出する太り部抽出回路とを含むこと
を特徴とするパターン検査装置。
2. A photoelectric conversion scanner for scanning a target wiring pattern and outputting a video signal corresponding to the reflected light,
A binarization circuit for binarizing a video signal from the photoelectric conversion scanner into a binary image signal; and sequentially performing fine line processing on the binarized image data obtained from the binarization circuit, and having a line width of one pixel. A thinning circuit for generating thin line image data, and an enlargement process is performed on the thin line image data generated by the thinning circuit to regenerate a thin line width pattern that is a lower limit line width pattern that is a reference for line width thinning determination. A first line width enlarging circuit to be constituted and an enlarging process are performed on the thin line image data generated by the thinning circuit to reconstruct a thick line width pattern which is a line width pattern of an upper limit value of a line width thickening judgment. A second line width enlarging circuit, a thin portion extracting circuit for extracting a portion where the thin line width pattern protrudes from the binary image obtained by the binarizing circuit as a line thin portion, and a thin portion extracting circuit. The obtained binary image is the fat Pattern inspection apparatus which comprises a fat portion extracting circuit for extracting a portion protruding from the width pattern as lines thickened portion.
JP26488393A 1993-10-22 1993-10-22 Pattern inspection equipment Expired - Lifetime JP2998518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26488393A JP2998518B2 (en) 1993-10-22 1993-10-22 Pattern inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26488393A JP2998518B2 (en) 1993-10-22 1993-10-22 Pattern inspection equipment

Publications (2)

Publication Number Publication Date
JPH07120405A JPH07120405A (en) 1995-05-12
JP2998518B2 true JP2998518B2 (en) 2000-01-11

Family

ID=17409555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26488393A Expired - Lifetime JP2998518B2 (en) 1993-10-22 1993-10-22 Pattern inspection equipment

Country Status (1)

Country Link
JP (1) JP2998518B2 (en)

Also Published As

Publication number Publication date
JPH07120405A (en) 1995-05-12

Similar Documents

Publication Publication Date Title
JPS59157505A (en) Pattern inspecting device
JP2005121546A (en) Defect inspection method
JP2768344B2 (en) Pattern inspection apparatus and inspection method thereof
JP2998518B2 (en) Pattern inspection equipment
JPH0210461B2 (en)
JP2500758B2 (en) Printed circuit board pattern inspection device
JPH1083452A (en) Pattern defect detecting device
JP2003203218A (en) Visual inspection device and method
JPH0758269B2 (en) Printed circuit board pattern inspection device
JPH03170930A (en) Pattern inspecting device
JP2850601B2 (en) Printed circuit board pattern inspection equipment
JP2676990B2 (en) Wiring pattern inspection equipment
JPH0723845B2 (en) Defect detection method
JP2576768B2 (en) Printed circuit board pattern inspection equipment
JPH01112468A (en) Inspection instrument for printed board
JP2536727B2 (en) Pattern inspection device
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JPH0772089A (en) Inspecting apparatus for defect of pattern
JP2625429B2 (en) Image processing method
JP2787851B2 (en) Pattern feature extraction device
JPH1074261A (en) Pattern defect detecting device
JP3048718B2 (en) Vertex detector
JP2001343338A (en) Method and device for inspecting printed wiring board
JPS60200375A (en) Template matching system
JPH03252546A (en) Wiring pattern inspection device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991005