JP2774840B2 - Component recognition method for image recognition component mounting device - Google Patents
Component recognition method for image recognition component mounting deviceInfo
- Publication number
- JP2774840B2 JP2774840B2 JP1307971A JP30797189A JP2774840B2 JP 2774840 B2 JP2774840 B2 JP 2774840B2 JP 1307971 A JP1307971 A JP 1307971A JP 30797189 A JP30797189 A JP 30797189A JP 2774840 B2 JP2774840 B2 JP 2774840B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- black level
- component mounting
- image
- grid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 20
- 230000005484 gravity Effects 0.000 description 7
- 238000005452 bending Methods 0.000 description 3
- 210000000078 claw Anatomy 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000001179 sorption measurement Methods 0.000 description 1
Landscapes
- Supply And Installment Of Electrical Components (AREA)
Description
【発明の詳細な説明】 技術分野 本発明はいわゆるプリント基板(以下、単に基板と称
する)に部品を自動的に次々と装着する部品装着装置に
関し、特に画像認識によって部品を把持しこれを基板に
装着する画像認識部品装着装置における部品認識方法に
関する。Description: TECHNICAL FIELD The present invention relates to a component mounting apparatus that automatically mounts components on a so-called printed circuit board (hereinafter, simply referred to as a substrate) in particular, and more particularly, grips a component by image recognition and attaches the component to the substrate. The present invention relates to a component recognition method for an image recognition component mounting apparatus to be mounted.
背景技術 かかる画像認識により作動する部品装着装置は、軟弱
端子を有するが故に整列して供給することが困難な電子
部品を基板に正しく装着するために、コンベア上にラン
ダム(非整列状態)に供給載置される電子部品をテレビ
カメラによって撮像し、得られる画像データを処理して
各部品の形状、位置及び姿勢を知るようにしている。2. Description of the Related Art A component mounting apparatus that operates by such image recognition supplies random (non-aligned state) on a conveyor in order to correctly mount electronic components that are difficult to align and supply due to having soft terminals on a board. The mounted electronic components are imaged by a television camera, and the obtained image data is processed so that the shape, position and orientation of each component are known.
従来の画像認識部品装着装置においては画像データ処
理のプログラムが複雑で、部品装着速度を速くせんとし
た場合、高速のコンピュータを必要とし、コスト高とな
り実用性に問題があった。In the conventional image recognition component mounting apparatus, a program for image data processing is complicated, and when the component mounting speed is increased, a high-speed computer is required, the cost is increased, and there is a problem in practicality.
発明の概要 [発明の目的] 本発明の目的は、低速のコンピュータによって形成さ
れしかも高速に部品の存在位置を検出することが出来る
画像認識部品装着装置における部品認識方法を提供する
ことである。SUMMARY OF THE INVENTION [Object of the Invention] An object of the present invention is to provide a component recognition method in an image recognition component mounting apparatus formed by a low-speed computer and capable of detecting the position of the component at high speed.
[発明の構成] 本発明による画像認識部品装着装置における画像認識
方法は、部品載置面上にランダムに供給される電子部品
を撮像して画像信号を生成し、前記画像信号を処理して
2次元画面を構成する画素データを生成し、前記画素デ
ータに基づき前記部品載置面上の前記電子部品の存在を
認識する画像認識部品装着装置における部品認識方法で
あって、 水平及び垂直方向における所定画素おきの座標位置と
してのグリッドにおける前記画素データの輝度レベルが
部品存在を示す黒レベルにあることを判別して黒レベル
グリッドを記憶する判別記憶行程と、 前記黒レベルグリッドを基準とするウィンドウ領域の
境界上に黒レベルグリッドが存在しないことを判別して
判別出力を生ずる境界判別行程と、 前記境界判定行程における判別に応じて前記記憶手段
によって記憶された黒レベルグリッドの個数が所定数以
上であることを判別して判別出力を生ずる簡易面積判別
行程と、 前記簡易面積判別行程における判別に応じて前記ウィ
ンドウ領域内の黒レベル画素数が所定数を越えたことを
判別する面積詳細判別行程と、からなることを特徴とし
ている。[Configuration of the Invention] An image recognition method in an image recognition component mounting apparatus according to the present invention captures an electronic component randomly supplied on a component mounting surface, generates an image signal, and processes the image signal to generate an image signal. A component recognition method in an image recognition component mounting apparatus that generates pixel data constituting a three-dimensional screen and recognizes the presence of the electronic component on the component mounting surface based on the pixel data, the method including: A discrimination storage step of discriminating that the luminance level of the pixel data in the grid as a coordinate position of each pixel is at a black level indicating the presence of a component and storing a black level grid; and a window area based on the black level grid. A boundary determination step of determining that no black level grid exists on the boundary of the boundary and generating a determination output; A simple area discriminating step for discriminating that the number of black level grids stored by the storage means is equal to or greater than a predetermined number and generating a discrimination output; And an area detail determination step of determining that the number of black level pixels exceeds a predetermined number.
[発明の作用] 上記した如き本発明の部品認識方法によれば、画像信
号から得られる画像データの全てのデータのレベルを判
別するのではなく、予め定められた一定画素数おきの座
標位置すなわちグリッドにおける画素データのレベルを
判別して粗い部品存在判別をなしている。According to the component recognition method of the present invention as described above, instead of determining the levels of all the data of the image data obtained from the image signal, the coordinate positions of every predetermined number of pixels, that is, The level of pixel data in the grid is determined to determine the presence of coarse components.
実 施 例 以下、添付図面によって、本発明の実施例につき詳細
に説明する。Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
まず、第1図によって、本発明による部品認識方法を
実行する画像認識部品装着装置につき説明する。First, an image recognition component mounting apparatus for executing the component recognition method according to the present invention will be described with reference to FIG.
本装置において、第1制御手段1が部品供給装置2を
作動せしめるためのモータ3を駆動し、部品供給装置2
からコンベア4上に数個の電子部品5、(この場合発光
素子)がランダム(すなわち非整列)状態にて投下され
る。そして、コンベア4を作動せしめるためのモータ6
が駆動され、コンベア4上に投下された発光素子5は撮
像手段としてのテレビカメラ8により撮像され得る部品
供給位置9に持ち来される。テレビカメラ8により生成
された画像信号はA/D変換器10を経て画素データに変換
され、第1制御手段1に送られる。第1制御手段1はこ
の画素データに基づいて部品供給位置9における各発光
素子5の形状、位置及び姿勢を知り、X−Yテーブル12
の作動用のモータ13を駆動して部品搬送チャック14をし
て、最初に搬送すべきであると判定した発光素子を把持
し得る位置に持ち来し、且つ、把持せしめる。そして、
この把持させた発光素子5を表裏反転装置15に受け渡
し、受け渡した発光素子が表裏が反転していれば表裏反
転装置15を作動させて発光素子5が常に表向きとなるよ
うに姿勢を修正し、インデックステーブル17上のインデ
ックスチャック18に受け渡す。インデックステーブル17
はメインモータ19によりカム機構20を介して回転駆動さ
れ、第1制御手段1によってカム機構20の動作制御がな
されることによって36゜ずつ間欠的に回転する。インデ
ックスチャック18はインデックステーブル17上に等間隔
(36゜ピッチ)にて10箇所に設けられている。インデッ
クスチャック18は上記の表裏反転装置15による部品供給
所と後述の部品排出箇所において第2制御手段22よりカ
ム機構20を介して動作制御されるインデックスチャック
駆動装置23及び24により機械力を付与されることにより
把持爪の開動作をなす。そして、この機械力が解除され
ることによって把持爪を閉じる。In the present apparatus, the first control means 1 drives a motor 3 for operating the component supply device 2, and the component supply device 2
, Several electronic components 5 (in this case, light emitting elements) are dropped onto the conveyor 4 in a random (ie, non-aligned) state. Then, a motor 6 for operating the conveyor 4
Is driven, and the light emitting element 5 dropped on the conveyor 4 is brought to a component supply position 9 where an image can be picked up by a television camera 8 as an image pickup means. The image signal generated by the television camera 8 is converted to pixel data via the A / D converter 10 and sent to the first control means 1. The first control means 1 knows the shape, position and orientation of each light emitting element 5 at the component supply position 9 based on the pixel data, and
By driving the operation motor 13, the component transport chuck 14 is brought to a position where it is possible to grip the light emitting element which is determined to be transported first, and is gripped. And
Transfer the gripped light emitting element 5 to the front and back reversing device 15, and if the transferred light emitting element is upside down, activate the front and back reversing device 15 to correct the posture so that the light emitting element 5 is always turned upside down, It is delivered to the index chuck 18 on the index table 17. Index table 17
Is rotationally driven by a main motor 19 via a cam mechanism 20, and intermittently rotates by 36 ° by controlling the operation of the cam mechanism 20 by the first control means 1. The index chucks 18 are provided at 10 positions on the index table 17 at equal intervals (36 ° pitch). The index chuck 18 is provided with mechanical force by index chuck driving devices 23 and 24 which are controlled by a second control means 22 via a cam mechanism 20 at a component supply place and a component discharge place by the reversing device 15 described above. This causes the gripping claw to open. When the mechanical force is released, the gripping claws are closed.
上述した如く、インデックステーブル17は36゜を1ピ
ッチとして間欠的に回転せしめられるが、上記の部品供
給箇所からこの1ピッチずつ進んだ位置に対応してテレ
ビカメラ26、端子扱き装置27、端子屈曲装置28、テレビ
カメラ29及び部品装着チャック30が配設されている。こ
の部品装着チャック30が配置された位置が上述した部品
排出箇所であり、発光素子5を把持したインデックスチ
ャック18はこの位置にてインデックスチャック駆動装置
24により機械力を付与されて該発光素子の把持状態を解
除して部品装着チャック30に受け渡す。As described above, the index table 17 is intermittently rotated at a pitch of 36 °, but the television camera 26, the terminal handling device 27, An apparatus 28, a television camera 29, and a component mounting chuck 30 are provided. The position where the component mounting chuck 30 is disposed is the above-described component discharge location, and the index chuck 18 holding the light emitting element 5 moves the index chuck driving device at this position.
A mechanical force is applied by 24 to release the gripping state of the light emitting element and deliver it to the component mounting chuck 30.
上記の各インデックスチャック駆動装置23,24、端子
扱き装置27、端子屈曲装置28及び部品装着チャック30は
第2制御手段22により動作制御されるカム機構20及びク
ラッチ21を介してメインモータ19により駆動される。ま
た、これら端子扱き装置27、端子屈曲装置28及び部品装
着チャック30の駆動タイミングは、エンコーダ31からの
信号に基づく。第2制御手段22はまず、インデックスチ
ャック18により把持された発光素子5の端子の状態をテ
レビカメラ26からの撮像信号に基づいて認識し、これに
応じて端子扱き装置27を作動せしめ、軟弱であるが故に
第2図に示す如く変形していた発光素子5の端子5aをそ
の先端に向けて扱いて第3図に示すように互いに平行に
成形する。次いで、第2制御手段22は端子屈曲装置28を
作動せしめ、第4図に示すように端子5aを約90゜屈曲せ
しめる。The above-described index chuck driving devices 23 and 24, the terminal handling device 27, the terminal bending device 28, and the component mounting chuck 30 are driven by the main motor 19 via the cam mechanism 20 and the clutch 21 whose operation is controlled by the second control means 22. Is done. The drive timing of the terminal handling device 27, the terminal bending device 28, and the component mounting chuck 30 is based on a signal from the encoder 31. First, the second control means 22 recognizes the state of the terminal of the light emitting element 5 held by the index chuck 18 based on the image signal from the television camera 26, and activates the terminal handling device 27 in response to the recognition. The terminal 5a of the light emitting element 5 which has been deformed as shown in FIG. 2 due to its presence is handled toward the tip thereof and molded in parallel to each other as shown in FIG. Next, the second control means 22 activates the terminal bending device 28 to bend the terminal 5a by about 90 ° as shown in FIG.
この後、第2制御手段は発光素子5の端子5aの状態を
テレビカメラ29からの撮像信号に基づいて認識し、端子
5aの成形状態が良であると判定したら、インデックスチ
ャック駆動装置24を作動させてインデックスチャック18
による発光素子5の把持状態を解除せしめると共に、部
品装着チャック30をしてこの発光素子5を把持せしめ
る。そして、X−Yテーブル33を作動させるためのモー
タ34を駆動して、該発光素子5が装着されるべくプリン
ト基板35を持ち来す。Thereafter, the second control means recognizes the state of the terminal 5a of the light emitting element 5 based on the image signal from the television camera 29, and
When it is determined that the molding state of 5a is good, the index chuck driving device 24 is operated to
Is released, and the component mounting chuck 30 is used to hold the light emitting element 5. Then, the motor 34 for operating the XY table 33 is driven, and the printed circuit board 35 is brought in so that the light emitting element 5 is mounted.
この後、第2制御手段22は部品装着チャック回転用モ
ータ37を回転せしめて部品装着チャック30を適当な角度
位置まで回転せしめ、プリント基板35に対する発光素子
5の角度位置を定める。そして、部品装着チャック30を
下降させ、第5図に示す如く、プリント基板35に発光素
子5を装着する。このとき、発光素子5の端子5aはプリ
ント基板35に形成された端子挿入孔35aに挿入され、そ
の先端部分がプリント基板35の下面側に突出する。第2
制御手段22はこの端子5aの導通状態の良否を導通チェッ
ク・端子カット装置39により検査し、導通が良好であれ
ば端子5aの先端部をこの導通チャック・端子カット装置
39により切断して所定の長さに切り揃える。Thereafter, the second control means 22 rotates the component mounting chuck rotating motor 37 to rotate the component mounting chuck 30 to an appropriate angular position, and determines the angular position of the light emitting element 5 with respect to the printed circuit board 35. Then, the component mounting chuck 30 is lowered, and the light emitting element 5 is mounted on the printed circuit board 35 as shown in FIG. At this time, the terminal 5a of the light emitting element 5 is inserted into the terminal insertion hole 35a formed in the printed board 35, and the tip portion protrudes to the lower surface side of the printed board 35. Second
The control means 22 inspects the continuity of the terminal 5a with a continuity check / terminal cutting device 39. If the continuity is good, the control unit 22 cuts the tip of the terminal 5a with the continuity chuck / terminal cutting device.
Cut by 39 and trim to a predetermined length.
一方、第2制御手段22は、導通チャック・端子カット
装置39による端子導通検査結果が不良と認識した場合に
は、部品装着チャック30をしてその発光素子5をプリン
ト基板35から取り外させてその回収のためにこれを不良
部品収納部40に収納し、直ちに後続の発光素子の装着を
行なわしめる。On the other hand, when the second control means 22 recognizes that the terminal continuity inspection result by the continuity chuck / terminal cutting device 39 is defective, the component mounting chuck 30 is used to remove the light emitting element 5 from the printed circuit board 35 and to perform the operation. This is stored in the defective component storage unit 40 for collection, and the subsequent light emitting element is immediately mounted.
以下、上記の一連の動作がプリント基板35に装着され
るべき発光素子の各々に関して行われる。Hereinafter, the above-described series of operations is performed for each light-emitting element to be mounted on the printed circuit board 35.
次に、第6図を参照して第1制御手段1における部品
認識動作を説明する。Next, the component recognition operation in the first control means 1 will be described with reference to FIG.
第1制御手段による部品認識動作をなす手段は、CPU,
RAM及びROMを含むいわゆるマイクロコピュータによって
形成される。第6図はこのマイクロコンピュータによっ
て実行されるプログラムを示すフローチャートであり、
第1手段によるモータ13及び部品搬送チャック14の制御
動作を司るプログラムに対して所望タイミングにて割込
実行される。The means for performing the component recognition operation by the first control means includes a CPU,
It is formed by a so-called microcomputer including RAM and ROM. FIG. 6 is a flowchart showing a program executed by the microcomputer.
An interrupt is executed at a desired timing with respect to a program for controlling the motor 13 and the component transport chuck 14 by the first means.
このプログラムにおいては、先ず、フラッグFが1に
等しいや否やを判別して(ステップS1)、Fが0に等し
いときは、A/D変換器10から順次供給される画素データ
を1フレーム分まとめてRAM内の所定領域に取り込む
(ステップS2)。なお、F=1と判別したときには後述
のステップS18に入る。第7図は、画素データによって
表わされる1フレームの画像の一例を示しており、この
画像においては電子部品d1,d2,d3がコンベア4上に非整
列状態にて載置されている様子が表れている。第8図示
した如く、本発明によれば、1フレームの画像において
垂直及び水平方向におい所定画素(例えば100画素)お
きにグリッドGi(i=1,…196)を設定してある。そし
て、既設ウィンドウ外の領域において最若番のGiから順
に番号順にチェックし(ステップS3)、黒レベルグリッ
ドが見つかると、この検出黒レベルグリッドを基準にし
て所定広さの領域すなわちウィンドウWを設定する(第
9図参照)(ステップS4)。次いで、このウィンドウW
の境界上に黒レベルグリッドが存在するや否やを判別す
る(ステップS5)。ウィンドウ境界上に黒レベルグリッ
ドが存在するときは例えば第10図に示す如く部品同士が
近接しており、部品吸着には適さないとして、既に設定
したウィンドウ以外の領域について最若番のGiから老番
方向へ黒レベルグリッドの検出動作をなすべくステップ
S3に戻る。一方、ウィンドウ境界上に黒レベルグリッド
が存在しないときは、当該ウィンドウ内の黒レベルグリ
ッド数が所定値範囲内にあるや否やを判別する(ステッ
プS7)。当該ウィンドウ内の黒レベルグリッド数が所定
値範囲内にない場合、目標部品の大きさが規定外である
か、又は、部品が載置面に対して傾斜して載置されてお
り、吸着に適さないとしてステップS3に戻る。一方、当
該ウィンドウ内の黒レベルグリッド数が所定値範囲内に
あると判別したときはテレビカメラ8から満た目標部品
の面積が第11図に示した如く一応の規定に収まっている
として、次のステップS8の判別動作に入る。ステップS8
においては、当該ウィンドウ内の水平方向における黒レ
ベル画素間の最大距離Xと、垂直方向における黒レベル
画素間の最大距離Yとが所定の最大値XMX及びYMXより小
であるや否やを判別する。第12図に示した如く、X<X
MX及びY<YMXが共に成立すれば目標部品の大きさは規
定に収まっているとして次の面積チェックのステップS9
に入る。ステップS9においては、ウィンドウ内の黒レベ
ル画素数が、所定最小値NMN及び所定最大値NMXの間にあ
るや否やを判別する。ウィンドウ内の黒レベル画素数が
NMNとNMXとの間にないと部品面積が規定範囲外にある
故、部品の形状が異常であるか部品の姿勢が正しくない
として、ステップS3に戻る。一方、ウィンドウ内の黒レ
ベル画素数がNMNとNMXとの間にあることを判別した場合
は、部品吸着又は把持位置の算出のための準備として目
標部品の重心位置座標を算出する(ステップS10)。重
心位置座標算出方法については周知なので、ここでは詳
述しない。次いで、ステップS11において、取り込んだ
1フレームの画像について、吸着位置算出までの動作が
1の部品について既になされたことを示すフラッグFが
立っているかどうかを判別する。フラッグFが1である
ことを判別したときは、既に1の部品について、吸着位
置算出が終了しているので、今回設定ウィンドウ内の部
品についての重心位置座標データを記憶して(ステップ
S12)、メインルーチンに戻る。一方、F=0を判別し
たときは、第13図に示す如く目標部品d1の等価楕円及び
慣性主軸上にある黒レベルデータを算出する(ステップ
S13)。この演算も周知であり、ここでは詳述しない。
次に、ステップS14においては、第14図に示す如く、部
品の重心からの輪郭上の最遠点及び最近点と重心とを結
ぶ長軸線l1及び短軸線l2を求める。次いで、このl1及び
l2の水平右方向基準線γに対する反時計回りの角度をθ
1及びθ2として、Δθ=θ1−θ2を求め、Δθ>18
0゜のときはΔθ=Δθ−360゜とし、Δθ<−180゜の
ときはΔθ=Δθ+360゜とする。こうすれば−180゜<
Δθ<180゜となり、Δθの正負により表裏判別を行な
う(ステップS15)。次いで、ステップS17において、目
標部品を載置面から拾い上げる吸着手段による吸着すべ
き位置すなわち把持位置を算出する。この吸着位置の座
標(Px,Py)は次の(1)又は(2)式の演算によって
得られる。In this program, first, it is determined whether or not the flag F is equal to 1 (step S1). When F is equal to 0, the pixel data sequentially supplied from the A / D converter 10 is collected for one frame. To a predetermined area in the RAM (step S2). When it is determined that F = 1, the process proceeds to step S18 described later. FIG. 7 shows an example of an image of one frame represented by pixel data, in which the electronic components d1, d2, and d3 are placed on the conveyor 4 in a non-aligned state. ing. As shown in FIG. 8, according to the present invention, a grid Gi (i = 1,..., 196) is set at predetermined pixels (for example, 100 pixels) in the vertical and horizontal directions in an image of one frame. Then, in the area outside the existing window, checking is performed in numerical order starting from the youngest Gi (step S3). When a black level grid is found, an area of a predetermined size, that is, a window W is set based on the detected black level grid. (See FIG. 9) (step S4). Then, this window W
Is determined as soon as a black level grid exists on the boundary of (step S5). When a black level grid exists on the window boundary, for example, as shown in FIG. 10, the components are close to each other, and it is determined that the components are not suitable for component suction. Step to perform black level grid detection operation in the number direction
Return to S3. On the other hand, when the black level grid does not exist on the window boundary, it is determined whether or not the number of black level grids in the window is within a predetermined value range (step S7). If the number of black level grids in the window is not within the predetermined value range, the size of the target component is out of the specified range, or the component is placed inclined with respect to the placement surface, and the Return to step S3 as not suitable. On the other hand, when it is determined that the number of black level grids in the window is within the predetermined value range, it is determined that the area of the target component to be satisfied from the television camera 8 is within a tentative specification as shown in FIG. The determination operation of step S8 is started. Step S8
In the above, it is determined whether the maximum distance X between the black level pixels in the horizontal direction and the maximum distance Y between the black level pixels in the vertical direction in the window are smaller than predetermined maximum values X MX and Y MX. I do. As shown in FIG. 12, X <X
If both MX and Y <Y MX are satisfied, the size of the target part is determined to be within the specified range, and the next area check step S9
to go into. In step S9, the black level pixel numbers in the window, to determine certain As soon as during the predetermined minimum value N MN and the predetermined maximum value N MX. The number of black level pixels in the window is
Because of no and parts area between the N MN and N MX is outside the prescribed range, either as part of the orientation profile of the component is abnormal is not correct, the flow returns to step S3. On the other hand, if it is determined that the number of black level pixels in the window is between NMN and NMX , the coordinates of the center of gravity of the target component are calculated as preparation for calculating the component suction or grip position (step S10). The method of calculating the coordinates of the position of the center of gravity is well known and will not be described in detail here. Next, in step S11, it is determined whether a flag F indicating that the operation up to the suction position calculation has already been performed for one component has been set for the captured one frame image. When it is determined that the flag F is 1, since the suction position calculation has already been completed for one component, the center-of-gravity position coordinate data for the component in the current setting window is stored (step S1).
S12), and return to the main routine. On the other hand, when it is determined that F = 0, the equivalent ellipse of the target part d1 and the black level data on the principal axis of inertia are calculated as shown in FIG.
S13). This calculation is also well known and will not be described in detail here.
Next, in step S14, as shown in FIG. 14, obtains the longitudinal axis l 1 and Tanjikusen l 2 connecting the farthest point and the nearest point and the center of gravity on the contour from the center of gravity of the part. Then, this l 1 and
The counterclockwise angle with respect to the horizontal right direction reference line γ of l 2 theta
As 1 and theta 2, seeking Δθ = θ 1 -θ 2, Δθ > 18
When 0 °, Δθ = Δθ−360 °, and when Δθ <−180 °, Δθ = Δθ + 360 °. In this case -180 ゜ <
Δθ <180 °, and the front / back discrimination is performed based on the sign of Δθ (step S15). Next, in step S17, a position at which the target component is to be sucked by the suction means for picking up the target component from the mounting surface, that is, a gripping position is calculated. The coordinates (Px, Py) of the suction position are obtained by the calculation of the following equation (1) or (2).
ここに、Gx,Gyは先に算出した重心位置座標であり、G
Pは重心との吸着位置との距離であり、予め部品種類毎
に定められている。θGPは重心と吸着位置との間の距離
であり、θGPは重心と吸着位置とを結ぶ線と慣性主軸と
のなす角度であり、予め部品種類毎に定まっている。ま
た、θMXはステップS13で求めた慣性主軸の水平方向と
なす角度である。 Where Gx and Gy are the previously calculated barycentric position coordinates, and G
P is the distance from the center of gravity to the suction position, and is determined in advance for each component type. θ GP is the distance between the center of gravity and the suction position, θ GP is the angle between the line connecting the center of gravity and the suction position and the principal axis of inertia, and is determined in advance for each component type. Θ MX is the angle formed by the inertia main axis and the horizontal direction in step S13.
なお、第15図(A)に示す如く部品の長手部分が右方
向へ延びたR状態(表)の場合上記(1)式を用い、第
15図(B)に示す如く部品の長手部が左方向へ延びたL
状態(裏)の場合は(2)式を用いる。As shown in FIG. 15 (A), in the case of the R state (table) in which the longitudinal portion of the component extends rightward, the above equation (1) is used.
15L in which the longitudinal portion of the part extends leftward as shown in FIG.
In the case of the state (back), equation (2) is used.
このようにして吸着位置座標Px,Pyが得られたら上述
のフラッグFを1にした後(ステップS17)、ステップS
3に戻る。When the adsorption position coordinates Px and Py are obtained in this way, the flag F is set to 1 (step S17), and then the step S17 is performed.
Return to 3.
なお、ステップS1において、F=1が判別されたとき
は、画像データ取込をすることなく、ステップS12にお
いて記憶しておいた次回用ウィンドウデータを今回用と
して取り込んで(ステップS18)、フラッグFをゼロと
した後(ステップS19)、ステップS13に入る。If it is determined in step S1 that F = 1, the next window data stored in step S12 is fetched for the current time without capturing image data (step S18), and the flag F Is set to zero (step S19), and then the process proceeds to step S13.
こうして、ステップS13ないしステップS17まで再び実
行して、ステップS3に入って次の部品を探すのである。
そうして、部品が見つからないとメインルーチンに戻る
のであるが、このときコンベアを1ピッチ移動せしめる
(ステップS20)。Thus, steps S13 to S17 are executed again, and the process enters step S3 to search for the next part.
If the part is not found, the process returns to the main routine. At this time, the conveyor is moved by one pitch (step S20).
発明の効果 上記したことから明らかな如く、本発明による画像認
識装置における部品認識方法によれば、部品載置面を撮
像した画像信号から部品の存否を判別するに当り、全て
の画素データのレベルを判別するのではなく、所定画素
おきに設定したグリッドの位置における画素の輝度レベ
ルを判別することとしたので、演算速度の遅いコンピュ
ータを用いても、素早く部品の存否判定が出来て、部品
認識速度が向上する。As is apparent from the above description, according to the component recognition method in the image recognition device according to the present invention, when determining the presence or absence of a component from an image signal obtained by imaging the component mounting surface, the level of all pixel data is determined. Instead of determining the brightness level of a pixel at a grid position set at predetermined pixels, the presence / absence of a component can be determined quickly even with a computer with a low calculation speed. Speed is improved.
第1図は、本発明の部品認識方法を実行する画像認識部
品装着装置を示すブロック図、第2図ないし第5図は、
対象部品の端子を整列せしめる場合の動作を説明する斜
視図、第6図は、第1図の装置における画像認識動作を
司る制御手段のサブルーチンを示すフローチャート、第
7図ないし第15図(A),(B)は第6図によって示さ
れるサブルーチンの動作の演算内容を示す図である。FIG. 1 is a block diagram showing an image recognition component mounting apparatus for executing the component recognition method of the present invention, and FIGS.
FIG. 6 is a perspective view for explaining the operation for aligning the terminals of the target component. FIG. 6 is a flowchart showing a subroutine of control means for controlling the image recognition operation in the apparatus shown in FIG. 1, and FIGS. 7 to 15 (A). 7 (B) are diagrams showing the operation contents of the operation of the subroutine shown in FIG.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 水谷 康彦 埼玉県川越市大字山田字西町25番地1 パイオニア株式会社川越工場内 (72)発明者 石黒 哲也 埼玉県川越市大字山田字西町25番地1 パイオニア株式会社川越工場内 (72)発明者 橘 義人 埼玉県川越市大字山田字西町25番地1 パイオニア株式会社川越工場内 (58)調査した分野(Int.Cl.6,DB名) H05K 13/08 H05K 13/04──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yasuhiko Mizutani 25-1, Nishimachi, Yamada-ji, Kawaji-shi, Saitama Prefecture Inside the Pioneer Corporation Kawagoe Plant (72) Tetsuya Ishiguro 25-1, Nishimachi, Yamada-ji, Kawaji-shi, Saitama Pioneer Inside the Kawagoe Factory, Inc. (72) Inventor Yoshito Tachibana 25-1, Nishimachi, Yamada, Kawajie-shi, Saitama Prefecture Pioneer Corporation Kawagoe Factory (58) Field surveyed (Int.Cl. 6 , DB name) H05K 13/08 H05K 13/04
Claims (2)
部品を撮像して画像信号を生成し、前記画像信号を処理
して2次元画面を構成する画素データを生成し、前記画
素データに基づき前記部品載置面上の前記電子部品の存
在を認識する画像認識部品装着装置における部品認識方
法であって、 前記2次元画面の水平及び垂直方向における所定画素お
きの座標位置としてのグリッドにおける前記画素データ
の輝度レベルが部品存在を示す黒レベルにあることを判
別して黒レベルグリッドを記憶する判別記憶行程と、 前記黒レベルグリッドを基準とするウィンドウ領域の境
界上に黒レベルグリッドが存在しないことを判別して判
別出力を生ずる境界判別行程と、 前記境界判別行程からの判別出力に応じて前記記憶手段
によって記憶された黒レベルグリッドの個数が所定の範
囲内であることを判別して判別出力を生ずる簡易面積判
別行程と、 前記簡易面積判別行程における判別に応じて前記ウィン
ドウ領域内の黒レベル画素数が所定の範囲内であること
を判別する面積詳細判別行程と、 からなることを特徴とする画像認識部品装着装置におけ
る部品認識方法。An image of an electronic component randomly supplied on a component mounting surface is generated to generate an image signal, and the image signal is processed to generate pixel data forming a two-dimensional screen. A component recognition method in an image recognition component mounting apparatus that recognizes the presence of the electronic component on the component placement surface based on a grid as a coordinate position at predetermined pixels in horizontal and vertical directions of the two-dimensional screen. A discrimination storage step of discriminating that the luminance level of the pixel data is at a black level indicating the presence of a component and storing a black level grid; and a black level grid exists on a boundary of a window area based on the black level grid. And a black level stored by the storage means in accordance with the determination output from the boundary determination step. A simple area determining step of determining that the number of grids is within a predetermined range and generating a determination output; and a black level pixel number within the window area within a predetermined range according to the determination in the simple area determining step. A component recognition method in an image recognition component mounting apparatus, comprising: an area detail determination step of determining presence of the component.
て前記ウィンドウ領域内の黒レベル画素の存在範囲が所
定範囲内にあることを判別する範囲判別行程を有するこ
とを特徴とする請求項1記載の画像認識部品装着装置に
おける部品認識方法。2. A method according to claim 1, further comprising a range discriminating step for discriminating that the existence range of the black level pixels in said window area is within a predetermined range according to the discrimination in said simple area discriminating step. Component recognition method in the image recognition component mounting apparatus of the invention.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1307971A JP2774840B2 (en) | 1989-11-28 | 1989-11-28 | Component recognition method for image recognition component mounting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1307971A JP2774840B2 (en) | 1989-11-28 | 1989-11-28 | Component recognition method for image recognition component mounting device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03167896A JPH03167896A (en) | 1991-07-19 |
| JP2774840B2 true JP2774840B2 (en) | 1998-07-09 |
Family
ID=17975368
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1307971A Expired - Fee Related JP2774840B2 (en) | 1989-11-28 | 1989-11-28 | Component recognition method for image recognition component mounting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2774840B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001053499A (en) * | 1999-08-09 | 2001-02-23 | Tdk Corp | Electronic component inserting machine |
| EP4081010B1 (en) * | 2019-12-16 | 2025-09-17 | Fuji Corporation | Component mounter |
-
1989
- 1989-11-28 JP JP1307971A patent/JP2774840B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03167896A (en) | 1991-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114248086B (en) | A flexible three-dimensional vision-guided robot alignment system and method | |
| EP0218259B1 (en) | Method and apparatus for calculating position and orientation by combination of features of partial shapes | |
| CN115582827B (en) | Unloading robot grabbing method based on 2D and 3D visual positioning | |
| CN106514201A (en) | Automatic connector assembly robot system and control method thereof | |
| JP2941617B2 (en) | Electronic component component data recording device and electronic component transport and assembling device using the same | |
| JP2016219474A (en) | Component extracting device, component extracting method and component mounting device | |
| CN113524187B (en) | Method and device for determining workpiece grabbing sequence, computer equipment and medium | |
| JP6528121B2 (en) | Component picking apparatus, component picking method and component mounting apparatus | |
| CN114788436A (en) | Component Mounter | |
| EP1264334B1 (en) | Method and apparatus for aligning a component on a substrate using digital feature separation | |
| WO2018158888A1 (en) | Backup-pin recognizing method and component mounting device | |
| JP2774840B2 (en) | Component recognition method for image recognition component mounting device | |
| JP2774841B2 (en) | Component gripping position setting method for image recognition component mounting device | |
| JP4122170B2 (en) | Component mounting method and component mounting apparatus | |
| JP2774842B2 (en) | Image recognition component mounting device | |
| US6633663B1 (en) | Method and system for determining component dimensional information | |
| CN111278612A (en) | Component transfer device | |
| CN113799097B (en) | Plate-shaped workpiece clamping device and plate-shaped workpiece clamping method | |
| JP6528122B2 (en) | Component picking apparatus, component picking method and component mounting apparatus | |
| JP3681843B2 (en) | Electronic component correction angle correction method and electronic component mounting apparatus using the same | |
| CN116158203A (en) | Display device and interference confirmation method | |
| JPH0797059A (en) | Object extractor | |
| JP3755215B2 (en) | Multi-layer laminate positioning device | |
| CN115872018B (en) | Electronic tray labeling correction system and method based on 3D visual sensing | |
| JP3371776B2 (en) | Nozzle stocker position and height teaching method in electronic component mounting apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |