JPH07120405A - Pattern inspection device - Google Patents

Pattern inspection device

Info

Publication number
JPH07120405A
JPH07120405A JP26488393A JP26488393A JPH07120405A JP H07120405 A JPH07120405 A JP H07120405A JP 26488393 A JP26488393 A JP 26488393A JP 26488393 A JP26488393 A JP 26488393A JP H07120405 A JPH07120405 A JP H07120405A
Authority
JP
Japan
Prior art keywords
line
defect
thin
thin line
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.)
Granted
Application number
JP26488393A
Other languages
Japanese (ja)
Other versions
JP2998518B2 (en
Inventor
Hitoshi Inasumi
仁 稲住
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)

Abstract

PURPOSE:To easily inspect the appearance of the wiring pattern of a printed circuit board and the like. CONSTITUTION:A video signal obtained by scanning an objective pattern by means of a photoelectric conversion scanner 1 is binarized by a line thinning circuit 3, the number of steps of a line thinning process is designated based on the reference tolerance of line width by a line thinning process control part 4 so as to perform the line thinning, and thin line images for detecting a thinning defect part and a thickening defect part are obtained. The thine line image for detecting thinning defect is masked with a line thinning part detecting 3X3 mask at a thinning defect part extracting part 7 so as to extract the part of line width '1' as a line thinning defect part, meanwhile, the thin line image for detecting thickening defect is masked with a line thickening part detecting 3X3 mask at a thickening defect part extracting part 8 so as to extract the part of line width over '2' as a line thickening defect part. Finally the positions are computed from the extracted data of the line thinning part and the line thickening part by a result output part 9, and the defect position data is output as a result.

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 device, and more particularly, to a pattern inspection device for detecting line width thinning and line width thickening defects in a visual inspection of a wiring pattern on a printed circuit board or the like.

【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, pp30-33, 1990, there is a pattern inspection device using a dedicated length measuring sensor and a pattern code.

【0003】以下、従来のパターン検査装置を図面を用
いて簡単に説明する。
A conventional pattern inspection apparatus will be briefly described below 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 measuring sensor, which is composed of 16 length measuring pixels 102 extending radially with respect to the inspection center 101. Each measuring pixel 102 is the inspection center 10
A symmetrical pattern of the length-measuring pixels 102 with respect to 1 is applied as a target pattern, and the data measured by each length-measuring pixel 102 is coded with the length and symmetry of the length-measuring pixel as elements. Then, the coded data is compared with a previously created coding dictionary to determine whether the code of the target pattern is a point of a normal pattern or a point of a defective pattern.

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

【0006】[0006]

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

【0007】[0007]

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

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

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
て詳細に説明する。
Embodiments of the present invention will now 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. The operation of this embodiment will be described below with reference to the flow of FIG.

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

【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 control section 4 performs thin line processing of the number of fine line processing steps designated based on the line width reference tolerance. First, the thin line processing control unit 4 sets the line width pattern matching the lower limit of the line width tolerance to the line width "1" until the pattern having the line width matching the upper limit of the line width reference tolerance is set to the line width "1". The stage number setting data f1 and f2, which respectively instruct the number of stages of fine line processing up to 1 ”, are set.
In the thinning circuit 3, when the number of thin line processing steps first reaches the established number of steps f1, the thin line image data g at that time is stored in the thin line image memory 5 for thinning defect detection. The processing is terminated at the point of, and the thin line image data h at that time is stored in the thick line defect detecting thin line image memory 6. 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の動作例を示す模式図である。
FIG. 2 and FIG. 3 are schematic diagrams showing an operation example of the binarization circuit 2 and the thinning circuit 3.

【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 are present, respectively. This 2
A thin line image 11 of thin line defect detecting thin line image data g and a thin line image 12 of thick portion detecting thin line image data h obtained by performing thin line processing on the value image 10 by the thin line processing control section 4 by the thin line thinning circuit 3. 2 (b) and FIG. 3 (b). This corresponds to the case where the thin line portion a and the thick line portion b exist, respectively.

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

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

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

【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 line thinning portion detection 3 × 3 mask 13 applied to the thin line image data 11 for thinning defect detection, and FIG.
4A is an explanatory diagram of a line thickening detection 3 × 3 mask 14 applied to the thin line defect detection thin line image data 12, and FIG. 4B is a line width “1” extracted by the line thinning portion detection 3 × 3 mask 13. ”
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に送る。
In the thin defect portion extraction unit 7, the thin line portion 3 under the following conditions is detected for all the pattern portions "1" of the thin line image 11 of the read thin line image data for detecting thin line defect portion 3x.
3 The mask 13 is applied and the line narrowing portion 15 having the line width “1” is extracted and sent to the result output unit 9 as the line thinning 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 there are two or more groups of "0" in both pixel pairs facing each other in the 3x3 mask, on the other hand, the thick defect part extraction section 8 detects the read line thick defect part. All the pattern portions "1" of the thin line image 12 of the thin line image data p for application are subjected to the line thick portion detection 3 × 3 mask 14 under the following conditions to extract the line thick portion 16 having the line width "2" or more. Is sent to the result output unit 9 as the line thick portion data r.

【0021】線幅“2”以上の条件 ・3×3マスク内において、向かい合う画素対が両方と
も“0”の組が1つ以下の時 最後に、結果出力部9で、細り欠陥部抽出部7と太り欠
陥部抽出部8の各々から得られる線細り部データq、線
太り部データrを読み込み、近傍にある欠陥部ごとにま
とめその中心位置を算出し、これを欠陥位置データsと
して出力する。
Condition for line width of "2" or more: Within 3 × 3 mask, when the number of pairs of pixel pairs facing each other is "1" or less, finally, in the result output unit 9, the thin defect extracting unit is used. 7 and the thin line defect portion extraction unit 8 respectively read the thin line portion data q and the thick line portion data r, calculate the central position of each defective portion in the vicinity, and output this as the defective position data s. To do.

【0022】図6は、本発明の他の実施例の構成と処理
の流れを示すブロック図である。以下、図6の流れに沿
って本実施例の動作を説明する。
FIG. 6 is a block diagram showing the structure and flow of processing in another embodiment of the present invention. The operation of this embodiment will be described below with reference to 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 a binary circuit 22, and the pattern portion has a value of "1" and the other portions have a value of "0". Binary image data E is obtained. This binary image data E is used in the next thinning circuit 23, and the thin portion extracting circuit 26 and the thick portion extracting circuit 27 which will be described later.

【0024】次に細線化回路23で、2値化回路22で
得られる2値画像データEに細線処理を施し、パターン
部の線幅を画素数で“1”とした細線画像データFを得
る。この細線画像データFは、次の線幅拡大回路24お
よび線幅拡大回路25に送られる。図7および図8は2
値化回路22および細線化回路23の動作を示す模式図
である。
Next, in the thinning circuit 23, the thin line image data E obtained by the binarizing circuit 22 is subjected to thin line processing to obtain thin line image data F in which the line width of the pattern portion is "1" in the number of pixels. . This thin line image data F is sent to the next line width expansion circuit 24 and line width expansion circuit 25. 7 and 8 are 2
FIG. 7 is a schematic diagram showing operations of the binarization 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はパターンの骨格に
相当する中心線となる。
FIG. 7A and FIG. 8A are basic 2
This is a case where a binary image 29 based on the value image data E is shown, and a line thin portion R and a line thick portion S are present, respectively. Thin line images 30 based on the thin line image data F obtained by subjecting the binary image 29 to the thin line processing by the thin line circuit 23 are shown in FIGS. 7 (b) and 8 (b). Corresponding to the case where the thin line portion R and the thick line portion S are present, the thin line image 30 becomes the center line corresponding to the skeleton of the pattern.

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

【0027】図9および図10は本実施例での細線化処
理以降の欠陥抽出処理動作を示す模式図である。
9 and 10 are schematic diagrams 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 the thin line image 30 of FIG. 7B.
10A shows an enlarged thin line width pattern 31, and FIG. 10A shows an enlarged thin line width pattern 32 of the thin line image 30 of FIG. 8B (hatched portion). What is characteristic here is that each line width pattern 31 enlarged with respect to the normal pattern is 2
The value image 29 is completely included, and the thick line width pattern 32 is completely included inside the binary image 29. However, when the thin defect portion R is present, the thin line width pattern 31 is formed in that portion. It protrudes from the binary image 29. On the contrary, the thick defect portion S
If there is, the binary image 29 is projected from the thick line width pattern 32 at that portion. Next, the thin portion extraction circuit 26 and the thick portion extraction circuit 27 respectively extract the line thin defect portion and the line thick defect portion using the above-mentioned features.

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

【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 conditions.

【0031】・(2値画像データE=0)AND(細り
線幅パターンデータG=1) 太り欠陥部抽出回路27では、次の条件となる。
(Binary image data E = 0) AND (thin line width pattern data G = 1) In the thick defect portion extraction 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 the thin defect portion T extracted by the thin defect portion extraction circuit 26 as shown in FIG. b) is a fat defect extraction unit 27
The thick defect portion U extracted by is shown.

【0033】最後に、結果出力部28で、細り部抽出回
路26と太り部抽出回路27の各々から得られる線細り
部データO、線太り部のデータPを読み込み、近傍にあ
る欠陥部ごとにまとめその中心位置を算出し、これを欠
陥位置データQとして出力する。
Finally, the result output unit 28 reads the line thin portion data O and the line thick portion data P obtained from each of the thin portion extracting circuit 26 and the thick portion extracting 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, in the pattern inspection apparatus of the present invention, the thinning processing based on the line width reference tolerance and the simple 3 × 3 mask is applied to the image data of the thinning processing result to obtain the thinning defect portion. And by detecting a line thick defect portion, or by detecting a defect by a combination of a thinning process and an enlarging circuit, a complicated coding process using a length measuring sensor like a conventional pattern inspection device, Defects can be accurately detected without the trouble of creating a coded dictionary in advance.

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

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

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

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

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

【図6】本発明の他の実施例の構成と処理の流れを示す
ブロック図である。
FIG. 6 is a block diagram showing a configuration and a 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 the case where there is a line narrowing portion R by the binarization circuit 22 in FIG. 6, and FIG. 7B is a thinning process by the thinning circuit 23 in FIG. It is a figure which shows the thin line image 30 which 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 line thick portion S by the binarization circuit 22 in FIG. 6, and FIG. 8B is a thinning process by the thinning circuit 23 in FIG. It is a figure which shows the thin line image 30 which performed.

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

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

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

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

【符号の説明】[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 欠陥位置データ 1, 21 Photoelectric conversion scanner 2, 22 Binarization circuit 3, 23 Thinning circuit 4 Thin line processing control unit 5 Thin line defect detection thin line image memory 6 Thick line defect detection thin line image memory 7 Thin line defect portion extraction unit 8 Thick line defect portion Extraction unit 9 Result output unit 10,29 Binary image 11,30 Thin line defect detection thin line image 12 Thick line defect detection thin line image 13 Line thin line portion detection 3 × 3 mask 14 Line thick line portion detection 3 × 3 mask 15 Line width “ 1 ”line thinning part 16 line width“ 2 ”or more line thickening part 24, 25 line width expanding circuit 26 thinning 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 Measuring pixel 103 Vertical (90 °) direction measuring pixel pair 104 Horizontal (0 °) direction measuring pixel pair 105 Oblique (45 °) direction measuring pixel pair d, D Video signal e, E 2 Value image data f1 Step number setting data of thin line image for thin defect detection f2 Step number setting data of thin line image for thin defect detection g Thin line image data for thin defect detection h Thin line image data for thin defect detection o Thin memory image data for thin defect detection p Thin line defect detection thin line image memory data q, O line narrowing part data r, P line thickening part data s defect position data F thin line image data G thin line width pattern data H thick line width pattern data Q defect position data

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 対象配線パターンを走査してその反射光
に対応するビデオ信号を出力する光電変換スキャナと、
この光電変換スキャナからのビデオ信号を2値の画像信
号に2値化する2値化回路と、この2値化回路より得ら
れる2値画像データに逐次細線処理を施し細線画像デー
タを生成する細線化回路と、前記細線化回路の細線処理
段数を線幅基準公差に基づいて制御し線細り欠陥検出用
の細線画像データおよび線太り欠陥検出用の細線画像デ
ータを生成させる細線処理制御部と、前記細線処理制御
部より制御され前記細線化回路で生成される細り欠陥検
出用画像データを記憶させる細り欠陥用細線画像メモリ
と、前記細線処理制御部より制御され前記細線化回路で
生成される太り欠陥検出用画像データを記憶させる太り
欠陥検出用細線画像メモリと、前記細り欠陥検出用細線
画像メモリの画像データを読み込みこれに対して線細り
部検出3×3マスクをかけて検出した線幅が1画素以上
の部分を線細り欠陥部として抽出する細り欠陥部検出部
と、前記太り欠陥検出用細線画像メモリの画像データを
読み込みこれに対して線太り部検出3×3マスクをかけ
て検出した線幅が2画素以上の部分を線太り欠陥部とし
て抽出する太り欠陥部検出部とを含むことを特徴とする
パターン検査装置。
1. A photoelectric conversion scanner for scanning a target wiring pattern and outputting a video signal corresponding to the reflected light,
A binarization circuit that binarizes a video signal from the photoelectric conversion scanner into a binary image signal, and a thin line that sequentially performs thin line processing on the binary image data obtained by the binarization circuit to generate thin line image data. A thinning circuit, and a thin line processing control unit that generates thin line image data for detecting a thin line defect and thin line image data for detecting a thick line defect by controlling the number of thin line processing steps of the thinning circuit based on a line width reference tolerance, A thin line thin line image memory for storing thin line defect detection image data generated by the thin line circuit controlled by the thin line process control unit, and a thick line generated by the thin line circuit controlled by the thin line process control unit. A thin line image memory for detecting a thick defect for storing image data for detecting a defect, and image data of the thin line image memory for detecting a thin defect is read, and a thin line portion detection 3 × 3 cell is read. The thin defect portion detecting portion for extracting a portion having a line width of 1 pixel or more, which is detected by multiplying, as a thin line defect portion, and the image data of the thin line image memory for detecting the thick defect is read, and line thick portion detection 3 A pattern inspection apparatus comprising: a thick defect portion detection unit that extracts a portion having a line width of 2 pixels or more detected by applying a × 3 mask as a line thick defect portion.
【請求項2】 対象配線パターンを走査してその反射光
に対応するビデオ信号を出力する光電変換スキャナと、
この光電変換スキャナからのビデオ信号を2値の画像信
号に2値化する2値化回路と、この2値化回路より得ら
れる2値化画像データに逐次細線処理を施し線幅が1画
素の細線画像データ生成する細線化回路と、前記細線化
回路で生成された細線画像データに対して拡大処理を施
し線幅細り判定の基準となる下限値の線幅パターンであ
る細り線幅パターンを再構成する第1の線幅拡大回路
と、前記細線化回路で生成された細線画像データに対し
て拡大処理を施し線幅太り判定の上限値の線幅パターン
である太り線幅パターンを再構成する第2の線幅拡大回
路と、前記細り線幅パターンが前記2値化回路より得ら
れた2値画像よりはみ出した部分を線細り箇所として抽
出する細り部抽出回路と、前記2値化回路より得られた
2値画像が前記太り線幅パターンよりはみ出した部分を
線太り箇所として抽出する太り部抽出回路とを含むこと
を特徴とするパターン検査装置。
2. A photoelectric conversion scanner which scans a target wiring pattern and outputs a video signal corresponding to the reflected light,
A binarization circuit that binarizes the video signal from the photoelectric conversion scanner into a binary image signal, and the binarized image data obtained by the binarization circuit is subjected to successive fine line processing to have a line width of 1 pixel. A thinning circuit that generates thin line image data, and resizes the thin line width pattern that is the lower limit line width pattern that is the reference for line width thinning determination by enlarging the thin line image data generated by the thinning circuit. The first line width enlarging circuit to be configured and the thin line image data generated by the thinning circuit are subjected to enlarging processing to reconstruct a thick line width pattern which is a line width pattern of an upper limit value of the line width thickening determination. A second line width enlarging circuit; a thin portion extracting circuit for extracting a portion of the thin line width pattern protruding from the binary image obtained by the binarizing circuit as a line thinning portion; and the binarizing circuit. The obtained binary image is thick 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 true JPH07120405A (en) 1995-05-12
JP2998518B2 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
JP2998518B2 (en) 2000-01-11

Similar Documents

Publication Publication Date Title
JPS59157505A (en) Pattern inspecting device
JP4230880B2 (en) Defect inspection method
JP3265595B2 (en) Image processing method and apparatus
JPH0210461B2 (en)
JP2998518B2 (en) Pattern inspection equipment
JP2500758B2 (en) Printed circuit board pattern inspection device
JP2003203218A (en) Visual inspection device and method
JP2850601B2 (en) Printed circuit board pattern inspection equipment
JPH03170930A (en) Pattern inspecting device
JPH0723845B2 (en) Defect detection method
JP2576768B2 (en) Printed circuit board pattern inspection equipment
JPH06249792A (en) Inspection apparatus for pattern of printed circuit board apparatus
JPS5830645A (en) Pattern inspecting system
JP2536727B2 (en) Pattern inspection device
JPH0772089A (en) Inspecting apparatus for defect of pattern
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JP2625429B2 (en) Image processing method
JPH03252546A (en) Wiring pattern inspection device
JP2787851B2 (en) Pattern feature extraction device
JP3048718B2 (en) Vertex detector
JPH033269B2 (en)
JPH1074261A (en) Pattern defect detecting device
JPH0473759A (en) Wiring pattern inspecting device
JPH10143673A (en) Picture processor
JPH0337229B2 (en)

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