JP2715897B2 - IC foreign matter inspection apparatus and method - Google Patents

IC foreign matter inspection apparatus and method

Info

Publication number
JP2715897B2
JP2715897B2 JP2233494A JP2233494A JP2715897B2 JP 2715897 B2 JP2715897 B2 JP 2715897B2 JP 2233494 A JP2233494 A JP 2233494A JP 2233494 A JP2233494 A JP 2233494A JP 2715897 B2 JP2715897 B2 JP 2715897B2
Authority
JP
Japan
Prior art keywords
lead
image
foreign matter
data
shoulder
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
JP2233494A
Other languages
Japanese (ja)
Other versions
JPH07229842A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2233494A priority Critical patent/JP2715897B2/en
Publication of JPH07229842A publication Critical patent/JPH07229842A/en
Application granted granted Critical
Publication of JP2715897B2 publication Critical patent/JP2715897B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ICのリードに付着し
た樹脂くず、繊維くず、半田くずといった異物を検出す
るためのICの異物検査装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and a method for detecting foreign matter such as resin waste, fiber waste and solder waste attached to IC leads.

【0002】[0002]

【従来の技術】従来のICに付着した異物を検出する検
査方法は、例えば特開昭61−66908号公報に示さ
れた「ICリード検出方法」がある。
2. Description of the Related Art As a conventional inspection method for detecting foreign matter adhering to an IC, there is, for example, an "IC lead detection method" disclosed in JP-A-61-66908.

【0003】図10はこの従来の検査方法を示す構成図
である。この従来の検査方法は、検査対象部品であるI
Cの画像を入力する撮像素子31と、撮像素子31から
入力した画像を記憶するフレームメモリ32と、フレー
ムメモリ32からの画像データから演算処理を行いIC
のリードに異物が付着していること等を検出した時にI
Cリジェクト信号を出力する演算処理部33とで構成さ
れる。
FIG. 10 is a block diagram showing this conventional inspection method. In this conventional inspection method, the inspection target component I
An image sensor 31 for inputting the image of C, a frame memory 32 for storing the image input from the image sensor 31, and an IC that performs arithmetic processing from the image data from the frame memory 32
When it is detected that foreign matter is attached to the lead of
And an arithmetic processing unit 33 that outputs a C reject signal.

【0004】この従来の検査方法でのICリードの異物
付着の検出は次の通りである。フレームメモリ32から
出力される画像データは、演算処理部33に入力され、
適当な二値化レベルによりリード部が”1”で背景が”
0”のドットとなるように二値化処理された後、リード
上の領域にリードの長手方向に二値化データが”1”
→”0”→”1”と変化する部分があるか否か検査さ
れ、ある場合は、ICリードの異物付着と判定し、欠陥
信号を出力する。
[0004] The detection of foreign matter adhering to an IC lead in this conventional inspection method is as follows. Image data output from the frame memory 32 is input to the arithmetic processing unit 33,
The lead part is "1" and the background is "
After the binarization process is performed so as to be a dot of "0", the binarized data is "1" in the longitudinal direction of the lead in an area on the lead.
It is checked whether there is a portion that changes from "0" to "1", and if so, it is determined that foreign matter has adhered to the IC lead, and a defect signal is output.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のICリ
ード上に付着した異物の検査方法においては、リード全
体を同じ二値化レベルで画像の二値化をしてリード部分
を”1”にするため、反射光量の小さいリードの斜面部
が”1”になるように二値化レベルを低く設定しなけれ
ばならない。従って、繊維くずなどの透過率の高い異物
や反射率の良い樹脂くず等の異物がリード上に付着して
いた場合には撮像画像のリード部と異物部の濃淡値の差
が少ないので二値化画像のリード部分において異物部分
のみ”0”にすることは困難であり、異物の検出ができ
ないという欠点があった。
In the above-described conventional method for inspecting foreign matter adhering on an IC lead, the entire lead is binarized at the same binarization level to make the lead portion "1". Therefore, the binarization level must be set low so that the slope of the lead having a small amount of reflected light is "1". Therefore, when a foreign matter having a high transmittance, such as fiber waste, or a foreign matter, such as a resin waste having a good reflectance, adheres to the lead, the difference in the gray level between the lead portion and the foreign matter portion of the captured image is small, so that the binary value is obtained. It is difficult to set only the foreign matter portion to "0" in the lead portion of the structured image, and there is a disadvantage that foreign matter cannot be detected.

【0006】また、上述した従来の検査方法では、リー
ド間に付着した異物を検出できないという欠陥があっ
た。
In addition, the above-described conventional inspection method has a defect that foreign substances attached between leads cannot be detected.

【0007】[0007]

【課題を解決するための手段】本発明のICの異物検査
装置は、検査対象のリードがモールド側の平坦な部分の
肩部、先端側の平坦部及びこれらの中間に位置する斜面
部からなるICを撮像するカメラと、前記カメラからの
画像データを入力しAD変換を行い濃淡画像データを出
力するAD変換手段と、前記濃淡画像データから前記I
Cの1辺分のリード全てを含む範囲の検査領域濃淡画像
データを切り出す検査領域切り出し手段と、前記検査領
域濃淡画像データを前記カメラが受ける反射光量が多い
前記リードの平坦部及び肩部のみが”1”となるように
二値化する第一の二値化手段と、前記第一の二値化手段
で二値化された二値化画像データを入力し前記リードの
長手方向と垂直なX方向の各画像素列の”1”の画素数
を計測したX投影データを出力する投影手段と、前記検
査領域濃淡画像データのうち前記X投影データが所定の
値より小さい部分で前記リードの中央部に対応する部分
を斜面部画像とし前記所定の値より大きく前記ICのモ
ールド側の部分に対応する部分を肩部画像とし前記所定
の値より大きく前記リードの先端側の部分に対応する部
分を平坦部画像とするリード領域分割手段と、前記肩部
画像、前記斜面部画像及び前記平坦部画像をそれぞれに
ついて個有の二値化レベルで二値化して”1”の画素を
前記リードの部分として識別し前記リードに付いた異物
を検出する分割領域別異物検出手段とを備えている。
According to the IC foreign matter inspection apparatus of the present invention, a lead to be inspected comprises a shoulder portion of a flat portion on the mold side, a flat portion on the tip side, and a slope portion located therebetween. A camera for capturing an image of an IC, AD conversion means for inputting image data from the camera, performing AD conversion and outputting grayscale image data, and
An inspection area extracting means for extracting inspection area grayscale image data in a range including all the leads of one side of C; and only the flat portion and shoulder portion of the lead, which receives the inspection area grayscale image data and receives a large amount of reflected light, from the camera. A first binarizing means for binarizing to be "1", and a binarized image data binarized by the first binarizing means being input and being perpendicular to a longitudinal direction of the lead. A projection unit for outputting X projection data obtained by measuring the number of “1” pixels in each image element sequence in the X direction; and a part of the inspection area gray image data where the X projection data is smaller than a predetermined value. A portion corresponding to the center portion is a slope image and a portion larger than the predetermined value and corresponding to the mold side portion of the IC is a shoulder image and a portion larger than the predetermined value and corresponding to a tip side portion of the lead. The flat part image and The shoulder area image, the slope area image, and the flat area image are each binarized at a unique binarization level, and a pixel of “1” is identified as the lead part. A divided region-based foreign matter detecting means for detecting foreign matter attached to the lead.

【0008】本発明のICの異物検査方法は、検査対象
のリードがモールド側の平坦な部分の肩部、先端側の平
坦部及びこれらの中間に位置する斜面部からなるICを
カメラで撮像しAD変換された濃淡画像データから前記
ICの1辺分のリード全てを含む範囲の検査領域濃淡画
像データを切り出し、前記検査領域濃淡画像データを前
記カメラが受ける反射光量がおおい前記リードの平坦部
及び肩部のみが”1”となるように二値化した二値化デ
ータの前記リードの長手方向と垂直なX方向の各画素列
の”1”の画素数を計測したX投影データを所定の値で
分け、前記検査領域濃淡画像データを分割した前記X投
撮データが前記所定の値より小さい部分で前記リードの
中央部に対応する部分の斜面部画像、前記所定の値より
大きく前記ICのモールド側の部分に対応する部分の肩
部画像及び前記所定の値より大きく前記リードの先端側
の部分に対応する部分の平坦部画像をそれぞれについて
固有の二値化レベルで二値化して前記リードの部分を識
別し前記リードに付いた異物を検出することを特徴とす
る。
In the method for inspecting foreign matter of an IC according to the present invention, the lead to be inspected is imaged by a camera of an IC formed of a shoulder of a flat portion on the mold side, a flat portion on the tip end, and a slope portion located between them. From the A / D converted gray image data, inspection area gray image data in a range including all the leads of one side of the IC is cut out, and the camera receives the inspection region gray image data with a large amount of reflected light and the flat portion of the lead and X-projection data obtained by measuring the number of “1” pixels in each pixel row in the X-direction perpendicular to the longitudinal direction of the lead of the binarized data binarized so that only the shoulders become “1” A slope image of a portion corresponding to the center of the lead in a portion where the X projection data obtained by dividing the inspection area grayscale image data is smaller than the predetermined value, and larger than the predetermined value; The shoulder image of the portion corresponding to the field side and the flat portion image of the portion larger than the predetermined value and corresponding to the tip side of the lead are binarized at a unique binarization level for each of the leads. And detecting foreign matter attached to the lead.

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0010】図1は本発明の一実施例のICの異物検査
装置を示すブロック図である。
FIG. 1 is a block diagram showing an IC foreign matter inspection apparatus according to one embodiment of the present invention.

【0011】図において、カメラ1は、検査対象のIC
2のリード21の部分を撮像しアナログ画像データaを
出力する。カメラ1は、検査対象のIC2の上面側に置
かれ、カメラ1を、中心とするリング上の照明(図示せ
ず)によりIC2を照明する。AD変換手段3は、アナ
ログ画像データaを入力しAD変換を行い濃淡画像デー
タbを出力する。検査領域切り出し手段4は、濃淡画像
データbからIC2の1辺分のリード21の全てを含む
部分の濃淡画像データを予め設定した範囲で切り出し、
検査領域濃淡画像データcを出力する。画像記憶手段5
は、検査領域濃淡画像データcを記憶し、これを記憶デ
ータとして出力する。第一の二値化手段6は、記憶デー
タdによる1辺分の濃淡画像データを予め設定したリー
ド21の斜面部24を”0”に、リード21の平坦部2
3を”1”にする第一の二値化レベルにより二値化画像
データeに変換し出力する。X投影手段7は、リードの
長手方向と垂直な方向(以下X方向と呼ぶ)の各画像素
列について二値化画像データeの”1”の画素数を計測
し計測データfを出力する。
In FIG. 1, a camera 1 is an IC to be inspected.
The second lead 21 is imaged and analog image data a is output. The camera 1 is placed on the upper surface side of the IC 2 to be inspected, and illuminates the IC 2 by illumination (not shown) on a ring centered on the camera 1. The AD conversion means 3 receives the analog image data a, performs AD conversion, and outputs grayscale image data b. The inspection area cutout means 4 cuts out, from the grayscale image data b, grayscale image data of a portion including all the leads 21 for one side of the IC 2 in a preset range,
The inspection area gray image data c is output. Image storage means 5
Stores the inspection area grayscale image data c and outputs this as storage data. The first binarizing means 6 sets the slope 24 of the lead 21 in which the grayscale image data of one side is preset by the storage data d to “0” and the flat part 2 of the lead 21.
3 is converted into binarized image data e by a first binarization level that sets “1” to “1”, and is output. The X projection means 7 measures the number of “1” pixels of the binarized image data e for each image element sequence in a direction perpendicular to the longitudinal direction of the lead (hereinafter referred to as the X direction) and outputs measurement data f.

【0012】第二の二値化手段8は、計測データfを入
力し計測データfを予め設定した第二の二値化レベルで
二値化を行い投影二値化データgを出力する。リード領
域分割手段9は、投影二値化データgの”0”と”1”
の連続領域を利用し、リード21をモールド22からリ
ード21の先端方向へ肩部25、斜面部24、平坦部2
3の3つの領域に分割するリード領域分割信号hを出力
する。分割領域別異物検出手段10は、記憶データdに
よる1辺分の濃淡画像データをリード領域分割信号hに
より分割し、領域ごとに適した二値化レベル、リード幅
判定値、リード間判定値を用いて異物判定を行う。異物
検出方法は、領域別の二値化データに二値化し、”1”
の連続画素数をリード幅判定値の上限値と下限値と比較
し、”0”の連続画素数をリード間判定値の上限値と下
限値と比較し、判定値の範囲外の連続画素数があれば異
物付着と判定する。
The second binarizing means 8 inputs the measurement data f, binarizes the measurement data f at a preset second binarization level, and outputs projection binarization data g. The read area dividing means 9 determines whether “0” and “1” of the
Of the lead 21 from the mold 22 toward the distal end of the lead 21 by using the shoulder 25, the slope 24, and the flat portion 2.
And outputs a read area division signal h for dividing into three areas. The divided area-based foreign matter detection means 10 divides grayscale image data of one side based on the storage data d by the read area division signal h, and sets a binarization level, a read width determination value, and a read interval determination value suitable for each area. Is used to determine foreign matter. The foreign matter detection method is to binarize the binarized data for each area and set “1”
Is compared with the upper limit and lower limit of the read width determination value, and the number of continuous pixels of "0" is compared with the upper limit and lower limit of the read-between determination value, and the number of continuous pixels outside the range of the determination value is determined. If there is, it is determined that foreign matter is attached.

【0013】次に、本実施例のIC異物検査方法の原理
について図1〜図9を参照して説明する。図2〜図9は
本実施例のIC異物検査方法のリード領域分割の原理を
説明するための図である。
Next, the principle of the IC foreign matter inspection method of this embodiment will be described with reference to FIGS. FIG. 2 to FIG. 9 are views for explaining the principle of lead area division in the IC foreign matter inspection method of the present embodiment.

【0014】図2は、IC2の一辺分のリード21の濃
淡画像データcを記憶した記憶データdのパターン図で
ある。図3は、二値化画像信号eのパターン図で、斜線
部が二値化後の”1”の領域である。リード21の肩部
25と、平坦部23は反射率が高いので、第一の二値化
手段6により”1”の領域となる。図4は、X投影手段
7から出力される計測データfのグラフであり、縦軸は
図3と位置的に対応していてリード21の長手方向の位
置を示している。横軸は計測度数を示しており、リード
21の平坦部23と肩部25に相当する領域23’と領
域25’には、斜面部24に摘当する領域24’より大
きい値が存在している。反射率の小さい斜面部に対応す
る計測データfの値は”0”または”0”に近い値とな
る。図5は、投影二値化データgのグラフを表してお
り、投影二値化データの”1”の連続する領域H1、H
3がそれぞれ平坦部23と肩部25に対応し、領域H
1、H3の間で”0”の連続する領域H2が斜面部24
に対応する。従って、リード領域分割手段9では、投影
二値化データgの”1”と”0”の連続する領域H1、
H2、H3に従ってリードの長手方向を分割するリード
領域分割信号hを出力する。図6は、分割領域別異物検
出手段10に入力された記憶データdを、リード領域分
割信号hにより分割した画像である。図6に示す平坦部
画像26、斜面部画像27及び肩部画像28のそれぞれ
は図5に示す領域H1、H2及びH3のそれぞれに対応
する。
FIG. 2 is a pattern diagram of the storage data d storing the grayscale image data c of the lead 21 for one side of the IC 2. FIG. 3 is a pattern diagram of the binarized image signal e, and a hatched portion is an area of “1” after binarization. Since the shoulder portion 25 and the flat portion 23 of the lead 21 have high reflectivity, the first binarizing means 6 forms an area of “1”. FIG. 4 is a graph of the measurement data f output from the X projecting means 7, and the vertical axis corresponds to FIG. 3 and indicates the position of the lead 21 in the longitudinal direction. The abscissa indicates the measurement frequency, and the area 23 ′ and the area 25 ′ corresponding to the flat part 23 and the shoulder part 25 of the lead 21 have a value larger than the area 24 ′ applied to the slope part 24. I have. The value of the measurement data f corresponding to the slope portion having a small reflectance is “0” or a value close to “0”. FIG. 5 shows a graph of the binarized projection data g, and the areas H1 and H where “1” of the binarized projection data are continuous.
3 correspond to the flat portion 23 and the shoulder portion 25, respectively.
The area H2 where “0” continues between 1 and H3 is the slope 24
Corresponding to Therefore, in the read area dividing means 9, an area H1 where “1” and “0” of the projection binary data g are continuous.
A lead area division signal h for dividing the longitudinal direction of the lead according to H2 and H3 is output. FIG. 6 is an image obtained by dividing the storage data d input to the divided area-based foreign matter detecting means 10 by the read area division signal h. Each of the flat portion image 26, the slope portion image 27, and the shoulder portion image 28 illustrated in FIG. 6 corresponds to each of the regions H1, H2, and H3 illustrated in FIG.

【0015】図7は、前記分割された画像を、各領域の
リード部分が”1”になるように予め各領域毎に設定さ
れた二値化レベルで二値化したパターン図である。反射
率の大きい平坦部23と肩部25に対応する平坦部画像
26と肩部画像28については、反射率の小さい斜面部
24に対応する斜面部画像27の二値化レベルよりも大
きな二値化レベルを設定し平坦部画像26及び肩部画像
28のみならず斜面部画像27においても二値化画像の
リード部が”1”となるようにしている。なお、平坦部
画像26、肩部画像28においても斜面部画像27に合
わせて小さな二値化レベルを設定すると、肩部25及び
平坦部23に付いた異物はその小さな二値化レベル担当
の反射率以下のものしか検出できず、リードと反射率の
差が大きい異物しか検出できなくなるが、平坦部画像2
6、肩部画像28の二値化レベルを斜面部画像27のも
のより大きくし、平坦部画像26及び肩部画像28での
二値化レベルを出来るだけ大きな値に設定することで平
坦部23及び肩部25でリードと反射率の差の小さな異
物も検出することができる。
FIG. 7 is a pattern diagram in which the divided image is binarized at a binarization level preset for each region so that the read portion of each region is "1". Regarding the flat portion image 26 and the shoulder portion image 28 corresponding to the flat portion 23 and the shoulder portion 25 having a large reflectance, a binary value larger than the binarization level of the slope portion image 27 corresponding to the slope portion 24 having a small reflectance. The lead level of the binarized image is set to "1" not only in the flat part image 26 and the shoulder part image 28 but also in the slope part image 27. If a small binarization level is set in the flat part image 26 and the shoulder part image 28 in accordance with the slope part image 27, the foreign matter attached to the shoulder part 25 and the flat part 23 is reflected by the small binarization level. Can detect only foreign matter whose reflectance is equal to or less than that of the lead, and can detect only foreign matter having a large difference between the lead and the reflectance.
6. By increasing the binarization level of the shoulder image 28 from that of the slope image 27 and setting the binarization levels of the flat image 26 and the shoulder image 28 as large as possible, Also, a foreign matter having a small difference between the lead and the reflectance can be detected by the shoulder 25.

【0016】図8は、図7に示す分割二値化されたそれ
ぞれの画像”1”の画素数をリード長手方向と平行な方
向に投影した計測データのグラフである。図8(a)〜
(c)はそれぞれ平坦部画像26、斜面部画像27及び
肩部画像28それぞれの二値化画像に対するグラフであ
る。図8の横軸は図7と位置的に対応し、リードの長手
方向と直角な方向の位置を示している。縦軸は計測度数
を示しており、リードに相当する部分はリード間より大
きい値が存在している。リード間に対応する計測データ
の値は”0”または”0”に近い値となる。図9(a)
〜(c)はそれぞれ図8(a)〜(c)それぞれに示す
計測データをリード上は”1”、リード間は”0”とな
るように二値化したグラフである。異物検出は、”1”
の連続画素数を領域毎に設定されたリード幅判定の上演
値及び下限値と比較し、”0”の連続画素数を領域毎に
設定されたリード間判定値の上限値及び下限値と比較
し、判定値の範囲外の連続数があれば異物付着と判定す
る方式である。
FIG. 8 is a graph of measurement data obtained by projecting the number of pixels of each image "1" divided and binarized shown in FIG. 7 in a direction parallel to the longitudinal direction of the lead. FIG.
(C) is a graph for the binarized image of each of the flat part image 26, the slope part image 27, and the shoulder part image 28. The horizontal axis in FIG. 8 corresponds to the position in FIG. 7 and indicates the position in the direction perpendicular to the longitudinal direction of the lead. The vertical axis indicates the measurement frequency, and the portion corresponding to the lead has a larger value than between the leads. The value of the measurement data corresponding to between the leads is “0” or a value close to “0”. FIG. 9 (a)
8 (c) are graphs obtained by binarizing the measurement data shown in FIGS. 8 (a) to 8 (c) so that "1" is displayed on the leads and "0" is displayed between the leads. Foreign matter detection is "1"
The number of continuous pixels is compared with the performance value and lower limit of the lead width determination set for each region, and the number of continuous pixels of "0" is compared with the upper and lower limits of the read interval determination value set for each region. If there is a continuous number outside the range of the determination value, it is determined that foreign matter is attached.

【0017】例えば図2に示す異物11、12の画像が
分割領域別異物検出手段10により図7に示す異物1
1、12の二値化画像になったとすれば、図8に示す投
影計測データのグラフで波形13、14に示すような変
形が生じ、図8を二値化した図9のグラフの波形15、
16に示すように”1”の部分の連続画素数が異常に小
さくなったり大きくなったりするので、これら連続画素
数を上限値、下限値と比較して、所定の範囲外であるこ
とを検出して異物付着と判定する。なお、リードの平坦
部23の幅は肩部25の幅よりも狭くなっているが、リ
ード幅判定の上限値と下限地を平坦部画像26、斜面部
画像27又は肩部画像28の領域毎に設定することより
平坦部23に肩部25のリード幅よりも小さい異物が付
着している場合も異物として判定することが可能であ
る。
For example, the image of the foreign substances 11 and 12 shown in FIG.
If the binarized images 1 and 12 are obtained, deformations as shown in waveforms 13 and 14 occur in the graph of the projection measurement data shown in FIG. 8, and a waveform 15 in the graph of FIG. ,
As shown in FIG. 16, since the number of continuous pixels in the “1” portion becomes abnormally small or large, the number of continuous pixels is compared with the upper limit value and the lower limit value to detect that the number is outside a predetermined range. To determine that foreign matter is attached. Although the width of the flat portion 23 of the lead is smaller than the width of the shoulder portion 25, the upper limit and the lower limit of the lead width determination are determined according to the area of the flat portion image 26, the slope image 27 or the shoulder image 28. By setting to, it is also possible to determine that a foreign substance smaller than the lead width of the shoulder part 25 adheres to the flat part 23 as a foreign substance.

【0018】[0018]

【発明の効果】本発明のICの異物検査装置及び方法
は、ICのリード部分を反射率が高くリード幅が小さい
肩部、反射率の低い斜面部、反射率が高くリード幅が大
きい平坦部の3つの領域に分割しそれぞれの領域につい
てリードの異物検査を行うため、各領域に適した二値化
レベル、リード幅判定値、リード間判定値を設定するこ
とが可能であるため、リードと濃淡値の差が小さいリー
ド上の異物やリード間に付着した異物を検出する性能が
向上するという効果がある。
As described above, according to the apparatus and method for inspecting foreign matter of an IC according to the present invention, the lead portion of the IC has a shoulder portion having a high reflectance and a small lead width, a slope portion having a low reflectance, and a flat portion having a high reflectance and a large lead width. In order to perform a foreign matter inspection of the read in each of the three regions, it is possible to set a binarization level, a read width determination value, and a read interval determination value suitable for each region. This has the effect of improving the performance of detecting foreign matter on leads with small differences in shading value and foreign matter attached between leads.

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

【図1】本発明の一実施例のIC異物検査装置のブロッ
ク図である。
FIG. 1 is a block diagram of an IC particle inspection apparatus according to an embodiment of the present invention.

【図2】図1に示す記憶データdを示すパターン図であ
る。
FIG. 2 is a pattern diagram showing storage data d shown in FIG.

【図3】図1に示す二値化画像信号eのパターン図であ
る。
FIG. 3 is a pattern diagram of a binarized image signal e shown in FIG. 1;

【図4】図1に示す計測データfのグラフの図である。FIG. 4 is a graph of measurement data f shown in FIG. 1;

【図5】図1に示す投影二値化データgのグラフの図で
ある。
FIG. 5 is a graph of the projection binarized data g shown in FIG. 1;

【図6】図1に示す記憶データdをリード領域分割信号
hにより分割した画像の図である。
6 is a diagram of an image obtained by dividing the storage data d shown in FIG. 1 by a read area division signal h.

【図7】図1に示す分割領域異物検出手段10により図
6に示す分割された画像を二値化した画像の図である。
7 is a diagram of an image obtained by binarizing the divided image shown in FIG. 6 by the divided region foreign matter detection means 10 shown in FIG.

【図8】図7に示す分割二値化された画像をリード長手
方向に投影したデータの図である。
FIG. 8 is a diagram of data obtained by projecting the divided and binarized image shown in FIG. 7 in the longitudinal direction of a lead.

【図9】図8に示す投影したデータを二値化したデータ
の図である。
FIG. 9 is a diagram of data obtained by binarizing the projected data shown in FIG. 8;

【図10】従来のIC異物検査方法を示すブロック図で
ある。
FIG. 10 is a block diagram showing a conventional IC foreign matter inspection method.

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

1 カメラ 2 IC 3 AD変換手段 4 検査領域切り出し手段 5 画像記憶手段 6 第一の二値化手段 7 X投影手段 8 第二の二値化手段 9 リード領域分割手段 10 分割領域別異物検出手段 21 リード 22 モールド 23 平坦部 24 斜面部 25 肩部 26 平坦部領域 23’ 平坦部領域 24’ 斜面部領域 25’ 肩部領域 26 平坦部画像 27 斜面部画像 28 肩部画像 31 撮像素子 32 フレームメモリ 33 演算処理部 a アナログ画像データ b 濃淡画像データ c 検査領域濃淡画像データ d 記憶データ e 二値化画像データ f 計測データ g 投影二値化データ h リード領域分割信号 DESCRIPTION OF SYMBOLS 1 Camera 2 IC 3 A / D conversion means 4 Inspection area cutout means 5 Image storage means 6 First binarization means 7 X projection means 8 Second binarization means 9 Lead area division means 10 Foreign substance detection means by division area 21 Lead 22 Mold 23 Flat portion 24 Slope portion 25 Shoulder 26 Flat portion region 23 'Flat portion region 24' Slope portion region 25 'Shoulder region 26 Flat portion image 27 Slope portion image 28 Shoulder image 31 Image sensor 32 Frame memory 33 Arithmetic processing unit a Analog image data b Gray image data c Inspection area gray image data d Storage data e Binary image data f Measurement data g Projection binary data h Read area division signal

フロントページの続き (56)参考文献 特開 平4−310807(JP,A) 特開 平5−109848(JP,A) 特開 平2−44233(JP,A) 特開 平6−194134(JP,A) 特開 平5−272931(JP,A) 特開 平2−42344(JP,A) 特開 平4−178507(JP,A) 特開 平4−247635(JP,A) 特開 平5−256622(JP,A) 特開 平6−222012(JP,A)Continuation of front page (56) References JP-A-4-310807 (JP, A) JP-A-5-109848 (JP, A) JP-A-2-44233 (JP, A) JP-A-6-194134 (JP) JP-A-5-272931 (JP, A) JP-A-2-42344 (JP, A) JP-A-4-178507 (JP, A) JP-A-4-247635 (JP, A) 5-256622 (JP, A) JP-A-6-222012 (JP, A)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 検査対象のリードがモールド側の平坦な
部分の肩部、先端側の平坦部及びこれらの中間に位置す
る斜面部からなるICを撮像するカメラと、前記カメラ
からの画像データを入力しAD変換を行い濃淡画像デー
タを出力するAD変換手段と、前記濃淡画像データから
前記ICの1辺分のリード全てを含む範囲の検査領域濃
淡画像データを切り出す検査領域切り出し手段と、前記
検査領域濃淡画像データを前記カメラが受ける反射光量
が多い前記リードの平坦部及び肩部のみが”1”となる
ように二値化する第一の二値化手段と、前記第一の二値
化手段で二値化された二値化画像データを入力し前記リ
ードの長手方向と垂直なX方向の各画像素列の”1”の
画素数を計測したX投影データを出力する投影手段と、
前記検査領域濃淡画像データのうち前記X投影データが
所定の値より小さい部分で前記リードの中央部に対応す
る部分を斜面部画像とし前記所定の値より大きく前記I
Cのモールド側の部分に対応する部分を肩部画像とし前
記所定の値より大きく前記リードの先端側の部分に対応
する部分を平坦部画像とするリード領域分割手段と、前
記肩部画像、前記斜面部画像及び前記平坦部画像をそれ
ぞれについて個有の二値化レベルで二値化して”1”の
画素を前記リードの部分として識別し前記リードに付い
た異物を検出する分割領域別異物検出手段とを含むこと
を特徴とするICの異物検査装置。
1. A camera for imaging an IC in which a lead to be inspected comprises a shoulder portion of a flat portion on a mold side, a flat portion on a distal end side, and a slope portion located therebetween, and an image data from the camera. A / D conversion means for inputting and performing A / D conversion and outputting grayscale image data, inspection area cutout means for cutting out inspection area grayscale image data in a range including all leads of one side of the IC from the grayscale image data, First binarizing means for binarizing area grayscale image data so that only the flat portion and the shoulder portion of the lead having a large amount of reflected light received by the camera become "1"; and the first binarization. Projecting means for inputting the binarized image data binarized by the means and outputting X projection data obtained by measuring the number of "1" pixels in each image element sequence in the X direction perpendicular to the longitudinal direction of the lead;
In the inspection area gray image data, a portion corresponding to the central portion of the lead in a portion where the X projection data is smaller than a predetermined value is defined as a slope image and the I value is larger than the predetermined value.
A lead area dividing means for setting a portion corresponding to the mold side portion of C as a shoulder image and a portion larger than the predetermined value and corresponding to the tip end portion of the lead as a flat portion image; and the shoulder image, Foreign matter detection for each divided area for binarizing the slope part image and the flat part image with a unique binarization level to identify a pixel of "1" as a part of the lead and to detect foreign matter attached to the lead And a foreign matter inspection device for an IC.
【請求項2】 分割領域別異物検出手段は、肩部画像、
斜面部画像及び平坦部画像それぞれの二値化画像につい
てリードの長手方向と平行な方向の各画素列の”1”の
画素数を計測した投影データを求め、この投影データを
二値化したデータの”1”の部分又は”0”の部分の幅
が所定の上限値又は下限値で区切られる範囲に入ってい
るか否かを検出する請求項1記載のIC異物検査装置。
2. The method according to claim 1, further comprising:
Projection data is obtained by measuring the number of “1” pixels in each pixel row in a direction parallel to the longitudinal direction of the lead for each of the binary image of the slope portion image and the flat portion image, and binarized data of this projection data 2. The IC foreign matter inspection device according to claim 1, wherein whether the width of the "1" portion or the "0" portion falls within a range delimited by a predetermined upper limit or lower limit is detected.
【請求項3】 検査対象のリードがモールド側の平坦な
部分の肩部、先端側の平坦部及びこれらの中間に位置す
る斜面部からなるICをカメラで撮像しAD変換された
濃淡画像データから前記ICの1辺分のリード全てを含
む範囲の検査領域濃淡画像データを切り出し、前記検査
領域濃淡画像データを前記カメラが受ける反射光量がお
おい前記リードの平坦部及び肩部のみが”1”となるよ
うに二値化した二値化データの前記リードの長手方向と
垂直なX方向の各画素列の”1”の画素数を計測したX
投影データを所定の値で分け、前記検査領域濃淡画像デ
ータを分割した前記X投撮データが前記所定の値より小
さい部分で前記リードの中央部に対応する部分の斜面部
画像、前記所定の値より大きく前記ICのモールド側の
部分に対応する部分の肩部画像及び前記所定の値より大
きく前記リードの先端側の部分に対応する部分の平坦部
画像をそれぞれについて固有の二値化レベルで二値化し
て前記リードの部分を識別し前記リードに付いた異物を
検出することを特徴とするICの異物検査方法。
3. A grayscale image data obtained by imaging an IC including a shoulder of a flat portion on a mold side, a flat portion on a tip end side, and a slope portion located between the flat portion on the mold side by a camera and AD-converted. The inspection area grayscale image data in a range including all the leads for one side of the IC is cut out, and the inspection area grayscale image data is reflected by the camera with a large amount of reflected light, and only the flat portion and the shoulder portion of the lead are "1". X obtained by measuring the number of "1" pixels in each pixel column in the X direction perpendicular to the longitudinal direction of the lead of the binarized data binarized as follows.
The projection data is divided by a predetermined value, and the X-projection data obtained by dividing the inspection area grayscale image data is a portion corresponding to the center of the lead in a portion corresponding to the central portion of the lead in a portion smaller than the predetermined value. A shoulder image of a portion corresponding to the mold side portion of the IC and a flat portion image of a portion corresponding to the tip side portion of the lead larger than the predetermined value are respectively binarized at a unique binarization level. A method for inspecting foreign matter of an IC, comprising: digitizing a part of the lead to detect foreign matter attached to the lead;
【請求項4】 斜面部画像、肩部画像及び平坦部画像を
それぞれ固有の二値化レベルで二値化した二値化画像に
ついてリードの長手方向と平行な方向の各画素列の”
1”の画素数を計測した投影データを求め、この投影デ
ータを二値化したデータの”1”の部分又は”0”の部
分の幅が所定の上限値又は下限で区切られる範囲に入っ
ているか否かで前記リードに付いた異物を検出する請求
項3記載のICの異物検査方法。
4. A binarized image obtained by binarizing a slope image, a shoulder image, and a flat image with a unique binarization level, for each pixel column in a direction parallel to the longitudinal direction of the lead.
Projection data obtained by measuring the number of pixels of "1" is obtained, and the width of the "1" portion or "0" portion of the binarized data of the projection data falls within a range delimited by a predetermined upper limit or lower limit. 4. The method according to claim 3, wherein foreign matter attached to the lead is detected based on whether the lead is present or not.
JP2233494A 1994-02-21 1994-02-21 IC foreign matter inspection apparatus and method Expired - Fee Related JP2715897B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2233494A JP2715897B2 (en) 1994-02-21 1994-02-21 IC foreign matter inspection apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2233494A JP2715897B2 (en) 1994-02-21 1994-02-21 IC foreign matter inspection apparatus and method

Publications (2)

Publication Number Publication Date
JPH07229842A JPH07229842A (en) 1995-08-29
JP2715897B2 true JP2715897B2 (en) 1998-02-18

Family

ID=12079816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2233494A Expired - Fee Related JP2715897B2 (en) 1994-02-21 1994-02-21 IC foreign matter inspection apparatus and method

Country Status (1)

Country Link
JP (1) JP2715897B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3392227B2 (en) * 1994-08-19 2003-03-31 株式会社日立製作所 Appearance inspection method and apparatus for J-bend type semiconductor package
JP4743805B2 (en) 2000-04-06 2011-08-10 ルネサスエレクトロニクス株式会社 Appearance inspection method and apparatus
CN102967602B (en) * 2012-11-26 2014-12-03 成都先进功率半导体股份有限公司 Method for detecting welding property of lead foot of electronic element

Also Published As

Publication number Publication date
JPH07229842A (en) 1995-08-29

Similar Documents

Publication Publication Date Title
CA2053176C (en) Method of and apparatus for inspecting bottle or the like
JP3706051B2 (en) Pattern inspection apparatus and method
CA1175555A (en) Defect analysis system
KR100399695B1 (en) Appearance inspection method and appearance inspection apparatus having high inspection processing speed
JP2715897B2 (en) IC foreign matter inspection apparatus and method
US6597805B1 (en) Visual inspection method for electronic device, visual inspecting apparatus for electronic device, and record medium for recording program which causes computer to perform visual inspecting method for electronic device
JP2635758B2 (en) Defect identification device
JP2003156451A (en) Defect detecting device
JPH0629705B2 (en) Plate inspection method
JPH09287920A (en) Method for evaluating shape of object to be measured, shape of bubble inside glass and degree of defect of glass
JP3044961B2 (en) Circular container inner surface inspection device
JP3608923B2 (en) Meander follower for defect inspection apparatus and defect inspection apparatus
JP2500649B2 (en) IC foreign matter inspection device
JP2841961B2 (en) Visual recognition device
JPH06160289A (en) Inner face inspection equipment for circular vessel
JPS6347642A (en) Method for discriminating kind of flaw in surface flaw detection
JP2638121B2 (en) Surface defect inspection equipment
JP2710685B2 (en) Defect detection method by visual inspection
JP2005189167A (en) Bridge inspection device of cap
JPH09304286A (en) Apparatus and method for detection-processing of flaw
JPH05332950A (en) Defect inspection instrument
JP3043530B2 (en) Dot pattern inspection equipment
JPH0682724B2 (en) Wafer defect inspection system
JPH01214743A (en) Optical apparatus for checking
JP2701872B2 (en) Surface inspection system

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: 19971007

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

Free format text: PAYMENT UNTIL: 20071107

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091107

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20091107

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101107

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 16

LAPS Cancellation because of no payment of annual fees