JPH01155202A - Part mounting apparatus - Google Patents

Part mounting apparatus

Info

Publication number
JPH01155202A
JPH01155202A JP62314124A JP31412487A JPH01155202A JP H01155202 A JPH01155202 A JP H01155202A JP 62314124 A JP62314124 A JP 62314124A JP 31412487 A JP31412487 A JP 31412487A JP H01155202 A JPH01155202 A JP H01155202A
Authority
JP
Japan
Prior art keywords
lead
component
degrees
leads
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62314124A
Other languages
Japanese (ja)
Other versions
JP2686754B2 (en
Inventor
Mikiyasu Uchiyama
内山 幹康
Masashi Yamaguchi
昌志 山口
Fumio Ito
文夫 伊藤
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.)
Yamaha Motor Co Ltd
Original Assignee
Yamaha Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Motor Co Ltd filed Critical Yamaha Motor Co Ltd
Priority to JP62314124A priority Critical patent/JP2686754B2/en
Publication of JPH01155202A publication Critical patent/JPH01155202A/en
Application granted granted Critical
Publication of JP2686754B2 publication Critical patent/JP2686754B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Supply And Installment Of Electrical Components (AREA)
  • Control Of Position Or Direction (AREA)
  • Manipulator (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To perform processing within a short time, by taking the image of the shape of a part to output an image signal and providing a Hough converter for applying Hough conversion to said signal within a retrieval angle range sufficient to discriminate the shape of the part. CONSTITUTION:The image of a lead wire is taken to obtain a signal through a binary converter and said signal is subjected to Hough conversion to detect the intersecting point on lead center lines crossing each other at a right angle by an intersecting point detector. With respect to (a) : the direction crossing the lead center lines of a lead group at a right angle, (b) : the directions of leads crossing each other at a right angle and (c) : the intersecting point calculated when there is no bending of the first lead, the intersecting point of the led subjected to a bending test and the lead crossing said lead at a right angle is transferred to the first testing point satisfying the conditions (a) - (c) of the distance, when said intersecting point does not pass the leading ends of the leads of (b) and is moved to the position near to said leading ends, to detect a pixel by the first inspection means and the first testing point is successively moved by the lead interval in the lead and part direction to inspect that a testing point where the pixel of a pat is not detected is continuously generated two times by the second inspection means. Further, an operator constituted, so that 3 is subtracted from the total inspection number of times of the first and second inspection means to detect the number of bent leads, is mounted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、部品の自動実装等を行なう部品取付装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a component mounting device for automatically mounting components.

〔従来の技術〕[Conventional technology]

近年、部品の自動実装装置が普及し、各所で用いられて
いる。これは例えば部品を撮像してその映像を2値化し
て直線部分を認識し、その直線をもとに基準点を決め、
その基準点を基準として部品の取付座標を求めるようK
なっている。このとき、2値化信号から直線部分を認識
するために最小2乗法を用いて誤差が小さくするように
しているO 〔発明が解決しようとする問題点〕 しかしながらこのような従来の装置は、画像信号にノイ
ズがあったシ、背景とのコントラストが小さいとき、直
線を検出しようとする部分に窪みや、出張シがあると、
その部分が誤差要因になシ、正しい結果を得られないこ
とがあった。
In recent years, automatic component mounting devices have become widespread and are used in various places. For example, this involves taking an image of a part, converting the image into binarization, recognizing the straight line, and determining a reference point based on that straight line.
K to find the installation coordinates of the parts based on that reference point.
It has become. At this time, in order to recognize the straight line portion from the binarized signal, the least squares method is used to reduce the error. [Problems to be solved by the invention] However, such conventional devices If there is noise in the signal, the contrast with the background is low, or there are depressions or bumps in the area where you are trying to detect a straight line,
This part became a source of error, and sometimes incorrect results could not be obtained.

〔問題点を解決するための手段〕[Means for solving problems]

このような問題を解決するためKこの発明は、検索角度
範囲を限定したハフ変換を応用したものである。
In order to solve these problems, the present invention applies Hough transform with a limited search angle range.

〔作用〕[Effect]

ノイズに強い検出が行なわれる。 Detection is performed that is resistant to noise.

〔実施例〕〔Example〕

視覚装置を用いてIC等の電子部品の位置決めを行なう
とき、部品の回転を考慮し、2つの基準点を部品上に設
定している。このとき、例えば4辺からリードが出てい
るICの場合、ある辺のリードと、それと異なる辺のリ
ードの交点を2個所求めて基準点とすれば良い。
When positioning an electronic component such as an IC using a visual device, two reference points are set on the component in consideration of the rotation of the component. At this time, for example, in the case of an IC with leads coming out from four sides, two intersections between the leads on one side and the leads on a different side may be found and used as reference points.

第1図はこの基準点を見出す手段のフローチャートであ
る。図において先ずステップ10Gに示すように画像を
入力するが、このとき、精度を確保するため、第2図に
示すように、Ic1の隅部の一部分だけを撮像装置2で
撮像する。この撮像された映像をステップ101に示す
ように縦線を検出するため横方向のエツジ検出を行ない
、ステップ102に示すようにハフ変換を行なう。その
結果からステップ103に示すように角度θVを求め、
ステップ104よシ座標ρv1〜ρVmを求める。この
ρ、θは第3図に示すように1 ρは原点から直線αへ
降ろし九乗線の長さ、θは乗線とX軸のなす角度である
FIG. 1 is a flowchart of the means for finding this reference point. In the figure, an image is first input as shown in step 10G. At this time, in order to ensure accuracy, only a part of the corner of Ic1 is imaged by the imaging device 2, as shown in FIG. The captured video is subjected to horizontal edge detection to detect vertical lines as shown in step 101, and subjected to Hough transformation as shown in step 102. From the result, calculate the angle θV as shown in step 103,
In step 104, the coordinates ρv1 to ρVm are determined. These ρ and θ are 1 as shown in FIG. 3. ρ is the length of the ninth power line drawn from the origin to the straight line α, and θ is the angle between the fourth power line and the X axis.

第3図の直線αは次のように表わせる。The straight line α in FIG. 3 can be expressed as follows.

ρ” xcasθ+y幽θ ・・・・・(1)(1)式
をρとθに関する方程式と考え、ρ−θ空間上でこの関
係を表わす軌跡を描く。すると、ρ−θ空間の1点βは
X −y空間の1本の直線に対応し、逆K(11式で表
わされるρ−θ空間の軌跡はX −y空間において(x
O*y’)を通るすべての直線群を表わしていることに
なる。
ρ" corresponds to a straight line in the X-y space, and the locus in the ρ-θ space expressed by the inverse K
This represents all groups of straight lines passing through O*y').

同様の操作を画像中のすべてのエツジ点に対して施こし
、第4図に示すようにρ−θ空間上において軌跡が集中
している場所 (ρ0θ0)を求める。これはX −y
空間上で直線ρ0=1(2)θo+y虐θolc対応し
、直線が検出されたことKなる。
A similar operation is performed on all edge points in the image to find the location (ρ0θ0) where the trajectories are concentrated in the ρ-θ space, as shown in FIG. This is X-y
This corresponds to the straight line ρ0=1(2)θo+y θolc in space, which means that a straight line has been detected.

このようにして得られた結果からステップ105に示す
ように端子幅、端子間ピッチのデータをもとに、端子の
両側の直線の組をみつけ、それぞれのリードの中心線を
求める。同様の操作をステップ111〜115について
行ない、それらのデータをもとにステップ116に示す
ように、k番目の端子どうしの中心線の交点(Xp、Y
p)を求める操作を行なう。このときの交点は各諸元を
第5図のように定義すると次の+21 、 +3)式で
示される。
From the results obtained in this way, as shown in step 105, a set of straight lines on both sides of the terminal is found based on data on the terminal width and the pitch between the terminals, and the center line of each lead is determined. Similar operations are performed for steps 111 to 115, and based on these data, as shown in step 116, the intersection of the center lines of the k-th terminals (Xp, Y
Perform the operation to obtain p). The intersection point at this time is shown by the following formula +21, +3) when each specification is defined as shown in FIG.

このように、交点を求めるためには、互いに直交するリ
ード(端のリードは曲がっている確率が他のり−ドよシ
高いため、通常は端から2本目以降のリードが使われる
)が画面に写っていることが必要である。そして、この
時部品の位置は正確に位置決めされて置かれているわけ
ではないため、互いに直交するリードが必ず画面に入る
ためには第6図に示すようにある程度余裕を持たせて部
品を撮影する必要がある。このため、画面のサイズとし
て、産業用で主流である256X240画素とすると、
リードの長さLは30〜40画素程度となる。
In this way, to find the intersection point, the leads that are orthogonal to each other (the leads at the ends are more likely to be bent than the other leads, so usually the second lead from the end or later are used) are displayed on the screen. It is necessary to be photographed. At this time, the parts are not positioned accurately, so in order for the leads that are orthogonal to each other to be sure to enter the screen, the parts must be photographed with some margin as shown in Figure 6. There is a need to. For this reason, if the screen size is 256 x 240 pixels, which is the mainstream for industrial use,
The lead length L is about 30 to 40 pixels.

前述のハフ変換は第7図(a)に示すリードを撮像して
第7図(b)に示すようにエツジ画像を得、この画像を
2値化して第7図(e)のような信号を得、それをハフ
変換することKよって第7図(d)に示すような2本の
直線a、bを求め、この中心線Cを求めることによって
リードの中心線としている。このハフ変換を用いた方法
は他の手法、例えば最小2乗法等と比べてノイズに強い
等の長所を持っておシ、直線検出を行なう上での有効な
方法であるが、処理時間が大きいという短所があるため
、産業分野ではあt、b使われていないのが現状である
In the Hough transform described above, the lead shown in FIG. 7(a) is imaged to obtain an edge image as shown in FIG. 7(b), and this image is binarized to generate a signal as shown in FIG. 7(e). Then, by performing a Hough transform, two straight lines a and b as shown in FIG. 7(d) are obtained, and this center line C is obtained as the center line of the lead. This method using the Hough transform has the advantage of being resistant to noise compared to other methods, such as the least squares method, and is an effective method for detecting straight lines, but it takes a long processing time. Due to these disadvantages, it is currently not used in the industrial field.

しかし電子部品を位置決めすることを考えた場合、部品
位置は機械的にある程度位置決め可能であるため、ハフ
変換によ)直線を検出する場合の検出角度範囲を±10
程度に限ることができ、計算量が少なくてすみ、処理時
間をかなル減少させることができる。
However, when considering the positioning of electronic components, the component position can be determined mechanically to some extent, so the detection angle range when detecting a straight line (by Hough transform) is ±10
The amount of calculation can be reduced, and the processing time can be significantly reduced.

電子部品の位置決めを行なう場合、第6図に示すように
TV右カメラ垂直軸(y軸)に部品のリードが平行又は
垂直になるように1視党装置をセットするのが一般的で
ある。このような配置の時に、リードの中心線を検出す
る場合、垂直軸及び水平軸に対して±10の範囲でハフ
変換を行なう必要がある01例として、垂直軸に対して
5.7の傾きを持った直線のアナログ画像を第8図(a
)Kディジタル画像を第8図(b)に示すが、前述した
ようにリードの長さは30画素程度でしか表わせないの
で、傾き5.7度のデジタル画像は長さ1・0画素、傾
き0度の3本からなる直線で表わされる〇′したがって
これをハフ変換すると求めるべき検出角θ=5.7 の
他に1θ=θ°の所にもピークが現われ、θ=0°とθ
=5.7°の2本の直線が検出されてしまう。さらには
傾き角が1°及び2°といった微少な直線においては、
#二0 のピークの影響がさらに強くなシ、検出すべき
直線のピークがうもれてしまい検出できない結果となっ
てしまう。
When positioning electronic components, it is common to set the one-view device so that the leads of the components are parallel or perpendicular to the vertical axis (y-axis) of the TV right camera, as shown in FIG. When detecting the center line of a lead in such an arrangement, it is necessary to perform a Hough transform within a range of ±10 with respect to the vertical and horizontal axes.As an example, if the center line of the lead is detected, a slope of 5.7 with respect to the vertical axis is required. Figure 8 (a) shows an analog image of a straight line with
) The K digital image is shown in Figure 8(b), but as mentioned above, the length of the lead can only be represented by about 30 pixels, so the digital image with a tilt of 5.7 degrees has a length of 1.0 pixels and a tilt of 1.0 pixels. 〇′ is represented by a straight line consisting of three lines at 0 degrees.Therefore, by Hough-transforming this, in addition to the detection angle θ=5.7 that should be found, a peak also appears at 1θ=θ°, and θ=0° and θ
Two straight lines with an angle of =5.7° are detected. Furthermore, for straight lines with small inclination angles of 1° and 2°,
If the influence of peak #20 is even stronger, the linear peak that should be detected is omitted, resulting in an undetectable result.

このように、電子部品のリード検出のように検出すべき
直線が短かい場合、それをハフ変換により検出しようと
すると問題が生じる。これは検出する直線の傾きがTV
右カメラ垂直(水平)軸に対して0度の近傍にある時だ
けでなく、0〜90度の範囲で第9図(a)〜(1)に
示すように画素が縦または横方向に整然と並ぶときKも
生ずる。第9図において−)は0度、(b)は90度、
(C)は45度、(d)は26.6度、(・)は63.
4度、(f)は18.4度、■は71.6度、(h)は
33.7度、(1)は56.3度のときの例であシ、(
1)〜(0)は影響度が大きい角度、(a) 、 (@
)は影響度中の角度、(f)〜(1)は影響度の小さい
角度である。
As described above, when a straight line to be detected is short, such as when detecting a lead of an electronic component, a problem arises when attempting to detect it using the Hough transform. This means that the slope of the straight line to be detected is
Not only when the right camera is near 0 degrees with respect to the vertical (horizontal) axis, but also in the range of 0 to 90 degrees, the pixels are arranged vertically or horizontally as shown in Figures 9 (a) to (1). When they line up, K also occurs. In Figure 9, -) is 0 degrees, (b) is 90 degrees,
(C) is 45 degrees, (d) is 26.6 degrees, (・) is 63 degrees.
4 degrees, (f) is 18.4 degrees, ■ is 71.6 degrees, (h) is 33.7 degrees, and (1) is 56.3 degrees.
1) to (0) are angles with large influence, (a), (@
) is an angle with a medium degree of influence, and (f) to (1) are angles with a small degree of influence.

ここで、電子部品を搭載する場合、検出する角度の範囲
がある範囲内(通常は±lO度程度)に限定されるので
、第10図に示すように部品のリードに対してTV右カ
メラ垂直(水平)軸を14度(もしくは76度)傾むけ
るととKよって第9図に示すように、直線検出に悪影響
を及ばず角度を除いた範囲内で直線検出を行なうことが
可能となる。これを図で示したものが第11図である。
When electronic components are mounted, the angle to be detected is limited to a certain range (usually about ±10 degrees), so as shown in Figure 10, the TV right camera is perpendicular to the lead of the component. If the (horizontal) axis is tilted by 14 degrees (or 76 degrees), as shown in FIG. 9, it becomes possible to detect straight lines within a range excluding angles without adversely affecting straight line detection. This is illustrated in FIG. 11.

以上の例は傾むける角度を14度もしくは76度として
いるが、これは検索角度範囲(第11図の例では±10
度)に影響度の大きい0度、90度、45度、26.6
度、63.4度が入らないような角度に設定すれば良い
In the above examples, the tilting angle is 14 degrees or 76 degrees, but this is within the search angle range (±10 degrees in the example in Figure 11).
0 degrees, 90 degrees, 45 degrees, and 26.6 degrees, which have a large influence on
It is sufficient to set the angle so that the angle does not exceed 63.4 degrees.

ところで、第5図のようなICのリード中心を検出する
場合、リード線の長さが短いので、検出角度精度を向上
させるため、同方向のリード線を全て同じ傾きと仮定し
、平均としての角度を検出している。このように処理す
ることによって擬似的に長さの長いものの角度を検出す
るのと同じ効果が得られる。しかし、複数のリードのう
ち、いくつかの傾きが違っており、それが平均から大き
くズしているとき、それは別のグループに属するとみな
され、検出結果から外されてしまう。
By the way, when detecting the center of an IC lead as shown in Figure 5, the length of the lead wire is short, so in order to improve the detection angle accuracy, all the lead wires in the same direction are assumed to have the same slope, and the average Detecting the angle. By processing in this way, the same effect as detecting the angle of a long object can be obtained. However, when some of the multiple leads have different slopes and deviate greatly from the average, they are considered to belong to a different group and are excluded from the detection results.

例えば第12図に示すよう記号「イ」で示すリードの組
と記号「口」で示すリードの組があるとき、本来であれ
ば図の三角印のところがリードの交点となる。しかしな
がらハフ変換ではリードの傾きは平均としての角度を検
出しているので、記号「イ」の組の1本目のリードは平
均の傾きよシ大きく、別の組のものとして認識され、そ
れぞれのリードの交点は黒丸印のところにあると認識さ
れてしまう。このような認識が行なわれてしまうと、以
後はこの誤まシを正すことは困難なので、その前にリー
ドが大きく曲っていることを検出する必要があシ、次の
ような方法が有効となる。
For example, as shown in FIG. 12, when there is a set of leads indicated by the symbol "A" and a set of leads indicated by the symbol "mouth", the intersection of the leads should normally be at the triangular mark in the figure. However, in the Hough transform, the angle of the lead inclination is detected as an average, so the first lead in the group marked with the symbol "A" has a larger inclination than the average, and is recognized as belonging to a different group. The intersection point is recognized as being at the black circle mark. Once this kind of recognition is made, it is difficult to correct this mistake in the future, so it is necessary to detect that the lead is significantly bent before that happens.The following method is effective. Become.

第12図において説明すると、先ず記号「イ」の組のリ
ードの曲がりを調べるとき、1ビン目どうしの交点P1
(この点は本来、1ビン目どう一交点ではないが、1ビ
ン目が曲がっておシ認識されなかったのであるから、今
回の検査時は結果として1ビン目ど゛うしということに
なる)を基準としてこの交点 Plを検出しようとする
リード線と直角方向に移動した点P2を設定する。この
とき点P1とP2の間の移動距離は本来の1本目のIJ
−ド(図では曲がっているリード)の交点(三角印で表
わされている最も左の交点)において移動させたとした
とき、リードの組「口」の先端を通り過ぎず、かつリー
ド線の先端になるべく近い点とする。そして、その点P
8からリード線の組「イ」の方向に対して平行に引いた
線Llを仮定する0前述したように各リードは撮像され
た後、2値化されておシ例えばリードのある部分の画素
は白、リードの無い部分の画素は黒となっている。点P
2は水平方向の1本目□のリード中心線上にあるので、
その位置の画素は「白」となっている。そこで点P2か
ら線L1の方向に白の画素数を調べると、点P2はリー
ド上にあるので、白の画素数はある値以上存在するはず
である。
To explain with reference to FIG. 12, first, when examining the bending of the leads of the group marked with symbol "A", the intersection point P1 between the first bins is
(Originally, this point is not the intersection of the 1st bin and the 1st bin, but since the 1st bin was crooked and was not recognized, the result for this inspection was that the 1st bin was the 1st bin.) Using this as a reference, a point P2 is set that is moved in a direction perpendicular to the lead line for which this intersection Pl is to be detected. At this time, the moving distance between points P1 and P2 is the original first IJ
- When moving the wire at the intersection (the leftmost intersection indicated by a triangle mark) of the leads (bent leads in the figure), it does not pass the tip of the "mouth" of the lead pair, and the tip of the lead wire Make the points as close as possible. And that point P
Assume a line Ll drawn parallel to the direction of the lead wire group "A" from 8.0 As mentioned above, after each lead is imaged, it is binarized and the pixel of a certain part of the lead is is white, and pixels in areas without leads are black. Point P
2 is on the horizontal lead center line of the first □, so
The pixel at that position is "white". Then, if we check the number of white pixels in the direction from point P2 to line L1, since point P2 is on the lead, there should be a certain number or more of white pixels.

次に点P2をリード線中心間隔lだけ外側に移動し前回
と同様の検査を行なう。このときも第12図の記号「イ
」の組の1本目のリードが曲がっていないなら点P3は
水平方向のリード線上から飛出すので、そのときの点P
3の画素は黒と判定されるはずである。しかし、第12
図の例ではリードに曲がシがあったために点P3は水平
方向のリード上に存在し、そこの画素は白と判定される
Next, the point P2 is moved outward by the distance l between the lead wire centers and the same inspection as the previous time is performed. At this time as well, if the first lead of the group marked with symbol "A" in Figure 12 is not bent, point P3 will jump out from the horizontal lead line, so the point P3 at that time will be
Pixel number 3 should be determined to be black. However, the 12th
In the example shown in the figure, since there is a bend in the lead, point P3 exists on the lead in the horizontal direction, and the pixels there are determined to be white.

次に点P3をリード線間隔だけ左側に移動させそこを点
P4とすると、点P4は水平方向の1本目のリード上か
ら外れた位置となる。このためその点の画素は黒と判定
される。そして、点P4を再度リード線間隔だけ左側に
移動して同様の検出を行ない、その点の画素も黒である
ことを確認する。ここまで4回の検出を行なっておシ、
そのうち最後の2回は黒の画素が2回連続し念ことを確
認するものである。このため、リード線なしの判定結果
が2回連続したことを検出した時点で検査を終了し、そ
れまでの検査回数から3を引いた数が検出できなかった
リード線の本数となる。第12図の例では記号「イ」の
組の1ビン目と2ピン目のリード曲がシが大きいとした
とき、前述の検査を行なうと検査回数は5となる。この
ため検査回数5から3を引いた2本が曲がっているリー
ド線数となる。
Next, if point P3 is moved to the left by the distance between the lead lines and set as point P4, point P4 will be located off the top of the first lead in the horizontal direction. Therefore, the pixel at that point is determined to be black. Then, point P4 is again moved to the left by the lead line interval and the same detection is performed to confirm that the pixel at that point is also black. I have performed detection four times so far.
The last two times are to confirm that black pixels appear twice in a row. Therefore, the inspection ends when it is detected that the determination result of no lead wire is present twice in a row, and the number of lead wires that could not be detected is the number obtained by subtracting 3 from the number of inspections up to that point. In the example shown in FIG. 12, assuming that the lead songs of the first and second pins of the set with the symbol "A" have a large A, the number of tests will be 5 if the above-mentioned test is performed. Therefore, the number of bent lead wires is 2, which is obtained by subtracting 3 from the number of inspections (5).

この検査を次々と実施し、それが終了したら記号「口」
の組の検査も同様にして行なえば、全てのリードの曲が
シが検出できる。
This test is carried out one after another, and when it is completed, the symbol "mouth" is displayed.
If the test for the set of 2 is carried out in the same way, bends in all the leads can be detected.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにこの発明は検索角度範囲を限定して
ハフ変換を行なうようにしたものであるから、ハフ変換
特有の耐雑音性を生かしながら短かい処理時間での処理
を実現できるという効果を有する。
As explained above, since this invention performs the Hough transform by limiting the search angle range, it has the effect of realizing processing in a short processing time while taking advantage of the noise resistance peculiar to the Hough transform. have

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

第1図はこの発明の一実施例を示す70−チャ−ト、第
2図は撮像状況を示す斜視図、第3図はρとθの関係を
示す図、第4図はρ−θ空間の関係を示すグラフ、第5
図はリードの交点を説明する図、第6図は撮像範囲を説
明する図、第7図はハフ変換を説明する図、第8図は傾
斜線の撮像結果を示す図、第9図は影響度の大きい角度
を示す図、第10図はカメラの傾斜角を説明する図、第
11図はカメラの傾斜角と影響度の関係を示す図、第1
2図はリードの曲がりを検査する方法を示す図である。 1・・・・IC12・・・・撮像装置。 特許出願人  ヤマハ発動機株式会社 代理−人 山川政樹(働λ2名) 第1図 第2図 第5図 第6図 第7図     (Q)   (b)
Fig. 1 is a 70-chart showing an embodiment of the present invention, Fig. 2 is a perspective view showing an imaging situation, Fig. 3 is a diagram showing the relationship between ρ and θ, and Fig. 4 is a ρ-θ space. Graph showing the relationship between
Figure 6 is a diagram explaining the intersection of leads, Figure 6 is a diagram explaining the imaging range, Figure 7 is a diagram explaining Hough transform, Figure 8 is a diagram showing the imaging result of slope lines, and Figure 9 is a diagram explaining the influence. Figure 10 is a diagram explaining the angle of inclination of the camera. Figure 11 is a diagram showing the relationship between the angle of inclination of the camera and the degree of influence.
FIG. 2 is a diagram showing a method for inspecting lead bending. 1...IC12...imaging device. Patent applicant: Yamaha Motor Co., Ltd. Agent: Masaki Yamakawa (2 employees) Figure 1 Figure 2 Figure 5 Figure 6 Figure 7 (Q) (b)

Claims (3)

【特許請求の範囲】[Claims] (1)部品を挾持してそれをあらかじめ決められた位置
に取付ける部品取付装置において、 部品形状を撮像して画像信号を出力する撮像装置と、 得られた画像信号を部品の形状を識別するに十分な検索
角度範囲でハフ変換するハフ変換器とを備えたことを特
徴とする部品取付装置。
(1) A component mounting device that clamps a component and attaches it to a predetermined position includes an imaging device that images the shape of the component and outputs an image signal, and a device that uses the obtained image signal to identify the shape of the component. A component mounting device comprising: a Hough transformer that performs a Hough transform in a sufficient search angle range.
(2)部品を挾持してそれをあらかじめ決められた位置
に取付ける部品取付装置において、 部品形状を撮像して画像信号を出力する撮像装置と、 撮像装置のx軸またはy軸を部品のx軸またはy軸に対
して所定範囲で回動させる回動装置と、得られた画像信
号を部品の形状を識別するに十分な検索角度範囲でハフ
変換するハフ変換器とから構成され、 撮像装置の回動角度は撮像装置のx軸またはy軸に対し
て検索角度範囲に0度、26.6度、45度、63.4
度、90度が入らない値であることを特徴とする部品取
付装置。
(2) A component mounting device that clamps a component and mounts it in a predetermined position includes an imaging device that images the shape of the component and outputs an image signal, and an x-axis or y-axis of the imaging device that is connected to the x-axis of the component. Alternatively, it is composed of a rotation device that rotates within a predetermined range with respect to the y-axis, and a Hough transformer that performs Hough transform on the obtained image signal within a search angle range sufficient to identify the shape of the part. The rotation angle is 0 degrees, 26.6 degrees, 45 degrees, 63.4 degrees in the search angle range with respect to the x-axis or y-axis of the imaging device.
A component mounting device characterized in that the value does not include degrees or 90 degrees.
(3)直交する面にそれぞれリードが植設され、それぞ
れの面のリードが平行に並んでおり、その曲りが所定範
囲内の値であることを確認したうえでその部品をあらか
じめ決められた位置に取付ける部品取付装置において、 リード線を撮像して画像信号を出力する撮像装置と、 画像信号を2値化するための2値化変換器と、得られた
2値化信号をハフ変換して直交するリード中心線上の交
点を検出する交点検出器と、曲がりを試験するリードと
それと直交するリードとの交点を (イ)検査するリードを含むリード群のリード中心線と
直交する方向 (ロ)検査するリードと直交するリードのある方向(ハ
)1本目のリードに曲りがないとしたとき求められる交
点について前記(ロ)のリードの先端を通り過ぎずかつ
先端に近い位置まで移動させるときの距離 の(イ)〜(ハ)の全ての条件を満たす第1の試験点に
移動させその点に部品の画素があることを検査する第1
の検査手段と、 第1の試験点を順次リード間隔分だけリード端部方向に
移動させ部品の部品画素が検出されない試験点が2回連
続して発生することを検査する第2の検査手段と、 第1および第2の検査手段の総検査回数から3を減算し
て曲つているリード数を検出する演算器とを備えたこと
を特徴とする部品取付装置。
(3) After confirming that the leads are planted on each perpendicular surface, that the leads on each surface are lined up in parallel, and that the bending is within a specified range, the part is placed in a predetermined position. The component mounting device that is attached to the device includes an imaging device that images the lead wire and outputs an image signal, a binarization converter that binarizes the image signal, and a Hough transform of the obtained binarized signal. An intersection detector that detects intersections on orthogonal lead center lines, and an intersection between a lead to be tested for bending and a lead orthogonal to it (a) in a direction perpendicular to the lead center line of a group of leads including the lead to be tested (b) The direction in which the lead is perpendicular to the lead to be inspected (c) The distance required when moving the point of intersection obtained when the first lead is not bent, without passing the tip of the lead in (b) and moving to a position close to the tip. The first test point is moved to the first test point that satisfies all conditions (a) to (c) of
and a second inspection means for sequentially moving the first test point toward the lead end by the lead interval and inspecting whether a test point where no component pixel of the component is detected occurs twice in a row. A component mounting device comprising: a computing unit that detects the number of bent leads by subtracting 3 from the total number of inspections by the first and second inspection means.
JP62314124A 1987-12-14 1987-12-14 Parts mounting device Expired - Fee Related JP2686754B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62314124A JP2686754B2 (en) 1987-12-14 1987-12-14 Parts mounting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62314124A JP2686754B2 (en) 1987-12-14 1987-12-14 Parts mounting device

Publications (2)

Publication Number Publication Date
JPH01155202A true JPH01155202A (en) 1989-06-19
JP2686754B2 JP2686754B2 (en) 1997-12-08

Family

ID=18049534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62314124A Expired - Fee Related JP2686754B2 (en) 1987-12-14 1987-12-14 Parts mounting device

Country Status (1)

Country Link
JP (1) JP2686754B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0788791A (en) * 1993-09-20 1995-04-04 Mitsubishi Electric Corp Robot device and its peripheral devices
CN113207241A (en) * 2021-04-19 2021-08-03 厦门强力巨彩光电科技有限公司 Method for manufacturing LED surface block cross program of NPM chip mounter
JP2023160270A (en) * 2022-04-22 2023-11-02 ヤマハ発動機株式会社 Component mounter, lead component position calculation method, and lead component position calculation program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0788791A (en) * 1993-09-20 1995-04-04 Mitsubishi Electric Corp Robot device and its peripheral devices
CN113207241A (en) * 2021-04-19 2021-08-03 厦门强力巨彩光电科技有限公司 Method for manufacturing LED surface block cross program of NPM chip mounter
JP2023160270A (en) * 2022-04-22 2023-11-02 ヤマハ発動機株式会社 Component mounter, lead component position calculation method, and lead component position calculation program

Also Published As

Publication number Publication date
JP2686754B2 (en) 1997-12-08

Similar Documents

Publication Publication Date Title
US4450579A (en) Recognition method and apparatus
JP3522280B2 (en) Method and apparatus for a ball bond inspection system
JP3164003B2 (en) Mounted parts inspection device
JPH01236700A (en) Inspection and orientation recognition method of component lead
JPH01155202A (en) Part mounting apparatus
US6526165B1 (en) Methods and apparatuses for refining a geometric description of an object having a plurality of extensions
CN119290919A (en) PCB board detection system and detection method
JPS62282250A (en) Method and device for inspecting circuit board
JP3349292B2 (en) Component position recognition device
US6571006B1 (en) Methods and apparatuses for measuring an extent of a group of objects within an image
JP3385916B2 (en) Wire detection method in wire bonding
JP2576147B2 (en) Shortage inspection device for mounted parts
JPH1089920A (en) Position detecting method, mounting method using the same, and inspection method of semiconductor integrated circuit device
JPH06204700A (en) Chip component mount inspecting apparatus
JP4150262B2 (en) Component recognition method and apparatus
JPH05187826A (en) Position detection method
JP2601232B2 (en) IC lead displacement inspection equipment
JPS61233311A (en) Shape inspecting device for electronic parts
JP3111432B2 (en) Image processing device
JPH0754821B2 (en) Electronic component inspection device
JP2545570B2 (en) Inclination inspection method for connecting lines by image processing
JPH0480937A (en) Lead bending measuring device
JPS6259242B2 (en)
JPH04355312A (en) Soldering inspection method and device
JPH02219183A (en) Recognizing device for position of object

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees