JPH10170224A - Visual checking method for soldering joint and its device - Google Patents

Visual checking method for soldering joint and its device

Info

Publication number
JPH10170224A
JPH10170224A JP32688196A JP32688196A JPH10170224A JP H10170224 A JPH10170224 A JP H10170224A JP 32688196 A JP32688196 A JP 32688196A JP 32688196 A JP32688196 A JP 32688196A JP H10170224 A JPH10170224 A JP H10170224A
Authority
JP
Japan
Prior art keywords
lead
soldering
imaging
image data
illumination
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
JP32688196A
Other languages
Japanese (ja)
Inventor
Mitsuji Inoue
三津二 井上
Kikuyo Koike
菊代 小池
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP32688196A priority Critical patent/JPH10170224A/en
Publication of JPH10170224A publication Critical patent/JPH10170224A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To determine whether a back fillet which hides itself behind leads is really present or not, by illuminating the leads by lights which are almost orthogonal to the lead arranging line, picking up images with cameras opposite to the lights, and processing the image. SOLUTION: Lead rows A, B of a QFP(Quad Fiat Package) 1 soldered onto a print substrate, for example, are illuminated by lighting devices 11, 12, and are photographed by CCD cameras 13, 14 which are set at specified angle where a back fillet part can be observed. The image data outputted from the cameras 13, 14 is sent to an image processing section 15, and a heel part of each lead is detected and is provided with binarization process at a given level. A pixel area of the highlight part where the back fillet is not formed is determined on each lead, and if the pixel area is more than specific value QFP it is determined to get a faulty soldering. After the checking has been completed, an XY table 10 is moved and next view field is checked. And faulty soldering can also be determined by arranging a detecting window in position of the back fillet and measuring length of continuos dark part.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばプリント基
板上にはんだ付されたリード付きの電子部品、例えばQ
FP(Quad Flat Package )やTCP(Tape Carrier P
ackage)のはんだ付け状態を検査するもので、特に電子
部品のリードのヒール部分のはんだ付け状態を検査する
はんだ付け外観検査方法及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic component having a lead, for example, soldered on a printed circuit board.
FP (Quad Flat Package) and TCP (Tape Carrier P
In particular, the present invention relates to a soldering appearance inspection method and apparatus for inspecting a soldering state of a heel portion of a lead of an electronic component.

【0002】[0002]

【従来の技術】図20はリード付きの電子部品として例
えばQFP1をプリント基板2上にはんだ付けしたリー
ドはんだ付け部の断面図である。すなわち、リード3
は、リード先端4に向かって下方向に曲げられてその上
部にリード肩5が形成されるとともに下部にヒール部6
が形成され、そのリード先端4及びヒール部6に亘って
はんだ付け7が行われる。
2. Description of the Related Art FIG. 20 is a sectional view of a lead soldering portion in which, for example, a QFP 1 is soldered on a printed circuit board 2 as an electronic component with a lead. That is, lead 3
Is bent downward toward the lead tip 4 to form a lead shoulder 5 at the upper portion and a heel portion 6 at the lower portion.
Is formed, and soldering 7 is performed over the lead tip 4 and the heel portion 6.

【0003】そして、このはんだ付け7におけるリード
先端4の部分を先端フィレット8と称し、ヒール部6の
部分をバックフィレット9と称する。このようなQFP
1に代表されるリード付き電子部品におけるリードはん
だ付け部の引っ張り強度は、ヒール部6の部分であるバ
ックフィレット9が最も大きい。このような事からリー
ドはんだ付け部の接続の信頼性は、バックフィレット9
の有無で決まるといわれている。
The lead tip 4 in the soldering 7 is called a tip fillet 8 and the heel 6 is called a back fillet 9. Such QFP
In the leaded electronic component represented by 1, the tensile strength of the lead soldering portion is the largest at the back fillet 9 which is the heel portion 6. For this reason, the reliability of the connection of the lead soldered portion is determined by the back fillet 9
It is said to be determined by the presence or absence.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、QFP
1のはんだ付け状態の検査では、バックフィレット9の
部分は各リード3に隠れて外側からは見えにくく、目視
検査や自動検査では便宜的に先端フィレット8の有無だ
けリードはんだ付け部を良否判定している。
However, the QFP
In the inspection of the soldering condition 1, the back fillet 9 is hidden by each lead 3 and is difficult to see from the outside. For visual inspection and automatic inspection, the quality of the lead soldering portion is judged based on the presence or absence of the tip fillet 8 for convenience. ing.

【0005】このため、リードはんだ付け部の判定結果
に対する信頼性が低く、リードはんだ付けに対する理想
的な品質保証を得るには至らなかった。そこで本発明
は、リードに隠れて見えにくいバックフィレットの有無
を判定して理想的な品質保証を得ることができるはんだ
付け外観検査方法及びその装置を提供することを目的と
する。
For this reason, the reliability of the judgment result of the lead soldering portion is low, and it has not been possible to obtain the ideal quality assurance for the lead soldering. SUMMARY OF THE INVENTION It is an object of the present invention to provide a soldering appearance inspection method and an apparatus therefor that can determine the presence or absence of a back fillet that is difficult to see by being hidden by leads and can obtain ideal quality assurance.

【0006】[0006]

【課題を解決するための手段】請求項1によれば、基板
上にはんだ付けされたリード付き部品のリードのヒール
部分のはんだ付け状態を検査するはんだ付け外観検査方
法において、リードの延在方向に対して略直行する方向
からリードを照明し、かつこの照明方向と相反する方向
からリードを撮像し、この撮像より得られる画像データ
の明暗に基づいてヒール部分のはんだ付け状態の良否を
判定するはんだ付け外観検査方法である。
According to a first aspect of the present invention, there is provided a soldering appearance inspection method for inspecting a soldering state of a heel portion of a lead of a leaded component soldered on a substrate. The lead is illuminated from a direction substantially perpendicular to the lead, and the lead is imaged from a direction opposite to the illumination direction, and the quality of the soldering state of the heel portion is determined based on the brightness of the image data obtained from the imaging. This is a soldering appearance inspection method.

【0007】請求項2によれば、請求項1記載のはんだ
付け外観検査方法において、リードの撮像角度は、基板
面からリードと隣接するリードとの間からヒール部分を
観察可能な角度に設定し、かつリードの照明角度もリー
ドの撮像角度と略等しく設定する。
According to a second aspect of the present invention, in the soldering appearance inspection method according to the first aspect, the imaging angle of the lead is set to an angle at which the heel portion can be observed from between the substrate surface and the adjacent lead. Also, the illumination angle of the lead is set substantially equal to the imaging angle of the lead.

【0008】請求項3によれば、請求項1記載のはんだ
付け外観検査方法において、リードを撮像した画像デー
タを照明により正反射を入射する部分と正反射を入射し
ない部分とを分けるレベルで2値化し、この2値化画像
データの明るい部分と暗い部分との画素面積に基づいて
ヒール部分のはんだ付け状態の良否を判定する。
According to a third aspect of the present invention, in the soldering appearance inspection method according to the first aspect, the image data obtained by imaging the lead is divided into two parts at a level that separates a part where specular reflection is incident and a part where regular reflection is not incident by illumination. The heel portion is judged to be good or bad based on the pixel area of the bright portion and the dark portion of the binarized image data.

【0009】請求項4によれば、請求項1記載のはんだ
付け外観検査方法において、リードを相反する2方向か
ら撮像し、これらの画像データをそれぞれ照明により正
反射を入射する部分と正反射を入射しない部分とを分け
るレベルで2値化し、この後にこれら画像データを画素
間で論理積し、これにより得られる画像データの明るい
部分と暗い部分との画素面積に基づいてヒール部分のは
んだ付け状態の良否を判定する。
According to a fourth aspect of the present invention, in the soldering appearance inspection method according to the first aspect, the lead is imaged from two opposite directions, and these image data are respectively subjected to a portion where regular reflection is incident by illumination and a regular reflection. Binarization is performed at a level that separates the non-incident part, and thereafter, these image data are logically ANDed between the pixels, and the soldering state of the heel part based on the pixel area of the bright part and the dark part of the obtained image data Is determined.

【0010】請求項5によれば、請求項1記載のはんだ
付け外観検査方法において、リードを撮像した画像デー
タにおける明暗を検索して連続した暗い部分の長さを検
出し、この暗い部分の長さに基づいてヒール部分のはん
だ付け状態の良否を判定する。
According to a fifth aspect of the present invention, in the soldering appearance inspection method according to the first aspect, the length of a continuous dark portion is detected by searching for light and dark in image data obtained by imaging a lead, and the length of the dark portion is detected. The quality of the soldering state of the heel portion is determined based on the result.

【0011】請求項6によれば、請求項1記載のはんだ
付け外観検査方法において、リードの延在方向に対して
略直行する方向からのリードに対する照明に、リードの
延在方向と同一方向からのリードに対する照明を追加す
る。
According to a sixth aspect of the present invention, in the soldering appearance inspection method according to the first aspect, illumination of the lead from a direction substantially perpendicular to the extending direction of the lead is performed in the same direction as the extending direction of the lead. Add lighting for the lead.

【0012】請求項7によれば、基板上にはんだ付けさ
れたリード付き部品のリードのヒール部分のはんだ付け
状態を検査するはんだ付け外観検査装置において、リー
ドの延在方向に対して略直行する方向からリードを照明
する照明手段と、照明方向と相反する方向からリードを
撮像する撮像手段と、この撮像装置の撮像より得られる
画像データの明暗に基づいてヒール部分のはんだ付け状
態の良否を判定する判定手段と、を備えたはんだ付け外
観検査装置である。
According to a seventh aspect of the present invention, in a soldering appearance inspection apparatus for inspecting a soldering state of a heel portion of a lead of a component with a lead soldered on a substrate, the device is substantially perpendicular to an extending direction of the lead. Illuminating means for illuminating the lead from the direction, imaging means for imaging the lead from a direction opposite to the illuminating direction, and judging the quality of the soldering state of the heel portion based on the brightness of the image data obtained by the imaging device. And a determining means for performing the soldering appearance inspection.

【0013】請求項8によれば、請求項7記載のはんだ
付け外観検査装置において、撮像手段の撮像角度は、基
板面からリードと隣接するリードとの間からヒール部分
を観察可能な角度に設定し、かつ照明手段の照明角度も
リードの撮像角度と略等しく設定する。
According to an eighth aspect of the present invention, in the soldering appearance inspection apparatus according to the seventh aspect, the imaging angle of the imaging means is set to an angle at which the heel portion can be observed from between the substrate surface and the adjacent lead. In addition, the illumination angle of the illumination means is set substantially equal to the imaging angle of the lead.

【0014】請求項9によれば、請求項7記載のはんだ
付け外観検査装置において、判定手段は、撮像手段の撮
像により得られる画像データを、照明手段による照明に
より正反射を入射する部分と正反射を入射しない部分と
を分けるレベルで2値化し、この2値化画像データの明
るい部分と暗い部分との画素面積に基づいてヒール部分
のはんだ付け状態の良否を判定する機能を有する。
According to a ninth aspect of the present invention, in the soldering appearance inspection apparatus according to the seventh aspect, the judging means converts the image data obtained by the imaging by the imaging means into a portion where specular reflection is caused by illumination by the illumination means. It has a function of binarizing at a level that separates a part where no reflection is incident, and judging the soldering state of the heel part based on the pixel area of the bright part and the dark part of the binary image data.

【0015】請求項10によれば、請求項7記載のはん
だ付け外観検査装置において、判定手段は、撮像手段の
撮像により得られる画像データにおける明暗を検索して
連続した暗い部分の長さを検出し、この暗い部分の長さ
に基づいてヒール部分のはんだ付け状態の良否を判定す
る機能を有する。
According to a tenth aspect of the present invention, in the soldering appearance inspection apparatus according to the seventh aspect, the judging means detects the length of a continuous dark portion by searching for light and dark in image data obtained by imaging by the imaging means. Then, it has a function of determining the quality of the soldering state of the heel portion based on the length of the dark portion.

【0016】請求項11によれば、基板上にはんだ付け
されたリード付き部品のリードのヒール部分のはんだ付
け状態を検査するはんだ付け外観検査装置において、リ
ードの延在方向に対して略直行する相反する2つの方向
からそれぞれリードを照明する2つの照明手段と、これ
ら照明手段の2方向の照明方向とそれぞれ相反する2つ
の方向からそれぞれリードを撮像する2つの撮像手段
と、これら2つの撮像手段の撮像によりそれぞれ得られ
る2つの画像データをそれぞれ照明により正反射を入射
する部分と正反射を入射しない部分とを分けるレベルで
2値化し、この後にこれらの画像データを画素間で論理
積し、これにより得られる画像データの明るい部分と暗
い部分との画素面積に基づいてヒール部分のはんだ付け
状態の良否を判定する判定手段と、を備えたはんだ付け
外観検査装置である。
According to the eleventh aspect, in a soldering appearance inspection apparatus for inspecting a soldering state of a heel portion of a lead of a component with a lead soldered on a substrate, the device is substantially perpendicular to the extending direction of the lead. Two illumination means for illuminating the lead from two opposite directions, two imaging means for imaging the lead from two directions respectively opposite to the two illumination directions of these illumination means, and these two imaging means Are binarized at a level that separates a part where specular reflection is incident and a part where specular reflection is not incident by illumination, and after that, these image data are logically ANDed between pixels, The quality of the soldering state of the heel part is determined based on the pixel areas of the bright part and the dark part of the obtained image data. And determining means is a soldering visual inspection apparatus having a.

【0017】請求項12によれば、請求項7又は11記
載のはんだ付け外観検査装置において、リードの延在方
向と同一方向からのリードを照明する照明手段を追加し
た。このようなはんだ付け外観検査方法及びその装置で
あれば、基板上にはんだ付けされたリード付き部品のリ
ードの延在方向に対して略直行する方向から照明を行
い、この照明方向と相反する方向からリードを撮像する
ことにより、ヒール部分は暗い部分として撮像され、そ
の画像データの明暗に基づいてヒール部分であるバック
フィレットのはんだ付け状態の良否を判定するので、リ
ードに隠れて見えにくいバックフィレットの有無が判定
でき、理想的な品質保証を得ることができる。
According to the twelfth aspect, in the soldering appearance inspection apparatus according to the seventh or eleventh aspect, an illuminating means for illuminating the lead from the same direction as the extending direction of the lead is added. With such a soldering appearance inspection method and apparatus, illumination is performed from a direction substantially perpendicular to the direction in which the leads of the leaded component soldered on the substrate extend, and a direction opposite to this illumination direction. The heel portion is imaged as a dark portion by imaging the lead from, and the quality of the soldering state of the back fillet, which is the heel portion, is determined based on the brightness of the image data. Can be determined, and ideal quality assurance can be obtained.

【0018】[0018]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(1) 以下、本発明の第1の実施の形態について図面を参
照して説明する。本発明のはんだ付け外観検査方法は、
例えば、プリント基板上にはんだ付けされたQFPリー
ドのヒール部分、すなわちバックフィレットのはんだ付
け状態を検査する場合、リードの延在方向に対して略直
行する方向からリードを照明し、かつこの照明方向と相
反する方向からリードを撮像し、この撮像より得られる
画像データの明暗に基づいてバックフィレットのはんだ
付け状態の良否を判定するものである。
(1) Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. The soldering appearance inspection method of the present invention,
For example, when inspecting a heel portion of a QFP lead soldered on a printed circuit board, that is, a soldering state of a back fillet, the lead is illuminated from a direction substantially perpendicular to a direction in which the lead extends, and The lead is imaged from a direction opposite to the above, and the quality of the soldering state of the back fillet is determined based on the brightness of the image data obtained by this imaging.

【0019】図1はかかる方法を適用したはんだ付け外
観検査装置の構成図である。なお、QFP1をプリント
基板2上にはんだ付けしたリードはんだ付け部の断面は
図20に示す断面図と同様である。
FIG. 1 is a configuration diagram of a soldering appearance inspection apparatus to which such a method is applied. The cross section of the lead soldering portion where the QFP 1 is soldered on the printed circuit board 2 is the same as the cross section shown in FIG.

【0020】XYテーブル部10上には、QFP1が載
置されている。なお、XYテーブル部10は、QFP1
がプリント基板2上にはんだ付れされた状態で載置され
るものであり、実際の大きさとは相違している。
On the XY table 10, a QFP 1 is placed. Note that the XY table section 10 stores the QFP1
Are mounted on the printed circuit board 2 in a soldered state, which is different from the actual size.

【0021】このQFP1を載置するXYテーブル部1
0の斜め上方には、各照明装置11、12が配置されて
いる。これら照明装置11、12は、それぞれQFPリ
ード3の延在方向に対して略直行する方向からQFPリ
ード3に対して平行光を放射して照明するもので、この
うち照明装置11はQFPリード列A又はCに対して照
明するものであり、照明装置12はQFPリード列B又
はDに対して照明するものとなっている。
XY table 1 on which this QFP 1 is placed
The lighting devices 11 and 12 are arranged diagonally above 0. The illumination devices 11 and 12 emit parallel light to the QFP lead 3 from a direction substantially perpendicular to the extending direction of the QFP lead 3 for illumination. The illumination device 12 illuminates A or C, and the illumination device 12 illuminates the QFP lead array B or D.

【0022】又、XYテーブル部10の斜め上方には、
各CCDカメラ13、14が配置されている。これらC
CDカメラ13、14は、それぞれ各照明装置11、1
2による照明方向と相反する方向からQFPリード3を
撮像するもので、このうちCCDカメラ13はQFPリ
ード列A又はCを撮像するものであり、CCDカメラ1
4はQFPリード列B又はDを撮像するものとなってい
る。
Also, obliquely above the XY table section 10,
Each CCD camera 13 and 14 is arranged. These C
The CD cameras 13 and 14 are respectively connected to the lighting devices 11 and 1
2, the CCD camera 13 captures an image of the QFP lead row A or C, and the CCD camera 1 captures the QFP lead 3 in a direction opposite to the illumination direction of the CCD camera 1.
Reference numeral 4 denotes an image of the QFP lead array B or D.

【0023】ここで、各CCDカメラ13、14の撮像
角度は、図2のリード3の先端方向から見た検出光学系
の配置図に示すように、プリント基板2の面に対し、Q
FPリード3と隣接するQFPリードとの間からバック
フィレット9の部分を観察可能な角度θc に設定されて
いる。
Here, as shown in the layout of the detection optical system viewed from the tip of the lead 3 in FIG.
It is set to part of the back fillet 9 on observable angle theta c from between the QFP leads and the adjacent FP lead 3.

【0024】すなわち、リード3の幅をLw 、プリント
基板面からリード型5までの高さをLh 、リードピッチ
をLp とすると、各CCDカメラ13、14の撮像角度
θcは、 tan-1(Lh /Lw )<θc < tan-1(Lh (Lp /Lw )) …(1) の範囲内に設定されている。
That is, assuming that the width of the lead 3 is L w , the height from the printed circuit board surface to the lead die 5 is L h , and the lead pitch is L p , the imaging angle θ c of each of the CCD cameras 13 and 14 is tan -1 (L h / L w) <θ c <tan -1 (L h (L p / L w)) ... is set in the range of (1).

【0025】又、各照明装置11、12の照明角度も、
プリント基板2上の平坦部の正反射光を捕らえるため
に、QFPリード3の撮像角度θc と略等しい照明角度
θs に設定されている。
The illumination angle of each of the illumination devices 11 and 12 is also
To capture the specular reflection light of the flat portion on the printed circuit board 2 is set to be approximately equal to the illumination angle theta s and imaging angle theta c of QFP lead 3.

【0026】これにより照明装置11とCCDカメラ1
3との一対で照明、撮像を行い、かつ照明装置12とC
CDカメラ14との他の一対で照明、撮像を行うと構成
となっている。
Thus, the illumination device 11 and the CCD camera 1
3 performs illumination and imaging, and the illumination device 12 and C
Illumination and imaging are performed by another pair with the CD camera 14.

【0027】一方、画像処理部15は、各CCDカメラ
13、14の撮像より得られる各画像データの明暗に基
づいてバックフィレット9のはんだ付け状態の良否を判
定する判定手段としての機能を有している。
On the other hand, the image processing section 15 has a function as a judging means for judging the soldering state of the back fillet 9 based on the brightness of each image data obtained by the imaging of the CCD cameras 13 and 14. ing.

【0028】具体的に判定手段は、各CCDカメラ1
3、14の撮像により得られる画像データを、各照明装
置11、12による照明により正反射を入射する部分と
正反射を入射しない部分とを分けるレベルで2値化し、
この2値化画像データの明るい部分と暗い部分との画素
面積に基づいてバックフィレット9のはんだ付け状態の
良否を判定する機能を有している。
More specifically, the judging means includes each CCD camera 1
Image data obtained by the imaging of 3 and 14 is binarized at a level that separates a portion where regular reflection is incident and a portion where regular reflection is not incident by illumination by the illumination devices 11 and 12,
The back fillet 9 has a function of determining whether or not the soldering state of the back fillet 9 is good, based on the pixel areas of the bright portion and the dark portion of the binary image data.

【0029】制御部16は、各照明装置11、12を点
灯制御し、かつXYテーブル10を移動制御して各CC
Dカメラ13、14の視野、すなわちプリント基板2上
の検査対象領域を検査位置に移動制御する機能を有して
いる。
The control unit 16 controls the lighting of each of the illuminating devices 11 and 12 and the movement of the XY table 10 to control each CC.
It has a function to control the movement of the visual field of the D cameras 13 and 14, that is, the inspection target area on the printed circuit board 2 to the inspection position.

【0030】次に上記の如く構成された装置の作用につ
いて説明する。QFP1のリード列Aを検査する場合、
照明装置11を点灯し、CCDカメラ13によりQFP
リード列Aを撮像する。このCCDカメラ13から出力
された画像信号は、画像処理部15に送られる。
Next, the operation of the above-configured device will be described. When inspecting the lead row A of QFP1,
The lighting device 11 is turned on, and the CCD camera 13
The lead row A is imaged. The image signal output from the CCD camera 13 is sent to the image processing unit 15.

【0031】この画像処理部15は、CCDカメラ13
からの画像信号を入力し、画像データとして記憶する。
図3はかかる画像データの模式図であって、リード肩
5、プリント基板2に接しているリード3の上面及びは
んだフィレットの裾野部分(斜線部分)は平坦であるの
で照明光の正反射光がCCDカメラ13に入射して明る
くなっている。
The image processing unit 15 includes a CCD camera 13
And stores it as image data.
FIG. 3 is a schematic diagram of such image data, in which the lead shoulder 5, the upper surface of the lead 3 in contact with the printed circuit board 2 and the foot portion (hatched portion) of the solder fillet are flat, so that specular reflection light of the illumination light is generated. The light enters the CCD camera 13 and becomes bright.

【0032】従って、正常にはんだ付けされていれば、
リード3が屈曲している部分やはんだフィレット部分は
急傾斜になっているので、照明光はCCDカメラ13に
正反射せずに暗くなる。すなわち、バックフィレット9
が正常に形成されていれば、このバックフィレット9の
部分は暗くなり、逆にリード浮きなどによってバックフ
ィレット9が形成されていなければ、図4に示すように
明るくなる。
Therefore, if soldering is performed normally,
Since the bent portion of the lead 3 and the solder fillet portion are steeply inclined, the illumination light becomes dark without specular reflection on the CCD camera 13. That is, the back fillet 9
If the back fillet 9 is normally formed, the portion of the back fillet 9 becomes dark, and if the back fillet 9 is not formed due to lead floating or the like, it becomes bright as shown in FIG.

【0033】そこで、画像処理部15は、このような画
像データの明暗に基づいてはんだ付け状態の良否を判定
する。先ず、図3及び図4に示すように電子部品の外形
サイズやマウント座標などからリード3の各々のヒール
部6に各検出領域Qを設定する。
Therefore, the image processing unit 15 determines the quality of the soldering state based on the brightness of the image data. First, as shown in FIGS. 3 and 4, each detection area Q is set in each heel portion 6 of the lead 3 based on the external size of the electronic component, mounting coordinates, and the like.

【0034】次に、これら検出領域Q内を平面部分とは
んだフィレットによって正反射せず暗くなる部分を分離
する所定の2値化レベルで2値化処理する。次に、この
2値化画像データの各検出領域Q内において、明るい部
分の画素面積を求める。
Next, the detection area Q is subjected to a binarization process at a predetermined binarization level for separating a plane portion and a portion which is not regularly reflected by the solder fillet and becomes dark. Next, in each detection area Q of the binary image data, a pixel area of a bright portion is obtained.

【0035】次に、各々リード3において明るい部分の
画素面積が所定の画素数以上であるかを判断し、この明
るい部分の画素面積が所定の画素数以下であれば良品と
して判定し、所定の画素数以上であればバックフィレッ
ト9のはんだ付不良と判定する。
Next, it is determined whether or not the pixel area of the bright portion of each lead 3 is equal to or larger than a predetermined number of pixels. If the number of pixels is equal to or more than the number of pixels, it is determined that the back fillet 9 is defective in soldering.

【0036】このような手順で現視野の検査が終了する
と、次の視野になるようにXYテーブル10を移動制御
し、上記同様に撮像、検出、判定を行う。この場合、Q
FP1のリード列の方向に応じて各照明装置11、12
と各CCDカメラ13、14とを切り換える。QFPリ
ード列A、Cに対しては照明装置11とCCDカメラ1
3との一対、QFPリード列B、Dに対しては照明装置
12とCCDカメラ14との一対を用いる。
When the inspection of the current field of view is completed in such a procedure, the movement of the XY table 10 is controlled so that the next field of view is obtained, and imaging, detection, and determination are performed in the same manner as described above. In this case, Q
Each of the lighting devices 11, 12 according to the direction of the lead row of FP1
And each of the CCD cameras 13 and 14 is switched. Lighting device 11 and CCD camera 1 for QFP lead rows A and C
3 and a pair of the illumination device 12 and the CCD camera 14 for the QFP lead rows B and D.

【0037】このように上記第1の実施の形態において
は、QFPリード3の延在方向に対して略直行する方向
から各照明装置11、12により照明を行い、かつこの
照明方向と相反する方向からQFPリード3を各CCD
カメラ13、14により撮像を行い、この撮像より得ら
れる画像データの明暗に基づいてバックフィレット9の
はんだ付け状態の良否を判定するので、各QFPリード
3に隠れて見えにくいバックフィレット9を撮像できて
その良否を判定でき、QFPリード3のはんだ付けに対
する判定結果から理想的な品質保証を得ることができ
る。
As described above, in the first embodiment, illumination is performed by each of the illumination devices 11 and 12 from a direction substantially perpendicular to the extending direction of the QFP lead 3, and the direction opposite to this illumination direction is used. From QFP lead 3 to each CCD
Since the images are taken by the cameras 13 and 14, and the quality of the soldering state of the back fillet 9 is determined based on the brightness of the image data obtained by the imaging, the back fillet 9 hidden by each QFP lead 3 and difficult to see can be taken. Quality can be determined, and ideal quality assurance can be obtained from the determination result for the soldering of the QFP lead 3.

【0038】なお、上記第1の実施の形態は、次の通り
変形してもよい。例えば、上記第1の実施の形態では、
各一対の照明装置11、12と各CCDカメラ13、1
4との配置を固定し、これらを各QFPリード列A〜D
によって切り換えているが、各QFPリード列A〜Dに
よって一対の照明装置とCCDカメラとを水平方向に回
転させてもよい。
The first embodiment may be modified as follows. For example, in the first embodiment,
Each pair of illumination devices 11, 12 and each CCD camera 13, 1
4 is fixed, and these are connected to the respective QFP lead rows A to D.
However, the pair of lighting devices and the CCD camera may be rotated in the horizontal direction by the QFP lead rows A to D.

【0039】例えば、図1に示す照明装置11とCCD
カメラ13とだけを回転テーブルに固定してモータなど
により回転させ、QFPリード列Aを基準としてQFP
リード列Bは左方向へ90度、QFPリード列Cは18
0度、QFPリード列Dは右方向へ90度回転させる。
なお、この回転方向は逆方向としてもよい。
For example, the illumination device 11 shown in FIG.
Only the camera 13 is fixed to the rotary table and rotated by a motor or the like, and the QFP
Lead row B is 90 degrees to the left, QFP lead row C is 18
The QFP lead row D is rotated 90 degrees clockwise to 0 degrees.
Note that the rotation direction may be reversed.

【0040】又、はんだ付け状態良否の判定は、明るい
部分の画素面積を求めているが、これを暗い部分の画素
面積を求めて行ってもよい。ただし、はんだ付け不良の
判定は、所定画素数以下とする。
Although the determination of the goodness of the soldering state is based on the pixel area of the bright part, the determination may be made by determining the pixel area of the dark part. However, the determination of the soldering failure is not more than a predetermined number of pixels.

【0041】又、はんだ付け状態良否の判定は、検査領
域Qにおける明るい部分又は暗い部分の画素数の割合が
行ってもよい。 (2) 次に本発明の第2の実施の形態について説明する。
なお、図1と同一部分には同一符号を付してその詳しい
説明は省略する。
The determination of the goodness of the soldering condition may be made based on the ratio of the number of pixels in the bright area or the dark area in the inspection area Q. (2) Next, a second embodiment of the present invention will be described.
The same parts as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0042】図5ははんだ付け外観検査装置の構成図で
ある。QFP1を載置するXYテーブル部10の斜め上
方には、各照明装置11、12及び20、21が配置さ
れている。
FIG. 5 is a configuration diagram of a soldering appearance inspection apparatus. The lighting devices 11, 12, 20, and 21 are arranged diagonally above the XY table section 10 on which the QFP 1 is placed.

【0043】これら照明装置11、12及び20、21
は、それぞれQFPリード3の延在方向に対して略直行
する方向からQFPリード3に対して平行光を放射して
照明するもので、このうち各照明装置11、20は互い
に相反する方向からQFPリード列A又はCに対して照
明するものであり、各照明装置12、21は互いに相反
する方向からQFPリード列B又はDに対して照明する
ものとなっている。
The lighting devices 11, 12 and 20, 21
Are used to illuminate the QFP lead 3 by radiating parallel light to the QFP lead 3 in a direction substantially perpendicular to the extending direction of the QFP lead 3. The lighting devices 12 and 21 illuminate the QFP lead arrays B and D from directions opposite to each other.

【0044】なお、図6に示すように各照明装置11、
20はそれぞれハーフミラー22、23を介してQFP
リード列A又はCを照明し、又各照明装置12、21は
それぞれハーフミラー24、25を介してQFPリード
列B又はDを照明するものとなっている。
As shown in FIG. 6, each lighting device 11,
20 is a QFP through half mirrors 22 and 23, respectively.
Each of the illumination devices 12 and 21 illuminates the QFP lead array B or D via half mirrors 24 and 25, respectively.

【0045】又、XYテーブル部10の斜め上方には、
各CCDカメラ13、14及び26、27が配置されて
いる。これらCCDカメラ13、14及び26、27
は、それぞれ各照明装置11、12、20、21による
照明方向と相反する方向からQFPリード3を撮像する
もので、このうち各CCDカメラ13、26はQFPリ
ード列A又はCを撮像するものであり、各CCDカメラ
14、27はQFPリード列B又はDを撮像するものと
なっている。
Also, obliquely above the XY table section 10,
CCD cameras 13, 14 and 26, 27 are arranged. These CCD cameras 13, 14 and 26, 27
Is for imaging the QFP lead 3 from a direction opposite to the direction of illumination by each of the lighting devices 11, 12, 20, and 21. Of these, each of the CCD cameras 13 and 26 is for imaging the QFP lead row A or C. Each CCD camera 14, 27 captures an image of the QFP lead row B or D.

【0046】ここで、これらCCDカメラ13、14及
び26、27の撮像角度は、図6のQFPリード3の先
端方向から見た検出光学系の配置図に示すように、プリ
ント基板2の面に対し、QFPリード3と隣接するQF
Pリードとの間からバックフィレット9の部分を観察可
能な角度θc に設定されている。
Here, the imaging angles of these CCD cameras 13, 14 and 26, 27 are set on the surface of the printed circuit board 2 as shown in the layout of the detection optical system viewed from the tip end of the QFP lead 3 in FIG. On the other hand, QF adjacent to QFP lead 3
Is set to part of the back fillet 9 on observable angle theta c from between the P read.

【0047】このCCDカメラ13、14の撮像角度θ
c は、上記式(1) に示される範囲内に設定されている。
又、各照明装置11、12及び20、21の照明角度
も、プリント基板2上の平坦部の正反射光を捕らえるた
めに、QFPリード3の撮像角度θc と略等しい照明角
度θs に設定されている。
The imaging angles θ of the CCD cameras 13 and 14
c is set within the range shown by the above equation (1).
Further, the illumination angle of the illumination devices 11, 12 and 20, 21 also, in order to capture the specular reflection light of the flat portion on the printed circuit board 2, set substantially equal to the illumination angle theta s and imaging angle theta c of QFP lead 3 Have been.

【0048】これにより各照明装置11、20と各CC
Dカメラ13、26との各一対でそれぞれ照明、撮像を
行い、かつ各照明装置12、20と各CCDカメラ1
4、26との各一対でそれぞれ照明、撮像を行うと構成
となっている。
Thus, each lighting device 11 and 20 and each CC
Each pair of D cameras 13 and 26 performs illumination and imaging, respectively, and each illumination device 12 and 20 and each CCD camera 1
Lighting and imaging are respectively performed by each pair of Nos. 4 and 26.

【0049】一方、図7は処理制御系の構成図である。
画像処理部28は、各CCDカメラ13、14及び2
6、27の撮像より得られる各画像データをそれぞれ照
明により正反射を入射する部分と正反射を入射しない部
分とを分けるレベルで2値化し、この後にこれら画像デ
ータを画素間で論理積し、これにより得られる画像デー
タの明るい部分と暗い部分との画素面積に基づいてバッ
クフィレット9のはんだ付け状態の良否を判定する機能
を有している。
FIG. 7 is a block diagram of the processing control system.
The image processing unit 28 includes the CCD cameras 13, 14, and 2
Each of the image data obtained from the imagings 6 and 27 is binarized at a level that separates a part where specular reflection is made incident from a part and a part where no regular reflection is made by illumination, and thereafter, these image data are logically ANDed between pixels. The back fillet 9 has a function of judging whether the soldering state of the back fillet 9 is good or not based on the pixel area of the bright part and the dark part of the image data obtained thereby.

【0050】制御部29は、各照明装置11、12及び
20、21を点灯制御し、かつXYテーブル10を移動
制御して各CCDカメラ13、14及び26、27の視
野、すなわちプリント基板2上の検査対象領域を検査位
置に移動制御する機能を有している。
The control unit 29 controls the lighting of each of the illuminating devices 11, 12, 20, and 21 and controls the movement of the XY table 10 to control the field of view of each of the CCD cameras 13, 14 and 26, 27, that is, on the printed circuit board 2. Has a function of controlling the movement of the inspection target area to the inspection position.

【0051】次に上記の如く構成された装置により検査
方法について説明する。QFP1のリード列Aを検査す
る場合、先ず、照明装置11を点灯し、CCDカメラ1
3によりQFPリード列Aを撮像する。このCCDカメ
ラ13から出力された画像信号は、画像処理部28に送
られる。図8(a) はかかる画像データの模式図である。
Next, an inspection method using the apparatus configured as described above will be described. When inspecting the lead array A of the QFP 1, first, the lighting device 11 is turned on, and the CCD camera 1 is turned on.
3 is used to image the QFP lead array A. The image signal output from the CCD camera 13 is sent to the image processing unit 28. FIG. 8A is a schematic diagram of such image data.

【0052】次に、照明装置20を点灯し、CCDカメ
ラ26によりQFPリード列Aを撮像する。このCCD
カメラ26から出力された画像信号は、画像処理部28
に送られる。図8(b) はかかる画像データの模式図であ
る。
Next, the lighting device 20 is turned on, and the CCD camera 26 captures an image of the QFP lead row A. This CCD
The image signal output from the camera 26 is output to an image processing unit 28
Sent to FIG. 8B is a schematic diagram of such image data.

【0053】これら画像データにおいて、リード肩5、
プリント基板2に接しているリード3の上面及びはんだ
フィレットの裾野部分(斜線部分)は平坦であるので照
明光の正反射光が各CCDカメラ13、26に入射して
明るくなっている。
In these image data, the lead shoulder 5,
Since the upper surface of the lead 3 in contact with the printed circuit board 2 and the foot portion (hatched portion) of the solder fillet are flat, the specular reflection light of the illumination light enters the CCD cameras 13 and 26 and becomes bright.

【0054】従って、画像処理部28は、バックフィレ
ット9が正常に形成されていれば、このバックフィレッ
ト9の部分は暗くなり、逆にリード浮きなどによってバ
ックフィレット9が形成されていなければ、図9(a)(b)
に示すように明るくなるような画像データの明暗に基づ
いてはんだ付け状態の良否を判定する。
Therefore, if the back fillet 9 is formed normally, the image processing section 28 becomes dark if the back fillet 9 is darkened. 9 (a) (b)
The quality of the soldering state is determined based on the brightness of the image data that becomes bright as shown in FIG.

【0055】先ず、図8(a)(b)に示す各画像データを平
面部分とはんだフィレットによって正反射せず暗くなる
部分とを分離する所定の2値化レベルで2値化処理す
る。次に、これら2値化画像データを画素間で論理積を
とる。図10(a)(b)はかかる論理積をとった画像データ
であって、同図(a) はバックフィレット9が正常に形成
された場合、同図(b) はバックフィレット9が正常に形
成されない場合である。
First, each image data shown in FIGS. 8A and 8B is subjected to a binarization process at a predetermined binarization level for separating a plane portion and a portion which is not regularly reflected by the solder fillet and becomes dark. Next, the binary image data is ANDed between pixels. FIGS. 10 (a) and 10 (b) show image data obtained by taking the logical product. FIG. 10 (a) shows a case where the back fillet 9 is formed normally, and FIG. 10 (b) shows a case where the back fillet 9 is formed normally. This is the case when it is not formed.

【0056】このように論理積をとることで、互いの画
像データ中でプリント基板2上のパッド部分のはんだフ
ィレットの傾斜が緩やかな部分やリード表面部分の正反
射する部分が明るい部分として残り、プリント基板2面
から離れているリード肩5の正反射部分などはキャンセ
ルされ暗い部分となる。
By taking the logical product in this manner, a portion where the slope of the solder fillet of the pad portion on the printed circuit board 2 is gentle and a portion where the specular reflection of the lead surface portion is left as a bright portion in the mutual image data, The specular reflection portion of the lead shoulder 5 which is away from the surface of the printed circuit board 2 is canceled and becomes a dark portion.

【0057】次に、図10に示すように論理積された画
像データにおいて電子部品の外形サイズやマウント座標
などからリード3の各々のヒール部6に各検出領域Qを
設定する。
Next, as shown in FIG. 10, each detection area Q is set in each heel portion 6 of the lead 3 based on the outer size of the electronic component, mount coordinates, and the like in the image data logically ANDed.

【0058】次に、画像データ中の検出領域Q内の明る
い部分の画素面積を求める。次に、各々リード3におい
て明るい部分の画素面積が所定の画素数以上であるかを
判断し、この明るい部分の画素面積が所定の画素数以下
であれば良品として判定し、所定の画素数以上であれば
バックフィレット9のはんだ付不良と判定する。
Next, the pixel area of a bright portion in the detection area Q in the image data is obtained. Next, it is determined whether or not the pixel area of the bright portion in each lead 3 is equal to or more than a predetermined number of pixels. If so, it is determined that the back fillet 9 is defective in soldering.

【0059】このような手順で現視野の検査が終了する
と、次の視野になるようにXYテーブル10を移動制御
し、上記同様に撮像、検出、判定を行う。この場合、Q
FP1のリード列の方向に応じて各照明装置11、1
2、20、21と各CCDカメラ13、14、26、2
7とを切り換える。QFPリード列A、Cに対しては各
照明装置11、20と各CCDカメラ13、26との各
一対、QFPリード列B、Dに対しては各照明装置1
2、21と各CCDカメラ14、27との各一対を用い
る。
When the inspection of the current field of view is completed in such a procedure, the movement of the XY table 10 is controlled so that the next field of view is obtained, and imaging, detection, and determination are performed in the same manner as described above. In this case, Q
Each lighting device 11, 1 according to the direction of the lead row of FP1
2, 20, 21 and each CCD camera 13, 14, 26, 2
7 is switched. Each pair of the lighting devices 11 and 20 and each CCD camera 13 and 26 for the QFP lead rows A and C, and each lighting device 1 for the QFP lead rows B and D.
Each pair of 2, 21 and each CCD camera 14, 27 is used.

【0060】このように上記第2の実施の形態によれ
ば、上記第1の実施の形態と同様に、各QFPリード3
に隠れて見えにくいバックフィレット9の有無を判定で
き、このQFPリード3のはんだ付けに対する判定結果
から理想的な品質保証を得ることができる。
As described above, according to the second embodiment, similarly to the first embodiment, each QFP lead 3
The presence or absence of the back fillet 9 which is hidden behind and hard to see can be determined, and ideal quality assurance can be obtained from the determination result for the soldering of the QFP lead 3.

【0061】又、相反する方向からの撮像により得られ
た各画像データの画素間で論理積をとるので、リード肩
5などの正反射する部分をキャンセルすることができ、
QFPリード3のはんだ付けに対する判定の信頼性を向
上できる。
Further, since a logical product is obtained between pixels of each image data obtained by imaging from opposite directions, a specular reflection portion such as the lead shoulder 5 can be canceled.
The reliability of the determination for the soldering of the QFP lead 3 can be improved.

【0062】なお、上記第2の実施の形態は、次の通り
変形してもよい。例えば、各QFPリード列A〜Dによ
って各一対の照明装置とCCDカメラ、例えば各照明装
置11、20と各CCDカメラ13、26とを水平方向
に回転させてもよい。すなわち、各照明装置11、20
と各CCDカメラ13、26とだけを回転テーブルに固
定してモータなどにより回転させ、QFPリード列Aを
基準としてQFPリード列Bは左方向へ90度、QFP
リード列Cは180度、QFPリード列Dは右方向へ9
0度回転させる。なお、この回転方向は逆方向としても
よい。
The second embodiment may be modified as follows. For example, each pair of lighting devices and a CCD camera, for example, each lighting device 11 and 20, and each CCD camera 13 and 26 may be horizontally rotated by each QFP lead row A to D. That is, each lighting device 11, 20
And each of the CCD cameras 13 and 26 are fixed to a rotary table and rotated by a motor or the like, and the QFP lead row B is turned 90 degrees leftward with respect to the QFP
Lead row C is 180 degrees, QFP lead row D is 9 to the right
Rotate 0 degrees. Note that the rotation direction may be reversed.

【0063】又、上記第1の実施の形態の変形例と同様
に、はんだ付け状態良否の判定は、明るい部分の画素面
積を求めているが、これを暗い部分の画素面積を求めて
行ってもよい。ただし、はんだ付け不良の判定は、所定
画素数以下とする。
As in the modification of the first embodiment, the determination of the goodness of the soldering state is performed by determining the pixel area of the bright part, but by determining the pixel area of the dark part. Is also good. However, the determination of the soldering failure is not more than a predetermined number of pixels.

【0064】又、はんだ付け状態良否の判定は、検査領
域Qにおける明るい部分又は暗い部分の画素数の割合が
行ってもよい。 (3) 次に本発明の第3の実施の形態について説明する。
The determination as to whether the soldering condition is good or not may be made based on the ratio of the number of pixels in the bright area or the dark area in the inspection area Q. (3) Next, a third embodiment of the present invention will be described.

【0065】図11ははんだ付け外観検査装置の構成図
である。なお、図1と同一部分には同一符号を付してそ
の詳しい説明は省略する。XYテーブル部10上には、
リード付きの電子部品としてTCP30のはんだ付けさ
れたプリント基板2が載置されている。
FIG. 11 is a configuration diagram of a soldering appearance inspection apparatus. The same parts as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted. On the XY table section 10,
A printed circuit board 2 on which TCP 30 is soldered is mounted as an electronic component with leads.

【0066】図12はかかるQFP30をプリント基板
2上にはんだ付けしたリードはんだ付け部の断面図であ
る。リード31は、リード付根aからリード肩b、リー
ド接地部c、リード先端dから形成されており、はんだ
付けにより先端フィレット32、バックフィレット33
が形成されている。
FIG. 12 is a cross-sectional view of a lead soldering portion where the QFP 30 is soldered on the printed circuit board 2. The lead 31 is formed by a lead root a to a lead shoulder b, a lead ground portion c, and a lead tip d, and the tip fillet 32 and the back fillet 33 are formed by soldering.
Are formed.

【0067】なお、XYテーブル部10は、TCP30
がプリント基板2上にはんだ付れされた状態で載置され
るものであり、実際の大きさとは相違している。各照明
装置11、12は、それぞれTCPリード31の延在方
向に対して略直行する方向からTCPリード31に対し
て平行光を放射して照明するもので、このうち照明装置
11はTCPリード列A又はCに対して照明するもので
あり、照明装置12はTCPリード列B又はDに対して
照明するものとなっている。
Note that the XY table section 10 has a TCP 30
Are mounted on the printed circuit board 2 in a soldered state, which is different from the actual size. Each of the illumination devices 11 and 12 emits parallel light to the TCP lead 31 in a direction substantially perpendicular to the extending direction of the TCP lead 31 for illumination. The illumination device 12 illuminates A or C, and the illumination device 12 illuminates the TCP lead row B or D.

【0068】又、各CCDカメラ13、14は、それぞ
れ各照明装置11、12による照明方向と相反する方向
からTCPリード31を撮像するもので、このうちCC
Dカメラ13はTCPリード列A又はCを撮像するもの
であり、CCDカメラ14はTCPリード列B又はDを
撮像するものとなっている。
Each of the CCD cameras 13 and 14 captures an image of the TCP lead 31 from a direction opposite to the direction of illumination by the illumination devices 11 and 12, respectively.
The D camera 13 captures an image of the TCP lead row A or C, and the CCD camera 14 captures an image of the TCP lead row B or D.

【0069】ここで、これらCCDカメラ13、14の
撮像角度は、上記第1の実施の形態と同様に、プリント
基板2の面に対し、TCPリード31と隣接するTCP
リードとの間からバックフィレット33の部分を観察可
能な上記式(1) に示す範囲の角度θc に設定されてい
る。
Here, the image pickup angles of the CCD cameras 13 and 14 are set to the TCP lead 31 adjacent to the TCP lead 31 with respect to the surface of the printed circuit board 2 as in the first embodiment.
It is set to an angle theta c ranging of a portion of the back fillet 33 on observable above formula (1) from between the leads.

【0070】又、各照明装置11、12の照明角度も、
プリント基板2上の平坦部の正反射光を捕らえるため
に、TCPリード31の撮像角度θc と略等しい照明角
度θsに設定されている。
The illumination angles of the illumination devices 11 and 12 are also
To capture the specular reflection light of the flat portion on the printed circuit board 2 is set to be approximately equal to the illumination angle theta s and imaging angle theta c of TCP lead 31.

【0071】これにより照明装置11とCCDカメラ1
3との一対で照明、撮像を行い、かつ照明装置12とC
CDカメラ14との他の一対で照明、撮像を行うと構成
となっている。
Thus, the illumination device 11 and the CCD camera 1
3 performs illumination and imaging, and the illumination device 12 and C
Illumination and imaging are performed by another pair with the CD camera 14.

【0072】一方、画像処理部34は、各CCDカメラ
13、14の撮像より得られる各画像データにおける明
暗を検索して連続した暗い部分の長さを検出し、この暗
い部分の長さに基づいてバックフィレット33のはんだ
付け状態の良否を判定する機能を有している。
On the other hand, the image processing section 34 searches for light and dark in each image data obtained by the imaging by the CCD cameras 13 and 14, detects the length of a continuous dark portion, and based on the length of this dark portion. The back fillet 33 has a function of determining whether the soldering state of the back fillet 33 is good or not.

【0073】この画像処理部34は、具体的にリードフ
ォーミング位置検出部35、バックフィレット位置検出
部36、明暗検索部37及び良否判定部38の各機能を
有している。
The image processing section 34 has the functions of a lead forming position detection section 35, a back fillet position detection section 36, a light / dark search section 37, and a pass / fail judgment section 38.

【0074】リードフォーミング位置検出部35は、各
CCDカメラ13、14の撮像より得られる各画像デー
タのX方向の周辺分布を求め、このX方向周辺分布から
リード31のリード肩b、リード接地部c、リード先端
dの各位置を求める機能を有している。
The lead forming position detecting section 35 finds the peripheral distribution in the X direction of each image data obtained by the imaging by the CCD cameras 13 and 14, and from the peripheral distribution in the X direction, the lead shoulder b of the lead 31 and the lead grounding section. c and a function to find each position of the lead end d.

【0075】バックフィレット位置検出部36は、各C
CDカメラ13、14の撮像より得られる各画像データ
のY方向の周辺分布を求め、このY方向周辺分布からバ
ックフィレット33の位置、ここでは画像データ中でバ
ックフィレット33の右側位置を求める機能を有してい
る。
The back fillet position detector 36 detects each C
A function of obtaining the peripheral distribution in the Y direction of each image data obtained by the imaging by the CD cameras 13 and 14 and obtaining the position of the back fillet 33 from the peripheral distribution in the Y direction, here, the right position of the back fillet 33 in the image data. Have.

【0076】明暗検索部37は、画像データ中のバック
フィレット33の位置に検出ウィンドウを設定し、この
検出ウィンドウ内における1画素づつ明暗を検索して連
続した暗い部分の長さを検出する機能を有している。
The light / dark search unit 37 has a function of setting a detection window at the position of the back fillet 33 in the image data, searching for light / dark in the detection window one pixel at a time, and detecting the length of a continuous dark portion. Have.

【0077】良否判定部38は、明暗検索部37により
検出された暗い部分の長さに基づいてバックフィレット
33のはんだ付け状態の良否、例えば暗い部分の長さが
TCPの種類ごとに決る判定値よりも長ければ良品と判
定し、かつ暗い部分の長さが判定値よりも短ければ不良
品と判定する機能を有している。
The pass / fail judgment section 38 judges whether the soldering state of the back fillet 33 is good or bad, for example, based on the length of the dark portion detected by the light / dark search section 37, for example, a judgment value for determining the length of the dark portion for each type of TCP. If the length is longer than the determination value, it has a function of determining a non-defective product, and if the length of the dark portion is shorter than the determination value, it is determined to be a defective product.

【0078】次に上記の如く構成された装置により検査
方法について説明する。TCP30のリード列Aを検査
する場合、照明装置11を点灯し、CCDカメラ13に
よりTCPリード列Aを撮像する。このCCDカメラ1
3から出力された画像信号は、画像処理部30に送られ
る。
Next, an inspection method using the apparatus configured as described above will be described. When inspecting the lead row A of the TCP 30, the lighting device 11 is turned on and the CCD camera 13 captures an image of the TCP lead row A. This CCD camera 1
The image signal output from 3 is sent to the image processing unit 30.

【0079】この画像処理部30は、CCDカメラ13
からの画像信号を入力し、反射光部分の輪郭を鮮明する
ために2値化処理して記憶する。次に、リードフォーミ
ング位置検出部35は、図13に示すように2値化され
た画像データにおいてY方向に画素数を積算してX方向
の周辺分布を求め、このX方向周辺分布に対してしきい
値k1 を設定してリードフォーミングの各位置、すなわ
ちリード31のリード肩b、リード接地部c、リード先
端dの各位置を求める。
The image processing unit 30 is provided with the CCD camera 13
, And binarized for sharpening the outline of the reflected light portion and stored. Next, as shown in FIG. 13, the lead forming position detection unit 35 calculates the peripheral distribution in the X direction by integrating the number of pixels in the Y direction in the binarized image data. The threshold k 1 is set to determine the respective positions of the lead forming, that is, the respective positions of the lead shoulder b of the lead 31, the lead grounding portion c, and the lead tip d.

【0080】次にバックフィレット位置検出部36は、
図13に示すように2値化された画像データのX方向の
周辺分布を求め、このX方向周辺分布に対してしきい値
2を設定し、その交点から各バックフィレット33の
右側位置eを求める。
Next, the back fillet position detecting section 36
Seeking marginal distribution in the X direction of the image data binarized as shown in FIG. 13, to set the threshold k 2 with respect to the X-direction peripheral distribution, the right position e of each back fillet 33 from the intersection Ask for.

【0081】なお、バックフィレット33の幅は、リー
ドピッチやリード高さから算出される。次に、明暗検索
部37は、リードフォーミング位置検出部35により求
められたリード31のリード肩b、リード接地部c、リ
ード先端dの各位置、及びバックフィレット位置検出部
36により求められたバックフィレット33の右側位置
eに基づき、図13に示すように画像データ中の各バッ
クフィレット33の位置にそれぞれ検出ウィンドウWを
設定する。
The width of the back fillet 33 is calculated from the lead pitch and the lead height. Next, the light / dark search section 37 determines the positions of the lead shoulder b, the lead grounding section c, and the lead tip d of the lead 31 determined by the lead forming position detection section 35, and the back position determined by the back fillet position detection section 36. Based on the right position e of the fillet 33, a detection window W is set at the position of each back fillet 33 in the image data as shown in FIG.

【0082】これら検出ウィンドウWの設定サイズは、
バックフィレット33の幅、リード付根aからリード接
地cまでの長さとなっている。次に、明暗検索部37
は、図14に示すように検出ウィンドウWの中央に検索
ラインLe を設け、この検索ラインLe 上のリード付根
aからリード接地cに向かって1画素づつ明暗を検出
し、連続した暗い部分の長さを測定する。
The set size of these detection windows W is
The width of the back fillet 33 is the length from the root a of the lead to the ground c of the lead. Next, the light / dark search unit 37
Is provided with a center search line L e of the detection window W as shown in FIG. 14, it detects a pixel by pixel brightness toward the lead ground c from the lead base a on the search line L e, dark portion continuous Measure the length.

【0083】この連続した暗い部分の長さの測定中、そ
の途中で明るい部分があると、今までの測定値を一度ス
トックし、再び暗い部分が現れたら「0」から連続した
暗い部分の長さを測定する。
During the measurement of the length of the continuous dark portion, if there is a bright portion in the middle, the measured values are stored once, and when the dark portion appears again, the length of the continuous dark portion starts from "0". Measure the length.

【0084】最終的に、連続した暗い部分が2か所以上
ある場合には、一定の長さをもち(ノイズ除去)、リー
ド接地cに近い測定値をバックフィレット長さとして検
出する。
Finally, when there are two or more continuous dark portions, a measured value having a fixed length (noise removal) and close to the grounded lead c is detected as the back fillet length.

【0085】次に、良否判定部38は、明暗検索部37
により検出された暗い部分の長さに基づいてバックフィ
レット33のはんだ付け状態の良否、例えば暗い部分の
長さがTCPの種類ごとに決る判定値よりも長ければ良
品と判定し、かつ暗い部分の長さが判定値よりも短けれ
ば不良品と判定する。
Next, the pass / fail judgment section 38 includes a light / dark search section 37.
Whether the soldering state of the back fillet 33 is good or bad, for example, if the length of the dark portion is longer than a determination value determined for each type of TCP based on the length of the dark portion detected by If the length is shorter than the determination value, it is determined to be defective.

【0086】すなわち、正常にはんだ付けされていれ
ば、リード31が屈曲している部分やはんだフィレット
部分は急傾斜になっているので、照明光はCCDカメラ
13に正反射せずに暗くなる。すなわち、図15(a) に
示すようにバックフィレット33が正常に形成されてい
れば、バックフィレット33からの正反射光はCCDカ
メラ13に入射せず同図(b) に示すようにバックフィレ
ット33の部分は暗くなる。
That is, if the soldering is performed normally, the bent portion of the lead 31 and the solder fillet portion are steeply inclined, so that the illumination light becomes dark without specular reflection on the CCD camera 13. That is, if the back fillet 33 is formed normally as shown in FIG. 15A, the regular reflection light from the back fillet 33 does not enter the CCD camera 13 and the back fillet 33 as shown in FIG. The part 33 becomes dark.

【0087】ところが、図16(a) に示すようにリード
浮きなどによってバックフィレット33が形成されてい
なければ、バックフィレット33からの正反射光がCC
Dカメラ13に入射するようになり同図(b) に示すよう
にバックフィレット33の部分は明るくなる。
However, as shown in FIG. 16A, if the back fillet 33 is not formed due to the floating of the lead or the like, the regular reflection light from the back fillet
The light enters the D camera 13 and the back fillet 33 becomes bright as shown in FIG.

【0088】従って、良否判定部38は、連続する暗い
部分の長さとTCPの種類ごとに決る判定値とを比較
し、暗い部分の長さが判定値よりも長ければ、バックフ
ィレット33の部分が長いことであり良品と判定し、又
暗い部分の長さが判定値よりも短ければ、バックフィレ
ット33の部分が短く不良品と判定する。
Therefore, the pass / fail determination unit 38 compares the length of the continuous dark portion with the determination value determined for each type of TCP, and if the length of the dark portion is longer than the determination value, the portion of the back fillet 33 is determined. If the length of the dark portion is shorter than the determination value, the portion of the back fillet 33 is short and the product is determined to be defective.

【0089】このような手順で現視野の検査が終了する
と、次の視野になるようにXYテーブル10を移動制御
し、上記同様に撮像、検出、判定を行う。この場合、T
CP30のリード列の方向に応じて各照明装置11、1
2と各CCDカメラ13、14とを切り換える。TCP
リード列A、Cに対しては照明装置11とCCDカメラ
13との一対、TCPリード列B、Dに対しては照明装
置12とCCDカメラ14との一対を用いる。
When the inspection of the current field of view is completed in such a procedure, the movement of the XY table 10 is controlled so that the next field of view is obtained, and imaging, detection, and determination are performed in the same manner as described above. In this case, T
Each lighting device 11, 1 according to the direction of the lead row of CP30
2 and each of the CCD cameras 13 and 14 is switched. TCP
A pair of an illuminating device 11 and a CCD camera 13 are used for the lead rows A and C, and a pair of an illuminating device 12 and a CCD camera 14 are used for the TCP lead rows B and D.

【0090】このように上記第3の実施の形態において
は、TCPリード31を撮像した画像データにおける明
暗を検索して連続した暗い部分の長さを検出し、この暗
い部分の長さと判定値とを比較してバックフィレット3
3のはんだ付け状態の良否を判定するようにしたので、
各TCPリード31に隠れて見えにくいバックフィレッ
ト33の画像を撮像してその良否を判定でき、TCPリ
ード31のはんだ付けに対する判定結果から理想的な品
質保証を得ることができる。(4) 次に本発明の第4の実
施の形態について説明する。なお、図11と同一部分に
は同一符号を付してその詳しい説明は省略する。
As described above, in the third embodiment, the length of a continuous dark portion is detected by searching for light and dark in the image data obtained by imaging the TCP lead 31, and the length of the dark portion and the determination value are determined. Compare back fillet 3
Since the quality of the soldering condition of No. 3 was determined,
An image of the back fillet 33 hidden behind each TCP lead 31 and hardly seen can be taken to determine the quality of the back fillet 33, and ideal quality assurance can be obtained from the determination result for the soldering of the TCP lead 31. (4) Next, a fourth embodiment of the present invention will be described. The same parts as those in FIG. 11 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0091】図17ははんだ付け外観検査装置の構成図
である。一対の照明装置11とCCDカメラ13との検
出光学系には、斜め照明装置40が追加配置されてい
る。
FIG. 17 is a block diagram of a soldering appearance inspection apparatus. An oblique illumination device 40 is additionally provided in the detection optical system of the pair of illumination devices 11 and the CCD camera 13.

【0092】この斜め照明装置40は、TCPリード3
0の延在方向と同一方向で、かつ図18に示すようにプ
リント基板2の面に対して角度θf 、例えば45度の方
向から照明を行うものである。
The oblique illumination device 40 is a TCP lead 3
Illumination is performed in the same direction as the extension direction of 0 and from a direction of an angle θ f , for example, 45 degrees with respect to the surface of the printed circuit board 2 as shown in FIG.

【0093】なお、TCPリード列B、Dに対する一対
の照明装置12とCCDカメラ14との検出光学系にも
斜め照明装置が追加配置されているが、ここでは図示の
関係上省略してある。
An oblique illumination device is additionally provided in the detection optical system of the pair of illumination devices 12 and the CCD camera 14 for the TCP lead rows B and D, but is omitted here for the sake of illustration.

【0094】一方、画像処理部41は、CCDカメラ1
3の撮像より得られる画像データにおける明暗を検索し
て連続した暗い部分の長さを検出し、この暗い部分の長
さに基づいてバックフィレット33のはんだ付け状態の
良否を判定するもので、リードフォーミング位置検出部
42、又上記第3の実施の形態と同様のバックフィレッ
ト位置検出部36、明暗検索部37及び良否判定部38
の各機能を有している。
On the other hand, the image processing section 41 includes the CCD camera 1
In the image data obtained by the imaging of No. 3, the length of the continuous dark portion is detected by searching for the brightness, and the quality of the soldering state of the back fillet 33 is determined based on the length of the dark portion. A forming position detecting section 42, a back fillet position detecting section 36, a light / dark search section 37, and a pass / fail judgment section 38 similar to those in the third embodiment.
Each function is provided.

【0095】リードフォーミング位置検出部42は、斜
め照明装置40のみが点灯したときのCCDカメラ13
の撮像より得られる画像データのX方向の周辺分布を求
め、このX方向周辺分布からTCPリード31のリード
肩b、リード接地部cの各位置を求める機能を有してい
る。
The lead forming position detector 42 detects the CCD camera 13 when only the oblique illumination device 40 is turned on.
Has a function of obtaining the peripheral distribution in the X direction of the image data obtained from the image pickup of the above, and calculating the positions of the lead shoulder b and the lead ground portion c of the TCP lead 31 from the peripheral distribution in the X direction.

【0096】次に上記の如く構成された装置の作用につ
いて説明する。TCP30のリード列Aを検査する場
合、照明装置11を点灯し、CCDカメラ13によりT
CPリード列Aを撮像してその画像信号を画像処理部4
1に送る。
Next, the operation of the device configured as described above will be described. When inspecting the lead row A of the TCP 30, the lighting device 11 is turned on, and the CCD camera 13
An image of the CP lead array A is taken and the image signal is sent to the image processing unit 4
Send to 1.

【0097】又、斜め照明装置40のみを点灯し、CC
Dカメラ13によりTCPリード列Aを撮像してその画
像信号を画像処理部41に送る。この画像処理部41
は、各照明時のCCDカメラ13からの各画像信号を入
力し、反射光部分の輪郭を鮮明するために2値化処理し
て記憶する。
Further, only the oblique illumination device 40 is turned on, and CC
The D camera 13 takes an image of the TCP lead array A and sends the image signal to the image processing unit 41. This image processing unit 41
Inputs the respective image signals from the CCD camera 13 at the time of each illumination, binarizes them in order to sharpen the outline of the reflected light portion, and stores them.

【0098】ここで、図19は斜め照明時の画像データ
の模式図であり、各TCPリード31のリード肩b及び
リード接地部cの各部分の明るさが強くなっている。次
に、リードフォーミング位置検出部42は、斜め照明装
置40のみの照明のときのCCDカメラ13の撮像より
得られる画像データに対して図19に示すようにX方向
の周辺分布を求め、このX方向周辺分布からTCPリー
ド31のリード肩b、リード接地部cの各位置を求め
る。
Here, FIG. 19 is a schematic diagram of image data at the time of oblique illumination, and the brightness of each portion of the lead shoulder b and the lead ground portion c of each TCP lead 31 is strong. Next, as shown in FIG. 19, the lead forming position detection unit 42 obtains a peripheral distribution in the X direction from the image data obtained by the imaging by the CCD camera 13 when only the oblique illumination device 40 is illuminated. The positions of the lead shoulder b of the TCP lead 31 and the lead grounding portion c are obtained from the distribution around the direction.

【0099】次にバックフィレット位置検出部36は、
照明装置11の照明のときのCCDカメラ13の撮像よ
り得られる画像データに対してX方向の周辺分布を求
め、このX方向周辺分布に対してしきい値k2 を設定
し、その交点から各バックフィレット33の右側位置を
求める。
Next, the back fillet position detecting section 36
Seeking marginal distribution in the X direction with respect to the image data obtained from the imaging of the CCD camera 13 when the illumination of the illumination device 11, to set the threshold k 2 with respect to the X-direction peripheral distribution, each of the intersection The right position of the back fillet 33 is determined.

【0100】次に、明暗検索部37は、リード31のリ
ード肩b、リード接地部cの各位置、及びバックフィレ
ット33の右側位置に基づき、画像データ中の各バック
フィレット33の位置にそれぞれ検出ウィンドウWを設
定する。
Next, the light / dark search section 37 detects the position of each back fillet 33 in the image data based on the position of the lead shoulder b of the lead 31, the position of the lead contact portion c, and the right position of the back fillet 33. Set window W.

【0101】次に、明暗検索部37は、検出ウィンドウ
Wの中央に検索ラインLe を設け、この検索ラインLe
上のリード付根aからリード接地cに向かって1画素づ
つ明暗を検出し、連続した暗い部分の長さを測定する。
[0101] Next, light and dark search unit 37, central to providing a search line L e of the detection window W, the search line L e
Brightness is detected one pixel at a time from the top of the lead a to the grounded lead c, and the length of a continuous dark portion is measured.

【0102】そして、良否判定部38は、連続する暗い
部分の長さとTCPの種類ごとに決る判定値とを比較
し、暗い部分の長さが判定値よりも長ければ、バックフ
ィレット33の部分が長いことであり良品と判定し、又
暗い部分の長さが判定値よりも短ければ、バックフィレ
ット33の部分が短く不良品と判定する。
Then, the pass / fail judgment section 38 compares the length of the continuous dark portion with the judgment value determined for each type of TCP, and if the length of the dark portion is longer than the judgment value, the portion of the back fillet 33 is judged. If the length of the dark portion is shorter than the determination value, the portion of the back fillet 33 is short and the product is determined to be defective.

【0103】このような手順で現視野の検査が終了する
と、次の視野になるようにXYテーブル10を移動制御
し、上記同様に撮像、検出、判定を行う。この場合、T
CP30のリード列の方向に応じて各照明装置11、1
2と各CCDカメラ13、14とを切り換える。TCP
リード列A、Cに対しては照明装置11とCCDカメラ
13との一対、TCPリード列B、Dに対しては照明装
置12とCCDカメラ14との一対を用いる。
When the inspection of the current field of view is completed in such a procedure, the movement of the XY table 10 is controlled so that the next field of view is obtained, and imaging, detection, and determination are performed in the same manner as described above. In this case, T
Each lighting device 11, 1 according to the direction of the lead row of CP30
2 and each of the CCD cameras 13 and 14 is switched. TCP
A pair of an illuminating device 11 and a CCD camera 13 are used for the lead rows A and C, and a pair of an illuminating device 12 and a CCD camera 14 are used for the TCP lead rows B and D.

【0104】このように上記第4の実施の形態によれ
ば、上記第4の実施の形態と同様の効果を奏することは
言うまでもなく、かつ斜め照明装置40を追加配置する
ことで、TCPリード31のリード肩b及びリード接地
部cの各位置の検出精度を高くできる。
As described above, according to the fourth embodiment, it goes without saying that the same effects as those of the fourth embodiment can be obtained, and the TCP lead 31 can be provided by additionally disposing the oblique illumination device 40. The detection accuracy of each position of the lead shoulder b and the lead grounding portion c can be increased.

【0105】なお、斜め照明装置40は、TCPリード
31のリード肩b及びリード接地部cの各位置の検出の
ために単独で使用してもよいし、又、照明装置11と合
わせて使用してもよく、その目的に合わせて切り換えて
使用してもよい。
The oblique illumination device 40 may be used alone for detecting the positions of the lead shoulder b and the lead ground portion c of the TCP lead 31 or may be used in combination with the illumination device 11. And may be switched and used according to the purpose.

【0106】[0106]

【発明の効果】以上詳記したように本発明によれば、リ
ードに隠れて見えにくいバックフィレットの有無を判定
して理想的な品質保証を得ることができるはんだ付け外
観検査方法及びその装置を提供できる。
As described above in detail, according to the present invention, there is provided a method and an apparatus for inspecting the appearance of soldering which can determine the presence or absence of a back fillet which is difficult to see by being hidden by a lead and can obtain ideal quality assurance. Can be provided.

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

【図1】本発明に係わるはんだ付け外観検査装置の第1
の実施の形態を示す構成図。
FIG. 1 shows a first embodiment of a soldering appearance inspection apparatus according to the present invention.
FIG. 1 is a configuration diagram showing an embodiment.

【図2】同装置のリードの先端方向から見た検出光学系
の配置図。
FIG. 2 is a layout diagram of a detection optical system as viewed from a lead end direction of the device.

【図3】バックフィレットが正常に形成された場合の画
像データの模式図。
FIG. 3 is a schematic diagram of image data when a back fillet is formed normally.

【図4】バックフィレットが正常に形成されない場合の
画像データの模式図。
FIG. 4 is a schematic diagram of image data when a back fillet is not formed normally.

【図5】本発明に係わるはんだ付け外観検査装置の第2
の実施の形態を示す構成図。
FIG. 5 is a second view of the soldering appearance inspection apparatus according to the present invention.
FIG. 1 is a configuration diagram showing an embodiment.

【図6】同装置のリードの先端方向から見た検出光学系
の配置図。
FIG. 6 is a layout diagram of a detection optical system as viewed from a tip direction of a lead of the device.

【図7】同装置の処理制御系の構成図。FIG. 7 is a configuration diagram of a processing control system of the apparatus.

【図8】バックフィレットが正常に形成された場合の画
像データの模式図。
FIG. 8 is a schematic diagram of image data when a back fillet is formed normally.

【図9】バックフィレットが正常に形成されない場合の
画像データの模式図。
FIG. 9 is a schematic diagram of image data when a back fillet is not formed normally.

【図10】各画像データの画素間で論理積をとった画像
データの模式図。
FIG. 10 is a schematic diagram of image data obtained by taking a logical product between pixels of each image data.

【図11】本発明に係わるはんだ付け外観検査装置の第
3の実施の形態を示す構成図。
FIG. 11 is a configuration diagram showing a third embodiment of the soldering appearance inspection apparatus according to the present invention.

【図12】TCPをプリント基板上にはんだ付けされた
リードはんだ付け部の断面図。
FIG. 12 is a sectional view of a lead soldering portion where TCP is soldered on a printed circuit board.

【図13】リードフォーミング位置及びバックフィレッ
ト位置の検出作用を示す図。
FIG. 13 is a diagram showing a detection operation of a lead forming position and a back fillet position.

【図14】暗い部分であるバックフィレットの長さの測
定作用を示す図。
FIG. 14 is a view showing an operation of measuring a length of a back fillet which is a dark portion.

【図15】バックフィレットの形成されたときのバック
フィレット長さを示す図。
FIG. 15 is a view showing the length of the back fillet when the back fillet is formed.

【図16】バックフィレットの形成されないときのバッ
クフィレット長さを示す図。
FIG. 16 is a view showing the length of a back fillet when no back fillet is formed.

【図17】本発明に係わるはんだ付け外観検査装置の第
3の実施の形態を示す構成図。
FIG. 17 is a configuration diagram showing a third embodiment of a soldering appearance inspection apparatus according to the present invention.

【図18】斜め照明装置の配置図。FIG. 18 is a layout view of an oblique illumination device.

【図19】斜め照明によるリードフォーミング位置の検
出作用を示す図。
FIG. 19 is a diagram showing a detection operation of a lead forming position by oblique illumination.

【図20】QFPをプリント基板上にはんだ付けされた
リードはんだ付け部の断面図。
FIG. 20 is a sectional view of a lead soldering portion where the QFP is soldered on a printed circuit board.

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

1…QFP、 3…QFPリード、 9…バックフィレット、 11,12,20,21…照明装置、 13,14,26,27…CCDカメラ、 15,28,34,41…画像処理部、 16,29…制御部、 35,42…リードフォーミング位置検出部、 36…バックフィレット位置検出部、 37…明暗検索部、 38…良否判定部、 40…斜め照明装置。 DESCRIPTION OF SYMBOLS 1 ... QFP, 3 ... QFP lead, 9 ... Back fillet, 11,12,20,21 ... Illumination device, 13,14,26,27 ... CCD camera, 15,28,34,41 ... Image processing part, 16, 29: control unit, 35, 42: lead forming position detecting unit, 36: back fillet position detecting unit, 37: light / dark search unit, 38: pass / fail judgment unit, 40: oblique lighting device.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 基板上にはんだ付けされたリード付き部
品のリードのヒール部分のはんだ付け状態を検査するは
んだ付け外観検査方法において、 前記リードの延在方向に対して略直行する方向から前記
リードを照明し、かつこの照明方向と相反する方向から
前記リードを撮像し、この撮像より得られる画像データ
の明暗に基づいて前記ヒール部分のはんだ付け状態の良
否を判定することを特徴とするはんだ付け外観検査方
法。
1. A soldering appearance inspection method for inspecting a soldering state of a heel portion of a lead of a leaded component soldered on a substrate, wherein the lead is viewed from a direction substantially perpendicular to an extending direction of the lead. And soldering is performed by imaging the lead from a direction opposite to the illumination direction, and judging the soldering condition of the heel portion based on the brightness of image data obtained from the imaging. Appearance inspection method.
【請求項2】 前記リードの撮像角度は、前記基板面か
ら前記リードと隣接するリードとの間から前記ヒール部
分を観察可能な角度に設定し、かつ前記リードの照明角
度も前記リードの撮像角度と略等しく設定することを特
徴とする請求項1記載のはんだ付け外観検査方法。
2. The imaging angle of the lead is set to an angle at which the heel portion can be observed from between the substrate surface and the lead and an adjacent lead, and the illumination angle of the lead is also the imaging angle of the lead. 2. The method for inspecting appearance of soldering according to claim 1, wherein the method is set substantially equal to the following.
【請求項3】 前記リードを撮像した画像データを前記
照明により正反射を入射する部分と正反射を入射しない
部分とを分けるレベルで2値化し、この2値化画像デー
タの明るい部分と暗い部分との画素面積に基づいて前記
ヒール部分のはんだ付け状態の良否を判定することを特
徴とする請求項1記載のはんだ付け外観検査方法。
3. The image data obtained by imaging the lead is binarized at a level that separates a part where specular reflection is incident from the illumination and a part where specular reflection is not incident, and a light part and a dark part of the binarized image data. 2. The soldering appearance inspection method according to claim 1, wherein the quality of the soldering state of the heel portion is determined based on the pixel area of the soldering.
【請求項4】 前記リードを相反する2方向から撮像
し、これらの画像データをそれぞれ前記照明により正反
射を入射する部分と正反射を入射しない部分とを分ける
レベルで2値化し、この後にこれら画像データを画素間
で論理積し、これにより得られる画像データの明るい部
分と暗い部分との画素面積に基づいて前記ヒール部分の
はんだ付け状態の良否を判定することを特徴とする請求
項1記載のはんだ付け外観検査方法。
4. An image of the lead is taken from two opposite directions, and these image data are binarized at a level that separates a part where regular reflection is incident and a part where regular reflection is not incident by the illumination. 2. A logical product of image data between pixels, and the quality of the soldering state of the heel portion is determined based on a pixel area of a bright portion and a dark portion of the obtained image data. Soldering appearance inspection method.
【請求項5】 前記リードを撮像した画像データにおけ
る明暗を検索して連続した暗い部分の長さを検出し、こ
の暗い部分の長さに基づいて前記ヒール部分のはんだ付
け状態の良否を判定することを特徴とする請求項1記載
のはんだ付け外観検査方法。
5. A method for retrieving light and dark in image data obtained by imaging the lead to detect a length of a continuous dark portion, and determine whether the soldering state of the heel portion is good or bad based on the length of the dark portion. The method for inspecting solder appearance according to claim 1, wherein:
【請求項6】 前記リードの延在方向に対して略直行す
る方向からの前記リードに対する照明に、前記リードの
延在方向と同一方向からの前記リードに対する照明を追
加することを特徴とする請求項1記載のはんだ付け外観
検査方法。
6. The illumination of the lead from a direction substantially perpendicular to the direction in which the lead extends, the illumination of the lead from the same direction as the direction in which the lead extends is added. Item 1. The soldering appearance inspection method according to Item 1.
【請求項7】 基板上にはんだ付けされたリード付き部
品のリードのヒール部分のはんだ付け状態を検査するは
んだ付け外観検査装置において、 前記リードの延在方向に対して略直行する方向から前記
リードを照明する照明手段と、 前記照明方向と相反する方向から前記リードを撮像する
撮像手段と、 この撮像装置の撮像より得られる画像データの明暗に基
づいて前記ヒール部分のはんだ付け状態の良否を判定す
る判定手段と、を具備したことを特徴とするはんだ付け
外観検査装置。
7. A soldering appearance inspection device for inspecting a soldering state of a heel portion of a lead of a leaded component soldered on a substrate, wherein the lead is viewed from a direction substantially perpendicular to a direction in which the lead extends. Illumination means for illuminating the lead; imaging means for imaging the lead from a direction opposite to the illumination direction; determining whether the heel portion is in a good soldering state based on brightness of image data obtained by imaging with the imaging apparatus. A soldering appearance inspection device, comprising:
【請求項8】 前記撮像手段の撮像角度は、前記基板面
から前記リードと隣接するリードとの間から前記ヒール
部分を観察可能な角度に設定し、かつ前記照明手段の照
明角度も前記リードの撮像角度と略等しく設定すること
を特徴とする請求項7記載のはんだ付け外観検査装置。
8. An imaging angle of the imaging means is set to an angle at which the heel portion can be observed from between the substrate surface and the lead and an adjacent lead, and an illumination angle of the illumination means is set to an angle of the lead. 8. The soldering appearance inspection apparatus according to claim 7, wherein the setting is made substantially equal to the imaging angle.
【請求項9】 前記判定手段は、前記撮像手段の撮像に
より得られる画像データを、前記照明手段による照明に
より正反射を入射する部分と正反射を入射しない部分と
を分けるレベルで2値化し、この2値化画像データの明
るい部分と暗い部分との画素面積に基づいて前記ヒール
部分のはんだ付け状態の良否を判定する機能を有するこ
とを特徴とする請求項7記載のはんだ付け外観検査装
置。
9. The determination means binarizes image data obtained by the imaging by the imaging means at a level that separates a part where regular reflection is incident and a part where regular reflection is not incident by illumination by the illumination means, 8. The soldering appearance inspection apparatus according to claim 7, further comprising a function of determining whether or not the heel portion is in a good soldering state based on the pixel areas of the bright portion and the dark portion of the binary image data.
【請求項10】 前記判定手段は、前記撮像手段の撮像
により得られる画像データにおける明暗を検索して連続
した暗い部分の長さを検出し、この暗い部分の長さに基
づいて前記ヒール部分のはんだ付け状態の良否を判定す
る機能を有することを特徴とする請求項7記載のはんだ
付け外観検査装置。
10. The determining means detects the length of a continuous dark portion by searching for light and dark in image data obtained by the imaging by the imaging means, and determines the length of the heel portion based on the length of the dark portion. The soldering appearance inspection apparatus according to claim 7, further comprising a function of determining whether the soldering state is good or bad.
【請求項11】 基板上にはんだ付けされたリード付き
部品のリードのヒール部分のはんだ付け状態を検査する
はんだ付け外観検査装置において、 前記リードの延在方向に対して略直行する相反する2つ
の方向からそれぞれ前記リードを照明する2つの照明手
段と、 これら照明手段の2方向の照明方向とそれぞれ相反する
2つの方向からそれぞれ前記リードを撮像する2つの撮
像手段と、 これら2つの撮像手段の撮像によりそれぞれ得られる2
つの画像データをそれぞれ前記照明により正反射を入射
する部分と正反射を入射しない部分とを分けるレベルで
2値化し、この後にこれらの画像データを画素間で論理
積し、これにより得られる画像データの明るい部分と暗
い部分との画素面積に基づいて前記ヒール部分のはんだ
付け状態の良否を判定する判定手段と、を具備したこと
を特徴とするはんだ付け外観検査装置。
11. A soldering appearance inspection device for inspecting a soldering state of a heel portion of a lead of a component with a lead soldered on a substrate, comprising: two opposite and substantially perpendicular to the extending direction of the lead; Two illuminating means for illuminating the lead from different directions, two imaging means for imaging the lead from two directions respectively opposite to the two illumination directions of the illuminating means, and imaging by these two imaging means 2 respectively obtained by
The two image data are binarized at a level that separates a portion where specular reflection is made incident from the illumination and a portion where no regular reflection is made, and thereafter, these image data are logically ANDed between pixels, and the image data obtained by this Determining means for judging the quality of the soldering state of the heel portion based on the pixel areas of the bright portion and the dark portion.
【請求項12】 前記リードの延在方向と同一方向から
の前記リードを照明する照明手段を追加したことを特徴
とする請求項7又は11記載のはんだ付け外観検査装
置。
12. The soldering visual inspection device according to claim 7, wherein an illuminating means for illuminating the lead from the same direction as the extending direction of the lead is added.
JP32688196A 1996-12-06 1996-12-06 Visual checking method for soldering joint and its device Pending JPH10170224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32688196A JPH10170224A (en) 1996-12-06 1996-12-06 Visual checking method for soldering joint and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32688196A JPH10170224A (en) 1996-12-06 1996-12-06 Visual checking method for soldering joint and its device

Publications (1)

Publication Number Publication Date
JPH10170224A true JPH10170224A (en) 1998-06-26

Family

ID=18192791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32688196A Pending JPH10170224A (en) 1996-12-06 1996-12-06 Visual checking method for soldering joint and its device

Country Status (1)

Country Link
JP (1) JPH10170224A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005340648A (en) * 2004-05-28 2005-12-08 Yamaha Motor Co Ltd Part recognition method, part recognition apparatus, surface mounter, and part inspection apparatus
JP2010261965A (en) * 2010-07-09 2010-11-18 Yamaha Motor Co Ltd Component recognition device, surface mounting machine, and component inspection device
CN112334762A (en) * 2018-07-13 2021-02-05 株式会社富士 Foreign matter detection method and electronic component mounting apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005340648A (en) * 2004-05-28 2005-12-08 Yamaha Motor Co Ltd Part recognition method, part recognition apparatus, surface mounter, and part inspection apparatus
JP2010261965A (en) * 2010-07-09 2010-11-18 Yamaha Motor Co Ltd Component recognition device, surface mounting machine, and component inspection device
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

Similar Documents

Publication Publication Date Title
JP2953736B2 (en) Solder shape inspection method
KR101129349B1 (en) Parts mount board inspection apparatus
JPH1123234A (en) Method and instrument for measuring height of solder ball of bga
JPH10170224A (en) Visual checking method for soldering joint and its device
JP3272998B2 (en) Bump height pass / fail judgment device
JP2954332B2 (en) Image input method and device
JP3247302B2 (en) Soldering inspection equipment
JPH05288527A (en) Appearance inspecting method for mounted board and its device
JPH05280946A (en) Observing apparatus of board
JP3468643B2 (en) Appearance inspection method for printed wiring boards
JP2629798B2 (en) Board inspection equipment
JPH0752158B2 (en) Mounted board inspection device
JPH0815171A (en) Method and apparatus for inspection soldering
JP3385916B2 (en) Wire detection method in wire bonding
JP2818347B2 (en) Appearance inspection device
JPH05296724A (en) Parts recognition method
JPH04337404A (en) Position measurement device
JP3203857B2 (en) Electronic component inspection method
JP2532513B2 (en) Object presence inspection method
JPH09321500A (en) Appearance inspecting method in soldered state
JP3006437B2 (en) Electronic component observation device and electronic component observation method
JP3755370B2 (en) Solder fillet inspection method
JPH03181807A (en) Visual apparatus
JP3016273B2 (en) Bonding inspection device
JPS63179245A (en) Inspection system for deviation in chip position on printed circuit board