CONTROLLER OF MULTI-AXIS ROBOT

Abstract: Regarding an industrial robot including a spring element such as a decelerator in each axis, provided is a controller of a multi-axis robot where an interaction between axes is entirely removed even in high speed operation. A controller of a multi-axis robot of the invention having a mechanism including a spring element such as a decelerator between a servomotor and an arm of each axis, comprises means (14) for calculating an interaction force generated on the arm side of each axis from another axis and an interaction force included in a control input of a servomotor constituted by a semiclosed loop independent in each axis generated by the above-mentioned interaction force based on a control input (u Lref , u Uref ) to a servomotor of an axis giving an interaction and an axis receiving an interaction and on a torsional angle ( SL ,  SU ) produced in a decelerator of each axis, and means for calculating correction torque based on the interaction force from the other axis and the interaction force included in the control input of the servomotor so that the top end of the arm of each axis acts without producing interaction from the other axis, and adding the correction torque to the control input and outputting it.

Description: Technical Field The present invention relates to a multi-axis robot represented by an industrial robot having a dynamic interaction between mutual control axes and including a spring element in each axis, and particularly to a controller thereof for entirely removing the interaction force produced at the top end of an arm. Background Art In general, in an industrial robot where each axis is driven by a motor, in order to ideally reduce the influences of the lack of power of the motor or the disturbance from the load side, an arm at the load side is driven through a gear such as a harmonic drive having a high reduction ratio. Consequently a dynamic interaction between the control axes does not become a problem in the prior art. However, as demand increases for higher speed and accuracy dynamic influences which cannot be compensated for by the PI control, and disturbances which cannot be neglected even with the high reduction ratio are produced. In order to solve these problems, a method of compensating for the disturbance by use of a disturbance estimation observer and a method of previously compensating for the disturbance based on a dynamic equation in a similar manner to a robot of a direct drive system have been reported (e.g., Japanese Patent Laid-Open No. 63-314606, Japanese Patent Laid-Open No. 6-270079, and Japanese Patent Laid-Open No. 7-7307). When the disturbance produced at the load side is large, with the disturbance compensation observer method, the sufficient improvement in accuracy cannot be expected since the dynamic property regarding the interaction or the like is not considered. Also, regarding the method of previously compensating for the disturbance based on the dynamic equation, in the conventional method, the dynamic property involving interposing a gear or the interaction force including the control input calculated to operate each axis is not sufficiently considered, so that the interaction cannot be completely removed during high speed operation. US 4,989,161 A discloses a controller for a multi-axis robot comprising at least a first and a second assembly, each assembly having an arm, a servomotor driven by a control input with a control unit and a coupling in the form of a decelerator between said servomotor and said arm, which includes a spring element, means for detecting a torsional angle of the coupling, dynamic coupling calculation means for calculating coupling parameters of the coupling of said servomotor and said arm in each axis assembly, including a closed loop for effecting motor control and correction means for adding correction torque to said control input of said servomotor. The problem to be solved by the invention is to obviate interactions between mutual axes even during high speed operation, when an industrial robot including a spring element such as a decelerator in each axis is used This problem is solved by a controller for a multi-axis robot as defined in claim 1. In the controller, as to the torsional angle produced in the decelerator of each axis, a value reproduced by a state observation means reproducing the state quantity through a control input of a servomotor of each axis and an actual position of the servomotor may be used. More specifically, the coupling of the servomotor and the arm in each axis is expressed by two inertial systems including a spring element, whereby a dynamic equation is determined to calculate an interaction force from multi-axiss generated on the arm side in each axis and an interaction force included with a control input of each axis constituted in a semiclosed loop is calculated, and such correction torque as to completely cancel the interaction force, added to the control input to be outputted. According to the present invention, even in a multi-axis robot having a mechanism including a spring element such as a decelerator between a servomotor and an arm, an interaction force generated on the arm side of each axis from another axis and an interaction force included in a control input of a servomotor constituted in a semiclosed loop independent in each axis are calculated and interaction torque produced in each axis is corrected. Thus, even with high speed operation which produces torsional vibration in the decelerator the interaction force can be removed, and a servomotor of each axis can be controlled as if no interaction were produced between the drive axes. Brief Description of Drawings Fig. 1 is a diagrammatic view of a general vertical two-axis robot; Fig. 2 is a diagrammatic view of a vertical two-axis robot of parallelogram link structure; Fig. 3 is an explanation diagram showing each coefficient of an equation of motion; Fig. 4 is an explanation diagram of a torque transmission mechanism between a motor and an arm; Fig. 5 is a block diagram showing a configuration of a control system of a controller of the invention regarding two axes; Fig. 6 is a characteristic diagram of a zero command given to a first axis and a speed command of step type given to a second axis; Fig. 7 is an explanation diagram of an interaction force produced in the first axis in the ordinary PI control; Fig. 8 is an explanation diagram showing the state that the interaction force is removed in the invention; Fig. 9 is an explanation diagram showing a shift of a locus produced in the ordinary PI control; and Fig. 10 is an explanation diagram showing a shift of a locus improved in the invention. Best Mode for Carrying out the Invention A two-axis robot will be described to simplify the explanation. In a multi-axis robot, items explained as follows regarding the two-axis robot can be extended and applied. Fig. 1 is a diagrammatic view of a general vertical two-axis robot having an L-axis and U-axis, and Fig. 2 is a diagrammatic view of a vertical two-axis robot of parallelogram link structure. In the figures, l L is the length of the L-axis, M L is the mass of the L-axis, l Lg is the length of the L-axis to the center of gravity,  IL is the angle of the L-axis, M U is the mass of the U-axis, l Ug is the length of the U-axis to the center of gravity, and  IU is the angle of the U-axis with respect to the L-axis. An equation of motion of the two-axis robot shown in Fig. 1 and Fig. 2 can be expressed by the following formulas 1 ∼ 6. First, an expression of relation representing a torsional angle produced in a decelerator of each axis is expressed in the following formulas.  SL = 1 N L  mL -  IL  SU = 1 N U  mU -  IU Where  mL is the angle of an L-axis motor,  mU is the angle of a U-axis motor, N L is the reduction ratio of an L-axis decelerator, N U is the reduction ratio of a U-axis decelerator,  SL is the torsional angle produced in the L-axis decelerator, and  SU is the torsional angle produced in the U-axis decelerator. Next formula 3 and formula 4 are expressions of relation determined from Lagrange's equation of motion. K CL  SL =M LL  IL +M LU  IU +d L K CU  SU =M UL  IL +M UU  IU +d U Here, K CL is the spring constant of the L-axis decelerator, K CU is the spring constant of the U-axis decelerator, d L is the torque disturbance acting on the L-axis, and d U is the torque disturbance acting on the U-axis. Fig. 3 shows each coefficient of the equation of motion. Furthermore, a torque transmission mechanism between a motor and an arm shown in Fig. 4 can be expressed by the following formulas. In Fig. 4, numeral 1 designates an arm, numeral 2 designates a load, numeral 3 designates a motor to drive the arm 1, and numeral 4 designates a decelerator installed between the motor 3 and the arm 1. The decelerator 4 is constituted by a reduction mechanism and a spring element  mL = - K CL J mL N L  SL - u Lref  mU = - K CL J mL N L  SU - u Uref Here, J mL is the moment of inertia of the L-axis motor, J mU is the moment of inertia of the U-axis motor, u Lref is the control input of the L-axis, and u Uref is the control input of the U-axis. The control input here is represented as an acceleration command. Fig. 5 is a block a diagram of a configuration of a control system by a controller of the present invention shown regarding two axes. In Fig. 5, numeral 10 designates an observation means of the L-axis state, numeral 11 designates an observation means of the U-axis state, numeral 12 designates a controller of the L-axis state, numeral 13 designates a U-axis state controller and numeral 14 designates a means for calculating an interaction force. Reference numeral 20 denotes a semi-closed loop path for controlling the L-axis and reference numeral 21 denotes a semi-closed loop path for controlling the U-axis. Solution of the formulas 1 ∼ 6 regarding differentiation in the fourth order of the position  IL ,  IU of the arm 1 can be expressed as the following formulas.  IL (4) = -(1 + K JL ) ω LL 2  IL + 1 N L ω LL 2 u Lref - K JL ω LL 2 ω LU 2  SU - K JL ω LL 2 d LL - d LL - ω LU 2  SU  IU (4) = -(1 + K JU ) ω UU 2  IU + 1 N U ω UU 2 u Uref - K JU ω UU 2 ω UL 2  SL - K JU ω UU 2 d UU - d UU - ω UL 2  SL where  IL (4) and  IU (4) are differentiation of the fourth order of  IL and  IU respectively. K JL = 1 J mL N L 2 M LL M UU - M LU M UL M UU K JU = 1 J mU N U 2 M LL M UU - M LU M UL M LL ω LL 2 = K CL M UU M LL M UU - M LU M UL ω UU 2 = K CU M LL M LL M UU - M LU M UL ω LU 2 = K CU M LU M LL M UU - M LU M UL ω UL 2 = K CL M UL M LL M UU - M LU M UL d LL = M UU M LL M UU - M LU M UL d L - M LU M LL M UU - M LU M UL d U d UU = M UL M LL M UU - M LU M UL d L + M LL M LL M UU - M LU M UL d U In Formulas 7 and 8, the differentiation in the fourth order of the position of the arm includes the state quantity of other axis and the disturbance term in addition to the state quantity of the self axis and the control input. Separation of the control input into a value calculated by a command, a value due to an interaction from another axis and a value due to disturbance other than the interaction can be expressed in the following formulas. u Lref = u LLref +u LCref +u Ldref u Uref =u UUref +u UCref +u Udref Where u LLref and u UUref are control inputs necessary for operation of each axis, u LCref and u UCref are control inputs to compensate the interaction force from other axis, and u Ldref and u Udref are control inputs to compensate the disturbance included in the control input. Here the condition of noninteraction among axes can be explained in the following formulas.  IL (4) = -(1 + K JL )ω LL 2  IL + 1 N L ω LL 2 u LLref  IU (4) = -(1 + K JU )ω UU 2  IU + 1 N U ω UU 2 u UUref Consequently the following formulas must be effected. u LCref + u Ldref = K JL N L ω LU 2  SU + N L ω LU 2 ω LL 2  SU + K JL N L d LL + N L 1 ω LL 2 d LL u UCref + u Udref = K JU N U ω UL 2  SL + N U ω UL 2 ω UU 2  SL + K JU N U d UL + N U 1 ω UU 2 d UU The condition of removing the interaction force for the operation of the self axis is that the control input is compensated so that Formulas 11 and 12 are effected. That is, the formulas 13 and 14 must be effected. Here, in order to compensate for the interaction force included in the control input calculated to further operate each axis, the following formulas determined by Formulas 1 ∼ 6 will be introduced.  SL = -(1 + K JL )ω LL 2  SL + 1 N L u Lref + ω LU 2  SU + d LL  SU = -(1+ K JU )ω UU 2  SU + 1 N U u Uref + ω UL 2  SL + d UU Formulas 15 and 16 are substituted for Formulas 13 and 14, whereby the following formulas can be obtained as the compensation quantity of noninteraction. where Since the compensation quality includes the torsion amount in the decelerator, the following correction amount is added to the state variable used in the control operation. ' mL =  mL - N L ω LU 2 ω LL 2  SU ' mU =  mU - N U ω UL 2 ω UU 2  SL ' SL =  SL - ω LU 2 ω LL 2  SU ' SU =  SU - ω UL 2 ω UU 2  SL According to the controller as above described, the interaction force produced by the operation of the top end of the arm of each axis and the interaction force included in the control input of each axis are subjected to noninteraction, and a response without an interaction can be obtained regarding the operation of the top end of the arm. When the disturbance can be neglected or cannot be observed, the disturbance term in Formulas 1 ∼ 22 may be omitted for the application. Effects of the embodiments of the present invention will be described as follows. As shown in Fig. 6, when the first axis is supplied with a zero command (upper characteristics in Fig. 6) and the second axis is supplied with a speed step type command (lower characteristics in Fig. 6), in the ordinary PI control, an interaction force as shown in Fig. 7 is produced in the first axis, but using a controller of the present invention, the interaction force can be removed as shown in Fig. 8. Also when a command is issued to draw a linear locus in the horizontal direction at the top end, in the ordinary PI control, a shift is considerably produced in the locus as shown in Fig. 9, but using a controller in the present invention, the improvement can be made as shown in Fig. 10. Industrial Applicability The present invention can be utilized in the field of control of an industrial robot including a spring element such as a decelerator in each axis.

Claims: A controller for a multi-axis robot having at least first and second axis assemblies, said first and second axis assemblies each having an arm (1), a servomotor (3) driven by a control input and a coupling (4) in the form of a decelerator, which includes a spring element, coupling said servomotor (3) and said arm (1), said second axis assembly being disposed at an end of said arm of said first axis assembly, said controller comprising: said first and second axis assemblies each including torsional angle detecting means for detecting a torsional angle ( SL ,  SU ) of a respective one of the couplings (4); dynamic coupling calculating means for calculating coupling parameters of the coupling of said servomotor and said arm in each of said first and second axis assemblies; said first and second axis assemblies each including a semi-closed loop (20, 21) for effecting motor control; characterized by an interaction calculator (14) for calculating first interaction forces and second interaction forces based on control input values (u Lref , u Uref ) for said servomotors (3) of each of said first and second axis assemblies, and said torsional angles ( SL ,  SU ), wherein: said first interaction forces are forces generated on said arm of each of said first and second axis assemblies by motion of the other of said first and second axis assemblies; and said second interaction forces are generated by input (u LCref , u UCref ), included in control inputs (u Lref, u Uref ) of said servomotors (3), from a respective one of said semi-closed loops (20, 21) in each of said first and second axis assemblies due to the first interaction forces of the other of said first and second axis assemblies; and correction means for calculating a correction torque for each of said first and second axis assemblies, based on said first interaction forces and said second interaction forces for said first and second axis assemblies, to permit each of said arms (1) to act without being affected by said first interaction forces and said second interaction forces acting on the respective one of said first and second axis assemblies, and said correction means including input means for adding the correction torque to said control input of the respective one of said first and second axis assemblies. The controller according to claim 1 wherein said torsional angle detecting means of said first and second axis assemblies detect the torsional angle ( s ) of the respective one of couplings (4) based on the control input and motor angle ( m ) of a respective one of said first and second axis assemblies. The controller according to claim 2 wherein said torsional angle detecting means of each of said first and second axis assemblies is provided with a state observation means for calculating state quantities, including said torsional angles ( SL ,  SU ), of a respective one of said first and second axis assemblies. The controller according to claim 1 wherein said torsional angle detecting means of said first and second axis assemblies determine the torsional angle ( SL ,  SU ) of the respective one of the couplings (4) based on an input angle and an output angle of a respective one of said decelerators in accordance with the formula  s =  m N - 1 wherein  s is the torsion angle,  m is the input angle which is a motor angle, N is a reduction ratio of said decelerator, and  l is the output angle which is an arm angle. The controller according to any of the above claims wherein said correction means calculates a semi-closed loop correction parameter for each of said first and second axis assemblies, based on said first interaction forces and said second interaction forces for said first and second axis assemblies, to compensate for a torsion amount included in said correction torque to permit each of said arms (1) to act without being affected by said fist interaction forces and said second interaction forces acting on the respective one of said first and second axis assemblies and adds said semi-closed loop correction parameter to a state variable of said semi-closed loop (20, 21) of each of said first and second axis assemblies. The controller according to claim 5 wherein said state variable of said semi-closed loop (20, 21) of each of said first and second axis assemblies is a motor angle ( m ).

Inventors: OGURO RYUICHI, OJIMA MASAO, UMEDA NOBUHIRO, OGURO, RYUICHI, OJIMA, MASAO, UMEDA, NOBUHIRO, OGURO, Ryuichi, Kabushiki Kaisha Yaskawa Denki, OJIMA, Masao, Kabushiki Kaisha Yaskawa Denki, UMEDA, Nobuhiro, Kabushiki Kaisha Yaskawa Denki
Applicants: YASKAWA DENKI SEISAKUSHO KK, KABUSHIKI KAISHA YASKAWA DENKI
Application year: 1997
Main classification: G05D3
IPC codes: B25J9, G05B19