JPH02118404A - System for correcting position of smd by processing image - Google Patents

System for correcting position of smd by processing image

Info

Publication number
JPH02118404A
JPH02118404A JP63272662A JP27266288A JPH02118404A JP H02118404 A JPH02118404 A JP H02118404A JP 63272662 A JP63272662 A JP 63272662A JP 27266288 A JP27266288 A JP 27266288A JP H02118404 A JPH02118404 A JP H02118404A
Authority
JP
Japan
Prior art keywords
smd
correction value
lead
correction
lead base
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
JP63272662A
Other languages
Japanese (ja)
Other versions
JPH0797015B2 (en
Inventor
Toshio Sasano
笹野 敏雄
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP63272662A priority Critical patent/JPH0797015B2/en
Publication of JPH02118404A publication Critical patent/JPH02118404A/en
Publication of JPH0797015B2 publication Critical patent/JPH0797015B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To perform the accurate correction of the position of an SMD(surface mounting device) without receiving the effect of lead bend by providing a lead base position extraction means and a position correction value calculation means. CONSTITUTION:An image processor 10 is provided with the lead base position extraction means 11 and the position correction value calculation means 13. The lead base position extraction means 11 sets an inspected area in a specified size including the plural lead bases of the SMD. Then, the lead base of the SMD is moved to the inspected area and the position thereof is extracted. The position correction value calculation means 13 calculates the correction value in a rotating direction and the correction value in an XY direction from the position of the lead base of the SMD. Thus, the position correction value without receiving the effect of the lead bend or the like can be obtained and the accurate correction of the position of the SMD can be performed.

Description

【発明の詳細な説明】 〔概 要) プリント基板その他に実装されるSMDの位置を補正す
る位置補正方式に関し、 位置補正に伴うSMDの位置検出を正確に行なうことが
できることを目的とし、 SMDの所定位置を撮像した画像情報が画像処理装置に
取り込まれ、画像処理によりその位置を検出し、位置補
正を行なうSMDの位置補正方式において、SMDの複
数のリード基部を包含する所定の大きさの検査領域を設
定し、この検査領域内にSMDのリード基部を移動させ
その位置を抽出するリード基部位置抽出手段と、このリ
ード基部の位置から、回転方向の補正値およびXY力方
向□補正値を算出する位置補正値算出手段とを備え構成
する。
[Detailed Description of the Invention] [Summary] Regarding a position correction method for correcting the position of an SMD mounted on a printed circuit board or the like, the present invention aims to accurately detect the position of an SMD accompanying position correction. In the SMD position correction method, in which image information captured at a predetermined position is captured by an image processing device, the position is detected through image processing, and position correction is performed, an inspection of a predetermined size that includes multiple lead bases of the SMD is performed. A lead base position extraction means that sets an area, moves the SMD lead base within this inspection area, and extracts the position, and calculates a correction value in the rotational direction and a correction value in the XY force direction from the position of the lead base. and position correction value calculation means.

〔産業上の利用分野〕[Industrial application field]

本発明は、プリント基板その他に実装されるSMD(本
明細書では「表面実装素子」をいう、)の位置を補正す
る位置補正方式に関する。
The present invention relates to a position correction method for correcting the position of an SMD (herein referred to as a "surface mount device") mounted on a printed circuit board or the like.

SMDの外観検査、あるいはデバイストレーに所定の向
きで収納されているSMDをプリント基板に装着する際
には、ピックアップしたSMDの検査あるいは実装に必
要な所定の位置に補正する処理が必要になっているが、
その位置補正に先立ってまずSMDの現在の位置を検出
する必要があり、本発明はその位置検出に利用される。
When inspecting the appearance of an SMD or mounting an SMD stored in a device tray in a predetermined orientation onto a printed circuit board, it is necessary to correct the picked-up SMD to the predetermined position necessary for inspection or mounting. There are, but
Prior to correcting the position, it is first necessary to detect the current position of the SMD, and the present invention is utilized for detecting the position.

〔従来の技術〕[Conventional technology]

ロボットハンドによりピックアップされたSMDは、所
定の位置に補正するためにまず現在の位置検出が行なわ
れるが、従来方式ではカメラにより撮像されたSMDの
画像情報からリード先端の位置を抽出して行なわれてい
る。
When an SMD is picked up by a robot hand, its current position is first detected in order to correct it to a predetermined position, but in the conventional method, the position of the lead tip is extracted from image information of the SMD captured by a camera. ing.

たとえば、回転方向の位置補正では、二つのリードの各
先端を結ぶ線のX軸あるいはY軸に対する傾き(θ)を
算出することにより回転方向における位置の検出が行な
われ、このθを補正値として回転方向の位置補正制御が
行なわれる。
For example, when correcting the position in the rotational direction, the position in the rotational direction is detected by calculating the inclination (θ) of a line connecting the ends of two leads with respect to the X or Y axis, and this θ is used as the correction value. Position correction control in the rotational direction is performed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第6図は、従来方式によるSMDの位置検出における問
題点を説明する図である。
FIG. 6 is a diagram illustrating problems in SMD position detection using the conventional method.

図において、カメラの視野6Iには、SMD62の一つ
の角部が収められる。このSMD620回転方向の位置
検出は、そのウィンド65内の二つのリード63.64
の先端位am、nを抽出し、線分mnとX軸との傾きθ
を求める処理である。
In the figure, one corner of the SMD 62 is included in the field of view 6I of the camera. The position detection in the rotational direction of this SMD 620 is performed using two leads 63 and 64 in the window 65.
Extract the tip positions am and n, and calculate the slope θ between the line segment mn and the X axis.
This is a process to find.

ところで、この傾きθが回転方向の補正値となるが、こ
こでリード63が破線で示すように曲がっている場合に
は、その先端位置m′が正常位置に対してずれる。した
がって、線分m’ nとX軸との傾き(回転方向の補正
値)θ′にはリード曲がり分が含まれ、正規の値θと異
なるために位置補正を正確に行なうことができなかった
By the way, this inclination θ becomes a correction value in the rotational direction, but if the lead 63 is bent as shown by the broken line, its tip position m' will deviate from the normal position. Therefore, the inclination (correction value in the rotational direction) θ' between the line segment m' n and the X-axis includes the lead bending and is different from the normal value θ, making it impossible to accurately correct the position. .

また、XY力方向位置補正に伴うSMDの位置検出にお
いても同様であった。
Further, the same applies to the position detection of the SMD accompanying the XY force direction position correction.

本発明は、このような従来の問題点を解決するもので、
位置補正に伴うSMDの位置検出を正確に行なうことが
できる画像処理によるSMDO位置補正方式を提供する
ことを目的とする。
The present invention solves these conventional problems,
It is an object of the present invention to provide an SMDO position correction method using image processing that can accurately detect the position of an SMD accompanying position correction.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

図において、画像処理装置10はSMDの所定位置を撮
像した画像情報を取り込み、画像処理によりその位置を
検出し、位置補正を行なう。
In the figure, an image processing device 10 captures image information captured at a predetermined position of the SMD, detects the position through image processing, and performs position correction.

本発明による画像処理装置10は、リード基部位置抽出
手段11および位置補正値算出手段13を有する。
The image processing apparatus 10 according to the present invention includes a lead base position extraction means 11 and a position correction value calculation means 13.

リード基部位置抽出手段11は、SMDの複数のリード
基部を包含する所定の大きさの検査領域を設定し、この
検査領域内にSMDのリード基部を移動させ、その位置
を抽出する。
The lead base position extracting means 11 sets an inspection area of a predetermined size that includes a plurality of SMD lead bases, moves the SMD lead base within this inspection area, and extracts its position.

位置補正値算出手段13ば、SMDのリード基部の位置
から、回転方向の補正値およびXY方同の補正値を算出
する。
The position correction value calculating means 13 calculates correction values in the rotational direction and correction values in the X and Y directions from the position of the lead base of the SMD.

〔作 用〕[For production]

本発明は、SMDのリード基部に着目してその位置を検
出し、各方向の補正値を算出する。
The present invention focuses on the lead base of the SMD, detects its position, and calculates correction values in each direction.

すなわち、リード基部位置抽出手段11が、SMDの複
数のリード基部を包含する検査領域内の各リード基部の
位置を抽出し、位置補正値算出手段13が1.このリー
ド基部の位置から、回転方向の補正値およびXY力方向
補正値を算出することにより、リード曲がりその他に影
響されない位置補正値を得ることができ、正確な位置補
正を行なうことが可能となる。
That is, the lead base position extracting means 11 extracts the position of each lead base within the inspection area including a plurality of lead bases of the SMD, and the position correction value calculating means 13 extracts the position of each lead base within the inspection area including a plurality of lead bases of the SMD. By calculating the correction value in the rotational direction and the correction value in the XY force direction from the position of the lead base, it is possible to obtain a position correction value that is not affected by lead bending or other factors, making it possible to perform accurate position correction. .

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明方式を実現する装置構成の一例を示す
ブロック図である。
FIG. 2 is a block diagram showing an example of a device configuration for realizing the method of the present invention.

図において、ロボットハンド21は制御装置23からの
制御信号に応じてSMD24をピックアップし、所定の
向きに回転させ、所定位置に移動させる。ロボットハン
ド21には、SMD24の所定の位置(角部)を照射す
る照明22が設けられる。カメラ27は、SMD24の
所定の位置(角部)を撮像し、その画像情報を画像処理
装置28に送出する。なお、ここでは、ロボットハンド
21がSMD24をピックアップし、カメラ27の撮像
位置(視野内)まで移動させる構成とする。
In the figure, a robot hand 21 picks up an SMD 24 in response to a control signal from a control device 23, rotates it in a predetermined direction, and moves it to a predetermined position. The robot hand 21 is provided with a lighting 22 that illuminates a predetermined position (corner) of the SMD 24 . The camera 27 images a predetermined position (corner) of the SMD 24 and sends the image information to the image processing device 28 . Note that here, the robot hand 21 picks up the SMD 24 and moves it to the imaging position (within the field of view) of the camera 27.

第3図は、SMDの撮像からその位置補正までの画像処
理の一例を説明するフローチャートである。
FIG. 3 is a flowchart illustrating an example of image processing from SMD imaging to position correction.

第4図および第5図は、回転方向の位置補正およびXX
方向の位置補正を説明する図である。
Figures 4 and 5 show position correction in the rotational direction and
It is a figure explaining position correction of a direction.

ここで、参照番号31は視野であり、参照番号32.3
3はリード基部の画像情報を抽出するためのウィンドで
あり、参照番号34〜36はリードである。
Here reference number 31 is the field of view and reference number 32.3
3 is a window for extracting image information of the lead base, and reference numbers 34 to 36 are leads.

以下、第2図〜第5図を参照して本発明実施例の動作に
ついて説明する。なお、ここでは回転方向の位置補正を
行なった後に、XX方向の位置補正を行なう場合につい
て説明する。
The operation of the embodiment of the present invention will be described below with reference to FIGS. 2 to 5. Here, a case will be described in which the position is corrected in the XX direction after the position is corrected in the rotational direction.

SMD24は、ロボットハンド21によりピックアップ
されてカメラ27の視野31内に運ばれ、さらにウィン
ド32の位置にリード34.35の基部が合わせられ、
その撮像が行なわれる(第4図参照)。
The SMD 24 is picked up by the robot hand 21 and carried into the field of view 31 of the camera 27, and the bases of the leads 34 and 35 are aligned with the position of the window 32.
The image is taken (see FIG. 4).

この画像情報から、SMD24の一辺にある互いに離れ
たリード34.35の基部位置の座標値a (Xm+y
j 、b (xb+Vb)が抽出される。
From this image information, the coordinate value a (Xm+y
j, b (xb+Vb) are extracted.

ここで、この各基部位置a、bから回転方向の補正値θ
(=jan−’(yb  yJ/(xa  xb) )
を算出し、この補正値θを制御装置23に転送する。な
お、制御装置23ではこの回転方向の補正値θにより、
ロボットハンド21を制御して回転方向の位置補正を行
なう。
Here, from each base position a, b, a rotational direction correction value θ
(=jan-'(yb yJ/(xa xb))
is calculated, and this correction value θ is transferred to the control device 23. Note that the control device 23 uses this rotational direction correction value θ to
The robot hand 21 is controlled to perform position correction in the rotational direction.

この回転方向の位置補正が行なわれた後に、ウィンド3
2の位置にリード34.35の基部が合わせられ、ウィ
ンド33の位置にリード36の基部が合わせられ、その
撮像が行なわれる(第5図参照)。
After this rotational position correction is performed, the window 3
The bases of the leads 34 and 35 are aligned to the position 2, and the bases of the leads 36 are aligned to the position of the window 33, and their images are taken (see FIG. 5).

この画像情報から、SMD24のり一ド34の基部位置
の座標値C(Xc+3’c)が抽出され、リード36の
基部位置の座標値d (x4.yd)が抽出される。
From this image information, the coordinate value C (Xc+3'c) of the base position of the lead 34 of the SMD 24 is extracted, and the coordinate value d (x4.yd) of the base position of the lead 36 is extracted.

ここで、SMD24の各辺に対してあらかじめ設定され
ているX方向の設定値とX方向の設定値との比較により
、X方向の補正値およびX方向の補正値を算出し、この
各補正値を制fI[I装置23に転送する。
Here, the X-direction correction value and the X-direction correction value are calculated by comparing the X-direction setting value and the is transferred to the control fI[I device 23.

すなわち、SMD24の各辺に対してあらかじめX方向
の設定値X0とX方向の設定値y0が与えられている(
SMDの角の設定位置が座標(xo。
That is, the set value X0 in the X direction and the set value y0 in the X direction are given in advance to each side of the SMD 24 (
The set position of the SMD corner is the coordinate (xo.

yo))とすると、X方向の補正値ΔXは、リード36
の基部位置の座標値d Cxa 、 yd)から、ΔX
−X0− xd として求めることができ、X方向の補
正値Δyは、リード34の基部位置の座標値c(xc+
yc)から、ΔV=yo  Vcとして求めることがで
きる。なお、このようにX方向およびX方向の各補正値
をSMD24の異なる辺のリードの基部位置から求めた
のは、各リードがそれぞれの辺でどの位置のリードであ
るかの判定が困難であり、一つのリードの基部位置の座
標値から両方向の補正値を求めることができないためで
ある。
yo)), the correction value ΔX in the X direction is the lead 36
From the coordinate value d Cxa , yd) of the base position, ΔX
-X0-xd, and the correction value Δy in the X direction is the coordinate value c(xc+
yc), it can be determined as ΔV=yo Vc. Note that the reason why the correction values in the X direction and the This is because correction values in both directions cannot be determined from the coordinate values of the base position of one lead.

制御装置23では、このXX方向の補正値ΔX。The control device 23 uses this correction value ΔX in the XX direction.

Δyにより、ロボットハンド21を制御してXX方向の
位置補正を行なう。第5図に位置補正後のSMDおよび
リードの状態を破線で示す。
The robot hand 21 is controlled by Δy to correct the position in the XX direction. In FIG. 5, the states of the SMD and leads after position correction are shown by broken lines.

なお、リードの曲がりを検査する外観検査機などのチエ
ツク用カメラその他を利用することにより、本発明方式
を実現する装置(第2図)は容易に構成することができ
、またそれらと共用することも可能である。
Furthermore, by using a checking camera such as an appearance inspection machine for inspecting bending of leads, the apparatus for realizing the method of the present invention (Fig. 2) can be easily configured, and can also be used in common with them. is also possible.

〔発明の効果〕〔Effect of the invention〕

上述したように、本発明によれば、SMDのリード基部
の位置から位置検出を行ない、補正値を算出する方式で
あるので、リード曲がりの影古を受けずに正確な位置補
正を行なうことが可能である。
As described above, according to the present invention, since the position is detected from the position of the SMD lead base and the correction value is calculated, it is possible to perform accurate position correction without being affected by lead bending. It is possible.

また、リード基部の位置を抽出するためのウィンドを大
きくとることができ、SMDの位置決めを容易にするこ
とが可能である。
Furthermore, the window for extracting the position of the lead base can be made larger, and the positioning of the SMD can be facilitated.

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

第1図は本発明の原理ブロック図、 第2図は本発明方式を実現する装置構成の一例を示すブ
ロック図、 第3図はSMDの撮像からその位置補正までの画像処理
の一例を説明するフローチャート、第4図は回転方向の
位置補正を説明する図、第5図はXY力方向位置補正を
説明する図、第6図は従来方式によるSMDの位置検出
における問題点を説明する図である。 28は画像処理装置、 31は視野、 32.33はウィンド、 34.35.36はリー ドである。 図において、 0は画像処理装置、 ■はリード基部位置抽出手段、 3は位置補正値検出手段、 1はロボットハンド、 2は照明、 3は制御装置、 4はSMD、 7はカメラ、 SMDの画像情報 本発明方式を実現する装置構成の一例を示すブロック図
第2図 ↓ 位置補正値 本発明法理ブロック図 第1図 第 回転方向の位置補正を説明する図 第4図 XY力方向位置補正を説明する図 第5図 従来方式による問題点を説明する間 第 図
Fig. 1 is a block diagram of the principle of the present invention. Fig. 2 is a block diagram showing an example of a device configuration for realizing the method of the present invention. Fig. 3 explains an example of image processing from SMD imaging to its position correction. Flowchart, FIG. 4 is a diagram for explaining position correction in the rotational direction, FIG. 5 is a diagram for explaining position correction in the XY force direction, and FIG. 6 is a diagram for explaining problems in SMD position detection using the conventional method. . 28 is an image processing device, 31 is a field of view, 32, 33 is a window, and 34, 35, and 36 are leads. In the figure, 0 is an image processing device, ■ is a lead base position extraction means, 3 is a position correction value detection means, 1 is a robot hand, 2 is a lighting, 3 is a control device, 4 is an SMD, 7 is a camera, and the image of the SMD Information Block diagram showing an example of the device configuration for realizing the method of the present invention Fig. 2 ↓ Position correction value Block diagram of the principle of the invention Fig. 1 Fig. 4 Explaining position correction in the rotational direction Fig. 4 Explaining position correction in the XY force direction Figure 5. Figure 5 for explaining the problems with the conventional method.

Claims (1)

【特許請求の範囲】[Claims] (1) SMDの所定位置を撮像した画像情報が画像処
理装置(10)に取り込まれ、画像処理によりその位置
を検出し、位置補正を行なうSMDの位置補正方式にお
いて、 SMDの複数のリード基部を包含する所定の大きさの検
査領域を設定し、この検査領域内にSMDのリード基部
を移動させその位置を抽出するリード基部位置抽出手段
(11)と、 このリード基部の位置から、回転方向の補正値およびX
Y方向の補正値を算出する位置補正値算出手段(13)
と を備えたことを特徴とする画像処理によるSMDの位置
補正方式。
(1) In the SMD position correction method, in which image information captured at a predetermined position of the SMD is captured by the image processing device (10), the position is detected by image processing, and position correction is performed, multiple lead bases of the SMD are a lead base position extraction means (11) that sets an inspection area of a predetermined size to include, moves the SMD lead base within this inspection area and extracts the position; Correction value and X
Position correction value calculation means (13) for calculating a correction value in the Y direction
An SMD position correction method using image processing, characterized by comprising:
JP63272662A 1988-10-28 1988-10-28 Position correction method of SMD by image processing Expired - Fee Related JPH0797015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63272662A JPH0797015B2 (en) 1988-10-28 1988-10-28 Position correction method of SMD by image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63272662A JPH0797015B2 (en) 1988-10-28 1988-10-28 Position correction method of SMD by image processing

Publications (2)

Publication Number Publication Date
JPH02118404A true JPH02118404A (en) 1990-05-02
JPH0797015B2 JPH0797015B2 (en) 1995-10-18

Family

ID=17517040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63272662A Expired - Fee Related JPH0797015B2 (en) 1988-10-28 1988-10-28 Position correction method of SMD by image processing

Country Status (1)

Country Link
JP (1) JPH0797015B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04106671A (en) * 1990-08-27 1992-04-08 Fujitsu Ltd Picture processor
JPH0755427A (en) * 1993-08-12 1995-03-03 Nec Corp Lead position detector
JPH08502900A (en) * 1993-05-27 1996-04-02 ボード オブ リージェンツ オブ ザ ユニヴァーシティ オブ ワシントン Cyclic GMP-binding, cyclic GMP-specific phosphodiesterase materials and methods

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274203A (en) * 1986-05-23 1987-11-28 Toshiba Corp Position recognizing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274203A (en) * 1986-05-23 1987-11-28 Toshiba Corp Position recognizing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04106671A (en) * 1990-08-27 1992-04-08 Fujitsu Ltd Picture processor
JPH08502900A (en) * 1993-05-27 1996-04-02 ボード オブ リージェンツ オブ ザ ユニヴァーシティ オブ ワシントン Cyclic GMP-binding, cyclic GMP-specific phosphodiesterase materials and methods
JPH0755427A (en) * 1993-08-12 1995-03-03 Nec Corp Lead position detector

Also Published As

Publication number Publication date
JPH0797015B2 (en) 1995-10-18

Similar Documents

Publication Publication Date Title
JP2010261955A (en) Head loading component alignment using many area array type image detectors
US6408090B1 (en) Method for position recognition of components equipped on a substrate in an automatic equipping unit
JP3266429B2 (en) Pattern detection method
JPH02118404A (en) System for correcting position of smd by processing image
US5038380A (en) Method for recognizing position of component and apparatus therefor
JPH0541598A (en) Correcting method for component mounting position
JP3269816B2 (en) Component mounting equipment
JPH06226561A (en) Circular position recognizing device
JP3166816B2 (en) Pattern position finding method and apparatus by image recognition
JP2985380B2 (en) Electronic component position detection method
JP3114941B2 (en) Component mounting equipment
JP2000180138A (en) Calibration plate and calibration system for visual sensor utilizing it
JPH07140088A (en) Correcting method for unit shift amount of appearance-inspection camera in circuit board inspection device
JPH06260794A (en) Method and equipment for recognizing position of electronic part
JP3720476B2 (en) Component detection method
JP2624322B2 (en) Method for detecting the position of a feature of an object
JPH04361104A (en) Detecting system of position of substrate mark
JP2974788B2 (en) Pattern position detection method
JP3483971B2 (en) How to create component data
JP3046421B2 (en) Electronic component mounting method and device
JP2694819B2 (en) Lead position detector
JPH05275900A (en) Method for inspection of state of mounted part lead
JP2001227915A (en) Method for detecting displacement of camera, method for detecting inclination of camera, and method for correcting amount of movement of camera for image pickup apparatus
JPH1041699A (en) Method and equipment for mounting electronic part
JP2874752B2 (en) Image processing position detection method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370