JPH04355312A - Soldering inspection device with lead tip inspection function - Google Patents

Soldering inspection device with lead tip inspection function

Info

Publication number
JPH04355312A
JPH04355312A JP13097491A JP13097491A JPH04355312A JP H04355312 A JPH04355312 A JP H04355312A JP 13097491 A JP13097491 A JP 13097491A JP 13097491 A JP13097491 A JP 13097491A JP H04355312 A JPH04355312 A JP H04355312A
Authority
JP
Japan
Prior art keywords
lead
image
lead tip
detected
inspected
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.)
Pending
Application number
JP13097491A
Other languages
Japanese (ja)
Inventor
Yuji Takagi
裕治 高木
Toshifumi Honda
敏文 本田
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP13097491A priority Critical patent/JPH04355312A/en
Publication of JPH04355312A publication Critical patent/JPH04355312A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Connection Of Electric Components To Printed Circuits (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

PURPOSE:To enable a lead tip portion position too be specified, soldering inspection without being affected by a lead portion to be performed, man-power of the soldering process to be saved, and reliability to be improved at a solder joint of a flat-package lead. CONSTITUTION:A target 5 to be inspected is irradiated by lighting 2 which is installed at an upper portion of an inspection substrate and then this image is picked up by a camera 1. A parts edge of a flat package is detected on the picked-up image, a lead tip position of the flat package on the image is determined from a lead length of the flat package which is registered at it previously, and then a tip position of the lead is determined further from the image near this position, thus enabling a lead tip position at a soldering inspection portion on the image to be confirmed and then a highly reliable soldering inspection to be attained by performing soldering fillet analysis for a portion ahead from this lead tip position.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は電子部品実装基板検査装
置に関わり、特に多ピンの表面実装部品が搭載された基
板のはんだ付け状態の自動検査に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic component mounting board inspection apparatus, and more particularly to an automatic inspection of the soldering condition of a board on which multi-pin surface mount components are mounted.

【0002】0002

【従来の技術】従来のはんだ付け外観検査装置は被検査
対象であるはんだ付け部分に、はんだ付部の状態を検出
可能とするような照明を行い、この照明光の反射状態を
解析してはんだ付状態を検査するなどしている。ここで
の検査領域は、ある程度の部品の実装ずれも許容できる
ように、リード先端のはんだ付フィレット部分及び、リ
ード部分を含むように設定されており、例えば、基板の
はんだ付パッドと同じ領域に検査領域を設定するなどし
ていた。
[Prior Art] Conventional soldering visual inspection equipment illuminates the soldered parts to be inspected in a manner that makes it possible to detect the condition of the soldered parts, and analyzes the reflected state of this illumination light to inspect the soldered parts. We are also inspecting the condition of the equipment. The inspection area here is set to include the soldering fillet part at the tip of the lead and the lead part so that a certain degree of component mounting deviation can be tolerated. They were also setting up inspection areas.

【0003】0003

【発明が解決しようとする課題】フラットパッケージの
実装位置のズレ、フラットパッケージのリード寸法の成
型時の加工誤差などにより、フラットパッケージのリー
ド先端位置はNCデータからその位置を正確に決定する
ことはできない。
[Problem to be Solved by the Invention] Due to misalignment of the mounting position of the flat package, processing errors during molding of the lead dimensions of the flat package, etc., it is difficult to accurately determine the position of the lead tip of the flat package from NC data. Can not.

【0004】前述のように検査領域にははんだフィレッ
ト部分とリード部分が含まれているが、検査時にはリー
ド先端の位置を確定し、そこから先に形成されているは
んだフィレット部分のみに限定して検査を行う必要があ
る。しかしながら、従来、安定したリード先端位置の検
出は行なわれておらず、特にはんだ付状態をそのフィレ
ット長さ、はんだ容量などで定量的に捕らえようとする
時は、リードの部分とはんだ部分の識別が重要となるが
、従来方法では、リード部分を誤ってはんだ付部分とし
て評価してしまう可能性が残されており、安定したリー
ド先端位置を検出して、高信頼なはんだ付検査を実現す
ることについて考慮されていなかった。
As mentioned above, the inspection area includes the solder fillet portion and the lead portion, but during inspection, the position of the lead tip is determined and the inspection is limited to only the solder fillet portion that has been formed from there. It is necessary to conduct an inspection. However, conventionally, stable detection of the lead tip position has not been performed, and it is difficult to distinguish between the lead part and the solder part, especially when trying to quantitatively determine the soldering state by the fillet length, solder capacity, etc. is important, but with conventional methods, there is still a possibility that the lead part may be mistakenly evaluated as a soldered part, so it is necessary to detect a stable lead tip position and achieve highly reliable soldering inspection. That was not taken into account.

【0005】本発明の目的は、従来技術の課題を解決す
べく、安定したリード先端位置を検出して、高信頼なは
んだ付検査を実現するようにしたリード先端検出機能を
持つはんだ付検査装置を提供することにある。
SUMMARY OF THE INVENTION In order to solve the problems of the prior art, an object of the present invention is to provide a soldering inspection device having a lead tip detection function that detects a stable lead tip position and realizes highly reliable soldering inspection. Our goal is to provide the following.

【0006】[0006]

【課題を解決するための手段】上記目的は、フラットパ
ッケージの部品エッジを画像上で検出し、これに予め登
録されているフラットパッケージのリード長さから、画
像上でのフラットパッケージのリード先端位置を決め、
この位置の近傍で更に画像からリードの先端位置を決定
する事により達成される。即ち、本発明は、プリント基
板の位置決め装置と、前記プリント基板を撮像する装置
と、撮像装置により撮像された画像を制御装置に入力す
る回路と、前記位置決め装置の制御と入力画像の処理を
行う制御装置と、被検査対象を照明する照明装置を有す
るシステムであって、撮像された画像における被検査対
象であるフラットパッケージのパッケージエッジの位置
を検出し、その検出された位置にフラットパッケージの
リード寸法を加えた部分をリード先端位置とし、その決
定されたリード先端置から先に対してはんだ付状態を検
査することを特徴とするリード先端検出機能を持つはん
だ付検査装置である。
[Means for solving the problem] The above purpose is to detect the component edge of a flat package on an image, and to determine the lead tip position of the flat package on the image based on the lead length of the flat package registered in advance. Decide,
This is achieved by further determining the lead tip position from an image near this position. That is, the present invention includes a positioning device for a printed circuit board, a device for capturing an image of the printed circuit board, a circuit for inputting an image captured by the image capturing device to a control device, and a circuit for controlling the positioning device and processing the input image. A system that includes a control device and an illumination device that illuminates the object to be inspected, detects the position of the package edge of the flat package that is the object to be inspected in the captured image, and attaches the lead of the flat package to the detected position. This is a soldering inspection device having a lead tip detection function, which is characterized in that the added dimension is set as the lead tip position, and the soldering condition is inspected from the determined lead tip position forward.

【0007】[0007]

【作用】フラットパッケージの部品色は黒色であり、リ
ードは銀色であるので画像上でこの境界を検出すること
は容易であり、これによりリードの根元位置が確定され
る。理想的には、この部品エッジから部品寸法仕様によ
り規定されているリード長さ分だけ離れた位置にリード
先端があるはずだが、リード長はある一定の誤差を持っ
ているのでこの位置の前後に実際のリード先端がある。 そこで、この理想的な位置の近傍に限定して、実際のリ
ード先端を大局的に検出する。更に、リード長さは厳密
には1本ずつ違う可能性もあるので、はんだ検査領域毎
に再度リード先端位置を検査領域内の、大局的に検出さ
れたリード先端位置近傍で検出することにより精度の高
いリード先端位置検出が可能となる。その結果、フラッ
トパッケージリードのはんだ接合部において、リード先
端部位置の特定が可能となるので、リード部に影響され
ないはんだ付け検査が可能となり、信頼性の高いはんだ
形状検査が実現でき、これによりはんだ付け検査の自動
化ができ、はんだ付けプロセスの省人化、および信頼性
の向上をはかることができる。
[Operation] Since the parts of the flat package are black in color and the leads are silver in color, it is easy to detect this boundary on the image, thereby determining the root position of the leads. Ideally, the lead tip should be at a position separated from this part edge by the lead length specified by the part dimensional specifications, but since the lead length has a certain error, there should be a lead tip before and after this position. There is an actual lead tip. Therefore, the actual lead tip is detected globally, limited to the vicinity of this ideal position. Furthermore, since the lead length may differ from one lead to another, accuracy can be improved by detecting the lead tip position again in each solder inspection area near the generally detected lead tip position within the inspection area. It is possible to detect the lead tip position with high accuracy. As a result, it becomes possible to identify the position of the lead tip at the solder joint of a flat package lead, making it possible to perform soldering inspection that is not affected by the lead part, and to achieve highly reliable solder shape inspection. It is possible to automate the bonding inspection, save labor in the soldering process, and improve reliability.

【0008】[0008]

【実施例】以下、実施例を示す図面に沿って本発明を詳
述する。図1は本発明を具体化したはんだ付け外観検査
装置の構成を示す。4は検査対象となるプリント基板で
ありその上に検査対象であるフラットパッケージ5が搭
載され、はんだ付けされている。被検査対象であるプリ
ント基板4はXYテーブル3に載せられ検査シーケンス
に従って移動する。2は被検査対象を照明するものであ
り、図1に示すように基板上方に設置されている。1は
TVカメラであり、照明2により照明されたプリント基
板の被検査対象部分を撮像し、画像信号を7の画像入力
ユニットに入力する。3のXYテーブル制御及び2の照
明装置の点灯制御は9の外部機器制御ユニットにより処
理される。6は本システムの制御装置、8はCPU、1
0はメモリ、11はバスである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings showing examples. FIG. 1 shows the configuration of a soldering visual inspection apparatus embodying the present invention. 4 is a printed circuit board to be inspected, on which a flat package 5 to be inspected is mounted and soldered. A printed circuit board 4 to be inspected is placed on an XY table 3 and moved according to an inspection sequence. Reference numeral 2 illuminates the object to be inspected, and as shown in FIG. 1, it is installed above the substrate. Reference numeral 1 denotes a TV camera, which takes an image of a portion of the printed circuit board to be inspected illuminated by illumination 2, and inputs an image signal to an image input unit 7. The XY table control (No. 3) and the lighting control of the lighting device (No. 2) are processed by the external device control unit No. 9. 6 is the control device of this system, 8 is the CPU, 1
0 is a memory, and 11 is a bus.

【0009】図2(a)(b)に示す画像例12は照明
2を使用して、プリント基板に実装されたフラットパッ
ケージの周辺部分を撮像した時得られる画像の様子を示
したものである。13はフラットパッケージのリード、
14は基板上のはんだ付パッド、15は基板である。図
2(a)(b)に示す画像例は、はんだ付検査のために
XYテーブルにより基板を位置決めし、得られた被検査
対象の画像と考えることができる。
Image example 12 shown in FIGS. 2(a) and 2(b) shows the image obtained when the peripheral part of a flat package mounted on a printed circuit board is imaged using illumination 2. . 13 is the flat package lead,
14 is a soldering pad on the board, and 15 is a board. The image examples shown in FIGS. 2(a) and 2(b) can be considered to be images of the object to be inspected obtained by positioning the board using an XY table for soldering inspection.

【0010】図3にフラットパッケージのリード部の断
面を示した。図3に示す区間Sが解析すべきはんだフィ
レット部であり、Aで示された部分が検出すべきリード
先端である。
FIG. 3 shows a cross section of the lead portion of the flat package. The section S shown in FIG. 3 is the solder fillet part to be analyzed, and the part indicated by A is the lead tip to be detected.

【0011】図4以降により、リード先端の検出方法を
順を追って説明する。本説明では画面内で垂直に見える
パッケージ左側の部分について説明するが、他の方向に
ついてもいかに述べる処理を同様に適用可能である。図
4にフラットパッケージのパッケージエッジの検出方法
を示す。図4に示す画像16において、I,Jは各々画
像の水平・垂直方向の座標を表す。以降画像上の座標は
図4に示した座標系に従うものとする。まず、図4に示
すように、パッケージエッジIPEを検出するための検
出用ウィンドウを設定する。I方向は、検査用のNCデ
ータより与えられる画像上のパッケージエッジ位置iに
適当な検出領域範囲diを定めることにより、Ip0 
= i − di、Ip1 = i + di とし、
J方向は各はんだ検査対象領域の中から、Jの最小値を
JP0、最大値を JP1 とする。 あるいは、画像のJ方向始点、終点を代用してJP0、
JP1としても良い。このような2点(Jp0,Ip0
)、(Jp1,Ip1)を対角点として決定される検出
領域17を設定し、この領域内にあるリードを2値化す
るための適当なしきい値 THP0 を設定する。設定
した領域17内のしきい値THP0 以上の各I列にお
ける画素数をもとめ、HP(I)に記録する。HP(I
)は図4に示すように検出領域17を2値化しJ方向に
投影したヒストグラムである。リード部分が2値化され
るように THP0 を設定しておけば、リード部分に
おけるヒストグラム HP(I) の累積度数は、理想
的には(リードの幅(画素)×検出領域17内のリード
の本数)となるはずであるから、この半分程度の値をし
きい値として THP1 を設定する。ヒストグラム 
HP(I) をリード側から部品側に走査し(図4では
 Ip0 から IP1 方向)、THP1を切る点を
検出すれば良い。この検出されたパッケージエッジの位
置を IPE とする。図5にパッケージエッジ検出の
フローチャートを示す。なお、照明2を用いてカメラ1
により撮像され、画像入出力ユニット7により取り込ま
れ、メモリ10により記録された濃淡画像の(J,I)
における画像の明るさをIMG(J,I)で示す。
With reference to FIG. 4 and subsequent figures, the method for detecting the lead tip will be explained step by step. In this explanation, the left part of the package that is visible vertically on the screen will be explained, but the processing described above can be similarly applied to other directions. FIG. 4 shows a method for detecting the package edge of a flat package. In the image 16 shown in FIG. 4, I and J represent the horizontal and vertical coordinates of the image, respectively. Hereinafter, the coordinates on the image shall follow the coordinate system shown in FIG. 4. First, as shown in FIG. 4, a detection window for detecting the package edge IPE is set. The I direction is determined by setting an appropriate detection area range di at the package edge position i on the image given by the NC data for inspection.
= i − di, Ip1 = i + di,
In the J direction, the minimum value of J is JP0 and the maximum value is JP1 from among each solder inspection target area. Alternatively, by substituting the J direction start point and end point of the image, JP0,
It may also be JP1. Two such points (Jp0, Ip0
), (Jp1, Ip1) as diagonal points, and set an appropriate threshold value THP0 for binarizing the leads within this region. The number of pixels in each I column above the threshold value THP0 within the set area 17 is determined and recorded in HP(I). HP (I
) is a histogram obtained by binarizing the detection area 17 and projecting it in the J direction, as shown in FIG. If THP0 is set so that the lead part is binarized, the cumulative frequency of the histogram HP(I) in the lead part is ideally (width of the lead (pixels) x number of leads in the detection area 17). Therefore, THP1 is set to about half this value as the threshold value. histogram
It is sufficient to scan HP(I) from the lead side to the component side (in the direction from Ip0 to IP1 in FIG. 4) and detect the point where THP1 is cut. Let the position of this detected package edge be IPE. FIG. 5 shows a flowchart of package edge detection. In addition, using lighting 2, camera 1
(J, I) of the grayscale image captured by the image input/output unit 7 and recorded in the memory 10.
The brightness of the image at is denoted by IMG (J, I).

【0012】次に、検出されたパッケージエッジの位置
を基にリードの先端位置を検出する。図6(a)にフラ
ットパッケージのリード部の断面を示した。18ははん
だフィレット部である。図6に示される、はんだフィレ
ット18及びリード13上に示される矢印は照明2によ
り入射した光の反射方向を示している。リード13上で
は照明光はそのまま上方、カメラ1の方向に戻り、はん
だフィレット18上では、照明光はカメラ1とは別の方
向に戻る。これにより、照明2により照明されたはんだ
付部分の画像は図6(b)のように、はんだフィレット
部分18が暗くなる。
Next, the position of the tip of the lead is detected based on the position of the detected package edge. FIG. 6(a) shows a cross section of the lead portion of the flat package. 18 is a solder fillet portion. The arrows shown on the solder fillet 18 and the leads 13 shown in FIG. 6 indicate the direction in which the light incident on the illumination 2 is reflected. On the lead 13, the illumination light returns upward, toward the camera 1, and on the solder fillet 18, the illumination light returns in a direction different from the camera 1. As a result, in the image of the soldered part illuminated by the illumination 2, the solder fillet part 18 becomes dark, as shown in FIG. 6(b).

【0013】図7にリード先端の検出方法を示す。19
は対象画像である。まず、リード先端を検出するための
検出用ウィンドウを設定する。I方向は、検出されたパ
ッケージエッジ位置 IPEから検査用のNCデータよ
り与えられるリードの長さLだけ離れた位置 I’LE
を定め、これと適当な検出領域範囲di’から、Il0
 = I’LE−di’、IP1 = I’LE + 
di’ とし、方向は各はんだ検査対象領域の中から、
Jの最小値をJl0、最大値を Jl1 とする。ある
いは、画像のJ方向始点、終点を代用してJl0、Jl
1としても良い。このような2点 (Jl0,Il0)
、(Jl1,Il1) を対角点として決定される検出
領域20を設定し、領域20内の濃淡画像の明るさ値の
各I列の累積和をHL(I)に記録する。HL(I)は
図7に示すように検出領域20の濃淡値をJ方向に投影
したヒストグラムである。
FIG. 7 shows a method for detecting the lead tip. 19
is the target image. First, a detection window for detecting the lead tip is set. The I direction is the detected package edge position I'LE, a position separated from the IPE by the lead length L given by the NC data for inspection.
From this and an appropriate detection area range di', Il0
= I'LE-di', IP1 = I'LE +
di', and the direction is from within each solder inspection target area.
Let the minimum value of J be Jl0 and the maximum value Jl1. Alternatively, Jl0, Jl can be substituted for the J direction start point and end point of the image.
It may be set to 1. Two points like this (Jl0, Il0)
, (Jl1, Il1) as diagonal points, and the cumulative sum of the brightness values of the grayscale images in the area 20 in each I column is recorded in HL(I). HL(I) is a histogram obtained by projecting the grayscale values of the detection area 20 in the J direction, as shown in FIG.

【0014】ヒストグラムHL(I)を IL0 から
IL1 の区間で走査し、最小値を与える位置Ile 
を検出する。この検出されたリード先端位置を Ile
 とする。図8にリード先端位置検出のフローチャート
を示す。図8の21で示したステップは最小値検出の方
法以外の方法でも構わない。例えば、ある一定のしきい
値を設けて、Il1から Il0  の方向にヒストグ
ラムHL(I)を走査し、しきい値を切ったところを検
出点とする方法などでも構わない。
[0014] Scan the histogram HL(I) in the interval from IL0 to IL1 and find the position Ile that gives the minimum value.
Detect. This detected lead tip position is Ile
shall be. FIG. 8 shows a flowchart for detecting the lead tip position. The step indicated by 21 in FIG. 8 may be performed using a method other than the minimum value detection method. For example, a method may be used in which a certain threshold value is set, the histogram HL(I) is scanned in the direction from Il1 to Il0, and the point where the threshold value is crossed is set as the detection point.

【0015】このようにして求められたリード先端位置
を用いて、はんだ検査を行うことも可能であるが、リー
ドの1本、1本の微妙なばらつきを考えると、以上の手
続きで得られたリード先端位置を大局的な基準位置とし
て、各はんだ検査領域ごとにこの位置を微調整すれば、
リードの1本、1本の微妙なばらつきにも対応出来る。 図9に各はんだ検査領域ごとの、リード先端位置検出方
法について示す。図9に示した画像例は照明2により照
明して得られた、リード先端及び、はんだ付部分である
。図9に示す検出方法は図7及び、図8に示した方法と
同様である。検出領域ははんだ検査領域を利用するが、
I方向に関しては大局的に検出されたリード先端検出位
置Ile を基準に適当な検出領域範囲di″を定め、
I0 =ILE − di″、I1 = ILE + 
di″の範囲とする。(J0,I0)、(J1,I1)
を対角点として決定される検出領域を設定し、領域内の
濃淡値の各I列の累積和をHL’(I) に記録する。  HL’(I)は図9に示すように検出領域の濃淡値を
J方向に投影したヒストグラムであり、この最小値を検
出することで、リード先端位置IDを決定できる。
[0015] It is possible to perform solder inspection using the lead tip positions obtained in this way, but considering the slight variations in each lead, the position obtained by the above procedure is If you use the lead tip position as the overall reference position and finely adjust this position for each solder inspection area,
It can also handle subtle variations in each lead. FIG. 9 shows a lead tip position detection method for each solder inspection area. The image example shown in FIG. 9 shows the lead tips and soldered parts obtained by illuminating with illumination 2. The detection method shown in FIG. 9 is similar to the methods shown in FIGS. 7 and 8. The detection area uses the solder inspection area,
Regarding the I direction, an appropriate detection area range di'' is determined based on the globally detected lead tip detection position Ile,
I0 = ILE − di″, I1 = ILE +
di'' range. (J0, I0), (J1, I1)
A detection area is set with , as the diagonal point, and the cumulative sum of each I column of gray values within the area is recorded in HL'(I). HL'(I) is a histogram obtained by projecting the density values of the detection area in the J direction as shown in FIG. 9, and by detecting this minimum value, the lead tip position ID can be determined.

【0016】図10に以上の処理手順と装置としての全
体動作をまとめてフローチャートに示す。まず、照明2
を用いてフラットパッケージ5を照らしだし、これをカ
メラ1で撮像できるようXYテーブル3を外部機器制御
ユニット9を用いて移動させる。撮像された画像は画像
入出力ユニット7を通してメモリ10に入力される。次
にメモリに記録された画像より、CPU8はパッケージ
の縁の部分、パッケージエッジを検出する。CPU8は
NCデータを基にパッケージエッジ検出用ウインドウ1
7を設定し、その領域に対応する、メモリ10に格納さ
れた画像に対して図5のフローチャートに従った処理を
行うことによりパッケージエッジIPEは検出される。 次に決定されたパッケージエッジIPEの位置を基に、
リード先端部の位置ILEを決定する。メモリ10に格
納された画像には図7に示されるように複数のはんだフ
ィレット18およびリード13が写しだされているが、
この複数のリード全体としての平均的な先端位置ILE
をここでは検出する。CPU8は先に求めたパッケージ
エッジとNCデータを基にリード先端位置検出用ウイン
ドウ20を図7に示すように設定し、その領域に対応す
るメモリ10に格納された画像に対して図8のフローチ
ャートにしたがった処理を行うことによりリード先端部
の位置ILEは検出される。次に個々のリード先端位置
を求める。 CPU8は図8のフローチャートにより求めた平均的な
リード先端位置ILEを基に個々のリード先端位置ID
検出用のウインドウ30を設定し、その領域に対応する
メモリ10に格納された画像に対して、図7、及び図8
に示したフローチャートと同様の手法を用い、個々のリ
ード先端位置IDは検出される。以上のようにしてリー
ド先端部を精度良く位置検出することで、はんだ付部と
リード部を安定して識別することが可能となる。次にこ
こで求めた個々のリード先端位置IDを基にしてはんだ
フィレットの形状を検査する。この手法としては、例え
ば図1のようにはんだフィレットに対して斜め方向から
光を照射可能な様に配置された照明2を点灯した場合に
カメラ1で撮像し、画像入出力ユニット7を通してメモ
リ10に格納された画像においては、はんだフィレット
18の傾きによりカメラに入力される反射光の強度が変
化するため、画像における明るさ分布を基にはんだフィ
レット形状18を解析し、この形状より検査をするとい
った方法が挙げられる。1枚の画像には図4に見られる
ように複数のはんだフィレット18が撮像されている。 この全てに対して前に述べたような検査を行う。画像に
撮像された全てのはんだフィレット18の検査終了後、
まだ他に検査すべきはんだ付部が存在すれば、外部制御
機器ユニット9はXYテーブル3を検査対象がカメラ1
で撮像可能な位置に移動させ、検査を続行する。
FIG. 10 shows a flowchart summarizing the above processing procedure and the overall operation of the apparatus. First, lighting 2
The XY table 3 is moved using the external equipment control unit 9 so that the flat package 5 can be illuminated using the camera 1 and the flat package 5 can be imaged using the camera 1. The captured image is input to the memory 10 through the image input/output unit 7. Next, the CPU 8 detects the edge of the package from the image recorded in the memory. The CPU 8 opens the package edge detection window 1 based on the NC data.
7 is set, and the package edge IPE is detected by performing processing according to the flowchart of FIG. 5 on the image stored in the memory 10 corresponding to the area. Next, based on the determined position of the package edge IPE,
Determine the position ILE of the lead tip. The image stored in the memory 10 shows a plurality of solder fillets 18 and leads 13 as shown in FIG.
The average tip position ILE of these multiple leads as a whole
is detected here. The CPU 8 sets the lead tip position detection window 20 as shown in FIG. 7 based on the previously obtained package edge and NC data, and uses the flowchart in FIG. 8 for the image stored in the memory 10 corresponding to that area. The position ILE of the lead tip is detected by performing the processing according to the following. Next, find the position of each lead tip. The CPU 8 calculates individual lead tip position IDs based on the average lead tip position ILE obtained from the flowchart in FIG.
7 and 8 for the image stored in the memory 10 corresponding to the detection window 30 set.
Each lead tip position ID is detected using a method similar to the flowchart shown in FIG. By accurately detecting the position of the lead tip as described above, it becomes possible to stably identify the soldered part and the lead part. Next, the shape of the solder fillet is inspected based on the individual lead tip position ID determined here. In this method, for example, as shown in FIG. 1, when a light 2 arranged so as to be able to irradiate light onto a solder fillet from an oblique direction is turned on, an image is captured by a camera 1, and the image is captured by a memory 10 through an image input/output unit 7. In the image stored in the image, the intensity of the reflected light input to the camera changes depending on the inclination of the solder fillet 18. Therefore, the shape of the solder fillet 18 is analyzed based on the brightness distribution in the image, and inspection is performed based on this shape. Examples of methods include: As shown in FIG. 4, a plurality of solder fillets 18 are captured in one image. All of this is tested as previously described. After inspecting all the solder fillets 18 captured in the image,
If there are other soldered parts to be inspected, the external control equipment unit 9 moves the XY table 3 to the camera 1 to be inspected.
Move it to a position where it can be imaged and continue the examination.

【0017】以上の説明では図10に示す22、23、
24のステップを画像より検出したが、22で示すステ
ップで得られるパッケージエッジ位置IPE を検査用
NCデータから求め、以降のステップ23、24のみを
行う方法、あるいは22で示すステップを省略し、23
で示すステップで得られる大局的なリード先端位置Il
e を検査用NCデータから求め、以降のステップ24
のみを行う方法も処理方法としては可能である。
In the above explanation, 22, 23, and 23 shown in FIG.
Although the step 24 was detected from the image, the package edge position IPE obtained in the step 22 is found from the inspection NC data and only the subsequent steps 23 and 24 are performed, or the step 22 is omitted and the step 23 is
The global lead tip position Il obtained by the steps shown in
e is obtained from the inspection NC data, and the subsequent step 24
A method that only performs the following is also possible as a processing method.

【0018】以上によりリード先端位置が特定されるの
で、リード部分に影響されないはんだフィレットのみの
検査が可能となる。はんだ検査のための光学系は図1の
光学系に示された照明2のみに限定されることは無く、
検出原理に応じた光学系を図1に示したカメラ1、照明
2よりなる検出系に付加して構わない。又、図1では環
状照明にて説明したが、検査対象を上方から照明できる
手段であれば、環状照明以外の照明でも構わない。
Since the lead tip position is specified as described above, it is possible to inspect only the solder fillet without being affected by the lead portion. The optical system for solder inspection is not limited to the illumination 2 shown in the optical system of FIG.
An optical system depending on the detection principle may be added to the detection system consisting of the camera 1 and illumination 2 shown in FIG. Further, in FIG. 1, an annular illumination is used in the explanation, but any illumination other than the annular illumination may be used as long as it is a means that can illuminate the inspection object from above.

【0019】[0019]

【発明の効果】本発明によれば、フラットパッケージリ
ードのはんだ接合部において、リード先端部位置の特定
が可能となるので、リード部に影響されないはんだ付け
検査が可能となり、信頼性の高いはんだ形状検査が実現
できる。これによりはんだ付け検査の自動化ができ、は
んだ付けプロセスの省人化、および信頼性の向上という
効果がある。
[Effects of the Invention] According to the present invention, it is possible to specify the position of the lead tip in the solder joint part of a flat package lead, so it is possible to perform soldering inspection that is not affected by the lead part, and the shape of the solder is highly reliable. Inspection is possible. This allows automation of soldering inspection, which has the effect of reducing labor in the soldering process and improving reliability.

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

【図1】本発明の一実施例を示す装置の概略図である。FIG. 1 is a schematic diagram of an apparatus showing an embodiment of the present invention.

【図2】フラットパッケージの検査対象部の画像例であ
る。
FIG. 2 is an example of an image of a portion to be inspected of a flat package.

【図3】フラットパッケージの検査対象部の断面図であ
る。
FIG. 3 is a cross-sectional view of a portion of the flat package to be inspected.

【図4】フラットパッケージのパッケージエッジの検出
方法を説明する図である。
FIG. 4 is a diagram illustrating a method for detecting a package edge of a flat package.

【図5】フラットパッケージのパッケージエッジの検出
方法を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a method for detecting a package edge of a flat package.

【図6】フラットパッケージの検査対象部の断面図であ
り、照明によりはんだ付部がどのように画像化されるか
を示す図である。
FIG. 6 is a cross-sectional view of a portion to be inspected of a flat package, and is a diagram showing how a soldered portion is imaged by illumination.

【図7】フラットパッケージの大局的なリード先端位置
の検出方法を説明する図である。
FIG. 7 is a diagram illustrating a method for detecting global lead tip positions of a flat package.

【図8】フラットパッケージの大局的なリード先端位置
の検出方法を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a method for detecting global lead tip positions of a flat package.

【図9】フラットパッケージの各はんだ付け部分におけ
るリード先端位置の検出方法を説明する図である。
FIG. 9 is a diagram illustrating a method for detecting lead tip positions at each soldering portion of a flat package.

【図10】装置全体としての動作のフローチャートであ
る。
FIG. 10 is a flowchart of the operation of the apparatus as a whole.

【符号の説明】 1…TVカメラ、    2…照明、        
        3…XYテーブル4…プリント基板、
  5…フラットパッケージ、  6…制御装置 7…画像入出力ユニット、      8…CPU、 
   9…外部機器制御ユニット 10…メモリ、    11…バス、    12…撮
像画像、  13…リード14…はんだ付パッド、  
  15…基板、    16…パケージエッジ検出処
理画像 17…パケージエッジ検出用領域、    18…はん
だフィレット 19…リード先端検出処理画像
[Explanation of symbols] 1...TV camera, 2...Lighting,
3...XY table 4...Printed circuit board,
5...Flat package, 6...Control device 7...Image input/output unit, 8...CPU,
9... External device control unit 10... Memory, 11... Bus, 12... Captured image, 13... Lead 14... Soldering pad,
15...Substrate, 16...Package edge detection processing image 17...Package edge detection area, 18...Solder fillet 19...Lead tip detection processing image

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】プリント基板の位置決め装置と、前記プリ
ント基板を撮像する装置と、撮像装置により撮像された
画像を制御装置に入力する回路と、前記位置決め装置の
制御と入力画像の処理を行う制御装置と、被検査対象を
照明する照明装置を有するシステムであって、撮像され
た画像における被検査対象であるフラットパッケージの
パッケージエッジの位置を検出し、その検出された位置
にフラットパッケージのリード寸法を加えた部分をリー
ド先端位置とし、その決定されたリード先端置から先に
対してはんだ付状態を検査することを特徴とするリード
先端検出機能を持つはんだ付検査装置。
1. A device for positioning a printed circuit board, a device for capturing an image of the printed circuit board, a circuit for inputting an image captured by the image capturing device to a control device, and a control for controlling the positioning device and processing the input image. A system that includes a device and an illumination device that illuminates the object to be inspected, detects the position of the package edge of the flat package that is the object to be inspected in the captured image, and displays the lead dimensions of the flat package at the detected position. A soldering inspection device having a lead tip detection function is characterized in that the part where the lead tip is added is set as the lead tip position, and the soldering condition is inspected from the determined lead tip position forward.
【請求項2】撮像された画像における被検査対象である
フラットパッケージのパッケージエッジの位置を検出し
、その検出された位置にフラットパッケージのリード寸
法を加えて得られる、画像におけるリード先端位置で複
数本のリード先端を含む近傍領域において、画像上の被
検査対象であるフラットパッケージのリード先端位置を
検出し、その検出されたリード先端位置から先に対して
はんだ付状態を検査することを特徴とする請求項1記載
のリード先端検出機能を持つはんだ付検査装置。
2. A plurality of lead tip positions in the image obtained by detecting the position of the package edge of the flat package to be inspected in the captured image and adding the lead dimensions of the flat package to the detected position. The feature is that the lead tip position of the flat package that is the object to be inspected is detected on the image in the vicinity including the lead tip of the book, and the soldering condition is inspected from the detected lead tip position forward. A soldering inspection device having a lead tip detection function according to claim 1.
【請求項3】撮像された画像における被検査対象である
フラットパッケージのパッケージエッジの位置を検出し
、その検出された位置にフラットパッケージのリード寸
法を加えて得られる、画像におけるリード先端位置で複
数本のリード先端を含む近傍領域において、画像上の被
検査対象であるフラットパッケージのリード先端位置を
検出し、更に各はんだ付検査ポイント毎に、そのはんだ
付検査領域内における前述のリード先端位置の近傍領域
において、各はんだ付検査ポイントにおけるリード先端
位置を画像より検出し、その検出されたリード先端位置
から先に対してはんだ付状態を検査することを特徴とす
る請求項1記載のリード先端検出機能を持つはんだ付検
査装置。
3. A plurality of lead tip positions in the image obtained by detecting the position of the package edge of the flat package to be inspected in the captured image and adding the lead dimensions of the flat package to the detected position. The lead tip position of the flat package to be inspected on the image is detected in the vicinity area including the lead tip of the book, and the lead tip position mentioned above in the soldering inspection area is detected for each soldering inspection point. 2. The lead tip detection method according to claim 1, wherein the lead tip position at each soldering inspection point is detected from an image in a nearby area, and the soldering state is inspected from the detected lead tip position forward. Functional soldering inspection equipment.
【請求項4】検査用のNCデータより与えられる画像上
の検査対象であるフラットパッケージのリード先端位置
で複数本のリード先端を含む近傍領域において、画像上
の被検査対象であるフラットパッケージのリード先端位
置を検出し、各はんだ付検査ポイントにおいて前述の検
出されたリード先端位置から先にたいしてはんだ付状態
を検査することを特徴とする請求項1記載のリード先端
検出機能を持つはんだ付検査装置。
4. At the lead tip position of the flat package to be inspected on the image given by NC data for inspection, in a nearby area including a plurality of lead tips, the lead of the flat package to be inspected on the image is detected. 2. The soldering inspection device having a lead tip detection function according to claim 1, wherein the tip position is detected and the soldering state is inspected from the detected lead tip position onward at each soldering inspection point.
【請求項5】検査用のNCデータより与えられる画像上
の検査対象であるフラットパッケージのリード先端位置
で複数本のリード先端を含む近傍領域において、画像上
の被検査対象であるフラットパッケージのリード先端位
置を検出し、更に各はんだ付検査ポイント毎に、そのは
んだ付検査領域内における前述のリード先端位置の近傍
領域において、各はんだ付検査ポイントにおけるリード
先端位置を画像より検出し、その検出されたリード先端
位置から先にたいしてはんだ付状態を検査することを特
徴とする請求項1記載のリード先端検出機能を持つはん
だ付検査装置。
5. At the lead tip position of the flat package to be inspected on the image given by NC data for inspection, in a nearby area including a plurality of lead tips, the lead of the flat package to be inspected on the image is detected. The tip position is detected, and for each soldering inspection point, the lead tip position at each soldering inspection point is detected from the image in the vicinity of the aforementioned lead tip position within the soldering inspection area, and the detected lead tip position is detected from the image. 2. The soldering inspection device having a lead tip detection function according to claim 1, wherein the soldering condition is inspected from the lead tip position first.
【請求項6】画像上の各はんだ付検査ポイントのはんだ
付検査領域内に、検査用のNCデータより与えられる画
像上の検査対象であるフラットパッケージのリード先端
位置の近傍領域を設け、その近傍領域内において各はん
だ付検査ポイントにおけるリード先端位置を画像より検
出し、その検出されたリード先端位置から先に対しては
んだ付状態を検査することを特徴とする請求項1記載の
リード先端検出機能を持つはんだ付検査装置。
6. A region in the vicinity of the lead tip position of the flat package to be inspected on the image given by NC data for inspection is provided within the soldering inspection area of each soldering inspection point on the image; The lead tip detection function according to claim 1, wherein the lead tip position at each soldering inspection point within the area is detected from an image, and the soldering state is inspected from the detected lead tip position forward. Soldering inspection equipment with
JP13097491A 1991-06-03 1991-06-03 Soldering inspection device with lead tip inspection function Pending JPH04355312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13097491A JPH04355312A (en) 1991-06-03 1991-06-03 Soldering inspection device with lead tip inspection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13097491A JPH04355312A (en) 1991-06-03 1991-06-03 Soldering inspection device with lead tip inspection function

Publications (1)

Publication Number Publication Date
JPH04355312A true JPH04355312A (en) 1992-12-09

Family

ID=15046957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13097491A Pending JPH04355312A (en) 1991-06-03 1991-06-03 Soldering inspection device with lead tip inspection function

Country Status (1)

Country Link
JP (1) JPH04355312A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006098365A (en) * 2004-09-30 2006-04-13 Nec Corp System and method for soldering visual inspection
JP2011064689A (en) * 2010-10-18 2011-03-31 Nec Corp Device and method for visual inspection of soldering

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006098365A (en) * 2004-09-30 2006-04-13 Nec Corp System and method for soldering visual inspection
JP2011064689A (en) * 2010-10-18 2011-03-31 Nec Corp Device and method for visual inspection of soldering

Similar Documents

Publication Publication Date Title
JPH0572961B2 (en)
US7664311B2 (en) Component mounting board inspecting apparatus
JP2011158363A (en) Soldering inspection device for pga mounting substrate
JP2002107126A (en) Apparatus and method for inspecting substrate
JP2007242944A (en) Method and device for evaluating solder wettability
JPS639602B2 (en)
JPH04355312A (en) Soldering inspection device with lead tip inspection function
JP2658405B2 (en) Method for manufacturing semiconductor device
JP3038107B2 (en) Soldering inspection method
JP2629798B2 (en) Board inspection equipment
JPH0367567B2 (en)
KR0141154B1 (en) The test method of inserting for electronic elements on pcb(printed circuit board)
JP2536745B2 (en) PCB cut condition inspection method
JP3755370B2 (en) Solder fillet inspection method
JPH0996611A (en) Apparatus for visual inspection of soldering and visual inspection method
JPH04355310A (en) J lead parts soldering inspection device with solder joint detection function
JP2684689B2 (en) Solder ball detection method
Lu et al. Machine vision systems using machine learning for industrial product inspection
JP2002296016A (en) Method for recognizing shape of protective layer of printed circuit board and method of inspection
JPH0378607A (en) Inspecting apparatus of soldering
JPH0619252B2 (en) Soldering inspection device for printed wiring boards
JPH02278105A (en) Inspecting apparatus for soldering
JP2000205837A (en) Inspection device and method for printing machine of cream solder and printing machine with its inspection device
JP2739739B2 (en) Misalignment inspection device
JPH0642937A (en) Solder-bridge inspection method