JPS61148303A - Detection of mark center position - Google Patents

Detection of mark center position

Info

Publication number
JPS61148303A
JPS61148303A JP27050784A JP27050784A JPS61148303A JP S61148303 A JPS61148303 A JP S61148303A JP 27050784 A JP27050784 A JP 27050784A JP 27050784 A JP27050784 A JP 27050784A JP S61148303 A JPS61148303 A JP S61148303A
Authority
JP
Japan
Prior art keywords
mark
center position
image data
line
lines
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
JP27050784A
Other languages
Japanese (ja)
Inventor
Toshio Yajima
敏男 矢島
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.)
Komatsu Ltd
Original Assignee
Komatsu 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 Komatsu Ltd filed Critical Komatsu Ltd
Priority to JP27050784A priority Critical patent/JPS61148303A/en
Publication of JPS61148303A publication Critical patent/JPS61148303A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/022Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by means of tv-camera scanning

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To enable easy and accurate detection of a center position of a mark, by displacing a material in X, Y directions with line data difference on two lines as a servo-command which are placed apart by a constant distance in the X, Y directions in the view field of a view field means. CONSTITUTION:In a view field S of a camera 33, lines L1, L2 are set as com puter 30 gate values which are set apart by a constant distance P in the X direction of field S, and a difference of image data on the lines L1, L2 are made as servo-commands in the X direction of the material on which positioning marks are printed. And, lines H1, H2 are set in a similar manner which are set apart by a distance P in the Y direction of the view field S, and the image data difference on the lines H1, H2 are made as servo-commands in the Y direc tion of the material. By displacing the material in X, Y directions by the X,Y direction servo-command to detect the center position of the mark. By this arrangement, the center position of the mark can be detected easily and at a high accuracy.

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野〕 本発明は、材料に印刷された位置決め用マークの中心位
置を視覚手段を用いて検出するマークの中心位置検出方
法に関する。 〔従来の技術〕 最近、第1図に示すようにプレス機械10と材料供給装
置加とを組み合わせ、プレス打抜き印刷部と該印刷部近
傍の位置決め用マークとが多数印刷された材料1から印
刷部を自動的に連続打抜きする装置が提案されている(
特願昭57−17061) )。 この装置について簡単に説明すると、材料供給装置別は
、左右に敷設されたレール218.21b上に梁nを掛
は渡し、ポールスクリエー乙の回転に応じて、梁部をレ
ール21).21bに沿って(Y方向K)移動させ、一
方梁部にはクランパキャリアUを懸架し、クランパキャ
リアスを梁nに沿って(X方向に)移動させるように構
成されている。 また、クランパキャリアムにはクランパ(図示せず)が
設けられており、材料1を挟持し得るよう罠なっている
。したがって、この材料供給装置別は、材料1をX−Y
テーブル6の上面に沿ってX−Y方向に移動させること
ができる。 この材料供給装置美によって材料1をプレス機械10に
位置決めする場合には、まずカメラ1)を有するプレス
機械10に材料供給装置美によって材料1をX軸方向お
よびY軸方向に供給し、第2図に示すようにカメラ1)
の視野内に材料1のプレス打抜き印刷部の近傍に印刷さ
れている位置決め用のマークMが入るように粗い位置決
めを行なう。続いて、材料1をX軸方向にフィードさせ
るとともに(副走査)、視覚手段によってY軸方向に所
定の視野Vで主走査する。 そして、副走査の中心位置Xcと、基準マークMの中心
位置CとのX軸方向のずれ量Xは、最初に基準マークM
を検出したときの副走査位置Xaと最後に基準マークM
を検出したときの副走査位置Xbとの平均値と副走査中
心位置Xcとの差によって検出する。また、主走査の中
心位置Ycと基準マークMの中心位置CとのY軸方向の
ずれ量yは、主走査時における視野上限から基準マーク
Mまでの距離1)ど基準マークMを外れてから視野下限
までの距離!、との差の平均値によって検出する。 また、マークのX方向中心位置の他の検出方法としては
、円マーク等の直径の最大値になるポイントを検出する
方法がある(特願昭56−102653 )。 そして、材料をプレス機械100打抜き中心Wに供給す
る際には、カメラ
[Industrial Application Field] The present invention relates to a method for detecting the center position of a positioning mark printed on a material using visual means. [Prior Art] Recently, as shown in FIG. 1, a press machine 10 and a material supply device have been combined, and a press punching printing section and a number of positioning marks in the vicinity of the printing section are printed from a material 1 to the printing section. A device for automatically continuous punching has been proposed (
(Japanese Patent Application No. 57-17061)). To briefly explain this device, the material supply device hangs and passes the beam n over the rails 218 and 21b laid on the left and right sides, and as the pole screier B rotates, the beam portion is moved to the rails 218 and 21). 21b (in the Y direction K), a clamper carrier U is suspended from the beam portion, and the clamper carrier U is moved along the beam n (in the X direction). Further, the clamper carrier arm is provided with a clamper (not shown), and serves as a trap so that the material 1 can be clamped. Therefore, this material supply device separates material 1 from X-Y
It can be moved along the upper surface of the table 6 in the X-Y direction. When positioning the material 1 to the press machine 10 using this material supply device, first, the material 1 is supplied in the X-axis direction and the Y-axis direction by the material supply device to the press machine 10 having the camera 1), and then Camera 1) as shown
Rough positioning is performed so that the positioning mark M printed near the press-cutting printed portion of the material 1 is included in the field of view. Subsequently, the material 1 is fed in the X-axis direction (sub-scanning) and is main-scanned in the Y-axis direction with a predetermined field of view V by the visual means. Then, the amount of deviation X in the X-axis direction between the center position Xc of the sub-scanning and the center position C of the reference mark M is calculated as follows:
The sub-scanning position Xa at the time of detection and the reference mark M at the end
The detection is based on the difference between the average value of the detected sub-scanning position Xb and the sub-scanning center position Xc. In addition, the amount of deviation y in the Y-axis direction between the center position Yc of the main scanning and the center position C of the reference mark M is the distance 1) from the upper limit of the field of view to the reference mark M during main scanning. Distance to the lower limit of visual field! , is detected by the average value of the difference. Another method for detecting the center position of a mark in the X direction is to detect the point at which the diameter of a circle mark or the like has a maximum value (Japanese Patent Application No. 102,653/1982). When feeding the material to the punching center W of the press machine 100, the camera

【lとプレス機械100打抜き中心W
との位置関係は予め設定されているため、この予め設定
した移動量を前記のようにして検出したX軸方向のずれ
量XおよびY軸方向のずれ量yによって補正し、この補
正した移動量で材料を供給するようにしている。 〔発明が解決しようとする問題点〕 ところで、従来のマークの中心位置検出方法では、検出
精度が若干悪い可能性があった。すなわち、円マークの
X方向中心位置検出を円マークの前端と後端を検出し、
その平均値から検出する方法の場合、円マークの前端あ
るいは後端に小さな画像ノイズが加わっても、それに起
因して検出誤差が生じる。また、円マーク等の直径の最
大値になるポイントを検出する方法の場合、その直径の
最大値近傍ではX方向の移動距離に比べてY方向の長さ
変化が非常に小さくなるため、直径の最大°値になるポ
イントを決定づけるのが難かしい。 本発明は、上記実情に鑑みてなされたもので、マークの
中心位置を簡単に、かつ非常に高精度に検出することが
できるマークの中心位置検出方法を提供することを目的
とする。 〔問題点を解決するための手段〕 この発明によれば、視覚手段の視野において該視野のX
方向に一定間隔Pだけ離間するY方向の2本のラインL
、 、 L、を設定し、前記ラインLi上の画像データ
とラインLi上の画像データとの差を材料をX方向に移
動させるための廿−ボ指令とし、同様に前記視野のY方
向に一定間隔Pだけ離間するX方向の2本のラインH,
,H2を設定し、前記ライン上1上の画像データとライ
ン上2上の画像データとの差を材料をY方向に移動させ
るためのサーボ指令として材料をX方向およびY方向に
移動させることによりマークの中心位置を検出するよう
にしている。 〔作用〕 マークが捕捉されている視野の一定間隔Pだけ離間した
2本のライン上における画像データがともに等しくなっ
たとき、そのラインと直交する方向のマークの視野手段
への位置決めが完了し、その結果マークの中心位置が検
出される。 〔実施例〕 以下、本発明を添付図面を参照して詳細に説明する。 まず、第3図を用いて本発明を原理的に説明する。 いま、視覚手段としてマトリクスカメラを用いたとして
説明すると、そのカメラの視野Sに、一定間隔Pにて2
本のラインLi、L、、を設定する。 そして、各ライン上におけるセンサの各検出ビットのア
ナログ出力をデジタル多値化し、そのデータの和をとる
。 次に、その和をり、、L、それぞれについて■凰。 vよとすると、v、、2v鵞の差ΔV、ΔV=V、−V
。 を演算し、このデータΔVをデジタル−アナログ変換し
、これを材料をX方向に移動させるためのサーボ指令と
する。 これにより、材料はΔ■=0となるように位置決めされ
る。以上のようにすると、Xの少しの変化でΔ■が大き
く変動し、しかもセンサの各ビットのアナログ出力を多
値化しているため高精度の位置決めができる。なお、必
要な精度に応じて2値化でもよく、この場合は前記V、
、V!はマークと重なるラインの長さに対応する。 また、Y方向に位置決めする場合も上記と同様に、一定
間隔Pにて2本のラインH1,L!を設定し、その各ラ
イン上におけるセンサの各検出ビットのアナログ出力を
デジタル多値化し、そノテータの和をとる。その和をH
l、H,それぞれについテW1.W鵞トスルト、W1ト
v、ノ差ΔW、ΔW=W、 −W。 を演算し、このデータΔWをデジタル−アナログ変換し
、これを材料をY方向に移動させるためのサーボ指命と
する。 第4図は、本発明方法を実施するための装置の概略を示
すブロック図である。同図において、コンピュータ(9
)はゲート値り、又はL!をゲート信号発生回路31に
出力するとともに、ゲート値H1又はH!を演算回路諺
に出力する。 カメラおは、像が結像されるイメージ部を走査し、映像
信号を得、この映像信号に同期信号発生回路斜から加え
られる同期信号を合成して、ビデオコンポジット信号を
A/D変換器語に出力する。 A/D変換器あは、入力するアナログ信号をデジタル信
号に変換してこれを演算回路諺およびラッチ回路あに出
力する。また、同期信号発生回路あは、水平同期信号、
垂直同期信号をゲート信号発生回路31および演算回路
32に出力する。 ゲート信号発生回路31は、第5図に示すように比較器
31)、カウンタ312、フリップフロップ313から
構成されている。カウンタ312は水平同期信号圧よっ
てリセットされ、カメラあのイメージ部を走査する映像
クロックを計数し、この計数値を比較器31)に出力す
る。 比較器31)は他の入力にコンピュータ美よりゲート値
り、又はり、が加えられており、これらの2人力値が一
致すると一致信号Vをコンビエータ加およびラッチ回路
36に出力する。ラッチ回路あはこの一致信号Vによっ
てデジタルビデオデータをラッチし、コンビエータIは
一致信号Vが入力された時の上記ラッチデータを入力す
る。また、コンピュータ菊は一致信号Vが加えられると
、ゲート値の出力をLlからり、またはり、からLlに
切り替える。 フリップフロップ313は垂直同期信号によってセット
され、処理信号をコンビエータ加に出力し、コンビエー
タIからのCPU受付信号によってリセットされる。 また、演算回路!は、第6図に示すように比較器321
、カウンタ322、精算器323、アンド回路324か
ら構成されている。カウンタ322は垂直同期信号によ
ってリセットされ、水平同期信号を計数し、この計数値
を比較器321に出力する。 比較器321は他の入力にコンビエータIよりゲート値
H3又はH2が加えられており、これらの2人力値が一
致すると一致信号Hをアンド回路324およびコンピュ
ータIに出力する。 アンド回路324は上記一致信号Hによって動作可能と
なり、他の入力の映像クロックを積算器323に加え、
積算器323はA/D変換器おから加えられるデジタル
ビデオデータを上記映像クロックに同期して積算し、こ
の積算値Wをコンピ−タIに出力する。なお、積算器3
23は水平同期信号によってリセットされる。 次に、コンビエータ(9)の処理手順を第7図および第
8図のフローチャートに従って説明する。 !7図は、材料のX方向の位置決め処理を示すもので、
まず、コンピュータ加はゲート信号発生回路31から処
理信号が入力したか否かを判断する(ステップ101)
。処理信号が入力されていない場合は、すなわちCPU
受付信号を発生してから垂直同期信号が発生するまでの
間は、ゲート信号発生回路31から一致信号■が入力し
たか否かを判断する(ステップ102)。一致信号■が
入力されていない場合にはフローライン103に従って
ステップ101に戻り、一致信号Vが入力した場合には
ステップ104に進む。 ステップ104ではフラグが0か否かを判断し、0の場
合にはステップ105に進み、Oでない場合にはステッ
プ106に進む。なお、上記ステップ102は水平方向
の走査位置が予め設定したラインL1又はLtの位置で
あるか否かを判断し、ステップ104はその位置がライ
ンLl上かり、上かを判断している。ここで、フラグ0
はラインH8上を意味し、フラグ1はラインLl上を意
味する。 ステップ105は一致信号■によってラッチしたデジタ
ルビデオデータを■、に加算する。すなわち、ここでは
ラインH8上のデジタルビデオデータの積算を行なう。 その後、フラグを1にセットしくステップ107)、フ
ローライン】03に従ってステップ101に戻る。 同様に、ステップ106は一致信号Vによってラッチし
たデジタルビデオデータをV、に加算し、その後、フラ
グをOにリセットしくステップ108)、フローライン
103に従ってステップ101に戻る。 このよう(して、垂直同期信号が発生するまで上記動作
を繰り返すと、予め設定したラインL。 およびり、上のみのデータの積算値v1およびv2が得
られる。 次に、垂直同期信号の発生によりコンピュータIがゲー
ト信号発生回路31から処理信号を入力すると、上記積
算値v1とvtとの差ΔV(=V、−■、)を求める差
分演算を実行する(ステップ109)。この差ΔVは材
料をX方向に移動させるためのサーボ指令として出力さ
れる。 続いて、vlおよびv2をそれぞれOにリセットしくス
テップ1)0)、またフラグも0にリセットする(ステ
ップ1)1)。 以上により、1回の処理が終了する。そして、前記差Δ
Vが0になるまで上記処理を繰り返し行なう。 第8図は材料のY方向の位置決め処理を示すもので、上
記X方向の場合と考え方は全く同じである。しかしなが
ら、Y方向については、第3図のラインH,,H,につ
いてのデータになるので、普通のテレビカメラでは水平
ライン方向の各ビット出力の周期は非常に短かいので処
理はハードになる。 第8図において、まずコンピュータ加はゲート信号発生
回路31から処理信号が入力したか否かを判断する(ス
テップ201)。処理信号が入力されていない場合は、
演算回路32から一致信号Hが入力したか否かを判断す
る(ステップ202)。一致信号Hが入力されていない
場合にはフローライン203に従ってステップ201に
戻り、一致信号が入力した場合にはステップ204に進
む。 ステップ204ではフラグが0か否かを判断し、0の場
合にはステップ205に進み、0でない場合にはステッ
プ206に進む。なお、フラグOはラインH8上を意味
し、フラグ1はラインH1上を意味する。 ステップ205は一致信号Hが出力されるラインH3上
のデジタルビデオデータの積算値Wを演算回路諺から人
力し、これをW、としてセットする。 その後、フラグを1にセットしくステップ207)、フ
ローライン203に従ってステップ201に戻る。 同様忙、ステップ206は一致信号Hが出力されるライ
ンH8上のデジタルビデオデータの積算値Wを演算回路
32から入力し、これをWLとしてセクトする。 このようにして、垂直同期信号が発生するまでの間に、
その画面のラインH,,H,上のデジタルビデオデータ
の積算値W1.W、がセットされる。 次に、垂直同期信号の発生によりコンピュータ加がゲー
ト信号発生回路31から処理信号を入力すると、上記積
算値W1とW2との差ΔW(=W、−Ws )を求める
差分演算を実行する(ステップ208)。 この差ΔWは材料をY方向に移動させるためのサーボ指
令として出力される。 続いて、フラグを0にリセットしくステップ209)、
1回の処理が終了する。そして、前記差ΔWが0になる
まで上記処理を繰り返し行なう。 以上のようにして、カメラあの視野中心位置に、材料の
マーク中心を高精度に位置決めすることができ、このと
きのX−Yテーブル5の座標値からマーク中心位置も高
精度に検出することができる。 〔発明の効果〕 以上説明したように本発明によれば、マークの中心位置
を簡単に、かつ非常に高精度に検出することができる。
[l and press machine 100 punching center W
Since the positional relationship between the We are trying to supply materials. [Problems to be Solved by the Invention] By the way, in the conventional method of detecting the center position of a mark, there is a possibility that the detection accuracy is slightly poor. That is, the center position of the circle mark in the X direction is detected by detecting the front and rear ends of the circle mark,
In the case of the method of detecting from the average value, even if small image noise is added to the front end or rear end of the circle mark, a detection error will occur due to this. In addition, in the case of the method of detecting the point at which the diameter of a circle mark, etc. has the maximum value, the change in length in the Y direction is very small near the maximum value of the diameter compared to the distance traveled in the X direction. It is difficult to determine the point at which the maximum ° value occurs. The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a method for detecting the center position of a mark by which the center position of a mark can be detected easily and with very high accuracy. [Means for solving the problem] According to the present invention, in the visual field of the visual means,
Two lines L in the Y direction separated by a constant interval P in the direction
, , L, and set the difference between the image data on the line Li and the image data on the line Li as a moving command for moving the material in the Two lines H in the X direction separated by a distance P,
, H2, and the difference between the image data on line 1 and the image data on line 2 is used as a servo command to move the material in the Y direction by moving the material in the X and Y directions. The center position of the mark is detected. [Operation] When the image data on two lines separated by a certain distance P in the visual field where the mark is captured are both equal, the positioning of the mark in the visual field means in the direction perpendicular to the line is completed; As a result, the center position of the mark is detected. [Example] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. First, the present invention will be explained in principle using FIG. Now, if we assume that a matrix camera is used as a visual means, two images are displayed at regular intervals P in the field of view S of the camera.
Set book lines Li, L, . Then, the analog output of each detection bit of the sensor on each line is converted into digital multi-value data, and the sum of the data is calculated. Next, the sum is ri, L, and ■凰 for each. If v, then v,, the difference between 2v and 2v ΔV, ΔV=V, -V
. is calculated, this data ΔV is converted from digital to analog, and this is used as a servo command for moving the material in the X direction. As a result, the material is positioned so that Δ■=0. In the above manner, a small change in X causes a large change in Δ■, and since the analog output of each bit of the sensor is multi-valued, highly accurate positioning can be achieved. Note that binarization may be used depending on the required accuracy; in this case, the above V,
, V! corresponds to the length of the line that overlaps the mark. Also, when positioning in the Y direction, similarly to the above, two lines H1, L! are placed at a constant interval P! is set, the analog output of each detection bit of the sensor on each line is digitalized into multi-values, and the sum of the notators is calculated. The sum is H
te W1 for each of l and H. W = W, W1 = W, difference ΔW, -W. is calculated, this data ΔW is converted from digital to analog, and this is used as a servo instruction to move the material in the Y direction. FIG. 4 is a block diagram schematically showing an apparatus for carrying out the method of the present invention. In the figure, a computer (9
) is the gate value, or L! is output to the gate signal generation circuit 31, and the gate value H1 or H! is output to the arithmetic circuit proverb. The camera scans the image area where the image is formed, obtains a video signal, synthesizes this video signal with a synchronization signal that is applied from the synchronization signal generation circuit, and converts the video composite signal into an A/D converter. Output to. The A/D converter converts the input analog signal into a digital signal and outputs it to the arithmetic circuit and latch circuit. In addition, the synchronization signal generation circuit a, horizontal synchronization signal,
A vertical synchronization signal is output to the gate signal generation circuit 31 and the arithmetic circuit 32. The gate signal generation circuit 31 is composed of a comparator 31), a counter 312, and a flip-flop 313, as shown in FIG. The counter 312 is reset by the horizontal synchronizing signal pressure, counts the video clock that scans the image part of the camera, and outputs this count value to the comparator 31). The comparator 31) has a gate value added to the other input by the computer, and when these two human input values match, it outputs a match signal V to the combiator addition and latch circuit 36. The latch circuit latches the digital video data according to the coincidence signal V, and the combinator I inputs the latch data when the coincidence signal V is input. Further, when the coincidence signal V is applied to the computer chrysanthemum, the output of the gate value is switched from Ll to Ll. Flip-flop 313 is set by the vertical synchronization signal, outputs the processed signal to the combiator, and is reset by the CPU acceptance signal from combiator I. Also, a calculation circuit! is the comparator 321 as shown in FIG.
, a counter 322, a calculator 323, and an AND circuit 324. The counter 322 is reset by the vertical synchronization signal, counts the horizontal synchronization signal, and outputs this count value to the comparator 321. The comparator 321 has a gate value H3 or H2 added from the combinator I to its other input, and outputs a match signal H to the AND circuit 324 and the computer I when these two input values match. The AND circuit 324 is enabled to operate by the coincidence signal H, adds the other input video clock to the integrator 323, and
The integrator 323 integrates the digital video data added from the A/D converter in synchronization with the video clock, and outputs this integrated value W to the computer I. In addition, integrator 3
23 is reset by the horizontal synchronization signal. Next, the processing procedure of the combinator (9) will be explained according to the flowcharts of FIGS. 7 and 8. ! Figure 7 shows the positioning process of the material in the X direction.
First, the computer determines whether a processed signal has been input from the gate signal generation circuit 31 (step 101).
. If no processing signal is input, that is, the CPU
From the generation of the acceptance signal until the generation of the vertical synchronization signal, it is determined whether or not the coincidence signal (2) has been input from the gate signal generation circuit 31 (step 102). If the coincidence signal ■ is not input, the process returns to step 101 according to the flow line 103, and if the coincidence signal V is input, the process proceeds to step 104. In step 104, it is determined whether the flag is 0 or not. If it is 0, the process proceeds to step 105, and if it is not O, the process proceeds to step 106. In step 102, it is determined whether the horizontal scanning position is on the preset line L1 or Lt, and in step 104, it is determined whether the position is above or above the line L1. Here, flag 0
means on line H8, and flag 1 means on line Ll. Step 105 adds the digital video data latched by the coincidence signal (2) to (2). That is, here, the digital video data on line H8 is integrated. Thereafter, the flag is set to 1 (step 107), and the process returns to step 101 according to flow line 03. Similarly, step 106 adds the digital video data latched by the match signal V to V, and then resets the flag to O (step 108) and returns to step 101 according to flow line 103. In this way, by repeating the above operation until a vertical synchronization signal is generated, the preset line L. Then, the integrated values v1 and v2 of only the upper data are obtained.Next, the vertical synchronization signal is generated. When the computer I inputs the processed signal from the gate signal generation circuit 31, it executes a difference calculation to obtain the difference ΔV (=V, -■,) between the integrated values v1 and vt (step 109).This difference ΔV is It is output as a servo command to move the material in the X direction.Subsequently, vl and v2 are each reset to O (step 1) 0), and the flag is also reset to 0 (step 1) 1). With the above, one process is completed. And the difference Δ
The above process is repeated until V becomes 0. FIG. 8 shows the positioning process of the material in the Y direction, and the concept is exactly the same as in the case of the X direction described above. However, in the Y direction, since the data is for lines H, , H, in FIG. 3, processing becomes difficult in a normal television camera because the cycle of each bit output in the horizontal line direction is very short. In FIG. 8, the computer first determines whether a processed signal has been input from the gate signal generation circuit 31 (step 201). If no processing signal is input,
It is determined whether a coincidence signal H has been input from the arithmetic circuit 32 (step 202). If the coincidence signal H is not input, the process returns to step 201 according to flow line 203, and if the coincidence signal is input, the process proceeds to step 204. In step 204, it is determined whether the flag is 0 or not. If it is 0, the process proceeds to step 205, and if it is not 0, the process proceeds to step 206. Note that flag O means on line H8, and flag 1 means on line H1. In step 205, the integrated value W of the digital video data on the line H3 to which the coincidence signal H is output is manually input from the arithmetic circuit, and this is set as W. Thereafter, the flag is set to 1 (step 207), and the process returns to step 201 according to the flow line 203. Similarly, in step 206, the integrated value W of the digital video data on the line H8 on which the coincidence signal H is output is inputted from the arithmetic circuit 32, and this is sectored as WL. In this way, until the vertical synchronization signal is generated,
The integrated value W1 of the digital video data on lines H, ,H on that screen. W is set. Next, when the computer inputs the processed signal from the gate signal generation circuit 31 due to the generation of the vertical synchronization signal, it executes a difference calculation to obtain the difference ΔW (=W, -Ws) between the integrated values W1 and W2 (step 208). This difference ΔW is output as a servo command for moving the material in the Y direction. Next, the flag is reset to 0 (step 209),
One process is completed. Then, the above process is repeated until the difference ΔW becomes 0. As described above, the center of the mark on the material can be positioned with high precision at the center position of the camera's field of view, and the center position of the mark can also be detected with high precision from the coordinate values of the X-Y table 5 at this time. can. [Effects of the Invention] As explained above, according to the present invention, the center position of a mark can be detected easily and with very high precision.

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

第1図は本発明方法が適用される材料供給装置およびプ
レス機械の概要を示す斜視図、第2図は従来の視覚手段
の動作を説明するために用いた図、第3図は本発明方法
を原理的に説明するために用いた図、第4図は本発明方
法を実施する装置の概略を示すブロック図、第5図は第
4図のゲート信号発生回路の詳細を示すブロック図、第
6図は第4図の演算回路の詳細を示すブロック図、第7
図および第8図はそれぞれ第4図のコンピュータの処理
手順を示すフローチャートである。 1・・・材料、10・・・プレス機械、1) 、33・
・・カメラ、加・・・材料供給装置、δ・・・X−Yテ
ーブル、加・・・コンビエータ、31・・・ゲート信号
発生回路、32・・・演算回路、あ・・・同期信号発生
回路、あ・・・A/D変換回路、あ・・・ラッチ回路。 第4図 ス0 第6図 第7図
Fig. 1 is a perspective view showing an outline of a material supply device and a press machine to which the method of the present invention is applied, Fig. 2 is a diagram used to explain the operation of conventional visual means, and Fig. 3 is a diagram showing the method of the present invention. FIG. 4 is a block diagram schematically showing an apparatus for carrying out the method of the present invention. FIG. 5 is a block diagram showing details of the gate signal generation circuit shown in FIG. 4. Figure 6 is a block diagram showing details of the arithmetic circuit in Figure 4;
8 and 8 are flowcharts showing the processing procedure of the computer in FIG. 4, respectively. 1...Material, 10...Press machine, 1), 33.
...Camera, processing material supply device, δ...X-Y table, processing...combiator, 31...gate signal generation circuit, 32...arithmetic circuit, ah...synchronization signal generation Circuit, ah... A/D conversion circuit, ah... latch circuit. Figure 4 S0 Figure 6 Figure 7

Claims (3)

【特許請求の範囲】[Claims] (1)位置決め用マークが印刷された材料を、X−Yテ
ーブル上でX方向およびY方向に移動させ、所定位置に
配設された視覚手段で前記マークを捕捉し、該マークの
中心位置を検出する方法であって、前記視覚手段の視野
において該視野のX方向に一定間隔Pだけ離間するY方
向の2本のラインL_1、L_2を設定し、前記ライン
L_1上の画像データとラインL_2上の画像データと
の差を前記材料のX方向のサーボ指令とし、同様に前記
視野のY方向に一定間隔Pだけ離間するX方向の2本の
ラインH_1、L_2を設定し、前記ラインH_1上の
画像データとラインH_2上の画像データとの差を前記
材料のY方向のサーボ指令として前記材料をX方向およ
びY方向に移動させることによつてマークの中心位置を
検出することを特徴とするマークの中心位置検出方法。
(1) Move the material on which the positioning mark is printed in the X and Y directions on the X-Y table, capture the mark with a visual means placed at a predetermined position, and determine the center position of the mark The method includes setting two lines L_1 and L_2 in the Y direction that are spaced apart by a fixed interval P in the X direction of the visual field in the field of view of the visual means, and image data on the line L_1 and image data on the line L_2. The difference between the image data and the image data of the material is set as the servo command in the X direction of the material, and similarly, two lines H_1 and L_2 in the X direction separated by a constant interval P are set in the Y direction of the field of view, and the A mark characterized in that the center position of the mark is detected by moving the material in the X and Y directions using the difference between the image data and the image data on line H_2 as a servo command for the material in the Y direction. How to detect the center position of.
(2)前記位置決め用マークは円マークであり、前記一
定間隔Pは該円マークの直径の約0.8倍である特許請
求の範囲第(1)項記載のマークの中心位置検出方法。
(2) The mark center position detection method according to claim (1), wherein the positioning mark is a circle mark, and the constant interval P is approximately 0.8 times the diameter of the circle mark.
(3)前記ライン上における画像データは、前記視覚手
段の前記ライン上の各検出ビットのアナログ出力をデジ
タル多値化または2値化し、そのデータの和である特許
請求の範囲第(1)項記載のマークの中心位置検出方法
(3) The image data on the line is the sum of data obtained by digitally converting or binarizing the analog output of each detection bit on the line of the visual means. How to detect the center position of the mark described.
JP27050784A 1984-12-21 1984-12-21 Detection of mark center position Pending JPS61148303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27050784A JPS61148303A (en) 1984-12-21 1984-12-21 Detection of mark center position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27050784A JPS61148303A (en) 1984-12-21 1984-12-21 Detection of mark center position

Publications (1)

Publication Number Publication Date
JPS61148303A true JPS61148303A (en) 1986-07-07

Family

ID=17487211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27050784A Pending JPS61148303A (en) 1984-12-21 1984-12-21 Detection of mark center position

Country Status (1)

Country Link
JP (1) JPS61148303A (en)

Similar Documents

Publication Publication Date Title
CN108106535A (en) A kind of line laser scaling method and line laser caliberating device based on robot
JP2720391B2 (en) Object structure recognition device
JPH06161533A (en) Control system for three-dimensional measuring device
JPS61148303A (en) Detection of mark center position
US4331864A (en) Apparatus for detecting an in-focused condition of optical systems
JP2638073B2 (en) Tilt angle detector
JPH0346045B2 (en)
JPH087102A (en) Correspondent point extracting device
JP2516587B2 (en) Shape identification method
JPS5839373A (en) Pattern recognition device
JPS5822689A (en) Sensor device for robot
JPH0224042A (en) Working device for four dimensional solid
JPH0778425B2 (en) Three-dimensional data interpolation method
JPH059222B2 (en)
JPS634746B2 (en)
JP2514257B2 (en) Road guide line feature calculation point setting device
JPS62269204A (en) Nc program generating device
JPS63251177A (en) Coordinate transformation method of work data
JPS60236014A (en) Device for three-dimensional distance measuring device for vehicle
JPS5647184A (en) Picture recognition system
JPH03280173A (en) Picture processing method
JPS55164823A (en) Orthogonal projection image forming method of three-dimensional object
JPS59127169A (en) Picture processor
JPS59139478A (en) Picture processing device
JPH02133885A (en) Inspecting method for pattern