JPH0810800B2 - Part lead inspection and attitude recognition method - Google Patents
Part lead inspection and attitude recognition methodInfo
- Publication number
- JPH0810800B2 JPH0810800B2 JP63064293A JP6429388A JPH0810800B2 JP H0810800 B2 JPH0810800 B2 JP H0810800B2 JP 63064293 A JP63064293 A JP 63064293A JP 6429388 A JP6429388 A JP 6429388A JP H0810800 B2 JPH0810800 B2 JP H0810800B2
- Authority
- JP
- Japan
- Prior art keywords
- lead
- component
- image information
- binary image
- line sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Automatic Assembly (AREA)
- Supply And Installment Of Electrical Components (AREA)
- Control Of Position Or Direction (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】 〔概要〕 部品のリード部の曲がりの検査及び部品の姿勢認識方
法に関し、 ラインセンサ・カメラで部品の姿勢判定及びリード曲
がり量の検出を行うことを目的とし、 ラインセンサ・カメラで部品の各リード辺を撮像
し、多値画像情報を2値化してメモリにストアし、メ
モリ上の2値画像情報に基づいてリード位置及びリード
間ピッチを求め、左右のピッチが等しいリード位置から
リード辺の中心位置を算出し、4辺にリード辺が存在
する部品については各リード辺の中心位置から部品全体
の中心位置及び位置ずれ量を算出し、位置ずれ量に従
って部品の位置補正を行い、位置補正済の部品のリー
ド辺をラインセンサ・カメラで撮像し、2値画像情報を
メモリにストアし、当該2値画像情報に基づいて補正が
完全か否を確認する。2辺にのみリード辺を持つ部品に
ついては、リード辺の中心位置及びリード先端(又は付
根)位置から部品全体の中心位置および位置ずれ量を算
出する。The present invention relates to a method for inspecting bending of a lead portion of a component and recognizing the posture of the component, and a line sensor / camera for determining the posture of the component and detecting the lead bending amount. -The camera captures each lead side of the component, binarizes multi-valued image information and stores it in memory, and determines the lead position and lead pitch based on the binary image information on the memory, and the left and right pitches are equal The center position of the lead side is calculated from the lead position, and for parts with lead sides on four sides, the center position of the entire part and the amount of positional deviation are calculated from the central position of each lead side, and the position of the part is calculated according to the amount of positional deviation. After performing the correction, the lead side of the position-corrected part is imaged by the line sensor camera, the binary image information is stored in the memory, and whether the correction is complete based on the binary image information is performed. Confirm. For a component having lead sides only on two sides, the center position of the entire component and the amount of displacement are calculated from the center position of the lead side and the lead tip (or root) position.
本発明は、近年増大しているフラット・リード・パッ
ケージ型部品のリード部の曲がり検査および部品の姿勢
認識方法に関するものである。The present invention relates to a method of inspecting a bending of a lead portion of a flat lead package type component and a method of recognizing a posture of a component, which has been increasing in recent years.
従来、フラット・リード・パッケージ型部品のリード
部の曲がり検査はエリア・カメラもしくはラインセンサ
・カメラで部品のリード部を撮像し、映像信号をA/D変
換し、ディジタル信号によりリード部の曲がり量を計測
する方法が採用されている。Conventionally, the lead bend inspection of flat lead package type parts is performed by imaging the lead part of the part with an area camera or line sensor camera, A / D converting the video signal, and bending amount of the lead part with a digital signal. The method of measuring is adopted.
しかし、対象部品の微小化或いはリード部分やプリン
ト板パターンの微細化に伴い、十分な測定精度を得るた
めには、 (a) エリア・カメラではCCD素子の1辺当たりの構
成画素数が少ないため、撮像光学系の倍率を上げて何画
面も取り込まなければならない。However, in order to obtain sufficient measurement accuracy with the miniaturization of target parts or the miniaturization of lead parts and printed circuit board patterns, (a) the area camera has a small number of constituent pixels per side of the CCD element. , It is necessary to increase the magnification of the imaging optical system and capture many screens.
(b) ラインセンサ・カメラは一回と撮像で1ライン
分の画像情報しか得られないため、対象部品とラインセ
ンサ・カメラの位置ずれにより計測に誤差が生じ易く、
部品の姿勢を認識し、高精度の位置補正を行う必要があ
る。(B) Since the line sensor / camera can obtain only one line of image information for each image pickup, an error is likely to occur in the measurement due to the positional deviation between the target component and the line sensor / camera.
It is necessary to recognize the posture of the component and perform highly accurate position correction.
などの問題があった。There was such a problem.
(b)の方法においては、ラインセンサと検査対象部
品が位置ずれを起こしていると、リード間のピッチ情報
が異なったものとなってしまう。また、リード曲がり検
査後、プリント板の所定のパターン上に部品を配置する
場合、部品のパッケージは製造時にかなりの歪を有して
いるため、パッケージの中心位置とプリント板上パター
ンの位置合わせを行っても、必ずしも正確に実装できる
とは限らない。それ故、正確な位置合わせを行うために
は、部品リード位置から部品全体(パッケージとリー
ド)の中心位置を求め、パッケージの中心位置との位置
ずれを補正する必要がある。In the method (b), if the line sensor and the inspection target component are misaligned, the pitch information between the leads becomes different. In addition, after the lead bending inspection, when arranging parts on a predetermined pattern of the printed board, the package of the parts has a considerable distortion at the time of manufacturing, so the center position of the package and the pattern on the printed board should be aligned. Even if it does, it cannot always be implemented correctly. Therefore, in order to perform accurate alignment, it is necessary to find the center position of the entire component (package and lead) from the component lead position and correct the positional deviation from the package center position.
本発明は、この点に鑑みて創作されたものであって、
ラインセンサ・カメラで部品の姿勢判定を行うと同時に
リード曲がり量の検出を行うことを目的としている。The present invention was created in view of this point,
The purpose is to detect the lead bending amount at the same time that the line sensor / camera determines the posture of the component.
第1図(a)は本発明の第1番目の発明の原理図、第
1図(b)は第2番目の発明の原理図である。本発明
は、リード曲がり量を検出し、同時ちリード位置から部
品全体の中心位置を算出し、パッケージの中心との位置
ずれ量を算出するものである。第1番目の発明は、4辺
にリード辺を持つ部品に関するものであって、 ラインセンサ・カメラで以て部品の各リード辺を撮
像し、ラインセンサ・カメラから出力される多値画像情
報を2値化し、2値画像情報をメモリにストアし、 メモリ上の2値画像情報に基づいて、リード位置及
びリード間ピッチを求め、左右のピッチが等しいリード
位置からリード辺の中心位置を算出し、 4辺にリード辺が存在する部品については、各リー
ド辺の中心位置からリードを基準とした部品全体の中心
位置および位置ずれ量を算出し、 求めた位置ずれ量に従って部品の位置補正を行い、 位置補正が行われた部品のリード辺を再びラインセ
ンサ・カメラで撮像し、2値画像情報をメモリにストア
し、メモリ上の当該2値画像情報に基づいて補正が完全
か否を確認する。FIG. 1 (a) is a principle diagram of the first invention of the present invention, and FIG. 1 (b) is a principle diagram of the second invention. The present invention detects the amount of lead bending, simultaneously calculates the center position of the entire component from the lead position, and calculates the amount of positional deviation from the center of the package. A first aspect of the present invention relates to a component having lead sides on four sides, in which each lead side of the component is imaged by a line sensor camera, and multi-valued image information output from the line sensor camera is displayed. Binarize, store the binary image information in the memory, calculate the lead position and the lead pitch based on the binary image information in the memory, and calculate the center position of the lead side from the lead position where the left and right pitches are equal. For parts with lead sides on the four sides, calculate the center position of the entire part and the amount of misalignment based on the lead from the center position of each lead side, and correct the position of the part according to the calculated misalignment amount. , The lead side of the component whose position has been corrected is again imaged by the line sensor camera, the binary image information is stored in the memory, and whether the correction is complete based on the binary image information in the memory is checked. Be sure.
ことを構成要件としている。This is a constituent requirement.
第2番目の発明は、対向する2辺にのみリード辺を持
つ部品に関するものであってリードの先端(又は付根)
位置を求め、各リード辺の中心位置及びリードの先端
(又は付根)位置からリードを基準とした部品全体の中
心位置および位置ずれ量を算出するものである。その他
の点については第1番目の発明と同じである。The second invention relates to a component having lead sides only on two opposite sides, and the tip (or root) of the lead.
The position is obtained, and the center position of the entire component and the amount of positional deviation based on the lead are calculated from the center position of each lead side and the tip (or root) position of the lead. The other points are the same as those of the first invention.
第2図は本発明のシステム構成例を示すブロック図で
ある。照明部1は検査対象部品3の上方に配置され、明
暗のはっきりした像を得るため、照明部1の発光面と部
品3との間に白色の光拡散板2が設置されている。撮像
部はカメラ・レンズ5やCCDラインセンサ・カメラ6な
どを有しており、検査対象部品3の下方から撮像し、リ
ード部のシルエット像を撮像する。画像処理部は、デー
タ処理を行うマイクロプロセッサ10、CCDラインセンサ
・カメラ6からのアナログ信号をマイクロプロセッサ10
からの制御信号に基づいてA/D変換してメモリ8に格納
するカメラ・インタフェース7、ディジタル化された画
像情報を記憶するメモリ8、メカ・インタフェース9、
検査結果をCRTに出力するためのCRTコントローラ11、検
査結果を記憶する外部記憶装置13および外部記憶装置コ
ントローラ12から構成される。メカ・インタフェース9
は、検査対象部品を保持し移動させるロボット(図示せ
ず)およびカメラを移動させるロボットの制御を行うた
めのものである。FIG. 2 is a block diagram showing a system configuration example of the present invention. The illumination unit 1 is arranged above the inspection target component 3, and a white light diffuser plate 2 is provided between the light emitting surface of the illumination unit 1 and the component 3 in order to obtain a clear image of light and dark. The imaging unit has a camera / lens 5, a CCD line sensor / camera 6, and the like, and images from below the inspection target component 3 to capture a silhouette image of the lead portion. The image processing unit uses a microprocessor 10 that processes data and an analog signal from the CCD line sensor / camera 6 to the microprocessor 10.
A camera interface 7 for A / D converting based on a control signal from the device and storing it in the memory 8, a memory 8 for storing digitized image information, a mechanical interface 9,
It is composed of a CRT controller 11 for outputting the inspection result to a CRT, an external storage device 13 for storing the inspection result, and an external storage device controller 12. Mechanical interface 9
Is for controlling a robot (not shown) that holds and moves the inspection target component and a robot that moves the camera.
第3図は検査フローチャートを示す図である。以下に
具体的な検査方法について説明する。先ず、検査対象部
品を検査位置(プリント板への実装位置)にセットし、
ラインセンサ・カメラを各リード辺の位置に移動させ
る。移動が完了した時点で、リード部のシルエット像を
撮像し、カメア・インタフェースはラインセンサ・カメ
ラより得られるアナログ波形をA/Dコンバータでディジ
タル変換し、そのピーク値を求める。次に、求めたピー
ク値の1/2もしくは1/3程度を閾値として再びラインセン
サ・カメラで撮像し、カメラ出力波と上記閾値をコンパ
レータで比較しながら輝度レベルが“0"か“1"の2値画
像をメモリに取り込む。FIG. 3 is a diagram showing an inspection flowchart. A specific inspection method will be described below. First, set the parts to be inspected at the inspection position (mounting position on the printed board),
Move the line sensor camera to the position of each lead side. When the movement is completed, the silhouette image of the lead part is captured, and the camera interface digitally converts the analog waveform obtained from the line sensor camera with the A / D converter and obtains its peak value. Next, the line sensor camera captures an image again using about 1/2 or 1/3 of the calculated peak value as a threshold value, and the brightness level is "0" or "1" while comparing the camera output wave with the above threshold value by the comparator. The binary image of is taken into the memory.
このメモリ上の2値画像情報の中でリード部分を示す
輝度レベル“0"のビット位置をカウントして位置数nを
求め、予め求めて置いた正常部品のリード部分を最適な
閾値で撮像して得た2値画像中のリード部分を示す輝度
レベル“0"の位置数Nと比較し、位置数nが値Nと掛け
離れたものであれば、閾値を変化させ、再び2値画像を
取り込み、同じ操作を繰り返す。In the binary image information on this memory, the bit position of the brightness level "0" indicating the lead portion is counted to obtain the number of positions n, and the lead portion of the normal component that has been obtained in advance is imaged with the optimum threshold value. The number of positions N of the brightness level “0” indicating the lead portion in the binary image obtained by the above is compared, and if the number of positions n is far from the value N, the threshold value is changed and the binary image is captured again. , Repeat the same operation.
位置数nがあらかじめ求めておいた値Nに充分に近け
れば、取り込んだ2値画像からリードのエッジ部分を示
す輝度レベルが“1"から“0"及び“0"から“1"の反転位
置を探索し、リード位置とリード本数を求める。If the number of positions n is sufficiently close to the value N that has been obtained in advance, the reversal position of the brightness level indicating the edge part of the lead from "1" to "0" and "0" to "1" from the captured binary image To find the lead position and the number of leads.
リード本数が規定値と等しくなければ、リード折れ又
は位置ずれ大としてリジェクトする。規定値と等しけれ
ば、リード部分の中心位置をリード位置とし、リード間
ピッチを算出し、メモリにストアする。もし、検査対象
部品が回転していれば、ピッチは正規のものより長くな
っている。ここで、左右のリード間ピッチが等しい複数
のリード位置よりリード辺の中心位置を算出する。第4
図はリード部の多値画像と2値画像の例を示す。2値画
像に基づいてリード位置およびリード間ピッチが算出さ
れる。If the number of leads is not equal to the specified value, it is rejected as a lead break or a large positional deviation. If it is equal to the specified value, the lead position is set to the center position of the lead portion and the lead pitch is calculated and stored in the memory. If the part to be inspected is rotating, the pitch is longer than the regular one. Here, the center position of the lead side is calculated from a plurality of lead positions having the same pitch between the left and right leads. Fourth
The figure shows an example of a multi-valued image and a binary image of the lead portion. The lead position and the lead pitch are calculated based on the binary image.
更に、リードが2辺しかない検査対象部品については
カメラを前後に移動させ、2値画像を取り込み、リード
部を示す輝度レベル“0"の画素数をカウントすることに
より、リードの先端(又は付根)部分を発見する。Furthermore, for parts to be inspected with only two leads, move the camera back and forth, capture a binary image, and count the number of pixels with a brightness level of "0" that indicates the lead part, and ) Discover the part.
各辺に対して上記操作を行い、リード辺が4辺の部品
については4辺の中心よりリードを基準とした部品全体
の中心位置および回転量を算出し、リード辺が2辺の部
品については2辺の中心とリード先端位置よりリードを
基準とした部品全体の中心位置および回転量を算出す
る。第5図は2辺にのみリードがある部品におけるリー
ド辺の中心およびリード先端を示す。The above operation is performed for each side, and for a part with four lead sides, the center position and rotation amount of the entire part with respect to the lead is calculated from the center of the four sides. For a part with two lead sides, From the center of the two sides and the position of the tip of the lead, the center position and the rotation amount of the entire component with respect to the lead are calculated. FIG. 5 shows the center of the lead side and the tip of the lead in a component having leads on only two sides.
次に、求めた回転量より以前に求めた各辺のリード間
ピッチが規定範囲内か否かを判定する。規定外であれば
リードが曲がっているわけであるからリジェクトし、規
定内であれば位置補正を施す。最後に1辺もしくは各辺
について再び2値画像を取り込み、両端のリード位置及
びリード位置より補正が良好であるか否かを判定する。
第3図の検査でOKとされた部品(例えばLSI20)は、第
6図に示すように、プリント板30上に載せられ、LSI20
のリード部とプリント板30上の接続パターンとが半田付
けされる。Next, it is determined whether or not the lead pitch of each side obtained earlier than the obtained rotation amount is within the specified range. If it is out of the specified range, the lead is bent, so it is rejected. If it is within the specified range, the position is corrected. Finally, the binary image is captured again for one side or each side, and it is determined from the lead positions at both ends and whether or not the correction is better.
As shown in FIG. 6, a component (for example, LSI20) determined to be OK in the inspection of FIG.
The lead portion of the and the connection pattern on the printed board 30 are soldered.
第7図は2値化スライス・レベルの設定方法を説明す
る図である。同図(a)のごどく部品のリード部をライ
ンセンサで撮像すると、透過照明であるからリード部で
は光が遮断されて多値画像の場合には同図(b)のごと
くリード部がが谷となる。いま、スライス・レベルを同
図(b)のAのように輝度の高い所に設定すると、得ら
れる2値画像は同図(c)のごとくリード部を示す輝度
レベル“0"の部分が広くなる。逆に同図(b)のBのよ
うに輝度の低い所にスライス・レベルを設定すると、得
られる2値画像は同図(d)のごとくリード部を示す輝
度レベル“0"の部分が狭くなる。このように、設定する
スライス・レベルにより、実際のリード部の幅より2値
画像上でのリード部の幅が広くなったり、狭くなったり
する。本発明では、ルード部の位置を求めるのに2値画
像の輝度レベレの“0"の部分の中心位置を探索している
が、2値画像上のリード部の幅が極端に広かったり、狭
かったりすると、中心位置がばらつきやすい。このた
め、常に実際のリード幅と2値画像のリード幅を一致さ
せるようにスライス・レベルを設定する。FIG. 7 is a diagram for explaining a method of setting the binarized slice level. When an image of the lead part of the rugged part of FIG. 6A is taken by a line sensor, the light is blocked at the lead part because it is transmitted illumination, and in the case of a multi-valued image, the lead part is shown as shown in FIG. Become a valley. Now, when the slice level is set to a high luminance position as indicated by A in FIG. 2B, the obtained binary image has a wide luminance level “0” portion indicating the lead portion as shown in FIG. Become. On the contrary, if the slice level is set at a low luminance position such as B in FIG. 6B, the obtained binary image has a narrow luminance level “0” portion indicating the lead portion as shown in FIG. Become. In this way, depending on the slice level to be set, the width of the lead portion on the binary image becomes wider or narrower than the actual width of the lead portion. In the present invention, the center position of the "0" portion of the brightness level of the binary image is searched to find the position of the rud part. However, the width of the lead part on the binary image is extremely wide or narrow. If so, the center position tends to vary. Therefore, the slice level is set so that the actual lead width and the lead width of the binary image always match.
第8図はリード辺の中心位置の算出方法を説明する図
である。得られた2値画像から輝度レベル“0"の部分を
探索し、輝度レベル“0"の部分のそれぞれについて中心
位置を求め、各リード位置Ikとする。また、得られた各
リード位置Ikと次のリード位置Ik+1との差を取っていく
と、リード間ピッチPkが求められる。いま、リードN+
1を考えると、一本左側のリードとの間の距離はPn、一
本右側のリードとの間の距離はPn+1であり、もしN+1
が曲がっていれば、 ΔPn=|Pn−Pn+1| は大きな値となる。従って、各リードについてこのΔPk
を計算し、規定値と比較し、曲がりの検査を行う。この
方法であると、部分のθずれがある程度(±10゜)あっ
ても、もしリードが曲がっていなければ殆どΔPk≒0と
なり、回転ずれにあまり影響されない。次に、以上の曲
がり検査で曲がっていないと判定できたリード(例えば
同図でN+3)の位置Ikと部品が位置ずれなくラインセ
ンサに撮像された場合、そのリードがある位置Jkとの差 Δdk=Jk−Ik を求める。曲がっていないリードの各々についてΔdkを
求め、合計し、曲がっていないリードの本数で割って平
均位置ずれ量ΔDを求める。このΔDと部品が位置ずれ
なくラインセンサに撮像された場合のリード辺の中心位
置Cとの和を取れば、部品のリード辺の中心が求められ
る。FIG. 8 is a diagram for explaining a method of calculating the center position of the lead side. A brightness level “0” part is searched from the obtained binary image, and a center position is obtained for each of the brightness level “0” parts, and each read position I k is set. Further, by taking the difference between each obtained lead position I k and the next lead position I k + 1 , the lead pitch P k can be obtained. Lead N + now
Considering 1, the distance to the lead on the left side is P n , the distance to the lead on the right side is P n + 1 , and if N + 1
If is curved, ΔP n = | P n −P n + 1 | becomes large. Therefore, for each lead, this ΔP k
Is calculated, compared with the specified value, and the bend is inspected. According to this method, even if the θ deviation of the portion is to some extent (± 10 °), if the lead is not bent, ΔP k ≈0, and the rotational deviation is not so much affected. Next, the position I k of the lead (for example, N + 3 in the figure) that can be determined as not bent by the above-described bending inspection and the position J k where the lead is located when the part is imaged by the line sensor without displacement. Find the difference Δd k = J k −I k . Δd k is obtained for each of the non-bent leads, summed, and divided by the number of non-bent leads to obtain the average displacement amount ΔD. The center of the lead side of the component can be obtained by summing this ΔD and the center position C of the lead side when the component is imaged by the line sensor without displacement.
第9図はリードから部品全体の中心位置を算出する方
法を説明する図である。先ず、4辺にリード辺がある部
分について説明する。上述の方法により部品の各リード
辺の中心位置が求まっている。同図(a)のS0,S1,S2,S
3は4辺にリード辺がある部分における各リード辺の中
心位置を示している。また、部品が位置ずれなしの場合
の部品の中心Cの座標も既知である。各辺の中心位置S0
ないしS3を用いて対向2辺の中心を結ぶ2本の交点を求
めれば、部品の中心位置C′が求まる。また、部品の傾
きθは各線分のX軸もしくはY軸となす角である。FIG. 9 is a diagram illustrating a method of calculating the center position of the entire component from the lead. First, a portion having lead sides on four sides will be described. The center position of each lead side of the component is obtained by the above method. S 0 , S 1 , S 2 , S in FIG.
Reference numeral 3 indicates the center position of each lead side in the portion where the lead side is on the four sides. Further, the coordinates of the center C of the component when the component is not displaced are also known. Center position of each side S 0
By obtaining a to the intersection of the two connecting the centers of the opposing two sides with S 3, the central position of the component C 'is obtained. Further, the inclination θ of the component is an angle formed between the X axis or the Y axis of each line segment.
次に、2辺にリード辺のある部品について説明する。
上述の方法により部品の各リード辺の中心位置が求まっ
ている。同図(b)のS0,S1は2辺にリード辺がある部
品における各リード辺の中心位置を示している。また、
リード先端位置および部品が位置ずれなしの場合の部品
の中心Cの座標も既知である。S0,S1を結ぶ線分と、各
リード先端位置の中心位置を通るX軸に平行な線分との
交点が部品の中心位置C′である。また、部品の傾きθ
は、S0,S1を結ぶ線分がYとなす角となる。Next, a part having two lead sides will be described.
The center position of each lead side of the component is obtained by the above method. In FIG. 3B, S 0 and S 1 indicate the center position of each lead side in a component having two lead sides. Also,
The coordinates of the lead tip position and the center C of the component when the component is not displaced are also known. The intersection of the line segment connecting S 0 and S 1 and the line segment passing through the center position of each lead tip position and parallel to the X axis is the center position C ′ of the component. Also, the inclination of the component θ
Is the angle formed by the line segment connecting S 0 and S 1 with Y.
次に、位置ずれ量の算出について説明する。上述の
C′点の座標を(x1,y1)とし、C点の座標を(x0,y0)
とする。Next, the calculation of the positional deviation amount will be described. The coordinates of the point C ′ are (x 1 , y 1 ) and the coordinates of the point C are (x 0 , y 0 ).
And
今、C点を原点とする座標系を考えると、C′点の座
標はC1(x1-x0,y1-y0)に変換できる。部品はθの傾き
を有しているから、この原点を中心として−θ回転させ
て、θ方向の位置補正を考えると、C1はC2(x2,y2)に
回転移動する。このC2(x2,y2)の座標は、 x2(x1−x0)cos(−θ)−(y1−y0)sin(−θ) y2=(x1−x0)sin(−θ)+(y1−y0)cos(−θ) となる。Now, considering a coordinate system having the point C as the origin, the coordinates of the point C ′ can be converted into C 1 (x 1- x 0 , y 1- y 0 ). Since the component has an inclination of θ, C 1 rotates to C 2 (x 2 , y 2 ) when the position correction in the θ direction is performed by rotating −θ about this origin. The coordinates of this C 2 (x 2 , y 2 ) are x 2 (x 1 −x 0 ) cos (−θ) − (y 1 −y 0 ) sin (−θ) y 2 = (x 1 −x 0 ) becomes sin (-θ) + (y 1 -y 0) cos (-θ).
以上の説明から明らかなように、本発明によれば、 (a) ラインセンサ・カメラを用いているため、処理
スピードが速い。As is clear from the above description, according to the present invention, (a) the processing speed is high because the line sensor camera is used.
(b) リード曲がり検査と同時に姿勢判定を行うた
め、位置ずれによる計測誤差が少ない。(B) Since the posture determination is performed at the same time as the lead bending inspection, the measurement error due to the positional deviation is small.
(c) エリア・カメラより1ライン当たりの画素数が
多いので、分解能が高く精度が良い。(C) Since the number of pixels per line is larger than that of the area camera, the resolution is high and the accuracy is good.
という顕著な経過を奏することが出来る。You can play a remarkable progress.
第1図は本発明の原理図、第2図は本発明のシステム構
成例を示す図、第3図は検査フローチャートを示す図、
第4図はリード部の多値画像と2値画像を示す図、第5
図はリード辺の中心位置とリード先端を示す図、第6図
はLSIとプリント板を示す図、第7図は2値化スライス
・レベルの設定方法を説明する図、第8図はリード辺の
中心位置の算出方法を説明する図、第9図はリードから
部品全体の中心位置を算出する方法を説明する図であ
る。 1……照明部、2……光拡散板、3……検査対象部品、
4……リード、5……カメラ・レンズ、6……CCDライ
ンセンサ・カメラ、7……カメラ・インタフェース、8
……メモリ、9……メカ・インタフェース、10……マイ
クロプロセッサ、11……CRTコントローラ、12……外部
記憶装置コントローラ、13……外部記憶装置。FIG. 1 is a principle diagram of the present invention, FIG. 2 is a diagram showing a system configuration example of the present invention, FIG. 3 is a diagram showing an inspection flowchart,
FIG. 4 is a diagram showing a multivalued image and a binary image of the lead portion, and FIG.
Figure shows the center position of the lead side and the tip of the lead. Figure 6 shows the LSI and printed board. Figure 7 shows the method of setting the binarized slice level. Figure 8 shows the lead side. FIG. 9 is a diagram illustrating a method of calculating the center position of the component, and FIG. 9 is a diagram illustrating a method of calculating the center position of the entire component from the lead. 1 ... Illumination part, 2 ... Light diffusing plate, 3 ... Parts to be inspected,
4 ... Lead, 5 ... Camera lens, 6 ... CCD line sensor camera, 7 ... Camera interface, 8
... Memory, 9 ... Mechanical interface, 10 ... Microprocessor, 11 ... CRT controller, 12 ... External storage device controller, 13 ... External storage device.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H05K 13/04 M ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display H05K 13/04 M
Claims (2)
ード部の曲がり検査及び部品の姿勢認識を行う部品リー
ドの検査及び姿勢認識方法であって、 ラインセンサ・カメラで以て部品の各リード辺を撮
像し、ラインセンサ・カメラから出力される多値画像情
報を2値化し、2値画像情報をメモリにストアし、 メモリ上の2値画像情報に基づいて、リード位置及
びリード間ピッチを求め、左右のピッチが等しいリード
位置からリード辺の中心位置を算出し、 4辺にリード辺が存在する部品については、各リー
ド辺の中心位置からリードを基準とした部品全体の中心
位置および位置ずれ量を算出し、 求めた位置ずれ量に従って部品の位置補正を行い、 位置補正が行われた部品のリード辺をラインセンサ
・カメラで撮像し、2値画像情報をメモリにストアし、
メモリ上の当該2値画像情報に基づいて補正が完全か否
かを確認する ことを特徴とする部品リードの検査及び姿勢認識方法。1. A method for inspecting a component lead and recognizing the posture of a component by using a line sensor camera to inspect bending of a lead portion of the component and recognizing the posture of the component. The sides are imaged, the multi-valued image information output from the line sensor / camera is binarized, the binary image information is stored in the memory, and the lead position and the lead pitch are determined based on the binary image information on the memory. Then, the center position of the lead side is calculated from the lead positions where the left and right pitches are equal. For parts with lead sides on four sides, the center position and position of the entire part based on the lead from the center position of each lead side The amount of displacement is calculated, the position of the component is corrected according to the calculated amount of displacement, the lead side of the component for which the position has been corrected is imaged with a line sensor camera, and binary image information is recorded. Stores in,
A method for inspecting a component lead and recognizing a posture, which comprises confirming whether or not a correction is complete based on the binary image information on a memory.
ード部の曲がり検査及び部品の姿勢認識を行う部品リー
ドの検査及び姿勢認識方法であって、 ラインセンサ・カメラで以て部品の各リード辺を撮
像し、ラインセンサ・カメラから出力される多値画像情
報を2値化し、2値画像情報をメモリにストアし、 メモリ上の2値画像情報に基づいて、リード位置及
びリード間ピッチを求め、左右のピッチが等しいリード
位置からリード辺の中心位置を算出し、 対向する2辺にのみリード辺が存在する部品につい
ては、リードの先端(又は付根)位置を求め、各リード
辺の中心位置及びリードの先端(又は付根)位置からリ
ードを基準とした部品全体の中心位置および位置ずれ量
を算出し、 求めた位置ずれ量に従って部品の位置補正を行い、 位置補正が行われた部品のリード辺を再びラインセ
ンサ・カメラで撮像し、2値画像情報をメモリにストア
し、メモリ上の当該2値画像情報に基づいて補正が完全
か否かを認識する ことを特徴とする部品リードの検査及び姿勢認識方法。2. A method for inspecting a component lead and recognizing a posture of a component by using a line sensor camera to inspect bending of a lead portion of the component and recognizing the posture of the component, wherein each lead of the component is detected by the line sensor camera. The sides are imaged, the multi-valued image information output from the line sensor / camera is binarized, the binary image information is stored in the memory, and the lead position and the lead pitch are determined based on the binary image information on the memory. Calculate the center position of the lead side from the lead position where the left and right pitches are equal, and for parts that have lead sides only on two opposing sides, find the lead tip (or root) position and calculate the center of each lead side. From the position and the tip (or root) position of the lead, calculate the center position of the entire component and the amount of positional deviation with the lead as the reference, and correct the position of the component according to the calculated amount of positional deviation. Re-imaging the lead side of the corrected component with the line sensor camera, storing the binary image information in the memory, and recognizing whether the correction is complete based on the binary image information in the memory. A method for inspecting a component lead and recognizing a posture of the component lead.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63064293A JPH0810800B2 (en) | 1988-03-17 | 1988-03-17 | Part lead inspection and attitude recognition method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63064293A JPH0810800B2 (en) | 1988-03-17 | 1988-03-17 | Part lead inspection and attitude recognition method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01236700A JPH01236700A (en) | 1989-09-21 |
| JPH0810800B2 true JPH0810800B2 (en) | 1996-01-31 |
Family
ID=13254044
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63064293A Expired - Fee Related JPH0810800B2 (en) | 1988-03-17 | 1988-03-17 | Part lead inspection and attitude recognition method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0810800B2 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4892693A (en) * | 1987-07-24 | 1990-01-09 | Aluminum Company Of America | Method of making filament growth composite |
| JP2801336B2 (en) * | 1990-01-18 | 1998-09-21 | 松下電器産業株式会社 | How to mount electronic components |
| JPH07112119B2 (en) * | 1991-04-08 | 1995-11-29 | 日本アビオニクス株式会社 | Positioning device for electronic components |
| JP2007317972A (en) * | 2006-05-29 | 2007-12-06 | Hitachi High-Technologies Corp | Electronic component adhesion state inspection device |
| JP2008085216A (en) * | 2006-09-28 | 2008-04-10 | Fujikura Ltd | Method and apparatus for positioning printed circuit board |
| JP5333408B2 (en) * | 2010-10-22 | 2013-11-06 | 東京エレクトロン株式会社 | Holding member posture determination apparatus, method thereof, substrate processing apparatus, and storage medium |
| TWI650733B (en) | 2017-12-01 | 2019-02-11 | 台達電子工業股份有限公司 | Electronic component assembly system and method |
| CN109874235B (en) * | 2017-12-01 | 2020-09-08 | 台达电子工业股份有限公司 | Electronic component assembly system and method |
| US11338441B2 (en) | 2017-12-01 | 2022-05-24 | Delta Electronics, Inc. | Calibration system for robot tool and calibration method for the same |
| CN110113580B (en) * | 2019-06-06 | 2024-04-09 | 天津艾思科尔科技有限公司 | Platform crossing detection system |
| CN111784674B (en) * | 2020-07-02 | 2024-06-25 | 深圳明锐理想科技股份有限公司 | Component detection method, device, computer equipment and storage medium |
-
1988
- 1988-03-17 JP JP63064293A patent/JPH0810800B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01236700A (en) | 1989-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4450579A (en) | Recognition method and apparatus | |
| US5208463A (en) | Method and apparatus for detecting deformations of leads of semiconductor device | |
| US5185811A (en) | Automated visual inspection of electronic component leads prior to placement | |
| JPH0810800B2 (en) | Part lead inspection and attitude recognition method | |
| JP2000136944A (en) | Rotation angle measuring device | |
| US8441440B2 (en) | Position information detection device, position information detection method, and position information detection program | |
| JP4707249B2 (en) | Component position detection method and apparatus | |
| JPH0644360A (en) | Visual inspection method and device for electronic part with lead | |
| JPH08204096A (en) | Method of lead visual inspection of semiconductor device and inspector | |
| JPH116711A (en) | Calibration value measurement method of measurement imaging device | |
| JP3269816B2 (en) | Component mounting equipment | |
| CN1319012C (en) | Part recognizing method and device | |
| JP3114941B2 (en) | Component mounting equipment | |
| KR0149552B1 (en) | Mounting equipment and method of electronic component | |
| JP3923168B2 (en) | Component recognition method and component mounting method | |
| JPH06260794A (en) | Method and equipment for recognizing position of electronic part | |
| JP2686754B2 (en) | Parts mounting device | |
| JP2539071B2 (en) | Alignment device | |
| JPH0770874B2 (en) | Parts position detection method | |
| JPH04338700A (en) | Board mark recognition device | |
| JP2694819B2 (en) | Lead position detector | |
| JP2601232B2 (en) | IC lead displacement inspection equipment | |
| JPH073330B2 (en) | Lead bending inspection device | |
| JPH05118819A (en) | Visual recognition apparatus | |
| JPH0480937A (en) | Lead bending measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |