Robot control method and device

Information

  • Patent Grant
  • 6295484
  • Patent Number
    6,295,484
  • Date Filed
    Wednesday, November 24, 1999
    24 years ago
  • Date Issued
    Tuesday, September 25, 2001
    22 years ago
Abstract
When a multiaxial robot with a mechanism having spring elements between electric motors of respective axes and robot arms is controlled, the path precision of a tool tip is increased without causing vibrations produced by mechanical interference between axes and high-frequency vibrations of electric motors. A model controller (1) is supplied with position commands Xref—L, Xref—U with respect to the electric motors and outputs model motor position commands θMm—L, θMm—U, model motor speed commands {dot over (θ)}Mm—L, {dot over (θ)}Mm—U, and model feed-forward commands UFF—L, UFF—U to feedback controllers (10L, 10U) which actuate and control the electric motors and the robot arms. The model controller (1) includes therein corrective quantity calculators (3L, 3U) for calculating corrective quantities (corrective torques) in view of interfering forces acting between the axes from the other axes to cancel the interfering forces. The model controller (1) outputs the model feed-forward commands with the corrective quantities added thereto.
Description




TECHNICAL FIELD




The present invention relates to a robot control device for controlling a multiaxial robot such as an industrial robot, and more particularly to a method of and a device for controlling a robot to suppress vibrations produced by mechanical interference between axes.




BACKGROUND ART




Generally, industrial robots whose axes are controlled by electric motors actuate arms under loads via gears of a harmonic drive or the like having a large speed reduction ratio in order to compensate for a power shortage of the electric motors and minimize the effect of disturbing forces from the loads. Because of the intermediary gears with the large speed reduction ratio, mechanical interference between control axes has heretofore not posed significant problems. However, recent growing demands for high-speed and high-precision robot operation focus on problems caused by a mechanical effect that cannot be compensate for by a PI (proportional plus integral) control process and disturbance that cannot be ignored even though the arm is actuated with the high speed reduction ratio.




The present applicant has already proposed an invention disclosed in Japanese laid-open patent application No. Hei 9-222910 (JP, A, 09222910), relating to a method of suppressing vibrations due to axis interference in a multiaxial robot with a mechanism having spring elements such as speed reducers between electric motors of respective axes and robot arms. According to the invention disclosed in Japanese laid-open patent application No. Hei 9-222910, state observers associated with the axes of the multiaxial robot predict torsion angles between the electric motors and loads, and interfering forces are calculated using the predicted torsion angles. Based on the interfering forces, corrective torques are determined, added to the torques of the electric motors, and outputted.




In the control method disclosed in Japanese laid-open patent application No. Hei 9-222910, however, the values of the torsion angles predicted by the state observers are differentiated to calculate the corrective torques. Therefore, noise tends to be introduced into the corrective torques, causing the electric motors to produce high-frequency vibrations and large sounds in operation.




DISCLOSURE OF THE INVENTION




It is an object of the present invention to provide a robot control method to increase the path precision of a tool tip without causing vibrations produced by mechanical interference between axes and high-frequency vibrations of electric motors.




Another object of the present invention is to provide a robot control device to increase the path precision of a tool tip without causing vibrations produced by mechanical interference between axes and high-frequency vibrations of electric motors.




The first-mentioned object of the present invention can be achieved by a method of controlling, as an object to be controlled, a multiaxial robot including a mechanism which has spring elements between electric motors of respective axes and robot arms, comprising the steps of providing a pseudo-model of the object to be controlled and a feedback control system for the object to be controlled, calculating model motor position commands, model motor speed commands, and model feed-forward commands for the respective axes, using the pseudo-model, upon being supplied with position commands for the respective electric motors, determining interfering torques due to interference acting between the axes from the other axes, using the pseudo-model, and calculating model corrective torques to cancel the interfering torques, adding the model corrective torques to the model feed-forward commands to produce final model motor acceleration commands, and executing a feedback control process for the axes depending on the model motor position commands, the model motor speed commands, and the final model motor acceleration commands.




The other object of the present invention can be achieved by an apparatus for controlling a multiaxial robot including a mechanism which has spring elements between electric motors of respective axes and robot arms, comprising a model controller for being supplied with position commands for the respective electric motors and calculating model motor position commands, model motor speed commands, and model feed-forward commands for the respective axes, and feedback controllers for actuating and controlling the electric motors and the robot arms based on the commands outputted from the model controller, the model controller having corrective quantity calculators for determining interfering torques due to interference acting between the axes from the other axes and calculating model corrective torques to cancel the interfering torques, whereby the model controller outputs the model feed-forward commands with the model corrective torques added thereto.




For calculating corrective quantities in the present invention, interfering torques can be calculated from model torsion angles which are positional differences between model motors and model robot arms.




According to the present invention, an interfering force which a certain axis of the robot receives from another axis is determined as an interfering torque, and corrected by the model controller. Standard state quantities based on the corrective quantities (corrective torques) are supplied to the feedback controllers. Since the corrective quantities for canceling the interfering forces are calculated using quantities in a model, e.g., model torsion angles, no noise components are added to the corrective quantities even when differential calculations are performed. Therefore, high-frequency vibrations of the electric motors and sounds produced thereby during their operation are prevented from increasing, and the path precision of a robot tool is improved.











BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

is a control block diagram of a robot control apparatus according to an embodiment of the present invention; and





FIG. 2

is a control block diagram of a model controller.











BEST MODE FOR CARRYING OUT THE INVENTION




An embodiment of the present invention will be described below with reference to the drawings. While the embodiment is concerned with a two-axis robot for the ease of illustration, the present invention is also applicable to a multiaxial robot such as a robot with three axes or more by expanding the following description to the corresponding number of axes as can easily be understood by those skilled in the art. It is assumed here that the two axes are represented by an L-axis and a U-axis, commands and quantities relative to the L-axis are represented by variables indicative of those commands and quantities with a suffix “_L”, and commands and quantities relative to the U-axis are similarly represented by variables indicative of those commands and quantities with a suffix “_U”.





FIG. 1

shows a basic arrangement of a robot control system which approximates a two-inertia system for each axis. The two-mass system comprises electric motors


11




L


,


11




U


, spring elements such as speed reducers


12




L


,


12




U


, and robot arms


13




L


,


13




U


. It is assumed that respective torque constants of electric motors


11




L


,


11




U


are represented by K


t













L


, K


t













U


, respective actual positions of electric motors


11




L


,


11




U


of the respective axes by θ


m













L


, θ


m













U


, respective actual speeds of the electric motors by {dot over (θ)}


m













L


, {dot over (θ)}


m













U


, respective actual accelerations of the electric motors by {umlaut over (θ)}


m













L


, {umlaut over (θ)}


m













U


, respective speed reduction ratios of speed reducers


12




L


,


12




U


by N









L




, N









U




, respective spring constants of the speed reducers by K


c













L


, K


c













U


, respective inertial moments of arms


13




L


,


13




U


by J


L













L


, J


L













U


, respective actual positions of the arms by θ


L













L


, θ


L













U


, and respective accelerations of the arms, i.e., respective accelerations of loads, by {umlaut over (θ)}


L













L


, {umlaut over (θ)}


L













U


.




It is also assumed that in order to express interference between the U-axis and the L-axis, the load torque of the L-axis is multiplied by the value of M


LU


/M


o




2


determined by the mass of the robot arms and the angle between the both axes and acts on the load acceleration of the U-axis, and similarly, the load torque of the U-axis is multiplied by the value of M


UL


/M


o




2


and acts on the load acceleration of the L-axis.




Electric motors


11




L


,


11




U


are associated with respective sensors (not shown), which output the actual positions of electric motors


11




L


,


11




U


.




A robot control apparatus controls the L-axis and the U-axis based respectively on motor position commands X


ref













L


, X


ref













U


of the respective axes. The robot control apparatus has respective feedback controllers


10




L


,


10




U


for carrying out a feedback control process on the L-axis and the U-axis, and model controller


1


as a pseudo-model of feedback controllers


10




L


,


10




U


and objects to be controlled. Model controller


1


is supplied with motor position commands X


ref













L


, X


ref













U


, calculates feed-forward commands U


FF













L


, U


FF













U


of the respective axes in view of the dynamics of the robot, effects feed-forward compensation on the acceleration terms of electric motors


11




L


,


11




U


of the respective axes, and calculates and outputs motor positions θ


Mm













L


, θ


Mm













U


, motor speeds {dot over (θ)}


Mm













L


, {dot over (θ)}


Mm













U


, torsion angles θ


Ms













L


, θ


Ms













U


, and angular velocities of torsion {dot over (θ)}


Ms













L


, {dot over (θ)}


Ms













U


of the respective axes in a standard model. A prefix “model” is hereinafter added to each of elements that are outputted from model controller


1


.




In feedback controllers


10




L


,


10




U


, positional gains of the respective axes are represented by K


p













L


, K


p













U


, and speed gains of the respective axes by K


v













L


, K


v













U


. Feedback controllers


10




L


,


10




U


output respective final acceleration commands U


ref













L


, U


ref













U


to be given to respective electric motors


11




L


,


11




U


, and acceleration commands U


ref













L


, U


ref













U


are converted to respective current commands I


ref













L


, I


ref













U


by respective drive circuits


14




L


,


14




U


. Electric motors


11




L


,


11




U


are energized by the respective current commands I


ref













L


, I


ref













U


.




The robot control apparatus also has, for the L-axis and the U-axis, respective state observers


2




L


,


2




U


which are supplied with final acceleration commands U


ref













L


, U


ref













U


for the electric motors and actual positions θ


m













L


, θ


m













U


of the electric motors and predict actual torsion angles θ


s













L


, θ


s













U


and angular velocities of torsion {dot over (θ)}


s













L


, {dot over (θ)}


s













U


thereof. State observers


2




L


,


2




U


may preferably comprise the state observer disclosed in Japanese laid-open patent application No. Hei 9-222910, for example. The values predicted by state observers


2




L


,


2




U


are outputted respectively to feedback controllers


10




L


,


10




U


.




Feedback controllers


10




L


,


10




U


multiply the differences between model motor positions θ


Mm













L


, θ


Mm













U


outputted from model controller


1


and actual motor positions θ


m













L


, θ


m













U


by positional gains K


p













L


, K


p













U


to produce speed commands for the respective axes. To the speed commands thus produced, there are added the differences between model motor speeds {dot over (θ)}


Mm













L


, {dot over (θ)}


Mm













U


and actual motor speeds {dot over (θ)}


m













L


, {dot over (θ)}


m













U


. The sums are then multiplied by speed gains K


v













L


, K


v













U


thereby producing acceleration commands. To the acceleration commands, there are added (a) feed-forward commands U


FF













L


, U


FF













U


from model controller


1


, (b) the products of the differences between model torsion angles θ


Ms













L


, θ


Ms













U


and torsion angles θ


s













L


, θ


s













U


outputted from state observers


2




L


,


2




U


and feedback gains K


1













L


, K


1













U


, and (c) the products of the differences between model angular velocities of torsion {dot over (θ)}


Ms













L


, {dot over (θ)}


Ms













U


and angular velocities of torsion {dot over (θ)}


s













L


, {dot over (θ)}


s













U


outputted from t state observers


2




L


,


2




U


and feedback gains K


2













L


, K


2













U


, thereby producing final motor acceleration commands U


ref













L


, U


ref













U


for the respective axes.




In the above robot control system, based on final motor acceleration commands U


ref













L


, U


ref













U


thus obtained, electric motors


11




L


,


11




U


of the respective axes are energized to actuate arms


13




L


,


13




U


of the respective axes via speed reducers


12




L


,


12




U


which have respective speed reduction ratios N









L




, N









U




. At this time, as described above, the interfering forces between the axes act on the load accelerations of the respective axes.




An arrangement of model controller


1


will be described below.

FIG. 2

shows in detail the arrangement of model controller


1


which comprises a pseudo-model representing the feedback controllers, the electric motors, the speed reducers, and the robot arms. The positional gains and speed gains of the respective axes in the pseudo-model are model positional gains K


pM













L


, K


pM













U


and model speed gains K


vM













L


, K


vM













U


, respectively. Similarly, model motor inertial moments J


mM













L


, J


mM













U


, model arm inertial moments J


LM













L


, J


LM













U


, model speed reduction ratios N


M













L


, N


M













U


, and model speed reducer spring constants K


cM













L


, K


cM













U


are determined as model parameters.




Model controller


1


is supplied with motor position commands X


ref













L


, X


ref













U


of the respective axes, and multiplies the differences between motor position commands X


ref













L


, X


ref













U


and model motor positions θ


Mm













L


, θ


Mm













U


by model positional gains K


pM













L


, K


pM













U


, thereby producing model speed commands for the respective axes. Model controller


1


multiplies values generated by subtracting model motor speeds {dot over (θ)}


Mm













L


, {dot over (θ)}


Mm













U


of the respective axes from these model speed commands, by model speed gains K


vM













L


, K


vM













U


, thus producing model acceleration commands for the respective axes. Model controller


1


then subtracts, from the model acceleration commands, values produced by multiplying model torsion angles θ


Ms













L


, θ


Ms













U


obtained from the model speed reducers by model feedback gains K


1M













L


, K


1M













U


, and values produced by multiplying model angular velocities of torsion {dot over (θ)}


Ms













L


, {dot over (θ)}


Ms













U


obtained when model torsion angles θ


Ms













L


, θ


Ms













U


are differentiated, by model feedback gains K


2M













L


, K


2M













U


, thereby producing model acceleration commands U


Mref













L


, U


Mref













U


. Model acceleration commands U


Mref













L


, U


Mref













U


are applied to model electric motors. Therefore, model acceleration commands U


Mref













L


, U


Mref













U


can be expressed by:










U
Mref_L

=



K
pM_L

·


K
vM_L



(


X
ref_L

-

θ
Mm_L


)



-


K
vM_L

·


θ
.

Mm_L


-


K

1

M_L


·

θ
Ms_L


-


K

2

M_L


·


θ
.

Ms_L







(
1
)







U
Mref_U

=




K
pM_U

·

K
vM_U




(


X
ref_U

-

θ
Mm_U


)


-


K
vM_U

·


θ
.

Mm_U


-


K

1

M_U


·

θ
Ms_U


-


K

2

M_U


·


θ
.

Ms_U







(
2
)













With the two-axis robot that is assumed in the embodiment, as described above, because of the interference, the load torque of the L-axis is multiplied by the value of M


LUM


/M


oM




2


determined by the mass of the robot arms and the angle between the axes and acts on the load acceleration of the U-axis, and similarly, the load torque of the U-axis is multiplied by the value of M


ULM


/M


oM




2


and acts on the load acceleration of the L-axis. If the above interference is recognized as disturbance acting on the arms, then with respect to the L-axis, vibrations of the arm due to the interference can be reduced by adding model corrective torque T


comp













L


expressed by the following equation to model motor acceleration command U


Mref













L


:










T
comp_L

=


-



K
pM_L

·

K
vM_L

·

N
M_L

·

D
is_UL



K
cM_L



-



K
vM_L

·

N
M_L

·


D
.

is_UL



K
cM_L


-



K

1

M_L


·

D
is_UL



K
cM_L


-



K

2

M_L


·


D
.

is_UL



K
cM_L


-


D
is_UL



J
mM_L

·

N
M_L



-



N
M_L

·


D
¨

is_UL



K
cM_L







(
3
)













where D


is













UL


is an interference torque acting from the U-axis on the L-axis, and can be expressed by:










D
is_UL

=


J
LM_L

·

K
cM_U

·


M

UL





M



M
oM
2


·

θ
Ms_U






(
4
)













Therefore, final model motor acceleration command U


FF













L


is expressed by:







U




FF













L




=U




Mref













L




+T




comp













L


  (5)




and effects feed-forward compensation on the acceleration term of the electric motor. Model controller


1


has corrective quantity calculator


3




L


which is supplied with model torsion angle θ


Ms













U


for calculating model corrective torque T


comp













L


based on equations (3), (4). Model corrective torque T


comp













L


from corrective quantity calculator


3




L


is added to model motor acceleration command U


Mref













L


.




Likewise, with respect to the U-axis, model corrective torque T


comp













U


is expressed as follow:










T
comp_U

=


-



K
pM_U

·

K
vM_U

·

N
M_U

·

D
is_LU



K
cM_U



-



K
vM_U

·

N
M_U

·


D
.

is_LU



K
cM_U


-



K

1

M_U


·

D
is_LU



K
cM_U


-



K

2

M_U


·


D
.

is_LU



K
cM_U


-


D
is_LU



J
mM_U

·

N
M_U



-



N
M_U

·


D
¨

is_LU



K
cM_U







(
6
)













where D


is













LU


is an interference torque acting from the L-axis on the U-axis, and can be expressed by:










D
is_LU

=


J
LM_U

·

K
cM_L

·


M
LUM


M
oM
2


·

θ
Ms_L






(
7
)













Model controller


1


has corrective quantity calculator


3




U


which is supplied with model torsion angle θ


Ms













L


for calculating model corrective torque T


comp













U


based on equations (6), (7). As a result, final model motor acceleration command U


FF













U


is expressed by:








U




FF













U




=U




Mref













U




+T




comp













U


  (8)






Model corrective torques T


comp













L


, T


comp













U


thus determined are based on the fact that the speed loops of feedback controllers


10




L


,


10




U


are a proportional (P) control loop. However, it is possible to determine corrective torques according to a proportion-plus-integral (PI) control loop for compensation.




In this embodiment, after interference torque correction has been carried out by model controller


1


, standard state quantities are applied as commands to feedback controllers


10




L


,


10




U


. Therefore, the robot arms are not affected by interference from the other axes.




INDUSTRIAL APPLICABILITY




According to the present invention, as described above, in a robot control device for use in controlling a multiaxial robot with a mechanism having spring elements between electric motors of respective axes and robot arms, interfering forces received from other axes are corrected by a model controller, and, based on the corrected interfering forces, standard state quantities are applied to feedback controllers, so that no noise component will be added to corrective torques and the robot arms will be free of interference-induced vibrations, thereby increasing the path precision of a tool tip.



Claims
  • 1. A method of controlling, as an object to be controlled, a multiaxial robot with a mechanism having spring elements between electric motors of respective axes and robot arms, comprising the steps of:providing a pseudo-model of said object to be controlled and a feedback control system for said object to be controlled; calculating model motor position commands, model motor speed commands, and model feed-forward commands for the respective axes, using said pseudo-model, upon being supplied with position commands for the respective electric motors; determining interfering torques due to interference acting between the axes from the other axes, using said pseudo-model, and calculating model corrective torques to cancel said interfering torques; adding said model corrective torques to said model feed-forward commands to produce final model motor acceleration commands; and executing a feedback control process for said axes depending on said model motor position commands, said model motor speed commands, and said final model motor acceleration commands.
  • 2. A method according to claim 1, wherein said interfering torques are calculated from model torsion angles which are positional differences between model electric motors and model robot arms.
  • 3. A device for controlling a multiaxial robot with a mechanism having spring elements between electric motors of respective axes and robot arms, comprising:a model controller for being supplied with position commands for the respective electric motors and calculating model motor position commands, model motor speed commands, and model feed-forward commands for the respective axes; and a feedback controller for actuating and controlling the electric motors and the robot arms based on the commands outputted from said model controller; said model controller having corrective quantity calculators for determining interfering torques due to interference acting between the axes from the other axes and calculating model corrective torques to cancel said interfering torques, whereby said model controller outputs said model feed-forward commands with said model corrective torques added thereto.
  • 4. A device according to claim 3, wherein said corrective quantity calculators calculate said interfering torques from model torsion angles which are positional differences between model electric motors and model robot arms.
  • 5. A device according to claim 3, further comprising:state observers associated with the respective axes for predicting torsion angles and angular velocities of torsion based on actual motor positions and motor acceleration commands outputted from said feedback controllers; wherein said model controller calculates model torsion angles and model angular velocities of torsion; and said feedback controllers output said motor acceleration commands taking into account the differences between the predicted torsion angles and said model torsion angles and the differences between the predicted angular velocities of torsion and said model angular velocities of torsion.
Priority Claims (1)
Number Date Country Kind
9-138543 May 1997 JP
PCT Information
Filing Document Filing Date Country Kind 102e Date 371c Date
PCT/JP98/02284 WO 00 11/24/1999 11/24/1999
Publishing Document Publishing Date Country Kind
WO98/53962 12/3/1998 WO A
US Referenced Citations (8)
Number Name Date Kind
4786847 Daggett et al. Nov 1988
4829219 Penkar May 1989
4851748 Daggett et al. Jul 1989
4864204 Daggett et al. Sep 1989
4864206 Onaga et al. Sep 1989
4868474 Lancraft et al. Sep 1989
4962338 Daggett et al. Oct 1990
5319789 Ehlig et al. Jun 1994
Non-Patent Literature Citations (2)
Entry
Tsusaka et al., Development of a Fast Assembly Robot Arm with Joint Torque Sensory Feedback Control, 1995, IEEE, pp. 2230-2235.*
Wang et al., Experiments on the Position Control of a One-Link Flexible Robot Arm, 1989, IEEE, 373-377.