JPH07167629A - Measuring method of interval of arrangement of pin-shaped article - Google Patents

Measuring method of interval of arrangement of pin-shaped article

Info

Publication number
JPH07167629A
JPH07167629A JP5314885A JP31488593A JPH07167629A JP H07167629 A JPH07167629 A JP H07167629A JP 5314885 A JP5314885 A JP 5314885A JP 31488593 A JP31488593 A JP 31488593A JP H07167629 A JPH07167629 A JP H07167629A
Authority
JP
Japan
Prior art keywords
pin
auxiliary jig
terminal
terminals
camera
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.)
Withdrawn
Application number
JP5314885A
Other languages
Japanese (ja)
Inventor
Koichi Yoshimi
浩一 吉見
Masayuki Nakagawa
雅之 中川
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP5314885A priority Critical patent/JPH07167629A/en
Publication of JPH07167629A publication Critical patent/JPH07167629A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To measure intervals of the arrangement of terminals simply and accurately. CONSTITUTION:Electronic parts 1 have a plurality of mutually approximately parallel terminals 2, and the front end sections of each terminal 2 are tapered. A TV camera 3 has an optical axis approximately parallel with the direction of the projection of the terminals 2, and image-senses the terminals 2 from the front end sides of the terminals 2. Each terminal 2 is inserted into the through-holes 5 of an auxiliary jig 4, in which an opposed surface with the TV camera 3 is formed in a white diffuse reflection surface, respectively. The surface of the auxiliary jig 4 is irradiated with light from the oblique direction by a luminaire 6. Consequently, the surface of the auxiliary jig 4 lightens, and the front end sections of the terminals 2 are also irradiated with diffusive light from the surface of the auxiliary jig 2 and lighten. On the other hand, light does not reach into the through-holes 5, and the through-holes 5 lighten. Accordingly, dark regions are acquired around light regions corresponding to the terminals 2 by the TV camera 3, and density is binarized, thus easily detecting the places of the terminals 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、互いに略平行に配列さ
れた複数本のピン状物を撮像し、撮像した画像の各部位
の明るさに基づいてピン状物の配置間隔を求めるピン状
物の配置間隔測定方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention takes a picture of a plurality of pin-shaped objects arranged substantially parallel to each other, and obtains the pin-shaped object arrangement interval based on the brightness of each part of the picked-up image. The present invention relates to a method for measuring arrangement intervals of objects.

【0002】[0002]

【従来の技術】一般にFETなどの電子部品にはピン状
物としての複数本の端子が突設されており、このような
電子部品のプリント配線基板への実装の際には、プリン
ト配線基板に形成された孔に各端子を正確に挿入するこ
とが必要になる。したがって、電子部品における端子の
配置間隔をあらかじめ測定して、プリント配線基板に形
成された孔の間隔と一致するか否かを判別することが必
要である。
2. Description of the Related Art In general, electronic parts such as FETs are provided with a plurality of terminals in the form of pins, and when these electronic parts are mounted on a printed wiring board, they are mounted on the printed wiring board. It is necessary to insert each terminal correctly in the formed hole. Therefore, it is necessary to measure the arrangement interval of the terminals in the electronic component in advance to determine whether or not it matches the interval of the holes formed in the printed wiring board.

【0003】このような要求を満たすために、従来よ
り、図8に示すように、端子2の突出方向とは略直交す
る光軸を有し、かつ互いに光軸の方向が異なる2台のT
Vカメラ3a,3bを用いて電子部品1の端子2および
固定ピン18を撮像し、両TVカメラ3a,3bにより
得た画像に対して画像処理を施すことによって、各端子
2および固定ピン18の配置間隔を求める方法が提案さ
れている。この方法では、端子2および固定ピン18を
挟んで各TVカメラ3a,3bに対向するように面状の
照明装置6a,6bをそれぞれ配置し、端子2および固
定ピン18のシルエットをTVカメラ3a,3bで撮像
することによって、端子2および固定ピン18と背景と
を識別するようになっている。ここに、図8に示す例で
は各3本の端子2を有する一対のFETを2本の固定ピ
ン18を有したヒートシンクに取り付けたものを電子部
品1としている。
In order to meet such a requirement, conventionally, as shown in FIG. 8, two Ts having an optical axis substantially orthogonal to the projecting direction of the terminal 2 and having different optical axis directions from each other.
The terminals 2 and the fixing pin 18 of the electronic component 1 are imaged using the V cameras 3a and 3b, and image processing is performed on the images obtained by the TV cameras 3a and 3b. A method of obtaining the arrangement interval has been proposed. In this method, planar illumination devices 6a and 6b are arranged so as to face the TV cameras 3a and 3b with the terminal 2 and the fixing pin 18 interposed therebetween, and the silhouettes of the terminal 2 and the fixing pin 18 are set to the TV camera 3a and the fixing pin 18, respectively. By imaging with 3b, the terminal 2 and the fixed pin 18 are distinguished from the background. Here, in the example shown in FIG. 8, a pair of FETs each having three terminals 2 is attached to a heat sink having two fixing pins 18 to form an electronic component 1.

【0004】一方、図9に示すように、各端子2までの
距離をレーザ変位計20を用いて測定する方法も提案さ
れている。レーザ変位計20は、端子2や固定ピン18
に対してレーザビームを投光し、端子2や固定ピン18
での正反射光を受光するものであって、投光から受光ま
での時間差によって光路長を求めたり、既知の光路を通
った参照光と端子2や固定ピン18での正反射光との干
渉を利用して光路長を求めたりするように構成されてい
る。
On the other hand, as shown in FIG. 9, a method of measuring the distance to each terminal 2 using a laser displacement meter 20 has also been proposed. The laser displacement meter 20 includes a terminal 2 and a fixing pin 18.
The laser beam is projected onto the terminal 2 and the fixing pin 18
Of the specularly reflected light at the terminal 2, or the interference between the reference light that has passed through the known optical path and the specularly reflected light at the terminal 2 or the fixed pin 18. Is used to obtain the optical path length.

【0005】[0005]

【発明が解決しようとする課題】ところで、TVカメラ
3a,3bを用いると、各TVカメラ3a,3bでは、
たとえば図10(a)(b)に示すような画像がそれぞ
れ得られる。いま、電子部品1に6本の端子2と2本の
固定ピン18とが設けられているものとして、4本の端
子2はTVカメラ3bの光軸方向に略一致して並び、ま
た残りの2本の端子2と2本の固定ピン18とはそれぞ
れTVカメラ3bの光軸方向に略一致して並んでいるも
のとする。この場合、TVカメラ3aでは図10(a)
のように6本の端子2と2本の固定ピン18とがすべて
撮像されるとしても、TVカメラ3bでは図10(b)
のように端子2同士や固定ピン18同士が重なって撮像
され、3本にしか見えないことになる。すなわち、端子
2や固定ピン18が重なって撮像されると、TVカメラ
3bにもっとも近い端子2や固定ピン18の背後に隠れ
ている端子2や固定ピン18については良否の判定がで
きないという問題が生じることになる。
If the TV cameras 3a and 3b are used, the TV cameras 3a and 3b are
For example, images as shown in FIGS. 10A and 10B are obtained. Now, assuming that the electronic component 1 is provided with six terminals 2 and two fixing pins 18, the four terminals 2 are aligned substantially in the optical axis direction of the TV camera 3b, and the remaining terminals are It is assumed that the two terminals 2 and the two fixing pins 18 are aligned substantially in the optical axis direction of the TV camera 3b. In this case, the TV camera 3a is shown in FIG.
Even if all the six terminals 2 and the two fixing pins 18 are imaged as shown in FIG.
As described above, the terminals 2 and the fixed pins 18 are overlapped and imaged, so that only three are visible. That is, when the terminal 2 and the fixed pin 18 are imaged in an overlapping manner, there is a problem that it is not possible to determine whether the terminal 2 and the fixed pin 18 which are closest to the TV camera 3b and the terminal 2 and the fixed pin 18 which are hidden behind the fixed pin 18 are good or bad. Will occur.

【0006】このような問題を解決するには、光軸の方
向が互いに異なる3台以上のTVカメラを用いて端子2
や固定ピン18を撮像したり、1台のTVカメラを用い
て電子部品1とTVカメラ3とを相対的に回転させたり
して、端子2や固定ピン18を3以上の異なる方向から
撮像することが必要であるが、画像の処理が煩雑になっ
て実用的ではない。
In order to solve such a problem, three or more TV cameras whose optical axes are different from each other are used and the terminal 2 is used.
And the fixed pin 18 are imaged, or the electronic component 1 and the TV camera 3 are relatively rotated using one TV camera to image the terminal 2 and the fixed pin 18 from three or more different directions. However, it is not practical because the image processing becomes complicated.

【0007】また、レーザ変位計20を用いる場合に
は、図11(a)に示すように、端子2の表面が滑らか
であれば問題は生じないが、図11(b)のようにレー
ザ光の照射される部位に異物21が付着していると、レ
ーザ光が正常に反射されず、距離の測定ができないとい
う問題が生じる。また、レーザ変位計20を用いる方法
であっても、端子2が重なっているときには、各端子2
ごとの距離を測定することはできないものである。
When the laser displacement meter 20 is used, no problem will occur if the surface of the terminal 2 is smooth, as shown in FIG. 11A, but the laser beam as shown in FIG. 11B is used. If the foreign matter 21 adheres to the area irradiated with, the laser light will not be normally reflected and the distance cannot be measured. Further, even when the laser displacement meter 20 is used, when the terminals 2 are overlapped, each terminal 2
It is impossible to measure the distance for each.

【0008】本発明は上記問題点の解決を目的とするも
のであり、ピン状物を先端側から撮像することによって
すべてのピン状物が重ならずに撮像されるようにし、か
つ各ピン状物が背景から明確に区別されるような照明方
法を提示することによって、ピン状物の配置間隔を簡単
かつ正確に求めることができるようにしたピン状物の配
置間隔測定方法を提供しようとするものである。
An object of the present invention is to solve the above-mentioned problems. By picking up an image of a pin-shaped object from the tip side, all pin-shaped objects can be picked up without overlapping, and each pin-shaped object can be picked up. By providing an illumination method in which objects are clearly distinguished from the background, an object of the present invention is to provide a method for measuring the spacing between pin-shaped objects, which enables the spacing between pin-shaped objects to be determined easily and accurately. It is a thing.

【0009】[0009]

【課題を解決するための手段】本発明では、上記目的を
達成するために、互いに略平行に配列され先端部が先細
りとなった複数本のピン状物について、ピン状物の長手
方向に略一致した光軸を有する2次元の撮像装置により
複数本のピン状物の先端を含む領域を撮像し、撮像した
画像の各部位の明るさに基づいてピン状物の位置を検出
して各ピン状物の配置間隔を求めるピン状物の配置間隔
測定方法において、各ピン状物の長手方向に直交する断
面よりもやや大きい開口面積を有する複数個の透孔を各
ピン状物に対応するように形成した補助治具を用い、補
助治具の各透孔に各ピン状物をそれぞれ挿通してピン状
物の先端部を補助治具に対して撮像装置側に突出させる
とともに、補助治具においてピン状物の先端側となる一
面からピン状物の全周に亙って拡散性の光線を照射する
ことを特徴とする。
According to the present invention, in order to achieve the above object, a plurality of pin-shaped objects which are arranged substantially parallel to each other and whose tip portions are tapered are formed substantially in the longitudinal direction of the pin-shaped objects. An area including the tips of a plurality of pin-shaped objects is imaged by a two-dimensional imaging device having coincident optical axes, and the position of each pin-shaped object is detected based on the brightness of each part of the captured image. In the pin-shaped object arrangement interval measuring method for determining the object-shaped object arrangement interval, a plurality of through-holes having an opening area slightly larger than the cross section orthogonal to the longitudinal direction of each pin-shaped object are made to correspond to each pin-shaped object. Using the auxiliary jig formed on the auxiliary jig, insert each pin-shaped object into each through hole of the auxiliary jig so that the tip of the pin-shaped object protrudes toward the imaging device side with respect to the auxiliary jig. The pin-shaped object from one side that is the tip side of the pin-shaped object Over the circumference and then irradiating the light diffusible.

【0010】[0010]

【作用】上記構成によれば、ピン状物を2次元の撮像装
置によって先端側から撮像していることによって、撮像
装置の視野内でピン状物が重なることがなく、結果的に
配置間隔を求めようとするピン状物は画像内では互いに
異なる部位に位置することになる。また、補助治具に設
けた透孔に各ピン状物を挿通しているのであって、補助
治具の一面からピン状物の先端部の全周に亙って拡散性
の光線を照射することによって、補助治具の表面とピン
状物の先端部とを補助治具の透孔内よりも明るくするこ
とができるのである。すなわち、略平行なピン状物であ
れば配列の仕方にはかかわらず1方向から撮像するだけ
でピン状物の位置を検出することができるのであって、
ピン状物の配置間隔を正確かつ容易に求めることができ
るのである。とくに、従来では2方向以上からの撮像を
必要としたものであって、処理時間が長くなっていたの
に対して、1回の撮像でよいから処理時間が短縮される
(たとえば、50msec 程度)ことになる。
According to the above structure, since the pin-shaped objects are imaged from the tip side by the two-dimensional imaging device, the pin-shaped objects do not overlap each other in the visual field of the imaging device, and as a result, the arrangement interval is increased. The pin-shaped objects to be obtained are located at different parts in the image. In addition, since each pin-shaped object is inserted through the through hole provided in the auxiliary jig, a diffused light beam is emitted from one surface of the auxiliary jig over the entire circumference of the tip of the pin-shaped object. As a result, the surface of the auxiliary jig and the tip of the pin-shaped object can be made brighter than the inside of the through hole of the auxiliary jig. That is, if the pin-shaped objects are substantially parallel, the position of the pin-shaped objects can be detected only by capturing an image from one direction regardless of how they are arranged.
The arrangement interval of the pin-shaped objects can be accurately and easily obtained. In particular, in the related art, the imaging time is required from two or more directions, and the processing time is long, but the processing time is shortened because one imaging is required (for example, about 50 msec). It will be.

【0011】[0011]

【実施例】【Example】

(実施例1)以下の各実施例では、ピン状物が、放電灯
点灯用のインバータ回路などに用いるFETのような電
子部品の端子である例を示す。すなわち、図1に示すよ
うに、電子部品1には3本の端子2が突設されているの
であって、これらの端子2の間隔や位置を画像処理技術
によって検出するのである。ここに、各端子2の先端部
は先細りに形成されている。
(Embodiment 1) In each of the following embodiments, an example is shown in which the pin-shaped object is a terminal of an electronic component such as an FET used in an inverter circuit for lighting a discharge lamp. That is, as shown in FIG. 1, the electronic component 1 is provided with three terminals 2 protruding, and the intervals and positions of these terminals 2 are detected by image processing technology. Here, the tip of each terminal 2 is formed to be tapered.

【0012】電子部品1の端子2は、撮像装置としての
TVカメラ3によって撮像されるのであって、TVカメ
ラ3は電子部品1の端子2の突出方向に略平行な光軸を
有し、TVカメラ3によって端子2の先端を撮像するよ
うになっている。また、TVカメラ3の前方にはTVカ
メラ3との対向面が白色系などの拡散面(艶消し塗装が
施されている)となった補助治具4が配設され、補助治
具4には各端子2がそれぞれ挿通される複数の透孔5が
穿孔されている。すなわち、TVカメラ3の光軸方向は
補助治具4の表面の法線方向に略一致し、各端子2が透
孔5を通して補助治具4におけるTVカメラ3との対向
面に突出することによって、TVカメラ3では端子2の
先端部のみが撮像されるようになっている。ここに、各
透孔5は端子2よりも直径がやや大きく形成され、また
透孔5間の間隔は端子2の望ましい間隔に一致するよう
に設定されている。すなわち、透孔5の直径は端子2の
径およびピッチの公差に対して余裕を持たせて設定され
ており、たとえば端子2の径の公差を1.4mmとし
て、3mmなどと設定される。ただし、透孔5の直径を
大きくしすぎると、後述するような判別ができなくなる
から、透孔5の直径は端子2の公差に応じて適宜設定す
る。また、補助治具4の厚みについては、端子2の先端
が突出するように端子2の許容最低寸法よりも小さく設
定すればよい。たとえば、端子2の許容最低寸法が4m
mであれば、補助治具4の厚みは2.5mmなどと設定
される。
The terminal 2 of the electronic component 1 is imaged by the TV camera 3 as an image pickup device. The TV camera 3 has an optical axis substantially parallel to the protruding direction of the terminal 2 of the electronic component 1, and the TV The camera 3 captures an image of the tip of the terminal 2. Further, in front of the TV camera 3, an auxiliary jig 4 having a diffusing surface (matte coating) such as a white surface facing the TV camera 3 is arranged. Has a plurality of through holes 5 through which the terminals 2 are respectively inserted. That is, the optical axis direction of the TV camera 3 substantially coincides with the normal direction of the surface of the auxiliary jig 4, and each terminal 2 projects through the through hole 5 to the surface of the auxiliary jig 4 facing the TV camera 3. In the TV camera 3, only the tip of the terminal 2 is imaged. Here, each through hole 5 is formed to have a diameter slightly larger than that of the terminal 2, and the distance between the through holes 5 is set to match the desired distance between the terminals 2. That is, the diameter of the through hole 5 is set with a margin with respect to the tolerance of the diameter and the pitch of the terminal 2, and is set to, for example, 3 mm with the tolerance of the diameter of the terminal 2 being 1.4 mm. However, if the diameter of the through hole 5 is made too large, it will not be possible to make a determination as will be described later. Further, the thickness of the auxiliary jig 4 may be set smaller than the minimum allowable dimension of the terminal 2 so that the tip of the terminal 2 projects. For example, the minimum allowable dimension of terminal 2 is 4m
If m, the thickness of the auxiliary jig 4 is set to 2.5 mm or the like.

【0013】補助治具4におけるTVカメラ3との対向
面は、TVカメラ3の光軸に交差する方向(補助治具4
の表面の法線方向に交差する方向)から照明装置6によ
って照明光が照射される。照明装置6は円環状に形成さ
れており、TVカメラ3の光軸を囲むようにして照明光
を照射し、補助治具4の表面に端子2の影が形成されな
いように照明する。また、照明光が補助治具4に対して
斜め方向から入射することによって、照明光は透孔5の
内部には到達しないようになっている。
The surface of the auxiliary jig 4 facing the TV camera 3 is in the direction crossing the optical axis of the TV camera 3 (the auxiliary jig 4).
Illumination light is emitted by the illuminating device 6 from a direction intersecting the normal direction of the surface of the. The illuminating device 6 is formed in an annular shape and illuminates the TV camera 3 with illumination light so as to surround the optical axis of the TV camera 3 so that the shadow of the terminal 2 is not formed on the surface of the auxiliary jig 4. Further, the illumination light enters the auxiliary jig 4 from an oblique direction, so that the illumination light does not reach the inside of the through hole 5.

【0014】しかるに、照明装置6からの照明光は補助
治具4の表面で拡散反射されることになり、図1(b)
に示すように、端子2の先端部に照射された光はTVカ
メラ3に向かう向きに反射されることになる。したがっ
て、TVカメラ3から見ると端子2の先端部が明るく、
端子2の周囲で透孔5に対応する部位は暗く、透孔5の
周囲の補助治具4の表面は明るくなるのである。
However, the illumination light from the illumination device 6 is diffused and reflected on the surface of the auxiliary jig 4, as shown in FIG.
As shown in, the light emitted to the tip of the terminal 2 is reflected in the direction toward the TV camera 3. Therefore, when viewed from the TV camera 3, the tip of the terminal 2 is bright,
The area around the terminal 2 corresponding to the through hole 5 is dark, and the surface of the auxiliary jig 4 around the through hole 5 is bright.

【0015】そこで、TVカメラ3で撮像された濃淡画
像に対して濃度に関する適当な閾値を設定し、この閾値
を用いて濃淡画像を2値化すれば、端子2と周辺とを明
瞭に区別することができることになる。しかも、TVカ
メラ3は端子2の先端側を撮像しているから、すべての
端子2を視野内に入れることができ、従来のように複数
方向から端子2を撮像する必要がないのである。上述の
ようにして端子2の2値画像が求められると、各端子2
の重心位置など代表点の位置を求めることによって各端
子2の位置を確定することができ、各端子2の間隔を求
めることができるのである。
Therefore, by setting an appropriate threshold value for density with respect to the grayscale image captured by the TV camera 3, and binarizing the grayscale image using this threshold value, the terminal 2 and the periphery are clearly distinguished. It will be possible. Moreover, since the TV camera 3 images the tip end side of the terminal 2, all the terminals 2 can be brought into the field of view, and it is not necessary to image the terminal 2 from a plurality of directions as in the conventional case. When the binary image of the terminal 2 is obtained as described above, each terminal 2
The position of each terminal 2 can be determined by obtaining the position of the representative point such as the position of the center of gravity, and the interval between the terminals 2 can be obtained.

【0016】ところで、端子2の位置を再現性よく測定
するには、補助治具4に対する電子部品1の位置を正確
に位置決めすることが必要である。そこで、図2、図3
に示すように、定位置に固定された固定台11に補助治
具4を一体に固定し、固定台11に電子部品1を載置す
るとともに固定台11の上で電子部品1を滑らせること
によって、電子部品1を定位置に位置決めするようにな
っている。ここで、電子部品1としては、2個のFET
をヒートシンク17に取り付けたものを例示してあり、
各FETにはそれぞれ3本ずつの端子2があり、ヒート
シンク17には2本の固定ピン18が突設されているも
のを用いる。
By the way, in order to measure the position of the terminal 2 with good reproducibility, it is necessary to accurately position the electronic component 1 with respect to the auxiliary jig 4. Therefore, FIG. 2 and FIG.
, The auxiliary jig 4 is integrally fixed to the fixed base 11 fixed at a fixed position, the electronic component 1 is placed on the fixed base 11, and the electronic component 1 is slid on the fixed base 11. The electronic component 1 is thereby positioned at a fixed position. Here, the electronic component 1 includes two FETs.
Is attached to the heat sink 17 as an example,
Each FET has three terminals 2 and the heat sink 17 is provided with two fixing pins 18.

【0017】固定台11の先端面には基準点を示すこと
ができるように、固定台11に埋め込んで形成したマー
ク12が付与されており、補助治具4に形成された覗き
窓7を通してマーク12を見ることができるようにして
ある。このマーク12は、TVカメラ3によって明るい
領域として撮像されるように、白色系の合成樹脂によっ
て形成され、また、光や機械的衝撃等による劣化の少な
い材料が選択されている。覗き窓7を通してTVカメラ
3で撮像することができる固定台11の前面のうちマー
ク12を除く部分はTVカメラ3で撮像した画像では暗
くなるようにしてある。また、固定台11の上面には両
側部に階段状の載せ台13を有したスライド溝14が形
成されており、このスライド溝14の載せ台13に電子
部品1の両側部を載せ、図2の後方からエアシリンダな
どの押し装置によって電子部品1を前方に押すようにな
っている。スライド溝14の幅は電子部品1の公差を含
む程度の幅に設定されている。また、一方の載せ台13
の上面と、その上面に隣合うスライド溝14の側壁とは
基準面として機能し、この基準面に電子部品1が押し付
けられるように、下押し装置15と横押し装置16とに
よって電子部品1を載せ台13に押し付けるようにして
ある。
A mark 12 formed by being embedded in the fixed base 11 is provided on the front end surface of the fixed base 11 so that a reference point can be shown, and the mark is passed through the sight window 7 formed in the auxiliary jig 4. So that you can see 12. The mark 12 is formed of a white synthetic resin so that the TV camera 3 can pick up an image as a bright area, and a material that is less likely to be deteriorated by light, mechanical shock, or the like is selected. The portion of the front surface of the fixed base 11 that can be imaged by the TV camera 3 through the viewing window 7 except the mark 12 is darkened in the image taken by the TV camera 3. Further, on the upper surface of the fixed base 11, slide grooves 14 having stepped mounting bases 13 on both sides are formed, and both side parts of the electronic component 1 are mounted on the mounting base 13 of the slide groove 14 as shown in FIG. The electronic component 1 is pushed forward from the rear by a pushing device such as an air cylinder. The width of the slide groove 14 is set to a width including the tolerance of the electronic component 1. In addition, one mounting table 13
And the side wall of the slide groove 14 adjacent to the upper surface function as a reference surface, and the electronic component 1 is placed by the downward pusher 15 and the lateral pusher 16 so that the electronic component 1 is pressed against the reference plane. It is pressed against the table 13.

【0018】上述した構成によって、電子部品1は補助
治具4に対して定位置に位置決めされた状態でTVカメ
ラ3に撮像されることになり、電子部品1は基準位置が
一定になるから、同一条件での測定が可能になり測定結
果の再現性が高くなるのである。ここにおいて、照明装
置6には、図3に示すように、たとえば直径Dが約20
0mmの円環状の蛍光ランプを用いることができる。ま
た、照明装置6は、TVカメラ3と補助治具4との間で
あってTVカメラ3からの距離L1 が約300mm、か
つ固定台11の前面からの距離L2 が約50mmとなる
位置に、TVカメラ3の光軸が照明装置(蛍光ランプ)
6の中心線に略一致するようにして配置される。照明装
置6をこのように配置することによって、照明装置6か
ら補助治部4の表面を見込む角度θは約45°よりも小
さくなり、結果的に補助治具4の表面への照明光の入射
角はTVカメラ3の光軸に対して約45°よりも大きい
角度になる。ここに、図示していないが反射器も設けて
あり、補助治具4の表面が明るく照明されるようにして
ある。照明装置6から補助治具4の表面への光の照射角
度は、透孔5の内部に光があまり入らず、かつ補助治具
4の表面での反射光量が多くなるような角度が選択され
るのであって、望ましい照明条件が得られるように照明
装置6は補助治具4に対して前後に移動可能となってい
る。したがって、照明装置6は最適な位置に調節されて
固定されるのである。
With the above configuration, the electronic component 1 is imaged by the TV camera 3 while being positioned at a fixed position with respect to the auxiliary jig 4, and the electronic component 1 has a fixed reference position. The measurement can be performed under the same conditions, and the reproducibility of the measurement result is improved. Here, the illumination device 6 has, for example, a diameter D of about 20 as shown in FIG.
A 0 mm annular fluorescent lamp can be used. Further, the lighting device 6 is located between the TV camera 3 and the auxiliary jig 4, and the distance L 1 from the TV camera 3 is about 300 mm and the distance L 2 from the front surface of the fixed base 11 is about 50 mm. In addition, the optical axis of the TV camera 3 is a lighting device (fluorescent lamp)
It is arranged so as to substantially coincide with the center line of 6. By arranging the illuminating device 6 in this way, the angle θ of looking at the surface of the auxiliary treatment section 4 from the illuminating device 6 becomes smaller than about 45 °, and as a result, the illumination light enters the surface of the auxiliary jig 4. The angle is greater than about 45 ° with respect to the optical axis of the TV camera 3. Although not shown here, a reflector is also provided so that the surface of the auxiliary jig 4 is brightly illuminated. The irradiation angle of the light from the illuminating device 6 to the surface of the auxiliary jig 4 is selected such that the light does not enter the inside of the through hole 5 and the amount of light reflected on the surface of the auxiliary jig 4 is large. Therefore, the lighting device 6 can be moved back and forth with respect to the auxiliary jig 4 so as to obtain a desired lighting condition. Therefore, the lighting device 6 is adjusted and fixed at the optimum position.

【0019】ところで、TVカメラ3はシーケンサ8か
らのスタート信号によって撮像を行ない、コンピュータ
装置よりなる画像処理装置9に画像を入力する。TVカ
メラ3で撮像された画像は図4のようになる(この画像
は、TVカメラ3と画像の座標軸の取り方との位置関係
によって実際の物とは上下が逆になっている)。図4に
おいて斜線で示した部位は他の部位よりも暗い部位であ
って、斜線部分と他の部分とを分けることができるよう
に、濃度に適宜閾値を設定して2値化すれば、端子2、
マーク12、固定ピン18を他の部位から容易に分離す
ることができるのである。すなわち、TVカメラ3で撮
像された濃淡画像は画像処理装置9によって2値化さ
れ、さらに、各端子2の先端の重心の位置が求められる
のである。ここに、2個のマーク12もTVカメラ3に
よって撮像されているから、両マーク12の画像によっ
て画像内での基準線および基準点を規定することがで
き、この基準線および基準点からの各端子2の画像の位
置を求めることができるのである。すなわち、上述した
ように、下押し装置15と横押し装置16とによって電
子部品1は載せ台13に対して定位置に位置決めされて
いるから、載せ台13に設定した基準面とマーク12の
位置との相対差をソフトウェア的に演算して求めること
によって、マーク12から電子部品1の基準点を求める
ことができ、端子2や固定ピン18の位置を再現性よく
求めることができるのである。また、TVカメラ3の座
標軸と載せ台13の基準面とが平行になるように両者を
固定するのが望ましいが、実際には図5に示すように、
TVカメラ3や載せ台13には数十ミクロン程度の取付
誤差が生じて装置の座標系(x′−y′)に対して基準
面が傾くから、2つのマーク12によって決定した基準
線の両端のマーク12のy座標が等しくなるように座標
変換(回転)を行なって(すなわち、載せ台13を基準
とする座標系(x−y)に変換して)座標値を補正す
る。
By the way, the TV camera 3 picks up an image in response to a start signal from the sequencer 8 and inputs the image to the image processing device 9 which is a computer device. The image captured by the TV camera 3 is as shown in FIG. 4 (this image is upside down from the actual object due to the positional relationship between the TV camera 3 and how the coordinate axes of the image are taken). The shaded area in FIG. 4 is a darker area than other areas, and if the density is appropriately set to a threshold value and binarized so that the shaded area and the other area can be separated, 2,
The mark 12 and the fixing pin 18 can be easily separated from other parts. That is, the grayscale image captured by the TV camera 3 is binarized by the image processing device 9, and the position of the center of gravity of the tip of each terminal 2 is obtained. Here, since the two marks 12 are also captured by the TV camera 3, the reference line and the reference point in the image can be defined by the images of both the marks 12, and each of the reference lines and the reference points can be defined. The position of the image of the terminal 2 can be obtained. That is, as described above, since the electronic component 1 is positioned at the fixed position with respect to the mounting base 13 by the downward pressing device 15 and the lateral pressing device 16, the reference surface set on the mounting base 13 and the positions of the marks 12 are set. By calculating the relative difference of 1 by software, the reference point of the electronic component 1 can be obtained from the mark 12, and the positions of the terminal 2 and the fixing pin 18 can be obtained with good reproducibility. Further, it is desirable to fix the two so that the coordinate axes of the TV camera 3 and the reference surface of the mounting table 13 are parallel to each other, but in reality, as shown in FIG.
Since the TV camera 3 and the mounting table 13 have a mounting error of about several tens of microns and the reference plane is tilted with respect to the coordinate system (x'-y ') of the apparatus, both ends of the reference line determined by the two marks 12 are attached. Coordinate conversion (rotation) is performed so that the y-coordinates of the marks 12 are equal (that is, converted into the coordinate system (xy) with the mounting table 13 as a reference) to correct the coordinate values.

【0020】このようにして得た結果を、望ましい端子
2の位置と比較し、比較結果が公差を越えている場合に
は、その電子部品1を不良品と判定し、良否の判定結果
をシーケンサ8に返すのである。また、端子2に対応し
た領域の周囲に透孔5に対応した領域が形成されずに、
端子2と透孔5の周縁とが接触している場合には、不良
品と判定する。さらに、端子2が透孔5に挿入されない
場合にも不良品と判定できるように、電子部品1を前方
に押すための押し装置の動作時間をタイマによって制限
してあり、押し装置が所定時間内に定位置まで電子部品
1を押さない場合(シリンダであれば所定長まで伸びな
い場合)には、端子2を撮像することなく不良品と判定
する。ここで、不良品であっても電子部品1としての特
性に問題がなければ、端子2を矯正して手作業での実装
作業を行なうようにする。また、ヒートシンク17の固
定ピン18は一般に銅に半田メッキを施したものであっ
て、ほとんどの場合、公差内であるから矯正は行なわな
い。このようにして、端子2の位置を正確に求めること
ができるから、電子部品1の自動挿入の際の品質の確保
および挿入率の向上につながるのである。
The result thus obtained is compared with the desired position of the terminal 2, and if the comparison result exceeds the tolerance, the electronic component 1 is determined to be a defective product, and the result of the quality determination is sequencer. Return to 8. Further, the area corresponding to the through hole 5 is not formed around the area corresponding to the terminal 2,
When the terminal 2 and the peripheral edge of the through hole 5 are in contact with each other, the product is determined to be defective. Further, the operation time of the pushing device for pushing the electronic component 1 forward is limited by the timer so that the defective product can be determined even when the terminal 2 is not inserted into the through hole 5. When the electronic component 1 is not pushed to the fixed position (when it is a cylinder, it does not extend to a predetermined length), it is determined as a defective product without imaging the terminal 2. Here, if there is no problem in the characteristics of the electronic component 1 even if it is a defective product, the terminal 2 is corrected and manual mounting work is performed. Further, the fixing pin 18 of the heat sink 17 is generally made of copper plated with solder, and in most cases, since it is within the tolerance, no correction is performed. In this way, the position of the terminal 2 can be accurately obtained, which leads to ensuring the quality and improving the insertion rate when the electronic component 1 is automatically inserted.

【0021】上記実施例では、照明装置6として円環状
の蛍光ランプを用いていたが、光源の種類としては蛍光
ランプに限定されるものではなく、また、形状について
も円環状でなくとも補助治具4に対して斜め方向から光
を照射でき、端子2の影が形成されないものであれば、
馬蹄形などの形状であってもよい。また、上記実施例で
は撮像装置としてTVカメラ3を用いているが、2次元
形状を撮像できるものであれば、他のイメージセンサや
光電センサでもよく、さらには1次元のイメージセンサ
を用いて電子部品1とイメージセンサとの一方を走査す
ることによって2次元情報を取り込むようにしてもよ
い。透孔5の開口形状は円形でもよいが、端子2の断面
形状に適合するように設定してもよく、たとえば、図6
(a)のように端子2の断面形状が矩形であるとすれば
透孔5の開口形状も矩形とし、図6(b)のように端子
2の断面形状が三角形であれば透孔5の開口形状も三角
形とするなどしてもよい。このように、端子2の位置や
形状に応じて補助治具4を変更すれば、多品種に対応す
ることができるのであってコストパフォーマンスが高く
なる。さらに、照明装置6については、必ずしも補助治
具4の表面に光を照射するものでなくてもよく、図7
(a)のように補助治具4の後面から光(矢印で示す)
を照射して補助治具4で光を拡散透過させたり、図7
(b)のように補助治具4の側方に光源10を設け、補
助治具4をガラスやアクリル等の透明材料で形成して光
源10と直接ないし光ファイバなどで光結合し、補助治
具4の内部で反射を繰り返しながら進行する光の一部を
補助治具4の表面の拡散透過面から取り出すようにして
もよい。図7(b)の構成の場合、補助治具4の後面に
は反射面を形成し、補助治具4の前面には白色ないし黄
色の拡散透過面を形成するのが望ましい。いずれにして
も、補助治具4の表面から拡散性の光が端子2の先端に
照射されるような構成であればどのようなものでもよい
のである。
Although an annular fluorescent lamp is used as the illumination device 6 in the above embodiment, the type of light source is not limited to the fluorescent lamp, and the shape of the auxiliary lamp is not limited to the annular shape. If the tool 4 can be irradiated with light from an oblique direction and the shadow of the terminal 2 is not formed,
It may have a horseshoe shape or the like. Further, although the TV camera 3 is used as the image pickup device in the above-described embodiment, another image sensor or photoelectric sensor may be used as long as it can image a two-dimensional shape, and an electronic device using a one-dimensional image sensor is used. Two-dimensional information may be captured by scanning one of the component 1 and the image sensor. The opening shape of the through hole 5 may be circular, but may be set so as to match the cross-sectional shape of the terminal 2, for example, as shown in FIG.
If the cross-sectional shape of the terminal 2 is rectangular as in (a), the opening shape of the through hole 5 is also rectangular, and if the cross-sectional shape of the terminal 2 is triangular as in FIG. The opening shape may also be triangular. In this way, if the auxiliary jig 4 is changed according to the position and shape of the terminal 2, it is possible to cope with various types and the cost performance is improved. Furthermore, the illumination device 6 does not necessarily have to irradiate the surface of the auxiliary jig 4 with light.
Light from the rear surface of the auxiliary jig 4 as shown in FIG.
7 to irradiate the light and diffuse and transmit the light with the auxiliary jig 4.
As shown in (b), the light source 10 is provided on the side of the auxiliary jig 4, and the auxiliary jig 4 is formed of a transparent material such as glass or acrylic, and is optically coupled to the light source 10 directly or by an optical fiber. A part of the light that travels while being repeatedly reflected inside the tool 4 may be extracted from the diffuse transmission surface of the surface of the auxiliary jig 4. In the case of the configuration shown in FIG. 7B, it is desirable that a reflective surface is formed on the rear surface of the auxiliary jig 4 and a white or yellow diffuse transmission surface is formed on the front surface of the auxiliary jig 4. In any case, any structure may be used as long as the diffused light is emitted from the surface of the auxiliary jig 4 to the tip of the terminal 2.

【0022】上記実施例では、電子部品1としてFET
を例示したが、電子部品1はコンデンサ、バイポーラト
ランジスタ、集積回路など他のものでもよく、電子部品
1以外であってもピン状物が突設されていれば、どのよ
うなものであっても本発明の技術思想は適用可能であ
る。
In the above embodiment, the FET is used as the electronic component 1.
However, the electronic component 1 may be another one such as a capacitor, a bipolar transistor, or an integrated circuit. Any electronic component other than the electronic component 1 may be used as long as a pin-shaped object is provided so as to project. The technical idea of the present invention can be applied.

【0023】[0023]

【発明の効果】本発明は上述のように、ピン状物を2次
元の撮像装置によって先端側から撮像しているので、撮
像装置の視野内でピン状物が重なることがなく、一方向
からのみピン状物を撮像すればよいのであって、ピン状
物の配置間隔を求める処理が簡単になり、結果的にピン
状物の配置間隔を正確かつ容易に求めることができると
いう効果がある。また、補助治具に設けた透孔に各ピン
状物を挿通してピン状物の先端部を補助治具から突出さ
せ、補助治具の一面からピン状物の先端部の全周に亙っ
て拡散性の光線を照射することによって、補助治具の表
面とピン状物の先端部とを補助治具の透孔内よりも明る
くすることができるので、撮像装置により得た画像に対
して濃度による2値化程度の簡単な処理でピン状物を明
確に抽出することができるという効果がある。
As described above, according to the present invention, since the pin-shaped object is imaged from the tip end side by the two-dimensional imaging device, the pin-shaped objects do not overlap in the visual field of the imaging device, and the pin-shaped object can be viewed from one direction. Since only the pin-shaped object needs to be imaged, the process for determining the pin-shaped object arrangement interval is simplified, and as a result, the pin-shaped object arrangement interval can be accurately and easily obtained. In addition, each pin-shaped object is inserted through the through hole provided in the auxiliary jig so that the tip of the pin-shaped object protrudes from the auxiliary jig, and the pin-shaped object is entirely covered from one surface of the auxiliary jig. By irradiating a diffused light beam, the surface of the auxiliary jig and the tip of the pin-shaped object can be made brighter than the inside of the through hole of the auxiliary jig. As a result, the pin-shaped material can be clearly extracted by a simple process such as binarization depending on the concentration.

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

【図1】実施例を示し、(a)は概略構成図、(b)は
動作説明図である。
FIG. 1 shows an embodiment, (a) is a schematic configuration diagram, and (b) is an operation explanatory diagram.

【図2】実施例の要部分解斜視図である。FIG. 2 is an exploded perspective view of a main part of the embodiment.

【図3】実施例の全体構成を示す図である。FIG. 3 is a diagram showing an overall configuration of an embodiment.

【図4】実施例により得た画像の例を示す図である。FIG. 4 is a diagram showing an example of an image obtained by an example.

【図5】実施例により得た画像の例を示す図である。FIG. 5 is a diagram showing an example of an image obtained by the embodiment.

【図6】実施例において他の形状の補助治具を用いた画
像の例を示す図である。
FIG. 6 is a diagram showing an example of an image using an auxiliary jig having another shape in the example.

【図7】実施例に用いる照明装置の他の例を示す断面図
でである。
FIG. 7 is a cross-sectional view showing another example of the lighting device used in the embodiment.

【図8】従来例を示す概略構成図である。FIG. 8 is a schematic configuration diagram showing a conventional example.

【図9】他の従来例を示す要部の構成図である。FIG. 9 is a configuration diagram of a main part showing another conventional example.

【図10】図8の従来例による画像の例を示す図であ
る。
FIG. 10 is a diagram showing an example of an image according to the conventional example of FIG.

【図11】図9の従来例による問題点を説明する図であ
る。
FIG. 11 is a diagram illustrating a problem in the conventional example of FIG.

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

1 電子部品 2 端子 3 TVカメラ 4 補助治具 5 透孔 6 照明装置 1 electronic component 2 terminal 3 TV camera 4 auxiliary jig 5 through hole 6 lighting device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 互いに略平行に配列され先端部が先細り
となった複数本のピン状物について、ピン状物の長手方
向に略一致した光軸を有する2次元の撮像装置により複
数本のピン状物の先端を含む領域を撮像し、撮像した画
像の各部位の明るさに基づいてピン状物の位置を検出し
て各ピン状物の配置間隔を求めるピン状物の配置間隔測
定方法において、各ピン状物の長手方向に直交する断面
よりもやや大きい開口面積を有する複数個の透孔を各ピ
ン状物に対応するように形成した補助治具を用い、補助
治具の各透孔に各ピン状物をそれぞれ挿通してピン状物
の先端部を補助治具に対して撮像装置側に突出させると
ともに、補助治具においてピン状物の先端側となる一面
からピン状物の全周に亙って拡散性の光線を照射するこ
とを特徴とするピン状物の配置間隔測定方法。
1. A plurality of pin-shaped objects, which are arranged substantially parallel to each other and whose tip portions are tapered, are formed by a two-dimensional imaging device having an optical axis substantially aligned with the longitudinal direction of the pin-shaped objects. In a pin-shaped object arrangement interval measuring method, which captures an area including the tip of the object and detects the position of the pin-shaped objects based on the brightness of each part of the captured image to determine the arrangement interval of the pin-shaped objects. , Each auxiliary hole of the auxiliary jig is formed by using an auxiliary jig in which a plurality of through holes having an opening area slightly larger than the cross section orthogonal to the longitudinal direction of the respective pin objects are formed so as to correspond to the respective pin objects. Each of the pin-shaped objects is inserted into each of the auxiliary jigs so that the tip of the pin-shaped objects protrudes toward the imaging device side with respect to the auxiliary jig. A pin characterized by irradiating a diffusive light beam around the circumference Method for measuring the arrangement interval of objects.
JP5314885A 1993-12-15 1993-12-15 Measuring method of interval of arrangement of pin-shaped article Withdrawn JPH07167629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5314885A JPH07167629A (en) 1993-12-15 1993-12-15 Measuring method of interval of arrangement of pin-shaped article

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5314885A JPH07167629A (en) 1993-12-15 1993-12-15 Measuring method of interval of arrangement of pin-shaped article

Publications (1)

Publication Number Publication Date
JPH07167629A true JPH07167629A (en) 1995-07-04

Family

ID=18058802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5314885A Withdrawn JPH07167629A (en) 1993-12-15 1993-12-15 Measuring method of interval of arrangement of pin-shaped article

Country Status (1)

Country Link
JP (1) JPH07167629A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132693A (en) * 1998-10-27 2000-05-12 Sony Corp Device and method for processing picture, and providing medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132693A (en) * 1998-10-27 2000-05-12 Sony Corp Device and method for processing picture, and providing medium

Similar Documents

Publication Publication Date Title
US5298977A (en) Visual inspection method for part mounted on printed circuit board
EP1116950A1 (en) Method and apparatus for inspecting a printed circuit board assembly
US5245421A (en) Apparatus for inspecting printed circuit boards with surface mounted components
KR20000075764A (en) Inspection system
KR100304649B1 (en) Method for inspecting lead pins of IC package and apparatus therefor
JP3170598B2 (en) Appearance inspection device
JP2001280935A (en) Method and device for optical inspection
JPH10332792A (en) Lighting system for board inspecting camera
JP2000028320A (en) Image recognizing equipment and image recognizing method
JPH08178851A (en) Lighting method and ts device for in electric wire treated part-inspection device of stripped terminal pressingly attaching machine
JPH07167629A (en) Measuring method of interval of arrangement of pin-shaped article
KR100287787B1 (en) Apparatus and method for determining the positon of a component
JP3247302B2 (en) Soldering inspection equipment
US6128034A (en) High speed lead inspection system
JP2775411B2 (en) Lighting equipment for printed wiring board inspection equipment
JP3189642B2 (en) Lead tip position detection method
JP2006317391A (en) Slit light irradiation device
JP3366211B2 (en) Mirror object imaging method
KR100333222B1 (en) Method of checking for the presence of connection balls
JP4522570B2 (en) Lighting device for pattern inspection
JPH03192800A (en) Component mounting recognition method for printed board
JPH11296657A (en) Image pickup optical system for image processor
JP3162872B2 (en) Electronic component outline recognition apparatus and outline recognition method
JPH03181807A (en) Visual apparatus
JPH0814542B2 (en) Electronic component lead inspection device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306