JPS63292303A - Automatic setting method for measuring area - Google Patents

Automatic setting method for measuring area

Info

Publication number
JPS63292303A
JPS63292303A JP62127250A JP12725087A JPS63292303A JP S63292303 A JPS63292303 A JP S63292303A JP 62127250 A JP62127250 A JP 62127250A JP 12725087 A JP12725087 A JP 12725087A JP S63292303 A JPS63292303 A JP S63292303A
Authority
JP
Japan
Prior art keywords
data
data extraction
image data
area
line
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
JP62127250A
Other languages
Japanese (ja)
Inventor
Katsumi Matsuura
克己 松浦
Kenichi Watanabe
健一 渡辺
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.)
Hitachi Ltd
Hitachi Keiyo Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Keiyo Engineering 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 Hitachi Ltd, Hitachi Keiyo Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP62127250A priority Critical patent/JPS63292303A/en
Publication of JPS63292303A publication Critical patent/JPS63292303A/en
Pending legal-status Critical Current

Links

Landscapes

  • Supply And Installment Of Electrical Components (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate operation, by defining the position of a data extraction line in case a one-dimensionally pattern of extracted data due to this data extraction line approximates a preliminarily set reference pattern in a prescribed range as the outline of a picture data read range for correction. CONSTITUTION:A measurement start point is defined as the origin and a measuring line my parallel with the (x) axis and a measuring line mx parallel with the (y) axis are supposed on the visual field of picture data due to a visual sensor 3. Picture data based on measuring lines mx and my is taken in, and measuring lines mx and my are moved in directions perpendicular to their extension directions while comparing taken-in data with the reference pattern. When both of them approximate each other in a prescribed range, the position of these data extraction lines at this time is defined as the outline of a measuring area to be set. Thus, it is detected that data extraction lines reach a prescribed position of the peripheral part of an object, and the measuring area is automatically obtained.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、電子部品の位置を視覚センサで補正しながら
搭載して行くようにした電子部品装着機における測定エ
リアの設定方法に係り、特にフラットパッケージ型集積
回路素子の装着に好適な測定エリア自動設定方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for setting a measurement area in an electronic component mounting machine that mounts electronic components while correcting their position using a visual sensor. The present invention relates to an automatic measurement area setting method suitable for mounting flat package integrated circuit devices.

〔従来の技術〕[Conventional technology]

電子回路装置では、多数のIC(集積回路)などの電子
部品をg!略基板に搭載して構成さ九る場合が多いが、
このとき、自動装着機を用いて部品の搭載を行なうのが
一般的である。
In electronic circuit devices, many electronic components such as ICs (integrated circuits) are manufactured using g! Although it is often configured by mounting it on a board,
At this time, it is common to use an automatic mounting machine to mount the parts.

一方、このような電子回路装置では、そこに使用される
電子部品の小型化などに伴って、その実装密度が上昇し
てきており、このため、視覚センサを用いて電子部品の
把持位置や、その搭載位置の補正を行なうようにした部
品装着機が使用されるようになってきた。
On the other hand, the packaging density of such electronic circuit devices is increasing as the electronic components used therein become smaller, and for this reason, visual sensors are used to determine the gripping position of electronic components and their positions. Component placement machines that correct the mounting position have come into use.

ところで、このような視覚センサを用いた部品装着機で
は、従来から、視覚センサの視野内に分散しているデー
タの検出を容易にするため、その視野内に測定エリアを
設定し、この測定エリア内のデータだけを限定抽出する
ことにより雑音などの影響を徐き、確実な検出が得られ
るようにしている。
By the way, in component placement machines that use such visual sensors, in order to facilitate the detection of data scattered within the field of view of the vision sensor, a measurement area is set within the field of view of the vision sensor, and this measurement area is By selectively extracting only the data within, the effects of noise and other factors are removed to ensure reliable detection.

そして、従来の装置では、この測定エリアの設定が、手
作業により行なわれていた。すなわち、作業者が、電子
部品の位置などを実際に測定し。
In conventional devices, the measurement area has to be set manually. In other words, workers actually measure the positions of electronic components.

この結果から所定の測定エリアを想定し4これをキー操
作などにより制御装置に入力するようにしているのであ
る。
From this result, a predetermined measurement area is assumed and inputted into the control device by key operation or the like.

なお、この種の装置として関連するものとじては1例え
ば、特開昭55−118696号、特開昭58−196
099号公報などを挙げることができる。
Incidentally, related devices of this type include 1, for example, JP-A-55-118696 and JP-A-58-196.
Publication No. 099 can be mentioned.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、測定エリアの設定を、その都度1手作
業で行なう必要があり、操作が煩雑であるという問題点
があった。
The conventional technique described above has a problem in that the measurement area must be set manually each time, and the operation is complicated.

また、電子部品装着機では、その動作の教示に。Also, for teaching the operation of electronic component mounting machines.

回路基板作製時でのディジタルデータを利用する場合が
多いが、このとき、従来技術では、データの巨大化を伴
ったり、その都度、回路基板の計測が必要になったりす
るという問題点があった。
Digital data from the time of circuit board manufacturing is often used, but with conventional technology, there were problems in that the data became huge and the circuit board had to be measured each time. .

本発明の目的は1手作業を必要とせず、自動的に測定エ
リア設定が得られ、容易に、しかも高精度のデータ読み
取りが可能で、視覚センサを用いたことによる利点が充
分に得られるようにした電子部品装着機における測定エ
リア自動設定方法を提供することにある。
The purpose of the present invention is to automatically obtain measurement area settings without requiring any manual work, to enable easy and highly accurate data reading, and to fully obtain the advantages of using a visual sensor. An object of the present invention is to provide a method for automatically setting a measurement area in an electronic component mounting machine.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、視覚センサによる画像データの視野内に、
相互にその延長方向を異にする少くとも2本のデータ抽
出線を設定し、これら2本のデータ抽出線をそれぞれ、
その延長方向とほぼ直角の方向に移動させながら順次、
このデータ抽出線が横切る画素のデータを抽出し、この
抽出したデータによる一次元パターンを、予め設定して
ある基準パターンと比較し、両者が所定範囲で近似を示
したときの、このデータ゛抽出線の位置を設定すべき測
定エリアの輪郭線とすることにより達成される。
The above purpose is to
Set at least two data extraction lines whose extension directions are different from each other, and define each of these two data extraction lines as
While moving in a direction almost perpendicular to its extension direction,
Extract the data of the pixels that this data extraction line crosses, compare the one-dimensional pattern based on this extracted data with a preset reference pattern, and when the two show approximation within a predetermined range, this data This is achieved by setting the position of the outline of the measurement area to be set.

〔作 用〕[For production]

一般に、物体は、その周辺部に特有な形状変化を持って
いる1例えば、ICなどの電子部品は、その周辺部に端
子を備え、この部分では、その形状が明らかに大きな変
化をしている。
In general, objects have specific changes in shape around their periphery.1 For example, electronic components such as ICs have terminals around their periphery, and the shape clearly changes significantly in this area. .

そこで、上記のようにして、この端子部などの特有な部
分で得られる一次元パターンを基準パターンとして設定
しておき、これとデータ抽出線によりデータを取り出し
て行ったときのデータとを比較してゆくと、このデータ
抽出線が物体の周辺部の所定位置に達したことを検出す
ることができ。
Therefore, as described above, a one-dimensional pattern obtained at a unique part such as this terminal area is set as a reference pattern, and this is compared with the data obtained by extracting data using the data extraction line. As the data extraction line progresses, it can be detected that the data extraction line has reached a predetermined position on the periphery of the object.

測定エリアを自動的に求めることができる。Measurement area can be determined automatically.

〔実施例〕〔Example〕

以下1本発明による測定エリア自動設定方法について1
図示の実施例により詳細に説明する。
Below 1: About the measurement area automatic setting method according to the present invention 1
This will be explained in detail with reference to the illustrated embodiment.

°第1図は本発明の一実施例が適用された電子部品装着
機のシステム構成図で、この電子部品搭載機は、プリン
ト基板lを固定して保持する機構を備えたX−Y平面2
と、電子部品把持位゛霞認識用の視覚センサ3、基板1
に搭載すべき電子部品(以下、単に部品という)の供給
部4.X−Y平面2の基板1が保持されている面に対向
して、この面と平行な平面に沿って移動可能に支持され
ているヘッダ部5、それにCPU6.メモリ7などから
なる制御装置18とで構成さ九ている。
° Fig. 1 is a system configuration diagram of an electronic component mounting machine to which an embodiment of the present invention is applied.
, a visual sensor 3 for recognizing electronic component gripping position, and a board 1
Supply unit for electronic components (hereinafter simply referred to as components) to be mounted on the 4. A header section 5 that faces the surface on which the substrate 1 is held in the X-Y plane 2 and is supported movably along a plane parallel to this surface, and a CPU 6 . The control device 18 includes a memory 7 and the like.

次に、第2図はヘッダ部5の詳細を示したもので、ヘッ
ダ部5に対して2方向への平行移動とθ方向への回動が
可能に支持されている搭載ハンド9と1把持位置規定部
材10、基板認識用視覚センサ11とで構成されている
Next, FIG. 2 shows details of the header section 5, in which a mounting hand 9 and a gripper 1 are supported so as to be able to move parallelly in two directions and rotate in the θ direction with respect to the header section 5. It is composed of a position defining member 10 and a visual sensor 11 for board recognition.

ヘッダ部5は制御装[8によって制御され、部品供給部
4から搭載ハンド9によって所定の部品を把持して取り
出し、これを基板1の上方の所定の位置にまで運び、そ
して、これを、その所定の箇所に装着する。このとき1
部品供給部4も制御装!2!8によって制御さ汎、その
ときに必要とする部品が搭載ハンド9に供給されるよう
にする。
The header section 5 is controlled by a control device [8, and the mounting hand 9 grips and takes out a predetermined component from the component supply section 4, carries it to a predetermined position above the board 1, and then transfers it to its position. Attach it to the designated location. At this time 1
The parts supply section 4 is also a control system! 2!8 so that the parts required at that time are supplied to the mounting hand 9.

ところで、このとき、まず、視覚センサ3によって、搭
載ハンド9に部品が把持されたあとの状態が!!識され
、ついで視覚センサ11により基板1の配線パターンが
認識され、これにより部品の把持位置、及び装着位置の
補正が行なわれ、正確な搭載が得られるような制御が進
められることになる。すなわち、このとき2まず、ヘッ
ダ部5は。
By the way, at this time, first, the visual sensor 3 detects the state after the component is gripped by the mounting hand 9! ! Then, the wiring pattern of the board 1 is recognized by the visual sensor 11, and thereby the gripping position and mounting position of the component are corrected, and control to ensure accurate mounting is performed. That is, in this case, 2, first, the header section 5 is.

その搭載ハンド9により部品供給部4から所定の部品を
取り込んだあと、一旦、視覚センサ3による撮像視野の
ほぼ中心に、その把持した部品の中心が一致するであろ
う位置に移動し、ここで視覚センサ3による撮像動作を
受ける。そして、このときの画像データに基づいて搭載
ハンド9による部品把持位置の認識を行なう1次に、基
板1の上方の所定の位置に移動し、ここで視覚センサ1
1により配線パターンを撮像し、これによって得た画像
データに基づいて配線パターンの認識を行ない、これら
の認IM果により最終的な部品の装着位置の補正を行な
うことにより正確な部品搭載が得られるようにするので
ある。
After the loading hand 9 takes in a predetermined component from the component supply unit 4, it is moved to a position where the center of the gripped component will coincide with approximately the center of the field of view captured by the visual sensor 3, and then It receives an imaging operation by the visual sensor 3. The mounting hand 9 then moves to a predetermined position above the board 1, where the visual sensor 1 recognizes the component gripping position based on the image data at this time.
Accurate component mounting is achieved by imaging the wiring pattern using 1, recognizing the wiring pattern based on the image data obtained, and correcting the final component mounting position based on these recognized IM results. So do it.

そして、このときの視覚センサ3と11の撮像データに
よる認識処理に際して、上記した測定エリアの設定が必
要になるのであるが、この測定エリアが、この実施例で
は、自動的に得られるのであり、以下、この点について
詳細に説明する。
At this time, in the recognition process using the image data of the visual sensors 3 and 11, it is necessary to set the measurement area as described above, but this measurement area is automatically obtained in this embodiment. This point will be explained in detail below.

まず、第3図により本発明の一実施例における動作原理
につい゛(!ll明すると、この例は1部品どして、上
下6本、左右に5本のリード足(端子)を有するフラッ
トパッケージ型ICを対象としたもので、この第3図は
視覚センサ3(第1図)によってICパッケージPを見
たちのであり、まず、このICパッケージPの任意の点
0を測定開始点ととする。なお、この図では、ノイズは
無いものととしている。
First, the operating principle of an embodiment of the present invention will be explained with reference to FIG. The target is a type IC, and in this figure, the IC package P is viewed by the visual sensor 3 (see figure 1), and first, an arbitrary point 0 on this IC package P is taken as the measurement starting point. Note that this figure assumes that there is no noise.

モして、以後、この測定開始点0を原点とし。From now on, use this measurement starting point 0 as the origin.

さらに、X軸と平行に測定Jim!my、y軸と平行に
測定線mxを想定する。
Additionally, measure Jim parallel to the X axis! Assume a measurement line mx parallel to the my and y axes.

一方、このICパッケージPの端子部分をその配列方向
に沿って横切る線を想定し、この線に沿って走査して画
像データを取り込むと、この画像データは一次元パター
ンのデータとなる。
On the other hand, if a line is assumed to cross the terminal portion of the IC package P along the arrangement direction and image data is captured by scanning along this line, this image data will become one-dimensional pattern data.

そこで、予め、それぞれの端子列t1、tx、t3、t
4について上記の一次元パターンのデータを用意してお
き、それぞれを対応する端子列の基準パターンとする。
Therefore, in advance, each terminal row t1, tx, t3, t
4, the above one-dimensional pattern data is prepared in advance, and each is used as a reference pattern for the corresponding terminal row.

次に、各測定線mx、myによる画像データを取り込ん
で、それを上記した基準パターンと比較しながら、これ
らの各測定Jam x 、 m yを、それらの蔦長方
向と直角の方向に動かしてみる。
Next, while capturing image data from each measurement line mx, my and comparing it with the reference pattern described above, move each of these measurements Jam x, my y in a direction perpendicular to their ivy length direction. View.

まず、測定線mxによる画像データを、端子列tzの基
準パターンと比較しながら、この測定線mxをx1方向
に移動させてゆく、そうすると。
First, while comparing the image data of the measurement line mx with the reference pattern of the terminal row tz, the measurement line mx is moved in the x1 direction.

この測定線mxが端子列tlを横切るエリアo1に入っ
たときに、その画像データのパターンが基準パターンに
対して所定の近似を示す、そこで。
When this measurement line mx enters the area o1 that crosses the terminal row tl, the pattern of the image data shows a predetermined approximation to the reference pattern.

このときの測定線mxのX軸座標位置を記憶する。The X-axis coordinate position of the measurement line mx at this time is memorized.

続いて、この測定@ m xによる画像データを端子列
t3の基準パターンと比較しながらx2方向に移動させ
、近似をとってエリアe3の座標位置を記憶する。
Subsequently, the image data obtained by this measurement @ m x is moved in the x2 direction while being compared with the reference pattern of the terminal row t3, an approximation is taken, and the coordinate position of the area e3 is stored.

次に、同じことを測定線myについて行ない。Next, do the same thing for the measurement line my.

それぞれエリア1!!2と04の座標位置を記憶する。Area 1 each! ! Store the coordinate positions of 2 and 04.

そこで、これらのエリア61〜e4により囲まれている
領域についてみると、この領域は1丁度。
Therefore, if we look at the area surrounded by these areas 61 to e4, this area is exactly 1.

ICパッケージPの本体を囲む、はぼ最少の領域となっ
ており、従って、本発明によ九ば、上記した測定エリア
の算定が自動的に得られることが判る。
It can be seen that the area surrounding the main body of the IC package P is the smallest area, and therefore, according to the present invention, the above-mentioned calculation of the measurement area can be automatically obtained.

そこで、第1図に戻り、この実施例の動作について説明
する。
Therefore, returning to FIG. 1, the operation of this embodiment will be explained.

まず、第4図は、視覚センサ3による、ICパッケージ
Pの搭載ハンド9による把持位置補正に際しての測定エ
リアを示したもので、この図において、12はICパッ
ケージPの本体、L3はリード足(端子)、14〜17
は認識エリア、そして18は視覚センサ3の視野中心で
あり、上記したところから明らかなように、これらの認
識エリア14〜17によって囲まれている範囲が、この
ときの測定エリアとなる。
First, FIG. 4 shows the measurement area when the visual sensor 3 corrects the gripping position of the IC package P by the mounting hand 9. In this figure, 12 is the main body of the IC package P, L3 is the lead foot ( terminal), 14-17
is a recognition area, and 18 is the center of the visual field of the visual sensor 3. As is clear from the above, the range surrounded by these recognition areas 14 to 17 is the measurement area at this time.

第5図は、こ実施例における視覚センサ3による測定エ
リア設定処理のフローチャートで、第1図の制御装置i
!8内のCPU6によって実行されるものであり、以下
、このフローチャートによって説明する。なお、以下、
ステップをSと記す。
FIG. 5 is a flowchart of the measurement area setting process by the visual sensor 3 in this embodiment, and shows the control device i in FIG.
! This process is executed by the CPU 6 in the 8, and will be explained below using this flowchart. In addition, below,
The step is written as S.

測定線mxを視覚センサ3の視野中心18に設定する。The measurement line mx is set at the center 18 of the visual field of the visual sensor 3.

測定線mxによる画像データを、予め設定記憶してある
y軸方向のリード足による基準パターンと比較する。
The image data based on the measurement line mx is compared with a reference pattern based on lead feet in the y-axis direction that is set and stored in advance.

測定線mxを+X方向(右方向)に移動させる。Move the measurement line mx in the +X direction (rightward).

画像データと基準パターンとの一致を判定する。Determine whether the image data matches the reference pattern.

一致したときの測定線mxのX座標位置をX2として記
憶する。
The X coordinate position of the measurement line mx when they match is stored as X2.

再び画像データと基準パターンを比較する。Compare the image data and the reference pattern again.

測定線mxを移動する。Move the measurement line mx.

画像データと基準パターンとの不一致を判定する。Determine the mismatch between the image data and the reference pattern.

不一致となったときの測定線mxの位置をxlとして記
憶する。
The position of the measurement line mx when the discrepancy occurs is stored as xl.

測定線mxを視野中心18に戻す。Return the measurement line mx to the center 18 of the visual field.

529〜S36 今度は、測定線mxを−X方向(左方向)に移動させ、
同様にして位@X4とxllとを求め、それらを記憶す
る。
529-S36 Next, move the measurement line mx in the -X direction (left direction),
Similarly, find the places @X4 and xll and store them.

次に、811定線myについて、同じ手順を繰返し、y
方向の座標位1!yz、y1% y4o y日を求め。
Next, repeat the same procedure for the 811 constant line my, and
Direction coordinate position 1! Find yz, y1% y4o y days.

これらを記憶する。Memorize these.

そうすると、これらの結果から認識エリア14゜15.
16、それに17が設定でき、これらに囲まれた領域と
して測定エリアを設定することができる。
Then, from these results, the recognition area 14°15.
16 and 17 can be set, and the measurement area can be set as an area surrounded by these.

次に、視覚センサ11による。基板lの配線パターンの
位置補正に際しての測定エリアの設定処理について説明
する。
Next, the visual sensor 11 is used. A measurement area setting process when correcting the position of the wiring pattern on the board l will be described.

第68!Iは配線パターンにおける認識エリアを示した
もので、37は配線パターン、38〜41が認識エリア
である。
No. 68! I indicates a recognition area in the wiring pattern, 37 is the wiring pattern, and 38 to 41 are the recognition areas.

基板の配線パターンでは、比較的雑音が多いので、視覚
センサ3で既に求めである座標位@X2゜y2.x4,
74を計測開始点とし、以下1本体12の把持位置補正
時での認識エリアの設定と同様に、測定線mx、myを
用いてそれぞれの認識エリア38〜41の設定を行なう
Since the wiring pattern on the board has a relatively large amount of noise, the visual sensor 3 has already determined the coordinate position @X2°y2. x4,
74 as the measurement starting point, and similarly to the setting of the recognition area when correcting the gripping position of the main body 12, the respective recognition areas 38 to 41 are set using the measurement lines mx and my.

第7図は、このときの処理を示すフローチャートで、ま
ず、S42では、測定ll5m xを座標位置x2に設
定する0次に、S45により、この測定線mxによる画
像データが基準パターンと一致するまで、S43と84
4による処理を繰返えし、位It!xaを求め、それを
、S46で記憶する。
FIG. 7 is a flowchart showing the processing at this time. First, in S42, the measurement ll5m x is set to the coordinate position , S43 and 84
Repeat the process in step 4 and get it! xa is determined and stored in S46.

次に、849で、画像データと基準パターンとの不一致
が判定されるまで、S47と548の処理を繰返えし1
位11x*を求め、それを350で記憶する。
Next, in 849, the processes of S47 and 548 are repeated until it is determined that there is a mismatch between the image data and the reference pattern.
Find the place 11x* and store it as 350.

続いては、S51で位置XJに測定線mxを移し、以下
、S52ないしS59の処理を行ない、位置XtとXs
とを求め、それを記憶する。
Next, in S51, the measurement line mx is moved to the position
and memorize it.

さらに、同じ処理を測定線myについて行ない、位@y
a、7−1.y・、yrを順次求め、それらを記憶する
。そして、このあと、認識エリア38〜41の設定を行
ない、これらのエリアに囲われた領域として測定エリア
を得ることができる。
Furthermore, the same process is performed on the measurement line my, and the position @y
a, 7-1. Find y·, yr in sequence and store them. Thereafter, the recognition areas 38 to 41 are set, and a measurement area can be obtained as a region surrounded by these areas.

次に、このようにして求めた認識エリアを用いて行なわ
れる上記実施例による部品搭載処理について、第8図の
フローチャートにより説明する。
Next, the component mounting process according to the above embodiment, which is performed using the recognition area thus obtained, will be explained with reference to the flowchart shown in FIG.

まず、ヘッダ部5を供給部4の上に移動させ。First, the header section 5 is moved onto the supply section 4.

搭載ハンド9を下降させた上で部品の吸着を行なう(S
 60)、このとき、把持位[Nl定不部材10により
大まかな把持位置の規定が行なわれる。
The mounting hand 9 is lowered and the parts are picked up (S
60), at this time, the gripping position is roughly defined by the gripping position [Nl undefined member 10].

次に、搭載ハンド9を上昇させ、ついでヘッダ部5を移
動させ、視覚センサ3の視野中心18と搭載ハンド9の
中心とが一致するように位置決めする(S61)。
Next, the mounting hand 9 is raised, and then the header section 5 is moved and positioned so that the visual field center 18 of the visual sensor 3 and the center of the mounting hand 9 coincide (S61).

次に、いま搭載すべき部品に対応するリード認識エリア
は既に記憶されているか否かが判定され(S62)、結
果がNOのときには、上記したようにしてリード認識エ
リアの設定、記憶が行なねれる(S 63)。
Next, it is determined whether the lead recognition area corresponding to the component to be mounted now has been stored (S62), and if the result is NO, the lead recognition area is set and stored as described above. Neru (S 63).

こうして求められている認識エリアによる測定エリアを
用い、視覚センサ3により、変化点検出法式に従った求
心ず九量の算定と、その結果に基づくデータの補正が行
なわれる(S 64)。
Using the measurement area based on the recognition area thus obtained, the visual sensor 3 calculates the centripetal displacement according to the change point detection method and corrects the data based on the result (S64).

続いて、基板1上の搭載パターン認識位置にヘッダ部5
が移動され(5135)、今度は視覚センサ11による
補正処理に進み、まず、いま搭載すべき部品に対応する
配線パターンの認識エリアが、既に記憶されているか否
の判断が行なわれ(366)、記憶されていなかったと
きには、上記の処理による基板l!&識エリアの設定、
記憶がここで実行される(S67)。
Next, the header part 5 is placed on the mounting pattern recognition position on the board 1.
is moved (5135), and the process proceeds to correction processing by the visual sensor 11. First, it is determined whether or not the recognition area of the wiring pattern corresponding to the component to be mounted now is already stored (366). If it is not stored, the substrate l! & setting of knowledge area,
Storage is executed here (S67).

その後、この認識エリアを用い、視覚センサ11による
位置補正処理が行なわれ(368)、ヘッダ部5の位置
が正された上で部品の搭載処理が実行される(S 69
)。
Then, using this recognition area, the visual sensor 11 performs a position correction process (368), and after the position of the header section 5 is corrected, the component mounting process is executed (S69).
).

最後に、S70で、予じめ設定されていたステップが全
部終了したか否かが判断され、ここで結果がYESにな
ったとき、この基板に対する搭載処理を完了する。
Finally, in S70, it is determined whether all the preset steps have been completed, and when the result is YES, the mounting process for this board is completed.

なお、以上の実施例では、基板に搭載すべき部品として
フラットパッケージ型ICの場合について説明したが1
本発明はこれに限らず実施可能なことは、11うまでも
ない。
In the above embodiments, the case where a flat package IC is used as the component to be mounted on the board is explained.
It goes without saying that the present invention is not limited to this and can be implemented.

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

本発明によれば、測定エリア設定のための1手作業によ
る処理は不要になり1作業開始時での前処理時間の短縮
や、教示用データのコンパクト化が大きく可能になると
いう効果がある。
According to the present invention, one manual process for setting the measurement area is no longer necessary, and the preprocessing time at the start of one work can be shortened and the teaching data can be made much more compact.

また、2定エリアの設定が自動的に得られるため、処理
エラーが少くなり、かつ、一旦、測定エリアが設定され
た後は、それが記憶くされているため、その都度、v2
定する必要がなく、高速処理が得られる。
In addition, since the setting of the 2 constant area is automatically obtained, processing errors are reduced, and once the measurement area is set, it is memorized, so the v2 constant area setting is automatically obtained.
There is no need to set the parameters, and high-speed processing can be achieved.

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

第1図は本発明による測定エリア自動設定方法の一実施
例が適用された電子部品装着機の一例を示す説明図、第
2rI!iはヘッダ部の詳細な説明図、第3図は本発明
の原理を理解させるための説明図。 第4図は本発明の一実施例における把持位置補正時での
測定エリアの設定動作を示す説明図、第5図は把持位置
補正時での測定エリア設定動作説明用のフローチャート
、第6!!lは本発明の一実施例における配線パターン
に対する測定エリア設定動作の説明図、第7図は配線パ
ターンに対する測定エリア設定動作説明用のフローチャ
ート、第8図は部品搭載動作説明用のフローチャートで
ある。 1・・・・プリント基板、2・・・・X−Y平面、3・
・・・視覚センサ、4・・・・部品供給部、5・・・・
ヘッダ部、6・・・・CPU、7・・・・メモリ、9・
・・・r6銭ハンド、10・・・・把持位置規定用部材
、11・・・・視覚センサ。 第1図 1   7リント基赦 2 ・ x−y平面 3 ・  他覚ヒンサ 4・・・・・・舒品侠にH使 5・ ・・ヘッタ゛舒 第2図 第4図 第3図 第6図 第5図 第7図 第8WA
FIG. 1 is an explanatory diagram showing an example of an electronic component mounting machine to which an embodiment of the measurement area automatic setting method according to the present invention is applied. i is a detailed explanatory diagram of the header section, and FIG. 3 is an explanatory diagram for understanding the principle of the present invention. FIG. 4 is an explanatory diagram showing the measurement area setting operation when correcting the gripping position in an embodiment of the present invention, FIG. 5 is a flowchart for explaining the measurement area setting operation when correcting the gripping position, and FIG. ! FIG. 7 is a flowchart for explaining the measurement area setting operation for the wiring pattern, and FIG. 8 is a flowchart for explaining the component mounting operation. 1...Printed circuit board, 2...X-Y plane, 3...
...Visual sensor, 4...Parts supply section, 5...
Header section, 6...CPU, 7...Memory, 9...
. . . r6 coin hand, 10 . . . gripping position regulating member, 11 . . . visual sensor. Fig. 1 1 7 lint base 2 ・ x-y plane 3 ・ Objective Hinsa 4 ... H envoy to Shupin Kyo 5 ... header shu Fig. 2 Fig. 4 Fig. 3 Fig. 6 Fig. 5 Figure 7 Figure 8WA

Claims (2)

【特許請求の範囲】[Claims] 1.搭載すべき電子部品の搭載用ハンドによる把持位置
と、部品搭載用パターンに対する上記電子部品の搭載位
置の少くとも一方の補正を、視覚センサで読み取った画
像データで行なう方式の電子部品装着機において、上記
画像データの視野画面内で相互に異なる方向に延びる少
くとも2本のデータ抽出線を設定する演算処理手段と、
これらデータ抽出線のそれぞれをそれらの延長方向とほ
ぼ直角な方向に一方と他方に移動させながら順次、その
データ抽出線が横切る画素部分のデータを抽出してゆく
データ抽出手段とを設け、上記データ抽出線による抽出
データの一次元パターンが予め設定してある基準パター
ンに対して所定範囲で近似を示したときの上記データ抽
出線の位置を、上記補正のための画像データ読取範囲の
輪郭線として動作するように構成したことを特徴とする
測定エリア自動設定方法。
1. In an electronic component mounting machine that uses image data read by a visual sensor to correct at least one of the gripping position of the electronic component to be mounted by the mounting hand and the mounting position of the electronic component with respect to the component mounting pattern, Arithmetic processing means for setting at least two data extraction lines extending in mutually different directions within the visual field screen of the image data;
Data extraction means is provided for sequentially extracting data of pixel portions crossed by the data extraction lines while moving each of the data extraction lines from one side to the other in a direction substantially perpendicular to the direction of extension of the data extraction lines. The position of the data extraction line when the one-dimensional pattern of the extracted data by the extraction line shows approximation within a predetermined range to a preset reference pattern is used as the contour line of the image data reading range for the correction. A measurement area automatic setting method characterized in that it is configured to operate.
2.特許請求の範囲第1項において、上記電子部品が、
フラットパッケージ型集積回路素子であり、上記基準パ
ターンが、該集積回路素子の端子部分を横切って走査し
たときに得られる画像データが示す一次元パターンであ
ることを特徴とする測定エリア自動設定方法。
2. In claim 1, the electronic component comprises:
A measurement area automatic setting method for a flat package integrated circuit device, characterized in that the reference pattern is a one-dimensional pattern shown by image data obtained when scanning across a terminal portion of the integrated circuit device.
JP62127250A 1987-05-26 1987-05-26 Automatic setting method for measuring area Pending JPS63292303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62127250A JPS63292303A (en) 1987-05-26 1987-05-26 Automatic setting method for measuring area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62127250A JPS63292303A (en) 1987-05-26 1987-05-26 Automatic setting method for measuring area

Publications (1)

Publication Number Publication Date
JPS63292303A true JPS63292303A (en) 1988-11-29

Family

ID=14955404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62127250A Pending JPS63292303A (en) 1987-05-26 1987-05-26 Automatic setting method for measuring area

Country Status (1)

Country Link
JP (1) JPS63292303A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04245304A (en) * 1991-01-31 1992-09-01 Nissan Motor Co Ltd Automatic fitting device with visual function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04245304A (en) * 1991-01-31 1992-09-01 Nissan Motor Co Ltd Automatic fitting device with visual function

Similar Documents

Publication Publication Date Title
US20010055069A1 (en) One camera system for component to substrate registration
JP4794011B2 (en) Image processing apparatus and robot control system
JPH02105543A (en) Method and apparatus for correcting reproducible positioning error
JP2707548B2 (en) Coordinate correction method for visual recognition device
JPS63292303A (en) Automatic setting method for measuring area
JP4073995B2 (en) Electronic component position detection method
JP3102193B2 (en) Contact / positioning device for QFP IC to IC socket
JPH11175150A (en) Stop position deviation amount detecting device for moving body
KR19980701756A (en) Electronic component mounting device and electronic component mounting method
JP6407433B2 (en) Model data creation device, model data creation method, mounting reference point determination device, mounting reference point determination method
KR0161023B1 (en) Positional deviation correcting method for printed circuit board
JP3442496B2 (en) Position recognition method, inspection method and apparatus using the same, and control method and apparatus
JP2686606B2 (en) Template registration method
JPH0339611A (en) Calibration method between coordinate systems in robot with visual recognition device
JPH02118404A (en) System for correcting position of smd by processing image
JP2004273578A (en) Electronic component mounting method and equipment thereof
JP2786859B2 (en) Electronic component mounting method in electronic component automatic mounting machine
JPH06309436A (en) Method for detecting position of ic socket for qfp type ic
JPH04238206A (en) Multi-visual field recognizing method for pattern
JPH0824235B2 (en) How to determine the mounting position of electronic components in a mounting machine
JPS61188094A (en) Substrate regulator
JPS62287108A (en) Measuring method for position of electronic parts
KR960033189A (en) Position correction method of camera for chip mounter
JPH10117100A (en) Method for measuring position of component
JPS63166300A (en) Parts mounter