[go: up one dir, main page]

JPH07243810A - Electronic component position recognition method and position recognition device - Google Patents

Electronic component position recognition method and position recognition device

Info

Publication number
JPH07243810A
JPH07243810A JP6034470A JP3447094A JPH07243810A JP H07243810 A JPH07243810 A JP H07243810A JP 6034470 A JP6034470 A JP 6034470A JP 3447094 A JP3447094 A JP 3447094A JP H07243810 A JPH07243810 A JP H07243810A
Authority
JP
Japan
Prior art keywords
lead
bumper
electronic component
data
width
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
Application number
JP6034470A
Other languages
Japanese (ja)
Inventor
Masanori Tsuchida
真規 土田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6034470A priority Critical patent/JPH07243810A/en
Publication of JPH07243810A publication Critical patent/JPH07243810A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Abstract

(57)【要約】 【目的】 バンパ部を有するICの位置を認識できるよ
うにする。 【構成】 IC1はパッケージ2の四辺部にリード部
4,四隅にバンパ部3を有する。CCDカメラ7により
IC1を下面側から撮影する。視覚認識コントローラ9
は、画像データを入力してリード部4と両端のバンパ部
3とを横切るように直線的に走査して二値化データを求
め、物体の存在部分のデータの走査幅を検出する。バン
パ部3の走査幅とリード部4の各リード線間の走査幅は
異なるので、IC1の寸法データと比較することにより
バンパ部3を特定できる。リード部4の画像データに基
づいてIC1の中心位置と傾き角度を演算して求め、プ
リント基板6への実装時に位置を修正する。
(57) [Abstract] [Purpose] To make it possible to recognize the position of an IC that has a bumper section. [Structure] The IC 1 has lead portions 4 on four sides of the package 2 and bumper portions 3 on four corners. The CCD camera 7 photographs the IC 1 from the bottom side. Visual recognition controller 9
Inputs image data, linearly scans the lead portion 4 and the bumper portions 3 at both ends to obtain binarized data, and detects the scanning width of the data in the portion where the object exists. Since the scanning width of the bumper portion 3 and the scanning width between the lead wires of the lead portion 4 are different, the bumper portion 3 can be specified by comparing with the dimensional data of the IC 1. The center position and the tilt angle of the IC 1 are calculated and calculated based on the image data of the lead portion 4, and the position is corrected when the IC 1 is mounted on the printed circuit board 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パッケージ外部に複数
のリード線からなるリード部およびそのリード部を保護
するように両端部にバンパ部が形成された電子部品を位
置認識対象とし、これを撮影して得られる撮像データに
基づいてその位置を認識するようにした電子部品の位置
認識方法および位置認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is intended for position recognition of a lead portion formed of a plurality of lead wires outside a package and an electronic component having bumper portions formed at both ends so as to protect the lead portion. The present invention relates to a position recognizing method and a position recognizing device for an electronic component, the position of which is recognized based on imaged data obtained by photographing.

【0002】[0002]

【従来の技術】例えば、IC等の電子部品をプリント基
板に自動実装する装置においては、装着すべき電子部品
をロボットヘッドに吸着固定した状態でプリント基板上
まで搬送すると共に、その電子部品をプリント基板のあ
らかじめ決められた装着部位に装着するように構成され
ている。
2. Description of the Related Art For example, in an apparatus for automatically mounting electronic components such as ICs on a printed circuit board, the electronic components to be mounted are sucked and fixed to a robot head and conveyed onto the printed circuit board, and the electronic components are printed. It is configured to be mounted on a predetermined mounting portion of the board.

【0003】近年、IC等の電子部品の小形化が進むに
伴って、プリント基板上の実装密度も高くなり、電子部
品を装着するにあたっては高い位置精度が要求されてき
ている。そこで、ロボットヘッドとこれに吸着された電
子部品の相対位置がずれることを考慮して、移送する途
中の電子部品をCCDカメラ等により撮影し、その撮影
データから基準位置に対する電子部品の吸着固定位置の
ずれを正確に検出し、その検出結果に基づいてプリント
基板に対する装着位置を補正するようにしている。
In recent years, with the progress of miniaturization of electronic parts such as ICs, the mounting density on a printed circuit board has increased, and high positional accuracy has been required for mounting electronic parts. Therefore, taking into account that the relative position of the robot head and the electronic component attracted to it is shifted, the electronic component being transferred is photographed by a CCD camera or the like, and the adsorption fixing position of the electronic component with respect to the reference position is taken from the photographed data. Is accurately detected, and the mounting position on the printed circuit board is corrected based on the detection result.

【0004】この場合、電子部品の位置を認識する方法
としては、次のような方法が考えられている。すなわ
ち、一般に、位置認識対象となる電子部品の形状は、半
導体チップが封止された樹脂製のパッケージ部から多数
のリード線を導出した形状に形成されている。そこで、
この電子部品の平面形状をCCDカメラ等により撮影し
て画像データを入力し、この画像データを二値化処理等
を行うことにより電子部品の輪郭形状に対応する二値化
データを得る。そして、この二値化データに基づいて全
体からリード部とパッケージ部とを識別し、得られたパ
ッケージ部の外形形状からその中心線などを求めること
により電子部品の中心位置および傾き角度を検出するの
である。
In this case, the following method is considered as a method for recognizing the position of the electronic component. That is, generally, the shape of the electronic component that is the position recognition target is formed in a shape in which a large number of lead wires are led out from a resin-made package portion in which a semiconductor chip is sealed. Therefore,
Binary data corresponding to the contour shape of the electronic component is obtained by photographing the planar shape of the electronic component with a CCD camera or the like, inputting image data, and performing binarization processing or the like on the image data. Then, the lead portion and the package portion are identified from the whole based on the binarized data, and the center line and the tilt angle of the electronic component are detected by obtaining the center line and the like from the outer shape of the obtained package portion. Of.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述したよ
うな電子部品を位置認識方法は、位置認識対象としてい
る電子部品が、矩形状をなすパッケージ部とその外部に
導出されたリード線部とからなる外形形状をしているこ
とを前提として中心位置あるいは傾き角度等を検出する
ようにしているが、近年、この前提条件に対応しない外
形形状をなす電子部品として、例えば、バンパ付QFP
(Quad Flat Package )タイプのパッケージを有するI
Cが出現してきたため、上述のような従来の位置認識方
法では対処できず、自動実装に支障を来しているのが実
情である。
By the way, in the position recognition method for an electronic component as described above, the electronic component whose position is to be recognized is composed of a rectangular package portion and a lead wire portion led to the outside thereof. The center position, the tilt angle, and the like are detected on the assumption that the external shape is as follows. In recent years, for example, an electronic component having an external shape that does not meet this prerequisite is, for example, a QFP with bumper.
I with a (Quad Flat Package) type package
Since C has appeared, it cannot be dealt with by the conventional position recognition method as described above, and the actual situation is hindering automatic mounting.

【0006】このようなバンパ付QFPタイプのIC
は、例えば、従来と同様のQFPタイプの矩形状をなす
パッケージの四隅に対角線方向に向けて突出したバンパ
部が形成されたもので、四辺部から導出されているリー
ド線部が実装前に外部と接触するなどして変形するのを
防止するようにバンパ部が設けられたものである。した
がって、従来方法に従って平面形状を撮影してもパッケ
ージ部とリード部とを識別する際に、リード部がバンパ
部に挟まれた状態となるために、その位置を認識できな
くなるものである。
Such a QFP type IC with bumper
Is, for example, a bumper portion projecting in a diagonal direction is formed at four corners of a QFP type rectangular package similar to the conventional one, and the lead wire portions led out from the four sides are externally mounted before mounting. The bumper part is provided so as to prevent the bumper part from being deformed due to contact with the like. Therefore, even if the planar shape is photographed according to the conventional method, when the package portion and the lead portion are distinguished from each other, the lead portion is sandwiched by the bumper portions, so that the position cannot be recognized.

【0007】本発明は、上記事情に鑑みてなされたもの
で、その目的は、バンパ付電子部品のようなリード線部
の両側にバンパ部を有する電子部品においてもその位置
を正確に認識することができるようにした電子部品の位
置認識方法および位置認識装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to accurately recognize the position even in an electronic component having a bumper portion on both sides of a lead wire portion such as a bumper-equipped electronic component. An object of the present invention is to provide a position recognition method and a position recognition device for an electronic component, which are capable of performing the above.

【0008】[0008]

【課題を解決するための手段】本発明の電子部品の位置
認識方法は、パッケージ外部に複数のリード線からなる
リード部およびそのリード部を保護するように両端部に
バンパ部が形成された電子部品を位置認識対象とし、撮
像手段により前記電子部品を撮影したときに得られる画
像データから前記リード部の複数のリード線を横切るよ
うに直線的に走査して二値化データを作成する二値化処
理ステップと、この二値化処理過程により得られた二値
化データと前記電子部品のリード部およびバンパ部の寸
法データとに基づいて前記リード部とバンパ部とを識別
する識別ステップと、この識別ステップにて識別された
前記リード部に対応する前記画像データに基づいて前記
電子部品の位置を演算する演算ステップとを設けて構成
したところに特徴を有する。
A method for recognizing a position of an electronic component according to the present invention is an electronic device in which bumps are formed at both ends so as to protect a lead portion composed of a plurality of lead wires outside the package and the lead portion. A binary for creating binary data by linearly scanning a part as a position recognition target so as to cross a plurality of lead wires of the lead part from image data obtained when the electronic part is photographed by the image pickup means. And a step of identifying the lead portion and the bumper portion based on the binarized data obtained by the binarizing process and the dimension data of the lead portion and the bumper portion of the electronic component, And a calculation step for calculating the position of the electronic component based on the image data corresponding to the lead portion identified in the identification step. A.

【0009】前記識別ステップを、前記二値化データか
ら前記バンパ部の走査幅およびリード部の各リード線の
走査幅を検出する走査幅検出ステップと、前記電子部品
のバンパ部の幅寸法データが記憶された記憶手段からの
寸法データに基づいて、前記走査幅検出ステップにて検
出された前記走査幅から前記バンパ部に相当する部分を
特定して前記バンパ部と前記リード部とを判別する判別
ステップとから構成すると良い。
The identification step includes a scanning width detection step of detecting the scanning width of the bumper portion and the scanning width of each lead wire of the lead portion from the binarized data, and width dimension data of the bumper portion of the electronic component. Based on the stored dimensional data from the storage means, a portion corresponding to the bumper portion is specified from the scanning width detected in the scanning width detecting step to discriminate between the bumper portion and the lead portion. It is better to configure it with steps.

【0010】また、前記識別ステップを、前記二値化デ
ータから前記バンパ部と前記リード部との間の走査幅お
よび前記リード部のリード線間の走査幅を検出する走査
幅検出ステップと、前記電子部品のバンパ部とリード部
との間の幅寸法データが記憶された記憶手段からの寸法
データに基づいて、前記走査幅検出ステップにて検出さ
れた前記走査幅から前記バンパ部とリード部との間の幅
寸法に相当する部分を特定して前記バンパ部と前記リー
ド部とを判別する判別ステップとから構成することもで
きる。
The identifying step includes a scanning width detecting step of detecting a scanning width between the bumper portion and the lead portion and a scanning width between lead wires of the lead portion from the binarized data, Based on the dimension data from the storage means that stores the width dimension data between the bumper portion and the lead portion of the electronic component, the bumper portion and the lead portion are detected from the scanning width detected in the scanning width detecting step. It is also possible to include a determination step of determining the bumper portion and the lead portion by specifying a portion corresponding to the width dimension between the two.

【0011】さらに、前記識別ステップを、前記二値化
データのうちの物体の存在を示すデータの両端部に位置
している部分を前記電子部品のバンパ部として特定する
ことにより前記バンパ部と前記リード部とを判別するよ
うにしても良い。
Further, in the identifying step, the portions located at both ends of the data indicating the existence of the object in the binarized data are specified as the bumper portion of the electronic component, and the bumper portion and the bumper portion are identified. You may make it discriminate | determine from a lead part.

【0012】また、本発明の電子部品の位置認識装置
は、パッケージ外部に複数のリード線からなるリード部
およびそのリード部を保護するように両端部にバンパ部
が形成された電子部品を位置認識対象としており、前記
電子部品を撮影する撮像手段と、この撮像手段からの画
像データに基づいて前記リード部の複数のリード線を横
切るように直線的に走査して二値化データを作成する二
値化処理手段と、この二値化処理手段により得られた二
値化データと前記電子部品のリード部およびバンパ部の
寸法データとに基づいて前記リード部とバンパ部とを識
別する識別手段と、この識別手段にて識別された前記リ
ード部に対応する前記画像データに基づいて前記電子部
品の位置を演算する演算手段とを設けて構成したところ
に特徴を有する。
Further, the electronic component position recognizing device of the present invention is capable of recognizing the position of an electronic component having bumpers at both ends so as to protect the lead portion composed of a plurality of lead wires outside the package and the lead portion. An image pickup device for taking an image of the electronic component, and a binary data that is linearly scanned across a plurality of lead wires of the lead portion based on image data from the image pickup device. And a discriminating means for discriminating the lead portion and the bumper portion based on the binarized data obtained by the binarizing processing means and the dimension data of the lead portion and the bumper portion of the electronic component. And a calculating means for calculating the position of the electronic component based on the image data corresponding to the lead portion identified by the identifying means.

【0013】上記構成において、前記電子部品のバンパ
部の幅寸法データが記憶された記憶手段を設け、前記識
別手段を、前記二値化データから前記バンパ部の走査幅
およびリード部の各リード線の走査幅を検出する走査幅
検出手段と、前記記憶手段からの寸法データに基づい
て、前記走査幅検出手段により検出された前記走査幅か
ら前記バンパ部に相当する部分を特定して前記バンパ部
と前記リード部とを判別する判別手段とから構成すると
良い。
In the above structure, a storage means for storing width dimension data of the bumper portion of the electronic component is provided, and the identification means is configured to use the binarized data to scan the bumper portion and each lead wire of the lead portion. And a portion corresponding to the bumper portion from the scanning width detected by the scanning width detecting means based on the dimension data from the scanning width detecting means for detecting the scanning width of the bumper portion. And a discriminating means for discriminating the lead portion.

【0014】また、前記電子部品の前記バンパ部と前記
リード部との間の幅寸法データが記憶された記憶手段を
設け、前記識別手段を、前記二値化データから前記バン
パ部と前記リード部との間の幅寸法および前記リード部
の各リード線間の走査幅を検出する走査幅検出手段と、
前記記憶手段からの寸法データに基づいて前記走査幅検
出手段により検出された前記走査幅から前記バンパ部と
リード部との間の幅寸法に相当する部分を特定して前記
バンパ部と前記リード部とを判別する判別手段とから構
成することもできる。
Storage means for storing width dimension data between the bumper portion and the lead portion of the electronic component is provided, and the identifying means is used to identify the bumper portion and the lead portion from the binarized data. A scanning width detecting means for detecting a width dimension between and a scanning width between the lead wires of the lead portion,
Based on the dimension data from the storage means, a portion corresponding to the width dimension between the bumper portion and the lead portion is specified from the scanning width detected by the scanning width detection means to specify the bumper portion and the lead portion. It can also be configured by a determination means for determining

【0015】さらに、前記識別手段を、前記二値化デー
タのうちの物体の存在を示すデータの両端部に位置して
いる部分を前記電子部品のバンパ部として特定すること
により前記バンパ部と前記リード部とを判別するように
構成しても良い。
Further, the identifying means identifies the portions located at both ends of the data indicating the presence of the object in the binarized data as the bumper portion of the electronic component, and the bumper portion and the bumper portion. It may be configured to discriminate the lead portion.

【0016】[0016]

【作用】請求項1記載の電子部品の位置認識方法によれ
ば、二値化処理ステップにおいては、撮像手段により撮
影された電子部品の画像データをリード部の複数のリー
ド線を横切るようにして直線的に走査され、その走査ラ
イン上の画像データと所定のしきい値とを比較すること
により二値化データが作成されるようになる。そして、
識別ステップにおいては、二値化データにより得られる
電子部品のリード部のリード線の走査幅あるいはバンパ
部の走査幅を求め、その走査幅と実際の電子部品の対応
する寸法データと比較することにより画像データにおけ
る電子部品のリード部およびバンパ部に対応する部分を
識別する。演算ステップにおいては、識別されたリード
部の画像データに基づいて電子部品の位置を演算するよ
うになり、電子部品の中心位置あるいは傾き角度などを
求めるようになる。これにより、例えば、バンパ部を有
する電子部品をプリント基板等に自動実装する場合にお
いて、装着すべき電子部品の位置を正しく認識して正確
な位置に実装することができるようになる。
According to the electronic component position recognizing method of the present invention, in the binarizing step, the image data of the electronic component photographed by the image pickup means is made to traverse a plurality of lead wires of the lead portion. Binary data is created by linearly scanning and comparing the image data on the scan line with a predetermined threshold value. And
In the identification step, the scanning width of the lead wire of the lead portion of the electronic component or the scanning width of the bumper portion obtained from the binarized data is obtained, and the scanning width is compared with the corresponding dimension data of the actual electronic component. The portion corresponding to the lead portion and bumper portion of the electronic component in the image data is identified. In the calculation step, the position of the electronic component is calculated based on the image data of the identified lead portion, and the central position or the tilt angle of the electronic component is calculated. Thus, for example, when an electronic component having a bumper portion is automatically mounted on a printed circuit board or the like, it becomes possible to correctly recognize the position of the electronic component to be mounted and mount it at the correct position.

【0017】請求項2記載の電子部品の位置認識方法に
よれば、上述した識別ステップにおいて、走査幅検出ス
テップでは、二値化データから前記バンパ部の走査幅お
よびリード部の各リード線の走査幅を検出し、次に、判
別ステップでは、記憶手段から電子部品のバンパ部の幅
寸法データを読出し、走査幅検出ステップにて検出され
た走査幅と比較することによりその電子部品のバンパ部
に相当する部分を特定してバンパ部とリード部とを判別
するようになる。これにより、バンパ部を有する電子部
品の位置を正しく認識して正確な位置に実装することが
できるようになる。
According to the electronic component position recognizing method of the present invention, in the above-mentioned identification step, in the scanning width detecting step, the scanning width of the bumper portion and the scanning of each lead wire of the lead portion are scanned from the binarized data. The width of the bumper portion of the electronic component is detected by reading the width dimension data of the bumper portion of the electronic component from the storage means and comparing it with the scanning width detected in the scanning width detecting step. The corresponding portion is specified to discriminate between the bumper portion and the lead portion. This makes it possible to correctly recognize the position of the electronic component having the bumper portion and mount the electronic component at the correct position.

【0018】請求項3記載の電子部品の位置認識方法に
よれば、上述した識別ステップにおいて、走査幅検出ス
テップでは、二値化データからバンパ部とリード部との
間の走査幅およびリード部のリード線間の走査幅を検出
し、次に、判別ステップでは、記憶手段から電子部品の
バンパ部とリード部との間の幅寸法データを読出し、走
査幅検出ステップにて検出された走査幅と比較すること
によりその電子部品のバンパ部とリード部との間の幅寸
法に相当する部分を特定してバンパ部とリード部とを判
別するようになる。これにより、バンパ部を有する電子
部品の位置を正しく認識して正確な位置に実装すること
ができるようになる。そして、上述の場合、走査ライン
の始点および終点の位置をバンパ部の外側の位置に設定
しなくともバンパ部の特定を行うことができるようにな
り、走査ラインの設定の自由度が高くなる。
According to the electronic component position recognizing method of the third aspect, in the above-mentioned identification step, in the scanning width detecting step, the scanning width between the bumper portion and the lead portion and the lead portion are detected from the binarized data. The scanning width between the lead wires is detected, and then, in the determining step, the width dimension data between the bumper portion and the lead portion of the electronic component is read from the storage unit, and the scanning width detected in the scanning width detecting step is compared with the scanning width. By comparing, the portion corresponding to the width dimension between the bumper portion and the lead portion of the electronic component is specified to discriminate the bumper portion and the lead portion. This makes it possible to correctly recognize the position of the electronic component having the bumper portion and mount the electronic component at the correct position. In the above case, the bumper portion can be specified without setting the positions of the start point and the end point of the scan line to the positions outside the bumper portion, and the degree of freedom in setting the scan line is increased.

【0019】請求項4記載の電子部品の位置認識方法に
よれば、上述した識別ステップにおいては、二値化デー
タのうちの物体の存在を示すデータの両端部に位置して
いる部分を電子部品のバンパ部として特定することによ
りバンパ部とリード部とを判別するようになる。これに
より、簡単且つ迅速にバンパ部を有する電子部品の位置
を正しく認識して正確な位置に実装することができるよ
うになる。
According to the position recognizing method of the electronic component of the fourth aspect, in the above-mentioned identifying step, the portions located at both ends of the data indicating the presence of the object in the binarized data are electronic components. The bumper portion and the lead portion can be discriminated by specifying the bumper portion. As a result, the position of the electronic component having the bumper portion can be correctly recognized easily and quickly, and the electronic component can be mounted at the correct position.

【0020】請求項5記載の電子部品の位置認識装置に
よれば、撮像手段により電子部品が撮影されると、二値
化処理手段は、撮像手段からの画像データをリード部の
複数のリード線を横切るようにして直線的に走査し、そ
の走査ライン上の画像データと所定のしきい値とを比較
することにより二値化データを作成する。識別手段は、
二値化データにより得られる電子部品のリード部のリー
ド線の走査幅あるいはバンパ部の走査幅を求め、その走
査幅と実際の電子部品の対応する寸法データとを比較す
ることにより画像データにおける電子部品のリード部お
よびバンパ部に対応する部分を識別する。そして、演算
手段は、識別されたリード部の画像データに基づいて電
子部品の位置を演算する。これにより、電子部品の中心
位置あるいは傾き角度などを求めることができ、例え
ば、バンパ部を有する電子部品をプリント基板等に自動
実装する場合において、装着すべき電子部品の位置を正
しく認識して正確な位置に実装することができるように
なる。
According to another aspect of the position recognizing device for electronic parts, when the electronic part is imaged by the imaging means, the binarization processing means converts the image data from the imaging means into a plurality of lead wires of the lead section. Then, the image data on the scanning line is compared with a predetermined threshold value to create binary data. The identification means is
The scan width of the lead wire of the lead part of the electronic component or the scan width of the bumper part obtained from the binarized data is obtained, and the scan width is compared with the corresponding dimension data of the actual electronic component to obtain the electronic data in the image data. Identify the parts that correspond to the lead and bumper parts of the part. Then, the calculation means calculates the position of the electronic component based on the image data of the identified lead portion. This makes it possible to obtain the center position or tilt angle of the electronic component. For example, when an electronic component having a bumper section is automatically mounted on a printed circuit board or the like, the position of the electronic component to be mounted can be correctly recognized and accurately determined. It can be installed at any position.

【0021】請求項6記載の電子部品の位置認識装置に
よれば、識別手段を構成する走査幅検出手段は、二値化
データから前記バンパ部の走査幅およびリード部の各リ
ード線の走査幅を検出し、判別手段は、記憶手段から電
子部品のバンパ部の幅寸法データを読出して、走査幅検
出手段により検出された走査幅と比較することによりそ
の電子部品のバンパ部に相当する部分を特定してバンパ
部とリード部とを判別するようになる。これにより、バ
ンパ部を有する電子部品の位置を正しく認識して正確な
位置に実装することができるようになる。
According to another aspect of the position recognizing device for electronic parts, the scanning width detecting means constituting the identifying means is based on the binarized data, the scanning width of the bumper portion and the scanning width of each lead wire of the lead portion. The discriminating means detects the width dimension data of the bumper portion of the electronic component from the storage means and compares it with the scanning width detected by the scanning width detecting means to determine the portion corresponding to the bumper portion of the electronic component. The bumper section and the lead section are identified and identified. This makes it possible to correctly recognize the position of the electronic component having the bumper portion and mount the electronic component at the correct position.

【0022】請求項7記載の電子部品の位置認識装置に
よれば、識別手段を構成する走査幅検出手段は、二値化
データからバンパ部とリード部との間の走査幅およびリ
ード部のリード線間の走査幅を検出し、判別手段は、記
憶手段から電子部品のバンパ部とリード部との間の幅寸
法データを読出して、走査幅検出手段により検出された
走査幅と比較することによりその電子部品のバンパ部と
リード部との間の幅寸法に相当する部分を特定してバン
パ部とリード部とを判別するようになる。これにより、
バンパ部を有する電子部品の位置を正しく認識して正確
な位置に実装することができるようになる。そして、上
述の場合、走査ラインの始点および終点の位置をバンパ
部の外側の位置に設定しなくともバンパ部の特定を行う
ことができるようになり、走査ラインの設定の自由度が
高くなる。
According to another aspect of the position recognizing device of the electronic component, the scanning width detecting means constituting the identifying means includes the scanning width between the bumper portion and the lead portion and the lead of the lead portion from the binarized data. By detecting the scanning width between the lines, the determining means reads the width dimension data between the bumper portion and the lead portion of the electronic component from the storage means, and compares it with the scanning width detected by the scanning width detecting means. A portion corresponding to the width dimension between the bumper portion and the lead portion of the electronic component is specified to discriminate between the bumper portion and the lead portion. This allows
It becomes possible to correctly recognize the position of the electronic component having the bumper portion and mount the electronic component at the correct position. In the above case, the bumper portion can be specified without setting the positions of the start point and the end point of the scan line to the positions outside the bumper portion, and the degree of freedom in setting the scan line is increased.

【0023】請求項8記載の電子部品の位置認識装置に
よれば、識別手段は、二値化データのうちの物体の存在
を示すデータの両端部に位置している部分を電子部品の
バンパ部として特定することによりバンパ部とリード部
とを判別するようになり、これにより、簡単且つ迅速に
バンパ部を有する電子部品の位置を正しく認識して正確
な位置に実装することができるようになる。
According to another aspect of the position recognizing device of the electronic component, the identifying means determines the portions of the binarized data, which are located at both ends of the data indicating the existence of the object, at the bumper portion of the electronic component. It becomes possible to distinguish between the bumper portion and the lead portion by specifying as, so that it becomes possible to easily and quickly recognize the position of the electronic component having the bumper portion correctly and mount it at the correct position. .

【0024】[0024]

【実施例】以下、本発明を自動実装装置に適用した場合
の第1の実施例について図1ないし図5を参照しながら
説明する。図3は本実施例において実装する位置認識対
象としての電子部品であるバンパ付QPF(BQFP:
Quad Flat Package with bumper )タイプのIC1の平
面形状を示している。このIC1は、ICチップが封止
された矩形状の樹脂パッケージ部2,この樹脂パッケー
ジ部2の四隅に外側に突出するように一体に形成された
バンパ部3,および樹脂パッケージ部2の各辺部から外
側に向けて導出された多数のリード線4aを有するリー
ド線部4を有する構成となっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment in which the present invention is applied to an automatic mounting apparatus will be described below with reference to FIGS. FIG. 3 shows a bumper-equipped QPF (BQFP: electronic component) as a position recognition target to be mounted in this embodiment.
4 shows the planar shape of a Quad Flat Package with bumper) type IC1. The IC 1 includes a rectangular resin package portion 2 in which an IC chip is sealed, a bumper portion 3 integrally formed at four corners of the resin package portion 2 so as to project outward, and each side of the resin package portion 2. The lead wire portion 4 has a large number of lead wires 4a led out from the portion toward the outside.

【0025】次に、電子部品の装着装置の要部を概略的
に示した図1において、上述のIC1は、ロボットヘッ
ド5により吸着固定された状態で図示しない駆動機構に
よりプリント基板6上に搬送される。ロボットヘッド5
による搬送経路の途中には撮影手段としてのIC認識用
のCCDカメラ7が配設されており、上方から照明され
たIC1の平面形状を下方にて撮影するようになってい
る。また、プリント基板6の設置位置は、基板認識用の
CCDカメラ8により撮影されるようになっている。こ
の場合、CCDカメラ8は、プリント基板6に付設され
た円形をなす基板認識マークAの部分を撮影してその位
置を検出する。
Next, in FIG. 1 schematically showing the main part of the electronic component mounting apparatus, the above-mentioned IC 1 is conveyed onto the printed circuit board 6 by a drive mechanism (not shown) while being fixed by suction by the robot head 5. To be done. Robot head 5
A CCD camera 7 for recognizing ICs is provided as a photographing means in the middle of the conveyance path by, and the plane shape of the IC 1 illuminated from above is photographed below. The installation position of the printed circuit board 6 is photographed by the CCD camera 8 for board recognition. In this case, the CCD camera 8 photographs the portion of the circular board recognition mark A attached to the printed board 6 and detects its position.

【0026】上記CCDカメラ7および8は視覚認識コ
ントローラ9に接続され、撮影された画像データを後述
するように処理する。視覚認識コントローラ9は、実装
機コントローラ10に位置制御情報を与え、駆動機構の
ロボットヘッド5に駆動信号を出力して駆動制御するよ
うになっている。実装機コントローラ10は、IC1の
装着に関するデータ入力部が設けられており、それらの
データを受け付けると共に、視覚認識コントローラ9か
ら与えられる制御信号に基づいて図示しない駆動機構を
駆動制御するものである。
The CCD cameras 7 and 8 are connected to the visual recognition controller 9 and process photographed image data as described later. The visual recognition controller 9 provides position control information to the mounting machine controller 10 and outputs a drive signal to the robot head 5 of the drive mechanism to control the drive. The mounting machine controller 10 is provided with a data input unit for mounting the IC 1, receives the data, and drives and controls a drive mechanism (not shown) based on a control signal provided from the visual recognition controller 9.

【0027】さて、制御系統のブロック構成を示す図2
において、上記した視覚コントローラ9は、実装機コン
トローラ10からのデータを入力するICデータ受信部
11、この受信部11およびCCDカメラ6、8からの
イメージデータを受け付けてそれらのデータに基づいて
各種の演算処理を実行する演算処理部12、そして演算
処理部12により演算された結果に基づいて制御信号を
送信する送信部13から構成される。また、演算処理部
12には記憶手段としてのメモリ14が設けられてお
り、IC1の形状を示す各部の寸法データが記憶されて
いる。
Now, a block diagram of the control system is shown in FIG.
In the above, the visual controller 9 receives the image data from the IC data receiving unit 11 that receives the data from the mounting machine controller 10, the receiving unit 11 and the CCD cameras 6 and 8 and receives various image data based on the data. It is composed of an arithmetic processing unit 12 that executes arithmetic processing, and a transmission unit 13 that transmits a control signal based on the result calculated by the arithmetic processing unit 12. Further, the arithmetic processing unit 12 is provided with a memory 14 as a storage unit, and stores dimensional data of each unit showing the shape of the IC 1.

【0028】次に、本実施例の作用について図4および
図5をも参照して説明する。電子部品の実装を行う際に
は、実装するプリント基板6および電子部品の外形寸法
のデータや実装条件などがあらかじめ実装機コントロー
ラ10に入力されている。そこで、IC1の実装を行う
際には、実装機コントローラ10からIC1の外形寸法
データが視覚認識コントローラ9に送信される。この場
合、外形寸法データとしては、IC1のパッケージ2の
外形寸法、リード部4のリード線4aの本数,幅寸法お
よび長さ寸法や、バンパ部3の外形寸法であり、特に、
後述するように、走査ラインを設定したときに得られる
走査幅のデータに対応する幅寸法などに対応するデータ
である。
Next, the operation of this embodiment will be described with reference to FIGS. 4 and 5. When mounting the electronic component, the data of the external dimensions of the printed circuit board 6 and the electronic component to be mounted, the mounting condition, and the like are input to the mounting machine controller 10 in advance. Therefore, when mounting the IC1, the mounting machine controller 10 sends the external dimension data of the IC1 to the visual recognition controller 9. In this case, the outer dimension data includes the outer dimension of the package 2 of the IC 1, the number of the lead wires 4a of the lead portion 4, the width dimension and the length dimension, and the outer dimension of the bumper portion 3.
As will be described later, it is data corresponding to the width dimension and the like corresponding to the scan width data obtained when the scan line is set.

【0029】視覚認識コントローラ9においては、IC
1の外形寸法データがデータ受信部11を介して演算処
理部12に入力される。演算処理部12においては、次
のようにして各種の演算処理を実行する。なお、CCD
カメラ8によるプリント基板6の位置認識とその位置制
御は、プリント基板6に設けられた位置認識マークAを
撮影したときの画像データに基づいて視覚認識コントロ
ーラ9により演算を実行して位置を認識し、その認識さ
れたデータに基づいて図示しない駆動装置により所定位
置に移動して位置制御を行うようになっている。
In the visual recognition controller 9, the IC
The external dimension data of No. 1 is input to the arithmetic processing unit 12 via the data receiving unit 11. The arithmetic processing unit 12 executes various arithmetic processes as follows. In addition, CCD
The position recognition of the printed circuit board 6 by the camera 8 and the position control thereof are performed by the visual recognition controller 9 based on the image data when the position recognition mark A provided on the printed circuit board 6 is photographed to recognize the position. Based on the recognized data, a drive device (not shown) moves to a predetermined position to perform position control.

【0030】さて、演算処理部12においては、図5に
示すプログラムのフローチャートにしたがって演算処理
を実行するようになる。すなわち、ロボットヘッド5に
よりIC1が吸着された状態でプリント基板6側に移動
される途中で、CCDカメラ7によりそのIC1の下面
側が撮影される。演算処理部12においては、IC1の
外形寸法データに基づいてIC1のリード部4に対応し
た画像処理を行うべき領域を設定している。
Now, in the arithmetic processing section 12, the arithmetic processing is executed according to the flow chart of the program shown in FIG. That is, while the IC 1 is adsorbed by the robot head 5, the lower surface side of the IC 1 is photographed by the CCD camera 7 while being moved to the printed circuit board 6 side. In the arithmetic processing section 12, an area for performing image processing corresponding to the lead section 4 of the IC1 is set based on the external dimension data of the IC1.

【0031】そして、演算処理部12は、CCDカメラ
7からの画像データを入力すると(ステップS1)、図
4(a)に簡略的に示すように、IC1の各リード部4
に対応した画像処理を行うべき領域S内で、リード部4
のリード線4aとそれらの両端のバンパ部3とを横切る
ように直線的に走査ラインmを設定する(ステップS
2)。次に、演算処理部12は、設定された走査ライン
mに沿って画像データを二値化し(ステップS3)、図
4(b)に示すような二値化データを得る。演算処理部
12は、この二値化データから物体の存在を示すデータ
つまり、ガイド部3あるいはリード線4aの部分の走査
幅を検出する(ステップS4)。この場合、例えば、ガ
イド部3の走査幅がa,リード部4の各リード線4aの
走査幅がbに相当する異なる2つの走査幅として検出さ
れる。
Then, when the arithmetic processing unit 12 receives the image data from the CCD camera 7 (step S1), as shown in FIG.
Within the area S where the image processing corresponding to
The scanning line m is linearly set so as to cross the lead wire 4a and the bumper portions 3 at both ends thereof (step S
2). Next, the arithmetic processing unit 12 binarizes the image data along the set scanning line m (step S3) and obtains binarized data as shown in FIG. 4B. The arithmetic processing unit 12 detects the data indicating the existence of the object, that is, the scanning width of the guide portion 3 or the lead wire 4a from the binarized data (step S4). In this case, for example, the scanning width of the guide portion 3 is detected as a and the scanning width of each lead wire 4a of the lead portion 4 is detected as two different scanning widths corresponding to b.

【0032】続いて、演算処理部12は、メモリ14に
記憶しているIC1の寸法データとしてバンパ部3の幅
寸法データを読出し(ステップS5)、このバンパ部3
の幅寸法データとステップS4で検出した走査幅のデー
タa,bを比較し(ステップS6)、走査幅データa,
bのうちでバンパ部3の幅寸法データに近い値を示して
いる方をバンパ部3であると判定する(ステップS
7)。この場合、例えば、IC1が画像処理領域S内で
傾いた位置にあるときには、走査幅データa,bの値が
幅寸法データと一致しないことになるが、バンパ部3と
リード線4aの幅寸法は大きく異なる値となっているの
で、走査幅データa,bのうちのいずれかがバンパ部3
の幅寸法データに近い値であることをもってバンパ部3
を判定することができる。
Subsequently, the arithmetic processing section 12 reads the width dimension data of the bumper section 3 as the dimension data of the IC 1 stored in the memory 14 (step S5), and the bumper section 3 is read.
Of the scan width and the scan width data a and b detected in step S4 are compared (step S6).
Of b, the one showing a value closer to the width dimension data of the bumper portion 3 is determined to be the bumper portion 3 (step S
7). In this case, for example, when the IC 1 is in a tilted position in the image processing area S, the values of the scanning width data a and b do not match the width dimension data, but the width dimension of the bumper portion 3 and the lead wire 4a. Has a significantly different value, so that one of the scanning width data a and b is the bumper unit 3
Bumper part 3 has a value close to the width dimension data of
Can be determined.

【0033】次に、演算処理部12は、画像データから
ステップS7で特定されたバンパ部3を除いたリード部
4を識別し(ステップS8)、このリード部4の画像デ
ータに基づいてIC1の中心位置Oおよび傾き角度を演
算する(ステップS9)。この場合、中心位置Oおよび
傾き角度は、例えば、以下のようにして演算される。す
なわち、演算処理部12は、4つのリード部4の両端部
に位置するリード線4a1,4a2と走査ラインmとの
交点を結ぶ線分の中点を演算し、対向するリード部4の
中点間を結んでできる2本の中心線が交差する点をIC
1の中心位置Oとして演算する。次に、演算処理部12
は、画面に設定される座標軸に対する2本の中心線の傾
きを演算してIC1の傾き角度を求める。
Next, the arithmetic processing unit 12 identifies the lead portion 4 excluding the bumper portion 3 specified in step S7 from the image data (step S8), and based on the image data of this lead portion 4, the IC 1 of the IC 1 is identified. The center position O and the tilt angle are calculated (step S9). In this case, the center position O and the tilt angle are calculated as follows, for example. That is, the arithmetic processing unit 12 calculates the midpoint of the line segment connecting the intersections of the lead lines 4a1 and 4a2 located at both ends of the four lead units 4 and the scanning line m, and the midpoint of the opposing lead unit 4 is calculated. IC at the intersection of the two center lines that connect the two
It is calculated as the center position O of 1. Next, the arithmetic processing unit 12
Calculates the tilt angle of the IC1 by calculating the tilts of the two center lines with respect to the coordinate axes set on the screen.

【0034】このようにして演算処理部12は、撮影し
たIC1の画像データから中心位置Oおよび傾き角度を
検出すると、位置認識プログラムを終了し、この後、図
示しない位置制御プログラムにしたがって、演算した中
心位置Oおよび傾き角度のデータをデータ送信部13を
介して実装機コントローラ10に送信する。これによ
り、実装機コントローラ10は、ロボットヘッド5をプ
リント基板6側に移動させたときに、所定の実装位置に
対するIC1の中心位置Oおよび傾き角度の補正を行っ
てIC1を装着するようになる。
In this way, when the arithmetic processing unit 12 detects the center position O and the tilt angle from the imaged image data of the IC 1, the arithmetic operation processing unit 12 terminates the position recognition program, and thereafter, the arithmetic operation is performed according to a position control program (not shown). The data of the center position O and the tilt angle are transmitted to the mounting machine controller 10 via the data transmission unit 13. As a result, when the robot head 5 is moved to the printed circuit board 6 side, the mounting machine controller 10 corrects the center position O and the tilt angle of the IC1 with respect to a predetermined mounting position and mounts the IC1.

【0035】このような本実施例によれば、バンパ部3
を有する電子部品としてのIC1をCCDカメラ7によ
り撮影した画像データに基づいて、視覚認識コントロー
ラ9により、走査ラインを設定して二値化処理を行い、
そのときの走査幅のデータとメモリ14内に記憶されて
いるガイド部3の幅寸法データとから、IC1のガイド
部3に相当する部分を特定してリード部4を識別するよ
うにしたので、バンパ部3を有する電子部品の実装にお
いてその中心位置や傾き角度を正確に検出して実装を行
うことができるようになる。
According to this embodiment, the bumper portion 3
Based on the image data obtained by photographing the IC 1 as an electronic component having a CCD camera 7, the visual recognition controller 9 sets a scanning line to perform binarization processing,
Since the portion corresponding to the guide portion 3 of the IC 1 is specified and the lead portion 4 is identified from the data of the scanning width at that time and the width dimension data of the guide portion 3 stored in the memory 14, When mounting the electronic component having the bumper portion 3, it becomes possible to accurately detect the center position and the inclination angle of the electronic component and perform the mounting.

【0036】図6は、本発明の第2の実施例を示すもの
で、以下、第1の実施例と異なる部分について説明す
る。すなわち、この実施例においては、演算処理手段1
2は、位置認識プログラムの実行中に、ステップS2で
は、図6(a),〜(d)に示すような走査ラインm,
n,k,rのいずれかを設定する。つまり、走査ライン
mは第1の実施例と同様にしてIC1のバンパ部3の外
側に始点と終点が設定されており、走査ラインn,kは
始点あるいは終点のいずれか一方がバンパ部3にかかる
ように設定されており、走査ラインrは始点,終点共に
バンパ部3にかかるように設定されたものである。
FIG. 6 shows a second embodiment of the present invention. Hereinafter, parts different from the first embodiment will be described. That is, in this embodiment, the arithmetic processing means 1
2 is a scan line m, as shown in FIGS. 6A to 6D, in step S2 during execution of the position recognition program.
Either n, k, or r is set. That is, the start point and the end point of the scan line m are set outside the bumper section 3 of the IC 1 as in the first embodiment, and the scan line n, k has either the start point or the end point in the bumper section 3. The scanning line r is set in such a manner that both the start point and the end point of the scanning line r are set on the bumper unit 3.

【0037】そして、ステップS3を経て二値化処理を
した後、演算処理部12は、ステップS4にて、同図
(e)〜(h)に示すように得られた二値化データから
物体が存在していないことを示すデータつまり、ガイド
部3とリード線4aとの間隙の部分あるいはリード線4
a間の部分の走査幅を検出する。この場合、例えば、ガ
イド部3とリード部4との間の走査幅がc,リード部4
の各リード線4a間の走査幅がdに相当する異なる2つ
の走査幅として検出される。
Then, after performing the binarization process through step S3, the arithmetic processing unit 12 in step S4 uses the binarized data obtained as shown in (e) to (h) of FIG. Indicating that there is no such as a gap between the guide portion 3 and the lead wire 4a or the lead wire 4
The scanning width of the portion between a is detected. In this case, for example, the scanning width between the guide portion 3 and the lead portion 4 is c, and the lead portion 4 is
The scanning width between the respective lead wires 4a is detected as two different scanning widths corresponding to d.

【0038】続いて、演算処理部12は、メモリ14に
記憶しているIC1の寸法データとしてバンパ部3とリ
ード部4との間の幅寸法データを読出し(ステップS
5)、読出した幅寸法データとステップS4で検出した
走査幅のデータc,dを比較し(ステップS6)、走査
幅データc,dのうちでバンパ部3とリード部4との間
の幅寸法データに近い値を示している部分を判定する
(ステップS7)。これにより、リード部4を認識する
ことができるようになり、以下、演算処理部12は、ス
テップS8,S9を同様にして実行する。
Subsequently, the arithmetic processing section 12 reads the width dimension data between the bumper section 3 and the lead section 4 as the dimension data of the IC 1 stored in the memory 14 (step S).
5) The read width dimension data is compared with the scanning width data c and d detected in step S4 (step S6), and the width between the bumper portion 3 and the lead portion 4 of the scanning width data c and d is compared. A portion showing a value close to the dimension data is determined (step S7). As a result, it becomes possible to recognize the lead section 4, and thereafter, the arithmetic processing section 12 similarly executes steps S8 and S9.

【0039】このような第2の実施例によれば、演算処
理部12により、二値化データからガイド部3とリード
部4との間の走査幅およびリード部4のリード線4a間
の走査幅を検出してガイド部3を特定するようにしたの
で、第1の実施例の効果に加えて、走査ラインを4通り
の走査ラインm,n,k,rのように設定することがで
きるようになるので、検出動作の自由度が高くなる。
According to the second embodiment, the arithmetic processing section 12 scans the binarized data from the scanning width between the guide section 3 and the lead section 4 and the scanning between the lead wires 4a of the lead section 4. Since the guide portion 3 is specified by detecting the width, in addition to the effect of the first embodiment, the scanning lines can be set as four scanning lines m, n, k, r. As a result, the degree of freedom of the detection operation increases.

【0040】なお、ステップS2の走査ラインの設定に
おいて、同図(a)に示される走査ラインmが常に設定
される場合には、ステップS4の走査幅検出で、同図
(e)に示すように、二値化データに基づいて、ガイド
部3の中心位置とリード部4の端部のリード線4aの中
心位置との間の距離であるピッチに相当する走査幅eや
リード線4a間のピッチに相当する走査幅fを検出する
こともできる。一方、メモリ14には、ガイド部3とリ
ード部4端部のリード線4aとの間のピッチ寸法に相当
する幅寸法データが記憶されている。そして、この場合
には、走査ラインの設定の自由度は低下するが、画像デ
ータの輪郭部分が不鮮明な場合でもその中心線を求めて
判定するので、検出精度を高くすることができる。
In the setting of the scanning line in step S2, if the scanning line m shown in FIG. 9A is always set, the scanning width is detected in step S4 as shown in FIG. Based on the binarized data, the scanning width e and the distance between the lead wires 4a corresponding to the pitch, which is the distance between the center position of the guide portion 3 and the center position of the lead wire 4a at the end of the lead portion 4. It is also possible to detect the scanning width f corresponding to the pitch. On the other hand, the memory 14 stores width dimension data corresponding to the pitch dimension between the guide portion 3 and the lead wire 4a at the end of the lead portion 4. In this case, the degree of freedom in setting the scanning line is reduced, but even if the contour portion of the image data is unclear, the center line is determined and determined, so that the detection accuracy can be increased.

【0041】図7は、本発明の第3の実施例を示すもの
で、以下、第2の実施例と異なる部分について説明す
る。すなわち、この実施例においては、演算処理部12
は、位置認識プログラムの実行中に、ステップS2で
は、前述と同様に、図7(a),〜(d)に示すような
走査ラインm,n,k,rのいずれかを設定する。そし
て、ステップS3で二値化処理を行うと、演算処理部1
2は、ステップS4からS6の過程を省略し、ステップ
S7に移行し、ここで、同図(e)〜(h)のように得
られた二値化データのうちの両端部に位置する部分をバ
ンパ部3であると判定する。つまり、走査ラインm,
n,k,rにより走査した部分の両端部の二値化データ
は必ずバンパ部3であると判定するようになっている。
FIG. 7 shows a third embodiment of the present invention. Hereinafter, parts different from the second embodiment will be described. That is, in this embodiment, the arithmetic processing unit 12
During execution of the position recognition program, in step S2, one of the scanning lines m, n, k, and r shown in FIGS. 7A to 7D is set in the same manner as described above. When the binarization process is performed in step S3, the arithmetic processing unit 1
2, the process of steps S4 to S6 is omitted, and the process proceeds to step S7, in which the portions located at both ends of the binarized data obtained as shown in (e) to (h) of FIG. Is determined to be the bumper unit 3. That is, the scan line m,
The binarized data at both ends of the portion scanned by n, k, and r is always determined to be the bumper unit 3.

【0042】このような第2の実施例によれば、演算処
理部12により、バンパ部3に両端がかかるように走査
ラインを設定して得られた二値化データに基づいてその
両端部に位置する部分を常にガイド部3であると特定す
るようにしたので、検出過程が簡略化できるようにな
り、したがって、迅速にリード部4を識別してその中心
位置Oの演算処理に移行することができるようになる。
According to the second embodiment as described above, the arithmetic processing unit 12 sets the scanning lines so that both ends of the bumper unit 3 are covered by the arithmetic processing unit 12. Since the portion to be positioned is always specified as the guide portion 3, the detection process can be simplified. Therefore, the lead portion 4 can be quickly identified and the processing for calculating the center position O thereof can be performed. Will be able to.

【0043】本発明は、上記実施例にのみ限定されるも
のではなく、以下のように変形あるいは拡張できる。電
子部品の撮影はロボットヘッド5により吸着した時点で
も実施することができる。記憶手段は寸法データを記憶
したROMとすることもできる。電子部品の認識すべき
位置は、リード部4の端部位置を基準として認識するこ
ともできる。
The present invention is not limited to the above embodiment, but can be modified or expanded as follows. The electronic parts can be photographed even when they are picked up by the robot head 5. The storage means may be a ROM storing dimension data. The position of the electronic component to be recognized can be recognized with reference to the end position of the lead portion 4.

【0044】[0044]

【発明の効果】以上説明したように、本発明の電子部品
の位置認識方法および位置認識装置によれば、次のよう
な効果を得ることができる。すなわち、請求項1記載の
電子部品の位置認識方法によれば、二値化処理ステップ
により、撮像手段からの電子部品の画像データから前記
リード部の複数のリード線を横切るように直線的に走査
して二値化データを作成し、識別ステップにより、得ら
れた二値化データと電子部品のリード部およびバンパ部
の寸法データとに基づいてリード部とバンパ部とを識別
し、演算ステップによりリード部に対応する画像データ
に基づいて電子部品の位置を演算するようにしたので、
バンパ部を有する電子部品に対してもその位置を正確に
認識できるようになり、電子部品をプリント基板等に自
動実装する場合においても、装着すべき電子部品を正確
な位置に実装することができるという優れた効果を奏す
る。
As described above, according to the position recognizing method and the position recognizing device for an electronic component of the present invention, the following effects can be obtained. That is, according to the position recognition method of the electronic component of claim 1, the binarization processing step linearly scans the image data of the electronic component from the image pickup means so as to cross a plurality of lead wires of the lead portion. Then, the binarized data is created, and in the identifying step, the lead portion and the bumper portion are identified based on the obtained binarized data and the dimension data of the lead portion and the bumper portion of the electronic component. Since the position of the electronic component is calculated based on the image data corresponding to the lead portion,
The position of an electronic component having a bumper portion can be accurately recognized, and even when the electronic component is automatically mounted on a printed circuit board or the like, the electronic component to be mounted can be mounted at the correct position. It has an excellent effect.

【0045】請求項2記載の電子部品の位置認識方法に
よれば、識別ステップを、二値化データからバンパ部の
走査幅およびリード部の各リード線の走査幅を検出する
走査幅検出ステップと、記憶手段の寸法データに基いて
上記検出された走査幅からバンパ部を特定してバンパ部
とリード部とを判別する判別ステップとから構成したの
で、バンパ部を有する電子部品の位置を正しく認識して
正確な位置に実装することができるという優れた効果を
奏する。
According to the method of recognizing the position of an electronic component of claim 2, the identifying step includes a scanning width detecting step of detecting the scanning width of the bumper portion and the scanning width of each lead wire of the lead portion from the binarized data. , A discrimination step of discriminating the bumper portion from the lead portion by specifying the bumper portion from the detected scanning width based on the dimension data of the storage means, so that the position of the electronic component having the bumper portion can be correctly recognized. It has an excellent effect that it can be mounted at an accurate position.

【0046】請求項3記載の電子部品の位置認識方法に
よれば、識別ステップを、二値化データからバンパ部と
リード部との間の走査幅およびリード部のリード線間の
走査幅を検出する走査幅検出ステップと、記憶手段の寸
法データに基づいて、上記検出された走査幅からバンパ
部とリード部との間の幅寸法に相当する部分を特定して
バンパ部とリード部とを判別する判別ステップとから構
成したので、バンパ部を有する電子部品の位置を正しく
認識して正確な位置に実装することができ、また、走査
ラインの取り方をバンパ部の外まで横切るよう設定しな
くとも確実にバンパ部を特定することができるという優
れた効果を奏する。
According to the third aspect of the present invention, the identifying step detects the scanning width between the bumper portion and the lead portion and the scanning width between the lead wires of the lead portion from the binarized data. Based on the scanning width detection step and the dimensional data of the storage means, the portion corresponding to the width dimension between the bumper portion and the lead portion is specified from the detected scanning width to determine the bumper portion and the lead portion. It is possible to correctly recognize the position of the electronic component having the bumper part and mount it at the correct position because it is configured with the determination step to perform, and it is not necessary to set the scanning line to cross the outside of the bumper part. In addition, it has an excellent effect that the bumper portion can be specified with certainty.

【0047】請求項4記載の電子部品の位置認識方法に
よれば、前述の識別ステップを、二値化データのうちの
物体の存在を示すデータの両端部に位置している部分を
電子部品のバンパ部として特定することによりバンパ部
とリード部とを判別するようにしたので、バンパ部を有
する電子部品の位置を簡単且つ正しく認識して正確な位
置に実装することができ、バンパ部の判定を短時間で行
うことができるという優れた効果を奏する。
According to the position recognition method of the electronic component of the fourth aspect, in the above-mentioned identification step, the portions located at both ends of the data indicating the existence of the object in the binarized data are identified as the electronic component. Since the bumper part and the lead part are distinguished by specifying the bumper part, it is possible to easily and correctly recognize the position of the electronic component having the bumper part and mount it at an accurate position. Has an excellent effect that can be performed in a short time.

【0048】請求項5記載の電子部品の位置認識装置に
よれば、前述した二値化処理ステップの内容を実行する
二値化処理手段,識別ステップの内容を実行する識別手
段および演算ステップの内容を実行する演算手段を設け
て構成したので、バンパ部を有する電子部品に対しても
その位置を正確に認識できるようになり、電子部品をプ
リント基板等に自動実装する場合においても、装着すべ
き電子部品を正確な位置に実装することができるという
優れた効果を奏する。
According to the position recognizing device of the electronic component of the fifth aspect, the binarization processing means for executing the contents of the above-mentioned binarization processing step, the identification means for executing the contents of the identification step, and the contents of the calculation step. Since the arithmetic means for executing the above is provided, the position of the electronic component having the bumper portion can be accurately recognized, and should be mounted even when the electronic component is automatically mounted on a printed circuit board or the like. It has an excellent effect that the electronic component can be mounted at an accurate position.

【0049】請求項6記載の電子部品の位置認識装置に
よれば、識別手段を、前述した寸法検出ステップを実行
する寸法検出手段と、判別ステップを実行する判別手段
とから構成したので、バンパ部を有する電子部品の位置
を正しく認識して正確な位置に実装することができると
いう優れた効果を奏する。
According to the position recognizing device of the electronic component of the sixth aspect, the identifying means comprises the dimension detecting means for executing the dimension detecting step and the determining means for executing the determining step. This has an excellent effect of being able to correctly recognize the position of the electronic component having the above and mount it at the correct position.

【0050】請求項7記載の電子部品の位置認識装置に
よれば、識別手段を、前述した寸法検出ステップを実行
する寸法検出手段と、判別ステップを実行する判別手段
とから構成したので、バンパ部を有する電子部品の位置
を正しく認識して正確な位置に実装することができ、ま
た、走査ラインの取り方をバンパ部の外まで横切るよう
設定しなくとも確実にバンパ部を特定することができる
という優れた効果を奏する。
According to the position recognizing device of the electronic component of the seventh aspect, the identifying means is composed of the dimension detecting means for executing the dimension detecting step and the determining means for executing the determining step. It is possible to correctly recognize the position of the electronic component having the position and mount it at an accurate position, and to reliably identify the bumper portion without setting the scanning line to cross the outside of the bumper portion. It has an excellent effect.

【0051】請求項8記載の電子部品の位置認識装置に
よれば、識別手段により、二値化データのうちの物体の
存在を示すデータの両端部に位置している部分を電子部
品のバンパ部として特定することによりバンパ部とリー
ド部とを判別するようにしたので、バンパ部を有する電
子部品の位置を簡単且つ正しく認識して正確な位置に実
装することができ、バンパ部の判定を短時間で行うこと
ができるという優れた効果を奏する。
According to the position recognizing device of the electronic component of the present invention, the identifying means causes the bumper portion of the electronic component to locate portions located at both ends of the data indicating the presence of the object in the binarized data. Since the bumper portion and the lead portion can be distinguished by specifying as, it is possible to easily and correctly recognize the position of the electronic component having the bumper portion and mount it at an accurate position, and the judgment of the bumper portion can be shortened. It has an excellent effect that it can be performed in time.

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

【図1】本発明の第1の実施例を示す全体の概略構成図FIG. 1 is an overall schematic configuration diagram showing a first embodiment of the present invention.

【図2】制御系統のブロック構成図FIG. 2 is a block diagram of a control system

【図3】ICの平面図FIG. 3 is a plan view of an IC

【図4】ICの画像と二値化処理過程における走査線の
説明図
FIG. 4 is an explanatory diagram of an image of an IC and scanning lines in a binarization process.

【図5】位置認識プログラムのフローチャートFIG. 5 is a flowchart of a position recognition program.

【図6】本発明の第2の実施例を示す図4相当図FIG. 6 is a view corresponding to FIG. 4 showing a second embodiment of the present invention.

【図7】本発明の第3の実施例を示す図4相当図FIG. 7 is a view corresponding to FIG. 4, showing a third embodiment of the present invention.

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

1はバンパ付QPFタイプのIC(電子部品)、2はパ
ッケージ、3はバンパ部、4はリード部、4aはリード
線、5はロボットヘッド、6はプリント基板、7はCC
Dカメラ(撮像手段)、8はCCDカメラ、9は視覚認
識コントローラ(二値化処理手段、識別手段、演算手
段、寸法検出手段、判別手段)、10は実装機コントロ
ーラ、11は受信部、12は演算処理部、13は送信
部、14はメモリ(記憶手段)である。
1 is a QPF type IC (electronic component) with bumper, 2 is a package, 3 is a bumper part, 4 is a lead part, 4a is a lead wire, 5 is a robot head, 6 is a printed circuit board, and 7 is a CC.
D camera (imaging means), 8 is a CCD camera, 9 is a visual recognition controller (binarization processing means, identification means, calculation means, dimension detection means, discrimination means), 10 is a mounting machine controller, 11 is a receiving section, 12 Is an arithmetic processing unit, 13 is a transmission unit, and 14 is a memory (storage means).

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H05K 13/08 B 8315−4E ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display area H05K 13/08 B 8315-4E

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 パッケージ外部に複数のリード線からな
るリード部およびそのリード部を保護するように両端部
にバンパ部が形成された電子部品を位置認識対象とし、 撮像手段により前記電子部品を撮影したときに得られる
画像データから前記リード部の複数のリード線を横切る
ように直線的に走査して二値化データを作成する二値化
処理ステップと、 この二値化処理過程により得られた二値化データと前記
電子部品のリード部およびバンパ部の寸法データとに基
づいて前記リード部とバンパ部とを識別する識別ステッ
プと、 この識別ステップにて識別された前記リード部に対応す
る前記画像データに基づいて前記電子部品の位置を演算
する演算ステップとを設けたことを特徴とする電子部品
の位置認識方法。
1. A position recognition target is an electronic part having a bumper part formed at both ends so as to protect the lead part composed of a plurality of lead wires and the lead part outside the package, and the electronic part is photographed by an imaging means. A binarization processing step of linearly scanning the image data obtained at the time so as to cross a plurality of lead wires of the lead section to create binarized data, and the binarization processing step. An identifying step of identifying the lead portion and the bumper portion based on the binarized data and the dimension data of the lead portion and the bumper portion of the electronic component; and the identifying step corresponding to the lead portion identified in this identifying step. And a calculation step for calculating the position of the electronic component based on the image data.
【請求項2】 前記識別ステップは、 前記二値化データから前記バンパ部の走査幅およびリー
ド部の各リード線の走査幅を検出する走査幅検出ステッ
プと、 前記電子部品のバンパ部の幅寸法データが記憶された記
憶手段からの寸法データに基づいて、前記走査幅検出ス
テップにて検出された前記走査幅から前記バンパ部に相
当する部分を特定して前記バンパ部と前記リード部とを
判別する判別ステップとを有することを特徴とする請求
項1記載の電子部品の位置認識方法。
2. The identifying step includes a scanning width detecting step of detecting a scanning width of the bumper portion and a scanning width of each lead wire of a lead portion from the binarized data, and a width dimension of the bumper portion of the electronic component. A portion corresponding to the bumper portion is specified from the scanning width detected in the scanning width detecting step, and the bumper portion and the lead portion are distinguished from each other, based on the dimension data from the storage means in which the data is stored. The position recognizing method of the electronic component according to claim 1, further comprising:
【請求項3】 前記識別ステップは、 前記二値化データから前記バンパ部と前記リード部との
間の走査幅および前記リード部のリード線間の走査幅を
検出する走査幅検出ステップと、 前記電子部品のバンパ部とリード部との間の幅寸法デー
タが記憶された記憶手段からの寸法データに基づいて、
前記走査幅検出ステップにて検出された前記走査幅から
前記バンパ部とリード部との間の幅寸法に相当する部分
を特定して前記バンパ部と前記リード部とを判別する判
別ステップとを有することを特徴とする請求項1記載の
電子部品の位置認識方法。
3. The scanning width detection step of detecting a scanning width between the bumper portion and the lead portion and a scanning width between lead wires of the lead portion from the binarized data in the identifying step, Based on the dimension data from the storage means in which the width dimension data between the bumper portion and the lead portion of the electronic component is stored,
A determination step of determining a portion corresponding to a width dimension between the bumper portion and the lead portion from the scan width detected in the scanning width detection step to determine the bumper portion and the lead portion. The position recognition method for an electronic component according to claim 1, wherein:
【請求項4】 前記識別ステップにおいては、 前記二値化データのうちの物体の存在を示すデータの両
端部に位置している部分を前記電子部品のバンパ部とし
て特定することにより前記バンパ部と前記リード部とを
判別することを特徴とする請求項1記載の電子部品の位
置認識方法。
4. In the identifying step, the portions located at both ends of data indicating the presence of an object in the binarized data are identified as bumper portions of the electronic component, and The method for recognizing the position of an electronic component according to claim 1, wherein the lead portion is discriminated.
【請求項5】 パッケージ外部に複数のリード線からな
るリード部およびそのリード部を保護するように両端部
にバンパ部が形成された電子部品を位置認識対象とし、 前記電子部品を撮影する撮像手段と、 この撮像手段からの画像データに基づいて前記リード部
の複数のリード線を横切るように直線的に走査して二値
化データを作成する二値化処理手段と、 この二値化処理手段により得られた二値化データと前記
電子部品のリード部およびバンパ部の寸法データとに基
づいて前記リード部とバンパ部とを識別する識別手段
と、 この識別手段にて識別された前記リード部に対応する前
記画像データに基づいて前記電子部品の位置を演算する
演算手段とを設けたことを特徴とする電子部品の位置認
識装置。
5. An image pickup means for photographing a position of an electronic part having a bumper part formed at both ends so as to protect the lead part formed of a plurality of lead wires outside the package and the lead part, and photographing the electronic part. And binarization processing means for linearly scanning the lead parts of the lead portion based on the image data from the imaging means to create binarized data, and the binarization processing means Identifying means for identifying the lead portion and the bumper portion based on the binarized data obtained by the above and the dimension data of the lead portion and bumper portion of the electronic component; and the lead portion identified by the identifying means. And a calculation means for calculating the position of the electronic component based on the image data corresponding to the position recognition device of the electronic component.
【請求項6】 前記電子部品のバンパ部の幅寸法データ
が記憶された記憶手段を設け、 前記識別手段を、 前記二値化データから前記バンパ部の走査幅およびリー
ド部の各リード線の走査幅を検出する走査幅検出手段
と、 前記記憶手段からの寸法データに基づいて、前記走査幅
検出手段により検出された前記走査幅から前記バンパ部
に相当する部分を特定して前記バンパ部と前記リード部
とを判別する判別手段とから構成したことを特徴とする
請求項5記載の電子部品の位置認識装置。
6. A storage means for storing width dimension data of a bumper portion of the electronic component is provided, and the identifying means scans the scan width of the bumper portion and each lead wire of the lead portion from the binarized data. A scanning width detecting means for detecting a width, and a portion corresponding to the bumper portion is specified from the scanning width detected by the scanning width detecting means on the basis of the dimension data from the storage means to identify the bumper portion and the bumper portion. The position recognizing device for an electronic component according to claim 5, wherein the position recognizing device comprises a discriminating means for discriminating the lead portion.
【請求項7】 前記電子部品の前記バンパ部と前記リー
ド部との間の幅寸法データが記憶された記憶手段を設
け、 前記識別手段を、 前記二値化データから前記バンパ部と前記リード部との
間の幅寸法および前記リード部の各リード線間の走査幅
を検出する走査幅検出手段と、 前記記憶手段からの寸法データに基づいて前記走査幅検
出手段により検出された前記走査幅から前記バンパ部と
リード部との間の幅寸法に相当する部分を特定して前記
バンパ部と前記リード部とを判別する判別手段とから構
成したことを特徴とする請求項5記載の電子部品の位置
認識装置。
7. A storage means for storing width dimension data between the bumper portion and the lead portion of the electronic component is provided, and the identifying means is configured to detect the binarized data from the bumper portion and the lead portion. From the scanning width detected by the scanning width detecting means based on the dimension data from the storage means, and the scanning width detecting means for detecting the width between the lead wire and the scanning width between the lead wires of the lead portion. 6. The electronic component according to claim 5, further comprising: a discriminating unit that discriminates between the bumper portion and the lead portion by identifying a portion corresponding to a width dimension between the bumper portion and the lead portion. Position recognition device.
【請求項8】 前記識別手段は、前記二値化データのう
ちの物体の存在を示すデータの両端部に位置している部
分を前記電子部品のバンパ部として特定することにより
前記バンパ部と前記リード部とを判別するように構成さ
れていることを特徴とする請求項5記載の電子部品の位
置認識装置。
8. The bumper portion and the bumper portion are identified by the identification means identifying portions located at both ends of data indicating the presence of an object in the binarized data as bumper portions of the electronic component. The position recognition device for an electronic component according to claim 5, wherein the position recognition device is configured to discriminate between the lead portion and the lead portion.
JP6034470A 1994-03-04 1994-03-04 Electronic component position recognition method and position recognition device Pending JPH07243810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6034470A JPH07243810A (en) 1994-03-04 1994-03-04 Electronic component position recognition method and position recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6034470A JPH07243810A (en) 1994-03-04 1994-03-04 Electronic component position recognition method and position recognition device

Publications (1)

Publication Number Publication Date
JPH07243810A true JPH07243810A (en) 1995-09-19

Family

ID=12415146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6034470A Pending JPH07243810A (en) 1994-03-04 1994-03-04 Electronic component position recognition method and position recognition device

Country Status (1)

Country Link
JP (1) JPH07243810A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954681B2 (en) 2000-12-15 2005-10-11 Cyberoptics Corporation Board align image acquisition device with improved interface
US7190393B2 (en) 2000-12-15 2007-03-13 Cyberoptics Corporation Camera with improved illuminator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954681B2 (en) 2000-12-15 2005-10-11 Cyberoptics Corporation Board align image acquisition device with improved interface
US7190393B2 (en) 2000-12-15 2007-03-13 Cyberoptics Corporation Camera with improved illuminator

Similar Documents

Publication Publication Date Title
US5038380A (en) Method for recognizing position of component and apparatus therefor
JPH07243810A (en) Electronic component position recognition method and position recognition device
JP4106301B2 (en) Component recognition method and apparatus
JP4380864B2 (en) Component detection method and apparatus
JP3919932B2 (en) Bag-like workpiece posture detection device
JP4566686B2 (en) Method and apparatus for determining shape of object
JPH0674909A (en) Image recognition method, image recognition apparatus, and mounting machine using the same
JPH08234226A (en) Image processing equipment for liquid crystal substrate manufacturing
JP4744234B2 (en) Component positioning method and apparatus
JPH06260794A (en) Method and equipment for recognizing position of electronic part
JPH033941B2 (en)
JP4551651B2 (en) Component recognition method and apparatus
JP3452201B2 (en) Component mounting equipment
JP3046421B2 (en) Electronic component mounting method and device
JP4087973B2 (en) Inter-component inspection method and apparatus for mounted components
JPH06174442A (en) Bonding wire inspection device
JPS5919464B2 (en) pattern recognition device
JPH05335390A (en) Inspection apparatus of bonding wire
JP3169046B2 (en) Chip recognition method and chip recognition device
JPH0241072B2 (en)
JPH09106459A (en) Position deviation inspecting method for electronic parts
JPH11295036A (en) Method and apparatus for determining direction of electronic component
JPH09167232A (en) Line segment extraction method
JPH0115910B2 (en)
JPH09238000A (en) Recognition method of electronic components and automatic mounting equipment of electronic components