Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0816606B2 - Automatic measurement method of position deviation and posture angle of an object with right angle part - Google Patents
[go: Go Back, main page]

JPH0816606B2 - Automatic measurement method of position deviation and posture angle of an object with right angle part - Google Patents

Automatic measurement method of position deviation and posture angle of an object with right angle part

Info

Publication number
JPH0816606B2
JPH0816606B2 JP61073403A JP7340386A JPH0816606B2 JP H0816606 B2 JPH0816606 B2 JP H0816606B2 JP 61073403 A JP61073403 A JP 61073403A JP 7340386 A JP7340386 A JP 7340386A JP H0816606 B2 JPH0816606 B2 JP H0816606B2
Authority
JP
Japan
Prior art keywords
angle
posture
straight line
measuring
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.)
Expired - Lifetime
Application number
JP61073403A
Other languages
Japanese (ja)
Other versions
JPS62229014A (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 JP61073403A priority Critical patent/JPH0816606B2/en
Publication of JPS62229014A publication Critical patent/JPS62229014A/en
Publication of JPH0816606B2 publication Critical patent/JPH0816606B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、自動車や家電製品の生産ラインにおける部
品の組付け等のために、対象物、特に、その外形状の幅
及び長さが既知であって、少なくとも一つの直角部分を
もつ実質的に矩形状の物体の位置及び姿勢を自動計測す
る方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention has a known width and length of an object, especially its outer shape, for assembly of parts in a production line of automobiles and home appliances. A method for automatically measuring the position and orientation of a substantially rectangular object having at least one right angle portion.

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

しかるに、各種工場における組付け作業、例えば、自
動車の車体や家電製品の本体に対する各種部品の組付け
の自動化に際しては、必ずしも上述したようなパターン
認識技術を必要としない。即ち、認識等の対象になる自
動車の車体、家電製品の本体、IC基板等は、通常、実質
的に矩形状をなし、または少なくともその外形状の一部
に認識の基準とすることが可能な直角部分を備えてい
る。さらに、それらの認識対象物自体が矩形状でなくて
も、矩形状の台車に載せて移動させるとか、その対象物
上に矩形部分が存在する場合が多く、しかも認識しよう
とする対象物はその形状自体が既知であるのが通例であ
る。
However, the pattern recognition technique as described above is not always necessary in the assembly work in various factories, for example, in the case of automating the assembly of various parts to the body of the automobile or the body of the home electric appliance. That is, the body of the automobile, the body of the home electric appliance, the IC substrate, etc., which is the object of recognition or the like, usually has a substantially rectangular shape, or at least a part of its outer shape can be used as a reference for recognition. It has a right-angled part. Furthermore, even if the recognition target object itself is not rectangular, it is often the case that it is moved on a rectangular cart, or a rectangular portion exists on the target object, and the target object to be recognized is It is customary that the shape itself is known.

従って、実質的に矩形状をなす部分、さらに詳しく
は、その一部をなす直角部分等を基準として利用し、対
象物の位置ずれと姿勢、即ち、矩形部分等の基準位置に
対する位置ずれ及び基準姿勢に対する姿勢角の傾きを正
確に認識できるようにするのが望ましく、それによって
装置自体を著しく簡単化し、安価に提供することが可能
になる。
Therefore, the substantially rectangular portion, more specifically, the right-angled portion forming a part thereof is used as a reference, and the positional deviation and posture of the object, that is, the positional deviation and the reference with respect to the reference position of the rectangular portion or the like. It is desirable to be able to accurately recognize the inclination of the posture angle with respect to the posture, whereby the device itself can be significantly simplified and provided at a low cost.

[発明が解決しようとする問題点] 本発明者らは、少なくとも直角部分を備えている矩形
状対象物の認識を行うに際し、ITVカメラその他のイメ
ージセンサによる対象物の2次元画像を利用して、でき
るだけ簡単な演算処理により、しかも、できるだけ少な
い数のイメージセンサで、正確に位置ずれ及び姿勢を計
測する方法について検討し、本発明をなすに至ったもの
である。
[Problems to be Solved by the Invention] The present inventors utilize a two-dimensional image of an object obtained by an ITV camera or other image sensor when recognizing a rectangular object having at least a right angle portion. The present invention has been made by studying a method of accurately measuring the position shift and the posture by the simplest possible arithmetic processing and using the smallest possible number of image sensors.

即ち、本発明の目的は、認識対象物が姿勢認識の基準
となる直角部分を有し、且つ形状が既知であるのが通例
であることに着目し、上述した工場における組付け作業
等において、一般的なパターン認識技術を利用すること
なく、イメージセンサの画像の簡単な処理によって、正
確に位置ずれ及び姿勢角を計測可能にすることにある。
That is, the object of the present invention is to recognize that the recognition object has a right-angled portion that serves as a reference for posture recognition, and that the shape is generally known, and in the above-described assembly work in the factory, An object of the present invention is to make it possible to accurately measure a position shift and an attitude angle by a simple process of an image of an image sensor without using a general pattern recognition technique.

[問題点を解決するための手段] 上記目的を達成するため、本発明においては、幅及び
長さが既知である実質的に矩形状の対象物の位置ずれ及
び姿勢角を計測する方法であって、上記対象物の計測域
に、上記対象物が計測域の基準位置にあるときにその対
象物の一つの直角部分を視野内のほぼ中央におさめるイ
メージセンサを配置し、そのイメージセンサによって得
られた対象物の画像を明るさの差によって2値化し、計
測域にある対象物上の上記直角部分において直交する二
辺の直線上の点列を抽出して、各直線ごとにそれらの点
列を構成する各点の座標から直線の方程式を算出し、そ
れらの方程式及び上記対象物の既知の幅及び長さに基づ
く演算により、対象物の位置ずれ及び姿勢角を計測する
という技術的手段を採用している。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a method for measuring a positional deviation and an attitude angle of a substantially rectangular object whose width and length are known. Then, in the measurement area of the object, an image sensor that holds one right-angled part of the object in the approximate center of the field of view when the object is at the reference position of the measurement area is obtained by the image sensor. The image of the obtained object is binarized by the difference in brightness, a point sequence on two straight lines orthogonal to each other in the above-mentioned right angle portion on the object in the measurement area is extracted, and those points are extracted for each straight line. A technical means of calculating straight line equations from the coordinates of each point forming a column and measuring the positional deviation and posture angle of the object by calculation based on these equations and the known width and length of the object. Has been adopted.

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

第1図に示すように、いま、位置ずれ及び姿勢角の計
測対象物Aが存在する空間に、基準位置における対象物
A0の中心に原点0を有するx−y座標系を設定する。計
測対象物Aは、実質的に矩形状をなすものであるが、少
なくとも姿勢認識の基準となる直角部分を有するもので
あればよく、例えば、自動車の車体を平面的に見たもの
であっても、あるいは家電製品の本体やIC基板等であっ
てもよい。さらには、対象となる物が直角部分をもたな
い場合には、その上に付されている矩形状の部分、ある
いはその物を載置した矩形状の台の一部などを計測対象
にしても差支えない。
As shown in FIG. 1, the object at the reference position is now in the space where the object A for measuring the positional deviation and the attitude angle exists.
Establish an xy coordinate system with origin 0 at the center of A 0 . The measurement object A has a substantially rectangular shape, but may be any object having at least a right-angled portion that serves as a reference for posture recognition. For example, the measurement object A is a plan view of a vehicle body. Alternatively, it may be the body of an electric home appliance, an IC substrate, or the like. Furthermore, when the target object does not have a right-angled part, the rectangular part attached on it or a part of the rectangular table on which the object is placed is used as the measurement target. Does not matter.

第1図においては、基準位置における矩形状対象物A0
の角部をP1,P2,P3及びP4、任意姿勢をとる対象物Aの角
部を▲P ▼,▲P ▼,▲P ▼及び▲P
▼とし、また、上記計測対象物Aの各辺を、直線l,m,s
及びtによって示している。
In FIG. 1, the rectangular object A 0 at the reference position
Corners of P 1 , P 2 , P 3 and P 4 , and corners of the object A having an arbitrary posture are ▲ P ' 1 ▼, ▲ P ' 2 ▼, ▲ P ' 3 ▼ and ▲ P ' 4
▼, and each side of the measurement object A is a straight line l, m, s
And t.

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

上記対象物Aの位置ずれ及び姿勢角を計測する計測域
には、対象物が計測域の基準位置にあるときにその矩形
状の対象物A0の直交する二辺(直線l,m)の交点を視野
内のほぼ中央におさめるITVカメラその他適宜のイメー
ジセンサV1を配置する。
In the measurement area for measuring the displacement and the posture angle of the object A, when the object is at the reference position of the measurement area, two rectangular sides (straight lines l, m) of the rectangular object A 0 are orthogonal to each other. An ITV camera or other suitable image sensor V 1 is placed so that the intersection is located almost in the center of the field of view.

上記対象物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 range, it usually has an arbitrary amount of positional deviation with respect to a reference position and an arbitrary amount of posture angle inclination, as shown in FIG. . That is, the center of the object A is Δx and Δy in the x-axis and y-axis directions with respect to the origin 0 of the coordinate system.
It has a positional deviation of 10 mm, and is inclined by an angle θ with respect to the reference posture of the object.

そこで、上記位置ずれ及び姿勢角の計測のため、上記
イメージセンサV1により、対象物Aの二辺、即ち直線l,
mの交差位置を画像として検出し、それらの方程式を求
める。この画像上の直線の方程式は、一般的に利用され
ている各種手段によって求めることができ、例えばイメ
ージセンサV1によって得た画像を、矩形状対象物A内と
それ以外の部分の明るさの差によって2値化し、微分等
の適宜処理を施すことにより、その直線上の点列を抽出
可能にすると共に、直線l及びmについてのデータを分
離可能として、各直線ごとにそれらの点列を構成する各
点の座標を求め、それらの座標値を直線l,mの方程式に
代入して勾配及び切片を求めるなどの手段を用いること
ができる。
Therefore, in order to measure the displacement and the posture angle, the image sensor V 1 is used to measure two sides of the object A, that is, the straight line l,
The intersection position of m is detected as an image, and their equations are calculated. The equation of the straight line on the image can be obtained by various commonly used means. For example, the image obtained by the image sensor V 1 can be used to determine the brightness of the rectangular object A and the brightness of other parts. By binarizing by the difference and performing appropriate processing such as differentiation, the point sequence on the straight line can be extracted and the data on the straight lines 1 and m can be separated, and the point sequence can be calculated for each straight line. It is possible to use means such as obtaining the coordinates of each of the constituent points and substituting those coordinate values into the equation of the straight lines l and m to obtain the gradient and intercept.

即ち、直線lの方程式を、 y=A1x+B1 とし、直線l上の点列を構成する各点(x1i,y1i)をそ
れぞれ代入して、平均的な勾配A1及び切片B1を求める
と、それらは、 によって与えられる。
That is, the equation of the straight line l is set as y = A 1 x + B 1 and each point (x 1i , y 1i ) forming the point sequence on the straight line 1 is substituted to obtain the average slope A 1 and the intercept B 1 , They are Given by.

同様にして、直線mの方程式を、 x=A2y+B2 とし、直線m上の点列を構成する各点(x2i,y2i)をそ
れに代入して、平均的な勾配A2及び切片B2を求めると、
それらは、 によって与えられる。
Similarly, the equation of the straight line m is set as x = A 2 y + B 2, and each point (x 2i , y 2i ) forming the point sequence on the straight line m is substituted into it, and the average gradient A 2 and intercept If we ask for B 2 ,
They are, Given by.

また、対象物A0の角度P2に対して位置がずれている対
象物Aの角部▲P ▼の座標を(x1,y1)とすると、
その▲P ▼点において直線l,mが交差することか
ら、 y1=A1x1+B1 ・・・(1) x1=A2y1+B2 ・・・(2) が成立し、これらの(1)(2)式に基づき、 を得る。
Further, assuming that the coordinates of the corner portion ▲ P 2 ▼ of the object A whose position is deviated from the angle P 2 of the object A 0 are (x 1 , y 1 ),
Its ▲ P '2 ▼ since the straight line l, m intersect at point, y 1 = A 1 x 1 + B 1 ··· (1) x 1 = A 2 y 1 + B 2 ··· (2) is satisfied Then, based on these equations (1) and (2), Get.

また、直線l,mの交点である対象物(幅W及び長さH
が既知)の角部P2の座標が、 であることから、Δx及びΔyは次式により与えられ、
上記(3)(4)式との関連においてそれらのΔx及び
Δyの値が求められる。
In addition, the object (width W and length H) at the intersection of the straight lines l and m
The coordinates of the corner P 2 of Therefore, Δx and Δy are given by the following equations,
The values of Δx and Δy are obtained in relation to the expressions (3) and (4).

さらに、 A1=tanθ であることから、 θ=tan-1(A1) ・・・(8) としてθを求めることができる。 Further, since A 1 = tan θ, θ can be obtained by θ = tan −1 (A 1 ) (8).

なお、以上においては、直線l,mを表わす方程式の交
点座標に基づいてΔx及びΔyを計算を計算している
が、直線l,mの切片からその計算を行うこともできる。
即ち、直線l,mの交点である対象物の角部▲P ▼の
座標が(5)式で与えられることから、直線l,mの切片B
1,B2を、 として求め、これらに基づいてΔx及びΔyを計算する
こともできる。
In the above description, Δx and Δy are calculated based on the coordinates of the intersections of the equations representing the straight lines l and m, but the calculation can also be performed from the intercept of the straight lines l and m.
That is, since the coordinates of the corner portion ▲ P 2 ▼ of the object, which is the intersection of the straight lines l and m, are given by the equation (5), the intercept B
1 , B 2 It is also possible to calculate Δx and Δy based on these.

このように、上述した計測方法によれば、上記イメー
ジセンサV1に接続した このように、上述した計測方法によれば、上記イメー
ジセンサV1に接続した演算装置で上述した簡単な演算を
行うことによって、対象物Aのx軸及びy軸方向の位置
ずれΔx,Δy、並びに基準姿勢に対する姿勢角θを求め
ることができる。
As described above, according to the above-described measuring method, the image sensor V 1 is connected. Thus, according to the above-described measuring method, the arithmetic device connected to the image sensor V 1 performs the above-described simple calculation. Thus, the positional deviations Δx and Δy of the object A in the x-axis and y-axis directions and the posture angle θ with respect to the reference posture can be obtained.

[発明の効果] このような本発明の計測方法によれば、対象物の角部
に単一のイメージセンサを配置し、その出力に基づいて
上述した式についての演算を行うという簡易な手段によ
って、対象物の位置ずれ及び姿勢角を正確に計測するこ
とができ、特に、イメージセンサを利用して対象物上に
おける直角部分の直線の方程式を求めるにすぎないの
で、イメージセンサにより対象物の全体を観察して、パ
ターン認識またはそれに準じた技術により、その対象物
の位置ずれ及び姿勢角を計測する場合等に比して、演算
処理が極めて簡単になるばかりでなく、非常に正確な測
定を行うことができる。
[Effect of the Invention] According to the measuring method of the present invention as described above, a single image sensor is arranged at a corner portion of an object, and a simple means of calculating the above formula based on the output thereof is used. , It is possible to accurately measure the position deviation and posture angle of the object, and in particular, since the image sensor is used only to obtain the equation of the straight line of the right angle part, the image sensor is used to measure the whole object. In comparison with the case of measuring the position shift and the posture angle of the target object by observing the pattern recognition technology or the like, not only the calculation process becomes extremely simple but also very accurate measurement can be performed. It can be carried out.

また、このように簡単に計測できるため、イメージセ
ンサからの出力を処理するための装置をハードウェア化
することが容易であるばかりでなく、実時間処理が可能
となり、従って工場の生産ライン等における利用に極め
て好適である。
In addition, since the measurement can be performed easily in this way, not only is it easy to implement a device for processing the output from the image sensor as hardware, but also real-time processing is possible, and therefore, in a production line of a factory or the like. Very suitable for use.

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

第1図は本発明に係る計測方法についての説明図であ
る。 V1……イメージセンサ、 A……対象物。
FIG. 1 is an explanatory diagram of a measuring method according to the present invention. V 1 …… Image sensor, A …… Object.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭53−39156(JP,A) 特開 昭53−27450(JP,A) 特開 昭54−92274(JP,A) 特開 昭52−133050(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-53-39156 (JP, A) JP-A-53-27450 (JP, A) JP-A-54-92274 (JP, A) JP-A 52- 133050 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】幅及び長さが既知である実質的に矩形状の
対象物の位置ずれ及び姿勢角を計測する方法であって、
上記対象物の計測域に、上記対象物が計測域の基準位置
にあるときにその対象物の一つの直角部分を視野内のほ
ぼ中央におさめるイメージセンサを配置し、そのイメー
ジセンサによって得られた対象物の画像を明るさの差に
よって2値化し、計測域にある対象物上の上記直角部分
において直交する二辺の直線上の点列を抽出して、各直
線ごとにそれらの点列を構成する各点の座標から直線の
方程式を算出し、それらの方程式及び上記対象物の既知
の幅及び長さに基づく演算により、対象物の位置ずれ及
び姿勢角を計測することを特徴とする直角部分をもつ対
象物の位置ずれ及び姿勢角の自動計測方法。
1. A method for measuring a positional deviation and an attitude angle of a substantially rectangular object of which width and length are known,
In the measurement area of the object, an image sensor is arranged which holds one right-angled part of the object in the approximate center of the visual field when the object is at the reference position of the measurement area. The image of the object is binarized according to the difference in brightness, the point sequences on the straight lines of the two sides orthogonal to each other in the above-mentioned right-angled portion on the object in the measurement area are extracted, and the point sequences are calculated for each straight line. A right angle characterized by calculating the equation of a straight line from the coordinates of each of the constituent points and measuring the positional deviation and posture angle of the object by calculation based on these equations and the known width and length of the object. A method for automatically measuring the positional deviation and posture angle of an object having a portion.
JP61073403A 1986-03-31 1986-03-31 Automatic measurement method of position deviation and posture angle of an object with right angle part Expired - Lifetime JPH0816606B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61073403A JPH0816606B2 (en) 1986-03-31 1986-03-31 Automatic measurement method of position deviation and posture angle of an object with right angle part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61073403A JPH0816606B2 (en) 1986-03-31 1986-03-31 Automatic measurement method of position deviation and posture angle of an object with right angle part

Publications (2)

Publication Number Publication Date
JPS62229014A JPS62229014A (en) 1987-10-07
JPH0816606B2 true JPH0816606B2 (en) 1996-02-21

Family

ID=13517194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61073403A Expired - Lifetime JPH0816606B2 (en) 1986-03-31 1986-03-31 Automatic measurement method of position deviation and posture angle of an object with right angle part

Country Status (1)

Country Link
JP (1) JPH0816606B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552230A (en) * 2020-04-03 2020-08-18 中国航发哈尔滨东安发动机有限公司 Single machine automatic alignment calculation-free processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52133050A (en) * 1976-04-30 1977-11-08 Hitachi Shipbuilding Eng Co Automatic welder
JPS5327450A (en) * 1976-08-26 1978-03-14 Sumitomo Metal Ind Method of and apparatus for angle
JPS5339156A (en) * 1976-09-21 1978-04-10 Nec Corp Pellet position detecting apparatus
JPS6038006B2 (en) * 1977-12-28 1985-08-29 キヤノン株式会社 thermal head

Also Published As

Publication number Publication date
JPS62229014A (en) 1987-10-07

Similar Documents

Publication Publication Date Title
JPH077446B2 (en) Part recognition method
US20220111530A1 (en) Work coordinate generation device
JPS6332306A (en) Non-contact three-dimensional automatic dimension measuring method
JP2558096B2 (en) Automatic measurement method of posture and size of object with straight line part
Jang et al. Metric localization using a single artificial landmark for indoor mobile robots
JPH0816606B2 (en) Automatic measurement method of position deviation and posture angle of an object with right angle part
JPH0816605B2 (en) Automatic measurement method of position deviation and posture angle of an object with straight line part
JPH0410002B2 (en)
Loch et al. Evaluation of SIFT in machine vision applied to industrial automation
US6526165B1 (en) Methods and apparatuses for refining a geometric description of an object having a plurality of extensions
JPH11231933A (en) Moving body stop position displacement amount detection device and automatic guided vehicle
JPH0810129B2 (en) Automatic measurement method of posture and dimension of target object
JPS62229009A (en) Automatic measuring method for attitude and dimensions of object with line sensor
JPS62185106A (en) Automatic measurement method of object posture using directional reference marks
JPH065545B2 (en) Figure recognition device
JPS62185103A (en) Automatic measurement method for positional deviation and attitude angle of object
JPS62185105A (en) Automatic measurement method of object posture and dimensions using directional reference marks, etc.
JPH04269194A (en) Plane measuring method
JP2694504B2 (en) Position measurement method of stepped work
JPH0451874B2 (en)
JPS62229008A (en) Automatic measuring method for positional deviation and angle of attitude of object with line sensor
JP2906450B2 (en) Method of detecting feature of object
JPS63304791A (en) Straight line pattern corresponding system in camera calibration
JPH0642943A (en) Camera tilt angle detection method
JPH0933247A (en) Image object detector

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term