JPH02234005A - Detecting method for position of feature part of object - Google Patents

Detecting method for position of feature part of object

Info

Publication number
JPH02234005A
JPH02234005A JP8955463A JP5546389A JPH02234005A JP H02234005 A JPH02234005 A JP H02234005A JP 8955463 A JP8955463 A JP 8955463A JP 5546389 A JP5546389 A JP 5546389A JP H02234005 A JPH02234005 A JP H02234005A
Authority
JP
Japan
Prior art keywords
area
superposed
substrate
detecting
coordinates
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
Application number
JP8955463A
Other languages
Japanese (ja)
Other versions
JP2624322B2 (en
Inventor
Toshiaki Nakajima
俊明 中島
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1055463A priority Critical patent/JP2624322B2/en
Publication of JPH02234005A publication Critical patent/JPH02234005A/en
Application granted granted Critical
Publication of JP2624322B2 publication Critical patent/JP2624322B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To exactly detect the position of a feature part by detecting the position of a point in which a limit value of an area of a superposed part or a non-superposed part is shown. CONSTITUTION:A substrate 1 is provided on an XY direction moving device 5 consisting of XY tables 3, 4, and when this device 5 is driven, the substrate 1 moves in the X and the Y directions. In this state, by setting an origin O of X and Y coordinates as a start point, and observing the outside periphery of electronic parts 2 by a camera 6, its X and Y coordinates are detected. This contour can be detected simply by a binarization processing part 13 since luminances of the substrate (white) 1 and the parts (black) 2 are different. Subse quently, an area S of a superposed part in which a feature part detecting circle area of the parts 2 and a peripheral edge part of the parts 2 are superposed is calculated by a superposed area calculating part 14. By deriving a limit value (minimum value) of this area S, a position of the feature part can be derived.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は対象物の特徴部の位置の検出方法に関し、カメ
ラの視野内に、対象物の特徴部の検出用エリアを設定し
、このエリアと対象物の重畳面積若しくは非重畳面積の
極限値を算出することにより、対象物の特徴部の位置を
検出するようにしたものである. (従来の技術) 例えばICチップ,LSIチップ,抵抗チップ.コンデ
ンサチップなどの電子部品が、基板上の正しい位置に搭
載されたかどうかを検査する方法として、パターンマッ
チング法が知られている. 第8図及び第9図は、従来のパターンマッチング法を示
すものであって、まず第8図に示すように、検査基準と
なる基準画像100の特徴部である角部をカメラの視野
内に設定されたチェックエリアA1〜A4内に入れてこ
れを観察し、基準画像100の角部と各エリアAI−A
4が重なり合った重畳部a w dの角k a−k d
の座標を検出する. 次に第9図.に示すように、検査対象となる電子部品の
画像101に対して、各エリアA1〜A4を相対的にx
y方向に移動させて、各重畳部a w dが画像101
の角部と最も重なり合うマッチング位置を求め、その位
置での上記角Ka % K dの座標を、画像101の
角K a”’−Kd″の座標と見なし、各角K a −
 K dのXY座標値から、電子部品のxy方向及び回
転方向の位置ずれΔX.Δy,θを算出していた.(発
明が解決しようする課題) しかしながら上記従来方法にあっては、基準画像100
の角部と検査対象の画像101の角部は十分に重なり合
いにくく、それだけ検査精度があがらない問題があった
Detailed Description of the Invention (Industrial Application Field) The present invention relates to a method for detecting the position of a characteristic part of an object, in which an area for detecting the characteristic part of the object is set within the field of view of a camera, and The position of the characteristic part of the object is detected by calculating the limit value of the overlapping area or non-overlapping area of the object. (Prior art) For example, IC chips, LSI chips, resistor chips. Pattern matching is a well-known method for inspecting whether electronic components such as capacitor chips are mounted in the correct position on a board. FIGS. 8 and 9 show a conventional pattern matching method. First, as shown in FIG. Put it in the set check areas A1 to A4 and observe it, and check the corners of the reference image 100 and each area AI-A.
Angle k a - k d of the superimposed part a w d where 4 overlaps
Find the coordinates of . Next, Figure 9. As shown in the figure, each area A1 to A4 is relatively x
By moving in the y direction, each superimposed part a w d is the image 101
Find the matching position that most overlaps with the corner of , consider the coordinates of the angle Ka % K d at that position as the coordinates of the angle Ka"'-Kd" of the image 101, and calculate each corner Ka -
From the XY coordinate values of K d, positional deviation ΔX. Δy and θ were calculated. (Problem to be Solved by the Invention) However, in the above conventional method, the reference image 100
The corner of the image 101 to be inspected does not easily overlap with the corner of the image 101 to be inspected, and there is a problem in that the inspection accuracy cannot be improved accordingly.

したがって本発明は、角部のような対象物の特徴部の位
置を的確に検出できる手段を提供することを目的とする
. (課題を解決するための手段) このために本発明は、カメラにより対象物の外周を観察
して、この対象物の輪郭を検出した後、カメラの視野内
に設定された特徴部検出用エリアを上記輪郭に沿って移
動させて、この特徴部検出用エリアと対象物の周縁部が
重なり合う重畳部の面積又は重なり合わない非重畳部の
面積を算出し、この重畳部又は非重畳部の面積の極限値
があらわれる点の位置を検出することにより、対象物の
特徴部の位置を検出するようにしたものである. (作用》 上記構成によれば、重畳部又は非重畳部の面積の極限値
があらわれる点の位置を算出することにより、角部のよ
うな対象物の特徴部の位置を検出する. 《実施例l》 次に、基板に搭載された電子部品の位置ずれを検出する
外観検査手段を例にとり、本発明の実施例を説明する. 第1図は外観検査装置の斜視図であって、1は基板、2
は基板l上に搭載された電子部品である.基板lはXY
テーブル3,4から成るXY方向移動装置5上に配設さ
れており、この装置5の駆動により、基板1はXY方向
に移動する.基板lの上方には、CODエリアカメラや
リニアイメージカメラのような外観検査用カメラ6が設
けられており、また基板1の斜上方には、光源7や集光
素子8が設けられている.lOはカメラ6に接続された
制御部であって、D/Aコンバータ11,フレームメモ
リ12.2{t1化処理部13.重畳面積計算部14及
びCPU15等から成っている. 第2図は、上記装置により走査を行って、電子部品2の
輪郭追跡を行っている様子を示すものである。図中、2
0はカメラ6の視野、2は上記電子部品である。波線矢
印に示すように、XY座標の原点0を出発点として電子
部品2の外周を観察し、その輪郭のXY座標を槍出する
.輪郭は、基板(白) lと電子部品(黒)2の輝度が
異ることから、2値化処理手段により簡単に検出するこ
とができる.なおこのような輪郭追跡手段は周知手段で
ある. 上記のようにして輪郭追跡を終えたならば、次に任意の
点(例えば電子部品2とY軸のプラス側との交点)を出
発点とし、第3図に示す走査を行う。図中、Aは視野2
0内に設定された電子部品2の特徴部検出用サークルエ
リアであウて、このエリアAを上記輪郭追跡手段により
検出された輪郭に沿わせて移動させ、エリアAと電子部
品2の周縁部が重なり合う重畳部(影線部)aの面積S
を算出する. 第4図はその算出結果を示すものであって、図中、SO
はエリアAの面積、Φ〜■は第3図における各点の位置
である.エリアAを輪郭により2等分される線に沿って
移動させると、重畳部aの面積は、電子部品2のまっす
ぐな直線部に沿う部分ではSO/2であるが、その角部
すなわち特徴部■,■.■,■において、極限値(最小
値) So/4となる。したがってこれらの点■,■.
■,■のXY座標を求めることにより、特徴部(角部)
の位置を検出することができる。
Therefore, an object of the present invention is to provide a means for accurately detecting the position of a characteristic part of an object, such as a corner. (Means for Solving the Problems) For this purpose, the present invention observes the outer periphery of an object with a camera, detects the outline of this object, and then sets a feature detection area within the field of view of the camera. is moved along the above contour, and the area of the overlapping part where this feature detection area and the peripheral edge of the object overlap or the area of the non-overlapping part where they do not overlap is calculated, and the area of this overlapping part or non-overlapping part is calculated. By detecting the position of the point where the limit value of appears, the position of the characteristic part of the object is detected. (Operation) According to the above configuration, the position of a characteristic part of the object such as a corner is detected by calculating the position of the point where the maximum value of the area of the overlapping part or the non-overlapping part appears. l》 Next, an embodiment of the present invention will be explained by taking as an example a visual inspection means for detecting positional deviation of electronic components mounted on a board. Substrate, 2
is an electronic component mounted on board l. Substrate l is XY
The substrate 1 is disposed on an XY direction moving device 5 consisting of tables 3 and 4, and when this device 5 is driven, the substrate 1 is moved in the XY directions. An appearance inspection camera 6 such as a COD area camera or a linear image camera is provided above the substrate 1, and a light source 7 and a condensing element 8 are provided diagonally above the substrate 1. IO is a control unit connected to the camera 6, which includes a D/A converter 11, a frame memory 12.2 {t1 conversion processing unit 13. It consists of a superimposed area calculation section 14, a CPU 15, etc. FIG. 2 shows how the outline of the electronic component 2 is tracked by scanning with the above device. In the figure, 2
0 is the field of view of the camera 6, and 2 is the electronic component mentioned above. As shown by the wavy arrow, the outer circumference of the electronic component 2 is observed starting from the origin 0 of the XY coordinates, and the XY coordinates of its outline are determined. Since the brightness of the board (white) 1 and the electronic component (black) 2 are different, the contour can be easily detected by a binarization processing means. Note that this type of contour tracking means is well known. After contour tracking is completed as described above, the scanning shown in FIG. 3 is then performed using an arbitrary point (for example, the intersection of the electronic component 2 and the positive side of the Y-axis) as a starting point. In the figure, A is field of view 2
0, and move this area A along the contour detected by the contour tracking means to detect the area A and the peripheral edge of the electronic component 2. The area S of the superimposed part (shaded part) a where
Calculate. Figure 4 shows the calculation results, and in the figure, SO
is the area of area A, and Φ~■ are the positions of each point in Figure 3. When area A is moved along a line bisected by the contour, the area of superimposed part a is SO/2 in the part along the straight line part of electronic component 2, but in the corner part, that is, in the characteristic part. ■、■. In ■ and ■, the limit value (minimum value) is So/4. Therefore, these points ■, ■.
By determining the XY coordinates of ■ and ■, the characteristic part (corner)
can detect the position of

このようにして特徴部■〜■の座標を求めたならば、こ
れから電子部品2の中心O゜の座標を算出して、電子部
品2のxy方向の位置ずれΔX,Δy(第3図参照)を
簡単に知ることができる.また回転方向の誤差θも簡単
に算出できる.なお上記方法は、重畳部aの面積Sの極
限値(最小値)を求めることにより、特徴部■〜■の座
標を求めたが、エリアA内の非重畳部bの面積(So−
S)を求めても同じことであり、この場合、非重畳部b
の面積が最大となる点が特徴部■〜■の位置となる. (実施例2) 第5図において、3は3個の端子部3a,3b,3cを
有するミニトランジスタである.このものも、上記第1
実施例の場合と同様に、その外周に沿って輪郭追跡を行
ってその輪郭の座標を求めた後、特徴部検出エリアAを
この輪郭に沿って移動させて、重畳部aの面積Sを求め
る.第6図はその結果を示すものであって、極限値(最
大値及び最小値)があらわれる点Φ〜[相]の座標を求
めることにより、特徴部の位置を求めることができる.
このように本方法によれば、対象物の形状の如何にかか
わらず、角部のような特徴部の座標を的確に求めること
ができる。
Once the coordinates of the characteristic parts ■ to ■ have been obtained in this way, the coordinates of the center O° of the electronic component 2 are calculated, and the positional deviation ΔX, Δy of the electronic component 2 in the x and y directions (see Fig. 3) You can easily know. Also, the error θ in the rotation direction can be easily calculated. Note that in the above method, the coordinates of the characteristic parts ■ to ■ are determined by determining the limit value (minimum value) of the area S of the overlapping part a, but the area of the non-overlapping part b in the area A (So-
It is the same thing to find S), and in this case, the non-overlapping part b
The point where the area of is the maximum is the position of feature parts ■~■. (Embodiment 2) In FIG. 5, 3 is a mini-transistor having three terminal portions 3a, 3b, and 3c. This one is also the same as the above 1st
As in the case of the embodiment, after contour tracing is performed along the outer periphery to determine the coordinates of the contour, the feature detection area A is moved along this contour to determine the area S of the superimposed portion a. .. Figure 6 shows the results, and by finding the coordinates of the point Φ~[phase] where the limit values (maximum and minimum values) appear, the position of the feature can be found.
As described above, according to the present method, the coordinates of a feature such as a corner can be accurately determined regardless of the shape of the object.

(実施例3) 第7図は、本方法をロータリーヘッド式電子部品実装装
置に適用した場合を示すものである。
(Example 3) FIG. 7 shows a case where this method is applied to a rotary head type electronic component mounting apparatus.

3lはロータリーヘッド、32はヘソド31の外周に沿
って多数垂設された移送ヘッド、33はそのノズル、3
4はXY方向移動装置35に位置決めされた基板、36
は支持台、6はこの支持台36に設けられた上記カメラ
、Pは電子部品である. このものは、ロータリーヘソド31をその軸心を中心に
ピッチ回転させながら、チップ供給部(図示せず)にお
いてノズル33の下端部に電子部品Pを吸着してテイク
アップし、ロータリーヘッド3lの回転にともなって、
この電子部品Pを基板34上に搭載するものである.カ
メラ6をチップ供給部と基板34の間に設け、ノズル3
3に吸着された電子部品Pを下方から観察することによ
り、上記第1実施例で述べたように電子部品Pの位置ず
れ△X,Δy.θを検出する.そしてXY方向移動装置
35を駆動して基板34をXY方向に同量移動させるこ
とにより、XY方向の位置ずれ△X.Δyを補正すると
ともに、ノズル33をモータ(図外)によりその軸心を
中心にθ方向に回転させることにより、回転方向の誤差
θを補正し、そのうえで電子部品Pを基板′34に搭載
すれば、上記誤差ΔX,Δy,θを補正して基板34上
に搭載することができる. 本方法は更に種々の分野に利用できるものであって、例
えば基板に印刷された回路パターンの特徴部の検出等も
行うことができるものであり、対象物は電子部品以外の
ものでもよいものである. (発明の効果》 以上説明したように本発明は、カメラにより対象物の外
周を観察して、この対象物の輪郭を検出した後、カメラ
の視野内に設定された特徴部検出用エリアを上記輪郭に
沿って移動させて、この特徴部検出用エリアと対象物の
周縁部が重なり合う重畳部の面積又は重なり合わない非
重畳部の面積を算出し、この重畳部又は非重畳部の面積
の極限値があらわれる点の位置を検出することにより、
対象物の特徴部の位置を検出するようにしているので、
電子部品の角部のような対象部の特徴部の位置を的確に
検出することができる.
3l is a rotary head, 32 is a large number of transfer heads vertically installed along the outer periphery of the hesode 31, 33 is a nozzle thereof, 3
4 is a substrate positioned on the XY direction moving device 35; 36;
is a support stand, 6 is the above-mentioned camera provided on this support stand 36, and P is an electronic component. This device sucks and takes up the electronic component P to the lower end of the nozzle 33 in a chip supply section (not shown) while rotating the rotary head 31 around its axis at a pitch, and the rotary head 3l. Along with the rotation,
This electronic component P is mounted on a board 34. A camera 6 is provided between the chip supply section and the substrate 34, and the nozzle 3
By observing the electronic component P sucked by the electronic component P from below, the positional deviation ΔX, Δy. Detect θ. Then, by driving the XY direction moving device 35 to move the substrate 34 by the same amount in the XY directions, the positional deviation ΔX. By correcting Δy and rotating the nozzle 33 in the θ direction around its axis by a motor (not shown), the error θ in the rotational direction is corrected, and then the electronic component P is mounted on the board '34. , the errors ΔX, Δy, and θ can be corrected and mounted on the board 34. This method can also be used in various fields, such as detecting characteristic parts of circuit patterns printed on circuit boards, and the target object may be other than electronic components. be. (Effects of the Invention) As explained above, the present invention observes the outer periphery of an object with a camera, detects the outline of this object, and then detects the feature detection area set within the field of view of the camera. Move along the contour, calculate the area of the overlapping part where the feature detection area and the peripheral edge of the object overlap, or the area of the non-overlapping part where they do not overlap, and calculate the limit of the area of the overlapping part or the non-overlapping part. By detecting the position of the point where the value appears,
Since the position of the characteristic part of the object is detected,
It is possible to accurately detect the position of the characteristic part of the target part, such as the corner of an electronic component.

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

図は本発明の実施例を示すものであって、第1図は外観
検査装置の斜視図、第2図及び第3図は検査中の平面図
、第4図は特徴図、第5図は他の実施例の平面図、第6
図は特徴図、第7図はロータリーヘッド式電子部品実装
装置の部分側面図、第8図,第9図は従来手段の平面図
である. 2.3.P・・・対象物 6・・・カメラ 20・・・カメラの視野 A・・・特徴部検出エリア a・・・重畳部 b ・非重畳部
The drawings show an embodiment of the present invention, in which Fig. 1 is a perspective view of an external appearance inspection device, Figs. 2 and 3 are plan views during inspection, Fig. 4 is a characteristic diagram, and Fig. 5 is a perspective view of an external appearance inspection device. Plan view of another embodiment, No. 6
The figure is a characteristic diagram, FIG. 7 is a partial side view of a rotary head type electronic component mounting apparatus, and FIGS. 8 and 9 are plan views of conventional means. 2.3. P...Target 6...Camera 20...Camera field of view A...Characteristic detection area a...Overlapping part b/Non-overlapping part

Claims (1)

【特許請求の範囲】[Claims] カメラにより対象物の外周を観察して、この対象物の輪
郭を検出した後、カメラの視野内に設定された特徴部検
出用エリアを上記輪郭に沿って移動させて、この特徴部
検出用エリアと対象物の周縁部が重なり合う重畳部の面
積又は重なり合わない非重畳部の面積を算出し、この重
畳部又は非重畳部の面積の極限値があらわれる点の位置
を検出することにより、対象物の特徴部の位置を検出す
ることを特徴とする対象物の特徴部の位置の検出方法。
After observing the outer periphery of the object with a camera and detecting the outline of the object, a feature detection area set within the field of view of the camera is moved along the outline, and the feature detection area is By calculating the area of the overlapping part where the peripheral edge of the object and the object overlap, or the area of the non-overlapping part where they do not overlap, and detecting the position of the point where the maximum value of the area of the overlapping part or the non-overlapping part appears, A method for detecting the position of a characteristic part of an object, the method comprising detecting the position of a characteristic part of an object.
JP1055463A 1989-03-08 1989-03-08 Method for detecting the position of a feature of an object Expired - Fee Related JP2624322B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1055463A JP2624322B2 (en) 1989-03-08 1989-03-08 Method for detecting the position of a feature of an object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1055463A JP2624322B2 (en) 1989-03-08 1989-03-08 Method for detecting the position of a feature of an object

Publications (2)

Publication Number Publication Date
JPH02234005A true JPH02234005A (en) 1990-09-17
JP2624322B2 JP2624322B2 (en) 1997-06-25

Family

ID=12999300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1055463A Expired - Fee Related JP2624322B2 (en) 1989-03-08 1989-03-08 Method for detecting the position of a feature of an object

Country Status (1)

Country Link
JP (1) JP2624322B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04174305A (en) * 1990-11-06 1992-06-22 Mitsutoyo Corp Coordinate conversion system of measuring apparatus
CN102351309A (en) * 2011-06-17 2012-02-15 河南农业大学 Azotification method by use of organic wastewater

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128107A (en) * 1984-11-28 1986-06-16 Nachi Fujikoshi Corp Detection of welded wire, etc.
JPS61239105A (en) * 1985-04-17 1986-10-24 Fuji Electric Co Ltd Inspecting method of printing pattern

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128107A (en) * 1984-11-28 1986-06-16 Nachi Fujikoshi Corp Detection of welded wire, etc.
JPS61239105A (en) * 1985-04-17 1986-10-24 Fuji Electric Co Ltd Inspecting method of printing pattern

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04174305A (en) * 1990-11-06 1992-06-22 Mitsutoyo Corp Coordinate conversion system of measuring apparatus
CN102351309A (en) * 2011-06-17 2012-02-15 河南农业大学 Azotification method by use of organic wastewater

Also Published As

Publication number Publication date
JP2624322B2 (en) 1997-06-25

Similar Documents

Publication Publication Date Title
US6396942B1 (en) Method and apparatus for locating ball grid array packages from two-dimensional image data
US6640002B1 (en) Image processing apparatus
US7324684B2 (en) Bonding apparatus
JP2002208010A (en) Method for processing image and device for the same
JP2002319028A (en) Image processing method and device therefor, and bonding device
JP3759983B2 (en) Image processing device
JPH02234005A (en) Detecting method for position of feature part of object
JP2906450B2 (en) Method of detecting feature of object
US6526165B1 (en) Methods and apparatuses for refining a geometric description of an object having a plurality of extensions
JP4073995B2 (en) Electronic component position detection method
JP2000013097A (en) Part mounting system
JP3579247B2 (en) Pattern alignment method
JP4158349B2 (en) Dimension measurement method and apparatus by image processing
JPS63109307A (en) Apparatus for inspecting mounting of chip part
JP3158351B2 (en) Position detection method for minute workpiece
JPS62233746A (en) Checker for chip mounted board
JP2814394B2 (en) Electronic component appearance inspection method
JP3720476B2 (en) Component detection method
JP3134495B2 (en) Inspection target position detection method
JPS6311804A (en) Mark position detection system for positioning
JPH06188596A (en) Part position recognition method and device thereof
JP2533375B2 (en) Lead and bump position detection method in tape bonding
JPH0851131A (en) X-ray inspecting method
JP2762657B2 (en) Center search method for fiducial marks on substrate
JP2556383Y2 (en) connector

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees