JP3296705B2 - Generating device for standard data for component recognition - Google Patents
Generating device for standard data for component recognitionInfo
- Publication number
- JP3296705B2 JP3296705B2 JP32915895A JP32915895A JP3296705B2 JP 3296705 B2 JP3296705 B2 JP 3296705B2 JP 32915895 A JP32915895 A JP 32915895A JP 32915895 A JP32915895 A JP 32915895A JP 3296705 B2 JP3296705 B2 JP 3296705B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- standard data
- component image
- image
- electronic component
- 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 claims description 36
- 238000005259 measurement Methods 0.000 claims description 26
- 238000003384 imaging method Methods 0.000 claims description 20
- 238000005286 illumination Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000001028 reflection method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000009792 diffusion process Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
【0001】[0001]
【発明の属する技術分野】この発明は、部品画像に基づ
いて、部品認識に用いられる標準データを生成する部品
認識用標準データの生成装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component recognition standard data generating apparatus for generating standard data used for component recognition based on a component image.
【0002】[0002]
【従来の技術】電気製品の小型化、軽量化に伴い、チッ
プ状電子部品をプリント基板上に自動的に実装させる電
子部品自動装着装置においては、さらなる高密度化が要
求されている。その要求を満たす実装精度を実現するた
めには、画像処理技術を応用した電子部品の位置認識が
必要不可欠となっている。2. Description of the Related Art As electronic products become smaller and lighter, there is a demand for an electronic component automatic mounting apparatus for automatically mounting chip-shaped electronic components on a printed circuit board, which is required to have a higher density. In order to realize the mounting accuracy that satisfies the demand, it is indispensable to recognize the position of the electronic component using the image processing technology.
【0003】画像処理技術を応用した電子部品の位置認
識には、予め登録された部品の形状、サイズ等の標準デ
ータが使用される。位置認識がリード画像に基づいて行
なわれる電子部品では、標準データとして、最外形の大
きさ、モールドの大きさに関する情報、リードの方向、
本数、幅、長さおよびピッチに関する情報等が用いられ
る。位置認識がコーナ画像に基づいて行なわれる電子部
品では、標準データとして、電子部品のコーナ形状およ
びコーナサイズに関する情報等が用いられる。In order to recognize the position of an electronic component using image processing technology, standard data such as the shape and size of the component registered in advance is used. For electronic components in which position recognition is performed based on the lead image, information on the outermost dimensions, mold size, lead direction,
Information about the number, width, length, pitch, and the like are used. In an electronic component in which position recognition is performed based on a corner image, information on a corner shape and a corner size of the electronic component and the like are used as standard data.
【0004】このような標準データは、各電子部品のカ
タログ等に記載されている寸法等を参照して、担当者が
手入力していたため、その登録手続きが面倒であった。
そこで、本出願人は、部品画像に基づいて、標準データ
を自動的に生成する技術を開発した。[0004] Such standard data is manually input by a person in charge with reference to dimensions and the like described in catalogs and the like of each electronic component, so that the registration procedure is troublesome.
Therefore, the present applicant has developed a technique for automatically generating standard data based on a part image.
【0005】ところで、電子部品自動装着装置によって
装着される電子部品には、微小角チップ、半固定ボリュ
ーム、IC等というように、形状および大きさの異なる
部品がある。しかしながら、解像度等の撮像条件は固定
されているため、入力される部品画像が、全ての電子部
品に対して、好適な標準データを生成するための画像で
あるとは限らない。このため、電子部品の形状、大きさ
および種類によっては、正確な標準データを生成できな
いことがあった。The electronic components mounted by the automatic electronic component mounting apparatus include components having different shapes and sizes, such as micro-square chips, semi-fixed volumes, and ICs. However, since the imaging conditions such as the resolution are fixed, the input component image is not always an image for generating suitable standard data for all electronic components. For this reason, depending on the shape, size, and type of the electronic component, accurate standard data may not be generated.
【0006】[0006]
【発明が解決しようとする課題】この発明は、正確な標
準データを生成することができる部品認識用標準データ
の生成装置を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide an apparatus for generating standard data for component recognition which can generate accurate standard data.
【0007】[0007]
【課題を解決するための手段】この発明による第1の部
品認識用標準データの生成装置は、部品画像に基づい
て、部品認識に用いられる標準データを生成する部品認
識用標準データの生成装置において、部品画像を入力す
るためのものであって、撮像条件を変更できる機能を有
している部品画像入力手段、入力された部品画像が、当
該部品の標準データを計測するのに適した部品画像か否
かを判定する判定手段、入力された部品画像が、当該部
品の標準データを計測するのに適した部品画像でないと
きには、当該部品の標準データを計測するのに適した部
品画像が得られるように部品画像入力手段の撮像条件を
調整した後、部品画像を部品画像入力手段によって再度
入力させる制御手段、ならびに入力された部品画像が、
当該部品の標準データを計測するのに適した部品画像で
ある場合には、その部品画像に基づいて、標準データを
計測する標準データ計測手段を備えていることを特徴と
する。撮像条件は、撮像位置、撮像回転角度位置、解像
度および照明方式のうちから任意に選択された1または
任意の組み合わせである。According to a first aspect of the present invention, there is provided a component recognition standard data generating apparatus for generating standard data used for component recognition based on a component image. A component image inputting means for inputting a component image and having a function of changing an imaging condition, wherein the input component image is a component image suitable for measuring standard data of the component. Determining means for determining whether or not the input component image is not a component image suitable for measuring the standard data of the component, a component image suitable for measuring the standard data of the component is obtained After adjusting the imaging conditions of the component image input means as described above, control means for re-inputting the component image by the component image input means, and the input component image,
If the component image is suitable for measuring the standard data of the component, a standard data measuring unit for measuring the standard data based on the component image is provided. The imaging condition is one or an arbitrary combination arbitrarily selected from the imaging position, the imaging rotation angle position, the resolution, and the illumination method.
【0008】この発明による第2の部品認識用標準デー
タの生成装置は、部品画像に基づいて、部品認識に用い
られる標準データを生成する部品認識用標準データの生
成装置において、部品画像を入力するためのものであっ
て、撮像条件を変更できる機能を有している部品画像入
力手段、画像処理を行なう画像処理装置、および部品画
像入力手段を制御するホスト側装置とを備え、画像処理
装置は、入力された部品画像が、当該部品の標準データ
を計測するのに適した部品画像か否かを判定する手段、
入力された部品画像が、当該部品の標準データを計測す
るのに適した部品画像でないときには、ホスト側装置に
よって、当該部品の標準データを計測するのに適した部
品画像が得られるように部品画像入力手段の撮像条件を
調整させるとともに部品画像を再度入力させる手段、な
らびに入力された部品画像が、当該部品の標準データを
計測するのに適した部品画像である場合には、その部品
画像に基づいて、標準データを計測する手段を備えてい
ることを特徴とする。A second component recognition standard data generating apparatus according to the present invention inputs a component image in the component recognition standard data generating apparatus that generates standard data used for component recognition based on a component image. A component image input unit having a function of changing an imaging condition, an image processing device for performing image processing, and a host device for controlling the component image input unit. Means for determining whether the input component image is a component image suitable for measuring standard data of the component,
If the input component image is not a component image suitable for measuring the standard data of the component, the host-side device obtains the component image such that a component image suitable for measuring the standard data of the component is obtained. Means for adjusting the imaging conditions of the input means and re-inputting the component image, and, if the input component image is a component image suitable for measuring standard data of the component, based on the component image. And means for measuring standard data.
【0009】この発明による部品認識用標準データの生
成装置では、入力された部品画像が、当該部品の標準デ
ータを計測するのに適した部品画像でないときには、当
該部品の標準データを計測するのに適した部品画像が得
られるように部品画像入力手段の撮像条件が調整された
後、部品画像が部品画像入力手段によって再度入力され
る。したがって、標準データを計測するのに適した部品
画像に基づいて、標準データを計測できるので、正確な
標準データが得られる。この結果、部品の位置認識にお
いて、認識精度が向上する。In the device for generating standard data for component recognition according to the present invention, when the input component image is not a component image suitable for measuring the standard data of the component, the standard data of the component is measured. After the imaging conditions of the component image input unit are adjusted so that a suitable component image is obtained, the component image is input again by the component image input unit. Therefore, since the standard data can be measured based on the component image suitable for measuring the standard data, accurate standard data can be obtained. As a result, in the position recognition of the component, the recognition accuracy is improved.
【0010】[0010]
【発明の実施の形態】以下、図面を参照して、この発明
を電子部品自動装着システムに適用した場合の実施の形
態について説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an electronic component automatic mounting system will be described below with reference to the drawings.
【0011】図1は、電子部品自動装着システムの全体
的な構成を示している。FIG. 1 shows the overall configuration of an electronic component automatic mounting system.
【0012】電子部品自動装着システムは、システム全
体を制御するホストコンピュータ1、電子部品をプリン
ト基板に装着する電子部品装着装置2ならびに電子部品
の位置認識に用いられる標準データの計測および部品位
置認識を行なう画像処理装置3を備えている。ホストコ
ンピュータ(ホスト側装置)1は、標準データが記憶さ
れたデータベース4を備えている。画像処理装置3に
は、モニタ5およびユーザインタフェース6が接続され
ている。The electronic component automatic mounting system includes a host computer 1 for controlling the entire system, an electronic component mounting device 2 for mounting electronic components on a printed circuit board, and measurement of standard data used for position recognition of electronic components and component position recognition. The image processing apparatus 3 is provided. The host computer (host-side device) 1 includes a database 4 in which standard data is stored. A monitor 5 and a user interface 6 are connected to the image processing device 3.
【0013】電子部品装着装置2は、電子部品を吸着保
持する吸着ノズルを含み、電子部品を保持するとともに
電子部品をプリント基板に装着させる部品保持・装着装
置21および吸着ノズルに吸着された電子部品をCCD
カメラで撮像し、部品画像を入力する部品画像入力装置
22を備えている。この実施の形態では、部品保持・装
着装置21および部品画像入力装置22が、特許請求の
範囲の請求項1の部品画像入力手段を構成している。The electronic component mounting device 2 includes a suction nozzle for sucking and holding the electronic component, and a component holding / mounting device 21 for holding the electronic component and mounting the electronic component on a printed circuit board, and the electronic component sucked by the suction nozzle. The CCD
A component image input device 22 that captures an image with a camera and inputs a component image is provided. In this embodiment, the component holding / mounting device 21 and the component image input device 22 constitute a component image input unit according to claim 1 of the present invention.
【0014】画像処理装置3は、部品画像入力装置22
によって得られた電子部品画像を、たとえば512×5
12画素、8ビット256階調の濃淡画像として画像メ
モリに取込み、画像処理により電子部品の位置認識、標
準データの計測等を行なう。モニタ5には、部品画像、
処理結果等が表示される。The image processing device 3 includes a component image input device 22
The electronic component image obtained by
The image is taken into an image memory as a 12-pixel, 8-bit, 256-gradation grayscale image, and the position of an electronic component is recognized and standard data is measured by image processing. The monitor 5 displays component images,
The processing result and the like are displayed.
【0015】画像処理装置3は、位置認識手段31およ
び標準データ計測手段32を備えている。位置認識手段
31は、電子部品画像と、ホストコンピュータ1から供
給される電子部品の種類、サイズ、形状等の標準データ
とに基づいて、電子部品の重心位置、傾き角度等を検出
する。標準データ計測手段32は、電子部品画像に基づ
いて、電子部品の種類、サイズ、形状等の標準データを
求める。The image processing apparatus 3 includes a position recognition unit 31 and a standard data measurement unit 32. The position recognizing unit 31 detects the position of the center of gravity, the inclination angle, and the like of the electronic component based on the electronic component image and standard data such as the type, size, and shape of the electronic component supplied from the host computer 1. The standard data measurement unit 32 obtains standard data such as the type, size, and shape of the electronic component based on the electronic component image.
【0016】ユーザインタフェース6は、必要に応じ
て、標準データ計測手段32によって求められた標準デ
ータの修正等を行なう。ホストコンピュータ1は、各装
置の制御の他、標準データのデータベース4への登録、
更新および読み出しを行なう。The user interface 6 corrects the standard data obtained by the standard data measuring means 32 as necessary. The host computer 1 controls each device, registers standard data in the database 4,
Update and read.
【0017】図2は、部品画像入力装置22の概略構成
を示している。部品画像入力装置22による光照射方式
には、透過方式と反射方式とがある。また、部品画像入
力装置22は、撮像位置および解像度を変更させる機能
を有している。部品画像入力装置22は、CCDカメラ
101、透過用光源102、反射用光源103、および
拡散板104を備えている。FIG. 2 shows a schematic configuration of the component image input device 22. The light irradiation method by the component image input device 22 includes a transmission method and a reflection method. Further, the component image input device 22 has a function of changing the imaging position and the resolution. The component image input device 22 includes a CCD camera 101, a transmission light source 102, a reflection light source 103, and a diffusion plate 104.
【0018】透過方式の場合には、透過用光源102か
ら出射された光は、電子部品100の背面にある拡散板
104に直接照射され、その反射光がCCDカメラ10
1に入射する。このため、電子部品100のシルエット
画像が得られる。In the case of the transmission system, the light emitted from the transmission light source 102 is directly radiated to the diffusion plate 104 on the back of the electronic component 100, and the reflected light is transmitted to the CCD camera 10.
Incident on 1. Thus, a silhouette image of the electronic component 100 is obtained.
【0019】反射方式の場合には、反射用光源103か
ら出射された光は、電子部品100の前面に直接照射さ
れ、その反射光がCCDカメラ101に入射する。この
ため、電極等の明るい部分とそれ以外の部分とが明確に
区別できる画像が得られる。In the case of the reflection type, the light emitted from the reflection light source 103 is directly applied to the front surface of the electronic component 100, and the reflected light enters the CCD camera 101. For this reason, an image in which bright portions such as electrodes and other portions can be clearly distinguished is obtained.
【0020】したがって、モールドのサイズ、形状等の
ように電子部品の外形に基づいて標準データを計測する
場合には透過方式が適しており、電極に基づいて標準デ
ータを計測する場合には反射方式が適している。Therefore, the transmission method is suitable for measuring standard data based on the outer shape of the electronic component, such as the size and shape of the mold, and the reflection method is used for measuring standard data based on the electrodes. Is suitable.
【0021】解像度の調整は、CCDカメラ101を光
軸方向であるz軸に移動させることによって行なわれ
る。比較的小さい電子部品の標準データを生成する際に
は、解像度を高くして大きな画像を得、得られた画像に
基づいて標準データが計測される。これにより、標準デ
ータの計測精度が高められる。The resolution is adjusted by moving the CCD camera 101 in the direction of the optical axis in the z-axis. When generating standard data of a relatively small electronic component, a large image is obtained by increasing the resolution, and the standard data is measured based on the obtained image. Thereby, the measurement accuracy of the standard data is improved.
【0022】また、電子部品の局所的な部分にもとづい
て標準データを計測する際には、z軸に直交するxy平
面上でCCDカメラ101を平行移動させるとともに、
CCDカメラ101を光軸方向であるz軸に移動させる
ことにより、電子部品の局所的な部分の拡大画像を得、
得られた拡大画像に基づいて標準データが計測される。
これにより、標準データの計測精度が高められる。When measuring standard data based on a local portion of an electronic component, the CCD camera 101 is moved in parallel on an xy plane orthogonal to the z axis.
By moving the CCD camera 101 in the z-axis, which is the optical axis direction, an enlarged image of a local portion of the electronic component is obtained,
Standard data is measured based on the obtained enlarged image.
Thereby, the measurement accuracy of the standard data is improved.
【0023】なお、解像度の調整は、CCDカメラを固
定しておき、その他の光学系、照明系を移動させること
により行なってもよい。The resolution may be adjusted by fixing the CCD camera and moving other optical systems and illumination systems.
【0024】図3は、部品保持手段21の動作を示して
いる。部品保持・装着装置21は、吸着ノズル111、
吸着ノズル111に電子部品100を吸着させるための
真空ポンプ(図示略)、吸着ノズル111を回転させる
ための機構(図示略)等を備えている。FIG. 3 shows the operation of the component holding means 21. The component holding / mounting device 21 includes a suction nozzle 111,
A vacuum pump (not shown) for attracting the electronic component 100 to the suction nozzle 111, a mechanism (not shown) for rotating the suction nozzle 111, and the like are provided.
【0025】標準データ計測時には、図3(a)に示す
ように、真空ポンプによって吸着ノズル111に電子部
品100が吸着せしめられる。次に、図3(b)に示す
ように、電子部品100が吸着ノズル111に保持され
ている状態で、CCDカメラ101により電子部品10
0が撮像される。そして、標準データ計測手段32によ
って電子部品100の吸着姿勢、大きさ等が逐次処理的
に計測される。At the time of standard data measurement, as shown in FIG. 3A, the electronic component 100 is sucked to the suction nozzle 111 by a vacuum pump. Next, as shown in FIG. 3B, while the electronic component 100 is held by the suction nozzle 111, the electronic component 10 is
0 is imaged. Then, the suction posture, the size, and the like of the electronic component 100 are sequentially measured by the standard data measurement unit 32.
【0026】その各処理段階において、図3(c)に示
すように、吸着ノズル111の回転等による位置補正が
必要に応じて行なわれ、再度、電子部品画像が撮像さ
れ、標準データの計測に適した画像が得られる。例え
ば、傾いた姿勢の電子部品画像から標準データを計測し
にくい場合には、吸着ノズル111の回転等によって傾
き角度を補正して電子部品が傾いていない画像を得、得
られた画像に基づいて標準データを計測することによ
り、計測処理の負荷の軽減化、計測精度の向上化を図
る。In each processing step, as shown in FIG. 3C, position correction by rotation of the suction nozzle 111 and the like is performed as necessary, and an electronic component image is captured again to measure standard data. A suitable image is obtained. For example, when it is difficult to measure standard data from an electronic component image in a tilted posture, an image in which the electronic component is not tilted is obtained by correcting the tilt angle by rotating the suction nozzle 111 or the like, and based on the obtained image. By measuring standard data, it is possible to reduce the load of measurement processing and improve measurement accuracy.
【0027】部品装着時には、図3(a)に示すよう
に、真空ポンプによって吸着ノズル111に電子部品1
00が吸着せしめられる。次に、図3(b)に示すよう
に、電子部品100が吸着ノズル111に保持されてい
る状態で、CCDカメラ101により電子部品100が
撮像される。そして、位置認識手段31によって当該電
子部品の標準データを用いて電子部品100の重心位
置、傾き角度等が認識される。また、位置補正量が算出
され、吸着ノズル111の回転等によって位置補正が行
なわれた後、プリント基板に電子部品100が装着され
る。At the time of mounting the components, as shown in FIG.
00 is adsorbed. Next, as shown in FIG. 3B, the electronic component 100 is imaged by the CCD camera 101 while the electronic component 100 is held by the suction nozzle 111. Then, the position recognition means 31 recognizes the center of gravity position, the inclination angle, and the like of the electronic component 100 using the standard data of the electronic component. After the position correction amount is calculated and the position correction is performed by rotating the suction nozzle 111 or the like, the electronic component 100 is mounted on the printed circuit board.
【0028】図4および図5は標準データの例を示して
いる。図4に示すように、位置認識がリード画像に基づ
いて行なわれる電子部品では、電子部品の種類、最外形
の大きさ(最外形長X、最外形幅Y)、モールドの大き
さ(モールド長X、モールド幅Y)、リードの方向、リ
ードの本数、リード長L、リード幅D、リードピッチP
等が標準データとして用いられる。FIGS. 4 and 5 show examples of standard data. As shown in FIG. 4, in an electronic component in which position recognition is performed based on a lead image, the type of the electronic component, the size of the outermost shape (the outermost length X, the outermost width Y), and the size of the mold (the mold length) X, mold width Y), lead direction, number of leads, lead length L, lead width D, lead pitch P
Are used as standard data.
【0029】位置認識がコーナ部の画像に基づいて行な
われる電子部品では、図5に示すように、標準データと
して、電子部品の種類、コーナサイズ、コーナ部の形状
等が標準データとして用いられる。図5(a)はR面取
りコーナを、図5(b)はC面取りコーナを、図5
(c)ではそれ以外のコーナ(不良コーナ)を示してい
る。As shown in FIG. 5, in an electronic component in which position recognition is performed based on an image of a corner, the type, the corner size, the shape of the corner and the like of the electronic component are used as standard data as standard data. FIG. 5A shows an R-chamfered corner, FIG. 5B shows a C-chamfered corner, and FIG.
(C) shows other corners (defective corners).
【0030】図6は、標準データを生成する場合の処理
手順を示している。まず、入力された電子部品画像に対
して、画像処理装置3は、電子部品画像の大きさの粗検
出を行ない(ステップ1)、電子部品画像の大きさが適
切か否かを判定する(ステップ2)。FIG. 6 shows a processing procedure for generating standard data. First, the image processing device 3 performs coarse detection of the size of the electronic component image with respect to the input electronic component image (step 1), and determines whether the size of the electronic component image is appropriate (step 1). 2).
【0031】電子部品画像の大きさが適切でない場合に
は、ホストコンピュータ1は部品画像入力装置22を制
御して解像度を変更させる。そして、部品画像入力装置
22によって画像を再度取り込ませる(ステップ3)。
そして、ステップ1に戻る。If the size of the electronic component image is not appropriate, the host computer 1 controls the component image input device 22 to change the resolution. Then, the image is again captured by the component image input device 22 (step 3).
Then, the process returns to step 1.
【0032】ステップ2において、電子部品画像の大き
さが適切であると判定された場合には、画像処理装置3
は、モールドまたは最外形を検出し、電子部品の吸着姿
勢を検出する(ステップ4)。If it is determined in step 2 that the size of the electronic component image is appropriate, the image processing device 3
Detects the mold or the outermost shape and detects the suction posture of the electronic component (step 4).
【0033】そして、吸着姿勢が適切か否かを判定する
(ステップ5)。吸着姿勢が適切でない場合には、ホス
トコンピュータ1は電子部品の吸着姿勢が適切な姿勢と
なるように、部品保持・装着装置21の吸着ノズルを回
転させる。そして、部品画像入力装置22によって画像
を再度取り込ませる(ステップ6)。そして、ステップ
4に戻る。Then, it is determined whether or not the suction posture is appropriate (step 5). If the suction posture is not appropriate, the host computer 1 rotates the suction nozzle of the component holding / mounting device 21 so that the suction posture of the electronic component becomes an appropriate posture. Then, the image is taken in again by the component image input device 22 (step 6). Then, the process returns to step 4.
【0034】ステップ5において、吸着姿勢が適切であ
ると判定された場合には、画像処理装置3は、電子部品
の大きさを計測する(ステップ7)。また、画像処理装
置3は、電子部品の種類に応じて局所的な形状の認識お
よび局所的サイズの計測処理(局所的認識計測処理)
(ステップ8)または電極に基づく計測処理(ステップ
9)を行なう。If it is determined in step 5 that the suction posture is appropriate, the image processing device 3 measures the size of the electronic component (step 7). In addition, the image processing apparatus 3 performs local shape recognition and local size measurement processing (local recognition measurement processing) according to the type of electronic component.
(Step 8) or measurement processing based on the electrodes (Step 9) is performed.
【0035】ホストコンピュータ1は、上記ステップ
7、8、9によって計測された当該電子部品の標準デー
タをデータベース4に登録する(ステップ10)。The host computer 1 registers the standard data of the electronic component measured in steps 7, 8, and 9 in the database 4 (step 10).
【0036】図6のステップ1〜6の処理について、図
7を参照して、角チップ部品を例にとって具体的に説明
する。The processing of steps 1 to 6 in FIG. 6 will be specifically described with reference to FIG. 7 using a square chip component as an example.
【0037】ステップ1の電子部品画像の大きさの粗検
出においては、図7(a)に示すように、たとえば、電
子部品画像の外接長方形の大きさが求められる。図7
(a)に示すように、電子部品画像の外接長方形が全画
面サイズに比べて小さい場合には(ステップ2)、ホス
トコンピュータ1に解像度を高くさせるための指令等が
通知される。ホストコンピュータ1は、解像度が高くな
るように、部品画像入力装置22を制御する。そして、
再度電子部品画像が取り込まれる(ステップ3)。解像
度の倍率は、外接長方形の大きさに基づいて算出され
る。In the coarse detection of the size of the electronic component image in step 1, as shown in FIG. 7A, for example, the size of the circumscribed rectangle of the electronic component image is obtained. FIG.
As shown in (a), when the circumscribed rectangle of the electronic component image is smaller than the entire screen size (step 2), a command or the like for increasing the resolution is notified to the host computer 1. The host computer 1 controls the component image input device 22 to increase the resolution. And
The electronic component image is captured again (step 3). The magnification of the resolution is calculated based on the size of the circumscribed rectangle.
【0038】この結果、図7(b)に示すように、高解
像度の電子部品画像が得られる。得られた高解像度の電
子部品画像からモールドが検出され、その傾き角度から
電子部品の吸着姿勢が検出される(ステップ4)。そし
て、電子部品の吸着姿勢が適切でない場合には(ステッ
プ5でNO)、モールドの傾き角度がホストコンピュー
タ1に送られる。ホストコンピュータ1は電子部品の吸
着姿勢が適切な姿勢となるように、部品保持・装着装置
21の吸着ノズルを回転させる。そして、再度電子部品
画像が取り込まれる(ステップ6)。As a result, a high-resolution electronic component image is obtained as shown in FIG. The mold is detected from the obtained high-resolution electronic component image, and the suction posture of the electronic component is detected from the inclination angle (step 4). If the electronic component suction posture is not appropriate (NO in step 5), the tilt angle of the mold is sent to the host computer 1. The host computer 1 rotates the suction nozzle of the component holding / mounting device 21 such that the suction posture of the electronic component becomes an appropriate posture. Then, the electronic component image is captured again (step 6).
【0039】この結果、図7(c)に示すように、吸着
姿勢が適切な高解像度の電子部品画像が得られる。そし
て、得られた電子部品画像に基づいて、ステップ7〜9
の標準データの計測処理が行なわれる。このように、大
きさおよび吸着姿勢が共に適切な電子部品画像に基づい
て、当該電子部品の標準データの計測処理が行なわれる
ため、処理負担が軽くなるとともに、正確な標準データ
を得ることができるようになる。As a result, as shown in FIG. 7C, a high-resolution electronic component image with an appropriate suction attitude is obtained. Then, based on the obtained electronic component images, steps 7 to 9 are performed.
The standard data measurement process is performed. As described above, since the measurement processing of the standard data of the electronic component is performed based on the electronic component image having both the appropriate size and the suction posture, the processing load is reduced and the accurate standard data can be obtained. Become like
【0040】図8は、図6のステップ8の局所的認識計
測処理の手順を示している。局所的認識計測処理は、た
とえば、位置認識がコーナ部の画像に基づいて行なわれ
る電子部品(図5参照)のように、コーナ部の形状(局
所的な形状)、コーナサイズ(局所的サイズ)等の局所
的な情報が標準データとして用いられる電子部品に対し
て行なわれる。FIG. 8 shows the procedure of the local recognition measurement processing in step 8 of FIG. In the local recognition measurement processing, for example, like an electronic component (see FIG. 5) in which position recognition is performed based on an image of a corner, the shape of the corner (local shape) and the corner size (local size) Is performed on electronic components used as standard data.
【0041】まず、画像処理装置3は、局所的認識計測
処理を続けるか否かを判定する(ステップ81)。当該
電子部品が、局所的な情報を標準データとしているもの
であり、かつ標準データに必要な局所的な情報の全てが
計測されていない場合には、ステップ81でYESとな
る。当該電子部品が局所的な情報を標準データとしてい
ないものである場合、または当該電子部品が局所的な情
報を標準データとしているものであり、かつ標準データ
に必要な局所的な情報の全てが計測されている場合に
は、ステップ81でNOとなる。First, the image processing device 3 determines whether or not to continue the local recognition measurement process (step 81). If the electronic component uses local information as standard data and all the local information required for the standard data has not been measured, YES is determined in step 81. When the electronic component does not use local information as standard data, or when the electronic component uses local information as standard data, and all the local information required for the standard data is measured. If so, the determination at step 81 is NO.
【0042】ステップ81でNOであれば、図6のステ
ップ9に進む。ステップ81でYESであれば、ホスト
コンピュータ1は、電子部品のコーナ部等の局所的な部
分の拡大画像が得られるように、部品画像入力装置22
を制御する。つまり、局所的な部分を撮像できるように
図2のxy平面でCCDカメラを移動させるとともに、
拡大画像を得るために図2のz軸方向にCCDカメラを
移動させる。そして、部品画像入力装置22によって電
子部品画像を取り込ませる(ステップ82)。If "NO" in the step 81, the process proceeds to a step 9 in FIG. If “YES” in the step 81, the host computer 1 operates the component image input device 22 to obtain an enlarged image of a local portion such as a corner portion of the electronic component.
Control. In other words, the CCD camera is moved on the xy plane in FIG.
The CCD camera is moved in the z-axis direction in FIG. 2 to obtain an enlarged image. Then, an electronic component image is captured by the component image input device 22 (step 82).
【0043】画像処理装置3は、取込み画像に基づい
て、局所的な形状の認識および局所的サイズの計測を行
なう(ステップ83)。そして、ステップ81に戻る。The image processing device 3 performs local shape recognition and local size measurement based on the captured image (step 83). Then, the process returns to step 81.
【0044】図9は、図6のステップ9の電極に基づく
計測処理の手順を示している。電極に基づく計測処理
は、位置認識がリード画像に基づいて行なわれる電子部
品(図4参照)のように、リード長さ、リード幅、リー
ドピッチ等の電極に関する情報が標準データとして用い
られる電子部品に対して行なわれる。FIG. 9 shows the procedure of the measurement process based on the electrodes in step 9 of FIG. In the measurement processing based on the electrodes, electronic components in which information about electrodes such as lead length, lead width, and lead pitch are used as standard data, such as electronic components in which position recognition is performed based on a lead image (see FIG. 4). Is performed on
【0045】まず、画像処理装置3は、電極に基づく計
測処理を続けるか否かを判定する(ステップ91)。当
該電子部品が、電極に関する情報を標準データとしてい
るものであり、かつ標準データに必要な電極に関する情
報の全てが計測されていない場合には、ステップ91で
YESとなる。当該電子部品が電極に関する情報を標準
データとしていないものである場合、または当該電子部
品が電極に関する情報を標準データとしているものであ
り、かつ標準データに必要な電極に関する情報の全てが
計測されている場合には、ステップ91でNOとなる。First, the image processing device 3 determines whether or not to continue the measurement process based on the electrodes (step 91). If the electronic component uses the information on the electrodes as the standard data and all the information on the electrodes necessary for the standard data has not been measured, the result of step 91 is YES. If the electronic component does not use information about the electrodes as standard data, or if the electronic component uses information about the electrodes as standard data, and all the information about the electrodes required for the standard data is measured. In this case, the determination in step 91 is NO.
【0046】ステップ91でNOであれば、図6のステ
ップ10に進む。ステップ91でYESであれば、画像
処理装置3は照明方式を切り替える必要があるか否かを
判定する(ステップ92)。照明方式は、通常は、透過
方式が選択されている。透過方式が選択されている場合
には、照明方式を反射方式に切り替える必要があると判
定する。If "NO" in the step 91, the process proceeds to a step 10 in FIG. If “YES” in the step 91, the image processing device 3 determines whether or not it is necessary to switch the illumination method (step 92). As a lighting method, a transmission method is usually selected. When the transmission method is selected, it is determined that the illumination method needs to be switched to the reflection method.
【0047】照明方式を反射方式に切り替える必要があ
ると判定された場合には、ホストコンピュータ1は、照
明方式を反射方式に切り替えるように、部品画像入力装
置22を制御する(ステップ93)。そして、部品画像
入力装置22によって電子部品画像を取り込ませ、ステ
ップ94に進む。ステップ92で照明方式を切り替える
必要がないと判定された場合には、ステップ93の処理
を行なうことなくステップ94に進む。If it is determined that the illumination system needs to be switched to the reflection system, the host computer 1 controls the component image input device 22 to switch the illumination system to the reflection system (step 93). Then, an electronic component image is taken in by the component image input device 22, and the process proceeds to step 94. If it is determined in step 92 that there is no need to switch the illumination method, the process proceeds to step 94 without performing step 93.
【0048】ステップ94では、画像処理装置3は、現
在取込まれている電子部品画像に基づいて、解像度およ
び撮像位置を変更する必要があるか否かを判定する。解
像度および撮像位置を変更する必要があると判定された
場合には、ホストコンピュータ1は、電極の拡大画像が
得られるように、部品画像入力装置22を制御する(ス
テップ95)。そして、部品画像入力装置22によって
電子部品画像を取り込ませ、ステップ96に進む。ステ
ップ94で解像度および撮像位置を変更する必要がない
と判定された場合には、ステップ95の処理を行なうこ
となくステップ96に進む。In step 94, the image processing device 3 determines whether or not it is necessary to change the resolution and the imaging position based on the currently captured electronic component image. When it is determined that the resolution and the imaging position need to be changed, the host computer 1 controls the component image input device 22 so as to obtain an enlarged image of the electrode (step 95). Then, the electronic component image is taken in by the component image input device 22, and the process proceeds to step 96. If it is determined in step 94 that the resolution and the imaging position do not need to be changed, the process proceeds to step 96 without performing step 95.
【0049】ステップ96では、画像処理装置3は、現
在取込まれている画像に基づいて、リード長さ、リード
幅、リードピッチ等の電極に関する情報を計測する。そ
して、ステップ10に移行する。In step 96, the image processing device 3 measures information about the electrodes such as the lead length, the lead width, and the lead pitch based on the currently captured image. Then, the process proceeds to step 10.
【0050】以上のようにして、電子部品の標準データ
がデータベース4に登録された後に、電子部品自動装着
システムが稼働される。基板に装着すべき電子部品が撮
像され、画像メモリに格納される。一方、ホストコンピ
ュータ1からは、データベース4から当該電子部品の標
準データが読み出されて、画像処理装置3に転送され
る。画像処理装置3内の位置認識手段31によって、画
像メモリに格納された電子部品画像と、その電子部品に
対する標準データとに基づいて、電子部品の位置認識が
行われ、その認識結果がホストコンピュータ1に送られ
る。そして、位置補正が行なわれた後、電子部品がプリ
ント基板に装着される。After the standard data of the electronic component is registered in the database 4 as described above, the electronic component automatic mounting system is operated. Electronic components to be mounted on the board are imaged and stored in an image memory. On the other hand, standard data of the electronic component is read from the database 4 from the host computer 1 and transferred to the image processing device 3. The position recognition means 31 in the image processing device 3 performs position recognition of the electronic component based on the electronic component image stored in the image memory and the standard data for the electronic component, and the recognition result is stored in the host computer 1. Sent to After the position correction is performed, the electronic component is mounted on the printed circuit board.
【0051】なお、位置認識において、標準データの計
測結果の誤りが原因でエラーが発生した場合には、再度
標準データの生成処理が行なわれたり、ユーザインタフ
ェイスによる修正が行なわれたりする。In the position recognition, if an error occurs due to an error in the measurement result of the standard data, a process of generating the standard data is performed again or a correction is made by the user interface.
【0052】[0052]
【発明の効果】この発明によれば、正確な標準データを
生成することができる。According to the present invention, accurate standard data can be generated.
【図1】電子部品自動装着システムの全体的な構成を示
すブロック図である。FIG. 1 is a block diagram showing an overall configuration of an electronic component automatic mounting system.
【図2】部品画像入力装置の概略構成を示す斜視図であ
る。FIG. 2 is a perspective view illustrating a schematic configuration of a component image input device.
【図3】部品保持・装着装置の動作を示す説明図であ
る。FIG. 3 is an explanatory diagram showing an operation of the component holding / mounting device.
【図4】標準データの例を示す模式図である。FIG. 4 is a schematic diagram showing an example of standard data.
【図5】標準データの例を示す模式図である。FIG. 5 is a schematic diagram showing an example of standard data.
【図6】標準データを生成する場合の処理手順を示すフ
ローチャートである。FIG. 6 is a flowchart illustrating a processing procedure when generating standard data.
【図7】図6のステップ1〜6の処理を具体的に説明す
るための説明図である。FIG. 7 is an explanatory diagram for specifically explaining the processing of steps 1 to 6 in FIG. 6;
【図8】図6のステップ8の局所的認識計測処理の手順
を示すフローチャートである。FIG. 8 is a flowchart showing the procedure of a local recognition measurement process in step 8 of FIG. 6;
【図9】図6のステップ9の電極に基づく計測処理の手
順を示すフローチャートである。FIG. 9 is a flowchart showing a procedure of a measurement process based on the electrodes in step 9 of FIG. 6;
1 ホストコンピュータ 2 電子部品装着装置 3 画像処理装置 4 データベース 21 部品保持・装着装置 22 部品画像入力装置 31 位置認識手段 32 標準データ計測手段 REFERENCE SIGNS LIST 1 host computer 2 electronic component mounting device 3 image processing device 4 database 21 component holding / mounting device 22 component image input device 31 position recognition means 32 standard data measurement means
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 - 7/60 G01B 11/24 G06T 1/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) G06T 7 /00-7/60 G01B 11/24 G06T 1/00
Claims (3)
れる標準データを生成する部品認識用標準データの生成
装置において、 部品画像を入力するためのものであって、撮像条件を変
更できる機能を有している部品画像入力手段、 入力された部品画像が、当該部品の標準データを計測す
るのに適した部品画像か否かを判定する判定手段、 入力された部品画像が、当該部品の標準データを計測す
るのに適した部品画像でないときには、当該部品の標準
データを計測するのに適した部品画像が得られるように
部品画像入力手段の撮像条件を調整した後、部品画像を
部品画像入力手段によって再度入力させる制御手段、な
らびに入力された部品画像が、当該部品の標準データを
計測するのに適した部品画像である場合には、その部品
画像に基づいて、標準データを計測する標準データ計測
手段、 を備えている部品認識用標準データの生成装置。An apparatus for generating standard data for component recognition that generates standard data used for component recognition based on a component image, the device having a function of inputting a component image and capable of changing an imaging condition. A component image input means having the component image determination means for determining whether or not the input component image is a component image suitable for measuring standard data of the component; If the component image is not suitable for measuring the data, after adjusting the imaging conditions of the component image input means so that a component image suitable for measuring the standard data of the component is obtained, the component image is input to the component image. Control means for re-inputting by means, and if the input component image is a component image suitable for measuring standard data of the component, based on the component image And a standard data measuring means for measuring standard data.
れる標準データを生成する部品認識用標準データの生成
装置において、 部品画像を入力するためのものであって、撮像条件を変
更できる機能を有している部品画像入力手段、画像処理
を行なう画像処理装置、および部品画像入力手段を制御
するホスト側装置とを備え、 画像処理装置は、入力された部品画像が、当該部品の標
準データを計測するのに適した部品画像か否かを判定す
る手段、入力された部品画像が、当該部品の標準データ
を計測するのに適した部品画像でないときには、ホスト
側装置によって、当該部品の標準データを計測するのに
適した部品画像が得られるように部品画像入力手段の撮
像条件を調整させるとともに部品画像を再度入力させる
手段、ならびに入力された部品画像が、当該部品の標準
データを計測するのに適した部品画像である場合には、
その部品画像に基づいて、標準データを計測する手段を
備えている部品認識用標準データの生成装置。2. An apparatus for generating standard data for component recognition, which generates standard data used for component recognition based on a component image, wherein a function for inputting a component image and changing an imaging condition is provided. A component image input device, an image processing device that performs image processing, and a host device that controls the component image input device. The image processing device converts the input component image into standard data of the component. Means for determining whether or not the component image is suitable for measurement; when the input component image is not a component image suitable for measuring the standard data of the component, the host-side device uses the standard data of the component; Means for adjusting the imaging conditions of the component image input means so as to obtain a component image suitable for measuring the component image and for re-inputting the component image, and the input portion Images, when a component image suitable to measure standard data of the component,
An apparatus for generating standard data for component recognition, comprising means for measuring standard data based on the component image.
置、解像度および照明方式のうちから任意に選択された
1または任意の組み合わせである請求項1および2のい
ずれかに記載の部品認識用標準データの生成装置。3. The component recognition apparatus according to claim 1, wherein the imaging condition is one or an arbitrary combination selected from an imaging position, an imaging rotation angle position, a resolution, and an illumination method. Standard data generator.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32915895A JP3296705B2 (en) | 1995-12-18 | 1995-12-18 | Generating device for standard data for component recognition |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32915895A JP3296705B2 (en) | 1995-12-18 | 1995-12-18 | Generating device for standard data for component recognition |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09167237A JPH09167237A (en) | 1997-06-24 |
| JP3296705B2 true JP3296705B2 (en) | 2002-07-02 |
Family
ID=18218297
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32915895A Expired - Fee Related JP3296705B2 (en) | 1995-12-18 | 1995-12-18 | Generating device for standard data for component recognition |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3296705B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5909285A (en) * | 1997-05-05 | 1999-06-01 | Beaty; Elwin M. | Three dimensional inspection system |
| JP4561562B2 (en) * | 2005-09-27 | 2010-10-13 | パナソニック株式会社 | Image recognition data creation apparatus and image recognition data creation method |
| JP2010164334A (en) * | 2009-01-13 | 2010-07-29 | Ihi Corp | Device and method for measuring inside shape |
| JP5926881B2 (en) | 2010-03-30 | 2016-05-25 | 富士機械製造株式会社 | Image processing component data creation method and image processing component data creation device |
| JP2021009818A (en) * | 2019-07-02 | 2021-01-28 | 日本特殊陶業株式会社 | How to make a spark plug |
-
1995
- 1995-12-18 JP JP32915895A patent/JP3296705B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09167237A (en) | 1997-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2003519783A (en) | Solder paste inspection device | |
| CN101666957B (en) | Automatic focal point regulation process in filming apparatus | |
| JP2001359126A (en) | Optical axis tilt angle detecting device and image measuring device having the same | |
| JP3296705B2 (en) | Generating device for standard data for component recognition | |
| KR20050028847A (en) | Defect detector and defect detection method | |
| WO1997022238A1 (en) | Component placement machine and method of placing a component on a carrier by means of said component placement machine | |
| JP2001124700A (en) | Calibration method of inspection machine with line sensor camera | |
| JP3434004B2 (en) | Component recognition device and component mounting device | |
| JP2004235671A (en) | Electronic component mounting equipment | |
| JPH07162200A (en) | Method and apparatus for mounting electronic part | |
| JP3651718B2 (en) | Screen printing apparatus and printing method | |
| JP2536127B2 (en) | Board inspection equipment | |
| JP3883279B2 (en) | Electronic component mounting method and apparatus | |
| JP3579247B2 (en) | Pattern alignment method | |
| JP3166816B2 (en) | Pattern position finding method and apparatus by image recognition | |
| JP2002199268A (en) | Image positioning method for digital image capture device | |
| JP3098847B2 (en) | Component recognition method | |
| JP3655750B2 (en) | Component mounting equipment | |
| JP2985380B2 (en) | Electronic component position detection method | |
| JP2003130619A (en) | Method and apparatus for detecting defective lead terminal of electronic component | |
| JP4262832B2 (en) | Image input method and apparatus | |
| JP4008722B2 (en) | Method and apparatus for detecting floating electrode of electronic component | |
| JPH08181062A (en) | Positioning device and positioning method | |
| JPS60200382A (en) | Method and device for pattern checking | |
| JP3038990B2 (en) | Thresholding method for image binarization |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090412 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100412 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |