JPH02219183A - Recognizing device for position of object - Google Patents

Recognizing device for position of object

Info

Publication number
JPH02219183A
JPH02219183A JP1039808A JP3980889A JPH02219183A JP H02219183 A JPH02219183 A JP H02219183A JP 1039808 A JP1039808 A JP 1039808A JP 3980889 A JP3980889 A JP 3980889A JP H02219183 A JPH02219183 A JP H02219183A
Authority
JP
Japan
Prior art keywords
corner
image data
image
recognized
shadow
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
JP1039808A
Other languages
Japanese (ja)
Inventor
Shinichi Uno
宇野 伸一
Mitsuji Inoue
井上 三津二
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 JP1039808A priority Critical patent/JPH02219183A/en
Publication of JPH02219183A publication Critical patent/JPH02219183A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Assembly (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To recognize a position of an object by turning on alternately each illuminating device and obtaining image data of a shadow of the object to be recognized from a difference of each image data, detecting a corner of a shadow part by executing a scan by a corner detection use pattern and deriving a position of the object to be recognized from the corner. CONSTITUTION:Each illuminating device 4, 5 placed so as to be opposed to each other in each diagonal upper part seen from an object to be recognized 2 is turned on alternately by a turn-on control means 6, and also, when these illuminating devices 4, 5 are turned on, respectively, an image signal from an image pickup device 3 is received and each image data is stored in image memories 8, 9. Subsequently, a difference of each image data stored in these image memories 8, 9 is derived by a difference image arithmetic means 11, 12 and image data of a shadow of the object to be recognized 2 is obtained, and with respect to the image data of this difference shadow, a corner detecting means 13 detects a corner of a shadow part by allowing a corner detection use pattern to scan. Next, from the corner detected by the corner detecting means 13, a recognizing means 13 recognizes a position of the object to be recognized 2. In such a way, the position of the object can be recognized without being influenced by a wiring pattern and a color, etc.

Description

【発明の詳細な説明】 【発明の目的】 (産業上の利用分野) 本発明は、基板上に装着されたチップ部品等の脱落や位
置ずれ等の実装状態の検査に適用される物体の位置認識
装置に関する。 (従来゛の技術) 家電機器やOA(オフィスオートメーション)機器等の
電子機器は小型化が進み、これに伴って電子機器に用い
られる回路基板も小型化している。 例えば、リード線付き回路基板に変ってチップ化された
小型の抵抗、コンデンサ等を実装可能とする回路基板が
用いられるようになっている。そして、現在ではかかる
実装部品の小型化による回路基板への高密度実装が要求
されている。 このようなチップ部品等の回路基板への実装は、予め所
定の配線パターンが形成された回路基板にチップ部品を
実装装置により自動的に仮実装し、この後はんだ付は装
置等ではんだ付けを行なって終了する。しかし、回路基
板への実装は、しばしば脱落や位置ずれを生じていた。 これがはんだ付は後に検出された場合、その修正に多大
な労力を費やさなければならない。このため、このよう
な回路基板のチップ部品の脱落や位置ずれ等の検査は、
はんだ付は前に作業員の目視によって行なわれていた。 従って、作業員によって検査結果にばらつきが生じて信
頼性が低かった。 そこで、チップ部品の脱落や位置ずれの検査を自動的に
行なう技術が開発されている。かかる検査の手法として
は、基本的に光切断法、パターン比較法及び斜光陰影法
の3つの手法がある。このうち、光切断法は、切断光を
回路基板上に対して斜め方向から照射し、このとき回路
基板の上方から観察したときに部品があると切断光に段
差が生寥じることを情報として利用する手法である。又
、パターン比較法は、予め記憶された良品基板の画像デ
ータに対し、被検査基板の画像データ(濃淡レベル、色
など)を画素毎に比較する手法である。 そこで、光切断法は、切断光を回路基板全面(或いは一
部)に走査させる必要があり、又例えば角形部品の回転
を検出するためには1部品あたり場所を変えて2回以上
に照射を行なわなければならず、時間がかかる。又、パ
ターン比較法は、画素比較を多数おこなわなくてはなら
ず、やはり時間がかかる。 以上の2つの手法と比較して斜光陰影法は、対向する2
つの照明をチップ部品から見て斜め方向にそれぞれ配置
し、互いに照明の点灯を変えた場合の2つの画像の差か
ら第7図に示すようなチップ部品の影A、Bの画像デー
タCを求め、この画像データCをX及びY方向にそれぞ
れ加算して各投影画像データを求めてそのピーク値り、
E、F。 Gからチップ部品のエツジ位置を求め、これらエツジ位
置からチップ部品の位置等を求める手法で、極めて高速
な検査が可能となる。 しかしながら、この斜光陰影法では回路基板の状態、つ
まり配線パターンの有無や印字文字等によりチップ部品
の影A、Bに欠落が生じる場合があり、この場合には投
影画像データの各ピーク値が例えばHに示すように低下
してエツジを検出することができなくなる。従って、チ
ップ部品の位置を検出できなくなり、検査結果に対する
信頼性が低いものであった。 (発明が解決しようとする課題) 以上のように斜光陰影法は光切断法及びパターン比較法
よりも高速に検査できるものの回路基板上の配線パター
ンの有無や印字文字等によりチップ部品の影情報が欠落
することがあって、検査結果に対する信頼性が低いもの
であった。 そこで本発明は、回路基板上の配線パターンや色彩等の
影響を受けずに物体の位置を認識できる信頼性の高い物
体の位置認識装置を提供することを目的とする。 [発明の構成] (課題を解決するための手段) 本発明は、基板上に配置された被認識物体の上方に配置
された撮像装置と、被認識物体から見て各斜め上方にそ
れぞれ対向する如く配置された各照明装置と、これら照
明装置をいずれか一方ごとに点灯させる点灯制御手段と
、各照明装置がそれぞれ点灯したときに撮像装置からの
画像信号を受けて各画像データとして記憶する画像メモ
リと、この画像メモリに記憶された各画像データの差を
求めて被認識物体の影の画像データを得る差画像・演算
手段と、この差画像演算手段で得られた影の画像データ
に対してコーナ検出用パターンを走査させて影部分のコ
ーナを検出するコーナ検出手段と、このコーナ検出手段
で検出されたコーナから被認識物体の位置を認識する認
識手段とを備えて上記目的を達成しようとする物体の位
置認識装置である。 (作用) このような手段を備えたことにより、被認識物体から見
て各斜め上方にそれぞれ対向する如く配置された各照明
装置が点灯制御手段によっていずれか一方ごとに点灯さ
れ、これとともにこれら照明装置がそれぞれ点灯したと
きに撮像装置からの画像信号を受けて各画像データが画
像メモリに記憶される。そして、この画像メモリに記憶
された各画像データの差が差画像演算手段により求めら
れて被認識物体の影の画像データが得られ、この差影の
画像データに対してコーナ検出手段はコーナ検出用パタ
ーンを走査させて影部分のコーナを検出する。そうして
、このコーナ検出手段で検出されたコーナから認識手段
は被認識物体の位置を認識する。 (実施例) 以下、本発明の一実施例について図面を参照して説明す
る。 第1図は物体の位置認識装置の構成図である。 回路基板1上にはチップ部品2が装着されている。 このチップ部品2のほぼ真上に、は撮像装置3が配置さ
れるとともに、チップ部品2から見て斜め上方のそれぞ
れ対向する位置には各照明装置4.5が配置されている
。そして、これら照明装置4゜5は照明切換回路6から
の切換信号a、bによっていずれか一方の照明装置4又
はうのみが点灯するようになっている。撮像装置3はチ
ップ部品2を含む画像を撮像してその画像信号を出力す
るもので、この画像信号はA/D (アナログ/ディジ
タル)変換回路7でディジタル化されて第1及び第2画
像メモリ8.9に送られている。ところで、この場合、
タイミング回路10によって照明装置4が点灯したとき
のディジタル画像信号は第1画像メモリ8に記憶され、
又照明装置5が点灯したときのディジタル画像信号は第
2画像メモリ91;記憶されるようになっている。これ
ら第1及び第2画像メモリ8.9の出力側には減算回路
11が接続され、各画像メモリ8.9に記憶された各画
像データの差つまりチップ部品2の影の画像データが求
められて2値化回路12を通して2値化処理されて主演
算回路13に送られるようになっている。この主演算回
路13には第2図に示すような円形のコーナ検出用パタ
ーンPを記憶したパターンメモリ14及び論理積演算回
路15が接続されており、主演算回路13はこれらパタ
ーンメモリ14及び論理積演算回路15を用いて次の動
作を行なう機能を有している。なお、コーナ検出用パタ
ーンPは円の内側が「1」レベルで外側が「0」レベル
となっている。そこで、主演算回路13は、チップ部品
2の影の画像データに対してコーナ検出用パターンPを
走査させて影部分のコーナを検出するコーナ検出手段と
しての機能、このコーナ検出手段で検出されたコーナか
らチップ部品2の中心位置や傾き等を認識する認識手段
としての機能を有している。又、この主演算回路13は
照明切換回路6に切換制御信号を送出するとともにタイ
ミング回路10に動作制御信号を送出して装置全体動作
制御を行なう機能を有している。 次に上記の如く構成された装置の作用について説明する
。 照明切換回路6によって照明装置4のみが点灯している
状態に撮像装置3がチップ部品2を撮像すると、この撮
像装置3から出力される画像信号はA/D変換回路7に
よりディジタル画像信号に変換されて第1画像メモリ8
に第3図に示すような画像データDlとして記憶される
。この画像データDlにおいて2′はチップ部品の画像
であり、2aはその影の画像である。次に照明切換回路
6により照明装置4が消灯されるとともに照明装置5が
点灯されている状態に撮像装置3がチップ部品2を撮像
すると、このとき撮像装置3から出力される画像信号は
A/D変換回路7によりディジタル画像信号に変換され
て第2画像メモリ9に第4図に示すような画像データD
2として記憶される。この画像データD2において2′
はチップ部品の画像であり、2bはその影の画像である
。 このように各画像メモリ8,9にそれぞれ各画像データ
D1%D2が記憶されると、これら画像メモリ8.9に
記憶された各画像データにおける同一座標の各画素の濃
淡レベルが順次減算回路11に送られる。そして、この
減算回路11の減算出力が2値化回路12で所定のしき
い値により2値化処理されて主演算回路13に送られる
。しかるに、各画像データにおける同一濃淡レベルの部
分が「0」レベルとなるとともに互いに異なる濃淡レベ
ルの部分つまり影2a、2bの部分が「1」レベルとな
り、第5図に示すような影の画像データD3となる。 このように影の画像データD3が得られると、主演算回
路13はコーナ検出手段を実行る。しかるに、このコー
ナ検出手段は第6図に示すように影2a、2bのコーナ
を含む部分にそれぞれ領域枠W1、W2を設定し、これ
ら領域枠W1、W2にそれぞ作第2図に示すコーナ検出
用パターンPを縦横に走査させる。ここで、領域枠Wl
について具体的に説明すると、先ずコーナ検出用パター
ンPが領域枠W1の左上の隅に設定される。そして、こ
の状態に論理積演算回路15が作動されてコーナ検出用
パターンPの各画素と同座標部分の画像データD3にお
ける各画素との各濃淡レベルの論理積が求められる。こ
れにより、コーナ検出用パターンP及び画像データD3
のレベルが共に゛「1」であれば、論理積の結果はレベ
ル「1」となり、他のレベル部分は全てレベル「0」と
なる。 この論理積処理が終了すると、主演算回路13は内部カ
ウンタにより「1」レベルの個数をカウントして記憶す
る。そして、このカウントが終了すると、次にコーナ検
出手段はコーナ検出用パターンPの位置を1画素分X方
向にずらし、この後上記作用と同様に論理積処理を実行
してこの処理での「1」レベルの個数をカウントする。 以下、同様にしてコーナ検出用パターンPを1画素づつ
ずらして領域枠Wl内において上記レベル「1」のカウ
ント数をそれぞれ求める。なお、領域枠W2においても
領域枠W1における作用と同様にしてレベル「1」のカ
ウント数が求められる。 次にコーナ検出手段は領域枠W!のコーナ検出用パター
ンPの各位置におけるカウント数が零又は所定カウント
数以下でかつ最も左上端つまり座標(x、y)の最も小
さい値となったパターンPの位置を検出する。そして、
この位置のコーナ検出用パターンがPlであれば、この
パターンP1と影の画像2bとの接触位置が求められ、
さらにこれら接触位置から影の画像2bのコーナ位置座
標つまりチップ部品2のコーナ位置座標(Xa+ya)
が求められる。一方、領域枠W2においてはコーナ検出
用パターンPの各位置におけるカウント数が零又は所定
カウント数以下でかつ最も右下端つまり座標(x、y)
の最も大きい値となったパターンPの位置を検出する。 そして、この位置のコーナ検出用パターンがPlであれ
ば、このパターンP2と影の画像2aとの接触位置が求
められ、さらにこれら接触位置から影の画像2aのコー
ナ位置座標つまりチップ部品2のコーナ位置座標0(1
)、yb)が求められる。 次に主演算回路13は認識手段を実行する。すなわち、
認識手段は上記各コーナ位置座標(Xa 。 3/a )  (xb 、  yb )からチップ部品
2の中心位置(xc、yc)、同部品2のサイズl、w
及び傾きθを演算し求める。すなわち、チップ部品2の
中心位置(xc、yc)は xc m (xa +xb ) /2 yc = (ya +yb ) /2 を演算することによって求められ、サイズN+zは p−z  II cosθC wmz  0 s1nθC を演算することによって求められる。なお、z −(x
a−xb)2+  (ya  −yb)2である。又、
チップ部品2の傾きθは θ −tan’l(x a−x b)+  (y  a
−y  b)l−θ Cを演算することによって求めら
れる。 しかるに、主演算回路13はこれらチップ部品2の中心
位置(xe、yc)、同部品2のサイズ47、w及び傾
きθと設計データとを比較してチップ部品2が本来の位
置に装着されているかを判断する。ここで、チップ部品
2が脱落していれば影2a、2bが生じないので、影2
a、2bの有無からチップ部品2の脱落を判断する。 このように上記一実施例においては、各照明装置4.5
をいずれか一方ごとに点灯してこのときの各画像データ
の差からチップ部品2の影の画像データD3を得、この
画像データD3に対してコーナ検出用パターンPを走査
させて影部分のコーナを検出し、このコーナからチップ
部品2の中心位置や傾きを求めるようにしたので、影2
a。 2bのみを用いることにより回路基板1上に形成された
配線パターンや印字文字等により影2a。 2bが連続せず欠落していても各コーナを検出できてチ
ップ部品2の位置を正確に認識できる。そのうえ、チッ
プ部品2の位置認識までの処理量が少なく高速にチップ
部品2の位置が認識できる。 ソシて、コーナの検出にあってはコーナ検出用パターン
Pが円形であるので、チップ部品2が傾いていても各コ
ーナを確実に検出できる。又、チップ部品2の中心位置
及びその傾きの認識の他にチップ部品2の脱落を検出す
ることができる。 なお、本発明は上記−実施例に限定されるものでなくそ
の主旨を逸脱しない範囲で変形してもよい。例えば、コ
ーナ検出用パターンは円形に限らず、影2a、2bに対
して接触する形状、例えば半円形、4分の1円形であっ
てもよい。又、影の画像データD3の影の部分及びコー
ナ検出用パターンを「1」レベルとしたが、これらをr
OJレベルとして処理を行なってもよい。そして、コー
ナ検出手段は他の処理によってコーナを検出するように
してもよい。 [発明の効果] 以上詳記したように本発明によれば、回路基板上の配線
パターンや色彩等の影響を受けずに物体の位置を認識で
きる信頼性の高い物体の位置認識装置を提供できる。
Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) The present invention is a method for detecting the position of an object, which is applied to inspecting the mounting state of chip components mounted on a board, such as dropping out or misalignment. Relating to a recognition device. (Conventional Technology) Electronic devices such as home appliances and OA (office automation) devices are becoming smaller, and along with this, the circuit boards used in electronic devices are also becoming smaller. For example, instead of circuit boards with lead wires, circuit boards that can mount small chipped resistors, capacitors, etc. are now being used. Currently, there is a demand for high-density mounting on circuit boards by miniaturizing such mounted components. When mounting such chip components on a circuit board, the chip components are automatically temporarily mounted on a circuit board on which a predetermined wiring pattern has been formed using a mounting device, and then soldering is carried out using a device, etc. Do it and finish. However, when mounted on a circuit board, they often fall off or become misaligned. If this soldering is detected later, a great deal of effort will have to be spent on its correction. For this reason, inspections such as dropping and misalignment of chip components on circuit boards are
Previously, soldering was done visually by workers. Therefore, the test results varied depending on the worker, resulting in low reliability. Therefore, technology has been developed to automatically inspect chip components for falling off or misalignment. There are basically three methods for such inspection: a light section method, a pattern comparison method, and an oblique light shadow method. Among these methods, the optical cutting method irradiates the cutting light onto the circuit board from an oblique direction, and when observing the circuit board from above, it is possible to obtain information that if there is a component, a step will occur in the cutting light. This method is used as a method. Further, the pattern comparison method is a method in which image data (shade level, color, etc.) of a board to be inspected is compared pixel by pixel with image data of a non-defective board stored in advance. Therefore, in the optical cutting method, it is necessary to scan the entire surface (or part) of the circuit board with the cutting light, and for example, in order to detect the rotation of a rectangular component, the irradiation must be performed two or more times at different locations per component. It has to be done and it takes time. Furthermore, the pattern comparison method requires a large number of pixel comparisons, which is also time consuming. Compared to the above two methods, the oblique shading method uses two opposing
The image data C of the shadows A and B of the chip component as shown in Fig. 7 is obtained from the difference between the two images when two lights are placed diagonally as seen from the chip component and the lighting of the lights is changed. , add this image data C in the X and Y directions to obtain each projection image data, and calculate its peak value,
E, F. Extremely high-speed inspection is possible by determining the edge positions of the chip component from G and determining the position of the chip component from these edge positions. However, in this oblique shading method, shadows A and B of chip components may be missing due to the state of the circuit board, that is, the presence or absence of wiring patterns, printed characters, etc. In this case, each peak value of the projected image data may be As shown in H, the edge becomes undetectable. Therefore, the position of the chip component cannot be detected, and the reliability of the test results is low. (Problems to be Solved by the Invention) As described above, although the oblique light shading method can inspect faster than the light sectioning method and the pattern comparison method, shadow information on chip components may be affected by the presence or absence of wiring patterns on the circuit board, printed characters, etc. Test results were sometimes missing, making test results unreliable. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a highly reliable object position recognition device that can recognize the position of an object without being affected by the wiring pattern, color, etc. on a circuit board. [Structure of the Invention] (Means for Solving the Problems) The present invention includes an imaging device disposed above an object to be recognized disposed on a substrate, and an image pickup device disposed above an object to be recognized disposed on a substrate, and an imaging device facing each diagonally upward when viewed from the object to be recognized. each of the lighting devices arranged in the same way, a lighting control means for turning on one of these lighting devices individually, and an image that receives an image signal from an imaging device when each lighting device is turned on and stores it as each image data. a memory, a difference image calculation means for calculating the difference between each image data stored in the image memory to obtain image data of the shadow of the object to be recognized, and a difference image calculation means for obtaining the image data of the shadow obtained by the difference image calculation means. The above object can be achieved by providing a corner detection means for detecting a corner of a shadow portion by scanning a corner detection pattern using the corner detection means, and a recognition means for recognizing the position of the object to be recognized from the corner detected by the corner detection means. This is a device for recognizing the position of an object. (Function) By providing such a means, each illumination device arranged diagonally upward and facing each other when viewed from the object to be recognized is turned on one by one by the lighting control means, and together with this, the illumination devices are turned on one by one by the lighting control means. When each device is turned on, it receives an image signal from the imaging device and stores each image data in the image memory. Then, the difference between the image data stored in the image memory is calculated by the difference image calculation means to obtain the image data of the shadow of the object to be recognized, and the corner detection means detects the corner with respect to the image data of the difference shadow. The corner of the shadow area is detected by scanning the pattern. Then, the recognition means recognizes the position of the object to be recognized from the corner detected by the corner detection means. (Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an object position recognition device. A chip component 2 is mounted on a circuit board 1. An imaging device 3 is disposed almost directly above the chip component 2, and illumination devices 4.5 are disposed at opposing positions obliquely above the chip component 2. One of these lighting devices 4 and 5 is turned on in response to switching signals a and b from a lighting switching circuit 6. The imaging device 3 captures an image including the chip component 2 and outputs the image signal, and this image signal is digitized by an A/D (analog/digital) conversion circuit 7 and stored in first and second image memories. Sent on 8.9. By the way, in this case,
A digital image signal when the lighting device 4 is turned on by the timing circuit 10 is stored in the first image memory 8,
Further, the digital image signal when the lighting device 5 is turned on is stored in a second image memory 91. A subtraction circuit 11 is connected to the output sides of these first and second image memories 8.9, and the difference between each image data stored in each image memory 8.9, that is, the image data of the shadow of the chip component 2 is determined. The signal is then binarized through the binarization circuit 12 and sent to the main arithmetic circuit 13. A pattern memory 14 storing a circular corner detection pattern P as shown in FIG. 2 and an AND operation circuit 15 are connected to this main operation circuit 13. It has a function of performing the following operations using the product calculation circuit 15. Note that the corner detection pattern P has a "1" level on the inside of the circle and a "0" level on the outside. Therefore, the main processing circuit 13 functions as a corner detection means for scanning the corner detection pattern P on the image data of the shadow of the chip component 2 to detect the corner of the shadow part. It has a function as a recognition means for recognizing the center position, inclination, etc. of the chip component 2 from the corner. The main arithmetic circuit 13 also has the function of sending a switching control signal to the lighting switching circuit 6 and an operation control signal to the timing circuit 10 to control the overall operation of the apparatus. Next, the operation of the apparatus configured as described above will be explained. When the imaging device 3 images the chip component 2 while only the lighting device 4 is turned on by the lighting switching circuit 6, the image signal output from the imaging device 3 is converted into a digital image signal by the A/D conversion circuit 7. The first image memory 8
The image data is stored as image data Dl as shown in FIG. In this image data Dl, 2' is an image of the chip component, and 2a is an image of its shadow. Next, when the imaging device 3 images the chip component 2 while the lighting device 4 is turned off by the lighting switching circuit 6 and the lighting device 5 is turned on, the image signal output from the imaging device 3 at this time is A/ Image data D as shown in FIG. 4 is converted into a digital image signal by the D conversion circuit 7 and stored in the second image memory 9.
2. In this image data D2, 2'
is an image of the chip component, and 2b is an image of its shadow. When each image data D1%D2 is stored in each of the image memories 8 and 9 in this way, the gray level of each pixel at the same coordinates in each image data stored in these image memories 8 and 9 is sequentially calculated by the subtraction circuit 11. sent to. Then, the subtracted output of the subtraction circuit 11 is binarized by a binarization circuit 12 using a predetermined threshold value and sent to the main arithmetic circuit 13. However, the portions of the same gray level in each image data become the "0" level, and the portions of mutually different gray levels, that is, the shadows 2a and 2b, become the "1" level, resulting in shadow image data as shown in FIG. It becomes D3. When the shadow image data D3 is thus obtained, the main processing circuit 13 executes the corner detection means. However, as shown in FIG. 6, this corner detection means sets area frames W1 and W2 in the portions including the corners of the shadows 2a and 2b, respectively, and sets the corners shown in FIG. 2 in these area frames W1 and W2, respectively. The detection pattern P is scanned vertically and horizontally. Here, the area frame Wl
To explain this in detail, first, a corner detection pattern P is set at the upper left corner of the area frame W1. Then, in this state, the logical product operation circuit 15 is activated, and the logical product of each gray level of each pixel of the corner detection pattern P and each pixel of the image data D3 of the same coordinate portion is calculated. As a result, corner detection pattern P and image data D3
If both levels are "1", the result of the logical product will be level "1", and all other level parts will be level "0". When this AND processing is completed, the main arithmetic circuit 13 counts and stores the number of "1" level signals using an internal counter. When this count ends, the corner detection means shifts the position of the corner detection pattern P by one pixel in the ” Count the number of levels. Thereafter, in the same manner, the corner detection pattern P is shifted one pixel at a time to calculate the count number of the level "1" within the area frame Wl. In addition, the count number of level "1" is calculated|required also in the area|region frame W2 similarly to the effect|action in the area|region frame W1. Next, the corner detection means is the area frame W! The position of the pattern P where the count number at each position of the corner detection pattern P is zero or less than a predetermined count number and is the most at the upper left end, that is, the smallest value of the coordinates (x, y) is detected. and,
If the corner detection pattern at this position is Pl, the contact position between this pattern P1 and the shadow image 2b is determined,
Further, from these contact positions, the corner position coordinates of the shadow image 2b, that is, the corner position coordinates of the chip component 2 (Xa+ya)
is required. On the other hand, in the area frame W2, the count number at each position of the corner detection pattern P is zero or less than the predetermined count number, and the lower right corner, that is, the coordinates (x, y)
The position of the pattern P that has the largest value is detected. Then, if the corner detection pattern at this position is Pl, the contact position between this pattern P2 and the shadow image 2a is determined, and from these contact positions, the corner position coordinates of the shadow image 2a, that is, the corner of the chip component 2 are determined. Position coordinates 0 (1
), yb) are obtained. Next, the main processing circuit 13 executes the recognition means. That is,
The recognition means calculates the center position (xc, yc) of the chip component 2 and the size l, w of the same component 2 from the above-mentioned corner position coordinates (Xa. 3/a) (xb, yb).
and the slope θ are calculated and determined. That is, the center position (xc, yc) of the chip component 2 is obtained by calculating xc m (xa + xb ) /2 yc = (ya + yb ) /2, and the size N + z is calculated by calculating p-z II cosθC wmz 0 s1nθC It can be found by calculation. Note that z − (x
a-xb)2+ (ya-yb)2. or,
The inclination θ of the chip component 2 is θ − tan'l (x a − x b) + (y a
-yb)l-θC. However, the main arithmetic circuit 13 compares the center position (xe, yc) of the chip component 2, the size 47, w, and the tilt θ of the chip component 2 with the design data, and determines whether the chip component 2 is mounted in the original position. Determine if there are any. Here, if the chip component 2 has fallen off, the shadows 2a and 2b will not occur, so the shadow 2
It is determined whether the chip component 2 has fallen off based on the presence or absence of a and 2b. Thus, in the above embodiment, each lighting device 4.5
are turned on one by one, image data D3 of the shadow of the chip component 2 is obtained from the difference between each image data at this time, and the corner detection pattern P is scanned against this image data D3 to detect the corner of the shadow part. Since the center position and inclination of the chip component 2 are determined from this corner, the shadow 2
a. By using only 2b, a shadow 2a is formed by the wiring pattern, printed characters, etc. formed on the circuit board 1. Even if 2b is not continuous and is missing, each corner can be detected and the position of the chip component 2 can be accurately recognized. Moreover, the amount of processing required to recognize the position of the chip component 2 is small, and the position of the chip component 2 can be recognized at high speed. Furthermore, in corner detection, since the corner detection pattern P is circular, each corner can be reliably detected even if the chip component 2 is tilted. Furthermore, in addition to recognizing the center position of the chip component 2 and its inclination, it is also possible to detect whether the chip component 2 has fallen off. It should be noted that the present invention is not limited to the above embodiments, and may be modified without departing from the spirit thereof. For example, the corner detection pattern is not limited to a circular shape, but may have a shape that contacts the shadows 2a and 2b, such as a semicircle or a quarter circle. In addition, the shadow part and corner detection pattern of the shadow image data D3 were set to the "1" level, but these
Processing may be performed at OJ level. The corner detection means may detect corners by other processing. [Effects of the Invention] As detailed above, according to the present invention, it is possible to provide a highly reliable object position recognition device that can recognize the position of an object without being affected by the wiring pattern or color on the circuit board. .

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

第1図乃至第6図は本発明に係わる物体の位置認識装置
の一実施例を説明するための図であって、第1図は構成
図、第2図はコーナ検出用パターンの模式図、第3図及
び第4図は各照明装置で光が照射されたときの画像デー
タの模式図、第5図は影の画像データを示す模式図、第
6図は位置認識の作用を説明するための図、第7図は従
来技術を説明するための図である。 1・・・回路基板、2・・・チップ部品、3・・・撮像
装置、4.5・・・照明装置、6・・・照明切換回路、
8,9・・・画像メモリ、11・・・減算回路、12・
・・2値化回路、13・・・主演算回路、14・・・パ
ターンメモリ、15・・・論理積演算回路。 出願人代理−人 弁理士 鈴江武彦 第2 図 第3図 第4図
1 to 6 are diagrams for explaining an embodiment of the object position recognition device according to the present invention, in which FIG. 1 is a configuration diagram, FIG. 2 is a schematic diagram of a corner detection pattern, Figures 3 and 4 are schematic diagrams of image data when light is irradiated by each illumination device, Figure 5 is a schematic diagram showing image data of shadows, and Figure 6 is for explaining the function of position recognition. and FIG. 7 are diagrams for explaining the prior art. DESCRIPTION OF SYMBOLS 1... Circuit board, 2... Chip component, 3... Imaging device, 4.5... Lighting device, 6... Lighting switching circuit,
8, 9... Image memory, 11... Subtraction circuit, 12.
...Binarization circuit, 13... Main calculation circuit, 14... Pattern memory, 15... Logical product calculation circuit. Applicant's representative: Patent attorney Takehiko Suzue Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 基板上に配置された被認識物体の上方に配置された撮像
装置と、前記被認識物体から見て各斜め上方にそれぞれ
対向する如く配置された各照明装置と、これら照明装置
をいずれか一方ごとに点灯させる点灯制御手段と、前記
各照明装置がそれぞれ点灯したときに前記撮像装置から
の画像信号を受けて各画像データとして記憶する画像メ
モリと、この画像メモリに記憶された各画像データの差
を求めて前記被認識物体の影の画像データを得る差画像
演算手段と、この差画像演算手段で得られた影の画像デ
ータに対してコーナ検出用パターンを走査させて前記影
部分のコーナを検出するコーナ検出手段と、このコーナ
検出手段で検出されたコーナから前記被認識物体の位置
を認識する認識手段とを具備したことを特徴とする物体
の位置認識装置。
An imaging device disposed above an object to be recognized disposed on a substrate, each illumination device disposed diagonally upward and facing each other when viewed from the object to be recognized, and one of these illumination devices individually. a lighting control means for lighting up each of the lighting devices; an image memory for receiving an image signal from the imaging device and storing it as each image data when each of the lighting devices is turned on; and a difference between each image data stored in the image memory. a difference image calculation means for obtaining image data of the shadow of the object to be recognized by calculating the difference image; An apparatus for recognizing the position of an object, comprising: corner detection means for detecting a corner; and recognition means for recognizing the position of the object to be recognized from the corner detected by the corner detection means.
JP1039808A 1989-02-20 1989-02-20 Recognizing device for position of object Pending JPH02219183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1039808A JPH02219183A (en) 1989-02-20 1989-02-20 Recognizing device for position of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1039808A JPH02219183A (en) 1989-02-20 1989-02-20 Recognizing device for position of object

Publications (1)

Publication Number Publication Date
JPH02219183A true JPH02219183A (en) 1990-08-31

Family

ID=12563264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1039808A Pending JPH02219183A (en) 1989-02-20 1989-02-20 Recognizing device for position of object

Country Status (1)

Country Link
JP (1) JPH02219183A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014045109A (en) * 2012-08-28 2014-03-13 Yamaha Motor Co Ltd Bump recognition method of electronic component

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014045109A (en) * 2012-08-28 2014-03-13 Yamaha Motor Co Ltd Bump recognition method of electronic component

Similar Documents

Publication Publication Date Title
JPH0572961B2 (en)
JP2953736B2 (en) Solder shape inspection method
EP0466013B1 (en) Method of and device for inspecting pattern of printed circuit board
JP3164003B2 (en) Mounted parts inspection device
JPH02219183A (en) Recognizing device for position of object
JP2596158B2 (en) Component recognition device
JPH0399250A (en) Mounting state recognizing apparatus
JP2906454B2 (en) Object position detection method
JPS6326510A (en) Inspection device for packaging component
JPH0774724B2 (en) Inspection method
JPH0727531A (en) Inspection region recognizing method for appearance shape inspecting device
JP2570508B2 (en) Soldering inspection equipment
JPH09106459A (en) Position deviation inspecting method for electronic parts
JPH1089920A (en) Position detection method and mounting method therefor, and method for inspecting semiconductor integrated circuit device
JPH04355312A (en) Soldering inspection device with lead tip inspection function
JPH05335390A (en) Inspection apparatus of bonding wire
JPH01155248A (en) Inspecting apparatus of soldering
JP2819696B2 (en) Soldering inspection equipment
JPH0619252B2 (en) Soldering inspection device for printed wiring boards
JPH04250347A (en) Inspecting device for bonding wire
JPH03216509A (en) Solder ball inspecting instrument
JPH02234007A (en) Inspecting device for installed state
JPH0221209A (en) Apparatus and method for inspecting soldering of printed wiring board
JPH02157610A (en) Packaging state inspecting method
JPH0378607A (en) Inspecting apparatus of soldering