JP2887683B2 - IC package inspection apparatus and IC package inspection method - Google Patents

IC package inspection apparatus and IC package inspection method

Info

Publication number
JP2887683B2
JP2887683B2 JP32209089A JP32209089A JP2887683B2 JP 2887683 B2 JP2887683 B2 JP 2887683B2 JP 32209089 A JP32209089 A JP 32209089A JP 32209089 A JP32209089 A JP 32209089A JP 2887683 B2 JP2887683 B2 JP 2887683B2
Authority
JP
Japan
Prior art keywords
pattern
image
inspected
pixels
pattern portion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP32209089A
Other languages
Japanese (ja)
Other versions
JPH03183147A (en
Inventor
継一 藤井
一城 森川
正人 長崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Tokushu Togyo KK
Original Assignee
Nippon Tokushu Togyo KK
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 Nippon Tokushu Togyo KK filed Critical Nippon Tokushu Togyo KK
Priority to JP32209089A priority Critical patent/JP2887683B2/en
Publication of JPH03183147A publication Critical patent/JPH03183147A/en
Application granted granted Critical
Publication of JP2887683B2 publication Critical patent/JP2887683B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ICパッケージ検査システムに関するもので
ある。
Description: TECHNICAL FIELD The present invention relates to an IC package inspection system.

[発明の背景] IC(インテグレイテドサーキット)を収縮するパッケ
ージは、セラミック製のものが広く使われており、ICと
外部回路とを電気的に接続するため、パッケージ表面に
は種々のパターンが印刷されて、さらにメッキされてい
る。このパターンには、一部欠けていたり、逆に一部余
分に膨らんでいたり、パターン全体が印刷されていなか
ったり、メッキされていなかったりする等の不良品が一
部ある。そのため、この不良を検査しなくてはならない
が、この印刷パターンの検査には、テレビカメラを用い
ることが、近年考えられている。
BACKGROUND OF THE INVENTION Ceramic packages are widely used for shrinking integrated circuits (ICs), and various patterns are formed on the package surface to electrically connect the ICs to external circuits. Printed and plated. This pattern has some defective products, such as a part missing, a part bulging conversely, an entire pattern not being printed, and being not plated. For this reason, this defect must be inspected, but use of a television camera for inspecting the print pattern has been considered in recent years.

本発明は、このテレビカメラを使ってのICパッケージ
の検査を、より正確かつ効率的に行おうとするものであ
る。
The present invention is intended to more accurately and efficiently inspect an IC package using the television camera.

[課題を解決するための手段] 上記目的を達成するために、本発明においては、被検
査パターンのパターン画像の個数を計数し、この個数
と、合格した被検査パターンのパターン画像の個数と比
較して、被検査パターンの合格、不良を判別するように
したものである。また、被検査パターン画像の画素数を
特定の座標方向に計数し、この画素数と、合格した被検
査パターン画像の画素数と比較して、被検査パターンの
合格、不良を判別するようにしたものである。
[Means for Solving the Problems] In order to achieve the above object, in the present invention, the number of pattern images of a pattern to be inspected is counted, and the number is compared with the number of pattern images of a pattern to be inspected that has passed. Then, the pass / fail of the pattern to be inspected is determined. Further, the number of pixels of the pattern to-be-inspected is counted in a specific coordinate direction, and the number of pixels is compared with the number of pixels of the pattern-of-inspection pattern image that has passed, thereby determining whether the pattern to be inspected is pass or failure. Things.

[作用] これにより、例えばパターンが余分に膨らんで、隣の
パターンとショートしていると、被検査パターン画像全
体の個数が、合格したパターン画像の個数より少なくな
る。パターンが1つ又はそれ以上完全に脱落している
と、やはり被検査パターン画像全体の個数が、合格した
パターン画像の個数より少なくなる。逆に1つのパター
ンが断線して複数部分に分離していると、被検査パター
ン画像全体の個数が、合格したパターン画像の個数より
多くなる。こうして不良品であることが判別できる。ま
た、パターンが一部欠けていたり、余分に膨らんでいた
りすると、被検査パターン画像の画素数が合格した被検
査パターン画像の画素数と比較して、一部少なかった
り、一部多かったりし、不良品であることが判別でき
る。
[Operation] With this, for example, when the pattern is excessively expanded and short-circuited with an adjacent pattern, the total number of pattern images to be inspected becomes smaller than the number of passed pattern images. If one or more patterns are completely dropped, the total number of pattern images to be inspected is also smaller than the number of passed pattern images. Conversely, if one pattern is broken and separated into a plurality of portions, the total number of pattern images to be inspected becomes larger than the number of passed pattern images. Thus, it can be determined that the product is defective. Also, if the pattern is partially missing or excessively bulging, the number of pixels of the pattern image to be inspected is smaller or partially larger than the number of pixels of the pattern image to be inspected that has passed, It can be determined that the product is defective.

[実施例] 以下、本発明を具体化した一実施例を図面を参照して
説明する。
[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第1図はICパッケージ1、2を示すものである。ICパ
ッケージ1には、方形、四角枠形、ブロック形等のパタ
ーン10が形成され、ICパッケージ2には、円形、リング
形、円ブロック形等のパターン10が形成されている。こ
のICパッケージ1、2に対し、上面、側面等から、CCD
カメラ3による撮影検査が行われる。
FIG. 1 shows IC packages 1 and 2. A pattern 10, such as a square, a square frame, or a block, is formed on the IC package 1, and a pattern 10, such as a circle, a ring, or a circular block, is formed on the IC package 2. For these IC packages 1 and 2, the CCD
An imaging inspection by the camera 3 is performed.

第2図は、ICパッケージ検査装置の回路図を示すもの
である。CCDカメラ3で撮影された、ICパッケージ1、
2の被検査パターンの画像データは、画像メモリ4に書
き込まれる。この画像メモリ4は、8ビットメモリで、
m行、n列の番地をもっている。このm行、n列は、CC
Dカメラ3の撮影画素数のm行、n列に対応している。
画像メモリ4の各番地には、撮影した被検査パターンの
各画素ごとの明るさを示すデータが書き込まれる。この
明るさデータは、0〜255の値をとる。この画像メモリ
4は、8ビット構成以外でもよい。またこの画像メモリ
4は予備的に複数設けられる。
FIG. 2 shows a circuit diagram of the IC package inspection device. IC package 1, photographed by CCD camera 3,
The image data of the pattern to be inspected 2 is written into the image memory 4. This image memory 4 is an 8-bit memory,
It has addresses of m rows and n columns. The m rows and n columns are CC
This corresponds to m rows and n columns of the number of pixels captured by the D camera 3.
At each address of the image memory 4, data indicating the brightness of each pixel of the captured inspection pattern is written. This brightness data takes a value of 0 to 255. The image memory 4 may have a configuration other than the 8-bit configuration. A plurality of image memories 4 are provided in advance.

この画像メモリ4の画像データは、アドレスカウンタ
5を通じ、CPU6によって読み出され、画像データ処理が
成された後、濃度分布メモリ7、2値化画像メモリ8、
ラベルメモリ9に書き込まれる。アドレスカウンタ5
は、m+nビット以上のカウンタビットをもち、画像メ
モリ4に対しては、mビットの行アドレスとnビットの
列アドレスの各データを出力する。
The image data in the image memory 4 is read out by the CPU 6 through the address counter 5, and after image data processing is performed, the density distribution memory 7, the binary image memory 8,
The data is written to the label memory 9. Address counter 5
Has m + n or more counter bits, and outputs data of an m-bit row address and an n-bit column address to the image memory 4.

濃度分布メモリ7には、第3図に示すように、画像メ
モリ4の各明るさに応じた画素数が集計され記憶され
る。2値化画像メモリ8には、第4図に示すように、濃
度分布メモリ7の記憶内容に基づき、例えばパターン画
像13部分が「1(2値論理レベルのハイレベル)」、パ
ターン画像13以外の部分が「0(2値論理レベルのロー
レベル)」というように、パターン画像13が単純化して
記憶される。ラベルメモリ9には、第5図に示すよう
に、独立した各パターン画像13ごとに番号を割り振っ
て、各パターン画像13が区別して記憶される。これら濃
度分布メモリ7、2値化画像メモリ、ラベルメモリ9に
対するアクセスは、上記アドレスカウンタ5を通じ行、
CPU6によって行われる。
As shown in FIG. 3, the number of pixels corresponding to each brightness of the image memory 4 is totaled and stored in the density distribution memory 7. As shown in FIG. 4, in the binarized image memory 8, for example, the pattern image 13 portion is “1 (binary logic level high level)” and the pattern image 13 is other than the pattern image 13 based on the storage contents of the density distribution memory 7. Is simplified and the pattern image 13 is stored as "0 (low level of binary logic level)". As shown in FIG. 5, the label memory 9 assigns a number to each independent pattern image 13 and stores each pattern image 13 separately. Access to the density distribution memory 7, the binary image memory, and the label memory 9 is performed through the address counter 5,
This is performed by the CPU 6.

ROM11には、CPU6が各種処理を行うためのプログラム
が記憶され、RAM12には、CPU6の各種処理データが記憶
される。またRAM12には、検査するパターン画像13の個
数、合格したパターン画像13の個数、検査するパターン
画像13の画素数、合格品のマスタパターンのパターン画
像13の画素数が記憶される。
The ROM 11 stores programs for the CPU 6 to perform various types of processing, and the RAM 12 stores various types of processing data for the CPU 6. The RAM 12 stores the number of pattern images 13 to be inspected, the number of pattern images 13 that have passed, the number of pixels of the pattern image 13 to be inspected, and the number of pixels of the pattern image 13 of the master pattern that has passed.

検査処理の前に、次のような処理により、パターン画
像13を単純化した2値化画像を求めるのに必要な閾値デ
ータTを求める。そのため、CPU6により、まず第3図に
示す、濃度分布データが作成される。これは次のように
して作成される。画像メモリ4の画像データを各画素ご
とに読み出し、0〜225の明るさごとに集計を行い、濃
度分布データが作成される。この濃度分布データは、比
較的明るいパターン画像13の分布の山と、比較的暗いパ
ターン部分以外の画像部分の分布の山とに別れる。そし
て、この2つの山の間に小さい山ができる。これが印刷
不良、メッキ不良の部分の画像部分の山である。
Prior to the inspection processing, threshold data T necessary for obtaining a binarized image obtained by simplifying the pattern image 13 is obtained by the following processing. Therefore, the CPU 6 first creates the density distribution data shown in FIG. It is created as follows. The image data in the image memory 4 is read out for each pixel, and totalization is performed for each brightness of 0 to 225, and density distribution data is created. The density distribution data is divided into a distribution peak of the relatively bright pattern image 13 and a distribution peak of the image portion other than the relatively dark pattern portion. And a small mountain is created between these two mountains. This is the peak of the image portion of the printing failure and the plating failure.

第6図は、ICパッケージの検査処理のフローチャート
を示す図である。
FIG. 6 is a view showing a flowchart of an IC package inspection process.

この処理では、CPU6は画像メモリ4に記憶されている
パターン10の画像データにつき、第7図(A)に示すパ
ターン画像13の膨脹を行う(ステップ01)。この膨脹
は、パターン画像13をパターン部分以外に向かって、画
素1列分、膨脹させる処理である。この処理を複数回繰
り返せば、パターン画像13が複数列分、膨らむことにな
る。これにより、第7図(B)に示すように、パターン
画像13内のピンホール(パターン10の小さい抜け)が埋
め尽くされることになる。
In this process, the CPU 6 expands the pattern image 13 shown in FIG. 7A with respect to the image data of the pattern 10 stored in the image memory 4 (step 01). This expansion is processing for expanding the pattern image 13 by one column of pixels toward portions other than the pattern portion. If this process is repeated a plurality of times, the pattern image 13 expands by a plurality of rows. As a result, as shown in FIG. 7B, the pinholes (small omissions of the pattern 10) in the pattern image 13 are filled up.

次いで、第7図(C)に示すパターン画像13の収縮を
行う(ステップ02)。この収縮は、パターン画像13をパ
ターン部分以外に向かって、画素1列分、収縮させる処
理である。この処理を複数回繰り返せば、パターン画像
13が複数列分、縮むことになる。これにより、第7図
(C)に示すように、パターン画像13内のピンホール
(パターン10の小さい抜け)が埋め尽くされたまま、膨
脹前の元のパターン画像13の大きさに戻ることになる。
Next, the pattern image 13 shown in FIG. 7 (C) is contracted (step 02). This contraction is a process of contracting the pattern image 13 by one column of pixels toward portions other than the pattern portion. By repeating this process multiple times, the pattern image
13 shrinks by a plurality of columns. As a result, as shown in FIG. 7 (C), the size of the pattern image 13 returns to the original size before the expansion while the pinholes (small omissions of the pattern 10) in the pattern image 13 are filled up. Become.

この膨脹、収縮の処理は例えば次のようにして行われ
る。画像メモリ膨脹4より各画素(i、j)の画像デー
タを順次読み出すとともに、その周囲(i−1、j−
1)、(i、j−1)(i+1、j−1)、(i−1、
j)、(i+1、j)、(i−1、j+1)、(i、j
+1)、(i+1、j+1)の画像データを併せて読み
出し、膨脹の場合には、画素(i、j)の画像データ
を、(i、j)の画像データ及び上記周囲の8つの画像
データの中の最大値に置き換え、収縮の場合には、画素
(i、j)の画像データを、(i、j)の画像データ及
び上記周囲の8つの画像データの中の最小値に置き換え
て、別の画像メモリ記憶しておく。これが膨脹された画
像データまたは収縮された画像データとなる。この膨
脹、収縮は別の方法によって行ってもよいし、後述する
ように、2値化画像データに変換した後に行ってもよ
い。
The expansion and contraction processing is performed, for example, as follows. The image data of each pixel (i, j) is sequentially read out from the image memory expansion 4, and its surroundings (i-1, j-
1), (i, j-1) (i + 1, j-1), (i-1,
j), (i + 1, j), (i-1, j + 1), (i, j
+1) and (i + 1, j + 1) are read together, and in the case of expansion, the image data of the pixel (i, j) is replaced with the image data of (i, j) and the eight surrounding image data. In the case of contraction, the image data of the pixel (i, j) is replaced with the minimum value of the image data of (i, j) and the surrounding eight image data. Image memory. This becomes expanded image data or contracted image data. The expansion and contraction may be performed by another method, or may be performed after conversion into binary image data as described later.

そして、第7図(C)の膨脹、収縮後の画像データか
ら、第7図(A)の元の画像データを、各画素ごとに差
し引き、不良部分の濃淡画像を抽出する(ステップ0
3)。次に、この不良部分の濃淡画像を適当な閾値、例
えば後述する閾値データTにより、2値化画像データに
変換し、各不良部分ごとにラベリングして区別し(ステ
ップ04)、各不良部分の面積が合格品として許される許
容値以上か否か判断する(ステップ05)。
Then, the original image data of FIG. 7 (A) is subtracted for each pixel from the expanded and contracted image data of FIG. 7 (C) to extract a gray image of a defective portion (step 0).
3). Next, the grayscale image of the defective portion is converted into binarized image data using an appropriate threshold value, for example, threshold data T described later, and is labeled and distinguished for each defective portion (step 04). It is determined whether or not the area is equal to or larger than the allowable value allowed as a passable product (step 05).

このラベリングは、例えば次のようにして行われる。
画像メモリ4より各画素(i、j)の画像データを、左
上から右下に向かって縦方向に順次読み出す。この画像
データが適当な閾値、例えば後述する閾値データT以上
か否か、すなわちパターン画像13か否か判別する。閾値
データT以上であれば、隣接する画素のラベルナンバを
調べる。このラベルナンバは既にラベルメモリ9に書き
込まれているものである。隣接画素は(i−1、j−
1)、(i−1、j)、(i−1、j+1)、(i、j
−1)または(i−1、j)、(i、j−1)である。
This labeling is performed, for example, as follows.
Image data of each pixel (i, j) is sequentially read from the image memory 4 in the vertical direction from the upper left to the lower right. It is determined whether or not this image data is equal to or more than an appropriate threshold, for example, threshold data T to be described later, that is, whether or not the image data is the pattern image 13. If the data is equal to or larger than the threshold data T, the label number of an adjacent pixel is checked. This label number has already been written in the label memory 9. The adjacent pixels are (i-1, j-
1), (i-1, j), (i-1, j + 1), (i, j)
-1) or (i-1, j) and (i, j-1).

この隣接画素にラベルナンバ、例えばkが書き込まれ
ていれば、ラベルメモリ9の画素(i、j)の対応番地
にラベルナンバkを書き込む。これにより、1つのつな
がったパターン画像13の各画素ごとに同じラベルナンバ
が書き込まれる。隣接画素のラベルナンバがすべて
「0」であれば、今までに使用していない新しいラベル
ナンバを書き込む。例えば今までに「1」〜「3」のラ
ベルナンバの書き込みを行っていれば、「4」のラベル
ナンバを新たに書き込む。これにより、第5図に示すよ
うに、つながっていない独立した各パターン画像13ごと
に、異なるラベルナンバが割り振られる。
If a label number, for example, k, has been written to the adjacent pixel, the label number k is written to the address corresponding to the pixel (i, j) in the label memory 9. Thereby, the same label number is written for each pixel of one connected pattern image 13. If the label numbers of adjacent pixels are all “0”, a new label number that has not been used is written. For example, if the label numbers “1” to “3” have been written so far, the label number “4” is newly written. Thereby, as shown in FIG. 5, a different label number is assigned to each of the independent pattern images 13 that are not connected.

また、隣接画素のラベルナンバに複数の異なる値が書
き込まれていれば、この複数のラベルナンバの最小値を
書き込む。そして、この最小値以外のラベルナンバが既
に書き込まれたパターン画像13のラベルナンバを上記最
小値のラベルナンバに書き換える。これにより、当初異
なるラベルナンバが割り振られたパターン画像13が、後
でつながっていることが判明した場合、同じラベルナン
バに割振りし直される。
If a plurality of different values are written in the label numbers of adjacent pixels, the minimum value of the plurality of label numbers is written. Then, the label number of the pattern image 13 in which the label number other than the minimum value has already been written is rewritten to the label number of the minimum value. Thereby, if it is found that the pattern images 13 to which different label numbers are initially assigned are connected later, they are reassigned to the same label number.

最後に、上記のようにして割り振った、ラベルメモリ
9のラベルナンバを読み出し、小さい方から順に「1」
から始まる通し番号にする。
Finally, the label numbers of the label memory 9 allocated as described above are read out, and "1" is sequentially assigned from the smallest one.
Start with a serial number.

このラベリングは、画像メモリ4の画像データではな
く、2値化画像メモリ8の2値化画像データに基づいて
行ってもよい。この場合、上記閾値データT以上か否か
の判別は不要となる。
This labeling may be performed based on the binarized image data of the binarized image memory 8 instead of the image data of the image memory 4. In this case, it is not necessary to determine whether the data is equal to or larger than the threshold data T.

また、上述のラベリングの後の各パターン画像13の各
面積の算出は次のようにして行われる。各ラベルナンバ
をラベルメモリ9より順次読み出し、各ラベルナンバの
値ごとに集計を行う。この集計値が、各パターン画像13
ごとの面積を表わす。
The calculation of each area of each pattern image 13 after the above-described labeling is performed as follows. Each label number is sequentially read from the label memory 9 and totalized for each label number value. This total value is calculated for each pattern image 13
Represents the area of each.

このステップ01〜05の検査処理では、パターン10の領
域内のピンホール(パターン10の小さい抜け)の検査が
行われる。この処理では、最後まで2値化画像データに
変換していないので、照明条件の不均一に左右されない
利点がある。
In the inspection processing of steps 01 to 05, an inspection of a pinhole (a small omission of the pattern 10) in the area of the pattern 10 is performed. In this processing, since the image data is not converted to the binarized image data until the end, there is an advantage that it is not affected by uneven lighting conditions.

上記閾値データTを求める処理は以下のとうりであ
る。まず、上記濃度分布データから、第3図に示す、パ
ターン画像13の濃度分布データの最大値Xmax、最頻値Xm
odeを判定する。次に次式から、パターン画像13の濃度
分布データの最小値Xminを求める。
The process for obtaining the threshold data T is as follows. First, the maximum value Xmax and the mode Xm of the density distribution data of the pattern image 13 shown in FIG.
Determine ode. Next, the minimum value Xmin of the density distribution data of the pattern image 13 is obtained from the following equation.

Xmin=Xmode−a×(Xmax−Xmode)(aは定数) そして、最小値Xmin、最大値Xmaxの間で、平均値X、
標準偏差cを求め、次式より、閾値データTを求める。
Xmin = Xmode−a × (Xmax−Xmode) (a is a constant) Then, between the minimum value Xmin and the maximum value Xmax, the average value X,
The standard deviation c is obtained, and the threshold data T is obtained from the following equation.

T=X−b×c(bは定数) 次に、CPU6は、画像メモリ4の画像データを各画素ご
とに読み出し(ステップ06)、上記閾値データTより大
きければ「1」、小さければ「0」の2値化画像データ
に変換し(ステップ07)、2値化画像メモリ8に書き込
む(ステップ08)。そして、この2値化画像データに対
し、第8図(B)に示すように、上述した膨脹処理を数
回行なう(ステップ09)。次いで、上述したラベリング
処理を行い(ステップ10)、ラベリング数が、合格品の
ラベリング数と一致しているか否か判別する(ステップ
11)。この合格品のラベリング個数は、予め入力されて
記憶されている。またラベリングは、2値化画像データ
ではなく、画像メモリ4の画像データに対して行っても
よい。
T = X−b × c (b is a constant) Next, the CPU 6 reads out the image data of the image memory 4 for each pixel (step 06), and if it is larger than the threshold data T, it is “1”; Is converted to binary image data (step 07) and written into the binary image memory 8 (step 08). Then, as shown in FIG. 8 (B), the above-described expansion processing is performed several times on the binary image data (step 09). Next, the above-described labeling process is performed (step 10), and it is determined whether or not the number of labeling matches the number of labeling of the acceptable product (step 10).
11). The number of labeling of the accepted product is input and stored in advance. The labeling may be performed on the image data in the image memory 4 instead of the binarized image data.

このステップ06〜11の検査処理では、パターン10が余
分に膨らんで隣のパターン10とのショートや、パターン
10の脱落、1つのパターン10が大きく欠けて複数部分へ
の分離が判別される。すなわち、被検査パターン10がシ
ョートしていると、被検査パターン10…全体のラベリン
グ個数が、合格品のラベリング個数より少なくなる。ま
たパターン10が1つ又はそれ以上完全に脱落している
と、やはり被検査パターン10…全体のラベリング個数
が、合格品のラベリング個数より少なくなる。逆に1つ
のパターン10が断線して複数部分に分離していると、被
検査パターン10…全体のラベリング個数が、合格品のラ
ベリング個数より多くなる。このようにして、不良品で
あることが判別できる。
In the inspection processing of steps 06 to 11, the pattern 10 is excessively expanded and short-circuited with the adjacent pattern 10 or the pattern 10
A dropout of one, one pattern 10 is largely missing, and separation into a plurality of parts is determined. That is, if the pattern under test 10 is short-circuited, the number of labeling of the pattern under test 10... If one or more of the patterns 10 are completely dropped, the number of labeling of the pattern to be inspected 10... Is also smaller than the number of labeling of acceptable products. Conversely, if one pattern 10 is broken and separated into a plurality of portions, the number of labeling of the pattern to be inspected 10... In this way, it can be determined that the product is defective.

なお、上記膨脹処理は省略してもよいが、省略しない
ほうがよい。パターン10が余分に膨らんで、隣のパター
ン10とのショートしないまでも、極めて近接しているニ
アショートの場合にも、上記膨脹処理により、隣のパタ
ーン10とつながり、不良品として検出できる。これは、
このニアショートも製品としては性能がよくなく、合格
品から除外するためである。さらに、CPU6は、2値化画
像メモリ8の2値化画像データを各画素ごとに読み出し
(ステップ12)、「1」の2値化画像データの画素数を
Y軸方向すなわち縦方向に集計する(ステップ13)。こ
の集計は第9図に示すように、同じX軸座標値の画素群
につき、「1」の2値化画像データの個数をカウント
し、これを各X座標ごとに集計することで行われる。そ
して、このY軸方向画素数を合格品のマスタパターンの
Y軸方向画素数と比較して、一定値以上のずれがあるか
否かを判別する(ステップ14)。
Note that the expansion process may be omitted, but it is better not to omit it. Even if the pattern 10 is excessively expanded and does not short-circuit with the adjacent pattern 10, or if the pattern is near-short, the pattern is connected to the adjacent pattern 10 and detected as a defective product. this is,
The reason for this near short is that the performance is not good as a product, and that it is excluded from acceptable products. Further, the CPU 6 reads the binarized image data of the binarized image memory 8 for each pixel (step 12), and totals the number of pixels of the binarized image data of "1" in the Y-axis direction, that is, the vertical direction. (Step 13). As shown in FIG. 9, this counting is performed by counting the number of binarized image data of "1" for a pixel group having the same X-axis coordinate value and summing up the number for each X coordinate. Then, by comparing the number of pixels in the Y-axis direction with the number of pixels in the Y-axis direction of the master pattern of a pass product, it is determined whether or not there is a deviation of a certain value or more (step 14).

このずれは、合格品の画素数を越えているか否かで判
別される。むろん合格品の画素数に対し一定値以下の差
か、一定割合の比率以下かで判別してもよい。この画素
数の判別に当たっては、被検査パターン10の画素数分布
と合格品のマスタパターンの画素数分布とのずれを補正
するため、後述するX軸方向のずれ補正を行ってもよ
い。また、合格品のマスタパターンの画素数は、予め入
力されて記憶されており、複数の合格品のパターン画像
13の画素数の最小値、平均値、最頻値等が使用される。
This shift is determined based on whether or not the number of pixels of the acceptable product is exceeded. Needless to say, the determination may be made based on the difference between the number of pixels of the acceptable product being equal to or less than a certain value or the ratio being equal to or less than a certain ratio. In the determination of the number of pixels, a shift correction in the X-axis direction, which will be described later, may be performed in order to correct a shift between the pixel count distribution of the pattern 10 to be inspected and the pixel count distribution of the master pattern of a good product. In addition, the number of pixels of the master pattern of the accepted product is input and stored in advance, and a plurality of pattern images of the accepted product are stored.
The minimum value, average value, mode value, etc. of the number of 13 pixels are used.

このステップ12〜14の検査処理では、パターン10の大
きな欠け、脱落、大きな断線、大きなショートが判別さ
れる。また、被検査パターン10…全体に、パターン10の
ショートまたはパターン10の脱落と、1つのパターン10
が大きく欠けて複数部分への分離が混在していると、被
検査パターン10…全体のラベリング個数が、合格品のラ
ベリング個数と偶然一致してしまい、上記ステップ09〜
11で合格品として判別されてしまうが、このステップ12
〜14で不良品として判別できる。
In the inspection processing in steps 12 to 14, the pattern 10 is determined to have a large lack, a drop, a large disconnection, or a large short. In addition, the pattern to be inspected 10...
Is large and the separation into a plurality of parts is mixed, the labeling number of the pattern to be inspected 10...
Although it is determined as a passing product in step 11, this step 12
It can be determined as a defective product by ~ 14.

なお、このステップ12〜14で膨脹処理を行ってもよい
し、画像メモリ4より各画素(i、j)の画像データを
順次読み出し、この画像データが適当な閾値、例えば上
記閾値データT以上か否か、すなわちパターン画像13か
否か判別して、各画素数をY軸方向すなわち縦方向に集
計してもよい。
The expansion process may be performed in steps 12 to 14, or the image data of each pixel (i, j) is sequentially read out from the image memory 4 to determine whether the image data has an appropriate threshold value, for example, the threshold data T or more. No, that is, whether or not it is the pattern image 13 may be determined, and the number of pixels may be totaled in the Y-axis direction, that is, the vertical direction.

第10図は別の実施例を示すものである。この検査処理
は次のようにして行われる。
FIG. 10 shows another embodiment. This inspection processing is performed as follows.

2値化画像メモリ8内の枠形の被検査パターン10のパ
ターン画像13に対し、上述した膨脹処理をn回行い(第
10図(B))、予め記憶されていた合格品のマスタパタ
ーンのパターン画像13とを重ね合わせる(第10図
(C))。この重合わせは、被検査パターン10のパター
ン画像13の各2値化画像データと、合格品のマスタパタ
ーンのパターン画像13の各2値化画像データとを、各画
素ごとに、論理和をとることで行われる。この後、上述
した収縮処理をn+1回行い(第10図(D))、この収
縮画像データと、元の画像データを「1」「0」反転さ
せた画像データとの論理積をとる。これにより、不良部
分のみが抽出される(第10図(F))。この各不良部分
の面積が合格品として許される許容値以上か否か判断す
る この場合、被検査パターン10のパターン画像13の膨脹
画像に、合格品のマスタパターンのパターン画像13を重
合わせるのは、各被検査パターン10の大きさにばらつき
があって、多少の位置ずれがあっても、これに対応でき
るようにするためである。
The above-described expansion processing is performed n times on the pattern image 13 of the frame-shaped pattern to be inspected 10 in the binarized image memory 8 (No.
10 (B)) is superimposed on the previously stored pattern image 13 of the master pattern of the accepted product (FIG. 10 (C)). This overlapping is performed by ORing each binarized image data of the pattern image 13 of the pattern to-be-inspected 10 and each binarized image data of the pattern image 13 of the master pattern of the accepted product for each pixel. It is done by that. Thereafter, the above-described contraction processing is performed n + 1 times (FIG. 10 (D)), and the logical product of the contracted image data and image data obtained by inverting the original image data by “1” and “0” is obtained. As a result, only the defective portion is extracted (FIG. 10 (F)). It is determined whether or not the area of each defective portion is equal to or larger than the allowable value that is acceptable as a passing product.In this case, the pattern image 13 of the master pattern of the passing product is superimposed on the expanded image of the pattern image 13 of the pattern 10 to be inspected. This is because even if there is a variation in the size of each pattern to be inspected 10 and there is a slight displacement, this can be dealt with.

また上記被検査パターン10のパターン画像13の膨脹画
像と、合格品のマスタパターンのパターン画像13とを重
合わせるときには、位置ずれを補正するための処理が行
われる。このずれ補正量ΔX、ΔYは次式で求められ
る。
Further, when the expanded image of the pattern image 13 of the pattern to be inspected 10 and the pattern image 13 of the master pattern of the accepted product are overlapped, a process for correcting the displacement is performed. The deviation correction amounts ΔX and ΔY are obtained by the following equations.

ΔX={(x1+x2)−(X1+X2)}/2 ΔY={(y1+y2)−(Y1+Y2)}/2 ここで、x1、x2、y1、y2は、枠形の被検査パターン10
の外側の座標値であり、X1、X2、Y1、Y2は、枠形の合格
パターン10の外側の座標値である。
ΔX = {(x1 + x2) − (X1 + X2)} / 2 ΔY = {(y1 + y2) − (Y1 + Y2)} / 2 where x1, x2, y1, and y2 are frame-shaped patterns 10 to be inspected.
, And X1, X2, Y1, and Y2 are coordinate values outside the frame-shaped acceptance pattern 10.

さらに合格品のマスタパターンのパターン画素13は、
複数の合格品のパターン画像13の論理積をとったもの、
平均的パターン画像、最頻パターン画像が使用される。
Furthermore, the pattern pixel 13 of the master pattern of the passed product is
A logical product of a plurality of accepted pattern images 13
An average pattern image and a mode pattern image are used.

本発明は上記実施例に限定されず、本発明の趣旨を逸
脱しない範囲で種々変更可能である。
The present invention is not limited to the above embodiment, and can be variously modified without departing from the spirit of the present invention.

[発明の効果] 以上詳述したように、本発明によれば、被検査パター
ンのパターン画像の個数を計数し、この個数と、合格し
た被検査パターンのパターン画像の個数と比較して、被
検査パターンの合格、不良を判別するようにした。これ
により、例えばパターンが余分に膨らんで、隣のパター
ンとショートしていると、被検査パターン画像全体の個
数が、合格したパターン画像の個数より少なくなる。パ
ターンが1つ又はそれ以上完全に脱落していると、やは
り被検査パターン画像全体の個数が、合格したパターン
画像の個数より少なくなる。逆に1つのパターンが断線
して複数部分に分離していると、被検査パターン画像全
体の個数が、合格したパターン画像の個数より多くな
る。こうして不良品であることが判別できる。また、被
検査パターン画像の画素数を特定の座標方向に計数し、
この画素数と、合格した被検査パターン画像の画素数と
比較して、被検査パターンの合格、不良を判別するよう
にした。これにより、パターンが一部欠けていたり、余
分に膨らんでいたりすると、被検査パターン画像の画素
数が合格した被検査パターン画像の画素数と比較して、
一部少なかったり、一部多かったりし、不良品であるこ
とが判別できる。こうして、ICパッケージの検査を、よ
り正確かつ効率的に行うことができる。
[Effects of the Invention] As described in detail above, according to the present invention, the number of pattern images of a pattern to be inspected is counted, and this number is compared with the number of pattern images of a pattern to be inspected that pass. Pass / fail of the inspection pattern is determined. Thus, for example, if the pattern is excessively expanded and short-circuited with an adjacent pattern, the total number of pattern images to be inspected becomes smaller than the number of passed pattern images. If one or more patterns are completely dropped, the total number of pattern images to be inspected is also smaller than the number of passed pattern images. Conversely, if one pattern is broken and separated into a plurality of portions, the total number of pattern images to be inspected becomes larger than the number of passed pattern images. Thus, it can be determined that the product is defective. Also, the number of pixels of the pattern image to be inspected is counted in a specific coordinate direction,
The number of pixels is compared with the number of pixels of the image of the inspected pattern that has passed, and the pass or failure of the inspected pattern is determined. Thereby, if the pattern is partially missing or excessively swollen, the number of pixels of the inspected pattern image is compared with the number of pixels of the passed inspected pattern image,
It is possible to determine that the product is defective, with a small number of parts or a large number of parts. Thus, the inspection of the IC package can be performed more accurately and efficiently.

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

第1図乃至第10図は本発明の実施例を示すもので、第1
図はICパッケージの斜視図であり、第2図は検査装置の
全体回路図であり、第3図はパターン画像13の各画素の
明るさデータの集計グラフ図であり、第4図は2値化画
像メモリ8に記憶されるパターン10の2値化画像データ
を示す図であり、第5図はラベルメモリ9に記憶される
各パターン10のラベルナンバを示す図であり、第6図は
ICパッケージのパターン10…の検査処理のフローチャー
トの図であり、第7図〜第10図はパターン10…の検査の
工程を示す図である。 1、2……ICパッケージ、3……CCDカメラ、4……画
像メモリ、5……アドレスカウンタ、6……CPU、7…
…濃度分布メモリ、8……2値化画像メモリ、9……ラ
ベルメモリ、10……パターン、13……パターン画像。
1 to 10 show an embodiment of the present invention.
FIG. 2 is a perspective view of the IC package, FIG. 2 is an overall circuit diagram of the inspection device, FIG. 3 is a tabulated graph of brightness data of each pixel of the pattern image 13, and FIG. FIG. 5 is a diagram showing binarized image data of a pattern 10 stored in a digitized image memory 8, FIG. 5 is a diagram showing a label number of each pattern 10 stored in a label memory 9, and FIG.
FIG. 7 is a flowchart of an inspection process of patterns 10 of the IC package, and FIGS. 7 to 10 are diagrams showing steps of inspection of the patterns 10. 1, 2 ... IC package, 3 ... CCD camera, 4 ... Image memory, 5 ... Address counter, 6 ... CPU, 7 ...
... density distribution memory, 8 ... binarized image memory, 9 ... label memory, 10 ... pattern, 13 ... pattern image.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−124945(JP,A) 特開 平1−195350(JP,A) 特開 昭63−118884(JP,A) (58)調査した分野(Int.Cl.6,DB名) H01L 21/66 G01N 21/88 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-124945 (JP, A) JP-A-1-195350 (JP, A) JP-A-63-118884 (JP, A) (58) Investigation Field (Int.Cl. 6 , DB name) H01L 21/66 G01N 21/88

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被検査パターンを撮影する撮影手段と、 この撮影手段で撮影された被検査パターンにつき、パタ
ーン部分の画像とパターン部分以外の画像とを区別する
区別手段と、 この区別手段によって区別されたパターン部分の画像と
パターン部分以外の画像との境界において、パターン部
分の画像をパターン部分以外の画像に向かって膨張させ
る膨張手段と、 この膨張手段によって膨張されたパターン部分の画像と
パターン部分以外の画像との境界において、パターン部
分の画像をパターン部分自身に向かって収縮させる収縮
手段と、 この収縮手段によって収縮された被検査パターン画像の
画素数を特定の座標方向に計数する計数手段と、 この計数手段による特定座標方向の計数を、この特定座
標方向と異なる方向に沿って繰り返し実行させ、被検査
パターン画像の当該特定座標方向のそれぞれの画素数に
基づいて、被検査パターンの合格または不良を判別する
判別手段とを備えたことを特徴とするICパッケージ検査
装置。
A photographing means for photographing a pattern to be inspected; a distinguishing means for distinguishing an image of a pattern portion from an image other than the pattern portion with respect to the pattern to be inspected photographed by the photographing means; Expansion means for expanding the image of the pattern part toward the image other than the pattern part at the boundary between the image of the pattern part and the image other than the pattern part; and the image of the pattern part and the pattern part expanded by the expansion means Shrinking means for shrinking the image of the pattern portion toward the pattern portion itself at the boundary with other images, and counting means for counting the number of pixels of the pattern image to be inspected shrunk by the shrinking means in a specific coordinate direction. The counting in the specific coordinate direction by the counting means is repeatedly performed along a direction different from the specific coordinate direction. Is allowed, based on the respective numbers of pixels in the specific coordinate direction of the test pattern image, IC package inspection apparatus characterized by comprising discriminating means for discriminating pass or failure of the test pattern.
【請求項2】被検査パターンを撮影させ、 この撮影された被検査パターンにつき、パターン部分の
画像とパターン部分以外の画像とを区別させ、 この区別されたパターン部分の画像とパターン部分以外
の画像との境界において、パターン部分の画像をパター
ン部分以外の画像に向かって膨張させ、 この膨張されたパターン部分の画像とパターン部分以外
の画像との境界において、パターン部分の画像をパター
ン部分自身に向かって収縮させ、 この収縮された被検査パターン画像の画素数を特定の座
標方向に計数させ、 この特定座標方向の計数を、この特定座標方向と異なる
方向に沿って繰り返し実行させ、被検査パターン画像の
当該特定座標方向のそれぞれの画素数に基づいて、被検
査パターンの合格または不良を判別させることを特徴と
するICパッケージ検査方法。
2. An image of a pattern to be inspected is photographed, and an image of a pattern portion is distinguished from an image other than the pattern portion with respect to the photographed pattern to be inspected. At the boundary between the image of the pattern portion and the image other than the pattern portion, at the boundary between the image of the expanded pattern portion and the image other than the pattern portion, the image of the pattern portion faces the pattern portion itself. The number of pixels of the contracted pattern image to be inspected is counted in a specific coordinate direction, and the counting in the specific coordinate direction is repeatedly executed along a direction different from the specific coordinate direction. The test pattern is determined to be acceptable or defective based on the number of pixels in the specific coordinate direction. IC package inspection method to.
JP32209089A 1989-12-12 1989-12-12 IC package inspection apparatus and IC package inspection method Expired - Fee Related JP2887683B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32209089A JP2887683B2 (en) 1989-12-12 1989-12-12 IC package inspection apparatus and IC package inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32209089A JP2887683B2 (en) 1989-12-12 1989-12-12 IC package inspection apparatus and IC package inspection method

Publications (2)

Publication Number Publication Date
JPH03183147A JPH03183147A (en) 1991-08-09
JP2887683B2 true JP2887683B2 (en) 1999-04-26

Family

ID=18139804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32209089A Expired - Fee Related JP2887683B2 (en) 1989-12-12 1989-12-12 IC package inspection apparatus and IC package inspection method

Country Status (1)

Country Link
JP (1) JP2887683B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007003494A (en) * 2005-06-27 2007-01-11 Matsushita Electric Works Ltd Inspection method of wiring pattern, and its device
JP6034122B2 (en) * 2012-10-09 2016-11-30 日本特殊陶業株式会社 Inspection method and manufacturing method of ceramic heater

Also Published As

Publication number Publication date
JPH03183147A (en) 1991-08-09

Similar Documents

Publication Publication Date Title
US4776023A (en) Pattern inspection method
JP3560473B2 (en) Printed circuit board inspection apparatus and printed circuit board inspection method
JP5609433B2 (en) Inspection method for cylindrical containers
JP2005121546A (en) Defect inspection method
JP3265595B2 (en) Image processing method and apparatus
JP2887683B2 (en) IC package inspection apparatus and IC package inspection method
JP2002243656A (en) Method and equipment for visual inspection
JP4104213B2 (en) Defect detection method
JPH08327560A (en) Device and method for inspecting shape
JP2893412B2 (en) IC package inspection system
JP2737484B2 (en) Wiring pattern inspection equipment
JPS6186638A (en) Pattern-defect detecting method
JP3919505B2 (en) Pattern inspection apparatus and method
JP2003203218A (en) Visual inspection device and method
JP4220061B2 (en) Periodic pattern defect inspection method and apparatus
JP2833137B2 (en) Pattern matching method
JP2737467B2 (en) Wiring pattern inspection equipment
JP2843389B2 (en) Bonding ball inspection device
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JP4519272B2 (en) Pattern inspection apparatus and pattern inspection method
JP3506823B2 (en) Spark rupture area detector
JPH07181139A (en) Printing inspector, and image pattern filter
JPH0683943A (en) Print inspecting device
JPH0352015B2 (en)
JPS58180933A (en) Apparatus for inspecting defect of pattern

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees