JPH06347257A - Shape processing method - Google Patents

Shape processing method

Info

Publication number
JPH06347257A
JPH06347257A JP5136178A JP13617893A JPH06347257A JP H06347257 A JPH06347257 A JP H06347257A JP 5136178 A JP5136178 A JP 5136178A JP 13617893 A JP13617893 A JP 13617893A JP H06347257 A JPH06347257 A JP H06347257A
Authority
JP
Japan
Prior art keywords
point
temporary
straight line
points
upper plate
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.)
Granted
Application number
JP5136178A
Other languages
Japanese (ja)
Other versions
JP3100098B2 (en
Inventor
Toru Kaneko
透 金子
Masashi Okudaira
雅士 奥平
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP05136178A priority Critical patent/JP3100098B2/en
Publication of JPH06347257A publication Critical patent/JPH06347257A/en
Application granted granted Critical
Publication of JP3100098B2 publication Critical patent/JP3100098B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Image Analysis (AREA)

Abstract

(57)【要約】 【目的】 物体の輪郭の屈曲点位置を精度良く検出する
形状処理方法を提供する。 【構成】 平坦区間が長い輪郭点列については最小2乗
法に基づく直線または曲線でこれを近似し、平坦区間が
短い輪郭点列については、この点列を長い輪郭点列部分
で得られる板の方向に投影して精度よく端面を近似し、
これにより板厚の薄い重ね板形状であっても高精度に屈
曲点位置を検出する。
(57) [Abstract] [Purpose] To provide a shape processing method for accurately detecting a bending point position of an outline of an object. [Structure] For a contour point sequence having a long flat section, this is approximated by a straight line or a curve based on the least squares method, and for a contour point sequence having a short flat section, the point sequence of the plate obtained by the long contour point sequence part is used. Direction to project the end face with high accuracy,
As a result, the position of the bending point can be detected with high accuracy even if the shape of the laminated plate is thin.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、物体の輪郭を示すパタ
ーンデータからその輪郭の屈曲点位置を精度良く検出す
る形状処理方法に関し、更に詳しくは、例えば溶接ロボ
ットが溶接継手部の2つの溶接板材の境界である溝の位
置を高精度に検出するために使用する形状処理方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shape processing method for accurately detecting a bending point position of a contour from pattern data indicating the contour of an object, and more specifically, for example, a welding robot welds two welding joints. The present invention relates to a shape processing method used for highly accurately detecting the position of a groove that is a boundary between plate materials.

【0002】[0002]

【従来の技術】一般に物体表面を計測して得られた輪郭
線データにおいては、計測誤差によりその表す各輪郭点
の位置にばらつきがある。そして、このばらつきのある
点列から如何に精度よく屈曲点位置を見つけるかが重要
となり、従来からこの種の技術として、最小2乗法によ
り輪郭点列を直線あるいは曲線で近似できる区間に分割
し、得られた直線あるいは曲線どうしの交点を屈曲点位
置とするという方法が知られている(例えば、特願平4
−190796「パターン処理装置」)。
2. Description of the Related Art Generally, in contour line data obtained by measuring the surface of an object, there are variations in the position of each contour point represented by the measurement error. Then, it is important how to accurately find the bending point position from the sequence of points having this variation. Conventionally, as this type of technique, the contour point sequence is divided into sections that can be approximated by a straight line or a curve by the least square method, A method is known in which the intersection of the obtained straight lines or curves is set as the bending point position (for example, Japanese Patent Application No.
-190796 "Pattern processor").

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た最小2乗法に基づく方法においては、最小2乗近似す
べき点の数がある程度以上多い場合にはその精度が期待
できるが、例えば重ね板形状を示す輪郭点列のうちの上
板の端面部などで計測された点の数が少ない薄板重ねの
場合などは上板端面の形状および位置の検出誤差が大き
くなってしまう危険性が高い。
However, in the method based on the method of least squares described above, accuracy can be expected when the number of points to be approximated by least squares is large to some extent. In the case of a thin plate stack having a small number of points measured on the end face portion of the upper plate in the sequence of contour points shown, there is a high risk that the detection error of the shape and position of the upper plate end face becomes large.

【0004】本発明は、上記に鑑みてなされたもので、
その目的とするところは、物体の輪郭の屈曲点位置を精
度良く検出する形状処理方法を提供することにある。
The present invention has been made in view of the above,
An object of the invention is to provide a shape processing method for detecting the bending point position of the contour of an object with high accuracy.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明の形状処理方法は、接触する2つの板状物体
の重なり端面位置をセンシングデータの形状から決定す
る形状処理方法であって、輪郭形状を計測してこれを座
標点列に変換し、輪郭点列中の屈曲点候補を検出して、
これを仮屈曲点とし、隣合う2つの仮屈曲点の間の区間
が予め与えられた長さよりも短く、かつ該区間を中心部
とした場合に該仮屈曲点の各々を端点とした遠心方向に
ついて予め与えられた長さの区間に他の仮屈曲点が存在
しない場合に、与えられた輪郭点列は重ね板形状部分を
示しているものと判定し、また同時に該仮屈曲点はそれ
ぞれ重ね板の端面部分の仮上板角点と仮上下板接触端点
を示しているものと判定し、上記で得られた仮上板角点
を通る最小2乗近似直線または曲線の仮上板角点におけ
る傾きと等しい傾きを有する直線に対して、仮上板角点
と仮上下板接触点との間に存在する輪郭点列をセンシン
グ面と計測対象面とのなす角から演算せられる角度と直
交する直線上に1次元投影し、該投影点列の分布中のピ
ーク位置が最適な端面近似直線を与えるものと判定し、
該端面近似直線と前記仮上板近似直線または曲線との交
点を真の上板角点、該端面近似直線と下板近似直線また
は曲線との交点を真の上下板接触点と判定することを要
旨とする。
In order to achieve the above object, the shape processing method of the present invention is a shape processing method for determining an overlapping end face position of two plate-like objects which are in contact with each other from the shape of sensing data. Measure the contour shape and convert it to a sequence of coordinate points, detect the bending point candidates in the sequence of contour points,
Using this as a temporary bending point, the interval between two adjacent temporary bending points is shorter than a given length, and the centrifugal direction with each of the temporary bending points as an end point when the interval is the central portion When there is no other temporary bending point in the section of a given length, it is determined that the given contour point sequence indicates the overlapping plate-shaped portion, and at the same time, the temporary bending points overlap each other. It is determined that the temporary upper plate corner point and the temporary upper and lower plate contact end points of the end face part of the plate are indicated, and the least square approximation straight line or curved temporary upper plate corner point passing through the temporary upper plate corner point obtained above With respect to a straight line having a slope equal to the slope at, the contour point sequence existing between the temporary upper plate angle point and the temporary upper and lower plate contact points is orthogonal to the angle calculated from the angle formed by the sensing surface and the measurement target surface. One-dimensional projection on a straight line, and the peak position in the distribution of the projected point sequence is optimal. It determines that gives a surface approximate line,
It is determined that the intersection of the end face approximation line and the temporary upper plate approximation line or curve is a true upper plate corner point, and the intersection of the end face approximation line and the lower plate approximation line or curve is a true upper and lower plate contact point. Use as a summary.

【0006】[0006]

【作用】本発明の形状処理方法では、重ね板に用いる板
の端面が板面に対して直角に切ってあるというように板
面と端面とのなす角度が既知な場合が多いという性質を
利用して、平坦区間が長い輪郭点列については最小2乗
法に基づく直線または曲線でこれを近似し、平坦区間が
短い輪郭点列については、この点列を長い輪郭点列部分
で得られる板の方向に投影して精度よく端面を近似し、
これにより板厚の薄い重ね板形状であっても高精度に屈
曲点位置を検出する。
In the shape processing method of the present invention, the characteristic that the angle between the plate surface and the end surface is often known is used, such that the end surface of the plate used for the laminated plate is cut at a right angle to the plate surface. Then, for a contour point sequence having a long flat section, this is approximated by a straight line or a curve based on the least squares method, and for a contour point sequence having a short flat section, this point sequence of the plate obtained by the long contour point sequence part Direction to project the end face with high accuracy,
As a result, the position of the bending point can be detected with high accuracy even if the shape of the laminated plate is thin.

【0007】[0007]

【実施例】以下、図面を用いて本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は、本発明の一実施例に係わる形状処
理方法による処理の全体的流れを示すフローチャートで
あり、図2は図1に示す形状処理方法による処理の様子
を模式的に示す説明図である。図2において、点は輪郭
点列の位置を表し、点P,Qは仮屈曲点を表す。またL
0 ,L1 およびL2 は近似直線を表し、C1 はL1 とL
0 の交点を、C2 はL2 とL0 の交点を表す。ここで例
えば図の横軸をx軸に、縦軸をy軸にとって、輪郭点列
はn個の点からなる点列データ{(xm ,ym)|m=
1,2,…,n}であり、この点列データはxの値の小
さい順番に並んでいるものとする(これはy軸に沿った
方向からレーザレンジファインダで物体の断面輪郭線の
3次元座標を計測する場合に相当する)。
FIG. 1 is a flow chart showing an overall flow of processing by a shape processing method according to an embodiment of the present invention, and FIG. 2 is a schematic view showing a state of processing by the shape processing method shown in FIG. It is a figure. In FIG. 2, the points represent the positions of the contour point sequence, and the points P and Q represent the temporary bending points. Also L
0 , L 1 and L 2 represent approximate straight lines, and C 1 is L 1 and L
The intersection of 0 and C 2 represents the intersection of L 2 and L 0 . Here, for example, with the horizontal axis as the x-axis and the vertical axis as the y-axis, the contour point sequence is point sequence data consisting of n points {(x m , y m ) | m =
1, 2, ..., N}, and the point sequence data are arranged in ascending order of the value of x (this is 3 of the cross-sectional contour line of the object in the laser range finder from the direction along the y-axis). Equivalent to measuring dimensional coordinates).

【0009】次に、図1に示す処理について図2を参照
しながら説明する。
Next, the processing shown in FIG. 1 will be described with reference to FIG.

【0010】図1においては、まずレーザレンジファイ
ンダ等により計測対象物体の断面輪郭線を計測し、輪郭
点列座標データを取得する(ステップ110)。そし
て、このように計測された輪郭点列に対して仮屈曲点を
求める(ステップ120)。このとき輪郭点列は計測誤
差などのためにその位置にばらつきがあるので、仮屈曲
点の位置もそのばらつきの影響を受ける。仮屈曲点の求
め方は種々考えられるが、例えば適当な自然数kの値に
対して
In FIG. 1, first, the cross-sectional contour line of the object to be measured is measured by a laser range finder or the like, and contour point sequence coordinate data is acquired (step 110). Then, a temporary bending point is obtained for the contour point sequence measured in this way (step 120). At this time, the position of the contour point sequence varies due to a measurement error or the like, so that the position of the temporary bending point is also affected by the variation. There are various methods of obtaining the temporary bending point, but for example, for an appropriate value of natural number k

【数1】 θ=arctan{(ym+k −ym )/(xm+K −xm )} −arctan{(ym-k −ym )/(xm-k −xm )} (1) を求めると、この値は輪郭点(xm ,ym )についてそ
の輪郭線に沿った前方向と後方向の傾きの差を表し、例
えば輪郭点が直線上にあればθ=0となり、一方輪郭点
が直角の屈曲点であれば|θ|=90度となる。従っ
て、|θ|がある予め与えられたしきい値角度より大き
い点についてその極大値を与える点を仮屈曲点とすれば
よい。なお、θの符号は屈曲点が図形の凹の部分か凸の
部分かを表し、θ<0なら上に凸、θ>0なら下に凸を
示す。以下では、上に凸の点を山点、下に凸の点を谷点
とよぶことにする。図2においては、上に凸の仮屈曲点
(仮山点)P、下に凸の仮屈曲点(仮谷点)Qが求めら
れたとし、両点の座標をそれぞれ(xp ,yp ),(x
q ,yq )とする(p<q)。
[Number 1] θ = arctan {(y m + k -y m) / (x m + K -x m)} -arctan {(y mk -y m) / (x mk -x m)} (1) This value represents the difference between the forward and backward inclinations of the contour point (x m , y m ) along the contour line. For example, if the contour point is on a straight line, θ = 0, while If the contour point is a right-angled bending point, | θ | = 90 degrees. Therefore, with respect to a point where | θ | is larger than a certain threshold angle given in advance, a point giving the maximum value may be set as a temporary bending point. The sign of θ indicates whether the bending point is a concave portion or a convex portion of the figure. If θ <0, it is convex upward, and if θ> 0, it is convex downward. In the following, a point that is convex upward is called a mountain point, and a point that is convex downward is called a valley point. In Figure 2, the temporary bending point upward convex (Kariyamaten) P, a temporary bending points downward convex (Kariya point) Q is determined, respectively the coordinates of the two points (x p, y p) , (X
q , y q ) (p <q).

【0011】次のステップ130では、検出された仮屈
曲点の組み合わせから測定対象が薄板重ねであるかある
いは他の形状であるかを判定する。具体的には得られた
仮屈曲点群から、 互いの距離が予め定められた長さ(板厚を反映した
量)以内である、 それぞれの角度の符号が反対である、 相手の仮屈曲点とは反対の方向について、予め与えら
れた長さd1 の区間には第3の仮屈曲点が存在しない という条件を満たす仮屈曲点の組が存在する場合に、測
定対象部分が薄板重ね部分であると判定する。図2にお
いては、仮山点Pと仮谷点Qの組が上記条件を満たして
いる。このとき、仮山点Pと仮谷点Qとの間の区間を仮
端面区間、仮山点Pから仮谷点Qとは反対の方向に延び
る点列区間を仮上板区間とみなし、また仮谷点Qから仮
山点Pとは反対方向に延びる点列区間を仮下板区間とみ
なす。なおこの判定処理において、薄板重ね部分ではな
いと判定された場合は、他の断面形状を有する対象とし
て、以降の処理を例えば特願平4−190796「パタ
ーン処理装置」で示されている手法で実現することとす
る。
In the next step 130, it is determined from the combination of the detected temporary bending points whether the object to be measured is a thin plate stack or another shape. Specifically, from the obtained temporary bending point group, the mutual distance is within a predetermined length (amount that reflects the plate thickness), the signs of the respective angles are opposite, the other temporary bending point In the direction opposite to the direction, when there is a set of temporary bending points satisfying the condition that the third temporary bending point does not exist in the section of the predetermined length d 1 , the measurement target portion is the thin plate overlapping portion. It is determined that In FIG. 2, the set of the temporary peak points P and the temporary valley points Q satisfies the above conditions. At this time, the section between the temporary mountain point P and the temporary valley point Q is regarded as the temporary end face section, the point sequence section extending from the temporary mountain point P in the direction opposite to the temporary valley point Q is regarded as the temporary upper plate section, and the temporary valley point is also considered. The point sequence section extending from Q in the direction opposite to the temporary mountain point P is regarded as the temporary lower plate section. In addition, in this determination process, when it is determined that the thin plate is not the overlapped part, the subsequent process is performed by a method described in Japanese Patent Application No. 4-190796 “Pattern processing device”, for example, as a target having another cross-sectional shape. It will be realized.

【0012】次に、ステップ130で得られた仮上板区
間および仮下板区間のそれぞれについて、点列を最小2
乗法に基づき直線または曲線にて近似を行い、上板近似
直線または上板近似曲線と下板近似直線または下板近似
曲線を得る(ステップ140)。直線近似とするか曲線
近似とするかについては、重ね板が平板である場合には
直線近似が有効であるが、板が湾曲している場合には曲
線近似が必要となるので、これに従うこととする。但
し、曲線近似の場合でも重ね部分の近傍を局所的に見た
場合には曲率がそれほど大きくないので、例えば特願平
4−190796「パターン処理装置」に示されている
ような放物線で近似するのが適当である。図2では、上
板近似直線L1 と下板近似直線L2 が得られた例を示し
ている。
Next, for each of the temporary upper plate section and the temporary lower plate section obtained in step 130, the point sequence is set to a minimum of 2.
Approximation is performed with a straight line or a curve based on the multiplication method to obtain an upper plate approximate straight line or an upper plate approximate curve and a lower plate approximate straight line or a lower plate approximate curve (step 140). Regarding the linear approximation or the curved approximation, the linear approximation is effective when the laminated plate is a flat plate, but the curved approximation is necessary when the plates are curved, so follow this. And However, even in the case of the curve approximation, the curvature is not so large when the vicinity of the overlapped portion is locally seen, and therefore the approximation is performed by a parabola as shown in Japanese Patent Application No. 4-190796 “Pattern processing apparatus”. Is appropriate. FIG. 2 shows an example in which the upper plate approximate straight line L 1 and the lower plate approximate straight line L 2 are obtained.

【0013】それから、ステップ140で得られた上板
近似直線または近似曲線に対して仮端面区間の点列を投
影させて、その近似直線を得る(ステップ150)。こ
こで前提として、検出すべき端面は上板の一部であり、
その上板の平面部とのなす角度が既知である(一般的に
は直角)と仮定している。具体的には、上板が y=b1 ・x+c1 なる直線で近似表現されており、いま上板面部分を表す
直線と端面部分を表す直線とのなす角度が既知の値φで
あるとしているので、端面部分を表す直線の傾きb0
Then, the point sequence of the temporary end face section is projected on the upper plate approximate straight line or approximate curve obtained in step 140 to obtain the approximate straight line (step 150). As a premise here, the end face to be detected is a part of the upper plate,
It is assumed that the angle formed by the flat portion of the upper plate is known (generally right angle). Specifically, the upper plate is approximately represented by a straight line y = b 1 · x + c 1, and it is assumed that the angle formed by the straight line representing the upper plate surface portion and the straight line representing the end surface portion is a known value φ. Therefore, the slope b 0 of the straight line representing the end face is

【数2】 b0 =(b1 ・cotφ+1)/(cotφ−b1 ) と表される。また上板が y=a1 ・x2 +b・x+c1 なる放物線で近似表現されている場合は、[Expression 2] b 0 = (b 1 · cotφ + 1) / (cotφ−b 1 ) If the upper plate is approximated by a parabola y = a 1 · x 2 + b · x + c 1 ,

【数3】 b0 ={(2a1 ・xp +b1 )・cotφ+1}/
{cotφ−(2a1 ・xp +b1 )} と表される。なおここで角度φは、ステップ110にお
ける輪郭点列の取得の際の光学配置に関する条件によっ
て、その扱いが異なる。一つの場合として、計測に用い
たレーザビームが走査される平面(またはレーザスリッ
ト光のなす平面)が上板の上面に対して垂直の関係にあ
る場合には、重ね板材の上面と端面のなす角度φ0 その
ものがφとなる。もう一つの場合は上記の光学配置関係
が満たされていない場合で、その場合はレーザビーム走
査面(またはレーザスリット面)が上板平面および上下
板重ね部分の溝線の向かう方向に対してなす角度によ
り、φはφ0 から変化する。但し、この場合も、例えば
溶接においては溶接すべき重ね板の上板面および溶接溝
の進む方向とセンサとの位置関係は常に把握しながら溶
接作業が進行するので、角度φをその都度算出すること
は可能である。さて、このようにして得られたb0 につ
いて、仮端面部の点列が傾きb0 の直線の上に本来乗っ
ているべきものとすれば、仮端面部の各点{(xr ,y
r )|r=p,p+1,p+2,…,q−1,q}は yr =b0 ・xr +c0 を満たすことになる。ここに、ノイズ等の影響で各点は
必ずしも同一の直線を示さず、c0 の値にばらつきが生
ずるが、このc0 は真の値の周りにばらつくことが予想
されるので、得られたc0 の値で最も密集した値を最適
なc0 とすればよい。
B 0 = {(2a 1 · x p + b 1 ) · cot φ + 1} /
It is expressed as {cot φ- (2a 1 · x p + b 1 )}. Here, the angle φ is handled differently depending on the conditions regarding the optical arrangement when the contour point sequence is acquired in step 110. In one case, when the plane scanned by the laser beam used for measurement (or the plane formed by the laser slit light) is perpendicular to the upper surface of the upper plate, the upper surface of the laminated plate and the end surface are formed. The angle φ 0 itself becomes φ. In the other case, the above optical arrangement relationship is not satisfied, and in that case, the laser beam scanning surface (or laser slit surface) is formed in the direction of the groove line of the upper plate flat surface and the upper and lower plate overlapping portions. Φ changes from φ 0 depending on the angle. However, even in this case, for example, in welding, the welding work proceeds while always grasping the positional relationship between the upper plate surface of the laminated plate to be welded and the welding groove and the position of the sensor, so the angle φ is calculated each time. It is possible. Now, with respect to b 0 obtained in this way, assuming that the point sequence of the temporary end face portion should originally lie on the straight line with the slope b 0 , each point of the temporary end face portion {(x r , y
r ) | r = p, p + 1, p + 2, ..., q-1, q} satisfies y r = b 0 · x r + c 0 . Here, each point does not necessarily show the same straight line due to the influence of noise and the like, and the value of c 0 varies, but this c 0 is expected to vary around the true value, so it was obtained. the densest value by the value of c 0 may be set to the optimum c 0.

【0014】しかし、現実的には、b0 の値が大きい場
合にはc0 の値の変動が大きくなり、このような場合に
0 の密集値を求めることは困難である。そこで、傾き
がb0 の直線と直交し、かつ原点を通る直線y=−x/
0 に対して点(xr ,yr)から垂線をおろし、その
交点についての密集位置を検出することとする。即ち、
次の連立方程式 y=b0 ・x+cr , cr =yr −b0 ・xr y=−x/b0 を解いて交点位置を求め、その交点の原点からの距離c
* を求めると
However, in reality, when the value of b 0 is large, the fluctuation of the value of c 0 becomes large, and in such a case, it is difficult to obtain the dense value of c 0 . Therefore, a straight line y = −x / that is orthogonal to the straight line having the slope b 0 and passes through the origin.
A perpendicular line is drawn from the point (x r , y r ) with respect to b 0 , and the dense position at the intersection is detected. That is,
The following simultaneous equations y = b 0 · x + cr , cr = yr −b 0 · x r y = −x / b 0 are solved to find the intersection point, and the distance c from the origin of the intersection point
If you ask for *

【数4】 が得られる。そこで各点についてc* を求め、この密集
位置を検出する。密集位置の検出方法としては、c*
ついて一定の刻み区間でその出現個数を計数するヒスト
グラムを作成し、その頻度のピークを与える区間の中心
値となるc* を求めて、次式により最適なc0 を定め
る。
[Equation 4] Is obtained. Therefore, c * is obtained for each point and this dense position is detected. As a method of detecting a dense position, a histogram is created that counts the number of appearances of c * in a constant step interval, and c * that is the center value of the interval giving the peak of the frequency is obtained, and the optimum value is calculated by the following formula. Define c 0 .

【0015】[0015]

【数5】 なお、この操作は、仮端面区間の点列を端面部がなすべ
き直線と直交する直線上に1次元投影して、その投影像
のうちで最も頻度の高い部分を選択することに相当す
る。
[Equation 5] Note that this operation corresponds to one-dimensionally projecting the point sequence in the temporary end face section onto a straight line orthogonal to the straight line that the end face portion should make, and selecting the most frequent part of the projected image.

【0016】図2(b)は仮端面区間点列{(xr ,y
r )|r=p,p+1,p+2,…,q−1,q}を上
板近似直線L1 に投影処理している有り様を模式的に示
している。
FIG. 2B shows a temporary end face section point sequence {(x r , y
r ) | r = p, p + 1, p + 2, ..., q-1, q} is schematically shown as being projected onto the upper plate approximate straight line L 1 .

【0017】次のステップ160では、ステップ140
で得られた近似直線または近似曲線とステップ150で
得られた端面を表す近似直線の交点を求める。具体的に
は、上板と端面部との交点として、 y=a1 ・x2 +b1 ・x+c1 y= br ・x+c0 なる連立方程式を解けばよい(上板が直線近似の場合
は、a1 =0となる)。また下板と端面部との交点とし
て y=a2 ・x2 +b2 ・x+c2 y= br ・x+c0 なる連立方程式を解けばよい(下板が直線近似の場合
は、a2 =0となる)。図2では、上板近似直線L1
端面近似直線L0 の交点としてC1 が、下板近似直線L
2 と端面近似直線L0 の交点としてC2 が得られてい
る。
In the next step 160, step 140
An intersection of the approximate straight line or the approximate curve obtained in step 150 and the approximate straight line representing the end face obtained in step 150 is obtained. Specifically, as an intersection of the upper plate and the end face part, it is sufficient to solve a simultaneous equation of y = a 1 · x 2 + b 1 · x + c 1 y = br · x + c 0 (when the upper plate is a linear approximation , A 1 = 0). Also, the simultaneous equation of y = a 2 · x 2 + b 2 · x + c 2 y = br · x + c 0 should be solved as the intersection of the lower plate and the end face portion (a 2 = 0 when the lower plate is a linear approximation). Will be). In FIG. 2, C 1 is the intersection of the upper plate approximate straight line L 1 and the end face approximate straight line L 0 , and the lower plate approximate straight line L
C 2 is obtained as the intersection of 2 and the end face approximation line L 0 .

【0018】図3は、本発明の一実施例に係わる形状処
理方法を実施する装置の構成を示すブロック図である。
図4は図3の装置の作用を示すフローチャートである。
FIG. 3 is a block diagram showing the arrangement of an apparatus for carrying out the shape processing method according to the embodiment of the present invention.
FIG. 4 is a flow chart showing the operation of the apparatus of FIG.

【0019】図3の装置の作用を図4のフローチャート
に従って説明する。図3においては、まずレーザレンジ
ファインダ等で実現される輪郭形状計測部1が対象物体
の断面輪郭形状を計測し(図4のステップ210)、そ
の座標点列を輪郭点列蓄積部2に蓄積する(ステップ2
20)。輪郭点列蓄積部2に蓄積された輪郭点列に対
し、仮屈曲点検出部3が式(1)の計算により得られる
θと予め与えられた閾値角度との比較および極大・極小
点検出を行って仮屈曲点の位置を求め、これを仮屈曲点
蓄積部4に蓄積する(ステップ230)。そして、断面
形状判定部5は、仮屈曲点蓄積部4に蓄積された仮屈曲
点に対して、図1のステップ130で示した薄板重ねの
条件を満たしているかどうかを調べる(ステップ24
0)。そして、もし条件を満たしている仮屈曲点が存在
していたら、これらを仮上板角点および仮上下板接触端
点として輪郭点列蓄積部2に蓄積されている輪郭点列を
仮上板区間点列、仮端面区間点列、仮下板区間点列とし
て、それぞれ仮上板区間点列蓄積部6、仮端面区間点列
蓄積部7、仮下板区間点列蓄積部8に蓄積する(ステッ
プ250)。これらの蓄積された各点列について、上板
部分近似部9および下板部分近似部10はそれぞれの点
列を直線または曲線にて最小2乗法に基づき近似し(ス
テップ260,270)、その結果を近似線群蓄積部1
2に蓄積する。端面部分近似部11は、上板部分近似部
9で得られた上板の傾き情報および角度演算部13で演
算された上板面部分の直線と端面部分の直線とのなす角
度をもとに、図1のステップ150で示した処理を行っ
て端面部分の直線近似を行い、その結果を近似線群蓄積
部12にする(ステップ280,290)。最後に、近
似線群蓄積部12に蓄積された近似直線および近似曲線
に対して、交点検出部14は交点を検出する(ステップ
300〜320)。
The operation of the apparatus of FIG. 3 will be described with reference to the flowchart of FIG. In FIG. 3, first, the contour shape measuring unit 1 realized by a laser range finder or the like measures the cross-sectional contour shape of the target object (step 210 in FIG. 4) and stores the coordinate point sequence in the contour point sequence storage unit 2. Yes (Step 2
20). For the contour point string accumulated in the contour point string accumulating section 2, the temporary bending point detecting section 3 compares θ obtained by the calculation of the equation (1) with a preset threshold angle and detects the maximum and minimum points. Then, the position of the temporary bending point is obtained, and this is stored in the temporary bending point storage unit 4 (step 230). Then, the cross-sectional shape determination unit 5 checks whether the temporary bending points stored in the temporary bending point storage unit 4 satisfy the thin plate overlapping condition shown in Step 130 of FIG. 1 (Step 24).
0). If there are provisional bending points that satisfy the conditions, the contour point sequence accumulated in the contour point sequence accumulating unit 2 is used as the provisional upper plate corner point and the provisional upper and lower plate contact end points to determine the provisional upper plate section. A point sequence, a temporary end face section point sequence, and a temporary lower plate section point sequence are accumulated in the temporary upper plate section point sequence accumulation unit 6, the temporary end face section point sequence accumulation unit 7, and the temporary lower plate section point sequence accumulation unit 8, respectively ( Step 250). For each of these accumulated point sequences, the upper plate partial approximation unit 9 and the lower plate partial approximation unit 10 approximate the respective point sequences with a straight line or a curve based on the least squares method (steps 260 and 270), and the result is obtained. Approximate line group storage unit 1
Accumulate to 2. The end surface part approximating unit 11 is based on the inclination information of the upper plate obtained by the upper plate part approximating unit 9 and the angle between the straight line of the upper plate surface portion calculated by the angle calculation unit 13 and the straight line of the end surface portion. The process shown in step 150 of FIG. 1 is performed to perform the linear approximation of the end face portion, and the result is used as the approximate line group accumulating unit 12 (steps 280 and 290). Finally, the intersection detection unit 14 detects intersections with respect to the approximate straight line and the approximate curve accumulated in the approximate line group accumulating unit 12 (steps 300 to 320).

【0020】図5は、本発明の他の実施例に係わる形状
処理方法を実施する装置の構成を示すブロック図であ
る。同図に示す実施例は、図3に示した実施例において
角度演算部13を除去したものであり、その他の構成お
よび作用は図3に示すものと同じである。図3の実施例
では、常にレーザビーム走査面(またはレーザスリット
面)のなす角度が計測対象に対して一定となるようにし
て輪郭点座標を取得するように構成したものである。従
って、図3に示す角度演算部13が不要となっている。
FIG. 5 is a block diagram showing the configuration of an apparatus for carrying out the shape processing method according to another embodiment of the present invention. The embodiment shown in the figure is obtained by removing the angle calculation unit 13 from the embodiment shown in FIG. 3, and other configurations and operations are the same as those shown in FIG. In the embodiment of FIG. 3, the contour point coordinates are acquired so that the angle formed by the laser beam scanning surface (or laser slit surface) is always constant with respect to the measurement target. Therefore, the angle calculator 13 shown in FIG. 3 is unnecessary.

【0021】[0021]

【発明の効果】以上説明したように、本発明によれば、
平坦区間が長い輪郭点列については最小2乗法に基づく
直線または曲線でこれを近似し、平坦区間が短い輪郭点
列については、この点列を長い輪郭点列部分で得られる
板の方向に投影して精度よく端面を近似し、これにより
板厚の薄い重ね板形状であっても高精度に屈曲点位置を
検出することができるので、例えば薄板用溶接ロボット
に搭載する視覚センサのデータ処理に適用すれば溶接ロ
ボットは溝点を目はずしせずに良質な溶接を行うことが
できる。
As described above, according to the present invention,
For a contour point sequence with a long flat section, this is approximated by a straight line or a curve based on the least-squares method. For a contour point sequence with a short flat section, this point sequence is projected in the direction of the plate obtained in the long contour point sequence section. By accurately approximating the end faces, and this makes it possible to detect the bending point position with high accuracy even in the case of thin laminated plates, it can be used, for example, for data processing of a visual sensor mounted on a welding robot for thin plates. If applied, the welding robot can perform high-quality welding without missing the groove points.

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

【図1】本発明の一実施例に係わる形状処理方法の処理
の全体的流れを示すフローチャートである。
FIG. 1 is a flowchart showing an overall flow of processing of a shape processing method according to an embodiment of the present invention.

【図2】図1に示す形状処理方法の処理の様子を模式的
に示す説明図である。
FIG. 2 is an explanatory diagram schematically showing how the shape processing method shown in FIG. 1 performs processing.

【図3】本発明の一実施例に係わる形状処理方法を実施
する装置の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an apparatus for carrying out a shape processing method according to an embodiment of the present invention.

【図4】図3に示す装置の作用を示すフローチャートで
ある。
4 is a flowchart showing the operation of the apparatus shown in FIG.

【図5】本発明の他の実施例に係わる形状処理方法を実
施する装置の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an apparatus for carrying out a shape processing method according to another embodiment of the present invention.

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

1 輪郭形状計測部 2 輪郭点列蓄積部 3 仮屈曲点検出部 4 仮屈曲点蓄積部 5 断面形状判定部 6 仮上板区間点列蓄積部 7 仮端面区間点列蓄積部 8 仮下板区間点列蓄積部 9 上板部分近似部 10 下板部分近似部 11 端面部分近似部 12 近似線群蓄積部 13 角度演算部 14 交点検出部 1 Contour shape measuring unit 2 Contour point sequence accumulating unit 3 Temporary bending point detecting unit 4 Temporary bending point accumulating unit 5 Cross section shape determining unit 6 Temporary upper plate section point sequence accumulating section 7 Temporary end face section point sequence accumulating section 8 Temporary lower plate section Point sequence accumulation section 9 Upper plate approximation section 10 Lower plate approximation section 11 End face section approximation section 12 Approximate line group accumulation section 13 Angle calculation section 14 Intersection detection section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 接触する2つの板状物体の重なり端面位
置をセンシングデータの形状から決定する形状処理方法
であって、輪郭形状を計測してこれを座標点列に変換
し、輪郭点列中の屈曲点候補を検出して、これを仮屈曲
点とし、隣合う2つの仮屈曲点の間の区間が予め与えら
れた長さよりも短く、かつ該区間を中心部とした場合に
該仮屈曲点の各々を端点とした遠心方向について予め与
えられた長さの区間に他の仮屈曲点が存在しない場合
に、与えられた輪郭点列は重ね板形状部分を示している
ものと判定し、また同時に該仮屈曲点はそれぞれ重ね板
の端面部分の仮上板角点と仮上下板接触端点を示してい
るものと判定し、上記で得られた仮上板角点を通る最小
2乗近似直線または曲線の仮上板角点における傾きと等
しい傾きを有する直線に対して、仮上板角点と仮上下板
接触点との間に存在する輪郭点列をセンシング面と計測
対象面とのなす角から演算せられる角度と直交する直線
上に1次元投影し、該投影点列の分布中のピーク位置が
最適な端面近似直線を与えるものと判定し、該端面近似
直線と前記仮上板近似直線または曲線との交点を真の上
板角点、該端面近似直線と下板近似直線または曲線との
交点を真の上下板接触点と判定することを特徴とする形
状処理方法。
1. A shape processing method for determining an overlapping end face position of two plate-like objects that are in contact with each other from a shape of sensing data, the contour shape is measured, and this is converted into a coordinate point sequence. Is detected as a temporary bending point, the interval between two adjacent temporary bending points is shorter than a predetermined length, and the temporary bending is performed when the interval is the central portion. When there is no other temporary bending point in the section of the length given in advance for the centrifugal direction with each of the points as the end points, it is determined that the given contour point sequence indicates the laminated plate shape portion, At the same time, it is determined that the temporary bending points respectively indicate the temporary upper plate corner point and the temporary upper and lower plate contact end points of the end face portion of the laminated plate, and the least-squares approximation passing through the temporary upper plate corner points obtained above. A straight line or a straight line with a slope equal to the slope of the temporary upper plate corner On the other hand, the contour point sequence existing between the temporary upper plate corner point and the temporary upper and lower plate contact points is one-dimensionally projected on a straight line orthogonal to the angle calculated from the angle formed by the sensing surface and the measurement target surface, It is determined that the peak position in the distribution of the projected point sequence gives the optimum end face approximation straight line, and the intersection point of the end face approximation straight line and the temporary upper plate approximation straight line or curve is the true upper plate corner point, the end face approximation. A shape processing method characterized in that an intersection of a straight line and a lower plate approximate straight line or a curve is determined as a true upper and lower plate contact point.
【請求項2】 輪郭点列を1次元投影する角度方向をセ
ンシング面と計測対象面とのなす角から演算することな
く、予め与えられた角度方向とすることを特徴とする請
求項1記載の形状処理方法。
2. The angle direction for one-dimensionally projecting a contour point sequence is set to a predetermined angle direction without calculating from the angle formed by the sensing surface and the measurement target surface. Shape processing method.
JP05136178A 1993-06-07 1993-06-07 Shape processing method Expired - Lifetime JP3100098B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05136178A JP3100098B2 (en) 1993-06-07 1993-06-07 Shape processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05136178A JP3100098B2 (en) 1993-06-07 1993-06-07 Shape processing method

Publications (2)

Publication Number Publication Date
JPH06347257A true JPH06347257A (en) 1994-12-20
JP3100098B2 JP3100098B2 (en) 2000-10-16

Family

ID=15169161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05136178A Expired - Lifetime JP3100098B2 (en) 1993-06-07 1993-06-07 Shape processing method

Country Status (1)

Country Link
JP (1) JP3100098B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022030356A (en) * 2020-08-07 2022-02-18 Jfeエンジニアリング株式会社 Information processing equipment, information processing methods, and programs

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8709989B2 (en) 2004-10-19 2014-04-29 Nippon Oil Corporation Lubricant composition and antioxident composition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022030356A (en) * 2020-08-07 2022-02-18 Jfeエンジニアリング株式会社 Information processing equipment, information processing methods, and programs

Also Published As

Publication number Publication date
JP3100098B2 (en) 2000-10-16

Similar Documents

Publication Publication Date Title
CN112561854B (en) A Weld Seam Detection Method Based on Line Structured Light Point Cloud
CN114088021A (en) Steel rail straightness detection method based on non-contact sensor combined positioning
JP3126288B2 (en) Method of measuring rail rail shape
CN108262583B (en) Weld type judgment and positioning method and system
CN110127521B (en) Steel coil center coordinate detection device and method
JP3100098B2 (en) Shape processing method
JP4762851B2 (en) Cross-sectional shape detection method and apparatus
JP3151790B2 (en) Method and apparatus for detecting center position of weld groove / bead
TWI644851B (en) Steel coil center coordinate detecting device and method thereof
JP2856711B2 (en) Position detection method
CN117455864A (en) A corrugated plate weld feature point detection method and system
JPH08136213A (en) Member edge position detection method
JPH07218227A (en) Method and apparatus for measuring sectional shape
JP3426912B2 (en) Shape recognition method and device
JPH06313705A (en) Steel slab shape detection device and method
JP3581506B2 (en) Shape processing method
JP2870720B2 (en) Measuring method of diameter of cylindrical object
JPH08271226A (en) Method and apparatus for measuring cross-sectional dimension of H-section steel
JP7643271B2 (en) Overhead line equipment measuring device and overhead line equipment measuring method
JP3025577B2 (en) Shape processing method
JPH06109442A (en) Three-dimensional position detector
JPH0130183B2 (en)
JP3072873B2 (en) Pattern processing equipment
JPH10339614A (en) Method and device for determining weld line center position
JP3293157B2 (en) Point closed area search processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070818

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080818

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080818

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130818

Year of fee payment: 13

EXPY Cancellation because of completion of term