JP2609823B2 - Target mark center position detection method by image processing - Google Patents

Target mark center position detection method by image processing

Info

Publication number
JP2609823B2
JP2609823B2 JP6255508A JP25550894A JP2609823B2 JP 2609823 B2 JP2609823 B2 JP 2609823B2 JP 6255508 A JP6255508 A JP 6255508A JP 25550894 A JP25550894 A JP 25550894A JP 2609823 B2 JP2609823 B2 JP 2609823B2
Authority
JP
Japan
Prior art keywords
center
search
target mark
point
points
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.)
Expired - Lifetime
Application number
JP6255508A
Other languages
Japanese (ja)
Other versions
JPH07237094A (en
Inventor
隆 鈴木
Original Assignee
ユーエイチティー株式会社
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 ユーエイチティー株式会社 filed Critical ユーエイチティー株式会社
Priority to JP6255508A priority Critical patent/JP2609823B2/en
Priority to US08/362,981 priority patent/US5655030A/en
Publication of JPH07237094A publication Critical patent/JPH07237094A/en
Application granted granted Critical
Publication of JP2609823B2 publication Critical patent/JP2609823B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Details Of Cutting Devices (AREA)
  • Control Of Cutting Processes (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Drilling And Boring (AREA)
  • Perforating, Stamping-Out Or Severing By Means Other Than Cutting (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ターゲットマークの中
心位置を画像処理で検出する方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting the center position of a target mark by image processing.

【0002】[0002]

【従来の技術】プリント基板等のワークでは基準孔を穿
孔するため、ターゲットマークが4隅に付設され、該プ
リント基板を、各ターゲットマークが撮像部直下に位置
するように定量送り装置で移送させると共に、そのター
ゲットマークの中心を所定の手段で検出し、その検出さ
れた中心との誤差量だけドリルをX、Y軸送り機構を介
して補正動させてそのドリルの中心とターゲットマーク
との中心とを一致させ、その位置からZ方向にドリルを
上昇させてターゲットマークの中心に基準孔を穿孔して
いる。上記所定の手段とは、ターゲットマークを撮像部
で受像してその画像信号を画像処理部で2値化し、その
2値化画像をモニタに拡大して表示し、ダイナミックウ
インドー方式による重心計測でターゲットマークの中心
を検出する方法(下記では前者と称する)と、2値化画
像をモニタ画面に拡大して表示し、そのターゲットマー
クをカーソル中心からX、Y方向に探査して階調が異な
るX、Y各2点間の垂直な2等分線の交点を探求して、
その交点をターゲットマークの中心とする方法(下記で
は後者と称する)である。
2. Description of the Related Art In a work such as a printed circuit board, target marks are provided at four corners in order to form a reference hole, and the printed circuit board is transported by a fixed amount feeding device such that each target mark is located immediately below an image pickup section. At the same time, the center of the target mark is detected by predetermined means, and the drill is corrected and moved by an amount of error from the detected center via the X- and Y-axis feed mechanisms so that the center of the drill and the center of the target mark are shifted. And the drill is raised in the Z direction from that position to drill a reference hole at the center of the target mark. The above-mentioned predetermined means means that the target mark is received by the image pickup unit, the image signal is binarized by the image processing unit, the binarized image is enlarged and displayed on a monitor, and the center of gravity is measured by a dynamic window method. A method of detecting the center of a target mark (hereinafter, referred to as the former), a binarized image is enlarged and displayed on a monitor screen, and the target mark is searched in the X and Y directions from the center of the cursor to have different gradations. Find the intersection of the perpendicular bisector between each of the X and Y points,
This method uses the intersection as the center of the target mark (hereinafter referred to as the latter).

【0003】[0003]

【発明が解決しようとする課題】ところで、ターゲット
マークは、円板状の中央部の回りにその中央部と同心を
もって中央部とは異なる階調の輪状の外周部とその中央
部と同じ階調の輪状の外周部とを交互に複数設けた平面
視形状が一般的である。しかし、前者ではターゲットマ
ーク以外のパターンが2値化によって白黒変換(ネガ・
ホジ変換)されると、その変換座標系に大きく影響を及
ぼし、ターゲットマークの中心が正確に検出できない問
題が生じる。また、後者ではモニタ画面のカーソル中心
がターゲットマークに位置する時でないとターゲットマ
ークの中心を検出できないし、X、Y方向の直径のみを
探索して各2点間の2等分線の交点をターゲットマーク
の中心として検出する方法であるから、モニタ画面上に
ターゲットマークと同じ条件のパターンが生じている場
合にそのパターンの中心をターゲットマークの中心と誤
認して検出してしまう問題が生じる。
By the way, the target mark is concentric with the center of the disk.
The ring-shaped outer peripheral part and the center of the gradation different from the central part
In general, a plan view shape in which a plurality of portions and a ring-shaped outer peripheral portion having the same gradation are alternately provided. However, in the former, the pattern other than the target mark is converted to black and white by binarization (negative /
When the transformation is performed, the transformation coordinate system is greatly affected, and a problem arises in that the center of the target mark cannot be accurately detected. In the latter case, the center of the target mark cannot be detected unless the center of the cursor on the monitor screen is positioned at the target mark, and only the diameter in the X and Y directions is searched to find the intersection of the bisector between each two points. Since the detection is performed as the center of the target mark, when a pattern having the same condition as the target mark is generated on the monitor screen, there is a problem that the center of the pattern is erroneously recognized as the center of the target mark and detected.

【0004】本発明は、従来事情に鑑みてなされたもの
で、その目的とする処は、モニタ画面(2値化画像を表
示)のカーソル中心がターゲットマークの円板状の中央
部とは階調を異にする中央部一つ外側の外周部内に位置
する送り誤差をもってワークが送られてきた場合にター
ゲットマークの中心を正確に検出することができる方法
を提供することにある。他の目的とする処は、ワークの
送り誤差が大きくても小さくてもターゲットマークの中
心位置を正確に検出することができる方法を提供するこ
とにある。
The present invention has been made in view of the conventional circumstances, and has as its object the object that the center of the cursor on the monitor screen (displaying a binarized image) is the center of the disk of the target mark.
The part is located in the outer part of the outside of the center part where the gradation is different
An object of the present invention is to provide a method capable of accurately detecting the center of a target mark when a workpiece is sent with a feeding error. Another object of the present invention is to provide a method capable of accurately detecting the center position of a target mark regardless of whether a workpiece feeding error is large or small.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に講じた技術的手段は、請求項1は、ワークの4隅に設
けたターゲットマークを、円板状の中央部の回りにその
中央部と同心をもって中央部とは異なる階調の輪状の外
周部とその中央部と同じ階調の輪状の外周部とを交互に
複数設けた構成とし、撮像部直下に上記ターゲットマー
クが位置するようにワークを定量送り装置で移送する度
にそのターゲットマークを撮像部で受像すると共にその
画像信号を画像処理部で2値化してモニタ画面に表示し
て、ターゲットマークの中心を検出する画像処理による
ターゲットマークの中心位置検出方法であって、2値化
されたターゲットマークの中央部内にモニタ画面のカー
ソル中心が位置しない時、カーソル中心から2値化画像
を所定角度毎に放射状に探査して上記中央部と同じ階調
となる開始点Wを探求し、該開始点Wからその階調部分
内をXまたはY方向に更に探査して上記中央部と異なる
階調の開始点X1、X2を探求し、次にその階調の開始
点X1、X2間の中点座標位置上を他方の軸方向に探査
して中央部と異なる階調の開始点Y1、Y2を探求し、
そして、その開始点Y1、Y2間の中点座標位置上を開
始点X1、X2方向と平行する方向に探査して中央部
異なる階調の開始点X1’、X2’を探求し、記憶部に
記憶されたX、Y方向の直径基準値と前記開始点Y1、
Y2間距離及び開始点X1’、X2’間距離とを照合
し、その直径基準値に適合して前記開始点Y1、Y2、
開始点X1’、X2’各2点の十字状の交点をターゲッ
トマークの中心として認定することを要旨とする。請求
項2は円板状の中央部の回りにその中央部と同心をもっ
て中央部とは異なる階調の輪状の外周部とその中央部と
同じ階調の輪状の外周部とを交互に複数設けたターゲッ
トマークを撮像部で受像し、該画像信号を画像処理部で
2値化して、その2値化画像を画像処理部に連係するモ
ニタ画面に表示し、モニタ画面上に画像処理部が縦横間
隔をおいて多数個の探査基準点を設定すると共に探査を
開始する探査基準点の順番を設定し、その探査基準点が
前記中央部と同じ階調に位置する時にはその基準点位置
を開始点W、同探査基準点が前記中央部とは異なる階調
に位置する時にはその探査基準点から所定角度毎に放射
状に探査して上記中央部と同じ階調となる点を探求して
開始点Wとし、その開始点Wからその階調部分内をXま
たはY方向に更に探査して上記中央部と異なる階調の開
始点X1、X2を探求し、次にその階調の開始点X1、
X2間の中点座標位置上を他方の軸方向に探査して中央
と異なる階調の開始点Y1、Y2を探求し、そして、
その開始点Y1、Y2間の中点座標位置上を開始点X
1、X2方向と平行する方向に探査して中央部と異なる
階調の開始点X1’、X2’を探求し、記憶部に記憶さ
れたX、Y方向の直径基準値と前記開始点Y1、Y2間
距離及び開始点X1’、X2’間距離とを照合し、その
直径基準値に適合して前記開始点Y1、Y2、開始点X
1’、X2’各2点の十字状の交点をターゲットマーク
の中心として認定し、認定できない場合に次の番の探査
基準点からの前記探査を同様に実行し、最後の探査基準
点からの前記探査でも認定できない場合にエラー処理
ることを要旨とする。請求項3は請求項1または2記載
のターゲットマークの中央部の中心を検出した後、中央
内を、上記検出中心を交差する所望傾斜角度をもって
X状や放射状に探査して上記中央部とは異なる階調とな
る開始点Z1、Z2を探求し、該開始点Z1、Z2間距
離が前記記憶部にティーチングされた中央部のX、Y方
向の直径基準値に適合して上記検出中心をターゲットマ
ークの中心に認定することを要旨とする。
Means for Solving the Problems] technical means taken to achieve the above object, according to claim 1, set at the four corners of the work
Around the center of the disk.
Outer ring with concentricity with the center and different gradation from the center
Alternate the peripheral part and the ring-shaped peripheral part with the same gradation as the central part
The target marker is provided immediately below the imaging unit.
Every time the workpiece is transported by the fixed amount feeder so that the workpiece is positioned
The target mark is received by the imaging unit at
The image signal is binarized by the image processing unit and displayed on the monitor screen.
Image processing to detect the center of the target mark
A method for detecting a center position of a target mark, wherein when a cursor center of a monitor screen is not located within a center portion of a binarized target mark, a binarized image is radially searched from the cursor center at predetermined angles. to explore the starting point W having the same tone as the central portion, the starting point X1, X2 gradation different from the central portion to further explore the gradation in the partial in the X or Y direction from the open starting point W And then search in the other axis direction on the midpoint coordinate position between the start points X1 and X2 of the gradation to search for start points Y1 and Y2 of a gradation different from the center .
Then, a search is made on the midpoint coordinate position between the start points Y1 and Y2 in a direction parallel to the directions of the start points X1 and X2 to search for start points X1 'and X2' having different gradations from the center. , The diameter reference values in the X and Y directions and the starting point Y1,
The distance between Y2 and the distance between start points X1 'and X2' are compared, and the start points Y1, Y2,
The gist of the present invention is to identify the cross point of the cross point between the two start points X1 'and X2' as the center of the target mark. The second aspect is concentric with the center of the disk.
Ring-shaped outer peripheral part with a different gradation from the central part and its central part
An image pickup unit receives an image of a target mark provided with a plurality of ring-shaped outer peripheral portions having the same gradation alternately, binarizes the image signal with an image processing unit, and converts the binarized image into an image processing unit. Is displayed on the monitor screen associated with, and on the monitor screen, the image processing unit sets a number of search reference points at vertical and horizontal intervals and sets the order of the search reference points at which the search is started, and the search reference points are
When located at the same gradation as the central part, the reference point position
Is the starting point W, and the search reference point has a different gradation from the central part.
At a predetermined angle from the search reference point
And search for a point that has the same gradation as the center
A start point W is set, and the inside of the gradation portion is further searched in the X or Y direction from the start point W to search for start points X1 and X2 of different gradations from the central portion. X1,
Search the middle point coordinate position between X2 in the other axis direction and center
Parts and explore the starting point Y1, Y2 of different gradations and
The start point X is located on the middle point coordinate position between the start points Y1 and Y2.
1. Search in the direction parallel to the X2 direction to search for start points X1 ′, X2 ′ of different gradations from the central part, and store the diameter reference values in the X, Y directions stored in the storage unit and the start points Y1, The distance between Y2 and the distance between the start points X1 'and X2' are compared, and the start points Y1, Y2, and the start point X are matched with the diameter reference value.
1 ', X2' of the cross-shaped intersection of the two points recognized as the center of the target mark, exploration of the next turn if you can not certified
Perform the same search from the reference point in the same way, and
The gist of the present invention is to perform an error process when the above-mentioned exploration from the point cannot be recognized . After the claims 3 detected the center of the central portion of the target mark of claim 1 or 2 wherein the central
The inside part, and exploration X-shaped or radially with a desired inclination angle intersecting the detection center to explore the starting point Z1, Z2 made of different tone from the central portion, the distance between the open start Z1, Z2 The gist is that the detection center is recognized as the center of the target mark in conformity with the diameter reference values in the X and Y directions of the center portion taught in the storage unit.

【0006】[0006]

【作用】上記技術的手段によれば、下記の作用を奏す
る。(請求項1)撮像部で受像されたターゲットマーク
の画像信号を画像処理部で2値化し且つその2値化画像
をモニタに表示する。そして、ターゲットマークの2値
化画像の中央部内にカーソル中心が位置しない時、2値
化画像をカーソル中心から所定角度毎に放射状に探査し
て、中央部と同じ階調の開始点Wを探求する。次に、そ
の開始点Wからその階調部分内を例えばX方向に探査し
中央部と異なる階調の開始点X1、X2を探求し、中
点座標位置を算出する。そして、その中点座標位置を基
準点としてY方向に探査して中央部と異なる階調の開始
点Y1、Y2を求める。この開始点Y1、Y2間距離が
中央部と仮定して探査したある箇所のY軸方向の直径と
なる。そして、その中点座標位置上を今度はX軸方向に
探査して中央部と異なる階調の開始点X1’、X2’を
求める。この開始点X1’、X2’間距離が中央部と仮
定して探査したある箇所のX軸方向の直径となる。最後
に記憶部に記憶されたターゲットマークのX軸、Y軸方
向の直径基準値と前記開始点Y1、Y2間距離及び開始
点X1’、X2’間距離を照合し、その直径基準値に適
合して初めて正規の面積のターゲットマークの中央部
あることを認定し、前記開始点Y1、Y2、開始点X
1’、X2’各2点の十字状の交点を実際の中心として
決定する。故に、ターゲットマークの中央部一つ外側の
輪状の外周部内にモニタ画面のカーソル中心が位置する
程度の送り誤差(プリント基板等のワークの送り誤差)
がある場合でもターゲットマークの中心を検出できる。
尚、ターゲットマークの2値化画像の中央部内にカーソ
ル中心が位置する時には、所定角度毎に1画素ピッチ宛
放射状に探査することなく、カーソル中心を開始点Wと
してその階調部分を探査し、ターゲットマークの中心を
確実に検出する。 (請求項2)ターゲットマークの中
央部とは階調を異にする中央部一つ外側の外周部内に
ニタ画面のカーソル中心が位置する以上に大きな送り誤
差(プリント基板等のワークの送り誤差)がある時に
は、請求項1では中央部の中心検出は行えない。そのた
めにモニタ画面上にカーソル中心を含んで縦横間隔をお
いて多数個の探査基準点を設定し、所定の順番ごとに探
査基準点から探査していくようにしている。これによっ
てどれかの探査基準点からの探査によって中央部の中心
を検出することが可能となる。探査は、ターゲットマー
中央部の中心が検出されるまで決められた所定の探査
基準点順に行い、中心が検出された時にはそこで終了し
て残りの探査基準点からの探査は行わない。(請求項
3)請求項1、2のティーチングされたX、Y方向の基
準直径と仮に符合する条件を中央部以外の部分が備えて
いても真円状の円板以外は中央部とは認定しないから、
確実に中央部の中心を検出できる。
According to the above technical means, the following effects are obtained. (Claim 1) An image signal of a target mark received by an imaging unit is binarized by an image processing unit, and the binarized image is displayed on a monitor. When the center of the cursor is not located in the center of the binarized image of the target mark, the binarized image is radially searched for every predetermined angle from the center of the cursor, and the start point W of the same gradation as the center is determined. Quest. Next, from the start point W, the inside of the gradation portion is searched, for example, in the X direction, and the start points X1 and X2 of the gradation different from the central portion are searched for, and the middle point coordinate position is calculated. Then, the center point coordinate position is used as a reference point to search in the Y direction to obtain start points Y1 and Y2 of different gradations from the central part . The distance between the start points Y1 and Y2 is
It is the diameter in the Y-axis direction of a certain location that was searched assuming the center . Then, the midpoint coordinate position is searched in the X-axis direction this time, and the starting points X1 'and X2' having different gradations from the central part are obtained. The distance between the start points X1 'and X2' is the diameter in the X-axis direction of a certain location searched assuming the center . Finally, the reference value of the diameter of the target mark in the X-axis and Y-axis directions stored in the storage unit is compared with the distance between the start points Y1 and Y2 and the distance between the start points X1 'and X2', and conforms to the diameter reference value. Then, it is determined that the target mark is the center of the target mark having the regular area, and the start points Y1, Y2, X
The cross-shaped intersection of two points 1 ′ and X2 ′ is determined as the actual center. Therefore, one outside of the center of the target mark
Feed error such that the center of the cursor on the monitor screen is positioned within the outer periphery of the ring (feed error of a work such as a printed circuit board)
The center of the target mark can be detected even when there is a mark.
When the center of the cursor is located in the center of the binarized image of the target mark, the gray scale portion is searched using the center of the cursor as the start point W without searching radially for one pixel pitch at every predetermined angle. , And reliably detect the center of the target mark. (Claim 2) Inside the target mark
When there is a feed error (feed error of a work such as a printed circuit board) larger than the center of the cursor on the monitor screen is located in the outer peripheral portion of one central portion outside the central portion having a different gradation from the central portion. In the first aspect, the center of the center cannot be detected. For this purpose, a large number of search reference points are set on the monitor screen at vertical and horizontal intervals including the center of the cursor, and search is performed from the search reference points in a predetermined order. This makes it possible to detect the center of the central portion by probing from any of the search reference point by. Exploration is carried out in a predetermined search criterion point order that is determined to the center of the target mark the central portion is detected, it does not perform exploration from the remaining search reference point when the center is detected by ends there. (Claim 3) Even if a portion other than the center portion has a condition that temporarily matches the reference diameter in the X and Y directions as taught in claims 1 and 2, it is recognized as a center portion except for a perfect circular disk. Not
The center of the center can be reliably detected.

【0007】本発明は以上のように構成したから、下記
の利点がある。(請求項1)画像処理部による2値化画
像を表示するモニタ画面のカーソル中心がターゲットマ
ークの中央部一つ外側の輪状の外周部に位置するように
プリント基板等が送り誤差されてもターゲットマークの
中心位置を確実に検出することができる。(請求項2)
モニタ画面上に縦横間隔をおいて多数個の探査基準点を
設定し、その設定基準点を所定の順番で所定角度毎に放
射状に探査して中央部と同じ階調の部分を求め、そこか
ら探査していく方法であるから、モニタ画面内にターゲ
ットマークの中心が位置するものであればワークの送り
誤差が大きくても小さくてもどれかの探査基準点からの
探査によってターゲットマークの中心位置を確実に検出
することができる。(請求項3)請求項1、2によって
検出された中央部のX、Y方向の直径と同じ条件が中央
をとりまく輪状の外周部等に仮に生じてもその部分を
更に探査して真円状の円板以外のものは中央部ではない
ものと判断するから、ターゲットマークの中央部の中心
以外を誤検出する心配が全くない。
[0007] Since the present invention is configured as described above, it has the following advantages. (Claim 1) the cursor around the target between the monitor screen for displaying the binary image by the image processing unit
The center position of the target mark can be reliably detected even if the printed circuit board or the like is fed in error so as to be located on the outer periphery of the ring outside the central portion of the mark. (Claim 2)
A large number of search reference points are set on the monitor screen at vertical and horizontal intervals, and the set reference points are radially searched for each predetermined angle in a predetermined order to obtain a portion having the same gradation as the center portion , from there. Since the search method is used, if the center of the target mark is located on the monitor screen, the center position of the target mark can be determined by searching from any of the search reference points regardless of whether the workpiece feed error is large or small. It can be detected reliably. (Claim 3) The same condition as the diameter in the X and Y directions of the central portion detected by the first and second aspects is satisfied.
Since even if generated on the outer peripheral portion of the annular or the like surrounding the part to further explore portion thereof other than a true circular disc determines that not a central portion, erroneous than the center of the central portion of the target mark No worries about detecting.

【0008】[0008]

【実施例】次に、本発明の実施例を図面に基づいて説明
する。図1乃至図5は本考案画像処理によるターゲット
マークの中心位置検出方法の第1実施例を示し、図6乃
至図8は同第2実施例を示している。まず、第1実施例
について説明する。
Next, an embodiment of the present invention will be described with reference to the drawings. FIGS. 1 to 5 show a first embodiment of a method for detecting the center position of a target mark by image processing according to the present invention, and FIGS. 6 to 8 show a second embodiment thereof. First, a first embodiment will be described.

【0009】穿孔装置Aは、プリント基板等のワークB
を下方から照明することによって得られる透過像または
上方からの照明によって得られる反射像を受像する撮像
部1と、その撮像部1で受像された画像信号を画像処理
して2値化する画像処理部2と、その2値化画像を表示
するモニタ3と、上記撮像部1に対向して設けられた穿
孔用のドリル4と、そのドリル4のX、Y軸送り機構
5、Z軸送り機構6等から構成されている。
[0009] The punching device A is a work B such as a printed circuit board.
Imaging unit 1 for receiving a transmission image obtained by illuminating the image from below or a reflection image obtained by illumination from above, and image processing for performing image processing to binarize an image signal received by the imaging unit 1 Unit 2, a monitor 3 for displaying the binarized image, a drill 4 for drilling provided opposite to the image pickup unit 1, an X, Y-axis feed mechanism 5, and a Z-axis feed mechanism for the drill 4. 6 and so on.

【0010】画像処理部2は、撮像部1で受像された画
像信号を2値化等の演算処理する画像処理装置12と、そ
の2値化データを記憶する画像メモリ22と、所定のプロ
グラムを実行する中央処理装置32と、中央処理装置32へ
の必要なデータを記憶するRAM(記憶部)42、ROM
(記憶部)52等を備えており、4隅にターゲットマーク
bが付設されたプリント基板等のワークBのそのターゲ
ットマークb中心が、モニタ3画面のカーソル13中心に
一致するように定量送り装置(図示せず)で自動的に移
送される度にターゲットマークbを撮像部1で受像し
て、その画像信号を画像処理装置12で画像処理で2値化
し、該2値化データを画像メモリ22に記憶すると共に、
その2値化画像をモニタ3表示し、該2値化画像をモニ
タ3のカーソル13中心から探査して、ターゲットマーク
bの中心を検出して、カーソル13中心とその検出したタ
ーゲットマークbの中心との誤差量を検出する構成にし
てある。
The image processing unit 2 includes an image processing device 12 for performing arithmetic processing such as binarization on an image signal received by the imaging unit 1, an image memory 22 for storing the binarized data, and a predetermined program. A central processing unit 32 to be executed; a RAM (storage unit) 42 for storing data necessary for the central processing unit 32;
(Storage unit) 52 and the like, and a fixed-quantity feeding device such that the center of the target mark b of a work B such as a printed circuit board having target marks b attached at four corners coincides with the center of the cursor 13 on the monitor 3 screen. Each time the target mark b is automatically transferred by a not-shown image, the target mark b is received by the imaging unit 1, the image signal is binarized by the image processing unit 12 by image processing, and the binarized data is stored in an image memory. Remember at 22,
The binarized image is displayed on the monitor 3, the binarized image is searched from the center of the cursor 13 of the monitor 3, the center of the target mark b is detected, and the center of the cursor 13 and the center of the detected target mark b are detected. Is detected.

【0011】この穿孔装置Aの中央処理装置32は、ワー
クBのターゲットマークbの中心がカーソル13中心と一
致するように定量送り装置(図示せず)で移送される度
にターゲットマークbの中心を検出する制御プログラム
を実行するようになっている。画像処理装置12では、白
黒判別のためにしきい値が設定され、そのしきい値より
も高いレベルを白または黒、逆に低いレベルを黒または
白と判断するようになっている。また、前記制御プログ
ラムは、ターゲットマーク(円板状の中央部の回りにそ
の中央部と同心をもって中央部とは異なる階調の輪状の
外周部とその中央部と同 じ階調の輪状の外周部とを交互
に複数設けた平面視形状)bを有するワークBの定量送
り装置(図示せず)による送り誤差が比較的大きく、
ーゲットマークbにおける円板状の中央部b1とは階調
を異にする中央部b1一つ外側の輪状の外周部b2を最
大直径とする範囲内にモニタ3画面のカーソル13中心が
位置する送り誤差がある場合にターゲットマークbの中
心検出を行なうもので、ROM52に組み込まれている。
The central processing unit 32 of the punching device A is arranged such that the center of the target mark b of the workpiece B is moved by the constant-rate feeding device (not shown) so that the center of the target mark b coincides with the center of the cursor 13. Is executed. In the image processing device 12, a threshold value is set for black and white determination, and a level higher than the threshold value is determined as white or black, and a level lower than the threshold value is determined as black or white. In addition, the control program includes a target mark ( around the center of the disk).
Ring-shape with a different gradation from the center
Alternately outer peripheral portion and the outer peripheral portion of the central portion and the same tone of annular
Relatively large, data feed error by quantitative feeder of the work B having a plurality planar view shape) b (not shown)
The disc-shaped central portion b1 of the target mark b is the gradation
The center outer part b1 of the outer peripheral part b2
The center of the cursor 13 on the monitor 3 screen is within the range of the large diameter.
This is for detecting the center of the target mark b when there is a positioning error, and is incorporated in the ROM 52.

【0012】次に、その制御プログラムを、図2乃至図
4の画像処理部で画像処理された2値化画像を探査して
いる状態を示すモニタ画面の拡大図、図5の穿孔装置の
中央処理装置で制御されるプログラムのフローチャート
に基づいて説明する。ターゲットマークBを撮像部1で
受像し、その画像信号を画像処理装置12で画像処理して
2値化し、それをモニタ3画面に拡大して表示する。ま
ず、カーソル13中心がターゲットマークBの中央部b1
内に位置するかどうかを判断する(ステップ1)。そし
て、カーソル13中心がターゲットマークBの中央部b1
に位置する場合には、図3に示すようにカーソル13中心
を開始点Wとしてその位置からX方向に1画素ピッチ宛
探査して中央部b1と異なる階調の開始点X1点、X2
点を探求し、そのX1点、X2点の中点座標位置(ポイ
ント)を算出してこのポイントをいったん前記RAM42
に記憶する(ステップ2、3、4)。そして、今度は上
記中点座標位置(ポイント)上を、Y方向に1画素ピッ
チ宛探査して中央部b1と異なる階調の開始点Y1点、
Y2点を探求し、Y1点、Y2点の中点座標位置(ポイ
ント)を算出してこのポイントを前記RAM42に記憶す
る(ステップ5、6、7)。そして、この中間座標位置
(ポイント)上を今度はX方向に1画素ピッチ宛探査し
中央部b1と異なる階調の開始点X1’点、X2’点
を探求する(ステップ8、9)。更に、Y1点、Y2点
間、X1’点、X2’点間距離をROM52に記憶されて
いるティーチングされたターゲットマークBの中央部
1の直径基準値と照合し、適合すると直径として認識す
ると共にY1、Y2、X1’、X2’各2点の十字状の
交点O(仮想中心)を求め、RAM42に記憶する(ステ
ップ10、11)。 そして、上記X、Y方向の直径が
ROM52にティーチングされた直径基準値と適合するも
のであっても、更に前記交点O(仮想中心)を交差する
所望傾斜角度をもってX状や放射状に探査して中央部b
1の階調とは異なる階調の開始点Z1、Z2を探求し、
該探求点間距離がティーチングされた直径基準値に適合
する場合に初めて真円状の円板と認識し、上記交点Oで
ある仮想中心を初めてターゲットマークbの中央部b1
の中心として認定する(ステップ12、13)。
Next, an enlarged view of a monitor screen showing a state in which the control program is searching for a binarized image image-processed by the image processing unit shown in FIGS. 2 to 4 is shown in FIG. A description will be given based on a flowchart of a program controlled by the processing device. The image of the target mark B is received by the image pickup unit 1, the image signal is subjected to image processing by the image processing device 12, and is binarized. First, the center of the cursor 13 is located at the center b1 of the target mark B.
Is determined (step 1). The center of the cursor 13 is located at the center b1 of the target mark B.
When located in the beginning point X1 gradation different from the central portion b1 to 1 addressed pixel pitch search in the X direction from the position as a starting point W the cursor 13 centered as shown in FIG. 3, X2
A point is searched for, the midpoint coordinate position (point) of the X1 point and the X2 point is calculated, and this point is temporarily stored in the RAM 42.
(Steps 2, 3, and 4). This time, a search is made on the above-mentioned middle point coordinate position (point) in the Y direction for one pixel pitch, and a start point Y1 of a gradation different from that of the central part b1 ,
The point Y2 is searched for, the coordinates of the middle point (point) of the points Y1 and Y2 are calculated, and the points are stored in the RAM 42 (steps 5, 6, and 7). Then, this intermediate coordinate position (point) is searched for one pixel pitch in the X direction, and the starting points X1 'and X2' of different gradations from the central part b1 are searched (steps 8 and 9). Further, the distance between the Y1 point and the Y2 point, the distance between the X1 ′ point and the X2 ′ point is stored in the ROM 52 at the center b of the target mark B which has been taught.
1 and is recognized as a diameter when they match, and a cross-shaped intersection O (virtual center) of each of two points Y1, Y2, X1 'and X2' is obtained and stored in the RAM 42 (steps 10 and 11). ). Even if the diameter in the X and Y directions matches the diameter reference value taught in the ROM 52, the probe is further searched in an X shape or a radial shape with a desired inclination angle crossing the intersection O (virtual center). Central part b
Search for starting points Z1, Z2 of gradations different from the gradation 1
When the distance between the search points conforms to the taught diameter reference value, it is recognized as a perfect circular disk for the first time, and the virtual center, which is the intersection O, is the center b1 of the target mark b for the first time.
(Steps 12 and 13).

【0013】また、図2に示すようにカーソル13中心が
ターゲットマーク中央部b1一つ外側の同中央部b1と
は階調を異にする輪状の外周部b2に位置する場合に
は、そのカーソル13中心から1画素ピッチ宛例えば2m
mの範囲を30度毎に探査して中央部b1と同じ階調の
X方向の開始点Wを探求し(ステップ1、14、15、
16、17)、その開始点Wから、前記ステップ2から
13を夫々実行する。これによって最後の探査線上でも
ターゲットマークの中央部及びその中心が認定されない
場合には、エラー処理する(ステップ18)。
Further, as shown in FIG. 2, the center of the cursor 13 is located at the center of the target mark one outside of the center b1.
When located in the outer peripheral portion b2 of the annular having different gradation is, the cursor 13 from the center 1 pixel pitch destined example 2m
The range of m is searched every 30 degrees to find a starting point W in the X direction having the same gradation as that of the center part b1 (steps 1, 14, 15,
16, 17), and from the start point W, the above steps 2 to 13 are executed respectively. As a result, if the center of the target mark and its center are not recognized even on the last search line, error processing is performed (step 18).

【0014】従って、ターゲットマークbの中央部b1
内にカーソル13中心が位置するような送り誤差やターゲ
ットマークbの中央部b1とは階調が異なる中央部b1
一つ外側の輪状の外周部b2内にカーソル13中心が位置
する送り誤差をもってワークBが送られてきた場合に
ーゲットマーク中央部b1の中心を確実且つ高速に検出
できる。
Therefore, the central part b1 of the target mark b
Central portion b1 gradation is different from the central portion b1 of the feed error and target mark b, such as the cursor 13 centers are located within
The center of the cursor 13 is located in the outer peripheral portion b2 on the outer side.
The center of the data <br/> over target mark central portion b1 when the workpiece B sent can be detected reliably and at high speed with a feed errors.

【0015】尚、符号7はI/Oポートであり、そのI
/Oポート7に連絡するX、Y軸ドライバ回路8で前記
するX、Y軸送り機構5は制御され、またZ軸送り機構
6は、ソレノイド6aとエアーシリンダ6bとから構成され
ている。
Reference numeral 7 denotes an I / O port, and its I / O port
The X / Y axis feed mechanism 5 is controlled by an X / Y axis driver circuit 8 connected to the / O port 7, and the Z axis feed mechanism 6 includes a solenoid 6a and an air cylinder 6b.

【0016】次に第2実施例を説明すると、この実施例
は、モニタ画面内にターゲットマークの中心が位置する
ものであれば送り誤差(プリント基板等の送り誤差)が
大きくても小さくてもターゲットマークの中心位置を検
出することができる方法である。
Next, a second embodiment will be described. In this embodiment, as long as the center of a target mark is located in a monitor screen, a feed error (a feed error of a printed circuit board or the like) is large or small. This is a method that can detect the center position of the target mark.

【0017】この実施例では、画像処理装置12が2値化
画像を表示するモニタ3画面上にカーソル13中心を含む
縦横間隔をおいて多数個の探査基準点C…を設定し、こ
の探査基準点C…から所定の順序で探査する制御プログ
ラムを中央処理装置32で実行するようになっていること
以外、前記実施例と同様な構成を備えている。ところ
で、コンピュータ制御は、その機能上ターゲットマーク
Bの中央部b1内と同じ階調箇所を2値化画像の探査中
に見つけるとそれ以上先には探査を進行せず、その箇所
内での探査だけで探査を終了してしまい、中心を検出で
きない。前記のようにモニタ3画面(2値化画像を表
示)のカーソル13中心ターゲットマークBの中央部
内に位置する場合やカーソル13中心ターゲットマー
クBの中央部b1とは階調を異にする中央部b1一つ外
側の輪状の外周部b2内に位置する送り誤差の場合には
一か所(カーソル13中心)からの探査で中心検出は可能
であるが、それ以上に送り誤差が大きい場合には、第1
実施例の方法ではターゲットマークの中央部の検出が不
可能である。これを防止するために探査基準点C…をモ
ニタ3画面上にカーソル13中心を含む縦横間隔をおいて
多数個を設定している。この探査基準点Cは、この実施
例では図面上9点であるが、それ以上でも勿論任意であ
り、探査基準点Cが多くなればなるほどターゲットマー
クの形状が複雑化する場合に有効である。
In this embodiment, the image processing device 12 sets a large number of search reference points C... At a vertical and horizontal interval including the center of the cursor 13 on the screen of the monitor 3 for displaying the binarized image. The configuration is the same as that of the above-described embodiment except that the central processing unit 32 executes a control program for searching in a predetermined order from the point C. By the way, when the computer control finds the same gradation point as that in the center part b1 of the target mark B during the search of the binarized image, the search does not proceed any further, and the search in that point does not proceed. Ending the exploration only by itself cannot detect the center. Central b cursor 13 center of the target mark B of the monitor 3 screen as (show binarized images)
One or in the case or if the cursor 13 center located in one of the feed error to the central portion b1 of the target mark B is located in the outer peripheral portion b2 of the central portion b1 immediately outer annular having different gradation The center can be detected by searching from the location (the center of the cursor 13), but if the feed error is larger than that, the first
The method of the embodiment cannot detect the center of the target mark. In order to prevent this, a large number of search reference points C are set on the screen of the monitor 3 at vertical and horizontal intervals including the center of the cursor 13. The number of the search reference points C is nine in the drawing in this embodiment. However, any number more than the search reference points C is, of course, arbitrary, and is effective when the shape of the target mark becomes more complicated as the number of the search reference points C increases.

【0018】その制御プログラムを、図6の画像処理装
置12で画像処理された2値化画像を探査している状態を
示すモニタ画面の拡大図、図7、図8の穿孔装置の中央
処理装置で制御されるプログラムのフローチャートに基
づいて説明する。この制御プログラムは、ターゲットマ
ークの中央部の中心を検出するまで探査基準点順に連続
して探査を続行するようにしたものである。各ステップ
は第1実施例のステップNOを付けて説明する。まず、
ターゲットマークBを撮像部1で受像し、その画像信号
を画像処理装置12で画像処理して2値化し、それをモニ
タ3画面に拡大して表示する。探査基準点C1からの探
査がスタートし、その探査基準点C1がターゲットマー
クBの中央部b1と同じ階調に位置するかどうかを判断
する(ステップ1)。図6では、探査基準点C1は、タ
ーゲットマークBの中央部b1と同じ階調に位置してい
るため、探査基準点C1を開始点W(図示せず)として
その開始点Wから前記ステップ2から10を夫々実行す
る。しかし、X、Y間距離がROM52に記憶されている
ティーチングされたターゲットマークBの中央部b1の
直径基準値と適合しないため、中央部ではないものと
される。そして、探査基準点C2からの探査がスター
トする。この探査基準点C2から探査基準点C9は各
々、図7のステップ1から17を同じく備えている。こ
の探査基準点C2は、ターゲットマークBの中央部b1
とは異なる階調の一番外側の輪状の外周部b3に位置
しているため、その探査基準点C2から1画素ピッチ宛
例えば2mmの範囲を30度毎に探査して中央部b1と
同じ階調の開始点W(図示せず)を探求し(ステップ1
4、15、16、17)、その開始点W(図示せず)か
ら、前記ステップ2乃至10を各々実行する。ターゲッ
トマークBの中央部b1と同じ階調箇所を探査中に見つ
けるとそれ以上先には探査を進行しない制御性故に、一
番外側の前記外周部b3とその内側の外周部b4との間
の中央部b1と同じ階調の外周部(下記で同心輪と称す
る)b5で前記ステップ2乃至10を実行することにな
り、結果として中央部ではないものと認定される。そし
て、探査基準点C3からの探査がスタートする。この探
査基準点C3は、ターゲットマークBの中央部b1と同
じ階調の上記同心輪b5に位置するため、そのまま前
記ステップ2乃至10を実行し、探査基準点C1からの
探査と同様に中央部ではないものと認定される。探査基
準点C4からの探査は、探査基準点C1からの探査と同
じ結果となる。また、探査基準点C5からの探査は、タ
ーゲットマークBの中央部b1とは階調を異にする前記
外周部b4に位置しているため、探査基準点C2から
の探査と同様に1画素ピッチ宛例えば2mmの範囲を3
0度毎に探査して中央部b1と同じ階調の開始点W(図
示せず)を探求し(ステップ14、15、16、1
7)、その開始点W(図示せず)から、前記ステップ2
乃至10を夫々実行するものの、中央部ではないものと
認定される。そして、探査基準点C6からの探査がスタ
ートする。この探査基準点C6は、中央部b1の一つ外
側の階調を異にする輪状の外周部b2に位置してお
り、その探査基準点C6から1画素ピッチ宛例えば2m
mの範囲を30度毎に探査して中央部b1と同じ階調の
開始点Wを探求し(ステップ14、15、16、1
7)、その開始点Wから、ステップ2乃至13を夫々実
行し、初めて中央部b1として認定し中心を検出する。
仮に探査基準点C6からの探査では中央部b1の中心が
検出されない場合には、以降の探査基準点C7、C8、
C9からの探査を続行し、検出されない場合には送り誤
差(プリント基板等の送り誤差)が大き過ぎるものとし
て最後にエラー処理する(ステップ18)。これはモニ
タ3に表示したり、警告を発するものとする。
An enlarged view of a monitor screen showing a state in which the control program is searching for a binarized image image-processed by the image processing apparatus 12 of FIG. 6, and a central processing unit of the punching apparatus of FIGS. A description will be given based on a flowchart of the program controlled by. In this control program, the search is continued continuously in the order of the search reference points until the center of the center of the target mark is detected. Each step will be described with reference to the step NO of the first embodiment. First,
The image of the target mark B is received by the image pickup unit 1, the image signal is subjected to image processing by the image processing device 12, and is binarized. The search starts from the search reference point C1, and it is determined whether or not the search reference point C1 is located at the same gradation as the central part b1 of the target mark B (step 1). In FIG. 6, since the search reference point C1 is located at the same gradation as the central part b1 of the target mark B, the search reference point C1 is set as the start point W (not shown).
Steps 2 to 10 are executed from the start point W. However, X, for Y distance is not compatible with the diameter reference value of the central portion b1 of teaching the target mark B stored in the ROM 52, that is not a central portion and certification
Is determined . Then, the search from the search reference point C2 starts. Each of the search reference points C2 to C9 similarly has Steps 1 to 17 in FIG. This search reference point C2 is located at the center b1 of the target mark B.
Different order are located outermost in the peripheral portion b3 of the annular gradation, the same as the central portion b1 to search range from the search reference point C2 1 pixel pitch destined example 2mm every 30 degrees and Search for a gray scale start point W (not shown) (step 1)
4, 15, 16 and 17), and from the start point W (not shown), the steps 2 to 10 are executed. If the same gradation point as that of the center part b1 of the target mark B is found during the search, the search will not proceed any further. Therefore, between the outermost peripheral part b3 and the inner peripheral part b4 between the outermost peripheral part b3 and the inner peripheral part b4. becomes the outer periphery of the same tone as the central portion b1 (below referred to as concentric rings) b5 by executing the steps 2 through 10, be certified as non-central portion as a result. Then, the search from the search reference point C3 starts. Since the search reference point C3 is located within the concentric ring b5 having the same gradation as the center part b1 of the target mark B, the steps 2 to 10 are executed as it is, and the center is set similarly to the search from the search reference point C1. Department is not recognized . The search from the search reference point C4 has the same result as the search from the search reference point C1. In addition, the search from the search reference point C5 is different from the center b1 of the target mark B in gradation.
Since it is located in the outer peripheral portion b4 , a range of, for example, 2 mm addressed to one pixel pitch is set to 3 as in the search from the search reference point C2.
A search is made every 0 degrees to find a starting point W (not shown) having the same gradation as that of the central part b1 (steps 14, 15, 16, 1).
7) From the starting point W (not shown),
To perform each of steps 10 through 10, but not at the center
Be certified . Then, the search from the search reference point C6 starts. The search reference point C6 is located in an angular portion b2 of the annular differing one outer gradation of the central portion b1, the search reference point C6 from 1 pixel pitch destined example 2m
The range of m is searched every 30 degrees to find the starting point W of the same gradation as the central part b1 (steps 14, 15, 16, 1).
7), from its starting point is W, the steps 2 to 13 respectively perform, for detecting a center recognized for the first time as the central portion b1.
If the center of the central portion b1 is not detected in the search from the search reference point C6, the subsequent search reference points C7, C8,
The search from C9 is continued, and if not detected, the feed error (feed error of the printed circuit board or the like) is determined to be too large and error processing is finally performed (step 18). This is displayed on the monitor 3 or a warning is issued.

【0019】このように第2実施例では、探査基準点C
1、C2、C3、C4、C5、C6、C7、C8、C9
をモニタ3画面上にカーソル13中心を含む縦横間隔をお
いて多数個を設定し、各探査基準点C1、C2、C3、
C4、C5、C6、C7、C8、C9から順に所定角度
毎に放射状に探査していく方法であるから、モニタ画面
3にターゲットマークBの中心が位置するものであれ
ば、どれかの探査基準点からの探査で中心を検出するこ
とが可能となる。また、上記探査基準点C1、C2、C
3、C4、C5、C6、C7、C8、C9は図示するよ
うに縦横に一定間隔にするものに限定されるものではな
い。
As described above, in the second embodiment, the search reference point C
1, C2, C3, C4, C5, C6, C7, C8, C9
Are set on the monitor 3 screen at a vertical and horizontal interval including the center of the cursor 13, and each of the search reference points C1, C2, C3,
Since the search is performed radially at predetermined angles in order from C4, C5, C6, C7, C8, and C9, any search criteria can be used as long as the center of the target mark B is located on the monitor screen 3. The center can be detected by searching from a point. In addition, the search reference points C1, C2, C
3, C4, C5, C6, C7, C8, and C9 are not limited to those having constant vertical and horizontal intervals as illustrated.

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

【図1】第1実施例によるターゲットマークの中心位置
検出方法を実施する穿孔装置の概略図。
FIG. 1 is a schematic diagram of a punching apparatus for implementing a target mark center position detecting method according to a first embodiment.

【図2】ターゲットマークの中央部とは階調を異にする
中央部一つ外側の輪状の外周部内にカーソル中心が位置
している時の探査状態を示すモニタ画面の拡大図。
FIG. 2 is different in gradation from a central part of a target mark.
The enlarged view of the monitor screen which shows the search state when the cursor center is located in the ring-shaped outer peripheral part one center part outside .

【図3】ターゲットマークの中央部内にカーソル中心が
位置している時の探査状態を示すモニタ画面の拡大図。
Figure 3 is an enlarged view of the monitor screen showing the search condition when the cursor around the center portion of the target mark is located.

【図4】仮想中心(交点O)を交差する方向にターゲッ
トマークの中央部を探査している状態を示すモニタ画面
の拡大図。
FIG. 4 is an enlarged view of a monitor screen showing a state in which a central portion of a target mark is being searched for in a direction intersecting a virtual center (intersection point O).

【図5】穿孔装置の中央処理装置で制御されるプログラ
ムのフローチャート。
FIG. 5 is a flowchart of a program controlled by a central processing unit of the punching device.

【図6】第2実施例においてターゲットマークの中央部
の中心を検出している状態を探査している状態を示すモ
ニタ画面の拡大図。
FIG. 6 is an enlarged view of a monitor screen showing a state in which a state in which the center of the target mark is detected in the second embodiment is being searched.

【図7】穿孔装置の中央処理装置で制御されるプログラ
ムのフローチャートで探査基準点C1から探査時を示
す。
FIG. 7 is a flowchart of a program controlled by the central processing unit of the drilling device, showing a search starting from a search reference point C1.

【図8】同フローチャートで、探査基準点C2乃至C9
からの探査時を示す。
FIG. 8 is a flowchart showing search reference points C2 to C9;
Indicates the time of exploration from.

【符号の説明】[Explanation of symbols]

A:穿孔装置 2:画像処理部 3:モニタ 13:カーソル 42、52:記憶部 b:ターゲットマーク B:ワーク b1:中央部 b2:中央部とは階調を異にする一つ外側の輪状の外周
C、C1、C2、C3、C4、C5、C6、C7、C
8、C9:探査基準点W:開始点
A: Punching device 2: Image processing unit 3: Monitor 13: Cursor 42, 52: Storage unit b: Target mark B: Work b1: Central part b2: One outer ring-shaped part whose gradation is different from that of the central part Perimeter
Parts C, C1, C2, C3, C4, C5, C6, C7, C
8, C9: Exploration reference point W: Start point

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G01B 11/00 G01B 11/00 C H G06T 7/60 G06F 15/70 360 ──────────────────────────────────────────────────続 き Continuation of the front page (51) Int.Cl. 6 Identification number Agency reference number FI Technical display location G01B 11/00 G01B 11/00 CH G06T 7/60 G06F 15/70 360

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ワークの4隅に設けたターゲットマーク
を、円板状の中央部の回りにその中央部と同心をもって
中央部とは異なる階調の輪状の外周部とその中央部と同
じ階調の輪状の外周部とを交互に複数設けた構成とし、
撮像部直下に上記ターゲットマークが位置するようにワ
ークを定量送り装置で移送する度にそのターゲットマー
クを撮像部で受像すると共にその画像信号を画像処理部
で2値化してモニタ画面に表示して、ターゲットマーク
の中心を検出する画像処理によるターゲットマークの中
心位置検出方法であって、2値化されたターゲットマー
クの中央部内にモニタ画面のカーソル中心が位置しない
時、カーソル中心から2値化画像を所定角度毎に放射状
に探査して上記中央部と同じ階調となる開始点Wを探求
し、該開始点Wからその階調部分内をXまたはY方向に
更に探査して上記中央部と異なる階調の開始点X1、X
2を探求し、次にその階調の開始点X1、X2間の中点
座標位置上を他方の軸方向に探査して中央部と異なる階
調の開始点Y1、Y2を探求し、そして、その開始点Y
1、Y2間の中点座標位置上を開始点X1、X2方向と
平行する方向に探査して中央部と異なる階調の開始点X
1’、X2’を探求し、記憶部に記憶されたX、Y方向
の直径基準値と前記開始点Y1、Y2間距離及び開始点
X1’、X2’間距離とを照合し、その直径基準値に適
合して前記開始点Y1、Y2、開始点X1’、X2’各
2点の十字状の交点をターゲットマークの中心として認
定することを特徴とする画像処理によるターゲットマー
クの中心位置検出方法。
1. Target marks provided at four corners of a work
Around the center of the disk and concentric with the center
A ring-shaped outer peripheral part with a different gradation from the central part
And a plurality of ring-shaped outer peripheral portions having the same gradation are provided alternately,
Make sure that the target mark is located just below the imaging unit.
Each time a mark is transported by the fixed amount feeder,
The image signal is received by the imaging unit and the image signal is received by the image processing unit.
And display it on the monitor screen with the target mark
Of the target mark by image processing that detects the center of the image
A heart position detecting method, when the cursor center of the monitor screen in the central portion of the binarized target mark is not located, the central portion by probing a binary image from the cursor centered radially at predetermined angle same tone as the start point W explore made, the gradation in the portion from the the open start point W further explored in the X or Y direction starting point of a different tone with the central portion X1, X and
2 and then the other axis direction is searched on the middle point coordinate position between the start points X1 and X2 of the gray scale to search for the start points Y1 and Y2 of the gray scale different from the center part , and Its starting point Y
A search is made in the direction parallel to the start points X1 and X2 on the middle point coordinate position between the first and second points Y1 and Y2, and the start point X having a different gradation from the central part is detected.
1 ′ and X2 ′ are searched, and the diameter reference values in the X and Y directions stored in the storage unit are compared with the distance between the start points Y1 and Y2 and the distance between the start points X1 ′ and X2 ′. A method for detecting a center position of a target mark by image processing, wherein a cross-shaped intersection of each of the start points Y1, Y2 and the start points X1 ', X2' is determined as the center of the target mark. .
【請求項2】 円板状の中央部の回りにその中央部と同
心をもって中央部とは異なる階調の輪状の外周部とその
中央部と同じ階調の輪状の外周部とを交互に複数設けた
ターゲットマークを撮像部で受像し、該画像信号を画像
処理部で2値化して、その2値化画像を画像処理部に連
係するモニタ画面に表示し、モニタ画面上に画像処理部
が縦横間隔をおいて多数個の探査基準点を設定すると共
に探査を開始する探査基準点の順番を設定し、その探査
基準点が前記中央部と同じ階調に位置する時にはその基
準点位置を開始点W、同探査基準点が前記中央部とは異
る階調に位置する時にはその探査基準点から所定角度
毎に放射状に探査して上記中央部と同じ階調となる点を
探求して開始点Wとし、その開始点Wからその階調部分
内をXまたはY方向に更に探査して上記中央部と異なる
階調の開始点X1、X2を探求し、次にその階調の開始
点X1、X2間の中点座標位置上を他方の軸方向に探査
して中央部と異なる階調の開始点Y1、Y2を探求し、
そして、その開始点Y1、Y2間の中点座標位置上を開
始点X1、X2方向と平行する方向に探査して中央部
異なる階調の開始点X1’、X2’を探求し、記憶部に
記憶されたX、Y方向の直径基準値と前記開始点Y1、
Y2間距離及び開始点X1’、X2’間距離とを照合
し、その直径基準値に適合して前記開始点Y1、Y2、
開始点X1’、X2’各2点の十字状の交点をターゲッ
トマークの中心として認定し、認定できない場合に次の
番の探査基準点からの前記探査を同様に実行し、最後の
探査基準点からの前記探査でも認定できない場合にエラ
ー処理することを特徴とする画像処理によるターゲット
マークの中心位置検出方法。
2. A disk-shaped central portion around a central portion.
The center of the ring is different from that of the center.
An image pickup unit receives an image of a target mark in which a plurality of center portions and a ring-shaped outer peripheral portion having the same gradation are alternately provided, binarizes the image signal with an image processing unit, and converts the binarized image into an image. Displayed on a monitor screen associated with the image processing unit, the image processing unit sets a large number of search reference points at vertical and horizontal intervals on the monitor screen, sets the order of search reference points at which the search is started, and performs the search.
When the reference point is located at the same gradation as the center,
The reference point position is the starting point W, and the search reference point is different from the central part.
Predetermined angle from the probe reference point when located Do that gradation
The point where the same gradation as the above-mentioned central part is obtained
The start point W is searched for, and the inside of the gradation portion is further searched in the X or Y direction from the start point W to search for start points X1 and X2 of a gradation different from the central portion. Is searched in the other axis direction on the midpoint coordinate position between the start points X1 and X2 of the image to find the start points Y1 and Y2 having different gradations from the center .
Then, a search is made on the midpoint coordinate position between the start points Y1 and Y2 in a direction parallel to the directions of the start points X1 and X2 to search for start points X1 'and X2' having different gradations from the center. , The diameter reference values in the X and Y directions and the starting point Y1,
The distance between Y2 and the distance between start points X1 'and X2' are compared, and the start points Y1, Y2,
The cross-shaped intersection of each of the two start points X1 'and X2' is recognized as the center of the target mark .
Repeat the above search from the search reference point No.
If the above search from the search reference point does not
-A method for detecting the center position of a target mark by image processing, characterized by performing processing.
【請求項3】 上記ターゲットマークの中央部の中心を
検出した後、中央部内を、上記検出中心を交差する所望
傾斜角度をもってX状や放射状に探査して上記中央部
は異なる階調となる開始点Z1、Z2を探求し、該開始
点Z1、Z2間距離が前記記憶部にティーチングされた
中央部のX、Y方向の直径基準値に適合して上記検出中
心をターゲットマークの中心に認定することを特徴とす
る請求項1または2記載の画像処理によるターゲットマ
ークの中心位置検出方法。
3. After detecting the center of the central portion of the target mark, the inside central portion, and the gradation that is different from the desired tilt angle with and exploration X-shaped or radially the central portion intersecting said detection center Starting points Z1 and Z2 are found, and the distance between the starting points Z1 and Z2 is taught in the storage unit.
X of the central portion, the central position detection method of the target mark by image processing according to claim 1 or 2 wherein complies with Y diameter reference value, characterized in that certified the center of the target mark the detection center.
JP6255508A 1993-12-27 1994-10-20 Target mark center position detection method by image processing Expired - Lifetime JP2609823B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6255508A JP2609823B2 (en) 1993-12-27 1994-10-20 Target mark center position detection method by image processing
US08/362,981 US5655030A (en) 1993-12-27 1994-12-23 Method for detecting the center of target marks by image processing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5-331856 1993-12-27
JP33185693 1993-12-27
JP6255508A JP2609823B2 (en) 1993-12-27 1994-10-20 Target mark center position detection method by image processing

Publications (2)

Publication Number Publication Date
JPH07237094A JPH07237094A (en) 1995-09-12
JP2609823B2 true JP2609823B2 (en) 1997-05-14

Family

ID=26542245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6255508A Expired - Lifetime JP2609823B2 (en) 1993-12-27 1994-10-20 Target mark center position detection method by image processing

Country Status (1)

Country Link
JP (1) JP2609823B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3022387B2 (en) 1997-03-27 2000-03-21 三ツ星ベルト株式会社 Belt sleeve width cutting device
EP1477274B1 (en) * 2003-05-16 2008-09-10 Traub Drehmaschinen GmbH & Co. KG Machine tool
JP5690539B2 (en) * 2010-09-28 2015-03-25 株式会社トプコン Automatic take-off and landing system
CN110928235B (en) * 2019-11-18 2021-04-06 广东利元亨智能装备股份有限公司 Workpiece bonding method and device, electronic equipment and workpiece bonding system
CN113478459A (en) * 2021-05-27 2021-10-08 成都飞机工业(集团)有限责任公司 Calibration, cutter testing and detection integrated device for robot and use method
CN115143883B (en) * 2022-06-30 2023-06-30 北京市测绘设计研究院 Measurement method and measurement system

Also Published As

Publication number Publication date
JPH07237094A (en) 1995-09-12

Similar Documents

Publication Publication Date Title
CA1318977C (en) Image recognition system
US7406191B2 (en) Inspection data producing method and board inspection apparatus using the method
US5655030A (en) Method for detecting the center of target marks by image processing
JP2609823B2 (en) Target mark center position detection method by image processing
JPS6342795B2 (en)
US20040029306A1 (en) Method of search and identify reference die
JP3266429B2 (en) Pattern detection method
CN115423814B (en) Chip origin positioning method and device, readable storage medium and electronic equipment
JP3409875B2 (en) How to measure hole position
JPH08240411A (en) Device and method for detecting dislocation, image measuring device and model registering device
JP3158351B2 (en) Position detection method for minute workpiece
JPH07186099A (en) Center position detecting method of drill by image processing
JPH10288514A (en) Objective turning angle detecting method
JP3621222B2 (en) Pattern arrangement recognition method for semiconductor substrate
JP2000011173A (en) Method for recognizing image and device therefor
CN116051472A (en) Position calibration method and device, and position determination and processing method of image acquisition device
JPH0115910B2 (en)
JPH0350311B2 (en)
JPH055710A (en) Method for determining threshold for binarization in inspection of appearance of ceiling surface of bottle top
JPH11183583A (en) Azimuth-displaying device
CN114527304A (en) Method, system, equipment and storage medium for automatically designing probe tool
JPH0896077A (en) Symbol string inclination detector and method therefor
JPH07128841A (en) Method for inspecting defect of photomask
JPH08340194A (en) Method of measuring dimension of part and chip mounter
JPS63101972A (en) Detecting method for pattern