JPH0353070B2 - - Google Patents

Info

Publication number
JPH0353070B2
JPH0353070B2 JP9483084A JP9483084A JPH0353070B2 JP H0353070 B2 JPH0353070 B2 JP H0353070B2 JP 9483084 A JP9483084 A JP 9483084A JP 9483084 A JP9483084 A JP 9483084A JP H0353070 B2 JPH0353070 B2 JP H0353070B2
Authority
JP
Japan
Prior art keywords
welding
point
error
torch
pattern
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
Application number
JP9483084A
Other languages
Japanese (ja)
Other versions
JPS60238088A (en
Inventor
Hisahiro Fukuoka
Yoshuki Ueno
Noboru Ran
Masami Ikeda
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.)
Shinmaywa Industries Ltd
Original Assignee
Shin Meiva Industry Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shin Meiva Industry Ltd filed Critical Shin Meiva Industry Ltd
Priority to JP9483084A priority Critical patent/JPS60238088A/en
Publication of JPS60238088A publication Critical patent/JPS60238088A/en
Publication of JPH0353070B2 publication Critical patent/JPH0353070B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K9/00Arc welding or cutting
    • B23K9/02Seam welding; Backing means; Inserts

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Plasma & Fusion (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 本発明は、揺動パターン作成手段を含み、溶接
トーチを開先幅方向に揺動させながらアーク溶接
を行い、この揺動中に溶接トーチの位置ずれを検
出し、この位置ずれを修正することにより溶接ト
ーチを溶接線に追従させるようにした溶接ロボツ
トにおいて、アークセンサー実行中に現在点が所
定の誤差許容範囲内にあるか否かを判定する制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention includes a swing pattern creating means, performs arc welding while swinging the welding torch in the width direction of the groove, detects positional deviation of the welding torch during this swing, The present invention relates to a control device for determining whether a current point is within a predetermined error tolerance range during execution of an arc sensor in a welding robot in which a welding torch is made to follow a welding line by correcting this positional deviation.

溶接トーチの揺動中、溶接トーチの位置ずれを
検出する方法としては、溶接電流や溶接電圧を検
出して行う方法や光学的に検出するものなどがあ
り、またこれらの検出に基づいて溶接トーチの位
置ずれを修正して溶接トーチを溶接線に追従させ
る方法および装置も多種多様である。いずれの方
法および装置を使用するにしても、溶接ロボツト
を総合的に制御するコンピユータはアークセンサ
ー実行時に補正をかける方向は教示点間を結ぶ仮
想溶接線(「パターン基準線」と呼称)に対し直
角方向であり、補正量は一般的に溶接トーチ先端
の揺動端点(但し、補正をかけたときは、揺動端
の位置修正点)を中心にパターン基準線に対し
左・右に所定角度の範囲内に固定されている。
There are methods to detect the positional deviation of the welding torch while the welding torch is oscillating, such as by detecting the welding current and welding voltage, and by optically detecting the welding torch. There are various methods and devices for correcting the positional deviation of the welding torch and making the welding torch follow the welding line. Regardless of which method and device is used, the computer that comprehensively controls the welding robot must determine the direction in which the correction is applied when the arc sensor is executed with respect to the virtual welding line (referred to as the "pattern reference line") connecting the teaching points. The direction is perpendicular, and the amount of correction is generally a predetermined angle to the left or right of the pattern reference line centered around the swing end point of the welding torch tip (however, when correction is applied, the position correction point of the swing end) is fixed within the range.

従つて、前述位置ずれが補正範囲を越える場
合、溶接トーチは最大量の補正で位置修正される
が、もはや実際の溶接線に追従することができな
くなる。勿論、補正範囲を大きく設定すれば、そ
れに応じてかなり大きな位置ずれに対しても溶接
線に追従できるが、溶接ビードの形状および軌跡
がゆがみ、満足すべき仕上り結果は期待し得な
い。むしろ、ワーク個体差、ワーク取付誤差、熱
歪による誤差等が異常に大きいワークについて
は、溶接途中であつても一旦溶接を中断し、異常
な位置ずれの原因がワーク自体の個体差であれば
そのワークを排除し、ワークの取付誤差であれば
取付直しを行つた上で溶接を再会し、また熱歪に
よるものであれば各種溶接条件(溶接電圧・電
流・速度等)についてユーザープログラムを修正
するのが好ましい。
Therefore, if the aforementioned positional deviation exceeds the correction range, the welding torch will be corrected in position with the maximum amount of correction, but will no longer be able to follow the actual welding line. Of course, if the correction range is set large, it is possible to follow the welding line even if the positional deviation is considerably large, but the shape and trajectory of the weld bead will be distorted, and a satisfactory finished result cannot be expected. Rather, for workpieces with abnormally large individual differences in workpieces, workpiece installation errors, errors due to thermal distortion, etc., welding should be temporarily interrupted even if it is in the middle of welding, and if the cause of the abnormal position shift is the individual difference in the workpiece itself, Eliminate the workpiece, and if there is a workpiece installation error, reinstall it and start welding again.If it is due to thermal distortion, modify the user program for various welding conditions (welding voltage, current, speed, etc.) It is preferable to do so.

従来、前述異常位置ずれは、位置ずれに対して
付与した補正量が所定の最大値であつたか否かに
よつて検出していた。しかし、対象とするワーク
は材質、形状、大きさ、厚み等種々雑多であり、
さらに1種類のワークでも溶接個所によりそれぞ
れ位置ずれの許容条件が異なる。この位置ずれ許
容条件をあまり厳しくすると、仮付部に対しても
エラーと判定することにもなる。また薄板の場
合、熱歪による位置ずれが大きい際にどこまでそ
れを許容するか、あるいは熱歪によつてワークが
反る方向によつてもそれぞれ許容条件を設定する
のが好ましい。
Conventionally, the aforementioned abnormal positional deviation has been detected based on whether the amount of correction applied to the positional deviation is a predetermined maximum value. However, the target workpieces are of various materials, shapes, sizes, thicknesses, etc.
Furthermore, even for one type of workpiece, the allowable conditions for positional deviation differ depending on the welding location. If this positional deviation tolerance condition is made too strict, an error will also be determined for the temporarily attached portion. Further, in the case of a thin plate, it is preferable to set allowable conditions depending on how much positional deviation due to thermal strain is allowed or the direction in which the workpiece is warped due to thermal strain.

本発明は前述事情に鑑み、前述位置ずれに関す
る誤差許容範囲を設定した少くとも1個のエラー
判定方式メニユーを記憶する手段と、テイーチン
グ時に前記メニユーの1つを選定する手段と、ア
ーク溶接中揺動パターンの所定回数実行毎に前記
選定メニユーを呼び出し溶接トーチの現在点が前
記誤差許容範囲内に存在するか否かを判定するエ
ラー判定手段とを含み、該エラー判定手段による
判定がエラーのとき少くとも前記アーク溶接を中
断することを特徴とし、各種ワークの材質、形
状、溶接条件等に適した誤差許容範囲を設定でき
るようにし、この範囲から逸脱するワークを溶接
中に検出できるようにした、溶接いロボツトにお
ける制御装置を提供せんとするものである。
In view of the above-mentioned circumstances, the present invention provides means for storing at least one error judgment method menu in which an error tolerance range regarding the above-mentioned positional deviation is set, means for selecting one of the menus during teaching, and a method for shaking during arc welding. error determining means for calling the selection menu each time the motion pattern is executed a predetermined number of times and determining whether the current point of the welding torch is within the error tolerance range, and when the determination by the error determining means is an error; The present invention is characterized in that at least the arc welding is interrupted, an error tolerance range suitable for the materials, shapes, welding conditions, etc. of various workpieces can be set, and workpieces that deviate from this range can be detected during welding. The present invention aims to provide a control device for a welding robot.

以下、図面に示す実施例に基づき詳述する。 Hereinafter, a detailed description will be given based on the embodiments shown in the drawings.

1は本発明の一実施例として採用した直角座標
(X,Y,Z)ロボツトRO(詳細は図示せず)の
端末に構成された垂直軸である。
1 is a vertical axis constructed at the terminal of a rectangular coordinate (X, Y, Z) robot RO (details not shown) adopted as an embodiment of the present invention.

2は垂直軸1の下端に軸1まわり(矢印α)に
旋回可能に支承した第1腕である。
A first arm 2 is supported at the lower end of the vertical shaft 1 so as to be pivotable around the shaft 1 (arrow α).

3は腕2の先端に斜軸3aまわり(矢印β)に
旋回可能に死傷した第2腕である。第2腕3先端
にはエンドエフエクタとしての溶接トーチ4(こ
の実施例ではMIG溶接トーチ)を取着している。
3 is a second arm which is damaged at the tip of the arm 2 so that it can rotate around the oblique axis 3a (arrow β). A welding torch 4 (an MIG welding torch in this embodiment) as an end effector is attached to the tip of the second arm 3.

そして軸1、軸3aおよびトーチ4の中心軸線
Mは一点Pにおいて交差するように構成してあ
る。
The shafts 1, 3a, and the central axes M of the torch 4 are configured to intersect at one point P.

さらにトーチ4はその溶接作動点Pと一致しう
るように設定してある。かくして、αおよびβ方
向への回転角を制御することにより、トーチ4の
垂直軸1に対する姿勢角θおよび旋回角ψ(いわ
ゆるオイラ角)を点Pを固定して制御可能となつ
ている。
Further, the torch 4 is set so as to coincide with the welding operating point P thereof. Thus, by controlling the rotation angles in the α and β directions, the attitude angle θ and the turning angle ψ (so-called Euler angle) of the torch 4 with respect to the vertical axis 1 can be controlled while fixing the point P.

5は溶接電源装置である。装置5はトーチ4の
消耗電極6を巻き取つたスプール7を具備し、詳
細は図示しないが送りローラを回転して電極6を
くり出し可能であり、さらに電極6とワークW間
に溶接用電源8および電流センサ9を直列に接続
しうるように構成してある。
5 is a welding power supply device. The device 5 is equipped with a spool 7 that winds up the consumable electrode 6 of the torch 4, and although the details are not shown, the electrode 6 can be drawn out by rotating a feed roller, and a welding power source 8 is connected between the electrode 6 and the work W. and current sensor 9 can be connected in series.

10はこの実施例全体の制御装置としての公知
のコンピユータである。コンピユータ10には、
CPUおよびメモリを含む。
Reference numeral 10 denotes a known computer as a control device for the entire embodiment. The computer 10 has
Including CPU and memory.

そしてコンピユータ10のバスラインBには、
電源8および電流センサ9が接続してある。
And on the bus line B of the computer 10,
A power source 8 and a current sensor 9 are connected.

バスラインBにはさらに、ロボツトROのX軸
のサーボ系SXが接続してあり、このサーボ系SX
はX軸の動力MX、並びにその位置情報を出力す
るエンコーダEXを含んでいる。同様にしてバス
ラインBには同様に構成したY軸のサーボ系SY、
Z軸のサーボ系SZ、α軸のサーボ系Sαおよびβ
軸のサーボ系Sβを接続してある。
The bus line B is further connected to the robot RO's X-axis servo system SX.
includes an X-axis power MX and an encoder EX that outputs its position information. Similarly, bus line B has a Y-axis servo system SY configured in the same way,
Z-axis servo system SZ, α-axis servo system Sα and β
The axis servo system Sβ is connected.

11は前記コンピユータ10が、エラーと判断
したとき該コンピユータ10からの指令で作動す
る警報器である。
Reference numeral 11 denotes an alarm device that is activated by a command from the computer 10 when the computer 10 determines that there is an error.

12は遠隔操作盤であり、トーチ4を手動で移
動させるためのマニユアル操作スナツプスイツチ
群SW、溶接時以外の速度を指令するための速度
指令ロータリスイツチSV、3種類のモード(マ
ニユアルモードM、テストモードTE、およびオ
ートモードA)に切換えるためのモード切換スイ
ツチSM、テンキーTK、テンキーTKの操作によ
り後述の各切換位置で種々の条件を設定するため
の条件設定用切換スイツチSE、並びに各モード
において動作を開始したりテイーチング内容をメ
モリに取込む際に使用するスタートスイツチ
STA等を備えている。
Reference numeral 12 denotes a remote control panel, which includes a manual operation snap switch group SW for manually moving the torch 4, a speed command rotary switch SV for commanding speeds other than welding, and three types of modes (manual mode M, test mode). Mode selector switch SM for switching to TE and auto mode A), numeric keypad TK, condition setting selector switch SE for setting various conditions at each switching position described below by operating the numeric keypad TK, and operation in each mode. Start switch used to start teaching and import teaching contents into memory
Equipped with STA etc.

前記切換スイツチSEは以下に示す8つの切換
位置SE1〜SE8を有する。
The changeover switch SE has eight changeover positions SE 1 to SE 8 as shown below.

(1) 切換位置SE1……直線補間「L」、ウイービ
ング「W」、円補間「C」、アークセンシング
「As」の4つの表示ランプを備え、それぞれテ
ンキーTKのキー番号「1」〜「4」を押すこ
とにより各表示ランプを点灯させて選択するこ
とができる。
(1) Switching position SE 1 ... Equipped with four display lamps for linear interpolation "L", weaving "W", circular interpolation "C", and arc sensing "As", each with key numbers "1" to " of the numeric keypad TK" By pressing ``4'', each display lamp can be lit to make a selection.

(2) 切換位置SE2……溶接条件番号WNo.の表示部
を有し、コンピユータ10のメモリには予めNo.
ごとに溶接電圧E、溶接電流I、および溶接速
度Vwをセツトとして記憶されており、所望の
セツトに対応するテンキーTKのキー番号を押
すことにより呼び出せるようになつている。
(2) Switching position SE 2 ...has a display section for welding condition number WNo., and the number is stored in the memory of computer 10 in advance.
The welding voltage E, welding current I, and welding speed Vw are stored as a set for each set, and can be called up by pressing the key number on the numeric keypad TK that corresponds to the desired set.

(3) 切換位置SE3……フアンクシヨン番号FNo.の
表示部を有し、本実施例ではテンキーTKのキ
ー番号「7」の操作により、溶接トーチ4の現
在位置は移動位置の教示点ではなくダミー点で
あることを教示する。
(3) Switching position SE 3 ...Has a display section for the function number FNo. In this embodiment, by operating the key number "7" of the numeric keypad TK, the current position of the welding torch 4 is not the teaching point of the movement position. Teach that it is a dummy point.

(4) 切換位置SE4……補正方式番号AUXNo.の表
示部を有し、本実施例では、テンキーTKのキ
ー番号「01」、「02」、「03」の押動により、それ
ぞれ第2図a,b,cに示すように下向隅肉、
水平隅肉、レ形開先の各溶接継手形状を選択す
るようになつている。またAUXNo.「10」は、
予め別のワークで作成した揺動パターンのデー
タに基づき位置補正することを意味する。
(4) Switching position SE 4 ...Has a display section for the correction method number AUXNo. In this embodiment, when the key numbers "01", "02", and "03" of the numeric keypad TK are pressed, the second As shown in figures a, b, c, downward fillets,
Each weld joint shape can be selected: horizontal fillet or rectangular groove. Also, AUX No. “10” is
This means that the position is corrected based on data of a swing pattern created in advance for another work.

(5) 切換位置SE5……パターン表示部を有し、本
実施例では4桁の数字で揺動パターンを設定す
るようになつている。例えば、4〜1桁目には
それぞれ、揺動パターンの振幅m(開先幅方向
の移動距離)、高さh(第2図a,b,cで示す
ように下向隅肉およびレ形開先では溶接線から
揺動面までの距離であり、水平隅肉では脚長で
ある)、ピツチPC(第3図に示すように揺動パ
ターンの半周期における溶接線の延びる方向へ
の移動距離)、きざみ数n(揺動パターンの半周
期における移動分割数でこれにより周波数が決
定)の各メニユー番号を設定するようになつて
いる。尚、水平隅肉における等脚長の場合は、
特別にhNo.「3」で設定すれば自動的に等脚長
になるようにしてある。
(5) Switching position SE 5 ...has a pattern display section, and in this embodiment, the swing pattern is set using a four-digit number. For example, the 4th to 1st digits are the amplitude m (movement distance in the groove width direction) of the swing pattern, and the height h (downward fillet and re-shaped opening as shown in Figure 2 a, b, and c). For the first part, it is the distance from the welding line to the swinging surface, and for the horizontal fillet, it is the leg length), pitch PC (the distance traveled in the direction in which the welding line extends during a half cycle of the swinging pattern, as shown in Figure 3) , the number of increments n (the number of movement divisions in a half cycle of the swing pattern, which determines the frequency), and each menu number is set. In addition, in the case of equal leg length in horizontal fillet,
If you specially set hNo. ``3'', it will automatically become equal leg length.

(6) 切換位置SE6……タイマー表示部を有し、揺
動の左・右端での停止時間をメニユー番号で設
定できるようになつている。
(6) Switching position SE 6 ...Equipped with a timer display section, so that the stopping time at the left and right ends of the swing can be set using a menu number.

(7) 切換位置SE7……エラー判定方式盆号EJM.
No.の表示部を有し、後述するようにエラー判定
方式のメニユー記憶手段としてコンピユータ1
0のメモリにはNo.ごとにトーチ4の現在点が設
定された誤差許容範囲内にあるか否かを判定す
るのに必要な幾種類もの演算のシステムプログ
ラムがメニユーとして記憶されており、テイー
チング時にこれらのメニユーの中から1つをテ
ンキーTKの操作により選定できるようになつ
ている。この切換位置SE7はテンキーTKと共
にエラー判定方式のメニユー選定手段を構成し
ている。
(7) Switching position SE 7 ...Error judgment method tray number EJM.
The computer 1 has a No. display section and serves as a menu storage means for an error determination method as described later.
0's memory stores system programs for various calculations necessary to determine whether the current point of the torch 4 is within the set error tolerance range for each number as a menu. Sometimes one of these menus can be selected by operating the numeric keypad TK. This switching position SE 7 together with the numeric keypad TK constitutes an error determination type menu selection means.

(8) 切換位置SE8……パターン設定回数表示部を
有し、揺動パターンの何回(NT)目ごとに前
記EJM.No.を呼び出してエラーチエツクを行う
かをキー番号で設定できるようになつている。
尚、前述EJM.No.の選定があつて、パターン回
数(NT)の設定がない場合は、NT=1とみな
し、自動的に各揺動パターンの1周期終了ごと
にそのEJM.No.のエラーチエツクを行うように
なつている。
(8) Switching position SE 8 ...Has a pattern setting number display section, and it is possible to set with a key number how many times (N T ) of the oscillation pattern to call the EJM.No. and perform an error check. It's becoming like that.
If the EJM.No. mentioned above is selected but the pattern number (N T ) is not set, it is assumed that N T = 1, and the EJM.No. . is now checked for errors.

次に前記各EJM.No.に基づくエラー判定方式に
ついて説明する。エラー判定方式の種類は主に5
種類に分けられる。便宜上、第4図a,b,c,
d,eに示すエラー判定方式の種類をそれぞれ第
1種、第2種、第3種、第4種、第5種と呼称す
る。また、以下の説明では溶接始点aから溶接終
点または中間点bに向つてアークセンサーを実行
すると仮定し、点a,bを結ぶ線をパターン基準
線Lと呼称する。
Next, an error determination method based on each EJM.No. will be explained. There are mainly 5 types of error judgment methods.
Divided into types. For convenience, Figure 4 a, b, c,
The types of error determination methods shown in d and e are respectively referred to as type 1, type 2, type 3, type 4, and type 5. Further, in the following description, it is assumed that the arc sensor is executed from the welding start point a to the welding end point or intermediate point b, and the line connecting the points a and b will be referred to as a pattern reference line L.

(1) 第1種エラー判定方式(第4図a、EJM.No.
=10番台)は、所定揺動パターン回数ごとにエ
ラーチエツクを行うもので、予め誤差許容範囲
として各パターンの起点を中心に基準線Lに対
し左・右(紙面で上・下)にそれぞれδ1、δ2
角度を成す2つの直線方程式f1、f2を設定する
ようになつている。いま揺動パターンの設定回
数を3(=NT)と設定した場合、図示の通り、
点aを起点として3回の揺動パターンを実行
し、3回目の揺動パターンがアークセンサーで
位置修正され点C1に達したとする。コンピユ
ータ10は現在点C1の基準線Lに対する直角
成分の位置情報を前記直線方程式f1、f2に代入
して2つの判定点C11、C12を求め、点C1が点
C11、C12の間にあるか否かを演算して判定す
る。またコンピユータ10は次のエラーチエツ
クのために、点C1を起点とした2つの直線方
程式f1′、f2′を設定する。そして、次のパター
ンはC1を起点として実行され、3回目揺動パ
ターンの終点C2と方程式f1′、f2′から判定点
C21、C22を求め、同様に点C2が点C21、C22の間
にあるか否か演算して判定する。EJM.No.は角
度δ1、δ2の幾種類もの数値を組合せ、それぞれ
10番台の番号でメニユー化してある。この方式
は時に熱歪の生じ易い薄板のワークに適用さ
れ、急激な熱歪をエラーチエツクする目的で採
用される。
(1) Type 1 error determination method (Figure 4a, EJM.No.
= 10s) performs an error check every predetermined number of swing patterns, and as an error tolerance range, δ is set in advance to the left and right (up and down in the paper) with respect to the reference line L, centering on the starting point of each pattern. Two linear equations f 1 and f 2 forming angles of 1 and δ 2 are set. If we set the number of settings of the swing pattern to 3 (=N T ), as shown in the figure,
Assume that a swing pattern is executed three times starting from point a, and the position of the third swing pattern is corrected by the arc sensor and reaches point C1 . The computer 10 calculates two decision points C 11 and C 12 by substituting the position information of the orthogonal component of the current point C 1 with respect to the reference line L into the linear equations f 1 and f 2 , and the point C 1 is the point
It is determined by calculating whether or not it is between C 11 and C 12 . The computer 10 also sets two linear equations f 1 ' and f 2 ' starting at point C 1 for the next error check. Then, the next pattern is executed starting from C 1 , and the decision point is determined from the end point C 2 of the third swing pattern and the equations f 1 ′ and f 2 ′.
C 21 and C 22 are found, and similarly it is determined by calculation whether or not point C 2 is between points C 21 and C 22 . EJM.No. combines various values of angle δ 1 and δ 2 , and each
The menu is numbered in the 10s. This method is sometimes applied to thin plate workpieces that are prone to thermal distortion, and is employed for the purpose of error checking sudden thermal distortion.

(2) 第2種エラー判定方式(第4図b、EJM.No.
=20番台)は、始点aから終点bまで一律の誤
差許容範囲(図の斜線R1)を設定し、これよ
り外れたときにエラーの判定を行うものであ
る。従つて、基準線Lに対し直角方向左・右に
それぞれ位置ずれ許容値d1、d2を設定するよう
になつており、1回の揺動パターン実行毎にエ
ラーチエツクを行う。第4図bの実線の曲線は
実行パターンの各1周期端点(位置修正点)の
軌跡WL1であり、コンピユータ10は所定回
数のパターン終了ごとに現在点C3の基準線L
に対し直角の位置ずれ量dを前記d1、d2値と比
較し前記誤差許容範囲R1内にあるか否か判定
する。この軌跡WL1はこの範囲R1から外れ
た点C3′で初めてエラーと判定される。EJM.No.
は前記d1、d2値の幾種類もの数値の組合せを20
番台の番号によりメニユー化してある。この第
2種エラー判定方式は熱歪の生じ難い厚板のワ
ークに適する。
(2) Type 2 error determination method (Fig. 4b, EJM.No.
=20s), a uniform error tolerance range (diagonal line R1 in the figure) is set from the starting point a to the ending point b, and an error is determined when the range is outside this range. Therefore, positional deviation tolerances d 1 and d 2 are set respectively to the left and right in the perpendicular direction with respect to the reference line L, and an error check is performed every time the swing pattern is executed. The solid curve in FIG. 4b is the trajectory WL 1 of each cycle end point (position correction point) of the execution pattern, and the computer 10 moves the reference line L of the current point C 3 every predetermined number of pattern completions.
The amount of positional deviation d perpendicular to the position is compared with the d 1 and d 2 values to determine whether it is within the error tolerance range R1. This locus WL 1 is determined to be an error only at a point C 3 ' that is outside this range R1. EJM.No.
is a combination of various numerical values of the above d 1 and d 2 values.
The menu is organized by serial number. This type 2 error determination method is suitable for thick plate workpieces that are less susceptible to thermal distortion.

(3) 第3種エラー判定方式(第4図c、EJM.No.
=30番台)は、始点aを中心に基準線Lに対し
左・右にそれぞれδ3、δ4の角度を成す2つの直
線方程式f3、f4を設定し、両方程式で定まる直
線間の扇形領域(斜線で図示)を誤差許容範囲
R2としている。これにより始点a付近の位置
ずれを厳しく規制し、終点bに向うに従い漸次
位置ずれの規制を緩めるようにしてある。第4
図cの実線の曲線は実行パターンの各1周期端
点(位置修正点)の軌跡WL2である。コンピ
ユータ10は現在点C4の基準線Lに対する直
角成分の位置情報を前記直線方程式f3、f4に代
入して2つの判定点C41、C42を求め、点C4が点
C41、C42の間にあるか否かを演算して判定す
る。この軌跡WL2は前記範囲R2から外れた
点C4′で初めてエラーと判定される。
(3) Type 3 error determination method (Figure 4c, EJM.No.
= 30s), two linear equations f 3 and f 4 are set that form angles of δ 3 and δ 4 to the left and right of the reference line L, respectively, with the starting point a as the center, and the line between the straight lines defined by both equations is set. The fan-shaped area (indicated by diagonal lines) is defined as the error tolerance range R2. As a result, the positional deviation near the starting point a is strictly regulated, and the positional deviation is gradually loosened toward the end point b. Fourth
The solid curve in FIG. c is the locus WL 2 of each cycle end point (position correction point) of the execution pattern. The computer 10 substitutes the positional information of the orthogonal component of the current point C 4 with respect to the reference line L into the linear equations f 3 and f 4 to obtain two decision points C 41 and C 42 , and the point C 4 is the point
It is determined by calculating whether or not it is between C 41 and C 42 . This trajectory WL 2 is determined to be an error only at the point C 4 ' which is outside the range R2.

(4) 第4種エラー判定方式(第4図d、EJM.No.
=40番台)は、前記第3種の変形で、始点aか
ら基準線Lに対し直角方向左・右にそれぞれ△
l1、△l2偏位した点a1、a2を定め、これらの点
a1、a2を中心に基準線Lに対し左・右にそれぞ
れδ5、δ6の角度を成す2つの直線方程式f5、f6
を設定し、両方程式で定まる直線間の領域(斜
線で図示)を誤差許容範囲R3としている。こ
れにより、始点a付近の位置ずれを若干厳しく
規制し、終点に向うに従い漸次規制を緩めるよ
うにしてある。コンピユータ10の行うエラー
の判定は前記第3種方式と全く同じである。
EJM.No.は△l1、△l2、δ5、δ6の幾種類もの組合
せでメニユー化してある。
(4) Type 4 error determination method (Fig. 4d, EJM.No.
= 40s) is the third type of deformation described above, and △ from the starting point a to the left and right at right angles to the reference line L, respectively.
Determine the points a 1 and a 2 that are deviated by l 1 and △l 2 , and
Two linear equations f 5 and f 6 that form angles of δ 5 and δ 6 to the left and right of the reference line L, respectively, with a 1 and a 2 as centers.
is set, and the area between the straight lines determined by both equations (indicated by diagonal lines) is defined as the error tolerance range R3. As a result, positional deviation near the starting point a is somewhat strictly regulated, and the regulation is gradually loosened toward the end point. The error determination performed by the computer 10 is exactly the same as in the third type method.
EJM.No. is made into a menu with various combinations of △l 1 , △l 2 , δ 5 , and δ 6 .

(5) 第5種エラー判定方式(第4図e、EJM.No.
=50番台)は、前記第4種の変形で、始点aか
ら基準線Lに対し直角方向左・右にそれぞれ△
l3、△l4偏位した点a3、a4を定め点a、a3、a4
を結ぶ直線の延長線上に中心をもつ曲率半径
rC1、rC2(図示せず)の2つの円方程式f7、f8
を設定し、両方程式で定まる円弧間のラツパ状
領域(斜線で図示)を誤差許容範囲R4として
いる。これにより、始点a付近の位置ずれを若
干厳しく規制し、終点に向うに従い二次曲線的
に規制を緩和するようにしてある。コンピユー
タ10の行うエラーの判定は前記第4種方式と
同様である。EJM.No.は、△l3、△l4、rC1、rC2
の組合せで幾種類ものメニユーを備えている。
(5) Type 5 error determination method (Fig. 4e, EJM.No.
= 50s) is the fourth type of deformation described above, and △ from the starting point a to the left and right at right angles to the reference line L, respectively.
l 3 , △l 4 deviated points a 3 , a 4 are determined points a, a 3 , a 4
radius of curvature centered on the extension of the straight line connecting
Two circular equations f 7 , f 8 with rC 1 , rC 2 (not shown)
is set, and the curved area (shown with diagonal lines) between the circular arcs determined by both equations is defined as the error tolerance range R4. As a result, positional deviation near the starting point a is somewhat strictly regulated, and the regulation is relaxed in a quadratic curve toward the end point. The error determination performed by the computer 10 is similar to the type 4 method described above. EJM.No. is △l 3 , △l 4 , rC 1 , rC 2
The menu has many different combinations.

今、ワークWは第1図に示すように、水平部材
W1の上面に2個の垂直部材W2,W3をL字形
に組合せて仮付けしてあり、これらの部材W1,
W2,W3で形成される直角隅部を一旦の溶接開
始点P2から部材W2,W3の交差する中間点P4
を経て他端の溶接終了点P5まで連続溶接せんと
するものである。また、前記垂直部材W2は薄板
で熱歪が生じ易く、垂直部材W3は厚板で熱歪の
影響は小さいものとする。
Now, as shown in FIG. 1, the workpiece W has two vertical members W2 and W3 temporarily attached to the upper surface of the horizontal member W1 in an L-shape, and these members W1,
The right angle corner formed by W2 and W3 is moved from the welding starting point P 2 to the midpoint P 4 where members W2 and W3 intersect.
Welding is to be performed continuously until the welding end point P5 at the other end. Further, it is assumed that the vertical member W2 is a thin plate and is susceptible to thermal strain, and the vertical member W3 is a thick plate and is less affected by thermal strain.

以下オペレータのテイーチング操作、およびこ
れに伴いコンピユータ10が実行する処理につき
説明する。
The teaching operation by the operator and the processing executed by the computer 10 in connection therewith will be explained below.

(T1) スイツチSMの操作によりマニユアルモー
ドMを選択する。そしてスイツチSWの操作に
よりトーチ4を前記溶接開始点P2に近い任意
の地点P1に位置決めする。次に切換スイツチ
SEを切換位置SE1に切換え、テンキーTKの操
作により直線補間「L」を設定し、スイツチ
STAを操作すれば、コンピユータ10は点P1
の位置情報(X1、Y1、Z1、θ1、およびψ1)と
直線補間「L」を最初のステツプとして取り込
む。
(T1) Select manual mode M by operating switch SM. Then, by operating the switch SW, the torch 4 is positioned at an arbitrary point P1 close to the welding start point P2 . Next, switch
Switch SE to switching position SE 1 , set linear interpolation "L" by operating numeric keypad TK, and switch
If you operate STA, the computer 10 will change to point P 1
The position information (X 1 , Y 1 , Z 1 , θ 1 , and ψ 1 ) and the linear interpolation "L" are taken in as a first step.

(T2) スイツチSWの操作によりトーチ4を溶接
開始点P2に溶接に適した姿勢に位置決めする。
(T2) Position the torch 4 at the welding starting point P2 in a posture suitable for welding by operating the switch SW.

次いで切換スイツチSEの切換位置はそのま
までテンキーTKの操作によりアークセンシン
グ「As」を設定し、スイツチSTAを操作すれ
ば、コンピユータ10は点P2の位置情報のア
ークセンシング「As」を次のステツプとして
取り込む。
Next, by operating the numeric keypad TK to set the arc sensing "As" while leaving the switching position of the changeover switch SE as it is, and by operating the switch STA, the computer 10 changes the arc sensing "As" of the position information of point P2 to the next step. Import as.

(T3) スイツチSWの操作によりトーチ4を部材
W1,W2で囲まれた座標象限内の任意の点
P3(ダミー点と呼称)に位置決めする。
(T3) Move the torch 4 to any point within the coordinate quadrant surrounded by members W1 and W2 by operating the switch SW.
Position at P 3 (referred to as dummy point).

次いで切換スイツチSEの切換位置SE1
SE3、SE4においてテンキーTKの操作によりそ
れぞれ「As」、「7」、「02」を設定する。この
うちFNo.「7」はダミー点の指定であり、
AUX.No.「02」は溶接継手形状として水平隅肉
の指定である(第2図参照)。さらに切換スイ
ツチSEの切換位置SE5では、テンキーTKによ
り既述の揺動パターンを構成する振幅m、高さ
h、ピツチPC、きざみ数nを4桁のメニユー
数値で設定する。その後、スイツチSTAを操
作すれば、コンピユータ10はダミー点P3
位置情報、アークセンシング「As」、FNo.
「7」、AUX.No.「02」、並びに揺動パターンの
情報を次のステツプとして取り込む。
Next, the changeover switch SE is set to the switching position SE 1 ,
In SE 3 and SE 4 , set "As", "7", and "02" respectively by operating the numeric keypad TK. Among these, FNo. "7" is a dummy point designation,
AUX.No. "02" specifies a horizontal fillet as the weld joint shape (see Figure 2). Furthermore, at the switching position SE5 of the changeover switch SE, the amplitude m, height h, pitch PC, and number of increments n constituting the above-mentioned swing pattern are set using four-digit menu values using the numeric keypad TK. After that, by operating the switch STA, the computer 10 will display the position information of dummy point P3 , arc sensing "As", and F No.
"7", AUX.No. "02", and the rocking pattern information are taken in as the next step.

(T4) スイツチSWの操作によりトーチ4を前記
中間点P4に溶接に適した姿勢で位置決めする。
(T4) Position the torch 4 at the intermediate point P4 in a posture suitable for welding by operating the switch SW.

次いで、切換スイツチSEの切換位置SE1
SE2、SE4、SE6、SE7、SE8においてテンキー
TKの操作によりそれぞれ「As」、「01」、「10」、
「1」、「10」、「3」を設定する。
Next, the switching position SE 1 of the changeover switch SE,
Numeric keypad on SE 2 , SE 4 , SE 6 , SE 7 , SE 8
"As", "01", "10", respectively by TK operation.
Set "1", "10", "3".

この中で、W.No.「01」は前記溶接開始点P2
から中間点P4までの溶接条件(溶接電圧、溶
接電流等)として最適の条件を備えたメニユー
番号である。AUX.No.「10」は予め別のワーク
で得られた揺動パターンのデータで位置補正す
ることを意味する。タイマーNo.「1」は揺動の
左・右端で溶接トーチ4を一時停止させるのに
適したメニユー番号を指定している。また
EJM.No.「10」は、前述第1種エラー判定方式
の指定である。この実施例では、ワークW全体
としては取付誤差(特に溶接開始点P2の位置
ずれ)を厳しく規制し、薄板の部材W2に対し
てある程度の熱歪を許容するものの途中におけ
る急激な熱歪による位置ずれを規制する。さら
にパターン設定回数NT「3」は前記EJM.No.
「10」に基づくエラーチエツクを3回のパター
ン回数毎に行うことを意味する。
Among them, W.No. "01" is the welding start point P 2
This is a menu number with the optimal welding conditions (welding voltage, welding current, etc.) from P4 to intermediate point P4 . AUX.No. ``10'' means that the position is corrected using swing pattern data obtained in advance from another work. Timer No. "1" specifies a menu number suitable for temporarily stopping the welding torch 4 at the left and right ends of the swing. Also
EJM.No. "10" is the designation of the type 1 error determination method described above. In this embodiment, installation errors (particularly positional deviations at the welding start point P2 ) are strictly regulated for the workpiece W as a whole, and a certain degree of thermal strain is allowed for the thin plate member W2. Regulate misalignment. Furthermore, the number of pattern settings N T “3” is the EJM.No.
This means that an error check based on "10" is performed every three pattern cycles.

これでスイツチSTAを操作すれいば、コン
ピユータ10は中間点P4の位置情報、アーク
センシング「As」、W.No.「01」、AUX.No.
「10」、タイマーNo.「1」、EJM.No.「10」、NT
「3」を次のステツプとして取り込む。
Now, if you operate the switch STA, the computer 10 will receive the position information of intermediate point P4 , arc sensing "As", W.No. "01", and AUX.No.
"10", Timer No. "1", EJM.No. "10", N T
Take "3" as the next step.

(T5) スイツチSWの操作によりトーチ4を溶接
終了点P5に溶接に適した姿勢で位置決めする。
次いで切換スイツチSEの切換位置SE1、SE2
SE4、SE6、SE7においてテンキーTKの操作に
よりそれぞれ「As」、「01」、「10」、「1」、「20」
を設定する。この中で、EJM.No.「20」は、前
述第2種エラー判定方式の指定である。この実
施例では、前記部材W2が薄板で熱歪が生じ易
く、中間点P4はかなり位置修正されることが
予想され、また部材W3は厚板で熱歪が小さい
ため、中間点P4から溶接終了点P5までの溶接
線WLに対しては既述の通り第2種エラー判定
方式が適する。
(T5) Position the torch 4 at the welding end point P5 in a posture suitable for welding by operating the switch SW.
Next, the switching positions SE 1 , SE 2 ,
"As", "01", "10", "1", "20" are displayed on SE 4 , SE 6 , and SE 7 by operating the numeric keypad TK, respectively.
Set. Among these, EJM.No. "20" is the designation of the type 2 error determination method described above. In this example, the member W2 is a thin plate and tends to undergo thermal strain, and it is expected that the position of the intermediate point P4 will be considerably corrected, and the member W3 is a thick plate with small thermal strain. As mentioned above, the type 2 error determination method is suitable for the weld line WL up to the welding end point P5 .

これでスイツチSTAを操作すれば、コンピ
ユータ10は溶接終了点P5の位置情報、アー
クセンシング「As」、W.No.「01」、AUX.No.
「10」、タイマーNo.「1」、EJM.No.「20」を次の
ステツプとして取り込む。
Now, by operating the switch STA, the computer 10 will receive the position information of welding end point P5 , arc sensing "As", W.No. "01", AUX.No.
Import "10", timer No. "1", and EJM. No. "20" as the next step.

(T6) スイツチSWの操作によりトーチ4を前記
溶接終了点P5から直線的に移行できる任意の
退避点P6に位置決めする。そして切換スイツ
チSEを切換位置SE1に切換え、テンキーTKの
操作により直線補間「L」を設定し、スイツチ
STAを操作すれば、コンピユータ10は点P6
の位置情報と直線補間「L」を最後のステツプ
として取り込む。
(T6) By operating the switch SW, the torch 4 is positioned at an arbitrary retreat point P 6 that can be moved linearly from the welding end point P 5 . Then, change the changeover switch SE to the changeover position SE 1 , set linear interpolation "L" by operating the numeric keypad TK, and turn the switch
If you operate STA, the computer 10 will change to point P6
The position information and linear interpolation "L" are taken in as the final step.

以上でテイーチングを終了する。第5図に前述
一連のユーザプログラムの内容を示す。
This concludes the teaching. FIG. 5 shows the contents of the aforementioned series of user programs.

次にオペレータがスイツチSMをテストモード
TEとし、スイツチSTAを操作すれば、前述プロ
グラムの1ステツプずつが実行(但し溶接は実行
されずに)され、誤りがあれば修正する。
Next, the operator puts the Switch SM into test mode.
If you set it to TE and operate the switch STA, each step of the above program will be executed (but welding will not be executed), and if there is an error, it will be corrected.

続いてスイツチSMをオートモードAとし、ス
イツチSTAを操作すれば、前述プログラムが連
続して実行される。このときコンピユータ10が
実行する処理の流れを第6図のフローチヤートを
参照しながら説明する。
Next, if the switch SM is set to auto mode A and the switch STA is operated, the aforementioned program will be executed continuously. The flow of processing executed by the computer 10 at this time will be explained with reference to the flowchart of FIG.

(A1) コンピユータ10はユーザプログラムのス
テツプ中に指令「As」があるか、否か判断す
る(処理PR1)。
(A1) The computer 10 determines whether or not there is a command "As" in a step of the user program (processing PR1).

(A2) 指令「As」が無ければ、このステツプの
内容を実行する(処理PR2)。
(A2) If there is no command "As", execute the contents of this step (processing PR2).

(A3) 前記処理PR1で指令「As」があれば、さ
らにパターン作成は自動設定か否か判断する
(処理PR3)。
(A3) If there is a command "As" in the process PR1, it is further determined whether pattern creation is automatic setting (process PR3).

(A4) F.No.が「7」であれば自動設定と判断し、
ダミー点P3にテイーチングされた情報に基づ
き振幅m、高さh、ピツチPCよりアークウイ
ービングの揺動パターンを作成し、きざみ数n
から与えられる速度(周波数)でアークセンサ
ーを実行する(処理PR4)。
(A4) If the F.No. is "7", it is determined to be automatic setting,
Based on the information taught to dummy point P3 , create an arc weaving swing pattern from the amplitude m, height h, pitch PC, and the number of increments n.
The arc sensor is executed at the speed (frequency) given by (processing PR4).

(A5) 処理PR4で、F.No.が「7」でなければ手
動判定と判断し、ここでは説明を省略したが、
実際に溶接トーチ4を開先に位置決めしてテイ
ーチングされた通りの揺動パターンでアークセ
ンサーを実行する(処理PR5)。尚、本実施例
ではこの処理PR5は適用されない。
(A5) In process PR4, if the F.No. is not "7", it is judged as manual judgment, and the explanation is omitted here.
The welding torch 4 is actually positioned at the groove and the arc sensor is operated in the oscillation pattern as taught (processing PR5). Note that this process PR5 is not applied in this embodiment.

(A6) 前記処理PR2、PR4、PR5のいずれに
おいてもそれぞれの処理が終了したならば、そ
のステツプがエンドであつたか否か判断する
(処理PR6)。
(A6) When each process is completed in any of the processes PR2, PR4, and PR5, it is determined whether or not that step is the end (process PR6).

(A7) エンドであればオートモードにおける一連
の実行を終了するが、そうでないならば、ステ
ツプを更新し(処理PR7)、前記処理PR1の
手前に戻る。
(A7) If it is the end, the series of execution in the auto mode is ended, but if not, the step is updated (processing PR7) and the process returns to the previous step PR1.

次に前述処理PR4またはPR5におけるアーク
センサー実行モードの処理の流れを説明する。
Next, the flow of processing in the arc sensor execution mode in the aforementioned processing PR4 or PR5 will be explained.

(A100) 初期状態としてパターン回数をN=1と
する。(処理PR100)。
(A100) As an initial state, the number of patterns is set to N=1. (Processing PR100).

(A101) 前記処理PR4またはPR5の中で作成さ
れた1パターンのアークセンサーを実行する
(処理PR101)。
(A101) One pattern of arc sensor created in the process PR4 or PR5 is executed (process PR101).

(A102) 次にこのステツプにエラー判定の指令を
含むか、否か判断する(処理PR102)。
(A102) Next, it is determined whether this step includes an error determination command (processing PR102).

(A103) EJM.No.が有れば、「YES」と判断し、
さらにパターン回数Nが設定回数NTであつた
か、否か判断する(処理PR103)。
(A103) If there is an EJM.No., it will be judged as “YES”,
Further, it is determined whether the pattern number N is the set number N T (processing PR103).

(A104) N=NTであれば、N=1とし(処理PR
104)、指定されたEJM.No.に応じて、現在点
が誤差許容範囲内にあるか否か演算して判定す
る(処理PR105)。
(A104) If N=N T , set N=1 (processing PR
104), it is calculated and determined whether the current point is within the error tolerance range according to the specified EJM.No. (processing PR105).

(A105) 前記処理PR105における判定はエラ
ーか、否か判断する(処理PR106)。
(A105) It is determined whether the determination in the process PR105 is an error or not (process PR106).

(A106) エラーでなければ、現在点は目標点か、
否か判断する(処理PR107)。目標点でなけ
れば、処理PR101の手前に戻り、目標点で
あればアークセンサーを終了し前記処理PR6
の手前に戻る。
(A106) If there is no error, is the current point the target point?
It is determined whether or not (processing PR107). If it is not the target point, the process returns to the front of process PR101, and if it is the target point, the arc sensor is terminated and the process PR6 is executed.
Return to the front.

(A107) 前記処理PR103でN≠NTであればN
=N+1とし(処理PR108)、処理PR10
7の手前に移行する。
(A107) If N≠ NT in the process PR103, then N
=N+1 (processing PR108), processing PR10
Move to the front of 7.

(A108) 前記処理PR106で判定がエラーであ
れば、ロボツトROに対し駆動停止(トーチ4
の移動停止と溶接作業の停止を含む)を指令し
(処理PR109)、さらに警報器11に作動指
令を発する(処理PR110)。
(A108) If the judgment is an error in the process PR106, the robot RO is forced to stop driving (torch 4
(process PR109), and further issues an activation command to the alarm 11 (process PR110).

しかして、溶接ロボツトROはコンピユータ1
0からの指令出力に基づき以下の動作を行う。先
ずトーチ4を点P1に位置決めし、該トーチ4は
直線補間で溶接開始点P2に向つて移動する。ト
ーチ4は点P2に達すると、前記処理PR4により
アークウイークビングを開始し、溶接条件No.
「01」に基づき中間点P4に向つて水平隅肉溶接を
実行する。そしてコンピユータ10は溶接実行中
絶えずアークセンシングを行い、予め格納されて
いるデータAUX.No.「10」を用いて位置ずれを補
正した上で揺動パターンを作成し出力する。即
ち、揺動パターンは毎回補正分だけ開先幅方向お
よび高さ方向に平行移動させられ、トーチ4は常
に溶接線に追従することになる。前記溶接開始点
P2および中間点P4をそれぞれ第4図aにおける
始点aおよび終点bとして説明する。前記揺動パ
ターンが3回(=NT)実行されアークセンサー
により位置修正されると、そのトーチ4の現在点
C1が第1回目のチエツク点となる。従つて、コ
ンピユータ10は処理PR105においてEJM.No.
10に従い現在点C1が誤差許容範囲にあるか否か、
既述の通り演算して判定する。この判定結果でエ
ラーでなければ、次の揺動パターンの実行に移
る。
However, the welding robot RO uses computer 1.
The following operations are performed based on the command output from 0. First, the torch 4 is positioned at a point P1 , and the torch 4 is moved toward the welding start point P2 by linear interpolation. When the torch 4 reaches point P2 , arc weakening is started by the process PR4, and welding condition No.
Perform horizontal fillet welding toward intermediate point P 4 based on "01". The computer 10 continuously performs arc sensing during welding, corrects positional deviation using pre-stored data AUX.No. "10", and creates and outputs a swing pattern. That is, the swing pattern is translated in parallel in the groove width direction and height direction by the amount of correction each time, and the torch 4 always follows the welding line. The welding starting point
P 2 and intermediate point P 4 will be explained as starting point a and ending point b in FIG. 4a, respectively. When the swing pattern is executed three times (=N T ) and the position is corrected by the arc sensor, the current point of the torch 4 is
C 1 is the first check point. Therefore, the computer 10 processes EJM.No. in process PR105.
10, whether the current point C 1 is within the error tolerance range or not,
Calculate and determine as described above. If the result of this determination is that there is no error, the process moves to execution of the next swing pattern.

こうして溶接トーチ4が中間点P4の位置修正
点P4′(図示せず)に達すると、パターン基準線L
が位置修正済み中間点P4′と溶接終了点P5を結ぶ
線に変更されるとともにEJM.No.20に変更され、
トーチ4は溶接終了点P5に向つて水平隅肉溶接
のアークセンサーを続行する。
In this way, when the welding torch 4 reaches the position correction point P4 ' (not shown) of the intermediate point P4 , the pattern reference line L
is changed to the line connecting the position-corrected intermediate point P 4 ′ and the welding end point P 5 , and is also changed to EJM.No. 20,
The torch 4 continues the horizontal fillet welding arc sensor toward the welding end point P5 .

溶接トーチ4は溶接終了点P5に向つてアーク
センサーを実行し、揺動パターン1回終了毎に処
理PR105においてEJM.No.20に基づく判定を受
け、現在点が前記範囲R1内にある限りアークセ
ンサーを続行する。そしてトーチ4が溶接終了点
P5の位置修正点P5′(図示せず)に達すると、溶接
を終了し、直線補間で退避点P6に移動する。
The welding torch 4 executes the arc sensor toward the welding end point P5 , and receives a judgment based on EJM.No.20 in process PR105 every time the swing pattern is completed, and as long as the current point is within the range R1. Continue with arc sensor. And torch 4 is the welding end point
When the position correction point P 5 ′ (not shown) of P 5 is reached, welding is finished and the welding is moved to the retreat point P 6 by linear interpolation.

もし、前述アークセンサー実行中に、処理PR
105の判定結果として処理PR106によりエ
ラーの判定が出れば、コンピユータ10は処理
PR109によりロボツトROの各駆動源に対し駆
動停止の指令を与える。従つて、溶接トーチ4は
直ちに溶接を中断するととともにその場に静止す
る。さらにコンピユータ10は警報器11に対し
て作動指令を出力し(処理PR110)、警報器1
1は図示しないがブザーを鳴らすと共に表示ラン
プを点滅させる。それに対し、オペレータは、ワ
ークWの溶接状態(熱歪による位置ずれ等)を観
察し、ワークWの取付状態を直すだけでよけれ
ば、手動で溶接トーチ4を一旦溶接中断位置から
退避させ、取付直しをした上で、再びトーチ4を
該中断位置に位置決めし、図示しない復帰釦を操
作すれば、アークセンサーが再開される。勿論、
そのワークWの溶接状態が悪く最後まで仕上げる
に値しないと判断すれば、ワークWを取り外し、
新たなワークWに移る。
If the above-mentioned arc sensor is running, the processing PR
If an error is determined by the process PR106 as a result of the determination in step 105, the computer 10 executes the process.
The PR109 gives a drive stop command to each drive source of the robot RO. Therefore, the welding torch 4 immediately stops welding and stands still at that spot. Furthermore, the computer 10 outputs an activation command to the alarm 11 (processing PR110), and
1, although not shown, sounds a buzzer and flashes a display lamp. On the other hand, if the operator only needs to observe the welding condition of the workpiece W (positional deviation due to thermal distortion, etc.) and correct the installation condition of the workpiece W, the operator can manually move the welding torch 4 away from the welding interruption position and then reinstall the welding torch 4. After making the corrections, the torch 4 is positioned at the interrupted position again and a return button (not shown) is operated to restart the arc sensor. Of course,
If you judge that the welding condition of the workpiece W is poor and it is not worth finishing it to the end, remove the workpiece W,
Move to new work W.

本発明は前述実施例以外に下記する変形もまた
可能である。
In addition to the embodiments described above, the present invention can also be modified as described below.

() 前述実施例では、アークセンシングによる
位置補正は予め作成されたデータ(AUX.No.
「10」)を用いて行うようにしたが、溶接実行の
初期においてサンプリングデータを作成し、そ
れに基づいて位置補正してもよい。
() In the above embodiment, position correction by arc sensing is performed using previously created data (AUX.No.
10)), however, sampling data may be created at the beginning of welding execution and position correction may be performed based on it.

() 前述実施例では、第4図で各エラー判定方
式に使用する角度や偏位をX−Y座標平面で示
したが、三次元の立体的な角度であつてもよ
い。例えば第4図bの第2種エラー判定方式に
おいて、誤差許容範囲R1は中心軸線が基準線
Lに一致またはこれに平行とした円筒空間とし
てもよい(第7図参照)。この場合パラメータ
としては基準線Lに対する中心軸線の偏位量、
偏位方向、および円筒半径となる。同様にし
て、第4図c,d,eに示す第3種、第4種、
第5種エラー判定方式の誤差許容範囲はそれぞ
れ第8,9,10図に示すように円錐体、切頭
円錐体、ラツパ状体となる。
() In the above-described embodiment, the angles and deviations used in each error determination method are shown in the X-Y coordinate plane in FIG. 4, but they may be three-dimensional three-dimensional angles. For example, in the type 2 error determination method shown in FIG. 4b, the error tolerance range R1 may be a cylindrical space whose central axis coincides with or is parallel to the reference line L (see FIG. 7). In this case, the parameters include the amount of deviation of the central axis with respect to the reference line L;
direction of deflection, and radius of the cylinder. Similarly, the third type, the fourth type shown in Fig. 4 c, d, e,
The error tolerance ranges of the type 5 error determination method are a cone, a truncated cone, and a truncated body, as shown in FIGS. 8, 9, and 10, respectively.

() 前述実施例では、5種類のエラー判定方式
の各々について角度や偏位をパラメータとし、
それらの組合せによりEJM.No.を設定したが、
EJM.No.によつて前記5種類のエラー判定方式
の選択を行い、個々の方式における各パラメー
タは数値入力によつてもよい。
() In the above embodiment, angle and deviation are used as parameters for each of the five types of error determination methods,
EJM.No. was set based on those combinations, but
The five types of error determination methods described above may be selected based on EJM.No., and each parameter for each method may be entered by numerical values.

() 前述実施例では、処理PR105でエラー
の判定の場合、処理PR109においてロボツ
トを駆動停止させるようにしたが、トーチ4の
移動を停止させ溶接を中断した際電極が溶接金
属に付着する恐れのある場合は、溶接を中断し
た後トーチ4を溶接線から若干離反させるよう
な一時退避のステツプを付加すればよい。
() In the above embodiment, if an error is determined in process PR105, the robot is stopped in process PR109. In some cases, a temporary retraction step may be added to move the torch 4 slightly away from the welding line after welding is interrupted.

() ロボツトは直角座標形以外のメカ構成のも
のでも実施できる。
() Robots can also be implemented with mechanical configurations other than rectangular coordinate systems.

以上詳述せるごとく、本発明によるときは、幾
種類ものエラー判定方式のメニユーを記憶する手
段を設けたため、オペレータはテイーチング時に
ワークの材質、大きさ、溶接条件に応じて各溶接
線に適したエラー判定方式メニユーを教示するだ
けでアークセンサー実行中における位置ずれの異
常を検出でき、また異常検出時に溶接トーチのア
ーク溶接を中断するようにしたため、ワークの取
付け直しを行えば済むものであればそのワークは
排除することなく製品として仕上げることがで
き、またそのワークが最後まで仕上げるには値し
なければその場で不良ワークとして排除でき、ワ
ークの仕上り製品群に不良ワークが紛れ込む恐れ
がない等多くの特有且つ顕著な効果を奏するもの
である。
As detailed above, according to the present invention, a means for storing a menu of several types of error judgment methods is provided, so that the operator can select the appropriate welding line for each welding line according to the material, size, and welding conditions of the workpiece during teaching. It is possible to detect positional deviation abnormalities during arc sensor execution by simply teaching the error determination method menu, and the arc welding of the welding torch is interrupted when an abnormality is detected, so if only the workpiece could be reattached. The work can be finished as a product without being rejected, and if the work is not worth finishing, it can be rejected on the spot as a defective work, so there is no risk of defective work being mixed into the finished product group, etc. It has many unique and remarkable effects.

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

図面はいずれも本発明の実施例を示すもので、
第1図は本発明の制御装置を備えた溶接ロボツト
の全体図、第2図は各種溶接継手形状を示す略
図、第3図は揺動パターンの説明図、第4図は各
種エラー判定方式を示す説明図、第5図はプログ
ラムのステツプ図、第6図はフローチヤート、第
7〜10図は立体的な誤差許容範囲を示す説明図
である。 図中、ROはロボツト、4は溶接トーチ、10
はコンピユータ、12は遠隔制御盤、Wはワーク
である。
All drawings show embodiments of the present invention.
Fig. 1 is an overall view of a welding robot equipped with the control device of the present invention, Fig. 2 is a schematic diagram showing various weld joint shapes, Fig. 3 is an explanatory diagram of swing patterns, and Fig. 4 is an illustration of various error determination methods. FIG. 5 is a step diagram of the program, FIG. 6 is a flowchart, and FIGS. 7 to 10 are explanatory diagrams showing three-dimensional error tolerance ranges. In the figure, RO is a robot, 4 is a welding torch, and 10 is a welding torch.
is a computer, 12 is a remote control panel, and W is a workpiece.

Claims (1)

【特許請求の範囲】[Claims] 1 揺動パターン作成手段を含み、溶接トーチを
開先幅方向に揺動させながらアーク溶接を行い、
該揺動中に溶接トーチの位置ずれを検出し、この
位置ずれを修正することにより溶接トーチを溶接
線に追従させるようにした溶接ロボツトにおい
て、前記位置ずれに関する誤差許容範囲を設定し
た少くとも1個のエラー判定方式メニユーを記憶
する手段と、テイーチング時に前記メニユーの1
つを選定する選定手段と、アーク溶接中前記揺動
パターンの所定回数実行毎に前記選定メニユーを
呼び出し溶接トーチの現在点が前記誤差許容範囲
内に存在するか否かを判定するエラー判定手段と
を含み、該エラー判定手段による判定がエラーの
とき少くともアーク溶接を中断することを特徴と
する、溶接ロボツトにおける制御装置。
1 includes a swing pattern creation means, performs arc welding while swinging the welding torch in the groove width direction,
In a welding robot that detects a positional deviation of a welding torch during the swinging and corrects this positional deviation to cause the welding torch to follow the welding line, at least means for storing error judgment method menus; and one of the menus during teaching.
and an error determining means that calls the selection menu every time the swing pattern is executed a predetermined number of times during arc welding and determines whether the current point of the welding torch is within the error tolerance range. 1. A control device for a welding robot, comprising: a control device for a welding robot, characterized in that at least arc welding is interrupted when a determination by the error determining means is an error.
JP9483084A 1984-05-11 1984-05-11 Control device in welding robot Granted JPS60238088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9483084A JPS60238088A (en) 1984-05-11 1984-05-11 Control device in welding robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9483084A JPS60238088A (en) 1984-05-11 1984-05-11 Control device in welding robot

Publications (2)

Publication Number Publication Date
JPS60238088A JPS60238088A (en) 1985-11-26
JPH0353070B2 true JPH0353070B2 (en) 1991-08-13

Family

ID=14120964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9483084A Granted JPS60238088A (en) 1984-05-11 1984-05-11 Control device in welding robot

Country Status (1)

Country Link
JP (1) JPS60238088A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0615443A (en) * 1992-07-02 1994-01-25 Maruhide Koki:Kk Control panel for pipe cutting device
CN102380874A (en) * 2010-09-02 2012-03-21 上海拖拉机内燃机有限公司 Redundancy error-proofing method of robot

Also Published As

Publication number Publication date
JPS60238088A (en) 1985-11-26

Similar Documents

Publication Publication Date Title
US6522949B1 (en) Robot controller
KR100243084B1 (en) Method and apparatus for controlling welding robot
US4870247A (en) Method and apparatus for controlling a welding robot forming a nonuniform weld satisfying predetermined criteria related to an interspace between elements being welded
JPH0292471A (en) Automatic seam welding device for fuel tank
JPH0353070B2 (en)
JPS5950971A (en) Industrial robot
EP0354969A1 (en) Weaving welding method
JPS6251709B2 (en)
JPH0334086B2 (en)
JPH04750B2 (en)
JPH0428695Y2 (en)
JPH0353071B2 (en)
JPS61172678A (en) Method for controlling welding robot
JPH0418947B2 (en)
JPH07205014A (en) Grinding robot
JPH0641031B2 (en) Welding method of welding robot
JPH0440116B2 (en)
JPH0695295B2 (en) Control method for industrial robot
JPH0451266B2 (en)
JPH0360866A (en) Welding robot
JPS5835066A (en) Teaching method for robot
JPH07129214A (en) Control method for robot equipped with software cage function
JPH0429474B2 (en)
JPS60181803A (en) Control method of industrial robot
JPS60195610A (en) Controlling method of industrial robot

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term