JPH07229842A - Method and equipment for inspecting dust particle in ic - Google Patents

Method and equipment for inspecting dust particle in ic

Info

Publication number
JPH07229842A
JPH07229842A JP2233494A JP2233494A JPH07229842A JP H07229842 A JPH07229842 A JP H07229842A JP 2233494 A JP2233494 A JP 2233494A JP 2233494 A JP2233494 A JP 2233494A JP H07229842 A JPH07229842 A JP H07229842A
Authority
JP
Japan
Prior art keywords
lead
image
data
binarized
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2233494A
Other languages
Japanese (ja)
Other versions
JP2715897B2 (en
Inventor
Yoshihiro Doukawa
義博 銅川
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

Abstract

PURPOSE:To detect a dust particle having small difference in gray level from a lead or a dust particle present between the leads by binarizing the images at the shoulder part, inclining face part, and flat part of a lead to be inspected at binary levels inherent thereto. CONSTITUTION:A camera 1 picks up the image at the part of a lead 21 in an IC 2 to be inspected and outputs an image data (a). A binarizing means 6 converts the gray image data into a binary image data (e) where the inclining face part 24 of a lead 21 has '0' level and the flat part 23 has '1' level. An X-ray projection means 7 measures the number of pixels of '1' level in the data (e) for the pixel rows in the longitudinal and vertical directions of the lead 21. A lead area division means 9 delivers a signal (h) for dividing the lead 21 into three regions of shoulder part 25, inclining face part 24 and flat part 23. A detecting means 10 divides the image data for one side based on the division signal (h). Binarization is performed with inherent binarization level for each area and a pixel of '1' is recognized as the lead 21 thus detecting 10 a dust particle.

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 IC foreign substance inspection apparatus and method for detecting foreign substances such as resin scraps, fiber scraps, and solder scraps 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 attached to an IC, there is an "IC lead detection method" disclosed in Japanese Patent Laid-Open No. 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. This conventional inspection method uses I
The image pickup device 31 for inputting the image of C, the frame memory 32 for storing the image input from the image pickup device 31, and the image data from the frame memory 32 are subjected to arithmetic processing and IC
When it is detected that foreign matter is attached to the lead of I
It is composed of an arithmetic processing unit 33 that outputs a C reject signal.

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

【0005】[0005]

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

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

【0007】[0007]

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

【0008】本発明のICの異物検査方法は、検査対象
のリードがモールド側の平坦な部分の肩部、先端側の平
坦部及びこれらの中間に位置する斜面部からなるICを
カメラで撮像しAD変換された濃淡画像データから前記
ICの1辺分のリード全てを含む範囲の検査領域濃淡画
像データを切り出し、前記検査領域濃淡画像データを前
記カメラが受ける反射光量がおおい前記リードの平坦部
及び肩部のみが”1”となるように二値化した二値化デ
ータの前記リードの長手方向と垂直なX方向の各画素列
の”1”の画素数を計測したX投影データを所定の値で
分け、前記検査領域濃淡画像データを分割した前記X投
撮データが前記所定の値より小さい部分で前記リードの
中央部に対応する部分の斜面部画像、前記所定の値より
大きく前記ICのモールド側の部分に対応する部分の肩
部画像及び前記所定の値より大きく前記リードの先端側
の部分に対応する部分の平坦部画像をそれぞれについて
固有の二値化レベルで二値化して前記リードの部分を識
別し前記リードに付いた異物を検出することを特徴とす
る。
In the IC foreign matter inspection method of the present invention, the IC to be inspected is imaged by a camera, in which the lead to be inspected is composed of a shoulder portion of a flat portion on the mold side, a flat portion on the tip side, and a slope portion located in the middle thereof. Inspection area grayscale image data in a range including all leads for one side of the IC is cut out from the AD-converted grayscale image data, and the amount of reflected light received by the camera for the inspection area grayscale image data is large and a flat portion of the lead and The 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 shoulder portion becomes "1" is determined. A portion of the slope image of the 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 by dividing the inspection area grayscale image data is smaller than the predetermined value, and the slope image of the IC is larger than the predetermined value. The lead image is obtained by binarizing the shoulder image of the portion corresponding to the field side portion and the flat portion image of the portion corresponding to the tip end side portion of the lead that is larger than the predetermined value with a unique binarization level for each. Is detected, and the foreign matter attached to the lead is detected.

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now 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 an 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 the figure, a camera 1 is an IC to be inspected.
The portion of the lead 21 of 2 is imaged and the 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 with illumination (not shown) on a ring having the camera 1 as a center. The AD conversion means 3 inputs the analog image data a, performs AD conversion, and outputs grayscale image data b. The inspection area cutout unit 4 cuts out the grayscale image data of a portion including all the leads 21 for one side of the IC 2 from the grayscale image data b in a preset range,
The inspection area grayscale 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 portion 24 of the lead 21 in which the grayscale image data for one side based on the storage data d is preset to “0”, and the flat portion 2 of the lead 21.
3 is converted into binary image data e by the first binarization level that makes "1" and output. The X projection means 7 measures the number of pixels of "1" of the binarized image data e for each image element row in the direction perpendicular to the longitudinal direction of the lead (hereinafter referred to as the X direction), and outputs the 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 lead area dividing means 9 uses "0" and "1" of the projection binarized data g.
Using the continuous region of the lead 21, the lead 21 is moved from the mold 22 toward the tip of the lead 21, the shoulder portion 25, the slope portion 24, and the flat portion 2.
A lead area division signal h for dividing into three areas of 3 is output. The divided area foreign matter detection unit 10 divides the grayscale image data for one side of the storage data d by the read area division signal h, and outputs a binarization level, a lead width determination value, and an inter-lead determination value suitable for each area. Foreign matter determination is performed using this. The foreign matter detection method is binarized into binarized data for each area and "1"
The number of consecutive pixels of is compared with the upper limit value and the lower limit value of the read width judgment value, and the number of consecutive pixels of "0" is compared with the upper limit value and the lower limit value of the inter-read judgment value, and the number of consecutive pixels outside the judgment value range 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. 2 to 9 are diagrams for explaining the principle of lead area division in the IC foreign matter inspection method of this 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 in which the grayscale image data c of the lead 21 for one side of the IC 2 is stored. FIG. 3 is a pattern diagram of the binarized image signal e, and the hatched portion is the region of “1” after binarization. Since the shoulder portion 25 of the lead 21 and the flat portion 23 have high reflectance, the first binarizing means 6 forms an area of "1". FIG. 4 is a graph of the measurement data f output from the X projection means 7, and the vertical axis shows the position in the longitudinal direction of the lead 21 in positional correspondence with FIG. The horizontal axis represents the measurement frequency, and the regions 23 'and 25' corresponding to the flat portion 23 and the shoulder portion 25 of the lead 21 have a larger value than the region 24 'to be attached to the slope portion 24. There is. The value of the measurement data f corresponding to the slope having a small reflectance is "0" or a value close to "0". FIG. 5 shows a graph of the projection binarized data g, and the regions H1 and H in which "1" of the projection binarized data are continuous.
3 corresponds to the flat portion 23 and the shoulder portion 25, respectively, and the area H
A continuous region H2 of "0" between 1 and H3 has a slope 24.
Corresponding to. Therefore, in the lead area dividing means 9, the area H1 in which "1" and "0" of the projection binarized data g are continuous,
A lead area division signal h for dividing the longitudinal direction of the lead in accordance with H2 and H3 is output. FIG. 6 is an image obtained by dividing the storage data d input to the divided area foreign matter detection means 10 by the read area division signal h. The flat portion image 26, the slope portion image 27, and the shoulder portion image 28 shown in FIG. 6 respectively correspond to the regions H1, H2, and H3 shown 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 area so that the lead portion of each area becomes "1". For the flat part image 26 and the shoulder part image 28 corresponding to the flat part 23 and the shoulder part 25 having a high reflectance, a binary value larger than the binarization level of the slope part image 27 corresponding to the slope part 24 having a low reflectivity. The binarization level is set so that the lead part of the binarized image becomes "1" not only in the flat part image 26 and the shoulder part image 28 but also in the slope part image 27. In addition, in the flat portion image 26 and the shoulder portion image 28, if a small binarization level is set in accordance with the slope portion image 27, the foreign matter attached to the shoulder portion 25 and the flat portion 23 is reflected by the small binarization level. Only the foreign matter having a large difference between the lead and the reflectance can be detected. However, the flat portion image 2
6. By setting the binarization level of the shoulder image 28 higher than that of the slope image 27 and setting the binarization level of the flat image 26 and the shoulder image 28 to a value as large as possible, the flat portion 23 Also, the shoulder 25 can detect foreign matter having a small difference in reflectance from the lead.

【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 divided binarized image "1" shown in FIG. 7 in the direction parallel to the longitudinal direction of the lead. 8 (a)-
(C) is a graph for the binarized image of each of the flat portion image 26, the slope portion image 27, and the shoulder portion image 28. The horizontal axis of FIG. 8 positionally corresponds to FIG. 7, and shows 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 value larger than that between the leads. The value of the measurement data corresponding to the lead is “0” or a value close to “0”. FIG. 9 (a)
8A to 8C are graphs in which the measurement data shown in FIGS. 8A to 8C are binarized so that “1” is on the lead and “0” is between the leads. Foreign matter detection is "1"
The number of consecutive pixels of “0” is compared with the performance value and the lower limit value of the lead width determination set for each area, and the number of consecutive pixels of “0” is compared with the upper limit value and the lower limit value of the inter-read determination value set for each area. However, if there is a continuous number outside the range of the determination value, it is a method of determining 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 images of the foreign matters 11 and 12 shown in FIG. 2 are converted into the foreign matter 1 shown in FIG.
If the binarized images 1 and 12 are obtained, the graphs of the projection measurement data shown in FIG. 8 are deformed as shown by the waveforms 13 and 14, and the waveform 15 of the graph of FIG. ,
As shown in 16, the number of consecutive pixels in the "1" portion becomes abnormally small or large. Therefore, these consecutive pixel numbers are compared with the upper limit value and the lower limit value, and it is detected that they are out of the predetermined range. Then, it is determined that foreign matter is attached. The width of the flat portion 23 of the lead is narrower than the width of the shoulder portion 25, but the upper and lower limits of the lead width determination are set to the flat portion image 26, the slope portion image 27, or the shoulder portion image 28 for each area. By setting to, it is possible to determine that a foreign matter smaller than the lead width of the shoulder 25 adheres to the flat portion 23 as a foreign matter.

【0018】[0018]

【発明の効果】本発明のICの異物検査装置及び方法
は、ICのリード部分を反射率が高くリード幅が小さい
肩部、反射率の低い斜面部、反射率が高くリード幅が大
きい平坦部の3つの領域に分割しそれぞれの領域につい
てリードの異物検査を行うため、各領域に適した二値化
レベル、リード幅判定値、リード間判定値を設定するこ
とが可能であるため、リードと濃淡値の差が小さいリー
ド上の異物やリード間に付着した異物を検出する性能が
向上するという効果がある。
According to the IC foreign matter inspection apparatus and method of the present invention, the IC lead portion 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. Since the lead foreign matter inspection is carried out for each of the three areas, the binarization level, lead width determination value, and lead-to-lead determination value suitable for each area can be set. This has the effect of improving the performance of detecting foreign matter on the leads with a small difference in gray value or foreign matter adhering between the leads.

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

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

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

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

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

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

【図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 area foreign matter detection unit 10 shown in FIG.

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

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

【図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 AD conversion means 4 inspection area cutting means 5 image storage means 6 first binarization means 7 X projection means 8 second binarization means 9 lead area division means 10 foreign matter detection means for each divided area 21 Lead 22 Mold 23 Flat part 24 Slope part 25 Shoulder part 26 Flat part region 23 'Flat part region 24' Slope part region 25 'Shoulder region 26 Flat part image 27 Slope part image 28 Shoulder image 31 Image sensor 32 Frame memory 33 Arithmetic processing unit a Analog image data b Grayscale image data c Inspection area grayscale image data d Storage data e Binarized image data f Measurement data g Projected binarized data h Lead area division signal

Claims (4)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0861931A (en) * 1994-08-19 1996-03-08 Hitachi Ltd Appearance inspecting method for j-bend type semiconductor package and device therefor
US6741734B2 (en) 2000-04-06 2004-05-25 Nec Corporation Appearance inspection method and appearance inspection apparatus having high inspection processing speed
CN102967602A (en) * 2012-11-26 2013-03-13 成都先进功率半导体股份有限公司 Method for detecting welding property of lead foot of electronic element

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0861931A (en) * 1994-08-19 1996-03-08 Hitachi Ltd Appearance inspecting method for j-bend type semiconductor package and device therefor
US6741734B2 (en) 2000-04-06 2004-05-25 Nec Corporation Appearance inspection method and appearance inspection apparatus having high inspection processing speed
CN102967602A (en) * 2012-11-26 2013-03-13 成都先进功率半导体股份有限公司 Method for detecting welding property of lead foot of electronic element

Also Published As

Publication number Publication date
JP2715897B2 (en) 1998-02-18

Similar Documents

Publication Publication Date Title
EP0483966B1 (en) Method of and apparatus for inspecting a transparent or translucent article such as a bottle
US20060222232A1 (en) Appearance inspection apparatus and appearance inspection method
KR100399695B1 (en) Appearance inspection method and appearance inspection apparatus having high inspection processing speed
JP2005121546A (en) Defect inspection method
EP0974832B1 (en) Apparatus and method for detecting light or dark blemishes
JPH07229842A (en) Method and equipment for inspecting dust particle in ic
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
JP2500649B2 (en) IC foreign matter inspection device
JP3202330B2 (en) Defect inspection equipment
JPH1114317A (en) Appearance inspection method and device
JP2765338B2 (en) Chip component mounting inspection equipment
JP3479528B2 (en) Pattern inspection method and apparatus
JP2701872B2 (en) Surface inspection system
JP2503940B2 (en) IC foreign matter inspection device
JP3757471B2 (en) Wire bonding inspection method
JPH01214743A (en) Optical apparatus for checking
JPH0682724B2 (en) Wafer defect inspection system
JP4457194B2 (en) Defect inspection equipment
JPS58744A (en) Inspecting method of bottle or the like
JPH0436643A (en) Tablet inspection device
JPS6310277A (en) Picture quality inspection device
JP2768368B2 (en) Pattern inspection equipment
JPS6225243A (en) Defect detecting method
JPH0619252B2 (en) Soldering inspection device for printed wiring boards
JPH09179979A (en) Defect detecting 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: 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