JPH03252545A - Wiring pattern inspection device - Google Patents

Wiring pattern inspection device

Info

Publication number
JPH03252545A
JPH03252545A JP2052128A JP5212890A JPH03252545A JP H03252545 A JPH03252545 A JP H03252545A JP 2052128 A JP2052128 A JP 2052128A JP 5212890 A JP5212890 A JP 5212890A JP H03252545 A JPH03252545 A JP H03252545A
Authority
JP
Japan
Prior art keywords
image
wiring pattern
distance
value
skeleton
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
JP2052128A
Other languages
Japanese (ja)
Other versions
JPH0750037B2 (en
Inventor
Yuji Maruyama
祐二 丸山
Atsuharu Yamamoto
淳晴 山本
Hidemi Takahashi
秀実 高橋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2052128A priority Critical patent/JPH0750037B2/en
Publication of JPH03252545A publication Critical patent/JPH03252545A/en
Priority to US07/936,324 priority patent/US5272763A/en
Publication of JPH0750037B2 publication Critical patent/JPH0750037B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To classify and detect various kinds of line abnormality with simple constitution by obtaining a skeleton image by repeating a process (n) times, wherein the binary image of a wiring pattern is deleted from the background side one by one picture element. CONSTITUTION:The wiring pattern formed on a printed board 101 is lighted by a diffusion lighting device 104 and inputted as a light-shade image by an image input means 102. This image is subjected to binarization 105 and a line- thinning processing means 106 performs the process, wherein the wiring pattern is deleted from the background side one by one picture element with a predetermined number of times as to all picture elements and then outputs the number of times of repetition of deleted object picture elements and the skeleton image. Then a distance image converting means 107 outputs a distance conversion image for which the number of times of repetition is imparted as the value of the distance of the wiring pattern from the background. A flaw detecting means 108 compares the distance value of the distance conversion image with >=1 optional set threshold values (maximum value or minimum value) along the skeleton image according to the output image and the skeleton image to detect the flaw in wiring pattern width.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、プリント基板やホトマスク等における配線パ
ターンの不良を検査する配線パターン検査装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a wiring pattern inspection device for inspecting wiring patterns on printed circuit boards, photomasks, etc. for defects.

従来の技術 従来、プリント基板等の不良の検査は人間による目視検
査に頼っていた。ところが、製品の小型化や軽量化が進
むにつれ、プリント基板の配線パターン細密化や複雑化
がより一層進んでいる。このような状況の中で、人間が
高い検査精度を保ちつつ非常に細密な配線パターンを、
しかも長時間続けることが難しくなってきており、検査
の自動化が強く望まれている。
2. Description of the Related Art Conventionally, inspection for defects in printed circuit boards and the like has relied on human visual inspection. However, as products become smaller and lighter, the wiring patterns of printed circuit boards are becoming increasingly finer and more complex. Under these circumstances, humans can inspect extremely detailed wiring patterns while maintaining high inspection accuracy.
Moreover, it has become difficult to continue testing for long periods of time, and automation of testing is strongly desired.

配線パターンの欠陥検出方式として、ジョージ、エル、
シー、サンとアニル、)r+、’)エイノ、(Jorg
e L、0.8anz and Anil K、Jai
n : Machine−vision techiq
ues for in 5pection of pr
intedwiring boards and th
ick−filem circuits 、 0pti
clSociety of America、 Vol
、3. No、 9/septemberpp 146
5〜1482.1986)らにより数多くの方式が紹介
されており、主にデザインルール法と比較法の2つの方
式に分類することができる。しかし、これらの方法は一
長一短がある。
As a defect detection method for wiring patterns, George, L.
See, San and Anil, )r+, ') Eino, (Jorg
e L, 0.8 anz and Anil K, Jai
n: Machine-vision technology
ues for in 5pection of pr
inted wiring boards and th
ick-filem circuits, 0pti
clSociety of America, Vol.
, 3. No. 9/septemberpp 146
5-1482, 1986) have introduced a number of methods, which can be mainly classified into two methods: the design rule method and the comparison method. However, these methods have advantages and disadvantages.

中でも、将来有望な興味深い方式としては、ジョナ、マ
ンデビル(Jonr 、Mandevile : ”N
ovel me−thod for analysis
 of printed circuit image
s 。
Among them, an interesting method with a promising future is Jonr, Mandeville (Jonr, Mandeville: "N
ovel method for analysis
of printed circuit image
s.

IBM J、Res、DEVBLOP、、 VOL、2
9. NO,1。
IBM J,Res,DEVBLOP,, VOL,2
9. NO, 1.

JANUARY、 1985 )の方式があり、2値化
した画像データを収縮または膨張させたのち細線化し、
配線パターンの欠陥を検出する方法であり、以下に従来
例として説明する。
JANUARY, 1985), which shrinks or expands the binarized image data and then thins it.
This is a method for detecting defects in wiring patterns, and will be explained below as a conventional example.

第6図に、欠陥検出の処理の流れを示す。同図(a)〜
(d)は断線の検出を示し、同図(e)〜(h)はショ
ートの検出を示している。
FIG. 6 shows the flow of defect detection processing. Figure (a)~
(d) shows the detection of a disconnection, and (e) to (h) of the same figure show the detection of a short circuit.

(a)は、欠陥画像を示しており、b点および0点が線
幅異常や断線の致命的欠陥とし、a点は欠陥としないも
のとする。第1ステツプとして(b)では、画像の収縮
処理(周辺から一画素ずつ削り取る処理)を行う。この
処理により、(b)の欠陥が断線となる・第2ステツプ
として(c)では、細線化処理(周辺から一本の線にな
るまで一画素ずつ削り取る処理)を行う。これにより、
配線パターンは一本の線となる。第3ステツプとして(
d)では、3x3論理マスクを走査させLUT (ルッ
ク・アップ・テーブル)を参照しながら欠陥の検出を行
い、b点および0点が断線として検出できる。さらに、
端子部と配線パターンとの接合点も検出している。
(a) shows a defect image, where point b and point 0 are fatal defects such as line width abnormalities or disconnections, and point a is not considered a defect. In the first step (b), image shrinkage processing (processing to remove one pixel from the periphery) is performed. As a result of this process, the defect in (b) becomes a disconnection. As a second step, in (c), a thinning process (a process in which each pixel is removed from the periphery until a single line is formed) is performed. This results in
The wiring pattern is a single line. As the third step (
In d), defects are detected by scanning a 3x3 logic mask and referring to an LUT (look up table), and points b and 0 can be detected as disconnections. moreover,
Junction points between the terminal section and the wiring pattern are also detected.

次に、ショートおよび線間異常について(e)〜(h)
の処理の流れに沿って説明する。
Next, regarding short circuits and line abnormalities (e) to (h)
This will be explained along the flow of processing.

(e)は、欠陥画像を示し、b点および0点を線間異常
とショートの致命的欠陥としている。第1ステツプとし
て(f)では、画像の膨張処理(周辺画素から一画素ず
つ膨らませる)を行い、これによりb点がショート状態
になる。第2ステツプとして(g)では、細線化処理を
行い、−本の線にする。第3ステツプとして(h)では
、3×3論理マスクを走査させLUT(ルック・アップ
・テーブル)を参照しながら欠陥の検出を行い、b点お
よび0点がT分岐として、つまりショートとして検出で
きる。
(e) shows a defect image, in which point b and point 0 are considered to be fatal defects of line abnormality and short circuit. As the first step (f), image expansion processing (inflating one pixel at a time starting from the surrounding pixels) is performed, thereby bringing point b into a short-circuit state. In the second step (g), thinning processing is performed to make -1 lines. In the third step (h), defects are detected by scanning the 3x3 logic mask and referring to the LUT (look up table), and points b and 0 can be detected as T branches, that is, shorts. .

以上のようにして、断線や線幅異常およびショートや線
間異常が検出できる。
In the manner described above, wire breaks, line width abnormalities, short circuits, and line spacing abnormalities can be detected.

なお、細線化処理および膨張処理等の画像処理手法につ
いては、森俊二、板倉栂子著:”画像認識の基礎[I]
“、オーム社に詳しく記載されているので詳細な説明は
省略した。
Regarding image processing methods such as thinning processing and dilation processing, please refer to "Fundamentals of Image Recognition [I]" by Shunji Mori and Yuko Itakura.
``Since it is described in detail in Ohmsha, a detailed explanation is omitted.

発明が解決しようとする課題 さて、2値化画像を収縮や膨張し、欠陥を助長した上で
細線化し3X3の論理マスクを走査し欠陥を検出する方
式について説明した。この方法は、確実に欠陥が検出で
き有望な方法と言えよう。
Problems to be Solved by the Invention Now, a method has been described in which a binarized image is contracted or expanded to promote defects, thinned, and a 3×3 logical mask is scanned to detect defects. This method can be said to be a promising method as it can reliably detect defects.

しかし、最小線幅および最小線間の設定が複数の場合、
画像の収縮や膨張および細線化処理プロセスを複数必要
となり、ハードウェアの負担が大きくなる。また、欠陥
を助長する処理のために、線幅異常と断線あるいは線間
異常とショートの分類ができないなど課題がある。
However, if the minimum line width and minimum line spacing settings are multiple,
Multiple image contraction, expansion, and thinning processing processes are required, which increases the burden on the hardware. Additionally, because of the process that promotes defects, there are problems such as the inability to classify line width abnormalities and disconnections, or line spacing abnormalities and shorts.

本発明は上記課題に鑑み、簡単な構成で、各種の線異常
を分類・検出できる配線パターン検査装置を提供するも
のである。
In view of the above problems, the present invention provides a wiring pattern inspection device that has a simple configuration and is capable of classifying and detecting various line abnormalities.

課題を解決するための手段 上記課題を解決するため本発明の技術的解決手段は、プ
リント基板上に形成された配線パターンを光電変換する
画像入力手段と、前記画像入力手段からの濃淡画像を2
値画像に変換する2値化手段と、配線パターンの背景か
ら1画素ずつ削りながら全画素に対して定めた回数を繰
り返し細分化処理し、削られる対象画素の繰り返し回数
とスケルトン画像を出力する細線化処理手段と、前記細
線化処理手段からの削られる対象画素の繰り返し回数を
背景からの距離値として付与した距離変換画像を出力す
る距離画像変換手段と、前記スケルトン画像に沿って距
離変換画像の距離値と1つ以上の任意の設定閾値(最小
値または最大値)とを比較し配線パターン幅の欠陥を検
出する欠陥検出手段とから構成したものである。
Means for Solving the Problems In order to solve the above problems, the technical solution of the present invention includes an image input means for photoelectrically converting a wiring pattern formed on a printed circuit board, and a grayscale image from the image input means.
A binarization means that converts into a value image, and a thin line that removes each pixel from the background of the wiring pattern and repeatedly subdivides all pixels a predetermined number of times, and outputs the number of repetitions of the target pixel to be removed and a skeleton image. distance image converting means for outputting a distance converted image in which the number of repetitions of the target pixel to be removed from the thinning processing means is given as a distance value from the background; The defect detecting means compares the distance value with one or more arbitrarily set threshold values (minimum value or maximum value) to detect defects in the width of the wiring pattern.

作用 本発明は、プリント基板上に形成された配線パターンな
光電変換し、得られた濃淡画像を2値化手段により2値
画像とする。2値画像を用いて、配線パターンの各画素
の背景から1画素ずつ削り取るような細線化処理をする
とともに削り取られた画素に背景からの距離値を付与し
、スケルトン画像と距離変換画像とを得る。注目画素が
スケルトン画像位置にあるとき、距離変換画像の距離値
と1つ以上の任意の設定閾値(最小値または最大値)と
を比較し配線パターン幅の欠陥を検出するもので、距離
変換画像に変換することにより直接距離値即ち配線パタ
ーン幅が認識できるために簡便に検査できる。
Function The present invention photoelectrically converts a wiring pattern formed on a printed circuit board, and converts the obtained grayscale image into a binary image using a binarization means. Using a binary image, a thinning process is performed to remove one pixel from the background of each pixel of the wiring pattern, and a distance value from the background is given to the removed pixel to obtain a skeleton image and a distance conversion image. . When the pixel of interest is at the skeleton image position, defects in the wiring pattern width are detected by comparing the distance value of the distance-converted image with one or more arbitrary set thresholds (minimum value or maximum value). By converting it into , the distance value, that is, the wiring pattern width can be directly recognized, making it easy to inspect.

実施例 以下、第1図を参照しながら本発明の実施例について説
明する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to FIG.

第1図は本発明の配線パターン検査装置の一実施例を示
すブロック図である。第1図において、101はプリン
ト基板、102はリング状のライトガイドなどの拡散照
明装置104とCCDカメラのような撮像装置103を
備えた画像入力手段、105は濃淡画像を2値画像に変
換する2値化手段、106は2値画像を用いて背景から
1画素ずつ削り取る細線化処理手段、107は背景から
の最短距離値に変換する距離画像変換手段、10Bは距
離変換画像を用いて距離値とある任意の設定閾値と比較
し配線パターン幅の欠陥を検出する欠陥検出手段を示す
FIG. 1 is a block diagram showing an embodiment of the wiring pattern inspection device of the present invention. In FIG. 1, 101 is a printed circuit board, 102 is an image input means including a diffuse illumination device 104 such as a ring-shaped light guide, and an imaging device 103 such as a CCD camera, and 105 is a converter for converting a grayscale image into a binary image. Binarization means, 106 is a thinning processing means for removing one pixel from the background using a binary image, 107 is a distance image conversion means for converting to the shortest distance value from the background, 10B is a distance value using the distance conversion image A defect detection means for detecting a defect in the width of a wiring pattern by comparing it with a certain arbitrary set threshold value is shown.

第1図に基づき、以下にその動作を説明する。The operation will be explained below based on FIG.

プリント基板1o1上に形成された配線パターンを、リ
ング状のライトガイドなどの拡散照明装置104で照明
し、CCDカメラ(1次元または2次元)などの撮像装
置103を備えた画像入力手段1o2で濃淡画像とし入
力する。本実施例では、ラスクスキャンのイメージで以
後説明するので撮像装置は1次元のCCDカメラを用い
た例を示す。
The wiring pattern formed on the printed circuit board 1o1 is illuminated with a diffused illumination device 104 such as a ring-shaped light guide, and the image input means 1o2 equipped with an imaging device 103 such as a CCD camera (one-dimensional or two-dimensional) is used to determine the shading. Input as an image. In this embodiment, since the following description will be made using a Rusk scan image, an example will be shown in which a one-dimensional CCD camera is used as the imaging device.

画像入力手段102で得られた濃淡画像から背景と配線
パターンとを分離するために、2値化手段105である
任意閾値と比較し2値画像に変換する。細線化処理手段
106は、2値化手段106からの2値画像を用いて、
配線パターンを背景側から1画素ずつある条件に基づい
て削る細線化処理を全画素に対して定めた回数実施し、
削られた対象画素の繰り返し回数とスケルトン画像を出
力する。距離画像変換手段107は、細線化処理手段1
06からの削られた対象画素の繰り返し回数を配線パタ
ーンの背景からの距離値として付与した距離変換画像を
出力する。欠陥検出手段108は、細線化処理手段10
6からのスケルトン画像と距離画像変換手段107から
の距離変換画像から、スケルトン画像に沿って距離変換
画像の距離値と1つ以上の任意の設定閾値(最小値また
は最大値)と比較し、配線パターン幅の欠陥を検出する
ものである。
In order to separate the background and the wiring pattern from the grayscale image obtained by the image input means 102, the image is compared with an arbitrary threshold value by the binarization means 105 and converted into a binary image. The thinning processing means 106 uses the binary image from the binarization means 106 to
A thinning process is performed on all pixels for a set number of times, in which the wiring pattern is removed one pixel at a time based on certain conditions from the background side.
Outputs the number of repetitions of the removed target pixel and a skeleton image. The distance image conversion means 107 is the thinning processing means 1
A distance-converted image in which the number of repetitions of the target pixel removed from 06 is given as a distance value from the background of the wiring pattern is output. The defect detection means 108 is the thinning processing means 10
From the skeleton image from 6 and the distance conversion image from the distance image conversion means 107, the distance value of the distance conversion image is compared with one or more arbitrary set threshold values (minimum value or maximum value) along the skeleton image, and the wiring This detects defects in pattern width.

以上の動作を繰り返し、順次行うことによりプリント基
板101の全面について検査することができる。この一
連の動作は、適当な信号により同期して行うものである
By repeating and sequentially performing the above operations, the entire surface of the printed circuit board 101 can be inspected. This series of operations is performed synchronously by appropriate signals.

次に、細線化処理手段106、距離画像変換手段107
および欠陥検出手段10Bについて、第2図〜第6図を
用いてさらに詳しく説明する。
Next, the thinning processing means 106 and the distance image conversion means 107
The defect detection means 10B will be explained in more detail with reference to FIGS. 2 to 6.

細線化処理は、配線パターンを外側から1画素削る処理
をn回繰り返すことにより細線化画像(スケルトン画像
)を得るものであり、細線化処理の一般的な手法を第2
図(b)〜(f)を用いて説明する。
In the thinning process, a thinning image (skeleton image) is obtained by repeating the process of removing one pixel from the outside of the wiring pattern n times.
This will be explained using Figures (b) to (f).

2値画像を第2図(b)に示すように3×3の走査窓で
走査し、注目画素(窓の中央画素≠)が1のとき、近傍
8画素d1〜d8の状態に応じて、注目画素な0(つま
り、削る)に変換するかどうかをLUTを用いて判定し
、注目画素の消去判定を4回に分けて処理する。この理
由は、偶数画素幅のパターンの消去を防ぐためのもの、
L ty T (A)〜L U T (D)には上下左
右から削るパターンをそれぞれ登録するものでその一例
を第2図(c)〜(f)に示す。
A binary image is scanned with a 3×3 scanning window as shown in FIG. 2(b), and when the pixel of interest (center pixel of the window ≠) is 1, depending on the states of the eight neighboring pixels d1 to d8, It is determined using the LUT whether or not the pixel of interest should be converted to 0 (that is, deleted), and the deletion determination of the pixel of interest is processed in four steps. The reason for this is to prevent erasure of patterns with even pixel width.
L ty T (A) to L UT (D) are for registering patterns for cutting from the top, bottom, left, and right, respectively, and examples thereof are shown in FIGS. 2(c) to 2(f).

第2図(a)を用いて、配線パターンの背景側から1画
素削る細線化処理の詳細ブロック図を示し、以下に説明
する。
A detailed block diagram of a thinning process for removing one pixel from the background side of a wiring pattern is shown using FIG. 2(a), and will be described below.

2値化手段106からの2値画像201を、1ライン遅
延用のラインメモリ202および3×3走査窓203に
入力し、図はは記載していないが画素同期信号のタイミ
ングをとりながら転送していくものである。3×3走査
窓203の出力をルックアップテーブルであるLUT(
A)204に入力し、注目画素を消去するかどうかを判
断する。同様のことを、カスケード接続し4回繰り返し
1画素削れたスケルトン画像216を出力するもので、
削りたい任意画素数分同一の処理をすれば細線化画像(
スケルトン画像)を得ることができる。さらに、2値画
像201をスケルトン画像216と同期を取るために遅
延メモリ213で遅延し、スケルトン画像216と遅延
メモリ213で遅延した2値画像との排他的論理和21
4を取ることで削られた対象画素を示すフラグ216を
出力する。
A binary image 201 from the binarization means 106 is input to a line memory 202 for one line delay and a 3×3 scanning window 203, and is transferred while timing a pixel synchronization signal, although not shown in the figure. It's something to do. The output of the 3×3 scanning window 203 is stored in a look-up table LUT (
A) 204 to determine whether to erase the pixel of interest. The same process is repeated 4 times in cascade to output a skeleton image 216 with one pixel removed.
If you perform the same processing for any number of pixels you want to remove, you will get a thin line image (
skeleton image) can be obtained. Further, the binary image 201 is delayed in a delay memory 213 in order to synchronize with the skeleton image 216, and an exclusive OR 21 of the skeleton image 216 and the binary image delayed in the delay memory 213 is performed.
By taking 4, a flag 216 indicating the removed target pixel is output.

次に、第3図に距離画像変換手段の詳細プ0.7り図な
示し、以下に説明する。
Next, FIG. 3 shows a detailed diagram of the distance image converting means, which will be described below.

まず、細線化処理手段106は、1画素細線化処理ブロ
ック301をn段接続し、スケルトン画像312および
1画素細線化処理ブロック301の各段からの削られた
対象画素を示すフラグを出力している。距離画像変換手
段107では、1画素細線化処理ブロック301の各段
に対応したセレクタと多値のラインメモリから構成され
最終段からは距離変換画像313が出力される。
First, the thinning processing means 106 connects n stages of 1-pixel thinning processing blocks 301 and outputs flags indicating the thinned target pixels from each stage of the skeleton image 312 and 1-pixel thinning processing blocks 301. There is. The distance image conversion means 107 includes a selector corresponding to each stage of the 1-pixel thinning processing block 301 and a multivalued line memory, and a distance transformed image 313 is output from the final stage.

最初は、1画素細線化処理ブロック#1からのフラグで
セレクタ302の距離値″′0“または1″のどちらか
を選択し、ラインメモリに記憶する。つまり、フラグが
1なら距離値1 を選択する。次に、1画素細線化処理
ブロック#2かものフラグでセレクタ304で、ライン
メモリ303からのデータか距離値”2″のどちらかを
選択し、前処理結果と合成する。この処理を、1画素細
線化処理プロロク#nまで繰り返すことで、最終的に各
段で得られた距離値の合成結果として距離変換画像31
3を得ることができる。
Initially, either the distance value "'0" or 1" of the selector 302 is selected using the flag from the 1-pixel thinning processing block #1 and stored in the line memory. In other words, if the flag is 1, the distance value 1 is selected. Next, with the flag for 1-pixel thinning processing block #2, the selector 304 selects either the data from the line memory 303 or the distance value "2", and combines it with the preprocessing result.This processing By repeating the steps up to 1 pixel thinning process #n, the distance transformed image 31 is finally obtained as a result of combining the distance values obtained at each stage.
You can get 3.

次に、第4図に欠陥検出手段10Bの詳細ブロック図を
示し以下に説明する。
Next, FIG. 4 shows a detailed block diagram of the defect detection means 10B and will be described below.

細線化処理手段106からのスケルトン画像401と距
離画像変換手段107かもの距離変換画像402を入力
する。距離変換画像402は、配線パターン幅の許容値
を示す任意閾値と比較されるが、本実施例では2つの任
意閾値である設定値A406(最小値)と設定値B 4
07 (最大値)の例について説明する。距離変換画像
402は、同期を取るためのレジスタ403を介して比
較器404および406に入力され、配線パターン幅の
許容値を示す設定値A 406と設定値B4O7と比較
されて、論理和408が取られ欠陥が検出される。さら
に、スケルトン画像401と論理積409が取られ、ス
ケルトン画像上に発生した欠陥のみ欠陥情報として出力
される。
A skeleton image 401 from the thinning processing means 106 and a distance transformed image 402 from the distance image transforming means 107 are input. The distance conversion image 402 is compared with arbitrary threshold values indicating the permissible value of the wiring pattern width, and in this embodiment, two arbitrary threshold values are set value A406 (minimum value) and set value B406.
An example of 07 (maximum value) will be explained. The distance conversion image 402 is input to comparators 404 and 406 via a register 403 for synchronization, and is compared with a setting value A 406 indicating an allowable value of the wiring pattern width and a setting value B4O7, and a logical sum 408 is obtained. defects are detected. Furthermore, a logical product 409 is taken with the skeleton image 401, and only defects occurring on the skeleton image are output as defect information.

才た、欠陥情報として、座標データや欠陥の種類などを
出力することも容易に実現できることも付は加えておく
It should be noted that it is also possible to easily output coordinate data, defect type, etc. as defect information.

さらに、スケルトン画像を3×3の走査窓で走査し、L
UTで評価することにより終端およびT分岐等の欠陥検
出も容易に実現できることは、従来例からも明らかであ
り詳細の説明は省略した。
Furthermore, the skeleton image is scanned with a 3×3 scanning window, and L
It is clear from the prior art that defects such as terminal ends and T-branches can be easily detected by evaluating with UT, and detailed explanation is omitted.

第5図に本発明で処理した例を示す。FIG. 5 shows an example processed by the present invention.

囚は配線パターンの線幅異常の欠陥を含む2値画像を示
す。(B)は細線化処理されたスケルトン画像と2値画
像を示す。(C)は距離変換された距離変換画像を示す
。(D)は欠陥検出によって得られた欠陥検出例を示す
。本実施例では、最小線幅7画素以下および最大線幅1
3画素以上を線幅異常として検出している。
The figure shows a binary image containing a defect of abnormal line width in the wiring pattern. (B) shows a skeleton image and a binary image that have been subjected to line thinning processing. (C) shows a distance-converted image that has been subjected to distance conversion. (D) shows an example of defect detection obtained by defect detection. In this example, the minimum line width is 7 pixels or less and the maximum line width is 1 pixel.
Three or more pixels are detected as abnormal line width.

発明の効果 以上述べてきたように本発明の効果は、2値画像を用い
て配線パターンの背景側から1画素ずつ削る処理をn回
繰り返してスケルトン画像を得ると共に、削れた対象画
素に背景側からの距離値を付与し距離変換画像を出力し
、両者から欠陥検出を行うものである。これにより、ス
ケルトン画像と距離変換画像を同時に得られるために、
複数の線幅の許容閾値を容易に設定できる。よって、本
発明は簡単な構成で、各種の線異常を分類・検出でき、
その効果は大なるものがある。
Effects of the Invention As described above, the effects of the present invention are as follows: Using a binary image, a process of removing one pixel from the background side of the wiring pattern is repeated n times to obtain a skeleton image, and the removed target pixel is removed from the background side. A distance value is assigned to the object, a distance-converted image is output, and defects are detected from both. This allows you to obtain a skeleton image and a distance transformed image at the same time.
Easily set tolerance thresholds for multiple line widths. Therefore, the present invention can classify and detect various line abnormalities with a simple configuration.
The effect is great.

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

第1図は本発明の一実施例における配線パターン検査装
置のブロック結線図、第2図(a)は同装置る距離画像
変換手段の詳細ブロック図、第4図は同装置における欠
陥検出手段の詳細ブロック結線図、第6図Ca)〜(d
)は本発明の処理状態を示す図、を示す図である。 101・・・プリント基板、102・・・画像入力手段
、103・・・撮像装置、106・・・2値化手段、1
06・・・細線化処理手段、107・・・距離画像変換
手段、108・・・欠陥検出手段、202・・・ライン
メモリ、203・・・3×3走査窓、204−L U 
T。
FIG. 1 is a block diagram of a wiring pattern inspection device according to an embodiment of the present invention, FIG. 2(a) is a detailed block diagram of a distance image conversion means in the same device, and FIG. 4 is a detailed block diagram of a defect detection means in the same device. Detailed block wiring diagram, Figure 6 Ca) to (d)
) is a diagram showing a processing state of the present invention. 101... Printed circuit board, 102... Image input means, 103... Imaging device, 106... Binarization means, 1
06... Thinning processing means, 107... Distance image conversion means, 108... Defect detection means, 202... Line memory, 203... 3×3 scanning window, 204-L U
T.

Claims (1)

【特許請求の範囲】[Claims]  プリント基板上に形成された配線パターンを光電変換
する画像入力手段と、前記画像入力手段からの濃淡画像
を2値画像に変換する2値化手段と、配線パターンの背
景側から1画素ずつ削りながら全画素に対して定めた回
数を繰り返し細線化処理し、削られた対象画素の繰り返
し回数とスケルトン画像を出力する細線化処理手段と、
前記細線化処理手段からの削られた対象画素の繰り返し
回数を背景からの距離値として付与した距離変換画像を
出力する距離画像変換手段と、前記スケルトン画像に沿
つて距離変換画像の距離値と1つ以上の任意の設定閾値
(最小値または最大値)とを比較し、配線パターン幅の
欠陥を検出する欠陥検出手段とを具備した配線パターン
検査装置。
an image input means for photoelectrically converting a wiring pattern formed on a printed circuit board; a binarization means for converting a grayscale image from the image input means into a binary image; a thinning processing means that repeats thinning processing for all pixels a predetermined number of times and outputs the number of repetitions of the removed target pixel and a skeleton image;
distance image converting means for outputting a distance converted image in which the number of repetitions of the thinned target pixel from the thinning processing means is given as a distance value from the background; A wiring pattern inspection device comprising a defect detection means for detecting a defect in the wiring pattern width by comparing two or more arbitrary set threshold values (minimum value or maximum value).
JP2052128A 1990-03-02 1990-03-02 Wiring pattern inspection device Expired - Lifetime JPH0750037B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2052128A JPH0750037B2 (en) 1990-03-02 1990-03-02 Wiring pattern inspection device
US07/936,324 US5272763A (en) 1990-03-02 1992-08-28 Apparatus for inspecting wiring pattern formed on a board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2052128A JPH0750037B2 (en) 1990-03-02 1990-03-02 Wiring pattern inspection device

Publications (2)

Publication Number Publication Date
JPH03252545A true JPH03252545A (en) 1991-11-11
JPH0750037B2 JPH0750037B2 (en) 1995-05-31

Family

ID=12906236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2052128A Expired - Lifetime JPH0750037B2 (en) 1990-03-02 1990-03-02 Wiring pattern inspection device

Country Status (1)

Country Link
JP (1) JPH0750037B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5608816A (en) * 1993-12-24 1997-03-04 Matsushita Electric Industrial Co., Ltd. Apparatus for inspecting a wiring pattern according to a micro-inspection and a macro-inspection performed in parallel
JP2002096018A (en) * 2000-09-22 2002-04-02 Daihatsu Motor Co Ltd Method of inspecting coating crack and method of measuring width of coating crack

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5608816A (en) * 1993-12-24 1997-03-04 Matsushita Electric Industrial Co., Ltd. Apparatus for inspecting a wiring pattern according to a micro-inspection and a macro-inspection performed in parallel
JP2002096018A (en) * 2000-09-22 2002-04-02 Daihatsu Motor Co Ltd Method of inspecting coating crack and method of measuring width of coating crack

Also Published As

Publication number Publication date
JPH0750037B2 (en) 1995-05-31

Similar Documents

Publication Publication Date Title
US4949390A (en) Interconnect verification using serial neighborhood processors
JPH04115144A (en) Image processor and automatic optical inspection apparatus using same
US5272763A (en) Apparatus for inspecting wiring pattern formed on a board
JPH05256796A (en) Inspecting system
JPH0731734B2 (en) Shape discrimination system
US5459795A (en) Wiring pattern inspection apparatus for printed circuit board
JPH03252545A (en) Wiring pattern inspection device
JP2745778B2 (en) Wiring pattern inspection equipment
JP2737484B2 (en) Wiring pattern inspection equipment
JPH0271377A (en) Method and device for checking pattern
JPH06288738A (en) Wiring pattern inspection device
JP2819905B2 (en) Wiring pattern inspection equipment
JP2712803B2 (en) Wiring pattern inspection equipment
JP2794924B2 (en) Wiring pattern inspection equipment
JPH03252546A (en) Wiring pattern inspection device
JP2676990B2 (en) Wiring pattern inspection equipment
JPS61205811A (en) Method for detecting flaw
JP2524000B2 (en) Pattern inspection device
JP2529505B2 (en) Wiring pattern inspection device
JP2003203218A (en) Visual inspection device and method
JP2819916B2 (en) Wiring pattern inspection equipment
JPH0560536A (en) Wiring pattern inspection device
JP2715634B2 (en) Wiring pattern inspection equipment
WO1988008168A2 (en) Interconnect verification using serial neighborhood processors
JP2825392B2 (en) Method and apparatus for inspecting image pattern on printed wiring board

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090531

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20100531

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20100531

Year of fee payment: 15