JPH03225212A - parts recognition device - Google Patents
parts recognition deviceInfo
- Publication number
- JPH03225212A JPH03225212A JP2167890A JP2167890A JPH03225212A JP H03225212 A JPH03225212 A JP H03225212A JP 2167890 A JP2167890 A JP 2167890A JP 2167890 A JP2167890 A JP 2167890A JP H03225212 A JPH03225212 A JP H03225212A
- Authority
- JP
- Japan
- Prior art keywords
- image
- light source
- component
- sides
- photoelectric converter
- 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
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、部品認識装置に関し、特に画像13号を処
理することによって、撮像装置の視野内にある11イ$
品の形状を抽出し、その部品の位置を認識する装置に関
するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a component recognition device, and in particular, by processing image No.
This invention relates to a device that extracts the shape of an item and recognizes the position of that part.
(従来の技術]
プリントlみ仮に実装された電子部品の装着状態を検貞
するため、第5図に示すような装置が特開昭6:l−1
8206号公報に促案されている1図において、(1)
は基板で例えばプリント基板、(2)は辺部をイ1する
被検部品で例えば電子部品、(3a) 、 (3b)
は電子部品(2)に対して異なる辺部に影を形成するこ
とのできるように、2方向から光を照射する光源、(4
)は光源(3a1. (3blからの光照射による電r
一部品の影像を撮像し電気信号に変換する光電変換器で
、例えばブレビカメラ、(5a)、 (5blは光電
変換器(4)で出力した画像信号を記憶する第1、第2
画像メモリ、(12)は画像処理する画像処理装置であ
り、引算装置(11)、演算装置(6)0判定装置(7
)を備えている。光源(3a)、 (3bl及び光電変
換器(4)は、光源(3a1.(3b)と光電変換器(
4)とを結ぶ延長線が電子部品(2)の配設方向に対し
て傾斜するように配設されている。(Prior art) In order to check the mounting state of printed electronic components, a device as shown in FIG.
In figure 1 proposed in Publication No. 8206, (1)
(2) is a board, for example a printed circuit board, (2) is a part to be tested whose side part is 11, for example an electronic component, (3a), (3b)
is a light source that irradiates light from two directions so as to form shadows on different sides of the electronic component (2);
) is the light source (3a1. (3bl)
A photoelectric converter that captures an image of one component and converts it into an electrical signal, such as a Brevi camera, (5a), (5bl is the first and second converter that stores the image signal output by the photoelectric converter (4)).
The image memory (12) is an image processing device for image processing, which includes a subtraction device (11), an arithmetic device (6), and a 0 determination device (7).
). The light source (3a), (3bl and photoelectric converter (4) are connected to the light source (3a1. (3b) and photoelectric converter (
4) is arranged so as to be inclined with respect to the arrangement direction of the electronic component (2).
1道米の装置は上記のように構成され、得られた画像と
基準画像を比較する事によって部品の位置や形状などを
検出するようになっている。即ち、先ず被検部品(2)
を設置し、一方の光源(3a)を点灯し被検部品(2)
を照射する。ついでこの光源射面の画像をテレビカメラ
(4)で撮像し、電気信号にf換して第1画像メモリ(
5a)に記憶させる0次に光源(3a)を消灯し、もう
一方の光源(3b)を点灯し、光熱射面の画像をテレビ
カメラ(4)で撮像する。これを電気信号に変換して第
2画像メモリ(5b)に記憶させる。これらに記憶され
た両画像信号゛のそれぞれ対応する画素の出ノ月14の
差を引算装;n111)で演算し、差画像とする。この
差画像からぷ1算装置(6)で部品(2)の位置を求め
、その結果を判定装置(7)に人力し、予め格納し、で
ある基へrX値と比較flJ定する。1 Dome's device is configured as described above, and detects the position and shape of parts by comparing the obtained image with a reference image. That is, first, the part to be inspected (2)
, turn on one light source (3a), and inspect the part to be tested (2).
irradiate. Next, an image of the light source surface is captured by a television camera (4), converted into an electric signal, and stored in the first image memory (
The zero-order light source (3a) to be stored in 5a) is turned off, the other light source (3b) is turned on, and an image of the light and heat radiation surface is captured by the television camera (4). This is converted into an electrical signal and stored in the second image memory (5b). The difference between the rising months 14 of the corresponding pixels of both image signals stored in these is calculated using a subtraction device (n111), and a difference image is obtained. From this difference image, the position of the part (2) is determined by the P1 calculating device (6), the result is manually input to the determining device (7), stored in advance, and compared with the rX value to determine flJ.
〔発明が解決しようとする課題〕
上記の様な従来の部品認識装置では、H:IS品の1?
景に半田付バットかぁ−)で明るい位置の部品の影も、
flに゛1−10付バットがなく118い位置の211
−品の影も同時に処理しており、f?f71の明るさが
)4なる画像から同じ閾値で影を抽出しなければならな
いので、(A hriの設定できる範囲が狭く、認識率
が悪くなるという問題点があった。[Problem to be solved by the invention] In the conventional component recognition device as described above, the 1?
The shadows of parts in bright positions are also visible with the soldering bat in the background.
There is no bat with 1-10 on the fl, and it is 211 at the 118th position.
-The shadow of the item is also processed at the same time, and f? Since shadows must be extracted using the same threshold value from images with a brightness of f71 of 4, there is a problem that the range in which A hri can be set is narrow and the recognition rate is poor.
この発明はかかる問題点を解決するためになされたもの
で、部品の形状や位置を精度良く確実に認識できる部品
認識装置を堤供することを目的と1−る。The present invention has been made to solve these problems, and an object thereof is to provide a component recognition device that can accurately and reliably recognize the shape and position of a component.
[課題を解決するための手段]
この発明による部品認識装置は、辺部を有する:11を
品の異なる辺部に影を形成することのできる23個以上
の光源、光源の照射による部品の辺部の影像を1最像し
て電気19号に変換する九−に変換器、光電変換器で出
力した画像信号を記憶する画像メモリ、及び部品の辺部
な認識する演算装置を備え、jl(品の対向する1組の
辺部を認識し、この辺部で囲まれるdj域をウィンドウ
とし、ウィンドウ内を処理6n域として他の辺部な認識
するように構成したものである。[Means for Solving the Problems] A component recognition device according to the present invention has a side part: 11 and 23 or more light sources capable of forming shadows on different sides of the product; It is equipped with a converter for converting the image of the part into an electric number 19, an image memory for storing the image signal outputted by the photoelectric converter, and an arithmetic unit for recognizing the side part of the part. A set of opposing sides of the product is recognized, a dj area surrounded by these sides is used as a window, and the inside of the window is treated as a processing 6n area and other sides are recognized.
【作用]
この発明においては、光源で照射した部品を撮像し画像
メモリに記憶した画像からまず背景とのコントラストが
出易い部品の対向する1組、即ち例えば背景に1′−E
TI付パッドがある位置の部品の辺部な求め、その結果
から得た2辺部で決まれた領域のみを処理し、背はとの
コントラストが出しにくい他の対向する辺部を求めるこ
とによって1ll−品の位16、形状またはその他の幾
何?的特徴を認識するものである。[Function] In the present invention, from the image of the parts irradiated with the light source and stored in the image memory, firstly, from the image of the parts irradiated with the light source, a pair of facing parts that are likely to have a contrast with the background, i.e., 1'-E
By finding the side of the part where the TI pad is located, processing only the area determined by the two sides obtained from the results, and finding the other opposing side where it is difficult to create a contrast with the back. - Grade 16, shape or other geometry? It recognizes the characteristics of
〔実施例] 以下、この発明の一実施例を第1図に基いて説明する。〔Example] An embodiment of the present invention will be described below with reference to FIG.
第1図はこの発明の一実施例による部品認識装置の構成
を示すブロック図である。この装置はプリント基板に取
り付けられた部品を認識する装着状態検査装置である0
図において、(目はプリンl−JA板、(2)は辺部な
有する被検■を品で、プリント基板(!)に実装されて
いる。(3)は被検部品(2)を照射する光源であり、
(:(a) 、 (3b) 、 (3e)、 (3
d)はプリント基&(1)iをそれぞれ別の角度、例え
ば光源(3a)と光源(3c)は被検部品(2)を挟ん
で対称になるように斜めに設置してあり、光源(3b)
は光源(3a)と光源(3c)からそれぞれ水平方向に
90°の方向で、かつ部品(2)に対1−る角度と距離
は′:9・シい位Ftに設置する。同様に光源(3d)
は被検部品(2)を挾んで光源(3b)と対称になるよ
うにi′1めに設置してあり、光源(3a)と光源(3
c)からそれぞれ水平方向に90°の方向で、かつ部品
(2) に対する角度と距離は等しい位置に設置してい
る。即ち4つの光源13a) 、 [3b) 、 (
3c) 、 (3d)は部品(2)の異なる辺部に影
を形成することのできるように配置され、これらを部品
(2)の真上から見ると、おηいに90°をなし、部品
(2)を挟んで2組の対向する位置に設置しである。(
4)は光#(3al 、 (3bl 、 (3c) 、
(3d)の照射による部品(2)の辺部の影像を撮像
して電気信号に変換する光電変換器で、例えばテレビカ
メラである。(5)は光電変換器(4)で出力された画
像信号、例えば光源(3a)を照年1した時の画像信号
を記憶する第1画像メモリ(5a)、光源(3b)を照
射した時の画像信号を記憶する第2画像メモリ(5b)
、光源(3C)を照射した時の画像信号を記憶する第3
画像メモリ(5C)、光源(3d)を照射した時の画像
信号を記憶する第4画像メモリ(5d)である、(b)
は最大hfi画像、及び差画像を演算して部品(2)の
辺部な認識する演算装置、(7)は演算装置(6)で計
算された形状(>i号から判定信号を出力表示する判定
装置である。FIG. 1 is a block diagram showing the configuration of a component recognition device according to an embodiment of the present invention. This device is a mounting condition inspection device that recognizes components mounted on printed circuit boards.
In the figure, (the eye is the pudding l-JA board, (2) is the part to be tested with a side part ■, which is mounted on a printed circuit board (!). (3) is the part to be tested (2) that is irradiated. It is a light source that
(:(a), (3b), (3e), (3
In d), the printed base & (1) i are installed at different angles, for example, the light source (3a) and the light source (3c) are installed diagonally so that they are symmetrical with the part to be inspected (2) in between, and the light source ( 3b)
are installed at 90 degrees horizontally from the light source (3a) and the light source (3c), respectively, and the angle and distance from the component (2) are ':9·Ft. Similarly light source (3d)
is installed at i'1 so as to sandwich the part to be inspected (2) and be symmetrical with the light source (3b), and the light source (3a) and the light source (3
They are installed at 90 degrees in the horizontal direction from c), and at the same angle and distance from component (2). That is, four light sources 13a), [3b), (
3c) and (3d) are arranged so as to form shadows on different sides of component (2), and when viewed from directly above component (2), they form an angle of 90°; Two sets are installed at opposing positions with component (2) in between. (
4) is light #(3al, (3bl, (3c),
A photoelectric converter that captures an image of the side of the component (2) by irradiation (3d) and converts it into an electrical signal, and is, for example, a television camera. (5) is the first image memory (5a) that stores the image signal output by the photoelectric converter (4), for example, the image signal when the light source (3a) is turned on yearly, and when the light source (3b) is irradiated. a second image memory (5b) that stores image signals of
, the third one stores the image signal when the light source (3C) is irradiated.
Image memory (5C), a fourth image memory (5d) that stores the image signal when the light source (3d) is irradiated, (b)
is an arithmetic device that calculates the maximum hfi image and the difference image to recognize the edge of part (2), and (7) is an arithmetic device that outputs and displays a judgment signal from the shape (>i) calculated by the arithmetic device (6). It is a judgment device.
上記のように構成された部品認識装置におけるJJI作
について説明する。まずプリント基板+1)を光電変換
器(4)で1最像できる位置に設置し、光源(31)を
点灯しプリント基板[11を照射する。この照)1而の
影像を光電変換器(4)で撮像し第1画像メモリ(5a
)に記憶させる。この時の影像を第2図(a)に示す、
この光源(3a)は119品(2)に向かって左tll
llから照射するものであり、部品の影(8a)は図中
斜線で示すようになる。この部品(2)は4つの辺部(
2al 、 (2bl 、 (2c) 、 (2
dlを自するものとする。A description will be given of JJI's component recognition device configured as described above. First, the printed circuit board +1) is placed at a position where it can be most imaged by the photoelectric converter (4), and the light source (31) is turned on to illuminate the printed circuit board [11]. This image is captured by the photoelectric converter (4) and stored in the first image memory (5a).
). The image at this time is shown in Figure 2 (a).
This light source (3a) is on the left when facing 119 items (2).
The shadow (8a) of the component is shown by diagonal lines in the figure. This part (2) has four sides (
2al, (2bl, (2c), (2
dl shall be its own.
次に光源(3d)を消灯し、部品(2)に向かってF方
から光源(3b)を点灯した状態で照射面の影像を光電
変換器(4)で撮像し、第2画像メモリ(5b)に記憶
する。この時の影像を第2図(blに示す0次に光源(
3b)を消灯し、部品(2)に向か−)で右から光源(
3C)を点灯した状態で照Q−j面の影像を光電変換器
(4)で撮像し、第:3画像メモリ(5C)に記憶させ
る。この時の影像を第2図(C)に示す0次に光源(3
c)を消11°し、部品(2)に向かって上から光源(
3d)を点灯した状態で照射面の影像な光電変換器(4
)で撮像し第4画像メモリ(5d)に記憶させる。この
時の影像を第2図(d)に示す。Next, the light source (3d) is turned off, and an image of the irradiated surface is captured by the photoelectric converter (4) with the light source (3b) turned on from the direction F toward the component (2), and the second image memory (5b ). The image at this time is shown in Figure 2 (0-order light source shown in bl)
3b) and turn off the light source (-) from the right towards part (2).
3C) is turned on, an image of the Q-j plane is captured by the photoelectric converter (4), and is stored in the third image memory (5C). The image at this time is shown in Figure 2 (C) from the zero-order light source (3
c) is turned off by 11 degrees, and the light source (
3d) is turned on, the photoelectric converter (4) is the image of the irradiated surface.
) and store it in the fourth image memory (5d). The image at this time is shown in FIG. 2(d).
次に部品(2)の辺部(2b)を認識する場合について
説明する。演算装置(6)で辺部(2b)以外の辺部に
ついての画像信号を2つ選ぶ0例えば第1画像メモリ(
5a)、第3画像メモリ(5C)に記憶された画像にお
ける各画素に対応する信号値を比べて、輝1隻を表わす
信号レベルの大きな方をとるス!算を行ない、最大1直
画像を作る。これを第3図(a)に示す、この最大値画
像では、光源(3a)によって部品(2)を照Q−1シ
た影像において部品の影(8a)ができた:11−分及
び光源(3c )によって部品(2)を照射した影像に
おいて部品の影(8C)ができた部分は消去され、処理
画像(13)内において影の無い部品画像を得ることが
できる0部品(2)Lにできるムラもこの時に落とすこ
とができる0次にその最大値画像のf3弓・11へと、
被認識辺部(2b)における影の影像である第2画像メ
モリ(5b)に記憶された信号111との差を求め、差
画像とする。これを第3図(b)に示す。Next, a case will be described in which the side portion (2b) of the component (2) is recognized. For example, the first image memory (
5a) Compare the signal values corresponding to each pixel in the image stored in the third image memory (5C), and choose the one with the larger signal level representing one bright ship! Perform calculations and create a maximum of one direct image. This is shown in Fig. 3(a). In this maximum value image, a shadow (8a) of the part was created in the image where the part (2) was illuminated by the light source (3a): 11-min and the light source. By (3c), the part where the shadow (8C) of the part was created in the irradiated image of the part (2) is erased, and a part image without a shadow can be obtained in the processed image (13).0 Part (2)L At this time, the unevenness that can occur can also be removed.
The difference from the signal 111 stored in the second image memory (5b), which is the image of the shadow on the side to be recognized (2b), is determined and used as a difference image. This is shown in FIG. 3(b).
即り、第2図の影像について光源(3a)で光照射した
ときの画像信号「a (x、 ylと光源(3C)で光
照射したときの画像信号rc (x、yJの最大値を演
算装置(6)で求める。つぎにその最大値と光源(3b
)で照q・1シたときの画像信号 fb (x、 y)
との差を演葛装置(6)で求める。これを
g(x、yl :maxtra(x、y)Jc(x、
yll −rb(x、ylとする。In other words, for the image in Figure 2, calculate the maximum value of the image signal ``a (x, yl) when irradiated with light source (3a) and the image signal rc (x, yJ) when irradiated with light source (3C). The maximum value and the light source (3b) are obtained using the device (6).
) Image signal fb (x, y) when illuminated by q・1
Find the difference between the two using the performance device (6). This is expressed as g(x, yl :maxtra(x, y)Jc(x,
yll-rb(x, yl.
ここで、第3図[b)に示す差画像g (x、 y)を
吟味すると、第二(図[a)に示す最大ft(4画像に
おける各画素の(8号値と比較した場合、光源(3b)
によ−ンて部品(2)を照射した画像において部品の彰
(8b)ができた部分は暗くなっている。従って、その
該当する画素における信号f+aは小さくなっており、
g(x、 ylの値は正の11αとなり、影(8e)と
して残る。しかし、光源(3a)によって部品(2)を
照射した画像においで部品の影(8a)ができた部分、
及び光#(3C)によって部品(2)を照射した画像に
おいて部品の影(8c)ができた部分は最大(直画像を
求める際に消去されるので、処理画像(13)内におい
て影の無い部品画像を得ることができる0部品上にでき
るムラもこの時に落とすことができる。また光源(3b
)によって部品(2)を照射した画像(第2図(b))
において部品上にランダムな鏡面反射を起こしている部
分は、光源(3a)によって部品(2)を照射した画像
(第2図(a))又は光源(3C)によって部品(2)
を照射した画像(第2図(C))のいずれかにおいても
同様の鏡面反射を起こしているので、最大値画像(第3
図(a))に残っている。故に、差画像(第3図(b)
)を求めると鏡面反射部分は消されている。このように
して部品の辺部(2b)の影の部分(8e)のみを抽出
することができる。Here, when we examine the difference image g (x, y) shown in Fig. 3 [b], we find that the second (maximum ft) shown in Fig. 3 [a] (when compared with the (8 value) of each pixel in the 4 images, Light source (3b)
In the image obtained by irradiating the part (2) according to the above, the part of the part where the light (8b) was formed is dark. Therefore, the signal f+a at the corresponding pixel is small,
The value of g(x, yl is positive 11α and remains as a shadow (8e).However, in the image of the part (2) illuminated by the light source (3a), the part where the shadow (8a) of the part is formed,
In the image of component (2) irradiated with light # (3C), the part where the shadow (8c) of the component is formed is the maximum (as it is erased when obtaining the direct image, there is no shadow in the processed image (13)). At this time, it is also possible to remove unevenness that appears on the 0 parts from which the part image can be obtained.
) (Figure 2(b))
The parts that are causing random specular reflection on the part are the image of the part (2) illuminated by the light source (3a) (Fig. 2 (a)) or the part (2) illuminated by the light source (3C).
Since similar specular reflection occurs in any of the images (Figure 2 (C)) irradiated with
It remains in Figure (a)). Therefore, the difference image (Fig. 3(b)
), the specular reflection part is erased. In this way, only the shadow portion (8e) of the side portion (2b) of the component can be extracted.
次に、この彰(8e)における部品側の境界線を、例え
ば画像を2埴化して求める0例えば第3図(b)では、
図の上方から下方に向かって垂直方向に走査した時に黒
から白へ変化する点を抽出する。Next, the boundary line on the component side in this Akira (8e) is obtained, for example, by converting the image into two parts.For example, in FIG. 3(b),
Extract points that change from black to white when scanning vertically from the top to the bottom of the diagram.
即ち、g (x、 y)をy軸に沿って図の上半分で黒
から〔口こ変化する点を抽出し、ハフ変換を施すことに
よって直線化する。同様にして、第2図(dlに示す部
品の下側にできた影(8d)から部品の下側の辺部(2
d)を認識する。これで部品の%1辺側の向かい合う1
組の辺部(2b)、 (2d)が認識できた。That is, g (x, y) is extracted along the y axis at points that change from black to black in the upper half of the figure, and is linearized by applying Hough transform. Similarly, from the shadow (8d) formed on the lower side of the part shown in Figure 2 (dl), the lower side of the part (2
Recognize d). Now the opposite 1 on the %1 side of the part
The edges (2b) and (2d) of the set were recognized.
次にもう1組の辺部、即も部品(2)の長辺側の向かい
合う1組の辺部(2a) 、 (2c)を認識するプロ
セスLニー バイル、長辺側の辺部(2al 、 (2
el O) (T (F:範囲はさきに求めた短辺(2
b)、 (2d)に挟まれた領域に処理範囲を限定する
ことができるので、その範囲内の画像を濾算し、短辺(
2b1. (2dlと同様にして最大値画像、差画像を
求め、さらに辺部な認識する。この時、2値化の閾t+
riなど゛のパラメータは短辺(2b)、 (2dl
を求めた時のパラメータと変えることによって、確実か
つ精度貴く長辺(2a) 、 (2clを認識すること
がてきる。Next, a process of recognizing another pair of sides (2a), (2c) on the long sides of the part (2), the long side sides (2al, 2c), is performed. (2
el O) (T (F: Range is the short side (2
Since the processing range can be limited to the area between b) and (2d), the image within that range is filtered and the short side (
2b1. (Similarly to 2dl, obtain the maximum value image and the difference image, and further recognize the edges. At this time, the binarization threshold t+
The parameters of ri etc. are the short side (2b), (2dl
By changing the parameters used when calculating , the long sides (2a) and (2cl) can be recognized reliably and accurately.
餞後に判定装置(7)で演算装置1:((6)で演算さ
れた位16または1転角その他の(d号等のデータはF
め設定しである基準11αと比較され良書判定され、ぞ
の判定結果が表示される。なおこの判定装置(7)にt
め格納されている基#?¥植は、部品の基本サイズ、8
14品の許容ずれIxt、許容回転らt′?である。After the test, the judgment device (7) calculates the calculation device 1: (The digit 16 or 1 inversion angle calculated in (6) and other data such as No. d are F.
The book is compared with the standard 11α, which is a preset standard, and judged as a good book, and the judgment result is displayed. Note that this determination device (7) is
What group is stored for? ¥ indicates the basic size of the parts, 8
What are the allowable deviations Ixt and allowable rotations t' of the 14 products? It is.
1、記説明した動作を画像処理範囲に注目して説明する
。第4図(a)において処理領域(13a)は初期状態
の画像処理を行う範囲を示しており、この範囲は部品(
2)の装着されている可能性のある範囲である。ここで
向かい合う1組の短辺(2b1. +2d)の処理を行
って、第4図(b)に示すように辺部(14)を抽出す
る。この1組の辺部(14)で囲まれる領域をウィンド
ウ(+3b) とし、このウィンドウ(13b)を第4
図fc)の点線で示す0部品の長辺(2a)(2c)の
認識における処理範囲をウィンドウ(13b)内として
おり、この処理範囲Tl3b)内で1−記と同様の処理
によって長辺(2al 、(2c)を認識する。1. The operation described above will be explained by focusing on the image processing range. In FIG. 4(a), the processing area (13a) indicates the range where image processing is performed in the initial state, and this range is the part (
2) may be installed. Here, a pair of opposing short sides (2b1.+2d) is processed to extract a side part (14) as shown in FIG. 4(b). The area surrounded by this pair of sides (14) is defined as a window (+3b), and this window (13b) is the fourth
The processing range for recognizing the long sides (2a) and (2c) of the 0 component indicated by dotted lines in Figure fc) is within the window (13b), and within this processing range Tl3b), the long sides ( 2al, (2c) is recognized.
第4図(C)のように処i11領域を限定すれば、例え
ばノーイズ(15)が仔在する場合においても、これを
処理範囲外として無視することができる。即ら部品本体
周辺のノイズによる影響を低減させることで、部品の位
置、形状またはその他の幾何学的特徴を確実に認識する
ことができる。又、;?+L品(2)の背景の状態にあ
わせて閾値が設定でき、これによって閾f+Iiが設定
する範囲が広くなるので、安定かつ高精度に部品の位置
、形状またはその他の幾何学的特徴を認識することがで
きる。又、抽出しやすい方向の辺i1tをさきに認識し
、その他の辺部はさきに求めた辺部で囲まれた領域(1
3b)内を処理することによって求めるので、部品の位
i6や形状又はその他の幾何学的特徴を確実に認識する
ことができる。If the processing area i11 is limited as shown in FIG. 4(C), even if noise (15) is present, for example, it can be ignored as outside the processing range. That is, by reducing the influence of noise around the component body, the position, shape, or other geometrical features of the component can be reliably recognized. or,;? The threshold value can be set according to the background condition of the +L product (2), which widens the range in which the threshold f+Ii can be set, allowing stable and highly accurate recognition of the position, shape, or other geometric features of the part. be able to. Also, the side i1t in the direction that is easy to extract is recognized first, and the other sides are defined as the area (1
3b), the position i6, shape, or other geometrical features of the part can be reliably recognized.
なお、−に記実施例では差画像を演算装置(6)で21
+rj化して2値化画像を得、2 (+iI化画像画像
品側のエツジのみに対して八)変換を施し、部品(2)
の辺部(2d)の候補点を直線化し、部品(2)と背景
との境界を求めることによって部品(2)の位iri、
形状またはその他の幾何学的特徴を認識するように構成
したが、ハフ変換しなくても認識できるものは、これに
限るものではない。In addition, in the embodiment described in -, the difference image is processed by the arithmetic unit (6) at 21
Convert to +rj to obtain a binarized image, perform 2 (8) conversion only to the edges of the image product side of the +iI image, and create part (2).
By straightening candidate points on the side (2d) of and finding the boundary between the part (2) and the background, the position iri of the part (2),
Although the configuration is configured to recognize shapes or other geometric features, the recognition is not limited to those that can be recognized without Hough transform.
又、光源の数は4つに限るものではなく、その設inす
る位置も上記実施例のように、各々が90°に1成るよ
うにしなくてもよい、これは、被検部品の形状によって
、その辺部を認識しやすいように配置すればよい。Furthermore, the number of light sources is not limited to four, and the positions where they are installed do not have to be one at each 90° angle as in the above embodiment. , and may be arranged so that its sides can be easily recognized.
[発明の効果]
以−1−のように、この発明によれば、辺部な有する部
品の異なる辺部に影を形成することのできる:S個以上
の光源、光源からの照射による部品の辺:1tの影像を
撮像して電気信号に変換する光電変換器、光電変換器で
出力した画像信号を記憶する画像メモリ、及び部品の辺
部な認識する演算装置を備え、部品の対向する1組の辺
部を認識し、この辺部で囲まれる領域をウィンドウとし
、つ5fンドウ内を処理領域として他の辺部な認識する
ように構成したことにより、安定、確実かつ高精度に部
品の位置、形状またはその他の幾何学的特徴を認識でき
る部品認識装置を得ることができる効果がある。[Effects of the Invention] As described in -1- below, according to the present invention, it is possible to form shadows on different sides of a component having edges: S or more light sources, and shadows can be formed on different sides of the component by irradiation from the light sources. Side: Equipped with a photoelectric converter that captures an image of 1t and converts it into an electrical signal, an image memory that stores the image signal output by the photoelectric converter, and an arithmetic unit that recognizes the side of the part, the side 1 facing the part is equipped with a By recognizing the side of the set, using the area surrounded by this side as a window, and recognizing the other sides as the processing area within the 5f window, the parts can be positioned stably, reliably, and with high precision. This has the effect of providing a component recognition device that can recognize shapes and other geometric features.
第1図はこの発明の一実施例による部品認識装置の構成
を示すブロック図、第2図(al〜(d)はこの発明の
一実施例に係り、各光源で119品を照射した時の画像
を示す説明図、即ち第2図(atは光源(3a)で部品
を照射した時の影像、第2図(blは光源(3bJで部
品を照射した時の影像、第2図(c)は光源(3c)で
部品を照射した時の影像、第2図(d)は光源(3(1
1で部品を照射した時の影像を示す説明図である。第3
図(a)はこの実施例に係る最大116画像を示ぐ説明
図、第ご3図(blは差画像を示す説明図、第4図(a
)はこの実施例に係る初期状態における画像処理範囲を
示した説明図、第4図(b)は第4図(a)から771
%品の短辺側の辺IM(を認識した説明図、第4図((
;)は第4図(b)の結果から限定された画像処理範囲
を示した説明図、第5図は従来の部品認識装置の構成を
示すブt7ツク図である。
+2) −−一部品、(2a) 、 (2b) 、
(2c) 、 (2d) ・・辺部、(3a1.
(3b1. (3c)、 (3dl ・・・光源、4
)−・−光フ[変換器、(5a)、 (5b)、 (
5c1. (5dl・・画像メそり、(6)・・・演
算装置、(7)・・判定装置、 18a)、 (8
b)、 18c)、 (8d)、 [8e)(
・・部品の影、(13al 、 (13b) ・・
・処理領域、(14)・・・直線化した部品の辺部。
なお、図中、同一符号は同一、又は相当部分を示す。Fig. 1 is a block diagram showing the configuration of a parts recognition device according to an embodiment of the present invention, and Fig. 2 (al to (d)) relate to an embodiment of the present invention. An explanatory diagram showing the image, namely, Fig. 2 (at is the image when the part is irradiated with the light source (3a), Fig. 2 (bl is the image when the part is irradiated with the light source (3bJ), Fig. 2 (c) is the image when the part is illuminated with the light source (3c), and Figure 2 (d) is the image when the part is irradiated with the light source (3(1)
FIG. 1 is an explanatory diagram showing an image when a component is irradiated in step 1; Third
Figure (a) is an explanatory diagram showing a maximum of 116 images according to this embodiment, Figure 3 (bl is an explanatory diagram showing difference images, and Figure 4 (a)
) is an explanatory diagram showing the image processing range in the initial state according to this embodiment, and FIG.
Figure 4 ((
) is an explanatory diagram showing the image processing range limited from the result of FIG. 4(b), and FIG. 5 is a block diagram showing the configuration of a conventional component recognition device. +2) --One part, (2a), (2b),
(2c), (2d)...Side part, (3a1.
(3b1. (3c), (3dl... light source, 4
)---optical converter, (5a), (5b), (
5c1. (5dl...Image measurement, (6)...Arithmetic device, (7)...Judgment device, 18a), (8
b), 18c), (8d), [8e) (...Shadow of parts, (13al, (13b)...
- Processing area, (14)...Side portion of the linearized part. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.
Claims (1)
きる3個以上の光源、上記光源の照射による上記部品の
辺部の影像を撮像して電気信号に変換する光電変換器、
上記光電変換器で出力した画像信号を記憶する画像メモ
リ、及び上記部品の辺部を認識する演算装置を備え、上
記部品の対向する1組の辺部を認識し、この辺部で囲ま
れる領域をウィンドウとし、上記ウィンドウ内を処理領
域として他の辺部を認識するように構成した部品認識装
置。three or more light sources capable of forming shadows on different sides of a component having sides; a photoelectric converter that captures an image of the side of the component by irradiation with the light source and converts it into an electrical signal;
It is equipped with an image memory that stores the image signal outputted by the photoelectric converter, and an arithmetic unit that recognizes the sides of the component, and recognizes a pair of opposing sides of the component and calculates the area surrounded by the sides. A component recognition device configured to use a window as a processing area and to recognize other side parts using the inside of the window as a processing area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2167890A JPH03225212A (en) | 1990-01-30 | 1990-01-30 | parts recognition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2167890A JPH03225212A (en) | 1990-01-30 | 1990-01-30 | parts recognition device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03225212A true JPH03225212A (en) | 1991-10-04 |
Family
ID=12061723
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2167890A Pending JPH03225212A (en) | 1990-01-30 | 1990-01-30 | parts recognition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03225212A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10872418B2 (en) | 2016-10-11 | 2020-12-22 | Kabushiki Kaisha Toshiba | Edge detection device, an edge detection method, and an object holding device |
-
1990
- 1990-01-30 JP JP2167890A patent/JPH03225212A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10872418B2 (en) | 2016-10-11 | 2020-12-22 | Kabushiki Kaisha Toshiba | Edge detection device, an edge detection method, and an object holding device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8724883B2 (en) | Method for inspecting measurement object | |
| JPH0572961B2 (en) | ||
| JP3164003B2 (en) | Mounted parts inspection device | |
| Mar et al. | Design of automatic vision-based inspection system for solder joint segmentation | |
| JPH03225212A (en) | parts recognition device | |
| JP2596158B2 (en) | Component recognition device | |
| JPS63229311A (en) | Detection of cross-sectional shape | |
| JP3609136B2 (en) | Semiconductor device inspection method and apparatus | |
| US6240202B1 (en) | Appearance inspection method for electronic parts | |
| JP2570508B2 (en) | Soldering inspection equipment | |
| JPH03225211A (en) | Parts recognizing device | |
| JP2803427B2 (en) | Surface mount IC lead displacement inspection equipment | |
| JP2819696B2 (en) | Soldering inspection equipment | |
| JPH0241577A (en) | Parts setting check device | |
| JPH03216509A (en) | Solder ball inspecting instrument | |
| JP2017215187A (en) | Method and apparatus for measuring warpage of workpiece | |
| JPS62215805A (en) | Method and apparatus for detecting position of pattern | |
| JPH05332746A (en) | Recognizing device of solder paste form | |
| JPH01236380A (en) | Chip component inspecting device | |
| JPS5970947A (en) | Method for detecting pattern of printed-wiring board | |
| JPH04236500A (en) | Inspecting device for mounted polarity direction of polarized electronic component | |
| JPH06104352A (en) | Semiconductor device and its direction inspection device | |
| JPH02278105A (en) | Inspecting apparatus for soldering | |
| JPS6166908A (en) | IC lead detection method | |
| JPH0382940A (en) | Internal defect detection method for cylindrical workpiece |