JP4745921B2 - Control method of welding robot - Google Patents

Control method of welding robot Download PDF

Info

Publication number
JP4745921B2
JP4745921B2 JP2006232149A JP2006232149A JP4745921B2 JP 4745921 B2 JP4745921 B2 JP 4745921B2 JP 2006232149 A JP2006232149 A JP 2006232149A JP 2006232149 A JP2006232149 A JP 2006232149A JP 4745921 B2 JP4745921 B2 JP 4745921B2
Authority
JP
Japan
Prior art keywords
axes
tip position
component
tool tip
arm
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.)
Active
Application number
JP2006232149A
Other languages
Japanese (ja)
Other versions
JP2008055518A (en
Inventor
利彦 西村
信行 友近
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.)
Kobe Steel Ltd
Original Assignee
Kobe Steel 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 Kobe Steel Ltd filed Critical Kobe Steel Ltd
Priority to JP2006232149A priority Critical patent/JP4745921B2/en
Publication of JP2008055518A publication Critical patent/JP2008055518A/en
Application granted granted Critical
Publication of JP4745921B2 publication Critical patent/JP4745921B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は溶接ロボットの制御方法に関する。特に、本発明は、6軸の垂直多関節型の溶接ロボットにツールを左右に振動させながら溶接するウィビング動作を実行させるための制御方法に関する。   The present invention relates to a method for controlling a welding robot. In particular, the present invention relates to a control method for causing a 6-axis vertical articulated welding robot to perform a weaving operation of welding while vibrating a tool from side to side.

図9を参照すると、アーク溶接ロボットのウィビング動作は、溶接線に対してトーチ1を左右に振動させながら溶接を行うもので、教示によって指定された直線・円弧等の移動軌跡上のP(t)に対してウィビング成分W(t)を加算して実現されるのが一般的である。即ち、ウィビング成分加算後のトーチ1の先端位置P(t)は以下の式(1)で表される。 Referring to FIG. 9, the weaving operation of the arc welding robot is to perform welding while vibrating the torch 1 to the left and right with respect to the weld line, and P c ( This is generally realized by adding the weaving component W (t) to t). That is, the tip position P (t) of the torch 1 after the addition of the wobbling component is expressed by the following formula (1).

Figure 0004745921
Figure 0004745921

ウィビング成分W(t)としては、図10に示す正弦波の他、三角波等が使用され、教示データ等で指定されたパラメータ(周波数や振動等)に従って、時系列で変化するウィビング並進成分(W,W,W)が算出される。ロボットに対して設定された直交座標系(ベース座標系)において、位置P(t)におけるロボット先端の位置及び姿勢は、以下の式(2)で表される。 As the whibbing component W (t), a triangular wave or the like is used in addition to the sine wave shown in FIG. 10, and the wobbling translation component (W that changes in time series in accordance with parameters (frequency, vibration, etc.) specified by the teaching data or the like. x , Wy , Wz ) are calculated. In the orthogonal coordinate system (base coordinate system) set for the robot, the position and orientation of the robot tip at the position P c (t) are expressed by the following equation (2).

Figure 0004745921
Figure 0004745921

ここでPcx、Pcy、PCZはベース座標系の直交軸上の位置、Pcα、Pcβ、Pcγは直交軸に対する回転角度である。 Here, P cx , P cy , and P CZ are positions on the orthogonal axis of the base coordinate system, and P , P , and P are rotation angles with respect to the orthogonal axis.

同様に、ベース座標系におけるウィビング成分加算後のロボット先端位置P(t)は以下の式(3)で表される。   Similarly, the robot tip position P (t) after adding the wobbling component in the base coordinate system is expressed by the following equation (3).

Figure 0004745921
Figure 0004745921

従って、ベース座標系におけるウィビング並進成分W(t)を(W,W,W)とすると、ロボット先端位置P(t)は以下の式(4)で表される。 Accordingly, when the wobbling translation component W (t) in the base coordinate system is (W x , W y , W z ), the robot tip position P (t) is expressed by the following equation (4).

Figure 0004745921
Figure 0004745921

かかるウィビング動作を図11に示すような一般的な垂直多関節型ロボットに行わせると、全ての関節J1〜J6がウィビング周波数で揺動することになり、ウィビング周波数が高い場合(一般的には5〜10kHz以上)、アームを駆動する比較的低剛性の3軸(関節J1〜J3)に発振が生じやすく、その結果トーチ先端位置の精度確保が困難となり、正確な溶接作業を行うことができなるという問題があった。   When a general vertical articulated robot as shown in FIG. 11 performs such a whibbing operation, all the joints J1 to J6 swing at the whibbing frequency, and when the whibbing frequency is high (generally 5-10kHz or higher), and the relatively low rigidity of the three axes (joints J1 to J3) that drive the arm is likely to oscillate. As a result, it is difficult to ensure the accuracy of the torch tip position, and accurate welding work can be performed. There was a problem of becoming.

この問題を解決してより高周波数でのウィビングを可能とする方法としては、低剛性の基本3軸(図11の関節J1〜J3)ではウィビング動作を実行せずに、より高剛性の手首軸(図11の関節J4〜J6)のみでウィビング動作を実行することが知られている。この方法は、例えば特許文献1及び2に開示されている。   As a method of solving this problem and enabling a higher frequency of wobbling, the wrist shaft having a higher rigidity can be used without performing a wobbling operation on the basic three axes having low rigidity (the joints J1 to J3 in FIG. 11). It is known that the wobbling operation is executed only by the joints J4 to J6 in FIG. This method is disclosed in Patent Documents 1 and 2, for example.

特許文献1の方法では、トーチの長手方向の延長線が手首軸の関節J4〜J6の回転中心(図11に示すアーム先端位置Parm)と交差するように、3軸(関節J4〜J6)でウィビングを行う。しかし、特殊な形状のトーチが必要であり、かつ使用できるアームの姿勢も限定されることとから、作業領域が極めて狭くなり実用的でない。 In the method of Patent Document 1, three axes (joints J4 to J6) are formed so that the extension line in the longitudinal direction of the torch intersects with the rotation center (arm tip position P arm shown in FIG. 11) of the wrist joints J4 to J6. Wibbing with However, since a specially shaped torch is necessary and the posture of the arm that can be used is limited, the work area becomes extremely narrow and is not practical.

これに対し、特許文献2の方法では、トーチの形状は限定されず、手首軸のうち最先端の軸(関節J6)を除く、2軸(関節J4,J5)でウィビング動作を実行している。演算手法は概ね以下の通りである。   On the other hand, in the method of Patent Document 2, the shape of the torch is not limited, and the wobbling operation is performed on two axes (joints J4 and J5) excluding the most advanced axis (joint J6) among the wrist axes. . The calculation method is generally as follows.

1)ウィビング加算前の位置Pc(t)の逆キネマティクスを解き、全関節J1〜J6の関節角度を求め。
2)ウィビング動作に使用する2軸(関節J4,J5)が微小角度回転した際の方向ベクトルa4,a5を求める。
3)ウィビング成分Wを方向ベクトルa4,a5で分解し、関節J4,J5の微小角度変化ΔJ4,ΔJ5を求める。
4)微小角度変化ΔJ4,ΔJ5を1)で求めた関節J4,J5の関節角度に加算する。
1) Solve the inverse kinematics of the position Pc (t) before adding the weaving, and obtain the joint angles of all the joints J1 to J6.
2) Find the direction vectors a4 and a5 when the two axes (joints J4 and J5) used for the weaving operation are rotated by a small angle.
3) The weaving component W is decomposed with the direction vectors a4 and a5, and the minute angle changes ΔJ4 and ΔJ5 of the joints J4 and J5 are obtained.
4) The minute angle changes ΔJ4 and ΔJ5 are added to the joint angles of the joints J4 and J5 obtained in 1).

しかしながら、特許文献2の方法は、手順2)でウィビング成分を該当2軸(関節J4,J5)に分解する際に、複雑な座標変換やベクトル演算が必要となり、実時間性確保のためには高価な演算装置(CPU)が必要となる。また、ウィビング動作パターンとしては、正弦波や三角波等の単純な式に限定され、任意のパターンを操作者がプログラムによって設定する場合や、溶接開先やギャップの変動に応じて周波数や振幅をリアルタイムに変化させる場合もあり、これら種々のケース毎に演算手段を用意する必要がある。   However, the method of Patent Document 2 requires complicated coordinate transformation and vector calculation when disassembling the weaving component into the corresponding two axes (joint J4, J5) in step 2). An expensive arithmetic unit (CPU) is required. In addition, the wobbling operation pattern is limited to a simple expression such as a sine wave or a triangular wave, and when the operator sets an arbitrary pattern by a program, or the frequency and amplitude are changed in real time according to welding groove and gap fluctuations. It is necessary to prepare a calculation means for each of these various cases.

特開1−273674号公報Japanese Patent Laid-Open No. 1-273374 特開11−58014号公報JP 11-58014 A

前記従来の溶接ロボットの制御方法の問題に鑑み、本発明は、特殊な形状のトーチを使用することなく第4及び第5の軸の2軸のみによるウィビング動作を実現でき、かつ演算が比較的な演算で種々のウィビング動作パターンに対応可能できる溶接ロボットの制御方法を提供することを目的とする。   In view of the problem of the conventional control method of the welding robot, the present invention can realize a wobbling operation using only two axes of the fourth and fifth axes without using a specially shaped torch, and the calculation is relatively It is an object of the present invention to provide a welding robot control method that can cope with various wobbling operation patterns by simple calculation.

本発明は、6軸の垂直多関節型の溶接ロボットにウィビング動作を実行させるための制御方法であって、前記溶接ロボットは、基本軸として第1から第3の軸を備え、ツールを保持する手首軸として第4から第6の軸を備えると共に、前記第1から第4の軸を含むアームの先端位置に第5の軸が位置し、制御サイクル毎に以下の手順を実行する。
・ウィビング成分加算前のツール先端位置の逆キネマティクスを解いて少なくとも前記第1から第3及び前記第6の軸の角度を算出する。
・前記ウィビング成分加算前のツール先端位置にウィビング成分を加算してウィビング加算後の仮のツール先端位置を求める。
・前記アームの先端位置を中心とし、前記アームの先端位置からツール先端までの距離を半径とする球面を求める。
・少なくとも前記仮のツール先端位置を使用して、前記球面上にウィビング成分加算後の真のツール先端位置を求める。
・前記前記ウィビング成分加算後の真のツール先端位置から前記第4及び第5の軸の関節角度を算出する。
・前記第1から第6の軸の関節角度を前記マニピュレータに指令として出力して前記第1から第6の軸を駆動する。
The present invention is a control method for causing a six-axis vertical articulated welding robot to perform a wobbling operation, the welding robot having first to third axes as basic axes and holding a tool. The fourth to sixth axes are provided as wrist axes, and the fifth axis is positioned at the tip position of the arm including the first to fourth axes, and the following procedure is executed for each control cycle.
The inverse kinematics of the tool tip position before the addition of the wobbling component is solved to calculate at least the angles of the first to third and sixth axes.
A wiping component is added to the tool tip position before adding the wibbing component to obtain a temporary tool tip position after adding the wigbing.
A spherical surface having the radius from the tip position of the arm to the tool tip is obtained with the tip position of the arm as the center.
Using at least the temporary tool tip position, obtain the true tool tip position after adding the wobbling component on the spherical surface.
The joint angles of the fourth and fifth axes are calculated from the true tool tip position after the addition of the weaving component.
The joint angle of the first to sixth axes is output as a command to the manipulator to drive the first to sixth axes.

具体的には、前記ウィビング成分加算後の真のツール先端位置は、前記ウィビング成分加算後の仮のツール先端位置と前記アームの先端位置とを通る直線が前記球面と交差する交点である。   Specifically, the true tool tip position after adding the weaving component is an intersection point where a straight line passing through the temporary tool tip position after adding the weaving component and the tip position of the arm intersects the spherical surface.

代案としては、前記ウィビング成分加算後の真のツール先端位置は、前記ウィビングの方向と、溶接の進行方向とにより決まる平面と前記球面との交円のうち前記ウィビング成分加算後の仮のツール先端の位置に最も近い点であること。   As an alternative, the true tool tip position after the addition of the wibbing component is the temporary tool tip after the addition of the wibbing component of the circle of the plane and the spherical surface determined by the direction of the wibbing and the progress of welding. The point closest to the position of.

他の代案としては、前記ウィビング成分加算後の真のツール先端位置は、前記ウィビングの方向と、重力の方向とにより決まる平面と前記球面との交円のうち前記ウィビング成分加算後の仮のツール先端の位置に最も近い点である。   As another alternative, the true tool tip position after the addition of the wibbing component is the temporary tool after the addition of the wibbing component among the circles of the plane and the spherical surface determined by the direction of the wibbing and the direction of gravity. The point closest to the tip position.

本発明の溶接ロボットの制御方法では、アームの先端位置を中心としてツール先端までの距離を半径とする球面を求め、この球面上にウィビング成分加算後の真のツール先端位置を求め、さらにこの真のツール先端位置から第4及び第5の軸の関節角度を算出する。そのため、ツールの延長線が第5の軸と交差する必要はなく、特殊な形状のツールを使用することなく第4及び第5の軸の2軸のみによるウィビング動作を実現できる。また、従来の第1から第6の軸でウィビング動作を実現する制御において算出するツール先端位置を仮のツール先端位置として算出し、それを真の先端位置の算出に使用する点で、演算が比較的な容易で種々のウィビング動作パターンに対応可能でき、前述の従来の制御との切り換えも簡単に行うことができる。   In the welding robot control method of the present invention, a spherical surface whose radius is the distance to the tool tip with the tip position of the arm as the center is obtained, and the true tool tip position after adding the weaving component is obtained on this spherical surface. The joint angles of the fourth and fifth axes are calculated from the tool tip position. Therefore, it is not necessary that the extension line of the tool intersects the fifth axis, and a wobbling operation using only two axes of the fourth and fifth axes can be realized without using a specially shaped tool. In addition, the calculation is performed in that the tool tip position calculated in the conventional control for realizing the wobbling operation on the first to sixth axes is calculated as a temporary tool tip position and used for calculating the true tip position. It is comparatively easy and can cope with various wobbling operation patterns, and can be easily switched to the above-described conventional control.

次に、添付図面を参照して本発明の実施形態を詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

(第1実施形態)
図1を参照すると、溶接ロボットは、マニピュレータ11、制御装置12、及び教示装置13を備える。
(First embodiment)
Referring to FIG. 1, the welding robot includes a manipulator 11, a control device 12, and a teaching device 13.

マニピュレータ11は先端にツールとしてトーチ16を備え、その位置及び姿勢を三次元空間内で変化させる。マニピュレータ11は6軸の垂直多関節型であり、基本軸として第1から第3の軸(回転関節RJm1,RJm2,RJm3)を備え、トーチ16を保持する手首軸として第4から第6の軸(回転関節RJm4,RJm5,RJm6)を備えると共に、第1から第4の軸(回転関節RJm1〜RJm5)を含むアームの先端位置Parmに第5の軸(回転関節RJm5)が位置している。第1の軸(回転関節RJm1)に対して第2及び第3の軸(回転関節RJm2,RJm3)が直交している。また、第4及び第6の軸(回転関節RJm4,RJm6)は第5の軸(回転関節RJm)に対して直交している。 The manipulator 11 has a torch 16 as a tool at the tip, and changes its position and posture in a three-dimensional space. The manipulator 11 is a six-axis vertical articulated type, and includes first to third axes (rotary joints RJ m1 , RJ m2 , RJ m3 ) as basic axes, and fourth to fourth wrist axes that hold the torch 16. 6 axes (rotating joints RJ m4 , RJ m5 , RJ m6 ) and a fifth axis (rotating) at the tip position P arm of the arm including the first to fourth axes (rotating joints RJ m1 to RJ m5 ). The joint RJ m5 ) is located. The second and third axes (rotary joints RJ m2 and RJ m3 ) are orthogonal to the first axis (rotary joint RJ m1 ). The fourth and sixth axes (rotary joints RJ m4 , RJ m6 ) are orthogonal to the fifth axis (rotary joint RJm 5 ).

制御装置12は、CPU等からなる処理部14、記憶部15、及び入出力ポート等を備える。処理部14は、記憶部15に記憶されたプログラムに従って、教示装置13及びマニピュレータ11の回転関節RJm1〜RJm6が備える角度センサ(図示せず)等からの入力に基づいて、回転関節RJm1〜RJm6を駆動する。 The control device 12 includes a processing unit 14 including a CPU, a storage unit 15, an input / output port, and the like. Processor 14, according to a program stored in the storage unit 15, based on input from the angle sensor provided in the rotary joint RJ m1 ~RJ m6 teaching device 13 and the manipulator 11 (not shown) or the like, rotary joint RJ m1 Drive RJ m6 .

教示装置13を使用して制御装置12に対して制御に必要な条件が入力される。この条件には、溶接の始点と終点の位置、始点と終点間の補間方法、及びウィビング条件(波形の種類と周波数、振幅等)が含まれる。   Conditions necessary for control are input to the control device 12 using the teaching device 13. This condition includes the positions of the welding start point and end point, the interpolation method between the start point and end point, and the weaving conditions (waveform type, frequency, amplitude, etc.).

次に、制御に使用する座標について説明する。マニピュレータ11に関し、2つの座標系を設定する。まず、6個の関節角度J1〜J6で与えられる回転関節座標系(マニピュレータ座標系)を設定する。マニピュレータ座標系でのマニピュレータ11の位置及び姿勢(トーチ先端16aの位置及び姿勢)を、こられの関節角度J1〜J6で表記する。また、三次元空間に対して固定された直交座標系X−Y−Z(ベース座標系Σbase)を設定する。ベース座標系Σbaseにおけるマニピュレータ11の位置及び姿勢(トーチ先端16aの位置及び姿勢)は、並進成分(P,P,P)とロール・ピッチ・ヨー姿勢角(Pα,Pβ,Pγ)で表記する。さらに、ワーク上でのトーチ先端16aの軌跡に関し、三次元空間に対して固定された直交座標系Xline−Yline−Zline(溶接線座標系Σlime)を設定する。溶接座標系Σlineの計算については後に詳述する。 Next, coordinates used for control will be described. Two coordinate systems are set for the manipulator 11. First, a rotating joint coordinate system (manipulator coordinate system) given by six joint angles J1 to J6 is set. The position and posture of the manipulator 11 in the manipulator coordinate system (the position and posture of the torch tip 16a) are expressed by these joint angles J1 to J6. Also, an orthogonal coordinate system XYZ (base coordinate system Σbase) fixed with respect to the three-dimensional space is set. The position and posture of the manipulator 11 (the position and posture of the torch tip 16a) in the base coordinate system Σbase are the translation component (P x , P y , P z ) and the roll pitch pitch yaw posture angle (P α , P β , P γ ). Further, an orthogonal coordinate system X line -Y line -Z line (welding line coordinate system Σlime) fixed with respect to the three-dimensional space is set for the trajectory of the torch tip 16a on the workpiece. The calculation of the welding coordinate system Σline will be described in detail later.

次に、本実施形態と後述する第2及び第3実施形態に共通する本発明の原理について説明する。図2を参照すると、前述のように第4の軸(回転関節RJm4)と第5の軸(回転関節RJm5)は互いに直交しているので、これらの軸を変化させて移動できるトーチ先端16aの位置は球面Qとなる(地球儀でいえば「緯度」と「経度」に相当する。)。この球面Qの中心はアーム先端位置Parmであり、半径はアーム先端位置Parmからトーチ先端16aまでの距離(図1の符号Lw)である。この距離Lwは第5及び第6の軸(回転関節RJm5,RJm6)間のリンク長さとツール16の形状で決定される。第1から第6の軸のすべてをウィビング動作に使用する従来の方法では、個々の時刻tについてベース座標系における溶接線の中心軌跡のP(t)に対してベース座標系におけるウィビング成分W(t)を加算することでトーチ先端16aの位置を求めている。この場合ウィビング成分加算前のトーチ先端16aの位置P(t)は必ず球面Q上に存在するが、ウィビング成分加算後のトーチ先端16aの位置(P(t)=Pc(t)+W(t))は一般に球面Q上には存在しない。そこで、本発明ではこの位置P(t)、すなわち仮のトーチ先端16aの位置から球面Q上の点の位置P、すなわち真のトーチ先端16aの位置を求め、この位置Pから第4及び第5の軸(回転関節RJm4,RJm5)の角度を算出している。そして、第1から第3の軸及び第6の軸(回転関節RJm1〜RJm3,RJm6)については位置P(t)から求めた関節角度J1〜J3,J6をそのまま指令値として使用し、第4及び第5の軸(回転関節RJm4,RJm5)については位置Pから求めた関節角度J4,J5を指令値として使用している。これにより第4及び第5の軸(回転関節RJm4,RJm5)のみにより高周波ウィビングを可能としている。球面Q上の位置を決定する方法は各実施形態毎で異なっている。 Next, the principle of the present invention common to this embodiment and the second and third embodiments described later will be described. Referring to FIG. 2, since the fourth axis (rotary joint RJ m4 ) and the fifth axis (rotary joint RJ m5 ) are orthogonal to each other as described above, the torch tip that can be moved by changing these axes The position of 16a is a spherical surface Q (corresponding to "latitude" and "longitude" in terms of the globe). The center of the spherical surface Q is the arm tip position P arm , and the radius is the distance from the arm tip position Parm to the torch tip 16a (symbol Lw in FIG. 1). This distance Lw is determined by the link length between the fifth and sixth axes (rotating joints RJ m5 , RJ m6 ) and the shape of the tool 16. In the conventional method in which all of the first to sixth axes are used for the whibbing operation, the weaving component W in the base coordinate system with respect to P c (t) of the central locus of the weld line in the base coordinate system for each time t. The position of the torch tip 16a is obtained by adding (t). In this case, the position P c (t) of the torch tip 16a before the addition of the weaving component always exists on the spherical surface Q, but the position of the torch tip 16a after the addition of the weaving component (P (t) = Pc (t) + W (t) )) Generally does not exist on the spherical surface Q. Therefore, in the present invention this position P (t), that is, the position P Q of a point on the sphere Q from the position of the temporary torch tip 16a, i.e., the position of the true torch tip 16a obtains, fourth and from this position P Q The angle of the fifth axis (rotating joints RJ m4 , RJ m5 ) is calculated. For the first to third axes and the sixth axis (rotary joints RJ m1 to RJ m3 , RJ m6 ), the joint angles J1 to J3 and J6 obtained from the position P (t) are directly used as command values. , fourth and fifth axes (rotary joint RJ m4, RJ m5) uses a joint angle J4, J5 determined from the position P Q as a command value. As a result, high-frequency wobbling is enabled only by the fourth and fifth axes (rotary joints RJ m4 , RJ m5 ). The method for determining the position on the spherical surface Q is different for each embodiment.

なお、前述の特許文献2に記載の方法では、第4及び第5の軸が微小角度回転した際の方向ベクトルを用いて第4及び第5の軸の関節角度の近似解を求めている。これに対して本発明では、アーム先端位置Parmを中心として球面Qをもとに順幾何学的に第4及び第5の軸の関節角度の厳密解を求めている。この点で、本発明は特許文献2に記載のものとは計算原理そのものが全く異なっている。 In the method described in Patent Document 2, the approximate solution of the joint angles of the fourth and fifth axes is obtained using the direction vector when the fourth and fifth axes are rotated by a minute angle. On the other hand, in the present invention, an exact solution of the joint angles of the fourth and fifth axes is obtained in a forward geometric manner based on the spherical surface Q with the arm tip position Parm as the center. In this respect, the calculation principle of the present invention is completely different from that described in Patent Document 2.

次に、図3A,3Bを参照しつつ、図4A,4Bのフローチャートに従って本実施形態の制御方法(制御装置12の処理部14の動作)を具体的に説明する。   Next, with reference to FIGS. 3A and 3B, the control method of this embodiment (the operation of the processing unit 14 of the control device 12) will be described in detail according to the flowcharts of FIGS. 4A and 4B.

まず、ステップS1において記憶部15から教示された始点及び終点位置P1,P2、これらの教示位置P1,P2間の補間条件、及びウィビング条件(例えば正弦波、三角波等の動作方式、振幅、周波数等)を読み出す。本実施形態では教示位置P1,P2はベース座標系Σbaseにおける並進成分(P,P,P)とロール・ピッチ・ヨー姿勢角(Pα,Pβ,Pγ)で与えられる。また、補間条件としては、ウィビング成分加算前のトーチ先端16aの位置P(t)が等速直線移動する。さらに、ウィビング条件としては、並進成分の振幅がΔWで周波数fの正弦波でウィビング動作を行う。 First, the start and end positions P1 and P2 taught from the storage unit 15 in step S1, the interpolation conditions between these teaching positions P1 and P2, and the wobbling conditions (for example, operating methods such as sine waves and triangular waves, amplitude, frequency, etc.) ). Teaching positions P1, P2 in this embodiment the translation component in the base coordinate system Σbase (P x, P y, P z) with the roll-pitch-yaw attitude angle (P α, P β, P γ) is given by. As an interpolation condition, the position P c (t) of the torch tip 16a before the addition of the wobbling component is linearly moved at a constant speed. Further, as a wobbling condition, the wobbling operation is performed with a sine wave having a translation component amplitude of ΔW and a frequency f.

ステップS2において、ベース座標系における教示位置P1,P2間の経路方程式(下記の式(5))を求める。   In step S2, a path equation (the following formula (5)) between the teaching positions P1 and P2 in the base coordinate system is obtained.

Figure 0004745921
Figure 0004745921

式(5)においてΔPは単位時間当たりの移動量である。この式(5)で与えられる位置Pc(t)は個々の時刻tにおけるウィビング成分加算前のトーチ先端16aの位置である。   In Expression (5), ΔP is a movement amount per unit time. The position Pc (t) given by this equation (5) is the position of the torch tip 16a before adding the weaving component at each time t.

次に、ステップS3において溶接線座標系Σlineを求める。本発明では、X座標の方向を溶接進行方向への単位ベクトルXline、Y座標の方向を単位ベクトルXlineと重力方向単位ベクトルgの外積として得られる単位ベクトルYline、Z座標の方向を単位ベクトルXlineと単位ベクトルYlineの外積として得られる単位ベクトルZlineとする。これらの単位ベクトルXline,Yline,Zlineは以下の式(6)で表される。 Next, a welding line coordinate system Σline is obtained in step S3. In the present invention, a unit vector X line, a unit obtained the direction of the Y coordinates as the outer product of the unit vector X line and the gravity direction unit vector g vector Y line, the unit in the direction of Z-coordinate of the direction of the X coordinates to welding direction A unit vector Z line obtained as an outer product of the vector X line and the unit vector Y line is assumed. These unit vectors X line , Y line , and Z line are expressed by the following equation (6).

Figure 0004745921
Figure 0004745921

また、ステップS4においてベース座標系Σbaseから見た溶接線座標系Σlineの3×3の回転行列baseRlineを求める。 In step S4, a 3 × 3 rotation matrix baseR line of the weld line coordinate system Σline viewed from the base coordinate system Σbase is obtained.

次に、ステップS5において、時刻tを初期化する(t=0)。   Next, in step S5, time t is initialized (t = 0).

ステップS6からステップS17は、溶接ロボットの制御サイクルΔt(通常10〜20ms)毎に繰り返される。まず、ステップS6において時刻tを時刻t+Δtに更新する。   Steps S6 to S17 are repeated every control cycle Δt (usually 10 to 20 ms) of the welding robot. First, in step S6, time t is updated to time t + Δt.

ステップS7において経路方程式P(t)に更新した時刻tを代入してウィビング加算前の位置P(t)を計算する。 Calculating the Wibingu addition previous position P c (t) by substituting the time t of updating the path equation P c (t) in step S7.

ステップS8では、溶接線座標系Σlineでのウィビング並進成分lineW(t)(=(w,w,w))を算出する。本実施形態では前述した正弦波のウィビングパターンを採用しているので、ウィビング並進成分linew(t)は以下の式(7)で表される。 In step S8, a wobbling translation component line W (t) (= (w x , w y , w z )) in the weld line coordinate system Σline is calculated. In the present embodiment, since the above-described sinusoidal wobbling pattern is employed, the wobbling translation component linew (t) is expressed by the following equation (7).

Figure 0004745921
Figure 0004745921

次に、ステップS9において、回転行列baseRlineを使用して溶接線座標系Σlineでのウィビング並進成分lineW(t)を回転変換し、ベース座標系Σbaseにおけるウィビング並進成分W(t)(=(W,W,W))を算出する。ベース座標系Σbaseにおけるウィビング並進成分W(t)は以下の式(8)で表される。 Next, in step S9, the wigbing translation component line W (t) in the weld line coordinate system Σline is rotationally transformed using the rotation matrix baseR line, and the wobbling translation component W (t) in the base coordinate system Σbase (= (W x , Wy , Wz )). The wobbling translation component W (t) in the base coordinate system Σbase is expressed by the following equation (8).

Figure 0004745921
Figure 0004745921

続いて、ステップS10において、以下の式(9)に示すようにウィビング成分加算前のトーチ先端16aの位置P(t)にウィビング並進成分W(t)を加算し、ウィビング成分加算後のトーチ先端16aの位置P(t)を求める。このトーチ先端16aの位置P(t)は本発明における「仮のツール先端位置」に相当する。 Subsequently, in step S10, as shown in the following equation (9), the towing tip 16a before adding the weaving component is added to the position P c (t) of the torch tip 16a, and the torch after adding the weaving component is added. The position P (t) of the tip 16a is obtained. The position P (t) of the torch tip 16a corresponds to the “temporary tool tip position” in the present invention.

Figure 0004745921
Figure 0004745921

ステップS11では、ウィビング加算前の位置P(t)の逆キネマティクスを計算して位置P(t)での各軸の関節角度J(Jc1,Jc2,Jc3,Jc4,Jc5,Jc6)を計算する。 In step S11, the inverse kinematics of the position P c (t) before the weaving addition is calculated, and the joint angles J c (J c1 , J c2 , J c3 , J c4 , J) at the position P c (t) are calculated. Jc5 , Jc6 ) is calculated.

ステップS12では、基本3軸(回転関節RJm1〜RJm3)の回転角度Jc1,Jc2,Jc3の順キネマティクスを計算し、アーム先端位置Parmとアーム方向を示す回転行列baseRarmを求める。Jc23=Jc2+Jc3、回転関節RJm2,RJm3間のリンク長をL2、回転関節RJm3,RJm5間のリンク長をL3とすると、アーム先端位置Parmは以下の式(10)で表され、アーム方向を示す回転行列baseRarmは以下の式(11)で表される。 In step S12, forward kinematics of the rotation angles J c1 , J c2 , J c3 of the basic three axes (rotary joints RJ m1 to RJ m3 ) are calculated, and a rotation matrix baseR arm indicating the arm tip position P arm and the arm direction is calculated. Ask. When J c23 = J c2 + J c3 , the link length between the rotary joints RJ m2 and RJ m3 is L2, and the link length between the rotary joints RJ m3 and RJ m5 is L3, the arm tip position P arm is expressed by the following equation (10): The rotation matrix baseR arm indicating the arm direction is expressed by the following equation (11).

Figure 0004745921
Figure 0004745921

Figure 0004745921
Figure 0004745921

ステップS13では、アーム先端位置Parm(=(Xarm,Yarm,Zarm))を中心としてアーム先端位置Parmからトーチ先端16aまでの距離Lwを半径とする球面Qの方程式を求める。球面Qの方程式は以下の式(12)の通りである。 In step S13, an equation of a spherical surface Q is obtained with a distance Lw from the arm tip position P arm to the torch tip 16a as a radius centered on the arm tip position P arm (= (X arm , Y arm , Z arm )). The equation of the spherical surface Q is as the following equation (12).

Figure 0004745921
Figure 0004745921

次に、ステップS14において、アーム先端位置Parm及びウィビング加算後の位置P(t)を通る直線と球面Qとの交点Pを求める。この交点Pは本発明における「ウィビング成分加算後の真のツール先端位置」に相当する。 Next, in step S14, it obtains an intersection P Q of the straight line and the spherical Q passing through the arm tip position P arm and Wibingu position after adding P (t). The intersection point P Q corresponds to the "true tool tip position after Wibingu component summing" in the present invention.

次に、ステップS15において、交点P、アーム先端位置Parm、及びアーム方向を示す回転行列baseRarmから関節RJm4,RJm5の関節角度J’,J’を計算する。この関節角度J’,J’の算出方法は後述の第2実施形態に関して詳述する。 Next, in step S15, joint angles J 4 ′ and J 5 ′ of the joints RJ m4 and RJ m5 are calculated from the intersection point P Q , the arm tip position P arm , and the rotation matrix baseR arm indicating the arm direction. A method for calculating the joint angles J 4 ′ and J 5 ′ will be described in detail with respect to a second embodiment described later.

ステップS16ではすべての軸(回転関節RJm1〜RJm6)に対して関節角度を指令値として出力し、マニピュレータ11を動作させる。具体的には、基本3軸(回転関節RJm1〜RJm3)及び手首の最先端の軸(回転関節RJm6)に対しては、ステップS11において算出したウィビング加算前の位置P(t)の逆キネマティクスにより算出した関節角度Jc1〜Jc3,Jc6を出力する。これに対して第4及び第5の軸(回転関節RJm4,RJm5)に対しては、ステップS15において交点Pから算出した関節角度J’,J’を出力する。 The joint angle output as a command value to the step S16 all axes (rotary joint RJ m1 ~RJ m6), to operate the manipulator 11. Specifically, for the basic three axes (rotary joints RJ m1 to RJ m3 ) and the most advanced axis of the wrist (rotary joint RJ m6 ), the position P c (t) before the weaving addition calculated in step S11. The joint angles J c1 to J c3 and J c6 calculated by the inverse kinematics are output. For the fourth and fifth axis contrast (rotary joint RJ m4, RJ m5), joint angle J 4 calculated from the intersection P Q in step S15 ', J 5' outputs a.

ステップS17において教示された終点位置P2に到着するまで、ステップS6からステップS16の処理が繰り返される。   The processing from step S6 to step S16 is repeated until the end position P2 taught in step S17 is reached.

このように、本実施形態では比較的低剛性の基本3軸(回転関節RJm1〜RJm3)を高いウィビング周波数で揺動させることなく、手首の第4及び第5の軸(回転関節RJm4,RJm5)のみでウィビング動作を行うことができ、より高周波なウィビング動作が可能である。また、トーチ16の延長線が第5の軸と交差する必要はなく、特殊な形状のトーチ16を使用することなく第4及び第5の軸の2軸のみによるウィビング動作を実現できる。さらに、従来の第1から第6の軸でウィビング動作を実現する制御において算出するツール先端位置を仮のトーチ先端16aの位置として算出し(ステップS10)、それをウィビング動作の対象となる第4及び第5の軸の関節角度を得るための真の先端位置の算出(ステップS14)に使用しており、この点で、演算が比較的な容易で種々のウィビング動作パターンに対応可能でき、従来の第1から第6の軸のすべてを使用してウィビング動作を実現する制御との切り換えも簡単に行うことができる。例えば、ウィビング動作の周波数が低い場合には従来の方法を使用し、ウィビング動作の周波数が高い場合には本実施形態の方法を採用することができる。 Thus, in the present embodiment, the fourth and fifth axes (rotary joint RJ m4 ) of the wrist without swinging the basic three axes (rotary joints RJ m1 to RJ m3 ) having relatively low rigidity at a high weaving frequency. , RJ m5 ) alone can be performed, and a higher frequency whibbing operation is possible. Further, it is not necessary that the extension line of the torch 16 intersects the fifth axis, and a wobbling operation using only two axes of the fourth and fifth axes can be realized without using the torch 16 having a special shape. Further, the tool tip position calculated in the conventional control for realizing the wobbling operation on the first to sixth axes is calculated as the position of the temporary torch tip 16a (step S10), and the tool tip position is the fourth target for the wobbling operation. And the true tip position for obtaining the joint angle of the fifth axis (step S14). In this respect, the calculation is comparatively easy and can cope with various wobbling operation patterns. It is also possible to easily switch to the control for realizing the weaving operation using all of the first to sixth axes. For example, the conventional method can be used when the frequency of the whibbing operation is low, and the method of the present embodiment can be employed when the frequency of the whibbing operation is high.

本実施形態では球面Q上において仮のトーチ先端16aの位置と最も近接した位置である交点Pによりウィビング動作を行う第4及び第5の軸の関節角度J’,J’を決定しているので、従来の第1から第6の軸のすべてを使用してウィビング動作を実現する場合と比較した誤差が最小となる。 In the present embodiment, the joint angles J 4 ′ and J 5 ′ of the fourth and fifth axes for performing the weaving operation are determined by the intersection point P Q which is the closest position to the position of the temporary torch tip 16a on the spherical surface Q. Therefore, the error compared with the conventional case where the first to sixth axes are all used to realize the wobbling operation is minimized.

(第2実施形態)
図5A,5Bに示す本発明の第2実施形態は、第4及び第5の関節角度J’,J’の算出に使用する球面Q上の交点Pの決定方法(図4BのステップS14参照)のみが第1実施形態と異なる。すなわち、第2実施形態では、溶接線座標系ΣlineのY座標の方向Yline(ウィビングの幅方向)とZ座標の方向Zlineとを含む平面Pwを考える。そして、この平面Pwと球面Qの交円C上で最も仮のトーチ先端16aの位置P(t)に近い点を交点Pに決定し、この交点Pを使用して関節角度J’,J’を計算する。
(Second Embodiment)
Second embodiment of the present invention shown in FIGS. 5A, 5B, the step of the fourth and fifth joint angles J 4 ', J 5' method of determining the intersection point P Q on a spherical surface Q to be used in the calculation of (Figure 4B Only S14) is different from the first embodiment. That is, in the second embodiment, a plane Pw including the Y coordinate direction Y line (wibbing width direction) of the weld line coordinate system Σline and the Z coordinate direction Zline is considered. Then, the point determined at the intersection P Q the closest to the position P of the temporary torch tip 16a (t) on交円C of this plane Pw and spherical Q, using the intersection point P Q joint angle J 4 ' , J 5 '.

本実施形態の方法では、従来の第1から第6の軸のすべてを使用してウィビング動作を実現する場合と比較した誤差は第1実施形態の場合よりも大きくなるが、溶接進行方向(溶接線座標系ΣlineのXline方向)に対してウィビング動作の向きが必ず直角となる。 In the method of the present embodiment, the error compared with the case of realizing the weaving operation using all of the first to sixth axes is larger than that of the first embodiment, but the welding progress direction (welding The direction of the wobbling operation is always perpendicular to the X line direction of the line coordinate system Σline.

次に、図6A〜6Dを参照して交点Pの算出について詳述する。以下の説明では、特に言及しない限りベース座標系Σbaseを基準とする。 Next, it will be described in detail the calculation of the intersection point P Q with reference to FIG 6A-6D. In the following description, the base coordinate system Σbase is used as a reference unless otherwise specified.

前述のように第4及び第5の軸(回転関節RJm4,RJm5)のみでウィビング動作を実行すると、トーチ先端16aの描く軌跡はアーム先端位置Parm(以下の説明では点Gと称する。)を中心とし、点Gとトーチ先端16aを結ぶ線分を半径とする球面Q上に位置する。ここで溶接線座標系ΣlineのX座標の方向(溶接進行方向)XlineとZ座標の方向Zlineのなす平面をSとし、球面Qと平面Sの交円をCとする。 As described above, when the wobbling operation is executed only with the fourth and fifth axes (rotary joints RJ m4 , RJ m5 ), the trajectory drawn by the torch tip 16a is referred to as an arm tip position P arm (hereinafter referred to as point G). ) At the center, and is located on a spherical surface Q having a radius of a line segment connecting the point G and the torch tip 16a. Here, the plane formed by the X coordinate direction (welding progress direction) X line of the weld line coordinate system Σline and the Z coordinate direction Z line is denoted by S, and the intersection of the spherical surface Q and the plane S is denoted by C.

G点から平面S上に降ろした垂線の足を点Hとする。このとき線分GHの長さhは、点Gから点E(平面S上で点HからZ座標の方向Zlineの方向に延びる直線と交円Cの交点)へのベクトル(ベクトルGE)と溶接線方向の単位ベクトルXline(=(v,v,v))の内積である。従って、点Gの座標を(x,y,z)、点Eの座標を(x,y,z)とすると、長さhは以下の式(13)で表される。 Let the foot of the perpendicular drawn from the point G on the plane S be the point H. At this time, the length h of the line segment GH is a vector (vector GE) from the point G to the point E (the intersection of the straight line extending from the point H to the Z coordinate direction Z line on the plane S and the intersection circle C). It is an inner product of unit vectors X line (= (v x , v y , v z )) in the weld line direction. Therefore, when the coordinates of the point G are (x 5 , y 5 , z 5 ) and the coordinates of the point E are (x e , y e , z e ), the length h is expressed by the following equation (13). .

Figure 0004745921
Figure 0004745921

この長さhを用いて、点Hの座標(x,y,z)は以下の式(14)で表される。 Using this length h, the coordinates (x h , y h , z h ) of the point H are expressed by the following equation (14).

Figure 0004745921
Figure 0004745921

点Hは交円Cの中心座標であり、交円Cの半径は線分HEである。ここで線分GEの長さをl(定数)とすると、三平方の定理より線分HEの長さは以下の式(15)で表される。   The point H is the center coordinate of the intersection circle C, and the radius of the intersection circle C is the line segment HE. Here, when the length of the line segment GE is 1 (constant), the length of the line segment HE is expressed by the following formula (15) from the three-square theorem.

Figure 0004745921
Figure 0004745921

仮のトーチ先端16aの先端の位置P(t)がウィビング幅方向の目標値として与えられ、線分EP(t)の長さをuとする。位置P(t)の座標(x,y,zr)は、ウィビング幅方向の単位ベクトルYline(=(w,w,w))を用いて以下の式(16)により表される。 The tip position P (t) of the temporary torch tip 16a is given as a target value in the weaving width direction, and the length of the line segment EP (t) is u. The coordinates (x r , y r , z r ) of the position P (t) are expressed by the following equation (16) using the unit vector Y line (= (w x , w y , w z )) in the weaving width direction. expressed.

Figure 0004745921
Figure 0004745921

直線GP(t)と球面Qの交点が求める交点Pでる。交点Pは点Hから見てベクトルHP(t)の方向にあるので、交点PQの座標は未知数d(d>0)を使用して以下の式(17)のように表される。 The intersection of the straight line GP (t) and spherical Q comes out the intersection P Q to be obtained. Since the intersection point P Q is in the direction of the vector HP (t) as viewed from the point H, the coordinate of the intersection point PQ is represented as unknowns d (d> 0) using the following equation (17).

Figure 0004745921
Figure 0004745921

式(16),(17)により線分HWの長さの2乗は以下の式(18)のように表される。   From the equations (16) and (17), the square of the length of the line segment HW is expressed as the following equation (18).

Figure 0004745921
Figure 0004745921

一方、式(15)より線分HEの長さ(線分HWの長さと等しい)の2乗は以下の式(19)であらわされる。   On the other hand, the square of the length of the line segment HE (equal to the length of the line segment HW) is expressed by the following expression (19) from the expression (15).

Figure 0004745921
Figure 0004745921

従って、式(18),(19)の右辺どうしが等しいことを利用すると、変数dは以下の式(20)のように表される。   Therefore, using the fact that the right sides of the equations (18) and (19) are equal, the variable d is expressed as the following equation (20).

Figure 0004745921
Figure 0004745921

一方、式(14)と式(16)を式(17)に代入すると、交点Pの座標(x,y,z)は以下の式(21)のように表される。 On the other hand, substituting the equation (14) Equation (16) into equation (17), the intersection point P Q coordinates (x w, y w, z w) is expressed as the following equation (21).

Figure 0004745921
Figure 0004745921

式(20)を式(21)に代入すれば、交点P、すなわち真のトーチ先端16aの位置が求まる。 By substituting equation (20) into equation (21), the intersection point P Q , that is, the position of the true torch tip 16 a can be obtained.

なお、以上の計算は図6Cのように仮のトーチ先端16aの位置P(t)が交円Cの外側に位置する場合に限定されず、図6Dに示すように位置P(t)が交円Cの内側に位置する場合にも成立する。   The above calculation is not limited to the case where the position P (t) of the temporary torch tip 16a is located outside the intersection circle C as shown in FIG. 6C, and the position P (t) intersects as shown in FIG. 6D. It is also established when it is located inside the circle C.

次に、式(21)で得られた交点Pから第4及び第5の軸(回転関節RJm4,RJm5)の関節角度J’,J’を計算する方法(ステップS15)について、図7A〜7Cを参照して詳述する。図7Bは図7Aを矢印Aで示すように第5の軸(回転関節RJm5)の回転軸方向から見た図である。ここで第3の軸(回転関節RJm3)の座標系(直交座標系)をΣとし、方向余弦X(e,e,e)、Y(f,f,f)、Z(g,g,g)を図7Bに示すように設定する。 Next, a method of calculating joint angles J 4 ′ and J 5 ′ of the fourth and fifth axes (rotating joints RJ m4 and RJ m5 ) from the intersection point P Q obtained by Expression (21) (step S15). This will be described in detail with reference to FIGS. FIG. 7B is a view of FIG. 7A viewed from the direction of the rotation axis of the fifth axis (rotary joint RJ m5 ) as indicated by an arrow A. Here is the third coordinate system axes (rotary joint RJ m3) a (orthogonal coordinate system) and sigma 3, direction cosines X 3 (e x, e y , e z), Y 3 (f x, f y, f z ), Z 3 (g x , g y , g z ) are set as shown in FIG. 7B.

点GからΣ座標系のX軸方向に直線を延ばし、この直線に対して交点Pから降ろした垂線の足を点Nとする。第5の軸(回転関節RJm5)の関節角度J’は線分GNと線分GPのなす角であるので、以下の式(22)が成立する。 Extending a straight line from the point G to the X-axis direction of the sigma 3 coordinate system, the perpendicular foot dropping off from the intersection P Q to this straight line and the point N. Since the joint angle J 5 ′ of the fifth axis (rotary joint RJ m5 ) is an angle formed by the line segment GN and the line segment GP Q , the following equation (22) is established.

Figure 0004745921
Figure 0004745921

この式(22)より関節角度J’が求められるが、第4の軸(回転関節RJm4)の関節角度J’によって関節角度J’は正にも負にもなり得る。しかし、トーチ先端16aが特異点(関節角度J’が0となる点)を通らないと仮定し、前回の制御サイクル時に検出した回転関節RJm5の関節角度が正であれば、今回の制御サイクルにおける関節角度J’を正とし、逆に前回の制御サイクル時に検出した回転関節RJm5の関節角度が負であれば今回の制御サイクルにおける関節角度J’も負とすることにより、符号を決定できる。 'But are determined, joint angles J 4 of the fourth axis (rotary joint RJ m4)' This equation (22) joint angle J 5 from the joint angle J 5 by 'may be positive or negative. However, assuming that the torch tip 16a does not pass through a singular point (a point at which the joint angle J 5 ′ becomes 0) and the joint angle of the rotary joint RJ m5 detected during the previous control cycle is positive, the current control is performed. If the joint angle J 5 ′ in the cycle is positive, and if the joint angle of the rotary joint RJ m5 detected in the previous control cycle is negative, the joint angle J 5 ′ in the current control cycle is also negative. Can be determined.

次に、第4の軸(回転関節RJm4)の関節角度J’を求める。線分GNの長さをnとすると以下の式(23)が成立する。 Next, a joint angle J 4 ′ of the fourth axis (rotary joint RJ m4 ) is obtained. When the length of the line segment GN is n, the following formula (23) is established.

Figure 0004745921
Figure 0004745921

この長さnにより点Nの座標(x,y,z)は以下の式(24)で表される。 The coordinates (x N , y N , z N ) of the point N are expressed by the following formula (24) based on the length n.

Figure 0004745921
Figure 0004745921

また、線分NWの長さは三平方の定理より以下の式(25)で表される。   Moreover, the length of the line segment NW is represented by the following formula (25) from the three-square theorem.

Figure 0004745921
Figure 0004745921

図7Bを点Nから方向余弦Xに沿って点Gを見た図を図7Cに示す。 The view of the point G along the direction cosines X 3 Figure 7B from point N shown in FIG. 7C.

ここで図7Cに示すように角度αと角度βを定めると、以下の式(26),(27)が成立する。   When the angle α and the angle β are determined as shown in FIG. 7C, the following equations (26) and (27) are established.

Figure 0004745921
Figure 0004745921

Figure 0004745921
Figure 0004745921

式(26),(27)の右辺のパラメータはすべて既知であるので、これらの式から角度α,βを算出できる。また、第5の軸の関節角度J’の正負に対して以下の式(28)〜(31)に関係が成立し、これらから第4の軸の関節角度J’が得られる。 Since the parameters on the right side of the equations (26) and (27) are all known, the angles α and β can be calculated from these equations. Further, the following expressions (28) to (31) are established with respect to the sign of the joint angle J 5 ′ of the fifth axis, and the joint angle J 4 ′ of the fourth axis is obtained from these.

Figure 0004745921
Figure 0004745921

Figure 0004745921
Figure 0004745921

第2実施形態のその他の構成及び作用は第1実施形態と同様である(図1、図4A,4B参照)。   Other configurations and operations of the second embodiment are the same as those of the first embodiment (see FIGS. 1, 4A, and 4B).

(第3実施形態)
図8A,8Bに示す本発明の第3実施形も、第4及び第5の関節角度J’,J’の算出に使用する球面Q上の交点Pの決定方法(図4BのステップS14参照)のみが第1実施形態と異なる。すなわち第3実施形態では、溶接線座標系ΣlineのY座標の方向Yline(ウィビングの幅方向)と重力gの逆向きのベクトルGinvで決定される平面Pw’を考える。そして、この平面Pw’と球面Qの交円C上で最も仮のトーチ先端16aの位置P(t)に近い点を交点Pに決定し、この交点Pを使用して関節角度J’,J’を計算する。
(Third embodiment)
Figure 8A, even the third implementation of the invention shown in 8B, the steps of the fourth and fifth joint angles J 4 ', J 5' method of determining the intersection point P Q on a spherical surface Q to be used in the calculation of (Figure 4B Only S14) is different from the first embodiment. That is, in the third embodiment, a plane Pw ′ determined by the Y coordinate direction Y line (wibbing width direction) of the weld line coordinate system Σline and the vector G inv in the opposite direction of gravity g is considered. Then, to determine a point close to the position P of the most tentative torch head 16a on交円C of this plane Pw 'and spherical Q (t) at the intersection P Q, joint angle J 4 using the intersection point P Q ', J 5 ' is calculated.

本実施形態の方法では、従来の第1から第6の軸のすべてを使用してウィビング動作を実現する場合と比較した誤差は第1実施形態の場合よりも大きくなるが、ウィビング動作は重力gに対して常に直角となる。   In the method of the present embodiment, the error compared to the case of realizing the whibbing operation using all of the conventional first to sixth axes is larger than in the case of the first embodiment. Is always perpendicular to.

第3実施形態のその他の構成及び作用は第1実施形態と同様である(図1、図4A,4B参照)。   Other configurations and operations of the third embodiment are the same as those of the first embodiment (see FIGS. 1, 4A, and 4B).

本発明の第1実施形態に係るロボットを示す模式図。The schematic diagram which shows the robot which concerns on 1st Embodiment of this invention. 本発明の原理を説明するためのマニピュレータの手首部分の模式的な斜視図。The typical perspective view of the wrist part of the manipulator for demonstrating the principle of this invention. 本発明の第1実施形態の制御方法を説明するためのマニピュレータの手首部分の模式的な斜視図。The typical perspective view of the wrist part of the manipulator for explaining the control method of a 1st embodiment of the present invention. 本発明の第1実施形態の制御方法を説明するためのマニピュレータの手首部分を第5の軸の回転方向から見た模式図。The schematic diagram which looked at the wrist part of the manipulator for demonstrating the control method of 1st Embodiment of this invention from the rotation direction of the 5th axis | shaft. 本発明の第1実施形態の制御方法を説明するためのフローチャート。The flowchart for demonstrating the control method of 1st Embodiment of this invention. 本発明の第1実施形態の制御方法を説明するためのフローチャート。The flowchart for demonstrating the control method of 1st Embodiment of this invention. 本発明の第2実施形態の制御方法を説明するためのマニピュレータの手首部分の模式的な斜視図。The typical perspective view of the wrist part of the manipulator for demonstrating the control method of 2nd Embodiment of this invention. 本発明の第2実施形態の制御方法を説明するためのマニピュレータの手首部分を第5の軸の回転方向から見た模式図。The schematic diagram which looked at the wrist part of the manipulator for demonstrating the control method of 2nd Embodiment of this invention from the rotation direction of the 5th axis | shaft. 第2実施形態における交点Pの座標の算出方法を説明するためのマニピュレータの手首部分の模式的な斜視図。Schematic perspective view of the manipulator wrist portion for explaining a method of calculating the coordinates of the intersection point P Q in the second embodiment. 第2実施形態における交点Pの座標の算出方法を説明するためのマニピュレータの手首部分を第5の軸の回転方向から見た模式図。Schematic view of the manipulator wrist portion for explaining a method of calculating the coordinates of the intersection point P Q in the second embodiment the rotating direction of the fifth axis. 第2実施形態における交点Pの座標の算出方法を説明するためのマニピュレータの手首部分を線分HG方向から見た模式図(位置P(t)が交円Cの外側に位置する場合)。Schematic view of the wrist portion as viewed from the line segment HG direction of the manipulator for explaining a method of calculating the coordinates of the intersection point P Q in the second embodiment (when the position P (t) is located outside of交円C). 交点Pの座標の算出方法を説明するためのマニピュレータの手首部分を線分HG方向から見た模式図(位置P(t)が交円Cの内側に位置する場合)。The intersection P Q schematic view the manipulator wrist portion for explaining a method of calculating the coordinates as seen from the line segment HG direction (when the position P (t) is located inside the交円C). 交点Pから第4及び第5の軸の関節角度を算出する方法を説明するためのマニピュレータの手首部分の模式的な斜視図。Schematic perspective view of the manipulator wrist portion for explaining a method of calculating the intersection P Q joint angles of the fourth and fifth axes. 交点Pから第4及び第5の軸の関節角度を算出する方法を説明するためのマニピュレータの手首部分を第5の軸の回転方向から見た模式図。The schematic diagram which looked at the wrist part of the manipulator for demonstrating the method of calculating the joint angle of the 4th and 5th axis | shaft from intersection PQ from the rotation direction of the 5th axis | shaft. 交点Pから第4及び第5の軸の関節角度を算出する方法を説明するためのマニピュレータの手首部分を線分HG方向に見た模式図。Schematic view of the manipulator wrist portion for explaining the intersecting point P Q a method of calculating the joint angle of the fourth and fifth axis line segment HG direction. 本発明の第3実施形態の制御方法を説明するためのマニピュレータの手首部分の模式的な斜視図。The typical perspective view of the wrist part of the manipulator for demonstrating the control method of 3rd Embodiment of this invention. 本発明の第3実施形態の制御方法を説明するためのマニピュレータの手首部分を第5の関節の回転方向から見た模式図。The schematic diagram which looked at the wrist part of the manipulator for demonstrating the control method of 3rd Embodiment of this invention from the rotation direction of the 5th joint. 従来のウィビング動作の制御方法を説明するための模式図。The schematic diagram for demonstrating the control method of the conventional whibbing operation | movement. ウィビング動作パターンの一例を示すグラフ。The graph which shows an example of a wobbling operation | movement pattern. 一般的な垂直多関節型ロボットを示す模式図。Schematic diagram showing a general vertical articulated robot.

符号の説明Explanation of symbols

11 マニピュレータ
12 制御装置
13 教示装置
14 処理部
15 記憶部
16 トーチ
16a トーチ先端
RJm1,RJm2,RJm3,RJm4,RJm5,RJm6 回転関節
11 the manipulator 12 the controller 13 teaching apparatus 14 processor 15 memory 16 torch 16a torch tip RJ m1, RJ m2, RJ m3 , RJ m4, RJ m5, RJ m6 rotating joint

Claims (3)

6軸の垂直多関節型の溶接ロボットにウィビング動作を実行させるための制御方法であって、
前記溶接ロボットは、基本軸として第1から第3の軸を備え、ツールを保持する手首軸として第4から第6の軸を備えると共に、前記第1から第4の軸を含むアームの先端位置に第5の軸が位置し、
制御サイクル毎に、
ウィビング成分加算前のツール先端位置の逆キネマティクスを解いて少なくとも前記第1から第3及び前記第6の軸の角度を算出し、
前記ウィビング成分加算前のツール先端位置にウィビング成分を加算してウィビング加算後の仮のツール先端位置を求め、
前記アームの先端位置を中心とし、前記アームの先端位置からツール先端までの距離を半径とする球面を求め、
少なくとも前記仮のツール先端位置を使用して、前記球面上にウィビング成分加算後の真のツール先端位置を求め、
前記前記ウィビング成分加算後の真のツール先端位置から前記第4及び第5の軸の関節角度を算出し、
前記第1から第6の軸の関節角度を前記マニピュレータに指令として出力して前記第1から第6の軸を駆動し、
前記ウィビング成分加算後の真のツール先端位置は、前記ウィビング成分加算後の仮のツール先端位置と前記アームの先端位置とを通る直線が前記球面と交差する交点であることを特徴とする溶接ロボットの制御方法。
A control method for causing a 6-axis vertical articulated welding robot to perform a wobbling operation,
The welding robot includes first to third axes as basic axes, fourth to sixth axes as wrist axes for holding a tool, and an arm tip position including the first to fourth axes. The fifth axis is located at
For each control cycle,
Solving the inverse kinematics of the tool tip position before adding the wobbling component to calculate at least the angles of the first to third and sixth axes;
Add a wibbing component to the tool tip position before adding the wibbing component to obtain a temporary tool tip position after adding the wigbing,
Finding a spherical surface centered on the tip position of the arm and having a radius from the tip position of the arm to the tool tip,
Using at least the temporary tool tip position, find the true tool tip position after adding the wobbling component on the spherical surface,
Calculating the joint angles of the fourth and fifth axes from the true tool tip position after the addition of the wobbling component;
Outputting the joint angles of the first to sixth axes as commands to the manipulator to drive the first to sixth axes;
The Wibingu component summing the true tool tip position after shall be the wherein the straight line passing through the tip positions of said the tentative tool tip position after the Wibingu component summing arm is an intersection which intersects with the spherical soluble Control method for contact robot.
6軸の垂直多関節型の溶接ロボットにウィビング動作を実行させるための制御方法であって、
前記溶接ロボットは、基本軸として第1から第3の軸を備え、ツールを保持する手首軸として第4から第6の軸を備えると共に、前記第1から第4の軸を含むアームの先端位置に第5の軸が位置し、
制御サイクル毎に、
ウィビング成分加算前のツール先端位置の逆キネマティクスを解いて少なくとも前記第1から第3及び前記第6の軸の角度を算出し、
前記ウィビング成分加算前のツール先端位置にウィビング成分を加算してウィビング加算後の仮のツール先端位置を求め、
前記アームの先端位置を中心とし、前記アームの先端位置からツール先端までの距離を半径とする球面を求め、
少なくとも前記仮のツール先端位置を使用して、前記球面上にウィビング成分加算後の真のツール先端位置を求め、
前記前記ウィビング成分加算後の真のツール先端位置から前記第4及び第5の軸の関節角度を算出し、
前記第1から第6の軸の関節角度を前記マニピュレータに指令として出力して前記第1から第6の軸を駆動し、
前記ウィビング成分加算後の真のツール先端位置は、前記ウィビングの方向と、溶接の進行方向とにより決まる平面と前記球面との交円のうち前記ウィビング成分加算後の仮のツール先端の位置に最も近い点であることを特徴とする溶接ロボットの制御方法。
A control method for causing a 6-axis vertical articulated welding robot to perform a wobbling operation,
The welding robot includes first to third axes as basic axes, fourth to sixth axes as wrist axes for holding a tool, and an arm tip position including the first to fourth axes. The fifth axis is located at
For each control cycle,
Solving the inverse kinematics of the tool tip position before adding the wobbling component to calculate at least the angles of the first to third and sixth axes;
Add a wibbing component to the tool tip position before adding the wibbing component to obtain a temporary tool tip position after adding the wigbing,
Finding a spherical surface centered on the tip position of the arm and having a radius from the tip position of the arm to the tool tip,
Using at least the temporary tool tip position, find the true tool tip position after adding the wobbling component on the spherical surface,
Calculating the joint angles of the fourth and fifth axes from the true tool tip position after the addition of the wobbling component;
Outputting the joint angles of the first to sixth axes as commands to the manipulator to drive the first to sixth axes;
The true tool tip position after the addition of the weaving component is the largest at the position of the temporary tool tip after the addition of the weaving component among the circles of the spherical surface and the plane determined by the direction of the weaving and the progress of welding. the method of welding robot characterized in that a point close.
6軸の垂直多関節型の溶接ロボットにウィビング動作を実行させるための制御方法であって、
前記溶接ロボットは、基本軸として第1から第3の軸を備え、ツールを保持する手首軸として第4から第6の軸を備えると共に、前記第1から第4の軸を含むアームの先端位置に第5の軸が位置し、
制御サイクル毎に、
ウィビング成分加算前のツール先端位置の逆キネマティクスを解いて少なくとも前記第1から第3及び前記第6の軸の角度を算出し、
前記ウィビング成分加算前のツール先端位置にウィビング成分を加算してウィビング加算後の仮のツール先端位置を求め、
前記アームの先端位置を中心とし、前記アームの先端位置からツール先端までの距離を半径とする球面を求め、
少なくとも前記仮のツール先端位置を使用して、前記球面上にウィビング成分加算後の真のツール先端位置を求め、
前記前記ウィビング成分加算後の真のツール先端位置から前記第4及び第5の軸の関節角度を算出し、
前記第1から第6の軸の関節角度を前記マニピュレータに指令として出力して前記第1から第6の軸を駆動し、
前記ウィビング成分加算後の真のツール先端位置は、前記ウィビングの方向と、重力の方向とにより決まる平面と前記球面との交円のうち前記ウィビング成分加算後の仮のツール先端の位置に最も近い点であることを特徴とする溶接ロボットの制御方法。
A control method for causing a 6-axis vertical articulated welding robot to perform a wobbling operation,
The welding robot includes first to third axes as basic axes, fourth to sixth axes as wrist axes for holding a tool, and an arm tip position including the first to fourth axes. The fifth axis is located at
For each control cycle,
Solving the inverse kinematics of the tool tip position before adding the wobbling component to calculate at least the angles of the first to third and sixth axes;
Add a wibbing component to the tool tip position before adding the wibbing component to obtain a temporary tool tip position after adding the wigbing,
Finding a spherical surface centered on the tip position of the arm and having a radius from the tip position of the arm to the tool tip,
Using at least the temporary tool tip position, find the true tool tip position after adding the wobbling component on the spherical surface,
Calculating the joint angles of the fourth and fifth axes from the true tool tip position after the addition of the wobbling component;
Outputting the joint angles of the first to sixth axes as commands to the manipulator to drive the first to sixth axes;
The true tool tip position after the addition of the wibbing component is closest to the position of the temporary tool tip after the addition of the wibbing component among the circles of the spherical surface and the plane determined by the direction of the wibbing and the direction of gravity. the method of welding robot you characterized by a point.
JP2006232149A 2006-08-29 2006-08-29 Control method of welding robot Active JP4745921B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006232149A JP4745921B2 (en) 2006-08-29 2006-08-29 Control method of welding robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006232149A JP4745921B2 (en) 2006-08-29 2006-08-29 Control method of welding robot

Publications (2)

Publication Number Publication Date
JP2008055518A JP2008055518A (en) 2008-03-13
JP4745921B2 true JP4745921B2 (en) 2011-08-10

Family

ID=39238870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006232149A Active JP4745921B2 (en) 2006-08-29 2006-08-29 Control method of welding robot

Country Status (1)

Country Link
JP (1) JP4745921B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5513207B2 (en) * 2010-03-30 2014-06-04 株式会社小松製作所 Welding robot controller
JP6771288B2 (en) * 2016-02-17 2020-10-21 株式会社神戸製鋼所 Welding equipment and control method of welding equipment
CN114161047B (en) * 2021-12-23 2022-11-18 南京衍构科技有限公司 Welding gun head automatic obstacle avoidance method for additive manufacturing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756127Y2 (en) * 1991-07-10 1995-12-25 川崎重工業株式会社 Welding arc welding robot
JPH0573130A (en) * 1991-09-17 1993-03-26 Yaskawa Electric Corp Control system for industrial robot
JP3710075B2 (en) * 1997-08-08 2005-10-26 株式会社小松製作所 Weaving control device for welding robot

Also Published As

Publication number Publication date
JP2008055518A (en) 2008-03-13

Similar Documents

Publication Publication Date Title
JP5426719B2 (en) Robot system motion simulation device
JP5701055B2 (en) 7-axis articulated robot control method, control program, and robot controller
US8972056B2 (en) Method of finding feasible joint trajectories for an n-dof robot with rotation invariant process (n>5)
JP5268495B2 (en) Off-line teaching data creation method and robot system
US20070242073A1 (en) Robot simulation apparatus
JP2019177436A (en) Robot control device, method for determining angle of joint of robot, and program
JP2007136590A (en) Control device and control method for redundant robot having redundant joint
EP2523786B1 (en) Method of finding feasible joint trajectories for an n-dof robot with rotation invariant process (n>5)
JP4745921B2 (en) Control method of welding robot
KR101787865B1 (en) Inverse kinematic solution for multi-joint link mechanism, and device for creating instructional data by using inverse kinematic solution
JP3710075B2 (en) Weaving control device for welding robot
JP7144754B2 (en) Articulated robots and articulated robot systems
JP6891773B2 (en) Robot control device and robot inverse transformation processing method
CN111225772B (en) Teaching data creation system for vertical articulated robot
JPH08155647A (en) Weaving controller of welding robot
JP4970492B2 (en) Articulated robot
JP4647919B2 (en) Control method and control apparatus
Wu et al. Coordinated motion planning with calibration and offline programming for a manipulator-positioner system
JP2019093488A (en) Robot control device and robot reverse conversion processing method
Ji et al. A Spatial Path Following Method for Hyper-Redundant Manipulators by Step-by-Step Search and Calculating
WO2022157878A1 (en) Evaluation device for motion trajectory and evaluation method for motion trajectory
JP2567834B2 (en) How to create robot control data
Huda et al. Integrated Robotic Arm Control: Inverse Kinematics, Trajectory Planning, and Performance Evaluation for Automated Welding
JP6439375B2 (en) Robot and control device
KR101479656B1 (en) Joint robot arm based on a spherical coordinate and control method of the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110510

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110512

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

Free format text: PAYMENT UNTIL: 20140520

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4745921

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150