JPH0493755A - Inspecting apparatus for printed wiring board - Google Patents

Inspecting apparatus for printed wiring board

Info

Publication number
JPH0493755A
JPH0493755A JP21246490A JP21246490A JPH0493755A JP H0493755 A JPH0493755 A JP H0493755A JP 21246490 A JP21246490 A JP 21246490A JP 21246490 A JP21246490 A JP 21246490A JP H0493755 A JPH0493755 A JP H0493755A
Authority
JP
Japan
Prior art keywords
hole
mask
defect
section
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.)
Granted
Application number
JP21246490A
Other languages
Japanese (ja)
Other versions
JP2868864B2 (en
Inventor
Masahiro Okada
雅弘 岡田
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

Abstract

PURPOSE:To make it possible to prevent false information from the surrounding part of a through hole by providing a mask memory part having a through-hole- basic-mask forming part and a defect detecting part having a through-hole-mask correcting part. CONSTITUTION:A mask part 2 comprises a through-hole-basic-mask forming part, which extracts only the hole part of the through hole of a wiring board 10 and arbitrarily expands and contracts the image of the extracted hole, and a through-hole-mask memory part 22 for holding the forming part 21. A defect detecting part 3 comprising a defect-shape recognizing part 31, a through-hole- mask correcting part 35 and a through-hole-mask collating part 36 is used as a defect detecting system for wire breakdown. In addition, there are a chipped-defect detecting part 3B, a short-defect detecting part 3C and a defect detecting part for detective part between lines 3D. The through hole mask is individually collated with the defect candidate data at the optimum position and the size. Thus, the false information from the surrounding part of the through hole can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリント配線基板における配線パターンの欠
陥形状を検出するための検査装置、特にスルーホール周
りからの虚報を防止するための検査装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an inspection device for detecting defect shapes in wiring patterns on printed wiring boards, and particularly to an inspection device for preventing false alarms from around through holes. .

[従来技術] プリント配線基板における配線パターンは、その製造過
程において、断線、欠け(線細り)、ショート、線間不
良、ゴミ付着などの欠陥形状を生ずることがある。その
ため、かかる欠陥形状を検出するための種々の検査装置
が提案されている。
[Prior Art] During the manufacturing process of a wiring pattern on a printed wiring board, defects such as disconnection, chipping (line thinning), short circuit, poor line spacing, and dust adhesion may occur. Therefore, various inspection devices for detecting such defect shapes have been proposed.

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

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

しかし、該幅狭部911は、第14図に示したごとく、
断線状態ではなく、実用上問題はない。
However, as shown in FIG. 14, the narrow portion 911 is
There is no disconnection and there is no practical problem.

このように、従来の検査装置により得られた検査データ
には、虚報が生し易い。かかる虚報は、特に スルーホ
ール周りに形成した上記ランド91について多い。
In this way, false information is likely to occur in the inspection data obtained by the conventional inspection apparatus. Such false alarms are particularly common regarding the land 91 formed around the through hole.

そこで、上記問題に対処するため、スルーホール部分に
対してマスク処理を施し、ラインパターンの検査時には
スルーホール周りの検査は行わずスルーホール周りの誤
判定を無くするようにした検査装置がある。
In order to deal with the above-mentioned problem, there is an inspection apparatus that performs mask processing on the through-hole portion and does not inspect the area around the through-hole when inspecting a line pattern, thereby eliminating erroneous determinations around the through-hole.

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

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

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

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

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

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

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

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

また、上記スルーホール・マスク照合部841は、上記
欠陥形状認識部851からの欠陥候補データと、前記マ
スク部81の読み出し部813からのスルーホール・マ
スクとを照合する。このとき、スルーホール・マスクの
上記読み出しは、欠陥形状認識部851の断線に関する
欠陥候補デ夕の中庸、即ち欠陥形状認識用空間フィルタ
ーのマトリックスの中心部に、スルーホール・マスクが
かかるように補正をかけて行う。
Further, the through-hole mask matching section 841 matches the defect candidate data from the defect shape recognition section 851 and the through-hole mask from the reading section 813 of the mask section 81. At this time, the above-mentioned reading of the through-hole mask is corrected so that the through-hole mask is placed at the center of the matrix of the defect shape recognition spatial filter, which is the average of the defect candidate data related to the disconnection of the defect shape recognition unit 851. Do this by applying

そして2スルーホール・マスク照合部841における上
記照合の結果、上記欠陥候補データが真の欠陥形状であ
ると判断されたときには、その旨の信号がデーター集計
部15.端末16へ送られる。つまり、上記欠陥候補デ
ータがスルーホール・マスクの内部にない場合には、真
の欠陥形状と認識される。
As a result of the above-mentioned comparison in the 2 through-hole mask comparison section 841, when it is determined that the defect candidate data is a true defect shape, a signal to that effect is sent to the data aggregation section 15. It is sent to 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 verification units 842 and 843, and defect shapes such as chips and shorts are inspected.

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

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

一方、スルーホールマスクは、穴部を中心に作成されて
いるので、欠陥形状認識用空間フィルター上においては
、スルーホール周りで空間フィルターのルールが適合し
た時、穴部に相当する位置にマスクを施すことが正確な
マスクの施し方といえる。
On the other hand, a through-hole mask is created around the hole, so when the spatial filter rules for defect shape recognition are matched around the through-hole, the mask is placed at the position corresponding to the hole. This can be said to be the correct way to apply a mask.

第17図は、空間フィルターのウィンドウ96内に穴部
分960が位置した状態を示している。
FIG. 17 shows the hole portion 960 located within the window 96 of the spatial filter.

同図は、欠は状態を示している。即ち、この場合は、配
線パターンのパターン像962の画像信号とプリント配
線基板の基材像961の画像信号があり、穴部と想定さ
れる穴部分960が位置するが、該穴部分960はウィ
ンドの任意の位置にある。つまり、穴部分960は、中
心位置にはない。
In the figure, the missing parts indicate the states. That is, in this case, there is 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 a hole portion 960 that is assumed to be a hole is located, but the hole portion 960 is located in the window. at any position. That is, the hole portion 960 is not in the center position.

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

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

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

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

本発明は、かかる従来の問題点に鑑み、各欠陥候補デー
タに対して個々に最適な位置2寸法のスル一ホール・マ
スクを照合する1止ができ、スル−ホール周りからの虚
報を防止することができるプリント配線基板の検査装置
を提供しようとするものである。
In view of such conventional problems, the present invention is capable of collating a through-hole mask with two optimal positions for each defect candidate data individually, and prevents false alarms from around the through-holes. The present invention aims to provide a printed wiring board inspection device that can perform the following tasks.

〔課題の解決手段〕[Means for solving problems]

本発明は、プリント配線基板上の配線パターンを撮像す
る撮像装置と、該撮像装置の画像信号からスルホール・
マスクを作成し、かつ記憶するマスク部と、上記画像信
号と上記スルホール・マスクとを照合する欠陥検出部と
、該欠陥検出部の欠陥データを集計するデータ集計部と
よりなる。そして、上記マスク部は、プリント配線基板
のスルーホールの穴部分のみを抽出すると共にその抽出
穴像を任意に拡大、縮小するスルホール基本マスク作成
部と、該スルホール基本マスク作成部で作成された抽出
穴像をスルホール・マスク像として保存しておくマスク
メモリー部とにより構成する。
The present invention provides an imaging device that images a wiring pattern on a printed wiring board, and a through-hole image signal from the imaging device.
It consists of a mask unit that creates and stores a mask, a defect detection unit that compares the image signal with the through-hole mask, and a data aggregation unit that aggregates defect data from the defect detection unit. The mask section includes a through-hole basic mask creation section that extracts only the hole portion of the through-hole of the printed wiring board and arbitrarily enlarges or reduces the extracted hole image, and an extraction mask created by the through-hole basic mask creation section. It consists of a mask memory section that stores the hole image as a through-hole mask image.

また、上記欠陥検出部は、欠陥形状を想定したルールを
設定してある空間フィルターを用いて、上記画像信号か
ら欠陥形状を認識し、その欠陥候補データを出力する欠
陥形状認識部と、検査時にマスクメモリー部から出力さ
れる基本マスク像と欠陥形状認識部の欠陥候補データと
の適合位置を各欠陥形状認識部固有の入力画像に対する
形状認識位置に合わせて、スルーホール・マスク側ヲ移
動させることにより合致させると共に必要に応じて適合
領域の大きさを拡張するスルホール・マスク補正部と、
該スルホール・マスク補正部から出力された補正済スル
ホール・マスクを上記欠陥形状認識部から出力された欠
陥候補データと照合するスルホール・マスク照合部とよ
りなる。また上記欠陥検出部は欠陥形状の種類数に応じ
て配設してある。
The defect detection section also includes a defect shape recognition section that recognizes the defect shape from the image signal using a spatial filter that is set with rules assuming the defect shape, and outputs the defect candidate data, and a defect shape recognition section that outputs defect candidate data. Moving the matching position between the basic mask image output from the mask memory unit and the defect candidate data of the defect shape recognition unit on the through-hole mask side in accordance with the shape recognition position for the input image unique to each defect shape recognition unit. a through-hole mask correction unit that provides better matching and expands the size of the matching area as necessary;
The apparatus includes a through-hole mask matching section that matches the corrected through-hole mask output from the through-hole mask correction section with defect candidate data output from the defect shape recognition section. Further, the defect detection sections are arranged according to the number of types of defect shapes.

本発明において最も注目すべきことは、上記スルーホー
ル基本マスク作成部を存するマスクメモリー部と、上記
スルーホール・マスク補正部を存する欠陥検出部とを設
けたことにある。
What is most noteworthy about the present invention is that it includes a mask memory section including the above-mentioned through-hole basic mask creation section, and a defect detection section including the above-mentioned through-hole mask correction section.

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

また、上記抽出穴像は、欠陥形状認識部の欠陥候補デー
タに対して適切な大きさに1上記スルーホール・マスク
補正部において、拡張できるよう必要に応じて予め任意
の大きさに縮小又は拡大しておく。なお4通常は必要最
小限の寸法にしておき、スルーホール・マスク補正部で
必要に応じて拡張し、スルーホール・マスク照合部に送
る。
In addition, the extracted hole image is reduced or enlarged in advance to an arbitrary size as necessary so that it 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. I'll keep it. Note 4: Normally, the size is kept to the minimum required size, expanded as necessary by the through-hole mask correction section, and sent to the through-hole mask verification section.

また、上記のごとく、任意の大きさにした抽出穴像は、
スルーホール・マスクメモリー部にメモリーシておき、
欠陥形状認識部の欠陥候補データと照合する際にスルー
ホール・マスク補正部に送信する。
In addition, as mentioned above, the extraction hole image made to an arbitrary size is
Place memory in the through-hole mask memory section,
It is sent to the through-hole mask correction unit when comparing it with the defect candidate data of the defect shape recognition unit.

上記欠陥検出部は、断線、欠け、ショートなどの欠陥形
状に応した欠陥検出系毎に配設する。それ故、欠陥検出
部は、検出しようとする上記欠陥形状の数だけ設ける。
The defect detection section is provided for each defect detection system corresponding to the defect shape such as disconnection, chipping, or short circuit. Therefore, the number of defect detection sections is equal to the number of defect shapes to be detected.

そして、各欠陥検出部はそれぞれ検出すべき欠陥形状に
応した。欠陥形状認識部とスルーホール・マスク補正部
及びスルホール・マスク照合部を存する。っまり3欠陥
検出部は、1種類の欠陥形状に対して、1組の欠陥形状
認識部、スルーホール・マスク補正部及びスルーホール
・マスク照合部を具備している。
Each defect detection section corresponds to the shape of the defect to be detected. It includes a defect shape recognition section, a through-hole mask correction section, and a through-hole mask matching section. The three defect detection sections each include one set of a defect shape recognition section, a through-hole mask correction section, and a through-hole mask comparison section for one type of defect shape.

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

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

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

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

即ち、かかる手段としては1欠陥形状認識用の空間フィ
ルターと同寸法(分解能は、特に同じでなくても良い。
That is, such a means does not have to have the same size (or resolution) as a spatial filter for one-defect shape recognition.

例えば欠陥認識用のものは分解能10μmで、20X2
0画素マトリックスの空間フィルター。マスク補正用の
ものは5分解能20μmで、loXIO画素マトリック
スの空間フィルター)の空間フィルターを用いる。この
スルーホール・マスク補正部の空間フィルターは、マト
リックス上に登録したポイントの出力が全てOR条件で
結ばれていて、スルーホール・マスク適合部を空間フィ
ルターのマトリックス上に任意に登録することにより、
上記機能が実現できる。例えば、第12図左下方に示す
様なABC,DEFGHIの9個のマトリックスに対し
て、BDEFHのどれかに正論理の基本スルーホール 
マスクが入力されれば、補正済みマスクが負論理で得ち
れる。
For example, the one for defect recognition has a resolution of 10 μm and a 20×2
Spatial filter with 0 pixel matrix. The one for mask correction has a 5-resolution of 20 μm and uses a spatial filter of loXIO pixel matrix (loXIO pixel matrix spatial filter). The spatial filter of this through-hole mask correction section has all the outputs of points registered on the matrix connected by OR conditions, and by arbitrarily registering the through-hole mask matching section on the matrix of the spatial filter,
The above functions can be achieved. For example, for nine matrices ABC and DEFGHI as shown in the lower left of Fig. 12, a basic through hole with positive logic is placed in one of BDEFH.
If a mask is input, a corrected mask is obtained with negative logic.

スルーホール・マスク照合部においては、上記欠陥形状
認識部からの欠陥候補データとスルーホール・マスク補
正部からの補正済スルーホール・マスクとを照合する。
The through-hole mask matching section matches the defect candidate data from the defect shape recognition section with the corrected through-hole mask from the through-hole mask correction section.

そして、欠陥候補データが該スルーホール・マスクの中
にあるときには、真の欠陥形状でないと判断される。ま
た7逆の場合には真の欠陥形状であるとしてデータ集計
部に送信される。
When the defect candidate data is within the through-hole mask, it is determined that the defect shape is not a true defect shape. If 7 is the opposite, it is determined that the shape is a true defect and is sent to the data aggregation unit.

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

[作用及び効果] 本発明シこおいては、マスク部に上記スルーホール基本
マスク作成部を設けたので、抽出穴像を任意の大きさと
することができ、スルーホール・マスク補正部へ送信す
るスルーホール・マスクの基本サイズを任意に選択する
ことができる。そのため、該基本サイズを最小寸法など
に細かく設定することができ、前記従来のごとく、スル
ーホール・マスクが大きいために5スルーホールの近傍
に発生している真の欠陥形状を検出できないということ
がない。
[Operations and Effects] In the present invention, since the above-mentioned through-hole basic mask creation section is provided in the mask section, the extracted hole image can be made to any size and is sent to the through-hole mask correction section. The basic size of the through-hole mask can be chosen arbitrarily. Therefore, the basic size can be set in detail to the minimum dimension, and it is possible to prevent the true defect shape occurring near the 5 through holes from being unable to be detected due to the large through hole mask, as in the conventional case. do not have.

また、抽出穴像は、ビットマンプ的に処理するため ス
ルーホールが異形であっても、スルーホール部の認識処
理を容易に行うことができる。
In addition, since the extracted hole image is processed in a Bitmamp-like manner, even if the through hole is irregularly shaped, the recognition process for the through hole portion can be easily performed.

また スルーホール・マスク補正部は、断線等の欠陥検
出系に合わせて、適合位置をずらし、また必要に応じて
適合領域の大きさを拡張できるので、スルーホール周り
からの欠陥候補データの種類に応じて、スルーホール 
マスクのかかり見合を、正確に、しかも微調整すること
ができる。
In addition, the through-hole mask correction unit can shift the matching position according to the defect detection system such as wire breakage, and can expand the size of the matching area as necessary, so it can adjust to the type of defect candidate data from around the through-hole. Depending on the through hole
The amount of mask application can be precisely and finely adjusted.

したがって1本発明によれば、各欠陥候補データに対し
個々に最適な位置2寸法のスルーホール・マスクを照合
することができ、スルーポール周りからの虚報を防止す
ることができる1 プリント配線基板の検査装置を提供
することかできる。
Therefore, according to the present invention, it is possible to individually match each defect candidate data with a through-hole mask at an optimal position and two dimensions, and it is possible to prevent false alarms from around the through-poles.1. We can provide inspection equipment.

〔実施例〕〔Example〕

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

即ち5本例の検査装置は1第1図にその全体を示すごと
く、プリント配線基板10上の配線パターン101を撮
像する撮像装置としてのCCDカメラ11と、A/D変
換器12と該CCDカメラ11の2値画像信号からスル
ーホール・マスクを作成しかつ記憶するマスク部2と、
上記画像信号と上記スルーホール・マスクとを照合する
欠陥検山部3と1該欠陥検出部3の欠陥データを集計す
るデータ集計部15と、端末16とよりなる。
That is, the inspection apparatus of the present example 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 the CCD camera, as shown in its entirety in FIG. a mask unit 2 that creates and stores a through-hole mask from the 11 binary image signals;
It consists of a defect inspection section 3 that compares the image signal with the through-hole mask, a data aggregation section 15 that aggregates defect data from the defect detection section 3, and a terminal 16.

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

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

そして、該欠陥検出部3は断線用欠陥検出系として用い
る。また、欠陥検出部は、上記断線検出用の外に、第1
図に示すごとく、欠は用欠陥検出部3B、 ショート用
欠陥検出部3C,線間不良用欠陥検出部3Dがある。
The defect detection section 3 is used as a defect detection system for disconnection. In addition to the above-mentioned wire breakage detection, the defect detection section also includes a first
As shown in the figure, there are a defect detection section 3B for missing, a defect detection section 3C for short, and a defect detection section 3D for line defects.

上記欠陥形状認識部31においては、欠陥形状を想定し
たルールを設定してある空間フィルタを用いて、A/D
変換器12からの2値画像信号から欠陥形状の有無を判
別し、一応欠陥形状と認めたときには欠陥候補データを
出力する。
In the defect shape recognition section 31, the A/D
The presence or absence of a defect shape is determined from the binary image signal from the converter 12, and when it is recognized as a defect shape, defect candidate data is output.

また、スルーホール・マスク補正部35においては、検
査時に上記スルーホール・マスクメモリー部22から出
力される基本マスク像と上記欠陥候補データとの適合位
置を、各欠陥形状認識部開存の入力画像シこ対する形状
認識位置に合わせてスルーホール・マスク側を移動させ
ることにより合致させる。また、これと共に、必要に応
じてスルーホール・マスクの適合頭載の大きさを拡張す
る。
In addition, the through-hole mask correction section 35 calculates the matching position between the basic mask image output from the through-hole mask memory section 22 and the defect candidate data at the time of inspection using the input image of each defect shape recognition section patency. Matching is achieved by moving the through-hole mask side in accordance with the corresponding shape recognition position. At the same time, the size of the through-hole mask that can be fitted over the head can be expanded as necessary.

該スルーホール・マスク補正部35においては断線に関
するスルーホール・マスクをスルーホール・マスクメモ
リー部22より読み出している。
The through-hole mask correction section 35 reads out the through-hole mask related to the disconnection from the through-hole mask memory section 22.

次に5スルーホール・マスク照合部36においては、上
記欠陥形状認識部31からの欠陥候補データと上記スル
ーホール・マスク補正部35からのスルーホール・マス
クとを照合し、上記欠陥候補データがスルーホール・マ
スクの中にはいっているか否かを検査する。そして、欠
陥候補データがスルーホール・マスクの中にはいってい
る場合には1真の欠陥形状でないと判定する。
Next, the 5-through-hole mask matching section 36 matches the defect candidate data from the defect shape recognition section 31 with the through-hole mask from the through-hole mask correction section 35, so that the defect candidate data is Inspect whether it is 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.

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

上記の欠陥検出部3の作用は、他の上記欠陥検出部3B
、3C,3Dにおいても、欠陥認識形状(欠け、ンヨー
トなど)と、スルーホールマスク補正ルールが異なる外
は、同様である。
The operation of the defect detection section 3 described above is similar to that of the other defect detection section 3B.
, 3C, and 3D are similar except that the defect recognition shapes (chips, cracks, etc.) and through-hole mask correction rules are different.

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

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

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

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

上記復元用空間フィルター452.拡大用空間フィルタ
ー453は、その指定領域内に1画素でも入力があれば
、出力が生じるルールになっており、指定領域入力を全
てOR接続した回路といってよい。
The above-mentioned restoration spatial filter 452. The enlarging spatial filter 453 has a rule that if there is even one pixel input within the specified area, an output is generated, and it can be said that it is a circuit in which all inputs of the specified area are OR-connected.

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

このように、スルーホール基本マスク作成部21におい
ては、抽出穴像40を任意の大きさに。
In this way, the through-hole basic mask creation section 21 creates the extracted hole image 40 to any size.

拡大、縮小する。勿論抽出穴像40のままの大きさであ
っても良い。これにより、基本マスク像を作成する。該
基本マスク像は、スルーホール・マスクメモリー部22
に保存し、検査時においてスルーホール・マスク補正部
35により読み出される。
Enlarge or reduce. Of course, the size may be the same as that of the extraction hole image 40. This creates a basic mask image. The basic mask image is stored in the through-hole mask memory section 22.
The data is stored in the memory and read out by the through-hole mask correction unit 35 at the time of inspection.

次に、欠陥形状認識部31においては、検査時にA/D
変換器12より2値画像信号を入力し。
Next, in the defect shape recognition section 31, the A/D
A binary image signal is input from the converter 12.

断線検出用にデザインした空間フィルターを用いて1画
像信号中に一応断線部分と認められる「欠陥候補データ
」があるか否かを検出する。そして。
Using a spatial filter designed for wire breakage detection, it is detected whether or not there is "defect candidate data" that is considered to be a wire breakage portion in one image signal. and.

欠陥候補データがあったときには、スルーホールマスク
照合部36に出力する。
When there is defect candidate data, it is output to the through-hole mask matching section 36.

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

この空間フィルターを用いることで、断線に関する検査
が行われる。
By using this spatial filter, inspection regarding disconnection can be performed.

次に、スルーホール・マスク補正部35においては、第
4A[ffi、第4B図に示すごとくスルーホール・マ
スクの補正が行われる。
Next, in the through-hole mask correction section 35, the through-hole mask is corrected as shown in FIG. 4A[ffi and FIG. 4B.

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

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

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

登録領域46の位置、大きさを加減することで。By adjusting the position and size of the registration area 46.

基本マスク44を、最適に欠陥候補データに施すことが
できる。
The basic mask 44 can be optimally applied to the defect candidate data.

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

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

開開において、欠陥形状認、患部の欠陥検出用空間フィ
ルターのウィンドウ6には、基材像61とパターン像6
2が設定されている。そして、スルホール周りで本空間
フィルターのルールが適合した場合の穴位置が、穴部分
63で示されている。
During opening and opening, a substrate image 61 and a pattern image 6 are displayed in the window 6 of the spatial filter for defect shape recognition and defect detection in the affected area.
2 is set. Hole positions 63 are shown when the rules of this spatial filter are applied around the through-holes.

一方、スルーホール・マスク補正部35のマスク適合位
置補正用の空間フィルターにおいては、そのウィンドウ
460の一定位置に基本スルーホル・マスクの適合ポイ
ントである前記登録領域46が位置している。該登録領
域46の位置は、先のウィンドウ6の穴部分63のポイ
ントに相当する位置である。
On the other hand, in the spatial filter for correcting the mask matching position of the through-hole mask correction section 35, the registration area 46, which is the matching point of the basic through-hole mask, is located at a certain position in the window 460. The position of the registration area 46 corresponds to the point of the hole portion 63 of the previous window 6.

そこで、欠陥形状L2m部3]とスルーホールマスク補
正部35からの出力が1第5図に示すごとく、スルーホ
ール・マスク照合部36に入る。
Therefore, the defect shape L2m section 3] and the output from the through-hole mask correction section 35 enter the through-hole mask matching section 36 as shown in FIG.

そして、該スルーホール・マスク照合部36において、
上記穴部分63の位置即ちスルーホールマスクの登録領
域46の位置に、基本マスクが適合しているときには、
0(ゼロ)が出力される。
Then, in the through-hole mask matching section 36,
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,
0 (zero) is output.

つまり欠陥形状認識部31の欠陥候補データは真の欠陥
形状でないと判断される。上記の適合がない場合には、
1が出力され、真の欠陥形状と判定される。
In other words, it is determined that the defect candidate data of the defect shape recognition unit 31 is not a true defect shape. If the above does not apply,
1 is output, and it is determined that it is a true defect shape.

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

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

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

そして、第6図において5マスク補正用の空間フィルタ
ーの指定頭載のどこかにスルーホール・マスクが適合す
れば、欠陥検出率は真の欠陥形状でないとしてゼロ(0
)を出力し、そのイ也は1を出力する。
In Fig. 6, if the through-hole mask fits somewhere in the specified head of the spatial filter for 5-mask correction, the defect detection rate will be zero (0) as it is not a true defect shape.
) and outputs 1 for that number.

なお、上記欠陥形状認識部の空間フィルターは例えば分
解能IOμm、ウィンドウサイズ2o×20画素(40
0セル)を用いる。また、スルーホール・マスク補正部
におけるスルーホール・マスク用の空間フィルターは1
例えば分解能20μm、ウィンドウサイズl0XIO画
素(100セル)を用いる。
Note that the spatial filter of the defect shape recognition section has a resolution of IO μm and a window size of 20×20 pixels (40
0 cell) is used. In addition, the spatial filter for the through-hole mask in the through-hole mask correction section is 1
For example, a resolution of 20 μm and a window size of 10×IO pixels (100 cells) are used.

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

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

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

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

第8B図の斜線で示した画素部に、基本スルーホール 
マスクが適合したならば、欠陥候補データに対してマス
ク処理を行うことになる。
A basic through hole is provided in the pixel area indicated by diagonal lines in Figure 8B.
If the mask is suitable, 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 for the more difficult broken wire shape 64 in the through hole, and the broken wire shape 64 is the true defect shape. It can be determined that it is not.

また、同時ムこスルーホールランド下方の真の欠陥部分
68は、スルーホール・マスク補正部のスルーホール・
マスクによってマスクされないのでラインパターンにお
いて生している断線と判断できる。
In addition, the true defective portion 68 below the through-hole land is located at the through-hole of the through-hole mask correction section.
Since it is not masked by a mask, it can be determined that it is a disconnection occurring in the line pattern.

上記において、スルーホール・マスク補正部で従来のご
とく、もしも第8C図に示すごとき1スルーホール・マ
スク補正用空間フィルターを用いた場合には、上記第8
B図の場合に比して、スルーホールの半径当たり、3画
素幅以上の大きさのスルーホール・マスクが必要となる
。また このように大きなスルーホール・マスクを常時
用いた場合には、上記真の欠陥部分68がマスクされて
しまい、欠陥が検出できなくなってしまう。
In the above, if one through-hole mask correction spatial filter as shown in FIG. 8C is used in the through-hole mask correction section as in the past,
Compared to the case in Figure B, a through-hole mask with a width of three pixels or more is required for each radius of the through-hole. Furthermore, if such a large through-hole mask is always used, the true defect portion 68 will be masked, making it impossible to detect the defect.

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

縮小できるよう構成している。It is configured so that it can be reduced.

それ故、従来のごとく、スルーホール・マスクが大きい
ために真の欠陥形状を検出できないということがない。
Therefore, there is no possibility that the true shape of the defect cannot be detected due to the large size of the through-hole mask, as is the case in the past.

したがって、各欠陥候補データに対して個々に最適な位
置1寸法のスルーホール・マスクを照合することができ
、スルーホール周りからの虚報を防止することができる
Therefore, it is possible to individually match each defect candidate data with a through-hole mask at an optimal position and one dimension, and it is possible to prevent false alarms from around the through-holes.

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

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

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

第10図は、スルーホールランド像7において線細り部
があるとき、基材像61とパターン像62とによって線
細り部64があるとして欠陥候補データが出力される。
In FIG. 10, when there is a thin line portion in the through-hole land image 7, defect candidate data is output based on the base material image 61 and pattern image 62, indicating that there is a thin line portion 64.

そして、同図に示すごとく段状点線で示す基本スルーホ
ール・マスク751がスルーホール・マスク補正部のマ
スク補正用空間フィルターを通して2適用される。
Then, as shown in the figure, a basic through-hole mask 751 indicated by a stepped dotted line is applied twice through a spatial filter for mask correction of a through-hole mask correction section.

そして、上記の場合、スルーホールにおける線細り部分
に対しては1第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 having 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 section. That is, if the basic mask is located somewhere in the specified portion, the defect candidate data is masked and it is determined that the defect shape is not a true defect shape.

上記において、スルーホール・マスク補正部で。In the above, in the through-hole mask correction section.

従来のごとく、もしも第11C図に示すごときスルーホ
ール・マスク補正用空間フィルターを用いた場合には、
空間フィルターの中央部で一律にスルーホール・マスク
を施すことになる。そのため このルールでは、上記ス
ルーホール・マスクを用いて線細りの欠陥候補データを
マスキングすることができず虚報が出てしまう。そのた
め、更にスルーホール・マスクを大きくする必要が生し
てしまい、また大きくすると前記問題を生ずる。
If a through-hole mask correction spatial filter as shown in FIG. 11C is used as in the past,
A through-hole mask will be uniformly applied to the center of the spatial filter. Therefore, according to this rule, it is not possible to mask thin line defect candidate data using the above-mentioned through-hole mask, resulting in false alarms. Therefore, it becomes necessary to make the through-hole mask even larger, and if it is made larger, the above-mentioned problem occurs.

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

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

第1図〜第8C図は第1実施例の検査装置を示し、第1
図はその全体を示すブロック線図、第2図はスルーホー
ル基本マスク作成部における抽出穴像の抽出、拡大を示
す図、第3図は欠陥形状認識部の空間フィルターの説明
回、第4A図及び第4B図は断線に関する画像を示す図
、第50は欠陥形状りこ患部及びスルーホール マスク
補正部における位置決め適合の説明図、第6図は欠陥形
状認識部及びスルーホール・マスク補正部における適合
領域の説明図、第7図は断線に関するスルーホールライ
ンパターン像の説明図、第8A図〜第8C図は空間フィ
ルター適用の説明図、第9A図〜第11C[2Iは第2
実施例を示し、第9Al15及び第9B図は欠けに関す
る画像説明図、第10回は欠けに関するスルーホールラ
インパターン像の説明図、第11A図〜第11C図は空
間フィルタ適用の説明図、第12閏はスルーホールマス
ク補正部の空間フィルターの説明図、第13図〜第18
図は従来例を示し、第13図はプリント配線基板におけ
るスルーホール及びラインパターンの平面図、第14図
は線細り状態のスルーホールランド部の平面図、第15
図は第13図のスルーホールランド部の画像信号、第1
6図は検査装置のブロンク線図、第17図及び第18図
は欠陥候補データの画像である。 401.スルーホール像 40、、、抽出穴像 44、、、基本マスク。 50 53、、、  ウィンドウ 61、、、基材像。 62、、、 パターン像。 63、、、穴部分 710.スルーホールランド像。
Figures 1 to 8C show the inspection device of the first embodiment.
The figure is a block diagram showing the entire system, Figure 2 is a diagram showing extraction and enlargement of an extraction hole image in the through-hole basic mask creation section, Figure 3 is an explanation of the spatial filter of the defect shape recognition section, and Figure 4A and Fig. 4B is a diagram showing an image related to wire breakage, Fig. 50 is an explanatory diagram of positioning adaptation in the defect shape recessed part and through-hole mask correction part, and Fig. 6 is a diagram showing the matching area in the defect shape recognition part and through-hole mask correction part. FIG. 7 is an explanatory diagram of a through-hole line pattern image regarding wire breakage, FIGS. 8A to 8C are explanatory diagrams of spatial filter application, and FIGS. 9A to 11C [2I is a
Examples are shown, 9th Al15 and 9B are explanatory diagrams of images related to chipping, the 10th is explanatory diagrams of through-hole line pattern images regarding chipping, Figures 11A to 11C are explanatory diagrams of spatial filter application, and 12th The leaps are explanatory diagrams of the spatial filter of the through-hole mask correction section, Figures 13 to 18
The figures show a conventional example; FIG. 13 is a plan view of through holes and line patterns in a printed wiring board; FIG. 14 is a plan view of a through hole land portion in a thin line state;
The figure shows the image signal of the through-hole land part in Figure 13,
FIG. 6 is a Bronk diagram of the inspection device, and FIGS. 17 and 18 are images of defect candidate data. 401. Through-hole image 40, . . . Extraction hole image 44, . . . Basic mask. 50 53, Window 61, Base material image. 62,... Pattern image. 63,, hole portion 710. Through hole land statue.

Claims (1)

【特許請求の範囲】 プリント配線基板上の配線パターンを撮像する撮像装置
と、 該撮像装置の画像信号からスルホール・マスクを作成し
、かつ記憶するマスク部と、上記画像信号と上記スルホ
ール・マスクとを照合する欠陥検出部と、該欠陥検出部
の欠陥データを集計するデータ集計部とよりなり、 上記マスク部は、プリント配線基板のスルーホールの穴
部分のみを抽出すると共にその抽出穴像を任意に拡大、
縮小するスルホール基本マスク作成部と、該スルホール
基本マスク作成部で作成された抽出穴像をスルホール・
マスク像として保存しておくマスクメモリー部とにより
構成し、また、上記欠陥検出部は、欠陥形状を想定した
ルールを設定してある空間フィルターを用いて、上記画
像信号から欠陥形状を認識し、その欠陥候補データを出
力する欠陥形状認識部と、 検査時にマスクメモリー部から出力される基本マスク像
と欠陥形状認識部の欠陥候補データとの適合位置を、各
欠陥形状認識部固有の入力画像に対する形状認識位置に
合わせて、スルーホール・マスク側を移動させることに
より合致させると共に必要に応じて適合領域の大きさを
拡張するスルホール・マスク補正部と、 該スルホール・マスク補正部から出力された補正済スル
ホール・マスクを上記欠陥形状認識部から出力された欠
陥候補データと照合するスルホール・マスク照合部とよ
りなり、 また、上記欠陥検出部は欠陥形状の種類数に応じて配設
してあることを特徴とするプリント配線基板の検査装置
[Scope of Claims] 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 a mask unit that creates and stores a through-hole mask from an image signal of the imaging device; The mask unit extracts only the hole portion of the through hole of the printed wiring board and arbitrarily converts the image of the extracted hole. expanded to,
The through-hole basic mask creation section to be reduced and the extraction hole image created in the through-hole basic mask creation section are
and a mask memory section that stores the mask image as a mask image, and the defect detection section recognizes the defect shape from the image signal using a spatial filter in which rules are set assuming the defect shape, The defect shape recognition unit outputs the defect candidate data, and the 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 is determined based on the input image unique to each defect shape recognition unit. A through-hole mask correction unit that matches the through-hole mask side by moving the through-hole mask side according to the shape recognition position and expands the size of the matching area as necessary; and a correction output from the through-hole mask correction unit. A through-hole mask matching unit that matches the completed through-hole mask with defect candidate data output from the defect shape recognition unit, and the defect detection units are arranged according to the number of types of defect shapes. A printed wiring board inspection device featuring:
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 true JPH0493755A (en) 1992-03-26
JP2868864B2 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)

Families Citing this family (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
JP2868864B2 (en) 1999-03-10

Similar Documents

Publication Publication Date Title
US20020181760A1 (en) Hole inspection apparatus and method
KR101767923B1 (en) Method and apparatus for inspecting via hole
JP4017285B2 (en) Pattern defect detection method
JPH04194608A (en) Inspecting method for pattern of printed circuit board
JP4071866B2 (en) Wiring pattern inspection equipment
JP4454428B2 (en) Component edge detection method, component edge detection program, and inspection apparatus
JPH0493755A (en) Inspecting apparatus for printed wiring board
JP2003086919A (en) Pattern inspection device
JP2003203218A (en) Visual inspection device and method
JP4011966B2 (en) Printing position inspection method and apparatus
JP2825281B2 (en) Inspection equipment for printed wiring boards
JP2004061118A (en) Apparatus and method for inspecting pattern
JPH0786468B2 (en) Printed circuit board pattern inspection method
JPS61230016A (en) Method for testing pattern of printed board
JPH095022A (en) Pattern position detecting method and apparatus by image recognition
JP2001183119A (en) Pattern inspecting device
JP3189488B2 (en) Inspection equipment for printed wiring boards
JP2745763B2 (en) Wiring pattern inspection equipment
JP2006329679A (en) Method and device for inspecting product pattern
JP2765339B2 (en) Through hole inspection equipment
JP2001050906A (en) Apparatus and method for pattern inspection
JP2002372502A (en) Printed circuit board inspection method
JPS61278706A (en) Masking mechanism for pattern appearance tester
JPH0727534A (en) Inspecting device for printed wiring board
JPH08261720A (en) Method for inspecting position of printing pattern

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 (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071225

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081225

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091225

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091225

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101225

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101225

Year of fee payment: 12