JPH04238206A - Multi-visual field recognizing method for pattern - Google Patents

Multi-visual field recognizing method for pattern

Info

Publication number
JPH04238206A
JPH04238206A JP3005444A JP544491A JPH04238206A JP H04238206 A JPH04238206 A JP H04238206A JP 3005444 A JP3005444 A JP 3005444A JP 544491 A JP544491 A JP 544491A JP H04238206 A JPH04238206 A JP H04238206A
Authority
JP
Japan
Prior art keywords
recognition
corner
view
pattern
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3005444A
Other languages
Japanese (ja)
Other versions
JP2974794B2 (en
Inventor
Akihiro Kumazaki
熊崎 章洋
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3005444A priority Critical patent/JP2974794B2/en
Publication of JPH04238206A publication Critical patent/JPH04238206A/en
Application granted granted Critical
Publication of JP2974794B2 publication Critical patent/JP2974794B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To recognize the position of a part with size not contained in recognition visual fields via the recognition information from pickup images in the recognition visual fields set at multiple positions. CONSTITUTION:Recognition visual fields each serving as a unit pickup object for one corner of an angular pattern which is a recognition object and two sides of this corner are set at multiple corners of the angular pattern, and the required position of the angular pattern is determined from the position information of the corner of the angular pattern of the pickup image in each recognition visual field and the relative position information of the recognition visual fields.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、角形パターンの多視野
認識方法に関し、詳しくは一つの角形パターンに対し複
数の認識視野での撮像画像から所要位置を認識する角形
パターンの多視野認識方法に関するものである。
[Field of Industrial Application] The present invention relates to a multi-view recognition method for a rectangular pattern, and more particularly to a multi-view recognition method for a rectangular pattern that recognizes a desired position from images captured in a plurality of recognition fields for one rectangular pattern. It is something.

【0002】0002

【従来の技術】従来、四角形をしたIC部品等の代表点
、多くは部品の中心を求める方法において、認識処理を
行う場合、部品のリードの像の一部を用いて部品全体の
代表点を求めるか、または部品全体のリードの像を認識
し、その平均値から部品の代表点を求める方法がある。 さらに部品外形の近似直線を求め、この近似直線で囲ま
れた外接長方形の中心を求めると云った方法も採られて
いる。
[Prior Art] Conventionally, when performing recognition processing in a method of finding the representative point of a rectangular IC component, often the center of the component, a part of the lead image of the component is used to find the representative point of the entire component. Alternatively, there is a method of recognizing the lead image of the entire part and finding the representative point of the part from the average value. Another method is to find an approximate straight line of the part outline and find the center of a circumscribed rectangle surrounded by this approximate straight line.

【0003】0003

【発明が解決しようとする課題】上記リードの像の一部
から求める方法にあっては、部品の大きさが視野以上で
あっても、部品の一部を認識するだけでよいため、視野
による部品の大きさの制限はない。しかし部品の全体像
はつかみにくく、真の代表点は判別しにくい。また部品
全体のリードを検出する方法にあっては、部品全体を撮
像する必要があり、部品の大きさは視野の大きさに制限
される。
[Problem to be Solved by the Invention] In the above method of obtaining information from a part of the lead image, even if the size of the part is larger than the field of view, it is only necessary to recognize a part of the part. There are no restrictions on the size of parts. However, it is difficult to get an overall picture of the part, and it is difficult to determine the true representative points. Furthermore, in the method of detecting leads of the entire component, it is necessary to image the entire component, and the size of the component is limited to the size of the field of view.

【0004】また視野以上の大きな部品の場合、認識視
野の移動を行いながらリードを検出する方法もあるが、
従来の方法では対向する2辺または全辺にリードがある
場合しか対応できていない。リードの存在しない、また
リードが判別しにくい部品については、各辺の近似直線
から外接四角形を描き、そこから代表点を求める場合に
おいては、一視野内で写すことができる部品に限られる
[0004] Furthermore, in the case of parts larger than the field of view, there is a method of detecting leads while moving the recognition field of view.
Conventional methods can only handle cases where there are leads on two opposing sides or on all sides. For parts that do not have leads or for which leads are difficult to distinguish, drawing a circumscribed rectangle from approximate straight lines on each side and finding representative points from it is limited to parts that can be photographed within one field of view.

【0005】そこで本発明は、一つの角形パターンの複
数の部分に対応した認識視野での撮像画像から全体像に
対応した位置を認識し、パターンの大きさに係わりなく
、代表点等必要位置を高精度に求められる角形パターン
の多視野認識方法を提供することを課題とするものであ
る。
Therefore, the present invention recognizes the position corresponding to the entire image from the captured image in the recognition field corresponding to a plurality of parts of one rectangular pattern, and determines the necessary positions such as representative points regardless of the size of the pattern. The object of the present invention is to provide a multi-view recognition method for rectangular patterns that requires high accuracy.

【0006】[0006]

【課題を解決するための手段】本発明は上記のような課
題を解決するため、認識対象である角形パターンの一つ
のコーナ部を単位撮像対象とした認識視野を、前記角形
パターンの複数のコーナに対応して設定し、各認識視野
にて撮像した角形パターン像の認識視野上でのコーナの
位置情報と、それら位置情報を認識した各認識視野の相
対位置情報とから、角形パターンの所要位置を演算し認
識することを特徴とするものである。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a recognition field of view in which one corner of a rectangular pattern to be recognized is a unit imaging target, and a recognition field of view in which one corner of a rectangular pattern to be recognized is divided into multiple corners of the rectangular pattern. The required position of the rectangular pattern is determined from the corner position information on the recognition field of view of the rectangular pattern image set corresponding to and captured in each recognition field of view, and the relative position information of each recognition field of view that recognized the position information. It is characterized by calculating and recognizing.

【0007】[0007]

【作用】本発明の上記構成によれば、角形パターンの複
数のコーナ部をそれぞれ異なった位置に設定される認識
視野にて撮像するが、それぞれの認識視野での角形パタ
ーンの像の複数のコーナの位置情報と、それらの位置情
報を認識した各認識視野の位置情報とは、角形パターン
の全体像でのコーナ位置を一義的に決定する要素をなす
ので、これら情報から角形パターンの全体像に対応した
所要位置を演算により高精度に求め認識することができ
る。
[Operation] According to the above configuration of the present invention, a plurality of corners of a rectangular pattern are imaged in recognition fields of view set at different positions, but a plurality of corners of an image of a rectangular pattern in each recognition field of view are imaged. The positional information of , and the positional information of each recognition field of view that recognizes that positional information are the elements that uniquely determine the corner position in the overall image of the rectangular pattern. The corresponding required position can be calculated and recognized with high precision.

【0008】[0008]

【実施例】以下本発明の一実施例を図を参照して詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0009】本実施例は、図4以下に示すような平面形
状が四角形な電子部品である大型チップ部品9の位置お
よびその代表点としての中心位置Gを認識する場合を示
している。認識は図1に示すビデオカメラ1を用いて行
う。ビデオカメラ1はマイクロコンピュータ2に制御さ
れる駆動装置3によって撮像や認識視野の位置変換等の
必要な動作制御を受ける。
This embodiment shows a case where the position of a large chip component 9, which is an electronic component having a rectangular planar shape as shown in FIG. 4 and subsequent figures, and the center position G as its representative point are recognized. Recognition is performed using a video camera 1 shown in FIG. The video camera 1 is controlled by a drive device 3 controlled by a microcomputer 2 to perform necessary operational controls such as imaging and changing the position of the recognition field of view.

【0010】ビデオカメラ1の撮像による画像は画像処
理装置4を通じてマイクロコンピュータ2により必要な
認識や処理を受ける。これら制御のためマイクロコンピ
ュータ2は予め設定されたプログラム5を格納しており
、入力装置6から必要な外部入力を受ける。
Images captured by the video camera 1 are subjected to necessary recognition and processing by the microcomputer 2 via the image processing device 4. For these controls, the microcomputer 2 stores a preset program 5 and receives necessary external inputs from an input device 6.

【0011】認識の操作手順は図2、図3のフローチャ
ートで示す通りである。これについて説明する。
The recognition operation procedure is as shown in the flowcharts of FIGS. 2 and 3. This will be explained.

【0012】まず認識しようとする部品9のX、Y2方
向の寸法を入力装置6によって入力し、部品9の必要な
データを登録する(ステップ#1)。次で図4に示すよ
うにビデオカメラ1の認識視野7を部品9の第1のコー
ナ11に対応する第1の位置に移動し、撮像する(ステ
ップ#2)。ここで認識視野7における第1のコーナ1
1の位置x1 、y1と、第1のコーナ11をなす2辺
21、22のX、Y軸に対する傾きθx1、θy1とを
演算して認識し、これを登録する(ステップ#3〜#5
)。
First, the dimensions of the part 9 to be recognized in the X and Y directions are input using the input device 6, and necessary data of the part 9 is registered (step #1). Next, as shown in FIG. 4, the recognition field 7 of the video camera 1 is moved to a first position corresponding to the first corner 11 of the component 9, and an image is taken (step #2). Here, the first corner 1 in the recognition field of view 7
The positions x1 and y1 of the first corner 11 and the inclinations θx1 and θy1 of the two sides 21 and 22 forming the first corner 11 with respect to the X and Y axes are calculated and recognized, and these are registered (Steps #3 to #5
).

【0013】これが終了すると、認識視野7を部品9の
第2のコーナ12に対応した図5の位置に移動させる(
ステップ#6)。この移動はステップ#1での入力デー
タに基づき予め決定されている量だけ行われる。またこ
れに並行してステップ#1での入力データと、ステップ
#5での登録データとから第2のコーナ12の予想位置
を演算する(ステップ#7)。
When this is completed, the recognition field 7 is moved to the position shown in FIG. 5 corresponding to the second corner 12 of the part 9 (
Step #6). This movement is performed by a predetermined amount based on the input data in step #1. In parallel to this, the predicted position of the second corner 12 is calculated from the input data at step #1 and the registered data at step #5 (step #7).

【0014】ステップ#6の移動と、ステップ#7の演
算とが終了するのを待って(ステップ#8、#9)、図
5の位置で認識視野17による撮像を行う(ステップ#
10)。そして第2のコーナ12の位置x2 、y2を
演算して認識する(ステップ#11)。次でこの位置x
2 、y2と前記予想位置とを比較し、許容範囲を越え
ていると部品9が異部品か欠損品かの不良と判別し、以
降の検出動作を中止する(ステップ#12、#13)。
After waiting for the movement in step #6 and the calculation in step #7 to be completed (steps #8 and #9), imaging is performed using the recognition field of view 17 at the position shown in FIG.
10). Then, the positions x2 and y2 of the second corner 12 are calculated and recognized (step #11). Next, this position x
2, y2 is compared with the predicted position, and if it exceeds the allowable range, the part 9 is determined to be defective, such as a different part or a missing part, and subsequent detection operations are stopped (steps #12 and #13).

【0015】またこの検出が部品実装機において実装部
品に対して行っているような場合は、実装動作をも中止
するようにするのが好適である。
[0015] Furthermore, when this detection is performed on the mounted components in a component mounting machine, it is preferable to also stop the mounting operation.

【0016】ステップ#12で不良が検出されたかった
場合は、第2のコーナ12をなす2辺22,23の傾き
θx2、θy2を演算して認識した後、前記位置x2 
、y2  と傾きθx2、θy2とを登録する(ステッ
プ#14、#15)。
If a defect is to be detected in step #12, after calculating and recognizing the inclinations θx2 and θy2 of the two sides 22 and 23 forming the second corner 12, the position x2 is detected.
, y2 and the slopes θx2 and θy2 (steps #14 and #15).

【0017】続いて図7の第4のコーナ14に対応する
最終画面かどうかを判断する(ステップ#16)。最終
画面でなければステップ#6に戻り、最終画面となるま
で第3のコーナ13、第4のコーナ14の位置x3 ,
y3、x4 ,y4とそれらをなす2辺23,24およ
び24,21の傾きθx3,θy3、θx4,θy4と
を演算により認識し、登録を行う(ステップ#6〜#1
6の切り返し)。
Next, it is determined whether the final screen corresponds to the fourth corner 14 in FIG. 7 (step #16). If it is not the final screen, return to step #6, and repeat the position x3 of the third corner 13, fourth corner 14 until the final screen is reached.
y3, x4, y4 and the slopes θx3, θy3, θx4, θy4 of the two sides 23, 24 and 24, 21 forming them are recognized by calculation and registered (steps #6 to #1
6).

【0018】ステップ#16で最終画面であると、ステ
ップ#17に移行し、前記第1〜第4の各コーナ11〜
14の位置x1 、y1〜x4 、y4および、それら
コーナ11〜14をなす2辺21,22、22,23、
23,24、24,21の傾きθx1、θy1〜θx4
、θy4から部品9の中心位置Gと傾きを演算にて認識
する。
If it is the final screen in step #16, the process moves to step #17, and each of the first to fourth corners 11 to
14 positions x1, y1 to x4, y4 and the two sides 21, 22, 22, 23 forming those corners 11 to 14,
23, 24, 24, 21 slope θx1, θy1 to θx4
, θy4, the center position G and inclination of the component 9 are recognized by calculation.

【0019】図8は各移動位置の認識視野7を同時に示
したもので、L−αは認識視野7の移動量を示し、この
移動により部品9の全体像に関してのコーナ位置と各辺
の向きが撮像され、これらと各認識視野位置との関係か
ら、部品9の全体像に関したコーナ位置と向きが一義的
に決定される状態が分かる。そしてこの決定から部品9
の全体像における真正な中心位置Gを算出することがで
きるのも分かる。
FIG. 8 shows the recognition field of view 7 at each moving position at the same time, and L-α indicates the amount of movement of the recognition field of view 7, and this movement allows the corner position and direction of each side to be determined with respect to the overall image of the part 9. is imaged, and from the relationship between these images and each recognized visual field position, it can be seen that the corner position and orientation regarding the entire image of the component 9 are uniquely determined. And from this decision part 9
It can also be seen that the true center position G in the entire image can be calculated.

【0020】以上により部品9が大きくて認識視野7に
入らなくても、認識視野7を移動させて各コーナ部を順
次撮像して行くことにより、部品9の位置や傾きを部品
9の全体像に関連して認識することができる。
As described above, even if the part 9 is too large to fit into the recognition field of view 7, by moving the recognition field of view 7 and sequentially taking images of each corner, the position and inclination of the part 9 can be determined as a whole image of the part 9. can be recognized in relation to

【0021】なお、認識視野7ではコーナとこのコーナ
をなす2辺の傾きが分かればよいのであるから、認識視
野7の移動で必ずしも部品9の全体を撮像する必要はな
い。したがって前記認識方式であれば認識対象部品の大
きさに制限はない。部品の向きの認識は必要に応じて行
えばよい。
Note that in the recognition field of view 7, it is only necessary to know the corner and the inclination of the two sides forming this corner, so it is not necessarily necessary to image the entire part 9 by moving the recognition field of view 7. Therefore, if the recognition method described above is used, there is no limit to the size of the part to be recognized. The orientation of the parts may be recognized as necessary.

【0022】また上記実施例では、四角形なパターンを
持つ電子部品の場合について述べたが、これに限らず三
角形等他の各形パターンの位置や傾きをも同様に認識す
ることができる。この場合パターンの形状によっては全
コーナの内の幾つかのコーナ部についての認識を省略す
ることができる。
Further, in the above embodiment, the case of an electronic component having a rectangular pattern has been described, but the position and inclination of various shapes such as a triangular pattern can be similarly recognized. In this case, recognition of some of all corners can be omitted depending on the shape of the pattern.

【0023】[0023]

【発明の効果】本発明によれば、角形パターンの複数の
コーナ部をそれぞれ異なった位置に設定される認識視野
にて撮像するが、それぞれの認識視野での角形パターン
の像の複数のコーナの位置情報と、それらの位置情報を
認識した各認識視野の位置情報とは、角形パターンの全
体像でのコーナ位置を一義的に決定する要素をなすので
、これら情報から角形パターンの全体像に対応した所要
位置を演算により高精度に求め認識することができ、パ
ターンが大きすぎて認識視野に入り切らない場合に有効
である。
According to the present invention, a plurality of corners of a rectangular pattern are imaged in recognition fields of view set at different positions. The position information and the position information of each recognition field of view that recognizes the position information are elements that uniquely determine the corner position in the overall image of the rectangular pattern, so it is possible to respond to the overall image of the rectangular pattern from these information. The required position can be calculated and recognized with high precision, and is effective when the pattern is too large to fit within the recognition field of view.

【0024】また部品に対する撮像が部品の必要コーナ
部に対してなされればよく、部品の全体に及ばなくても
よいので、パターンの大きさに制限なくその所要位置を
認識することができる。
[0024]Furthermore, since the imaging of the part only needs to be done at a necessary corner of the part and does not need to cover the entire part, the required position can be recognized without any restriction on the size of the pattern.

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

【図1】本発明が実施される認識装置を示すブロック図
である。
FIG. 1 is a block diagram showing a recognition device in which the present invention is implemented.

【図2】本発明の認識方法の操作手順を示すフローチャ
ートである。
FIG. 2 is a flowchart showing the operating procedure of the recognition method of the present invention.

【図3】本発明の認識方法の操作手順を示すフローチャ
ートである。
FIG. 3 is a flowchart showing the operating procedure of the recognition method of the present invention.

【図4】パターンの第1のコーナの撮像状態を示す認識
視野図である。
FIG. 4 is a recognition visual field diagram showing an imaging state of a first corner of a pattern.

【図5】パターンの第2のコーナの撮像状態を示す認識
視野図である。
FIG. 5 is a recognition visual field diagram showing an imaging state of a second corner of a pattern.

【図6】パターンの第3のコーナの撮像状態を示す認識
視野図である。
FIG. 6 is a recognition visual field diagram showing the imaging state of the third corner of the pattern.

【図7】パターンの第4のコーナの撮像状態を示す認識
視野図である。
FIG. 7 is a recognition visual field diagram showing the imaging state of the fourth corner of the pattern.

【図8】図4〜図7の各認識視野での撮像画像を重ねて
示した説明図である。
FIG. 8 is an explanatory diagram in which captured images in each recognition field of view in FIGS. 4 to 7 are superimposed.

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

1  ビデオカメラ 2  マイクロコンピュータ 3  駆動装置 4  画像認識装置 5  プログラム 6  入力装置 9  部品 11  第1のコーナ 12  第2のコーナ 13  第3のコーナ 14  第4のコーナ 21〜24  辺 G  中心位置 x1 、y1〜x4 、y4  位置 1 Video camera 2 Microcomputer 3 Drive device 4 Image recognition device 5 Program 6 Input device 9 Parts 11 First corner 12 Second corner 13 Third corner 14 4th corner 21-24 sides G Center position x1, y1~x4, y4 position

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  認識対象である角形パターンの一つの
コーナ部を単位撮像対象とした認識視野を、前記角形パ
ターンの複数のコーナに対応して設定し、各認識視野に
て撮像した角形パターン像の認識視野上でのコーナの位
置情報と、それら位置情報を認識した各認識視野の相対
位置情報とから、角形パターンの所要位置を演算し認識
することを特徴とする角形パターンの多視野認識方法。
1. A rectangular pattern image captured in each recognition visual field by setting a recognition visual field corresponding to a plurality of corners of the rectangular pattern with one corner of the rectangular pattern to be recognized as a unit imaging target. A multi-view recognition method for a rectangular pattern, characterized in that the required position of the rectangular pattern is calculated and recognized from corner position information on the recognition field of view and relative position information of each recognition field of view that recognizes the position information. .
JP3005444A 1991-01-22 1991-01-22 Multi-view recognition method for polygonal parts Expired - Fee Related JP2974794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3005444A JP2974794B2 (en) 1991-01-22 1991-01-22 Multi-view recognition method for polygonal parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3005444A JP2974794B2 (en) 1991-01-22 1991-01-22 Multi-view recognition method for polygonal parts

Publications (2)

Publication Number Publication Date
JPH04238206A true JPH04238206A (en) 1992-08-26
JP2974794B2 JP2974794B2 (en) 1999-11-10

Family

ID=11611376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3005444A Expired - Fee Related JP2974794B2 (en) 1991-01-22 1991-01-22 Multi-view recognition method for polygonal parts

Country Status (1)

Country Link
JP (1) JP2974794B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009109505A (en) * 2008-12-05 2009-05-21 Nec Corp Apparatus and method for appearance inspection
JP2010021248A (en) * 2008-07-09 2010-01-28 Fuji Mach Mfg Co Ltd Component image capturing device and component image capturing method
WO2018174011A1 (en) * 2017-03-22 2018-09-27 住友重機械工業株式会社 Position detection device and position detection method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010021248A (en) * 2008-07-09 2010-01-28 Fuji Mach Mfg Co Ltd Component image capturing device and component image capturing method
JP2009109505A (en) * 2008-12-05 2009-05-21 Nec Corp Apparatus and method for appearance inspection
WO2018174011A1 (en) * 2017-03-22 2018-09-27 住友重機械工業株式会社 Position detection device and position detection method
CN110446905A (en) * 2017-03-22 2019-11-12 住友重机械工业株式会社 Position detecting device and method for detecting position

Also Published As

Publication number Publication date
JP2974794B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
JPH04238206A (en) Multi-visual field recognizing method for pattern
JPH0335108A (en) Lead position recognition device
JP4172728B2 (en) Image processing method
JPH08192337A (en) Alignment method
JP2007040968A (en) Method and device for detecting component position
JP3725993B2 (en) Electronic component mounting circuit board inspection method and apparatus
JP2965362B2 (en) Electronic component recognition method
JP4566686B2 (en) Method and apparatus for determining shape of object
JPH02127393A (en) Object position detecting device
JPH06260794A (en) Method and equipment for recognizing position of electronic part
JP2562047B2 (en) Position and orientation recognition method of target object
JPH06270083A (en) Work position detector
JP4815592B2 (en) Object detection method
JPH095022A (en) Pattern position detecting method and apparatus by image recognition
JP4087973B2 (en) Inter-component inspection method and apparatus for mounted components
JPH0510719A (en) Electronic part's position detecting method
JPH05313380A (en) Aligning device
JP2539071B2 (en) Alignment device
JP3124336B2 (en) Wire bonding method
JP2974788B2 (en) Pattern position detection method
Hatano et al. Image-based visual servo using zoom mechanism
JP2904552B2 (en) Component representative point detection method
KR20000056739A (en) Inspecting apparatus for pcb and teaching method and library modifying method thereof
JPH06260527A (en) Image processing device and edge detection as well as position detection
JPH04174311A (en) Inspecting apparatus for printed circuit board

Legal Events

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