【0001】
【発明の属する技術分野】
本発明は、アーク溶接ロボットを用い、予め定められた作業内容を再生動作するようにした自動溶接機における開先検出方法にかかり、特に、溶接線の3次元位置を検出し、予め教示された溶接線を補正するの好適な開先検出方法に関するものである。
【0002】
【従来の技術】
予め定められた作業内容を再生動作するようにした自動溶接機における溶接作業において、良好な溶接結果を得るためには、溶接トーチをワークの開先位置に正確に位置決めして溶接を行うことが必要である。しかし、溶接するワークの寸法のバラツキ、あるいは自動溶接機に対するワークの取付け位置のバラツキなどにより、開先位置は必ずしも一定にはならない。
【0003】
そこで、特開平2−92458号公報に開示された開先位置検出方法が提案されている。この開先検出方法においては、比較的大きな間隔でステッキセンシングを行って開先位置を検出した後、開先内で比較的小さな間隔でステッキセンシングを行い開先線の交点を検出するようにしている。
【0004】
このような開先検出方法においては、多種類の継ぎ手形式の開先の検出を行うことができ、しかも、ワークの取付け状態にかかわらず開先内外の判断を行うことができるので、開先の交点を正確に検出することができる。
【0005】
【発明が解決しようとする課題】
しかし、ステッキセンシングでは溶接トーチを、比較的粗い間隔で、突き合わされた母材と平行な方向への移動と、垂直な方向への移動を行い開先の位置を検出した後、開先内を比較的細かい間隔で母材と平行な方向への移動と、垂直な方向への移動を行い溶接開始位置を検出するように、検出操作を繰返し行うため時間がかかり、作業能率を低下させることがある。
【0006】
上記の事情に鑑み、本発明の目的は、より短時間で開先の3次元位置の検出が行えるようにした自動溶接機における開先検出方法を提供することにある。
【0007】
【課題を解決するための手段】
上記の目的を達成するため、本発明においては、ワークと溶接トーチとの相対位置および姿勢を空間3軸で制御して溶接を行なう自動溶接機で、溶接トーチにレーザ変位計を付設して開先位置を検出する開先検出方法であって、ワークの溶接開始位置側で、ワークを構成する母材の表面もしくは開先交線を前記空間3軸のうちの1軸に略直交させるように配置し、レーザ変位計を前記ワークを構成する一方の母材に向け、レーザ変位計による検出を行ないながら母材が検出されるまで移動させ、レーザ変位計の出力が所定の値になったとき、レーザ変位計を所定の角度回転させて母材に対するレーザ変位計の姿勢を確認し、空間3軸におけるその位置の座標を記憶し、レーザ変位計を他方の母材に向け、レーザ変位計による検出を行ないながら母材が検出されるまで移動させ、レーザ変位計の出力が所定の値になったとき、母材に対するレーザ変位計の姿勢を確認し、空間3軸におけるその位置の座標を記憶するとともに、レーザ変位計と前記他方の母材との距離を維持した状態で、レーザ変位計をワークの溶接終了位置側へ所定の距離移動させた後、レーザ変位計を前記一方の母材に向けて所定の角度回転させるとともに、レーザ変位計を前記他方の母材に沿って移動させ、レーザ変位計の出力が所定の値になったとき、空間3軸におけるその位置の座標を記憶して、記憶された各座標位置から、溶接線の3次元位置を算出するようにした。
【0008】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて説明する。
図1および図2は、本発明における開先検出方法を示すフローチャート。図3は、アーク溶接ロボットを用いた自動溶接機の構成図。図4は、図3における溶接トーチ部の拡大図。図5、図6は、開先検出のためのレーザ変位計の移動状態を示す図。図7は、レーザ変位計の出力特性図。図8は、ワークに対するレーザ変位計の傾きを示す図である。
【0009】
図3において、4は多関節型のアーク溶接ロボットで、その手首部5には、溶接ワイヤ3が供給される溶接トーチ6が取り付けられている。7はロボット制御盤で、アーク溶接ロボット4を制御し、溶接トーチ6の位置と姿勢を空間3軸で制御する。
【0010】
8はティーチングボックスで、予め定められた作業内容をアーク溶接ロボット4に教示する際に、溶接トーチ6の移動経路、姿勢などを指示したり、あるいは手動で移動される溶接トーチ6の移動経路、姿勢を検出してロボット制御盤7の記憶装置に登録する。
【0011】
10はコントローラで、溶接トーチ6の付設された検出装置への電源供給や、検出装置からの検出信号の増幅を行なう。11はコントロールユニットで、検出装置の検出信号に基づいて、検出装置の位置、角度などの設定、修正を行なう。
【0012】
13はポジショナで、アーク溶接ロボット4と対向するように配置され、ワーク12を、その表面もしくは開先交線が空間3軸の内の1軸と略直交するように支持し固定する。
【0013】
図4において、14は取付治具で、溶接トーチ6に固定されている。15は駆動装置で、取付治具14に固定されている。16は駆動軸で、駆動装置15から突出している。9は検出装置としてのレーザ変位計で、その測定軸が溶接トーチ6の溶接方向と平行になるように駆動軸16に固定されている。17はシャッタで、レーザ変位計9の前面を覆い、溶接作業時にレーザ変位計9をスパッタから保護するように、前記駆動装置15に回動可能に支持されている。
【0014】
上記の構成において、ワーク12の開先を検出する手順を、図1、図2および図4ないし図8に基づいて説明する。
まず、ポジショナ13にワーク12を所定の姿勢で固定し、溶接開始位置から終了位置まで、溶接線に沿って通常の教示をおこなう。
【0015】
ついで、開先検出のために必要な諸データを教示する。
【0016】
(a)図5に示すように、溶接開始位置Pfにおいて、ワーク12の予測されるずれを考慮して、レーザ変位計9を、開先検出のための待機位置P0、検出開始位置P1に移動させ、各位置の空間3軸における座標x、y、zを設定する。
【0017】
(b)検出開始位置P1から検出動作を行う方向を設定する(ワーク12を構成する一方の母材Aに近接する方向と、他方の母材Bに近接する方向)。
【0018】
(c)検出する継手の形状を設定する(レ字形継手、V字形継手の場合には、その幅および深さも設定する)。
【0019】
(d)検出のためのトーチの移動距離lを設定する。
【0020】
なお、前記座標x、y、xは、図5に示すように、たとえば、x軸は直交する一方の母材Bと平行な方向、y軸は他方の母材Aと平行な方向、z軸は開先線と平行な方向として設定している。
【0021】
ポジショナ13にワーク12を取り付けた後、検出開始指令を与える。すると、アーク溶接ロボット4が作動して、図5に示すように、レーザ変位計を待機位置P0へ位置決めする(ステップS1)。ついで、レーザ変位計を、検出開始位置P1へ移動させた後、検出開始位置P1から所定の速度で母材Aに向けて移動させる(ステップ2)。レーザ変位計の移動開始とともに、レーザ変位計の検出動作を開始させる(ステップS3)。
【0022】
レーザ変位計が移動している間、レーザ変位計が母材Aを検出可能な位置に到達したか否かを判定する(ステップS4)。レーザ変位計が母材Aの検出可能な距離l1に到達し、レーザ変位計の出力が図7のV1からV2に変化したら、レーザ変位計を停止させる。この時、レーザ変位計が比較的早い速度(Sh)で作動している場合、ロボット制御盤内の信号処理の遅れ、アーク溶接ロボットの慣性などにより、図5に示すように、レーザ変位計が出力V2を検出した位置P2より母材A側に行き過ぎて停止する。
【0023】
この行き過ぎ量を、母材Aが検出可能で、母材Aから最も離れた位置P2での出力(V2)と、レーザ変位計が停止したときの出力とを比較することにより算出し(ステップS5)、算出された距離だけレーザ変位計を母材Aから離れる側に戻す(ステップS6)。
【0024】
レーザ変位計の検出動作している状態で、レーザ変位計をワークを構成する母材Aと母材Bに直交する面内で所定角度(たとえば、現在の位置を中心として±90度)回動させる(ステップS7)。そして、レーザ変位計の回動角度とともに、レーザ変位計の出力の変化を検出し、位置P2でレーザ変位計の出力がV2になる点が2点あるか否かを判定する(ステップS8)。
【0025】
もし、位置P2でレーザ変位計を回動させたとき、図8に示すように、レーザ変位計の出力がV2になる点p2が2点あれば、母材Aの表面に対してレーザ変位計が傾斜した状態で検出していることを示すことになる。
【0026】
レーザ変位計の出力がV2になる点p2が2点ある場合には、アーク溶接ロボットにより、レーザ変位計の角度を調整する(ステップS9)。そして、レーザ変位計をスタートポイントに戻し前記ステップS2から検出をやりなおす。
【0027】
レーザ変位計の出力がV2になる点p2が1点のみの場合、図6に破線で示すように、駆動装置によって、レーザ変位計9をトーチの軸心周りに90度に回転させる(ステップS10)。レーザ変位計9を検出状態にしたまま左右方向に±90度旋回させる。(ステップS11)。そして、レーザ変位計9の回動角度とともに、レーザ変位計9の出力の変化を検出し、位置P2でレーザ変位計の出力がV2になる点が2点あるか否かを判定する(ステップS12)。
【0028】
出力がV2になる点p2が2点ある場合には、アーク溶接ロボットにより、レーザ変位計の角度を調整する(ステップS13)。レーザ変位計の出力V2が一点になったとき、その位置P2(母材Aからの距離l1)の座標x、y、zを検出、記憶する(ステップS14)。
【0029】
レーザ変位計9を母材B側に向けて回動させる(ステップS15)。このとき、たとえば、母材Aと母材Bの突合せ角が180度以下の場合、(180−母材A、Bの突合せ角)だけ回動させる。そして、母材Aとの間隔と一定に保ちながら、母材Bに向けて移動させる(ステップS16)。レーザ変位計が移動している間、レーザ変位計が母材Bを検出可能な位置に到達したか否かを判定する(ステップS17)。
【0030】
レーザ変位計が母材Bの検出可能な距離に到達し、レーザ変位計の出力が、図7のV1からV2に変化したら、レーザ変位計を停止させる。この時、レーザ変位計が比較的早い速度で作動していた場合、ロボット制御盤内の信号処理の遅れ、アーク溶接ロボットの慣性などにより、レーザ変位計が出力V2を検出した位置P3より母材B側に行き過ぎて停止する。
【0031】
この行き過ぎ量を、母材Bが検出可能で、母材Bから最も離れた位置での出力(V2)と、レーザ変位計が停止したときの出力とを比較することにより算出する(ステップ18)。算出された距離だけ、レーザ変位計を戻す(ステップS19)。
【0032】
前記ステップ7と同様に、レーザ変位計の検出動作している状態で、レーザ変位計をワークを構成する母材Aと母材Bに直交する面内で所定角度(たとえば、現在の位置を中心として±90度)回動させる(ステップS20)。そして、前記ステップ8と同様に、レーザ変位計の回動角度とともに、レーザ変位計の出力の変化を検出し、位置P3でレーザ変位計の出力がV2になる点が2点あるか否かを判定する(ステップS21)。
【0033】
レーザ変位計の出力がV2になる点p3が2点ある場合には、アーク溶接ロボットにより、レーザ変位計の位置を調整する(ステップS22)。レーザ変位計の出力V2が一点になったとき、その位置P3(母材Aからの距離l2)の座標x、y、zを検出、記憶する(ステップS23)。レーザ変位計を初期状態に戻す(ステップ24)。
【0034】
上記の操作を、母材A、Bの溶接開始位置Pf側および終了位置Pe側で行いそれぞれ位置P2、P3の座標を記憶する。そして、このようにして記憶された位置P2、P3の座標から、溶接開始位置Pfおよび終了位置Peにおける開先の座標を算出し、予め教示されている溶接経路を検出結果に基づいて補正して、母材A、Bに体する溶接経路を設定する。
【0035】
溶接トーチとレーザ変位計の位置関係に基づいて、溶接トーチを開先位置Pfへ位置決めする(ステップS24)。
【0036】
このようにして、溶接トーチ6をワーク12の開先の溶接開始位置に位置決めしたら、溶接トーチ6の先端から溶接ワイヤ3を所定量突出させるとともに、溶接電源を作動させ、ワーク12の溶接を開始する。
【0037】
なお、上記の実施の形態においては、溶接継ぎ手が下向きすみ肉の場合について説明したが、開先形状がV型あるいはレ型であっても、同様に開先検出を行なうことができる。
【0038】
また、上記の実施の形態においては、アーク溶接ロボット4側を動かして開先を検出する場合について説明したが、ポジショナ13側を動かして開先を検出する場合にも、同様に適用することができる。
【0039】
【発明の効果】
以上述べたごとく、本願の第1の発明によれば、ワークと溶接トーチとの相対位置および姿勢を空間3軸で制御して溶接を行なう自動溶接機で、溶接トーチにレーザ変位計を付設して開先位置を検出する開先検出方法であって、ワークの溶接開始位置側で、ワークを構成する母材の表面もしくは開先交線を前記空間3軸のうちの1軸に略直交させるように配置し、レーザ変位計を前記ワークを構成する一方の母材に向け、レーザ変位計による検出を行ないながら母材が検出されるまで移動させ、レーザ変位計の出力が所定の値になったとき、空間3軸におけるその位置の座標を記憶するとともに、母材に対するレーザ変位計の姿勢を確認した後、レーザ変位計を所定の角度回転させて他方の母材に向け、レーザ変位計による検出を行ないながら母材が検出されるまで移動させ、レーザ変位計の出力が所定の値になったとき、空間3軸におけるその位置の座標を記憶するとともに、レーザ変位計と前記他方の母材との距離を維持した状態で、レーザ変位計をワークの溶接終了位置側へ所定の距離移動させた後、レーザ変位計を前記一方の母材に向けて所定の角度回転させるとともに、レーザ変位計を前記他方の母材に沿って移動させ、レーザ変位計の出力が所定の値になったとき、空間3軸におけるその位置の座標を記憶して、記憶された各座標位置から、予め教示された溶接線の3次元位置を補正するようにしたので、自動溶接機における開先位置のずれによる溶接の不具合を無くすことができる。また、開先検出時間を短縮し、作業能率を向上させることができる。
【図面の簡単な説明】
【図1】本発明による開先検出手順を示すフローチャート。
【図2】本発明による開先検出手順を示すフローチャート。
【図3】本発明を適用するアーク溶接ロボットを用いた自動溶接機の構成図。
【図4】本発明を適用する自動溶接機における溶接トーチとレーザ変位計の関係を示す平面図。
【図5】本発明を適用する自動溶接機における溶接トーチとレーザ変位計の関係を示す正面図。
【図6】本発明における開先検出のためのと母材の相対移動の状態を示す図。
【図7】本発明におけるレーザ変位計による母材の検出状態を示す図。
【図8】本発明におけるレーザ変位計の出力特性図。
【図9】本発明におけるワークに対するレーザ変位計の傾きを示す説明図。
【符号の説明】
4 アーク溶接ロボット
6 溶接トーチ
9 レーザ変位計
11 制御手段
12 ワーク
A、B 母材
13 ポジショナ
15 駆動装置[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a groove detection method in an automatic welding machine which uses an arc welding robot to reproduce a predetermined work content, and in particular, detects a three-dimensional position of a welding line and is taught in advance. The present invention relates to a preferred groove detection method for correcting a weld line.
[0002]
[Prior art]
In order to obtain a good welding result in a welding operation in an automatic welding machine that reproduces a predetermined work content, it is necessary to perform the welding by accurately positioning the welding torch at the groove position of the workpiece. is necessary. However, the groove position is not always constant due to variations in the dimensions of the workpieces to be welded or variations in the position where the workpiece is attached to the automatic welding machine.
[0003]
Therefore, a groove position detection method disclosed in Japanese Patent Laid-Open No. 2-92458 has been proposed. In this groove detection method, after stick detection is performed at relatively large intervals to detect the groove position, stick detection is performed at relatively small intervals within the groove to detect the intersection of the groove lines. Yes.
[0004]
In such a groove detection method, it is possible to detect various types of joint-type grooves and to determine whether the groove is inside or outside regardless of the workpiece mounting state. Intersection points can be detected accurately.
[0005]
[Problems to be solved by the invention]
However, with stick sensing, the welding torch is moved at a relatively rough interval in a direction parallel to the abutted base material and in a direction perpendicular to the welded torch. It takes time to repeat the detection operation so that the welding start position is detected by moving in a direction parallel to the base material at a relatively fine interval and moving in a vertical direction, which may reduce work efficiency. is there.
[0006]
In view of the above circumstances, an object of the present invention is to provide a groove detection method in an automatic welding machine that can detect a three-dimensional position of a groove in a shorter time.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, an automatic welding machine that performs welding by controlling the relative position and posture of a workpiece and a welding torch with three axes in space, and opens a laser torometer attached to the welding torch. A groove detection method for detecting a tip position, wherein a surface of a base material or a groove intersection line constituting the workpiece is substantially orthogonal to one of the three axes of the space on the welding start position side of the workpiece. When the laser displacement meter is placed at one of the base materials constituting the workpiece and moved until the base material is detected while detecting with the laser displacement meter, the laser displacement meter output reaches a predetermined value. Rotate the laser displacement meter by a predetermined angle to confirm the posture of the laser displacement meter with respect to the base material, store the coordinates of its position in the three axes of space, point the laser displacement meter to the other base material, and use the laser displacement meter Do not detect When the output of the laser displacement meter reaches a predetermined value, the position of the laser displacement meter is confirmed with respect to the base material, the coordinates of the position in the three axes of space are stored, and the laser is stored. In a state where the distance between the displacement meter and the other base material is maintained, the laser displacement meter is moved a predetermined distance toward the welding end position side of the workpiece, and then the laser displacement meter is directed toward the one base material. While rotating the angle, the laser displacement meter is moved along the other base material, and when the output of the laser displacement meter reaches a predetermined value, the coordinates of the position in the three space axes are stored and stored. The three-dimensional position of the weld line is calculated from each coordinate position.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
1 and 2 are flowcharts showing a groove detection method according to the present invention. FIG. 3 is a configuration diagram of an automatic welding machine using an arc welding robot. FIG. 4 is an enlarged view of a welding torch part in FIG. 3. 5 and 6 are diagrams showing a moving state of a laser displacement meter for detecting a groove. FIG. 7 is an output characteristic diagram of the laser displacement meter. FIG. 8 is a diagram showing the inclination of the laser displacement meter with respect to the workpiece.
[0009]
In FIG. 3, 4 is an articulated arc welding robot, and a welding torch 6 to which a welding wire 3 is supplied is attached to the wrist portion 5. A robot control panel 7 controls the arc welding robot 4 and controls the position and orientation of the welding torch 6 with three axes in space.
[0010]
Reference numeral 8 denotes a teaching box, which instructs the arc welding robot 4 about predetermined work contents, instructs the movement path and posture of the welding torch 6, or moves the welding torch 6 moved manually. The posture is detected and registered in the storage device of the robot control panel 7.
[0011]
Reference numeral 10 denotes a controller which supplies power to the detection device provided with the welding torch 6 and amplifies a detection signal from the detection device. A control unit 11 sets and corrects the position and angle of the detection device based on the detection signal of the detection device.
[0012]
Reference numeral 13 denotes a positioner which is disposed so as to face the arc welding robot 4 and supports and fixes the workpiece 12 such that the surface or groove intersection line thereof is substantially orthogonal to one of the three axes in the space.
[0013]
In FIG. 4, reference numeral 14 denotes an attachment jig, which is fixed to the welding torch 6. A driving device 15 is fixed to the mounting jig 14. Reference numeral 16 denotes a drive shaft that protrudes from the drive device 15. Reference numeral 9 denotes a laser displacement meter as a detection device, which is fixed to the drive shaft 16 so that its measurement axis is parallel to the welding direction of the welding torch 6. Reference numeral 17 denotes a shutter that covers the front surface of the laser displacement meter 9 and is rotatably supported by the driving device 15 so as to protect the laser displacement meter 9 from sputtering during welding operations.
[0014]
In the above configuration, a procedure for detecting the groove of the workpiece 12 will be described with reference to FIGS. 1, 2, and 4 to 8.
First, the workpiece 12 is fixed to the positioner 13 in a predetermined posture, and normal teaching is performed along the weld line from the welding start position to the end position.
[0015]
Next, various data necessary for groove detection are taught.
[0016]
(A) As shown in FIG. 5, the laser displacement meter 9 is moved to the standby position P0 and the detection start position P1 for detecting the groove at the welding start position Pf in consideration of the predicted displacement of the workpiece 12. To set coordinates x, y, and z in the three axes of each position.
[0017]
(B) The direction in which the detection operation is performed from the detection start position P1 is set (a direction approaching one base material A constituting the workpiece 12 and a direction approaching the other base material B).
[0018]
(C) The shape of the joint to be detected is set (in the case of a L-shaped joint and a V-shaped joint, the width and depth are also set).
[0019]
(D) The moving distance l of the torch for detection is set.
[0020]
The coordinates x, y, x are, for example, as shown in FIG. 5, for example, the x axis is a direction parallel to one of the base materials B, the y axis is a direction parallel to the other base material A, and the z axis Is set as a direction parallel to the groove line.
[0021]
After the work 12 is attached to the positioner 13, a detection start command is given. Then, the arc welding robot 4 is operated to position the laser displacement meter to the standby position P0 as shown in FIG. 5 (step S1). Next, the laser displacement meter is moved to the detection start position P1, and then moved from the detection start position P1 toward the base material A at a predetermined speed (step 2). Simultaneously with the start of the movement of the laser displacement meter, the detection operation of the laser displacement meter is started (step S3).
[0022]
While the laser displacement meter is moving, it is determined whether or not the laser displacement meter has reached a position where the base material A can be detected (step S4). When the laser displacement meter reaches the detectable distance l1 of the base material A and the output of the laser displacement meter changes from V1 to V2 in FIG. 7, the laser displacement meter is stopped. At this time, if the laser displacement meter is operating at a relatively high speed (Sh), the laser displacement meter may be moved as shown in FIG. 5 due to signal processing delay in the robot control panel, inertia of the arc welding robot, or the like. It stops because it goes too far to the base material A side from the position P2 where the output V2 is detected.
[0023]
This overshoot amount is calculated by comparing the output (V2) at the position P2 farthest from the base material A, which can be detected by the base material A, and the output when the laser displacement meter is stopped (step S5). ), The laser displacement meter is returned to the side away from the base material A by the calculated distance (step S6).
[0024]
The laser displacement meter is rotated by a predetermined angle (for example, ± 90 degrees around the current position) in a plane orthogonal to the base material A and the base material B constituting the workpiece while the laser displacement meter is operating. (Step S7). Then, a change in the output of the laser displacement meter is detected together with the rotation angle of the laser displacement meter, and it is determined whether there are two points at which the output of the laser displacement meter becomes V2 at the position P2 (step S8).
[0025]
If the laser displacement meter is rotated at the position P2, as shown in FIG. 8, if there are two points p2 at which the output of the laser displacement meter becomes V2, the laser displacement meter is applied to the surface of the base material A. It shows that it detects in the state which inclined.
[0026]
If there are two points p2 at which the output of the laser displacement meter becomes V2, the angle of the laser displacement meter is adjusted by the arc welding robot (step S9). Then, the laser displacement meter is returned to the start point, and detection is repeated from step S2.
[0027]
When there is only one point p2 at which the output of the laser displacement meter becomes V2, as shown by a broken line in FIG. 6, the laser displacement meter 9 is rotated 90 degrees around the axis of the torch by the drive device (step S10). ). While the laser displacement meter 9 is in the detection state, it is turned ± 90 degrees in the left-right direction. (Step S11). Then, a change in the output of the laser displacement meter 9 is detected together with the rotation angle of the laser displacement meter 9, and it is determined whether there are two points where the output of the laser displacement meter becomes V2 at the position P2 (step S12). ).
[0028]
If there are two points p2 at which the output becomes V2, the angle of the laser displacement meter is adjusted by the arc welding robot (step S13). When the output V2 of the laser displacement meter reaches one point, the coordinates x, y, z of the position P2 (distance l1 from the base material A) are detected and stored (step S14).
[0029]
The laser displacement meter 9 is rotated toward the base material B side (step S15). At this time, for example, when the butt angle of the base material A and the base material B is 180 degrees or less, the base material A and the base material B are rotated by (180—the butt angle of the base materials A and B). And it moves toward the base material B, keeping constant the space | interval with the base material A (step S16). While the laser displacement meter is moving, it is determined whether or not the laser displacement meter has reached a position where the base material B can be detected (step S17).
[0030]
When the laser displacement meter reaches a detectable distance of the base material B and the output of the laser displacement meter changes from V1 to V2 in FIG. 7, the laser displacement meter is stopped. At this time, if the laser displacement meter was operating at a relatively high speed, the base material from the position P3 where the laser displacement meter detected the output V2 due to signal processing delay in the robot control panel, inertia of the arc welding robot, and the like. Go too far to B side and stop.
[0031]
This overshoot amount is calculated by comparing the output (V2) at the position farthest from the base material B, which can be detected by the base material B, and the output when the laser displacement meter is stopped (step 18). . The laser displacement meter is returned by the calculated distance (step S19).
[0032]
As in step 7, the laser displacement meter is in a state where the laser displacement meter is operating, and the laser displacement meter has a predetermined angle (for example, centered on the current position) in a plane orthogonal to the base material A and base material B constituting the workpiece. (± 90 degrees) as a rotation (step S20). Then, similarly to the step 8, the change in the output of the laser displacement meter is detected together with the rotation angle of the laser displacement meter, and whether there are two points where the output of the laser displacement meter becomes V2 at the position P3. Determination is made (step S21).
[0033]
If there are two points p3 at which the output of the laser displacement meter becomes V2, the position of the laser displacement meter is adjusted by the arc welding robot (step S22). When the output V2 of the laser displacement meter reaches one point, the coordinates x, y, z of the position P3 (distance l2 from the base material A) are detected and stored (step S23). The laser displacement meter is returned to the initial state (step 24).
[0034]
The above operation is performed on the welding start position Pf side and the end position Pe side of the base materials A and B, and the coordinates of the positions P2 and P3 are stored, respectively. Then, the coordinates of the groove at the welding start position Pf and the end position Pe are calculated from the coordinates of the positions P2 and P3 stored in this way, and the welding path taught in advance is corrected based on the detection result. The welding paths to be formed on the base materials A and B are set.
[0035]
Based on the positional relationship between the welding torch and the laser displacement meter, the welding torch is positioned to the groove position Pf (step S24).
[0036]
When the welding torch 6 is positioned at the welding start position of the groove of the workpiece 12 in this way, the welding wire 3 is projected from the tip of the welding torch 6 by a predetermined amount, the welding power source is activated, and welding of the workpiece 12 is started. To do.
[0037]
In the above-described embodiment, the case where the weld joint is a downward fillet has been described. However, even when the groove shape is a V shape or a ladle shape, the groove detection can be performed similarly.
[0038]
Further, in the above embodiment, the case where the groove is detected by moving the arc welding robot 4 side has been described, but the same applies to the case where the groove is detected by moving the positioner 13 side. it can.
[0039]
【The invention's effect】
As described above, according to the first invention of the present application, a laser displacement meter is attached to a welding torch in an automatic welding machine that performs welding by controlling the relative position and posture of a workpiece and a welding torch with three spatial axes. And a groove detection method for detecting a groove position, wherein a surface of a base material or a groove intersection line constituting the workpiece is substantially orthogonal to one of the three axes of the space on the welding start position side of the workpiece. The laser displacement meter is directed toward one base material constituting the workpiece and moved until the base material is detected while performing detection by the laser displacement meter, and the output of the laser displacement meter becomes a predetermined value. After storing the coordinates of the position in the three space axes and confirming the attitude of the laser displacement meter with respect to the base material, the laser displacement meter is rotated by a predetermined angle toward the other base material, and the laser displacement meter is used. Do not detect When the output of the laser displacement meter reaches a predetermined value, the coordinates of the position in the three space axes are stored, and the distance between the laser displacement meter and the other base material is set. In this state, the laser displacement meter is moved a predetermined distance to the welding end position side of the workpiece, and then the laser displacement meter is rotated by a predetermined angle toward the one base material, and the laser displacement meter is moved to the other When the output of the laser displacement meter reaches a predetermined value, it is moved along the base material, and the coordinates of the position in the three space axes are stored, and the welding line taught in advance is stored from each stored coordinate position. Since the three-dimensional position is corrected, it is possible to eliminate welding defects due to the deviation of the groove position in the automatic welding machine. Further, the groove detection time can be shortened, and the work efficiency can be improved.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a groove detection procedure according to the present invention.
FIG. 2 is a flowchart showing a groove detection procedure according to the present invention.
FIG. 3 is a configuration diagram of an automatic welding machine using an arc welding robot to which the present invention is applied.
FIG. 4 is a plan view showing the relationship between a welding torch and a laser displacement meter in an automatic welding machine to which the present invention is applied.
FIG. 5 is a front view showing a relationship between a welding torch and a laser displacement meter in an automatic welding machine to which the present invention is applied.
FIG. 6 is a diagram showing a state of relative movement of a base material for detecting a groove in the present invention.
FIG. 7 is a diagram showing a detection state of a base material by a laser displacement meter according to the present invention.
FIG. 8 is an output characteristic diagram of a laser displacement meter according to the present invention.
FIG. 9 is an explanatory diagram showing the inclination of the laser displacement meter with respect to the workpiece in the present invention.
[Explanation of symbols]
4 Arc welding robot 6 Welding torch 9 Laser displacement meter 11 Control means 12 Workpieces A and B Base material 13 Positioner 15 Drive device