JPS62229008A - Automatic measuring method for positional deviation and angle of attitude of object with line sensor - Google Patents

Automatic measuring method for positional deviation and angle of attitude of object with line sensor

Info

Publication number
JPS62229008A
JPS62229008A JP7339986A JP7339986A JPS62229008A JP S62229008 A JPS62229008 A JP S62229008A JP 7339986 A JP7339986 A JP 7339986A JP 7339986 A JP7339986 A JP 7339986A JP S62229008 A JPS62229008 A JP S62229008A
Authority
JP
Japan
Prior art keywords
attitude
line
angle
line sensors
positional deviation
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
JP7339986A
Other languages
Japanese (ja)
Inventor
Hidehiko Takano
高野 英彦
Hiroo Arataki
荒滝 博夫
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.)
Mazda Motor Corp
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
Mazda Motor Corp
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 Agency of Industrial Science and Technology, Mazda Motor Corp filed Critical Agency of Industrial Science and Technology
Priority to JP7339986A priority Critical patent/JPS62229008A/en
Publication of JPS62229008A publication Critical patent/JPS62229008A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable accurate measurement of positional deviations and the angle of attitude, by arranging first-third line sensors in the manner that they are orthogonal to one side at the midpoint with respect to another side of a rectangular object, located at a reference position, and to compute deviations therebetween based on outputs of the line sensors. CONSTITUTION:In a measuring area where positional deviations and an angle of attitude of an object A are measured, first and second line sensors 1 and 2 are arranged to the orthogonal to one side (straight line l) of a rectangular object A0, located at a reference position, at the midpoint thereof and a third line sensor 3 to be orthogonal to another side (straight line m) perpendicular to the said side of the object A0 at the midpoint thereof. In order to measure the positional deviations and the angle of attitude, crossing positions of the two sides of the object A, namely, the straight lines l and m and these line sensors are detected with the line sensors 1-3 to measure the deviations DELTAy1, DELTAy2 and DELTAx1 between the resulting positions and the reference position on the line sensors. In this manner, measured values are computed with an arithmetic unit to permit the determination of positional deviations DELTAx and DELTAy in the x and y axes of the object A and the angle theta of attitude with respect to a reference attitude.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、自動車や家電製品の生産ラインにおける部品
の組付は等のために、対象物、特に実質的に矩形状をな
す物体の位置及び姿勢を自動計測する方法に関するもの
である。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method for assembling parts in production lines for automobiles and home appliances, etc., by determining the position of objects, particularly objects having a substantially rectangular shape. and a method for automatically measuring posture.

[従来の技術] 生産ラインにおける作業を自動化するため、従来から各
種方式のパターン認識技術が開発されている。このよう
なパターン認識技術は、何らかの手段により対象物自体
の形状、姿勢等を判別しようとするものであり、そのパ
ターン認識のために使用する装置が比較的複雑で高価な
ものとなるのが通例である。
[Prior Art] Various types of pattern recognition techniques have been developed to automate work on production lines. Such pattern recognition technology attempts to determine the shape, posture, etc. of the object itself by some means, and the equipment used for pattern recognition is usually relatively complex and expensive. It is.

しかるに、各種工場における組付は作業、例えば、自動
車の車体や家電製品の本体に対する各種部品の組付けの
自動化に際しては、必ずしも上述したようなパターン認
識技術を必要としない。即ち、認識等の対象になる自動
車の車体、家電製品の本体、IC基板等は1通常、実質
的に矩形状をなし、またそれらの認識対象物自体が矩形
状でなくても、矩形状の台車に載せて移動させるとか。
However, the pattern recognition technology described above is not necessarily required when automating the assembly work in various factories, for example, the assembly of various parts to the body of an automobile or the body of a home appliance. In other words, the objects of recognition, such as automobile bodies, the main bodies of home appliances, IC boards, etc., usually have a substantially rectangular shape, and even if the recognition objects themselves are not rectangular, they may be rectangular. Or put it on a trolley and move it.

その対象物上に矩形部分が存在する場合が多く、しかも
認識しようとする対象物はその形状自体が既知であるの
が通例である。従って、実質的に矩形状をなす部分の位
置ずれと姿勢、即ち矩形部分の基準位置に対する位置ず
れ及び基準姿勢に対する姿勢角の傾きを正確に認識でき
れば充分であり、それによって装置自体を著しく簡単化
し、安価に提供することが可能になる。
In many cases, a rectangular portion exists on the object, and the shape of the object to be recognized is usually known. Therefore, it is sufficient to accurately recognize the positional deviation and attitude of the substantially rectangular part, that is, the positional deviation and the inclination of the attitude angle with respect to the reference position of the rectangular part, and this greatly simplifies the device itself. , can be provided at low cost.

[発明が解決しようとする問題点コ 本発明者らは、矩形状対象物の認識を行うには、ITV
等による対象物の2次元画像を利用しなくても、ライン
センサを利用できるという観点に立ち、できるだけ少な
い数のラインセンサで簡単に位置ずれ及び姿勢を計測す
る方法について検討し、本発明をなすに至ったものであ
る。
[Problems to be Solved by the Invention] In order to recognize a rectangular object, the present inventors discovered that
Based on the viewpoint that line sensors can be used without using the two-dimensional image of the object, etc., we investigated a method for easily measuring positional deviation and orientation using as few line sensors as possible, and accomplished the present invention. This is what led to this.

即ち、本発明の目的は、認識対象物が実質的に矩形状を
なすことが非常に多いことに着目し、上述した工場にお
ける組付は作業等において、一般的なパターン認識技術
を利用することなく、複数のラインセンサを使用すると
いう簡易な手段によって、簡単で安価に、且つ正確に位
置ずれ及び姿勢角を計測可能にすることにある。
That is, an object of the present invention is to focus on the fact that objects to be recognized are substantially rectangular in many cases, and to utilize general pattern recognition technology in the above-mentioned assembly work at a factory. The object of the present invention is to make it possible to easily, inexpensively, and accurately measure positional deviations and attitude angles by a simple means of using a plurality of line sensors.

[問題点を解決するための手段] 上記目的を達成するため、本発明においては、実質的に
矩形状をなす対象物の位置ずれ及び姿勢角を計測する計
測域に、基準位置にある矩形状の対象物の一辺に対して
中点において直交する第1及び第2のラインセンサを、
一定の間隔で配置すると共に、上記対象物の一辺に直交
する他の一辺に対して中点において直交する第3のライ
ンセンサを配置し、これらのラインセンサにより計測域
にある対象物と各ラインセンサとの交差位置を検出して
、各ラインセンサ上における中点との間の位置のずれ量
を計測し、それらのずれ量に基づく演算により、対象物
の位置ずれ及び姿勢角を計測するという技術的手段を採
用している。
[Means for Solving the Problems] In order to achieve the above object, in the present invention, a rectangular shape at a reference position is included in a measurement area for measuring the positional deviation and attitude angle of a substantially rectangular object. The first and second line sensors are perpendicular to one side of the object at the midpoint,
A third line sensor is arranged at regular intervals and perpendicular to the other side which is perpendicular to one side of the object, and these line sensors measure the object in the measurement area and each line. It detects the intersection position with the sensor, measures the amount of positional deviation between the center point on each line sensor, and calculates the positional deviation and attitude angle of the object by calculating based on the amount of deviation. Employing technical means.

[実施例] 以下に図面を参照して本発明の方法をさらに具体的に説
明する。
[Example] The method of the present invention will be explained in more detail below with reference to the drawings.

81図に示すように、いま、位置ずれ及び姿勢角の計測
対象物Aが存在する空間に、基準位置における対象物A
Oの中心に原点Oを有するx−y座標系を設定する。計
測対象物Aは、実質的に矩形状をなすものであり、例え
ば自動車の車体を平面的に見たものであっても、あるい
はIC基板等であってもよい。さらには、対象となる物
が矩形状でない場合には、その上に付されている矩形状
の部分、あるいはその物を載置した矩形状の台を計測対
象物Aとしても差支えない、第1図においては、基準位
置における対象物AOの角部をPl、P2IP3及びP
4とし、任意姿勢をとる対象物Aの角部をp;、p;、
p;及びPiとし、また、上記計測対象物Aの各辺を、
直mu、m、n及びpによって示している。
As shown in Fig. 81, in the space where the positional deviation and attitude angle measurement target A exists, the target A at the reference position is
Set an xy coordinate system with the origin O at the center of O. The object to be measured A has a substantially rectangular shape, and may be, for example, an automobile body viewed from above, an IC board, or the like. Furthermore, if the object to be measured is not rectangular, a rectangular part attached to it or a rectangular table on which the object is placed may be used as the measurement object A. In the figure, the corners of the object AO at the reference position are Pl, P2IP3 and P
4, and the corner of object A that takes an arbitrary posture is p;, p;,
p; and Pi, and each side of the measurement object A is
Indicated by mu, m, n and p.

なお、ここでは対象物A自体の形状が既知であり、特に
対象物AのffAW及び長さHが既知である場合を前提
にしている。
Note that here, it is assumed that the shape of the object A itself is known, and in particular, the ffAW and length H of the object A are known.

上記対象物Aの位置ずれ及び姿勢角を計測する計測域に
は、基準位置にある矩形状の対象物AOの一辺(直線又
)と中点において直交する第1及び第2のラインセンサ
1,2を配置し、また上記の対象物AOの一辺に対して
直交する他の辺 (直Vjm)と中点において直交する
第3のラインセンサ3を配置する。そして、これらのラ
インセンサ1,2.3のy軸及びX軸との離間距離を、
それぞれLxl。
The measurement area for measuring the positional deviation and attitude angle of the object A includes first and second line sensors 1, which are perpendicular to one side (straight line) of the rectangular object AO at the reference position at the midpoint; 2, and a third line sensor 3 that is perpendicular to the other side (direction Vjm) perpendicular to one side of the object AO at the midpoint. Then, the distance between these line sensors 1, 2.3 from the y-axis and the X-axis is
Lxl respectively.

Lx2.Ly+ とする、上記ラインセンサの配置に際
し、基準位置にある対象物AOの各辺が必ずしも正確に
ラインセンサの中点において直交する必要はない。
Lx2. When arranging the line sensor as Ly+, each side of the object AO at the reference position does not necessarily need to be exactly orthogonal at the midpoint of the line sensor.

上記対象物Aがベルトコンベヤ等により移送され、計測
域に達したときには、通常、第1図に示すように、基準
位置に対する任意量の位置ずれ及び任意量の姿勢角の傾
きを有している。即ち、対象物Aの中心が座標系の原点
0に対してX軸及びy軸方向にそれぞれΔX及びΔyだ
けの位置ずれをもち、また角θだけ対象物の基準姿勢に
対して傾斜している。
When the object A is transported by a belt conveyor or the like and reaches the measurement area, it usually has an arbitrary amount of positional deviation and an arbitrary amount of attitude angle inclination with respect to the reference position, as shown in Fig. 1. . That is, the center of the object A has a positional shift of ΔX and Δy in the X-axis and y-axis directions, respectively, with respect to the origin 0 of the coordinate system, and is also tilted by an angle θ with respect to the reference posture of the object. .

そこで、上記位置ずれ及び姿勢角の計測のため、上記ラ
インセンサ1,2.3により、それらのラインセンサと
対象物Aの2辺、即ち直線1.mとの交差位置を検出し
、それらのラインセンサ上における基亭位置 (中点)
との間の位置のずれ量ΔYl、Δy2及びΔ!1を計測
する。
Therefore, in order to measure the positional deviation and attitude angle, the line sensors 1, 2.3 measure the two sides of the object A, that is, the straight line 1. Detect the intersection position with m and determine the base position (midpoint) on those line sensors.
The positional deviation amounts ΔYl, Δy2, and Δ! Measure 1.

このようにして、対象物Aについてのずれ量ΔY+、Δ
テ2及びΔ!1を計測すると、演算装置により以下に説
明するような演算を行うことにより、対象物AのX軸及
びy軸方向の位置ずれΔX。
In this way, the amount of deviation ΔY+, Δ
Te2 and Δ! 1, the calculation device performs calculations as described below to determine the positional deviation ΔX of the object A in the X-axis and y-axis directions.

Δy、並びに基準姿勢に対する姿勢角θを求めることが
できる。
Δy and the attitude angle θ relative to the reference attitude can be determined.

まず、上記対象物A上にその中心を原点とするx′−y
′座標系を設定すると、前記x−y座標系との間の座標
変換は、次のような変換式によって行うことができる。
First, x′-y with the center of the object A as the origin
Once the 'coordinate system is set, coordinate transformation between the xy coordinate system and the xy coordinate system can be performed using the following transformation formula.

x’=xcosθ−y  5ino+ΔXy′=xsi
nθ+yCosθ+Δy そして、上記変換式に基づき、基準位置における対象物
Aoの角部pi、p?に対して位置がずれている対象物
Aの角部pH,p夕の座標は、によって表わされる。
x'=xcosθ-y 5ino+ΔXy'=xsi
nθ+yCosθ+Δy Then, based on the above conversion formula, corner portions pi, p of the object Ao at the reference position? The coordinates of the corner pH, p of the object A whose position is shifted with respect to is expressed by.

従って、直ti文の方程式は、 となり、ラインセンサ1,2上における直線文との交点
の座標が、 であるから、これらの値を上記直線文の方程式に代入す
ると、Δy+及びΔy2は次式により与えられる。
Therefore, the equation for the straight line sentence is as follows, and the coordinates of the intersection with the line line on line sensors 1 and 2 are as follows.If these values are substituted into the equation for the line line above, Δy+ and Δy2 are expressed as follows: is given by

また、同様にして直線mの方程式は、 となり、ラインセンサ3上における直amとの交点の座
標が、 であるから、Δ11は次式により与えられる。
Similarly, the equation of the straight line m is as follows, and the coordinates of the point of intersection with the straight line am on the line sensor 3 are as follows. Therefore, Δ11 is given by the following equation.

そして、上記(+) (2)式より        −
−−(3)Δy2−Δy+= (LX2+ Lit)−
tanθとしてθを求めることができ、また、上記(1
) (3)式からΔX及びΔyを求めると、 よいa、                 −−−(
5)従って、上記ラインセンサ1,2.3に接続した演
算装置で上述した演算を行うことによって、対象物Aの
X軸及びy軸方向の位置ずれΔX、Δy、並びに基準姿
勢に対する姿勢角θを求めることができる。
Then, from the above equation (+) (2) −
--(3)Δy2−Δy+= (LX2+ Lit)−
θ can be obtained as tanθ, and the above (1
) Calculating ΔX and Δy from equation (3), we get Good a, ---(
5) Therefore, by performing the above-mentioned calculations with the calculation device connected to the line sensors 1, 2.3, the positional deviations ΔX and Δy of the object A in the X-axis and y-axis directions, and the attitude angle θ with respect to the reference attitude are calculated. can be found.

〔発明の効果] このような本発明の計測方法によれば、三つのラインセ
ンサの出力に基づいて上述した式についての演算を行う
という簡易な手段によって、対象物の位置ずれ及び姿勢
角を簡単で安価に、且つ正確に計測することができる。
[Effects of the Invention] According to the measuring method of the present invention, the positional deviation and attitude angle of the object can be easily calculated by calculating the above-mentioned formula based on the outputs of the three line sensors. can be measured inexpensively and accurately.

また、このように筒単に計測できるため、ラインセンサ
からの出力を処理するための装舒を/\−ドウェア化す
ることが容易であるばかりでなく、実時間処理が可能と
なり、従って工場の生産ライン等における利用に極めて
好適である。
In addition, since measurement can be carried out in a simple manner, it is not only easy to convert the equipment for processing the output from the line sensor into hardware, but also enables real-time processing, which improves factory production. It is extremely suitable for use in lines, etc.

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

第1図は本発明に係る計測方法についての説明図である
。 1.2.3 ・拳ラインセンサ、 A・・対象物。
FIG. 1 is an explanatory diagram of the measurement method according to the present invention. 1.2.3 - Fist line sensor, A...Target.

Claims (1)

【特許請求の範囲】[Claims] 1、実質的に矩形状をなす対象物の位置ずれ及び姿勢角
を計測する計測域に、基準位置にある矩形状の対象物の
一辺に対して中点において直交する第1及び第2のライ
ンセンサを、一定の間隔で配置すると共に、上記対象物
の一辺に直交する他の一辺に対して中点において直交す
る第3のラインセンサを配置し、これらのラインセンサ
により計測域にある対象物と各ラインセンサとの交差位
置を検出して、各ラインセンサ上における中点との間の
位置のずれ量を計測し、それらのずれ量に基づく演算に
より、対象物の位置ずれ及び姿勢角を計測することを特
徴とするラインセンサによる対象物の位置ずれ及び姿勢
角の自動計測方法。
1. First and second lines perpendicular to one side of the rectangular object at the reference position at the midpoint in the measurement area for measuring the positional deviation and attitude angle of the substantially rectangular object. The sensors are arranged at regular intervals, and a third line sensor is arranged at a midpoint perpendicular to another side perpendicular to one side of the object, and these line sensors measure the object in the measurement area. Detect the intersection position between the line sensor and each line sensor, measure the amount of positional deviation between the center point on each line sensor, and calculate the positional deviation and attitude angle of the object by calculating based on the amount of deviation. A method for automatically measuring positional deviation and attitude angle of an object using a line sensor.
JP7339986A 1986-03-31 1986-03-31 Automatic measuring method for positional deviation and angle of attitude of object with line sensor Pending JPS62229008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7339986A JPS62229008A (en) 1986-03-31 1986-03-31 Automatic measuring method for positional deviation and angle of attitude of object with line sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7339986A JPS62229008A (en) 1986-03-31 1986-03-31 Automatic measuring method for positional deviation and angle of attitude of object with line sensor

Publications (1)

Publication Number Publication Date
JPS62229008A true JPS62229008A (en) 1987-10-07

Family

ID=13517079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7339986A Pending JPS62229008A (en) 1986-03-31 1986-03-31 Automatic measuring method for positional deviation and angle of attitude of object with line sensor

Country Status (1)

Country Link
JP (1) JPS62229008A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53123957A (en) * 1977-04-05 1978-10-28 Fujitsu Ltd Position detecting method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53123957A (en) * 1977-04-05 1978-10-28 Fujitsu Ltd Position detecting method

Similar Documents

Publication Publication Date Title
Betke et al. Mobile robot localization using landmarks
CN108775863B (en) Spectrum confocal displacement sensor positioning device and positioning method
US11421980B2 (en) Method for determining a position and orientation of an object using a profilometer
JPH03213251A (en) Workpiece position detecting device
JPS62229008A (en) Automatic measuring method for positional deviation and angle of attitude of object with line sensor
JPS62229010A (en) Automatic measuring method for positional deviation and angle of attitude of object having straight part
JPS62229009A (en) Automatic measuring method for attitude and dimensions of object with line sensor
JPS62229011A (en) Automatic measuring method for attitude and dimensions of object having straight part
JPS62229012A (en) Automatic measuring method for attitude and dimensions of object having square part
US11826919B2 (en) Work coordinate generation device
JPS62229014A (en) Automatic measuring method for positional deviations and angle of attitude of object having square part
JPS62185103A (en) Automatic measurement for positional deviation and angle of attitude of object
JPS62185104A (en) Automatic measurement of attitude and dimension of object
JPS62185106A (en) Automatic measurement of attitude of object by means of directivity reference mark
JPS62185105A (en) Automatic measurement of attitude and dimension of object by means of directivity reference mark or the like
JPS6263805A (en) Detecting method for three-dimensional attitude angle by mark pattern
JP3084259B2 (en) Groove cutting device and method
JPS61265523A (en) Method for detecting posture angle by pattern
JPS62231390A (en) Separation of two straight lines in image
JPS622106A (en) Detection of two-dimensional posture angle using mark pattern
JP2529947B2 (en) Work position deviation detection device
JP3138056B2 (en) 2D measuring machine
JPS63304791A (en) Straight line pattern corresponding system in camera calibration
JPH01242903A (en) Transformation system for body coordinate and visual coordinate utilizing image processor
JPH048191B2 (en)