JPH09167237A - Standard data generator for parts recognition - Google Patents
Standard data generator for parts recognitionInfo
- Publication number
- JPH09167237A JPH09167237A JP7329158A JP32915895A JPH09167237A JP H09167237 A JPH09167237 A JP H09167237A JP 7329158 A JP7329158 A JP 7329158A JP 32915895 A JP32915895 A JP 32915895A JP H09167237 A JPH09167237 A JP H09167237A
- Authority
- JP
- Japan
- Prior art keywords
- component
- image
- standard data
- component image
- measuring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003384 imaging method Methods 0.000 claims abstract description 15
- 238000005259 measurement Methods 0.000 claims description 18
- 238000005286 illumination Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 description 37
- 230000008569 process Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000009792 diffusion process Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000001028 reflection method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000000280 densification Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000013585 weight reducing agent Substances 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
(57)【要約】
【課題】 この発明は、正確な標準データを生成するこ
とができる部品認識用標準データの生成装置を提供する
ことを目的とする。
【解決手段】 部品画像を入力するためのものであっ
て、撮像条件を変更できる機能を有している部品画像入
力手段21、22、入力された部品画像が、当該部品の
標準データを計測するのに適した部品画像か否かを判定
する判定手段31、入力された部品画像が、当該部品の
標準データを計測するのに適した部品画像でないときに
は、当該部品の標準データを計測するのに適した部品画
像が得られるように部品画像入力手段21、22の撮像
条件を調整した後、部品画像を部品画像入力手段21、
22によって再度入力させる制御手段1、ならびに入力
された部品画像が、当該部品の標準データを計測するの
に適した部品画像である場合には、その部品画像に基づ
いて、標準データを計測する標準データ計測手段32を
備えている。
(57) Abstract: An object of the present invention is to provide a component recognition standard data generation device that can generate accurate standard data. SOLUTION: Component image inputting means 21 and 22 for inputting a component image and having a function of changing an imaging condition, the inputted component image measures standard data of the component. Determination unit 31 for determining whether or not a component image suitable for the component image is input, and 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 adjusting the imaging conditions of the component image input means 21 and 22 so as to obtain a suitable component image, the component image is input to the component image input means 21,
If the control means 1 to be input again by 22 and the input component image are component images suitable for measuring the standard data of the component, the standard for measuring the standard data based on the component image. The data measuring means 32 is provided.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、部品画像に基づ
いて、部品認識に用いられる標準データを生成する部品
認識用標準データの生成装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component recognition standard data generation device for generating standard data used for component recognition based on a component image.
【0002】[0002]
【従来の技術】電気製品の小型化、軽量化に伴い、チッ
プ状電子部品をプリント基板上に自動的に実装させる電
子部品自動装着装置においては、さらなる高密度化が要
求されている。その要求を満たす実装精度を実現するた
めには、画像処理技術を応用した電子部品の位置認識が
必要不可欠となっている。2. Description of the Related Art With the miniaturization and weight reduction of electric products, further densification is required for an electronic component automatic mounting apparatus for automatically mounting chip-shaped electronic components on a printed circuit board. In order to realize the mounting accuracy that satisfies the demand, it is indispensable to recognize the position of the electronic component by applying the image processing technology.
【0003】画像処理技術を応用した電子部品の位置認
識には、予め登録された部品の形状、サイズ等の標準デ
ータが使用される。位置認識がリード画像に基づいて行
なわれる電子部品では、標準データとして、最外形の大
きさ、モールドの大きさに関する情報、リードの方向、
本数、幅、長さおよびピッチに関する情報等が用いられ
る。位置認識がコーナ画像に基づいて行なわれる電子部
品では、標準データとして、電子部品のコーナ形状およ
びコーナサイズに関する情報等が用いられる。Standard data such as pre-registered shapes and sizes of parts are used for position recognition of electronic parts to which image processing technology is applied. For electronic components whose position is recognized based on the lead image, the standard data include the outermost size, the size information of the mold, the direction of the lead,
Information about the number, width, length and pitch is used. In an electronic component in which position recognition is performed based on a corner image, information regarding a corner shape and a corner size of the electronic component is used as standard data.
【0004】このような標準データは、各電子部品のカ
タログ等に記載されている寸法等を参照して、担当者が
手入力していたため、その登録手続きが面倒であった。
そこで、本出願人は、部品画像に基づいて、標準データ
を自動的に生成する技術を開発した。Such standard data was manually input by the person in charge with reference to the dimensions and the like described in the catalogs of each electronic component, so that the registration procedure was troublesome.
Therefore, the applicant has developed a technique for automatically generating standard data based on the part image.
【0005】ところで、電子部品自動装着装置によって
装着される電子部品には、微小角チップ、半固定ボリュ
ーム、IC等というように、形状および大きさの異なる
部品がある。しかしながら、解像度等の撮像条件は固定
されているため、入力される部品画像が、全ての電子部
品に対して、好適な標準データを生成するための画像で
あるとは限らない。このため、電子部品の形状、大きさ
および種類によっては、正確な標準データを生成できな
いことがあった。By the way, the electronic components mounted by the electronic component automatic mounting apparatus include components having different shapes and sizes such as a small angle chip, a semi-fixed volume, and an IC. However, since the imaging conditions such as resolution are fixed, the input component image is not always an image for generating suitable standard data for all electronic components. Therefore, accurate standard data may not be generated depending on the shape, size, and type of electronic component.
【0006】[0006]
【発明が解決しようとする課題】この発明は、正確な標
準データを生成することができる部品認識用標準データ
の生成装置を提供することを目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a component recognition standard data generating apparatus capable of generating accurate standard data.
【0007】[0007]
【課題を解決するための手段】この発明による第1の部
品認識用標準データの生成装置は、部品画像に基づい
て、部品認識に用いられる標準データを生成する部品認
識用標準データの生成装置において、部品画像を入力す
るためのものであって、撮像条件を変更できる機能を有
している部品画像入力手段、入力された部品画像が、当
該部品の標準データを計測するのに適した部品画像か否
かを判定する判定手段、入力された部品画像が、当該部
品の標準データを計測するのに適した部品画像でないと
きには、当該部品の標準データを計測するのに適した部
品画像が得られるように部品画像入力手段の撮像条件を
調整した後、部品画像を部品画像入力手段によって再度
入力させる制御手段、ならびに入力された部品画像が、
当該部品の標準データを計測するのに適した部品画像で
ある場合には、その部品画像に基づいて、標準データを
計測する標準データ計測手段を備えていることを特徴と
する。撮像条件は、撮像位置、撮像回転角度位置、解像
度および照明方式のうちから任意に選択された1または
任意の組み合わせである。A first component recognition standard data generating device according to the present invention is a component recognition standard data generating device for generating standard data used for component recognition based on a component image. , A component image input means for inputting a component image and having a function of changing an imaging condition, a component image suitable for measuring standard data of the component A determination means for determining whether or not the input component image is not a component image suitable for measuring the standard data of the component, and 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, the control means for inputting the component image again by the component image input means, and the input component image are
In the case of a component image suitable for measuring the standard data of the component, a standard data measuring means for measuring the standard data based on the component image is provided. The imaging condition is one or any 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 device according to the present invention inputs a component image in the component recognition standard data generating device which generates standard data used for component recognition based on the component image. The image processing apparatus includes a component image input unit having a function of changing the image pickup condition, an image processing device for performing image processing, and a host-side device for controlling the component image input unit. , Means for determining whether or not the input component image is a component image suitable for measuring standard data of the component,
When the input part image is not a part image suitable for measuring the standard data of the part, the part image is provided so that the host side device can obtain the part image suitable for measuring the standard data of the part. A means for adjusting the imaging condition of the input means and inputting the component image again, and if the input component image is a component image suitable for measuring standard data of the component, based on the component image And is provided with means for measuring standard data.
【0009】この発明による部品認識用標準データの生
成装置では、入力された部品画像が、当該部品の標準デ
ータを計測するのに適した部品画像でないときには、当
該部品の標準データを計測するのに適した部品画像が得
られるように部品画像入力手段の撮像条件が調整された
後、部品画像が部品画像入力手段によって再度入力され
る。したがって、標準データを計測するのに適した部品
画像に基づいて、標準データを計測できるので、正確な
標準データが得られる。この結果、部品の位置認識にお
いて、認識精度が向上する。In the component recognition standard data generating apparatus 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 means are adjusted so that a suitable component image can be obtained, the component image is input again by the component image input means. Therefore, since the standard data can be measured based on the part image suitable for measuring the standard data, accurate standard data can be obtained. As a result, the recognition accuracy is improved in the position recognition of the component.
【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 construction 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, measurement of standard data used for position recognition of electronic components, and component position recognition. The image processing device 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 apparatus 2 includes a suction nozzle for sucking and holding an electronic component, holds the electronic component and mounts the electronic component on a printed board, and the electronic component sucked by the suction nozzle. 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 the component image input means of claim 1 of the claims.
【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
A 12-pixel, 8-bit 256-gradation grayscale image is captured in an image memory, and the position of an electronic component is recognized and standard data is measured by image processing. On the monitor 5, parts images,
The processing result is displayed.
【0015】画像処理装置3は、位置認識手段31およ
び標準データ計測手段32を備えている。位置認識手段
31は、電子部品画像と、ホストコンピュータ1から供
給される電子部品の種類、サイズ、形状等の標準データ
とに基づいて、電子部品の重心位置、傾き角度等を検出
する。標準データ計測手段32は、電子部品画像に基づ
いて、電子部品の種類、サイズ、形状等の標準データを
求める。The image processing device 3 includes a position recognizing means 31 and a standard data measuring means 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 measuring means 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. The component image input device 22 also has a function of changing the image pickup position and the resolution. The component image input device 22 includes a CCD camera 101, a light source 102 for transmission, a light source 103 for reflection, and a diffusion plate 104.
【0018】透過方式の場合には、透過用光源102か
ら出射された光は、電子部品100の背面にある拡散板
104に直接照射され、その反射光がCCDカメラ10
1に入射する。このため、電子部品100のシルエット
画像が得られる。In the case of the transmissive system, the light emitted from the transmissive light source 102 is directly applied to the diffusion plate 104 on the back surface of the electronic component 100, and the reflected light thereof is the CCD camera 10.
Incident on 1. Therefore, a silhouette image of the electronic component 100 can be 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 is incident on the CCD camera 101. Therefore, it is possible to obtain an image in which bright portions such as electrodes and other portions can be clearly distinguished.
【0020】したがって、モールドのサイズ、形状等の
ように電子部品の外形に基づいて標準データを計測する
場合には透過方式が適しており、電極に基づいて標準デ
ータを計測する場合には反射方式が適している。Therefore, the transmissive method is suitable for measuring the standard data based on the outer shape of the electronic component such as the size and shape of the mold, and the reflective method is suitable for measuring the standard data based on the electrodes. Is suitable.
【0021】解像度の調整は、CCDカメラ101を光
軸方向であるz軸に移動させることによって行なわれ
る。比較的小さい電子部品の標準データを生成する際に
は、解像度を高くして大きな画像を得、得られた画像に
基づいて標準データが計測される。これにより、標準デ
ータの計測精度が高められる。The resolution is adjusted by moving the CCD camera 101 to the z-axis which is the optical axis direction. When generating standard data for a relatively small electronic component, the resolution is increased to obtain a large image, and the standard data is measured based on the obtained image. This improves the measurement accuracy of standard data.
【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 the xy plane orthogonal to the z axis, and
By moving the CCD camera 101 to 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.
This improves the measurement accuracy of standard data.
【0023】なお、解像度の調整は、CCDカメラを固
定しておき、その他の光学系、照明系を移動させること
により行なってもよい。The resolution may be adjusted by fixing the CCD camera and moving the other optical system and illumination system.
【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,
The suction nozzle 111 is provided with a vacuum pump (not shown) for sucking the electronic component 100, a mechanism (not shown) for rotating the suction nozzle 111, and the like.
【0025】標準データ計測時には、図3(a)に示す
ように、真空ポンプによって吸着ノズル111に電子部
品100が吸着せしめられる。次に、図3(b)に示す
ように、電子部品100が吸着ノズル111に保持され
ている状態で、CCDカメラ101により電子部品10
0が撮像される。そして、標準データ計測手段32によ
って電子部品100の吸着姿勢、大きさ等が逐次処理的
に計測される。At the time of measuring the standard data, as shown in FIG. 3A, the electronic component 100 is sucked by the suction nozzle 111 by the 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 moved by the CCD camera 101.
0 is imaged. Then, the standard data measuring means 32 sequentially measures the suction posture, size, etc. of the electronic component 100 in a sequential manner.
【0026】その各処理段階において、図3(c)に示
すように、吸着ノズル111の回転等による位置補正が
必要に応じて行なわれ、再度、電子部品画像が撮像さ
れ、標準データの計測に適した画像が得られる。例え
ば、傾いた姿勢の電子部品画像から標準データを計測し
にくい場合には、吸着ノズル111の回転等によって傾
き角度を補正して電子部品が傾いていない画像を得、得
られた画像に基づいて標準データを計測することによ
り、計測処理の負荷の軽減化、計測精度の向上化を図
る。In each of the processing steps, as shown in FIG. 3C, position correction by rotation of the suction nozzle 111 or the like is performed as necessary, an electronic component image is captured again, and standard data is measured. A suitable image is obtained. For example, when it is difficult to measure standard data from an electronic component image in a tilted posture, the tilt angle is corrected by rotating the suction nozzle 111 or the like to obtain an image in which the electronic component is not tilted, and based on the obtained image. By measuring standard data, the load of measurement processing is reduced and the measurement accuracy is improved.
【0027】部品装着時には、図3(a)に示すよう
に、真空ポンプによって吸着ノズル111に電子部品1
00が吸着せしめられる。次に、図3(b)に示すよう
に、電子部品100が吸着ノズル111に保持されてい
る状態で、CCDカメラ101により電子部品100が
撮像される。そして、位置認識手段31によって当該電
子部品の標準データを用いて電子部品100の重心位
置、傾き角度等が認識される。また、位置補正量が算出
され、吸着ノズル111の回転等によって位置補正が行
なわれた後、プリント基板に電子部品100が装着され
る。At the time of component mounting, as shown in FIG. 3A, the electronic component 1 is attached to the suction nozzle 111 by a vacuum pump.
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 position of the center of gravity, the tilt angle, etc. of the electronic component 100 using the standard data of the electronic component. Further, after the position correction amount is calculated and the position is corrected by rotating the suction nozzle 111 or the like, the electronic component 100 is mounted on the printed board.
【0028】図4および図5は標準データの例を示して
いる。図4に示すように、位置認識がリード画像に基づ
いて行なわれる電子部品では、電子部品の種類、最外形
の大きさ(最外形長X、最外形幅Y)、モールドの大き
さ(モールド長X、モールド幅Y)、リードの方向、リ
ードの本数、リード長L、リード幅D、リードピッチP
等が標準データとして用いられる。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 (mold length). X, mold width Y), lead direction, number of leads, lead length L, lead width D, lead pitch P
Etc. are used as standard data.
【0029】位置認識がコーナ部の画像に基づいて行な
われる電子部品では、図5に示すように、標準データと
して、電子部品の種類、コーナサイズ、コーナ部の形状
等が標準データとして用いられる。図5(a)はR面取
りコーナを、図5(b)はC面取りコーナを、図5
(c)ではそれ以外のコーナ(不良コーナ)を示してい
る。In the electronic component whose position is recognized based on the image of the corner portion, as shown in FIG. 5, the type of the electronic component, the corner size, the shape of the corner portion, etc. are used as the standard data. 5 (a) shows an R chamfered corner, FIG. 5 (b) shows a C chamfered corner, and FIG.
The other corners (defective corners) are shown in (c).
【0030】図6は、標準データを生成する場合の処理
手順を示している。まず、入力された電子部品画像に対
して、画像処理装置3は、電子部品画像の大きさの粗検
出を行ない(ステップ1)、電子部品画像の大きさが適
切か否かを判定する(ステップ2)。FIG. 6 shows a processing procedure for generating standard data. First, the image processing apparatus 3 roughly detects the size of the electronic component image with respect to the input electronic component image (step 1), and determines whether or not the size of the electronic component image is appropriate (step 1). 2).
【0031】電子部品画像の大きさが適切でない場合に
は、ホストコンピュータ1は部品画像入力装置22を制
御して解像度を変更させる。そして、部品画像入力装置
22によって画像を再度取り込ませる(ステップ3)。
そして、ステップ1に戻る。When 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 re-acquired by the component image input device 22 (step 3).
Then, the process returns to step 1.
【0032】ステップ2において、電子部品画像の大き
さが適切であると判定された場合には、画像処理装置3
は、モールドまたは最外形を検出し、電子部品の吸着姿
勢を検出する(ステップ4)。When 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). When 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 the proper posture. Then, the image is re-acquired by the component image input device 22 (step 6). Then, the process returns to step 4.
【0034】ステップ5において、吸着姿勢が適切であ
ると判定された場合には、画像処理装置3は、電子部品
の大きさを計測する(ステップ7)。また、画像処理装
置3は、電子部品の種類に応じて局所的な形状の認識お
よび局所的サイズの計測処理(局所的認識計測処理)
(ステップ8)または電極に基づく計測処理(ステップ
9)を行なう。When it is determined in step 5 that the suction posture is appropriate, the image processing apparatus 3 measures the size of the electronic component (step 7). Further, the image processing device 3 recognizes a local shape and measures a local size according to the type of electronic component (local recognition measurement process).
(Step 8) or measurement processing based on 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 of FIG. 6 will be specifically described with reference to FIG. 7 by taking 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 full screen size (step 2), the host computer 1 is instructed to increase the resolution. The host computer 1 controls the component image input device 22 so as to increase the resolution. And
The electronic component image is captured again (step 3). The resolution magnification is calculated based on the size of the circumscribing 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 tilt angle (step 4). When the suction posture of the electronic component 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 so 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 having an appropriate suction posture can be obtained. Then, based on the obtained electronic component image, steps 7 to 9 are performed.
The standard data measurement process is performed. In this way, the standard data of the electronic component is measured based on the image of the electronic component having an appropriate size and suction posture. Therefore, the processing load is reduced and accurate standard data can be obtained. Like
【0040】図8は、図6のステップ8の局所的認識計
測処理の手順を示している。局所的認識計測処理は、た
とえば、位置認識がコーナ部の画像に基づいて行なわれ
る電子部品(図5参照)のように、コーナ部の形状(局
所的な形状)、コーナサイズ(局所的サイズ)等の局所
的な情報が標準データとして用いられる電子部品に対し
て行なわれる。FIG. 8 shows the procedure of the local recognition measurement process of step 8 of FIG. The local recognition measurement process is performed, for example, as in an electronic component (see FIG. 5) whose position is recognized based on the image of the corner (see FIG. 5), the shape of the corner (local shape), the corner size (local size). Local information such as is given to 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 if all of the local information required for the standard data has not been measured, YES is obtained in step 81. If the electronic component does not have local information as standard data, or if the electronic component has local information as standard data and all local information required for the standard data is measured. If YES, step 81 is NO.
【0042】ステップ81でNOであれば、図6のステ
ップ9に進む。ステップ81でYESであれば、ホスト
コンピュータ1は、電子部品のコーナ部等の局所的な部
分の拡大画像が得られるように、部品画像入力装置22
を制御する。つまり、局所的な部分を撮像できるように
図2のxy平面でCCDカメラを移動させるとともに、
拡大画像を得るために図2のz軸方向にCCDカメラを
移動させる。そして、部品画像入力装置22によって電
子部品画像を取り込ませる(ステップ82)。If NO in step 81, the process proceeds to step 9 in FIG. If YES in step 81, the host computer 1 causes 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. That is, while moving the CCD camera in the xy plane of FIG. 2 so that a local part can be imaged,
The CCD camera is moved in the z-axis direction in FIG. 2 to obtain a magnified image. Then, the electronic component image is captured by the electronic component image input device 22 (step 82).
【0043】画像処理装置3は、取込み画像に基づい
て、局所的な形状の認識および局所的サイズの計測を行
なう(ステップ83)。そして、ステップ81に戻る。The image processing device 3 recognizes a local shape and measures a local size 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 processing based on the electrodes in step 9 of FIG. In the electrode-based measurement process, information about electrodes such as lead length, lead width, and lead pitch is used as standard data, such as an electronic component whose position is recognized based on a lead image (see FIG. 4). Is done to.
【0045】まず、画像処理装置3は、電極に基づく計
測処理を続けるか否かを判定する(ステップ91)。当
該電子部品が、電極に関する情報を標準データとしてい
るものであり、かつ標準データに必要な電極に関する情
報の全てが計測されていない場合には、ステップ91で
YESとなる。当該電子部品が電極に関する情報を標準
データとしていないものである場合、または当該電子部
品が電極に関する情報を標準データとしているものであ
り、かつ標準データに必要な電極に関する情報の全てが
計測されている場合には、ステップ91でNOとなる。First, the image processing apparatus 3 determines whether or not to continue the measurement processing based on the electrodes (step 91). If the electronic component uses the information regarding the electrodes as the standard data and all the information regarding the electrodes necessary for the standard data has not been measured, the result of step 91 is YES. If the electronic component does not have electrode information as standard data, or the electronic component has electrode information as standard data, and all of the electrode information necessary for the standard data is measured. In this case, step 91 is NO.
【0046】ステップ91でNOであれば、図6のステ
ップ10に進む。ステップ91でYESであれば、画像
処理装置3は照明方式を切り替える必要があるか否かを
判定する(ステップ92)。照明方式は、通常は、透過
方式が選択されている。透過方式が選択されている場合
には、照明方式を反射方式に切り替える必要があると判
定する。If NO in step 91, the process proceeds to step 10 in FIG. If YES in step 91, the image processing apparatus 3 determines whether it is necessary to switch the illumination system (step 92). As the illumination method, the transmissive 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に進む。When 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, the electronic component image is captured by the component image input device 22, and the process proceeds to step 94. When it is determined in step 92 that it is not necessary to switch the illumination system, the process proceeds to step 94 without performing the process of 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 the resolution and the image pickup position need to be changed based on the electronic component image currently taken in. 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 that an enlarged image of the electrode can be obtained (step 95). Then, the electronic component image is captured by the electronic component image input device 22, and the process proceeds to step 96. If it is determined in step 94 that the resolution and the image pickup position do not need to be changed, the process proceeds to step 96 without performing the process of step 95.
【0049】ステップ96では、画像処理装置3は、現
在取込まれている画像に基づいて、リード長さ、リード
幅、リードピッチ等の電極に関する情報を計測する。そ
して、ステップ10に移行する。In step 96, the image processing apparatus 3 measures the information about the electrodes such as the lead length, the lead width, the lead pitch, etc., based on the currently captured image. Then, the process proceeds to step 10.
【0050】以上のようにして、電子部品の標準データ
がデータベース4に登録された後に、電子部品自動装着
システムが稼働される。基板に装着すべき電子部品が撮
像され、画像メモリに格納される。一方、ホストコンピ
ュータ1からは、データベース4から当該電子部品の標
準データが読み出されて、画像処理装置3に転送され
る。画像処理装置3内の位置認識手段31によって、画
像メモリに格納された電子部品画像と、その電子部品に
対する標準データとに基づいて、電子部品の位置認識が
行われ、その認識結果がホストコンピュータ1に送られ
る。そして、位置補正が行なわれた後、電子部品がプリ
ント基板に装着される。As described above, after the standard data of the electronic component is registered in the database 4, the electronic component automatic mounting system is operated. The electronic component to be mounted on the board is imaged and stored in the image memory. On the other hand, the standard data of the electronic component is read from the database 4 from the host computer 1 and transferred to the image processing apparatus 3. The position recognition means 31 in the image processing device 3 recognizes the position 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 obtained by the host computer 1. Sent to. Then, after the position is corrected, the electronic component is mounted on the printed board.
【0051】なお、位置認識において、標準データの計
測結果の誤りが原因でエラーが発生した場合には、再度
標準データの生成処理が行なわれたり、ユーザインタフ
ェイスによる修正が行なわれたりする。In the position recognition, if an error occurs due to an error in the measurement result of the standard data, the standard data generation process is performed again or the correction is performed 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 showing a schematic configuration of a component image input device.
【図3】部品保持・装着装置の動作を示す説明図であ
る。FIG. 3 is an explanatory diagram showing the 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 showing a processing procedure for 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.
【図8】図6のステップ8の局所的認識計測処理の手順
を示すフローチャートである。FIG. 8 is a flowchart showing a procedure of local recognition measurement processing in step 8 of FIG.
【図9】図6のステップ9の電極に基づく計測処理の手
順を示すフローチャートである。FIG. 9 is a flowchart showing the procedure of an electrode-based measurement process in step 9 of FIG.
1 ホストコンピュータ 2 電子部品装着装置 3 画像処理装置 4 データベース 21 部品保持・装着装置 22 部品画像入力装置 31 位置認識手段 32 標準データ計測手段 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 Unit 32 Standard Data Measuring Unit
Claims (3)
れる標準データを生成する部品認識用標準データの生成
装置において、 部品画像を入力するためのものであって、撮像条件を変
更できる機能を有している部品画像入力手段、 入力された部品画像が、当該部品の標準データを計測す
るのに適した部品画像か否かを判定する判定手段、 入力された部品画像が、当該部品の標準データを計測す
るのに適した部品画像でないときには、当該部品の標準
データを計測するのに適した部品画像が得られるように
部品画像入力手段の撮像条件を調整した後、部品画像を
部品画像入力手段によって再度入力させる制御手段、な
らびに入力された部品画像が、当該部品の標準データを
計測するのに適した部品画像である場合には、その部品
画像に基づいて、標準データを計測する標準データ計測
手段、 を備えている部品認識用標準データの生成装置。1. A component recognition standard data generation device for generating standard data used for component recognition based on a component image, for inputting a component image, and having a function of changing imaging conditions. Part image input means that has, determination means that determines whether the input part image is a part image suitable for measuring the standard data of the part, the input part image is the standard of the part When the component image is not suitable for measuring the data, after adjusting the imaging condition of the component image input means so that the component image suitable for measuring the standard data of the component is obtained, the component image is input as the component image. If the control means for re-inputting by the means and the input part image are part images suitable for measuring the standard data of the part, based on the part image , A standard data generation device for measuring standard data, and a standard data generation device for component recognition.
れる標準データを生成する部品認識用標準データの生成
装置において、 部品画像を入力するためのものであって、撮像条件を変
更できる機能を有している部品画像入力手段、画像処理
を行なう画像処理装置、および部品画像入力手段を制御
するホスト側装置とを備え、 画像処理装置は、入力された部品画像が、当該部品の標
準データを計測するのに適した部品画像か否かを判定す
る手段、入力された部品画像が、当該部品の標準データ
を計測するのに適した部品画像でないときには、ホスト
側装置によって、当該部品の標準データを計測するのに
適した部品画像が得られるように部品画像入力手段の撮
像条件を調整させるとともに部品画像を再度入力させる
手段、ならびに入力された部品画像が、当該部品の標準
データを計測するのに適した部品画像である場合には、
その部品画像に基づいて、標準データを計測する手段を
備えている部品認識用標準データの生成装置。2. A component recognition standard data generation device for generating standard data used for component recognition based on a component image, for inputting a component image, and having a function of changing imaging conditions. The image processing apparatus is provided with a component image input unit, an image processing device that performs image processing, and a host-side device that controls the component image input unit. A means for determining whether or not the component image is suitable for measurement, and when the input component image is not a component image suitable for measuring the standard data of the component, the host side device causes the standard data of the component to be measured. Means for adjusting the imaging condition of the component image input means so as to obtain a component image suitable for measuring the component image and inputting the component image again, 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, which comprises means for measuring standard data based on the component image.
置、解像度および照明方式のうちから任意に選択された
1または任意の組み合わせである請求項1および2のい
ずれかに記載の部品認識用標準データの生成装置。3. The component recognition according to claim 1, wherein the image pickup condition is 1 or an arbitrary combination arbitrarily selected from an image pickup position, an image pickup rotation angle position, a resolution and an illumination system. 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 true JPH09167237A (en) | 1997-06-24 |
| JP3296705B2 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) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001521140A (en) * | 1997-10-21 | 2001-11-06 | エルウィン エム ビーティ | 3D inspection system |
| JP2007094503A (en) * | 2005-09-27 | 2007-04-12 | Matsushita Electric Ind Co Ltd | 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 |
| US8867846B2 (en) | 2010-03-30 | 2014-10-21 | Fuji Machine Mfg. Co. Ltd. | Method and device for generating image-processing component data used for image recognition of a component by component measurements |
| 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
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001521140A (en) * | 1997-10-21 | 2001-11-06 | エルウィン エム ビーティ | 3D inspection system |
| JP2007094503A (en) * | 2005-09-27 | 2007-04-12 | Matsushita Electric Ind Co Ltd | 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 |
| US8867846B2 (en) | 2010-03-30 | 2014-10-21 | Fuji Machine Mfg. Co. Ltd. | Method and device for generating image-processing component data used for image recognition of a component by component measurements |
| JP2021009818A (en) * | 2019-07-02 | 2021-01-28 | 日本特殊陶業株式会社 | How to make a spark plug |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3296705B2 (en) | 2002-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5174589B2 (en) | Automatic focus adjustment method for electronic component mounting apparatus | |
| JP2003519783A (en) | Solder paste inspection device | |
| JP3296705B2 (en) | Generating device for standard data for component recognition | |
| KR20050028847A (en) | Defect detector and defect detection method | |
| JP3578588B2 (en) | Electronic component mounting equipment | |
| JPH1140996A (en) | Component mounting device and its recognition position calibration method | |
| JP4197764B2 (en) | Component imaging device | |
| JP2001124700A (en) | Calibration method of inspection machine with line sensor camera | |
| JP2004235671A (en) | Electronic component mounting equipment | |
| JP3434004B2 (en) | Component recognition device and component mounting device | |
| JPH07162200A (en) | Method and apparatus for mounting electronic part | |
| JP3651718B2 (en) | Screen printing apparatus and printing method | |
| JP5120233B2 (en) | Imaging module inspection apparatus, imaging module inspection method, and electronic device module manufacturing method | |
| JP2536127B2 (en) | Board inspection equipment | |
| JP3883279B2 (en) | Electronic component mounting method and apparatus | |
| JP2002199268A (en) | Image positioning method for digital image capture device | |
| JP4262832B2 (en) | Image input method and apparatus | |
| JP2985380B2 (en) | Electronic component position detection method | |
| JP2003130619A (en) | Method and apparatus for detecting defective lead terminal of electronic component | |
| JP4008722B2 (en) | Method and apparatus for detecting floating electrode of electronic component | |
| JPH10227622A (en) | Inspection method of lead and lead inspecting instrument | |
| JP3038990B2 (en) | Thresholding method for image binarization | |
| KR980007929A (en) | High-precision image input device for chip mounters | |
| JPH0894534A (en) | Pattern defect detector | |
| JP3276817B2 (en) | Component position recognition device |
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 |