JPH02227785A - Recognizing method for circular or rhombic mark - Google Patents
Recognizing method for circular or rhombic markInfo
- Publication number
- JPH02227785A JPH02227785A JP1046547A JP4654789A JPH02227785A JP H02227785 A JPH02227785 A JP H02227785A JP 1046547 A JP1046547 A JP 1046547A JP 4654789 A JP4654789 A JP 4654789A JP H02227785 A JPH02227785 A JP H02227785A
- Authority
- JP
- Japan
- Prior art keywords
- mark
- axis
- coordinates
- center
- circle
- 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
- Image Analysis (AREA)
- Multi-Process Working Machines And Systems (AREA)
- Supply And Installment Of Electrical Components (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は電子部品搭載機において、成子部品をプリント
基板上へ高精度に4滅する為に、プリント基板上のマー
クを認識し、その位置ずれを補正して搭載するマーク認
識率の向上をはかる円あるいは菱形マークの認識方法に
関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention is an electronic component mounting machine that recognizes marks on a printed circuit board and detects their positional deviations in order to place a child component onto a printed circuit board with high precision. This paper relates to a method for recognizing circle or diamond marks that improves the mark recognition rate by correcting the marks.
プリント基板上の円マークと電子部品の関係を第5図に
示す。電子部品搭載機は円マークと電子部品の相対位t
X/ 、 Y/は一定のデータとし、プリント基板上
の円マークを認識してプリント基板のばらつきX、Yを
認識し、それに従い電子部品搭載位置を補正し、精度よ
く搭載する。円マークの認識はカメラにて入力した白黒
画像のメモリ情報(第6図に示す。)により行っている
。FIG. 5 shows the relationship between the circle mark on the printed circuit board and the electronic components. For machines equipped with electronic components, check the relative position of the circle mark and electronic components.
X/ and Y/ are set as constant data, and the circle mark on the printed circuit board is recognized to recognize the variation X and Y of the printed circuit board, and the electronic component mounting position is corrected accordingly to ensure accurate mounting. Recognition of the circle mark is performed using memory information (shown in FIG. 6) of a black and white image inputted by a camera.
この円マーク認識の従来の方法は第6図に示すように、
画像メモリΦ内へ記憶された背景の白画素(明)と円マ
ーク認識5の黒画素(暗)の数を数えて行うものである
。例えば、Y方向の円マーク中心位直はAA’上の白画
素の数が41黒画素の数がlの場合、円マークの中心は
基準の左端から計算してl□+12/2となる。The conventional method for recognizing circle marks is as shown in Figure 6.
This is done by counting the number of background white pixels (bright) and black pixels (dark) of the circle mark recognition 5 stored in the image memory Φ. For example, if the number of white pixels on AA' is 41 and the number of black pixels is l, the center of the circle mark in the Y direction is calculated from the left end of the reference and is 1□+12/2.
このようにして、プリント基板0円マーク中心を認識し
、プリント板のずれを補正して、精度よく′電子部品を
搭載する。In this way, the center of the zero yen mark on the printed board is recognized, the deviation of the printed board is corrected, and electronic components are mounted with high precision.
なお、この種の装置として関連するものには、[センナ
技術J 1987年5月号90貞〜93頁に記載のLS
Iマウンタ等がある。In addition, related devices of this type include [LS described in Senna Technology J May 1987 issue, pages 90-93]
There are I mounters, etc.
上記従来技術では、第7図の様にカメラから入力したデ
ータが欠け、変形状態であった場合に誤った中心位直な
算出してしまう。又第8図の様に基板のずれが大きく、
菱形マークの場合も誤った中心位直を算出してしまう問
題があった。In the above-mentioned conventional technology, when the data input from the camera is missing and the object is in a deformed state as shown in FIG. 7, the central position is incorrectly calculated. Also, as shown in Figure 8, there is a large deviation of the board,
In the case of a diamond mark, there was also a problem in which the center alignment was calculated incorrectly.
本発明は上記のような場合でもマーク中心を認識できる
認識方法を提供することを目的とする。An object of the present invention is to provide a recognition method that can recognize the center of a mark even in the above-mentioned cases.
上記目的は、マークのX方向つ両端点をサーチし、その
X−Y座標を求める方式を採用することにより達成され
る。The above object is achieved by employing a method of searching both end points of a mark in the X direction and determining its X-Y coordinates.
円及び煩いた菱形であっても、両端点の距離(ピッチ)
は円の直径あるいは菱形の対角長さに等しくなる為、カ
メラより入力したマークデータの両端点のピッチが本来
のピッチに比べ、差が大きい場合は、マークデータが不
良であるとわかるので、誤った中心位直を算出・認識す
ることがない〔実施例〕
以下、本発明の一実施例を第1図、第2図により説明す
る。Even if it is a circle or a complicated diamond, the distance (pitch) between both end points
is equal to the diameter of a circle or the diagonal length of a rhombus, so if the pitch between the end points of the mark data input from the camera is significantly different from the original pitch, you can tell that the mark data is defective. There is no calculation or recognition of incorrect center position [Embodiment] An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.
カメ2にて入力した画像メモリが、第1図の場合は、第
2図のフローチャートに示すようVこ、まずAA’軸上
で白画素(明)及び黒画素(暗)の数11、112 を
計数する、AA’軸を右へ移動して行き、黒画素数がO
から1以上に変わったX方向の座標なx1又その時のA
A細軸上黒画素の中心位直をyl(−111+#2/2
)とする。さらにAA’軸を右へ移動して、黒画素数
が1以上から0に変わったX方向の座標から1を引いた
直をx、x位置のAA′細軸上黒画素の中心位直を、V
2(=l、’ ±12’ /2)とする。これでマーク
のX方向の両端点のX・Y座標が求まったことになるが
、この両端点のピッチLが、あらかじめ設定されている
マークの対角長さL′と比軸して、その差が任意の範囲
(±ΔL)を超えていれば、データエラーとして処理す
る。第8図、第4図のように入力したマークデータが変
形していた場合は、この時点で、データエラーとして処
理されるので、誤認識による搭載精度不良はほとんどな
くなる効果がある。If the image memory input by the camera 2 is as shown in Fig. 1, then the numbers of white pixels (bright) and black pixels (dark) on the AA' axis are 11 and 112, respectively, as shown in the flowchart of Fig. 2. , move the AA' axis to the right until the number of black pixels is O.
The coordinate in the X direction that has changed from 1 or more, x1, or A at that time
The center alignment of the black pixel on the A thin axis is yl(-111+#2/2
). Furthermore, by moving the AA' axis to the right, the axis obtained by subtracting 1 from the coordinate in the X direction where the number of black pixels changed from 1 or more to 0 is x, and the axis of the center of the black pixel on the AA' thin axis at the x position is the axis ,V
2 (=l, '±12'/2). This means that the X and Y coordinates of both end points in the X direction of the mark have been found. If the difference exceeds an arbitrary range (±ΔL), it is treated as a data error. If the input mark data is deformed as shown in FIGS. 8 and 4, it is treated as a data error at this point, which has the effect of almost eliminating poor mounting accuracy due to erroneous recognition.
マークデータが正常(1,/−ΔL≦L≦L′+ΔL)
の場合は、両端点の中間点がマークの中心位直であるの
で、プリント基板のずれが求まり、これに基づいて搭載
データを補正し、電子部品を精度良く搭載するものであ
る。Mark data is normal (1,/-ΔL≦L≦L′+ΔL)
In this case, since the midpoint between the two end points is perpendicular to the center of the mark, the deviation of the printed circuit board is determined, and the mounting data is corrected based on this to accurately mount the electronic component.
本発明によれば、円・菱形のどちらのマークでも、入力
したマークデータの良・否判別を行い、正しくマーク中
心を認識することができ、電子部品を正しく搭載できる
効果がある。According to the present invention, whether the mark is circular or diamond-shaped, it is possible to determine whether the input mark data is acceptable or not, and the center of the mark can be correctly recognized, so that electronic components can be mounted correctly.
第1図、第8図、第4図は本発明の一実施例のマーク画
1象のメモリー内の配置図、第2図は本発明のマーク中
心認識のフローチャート図を示す。
第5図はプリント基板のマークと゛電子部品の関係を示
す配置図。第6図、第7図、第8図は従来のマーク画像
のメモリー内の配置図である。
■・・・プリント基板 2・・・電子部品 8・・
・基板マーク 4・・・面識メモリ 5・・・マー
ク画像6・・・明暗(白黒)Vベル
7・・・設定マーク形
状。FIGS. 1, 8, and 4 are diagrams showing the arrangement of one mark image in memory according to an embodiment of the present invention, and FIG. 2 is a flowchart of mark center recognition according to the present invention. FIG. 5 is a layout diagram showing the relationship between marks on the printed circuit board and electronic components. FIG. 6, FIG. 7, and FIG. 8 are layout diagrams of conventional mark images in memory. ■...Printed circuit board 2...Electronic components 8...
- Board mark 4...Familiarity memory 5...Mark image 6...Bright/dark (black and white) V-bell 7...Setting mark shape.
Claims (1)
形マークの中心位直を求める方法において、マークのX
方向の両端点のXY座標を求め、入力したマークデータ
の良・否判別をしたのちマーク中心を求めることを特徴
とする円あるいは菱形マークの認識方法。1. In the method of determining the center alignment of a circle or diamond mark on a printed circuit board input from a camera,
A method for recognizing a circle or diamond mark, characterized by determining the XY coordinates of both end points in a direction, determining whether input mark data is acceptable or not, and then determining the center of the mark.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1046547A JPH02227785A (en) | 1989-03-01 | 1989-03-01 | Recognizing method for circular or rhombic mark |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1046547A JPH02227785A (en) | 1989-03-01 | 1989-03-01 | Recognizing method for circular or rhombic mark |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02227785A true JPH02227785A (en) | 1990-09-10 |
Family
ID=12750339
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1046547A Pending JPH02227785A (en) | 1989-03-01 | 1989-03-01 | Recognizing method for circular or rhombic mark |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02227785A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04165479A (en) * | 1990-09-12 | 1992-06-11 | Sankyo Seiki Mfg Co Ltd | Work detecting device |
-
1989
- 1989-03-01 JP JP1046547A patent/JPH02227785A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04165479A (en) * | 1990-09-12 | 1992-06-11 | Sankyo Seiki Mfg Co Ltd | Work detecting device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02165699A (en) | Mounting method of flat package IC using industrial robot | |
| JP2008010504A (en) | Alignment apparatus and method | |
| JP2796430B2 (en) | Pattern defect detection method and apparatus | |
| JP3266429B2 (en) | Pattern detection method | |
| JPH02227785A (en) | Recognizing method for circular or rhombic mark | |
| JP2000258121A (en) | Master substrate for calibrating a plurality of cameras and calibration method for image recognition camera | |
| JPH04361104A (en) | Detecting system of position of substrate mark | |
| JP2553786B2 (en) | Circuit board recognition mark placement method | |
| JP3138056B2 (en) | 2D measuring machine | |
| JP4269258B2 (en) | Method for aligning exposure mask and inner layer substrate | |
| JP3381225B2 (en) | Positioning method and positioning device | |
| JP3639336B2 (en) | IC position detection method | |
| JPH10284887A (en) | Board mark detection method | |
| JPH02234500A (en) | How to recognize board marks | |
| KR100763347B1 (en) | Panel Alignment Method | |
| JPH0445600A (en) | Part mounting device | |
| JP3480643B2 (en) | Pattern inspection method | |
| JPH04307682A (en) | Image positioning method | |
| JP3907348B2 (en) | Component mounting apparatus and component mounting method | |
| JP2511131B2 (en) | Character recognition device | |
| JPS60130900A (en) | Method of correcting position of electronic part | |
| JP2904552B2 (en) | Component representative point detection method | |
| JPH027050A (en) | Printing screen with deviated amount detecting mark | |
| JPS62212791A (en) | Positional deviation correction device | |
| JPH0460268B2 (en) |