JPH11177009A - Method for checking lead shape and device therefor - Google Patents

Method for checking lead shape and device therefor

Info

Publication number
JPH11177009A
JPH11177009A JP9346790A JP34679097A JPH11177009A JP H11177009 A JPH11177009 A JP H11177009A JP 9346790 A JP9346790 A JP 9346790A JP 34679097 A JP34679097 A JP 34679097A JP H11177009 A JPH11177009 A JP H11177009A
Authority
JP
Japan
Prior art keywords
lead
area
package
shape
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.)
Abandoned
Application number
JP9346790A
Other languages
Japanese (ja)
Inventor
Shinji Yomoto
眞次 四本
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP9346790A priority Critical patent/JPH11177009A/en
Publication of JPH11177009A publication Critical patent/JPH11177009A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Image Processing (AREA)
  • Lead Frames For Integrated Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and device for checking the lead shape for precisely detecting deformation of a lead, and for detecting foreign matters attached on the lead. SOLUTION: A picture data of an IC package P in which plural leads are projected from the side are obtained by a camera 2, and the picture data of the IC package P are digitally processed so that an area in which the reflected light quantity of the IC package P is large can be extracted. In this case, whether or not the arrangement of each area is made to correspond to the feature of normal lead shape, and the corresponding area is recognized as a lead. Then, the flatness of the lead is detected based on the position of each area recognized as the lead.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、半導体装置のリー
ド形状の検査方法および検査装置に関する。
The present invention relates to a method and an apparatus for inspecting a lead shape of a semiconductor device.

【0002】[0002]

【従来の技術】通常、半導体装置の製造工程において
は、組立が完了したICパッケージのリードの形状検査
が行なわれる。近年、リード形状の検査においては、高
精度なリード形状に対する要求から、リードを撮像装置
で撮像し、この撮像されたリードの画像情報に基づいて
リード形状の良品・不良品の判別を行なう方法が急速に
採用されてきている。このリード形状検査の検査項目
は、たとえば、以下の項目が挙げられる。 ・リードピッチ検査 ・リード平坦度検査 ・リード部異物付着検査
2. Description of the Related Art Normally, in the process of manufacturing a semiconductor device, the shape of leads of an assembled IC package is inspected. In recent years, in the inspection of lead shapes, there has been a method in which a lead is imaged by an image pickup device and a non-defective / defective product of the lead shape is determined based on the image information of the imaged lead because of a demand for a highly accurate lead shape. It is being adopted rapidly. The inspection items of the lead shape inspection include, for example, the following items.・ Lead pitch inspection ・ Lead flatness inspection ・ Lead foreign matter adhesion inspection

【0003】リードピッチ検査は、各リード間の間隔を
検査する。リード平坦度検査は、リード接地面に対する
リードの浮きおよび沈みを検査する。リード部異物付着
検査は、半田、樹脂、その他異物がリードに付着してい
ないか否かを検査する。これらの検査は、上述したよう
に、撮像装置によってICパッケージを撮像し、撮像さ
れたリードの画像情報を所定の手順で処理することによ
って行なう。
In the lead pitch inspection, the interval between each lead is inspected. The lead flatness inspection checks whether the lead floats and sinks with respect to the lead ground plane. In the lead portion foreign matter adhesion inspection, it is inspected whether solder, resin, or other foreign matter has adhered to the leads. As described above, these inspections are performed by imaging the IC package with the imaging device and processing the image information of the imaged leads in a predetermined procedure.

【0004】[0004]

【発明が解決しようとする課題】リードピッチ検査は、
ICパッケージの上方から撮像装置によって各リードを
撮像し、この撮像データから各リードの間隔を直接識別
することができるため、特に技術的問題はない。リード
平坦度検査はICパッケージの上方からの各リードの先
端部の位置の計測結果に基づいて各リードの平坦度を直
接測定することはできない。このため、リード部の平坦
度の検査を半導体装置の上方から画像処理を用いて検査
する場合、リード先端部の長さの差または、ICパッケ
ージのモールド部からの長さを計測する。そして、これ
らの計測値を先端長さと実際の平坦度との関係式を用い
て平坦度に換算して検査をおこなっている。しかしなが
ら、リードの変形の種類によってはリード先端部に差が
ない場合や製品寸法の公差が大きく基準値が設定しにく
い場合があり数値的な計測では検査できない場合があっ
た。また、リード部異物付着検査は、リードの画像デー
タに基づいてパターンマッチング処理等で検出される。
しかしながら、パターンマッチング処理は、長時間を要
し、プログラムも複雑となるため実用に適さなかった。
The lead pitch inspection is performed by
Since each lead is imaged by an imaging device from above the IC package and the interval between each lead can be directly identified from the imaged data, there is no particular technical problem. In the lead flatness inspection, the flatness of each lead cannot be directly measured based on the measurement result of the position of the tip of each lead from above the IC package. For this reason, when inspecting the flatness of the lead portion using image processing from above the semiconductor device, the difference in the length of the lead end portion or the length from the mold portion of the IC package is measured. The measured values are converted into flatness using a relational expression between the tip length and the actual flatness, and the inspection is performed. However, depending on the type of lead deformation, there are cases where there is no difference between the lead end portions, where the tolerance of the product dimensions is large and it is difficult to set a reference value, and there are cases where inspection cannot be performed by numerical measurement. Further, the lead portion foreign matter adhesion inspection is detected by a pattern matching process or the like based on the image data of the lead.
However, the pattern matching process is not suitable for practical use because it requires a long time and a complicated program.

【0005】本発明は上述の問題に鑑みてなされたもの
であって、リードの変形を精度良く検出可能で、また、
リードに付着した異物の検出が可能なリード形状の検査
方法および検査装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and can detect lead deformation with high accuracy.
An object of the present invention is to provide a lead shape inspection method and an inspection device capable of detecting a foreign substance attached to a lead.

【0006】[0006]

【課題を解決するための手段】本発明は、撮像手段によ
って側部から複数のリードが突出したICパッケージの
画像データを取得し、当該ICパッケージの画像データ
から前記ICパッケージの反射光量の多い領域を抽出す
るステップと、前記反射光量の多い領域の配置が正常な
リード形状の特徴に対応しているか否かを判断し、対応
している領域をリードとして認識するステップと、前記
リードとして認識された各領域の位置に基づいて、リー
ドの平坦度を検出するステップとを有する。
According to the present invention, an image pickup device acquires image data of an IC package having a plurality of leads protruding from a side portion, and uses the image data of the IC package to obtain an area having a large amount of reflected light of the IC package. Extracting, and judging whether or not the arrangement of the area having a large amount of reflected light corresponds to the characteristic of a normal lead shape, and recognizing the corresponding area as a lead. Detecting the flatness of the leads based on the positions of the respective regions.

【0007】本発明では、抽出された領域の配置が正常
なリード形状の特徴に対応しているか否かを判断してリ
ードを認識するため、リード形状の変形を単に寸法から
ではなく立体的に検出することができる。そして、リー
ドを認識するステップは、大きなリード形状の変形を検
出する大まかなフィルタ的な役割を果たし、次のリード
の平坦度を検出するステップの検出精度を向上させる。
In the present invention, the lead is recognized by judging whether or not the arrangement of the extracted area corresponds to the characteristic of the normal lead shape. Can be detected. Then, the step of recognizing the lead serves as a rough filter for detecting large deformation of the lead shape, and improves the detection accuracy of the next step of detecting the flatness of the lead.

【0008】前記リードの平坦度を検出するステップ
は、前記リードとして認識された各領域の位置に基づい
て各々のリード先端位置を検出するステップと、ICパ
ッケージの一辺に設けられた各リードの先端位置と対辺
に設けられた各リードの先端位置とを比較し、検出され
たリード先端位置の差が所定の範囲内に有るか否かを判
断するステップとを有する。
[0008] The step of detecting the flatness of the lead includes the steps of detecting the position of the tip of each lead based on the position of each area recognized as the lead, and the step of detecting the tip of each lead provided on one side of the IC package. Comparing the position with the leading end position of each lead provided on the opposite side to determine whether or not the difference between the detected leading end positions is within a predetermined range.

【0009】前記リードの平坦度を検出するステップ
は、隣合うリード間のリード先端位置の差を検出し、当
該リード先端位置の差が所定の範囲内に有るか否かを判
断するステップをさらに有する。
The step of detecting the flatness of the lead further includes the step of detecting a difference between the positions of the tips of the leads between adjacent leads and determining whether or not the difference between the positions of the tips of the leads is within a predetermined range. Have.

【0010】本発明は、リードとして認識された前記各
々領域の面積に基づいてリードに異物が付着しているか
否を判断するステップをさらに有する。
The present invention further comprises the step of judging whether or not foreign matter is attached to the lead based on the area of each of the regions recognized as the lead.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。図1は、本発明に係るリー
ド形状の検査装置の一実施形態を示す構成図である。図
1に示す検査装置1は、カメラ2と、照明装置4と、画
像データ処理装置6とを有する。照明装置4は、ICパ
ッケージPに光を照射する。照明装置4を用いるのは、
ICパッケージPのリードLを精度良く識別するには、
ICパッケージPを適度の明るさに保つことが必要だか
らである。ICパッケージPは、側部に複数のリードL
が形成されており、このリードLは、たとえば、アルミ
ニウム等の材料から形成されており、白色系の色を有し
ている。また、ICパッケージP部は例えば黒色などの
色を有するモールド樹脂からなる。このため、ICパッ
ケージPに光を当てると、リードLからの反射光量が多
く、これによってリードLを識別することができる。カ
メラ2は、ICパッケージPの上方に配置され、ICパ
ッケージPからの光を受けてこれを電気信号に変換す
る。画像データ処理装置6は、カメラ2からの電気信号
に基づく光量を2値あるいは多値化し、このディジタル
化された信号に基づいて各種処理を行なう。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram showing an embodiment of a lead shape inspection apparatus according to the present invention. The inspection device 1 illustrated in FIG. 1 includes a camera 2, an illumination device 4, and an image data processing device 6. The lighting device 4 irradiates the IC package P with light. The use of the lighting device 4
In order to accurately identify the lead L of the IC package P,
This is because it is necessary to keep the IC package P at an appropriate brightness. The IC package P has a plurality of leads L on its side.
The lead L is made of a material such as aluminum, for example, and has a white color. The IC package P portion is made of a mold resin having a color such as black. Therefore, when light is applied to the IC package P, the amount of light reflected from the leads L is large, and thus the leads L can be identified. The camera 2 is arranged above the IC package P, receives light from the IC package P, and converts the light into an electric signal. The image data processing device 6 binarizes or multi-values the light amount based on the electric signal from the camera 2 and performs various processes based on the digitized signal.

【0012】次いで、上記構成の検査装置によって検査
されるICパッケージPの一例について説明する。図2
は、いわゆるガルウィング形状のリードを有するICパ
ッケージPの一部断面図である。図2において、ICパ
ッケージPの上方から照明すると、ガルウィング形状の
リードLの肩口部Laおよび先端部Lbの領域R1およ
びR2からの反射光量が多くなる。したがって、カメラ
2でICパッケージPを撮像し、その画像データをディ
ジタル処理すると、ICパッケージPのリードLが正常
な形状の場合には、ICパッケージPの画像データは図
3に示すようになる。図3における画像は、ICパッケ
ージPのリードLの肩口部Laに対応する島状の領域X
aと先端部Lbに対応する領域Xbとが各リードLに対
応して配列された形状となっている。
Next, an example of the IC package P inspected by the inspection apparatus having the above configuration will be described. FIG.
Is a partial cross-sectional view of an IC package P having so-called gull-wing-shaped leads. In FIG. 2, when the illumination is performed from above the IC package P, the amount of reflected light from the regions R1 and R2 of the shoulder opening La and the tip end Lb of the gull wing-shaped lead L increases. Accordingly, when the camera 2 captures an image of the IC package P and digitally processes the image data, when the leads L of the IC package P have a normal shape, the image data of the IC package P becomes as shown in FIG. The image in FIG. 3 is an island-shaped region X corresponding to the shoulder opening La of the lead L of the IC package P.
a and a region Xb corresponding to the tip Lb are arranged in a shape corresponding to each lead L.

【0013】ここで、上述のICパッケージの検査の項
目としては、たとえば、リードピッチ検査、リード平坦
度検査およびリード部異物付着検査がある。リードピッ
チ検査は、図4に示すように、各リードの配列方向の島
の間隔を検出し、この間隔が所定の範囲外である場合に
は、ICパッケージのリードが不良と判断する。具体的
には、画像データ処理装置6において、図3に示した各
領域Xa,Xb間の距離を検出することにより行なうこ
とができる。リード部異物付着検査は、半田、樹脂、そ
の他異物がリードLに付着していないか否かを検査す
る。リード平坦度検査は、図4(b)に示すように、リ
ード接地面に対するリードLの浮きおよび沈みを検査す
る。
The items of the IC package inspection described above include, for example, a lead pitch inspection, a lead flatness inspection, and a lead foreign matter adhesion inspection. In the lead pitch inspection, as shown in FIG. 4, the distance between islands in the arrangement direction of each lead is detected, and if this distance is out of a predetermined range, the lead of the IC package is determined to be defective. Specifically, the image data processing device 6 can detect the distance between the regions Xa and Xb shown in FIG. In the lead portion foreign matter adhesion inspection, it is inspected whether solder, resin, or other foreign matter has adhered to the leads L. In the lead flatness inspection, as shown in FIG. 4B, floating and sinking of the lead L with respect to the lead ground plane are inspected.

【0014】リード平坦度検査における、浮き、沈みに
関するリードLの変形は、たとえば、図5に示すよう
に、複数のリードのうちのいずれかに浮き(沈み)が生
じる場合が考えられる。この場合には、浮きの生じたリ
ードLと他のリードとの先端位置の差δが発生する。し
たがって、リードLの先端位置を検出すればこのような
変形を検出することができる。
In the lead flatness inspection, deformation of the lead L related to lifting and sinking may be caused, for example, as shown in FIG. 5 by lifting (sinking) of one of the plurality of leads. In this case, a difference δ occurs between the position of the leading end of the lifted lead L and the other lead. Therefore, such deformation can be detected by detecting the tip position of the lead L.

【0015】また、図6または図7に示すように、IC
パッケージの一辺の各リードLに同様に浮きまたは沈み
が生じる場合が考えられる。この場合には、ICパッケ
ージの一辺の各リードLの先端位置間の差δは殆ど生じ
ない。したがって、各リードLの先端位置を比較したの
では、リードの変形を検出することはできない。この場
合に、各リードLの先端位置と図8に示すような、IC
パッケージPの設計時の基準寸法とを比較することも考
えられる。しかし、実際には、ICパッケージPの設計
時の基準寸法には寸法公差が含まれているため(図8で
は100μm)、通常この寸法公差が大きく、リードの
変形によって生じる先端位置の変化よりも大きい。この
ため、ICパッケージPの設計時の基準寸法と検出した
リードLの先端位置とを比較しても、リードLに生じる
浮きや沈みを正確には検出できない。
As shown in FIG. 6 or FIG.
It is conceivable that each lead L on one side of the package may similarly float or sink. In this case, the difference δ between the tip positions of the leads L on one side of the IC package hardly occurs. Therefore, the deformation of the lead cannot be detected by comparing the tip positions of the leads L. In this case, the tip position of each lead L and the IC as shown in FIG.
It is also conceivable to compare the package P with reference dimensions at the time of design. However, in practice, since the reference dimension at the time of designing the IC package P includes a dimensional tolerance (100 μm in FIG. 8), this dimensional tolerance is generally large, and is larger than the change in the tip position caused by the deformation of the lead. large. For this reason, even if the reference dimension at the time of designing the IC package P is compared with the detected tip position of the lead L, it is not possible to accurately detect the floating or sinking of the lead L.

【0016】次いで、上記構成の検査装置による処理の
一例について図12に示すフローチャートに基づいて説
明する。まず、図9(a)に示すように、所定の範囲M
内でカメラ2によってICパッケージPを撮像する。得
られた画像データをデジタル処理した場合には、たとえ
ば、図9(b)に示すような画像データが得られる。す
なわち、図9(b)に示す画像データでは、所定範囲M
内で反射光量の多い、リードL(領域Xa,Xb)、そ
の他の反射物からなる各領域が抽出される(ステップS
1)。
Next, an example of processing by the inspection apparatus having the above configuration will be described with reference to a flowchart shown in FIG. First, as shown in FIG.
The camera 2 captures an image of the IC package P inside. When the obtained image data is digitally processed, for example, image data as shown in FIG. 9B is obtained. That is, in the image data shown in FIG.
The lead L (areas Xa and Xb), which has a large amount of reflected light, and other areas composed of other reflective objects are extracted (step S).
1).

【0017】次いで、抽出された各領域の面積の平均値
SM を算出する(ステップS2)。各領域の面積の平均
値SM は、各領域の面積の総和を算出し、これを各領域
の数で除算することにより求めることができる。
Next, an average value SM of the areas of the extracted regions is calculated (step S2). The average value SM of the area of each area can be obtained by calculating the sum of the areas of each area and dividing the sum by the number of each area.

【0018】次いで、各領域の面積の平均値SM から所
定の範囲に収まる領域のみを選別する(ステップS
3)。すなわち、平均値SM に対して一定の上下限の範
囲を超えるものを除去する。また、図9(b)に示すよ
うに、X,Y方向に特に大きな長さを持つ領域Xc,X
dも除去する。この結果、図10に示すような、画像デ
ータが得られる。この状態で、上述したリードピッチ検
査を行なうことができる。具体的には、各領域Xa,X
b間の距離を検出することにより行なうことができる。
Next, only the areas falling within a predetermined range are selected from the average value SM of the areas of the respective areas (step S).
3). That is, those exceeding a certain upper and lower limit range with respect to the average value SM are removed. Further, as shown in FIG. 9B, regions Xc and X having particularly large lengths in the X and Y directions are provided.
d is also removed. As a result, image data as shown in FIG. 10 is obtained. In this state, the above-described lead pitch inspection can be performed. Specifically, each area Xa, X
This can be done by detecting the distance between b.

【0019】ここで、図10に示す画像データは、リー
ド形状が正常な場合のデータであり、リードLの肩口部
Laおよび先端部Lbに対応する各領域Xa,Xbが所
定の間隔で配列された状態となっている。一方、ICパ
ッケージPのリードLに、たとえば、図5〜図7に示し
たような形状不良が存在した場合には、図10に示すよ
うな、各領域Xa,Xbが所定の間隔で配列された状態
の画像データは得られない。たとえば、図6に示した、
ICパッケージPの一辺の各リードLに同様に浮きが生
じていた場合には、図11に示すように、他の3辺には
各領域Xa,Xbが所定の間隔で配列された状態となる
が、当該一辺には単一の領域Xeが配列された状態とな
る。
Here, the image data shown in FIG. 10 is data in the case where the lead shape is normal, and the areas Xa and Xb corresponding to the shoulder opening La and the tip Lb of the lead L are arranged at a predetermined interval. It is in a state of being left. On the other hand, when the lead L of the IC package P has a shape defect as shown in FIGS. 5 to 7, for example, the regions Xa and Xb are arranged at predetermined intervals as shown in FIG. Image data in the locked state cannot be obtained. For example, as shown in FIG.
If the leads L on one side of the IC package P are similarly lifted, as shown in FIG. 11, the regions Xa and Xb are arranged at predetermined intervals on the other three sides. However, a single area Xe is arranged on the one side.

【0020】このことから、各領域Xa,Xbが所定の
間隔で配列された状態、すなわち、ガルウイング形状の
リードLの形状の特徴に応じて領域Xa,Xbが形成さ
れているかを判断する(ステップS4)。領域Xa,X
bが形成されている場合には、当該領域Xa,Xbをリ
ードとして認識する(ステップS5)。
From this, it is determined whether the regions Xa and Xb are arranged at predetermined intervals, that is, whether the regions Xa and Xb are formed according to the characteristics of the gull-wing-shaped lead L (step). S4). Area Xa, X
If b is formed, the areas Xa and Xb are recognized as a read (step S5).

【0021】また、たとえば、図11に示すように、領
域Xa,Xbが形成されていない場合には、当該ICパ
ッケージPを不良品と判断する(ステップS6)。この
場合には、たとえば、ICパッケージPのリードLの数
Nを予め登録しておき、実際に検出されたリードの数は
この数Nよりも少ないため、容易に判断することができ
る。
For example, as shown in FIG. 11, when the regions Xa and Xb are not formed, the IC package P is determined to be defective (step S6). In this case, for example, the number N of leads L of the IC package P is registered in advance, and the number of leads actually detected is smaller than this number N, so that it is possible to easily determine.

【0022】ここまでのステップによって、リードLに
図5〜図7に示したような、一辺のすべてのリードが浮
いた状態や大きく浮きや沈みが存在する状態のICパッ
ケージの選別が可能になる。すなわち、ここまでのステ
ップは、この後に続く検査工程の準備的な役割を果た
す。
By the steps up to this point, it is possible to select an IC package in a state where all the leads on one side are floating or a state where there is a large floating or sinking as shown in FIGS. . That is, the steps so far play a preparatory role in the subsequent inspection process.

【0023】次いで、リード認識されたICパッケージ
のリードLの先端位置の検出を行なう(ステップS
7)。リードLの先端位置は、リードLの先端部Lbに
対応する領域Xbの先端位置におけるX,Y方向の座標
を検出することにより検出する。
Next, the position of the leading end of the lead L of the IC package whose lead has been recognized is detected (step S).
7). The leading end position of the lead L is detected by detecting the coordinates in the X and Y directions at the leading end position of the area Xb corresponding to the leading end Lb of the lead L.

【0024】次いで、リードLの先端位置を隣り合うリ
ードL間で比較する(ステップS8)。上述したのステ
ップでは、浮きや沈みが大きく発生したリードの検出が
可能であった。ここでのステップでは、リードLの先端
位置を隣り合うリードL間で比較することにより、両者
の先端位置の差が所定の範囲を越える場合には、当該I
CパッケージPはリード形状が不良であると判断する。
すなわち、隣り合うリードLの先端位置間で微小な差が
存在する場合にも、リードLの変形を検出することがで
きる。
Next, the tip positions of the leads L are compared between the adjacent leads L (step S8). In the above-described steps, it is possible to detect a lead in which floating or sinking has significantly occurred. In this step, the tip positions of the leads L are compared between adjacent leads L. If the difference between the tip positions of both leads exceeds a predetermined range, the I
It is determined that the lead shape of the C package P is defective.
That is, even when there is a small difference between the tip positions of the adjacent leads L, the deformation of the leads L can be detected.

【0025】次に、これらのリード先端位置のX,Y座
標データを利用して、ICパッケージPの各辺のリード
Lの先端位置の平均座標を求める。この平均座標を各対
辺毎に比較する(ステップS9)。この対辺同士間のリ
ードLの先端座標位置の平均座標の差が一定基準を越え
る場合に、いずれか一方の辺のリードが変形していると
考えられる。これにより、隣り合うリードLの先端位置
間の差を検出することでは発見できないリードの変形を
検出することができる。なお、リードLの先端位置の検
査を、実際製品の設計時の寸法を基準にして検査する方
法も考えられるが、図8に示したように、通常は許容公
差範囲が±100μm程度と大きい。リードの長さの差
で浮き量を換算すると50〜60μm程度の精度で判断
する必要があるため適用できない。
Next, using the X and Y coordinate data of these lead tip positions, the average coordinates of the tip positions of the leads L on each side of the IC package P are determined. The average coordinates are compared for each opposite side (step S9). When the difference between the average coordinates of the tip coordinate positions of the leads L between the opposite sides exceeds a certain reference, it is considered that the leads on one of the sides are deformed. This makes it possible to detect lead deformation that cannot be detected by detecting the difference between the tip positions of the adjacent leads L. In addition, although a method of inspecting the tip position of the lead L based on the dimensions at the time of designing the actual product can be considered, as shown in FIG. 8, the tolerance range is usually as large as about ± 100 μm. If the floating amount is converted based on the difference in the length of the lead, it is necessary to judge with an accuracy of about 50 to 60 μm, so that it cannot be applied.

【0026】以上のように、本実施形態によれば、IC
パッケージPの上方からの画像処理検査によって浮きや
沈みのリードの変形を検出でき、リード平坦度の検査が
精度良く行なわれることになる。また、ガルウイング形
状のリードLの形状の特徴を利用して、各リードLに応
じて領域Xa,Xbの数が適切に存在するか判断し、領
域Xa,Xbが適切な面積を有するか否かを判断するこ
とにより、リード先端部の位置の検出では検出できない
リードLの浮きや沈みの変形を容易に検出することがで
きる。また、領域Xa,Xbの数や面積を確認した後
に、リードLの先端位置を検出して、さらにリードLの
変形を検出するため、リード平坦度の検出精度が非常に
向上する。また、リードLの先端位置を検出する際に、
ICパッケージPのモールド部からの絶対距離ではな
く、隣合うリードL間の差および対辺同士の差に基づい
てリード変形を判断するため、設計時の寸法公差の影響
を受けず、さらに精度よくリード平坦度の検査を行なう
ことが可能となる。
As described above, according to the present embodiment, the IC
An image processing inspection from above the package P can detect the deformation of the leads such as floating or sinking, and the inspection of the lead flatness can be performed with high accuracy. Also, utilizing the characteristics of the shape of the gull wing-shaped lead L, it is determined whether the number of the regions Xa and Xb is appropriate for each lead L, and whether or not the regions Xa and Xb have an appropriate area is determined. , It is possible to easily detect the deformation of the lead L, which cannot be detected by detecting the position of the tip of the lead, such as floating or sinking. In addition, after confirming the number and area of the regions Xa and Xb, the tip position of the lead L is detected, and furthermore, the deformation of the lead L is detected, so that the detection accuracy of the lead flatness is greatly improved. Also, when detecting the tip position of the lead L,
Since the lead deformation is determined not based on the absolute distance from the mold part of the IC package P but based on the difference between the adjacent leads L and the difference between the opposite sides, the lead is not affected by the dimensional tolerance at the time of design, and the lead is more precisely. Inspection of flatness can be performed.

【0027】ここまでは、リード平坦度の検査を主に説
明したが、以下、リード部異物付着検査について説明す
る。まず、上述した検査処理において、領域Xa,Xb
をリードとして認識すると同時に、各領域Xa,Xbの
面積を算出する。このとき、各領域Xa,Xbの面積が
所定の範囲に収まらない場合には、当該領域Xa,Xb
に対応するリードLに異物が付着していると判断する。
したがって、リード部異物付着検査を行なうのに、パタ
ーンマッチング処理等の複雑な処理が必要なく、領域X
a,Xbの面積チェックでリードLに付着した半田、樹
脂及びその他の異物の付着を効率良く検出でき、処理時
間を短縮でき、プログラムを簡素化できる。
Up to this point, the inspection of the lead flatness has been mainly described. Hereinafter, the inspection of the lead portion for foreign matter adhesion will be described. First, in the above-described inspection processing, the regions Xa, Xb
Is recognized as a lead, and the area of each of the regions Xa and Xb is calculated. At this time, if the area of each of the regions Xa, Xb does not fall within the predetermined range, the region Xa, Xb
It is determined that the foreign matter is attached to the lead L corresponding to.
Therefore, a complicated process such as a pattern matching process is not required to perform the lead portion foreign matter adhesion inspection, and the region X
By checking the areas a and Xb, it is possible to efficiently detect the adhesion of solder, resin, and other foreign substances adhered to the leads L, shorten the processing time, and simplify the program.

【0028】[0028]

【発明の効果】本発明によれば、ICパッケージの上方
からの画像処理検査によってリードの平坦度の検査を精
度良く行なうことができる。また、ICパッケージの上
方からの検査のみで、リードの浮きや沈みが精度良く検
出可能となるため、一般的に使用されているリード形状
検査機等の単体設備が不要となる。したがって、カメラ
および照明装置を設置できるスペースがあればどこにも
取り付けられ、既存設備に後からリード形状検査機能が
取付けられるため、既存設備でもリード形状の品質の向
上が可能となる。
According to the present invention, the inspection of the flatness of the leads can be accurately performed by the image processing inspection from above the IC package. In addition, the floating or sinking of the lead can be accurately detected only by inspection from above the IC package, so that a single facility such as a commonly used lead shape inspection machine is not required. Therefore, the camera and the lighting device can be installed anywhere if there is a space for the installation, and the lead shape inspection function can be attached to the existing facility later, so that the quality of the lead shape can be improved even in the existing facility.

【0029】また、リード形状の検査の際に、複雑なプ
ログラム処理が必要なく、処理時間も非常に短くて済
む。また、リード平坦度、異物付着検出以外のリード部
の特異な変形等で正常なリードの状態と違う製品につい
ても特別な検出プログラムを盛り込まなくても検出可能
となる。また、リード成形不良でリード先端部平面部が
少なくなり、リード先端部面積が小さくなった場合でも
先端部面積不足といった形で成形不良品も検出でき、同
様に肩口部の変形についても検出できる。
In the inspection of the lead shape, complicated program processing is not required, and the processing time can be very short. In addition, it is possible to detect a product different from a normal lead state due to peculiar deformation of the lead portion other than the lead flatness and foreign matter adhesion detection without including a special detection program. In addition, even if the lead tip flat area decreases due to poor lead formation and the lead tip area becomes small, defective molding can be detected in the form of insufficient tip area, and similarly deformation of the shoulder opening can be detected.

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

【図1】本発明に係るリード形状の検査装置の一実施形
態を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a lead shape inspection apparatus according to the present invention.

【図2】ガルウィング形状のリードを有するICパッケ
ージPの一部断面図である。
FIG. 2 is a partial cross-sectional view of an IC package P having a gull-wing-shaped lead.

【図3】カメラでICパッケージを撮像し、その画像デ
ータをディジタル処理した状態の一例を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing an example of a state in which an image of an IC package is captured by a camera and the image data is digitally processed;

【図4】ICパッケージの検査の項目を説明するための
図である。
FIG. 4 is a diagram for explaining items of IC package inspection.

【図5】リード平坦度検査における、浮き、沈みに関す
るリードの変形の一例を示す説明図である。
FIG. 5 is an explanatory diagram showing an example of deformation of a lead related to lifting and sinking in a lead flatness inspection.

【図6】リード平坦度検査における、浮き、沈みに関す
るリードの変形の他の例を示す説明図である。
FIG. 6 is an explanatory diagram showing another example of deformation of a lead related to lifting and sinking in a lead flatness inspection.

【図7】リード平坦度検査における、浮き、沈みに関す
るリードの変形のさらに他の例を示す説明図である。
FIG. 7 is an explanatory view showing still another example of the deformation of the lead related to the lifting and sinking in the lead flatness inspection.

【図8】ICパッケージPの設計時の基準寸法を示す説
明図である。
FIG. 8 is an explanatory diagram showing reference dimensions at the time of designing the IC package P.

【図9】所定の範囲M内でカメラによってICパッケー
ジPを撮像し、得られた画像データをデジタル処理した
画像データを示す説明図である。
FIG. 9 is an explanatory diagram showing image data obtained by capturing an image of an IC package P with a camera within a predetermined range M and digitally processing the obtained image data.

【図10】図9に示す画像データに所定の処理を施した
後の画像データを示す説明図である。
FIG. 10 is an explanatory diagram illustrating image data obtained by performing predetermined processing on the image data illustrated in FIG. 9;

【図11】ICパッケージPの一辺の各リードLに同様
に浮きが生じていた場合の画像データの一例を示す説明
図である。
FIG. 11 is an explanatory diagram illustrating an example of image data in a case where a lift has occurred in each of the leads L on one side of the IC package P;

【図12】本発明のリード形状の検査装置による処理の
一例を示すフローチャートである。
FIG. 12 is a flowchart illustrating an example of a process performed by the lead shape inspection apparatus according to the present invention.

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

2…カメラ、4…照明装置、6…画像データ処理装置、
P…ICパッケージ、L…リード。
2 camera, 4 lighting device, 6 image data processing device,
P: IC package, L: Lead.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】撮像手段によって側部から複数のリードが
突出したICパッケージの画像データを取得し、当該I
Cパッケージの画像データから前記ICパッケージの反
射光量の多い領域を抽出するステップと、 前記反射光量の多い領域の配置が正常なリード形状の特
徴に対応しているか否かを判断し、対応している領域を
リードとして認識するステップと、 前記リードとして認識された各領域の位置に基づいて、
リードの平坦度を検出するステップとを有するリード形
状の検査方法。
An image pickup device acquires image data of an IC package having a plurality of leads protruding from a side by an image pickup means.
Extracting a region of the IC package having a large amount of reflected light from the image data of the C package; and determining whether or not the arrangement of the region of the large amount of reflected light corresponds to a characteristic of a normal lead shape. Recognizing the read area as a lead, based on the position of each area recognized as the lead,
Detecting the flatness of the lead.
【請求項2】前記リードの平坦度を検出するステップ
は、前記リードとして認識された各領域の位置に基づい
て各々のリード先端位置を検出するステップと、 ICパッケージの一辺に設けられた各リードの先端位置
と対辺に設けられた各リードの先端位置とを比較し、検
出されたリード先端位置の差が所定の範囲内に有るか否
かを判断するステップとを有する請求項1に記載のリー
ド形状の検査方法。
2. The method according to claim 1, wherein the step of detecting the flatness of the lead includes the steps of: detecting a tip position of each lead based on a position of each area recognized as the lead; 2. The method according to claim 1, further comprising: comparing the leading end position of the lead with the leading end position of each lead provided on the opposite side to determine whether a difference between the detected lead leading end positions is within a predetermined range. Inspection method of lead shape.
【請求項3】前記リードの平坦度を検出するステップ
は、 隣合うリード間のリード先端位置の差を検出し、当該リ
ード先端位置の差が所定の範囲内に有るか否かを判断す
るステップをさらに有する請求項2に記載のリード形状
の検査方法。
3. The step of detecting the flatness of the leads includes the step of detecting the difference between the positions of the tips of the leads between adjacent leads and determining whether the difference between the positions of the tips of the leads is within a predetermined range. The inspection method of a lead shape according to claim 2, further comprising:
【請求項4】リードとして認識された前記各々領域の面
積に基づいてリードに異物が付着しているか否を判断す
るステップをさらに有する請求項1に記載のリード形状
の検査方法。
4. The lead shape inspection method according to claim 1, further comprising the step of determining whether or not foreign matter is attached to the lead based on the area of each of the regions recognized as the lead.
【請求項5】前記ICパッケージの反射光量の多い領域
を抽出した後に、 前記各々の領域の面積の平均値を算出するステップと、 前記各々の領域のうち、面積が前記平均値から所定の範
囲に収まる領域のみを選別するステップとをさらに有す
る請求項1に記載のリード形状の検査方法。
5. A step of calculating an average value of an area of each of the areas after extracting an area having a large amount of reflected light of the IC package; and, in each of the areas, an area of a predetermined range from the average value. 2. The method according to claim 1, further comprising the step of selecting only an area that falls within the range.
【請求項6】前記選別された領域のうち、所定の方向の
長さが所定の範囲を越える領域を選択的に除くステップ
をさらに有する請求項1に記載のリード形状の検査方
法。
6. The lead shape inspection method according to claim 1, further comprising the step of selectively excluding, from the selected areas, areas whose lengths in a predetermined direction exceed a predetermined range.
【請求項7】前記リードの形状は、2つの屈曲部を有す
るガルウイング形状であり、 前記リードとして認識された各々の領域は、当該リード
の肩口面と先端面とにそれぞれ対応する領域からなる請
求項1に記載のリード形状の検査方法。
7. The lead has a gull wing shape having two bent portions, and each region recognized as the lead is formed of a region corresponding to a shoulder surface and a tip end surface of the lead. Item 2. The lead shape inspection method according to Item 1.
【請求項8】前記選別された各々の領域の配置が正常な
リード形状の特徴に対応しているか否かを判断する際
に、対応していない領域は当該領域のリードが変形して
いると判断する請求項1に記載のリード形状の検査方
法。
8. When judging whether or not the arrangement of each of the selected areas corresponds to a feature of a normal lead shape, the uncorresponding area is determined to have a deformed lead of the area. The lead shape inspection method according to claim 1, wherein the judgment is made.
【請求項9】側部から複数のリードが突出したICパッ
ケージに光を照射する照明手段と、 前記ICパッケージからの反射光から当該ICパッケー
ジの画像データを得るための撮像手段と、 前記撮像手段からの画像データをディジタル処理する画
像データ処理手段とを有し、 前記画像データ処理手段は、 前記撮像手段からの画像データから反射光量の多い複数
の領域を抽出する抽出手段と、 前記各々の領域の配置が前記リードの形状の特徴に対応
しているか否かを判断し、対応している領域をリードと
して認識する特徴判断手段と、 前記リードとして認識された領域に基づいて、リードの
平坦度を検出する平坦度検出手段と、 前記リードとして認識された前記各々領域の面積に基づ
いてリードに異物が付着しているか否を判断する異物付
着判断手段とを有するリード形状の検査装置。
9. An illuminating means for irradiating light to an IC package having a plurality of leads protruding from a side portion; an imaging means for obtaining image data of the IC package from light reflected from the IC package; Image data processing means for digitally processing image data from the image data processing means, wherein the image data processing means includes: an extraction means for extracting a plurality of areas with a large amount of reflected light from image data from the imaging means; and each of the areas A feature determining means for determining whether the arrangement of the lead corresponds to the feature of the shape of the lead, and a feature determining means for recognizing the corresponding area as the lead; and a flatness of the lead based on the area recognized as the lead. A flatness detecting means for detecting whether or not a foreign substance is attached to the lead based on an area of each of the regions recognized as the lead. An inspection device for a lead shape, comprising: an attachment determining unit.
JP9346790A 1997-12-16 1997-12-16 Method for checking lead shape and device therefor Abandoned JPH11177009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9346790A JPH11177009A (en) 1997-12-16 1997-12-16 Method for checking lead shape and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9346790A JPH11177009A (en) 1997-12-16 1997-12-16 Method for checking lead shape and device therefor

Publications (1)

Publication Number Publication Date
JPH11177009A true JPH11177009A (en) 1999-07-02

Family

ID=18385838

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9346790A Abandoned JPH11177009A (en) 1997-12-16 1997-12-16 Method for checking lead shape and device therefor

Country Status (1)

Country Link
JP (1) JPH11177009A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112334762A (en) * 2018-07-13 2021-02-05 株式会社富士 Foreign matter detection method and electronic component mounting apparatus
CN112509935A (en) * 2019-09-13 2021-03-16 株式会社东芝 Semiconductor inspection device and inspection method for semiconductor device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112334762A (en) * 2018-07-13 2021-02-05 株式会社富士 Foreign matter detection method and electronic component mounting apparatus
CN112334762B (en) * 2018-07-13 2024-01-12 株式会社富士 Foreign matter detection method and electronic component mounting device
CN112509935A (en) * 2019-09-13 2021-03-16 株式会社东芝 Semiconductor inspection device and inspection method for semiconductor device
CN112509935B (en) * 2019-09-13 2023-11-21 株式会社东芝 Semiconductor inspection device and inspection method for semiconductor device

Similar Documents

Publication Publication Date Title
CN108802046B (en) Optical detection device and detection method for defects of hybrid integrated circuit assembly
JP3560473B2 (en) Printed circuit board inspection apparatus and printed circuit board inspection method
US20090080762A1 (en) Appearance for inspection method
JP4743805B2 (en) Appearance inspection method and apparatus
JPH0575062B2 (en)
JP3173874B2 (en) Appearance inspection device
JPH11177009A (en) Method for checking lead shape and device therefor
JP2003149160A (en) Appearance inspection method and appearance inspection system
JP3272998B2 (en) Bump height pass / fail judgment device
JP2012190935A (en) Chip position specification system, chip position specification device, chip position specification program, and chip position specification method
JPH11218499A (en) Visual inspection device and its image-processing method
JP3032616B2 (en) Appearance inspection method and device
JP3314217B2 (en) Appearance inspection device
US20040156533A1 (en) Land appearance inspecting device, and land appearance inspecting method
JP3189604B2 (en) Inspection method and device
JP2000028334A (en) Method and apparatus for inspecting pattern fault
JP3919207B2 (en) Appearance inspection device
JPH102725A (en) Visual inspection device for tape carrier package
JP3348059B2 (en) Method for manufacturing semiconductor device
JPH1114317A (en) Appearance inspection method and device
JPH10339613A (en) Method for inspecting bonding point in wire bonding
JPH04355946A (en) Inspection of soldered part of electronic component
JP2836580B2 (en) Projection inspection device for semiconductor integrated circuit device
JP2006250610A (en) Visual inspection method of circuit board
JPH03156349A (en) Foreign-matter detecting method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20060613