JP3189604B2 - Inspection method and device - Google Patents

Inspection method and device

Info

Publication number
JP3189604B2
JP3189604B2 JP31429294A JP31429294A JP3189604B2 JP 3189604 B2 JP3189604 B2 JP 3189604B2 JP 31429294 A JP31429294 A JP 31429294A JP 31429294 A JP31429294 A JP 31429294A JP 3189604 B2 JP3189604 B2 JP 3189604B2
Authority
JP
Japan
Prior art keywords
pattern
density
lead
inspection
determined
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
JP31429294A
Other languages
Japanese (ja)
Other versions
JPH08145643A (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.)
Takaoka Electric Mfg Co Ltd
Original Assignee
Takaoka Electric Mfg 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 Takaoka Electric Mfg Co Ltd filed Critical Takaoka Electric Mfg Co Ltd
Priority to JP31429294A priority Critical patent/JP3189604B2/en
Publication of JPH08145643A publication Critical patent/JPH08145643A/en
Application granted granted Critical
Publication of JP3189604B2 publication Critical patent/JP3189604B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ICリード等の等幅・
等間隔で配置されたパターンに対する画像認識を行い、
良否判定を行う検査方法および装置に関するものであ
る。
BACKGROUND OF THE INVENTION The present invention relates to a method for manufacturing an IC lead or the like having a uniform width.
Perform image recognition for patterns arranged at equal intervals,
The present invention relates to an inspection method and an apparatus for performing a pass / fail determination.

【0002】[0002]

【従来の技術】連続した帯状の樹脂製テープの上の所定
位置に、半導体プロセス等によりICパターンを形成し
たものがある。すなわち、図2に示すように、テープ1
の上には、等間隔にICパターン形成領域Rが設定さ
れ、その領域R内に所望の回路を構成するための各種I
Cパターン及び配線を形成する。これにより、領域Rを
単位として同一のパターンがテープ1上に所定間隔で繰
り返し多数形成されることになる。
2. Description of the Related Art There is a type in which an IC pattern is formed at a predetermined position on a continuous belt-shaped resin tape by a semiconductor process or the like. That is, as shown in FIG.
IC pattern forming regions R are set at equal intervals on the top, and various I / Os for configuring a desired circuit are formed in the region R.
A C pattern and a wiring are formed. As a result, a large number of the same patterns are repeatedly formed at predetermined intervals on the tape 1 in units of the region R.

【0003】ところで、上記のようにして形成されたI
Cパターン等は、最終的に欠陥の有無を検査し良否判定
を行う必要がある。本発明は、特にICリードパターン
のように等幅のパターンが等間隔で配置されているよう
なパターン部分を検査対象としている。
By the way, the I formed as described above
For the C pattern and the like, it is necessary to finally inspect the presence / absence of a defect to determine the quality. In the present invention, a pattern portion in which patterns of equal width are arranged at equal intervals, such as an IC lead pattern, is particularly targeted for inspection.

【0004】すなわち、テープキャリア1上に形成され
る係るICリードパターンは樹脂性テープ上に金属膜及
び表面メッキで形成されている。このため欠陥には樹脂
テープ平面上におけるパターン形状の欠陥と、表面メッ
キ欠損及び本検査工程までに他物体との接触により生じ
る汚れ・異物付着による変色欠陥がある。
That is, the IC lead pattern formed on the tape carrier 1 is formed on a resin tape by a metal film and surface plating. For this reason, the defect includes a defect in the pattern shape on the plane of the resin tape, a defect in surface plating, and a discoloration defect caused by adhesion of dirt and foreign matter caused by contact with another object until the main inspection step.

【0005】従来の検査方式としては、これら欠陥は、
肉眼もしくは拡大鏡を介して目視により識別している。
また、自動的に行う場合には、予め正常なパターンをモ
デルパターンとしてもたせておき、検査対象のICリー
ドパターンを撮像して得られた画像データと、前記モデ
ルパターンとのパターンマッチングを行い、類似度(適
合度)を求め、所定のしきい値以上を良品と判断するよ
うにしたものもある。
According to the conventional inspection method, these defects are:
It is visually identified through the naked eye or through a magnifying glass.
In the case of performing automatically, a normal pattern is provided as a model pattern in advance, and pattern matching between image data obtained by imaging an IC lead pattern to be inspected and the model pattern is performed. In some cases, a degree (conformity) is obtained, and a value equal to or higher than a predetermined threshold value is determined to be good.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記し
た従来の目視に基づく検査方式では、検査員に対する負
荷が大きく、検査員毎に判断基準がばらつくおそれがあ
り、また見落としなどの検査ミスを生じるおそれもあ
る。さらには、処理速度も遅くなる。
However, in the above-described conventional inspection method based on visual inspection, the load on the inspector is large, and there is a possibility that the criterion varies from inspector to inspector and that an inspection error such as oversight or the like occurs. There is also. Further, the processing speed also becomes slow.

【0007】一方、後者の自動化したものでは、ばらつ
きや見落としなどの検査ミスのおそれは可及的に抑制さ
れるものの、モデルパターンを形成するのが煩雑である
とともに、マッチング処理に時間を要し、高速化に限界
が有る。
On the other hand, in the latter automated method, the possibility of inspection errors such as variation and oversight is suppressed as much as possible, but it is complicated to form a model pattern and time is required for matching processing. There is a limit to speeding up.

【0008】特に高精度なマッチング処理を行おうとす
ると、リードを拡大して撮像し、微差のチェックをも行
えるようにすることになる。しかし、ICには、リード
幅にいろいろな種類を含み、そのたびにズームをかえる
作業を要するため、処理時間を要する。
In particular, when a high-precision matching process is to be performed, an image of the lead is magnified and an image can be taken, and a small difference can be checked. However, ICs include various types of lead widths and require an operation for changing the zoom each time, so that processing time is required.

【0009】一方、リードを拡大することなく撮像し、
検出しようとすると、1画素内にリードパターンエッジ
を含むカメラ画素の画像信号に対して占める割合が多く
なり、被検査対象となる情報が極めて少なくなる結果、
欠陥部の情報が画像信号の中で他と区別することが困難
となる。
On the other hand, imaging is performed without enlarging the lead,
When trying to detect, the proportion of the image signal of the camera pixel including the lead pattern edge in one pixel increases, and the information to be inspected becomes extremely small,
It becomes difficult for the information of the defective part to be distinguished from the others in the image signal.

【0010】本発明は、上記した背景に鑑みてなされた
もので、その目的とするところは、テープキャリア上に
形成されるICリードパターン等の等間隔で配置される
パターンに対して発生する欠け等の形状不良によるパタ
ーン形状欠陥と、表面層欠損や汚れ等による変色欠陥
を、リードを拡大することなく撮像し迅速かつ正確に画
像処理を行い検出できるようにし、また、判定するため
のしきい値を自動的に設定することができ、さらに、照
明等の外部環境の変化にも追従することが可能な検査方
法および装置を提供するものである。
The present invention has been made in view of the above background, and an object of the present invention is to provide a chip generated on a pattern arranged at equal intervals such as an IC lead pattern formed on a tape carrier. Detecting pattern shape defects due to shape defects such as surface defects and discoloration defects due to surface layer defects and dirt etc. without enlarging the leads, and enabling quick and accurate image processing to detect them. It is an object of the present invention to provide an inspection method and apparatus which can automatically set values and can follow changes in an external environment such as lighting.

【0011】[0011]

【課題を解決するための手段】上記した目的を達成する
ため、本発明に係る検査方法では、まず、ICリードパ
ターン等の等間隔で配置される複数のパターン要素から
なる被検査対象に対する良否判定を行う検査方法であっ
て、撮像した被検査対象の多値画像データから、前記パ
ターン要素の並び方向を走査して近傍画素濃度の加算処
理を行った後、極大または極小箇所濃度抽出を行うフィ
ルタリング処理により前記パターン要素の存在候補に対
応するピーク値を求め、その求めたピーク値が所定の範
囲内にあるものを前記パターン要素の良品候補に決定す
るとともに、その良品候補の前記パターン要素の存在位
置を抽出する。
In order to achieve the above-mentioned object, in the inspection method according to the present invention, first, a plurality of pattern elements such as IC lead patterns are arranged at equal intervals.
Comprising a inspection method for performing quality determination with respect to the inspection object, from the multi-value image data of the object to be inspected picked up, the path
Scan the turn element arrangement direction to add neighboring pixel densities
And then extract the maximum or minimum concentration
Filtering processing is performed to match the pattern element existence candidate.
The corresponding peak value is determined, and the determined peak value is within a predetermined range.
The items in the box are determined as good candidates for the pattern element.
At the same time, the location of the pattern element of the good candidate is extracted.

【0012】次いで、前記抽出した存在位置に基づいて
前記良品候補のパターン要素の配置方向に隣接する間隔
を求め、その間隔が一定の範囲内にある場合に前記被検
査対象は良品と判定し、範囲外にある場合に不良品と判
定するようにした。
Next, based on the extracted existence position,
Spacing adjacent to the arrangement direction of the pattern element of the good candidate
And if the interval is within a certain range, the test
The inspection target is judged to be good, and if it is out of the range, it is judged to be defective.
I decided to.

【0013】さらに、前記良品候補の決定の際の判断基
準となる前記所定の範囲を定めるしきい値が、実際のパ
ターン要素を撮像して得られた画像データに対して前記
近傍画素濃度の加算処理を行い得られた第1処理画像
と、その第1処理画像に対して前記極大箇所濃度抽出を
おこない得られた第2処理画像に基づき、所定の演算処
理により設定するようにするとなお良い。
[0013] Further, the criteria for determining the good product candidate
A threshold value that defines the predetermined range is a first processed image obtained by performing an addition process of the neighboring pixel density on image data obtained by imaging an actual pattern element, It is more preferable to perform the setting by a predetermined calculation process based on the second processed image obtained by performing the local area density extraction for one processed image.

【0014】また、上記した方法を実施するのに適した
本発明に係る検査装置では、ICリードパターン等の等
間隔で配置される複数のパターン要素からなる被検査対
に対する良否判定を行う検査装置であって、前記被検
査対象物を撮像する撮像装置と、前記撮像装置から得ら
れる多値画像データから、前記パターン要素の良品候補
を決定するとともに、その良品候補の前記パターン要素
の存在位置を抽出する特徴量抽出手段と、前記特徴量抽
出手段により抽出された前記良品候補のパターン要素の
うち、その配置方向に隣接する間隔を求めるピッチ計測
手段と、前記ピッチ計測手段により検出結果に基づき、
その間隔が一定の範囲内にあるか否かを判断する良否判
定手段とを備える。そして、前記特徴量抽出手段が、前
記パターン要素の並び方向の近傍画素濃度を加算し、加
算濃度値を求める近傍画素濃度加算手段と、前記近傍画
素濃度加算手段の出力を受け、加算濃度値の極大または
極小箇所を抽出する抽出手段と、前記抽出手段の出力を
受け、前記パターン要素の存在候補に対応するピーク値
を求め、その求めたピーク値が所定の範囲内にあるもの
を前記パターン要素の良品候補に決定し、その良品候補
の前記パターン要素の存在位置を求める手段とから構成
した。
In the inspection apparatus according to the present invention, which is suitable for carrying out the above-described method, an inspection target comprising a plurality of pattern elements arranged at equal intervals, such as an IC lead pattern .
An inspection apparatus for determining the quality of an elephant , comprising: an imaging device for imaging the inspection object; and a good candidate for the pattern element from multi-valued image data obtained from the imaging device.
And determines a feature value extraction means for extracting the location of the pattern elements of the good candidates, out of the pattern elements of the good candidates extracted by the feature extracting unit, a spacing adjacent to the arrangement direction Based on the pitch measurement means to be obtained, based on the detection result by the pitch measurement means,
A pass / fail judgment means for judging whether or not the interval is within a predetermined range . Then, the feature amount extracting means
Add the pixel density of the neighboring pixels in the direction in which the pattern
A neighborhood pixel density adding means for calculating a calculated density value;
Receiving the output of the element density addition means,
Extracting means for extracting a minimum point, and an output of the extracting means.
And a peak value corresponding to the pattern element existence candidate
Is obtained, and the obtained peak value is within a predetermined range.
Is determined as a good candidate for the pattern element.
Means for determining the location of the pattern element .

【0015】そして好ましくは前記撮像装置が、1画素
の開口率がほぼ100%のイメージセンサを用いること
である。
[0015] and preferably said imaging device, Ru der that one pixel aperture ratio of used image sensor almost 100%.

【0016】[0016]

【作用】パターン要素が並んだ被検査対象画像を撮像し
得られた多値画像に対して所定の処理を行い、良品候補
のパターン要素の存在位置を抽出する。この時、より具
体的には、近傍画素濃度を加算することにより、パター
ン要素についての画素(濃度)情報を中央に寄せ、中央
部分ほど濃度が高く(或いは低く)なるようにする。こ
れにより、パターン要素が存在する部分に対応して濃度
データの山(または谷)が出現する。また、各山のピー
ク(極大値)或いは谷のピーク(極小値)は、パターン
要素の中央位置となり、正常であれば各ピークは一定と
なる。したがって、特徴量抽出手段では、各ピークが一
定の範囲内にあるものを良品候補とのパターン要素に基
づくピークと推定し、そのデータをピッチ計測手段に送
る。
According to the present invention, a predetermined process is performed on a multi-valued image obtained by capturing an image of an object to be inspected in which pattern elements are arranged, and the position of a pattern element of a good candidate is extracted. At this time, more specifically, the pixel (density) information on the pattern element is shifted to the center by adding the pixel density of the neighboring pixels, so that the density becomes higher (or lower) at the center. As a result, peaks (or valleys) of the density data appear corresponding to the portions where the pattern elements exist. The peak of each peak (maximum value) or the peak of a valley (minimum value) is located at the center of the pattern element, and if normal, each peak is constant. Therefore, the feature quantity extracting means estimates that each peak is within a certain range as a peak based on the pattern element with the good candidate, and sends the data to the pitch measuring means.

【0017】そして、ピッチ計測手段では、与えられた
良品候補の存在位置に基づき、隣接する良品候補位置間
の間隔を求め、良否判定手段にてそれが一定の範囲内か
否かを判断する。すなわち、仮に、パターン要素に欠け
などがある場合には、その部分のピークはないため、上
記間隔は長くなるので異常と判定される。また、正常な
パターン要素の間に濃度等が類似する異常なパターンが
存在する場合には、その異常なパターンも良品候補とし
て抽出されるので、隣接する良品候補間の距離は設計値
よりも短くなるので、やはり異常と判定される。
The pitch measuring means obtains an interval between adjacent good candidate positions on the basis of the given position of the good candidate, and judges whether or not the distance is within a certain range by the good / bad judgment means. That is, if there is a chip in the pattern element or the like, there is no peak in that part, and the interval becomes longer, so that it is determined to be abnormal. When an abnormal pattern having a similar density or the like exists between normal pattern elements, the abnormal pattern is also extracted as a good product candidate, so that the distance between adjacent good product candidates is shorter than the design value. Is determined to be abnormal.

【0018】また、良品候補を決定する際に用いるしき
い値を、実際に判定に使用するパターンを用いて設定す
る場合には、近傍画素濃度を加算して得られた画像に基
づいて背景部分の標準的な濃度を求める(例えば各濃度
のヒストグラムを求め、最頻箇所にしたり、平均を求め
るなど種々の方式により決定できる)。また、極大また
は極小箇所濃度を求める際の画像データに基づいてパタ
ーン要素の標準的な濃度を求める(例えば各濃度のヒス
トグラムを求め、最頻箇所にしたり、平均を求めるなど
種々の方式により決定できる)。そして、両標準的な濃
度から、しきい値を決定できる。すなわち、パターン要
素の標準的な濃度に対し、±のマージンをとる際に、上
記背景部分の濃度が上記マージンに入らないような値を
設定する。そして、そのようにして求めたマージンをパ
ターン要素の標準的な濃度に加算した値がしきい値とな
る。
In the case where the threshold value used for determining a good product candidate is set using a pattern actually used for determination, a background portion is determined based on an image obtained by adding the density of neighboring pixels. (For example, a histogram of each density is obtained, the mode is set as the most frequent part, or an average is obtained, and it can be determined by various methods). Further, a standard density of the pattern element is obtained based on the image data when obtaining the density of the local maximum or the local minimum (for example, a histogram of each density is obtained, the mode is set as a mode, or an average is obtained. ). Then, the threshold can be determined from the two standard densities. That is, a value is set such that the density of the background portion does not fall within the margin when a margin of ± with respect to the standard density of the pattern element is taken. Then, a value obtained by adding the margin thus obtained to the standard density of the pattern element becomes a threshold value.

【0019】[0019]

【実施例】以下、本発明に係る検査方法および装置の好
適な実施例について添付図面を参照にして詳述する。図
1に示すように、テープキャリア1は、ロール状に巻き
取られた原反1aから連続して引き出され、本装置の検
査処理領域に導かれ、その後再度巻き取られるようにな
っている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the inspection method and apparatus according to the present invention will be described below in detail with reference to the accompanying drawings. As shown in FIG. 1, the tape carrier 1 is continuously pulled out from the raw material 1a wound in a roll shape, guided to an inspection processing area of the present apparatus, and then wound up again.

【0020】帯状の樹脂製のテープキャリア1の上の所
定位置には、半導体プロセス等により図2に示すよう
に、等間隔にICパターン形成領域Rが設定され、その
領域R内に所望の回路を構成するための各種ICパター
ン及び配線が形成されている。これにより、ICパター
ン形成領域Rを単位として同一のパターンがテープ1上
に所定間隔で繰り返し多数形成される。そして、テープ
キャリア1上に形成されるICリードパターンはその樹
脂性テープ上に金属膜及び表面メッキで形成されるの
で、隣接のパターン未形成部分に比べて明るい。したが
って、図3(A)に示すように、ICリードパターン2
部分と未形成部分3が交互に並び、良品であれば、IC
リードパターン2の形成部分に対応する明度の高い同一
幅からなる帯状部分(図中白抜き部分)が所定間隔毎に
平行に配置されることになる。
As shown in FIG. 2, IC pattern forming regions R are set at predetermined positions on a band-shaped resin tape carrier 1 by a semiconductor process or the like, and a desired circuit is provided in the region R. Are formed with various IC patterns and wirings. As a result, a large number of the same patterns are repeatedly formed at predetermined intervals on the tape 1 in units of the IC pattern formation region R. Since the IC lead pattern formed on the tape carrier 1 is formed on the resin tape by the metal film and the surface plating, the IC lead pattern is brighter than the adjacent part where the pattern is not formed. Therefore, as shown in FIG.
Part and unformed part 3 are alternately arranged.
Band portions (white portions in the drawing) having the same width and high brightness corresponding to the formation portions of the lead patterns 2 are arranged in parallel at predetermined intervals.

【0021】そして本実施例における検査装置では、上
記検査処理領域に位置するテープキャリア1の表面所定
位置を撮像する撮像装置たるイメージセンサ5と、その
イメージセンサ5から出力される画像信号に基づいてI
Cリードパターン部分を抽出する特徴量抽出部10と、
その特徴量抽出部10で抽出された隣接するリードパタ
ーン間の距離を検出するピッチ計測回路12と、ピッチ
計測回路12の出力を受けて撮像した領域に存在するI
Cリードパターンの良否判定を行う良否判定回路14と
を備えている。
In the inspection apparatus according to the present embodiment, an image sensor 5 serving as an imaging device for imaging a predetermined position on the surface of the tape carrier 1 located in the inspection processing region, and an image signal output from the image sensor 5 are used. I
A feature amount extraction unit 10 for extracting a C lead pattern portion;
A pitch measuring circuit 12 for detecting a distance between adjacent lead patterns extracted by the feature extracting unit 10, and an I / O present in an area imaged by receiving an output of the pitch measuring circuit 12.
A pass / fail judgment circuit 14 for judging pass / fail of the C lead pattern.

【0022】特徴量抽出部10は、近傍画素加算回路1
0a、極大箇所濃度抽出回路10b、演算回路10cと
から構成され、また、良否判定回路14は、比較回路1
4aと総合判定回路14bとから構成されている。な
お、各回路の詳細は後述する。
The feature amount extraction unit 10 includes a neighborhood pixel addition circuit 1
0a, a local maximum concentration extraction circuit 10b, and an arithmetic circuit 10c.
4a and a comprehensive judgment circuit 14b. The details of each circuit will be described later.

【0023】さらに、イメージセンサ5で撮像するテー
プキャリア1上の画像(被検査面)のコントラストを明
確にするために、検査領域全面(本例では1つのICパ
ターン形成領域Rを含む領域)に光を一様に照射する投
光装置20を備えている。この投光装置20は、光源2
1と、光源21から出射された光を被検査面に一様に照
射する為のディフューザ22と、そのディフューザ22
を透過した光を平行光束にするコンデンサレンズ23
と、その平行光束を反射させてその光路を変換して上記
テープキャリア1上の所定位置に光を照射させるハーフ
ミラー24とを備えている。
Further, in order to clarify the contrast of the image (the surface to be inspected) on the tape carrier 1 picked up by the image sensor 5, the entire inspection region (the region including one IC pattern forming region R in this example) is formed. A light projecting device 20 for uniformly irradiating light is provided. The light emitting device 20 includes a light source 2
1, a diffuser 22 for uniformly irradiating the light to be inspected with the light emitted from the light source 21, and the diffuser 22
Lens 23 that converts light transmitted through the lens into a parallel light flux
And a half mirror 24 that reflects the parallel light beam, changes its optical path, and irradiates a predetermined position on the tape carrier 1 with light.

【0024】このハーフミラー24で反射された光は、
テープキャリア1に対して垂直に照射されるように各部
材21〜24が角度調整されており、これにより、テー
プキャリア1の表面に反射された反射光はその光路が1
80度変換されて、ハーフミラー24に再度至り、その
まま透過し、ハーフミラー24の上方に設置されたイメ
ージセンサ5に入射され、そこにおいて結像されるよう
になっている。
The light reflected by the half mirror 24 is
The angles of the members 21 to 24 are adjusted so that the tape carrier 1 is irradiated perpendicularly, so that the light reflected on the surface of the tape carrier 1 has an optical path of one.
After being converted by 80 degrees, it reaches the half mirror 24 again, transmits as it is, enters the image sensor 5 installed above the half mirror 24, and forms an image there.

【0025】また、イメージセンサ5に入射される反射
光は、ICパターン形成領域Rの一部であるため、イメ
ージセンサ5とテープキャリア1を相対移動させる必要
があるが、本実施例では、テープキャリア1は図示省略
の駆動手段(巻き取り用モータ)により、ICパターン
形成領域Rの形成ピッチごとに間欠移動させるように
し、1つのICパターン形成領域R内に存在する処理対
象のICリードパターンの画像取得は、イメージセンサ
5を水平移動させることにより行うようにしている。
Further, since the reflected light incident on the image sensor 5 is a part of the IC pattern forming region R, it is necessary to move the image sensor 5 and the tape carrier 1 relative to each other. The carrier 1 is intermittently moved by a driving means (winding motor) (not shown) at each pitch of the IC pattern formation region R so that the IC lead pattern to be processed present in one IC pattern formation region R is moved. The image acquisition is performed by moving the image sensor 5 horizontally.

【0026】具体的には、イメージセンサ5をXYテー
ブル30に装着し、そのXYテーブル30用の送りモー
タ31を駆動制御回路32からの制御信号に基づいて正
逆回転させるようにしている。なお駆動制御回路32
は、全体制御回路33からの制御命令にしたがって稼働
するようになっている。
Specifically, the image sensor 5 is mounted on the XY table 30, and the feed motor 31 for the XY table 30 is rotated forward and reverse based on a control signal from the drive control circuit 32. The drive control circuit 32
Operate according to a control command from the overall control circuit 33.

【0027】次に、各部について説明する。イメージセ
ンサ5は、検出素子としてCCDをを用いており、しか
も本例では、1画素の開口率がほぼ100%の高性能の
ものを用いている。
Next, each part will be described. The image sensor 5 uses a CCD as a detection element, and in this example, uses a high-performance one in which the aperture ratio of one pixel is almost 100%.

【0028】特徴量抽出部10は、ICリードパターン
部分を抽出するのであるが、イメージセンサ5中の1画
素内全部にICリードパターンが存在している場合と、
全く存在していない場合、及び1画素内にICリードパ
ターンエッジを含む場合があり、係るエッジを含む場合
にはICリードパターンとテープ部分の存在比率に応じ
て検出濃度が異なる。そして、本発明では最終的に隣接
するICリードパターン間の距離を求めるため、特徴量
としてはまず各ICリードパターン毎の存在位置を抽出
することになり、1つのリードパターンを代表する存在
位置として本実施例ではリードパターンの中央を得るよ
うにした。
The feature extraction unit 10 extracts an IC lead pattern portion. There are two cases where the IC lead pattern is present in one pixel in the image sensor 5.
There is a case where no IC chip exists, or a case where an edge of an IC lead pattern is included in one pixel. In the case where such an edge is included, the detection density differs depending on the existence ratio of the IC lead pattern and the tape portion. In the present invention, in order to finally obtain the distance between the adjacent IC lead patterns, the feature position is first extracted from the existence position of each IC lead pattern. In this embodiment, the center of the lead pattern is obtained.

【0029】そこで、まず近傍画素加算回路10aにて
リードパターン並び方向での隣接する所定数の画素の濃
度を加算する近傍画素加算処理となる空間フィルタリン
グを施す。具体的には図4に示すN×N個(本例では3
×3)の局所領域からなるマスクMを用い、中央部の画
素をa0とし、リードパターン並び方向(本例では左右
方向)でa0を含む列の各画素の内容(濃度)を(a
0),(a1),(a2)と示す。そして、本回路10
aでは総和演算を行い、処理対象の中央の画素における
加算濃度値Aは、
Therefore, first, the neighborhood pixel addition circuit 10a performs a spatial filtering as a neighborhood pixel addition process for adding the densities of a predetermined number of adjacent pixels in the arrangement direction of the lead pattern. Specifically, N × N (3 in this example) shown in FIG.
× 3), using a mask M including a local area, the central pixel is defined as a0, and the content (density) of each pixel in the column including a0 in the lead pattern arrangement direction (the left-right direction in this example) is (a
0), (a1) and (a2). Then, the circuit 10
In a, the summation operation is performed, and the added density value A at the central pixel to be processed is

【0030】[0030]

【数1】 を実行することにより算出されるようになっている。(Equation 1) Is calculated.

【0031】これにより、ICリードパターンの中央部
分は最も濃度値が高くなる(明るい程高い)。実際には
Nはリードパターン幅と1画素長との比率により決定さ
れる。すなわち、例えばリードパターン幅とN画素分の
幅を等しく設定すると、パターンの中央がマスクMの中
央画素(処理対象画素)に一致した時には一列に並んだ
加算対象画素はすべてリードパターンからの反射光を受
光しているため各画素の濃度はいずれも高い値を示し、
一方、1画素分でもずれると少なくとも1つの画素はエ
ッジ部分またはテープ部分となり濃度が低く(暗く)な
る。従って、リードパターンの中央部分の加算濃度値A
が最も高くなり、端に行くほど低くなるので、リード並
び方向に順次走査していきそのときの加算濃度値Aの変
化を見ると山状となりその頂点位置がリードパターンの
中央位置となる。また、Nを小さくすると、横一列の画
素中にリードパターンが存在している限り加算濃度値A
は最大(頂点)となるので、係る頂点が上方が平坦な山
状となるが、係る場合には候補点(加算濃度値が最大と
なっている箇所)の中の中央が求めるリードパターンの
位置となる。なお、簡単な処理を検出が行うためには、
頂点位置を検出しやすい前者(N画素分の幅とパターン
幅を一致させる)の方が好ましい。そして、リードパタ
ーンは製造プロセスの要請からエッジ部分は傾斜状(面
取り状)となることが多いので、上記Nを決定する際の
パターンの幅は両端の傾斜状の部分を除く上面平坦部分
の幅とするのがより好ましい。
Thus, the central portion of the IC lead pattern has the highest density value (brighter the higher). Actually, N is determined by the ratio between the width of the lead pattern and the length of one pixel. That is, for example, when the width of the lead pattern is set to be equal to the width of N pixels, when the center of the pattern coincides with the center pixel (pixel to be processed) of the mask M, all the pixels to be added arranged in a line are reflected light from the lead pattern. , The density of each pixel shows a high value,
On the other hand, if even one pixel shifts, at least one pixel becomes an edge portion or a tape portion, and the density becomes low (dark). Therefore, the added density value A at the center of the lead pattern
Is highest, and becomes lower toward the end. Therefore, when the scanning is sequentially performed in the lead arrangement direction and the change of the added density value A at that time is seen, the peak shape becomes a mountain shape and the vertex position becomes the center position of the lead pattern. When N is reduced, the additional density value A is obtained as long as the lead pattern exists in one horizontal row of pixels.
Is the maximum (vertex), so that the vertex has a flat mountain shape at the top. In such a case, the center of the candidate points (the location where the added density value is the maximum) is the position of the lead pattern to be obtained. Becomes In addition, in order for detection to perform simple processing,
The former (in which the width of N pixels is matched with the pattern width) in which the vertex position can be easily detected is more preferable. The edge portion of the lead pattern is often inclined (chamfered) due to the requirements of the manufacturing process. Therefore, when determining N, the width of the pattern is the width of the flat upper surface excluding the inclined portions at both ends. More preferably,

【0032】これにより、例えば図3(A)に示すよう
な正常なICリードパターンをある位置(一点鎖線で示
す)で走査した場合には、同図(B)に示すようにIC
リードパターン部分に対応する位置で濃度が高くなる山
があらわれ、中央部分でピーク(矢印で示す)となる。
Thus, for example, when a normal IC lead pattern as shown in FIG. 3A is scanned at a certain position (indicated by a dashed line), as shown in FIG.
A peak having a high density appears at a position corresponding to the lead pattern portion, and a peak (indicated by an arrow) appears at a central portion.

【0033】なおまた、マスクM中の使用する画素は、
上記した例では中央画素並びにそれを含む左右方向に存
在する画素としたが、リード並び方向が図3(A)に示
すのと直交する方向になっている場合には、中央画素並
びにそれを含む上下方向に存在する画素を使用すること
になる。
The pixels used in the mask M are
In the above-described example, the center pixel and the pixels that exist in the left and right direction are included. However, if the lead arrangement direction is orthogonal to the direction shown in FIG. Pixels existing in the vertical direction will be used.

【0034】極大箇所抽出回路10bは、上記した近傍
画素加算回路10aで得られた走査方向での最大濃度値
Aの各山のピーク(極大値)位置を検出するようになっ
ており、空間フィルタリングもしくはランクバリューフ
ィルタリング、及び画像間演算等の公知の手法により抽
出する。これにより、図3(B)に示す加算濃度値の特
性をこの抽出回路10bを通過することにより同図
(C)に示すように頂点部分のみが突出した特性が得ら
れる。そして、各ピークの値は、最大濃度値Aの値と同
じであり、最大濃度値Aが高い程、すなわち、明るいも
のほどピークの値も高くなる。
The local maximum extracting circuit 10b detects the peak (local maximum) position of each peak of the maximum density value A in the scanning direction obtained by the above-described neighboring pixel adding circuit 10a, and performs spatial filtering. Alternatively, extraction is performed by a known method such as rank-value filtering and operation between images. Thus, by passing the characteristic of the added density value shown in FIG. 3B through the extraction circuit 10b, a characteristic in which only the apex portion protrudes as shown in FIG. 3C is obtained. The value of each peak is the same as the value of the maximum density value A. The higher the maximum density value A, that is, the brighter the peak, the higher the peak value.

【0035】演算処理部10cでは、上記極大箇所抽出
回路10bで抽出された各ピークのうち良品のICリー
ドパターン候補に対応するピーク部分を決定し、その存
在位置を出力するようになっている。すなわち、例えば
ICリードパターンの上面に異物(反射率が低い)が付
着していたり、パターンが欠けていて下地であるテープ
部分が露出していると、その部分は暗くなるので上記ピ
ーク値が低くなる。逆に表面メッキ部分が欠損し反射率
の高い金属光沢面が露出すると、その部分の反射光量が
増加するので、ピーク値は高くなる。
The arithmetic processing section 10c determines a peak portion corresponding to a non-defective IC lead pattern candidate among the peaks extracted by the local maximum portion extracting circuit 10b, and outputs the location of the peak portion. That is, for example, if a foreign substance (having a low reflectance) is attached to the upper surface of the IC lead pattern, or if the pattern is lacking and the underlying tape portion is exposed, the portion becomes dark and the peak value is low. Become. Conversely, if the surface plating portion is lost and the metallic glossy surface having a high reflectance is exposed, the amount of reflected light at that portion increases, and the peak value increases.

【0036】したがって、正常のICリードパターン部
分に対応するピーク値よりも一定値以上高くても異常で
あり、また低くても異常である。よって、正常なICリ
ードパターンであれば、それに対応するピーク値は一定
の範囲内に存在するはずであるので、本例では係る正常
範囲を決定する2つのしきい値VTH1 ,VTH2 を設定し
(図5参照)、本演算処理部10cでは抽出回路10b
で抽出された各ピーク値を、両しきい値と比較し、その
範囲内に存在するピーク値を検出しその存在位置(座標
データ)を出力するようにしている。これにより、ピー
ク値が正常範囲内に存在する良品のICリードパターン
候補が抽出される。そして、図3(A)に示すように3
本のICリードパターンがすべて正常の場合には、図5
に示すように、3つのピークがともに正常範囲内(VTH
2 〜VTH1 )に存在する。
Therefore, it is abnormal if the peak value is higher than the peak value corresponding to the normal IC lead pattern portion by a certain value or more, and if it is lower than the peak value, it is abnormal. Therefore, if the IC read pattern is normal, the peak value corresponding to the normal read pattern should be within a certain range. In this example, two thresholds VTH1 and VTH2 that determine the normal range are set ( The arithmetic processing unit 10c extracts the extraction circuit 10b (see FIG. 5).
Are compared with both threshold values, a peak value existing within the range is detected, and the position (coordinate data) of the peak value is output. As a result, non-defective IC lead pattern candidates whose peak values are within the normal range are extracted. Then, as shown in FIG.
When all the IC lead patterns are normal, FIG.
As shown in the figure, all three peaks are within the normal range (VTH
2 to VTH1).

【0037】なお、本例では上記しきい値VTH1 ,VTH
2 は、ともに外部から図示省略の入力装置(キーボー
ド,テンキー,タッチパネル等)を介してマニュアルで
与えられるようにしている(後述するように、モデルパ
ターンから得られる画像データに基づいて自動的に設定
することも可能である)。
In this embodiment, the threshold values VTH1, VTH
2 are provided manually from an external device via an input device (keyboard, numeric keypad, touch panel, etc.) (not shown) (automatically set based on image data obtained from a model pattern, as will be described later). It is also possible).

【0038】また、各回路10a〜10cにおける上記
各処理は、イメージセンサ5で撮像して得られた画像デ
ータに対してラスタ方式で走査していきながら各ライン
毎に行うようになる。したがって、1ライン毎に上記し
た加算濃度値の特性(図3(B)参照)およびそれに基
づくピーク値(図3(C)参照)が求められ、さらに良
品のICリードパターン候補点が抽出されることにな
る。
The above processes in the circuits 10a to 10c are performed for each line while scanning the image data obtained by the image sensor 5 in a raster system. Therefore, the characteristic of the above-described added density value (see FIG. 3B) and the peak value based on it (see FIG. 3C) are obtained for each line, and a good-quality IC lead pattern candidate point is extracted. Will be.

【0039】上記のようにして、特徴量抽出部10(演
算処理部10c)からは、良品のICリードパターン候
補の座標データが、次段のピッチ計測回路12に送ら
れ、そこにおいて隣接する良品のICリードパターン候
補間の距離を計測するようになっている。
As described above, the feature quantity extracting unit 10 (the arithmetic processing unit 10c) sends the coordinate data of the non-defective IC lead pattern candidate to the pitch measuring circuit 12 at the next stage. The distance between the IC lead pattern candidates is measured.

【0040】具体的には、図6に示すフローチャートの
ように、まず特徴量抽出部10から与えられる良品の候
補の座標データを受け取り、その受け取った座標データ
をパターンNoと対にしてメモリに格納する。この時、
ラスタ方向のスキャンを行ったときの出現順すなわち各
ライン毎で、しかも同一ライン上では座標値順に格納さ
れる(ST1)。なお、この格納するメモリは、RAM
等の記憶素子としての独立したハードウエアでも良く、
或いはCPU内(プログラム上のメモリ(バッファ)で
も良い。
More specifically, as shown in the flowchart of FIG. 6, first, coordinate data of a candidate for a good product provided from the feature quantity extraction unit 10 is received, and the received coordinate data is stored in a memory in a pair with a pattern No. I do. At this time,
They are stored in the order of appearance when scanning in the raster direction, that is, for each line, and on the same line in the order of coordinate values (ST1). Note that this storage memory is RAM
Independent hardware as a storage element such as
Alternatively, it may be in a CPU (a memory (buffer) on a program).

【0041】次いで、具体的なピッチ計測が行われる。
すなわち、まず1番目のラインについて存在するパター
ン候補の座標と次のパターン候補の座標を読み出すとと
もに、両者の差分を求め、それを出力する(ST2,S
T3)。なお、各パターン候補に対して便宜上ナンバリ
ングを行ったため、上記出力するデータとしては算出結
果と上記ナンバーを関係付けて行う。
Next, specific pitch measurement is performed.
That is, first, the coordinates of the pattern candidate existing for the first line and the coordinates of the next pattern candidate are read, and the difference between the two is obtained and output (ST2, S2).
T3). Since the numbering is performed for each pattern candidate for convenience, the data to be output is performed in association with the calculation result and the number.

【0042】そして、ある隣接するパターン候補間のピ
ッチが求められたなら。次のパターン候補の座標とのピ
ッチを求める。すなわち、パターン候補に付した番号
(パターンNo.)をインクリメントして1だけ大きく
する(ST4)。そして、その進行方向にパターン候補
(ステップ4でインクリメントされたパターンNo.よ
りもさらに1つ上の番号のパターン候補)があるか否か
を判断し(ST5)、ある場合にはステップ3によって
両者間のピッチが求められる。
Then, if the pitch between certain adjacent pattern candidates is obtained. The pitch with the coordinates of the next pattern candidate is obtained. That is, the number (pattern No.) assigned to the pattern candidate is incremented and increased by 1 (ST4). Then, it is determined whether or not there is a pattern candidate (a pattern candidate having a number one higher than the pattern No. incremented in step 4) in the traveling direction (ST5). A pitch between them is required.

【0043】また、ステップ5の分岐判断の結果次のパ
ターン候補がない場合にはラインをインクリメント(S
T6)し、次のラインの最初から上記処理を行う。そし
て、処理領域(未処理データ)がなくなるまで上記した
各処理を繰り返し行い、データがなくなったなら終了す
る。
If there is no next pattern candidate as a result of the branch determination in step 5, the line is incremented (S
T6) Then, the above processing is performed from the beginning of the next line. Then, the above-described processes are repeated until there is no more processing area (unprocessed data).

【0044】これにより、特徴量抽出部10で抽出され
た隣接する良品のリードパターン候補間の距離(ピッ
チ)が求められ、その算出結果が次段の良否判定回路1
4に与えられる。
As a result, the distance (pitch) between adjacent non-defective lead pattern candidates extracted by the characteristic amount extraction unit 10 is obtained, and the calculation result is used as the next-stage pass / fail judgment circuit 1.
4 given.

【0045】良否判定回路14は、前段の比較回路14
aにより、まず与えられた各ピッチが予め定められてい
る良品範囲内にあるか否か判断される。この比較回路1
4aは、例えばウインドコンパレータを基本構成とし、
入力されるデータ(上記算出したピッチ)が予め設定さ
れる2つのしきい値(基準値)の間に存在するか否かを
判定できるものを用い、本例では範囲外の場合に異常
(High)となるように設定している。
The pass / fail judgment circuit 14 includes a comparison circuit 14 in the preceding stage.
According to a, it is first determined whether or not each given pitch is within a predetermined non-defective range. This comparison circuit 1
4a has, for example, a window comparator as a basic configuration,
Data that can determine whether or not the input data (the calculated pitch) exists between two preset thresholds (reference values) is used. In this example, when the input data is out of the range, an abnormality (High) ).

【0046】すなわち、仮にICリードパターンに欠け
がある走査ライン上である1本のリードパターンが存在
しないとすると、上記ピッチは正常のものの2倍の距離
(上記欠けたパターンの両側に存在するパターン間の距
離が計測される)となるので、異常であることが検出さ
れる。逆に、正常なリードパターンの間に何等かの反射
率の高い異物が付着しているような場合には、ピッチが
短くなるので異常であることが検出される。
That is, assuming that there is no single lead pattern on a scanning line having a missing IC lead pattern, the pitch is twice as long as the normal pitch (the pattern existing on both sides of the missing pattern). (The distance between the two is measured), so that the abnormality is detected. Conversely, if any high-reflectance foreign matter is attached between the normal lead patterns, the pitch is shortened, so that an abnormality is detected.

【0047】なお、上記した判定基準となる基準値も、
図示省略の入力装置を介して外部から設定される。この
数値は、ICリードパターンの配置ピッチが設計により
予め明確にわかっているため、その値に一定のマージン
をもった値を入力すれば良く、比較的容易に設定可能と
なる。
It should be noted that the reference value serving as the above criterion is also:
The setting is made externally via an input device (not shown). Since the arrangement pitch of the IC lead pattern is clearly known in advance by design, this value can be set relatively easily by inputting a value having a certain margin.

【0048】そして、その比較結果が総合判定回路14
bに与えられ、最終的な良否判定が行われる。この良否
判定は、1つのICパターン形成領域R中に存在するす
べてのICリードパターンが正常であれば良品と判断
し、一つでも異常がある(比較回路14aからの検出出
力がある)と、その領域Rは不良(本例では許容量が
0)とするようにしている。なお、検査対象によって異
常箇所の数に一定の許容量がある場合には、検出された
異常数を積算し、その総数が許容範囲内か否かを判断し
て良否判定を行うようになる。
The result of the comparison is output to the comprehensive judgment circuit 14.
b, and a final pass / fail judgment is made. In this pass / fail determination, if all the IC lead patterns present in one IC pattern formation region R are normal, it is determined to be non-defective, and if at least one is abnormal (there is a detection output from the comparison circuit 14a), The region R is set to be defective (the allowable amount is 0 in this example). If the number of abnormal locations has a certain allowable amount depending on the inspection target, the number of detected abnormalities is integrated, and it is determined whether the total number is within an allowable range to make a pass / fail determination.

【0049】また、総合判定回路14bは、イメージセ
ンサ5で撮像された画像データに対しての判定処理が終
了したならば、全体制御回路33に対して所定の制御信
号を出力するようになっている。これにともない全体制
御回路33ではテーブル制御回路32に対してイメージ
センサ5の移動命令信号を送り、それを受けてテーブル
制御回路32ではイメージセンサ5の撮像領域を同一の
領域R中の次の検査対象の上に移動させるようにXYテ
ーブル30を移動させるための必要な制御命令を出力す
る。なお、具体的な移動させるための制御は、公知の駆
動機構・制御フローを用いることができるので、詳細な
説明を省略する。
When the judgment processing for the image data picked up by the image sensor 5 is completed, the comprehensive judgment circuit 14b outputs a predetermined control signal to the overall control circuit 33. I have. Accordingly, the overall control circuit 33 sends a movement command signal of the image sensor 5 to the table control circuit 32, and in response to this, the table control circuit 32 changes the imaging region of the image sensor 5 to the next inspection in the same region R. A control command required to move the XY table 30 so as to move the XY table 30 over the target is output. It should be noted that a specific drive control can be performed using a known drive mechanism and control flow, and thus detailed description thereof will be omitted.

【0050】そして、同一の領域R中のすべてのICリ
ードパターンについての検査が終了したならば、総合判
定回路14bは最終的な良否判定を行い、全体制御回路
33にその判定結果を送る。全体制御回路33では、内
蔵する記憶手段に領域番号(テープの先頭から連続して
付されている)と対にして良否の判定結果を格納する。
また、これとともに、次の領域Rに対する処理を行うべ
く、図示省略のテープを駆動する手段に対して駆動命令
を出力し、領域Rのピッチ分だけ移動させるようにす
る。
When the inspection of all the IC lead patterns in the same area R is completed, the comprehensive judgment circuit 14b makes a final pass / fail judgment and sends the judgment result to the overall control circuit 33. The overall control circuit 33 stores the pass / fail judgment result in the built-in storage means in combination with the area number (continuously attached from the beginning of the tape).
At the same time, a drive command is output to a tape driving unit (not shown) so that the tape is moved by the pitch of the region R in order to perform processing for the next region R.

【0051】なお、上記した実施例では、演算処理部1
0cからの出力は、良品の候補となる座標データのみが
出力されるようにしたが、本発明はこれに限ることな
く、例えばVTH1 ,VTH2 の間の濃度域を正常ICリー
ドパターン「1」とし、その他の部分は「0」とし、各
ラインを走査しながら「1/0」を判定し出力するよう
にしてもよい。
In the above embodiment, the arithmetic processing unit 1
The output from 0c is such that only coordinate data which is a candidate for a good product is output. However, the present invention is not limited to this. For example, the density region between VTH1 and VTH2 is assumed to be a normal IC lead pattern "1". The other parts may be set to “0”, and “1/0” may be determined and output while scanning each line.

【0052】これにより、処理対象の画像データは、
「1/0」に符号化されるため、比較回路14aでは、
同一ライン上に存在する「1」を抽出し、隣接する
「1」の画素間距離を求めることによりピッチ計測を行
うことになる。
Thus, the image data to be processed is
Since it is encoded into “1/0”, the comparison circuit 14a
The pitch measurement is performed by extracting “1” existing on the same line and calculating the distance between adjacent “1” pixels.

【0053】次に、具体的なICリードパターンの例と
ともに、本発明に係る検査方法の一実施例である上記装
置の作用について詳述する(特に欠陥との関係につい
て)。まず、テープキャリア1上に、例えば図7(A)
に示すようにICリードパターン2a,2b,2cのう
ち中央のパターン2b上に切れ40の欠陥があり、下地
であるテープ1部分が露出しているとする。また、図8
(A)に示すようにICリードパターン2a,2b,2
cのうち中央のパターン2b上に欠け41の欠陥があ
り、下地であるテープ1部分が露出しているとする。
Next, the operation of the above-described apparatus, which is one embodiment of the inspection method according to the present invention, will be described in detail (particularly with respect to defects), together with specific examples of IC lead patterns. First, on the tape carrier 1, for example, FIG.
It is assumed that there is a cut 40 defect on the central pattern 2b of the IC lead patterns 2a, 2b, 2c as shown in FIG. FIG.
As shown in (A), the IC lead patterns 2a, 2b, 2
It is assumed that there is a defect 41 in the center pattern 2b of c, and the tape 1 as a base is exposed.

【0054】すると、一点鎖線で示すラインを走査し、
近傍画素加算回路10aにて加算処理されると、切れ4
0の欠陥の場合にはICリードパターンが存在しないの
で図7(B)に示すように、本来あるべきICリードパ
ターン部分には加算濃度値の増加に伴う山が見られず、
また、欠け41の欠陥の場合には、その欠けの量にもよ
るが図示の場合には図8(B)に示すように山のピーク
は小さくなり、しかもその頂点位置も本来あるべき位置
よりも右にずれている(ピークは実際のパターン部分の
中央にあらわれるため)。したがって、このような加算
濃度値のデータを次段の極大箇所濃度抽出回路10bに
送ると、それぞれ図(C)に示すようにピーク値が抽出
される。
Then, the line indicated by the dashed line is scanned,
When the addition processing is performed by the neighboring pixel addition circuit 10a, a cut 4
In the case of a defect of 0, there is no IC lead pattern, and therefore, as shown in FIG.
In the case of the defect of the notch 41, the peak of the peak becomes smaller as shown in FIG. 8B, and the peak position is also smaller than the original position, as shown in FIG. Are also shifted to the right (since the peak appears in the center of the actual pattern portion). Therefore, when such added density value data is sent to the next-stage maximum location density extraction circuit 10b, a peak value is extracted as shown in FIG.

【0055】そして、演算処理部10cで各ピーク値と
しきい値VTH1 ,VTH2 と比較され、最終的に中央のI
Cリードパターン2bに対応するピーク値が下限のしき
い値VTH2 以下であるので、両サイドのICリードパタ
ーン2a,2cについての座標データが出力される。し
たがって、ピッチ計測回路12では隣接するICリード
パターン同士の間隔は、ともに図7(C),図8(C)
に示すように両サイドのパターン間の間隔Dが求められ
るため、比較回路14aでは基準値よりも長いと判断さ
れる。そして、総合判定回路14bにて異常と判定され
る(以下同じ)。
Then, each peak value is compared with the threshold values VTH1 and VTH2 in the arithmetic processing section 10c, and finally the central I
Since the peak value corresponding to the C lead pattern 2b is equal to or less than the lower threshold value VTH2, coordinate data for the IC lead patterns 2a and 2c on both sides is output. Therefore, in the pitch measuring circuit 12, the intervals between the adjacent IC lead patterns are both the same as those shown in FIGS. 7C and 8C.
Since the interval D between the patterns on both sides is obtained as shown in (1), the comparison circuit 14a determines that it is longer than the reference value. Then, the integrated determination circuit 14b determines that there is an abnormality (the same applies hereinafter).

【0056】また、図9(A)に示すようにICリード
パターン2a,2b,2cのうち左側と中央のパターン
2a,2b間につながり42の欠陥があり、本来露出さ
れるべき下地のテープ部分が隠れているとする。
Further, as shown in FIG. 9A, there is a defect 42 between the left and center patterns 2a, 2b of the IC lead patterns 2a, 2b, 2c, and the underlying tape portion to be originally exposed. Is hidden.

【0057】すると、一点鎖線で示すラインを走査し、
近傍画素加算回路10aにて加算処理されると、つなが
り42の欠陥の場合には明度の明るいICリードパター
ン部分が連続して存在するので、同図(B)に示すよう
に、ICリードパターン部分と等価の加算濃度値が連続
する頂上が平坦な山状の特性があらわれる。したがっ
て、このような加算濃度値のデータを次段の極大箇所濃
度抽出回路10bに送ると、同図(C)に示すようなピ
ーク値が抽出される。すなわち、右側のICリードパタ
ーン2cについては本来あるべき位置に所定高さのピー
クがあらわれるが、つながったICリードパターン2
a,2bはそれら2つで1の山とみなされ、その中央部
分に代表して1つのピーク値が出力される(なお、加算
濃度値が等しい場合には同図(C)中二点鎖線で示すよ
うに各位置にピークを出現させてもよい)。
Then, the line indicated by the dashed line is scanned,
When the addition process is performed by the neighboring pixel addition circuit 10a, in the case of the defect of the connection 42, the IC lead pattern portion having a high brightness exists continuously, and as shown in FIG. A mountain-like characteristic in which the summit where the added density values equivalent to the following are continuous is flat. Therefore, when such added density value data is sent to the next-stage maximum-density density extraction circuit 10b, a peak value as shown in FIG. That is, for the right IC lead pattern 2c, a peak of a predetermined height appears at a position where it should be, but the connected IC lead pattern 2c has a predetermined height.
a and 2b are regarded as one peak, and one peak value is output as a representative of the central portion thereof. (If the added density values are equal, the two-dot chain line in FIG. Peaks may appear at each position, as shown by.

【0058】そして、演算処理部10cで各ピーク値と
しきい値VTH1 ,VTH2 と比較され、出力された各ピー
ク値はいずれも両しきい値VTH1 〜VTH2 の範囲内であ
るので、各ピーク値の座標データが出力される。したが
って、右側のICリードパターン2cに対応するピーク
値以外は本来あるICリードパターン2a,2bと異な
る位置に出現しているため、その座標データも実際の位
置からずれる。よって一連の山についてピーク値が1つ
あらわれる場合にはピッチ計測回路12では同図(C)
に示すように間隔Dが求められるため、比較回路14a
では基準値よりも長いと判断される。なお、二点鎖線で
示したように、一連の山で複数のピーク値が出力された
としても、その間隔D′は狭すぎるため、比較回路14
aでは基準値よりも短いと判断される。よって、いずれ
の場合も異常と判定される。
Then, each peak value is compared with the threshold values VTH1 and VTH2 by the arithmetic processing unit 10c, and each output peak value is within the range of both threshold values VTH1 to VTH2. The coordinate data is output. Therefore, since the position other than the peak value corresponding to the right IC lead pattern 2c appears at a position different from the original IC lead patterns 2a and 2b, the coordinate data also deviates from the actual position. Therefore, when one peak value appears for a series of peaks, the pitch measuring circuit 12 uses the same figure (C).
Since the interval D is obtained as shown in FIG.
Is determined to be longer than the reference value. As shown by the two-dot chain line, even if a plurality of peak values are output in a series of peaks, the interval D 'is too small, so that the comparison circuit 14
In a, it is determined that it is shorter than the reference value. Therefore, in any case, it is determined to be abnormal.

【0059】さて、上記した3つの例はいずれもテープ
キャリア1平面上における形状欠陥の例を示し、係る場
合に確実に認識(良否判定)することができることを説
明したが、次にパターン上に生じた変色欠陥に対しても
本発明が適用できることを説明する。
The above three examples show examples of shape defects on the plane of the tape carrier 1, and it has been described that in such a case, it is possible to reliably recognize (pass / fail judgment). The fact that the present invention can be applied to the generated discoloration defect will be described.

【0060】すなわち、図10(A)に示すように、I
Cリードパターン2a,2b,2cのうち左側および中
央のパターン2a,2b上に汚れ(指紋等)43の欠陥
があるとする。また、図11(A)に示すように、2
a,2b,2cのうち左側および中央のパターン2a,
2b上を覆う異物付着44の欠陥があるとする。
That is, as shown in FIG.
It is assumed that there is a defect of a stain (fingerprint or the like) 43 on the left and center patterns 2a, 2b of the C lead patterns 2a, 2b, 2c. Further, as shown in FIG.
a, 2b, 2c, the left and center patterns 2a,
It is assumed that there is a defect of the foreign matter adhesion 44 covering the upper surface 2b.

【0061】すると、一点鎖線で示すラインを走査し、
近傍画素加算回路10aにて加算処理されると、汚れ4
3の欠陥の場合にはその部分での反射率が低下するた
め、イメージセンサ5で撮像した画像データ中に黒ずみ
を生じ、図10(B)に示すように、本来あるべきIC
リードパターン部分に加算濃度値の増加に伴う山があら
われるが、そのピークは小さくなる。また、異物付着4
4の欠陥の場合には、図11(B)に示すように加算濃
度値が低い値で連続する頂上が平坦な山状の特性があら
われる。したがって、このような加算濃度値のデータを
次段の極大箇所濃度抽出回路10bに送ると、それぞれ
各図(C)に示すようにピーク値が抽出される。
Then, the line indicated by the dashed line is scanned,
When the addition processing is performed by the neighboring pixel addition circuit 10a, the contamination 4
In the case of the defect of No. 3, since the reflectance at that portion decreases, darkening occurs in the image data picked up by the image sensor 5, and as shown in FIG.
A peak appears in the lead pattern portion with an increase in the added density value, but its peak becomes smaller. In addition, foreign matter adhesion 4
In the case of the defect No. 4, as shown in FIG. 11 (B), a mountain-like characteristic in which the summit is flat and the summit is flat at a low value appears. Therefore, when such added density value data is sent to the next maximum local density extraction circuit 10b, a peak value is extracted as shown in each diagram (C).

【0062】そして、演算処理部10cで各ピーク値と
しきい値VTH1 ,VTH2 と比較され、最終的に欠陥部分
に対応するピーク値が下限のしきい値VTH2 以下である
ので、右側のICリードパターン2cのついての座標デ
ータのみが出力される。したがって、ピッチ計測回路1
2では隣接するICリードパターン同士の間隔は、図外
のパターンの座標値と比較されて求められるため、比較
回路14aでは基準値よりも長いと判断される。また、
そのライン中に存在する他の良品のICリードパターン
候補の座標がない場合には、ピッチは求められず(0ま
たは無限大)、やはり比較回路14aで正常範囲外と認
識される。
Then, each peak value is compared with the threshold values VTH1 and VTH2 in the arithmetic processing unit 10c. Since the peak value corresponding to the defective portion is finally equal to or smaller than the lower threshold value VTH2, the right IC read pattern is obtained. Only the coordinate data for 2c is output. Therefore, pitch measurement circuit 1
In No. 2, since the interval between adjacent IC lead patterns is obtained by comparing with the coordinate value of a pattern (not shown), the comparison circuit 14a determines that the interval is longer than the reference value. Also,
If there is no coordinate of another good IC lead pattern candidate existing in the line, no pitch is obtained (0 or infinity), and the comparison circuit 14a also recognizes that the outside of the normal range.

【0063】また、図12(A)に示すように、ICリ
ードパターン2a,2b,2cのうち中央のパターン2
b上にメッキ欠損または傷(引っ掻き傷等)45がある
とする。すると、メッキ欠損等により反射率の高い金属
光沢面露出が生じ反射光量増加にともなう白ずみとなり
画像信号に反映される。
As shown in FIG. 12A, the center pattern 2 of the IC lead patterns 2a, 2b and 2c is used.
It is assumed that there is a plating defect or scratch (scratch etc.) 45 on b. Then, a metallic glossy surface having a high reflectance is exposed due to a plating defect or the like, and whitening occurs with an increase in the amount of reflected light, which is reflected on an image signal.

【0064】したがって、一点鎖線で示すラインを走査
し、近傍画素加算回路10aにて加算処理されると、汚
れ43の欠陥の場合にはその部分での反射率が低下する
ため、図12(B)に示すように、本来あるべきICリ
ードパターン部分に加算濃度値の増加に伴う山があらわ
れ、しかも中央のピークは大きくなる。よって、このよ
うな加算濃度値のデータを次段の極大箇所濃度抽出回路
10bに送ると、それぞれ図(C)に示すようにピーク
値が抽出される。
Therefore, if the line indicated by the dashed line is scanned and added by the neighboring pixel addition circuit 10a, the reflectance at the portion of the stain 43 is reduced in the case of a defect of the dirt 43. As shown in ()), a peak accompanying an increase in the added density value appears in an IC lead pattern portion which should be, and the central peak becomes large. Therefore, when such data of the added density value is sent to the local maximum density extraction circuit 10b at the next stage, a peak value is extracted as shown in FIG.

【0065】そして、演算処理部10cで各ピーク値と
しきい値VTH1 ,VTH2 と比較され、最終的に欠陥部分
に対応する中央のピーク値が上限のしきい値VTH1 以上
となるため当該部分の座標データは出力されず、両サイ
ドのICリードパターン2a,2cのついての座標デー
タが出力される。したがって、ピッチ計測回路12では
隣接するICリードパターン同士の間隔は、ともに図1
2(C)に示すように両サイドのパターン間の間隔Dが
求められるため、比較回路14aでは基準値よりも長い
と判断される。このように、いずれの欠陥の場合も、確
実に検出でき、不良品の正確な検出を行うことができ
る。なお、上記した各例ではいずれも欠陥がある場合の
例について説明したが、正常なパターンの場合には、上
記した装置の説明をしながら行った図3(A)〜(C)
に示すような処理を経て正しく良品と判定される。
Then, each peak value is compared with the threshold values VTH1 and VTH2 in the arithmetic processing unit 10c. Since the central peak value corresponding to the defective portion finally becomes equal to or more than the upper limit threshold value VTH1, the coordinates of the relevant portion are obtained. No data is output, and coordinate data on the IC lead patterns 2a and 2c on both sides is output. Therefore, in the pitch measurement circuit 12, the interval between adjacent IC lead patterns is
Since the interval D between the patterns on both sides is obtained as shown in FIG. 2 (C), the comparison circuit 14a determines that it is longer than the reference value. As described above, any of the defects can be reliably detected, and a defective product can be accurately detected. In each of the above examples, the case where there is a defect has been described. However, in the case of a normal pattern, FIGS. 3A to 3C described while describing the above-described apparatus.
Is correctly determined to be a non-defective product through the processing shown in FIG.

【0066】次に上記した演算処理部10cにおける判
断基準となる2つのしきい値VTH1,VTH2 を自動的に
設定するしきい値設定機能(装置)を含む本発明に係る
検査装置の他の実施例について説明する。図13に示す
ように、基本的には上記した実施例のものと同様の構成
をとり、対応する各部には同一符合を付している。
Next, another embodiment of the inspection apparatus according to the present invention including a threshold value setting function (apparatus) for automatically setting two threshold values VTH1 and VTH2 serving as judgment criteria in the arithmetic processing section 10c. An example will be described. As shown in FIG. 13, the configuration is basically the same as that of the above-described embodiment, and the corresponding components are denoted by the same reference numerals.

【0067】ここで本実施例では、近傍画素加算回路1
0aの出力を、演算回路10cにも与えるようにしてい
る。そして、演算回路10cでは、近傍画素加算回路1
0aから与えられる加算値フィルタリング後の画像デー
タと、極大箇所濃度抽出回路10bを経て与えられる極
大値(ピーク)についてのデータとに基づいて良品のI
Cリードパターン候補を決定する際の2つのしきい値V
TH1 ,VTH2 を設定するようにしている。
Here, in the present embodiment, the neighboring pixel addition circuit 1
The output of 0a is also provided to the arithmetic circuit 10c. Then, in the arithmetic circuit 10c, the neighboring pixel adding circuit 1
Non-defective I based on the image data after addition value filtering given from 0a and the data about the maximum value (peak) given through the maximum location density extraction circuit 10b.
Two thresholds V for determining C lead pattern candidates
TH1 and VTH2 are set.

【0068】具体的には、処理対象のICリードパター
ンを含む領域をイメージセンサ5により撮像し、得られ
た画像に対して、図14に示すフローにしたがって処理
する。なお、この時読み込ませるパターンとしては、良
品のものを用いるのが好ましいが、欠陥を含んだもので
も欠陥の発生数が少ないことを前提とすると、係るパタ
ーンでも良い。
Specifically, an area including an IC lead pattern to be processed is imaged by the image sensor 5, and the obtained image is processed according to the flow shown in FIG. As a pattern to be read at this time, it is preferable to use a non-defective pattern. However, a pattern including a defect may be used as long as the number of defects is small.

【0069】まず、近傍画素濃度加算回路の出力データ
から、背景の濃度値中心を求めるために各濃度のヒスト
グラム(b)を求める(ST11)。また、極大箇所濃
度抽出回路の出力データからICリードパターンの濃度
値中心を求めるために各濃度のヒストグラム(c)を求
める(ST12)。なお、これら両ステップの処理は、
高速化のためにハードウエアにより処理するようにして
も良い。
First, a histogram (b) of each density is obtained from the output data of the neighboring pixel density adding circuit to obtain the center of the density value of the background (ST11). Further, a histogram (c) of each density is obtained from the output data of the local maximum density extraction circuit to obtain the density value center of the IC lead pattern (ST12). The processing of both steps is
The processing may be performed by hardware for speeding up.

【0070】そして、ステップ11の処理により例えば
図15(A)に示すようなグラフが得られ、またステッ
プ12の処理を行うと例えば図15(B)に示すような
グラフが得られる。なお、図15(A)中、dはICリ
ードパターン以外の箇所の画素の濃度域、eは1画素内
にICリードパターンエッジを含む画素の濃度域、また
は黒ずんだ欠陥の濃度域、fはICリードパターンのみ
の画素の濃度域、gは白ずみの欠陥の濃度域に相当す
る。
Then, a graph shown in FIG. 15A is obtained by the processing of step 11, and a graph shown in FIG. 15B is obtained by performing the processing of step 12. In FIG. 15A, d is the density range of a pixel other than the IC lead pattern, e is the density range of a pixel including an IC lead pattern edge in one pixel, or the density range of a dark defect, and f is The density range of the pixel of only the IC lead pattern corresponds to the density range of the whitish defect.

【0071】次いで、ヒストグラム(b)よりICリー
ドパターンと背景を分ける仮の濃度値Pを求める(ST
13)。すなわち、濃度値Pで分けた左右のヒストグラ
ム面積の比が、ICリードパターンの幅と、ICリード
パターン間の下地が露出する距離(リードピッチ−IC
リードパターン幅)の比と等しくなる位置にPを設定す
る。仮に、リード幅が0.3mmでリードピッチが0.
6mmの場合には、左右のヒストグラムの面積が等しい
(1:1)になるような位置を選ぶ。
Next, a temporary density value P for separating the IC lead pattern from the background is obtained from the histogram (b) (ST).
13). That is, the ratio of the left and right histogram areas divided by the density value P is the width of the IC lead pattern and the distance (lead pitch−IC
P is set at a position that is equal to the ratio of the lead pattern width. If the lead width is 0.3 mm and the lead pitch is 0.1 mm.
In the case of 6 mm, a position is selected such that the areas of the left and right histograms are equal (1: 1).

【0072】そして、ヒストグラム(b)の濃度値0〜
Pまでの中での最頻濃度値Qを求め(ST14)、さら
に、ヒストグラム(c)における濃度値P〜255(M
AX)の中での最頻濃度値Rを求める(ST15)。各
最頻濃度値Q,Rは、具体的には下記式を実行すること
により求められる。
Then, the density values 0 to 0 of the histogram (b)
The most frequent density value Q up to P is obtained (ST14), and the density value P to 255 (M
AX) is determined (ST15). Each mode density value Q, R is specifically obtained by executing the following equation.

【0073】[0073]

【数2】 次いで、上記求めたQ,Rを下記式に代入することによ
り、良品濃度値の下限S,および上限Tを求める(図1
5(C)参照)。そして、算出されたTがVTH1 とな
り、またSがVTH2 となるので、各値を記憶し、それ以
後に行う検査の際のしきい値に用いる。これにより、自
動的にしきい値を決定することができ、また、一度決定
した後でもある程度の照度変動に追従できるようにな
る。
(Equation 2) Next, the lower limit S and the upper limit T of the non-defective product density value are obtained by substituting the obtained Q and R into the following equation (FIG. 1).
5 (C)). Then, since the calculated T becomes VTH1 and S becomes VTH2, each value is stored and used as a threshold value in a subsequent inspection. As a result, the threshold value can be automatically determined, and even after it has been determined once, it can follow a certain degree of illuminance fluctuation.

【0074】[0074]

【数3】 なお、上記のようにして決定された2つのしきい値が決
定されたなら、通常の検査処理を行うのであるが、検査
処理を行うための具体的な構成および作用は上記した第
1実施例と同様であるので、同一符合を付しその説明を
省略する。
(Equation 3) When the two threshold values determined as described above are determined, a normal inspection process is performed. The specific configuration and operation for performing the inspection process are described in the first embodiment. Therefore, the same reference numerals are given and the description is omitted.

【0075】また、上記した各実施例では、いずれもI
Cリードパターンに対する検査装置に適用した例につい
て説明したが、本発明はこれに限ることなく、同一ピッ
チで平行に配置される等幅パターンが並ぶようなものに
対する検査に適用することができる。
In each of the above embodiments,
Although an example in which the present invention is applied to an inspection apparatus for a C-lead pattern has been described, the present invention is not limited to this, and can be applied to an inspection for an arrangement in which equal-width patterns arranged in parallel at the same pitch are arranged.

【0076】なおまた、上記した装置では、検出対象の
パターン要素であるICリードパターンの反射率が背景
(テープ)部分のそれよりも高いために、ICリードパ
ターン部分の濃度が高くなるので、極大値(ピーク)を
求めるようにしたが、濃淡の関係が逆の場合には、パタ
ーン要素部分が低くなる谷状となるため、ピークは極小
濃度を求めるようにするのはもちろんである。
Further, in the above-described apparatus, since the reflectance of the IC lead pattern, which is the pattern element to be detected, is higher than that of the background (tape) portion, the density of the IC lead pattern portion becomes high, so that the maximum value is obtained. Although the value (peak) is obtained, if the relationship of the shading is reversed, the pattern element portion becomes a valley shape with a low level. Therefore, it is a matter of course to obtain the minimum density of the peak.

【0077】[0077]

【発明の効果】以上のように本発明に係る検査方法およ
び装置では、特徴量抽出手段により、パターン要素の欠
けなどの欠陥がある場合には当該要素部分は排除され、
良品候補部分のみ抽出される。そして、その抽出も、例
えば濃度値の加算や極大/極小の抽出並びにしきい値と
の比較と言う簡単な処理で行えるため、高速かつ正確に
行える。さらに、最終的な良否判断は、良品であればす
べてのパターン要素存在位置が良品候補として抽出され
るため隣接する候補間の距離(ピッチ)は設計通りとな
るが、所定の欠陥があって特徴量抽出手段で抽出されな
いと、間隔が設計値よりも長くなるので、これも基準値
との比較により簡単かつ高速に行える。
As described above, in the inspection method and apparatus according to the present invention, when there is a defect such as a chipped pattern element, the element portion is eliminated by the feature amount extracting means.
Only a good candidate portion is extracted. The extraction can be performed at a high speed and accurately, for example, by a simple process such as addition of a density value, extraction of a maximum / minimum value, and comparison with a threshold value. Furthermore, in the final pass / fail judgment, if there is a non-defective product, all the pattern element existence positions are extracted as non-defective products, so that the distance (pitch) between adjacent candidates is as designed, but there is a certain defect, If not extracted by the quantity extracting means, the interval becomes longer than the design value, and this can be performed simply and at high speed by comparison with the reference value.

【0078】また、撮像装置として開口率がほぼ100
%のものを用いると、1画素中にパターン要素のエッジ
が存在するような場合であっても、そのエッジ部分を正
確に検出(濃度加算への反映)を行うことができ、より
精度が高くなる。
Further, the aperture ratio of the imaging device is almost 100.
%, Even when an edge of a pattern element exists in one pixel, the edge portion can be accurately detected (reflected to the density addition), and the accuracy is higher. Become.

【0079】また、拡大処理をする必要がないので(も
ちろんしても構わないが)、ズームの変更に伴う時間の
ロスや、処理の煩雑さもない。また、近傍画素濃度を加
算する場合に、その加算対処の画素数をパターン要素の
幅とほぼ等しくすると、パターン要素の中央の濃度がピ
ークとなり、中央位置が抽出しやすくなるばかりでな
く、しかも実際の幅が異なると、出現するピーク値や山
/谷の形状も異なるので良品候補の抽出も容易に行え
る。
Further, since there is no need to perform the enlargement processing (of course, it does not matter), there is no time loss associated with changing the zoom and no complicated processing. In addition, when adding the neighboring pixel densities, if the number of pixels to be added is substantially equal to the width of the pattern element, the density at the center of the pattern element becomes a peak, so that not only the center position is easily extracted, but also the actual Are different, the peak values and the shapes of peaks and valleys that appear are different, so that a good candidate can be easily extracted.

【0080】また、実際のパターンを用いて良品候補抽
出の際のしきい値を設定するようにすると、しきい値の
設定が容易に行えるばかりでなく、検査環境の変化(特
に照明等の被検査領域に照射されている照度の変化)に
容易かつ正確に追従することができ、より精度の高い検
査が行える。
When the threshold value for extracting a good product candidate is set by using the actual pattern, the threshold value can be set easily, and the change of the inspection environment (particularly, the influence of illumination or the like). (A change in illuminance applied to the inspection area) can be easily and accurately followed, and a more accurate inspection can be performed.

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

【図1】本発明に係る検査装置の好適な一実施例を示す
構成図である。
FIG. 1 is a configuration diagram showing a preferred embodiment of an inspection apparatus according to the present invention.

【図2】検査対象のテープを説明する図である。FIG. 2 is a diagram illustrating a tape to be inspected.

【図3】正常なICリードパターンの一例を示す図であ
る。
FIG. 3 is a diagram illustrating an example of a normal IC lead pattern.

【図4】近傍画素加算回路に用いるマスクの一例を示す
図である。
FIG. 4 is a diagram illustrating an example of a mask used in a neighboring pixel addition circuit.

【図5】演算処理部の作用を説明する図である。FIG. 5 is a diagram illustrating the operation of an arithmetic processing unit.

【図6】ピッチ計測回路の機能を説明するフローチャー
トである。
FIG. 6 is a flowchart illustrating functions of a pitch measurement circuit.

【図7】本実施例の作用を説明する図である。FIG. 7 is a diagram illustrating the operation of the present embodiment.

【図8】本実施例の作用を説明する図である。FIG. 8 is a diagram illustrating the operation of the present embodiment.

【図9】本実施例の作用を説明する図である。FIG. 9 is a diagram illustrating the operation of the present embodiment.

【図10】本実施例の作用を説明する図である。FIG. 10 is a diagram illustrating the operation of the present embodiment.

【図11】本実施例の作用を説明する図である。FIG. 11 is a diagram illustrating the operation of the present embodiment.

【図12】本実施例の作用を説明する図である。FIG. 12 is a diagram illustrating the operation of the present embodiment.

【図13】本発明に係る検査装置の好適な他の実施例を
示す構成図である。
FIG. 13 is a configuration diagram showing another preferred embodiment of the inspection apparatus according to the present invention.

【図14】演算処理部の機能の一部(しきい値決定)を
示すフローチャートである。
FIG. 14 is a flowchart showing a part of the function of an arithmetic processing unit (threshold value determination).

【図15】演算処理部の機能の一部(しきい値決定)の
作用を説明する図である。
FIG. 15 is a diagram illustrating the operation of a part of the function of the arithmetic processing unit (threshold value determination).

【符号の説明】[Explanation of symbols]

2,2a,2b,2c ICリードパターン(パターン
要素) 5 イメージセンサ(撮像装置) 10 特徴量抽出部 10a 近傍画素加算回路 10b 極大箇所濃度抽出回路 10c 演算処理部 12 ピッチ計測回路 14 良否判定部 14a 比較回路 14b 総合判定回路
2, 2a, 2b, 2c IC lead pattern (pattern element) 5 Image sensor (imaging device) 10 Feature amount extraction unit 10a Nearby pixel addition circuit 10b Local maximum density extraction circuit 10c Arithmetic processing unit 12 Pitch measurement circuit 14 Quality determination unit 14a Comparison circuit 14b Comprehensive judgment circuit

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ICリードパターン等の等間隔で配置さ
れる複数のパターン要素からなる被検査対象に対する良
否判定を行う検査方法であって、 撮像した前記被検査対象の多値画像データから、前記
ターン要素の並び方向を走査して近傍画素濃度の加算処
理を行った後、極大または極小箇所濃度抽出を行うフィ
ルタリング処理により前記パターン要素の存在候補に対
応するピーク値を求め、 その求めたピーク値が所定の範囲内にあるものを前記パ
ターン要素の良品候補に決定するとともに、その 良品候
補の前記パターン要素の存在位置を抽出し、 前記抽出した存在位置に基づいて前記良品候補のパター
ン要素の配置方向に隣接する間隔を求め、 その間隔が一定の範囲内にある場合に前記被検査対象は
良品と判定し、範囲外にある場合に不良品と判定するこ
とを特徴とする検査方法。
1. A test method for performing quality determination for IC lead patterns to be inspected composed of a plurality of pattern elements which are arranged at regular intervals, such as, the multi-valued image data of the object to be inspected picked up, the Pa
Scan the turn element arrangement direction to add neighboring pixel densities
And then extract the maximum or minimum concentration
Filtering processing is performed to match the pattern element existence candidate.
The corresponding peak value is determined, and the peak value within the predetermined range is determined.
And it determines the good candidate turn elements, extracts the location of the pattern elements of the good candidates, putter of the good candidates based on the location of the extracted
An interval adjacent to the component in the arrangement direction is determined. If the interval is within a certain range, the inspection target is determined to be a non-defective product, and if the interval is out of the range, it is determined to be a defective product. Inspection method to be characterized.
【請求項2】 前記良品候補の決定の際の判断基準とな
前記の範囲を定めるしきい値が、 実際のパターン要素を撮像して得られた画像データに対
して前記近傍画素濃度の加算処理を行い得られた第1処
理画像と、 その第1処理画像に対して前記極大または極小箇所濃度
抽出を行い得られた第2処理画像に基づき、所定の演算
処理により設定するようにした請求項1に記載の検査方
法。
2. A criterion for determining the good product candidate.
A first processing image obtained by performing an adding process of the neighboring pixel density on image data obtained by imaging an actual pattern element; 2. The inspection method according to claim 1, wherein a predetermined calculation process is performed based on a second processed image obtained by extracting the maximum or minimum portion density.
【請求項3】 前記近傍画素濃度の加算処理を行う際
の、加算対象の画素数を、パターン要素の幅に相当する
画素数とほぼ等しくしたことを特徴とする請求項1また
は2に記載の検査方法。
Wherein when performing the addition processing of said neighboring pixel density, the number of pixel addition target, also claim 1, characterized in that it has substantially equal to the number of pixels corresponding to the width of the pattern element
Is the inspection method described in 2 .
【請求項4】 ICリードパターン等の等間隔で配置さ
れる複数のパターン要素からなる被検査対象に対する良
否判定を行う検査装置であって、 前記被検査対象を撮像する撮像装置と、 前記撮像装置から得られる多値画像データから、前記パ
ターン要素の良品候補を決定するとともに、その良品候
補の前記パターン要素の存在位置を抽出する特徴量抽出
手段と、 前記特徴量抽出手段により抽出された前記良品候補のパ
ターン要素のうち、その配置方向に隣接する間隔を求め
るピッチ計測手段と、 前記ピッチ計測手段により検出結果に基づき、その間隔
が一定の範囲内にあるか否かを判断する良否判定手段と
を備え、 前記特徴量抽出手段が、前記パターン要素の並び方向の
近傍画素濃度を加算し、加算濃度値を求める近傍画素濃
度加算手段と、 前記近傍画素濃度加算手段の出力を受け、加算濃度値の
極大または極小箇所を抽出する抽出手段と、 前記抽出手段の出力を受け、前記パターン要素の存在候
補に対応するピーク値を求め、その求めたピーク値が所
定の範囲内にあるものを前記パターン要素の良品候補に
決定し、その良品候補の前記パターン要素の存在位置を
求める手段とを備えたことを特徴とする検査装置。
4. A testing apparatus that performs quality determination on a plurality of inspection object consisting of pattern elements arranged at equal intervals of IC lead pattern and the like, an imaging device for imaging the object to be inspected Target, the imaging multi-valued image data obtained from the device, the path
Determine good candidates for the turn element and determine the good
A feature amount extracting section which extracts the location of the pattern elements of the complement, of the pattern elements of the good candidates extracted by the feature extracting unit, a pitch measuring means for determining the intervals adjacent to the arrangement direction, the Good or bad judgment means for judging whether or not the interval is within a certain range based on the detection result by the pitch measurement means, wherein the feature quantity extraction means adds the neighboring pixel density in the direction in which the pattern elements are arranged. and a neighboring pixel density addition means for obtaining a sum concentration values, receiving an output of said neighboring pixel density addition means, an extraction means for extracting a maximum or minimum point of the addition concentration values, receiving an output of the extraction means, the pattern Element presence
The peak value corresponding to the complement is found, and the found peak value is
Those within a certain range are considered as good candidates for the pattern element.
Is determined, and the location of the pattern element of the good product candidate is determined.
Inspection apparatus characterized by comprising a means for determining.
【請求項5】 前記撮像装置が、1画素の開口率がほぼ
100%のイメージセンサであることを特徴とする請求
項4に記載の検査装置。
5. The inspection device according to claim 4, wherein the imaging device is an image sensor having an aperture ratio of one pixel of about 100%.
JP31429294A 1994-11-25 1994-11-25 Inspection method and device Expired - Fee Related JP3189604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31429294A JP3189604B2 (en) 1994-11-25 1994-11-25 Inspection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31429294A JP3189604B2 (en) 1994-11-25 1994-11-25 Inspection method and device

Publications (2)

Publication Number Publication Date
JPH08145643A JPH08145643A (en) 1996-06-07
JP3189604B2 true JP3189604B2 (en) 2001-07-16

Family

ID=18051614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31429294A Expired - Fee Related JP3189604B2 (en) 1994-11-25 1994-11-25 Inspection method and device

Country Status (1)

Country Link
JP (1) JP3189604B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4107587B2 (en) * 2003-12-17 2008-06-25 三菱電機株式会社 Lane recognition image processing device
CN105424714B (en) * 2015-12-21 2018-04-27 南京河豚自动化科技有限公司 The defects of based on multi-pipe pin detection device and its detection method

Also Published As

Publication number Publication date
JPH08145643A (en) 1996-06-07

Similar Documents

Publication Publication Date Title
JP3051279B2 (en) Bump appearance inspection method and bump appearance inspection device
US7433508B2 (en) Pattern inspection method and its apparatus
EP0501683A2 (en) Technique for enhanced two-dimensional imaging
JP3311135B2 (en) Inspection range recognition method
JP2005158780A (en) Method and device for inspecting defect of pattern
JP3329805B2 (en) Automatic visual inspection device and visual inspection method
KR960013357B1 (en) Image data inspecting method and apparatus
JP2005121546A (en) Defect inspection method
JPH0575062B2 (en)
JP2007248051A (en) Method for inspecting defect of object surface
JP3189604B2 (en) Inspection method and device
JPH0210461B2 (en)
JPH1187446A (en) Apparatus and method for inspection of defect of pattern
JPH08272078A (en) Method and apparatus for inspecting pattern
JP3260425B2 (en) Pattern edge line estimation method and pattern inspection device
JP5391172B2 (en) Foreign object inspection apparatus and alignment adjustment method
JPH0429007A (en) Optical inspection device
JP2710685B2 (en) Defect detection method by visual inspection
JPH0772909B2 (en) Welding condition judgment method by visual inspection
JP2003059991A (en) Visual inspection system and visual inspection method
JP3674067B2 (en) Pattern appearance inspection device
JP2004125629A (en) Defect detection apparatus
JPH02187651A (en) Image processing method
JP3392227B2 (en) Appearance inspection method and apparatus for J-bend type semiconductor package
JPH08219740A (en) Method and equipment for inspecting semiconductor device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010417

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

Free format text: PAYMENT UNTIL: 20080518

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090518

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees