JPH0829355A - Appearance inspection device and appearance inspection method - Google Patents
Appearance inspection device and appearance inspection methodInfo
- Publication number
- JPH0829355A JPH0829355A JP6164404A JP16440494A JPH0829355A JP H0829355 A JPH0829355 A JP H0829355A JP 6164404 A JP6164404 A JP 6164404A JP 16440494 A JP16440494 A JP 16440494A JP H0829355 A JPH0829355 A JP H0829355A
- Authority
- JP
- Japan
- Prior art keywords
- defect
- inspection
- labeling
- circuit
- element pattern
- 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.)
- Withdrawn
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
(57)【要約】
【目的】 外観検査装置の改善に関し、欠陥候補として
検出された検査要素パターンが真の欠陥か否かを判定
し、救済できる欠陥は「正常」と判定し、検査信頼度の
向上を図る。
【構成】 画像データDINから被検査対象13の欠陥を
検出する検出手段11と、検出手段11によって検出さ
れた欠陥が、許容される欠陥か真の欠陥かを判定する判
定手段12とを備える。判定手段12は、画像データD
INから抽出した被検査対象13の検査要素パターンを拡
大し、該検査要素パターン毎にラベリングをする第1の
ラベリング回路22Aと、画像データDINから欠陥を除い
た被検査対象13の検査要素パターン毎にラベリングを
する第2のラベリング回路22Bと、第1のラベリング回
路22Aからのラベル出力信号S1と第2のラベリング回
路22Bからのラベル出力信号S2とを比較して欠陥領域
内に発生した欠陥であるか否かを判定する領域判定回路
22Cとを有する。
(57) [Abstract] [Purpose] Regarding the improvement of the appearance inspection device, it is judged whether the inspection element pattern detected as a defect candidate is a true defect, and the defect which can be repaired is judged as "normal", and the inspection reliability is improved. To improve. A detection unit 11 for detecting a defect of an object 13 to be inspected from image data DIN, and a determination unit 12 for determining whether the defect detected by the detection unit 11 is an allowable defect or a true defect. The determination means 12 uses the image data D
A first labeling circuit 22A for enlarging the inspection element pattern of the inspection target 13 extracted from IN and labeling for each inspection element pattern, and for each inspection element pattern of the inspection target 13 excluding defects from the image data DIN The label output signal S1 from the first labeling circuit 22A and the label output signal S2 from the second labeling circuit 22B are compared with each other by the second labeling circuit 22B for labeling Area determination circuit for determining whether or not there is
22C and.
Description
【0001】[0001]
【産業上の利用分野】本発明は、外観検査装置及び外観
検査方法に関するものであり、更に詳しく言えば、プリ
ント基板の配線パターンを検査する装置及び方法の改善
に関するものである。近年、電子機器の高密度化に伴い
その内部のプリント基板は、高密度配線を目的とした多
層薄膜パターン化が進んでいる。この製造工程において
は、配線パターンの欠けによる断線や銅残りによる短絡
等のパターン検査が必須である。配線パターンは益々微
細化しているため、この検査は、もはや、作業者の目視
では、困難となっている。そこで、自動外観検査装置が
使用される。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a visual inspection apparatus and a visual inspection method, and more particularly to an improvement in an apparatus and method for inspecting a wiring pattern on a printed circuit board. 2. Description of the Related Art In recent years, as electronic devices have become higher in density, the printed circuit boards in the electronic devices have been made into a multilayer thin film pattern for the purpose of high-density wiring. In this manufacturing process, pattern inspection such as disconnection due to lack of wiring pattern and short circuit due to copper residue is essential. Since the wiring patterns are becoming finer and finer, this inspection is no longer visible to the operator. Therefore, an automatic visual inspection device is used.
【0002】配線パターンの欠陥を自動検査する技術は
大きく分けて、2つから成る。 (1)光学的に配線パターンを読取り、電気信号に変換
する検知技術である。一般的には、ここで、二値化した
画像を用いる。 (2)得られた画像から欠陥を検出する検査理論であ
る。本発明は、(2)に関するものであり、例えば、放
射状の測長センサを用いて、各方向の配線パターンの長
さを測長し、その中心の有無を調べ、中心が存在するも
のに対して、複数方向のパターンの長さの値を「ラジア
ルコード」と呼ばれる16ビットのコードに変換し、予
め、各素子部のラジアルコードの良否を記憶した辞書
と、検出したラジアルコードとを対応させて、良否(正
常又は欠陥)を判定する方法が採られる。この方法は、
辞書データを入れ替えることができるので、様々なパタ
ーンに適用することができる汎用性を持っている。There are roughly two techniques for automatically inspecting a wiring pattern for defects. (1) It is a detection technology that optically reads a wiring pattern and converts it into an electric signal. Generally, a binarized image is used here. (2) It is an inspection theory that detects defects from the obtained image. The present invention relates to (2), for example, using a radial length measuring sensor, measuring the length of the wiring pattern in each direction, checking the presence or absence of the center, and Then, the length values of the patterns in multiple directions are converted into a 16-bit code called a "radial code", and the detected radial code is associated with the dictionary that stores the quality of the radial code of each element in advance. Then, a method of judging pass / fail (normal or defective) is adopted. This method
Since the dictionary data can be exchanged, it has versatility to be applied to various patterns.
【0003】しかし、従来例の検査論理によれば、欠陥
候補として検出された配線パターンの中で、本来「正
常」と判断すべき、救済できる欠陥であっても欠陥と誤
判定されることで、再検査に多くの時間を要することが
ある。そこで、欠陥候補として検出された検査要素パタ
ーンが真の欠陥か否かを判定し、救済できる欠陥は「正
常」と判定し、検査信頼度の向上を図ることができる装
置及び方法が望まれている。However, according to the inspection logic of the conventional example, in the wiring patterns detected as defect candidates, even repairable defects which should be originally judged as "normal" are erroneously determined as defects. However, re-inspection may take a lot of time. Therefore, there is a demand for an apparatus and method capable of determining whether or not the inspection element pattern detected as a defect candidate is a true defect, determining that the defect that can be repaired is “normal”, and improving the inspection reliability. There is.
【0004】[0004]
【従来の技術】図11〜13は、従来例に係る説明図であ
る。図11は従来例に係るプリント基板検査装置の構成図
であり、図12は、従来例に係る配線パターンの検査フロ
ーチャートである。図13(A),(B)は、その問題点
を説明するプリント基板及び銅残りパターン図をそれぞ
れ示している。11 to 13 are explanatory views according to a conventional example. FIG. 11 is a configuration diagram of a printed circuit board inspecting apparatus according to a conventional example, and FIG. 12 is a wiring pattern inspection flowchart according to the conventional example. 13 (A) and 13 (B) respectively show a printed circuit board and a copper residual pattern diagram for explaining the problem.
【0005】例えば、本発明の特許出願人が先に出願
(特開平5−264240号)した外観検査装置によれ
ば、図11に示すように、光源1,画像取得系2,欠陥検
査系3及び良否判定ルール辞書4を備える。画像取得系
2はCCDカメラ2A,2値化回路2B及び記憶回路2
Cを有する。欠陥検査系3は測長回路3A,中心検出回
路3B,ラジアルコード化回路3C,カテゴリ変換回路
3D,カテゴリマップ作成回路3E及び比較回路3Fを
有する。For example, according to the appearance inspection apparatus previously filed by the applicant of the present invention (Japanese Patent Laid-Open No. 5-264240), as shown in FIG. 11, a light source 1, an image acquisition system 2, and a defect inspection system 3 are provided. And a pass / fail judgment rule dictionary 4. The image acquisition system 2 includes a CCD camera 2A, a binarization circuit 2B and a storage circuit 2.
C. The defect inspection system 3 has a length measurement circuit 3A, a center detection circuit 3B, a radial coding circuit 3C, a category conversion circuit 3D, a category map creation circuit 3E and a comparison circuit 3F.
【0006】当該検査装置の機能を説明する。例えば、
被検査対象13の一例となる配線パターンが形成された
プリント基板23に光源1から照明光が照射される。こ
の状態の被検査対象13の画像がCCDカメラ2Aによ
り取得される。この画像は2値化回路2Bにより、アナ
ログ画像信号が二値化画像信号に変換され、この画像信
号が記憶回路2Cに一時記憶される。記憶回路2Cは画
像データを測長回路3Aに出力する。The function of the inspection apparatus will be described. For example,
Illumination light is emitted from the light source 1 to the printed circuit board 23 on which the wiring pattern, which is an example of the inspection target 13, is formed. An image of the inspection target 13 in this state is acquired by the CCD camera 2A. An analog image signal of this image is converted into a binary image signal by the binarization circuit 2B, and this image signal is temporarily stored in the storage circuit 2C. The memory circuit 2C outputs the image data to the length measuring circuit 3A.
【0007】画像データに基づいて検査要素パターン
(配線パターン)が測長回路3Aにより測長される。こ
れには、放射状の測長センサを用い、各方向のパターン
の長さを測長し、中心であるか否かを調べる。中心とな
ったものに対して、複数方向のパターンの長さの値を
「ラジアルコード」と呼ばれる16ビットのコードに変
換する。The inspection element pattern (wiring pattern) is measured by the length measuring circuit 3A based on the image data. For this purpose, a radial length measuring sensor is used, and the length of the pattern in each direction is measured to check whether or not it is the center. With respect to the central one, the length values of the patterns in a plurality of directions are converted into a 16-bit code called a "radial code".
【0008】すなわち、パターンの測長値は中心検出回
路3Bに出力される。中心検出回路3Bでは検査要素パ
ターンの中心が検出され、その中心信号がラジアルコー
ド化回路3Cに出力される。中心信号及び測長値は、コ
ード化回路3Cにより16ビットのラジアルコードに変
換され、それがカテゴリ変換回路3Dに出力される。カ
テゴリ変換回路3Dでは16ビットのラジアルコードが
カテゴリコードに変換され、これに基づいて。カテゴリ
マップ作成回路3Eではカテゴリマップが作成され、銅
残り等の欠陥候補を示す欠陥信号が検出される。比較回
路3Fでは欠陥信号と辞書とが比較される。これによ
り、各素子部ラジアルコードの良否を記憶した辞書と、
検出したラジアルコードを対応させて、正常なものと、
欠陥候補とに分類される。良否結果は結果出力手段14
から出力される。That is, the measured value of the pattern is output to the center detection circuit 3B. The center of the inspection element pattern is detected by the center detection circuit 3B, and the center signal is output to the radial encoding circuit 3C. The center signal and the length measurement value are converted into a 16-bit radial code by the encoding circuit 3C, which is output to the category conversion circuit 3D. The category conversion circuit 3D converts a 16-bit radial code into a category code, and based on this. The category map creation circuit 3E creates a category map and detects a defect signal indicating a defect candidate such as copper residue. The comparison circuit 3F compares the defect signal with the dictionary. With this, a dictionary storing the quality of each element radial code,
Correspond the detected radial code to the normal one,
It is classified as a defect candidate. The pass / fail result is the result output means 14
Output from
【0009】次に、具体的な配線パターンの検査方法に
ついて説明する。例えば、図13(A)に示すような銅残
り〜が発生したプリント基板23を検査する場合、
図12に示すように、作成されたカテゴリマップからステ
ップP1で、銅残りを入力カテゴリとして抽出する。次
いで、ステップP2で入力カテゴリと一致するカテゴリ
が辞書にあるか否かを比較する。この際に、辞書と比較
しそれがある場合(YES)には、ステップP3に移行す
る。それがない場合(NO)には、良否を出力する。Next, a specific method for inspecting a wiring pattern will be described. For example, in the case of inspecting the printed circuit board 23 in which the copper residue-as shown in FIG.
As shown in FIG. 12, in step P1, the copper residue is extracted as an input category from the created category map. Then, in step P2, it is compared whether or not there is a category in the dictionary that matches the input category. At this time, if it is compared with the dictionary and there is it (YES), the process proceeds to step P3. If it does not exist (NO), the quality is output.
【0010】ステップP3では探索方法辞書から「両側
探索方法」を読み出し、その後、ステップP4で銅残り
を中心として両側を探索する。ここで、ヒットするカテ
ゴリがあるか否かを比較する。その後、ステップP5で
両側に間隔不良が有るか否かを判定する。この際に、探
索カテゴリを検出できた場合(YES)には欠陥が検出さ
れる。具体的には、図13(B)に示すような間隔不良の
配線パターンとランドとの間に発生した銅残り及びラ
ンドの横に発生し間隔不良の銅残りが欠陥として検出
される。それが検出されない場合(NO)には、配線パ
ターンは「正常」と判断される。具体的な正常パターン
は、図13(B)に示すようなプリント基板上に孤立した
銅残り及び配線パターンとランドとの間に発生した銅
残りである。In step P3, the "two-sided search method" is read from the search method dictionary, and then in step P4, both sides are searched centering on the copper residue. Here, it is compared whether or not there is a hit category. Then, in step P5, it is determined whether or not there is a gap defect on both sides. At this time, if the search category can be detected (YES), a defect is detected. Specifically, the copper residue generated between the wiring pattern having the defective spacing and the land as shown in FIG. 13B and the copper residue generated next to the land and having the defective spacing are detected as defects. If it is not detected (NO), the wiring pattern is determined to be “normal”. Specific normal patterns are the copper residue isolated on the printed circuit board as shown in FIG. 13B and the copper residue generated between the wiring pattern and the land.
【0011】[0011]
【発明が解決しようとする課題】ところで、従来例の検
査論理によれば、図13(B)に示すような銅残り,
,に対して、銅残りカテゴリの両側に間隔不良カテ
ゴリがあるため、銅残り欠陥と判定され、これが無い場
合には、正常銅残りと判定される。このため、図13
(B)に示したような銅残り欠陥とは性質を異にする
銅残りが、銅残り欠陥と判定されることとなる。これ
は、両側に間隔不良カテゴリがあるため、銅残りが銅
残り欠陥と判定されるものである。しかし、銅残りは
他の正常パターンと接触(ショート)する恐れはなく、
十分広い導体間隔を満たしているため、本来正常と判定
しても良いパターンである。By the way, according to the inspection logic of the conventional example, the copper residue as shown in FIG.
, Since there is a space defect category on both sides of the copper residual category, it is determined to be a copper residual defect, and when there is no defect, it is determined to be a normal copper residual. For this reason,
A copper residue having a property different from that of the copper residue defect shown in (B) will be determined as a copper residue defect. This is because the copper residue is judged to be a copper residue defect because there are gap defect categories on both sides. However, there is no fear that the copper residue will contact (short) with other normal patterns,
Since the conductor spacing is sufficiently wide, the pattern may be determined to be normal.
【0012】これにより、従来例の検査論理は銅残り
,,に対しては有効であるが、銅残りに対して
は、必ずしも有効ではない。このことで、救済できる銅
残りが欠陥と誤判定されることで、プリント基板の再
検査に多くの時間を要したり、その生産歩留りが低下を
するという問題がる。本発明は、かかる従来例の問題点
に鑑み創作されたものであり、欠陥候補として検出され
た検査要素パターンが真の欠陥か否かを判定し、救済で
きる欠陥は「正常」と判定し、検査信頼度の向上を図る
ことが可能となる外観検査装置及び外観検査方法の提供
を目的とする。As a result, the inspection logic of the conventional example is effective for the copper residuals, but is not always effective for the copper residuals. As a result, the residual copper that can be repaired is erroneously determined to be a defect, which requires a lot of time for re-inspecting the printed circuit board and lowers the production yield. The present invention was created in view of the problems of the conventional example, determines whether the inspection element pattern detected as a defect candidate is a true defect, the defect that can be repaired is determined to be "normal", An object of the present invention is to provide an appearance inspection device and an appearance inspection method capable of improving inspection reliability.
【0013】[0013]
【課題を解決するための手段】図1は、本発明に係る外
観検査装置の原理図を示している。本発明の外観検査装
置は図1に示すように、画像データDINから被検査対象
13の欠陥を検出する検出手段11と、前記検出手段1
1によって検出された欠陥が、許容される欠陥か否かを
判定する判定手段12とを備えることを特徴とする。FIG. 1 shows a principle diagram of an appearance inspection apparatus according to the present invention. As shown in FIG. 1, the appearance inspection apparatus of the present invention includes a detection unit 11 for detecting a defect of an inspection target 13 from image data DIN, and the detection unit 1 described above.
It is characterized by further comprising: a determination unit 12 that determines whether or not the defect detected by 1 is an allowable defect.
【0014】本発明の外観検査装置において、前記判定
手段12は、画像データDINから抽出した被検査対象1
3の検査要素パターンを拡大し、該検査要素パターン毎
にラベリングをする第1のラベリング回路22Aと、前記
画像データDINから欠陥を除いた被検査対象13の検査
要素パターン毎にラベリングをする第2のラベリング回
路22Bと、前記第1のラベリング回路22Aからのラベル
出力信号S1と前記第2のラベリング回路22Bからのラ
ベル出力信号S2とを比較して欠陥領域内に発生した欠
陥であるか否かを判定する領域判定回路22Cとを有する
ことを特徴とする。In the appearance inspection apparatus of the present invention, the judging means 12 is the inspection object 1 extracted from the image data DIN.
A first labeling circuit 22A for enlarging the inspection element pattern No. 3 and labeling for each inspection element pattern, and a second labeling circuit 22A for each inspection element pattern of the inspection object 13 in which defects are removed from the image data DIN Of the labeling circuit 22B, the label output signal S1 from the first labeling circuit 22A and the label output signal S2 from the second labeling circuit 22B are compared to determine whether or not there is a defect generated in the defective area. And a region determination circuit 22C for determining.
【0015】本発明の外観検査方法は、画像データDIN
から被検査対象13の検査要素パターンを抽出し、前記
抽出された検査要素パターンを拡大して検査領域を設定
し、前記検査領域内に発生した欠陥が真の欠陥か否かを
判定することを特徴とする。本発明の外観検査方法にお
いて、前記欠陥が真の欠陥か否かの判定は、拡大された
被検査対象13の検査要素パターン毎に追番を付す第1
のラベリング処理をし、かつ、欠陥を除いた被検査対象
13の検査要素パターン毎に追番を付す第2のラベリン
グ処理をし、前記第1及び第2のラベリング処理の対応
関係に基づいて欠陥領域に発生した欠陥であるか、又
は、欠陥領域以外に発生した欠陥であるかを判定するこ
とを特徴とする。The appearance inspection method according to the present invention uses the image data DIN.
The inspection element pattern of the inspection target 13 is extracted from the above, the extracted inspection element pattern is enlarged to set the inspection area, and it is determined whether or not the defect generated in the inspection area is a true defect. Characterize. In the appearance inspection method of the present invention, the determination as to whether the defect is a true defect is made by adding a serial number to each inspection element pattern of the enlarged inspection target 13.
And a second labeling process for assigning a serial number to each inspection element pattern of the inspection target 13 excluding the defect, and the defect is determined based on the correspondence between the first and second labeling processes. It is characterized in that it is determined whether it is a defect occurring in a region or a defect occurring in a region other than the defect region.
【0016】本発明の外観検査方法において、前記ラベ
リング処理は、検査要素パターン間の最小間隔を半径と
するフィルタを用いることを特徴とし、上記目的を達成
する。In the appearance inspection method of the present invention, the labeling processing is characterized by using a filter having a radius of a minimum interval between inspection element patterns, thereby achieving the above object.
【0017】[0017]
【作 用】本発明の外観検査装置の動作を説明する。例
えば、画像データDINから被検査対象13の欠陥が検出
手段11により検出されると、この欠陥が、許容される
欠陥か否かが判定手段12により判定される。具体的に
は、画像データDINから抽出した被検査対象13の検査
要素パターンが第1のラベリング回路22Aにより拡大さ
れ、この検査要素パターン毎に追番を付す第1のラベリ
ング処理が実行される。[Operation] The operation of the visual inspection apparatus of the present invention will be described. For example, when the detection means 11 detects a defect of the inspection object 13 from the image data DIN, the determination means 12 determines whether or not the defect is an allowable defect. Specifically, the inspection element pattern of the inspection object 13 extracted from the image data DIN is enlarged by the first labeling circuit 22A, and the first labeling process of adding a serial number to each inspection element pattern is executed.
【0018】例えば、当該回路22Aは検査要素パターン
間の最小間隔を半径とするフィルタを用いてラベリング
処理する。一方、第2のラベリング回路22Bでは、画像
データDINから欠陥が除かれた被検査対象13の検査要
素パターンが作成され、この検査要素パターン毎に追番
を付す第2のラベリング処理が実行される。これによ
り、第1のラベリング回路22Aからのラベル出力信号S
1と第2のラベリング回路22Bからのラベル出力信号S
2とが領域判定回路22Cにより比較され、欠陥領域内に
発生した欠陥であるか、又は、欠陥領域以外に発生した
欠陥であるかが判定される。良否結果は結果出力手段1
4から出力される。For example, the circuit 22A performs a labeling process using a filter having a radius which is the minimum interval between inspection element patterns. On the other hand, in the second labeling circuit 22B, the inspection element pattern of the inspection object 13 in which the defect is removed from the image data DIN is created, and the second labeling process of giving a serial number to each inspection element pattern is executed. . As a result, the label output signal S from the first labeling circuit 22A
Label output signal S from the first and second labeling circuits 22B
2 is compared by the area determination circuit 22C to determine whether it is a defect generated in the defective area or a defect other than the defective area. The pass / fail result is the result output means 1
It is output from 4.
【0019】このため、検出手段11によって検出され
た検査要素パターンの欠陥候補の中でも、救済できる欠
陥は、領域判定回路22Cにより「正常」と判定すること
ができ、真の欠陥のみを検出することができる。これに
より、従来例のような救済できる欠陥を「欠陥」と判定
することが無くなり、信頼性の良いプリント基板検査装
置等の提供に寄与する。Therefore, among the defect candidates of the inspection element pattern detected by the detecting means 11, the defect which can be repaired can be judged as "normal" by the area judging circuit 22C, and only the true defect should be detected. You can This eliminates the need to judge a repairable defect as a “defect” as in the conventional example, and contributes to the provision of a highly reliable printed circuit board inspection device and the like.
【0020】また、本発明の外観検査方法によれば、第
1及び第2のラベリング処理の対応関係に基づいて欠陥
領域に発生した欠陥であるか、又は、欠陥領域以外に発
生した欠陥であるかが判定される。このため、検査不合
格となる欠陥領域内に発生した欠陥と、欠陥領域以外,
すなわち、検査合格となる正常領域内に発生した欠陥と
を分離することができる。後者の欠陥は、他の検査要素
パターンと接触(ショート)等の恐れはなく、十分広い
導体間隔を満たしている場合である。Further, according to the appearance inspection method of the present invention, it is a defect that has occurred in the defective region or a defect that has occurred in a region other than the defective region based on the correspondence relationship between the first and second labeling processes. Is determined. For this reason, the defects generated in the defective area that fails the inspection,
That is, it is possible to separate defects that have occurred in a normal area that passes the inspection. The latter defect is a case where there is no possibility of contact (short) with other inspection element patterns and a sufficiently wide conductor interval is satisfied.
【0021】これにより、プリント基板の配線パターン
等を検査する高信頼度な外観検査装置の提供に寄与す
る。また、実質的な被検査対象の生産歩留りの向上に寄
与する。This contributes to the provision of a highly reliable visual inspection device for inspecting the wiring pattern of the printed circuit board. It also contributes to the substantial improvement of the production yield of the inspection object.
【0022】[0022]
【実施例】次に、図を参照しながら本発明の各実施例に
ついて説明をする。図2〜10は、本発明の各実施例に係
る外観検査装置及び外観検査方法を説明する図である。
図2は、本発明の実施例に係るプリント基板検査装置の
構成図であり、図3はそのラベリング回路の構成図であ
る。また、図4(A)は、パターン探索方法の説明図で
あり、図4(B)は、検査領域の設定方法の説明図であ
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, each embodiment of the present invention will be described with reference to the drawings. 2 to 10 are diagrams illustrating an appearance inspection device and an appearance inspection method according to each embodiment of the present invention.
FIG. 2 is a block diagram of a printed circuit board inspection apparatus according to an embodiment of the present invention, and FIG. 3 is a block diagram of its labeling circuit. 4A is an explanatory diagram of the pattern search method, and FIG. 4B is an explanatory diagram of the inspection area setting method.
【0023】図5(A),(B)は、ラベリングフィル
タ及びその機能説明図であり、図6(A),(B)は、
検査要素パターンのラベル付け直しの説明図である。図
7は、領域判定回路の機能説明図をそれぞれ示してい
る。例えば、外観検査装置の一例となるプリント基板検
査装置は、図2に示すように、光源1,画像取得系2,
良否判定ルール辞書4,欠陥検出システム21及び欠陥
再判定システム22を備える。なお、光源1及び画像取
得系2については、従来例と同じ機能を有するため、そ
の説明を省略する。5 (A) and 5 (B) are explanatory views of the labeling filter and its function, and FIGS. 6 (A) and 6 (B) are
It is explanatory drawing of relabeling of an inspection element pattern. FIG. 7 is a functional explanatory diagram of the area determination circuit. For example, a printed circuit board inspection device, which is an example of an appearance inspection device, includes a light source 1, an image acquisition system 2, and an image acquisition system 2 as shown in FIG.
A pass / fail judgment rule dictionary 4, a defect detection system 21 and a defect re-judgment system 22 are provided. Since the light source 1 and the image acquisition system 2 have the same functions as those of the conventional example, the description thereof will be omitted.
【0024】すなわち、欠陥検出システム21は検出手
段11の一例であり、画像データDINからプリント基板
(被検査対象13の一例)23の欠陥を検出するもので
ある。欠陥検出システム21は、測長回路21A,中心検
出回路21B,ラジアルコード化回路21C,カテゴリ変換
回路21D,カテゴリマップ作成回路21E及び比較回路21
Fを有する。測長回路21Aは画像データDINから配線パ
ターン(検査要素パターン)を測長する。例えば、放射
状の測長センサを用いて図4(A)に示すような各方向
のパターンの長さを測長する。That is, the defect detection system 21 is an example of the detection means 11 and detects a defect of the printed circuit board (an example of the inspection target 13) 23 from the image data DIN. The defect detection system 21 includes a length measurement circuit 21A, a center detection circuit 21B, a radial coding circuit 21C, a category conversion circuit 21D, a category map creation circuit 21E and a comparison circuit 21.
F. The length measuring circuit 21A measures the wiring pattern (inspection element pattern) from the image data DIN. For example, the length of the pattern in each direction as shown in FIG. 4A is measured using a radial length measuring sensor.
【0025】中心検出回路21Bは、測長値から配線パタ
ーンの中心を検出し、その中心信号と測長値とをラジア
ルコード化回路21Cに出力する。ラジアルコード化回路
21Cは中心信号及び測長値を16ビットのラジアルコー
ドに変換し、それをカテゴリ変換回路21Dに出力する。
カテゴリ変換回路21Dは、16ビットのラジアルコード
をカテゴリコードに変換し、それをカテゴリマップ作成
回路21Eに出力する。カテゴリマップ作成回路21Eは、
カテゴリコードからカテゴリマップを作成する。カテゴ
リマップは銅残り等の欠陥候補を示し、この候補は欠陥
信号S0として比較回路21Fに出力される。比較回路21
Fは欠陥信号S0と辞書とが比較され、これらの比較結
果信号SOUT がシステム22のセレクタ22Dに出力され
る。The center detection circuit 21B detects the center of the wiring pattern from the length measurement value and outputs the center signal and the length measurement value to the radial coding circuit 21C. Radial coding circuit
21C converts the center signal and the measured value into a 16-bit radial code, and outputs it to the category conversion circuit 21D.
The category conversion circuit 21D converts the 16-bit radial code into a category code and outputs it to the category map creation circuit 21E. The category map creation circuit 21E is
Create a category map from the category code. The category map shows defect candidates such as copper residue, and these candidates are output to the comparison circuit 21F as the defect signal S0. Comparison circuit 21
F is compared with the defect signal S0 and the dictionary, and these comparison result signals SOUT are output to the selector 22D of the system 22.
【0026】欠陥再判定システム22は判定手段12の
一例であり、欠陥検出システム21によって検出された
欠陥候補が、許容される欠陥か否かを判定するものであ
る。例えば、当該システム22は、第1,第2のラベリ
ング回路22A,22B,領域判定回路22C及びセレクタ22
Dを有する。ラベリング回路22Aは図3に示すように、
領域指定部201 ,一次ラベリング部202 ,仮ラベル画像
フレームメモリ203 ,ラベルテーブル204 ,連結情報入
出力部205 及び二次ラベリング部206 を有する。領域指
定部201 は画像データDINから抽出したプリント基板2
3のランドや直線リード等の検査パターンを拡大し図4
(B)に示すような領域1,2等を設定する。The defect re-determination system 22 is an example of the determination means 12 and determines whether or not the defect candidate detected by the defect detection system 21 is an allowable defect. For example, the system 22 includes the first and second labeling circuits 22A and 22B, the area determination circuit 22C, and the selector 22.
Have D. The labeling circuit 22A, as shown in FIG.
It has an area designation unit 201, a primary labeling unit 202, a temporary label image frame memory 203, a label table 204, a connection information input / output unit 205, and a secondary labeling unit 206. The area designation unit 201 is the printed circuit board 2 extracted from the image data DIN.
Fig. 4 is an enlarged view of the inspection pattern for land 3 and straight leads.
Areas 1 and 2 as shown in (B) are set.
【0027】一次ラベリング部202 は、図5(A)に示
すような配線パターン間の最小間隔を半径とするフィル
タを用い、マスクの中央が注目画素に対応される。これ
により、図5(B)に示すような検査要素パターンにラ
ベルフィルタを適用すると、円内図の黒表示の部分に同
一のラベル(以下仮ラベルともいう)が付けられる。具
体例としては1回目のラベリングにより図6(A)に示
すような直線リードとランドに「1」が付される部分
と、直線リードが「2」で付される部分とが混在する。The primary labeling unit 202 uses a filter whose radius is the minimum interval between the wiring patterns as shown in FIG. 5A, and the center of the mask corresponds to the pixel of interest. As a result, when the label filter is applied to the inspection element pattern as shown in FIG. 5B, the same label (hereinafter, also referred to as a temporary label) is attached to the black portion of the in-circle drawing. As a specific example, as shown in FIG. 6 (A), a portion where the linear lead and the land are attached with “1” and a portion where the linear lead is attached with “2” are mixed in the first labeling.
【0028】仮ラベル画像フレームメモリ203 は仮ラベ
ル値を一次記憶するメモリである。ラベルテーブル204
は例えば、図6(B)に示すような仮ラベルのペアと真
のラベルとを結合情報として登録する。連結情報入出力
部205 は結合情報の入出力をする。二次ラベリング部20
6 は図6(B)に示すような結合情報(仮ラベル値)の
ラベルの付け直しをし、真のラベル画像(多値)を領域
判定回路22Cに出力する。この真のラベル画像(多値)
がラベル出力信号S1となる。The temporary label image frame memory 203 is a memory for temporarily storing the temporary label value. Label table 204
Registers, for example, a pair of temporary labels and a true label as shown in FIG. 6B as the combined information. The connection information input / output unit 205 inputs / outputs connection information. Secondary labeling section 20
6 re-labels the combined information (temporary label value) as shown in FIG. 6 (B) and outputs a true label image (multi-valued) to the area determination circuit 22C. This true label image (multi-valued)
Becomes the label output signal S1.
【0029】これにより、画像データDINから抽出した
プリント基板23の配線パターン等を拡大し、該配線パ
ターン毎にラベリング処理をし、ラベリング回路22Aか
ら領域判定回路22Cにはラベル出力信号S1を出力する
ことができる。具体例としては2回目のラベリングによ
り図6(A)に示すような直線リードとランドが全て
「1」が付される。As a result, the wiring pattern or the like of the printed board 23 extracted from the image data DIN is enlarged, labeling processing is performed for each wiring pattern, and the label output signal S1 is output from the labeling circuit 22A to the area determination circuit 22C. be able to. As a specific example, all the linear leads and lands as shown in FIG. 6A are marked with "1" by the second labeling.
【0030】なお、ラベリング回路22Bの内部は回路22
Aと同様である。その機能はセレクタ22Dからの比較結
果信号SOUT に基づいてプリント基板23の画像データ
DINから欠陥を除き、検査要素パターン毎に追番を付し
てラベリング処理をし、ラベル出力信号S2を領域判定
回路22Cに出力する。領域判定回路22Cは、ラベル出力
信号S1とラベル出力信号S2とを比較して欠陥領域内
に発生した欠陥であるか否かを判定する。この結果、領
域判定回路22Cは良否結果部に欠陥再判定信号S3を出
力する。セレクタ22Dは比較回路21Fの出力=「欠陥」
又は「正常」を選択し、例えば、「欠陥」の場合には、
ラベリング回路22Bに比較結果信号SOUT を出力する。The inside of the labeling circuit 22B is the circuit 22.
The same as A. The function is to remove defects from the image data DIN of the printed circuit board 23 based on the comparison result signal SOUT from the selector 22D, add a serial number to each inspection element pattern, perform labeling processing, and output the label output signal S2 to the area determination circuit. Output to 22C. The area determination circuit 22C compares the label output signal S1 with the label output signal S2 and determines whether or not the defect is generated in the defective area. As a result, the area determination circuit 22C outputs the defect re-determination signal S3 to the pass / fail result portion. The output of the comparison circuit 21F is "defective" in the selector 22D.
Or select "Normal", for example, if "Defective",
The comparison result signal SOUT is output to the labeling circuit 22B.
【0031】結果出力手段14は比較結果信号SOUT を
欠陥再判定信号S3に基づいて出力する。これにより、
プリント基板23の良否結果が出力される。なお、良否
判定ルール辞書4にはカテゴリ1として欠陥の探索方
法,探索カテゴリ,探索カテゴリを検出した時の良否及
び探索カテゴリを検出しなかった時の良否が記述され
る。具体例としては、プリント基板23の銅残りに関
し、両側探索,間隔不良,銅残り欠陥及び正常銅残り等
が記述される。辞書4は探索方法辞書が参照される。The result output means 14 outputs the comparison result signal SOUT based on the defect re-determination signal S3. This allows
The pass / fail result of the printed circuit board 23 is output. In the pass / fail judgment rule dictionary 4, a defect search method, a search category, pass / fail when the search category is detected, and pass / fail when the search category is not detected are described as category 1. As a specific example, regarding copper residue on the printed circuit board 23, double-sided search, gap defect, copper residue defect, normal copper residue, etc. are described. The search method dictionary is referred to as the dictionary 4.
【0032】次に、本発明の実施例に係る配線パターン
の検査方法について、当該検査装置の動作を説明する。
図8,9は、本発明の実施例に係る配線パターンの検査
フローチャート(その1,2)であり、図10(A),
(B)は、そのラベリング処理の補足説明図をそれぞれ
示している。例えば、図13(A)に示したような銅残り
〜を生じたプリント基板23を検査する場合、図8
において、まず、ステップP1でカテゴリマップを作成
する。例えば、各ラジアルコードがカテゴリ変換回路21
Dでカテゴリ(例えば、銅残り、突起)に変換される。Next, with respect to the wiring pattern inspection method according to the embodiment of the present invention, the operation of the inspection apparatus will be described.
8 and 9 are flowcharts (No. 1 and 2) of inspecting a wiring pattern according to the embodiment of the present invention.
(B) is a supplementary explanatory diagram of the labeling process. For example, in the case of inspecting the printed circuit board 23 in which the copper residue is produced as shown in FIG.
First, in step P1, a category map is created. For example, each radial code corresponds to the category conversion circuit 21
Converted to a category (for example, copper remaining, protrusion) in D.
【0033】次いで、ステップP2で入力カテゴリと一
致するカテゴリが辞書にあるか否かを比較する。入力カ
テゴリと辞書と比較しそれがある場合(YES)には、ス
テップP3に移行する。それがない場合(NO)には、
良否を出力する。ステップP3では探索方法辞書から
「具体的な探索方法」を読み出し、その後、ステップP
4でカテゴリマップ上において探索したいカテゴリを探
索する。ここで、ヒットするカテゴリがあるか否かを比
較する。この際の探索方法は、例えば、図4(A)に示
すように、あるカテゴリXを中心として、ある方向A
と、その方向Aと180°異なる方向Bの両方向に指定
カテゴリYが存在するか否かを調べる方法を用いる。Next, in step P2, it is compared whether or not there is a category in the dictionary that matches the input category. If the input category and the dictionary are compared with each other (YES), the process proceeds to step P3. If not (NO),
Output pass / fail. In step P3, the "specific search method" is read from the search method dictionary, and then in step P3.
In step 4, a desired category is searched for on the category map. Here, it is compared whether or not there is a hit category. The search method in this case is, for example, as shown in FIG.
And a method for checking whether or not the designated category Y exists in both directions A and 180 that differ from the direction A by 180 degrees.
【0034】その後、ステップP5で探索カテゴリを検
出できか否かを判定する。この際に、探索カテゴリを検
出できた場合(YES)には欠陥が検出される。この際
に、欠陥候補のカテゴリを中心として、周囲のカテゴリ
分布が探索され、良否判定ルールに基づいて大局的に良
否と欠陥の種類が判定される。具体的には、図13(B)
に示すような間隔不良の配線パターンとランドとの間に
発生した銅残り及びランドの横に発生し間隔不良の銅
残りが欠陥として検出される。Then, in step P5, it is determined whether or not the search category can be detected. At this time, if the search category can be detected (YES), a defect is detected. At this time, the surrounding category distribution is searched around the defect candidate category, and the quality and defect type are globally determined based on the quality determination rule. Specifically, FIG. 13 (B)
The copper residue generated between the wiring pattern and the land having the defective spacing and the copper residue generated next to the land and having the defective spacing are detected as defects.
【0035】これまでは従来例と同様であるが、本発明
の実施例ではステップP6〜P9で銅残り及び銅残り
の欠陥再判定処理が付加されるものである。すなわ
ち、ステップP6で銅残り及び銅残りが欠陥である
か否かが判断される。ここで、銅残り欠陥である場合
(YES)にはステップP7に移行する。銅残り欠陥でな
い場合(NO)には、従来法により良否を判定する。Up to this point, the process is similar to the conventional example, but in the embodiment of the present invention, the residual copper and the residual copper defect re-determination process is added in steps P6 to P9. That is, in step P6, it is determined whether the copper residue and the copper residue are defects. If it is a copper residual defect (YES), the process proceeds to step P7. When it is not a copper residual defect (NO), the quality is judged by the conventional method.
【0036】ステップP7では画像データDIN及び比較
結果信号SOUT に基づいてラベリング処理をする。具体
的には、欠陥検出システム21から比較結果信号SOUT
が、セレクタ22Dにより銅残り欠陥か否かが判定され
る。この際に、検査要素パターンの入力画像p(i,
j)が銅残り欠陥でない場合には、比較結果信号SOUT
をそのまま良否結果とし出力され、銅残り欠陥であれ
ば、それがラベリング回路22Bに欠陥信号として出力さ
れる。In step P7, a labeling process is performed based on the image data DIN and the comparison result signal SOUT. Specifically, the defect detection system 21 outputs the comparison result signal SOUT.
However, the selector 22D determines whether or not there is a copper residual defect. At this time, the input image p (i,
If j) is not a copper residual defect, the comparison result signal SOUT
Is output as a pass / fail result as it is, and if it is a copper residual defect, it is output to the labeling circuit 22B as a defect signal.
【0037】この間にも、画像データDINはラベリング
回路22Aと22Bとに転送されている。ラベリング回路22
Aでは次のような動作をする。例えば、画像データ(原
画像)DINから抽出したプリント基板23のランドや直
線リード等の検査パターンが領域指定部201 により拡大
され、図4(B)に示すような領域1,2等が設定され
る。図4(B)において、領域1はリード(リード付き
ランド)の2つの正常パターンを含むため欠陥(欠陥領
域)であり、領域2は正常パターンがランド(単体のラ
ンド)1つのみであるため、正常(正常領域)である。Also during this time, the image data DIN is transferred to the labeling circuits 22A and 22B. Labeling circuit 22
In A, the following operation is performed. For example, an inspection pattern such as a land or a straight lead of the printed circuit board 23 extracted from the image data (original image) DIN is enlarged by the area designation unit 201, and areas 1 and 2 shown in FIG. 4B are set. It In FIG. 4B, region 1 is a defect (defective region) because it includes two normal patterns of leads (lands with leads), and region 2 has only one normal pattern (land). , Normal (normal area).
【0038】また、一次ラベリング部202 では、図5
(A)に示すような注目画素から検査規格で定める最小
導体間隔を半径とする円形のものが用いられ、そのマス
クの中央が注目画素に対応される。これにより、図5
(B)の円内図の黒表示の部分に同一のラベル(以下仮
ラベルともいう)が付けられる。具体例としては1回目
のラベリングにより図6(A)に示すような直線リード
とランドに「1」が付される部分と、直線リードが
「2」で付される部分とが混在する。この仮ラベル値は
フレームメモリ203 に一次記憶される。Further, in the primary labeling unit 202, as shown in FIG.
From the target pixel as shown in (A), a circular one whose radius is the minimum conductor interval defined by the inspection standard is used, and the center of the mask corresponds to the target pixel. As a result, FIG.
The same label (hereinafter also referred to as a temporary label) is attached to the black portion of the in-circle drawing of (B). As a specific example, as shown in FIG. 6 (A), a portion where the linear lead and the land are attached with “1” and a portion where the linear lead is attached with “2” are mixed in the first labeling. This temporary label value is temporarily stored in the frame memory 203.
【0039】一方、ラベルテーブル204 では、例えば、
図6(B)に示すような仮ラベルのペアと真のラベルと
が結合情報として登録される。なお、連結情報入出力部
205により、結合情報が入力又は出力が制御されること
で、二次ラベリング部206 では、図6(B)に示すよう
な結合情報(仮ラベル値)のラベルが付け直され、真の
ラベル画像(多値)がラベル出力信号S1として領域判
定回路22Cに出力される(第1のラベリング処理)。On the other hand, in the label table 204, for example,
A pair of temporary labels and a true label as shown in FIG. 6B are registered as the combined information. The connection information input / output unit
By controlling the input or output of the combined information by 205, the secondary labeling unit 206 re-labels the combined information (temporary label value) as shown in FIG. (Multi-value) is output to the area determination circuit 22C as the label output signal S1 (first labeling process).
【0040】すなわち、第1のラベリング処理では図10
(A)に示すように、フィルタ中心を注目画素と対応さ
せ、注目画素のラベルを読取り、もしも、ラベルが検査
要素パターンに付けられていれば、1から順にラベルを
付ける。次に、フィルタ内の導体部分に注目画素と同一
のラベルを付ける。この走査をラスタ走査に従い、順次
調べながら、画面全体に施す。That is, in the first labeling process, as shown in FIG.
As shown in (A), the filter center is made to correspond to the pixel of interest, the label of the pixel of interest is read, and if the label is attached to the inspection element pattern, the labels are attached in order from 1. Then, the conductor portion in the filter is labeled with the same label as the pixel of interest. This scanning is performed on the entire screen while sequentially checking according to raster scanning.
【0041】このとき、注目画素にはラベルがなく、隣
接点で2種類以上の異なったラベル付けがされていた場
合にはその中で、最も前につけらていた古いラベルを注
目画素に与える。さらに、注目画素に隣接する各画素は
本来同一ラベルを付けられるべきはずのものであるか
ら、後にデータ処理するために、これらのラベルは同一
であることメモリ203 に記録して置く。At this time, if the pixel of interest has no label and two or more different labels are attached at adjacent points, the oldest label attached to the pixel of interest is given to the pixel of interest. Furthermore, since each pixel adjacent to the pixel of interest should originally have the same label, it is recorded in the memory 203 that these labels are the same so that the data can be processed later.
【0042】1回目のラベリングが終了したら、図6
(A),(B)に示すように、本来なら同一ラベルを付
けるべき画素のラベルの付け直しを行う。これらの処理
によって、画面全体のラベリングが終了し、図10(A)
に示すような追番1〜14が検査要素パターン毎に付さ
れる。また、欠陥を除いたプリント基板23の配線パタ
ーン毎に追番を付す第2のラベリング処理をする。この
際に、ラベリング回路22Bにより、原画像から銅残りを
削除する。具体的には、原画像に対して3×3のフィル
タを使用し、予め、ラベリングを行って置く。When the first labeling is finished,
As shown in (A) and (B), the pixels to which the same label should originally be attached are re-labeled. With these processes, labeling of the entire screen is completed, and the screen shown in FIG.
Sequential numbers 1 to 14 as shown in are added to each inspection element pattern. In addition, a second labeling process is performed in which a serial number is added to each wiring pattern of the printed circuit board 23 excluding defects. At this time, the labeling circuit 22B removes the copper residue from the original image. Specifically, a 3 × 3 filter is used for the original image and labeling is performed in advance.
【0043】そして、セレクタ22Dから当該回路22Bに
「銅残り欠陥である」とする比較結果信号SOUT が転送
されると、ラベリング回路22Bでは銅残り欠陥と出力さ
れた画素と対応するラベルを参照し、同一のラベルの画
素を全て削除する。これにより、銅残り欠陥が削除され
たこととなる。画像中の全ての銅残りが削除されたら、
第1のラベリング処理とは別の符号,例えば、ローマ字
により、図10(B)に示すような、欠陥が除かれた検査
要素パターン毎に追番A〜Oを付す(第2のラベリング
処理)。When the selector 22D transfers the comparison result signal SOUT indicating "there is a copper residual defect" to the circuit 22B, the labeling circuit 22B refers to the label corresponding to the pixel output as the copper residual defect. , Delete all pixels with the same label. As a result, the copper residual defect is deleted. Once all the copper residue in the image has been removed,
A code different from that of the first labeling process, for example, Roman letters, is used to add the serial numbers A to O to the respective inspection element patterns from which defects are removed as shown in FIG. 10B (second labeling process). .
【0044】その後、ステップP8で第1及び第2のラ
ベリング処理に基づいて対応関係を調べ、欠陥領域又は
欠陥領域以外かを判定する。具体的には、図10(A),
(B)に示されるようなプリント基板23の取得画像の
左上からラスタ走査され、対応する画素のラベルが参照
される。画像全面の比較を終了すると、ラベリング回路
22Aから領域判定回路22Cに、追番1〜6,2,2(銅
残り),2,7,8(銅残り),9,10,11,
12,13及び14がラベル出力信号S1として出力さ
れる。また、ラベリング回路22Bから領域判定回路22C
に、追番A〜F,B,対応ラベルなし、G,H,I,対
応ラベルなし、及び、J〜Oがラベル出力信号S2とし
て出力される。Then, in step P8, the correspondence is checked based on the first and second labeling processes to determine whether it is a defective area or a non-defective area. Specifically, FIG. 10 (A),
Raster scanning is performed from the upper left of the acquired image on the printed circuit board 23 as shown in (B), and the label of the corresponding pixel is referred to. When the comparison of the entire image is completed, the labeling circuit
From 22A to the area determination circuit 22C, serial numbers 1 to 6, 2, 2 (copper remaining), 2, 7, 8 (copper remaining), 9, 10, 11,
12, 13, and 14 are output as the label output signal S1. In addition, the labeling circuit 22B to the area determination circuit 22C
Further, serial numbers A to F, B, no corresponding label, G, H, I, no corresponding label, and J to O are output as the label output signal S2.
【0045】これにより、領域判定回路22Cでは図7に
示すような対応関係が把握され、この対応関係におい
て、1つのラベルに複数のラベルが対応した場合には、
欠陥領域と判定し、他は正常領域と判定される。次い
で、ステップP9で欠陥領域に発生した欠陥であるか、
又は、欠陥領域以外に発生した欠陥であるかを判定す
る。具体的には、領域判定回路22Cにより、ラベル出力
信号S1とラベル出力信号S2とが比較され、欠陥領域
内に発生した欠陥であるか、又は、欠陥領域以外に発生
した欠陥であるかが判定される。As a result, the area determination circuit 22C grasps the correspondence as shown in FIG. 7, and in this correspondence, when one label corresponds to a plurality of labels,
The defective area is determined, and the other areas are determined to be normal areas. Next, whether the defect has occurred in the defective area in Step P9,
Alternatively, it is determined whether the defect is a defect other than the defective region. Specifically, the area determination circuit 22C compares the label output signal S1 with the label output signal S2 to determine whether the defect is in a defective area or a defect other than the defective area. To be done.
【0046】この際の判定基準は、1つの領域内に正常
配線パターンが1つだけ存在するものは、正常(正常領
域)とする。2つ以上存在するものは、欠陥領域とす
る。例えば、図7において、ラベル2はラベルBとGの
2つのラベルと対応しているため、欠陥領域に発生した
銅残りが欠陥として判定される。また、銅残りにつ
いては、対応する画素がないため、ラベルなしとして判
定され、このラベルなしが正常領域に発生した銅残り
であり、救済すべき欠陥として判定される。In this case, the criterion for judgment is that a normal wiring pattern having only one normal wiring pattern in one area is normal (normal area). Those having two or more exist as defective areas. For example, in FIG. 7, since the label 2 corresponds to the two labels B and G, the copper residue generated in the defective area is determined as a defect. Further, regarding the copper residue, since there is no corresponding pixel, it is determined that there is no label, and this label absence is the copper residue that has occurred in the normal area and is determined as a defect to be repaired.
【0047】すなわち、この領域の判定終了時点で、
「銅残り欠陥」と判定された画素が欠陥領域であるかが
参照され、欠陥領域であれば「欠陥」、正常領域であれ
ば「正常」として領域判定回路22Cから良否結果部に欠
陥再判定信号S3が出力される。これにより、従来例で
は欠陥として処理されていた銅残り欠陥が正常パター
ンとして検査され、銅残り,,,が正しく判定
される。That is, at the end of the determination of this area,
It is referred to whether the pixel determined as "copper residual defect" is a defective region, and if the defective region is a "defect", if the pixel is a normal region, it is "normal" and the region determination circuit 22C re-determines the defect in the quality result part. The signal S3 is output. As a result, the copper residual defect, which has been treated as a defect in the conventional example, is inspected as a normal pattern, and the copper residual, ... Is correctly determined.
【0048】このようにして、本発明の実施例に係るプ
リント基板検査装置によれば、図2に示すように、欠陥
検出システム21及び欠陥再判定システム22を備え、
欠陥再判定システム22が2つのラベリング回路22A,
22Bと、領域判定回路22Cと、セレクタ22Dとを有す
る。このため、欠陥検出システム21によって検出され
た配線パターンの欠陥候補の中でも、ラベリング回路22
A,22Bによってラベリング処理された2組の追番1〜
6,2,2(銅残り),2,7,8(銅残り),
9,10,11,12,13及び14と、追番A〜F,
B,対応ラベルなし、G,H,I,対応ラベルなし、及
び、J〜Oとの対応関係から、救済できる銅残り欠陥
は、領域判定回路22Cにより「正常」と判定することが
でき、真の欠陥のみを検出することができる。As described above, the printed circuit board inspection apparatus according to the embodiment of the present invention includes the defect detection system 21 and the defect re-determination system 22, as shown in FIG.
The defect re-determination system 22 has two labeling circuits 22A,
22B, a region determination circuit 22C, and a selector 22D. Therefore, even among the defect candidates of the wiring pattern detected by the defect detection system 21, the labeling circuit 22
Two sets of serial numbers 1 and 2 labeled by A and 22B
6,2,2 (copper remaining), 2,7,8 (copper remaining),
9, 10, 11, 12, 13, and 14, and serial numbers A to F,
Based on the correspondence relationship between B, no corresponding label, G, H, I, no corresponding label, and J to O, the copper residual defect that can be repaired can be judged as "normal" by the area judgment circuit 22C, and Only the defects can be detected.
【0049】これにより、従来例のような救済できる欠
陥を誤って「欠陥」と判定することが無くなり、銅残り
,,,を正確に判定することが可能となる。こ
のことで信頼性の良いプリント基板検査装置等の提供に
寄与する。また、本発明の外観検査方法によれば、第1
及び第2のラベリング処理の対応関係に基づいて欠陥領
域に発生した欠陥であるか、又は、欠陥領域以外に発生
した欠陥であるかを判定する。As a result, it becomes unnecessary to erroneously determine a repairable defect as a “defect” as in the conventional example, and it is possible to accurately determine the remaining copper. This contributes to the provision of a highly reliable printed circuit board inspection device and the like. According to the appearance inspection method of the present invention,
Then, it is determined whether the defect has occurred in the defective region or the defect has occurred in a region other than the defective region based on the correspondence between the second labeling process.
【0050】このため、検査不合格となる欠陥領域内に
発生した欠陥と、欠陥領域以外,すなわち、正常領域内
に発生した欠陥とを分離することができる。すなわち、
図10(A)や図13(B)に示したような銅残り欠陥と
は性質を異にする銅残りを、銅残りでありながら「正
常」と判定することができる。これは、両側に間隔不良
カテゴリがあっても、欠陥領域以外に発生した欠陥であ
るため、銅残りを欠陥と見なされないようになるから
である。このことで、他の正常パターンと接触(ショー
ト)する恐れはなく、十分広い導体間隔を満たしている
銅残りが、「正常」と判定される。Therefore, it is possible to separate a defect generated in the defective area which fails the inspection from a defect other than the defective area, that is, a defect generated in the normal area. That is,
A copper residue having a property different from that of the copper residue defect as shown in FIGS. 10 (A) and 13 (B) can be determined as “normal” although it is a copper residue. This is because even if there is a space defect category on both sides, the copper residue will not be regarded as a defect because it is a defect that has occurred in a region other than the defect region. As a result, there is no possibility of contact (short-circuit) with other normal patterns, and the copper residue satisfying a sufficiently wide conductor interval is determined to be "normal".
【0051】これにより、正常パターンである直線リー
ドやランドが、短絡の恐れのない検査規格で定められる
十分な導体間隔を満たしているか否かをも検査すること
ができる。このことで、従来例のように救済できる銅残
りを欠陥と誤判定することが無くなり、真の銅残り欠
陥のみを検出することができ、プリント基板の再検査
の負担が極力低減される。また、実質的なプリント基板
の生産歩留りの向上に寄与する。As a result, it is possible to inspect whether or not the straight leads or lands that are normal patterns satisfy the sufficient conductor spacing defined by the inspection standard that does not cause a short circuit. As a result, unlike the conventional example, the copper residue that can be repaired is not erroneously determined as a defect, only the true copper residue defect can be detected, and the burden of reinspecting the printed circuit board is reduced as much as possible. In addition, it contributes to substantially improve the production yield of the printed circuit board.
【0052】なお、本発明の実施例では被検査対象13
に付き、プリント基板23の場合について述べたが、こ
れに限らない。In the embodiment of the present invention, the inspection target 13
The case of the printed circuit board 23 has been described above, but the present invention is not limited to this.
【0053】[0053]
【発明の効果】以上説明したように、本発明の外観検査
装置によれば、画像データから被検査対象の欠陥を検出
する検出手段と、第1及び第2のラベリング回路及び領
域判定回路を有する判定手段とを備える。このため、検
出手段によって検出された検査要素パターンの欠陥候補
の中でも、救済できる欠陥は、領域判定回路により「正
常」と判定することができ、真の欠陥のみを検出するこ
とができる。As described above, according to the appearance inspection apparatus of the present invention, it has the detection means for detecting the defect of the inspection object from the image data, and the first and second labeling circuits and the area determination circuit. And a determining means. Therefore, among the defect candidates of the inspection element pattern detected by the detection means, the repairable defect can be determined as “normal” by the area determination circuit, and only the true defect can be detected.
【0054】また、本発明の外観検査方法によれば、導
体間隔を考慮にした第1及び第2のラベリング処理の対
応関係に基づいて欠陥領域に発生した欠陥であるか、又
は、欠陥領域以外に発生した欠陥であるかが判定され
る。このため、検査不合格となる欠陥領域内に発生した
欠陥と、欠陥領域以外,すなわち、検査合格となるべき
正常領域内に発生した欠陥とを分離することができる。
このことで、従来例のような救済できる欠陥を「欠陥」
と判定することが無くなる。Further, according to the appearance inspection method of the present invention, it is a defect that has occurred in the defect area or other than the defect area based on the correspondence relationship between the first and second labeling processes taking the conductor spacing into consideration. It is determined whether or not the defect has occurred in 1. For this reason, it is possible to separate defects that have occurred in a defective area that fails inspection and defects that have occurred in areas other than the defective area, that is, in normal areas that should pass inspection.
In this way, a defect that can be relieved like the conventional example is a "defect".
There is no need to judge.
【0055】これにより、プリント基板の配線パターン
を検査する高信頼度な外観検査装置の提供に寄与し、ま
た、被検査対象の生産歩留りの向上に寄与するところが
大きい。This greatly contributes to the provision of a highly reliable appearance inspection device for inspecting the wiring pattern of the printed circuit board and also to the improvement of the production yield of the object to be inspected.
【図1】本発明に係る外観検査装置の原理図である。FIG. 1 is a principle diagram of an appearance inspection apparatus according to the present invention.
【図2】本発明の実施例に係るプリント基板検査装置の
構成図である。FIG. 2 is a configuration diagram of a printed circuit board inspection device according to an embodiment of the present invention.
【図3】本発明の実施例に係るラベリング回路の内部構
成図である。FIG. 3 is an internal configuration diagram of a labeling circuit according to an embodiment of the present invention.
【図4】本発明の実施例に係るパターン探索及び領域設
定方法の説明図である。FIG. 4 is an explanatory diagram of a pattern search and area setting method according to an embodiment of the present invention.
【図5】本発明の実施例に係るラベリングフィルタ及び
その機能説明図である。FIG. 5 is a diagram illustrating a labeling filter according to an embodiment of the present invention and a functional explanatory diagram thereof.
【図6】本発明の実施例に係る検査要素パターンのラベ
ル付け直しの説明図である。FIG. 6 is an explanatory diagram of relabeling of the inspection element pattern according to the embodiment of the present invention.
【図7】本発明の実施例に係る領域判定回路の機能説明
図である。FIG. 7 is a functional explanatory diagram of the area determination circuit according to the embodiment of the present invention.
【図8】本発明の実施例に係る配線パターンの検査フロ
ーチャート(その1)である。FIG. 8 is a wiring pattern inspection flowchart (part 1) according to the embodiment of the present invention.
【図9】本発明の実施例に係る配線パターンの検査フロ
ーチャート(その2)である。FIG. 9 is a wiring pattern inspection flowchart (part 2) according to the embodiment of the present invention.
【図10】本発明の実施例に係るラベリング処理の補足説
明図である。FIG. 10 is a supplementary explanatory diagram of the labeling process according to the embodiment of the present invention.
【図11】従来例に係るプリント基板検査装置の構成図で
ある。FIG. 11 is a configuration diagram of a printed circuit board inspection device according to a conventional example.
【図12】従来例に係る配線パターンの検査フローチャー
トである。FIG. 12 is an inspection flowchart of a wiring pattern according to a conventional example.
【図13】従来例に係る問題点を説明するプリント基板及
び銅残りパターン図である。FIG. 13 is a printed board and copper residual pattern diagram for explaining the problems in the conventional example.
11…検出手段、 12…判定手段、 22A…第1のラベリング回路、 22B…第2のラベリング回路、 22C…領域判定回路、 22D…セレクタ、 DIN…画像データ、 SOUT …比較結果信号、 S1,S2…ラベル出力信号、 S3…欠陥再判定信号。 11 ... Detecting means, 12 ... Judging means, 22A ... First labeling circuit, 22B ... Second labeling circuit, 22C ... Region judging circuit, 22D ... Selector, DIN ... Image data, SOUT ... Comparison result signal, S1, S2 ... label output signal, S3 ... defect re-determination signal.
Claims (5)
する検出手段と、前記検出手段によって検出された欠陥
が、許容される欠陥か真の欠陥かを判定する判定手段と
を備えることを特徴とする外観検査装置。1. A detection means for detecting a defect to be inspected from image data, and a determination means for determining whether the defect detected by the detection means is an allowable defect or a true defect. Appearance inspection device.
た被検査対象の検査要素パターンを拡大し、該検査要素
パターン毎にラベリングをする第1のラベリング回路
と、前記画像データから欠陥を除いた被検査対象の検査
要素パターン毎にラベリングをする第2のラベリング回
路と、前記第1のラベリング回路からのラベル出力信号
と前記第2のラベリング回路からのラベル出力信号とを
比較して欠陥領域内に発生した欠陥であるか否かを判定
する領域判定回路とを有することを特徴とする請求項1
記載の外観検査装置。2. The determining means enlarges the inspection element pattern of the inspection object extracted from the image data and labels the inspection element pattern for each inspection element pattern, and removes defects from the image data. Within a defective area by comparing a label output signal from the first labeling circuit and a label output signal from the second labeling circuit with a second labeling circuit that labels each inspection element pattern to be inspected. 2. An area determination circuit for determining whether or not the defect has occurred in 1.
Appearance inspection device described.
ターンを抽出し、前記抽出された検査要素パターンを拡
大して検査領域を設定し、前記検査領域内に発生した欠
陥が真の欠陥か否かを判定することを特徴とする外観検
査方法。3. An inspection element pattern to be inspected is extracted from image data, the extracted inspection element pattern is enlarged to set an inspection area, and whether a defect generated in the inspection area is a true defect or not. A visual inspection method characterized by determining whether or not.
大された被検査対象の検査要素パターン毎に追番を付す
第1のラベリング処理をし、かつ、欠陥を除いた被検査
対象の検査要素パターン毎に追番を付す第2のラベリン
グ処理をし、前記第1及び第2のラベリング処理の対応
関係に基づいて欠陥領域に発生した欠陥であるか、又
は、欠陥領域以外に発生した欠陥であるかを判定するこ
とを特徴とする請求項3記載の外観検査方法。4. The determination as to whether or not the defect is a true defect is performed by performing a first labeling process of adding a serial number to each of the enlarged inspection element patterns of the inspection object, and excluding the defect. A second labeling process is performed by adding a serial number to each target inspection element pattern, and the defect is a defect that has occurred in the defect region based on the correspondence relationship between the first and second labeling processes, or a defect other than the defect region is detected. The appearance inspection method according to claim 3, wherein it is determined whether or not the defect has occurred.
ン間の最小間隔を半径とするフィルタを用いることを特
徴とする請求項4記載の外観検査方法。5. The appearance inspection method according to claim 4, wherein the labeling process uses a filter having a radius of a minimum interval between inspection element patterns.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6164404A JPH0829355A (en) | 1994-07-15 | 1994-07-15 | Appearance inspection device and appearance inspection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6164404A JPH0829355A (en) | 1994-07-15 | 1994-07-15 | Appearance inspection device and appearance inspection method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0829355A true JPH0829355A (en) | 1996-02-02 |
Family
ID=15792499
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6164404A Withdrawn JPH0829355A (en) | 1994-07-15 | 1994-07-15 | Appearance inspection device and appearance inspection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0829355A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8123746B2 (en) | 2003-04-28 | 2012-02-28 | Olympus Corporation | High-frequency current treatment tool |
-
1994
- 1994-07-15 JP JP6164404A patent/JPH0829355A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8123746B2 (en) | 2003-04-28 | 2012-02-28 | Olympus Corporation | High-frequency current treatment tool |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Sanz et al. | Machine-vision techniques for inspection of printed wiring boards and thick-film circuits | |
| CN101300473B (en) | Verification of sporadic defects in pattern inspection | |
| JP4518494B2 (en) | Land pattern inspection method and inspection apparatus | |
| JP3368644B2 (en) | Wiring pattern inspection apparatus and method | |
| JP3575512B2 (en) | Pattern inspection method and apparatus | |
| JPH0829355A (en) | Appearance inspection device and appearance inspection method | |
| JPH0260265B2 (en) | ||
| JPH08110305A (en) | Appearance inspection method and device | |
| JPH05240627A (en) | Pattern inspecting device | |
| JP3919207B2 (en) | Appearance inspection device | |
| JP2676990B2 (en) | Wiring pattern inspection equipment | |
| JPH07218343A (en) | Printed circuit board visual inspection device | |
| JP2000028334A (en) | Pattern defect inspection method and apparatus | |
| JPH04184244A (en) | Method for inspecting pattern of printed circuit board | |
| JPH06249792A (en) | Inspection apparatus for pattern of printed circuit board apparatus | |
| JP2006234554A (en) | Method and device for inspecting pattern | |
| JPH07333168A (en) | Pattern visual inspection device | |
| JP3210713B2 (en) | Geometric pattern inspection method and apparatus using contraction, expansion and processing of an imaging pattern for identification of predetermined features and tolerances | |
| Mital et al. | A rule based inspection for printed circuit boards | |
| JPS62119442A (en) | Pattern inspecting apparatus | |
| JPH0580028B2 (en) | ||
| JPH0333983A (en) | Object position detection method | |
| JP2002372502A (en) | Printed circuit board inspection method | |
| JP2000241130A (en) | Pattern inspection method and apparatus | |
| JPH06203141A (en) | Wiring pattern inspecting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20011002 |