JP2868864B2 - Inspection equipment for printed wiring boards - Google Patents

Inspection equipment for printed wiring boards

Info

Publication number
JP2868864B2
JP2868864B2 JP21246490A JP21246490A JP2868864B2 JP 2868864 B2 JP2868864 B2 JP 2868864B2 JP 21246490 A JP21246490 A JP 21246490A JP 21246490 A JP21246490 A JP 21246490A JP 2868864 B2 JP2868864 B2 JP 2868864B2
Authority
JP
Japan
Prior art keywords
hole
mask
defect
unit
image
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
JP21246490A
Other languages
Japanese (ja)
Other versions
JPH0493755A (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.)
Ibiden Co Ltd
Original Assignee
Ibiden Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ibiden Co Ltd filed Critical Ibiden Co Ltd
Priority to JP21246490A priority Critical patent/JP2868864B2/en
Publication of JPH0493755A publication Critical patent/JPH0493755A/en
Application granted granted Critical
Publication of JP2868864B2 publication Critical patent/JP2868864B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は,プリント配線基板における配線パターンの
欠陥形状を検出するための検査装置,特に,スルーホー
ル回りからの虚報を防止するための検査装置に関する。
Description: BACKGROUND OF THE INVENTION The present invention relates to an inspection apparatus for detecting a defect shape of a wiring pattern on a printed wiring board, and more particularly, to an inspection apparatus for preventing a false report from around a through hole. About.

〔従来の技術〕[Conventional technology]

プリント配線基板における配線パターンは,その製造
過程において,断線,欠け(線細り),ショート,線間
不良,ゴム付着などの欠陥形状を生ずることがある。そ
のため,かかる欠陥形状を検出するための種々の検査装
置が提案されている。
In the manufacturing process of a wiring pattern on a printed wiring board, a defect shape such as disconnection, chipping (line thinning), short circuit, defective line-to-line connection, or rubber adhesion may occur. Therefore, various inspection devices for detecting such a defect shape have been proposed.

一方,第13図に示すごとく,プリント配線基板10はス
ルーホール90と配線パターン9とを有する。該配線パタ
ーン9は,スルーホール90の開口周縁部に環状に形成し
たランド91と,回路端子(図示略)との間を連結するラ
インパターン92とから成る。上記配線パターン9は,金
属メッキ層により形成してある。
On the other hand, as shown in FIG. 13, the printed wiring board 10 has a through hole 90 and a wiring pattern 9. The wiring pattern 9 includes a land 91 formed in an annular shape at the periphery of the opening of the through hole 90 and a line pattern 92 connecting between circuit terminals (not shown). The wiring pattern 9 is formed by a metal plating layer.

そして,一般に上記ランド91の幅(例えば約50μm)
は,ラインパターン92の幅(例えば約150μm)よりも
狭く形成してある。そのため,第14図に示すごとく,ラ
ンド91が,スルーホール90の軸中心より若干外れた状態
で形成されているときには,幅狭部911と幅広部912とが
形成される。また,上記幅狭部911は,エッチング不良
による座残り幅が小さいことによっても発生する。そこ
で,検査装置により上記ランド部分を検査したとき,第
15図に示すごとき,検査データ94が検出される。そし
て,この検査データ94においては,前記ランド91の幅狭
部911の部分が,ラインパターン92の幅よりかなり狭
く,ラインパターン92においては欠陥形状であると認識
される状態である。そのため,該幅狭部911は,欠け
(線細り)状態941であるとして検出される。
And, in general, the width of the land 91 (for example, about 50 μm)
Are formed narrower than the width of the line pattern 92 (for example, about 150 μm). Therefore, as shown in FIG. 14, when the land 91 is formed slightly off the axial center of the through hole 90, a narrow portion 911 and a wide portion 912 are formed. Further, the narrow portion 911 also occurs due to a small seat width due to poor etching. Therefore, when the above-mentioned land is inspected by the inspection device,
As shown in FIG. 15, the inspection data 94 is detected. In the inspection data 94, the narrow portion 911 of the land 91 is considerably narrower than the width of the line pattern 92, and the line pattern 92 is recognized as having a defect shape. Therefore, the narrow portion 911 is detected as being in the missing (line thinning) state 941.

しかし,該幅狭部911は,第14図に示したごとく,断
線状態ではなく,実用上問題はない。このように,従来
の検査装置により得られた検査データには,虚報が生じ
易い。かかる虚報は,特に,スルーホール周りに形成し
た上記ランド91について多い。
However, the narrow portion 911 is not in a disconnected state as shown in FIG. 14, and there is no practical problem. As described above, false information is likely to occur in the inspection data obtained by the conventional inspection device. Such false information is particularly large for the land 91 formed around the through hole.

そこで,上記問題に対処するため,スルーホール部分
に対してマスク処理を施し,ラインパターンの検査時に
はスルーホール周りの検査は行わず,スルーホール周り
の誤判定を無くすようにした検査装置がある。
To cope with the above problem, there is an inspection apparatus in which mask processing is performed on a through-hole portion, and inspection around the through-hole is not performed when inspecting a line pattern, so that erroneous determination around the through-hole is eliminated.

該検査装置は,第16図に示すごとく,プリント配線基
板10上の配線パターン101を読み取るCCDカメラ11と,該
CCDカメラ11のアナログ信号をディジタルの画像信号に
変換するA/D変換器12と,マスク部81と,欠陥形状認識
部851と,上記マスク部81と欠陥形状認識部とからの信
号を照合するスルーホール・マスク照合部841と,照合
結果を集計するデータ集計部15と,表示手段としての端
末16とよりなる。
The inspection apparatus includes a CCD camera 11 that reads a wiring pattern 101 on a printed wiring board 10 as shown in FIG.
A / D converter 12 for converting an analog signal of CCD camera 11 into a digital image signal, mask section 81, defect shape recognition section 851, and signals from mask section 81 and defect shape recognition section are collated. It comprises a through-hole mask collating unit 841, a data compiling unit 15 for compiling the collation results, and a terminal 16 as display means.

上記マスク部81は,標準とするプリント配線基板の配
線パターンを基準として,A/D変換器12からの2値画像信
号に基づきスルーホール・マスクを形成するスルーホー
ル・マスク作成部811と,該スルーホール・マスクを記
憶しておくメモリー部812と,検査時においてスルーホ
ール・マスクを読み出す読み出し部813とからなる。
The mask unit 81 includes a through-hole mask creating unit 811 that forms a through-hole mask based on a binary image signal from the A / D converter 12 based on a standard wiring pattern of a printed wiring board. The memory unit 812 stores a through-hole mask, and a reading unit 813 reads out the through-hole mask at the time of inspection.

そして,上記スルーホール・マスク作成部におけるス
ルーホール・マスクの作成は,配線パターンを形成する
以前でスルーホール用孔を設けたドリルボードや,スル
ーホールランド部に座残りが十分にあり,撮像した場合
の2値画像上に座切れが生じないプリント配線基板を用
いて,スルーホール周りの撮像を行うことにより作成す
る。
The through-hole mask was created by the through-hole mask creating unit before the wiring pattern was formed. It is created by taking an image around the through hole using a printed circuit board that does not cause breakage on the binary image in the case.

これによって,スルーホールの穴とランドとの位置関
係を認識し,実際の検査時に,全ての検出系に虚報が出
ないような,充分な大きさのマスクを作成しておく。上
記検出系とは,ラインパターンにおける断線,欠け,シ
ョートなどの各欠陥形状に応じた検出を行う系(第16図
における欠陥形状認識部851,852,853に相当する)をい
う。
In this way, the positional relationship between the hole of the through hole and the land is recognized, and a mask having a sufficient size is created so that no false alarm is output to all the detection systems during an actual inspection. The detection system is a system (corresponding to the defect shape recognition units 851, 852, and 853 in FIG. 16) that performs detection according to each defect shape such as disconnection, chipping, and short-circuit in a line pattern.

また,該読み出し部813においては,全ての上記検出
系の欠陥形状認識位置に関して,その中庸にスルーホー
ルマスクがかかるように,読み出し時に補正をかける。
Further, the reading unit 813 corrects the defect shape recognition positions of all the detection systems at the time of reading so that a through-hole mask is applied moderately.

次に,欠陥形状認識部851は,A/D変換器12からの画像
信号を空間フィルターにより処理して,特徴抽出法によ
り,断線に関する欠陥形状を認識(検出)する。
Next, the defect shape recognition unit 851 processes the image signal from the A / D converter 12 with a spatial filter, and recognizes (detects) the defect shape related to the disconnection by the feature extraction method.

また,同図において他の欠陥形状認識部852,853は,
同様に画像信号を空間フィルターにより処理して,それ
ぞれ欠け,ショートに関する欠陥形状を認識する。
In the same figure, the other defect shape recognition units 852 and 853
Similarly, the image signal is processed by a spatial filter to recognize a defect shape related to a missing or short circuit.

上記空間フィルターは,断線用,ショート用など欠陥
形状に応じた画像信号のみを通過させるように,それぞ
れデザインしてある。また,この欠陥形状認識部は,A/D
変換器12からの2値画像信号が一応仮に欠陥形状と判断
されるデータ(欠陥候補データ)である場合に,その欠
陥候補データをスルーホール・マスク照合部に送信す
る。
Each of the spatial filters is designed to pass only an image signal corresponding to a defect shape such as a disconnection or a short-circuit. In addition, this defect shape recognition unit uses A / D
If the binary image signal from the converter 12 is data (defect candidate data) temporarily determined to be a defect shape, the defect candidate data is transmitted to the through-hole mask collation unit.

また,上記スルーホール・マスク照合部841は,上記
欠陥形状認識部851からの欠陥候補データと,前記マス
ク部81の読み出し部813からのスルーホール・マスクと
を照合する。このとき,スルーホール・マスクの上記読
み出しは,欠陥形状認識部851の断線に関する欠陥候補
データの中庸,即ち欠陥形状認識用空間フィルターのマ
トリックスの中心部に,スルーホール・マスクがかかる
ように補正をかけて行う。
Further, the through-hole mask collation unit 841 collates the defect candidate data from the defect shape recognition unit 851 with the through-hole mask from the read unit 813 of the mask unit 81. At this time, the reading of the through-hole mask is corrected so that the through-hole mask is applied to the middle of the defect candidate data relating to the disconnection of the defect shape recognition unit 851, that is, the center of the matrix of the spatial filter for defect shape recognition. I do it.

そして,スルーホール・マスク照合部841における上
記照合の結果,上記欠陥候補データが真の欠陥形状であ
ると判断されたときには,その旨の信号がデーター集計
部15,端末16へ送られる。つまり,上記欠陥候補データ
がスルーホール・マスクの内部にない場合には,真の欠
陥形状と認識される。
Then, as a result of the above-mentioned collation in the through-hole mask collation unit 841, when it is determined that the defect candidate data has a true defect shape, a signal to that effect is sent to the data totaling unit 15 and the terminal 16. That is, if the defect candidate data is not inside the through-hole mask, it is recognized as a true defect shape.

これらのことは,欠陥形状認識部852,853と,スルー
ホール・マスク照合部842,843との間でも行われ,欠
け,ショート等の欠陥形状が検査される。
These operations are also performed between the defect shape recognition units 852 and 853 and the through-hole / mask matching units 842 and 843, and defect shapes such as chipping and short-circuit are inspected.

〔解決しようとする課題〕[Problem to be solved]

しかしながら,上記欠陥形状認識部における欠陥候補
データの検出は,空間フィルターを用いて特徴抽出を行
う方法であるため,空間フィルターのウィンドウ内に特
徴抽出のルールを設定している。その関係上,常にウィ
ンドウ内の中心部に欠陥部分が適合するようにルールを
設定することができるとは限らない。
However, the detection of defect candidate data in the defect shape recognition unit is a method of extracting a feature using a spatial filter, and thus a rule for extracting a feature is set in a window of the spatial filter. For this reason, it is not always possible to set a rule so that a defective portion always fits the center of the window.

一方,スルーホールマスクは,穴部を中心に作成され
ているので,欠陥形状認識用空間フィルター上において
は,スルーホール周りで空間フィルターのルールが適合
した時,穴部に相当する位置にマスクを施すことが正確
なマスクの施し方といえる。
On the other hand, since the through-hole mask is created around the hole, when the spatial filter rule is applied around the through-hole on the defect shape recognition spatial filter, the mask is placed at the position corresponding to the hole. It can be said that applying the mask is an accurate method of applying the mask.

第17図は,空間フィルターのウィンドウ96内に穴部分
960が位置した状態を示している。同図は,欠け状態を
示している。即ち,この場合は,配線パターンのパター
ン像962の画像信号とプリント配線基板の基材像961の画
像信号があり,穴部と想定される穴部分960が位置する
が,該穴部分960はウィンドの任意の位置にある。つま
り,穴部分960は,中心位置にはない。
Figure 17 shows a hole in the window 96 of the spatial filter.
960 shows a state where it was located. This figure shows a chipped state. That is, in this case, there are an image signal of the pattern image 962 of the wiring pattern and an image signal of the base material image 961 of the printed wiring board, and the hole 960 which is assumed to be a hole is located. In any position. That is, the hole portion 960 is not at the center position.

一方,第18図は,パターン像972と基材像971があり,
穴部と想定される位置は970に示すポイントである。な
お,同図は断線状態の場合を示している。
On the other hand, FIG. 18 shows a pattern image 972 and a base material image 971,
The position assumed to be the hole is the point indicated by 970. The figure shows the case of the disconnection state.

そして,これら両図は,同じサイズのウィンドウにル
ールを設定したところ,穴部分の位置が各々任意である
ことを示している。
These figures show that when the rule is set for windows of the same size, the positions of the hole portions are arbitrary.

このように,上記ウィンドウにおける穴部分の位置が
異なるため,前記スルーホール・マスク照合部841に対
して,マスク部の読み出し部813から一律のスルーホー
ル・マスクを送信しても,その照合精度は悪い。つま
り,欠陥候補データが真の欠陥形状でないにも拘らず,
スルーホール・マスク照合部において真の欠陥形状とし
て虚報が出されることとなる。
As described above, since the positions of the holes in the window are different, even if a uniform through-hole mask is transmitted from the mask readout unit 813 to the through-hole mask collation unit 841, the collation accuracy is high. bad. In other words, although the defect candidate data is not a true defect shape,
A false report is issued as a true defect shape in the through-hole mask collation unit.

そこで,上記虚報を防止するために,大き目のスルー
ホール・マスクのデータをスルーホール・マスク照合部
に送ることが考えられる。しかし,この場合は,逆に,
スルーホールの近傍のラインパターンに発生している真
の欠陥形状を見逃すことになってしまう。
Therefore, in order to prevent the false alarm, it is conceivable to send data of a large through-hole mask to a through-hole mask collation unit. However, in this case, conversely,
The true defect shape generated in the line pattern near the through hole will be missed.

本発明は,かかる従来の問題点に鑑み,各欠陥候補デ
ータに対して個々に最適な位置,寸法のスルーホール・
マスクを照合することができ,スルーホール周りからの
虚報を防止することができるプリント配線基板の検査装
置を提供しようとするものである。
In view of such a conventional problem, the present invention proposes a through hole with an optimal position and size for each defect candidate data.
An object of the present invention is to provide a printed wiring board inspection apparatus capable of collating a mask and preventing a false report from around a through hole.

〔課題の解決手段〕[Solutions to solve the problem]

本発明は,プリント配線基板上の配線パターンを撮像
する撮像装置と,該撮像装置の画像信号からスルホール
・マスクを作成し,かつ記憶するマスク部と,上記画像
信号と上記スルホール・マスクとを照合する欠陥検出部
と,該欠陥検出部の欠陥データを集計するデータ集計部
とよりなる。そして,上記マスク部は,プリント配線基
板のスルーホールの穴部分のみを抽出すると共にその抽
出穴像を任意に拡大,縮小するスルホール基本マスク作
成部と,該スルホール基本マスク作成部で作成された抽
出穴像をスルホール・マスク像として保存しておくマス
クメモリー部とにより構成する。また,上記欠陥検出部
は,欠陥形状を想定したルールを設定してある空間フィ
ルターを用いて,上記画像信号から欠陥形状を認識し,
その欠陥候補データを出力する欠陥形状認識部と,検査
時にマスクメモリー部から出力される基本マスク像と欠
陥形状認識部の欠陥候補データとの適合位置を,各欠陥
形状認識部固有の入力画像に対する形状認識位置に合わ
せて,スルーホール・マスク側を移動させることにより
合致させると共に必要に応じて適合領域の大きさを拡張
するスルホール・マスク補正部と,該スルホール・マス
ク補正部から出力された補正済スルホール・マスクを上
記欠陥形状認識部から出力された欠陥候補データと照合
するスルホール・マスク照合部とよりなる。また,上記
欠陥検出部は欠陥形状の種類数に応じて配設してある。
The present invention relates to an imaging device that images a wiring pattern on a printed wiring board, a mask unit that creates and stores a through-hole mask from an image signal of the imaging device, and compares the image signal with the through-hole mask. And a data counting unit that counts the defect data of the defect detection unit. The mask unit extracts a hole portion of the through hole of the printed wiring board and arbitrarily enlarges or reduces the extracted hole image. The through hole basic mask creating unit, and the extraction unit created by the through hole basic mask creating unit. And a mask memory unit for storing the hole image as a through-hole mask image. Further, the defect detection unit recognizes the defect shape from the image signal using a spatial filter in which a rule assuming the defect shape is set,
A defect shape recognition unit that outputs the defect candidate data, and a matching position between the basic mask image output from the mask memory unit at the time of inspection and the defect candidate data of the defect shape recognition unit are determined with respect to an input image unique to each defect shape recognition unit. A through-hole mask correction unit that moves the through-hole mask side to match the shape recognition position and expands the size of the adaptation area as necessary, and a correction output from the through-hole mask correction unit And a through-hole mask comparison unit that compares the completed through-hole mask with the defect candidate data output from the defect shape recognition unit. Further, the defect detection units are arranged according to the number of types of defect shapes.

本発明において最も注目すべきことは,上記スルーホ
ール基本マスク作成部を有するマスクメモリー部と,上
記スルーホール・マスク補正部を有する欠陥検出部とを
設けたことにある。
The most remarkable feature of the present invention is that a mask memory unit having the through-hole basic mask creating unit and a defect detecting unit having the through-hole mask correcting unit are provided.

上記基本マスク作成部においては,プリント配線基板
のスルーホールの穴部分のみを抽出すると共にその抽出
穴像を任意に拡大,縮小する。上記抽出穴像は,例え
ば,ドリルボードを上記撮像装置により撮像した画像に
対して,フィルター処理を施して穴部分のみを抽出する
ことにより作成する。なお,ドリルボードとは,プリン
ト配線基板用の基材にスルーホール用の孔を穿設した板
である。
In the basic mask creating section, only the through hole portion of the printed wiring board is extracted, and the extracted hole image is arbitrarily enlarged or reduced. The extracted hole image is created, for example, by filtering an image of a drill board captured by the imaging device and extracting only the hole portion. The drill board is a plate in which a hole for a through hole is formed in a substrate for a printed wiring board.

また,上記抽出穴像は,欠陥形状認識部の欠陥候補デ
ータに対して適切な大きさに,上記スルーホール・マス
ク補正部において,拡張できるよう,必要に応じて予め
任意の大きさに縮小又は拡大しておく。なお,通常は必
要最小限の寸法にしておき,スルーホール・マスク補正
部で必要に応じて拡張し,スルーホール・マスク照合部
に送る。
In addition, the extracted hole image is reduced or enlarged to an arbitrary size in advance as necessary so that the extracted hole image can be expanded in the through hole mask correction unit to an appropriate size for the defect candidate data of the defect shape recognition unit. Enlarge it. Normally, the dimension is set to the minimum necessary size, expanded as needed by the through-hole mask correction unit, and sent to the through-hole mask comparison unit.

また,上記のごとく,任意の大きさにした抽出穴像
は,スルーホール・マスクメモリー部にメモリーしてお
き,欠陥形状認識部の欠陥候補データと照合する際にス
ルーホール・マスク補正部に送信する。
As described above, the extracted hole image arbitrarily sized is stored in the through-hole mask memory unit and transmitted to the through-hole mask correction unit when collating with the defect candidate data of the defect shape recognition unit. I do.

上記欠陥検出部は,断線,欠け,ショートなどの欠陥
形状に応じた欠陥検出系毎に配設する。それ故,欠陥検
出部は,検出しようとする上記欠陥形状の数だけ設け
る。そして,各欠陥検出部は,それぞれ検出すべき欠陥
形状に応じた,欠陥形状認識部とスルーホール・マスク
補正部及びスルーホール・マスク照合部を有する。つま
り,欠陥検出部は,1種類の欠陥形状に対して,1組の欠陥
形状認識部,スルーホール・マスク補正部及びスルーホ
ール・マスク照合部を具備している。
The defect detection unit is provided for each defect detection system corresponding to a defect shape such as disconnection, chipping, or short-circuit. Therefore, the defect detection units are provided by the number of the defect shapes to be detected. Each defect detection unit has a defect shape recognition unit, a through-hole mask correction unit, and a through-hole mask collation unit according to the defect shape to be detected. That is, the defect detection unit includes a set of defect shape recognition units, a through-hole mask correction unit, and a through-hole mask comparison unit for one type of defect shape.

上記欠陥形状認識部は,前記従来と同様にA/D変換器
から送られた2値画像信号を空間フィルターにより処理
する。即ち,上記欠陥形状の種類に応じてデザインされ
た空間フィルターを用いて,断線,欠け等の欠陥候補デ
ータを認識する。そして,該欠陥候補データをスルーホ
ール・マスク照合部に送る。
The defect shape recognition unit processes the binary image signal sent from the A / D converter by using a spatial filter as in the conventional case. That is, using a spatial filter designed according to the type of the defect shape, defect candidate data such as disconnection or chipping is recognized. Then, the defect candidate data is sent to a through-hole mask collation unit.

一方,スルーホール・マスク補正部においては,同じ
組(例えば,断線検出用)の欠陥形状認識部で検出され
る欠陥候補データに対して,相応する欠陥形状のスルー
ホール・マスクを適合すべく,スルーホール・マスクメ
モリー部より基本マスク像を呼み出している。
On the other hand, in the through-hole mask correction unit, in order to adapt the through-hole mask of the corresponding defect shape to the defect candidate data detected by the defect shape recognition unit of the same group (for example, for disconnection detection), The basic mask image is called out from the through-hole mask memory section.

そして,ここに重要なことは,スルーホール・マスク
メモリー部から呼び出した基本マスク像は,欠陥形状認
識部の欠陥候補データとの照合に先立って,各欠陥形状
認識部固有の入力画像に対する形状認識位置に合わせて
スルーホール・マスク側を移動することである。また,
その欠陥候補データの欠陥形状に応じて適合領域の大き
さを拡張することである。
What is important here is that the basic mask image called from the through-hole mask memory unit performs shape recognition on the input image unique to each defect shape recognition unit before collation with the defect candidate data of the defect shape recognition unit. Moving the through-hole / mask side according to the position. Also,
The purpose is to expand the size of the matching area according to the defect shape of the defect candidate data.

このように,欠陥候補データに応じて,適合位置の移
動を行う手段,また上記の適合領域の大きさを拡張する
手段としては,例えば次に示すものがある。
As described above, examples of means for moving the matching position according to the defect candidate data and means for expanding the size of the matching area include the following.

即ち,かかる手段としては,欠陥形状認識用の空間フ
ィルターと同寸法(分解能は,特に同じでなくても良
い。例えば欠陥認識用のものは分解能10μmで,20×20
画素マトリックスの空間フィルター。マスク補正用のも
のは,分解能20μmで,10×10画素マトリックスの空間
フィルター)の空間フィルターを用いる。このスルーホ
ール・マスク補正部の空間フィルターは,マトリックス
上に登録したポイントの出力が全てOR条件で結ばれてい
て,スルーホール・マスク適合部を空間フィルターのマ
トリックス上に任意に登録することにより,上記機能が
実現できる。例えば,第12図左下方に示す様なABC,DEF,
GHIの9個のマトリックスに対して,BDEFHのどれかに正
論理の基本スルーホール・マスクが入力されれば,補正
済みマスクが負論理で得られる。
That is, as such means, the same size as the spatial filter for recognizing the defect shape (the resolution may not be particularly the same.
Pixel matrix spatial filter. For the mask correction, a spatial filter having a resolution of 20 μm and a spatial filter of a 10 × 10 pixel matrix is used. In the spatial filter of this through-hole mask correction unit, the outputs of the points registered on the matrix are all connected by an OR condition, and the through-hole mask matching unit is arbitrarily registered on the spatial filter matrix. The above functions can be realized. For example, ABC, DEF,
If a basic through-hole mask of positive logic is input to any of BDEFH for the nine matrices of GHI, a corrected mask is obtained with negative logic.

スルーホール・マスク照合部においては,上記欠陥形
状認識部からの欠陥候補データとスルーホール・マスク
補正部からの補正済スルーホール・マスクとを照合す
る。そして,欠陥候補データが該スルーホール・マスク
の中にあるときには,真の欠陥形状でないと判断され
る。また,逆の場合には真の欠陥形状であるとしてデー
タ集計部に送信される。
The through-hole mask comparison unit collates the defect candidate data from the defect shape recognition unit with the corrected through-hole mask from the through-hole mask correction unit. When the defect candidate data exists in the through-hole mask, it is determined that the defect shape is not a true defect shape. In the opposite case, it is transmitted to the data totaling unit as a true defect shape.

なお,本発明において,スルホールの近傍に発生して
いる欠陥形状とは,スルーホールの開口周縁に設けたラ
ンド以外の,スルーホール近くのラインパターンにおけ
る欠陥形状をいう。また,「スルーホール周り」とは上
記ランド及びスルーホール近くのランパターンをいう。
In the present invention, the defect shape occurring in the vicinity of the through hole means a defect shape in a line pattern near the through hole other than the land provided on the periphery of the opening of the through hole. Further, "around the through hole" means a run pattern near the land and the through hole.

〔作用及び効果〕[Action and effect]

本発明においては,マスク部に上記スルーホール基本
マスク作成部を設けたので,抽出穴像を任意の大きさと
することができ,スルーホール・マスク補正部へ送信す
るスルーホール・マスクの基本サイズを任意に選択する
ことができる。そのため,該基本サイズを最小寸法など
に細かく設定することができ,前記従来のごとく,スル
ーホール・マスクが大きいために,スルーホールの近傍
に発生している真の欠陥形状を検出できないということ
がない。
In the present invention, since the through-hole basic mask creating section is provided in the mask section, the extracted hole image can be arbitrarily sized, and the basic size of the through-hole mask to be transmitted to the through-hole mask correction section can be reduced. It can be arbitrarily selected. For this reason, the basic size can be set finely to the minimum dimension and the like, and the fact that the through hole mask is large as in the prior art cannot detect the true defect shape generated near the through hole. Absent.

また,抽出穴像は,ビットマップ的に処理するため,
スルーホールが異形であっても,スルーホール部の認識
処理を容易に行うことができる。
In addition, since the extracted hole image is processed like a bitmap,
Even if the through-hole has an irregular shape, the recognition processing of the through-hole can be easily performed.

また,スルーホール・マスク補正部は,断線等の欠陥
検出系に合わせて,適合位置をずらし,また必要に応じ
て適合領域の大きさを拡張できるので,スルーホール周
りからの欠陥候補データの種類に応じて,スルーホール
・マスクのかかり具合を,正確に,しかも微調整するこ
とができる。
In addition, the through-hole mask correction unit can shift the conforming position in accordance with the defect detection system such as a disconnection and expand the size of the conforming area as necessary. Accordingly, the degree of engagement of the through-hole mask can be precisely and finely adjusted.

したがって,本発明によれば,各欠陥候補データに対
し個々に最適な位置,寸法のスルーホール・マスクを照
合することができ,スルーホール周りからの虚報を防止
することができる,プリント配線基板の検査装置を提供
することができる。
Therefore, according to the present invention, it is possible to collate a through hole mask having an optimum position and size with respect to each defect candidate data, and to prevent a false report from around the through hole. An inspection device can be provided.

〔実施例〕〔Example〕

第1実施例 本発明の実施例にかかる,プリント配線基板の検査装
置につき,第1図〜第8C図を用いて説明する。
First Embodiment A printed wiring board inspection apparatus according to an embodiment of the present invention will be described with reference to FIGS. 1 to 8C.

即ち,本例の検査装置は,第1図にその全体を示すご
とく,プリント配線基板10上の配線パターン101を撮像
する撮像装置としてのCCDカメラ11と,A/D変換器12と該C
CDカメラ11の2値画像信号からスルーホール・マスクを
作成しかつ記憶するマスク部2と,上記画像信号と上記
スルーホール・マスクとを照合する欠陥検出部3と,該
欠陥検出部3の欠陥データを集計するデータ集計部15
と,端末16とよりなる。
That is, as shown in FIG. 1 in its entirety, the inspection apparatus of the present embodiment includes a CCD camera 11 as an imaging device for imaging a wiring pattern 101 on a printed wiring board 10, an A / D converter 12, and a CCD camera.
A mask unit 2 for creating and storing a through-hole mask from the binary image signal of the CD camera 11, a defect detecting unit 3 for comparing the image signal with the through-hole mask, and a defect of the defect detecting unit 3 Data tabulation unit 15 for tabulating data
And terminal 16.

上記マスク部2は,プリント配線基板10のスルーホー
ルの穴部分のみを抽出すると共にその抽出穴像を任意に
拡大,縮小するスルーホール基本マスク作成部21と,該
スルーホール基本マスク作成部21で作成された抽出穴像
をスルーホール・マスク像として保存しておくスルーホ
ール・マスクメモリー部22とよりなる。
The mask unit 2 includes a through-hole basic mask creating unit 21 that extracts only a hole portion of a through-hole of the printed wiring board 10 and arbitrarily enlarges or reduces the extracted hole image. A through-hole mask memory unit 22 stores the created extracted hole image as a through-hole mask image.

また,上記欠陥検出部3は,欠陥形状認識部31とスル
ーホール・マスク補正部35と,スルーホール・マスク照
合部36とよりなる。
The defect detection unit 3 includes a defect shape recognition unit 31, a through-hole mask correction unit 35, and a through-hole mask comparison unit 36.

そして,該欠陥検出部3は断線用欠陥検出系として用
いる。また,欠陥検出部は,上記断線検出用の外に,第
1図に示すごとく,欠け用欠陥検出部3B,ショート用欠
陥検出部3C,線間不良用欠陥検出部3Dがある。
The defect detector 3 is used as a disconnection defect detection system. As shown in FIG. 1, the defect detection unit includes a defect detection unit 3B for a chip, a defect detection unit 3C for a short circuit, and a defect detection unit 3D for a defective line, as shown in FIG.

上記欠陥形状認識部31においては,欠陥形状を想定し
たルールを設定してある空間フィルターを用いて,A/D変
換器12からの2値画像信号から欠陥形状の有無を判別
し,一応欠陥形状と認めたときには欠陥候補データを出
力する。
The defect shape recognition unit 31 determines the presence or absence of the defect shape from the binary image signal from the A / D converter 12 using a spatial filter in which a rule assuming the defect shape is set. If the answer is YES, defect candidate data is output.

また,スルーホール・マスク補正部35においては,検
査時に上記スルーホール・マスクメモリー部22から出力
される基本マスク像と上記欠陥候補データとの適合位置
を,各欠陥形状認識部固有の入力画像に対する形状認識
位置に合わせてスルーホール・マスク側を移動させるこ
とにより合致させる。また,これと共に,必要に応じて
スルーホール・マスクの適合領域の大きさを拡張する。
該スルーホール・マスク補正部35においては,断線に関
するスルーホール・マスクをスルーホール・マスクメモ
リー部22より読み出してある。
The through-hole mask correction unit 35 determines the matching position between the basic mask image output from the through-hole mask memory unit 22 and the defect candidate data at the time of inspection with respect to an input image unique to each defect shape recognition unit. The matching is achieved by moving the through hole / mask side in accordance with the shape recognition position. At the same time, the size of the matching area of the through-hole mask is expanded as necessary.
In the through-hole mask correction unit 35, a through-hole mask relating to the disconnection is read from the through-hole mask memory unit 22.

次に,スルーホール・マスク照合部36においては,上
記欠陥形状認識部31からの欠陥候補データと上記スルー
ホール・マスク補正部35からのスルーホール・マスクと
を照合し,上記欠陥候補データがスルーホール・マスク
の中にはいっているか否かを検査する。そして,欠陥候
補データがスルーホール・マスクの中にはいっている場
合には,真の欠陥形状でないと判定する。
Next, in the through-hole mask collation unit 36, the defect candidate data from the defect shape recognition unit 31 and the through-hole mask from the through-hole mask correction unit 35 are collated. Check if you are inside the hole mask. If the defect candidate data is included in the through-hole mask, it is determined that the defect shape is not a true defect shape.

一方,上記と逆の場合には,真の欠陥形状であると判
定する。そして,データ集計部15,端末16にこれらのデ
ータが送信される。
On the other hand, in the case opposite to the above, it is determined that the shape is a true defect. Then, these data are transmitted to the data totaling unit 15 and the terminal 16.

上記の欠陥検出部3の作用は,他の上記欠陥検出部3
B,3C,3Dにおいても,欠陥認識形状(欠け,ショートな
ど)と,スルーホールマスク補正ルールが異なる外は,
同様である。
The operation of the defect detection unit 3 is different from that of the other defect detection units 3.
In B, 3C and 3D, except that the defect recognition shape (chip, short, etc.) and the through-hole mask correction rule are different,
The same is true.

次に,各部の詳細につき説明する。 Next, the details of each part will be described.

まず,マスク部2のスルーホール基本マスク作成部21
においては,第2図に示すごとく,基本マスクを作成す
る。即ち,スルーホール用の穿孔を行ったドリルボー
ド,或いはスルーホールランド部の座切れのないプリン
ト配線基板などを用いて,スルーホール周辺をCCDカメ
ラ11により撮像する。そして,A/D変換器12により,任意
のスレッショルドレベルにおいて2値画像信号となす。
このときの,画像信号は,第2図のAに示すごとく,ス
ルーホール像4と周辺の汚れ,ゴミ等の不要像41を含ん
でいる。
First, a through-hole basic mask creating section 21 of the mask section 2
In FIG. 2, a basic mask is created as shown in FIG. That is, the periphery of the through hole is imaged by the CCD camera 11 using a drill board having a hole for the through hole or a printed wiring board having no break in the land portion of the through hole. Then, the image data is converted into a binary image signal at an arbitrary threshold level by the A / D converter 12.
At this time, the image signal includes the through-hole image 4 and the unnecessary image 41 such as dirt and dust in the periphery, as shown in FIG. 2A.

そこで,Bに示すごとく,汚れ,ゴミ等の不要像41を除
去する空間フィルター451を用いて,設定形状以下の像
はカットする。これによりCに示す抽出穴像40を得る。
該抽出穴像40の周囲の点線円42は,Aに示したスルーホー
ル画像信号4の大きさである。
Therefore, as shown in B, images smaller than the set shape are cut using a spatial filter 451 for removing unnecessary images 41 such as dirt and dust. Thus, an extraction hole image 40 shown in C is obtained.
A dotted circle 42 around the extracted hole image 40 is the magnitude of the through-hole image signal 4 indicated by A.

上記のようにして得た抽出穴像40は,同図のDに示す
ごとく,復元用空間フィルター452を用いて,Eに示すご
とく,元のスルーホール像4と同じ径の復元像401に復
元できる。また,この復元像401は,Fに示す拡大用空間
フィルター453を用いて,Gに示すごとく拡大像403とする
ことができる。
The extracted hole image 40 obtained as described above is restored to a restored image 401 having the same diameter as the original through-hole image 4 as shown at E by using a restoration spatial filter 452 as shown at D in FIG. it can. Further, this restored image 401 can be made into an enlarged image 403 as shown by G by using the spatial filter for enlargement 453 shown by F.

上記復元用空間フィルター452,拡大用空間フィルター
453は,その指定領域内に1画素でも入力があれば,出
力が生じるルールになっており,指定領域入力を全てOR
接続した回路といってよい。
Spatial filter for restoration 452, Spatial filter for enlargement
453 is a rule that if there is even one pixel input in the specified area, an output is generated.
It can be called a connected circuit.

また,汚れ除去用空間フィルター451は,指定領域以
上の大きさの入力のみ通過させるルールになっており,
指定領域入力全てをAND接続した回路である。
Also, the dirt removal spatial filter 451 has a rule that allows only inputs larger than the specified area to pass.
This is a circuit in which all the specified area inputs are AND-connected.

このように,スルーホール基本マスク作成部21におい
ては,抽出穴像40を任意の大きさに,拡大,縮小する。
勿論抽出穴像40のままの大きさであっても良い。これに
より,基本マスク像を作成する。該基本マスク像は,ス
ルーホール・マスクメモリー部22に保存し,検査時にお
いてスルーホール・マスク補正部35により読み出され
る。
As described above, in the through-hole basic mask creating unit 21, the extracted hole image 40 is enlarged or reduced to an arbitrary size.
Of course, the size may be the same as the extracted hole image 40. Thereby, a basic mask image is created. The basic mask image is stored in the through-hole mask memory unit 22, and is read out by the through-hole mask correction unit 35 at the time of inspection.

次に,欠陥形状認識部31においては,検査時にA/D変
換器12より2値画像信号を入力し,断線検出用にデザイ
ンした空間フィルターを用いて,画像信号中に一応断線
部分と認められる「欠陥候補データ」があるか否かを検
出する。そして,欠陥候補データがあったときには,ス
ルーホール・マスク照合部36に出力する。
Next, in the defect shape recognition unit 31, a binary image signal is input from the A / D converter 12 at the time of inspection, and the image signal is recognized as a broken line portion temporarily using a spatial filter designed for detecting a broken line. It is detected whether there is “defect candidate data”. When there is defect candidate data, the data is output to the through-hole mask collation unit 36.

該空間フィルターの具体的構成例を第3図に示した。
同図より知られるごとく,空間フィルターは,2値画像を
入力とし,横方向はシフトレジスタにより,縦方向はラ
インメモリにより構成されている。そして,シフトレジ
スタからの出力は,極性反転されてAND条件のフィルタ
ーを経て,上記欠陥候補データが出力される。即ち,欠
陥形状認識部31においては,断線形状が,この手法を用
いてハードウェア化されていることになる。この空間フ
ィルターを用いることで,断線に関する検査が行われ
る。
FIG. 3 shows a specific configuration example of the spatial filter.
As is known from the figure, the spatial filter receives a binary image as input, and is constituted by a shift register in the horizontal direction and a line memory in the vertical direction. Then, the output from the shift register is inverted, and the defect candidate data is output through a filter of an AND condition. That is, in the defect shape recognition unit 31, the disconnection shape is implemented by hardware using this method. By using this spatial filter, an inspection for disconnection is performed.

次に,スルーホール・マスク補正部35においては,第
4A図,第4B図に示すごとくスルーホール・マスクの補正
が行われる。
Next, in the through-hole mask correction unit 35,
As shown in FIGS. 4A and 4B, the correction of the through-hole mask is performed.

即ち,第4A図に示すごとく,スルーホールランド51に
擬似断線部511がある場合は,その画像信号は断線形状
認識用空間フィルターのウィンドウ53内において,基材
像531とパターン像532と欠陥部分533とが適合する。
That is, as shown in FIG. 4A, when there is a pseudo disconnection portion 511 in the through-hole land 51, the image signal is transmitted to the substrate image 531 and the pattern image 532 and the defective portion within the window 53 of the disconnection shape recognition spatial filter. Compatible with 533.

そこで,スルーホール・マスク補正部においては,第
4B図に示すごとく,スルーホール・マスクメモリー部22
より基本マスク44を呼び出し,入力とする。
Therefore, in the through-hole mask correction unit,
As shown in Fig. 4B, the through-hole mask memory section 22
Then, the basic mask 44 is called and input.

そして,補正用空間フィルターのウィンドウ460内に
おいては,空間フィルター53のデザインを考慮に入れた
データが設定されている。即ち,ウィンドウ53におい
て,スルーホール周りの擬似断線が適合した時,穴部が
どのあたりに位置するのかをチェックし,そこに相当す
る部分をウィンドウ460内に登録するのである。この登
録領域46が第4B図中に例示してある。
In the correction spatial filter window 460, data taking into account the design of the spatial filter 53 is set. That is, when the pseudo disconnection around the through hole is matched in the window 53, it is checked where the hole is located, and the corresponding portion is registered in the window 460. This registration area 46 is illustrated in FIG. 4B.

登録領域46の位置,大きさを加減することで,基本マ
スク44を,最適に欠陥候補データに施すことができる。
By adjusting the position and size of the registration area 46, the basic mask 44 can be optimally applied to the defect candidate data.

補正用空間フィルターのウィンドウ460において,登
録領域46に基本マスクが1ポイントでも適合すれば,出
力が生ずる。この出力が補正済スルーホール・マスク・
データであり,スルーホール・マスク照合部36に送られ
る。
If at least one point of the basic mask matches the registration area 46 in the correction spatial filter window 460, an output is generated. This output is the corrected through-hole mask
The data is sent to the through-hole mask collation unit 36.

第5図は,上記欠陥形状認識部31とスルーホール・マ
スク補正部35からの出力をAND素子を用いたスルーホー
ル・マスク照合部36により,照合する状態を示してい
る。
FIG. 5 shows a state where the outputs from the defect shape recognition unit 31 and the through-hole mask correction unit 35 are collated by the through-hole mask collation unit 36 using an AND element.

同図において,欠陥形状認識部の欠陥検出用空間フィ
ルターのウィンドウ6には,基材像61とパターン像62が
設定されている。そして,スルーホール周りで本空間フ
ィルターのルールが適合した場合の穴位置が,穴部分63
で示されている。一方,スルーホール・マスク補正部35
のマスク適合位置補正用の空間フィルターにおいては,
そのウィンドウ460の一定位置に基本スルーホール・マ
スクの適合ポイントである前記登録領域46が位置してい
る。該登録領域46の位置は,先のウィンドウ6の穴部分
63のポイントに相当する位置である。
In the figure, a base material image 61 and a pattern image 62 are set in a window 6 of the defect detection spatial filter of the defect shape recognition unit. The hole position when the rule of this spatial filter conforms around the through hole is the hole position.
Indicated by On the other hand, the through-hole mask correction unit 35
In the spatial filter for correcting the mask matching position of
The registration area 46, which is a matching point of the basic through-hole mask, is located at a certain position in the window 460. The registration area 46 is located in the hole
This is a position corresponding to 63 points.

そこで,欠陥形状認識部31とスルーホール・マスク補
正部35からの出力が,第5図に示すごとく,スルーホー
ル・マスク照合部36に入る。そして,該スルーホール・
マスク照合部36において,上記穴部分63の位置即ちスル
ーホール・マスクの登録領域46の位置に,基本マスクが
適合しているときには,0(ゼロ)が出力される。つまり
欠陥形状認識部31の欠陥候補データは真の欠陥形状でな
いと判断される。上記の適合がない場合には,1が出力さ
れ,真の欠陥形状と判定される。
Therefore, the outputs from the defect shape recognition unit 31 and the through-hole mask correction unit 35 enter the through-hole mask comparison unit 36 as shown in FIG. And the through hole
When the basic mask matches the position of the hole portion 63, that is, the position of the registration area 46 of the through-hole mask, the mask collating unit 36 outputs 0 (zero). That is, it is determined that the defect candidate data of the defect shape recognition unit 31 is not a true defect shape. If there is no match, 1 is output and it is determined that the shape is a true defect.

一方,スルーホール周辺からの虚報を防ぐためには,
スルーホール・マスクを大きくする必要があるが,スル
ーホール周辺の欠陥を検出する為にはスルーホール・マ
スクを小さく押さえる必要がある。そして,スルーホー
ル・マスクの大きさは,欠陥形状の種類によりその最適
寸法の大きさが異なっている。そこで,本例では欠陥形
状の種類に応じてスルーホール・マスクの大きさを変え
てやるのである。
On the other hand, to prevent false alarms from around the through-hole,
It is necessary to enlarge the through-hole mask, but it is necessary to keep the through-hole mask small in order to detect defects around the through-hole. The size of the through-hole mask has a different optimal size depending on the type of the defect shape. Therefore, in this example, the size of the through-hole mask is changed according to the type of the defect shape.

即ち,第6図に示すごとく,上記のマスク適合位置補
正用の空間フィルターを応用して処理を行う。つまり,
ウィンドウ460における上記穴部分63の位置を中心とし
て,スルーホール・マスクを拡張し適合領域461を大き
く設定する。これにより,入力スルーホール・マスクに
対して,実質的にスルーホール・マスクを拡大できる。
That is, as shown in FIG. 6, processing is performed by applying the spatial filter for correcting the mask matching position. That is,
The through-hole mask is expanded around the position of the hole portion 63 in the window 460, and the matching area 461 is set large. As a result, the through-hole mask can be expanded substantially with respect to the input through-hole mask.

上記より知られるように,本例では入力スルーホール
・マスクをスルーホール基本マスク作成部21においては
最小径に設定しておき,その後は欠陥形状に応じてスル
ーホール・マスクを拡大するのである。このように,欠
陥適合ポイントを中心として,スルーホール・マスクの
適合領域を大きく設定することにより,スルーホール・
マスク補正部において入力スルーホール・マスクに対し
て実質的にスルーホール・マスクを拡大することができ
る。
As is known from the above description, in this example, the input through-hole mask is set to the minimum diameter in the through-hole basic mask creating unit 21, and thereafter, the through-hole mask is enlarged according to the defect shape. In this way, by setting a large matching area of the through-hole mask with the defect matching point as the center, the through-hole mask is set.
The mask correction unit can substantially enlarge the through-hole mask with respect to the input through-hole mask.

そして,第6図において,マスク補正用の空間フィル
ターの指定領域のどこかにスルーホール・マスクが適合
すれば,欠陥検出率は真の欠陥形状でないとしてゼロ
(0)を出力し,その他は1を出力する。
In FIG. 6, if the through-hole mask matches somewhere in the designated area of the spatial filter for mask correction, the defect detection rate is output as zero (0) as not being a true defect shape, and the other is 1 Is output.

なお,上記欠陥形状認識部の空間フィルターは,例え
ば分解能10μm,ウィンドウサイズ20×20画素(400セ
ル)を用いる。また,スルーホール・マスク補正部にお
けるスルーホール・マスク用の空間フィルターは,例え
ば分解能20μm,ウィンドウサイズ10×10画素(100セ
ル)を用いる。
The spatial filter of the defect shape recognition unit uses, for example, a resolution of 10 μm and a window size of 20 × 20 pixels (400 cells). The spatial filter for the through-hole mask in the through-hole mask correction unit uses, for example, a resolution of 20 μm and a window size of 10 × 10 pixels (100 cells).

次に,第7図〜第8C図には,断線に関する欠陥候補デ
ータが,欠陥形状認識部31に入力されたときの処理を示
している。
Next, FIGS. 7 to 8C show processing when defect candidate data relating to disconnection is input to the defect shape recognition unit 31. FIG.

第7図は,スルーホールランド像7において,幅広部
71と幅狭部72とがあるとき,幅狭部72においては基材像
61とパターン像62とによって,断線形状64があるとして
欠陥候補データが出力される。一方,スルーホール像の
下方には配線部73とランド71との間に真の断線欠陥があ
り,これは基材像65とパターン像66との間において欠陥
部分68として出力される。
FIG. 7 shows a wide portion of the through hole land image 7.
When there are 71 and narrow portion 72, base material image in narrow portion 72
Based on the pattern image 61 and the pattern image 62, defect candidate data is output assuming that there is a disconnection shape 64. On the other hand, below the through-hole image, there is a true disconnection defect between the wiring portion 73 and the land 71, which is output as a defect portion 68 between the base material image 65 and the pattern image 66.

この時の断線形状を認識するための空間フィルターの
デザインが第8A図に示される。
FIG. 8A shows a design of a spatial filter for recognizing the disconnection shape at this time.

これに対し,スルーホール・マスク補正用の空間フィ
ルターを第8B図の様に設定しておく。
On the other hand, a spatial filter for through-hole mask correction is set as shown in FIG. 8B.

第8B図の斜線で示した画素部に,基本スルーホール・
マスクが適合したならば,欠陥候補データに対してマス
ク処理を行うことになる。
The basic through-holes are shown in the shaded pixels in Fig. 8B.
If the mask matches, the mask processing is performed on the defect candidate data.

従って,上記の場合,スルーホールにおける擬似の断
線形状64に対しては,スルーホールを覆う程度のマスク
であれば,充分に欠陥候補データをマスクでき,上記断
線形状64は真の欠陥形状でないと判断できる。
Therefore, in the above case, the defect candidate data can be sufficiently masked with a mask that covers the through hole with respect to the pseudo disconnection shape 64 in the through hole, and the disconnection shape 64 must be a true defect shape. I can judge.

また,同時にスルーホールランド下方の真の欠陥部分
68は,スルーホール・マスク補正部のスルーホール・マ
スクによってマスクされないので,ラインパターンにお
いて生じている断線と判断できる。
Also, at the same time, the true defect part under the through hole land
Since 68 is not masked by the through-hole mask of the through-hole mask correction unit, it can be determined that a disconnection has occurred in the line pattern.

上記において,スルーホール・マスク補正部で,従来
のごとく,もしも第8C図に示すごとき,スルーホール・
マスク補正用空間フィルターを用いた場合には,上記第
8B図の場合に比して,スルーホールの半径当たり,3画素
幅以上の大きさのスルーホール・マスクが必要となる。
また,このように大きなスルーホール・マスクを常時用
いた場合には,上記真の欠陥部分68がマスクされてしま
い,欠陥が検出できなくなってしまう。
In the above, in the through-hole mask correction unit, as shown in FIG.
When a mask correction spatial filter is used,
Compared to the case of Fig. 8B, a through-hole mask with a size of 3 pixels or more per radius of the through-hole is required.
In addition, when such a large through-hole mask is used at all times, the true defective portion 68 is masked, and the defect cannot be detected.

以上より知られるごとく,本例によれば上記スルーホ
ール・マスク補正部35において基本マスク像と欠陥形状
認識部の欠陥候補データとの適合位置をスルーホール・
マスク側を移動させることにより合致させ,また必要に
応じて適合領域の大きさを拡張している。また,スルー
ホール基本マスク作成部においては,抽出穴像を任意に
拡大,縮小できるよう構成している。
As is known from the above, according to this example, the matching position between the basic mask image and the defect candidate data of the defect shape recognition unit is determined by the through-hole mask correction unit 35.
By moving the mask side, the matching is achieved, and the size of the matching area is expanded as necessary. The through-hole basic mask creating unit is configured so that the extracted hole image can be arbitrarily enlarged or reduced.

それ故,従来のごとく,スルーホール・マスクが大き
いために真の欠陥形状を検出できないということがな
い。したがって,各欠陥候補データに対して個々に最適
な位置,寸法のスルーホール・マスクを照合することが
でき,スルーホール周りからの虚報を防止することがで
きる。
Therefore, unlike the related art, there is no possibility that a true defect shape cannot be detected due to the large through-hole mask. Therefore, a through-hole mask having an optimum position and size can be individually checked with respect to each defect candidate data, and a false report from around the through-hole can be prevented.

第2実施例 本例は,欠陥形状が欠け(線細り)状態である場合を
示し,第9A図〜第11C図よりこれを説明する。
Second Embodiment This embodiment shows a case where the defect shape is a chipped (thin line) state, which will be described with reference to FIGS. 9A to 11C.

即ち,第9A図に示すごとく,スルーホールランド像51
の一部分が線細り部515を生じている場合,欠陥形状判
定用の空間フィルターのウィンドウ53内において基材像
61とパターン像62とによって,線細り形状64があるとし
て欠陥候補データが出力される。
That is, as shown in FIG.
If a part of the line has a thinned portion 515, the base material image appears in the window 53 of the spatial filter for defect shape determination.
Based on the pattern image 61 and the pattern image 62, the defect candidate data is output on the assumption that the line thin shape 64 exists.

そして,第9B図に示すごとく,基本マスク44はスルー
ホール・マスク補正部の空間フィルター460に入力され
る。この空間フィルターのウィンドウにおいては,欠陥
形状判定用空間フィルター53が線細り部515に適合した
ときに,穴部が位置すると予測される基材部61と同じ位
置関係にあるポイントに,データ登録がなされる必要が
ある。これが第9Bに示してある。
Then, as shown in FIG. 9B, the basic mask 44 is input to the spatial filter 460 of the through-hole mask correction unit. In the window of the spatial filter, when the spatial filter 53 for defect shape determination conforms to the thin line portion 515, data registration is performed at a point having the same positional relationship as the base material portion 61 where the hole is predicted to be located. Need to be done. This is shown in FIG. 9B.

第10図は,スルーホールランド像7において線細り部
があるとき,基材像61とパターン像62とによって線細り
部64があるとして欠陥候補データが出力される。そし
て,同図に示すごとく,段状点線で示す基本スルーホー
ル・マスク751がスルーホール・マスク補正部のマスク
補正用空間フィルターを通して,適用される。
In FIG. 10, when there is a thin line portion in the through-hole land image 7, the defect candidate data is output assuming that there is a thin line portion 64 by the base image 61 and the pattern image 62. Then, as shown in the figure, a basic through-hole mask 751 indicated by a stepped dotted line is applied through a mask correction spatial filter of a through-hole mask correction unit.

そして,上記の場合,スルーホールにおける線細り部
分に対しては,第11A図に示すデザインの欠陥形状認識
部の空間フィルターにより,欠陥候補として認識が成さ
れる。一方,基本スルーホール・マスク像は,スルーホ
ール・マスク補正部において第11B図に示すスルーホー
ル・マスク補正用空間フィルターによって処理される。
即ち,基本マスクが指定部分のどこかにあれば欠陥候補
データをマスクして,真の欠陥形状でないという判断が
なされる。
In the above case, the thin line portion in the through hole is recognized as a defect candidate by the spatial filter of the defect shape recognition unit of the design shown in FIG. 11A. On the other hand, the basic through-hole mask image is processed by the through-hole mask correction spatial filter shown in FIG. 11B in the through-hole mask correction unit.
That is, if the basic mask is somewhere in the designated portion, the defect candidate data is masked, and it is determined that the defect is not a true defect shape.

上記において,スルーホール・マスク補正部で,従来
のごとく,もしも第11C図に示すごとき,スルーホール
・マスク補正用空間フィルターを用いた場合には,空間
フィルターの中央部で一律にスルーホール・マスクを施
すことになる。そのため,このルールでは,上記スルー
ホール・マスクを用いて線細りの欠陥候補データをマス
キングすることができず虚報が出てしまう。そのため,
更にスルーホール・マスクを大きくする必要が生じてし
まい,また大きくすると前記問題を生ずる。
In the above description, if a spatial filter for through-hole mask correction is used in the through-hole mask correction unit as shown in FIG. Will be applied. Therefore, according to this rule, the thin defect candidate data cannot be masked using the above-described through-hole mask, and a false report appears. for that reason,
Further, it is necessary to make the through-hole mask larger, and if it is made larger, the above problem occurs.

以上のごとく,本例においても第1実施例と同様の効
果を得ることができる。
As described above, in this embodiment, the same effects as in the first embodiment can be obtained.

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

第1図〜第8C図は第1実施例の検査装置を示し,第1図
はその全体を示すブロック線図,第2図はスルーホール
基本マスク作成部における抽出穴像の抽出,拡大を示す
図,第3図は欠陥形状認識部の空間フィルターの説明
図,第4A図及び第4B図は断線に関する画像を示す図,第
5図は欠陥形状認識部及びスルーホール・マスク補正部
における位置決め適合の説明図,第6図は欠陥形状認識
部及びスルーホール・マスク補正部における適合領域の
説明図,第7図は断線に関するスルーホールラインパタ
ーン像の説明図,第8A図〜第8C図は空間フィルター適用
の説明図,第9A図〜第11C図は第2実施例を示し,第9A
図及び第9B図は欠けに関する画像説明図,第10図は欠け
に関するスルーホールラインパターン像の説明図,第11
A図〜第11C図は空間フィルター適用の説明図,第12図は
スルーホールマスク補正部の空間フィルターの説明図,
第13図〜第18図は従来例を示し,第13図はプリント配線
基板におけるスルーホール及びラインパターンの平面
図,第14図は線細り状態のスルーホールランド部の平面
図,第15図は第13図のスルーホールランド部の画像信
号,第16図は検査装置のブロック線図,第17図及び第18
図は欠陥候補データの画像である。 4……スルーホール像, 40……抽出穴像, 44……基本マスク, 50,53……ウィンドウ, 61……基材像, 62……パターン像, 63……穴部分, 7……スルーホールランド像,
1 to 8C show the inspection apparatus of the first embodiment, FIG. 1 is a block diagram showing the whole of the inspection apparatus, and FIG. 2 shows extraction and enlargement of an extracted hole image in a through-hole basic mask creating unit. Fig. 3, Fig. 3 is an explanatory view of the spatial filter of the defect shape recognition unit, Fig. 4A and Fig. 4B are images showing disconnection images, Fig. 5 is positioning adaptation in the defect shape recognition unit and through-hole mask correction unit , FIG. 6 is an explanatory diagram of a conforming area in the defect shape recognition unit and the through-hole mask correction unit, FIG. 7 is an explanatory diagram of a through-hole line pattern image relating to disconnection, and FIGS. 8A to 8C are spaces. FIG. 9A to FIG. 11C show the application of the filter, and FIG.
FIG. 9 and FIG. 9B are explanatory diagrams of the image relating to the chipping, FIG.
Fig. A to Fig. 11C are explanatory diagrams of applying a spatial filter, Fig. 12 is an explanatory diagram of a spatial filter of a through-hole mask correction unit,
13 to 18 show a conventional example, FIG. 13 is a plan view of a through hole and a line pattern in a printed wiring board, FIG. 14 is a plan view of a through hole land portion in a thin line state, and FIG. FIG. 13 is an image signal of a through-hole land portion, FIG. 16 is a block diagram of an inspection device, and FIGS.
The figure is an image of defect candidate data. 4 ... through-hole image, 40 ... extracted hole image, 44 ... basic mask, 50, 53 ... window, 61 ... substrate image, 62 ... pattern image, 63 ... hole part, 7 ... through Holland statue,

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プリント配線基板上の配線パターンを撮像
する撮像装置と, 該撮像装置の画像信号からスルホール・マスクを作成
し,かつ記憶するマスク部と,上記画像信号と上記スル
ホール・マスクとを照合する欠陥検出部と,該欠陥検出
部の欠陥データを集計するデータ集計部とよりなり, 上記マスク部は,プリント配線基板のスルーホールの穴
部分のみを抽出すると共にその抽出穴像を任意に拡大,
縮小するスルホール基本マスク作成部と,該スルホール
基本マスク作成部で作成された抽出穴像をスルホール・
マスク像として保存しておくマスクメモリー部とにより
構成し, また,上記欠陥検出部は,欠陥形状を想定したルールを
設定してある空間フィルターを用いて,上記画像信号か
ら欠陥形状を認識し,その欠陥候補データを出力する欠
陥形状認識部と, 検査時にマスクメモリー部から出力される基本マスク像
と欠陥形状認識部の欠陥候補データとの適合位置を,各
欠陥形状認識部固有の入力画像に対する形状認識位置に
合わせて,スルホール・マスク側を移動させることによ
り合致させると共に必要に応じて適合領域の大きさを拡
張するスルホール・マスク補正部と, 該スルーホール・マスク補正部から出力された補正済ス
ルホール・マスクを上記欠陥形状認識部から出力された
欠陥候補データと照合するスルホール・マスク照合部と
よりなり, また,上記欠陥検出部は欠陥形状の種類数に応じて配設
してあることを特徴とするプリント配線基板の検査装
置。
An imaging device for imaging a wiring pattern on a printed wiring board, a mask unit for creating and storing a through-hole mask from an image signal of the imaging device, and an image signal and the through-hole mask The mask unit extracts only a hole portion of a through hole of a printed wiring board and arbitrarily extracts the extracted hole image. Enlargement,
The through hole basic mask creating unit to be reduced and the extracted hole image created by the through hole basic mask creating unit
A mask memory unit for storing the mask image as a mask image; and the defect detection unit recognizes the defect shape from the image signal by using a spatial filter in which a rule assuming the defect shape is set. A defect shape recognition unit that outputs the defect candidate data, and a matching position between the basic mask image output from the mask memory unit during inspection and the defect candidate data of the defect shape recognition unit are determined with respect to an input image unique to each defect shape recognition unit. A through-hole mask correction unit that matches by moving the through-hole mask side according to the shape recognition position and expands the size of the adaptation area as necessary, and a correction output from the through-hole mask correction unit And a through-hole mask matching unit that matches the used through-hole mask with the defect candidate data output from the defect shape recognition unit. In addition, the inspection apparatus of printed wiring board, characterized in that the defect detecting section are disposed in accordance with the number of kinds of defects shape.
JP21246490A 1990-08-09 1990-08-09 Inspection equipment for printed wiring boards Expired - Lifetime JP2868864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21246490A JP2868864B2 (en) 1990-08-09 1990-08-09 Inspection equipment for printed wiring boards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21246490A JP2868864B2 (en) 1990-08-09 1990-08-09 Inspection equipment for printed wiring boards

Publications (2)

Publication Number Publication Date
JPH0493755A JPH0493755A (en) 1992-03-26
JP2868864B2 true JP2868864B2 (en) 1999-03-10

Family

ID=16623076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21246490A Expired - Lifetime JP2868864B2 (en) 1990-08-09 1990-08-09 Inspection equipment for printed wiring boards

Country Status (1)

Country Link
JP (1) JP2868864B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6603021B2 (en) 2001-06-18 2003-08-05 Battelle Memorial Institute Methods of making pyrrolidones

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6603021B2 (en) 2001-06-18 2003-08-05 Battelle Memorial Institute Methods of making pyrrolidones

Also Published As

Publication number Publication date
JPH0493755A (en) 1992-03-26

Similar Documents

Publication Publication Date Title
EP0437273B1 (en) Method of matching patterns and apparatus therefor
JP2868864B2 (en) Inspection equipment for printed wiring boards
JP4071866B2 (en) Wiring pattern inspection equipment
JP2003086919A (en) Pattern inspection device
JP3116438B2 (en) Inspection apparatus and inspection method for printed wiring board
JP2003203218A (en) Visual inspection device and method
JPS61230016A (en) Method for testing pattern of printed board
CN111445458B (en) Method for detecting printing quality of mobile phone battery label
JP2765339B2 (en) Through hole inspection equipment
JP2942343B2 (en) Inspection equipment for printed wiring boards
JP3665587B2 (en) Semiconductor element inspection method, semiconductor element inspection program, and recording medium on which the semiconductor element inspection program is recorded
JP2001183119A (en) Pattern inspecting device
JP2745763B2 (en) Wiring pattern inspection equipment
JPS62169040A (en) Printed board pattern inspector
JPH0786468B2 (en) Printed circuit board pattern inspection method
JP2676990B2 (en) Wiring pattern inspection equipment
JPH08166355A (en) Defect inspection apparatus
JPH07330136A (en) Image processing device for parts feeder
JP4009085B2 (en) Pattern inspection apparatus and pattern inspection method
JPH0989797A (en) Mounting board inspection apparatus
JP2001050906A (en) Apparatus and method for pattern inspection
JP3265144B2 (en) Method for detecting bleeding in lead print pattern
JP2002310630A (en) Pattern inspecting device
JPH0520459A (en) Method and device for recognizing pattern
Ting et al. Apply computer vision and neural network to glue dispenser route inspection

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20071225

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081225

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091225

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20091225

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20101225

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20101225