JPH11145699A - Method for recognizing electronic parts with insert pin - Google Patents
Method for recognizing electronic parts with insert pinInfo
- Publication number
- JPH11145699A JPH11145699A JP9305472A JP30547297A JPH11145699A JP H11145699 A JPH11145699 A JP H11145699A JP 9305472 A JP9305472 A JP 9305472A JP 30547297 A JP30547297 A JP 30547297A JP H11145699 A JPH11145699 A JP H11145699A
- Authority
- JP
- Japan
- Prior art keywords
- center
- component
- insertion pin
- electrode
- determined
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Supply And Installment Of Electrical Components (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は電子部品実装設備に
おいて電子部品の装着位置補正量を計測するための画像
認識方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recognition method for measuring a mounting position correction amount of an electronic component in an electronic component mounting facility.
【0002】[0002]
【従来の技術】近年、電子部品実装分野では電子部品を
高速かつ高精度に回路基板に実装する技術が必要とされ
ている。一般的には電子部品を撮像して得られる画像デ
ータを高速に処理して、電子部品の位置・回転量を正確
に検出し、電子部品の実装位置・回転量の補正を行う画
像認識技術が取り入れられている。また、電子部品の多
電極・細密化が進むにつれ、電子部品の個々の電極が基
板のランド上に正確に装着されるようにするため、電極
位置を検出し補正を行う技術が用いられるようになって
きた。2. Description of the Related Art In recent years, in the field of electronic component mounting, a technology for mounting electronic components on a circuit board at high speed and with high precision has been required. Generally, image recognition technology that processes image data obtained by imaging an electronic component at high speed, accurately detects the position and rotation amount of the electronic component, and corrects the mounting position and rotation amount of the electronic component. Incorporated. Also, as the number of electrodes and the miniaturization of electronic components increase, the technology of detecting and correcting the electrode position has been used to ensure that the individual electrodes of the electronic components are accurately mounted on the lands of the substrate. It has become.
【0003】図3は多電極部品であるコネクタ部品を基
板に装着する様子を説明したものである。コネクタ部品
40は供給位置からノズル31で吸着し、基板32上へ
移動させる。ノズル31が回転ズレすることなくコネク
タ部品30の中心33を吸着した場合、ノズル31を基
板32の装着位置34に下降させると、電極35がラン
ド36上にそれぞれ正確に装着される。しかし、実際に
はノズルが回転ズレすることなくコネクタ部品30の中
心33を吸着するとは限らないので、コネクタ部品30
の吸着姿勢を画像認識して中心と傾きを検出し、その情
報をもとに補正を行って基板に装着する。FIG. 3 illustrates how a connector component, which is a multi-electrode component, is mounted on a substrate. The connector component 40 is sucked from the supply position by the nozzle 31 and is moved onto the substrate 32. When the nozzle 31 sucks the center 33 of the connector component 30 without rotational displacement, when the nozzle 31 is lowered to the mounting position 34 of the substrate 32, the electrode 35 is accurately mounted on the land 36, respectively. However, in practice, the nozzle 33 does not always adsorb the center 33 of the connector component 30 without rotational displacement.
The center and the inclination are detected by recognizing an image of the suction posture of the camera, and correction is performed based on the information to mount the camera on the substrate.
【0004】図4、5は画像認識によってコネクタ部品
の中心と傾きを検出する様子を説明したものである。ま
ず、図4(a)に示すようにコネクタ部品40を撮像装
置41で撮像し、画像データ52を得る。次に、図4
(b)に示すように得られた画像に一定間隔のサンプリ
ング点43を定める。定めたサンプリング点43で明る
さを重みとして重心を求め、それをコネクタ部品の画像
パターン44の粗く求めた中心(粗中心)45とする。
また、図4(c)に示すように、電極のある辺に対し一
定間隔のスキャンライン46を定める。定めたスキャン
ライン46上で最初に大きく明るさの変化があるエッジ
点47を求める。隣り合うエッジ点47を結ぶ直線がな
す角を求めθ1,2,3,4などの角度を得る。これら
の角度のうちもっとも頻度の多い角度をコネクタ部品の
画像パターン44の粗く求めた傾き(粗傾き)とする。FIGS. 4 and 5 illustrate how the center and inclination of a connector component are detected by image recognition. First, as shown in FIG. 4A, the connector component 40 is imaged by the imaging device 41, and image data 52 is obtained. Next, FIG.
As shown in (b), sampling points 43 at fixed intervals are determined in the obtained image. At the determined sampling point 43, the center of gravity is determined by using the brightness as a weight, and the center is determined as a coarsely determined center (coarse center) 45 of the image pattern 44 of the connector part.
In addition, as shown in FIG. 4C, scan lines 46 at fixed intervals are defined for a certain side of the electrode. First, an edge point 47 having a large change in brightness on the determined scan line 46 is obtained. An angle formed by a straight line connecting the adjacent edge points 47 is obtained, and angles such as θ1, 2, 3, and 4 are obtained. Of these angles, the most frequent angle is defined as the roughly determined inclination (coarse inclination) of the image pattern 44 of the connector part.
【0005】粗中心・粗傾きが求まったので、あらかじ
め与えられる部品のサイズを利用し図5(a)に示すよ
うに電極列の両端にウィンドウ50を定める。定めたウ
ィンドウ50内の明るさを図5(a)に示す方向に投影
し、投影データ51を得る。得られたそれぞれの投影デ
ータにおいて、明るさ変化の大きい位置を求め、端点5
2を検出する。検出した端点をもとに図5(b)に示す
ようにウィンドウ53を定める。定めたウィンドウ53
内の明るさを図5(b)に示す方向に投影し、投影デー
タ54を得る。得られた投影データにおいて電極に相当
するデータの山の位置を検出し、電極位置55を得る。
次に図5(c)に示すように、それぞれ求まった電極位
置55を平均し、電極群の中心56を求める。求めた電
極群の中心56を部品寸法hの半分ずらし、部品中心5
7を得る。[0005] After the coarse center and the coarse inclination are determined, windows 50 are defined at both ends of the electrode row as shown in FIG. The brightness in the determined window 50 is projected in the direction shown in FIG. 5A, and projection data 51 is obtained. In each of the obtained projection data, a position where a change in brightness is large is obtained, and an end point 5
2 is detected. Based on the detected end point, a window 53 is determined as shown in FIG. Defined window 53
Is projected in the direction shown in FIG. 5B, and projection data 54 is obtained. The position of the peak of the data corresponding to the electrode is detected in the obtained projection data, and the electrode position 55 is obtained.
Next, as shown in FIG. 5C, the determined electrode positions 55 are averaged to determine the center 56 of the electrode group. The center 56 of the obtained electrode group is shifted by half the part size h, and the center of the part 5
Get 7.
【0006】[0006]
【発明が解決しようとする課題】コネクタ部品の中には
図6(a)に示すようにボディ部分60に取り付け強度
を補強するための挿入ピン61が付いている物もある。
補強用挿入ピン61は基板62の挿入ピン穴63に挿入
され、部品の横方向への加重に耐えられるように付けら
れている。通常補強用挿入ピン71はボディ部60の成
型時に一体物として生成される。そのため、図6(b)
に示すように補強用挿入ピン61と電極64との位置関
係にばらつきが生じ電極を認識して位置決めをした場
合、補強用挿入ピン61が挿入ピン穴63に入らない場
合がある。このような場合、電極64はランド65に接
することが出来ないため接合不良となってしまう。As shown in FIG. 6 (a), some connector parts are provided with an insertion pin 61 for reinforcing the mounting strength on the body part 60.
The reinforcing insertion pin 61 is inserted into the insertion pin hole 63 of the substrate 62, and is attached so as to withstand the lateral load of the component. Normally, the reinforcing insertion pin 71 is formed as an integral part when the body part 60 is molded. Therefore, FIG.
As shown in (1), when the positional relationship between the reinforcing insertion pin 61 and the electrode 64 varies and the electrode is recognized and positioned, the reinforcing insertion pin 61 may not enter the insertion pin hole 63 in some cases. In such a case, the electrode 64 cannot come into contact with the land 65, resulting in poor bonding.
【0007】[0007]
【課題を解決するための手段】本願第1発明の挿入ピン
付き電子部品認識方法は、まず、従来法と同様に電極位
置を検出し部品の中心・傾きを算出する。次に、挿入ピ
ンの位置を検出し、あらかじめ設定された許容範囲内に
挿入ピンが位置しているか判定する。そして、挿入ピン
の位置が許容範囲外であれば、部品不良と判定する。According to the first aspect of the present invention, a method of recognizing an electronic component with an insertion pin first detects the electrode position and calculates the center and inclination of the component as in the conventional method. Next, the position of the insertion pin is detected, and it is determined whether the insertion pin is located within a preset allowable range. If the position of the insertion pin is out of the allowable range, it is determined that the component is defective.
【0008】本願第2発明の挿入ピン付き電子部品認識
方法は、従来法と同様に部品の大まかな中心・傾きを算
出する。次に、大まかな中心・傾きを参考に挿入ピンの
位置を検出する。検出した挿入ピンの位置から部品の正
確な中心・傾きを算出する。算出した正確な中心・傾き
を参考に電極の位置を検出し、あらかじめ設定された許
容範囲内に電極が位置しているかを判定する。そして、
電極の位置が許容範囲外であれば、部品不良と判定す
る。The method of recognizing an electronic component with an insertion pin according to the second aspect of the present invention calculates a rough center / inclination of the component as in the conventional method. Next, the position of the insertion pin is detected with reference to the approximate center and inclination. An accurate center / inclination of the component is calculated from the detected position of the insertion pin. The position of the electrode is detected with reference to the calculated accurate center / inclination, and it is determined whether the electrode is located within a preset allowable range. And
If the position of the electrode is out of the allowable range, it is determined that the component is defective.
【0009】[0009]
【発明の実施の形態】以下、本発明の実施の形態を示す
挿入ピン付き電子部品の認識方法として、図面を参照し
ながら具体的に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS A method for recognizing an electronic component with an insertion pin according to an embodiment of the present invention will be specifically described below with reference to the drawings.
【0010】本願第1発明の実施の形態を図7に基づい
て説明する。図7(a)に示すようにコネクタ部品70
を撮像装置からの距離情報を明るさとして撮像する3次
元センサ71で撮像し、画像パターン72を得る。得ら
れた画像パターン72は3次元センサ71に近いほど高
輝度の情報として撮像されるため、通常の撮像装置では
撮像しにくいボディ部分にある補強用挿入ピンを高輝度
のデータとして撮像される。次に従来法で説明したと同
様にして図7(b)に示すように電極群の中心73を求
め、求めた電極群の中心73を部品寸法hの半分ずら
し、部品中心74を得る。そして、図7(c)に示すよ
うに部品中心74からあらかじめ与えられている部品中
心から補強用挿入ピンへのオフセット量dx,dy離れ
た位置に適当な大きさのウィンドウ75を設定し、ウィ
ンドウ75内の輝度の重心を求め、その位置を補強用挿
入ピン位置76とする。ウィンドウのサイズは判定に使
用する許容範囲より大きいサイズに設定する。補強用挿
入ピンと電極群の位置関係が正しければ補強用挿入ピン
位置76はウィンドウ75の中心に位置するはずである
が、位置関係にズレがある場合、ズレ量分だけウィンド
ウ中心からずれることになる。このズレ量と許容範囲を
比較し、ズレ量が許容範囲外であれば部品不良と判定し
部品を廃棄する。許容範囲は挿入穴径と補強用挿入ピン
径の差から算出する。部品不良でない場合は部品中心7
4と部品傾きを補正量として基板に実装する。An embodiment of the first invention of the present application will be described with reference to FIG. As shown in FIG.
Is captured by a three-dimensional sensor 71 that captures distance information from the imaging device as brightness, and an image pattern 72 is obtained. The closer the three-dimensional sensor 71 is to the obtained image pattern 72, the higher the brightness of the image is. As a result, the image of the reinforcing insertion pin in the body portion, which is difficult to image with a normal imaging device, is captured as high-luminance data. Next, as shown in FIG. 7B, the center 73 of the electrode group is obtained in the same manner as described in the conventional method, and the obtained center 73 of the electrode group is shifted by half the component size h to obtain the component center 74. Then, as shown in FIG. 7 (c), a window 75 having an appropriate size is set at a position separated from the component center 74 by a predetermined offset from the component center to the reinforcing insertion pin by a distance dx, dy. The center of gravity of the luminance within 75 is determined, and that position is defined as a reinforcing insertion pin position 76. The size of the window is set to a size larger than the allowable range used for the judgment. If the positional relationship between the reinforcing insert pin and the electrode group is correct, the reinforcing insert pin position 76 should be located at the center of the window 75, but if the positional relationship is misaligned, it will be shifted from the window center by the amount of misalignment. . The deviation is compared with the allowable range. If the deviation is out of the allowable range, the component is determined to be defective and the component is discarded. The allowable range is calculated from the difference between the insertion hole diameter and the reinforcing insertion pin diameter. If not defective, component center 7
4 and the component inclination are mounted on the board as a correction amount.
【0011】本願第2発明の実施の形態を図8に基づい
て説明する。まず、本願第1発明の実施の形態で説明し
たように3次元センサでコネクタ部品の画像パターンを
得る。次に、図8(a)に示すようにコネクタ部品80
の大まかな中心81と傾きθを従来例で説明したように
して求め、大まかな中心81からあらかじめ与えられて
いる部品中心から補強用挿入ピンへのオフセット量d
x,dy離れた位置に適当な大きさのウィンドウ82を
設定し、ウィンドウ82内の輝度の重心を求め、その位
置を補強用挿入ピン位置83とする。図8(b)に示す
ように本来補強用挿入ピンがあるべきウィンドウ中心8
4と補強用挿入ピン位置83にはズレが生じるので、こ
のズレ量w1,h1,w2,h2より正確な部品中心8
5と正確な傾きθ’を求める。そして、正確な部品中心
85から部品サイズhの半分離れた位置に図8(c)に
示すように、投影ウィンドウ85を設定し、投影データ
87を得る。投影データのピーク位置から各々の電極位
置88を求め、あらかじめ与えられた電極の存在するべ
き位置のズレ量を許容範囲と比較し、ズレ量が許容範囲
外であれば部品不良と判定し部品を廃棄する。許容範囲
は電極幅とランド幅をもとに半田接合強度が保てる範囲
で算出する。部品不良でない場合は部品中心85と部品
傾きθ’を補正量として基板に実装する。An embodiment of the second invention of the present application will be described with reference to FIG. First, as described in the first embodiment of the present invention, an image pattern of a connector component is obtained by a three-dimensional sensor. Next, as shown in FIG.
Of the approximate center 81 and the inclination θ are described in the conventional example, and the offset amount d from the rough center 81 to the reinforcing insertion pin from the predetermined component center is determined.
A window 82 of an appropriate size is set at a position separated by x and dy, the center of luminance in the window 82 is determined, and the position is set as a reinforcing insertion pin position 83. As shown in FIG. 8B, the window center 8 where the reinforcing insertion pin should be originally located
4 and the position 83 of the reinforcing insertion pin, the component center 8 is more accurate than the displacement amounts w1, h1, w2, and h2.
5 and an accurate inclination θ ′ are obtained. Then, as shown in FIG. 8C, a projection window 85 is set at a position distant from the accurate component center 85 by half the component size h, and projection data 87 is obtained. Each electrode position 88 is obtained from the peak position of the projection data, and a deviation amount of a predetermined position where an electrode should exist is compared with an allowable range. If the deviation amount is out of the allowable range, it is determined that the component is defective and the component is determined. Discard. The allowable range is calculated based on the electrode width and the land width in a range where the solder joint strength can be maintained. If the component is not defective, the component is mounted on the board with the component center 85 and the component inclination θ ′ as correction amounts.
【0012】[0012]
【発明の効果】以上のように本発明の挿入ピン付き電子
部品認識方法では、挿入ピン付き電子部品の電極と挿入
ピンの両方を検出し補正を行うため、挿入ピンが挿入さ
れないために発生する部品接合不良を未然に防止するこ
とが可能になる。As described above, in the method for recognizing an electronic component with an insertion pin according to the present invention, since both the electrode and the insertion pin of the electronic component with the insertion pin are detected and corrected, the problem occurs because the insertion pin is not inserted. It is possible to prevent defective parts bonding beforehand.
【図1】本願第1発明の挿入ピン付き電子部品認識方法
のフローチャートFIG. 1 is a flowchart of a method for recognizing an electronic component with an insertion pin according to the first invention of the present application.
【図2】本願第2発明の挿入ピン付き電子部品認識方法
のフローチャートFIG. 2 is a flowchart of a method for recognizing an electronic component with an insertion pin according to the second invention of the present application;
【図3】コネクタ部品の実装位置補正に関する説明図FIG. 3 is an explanatory diagram relating to correction of a mounting position of a connector component.
【図4】従来技術を活用したコネクタ部品の実装位置補
正量の説明図FIG. 4 is an explanatory diagram of a mounting position correction amount of a connector component utilizing a conventional technique.
【図5】従来技術を活用したコネクタ部品の実装位置補
正量の説明図FIG. 5 is an explanatory diagram of a mounting position correction amount of a connector component utilizing the related art.
【図6】従来技術での挿入ピン付き電子部品の不具合例
の説明図FIG. 6 is an explanatory view of a failure example of an electronic component with an insertion pin according to the related art.
【図7】本願第1発明の挿入ピン付き電子部品認識方法
の説明図FIG. 7 is an explanatory diagram of a method for recognizing an electronic component with an insertion pin according to the first invention of the present application.
【図8】本願第2発明の挿入ピン付き電子部品認識方法
の説明図FIG. 8 is an explanatory diagram of a method for recognizing an electronic component with an insertion pin according to the second invention of the present application.
30,40,60,70 コネクタ部品 31 吸着ノズル 32,62 基板 35,64 電極 36,65 ランド 41,71 撮像装置 61 補強用挿入ピン 63 補強挿入ピン穴 30, 40, 60, 70 Connector part 31 Suction nozzle 32, 62 Substrate 35, 64 Electrode 36, 65 Land 41, 71 Image pickup device 61 Reinforcement insertion pin 63 Reinforcement insertion pin hole
───────────────────────────────────────────────────── フロントページの続き (72)発明者 森本 正通 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masamichi Morimoto 1006 Kazuma Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd.
Claims (2)
ピン付き電子部品の画像を撮像する第1行程と、画像中
の電極を検出し電子部品の中心・傾きを計算する第2行
程と、画像中の挿入ピンを検出し電子部品の中心からの
位置を計算する第3行程と、挿入ピンの位置があらかじ
め設定された許容範囲内にあるかを判定する第4行程か
らなる挿入ピン付き電子部品の認識方法。1. A first step of capturing an image of an electronic component with an insertion pin for reinforcing attachment to a substrate, a second step of detecting an electrode in the image and calculating the center and tilt of the electronic component, An electronic device with an insert pin, comprising: a third step of detecting an insert pin in an image and calculating a position from the center of the electronic component; and a fourth step of determining whether the position of the insert pin is within a predetermined allowable range. How to recognize parts.
ピン付き電子部品の画像を撮像する第1行程と、画像中
の挿入ピンを検出し電子部品の中心・傾きを計算する第
2行程と、画像中の電極をそれぞれ検出し電子部品の中
心からの位置を計算する第3行程と、それぞれの電極位
置があらかじめ設定された許容範囲内にあるかを判定す
る第4行程からなる挿入ピン付き電子部品の認識方法。2. A first step of capturing an image of an electronic component with an insertion pin for reinforcing attachment to a substrate, and a second step of detecting an insertion pin in the image and calculating the center / inclination of the electronic component. With an insertion pin consisting of a third step of detecting each electrode in the image and calculating the position from the center of the electronic component and a fourth step of determining whether each electrode position is within a preset allowable range. How to recognize electronic components.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9305472A JPH11145699A (en) | 1997-11-07 | 1997-11-07 | Method for recognizing electronic parts with insert pin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9305472A JPH11145699A (en) | 1997-11-07 | 1997-11-07 | Method for recognizing electronic parts with insert pin |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11145699A true JPH11145699A (en) | 1999-05-28 |
Family
ID=17945573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9305472A Pending JPH11145699A (en) | 1997-11-07 | 1997-11-07 | Method for recognizing electronic parts with insert pin |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11145699A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006234793A (en) * | 2005-01-28 | 2006-09-07 | Juki Corp | Part position detecting method and device |
CN104019747A (en) * | 2014-05-29 | 2014-09-03 | 立讯精密工业(昆山)有限公司 | Microscope image detection device |
CN109490055A (en) * | 2018-10-18 | 2019-03-19 | 浙江海洋大学 | A kind of mold and its application method making simulation rock mass discontinuity |
-
1997
- 1997-11-07 JP JP9305472A patent/JPH11145699A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006234793A (en) * | 2005-01-28 | 2006-09-07 | Juki Corp | Part position detecting method and device |
CN104019747A (en) * | 2014-05-29 | 2014-09-03 | 立讯精密工业(昆山)有限公司 | Microscope image detection device |
CN109490055A (en) * | 2018-10-18 | 2019-03-19 | 浙江海洋大学 | A kind of mold and its application method making simulation rock mass discontinuity |
CN109490055B (en) * | 2018-10-18 | 2021-03-02 | 浙江海洋大学 | Mold for manufacturing simulated rock mass structural plane and use method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8553080B2 (en) | Component placement apparatus | |
US7719124B2 (en) | Printed wiring board for mounting components | |
US7181833B2 (en) | Method of mounting an electronic part | |
EP0886465B1 (en) | Electronic components mounting method and apparatus | |
JP2007220837A (en) | Method and device for mounting electronic component | |
JP2617378B2 (en) | Component mounting equipment | |
US6314640B1 (en) | Component mounting method | |
JPH11145699A (en) | Method for recognizing electronic parts with insert pin | |
JPH10177183A (en) | Device and method for sticking flexible substrate to another substrate | |
JP2000233488A (en) | Position alignment method of substrate in screen printing | |
JPH08192337A (en) | Alignment method | |
JPH0541598A (en) | Correcting method for component mounting position | |
JPH10326997A (en) | Electronic component mounting device and method of correcting position by electronic component mounting device | |
JP3681843B2 (en) | Electronic component correction angle correction method and electronic component mounting apparatus using the same | |
KR20030092914A (en) | Device and mark alignment method for flip chip bonder comprising up and down mark | |
JP2000211106A (en) | Screen mask aligning method in screen printing | |
JP3264818B2 (en) | Component position recognition method | |
JP3946502B2 (en) | Component mounting method | |
JPH02189870A (en) | Electric parts device | |
JP3907348B2 (en) | Component mounting apparatus and component mounting method | |
JPH0817098B2 (en) | Electrical component equipment | |
JP4526666B2 (en) | Component mounting equipment | |
KR950002211B1 (en) | Parts mounting device | |
JPH02189872A (en) | Connector parts device | |
JP3238966B2 (en) | Electronic component automatic mounting device |