Académique Documents
Professionnel Documents
Culture Documents
(pole-zero)compensationnetwork,
an overall frequency rolloff at
about 1000 Hz, and an output voltage limit, V,. The preamplifier's
two poles and one zero can be described by the linear combination of
twoauxiliary state variables, y4 and y5. The nonlineardynamics of
the motor-controller are represented by the motor current, which is
the state variable, y6.
The AID 600 slave control unit computes the set-velocity voltage for
each movement
axis
in
the high-level command
software,
using
informationfrom
position andspeed-scheduleinputs,(markedas
'track' data input inFig. 2) plusfeedback data fromoptical encoder
on the motor shaft.The set-velocity voltage output is modeled asa
sampled-data deviceofperiod
5 ms; the position feedbackoptical
encoder input also has a period of 5 ms. The input ofnew track data
from themaster controlunitoccurs at 80 ms intervals. The control
logicused
in the slave controlunit
is acombination
of position,
velocity, andintegrated
position functions, as shownin
the lower
dynamics of the closed-loop
portion of Fig. 2. In summary,the
control system for a single axis of the robot arm motion is represented
by the seven state variables:
I. INTRODUCTION
Computersimulations
of thedynamics
of robot armsare
found
extensively in the literat~re.'-~ Theadvantages of having a program
that accurately reflects a robot's dynamics are great: having a virtual
second robot allows one to try experimental control algorithms without
the danger of hurting the robot or personnel.
The simulation of the dynamics of the Automatix AID 600 robot was
written in the Clanguage, closelyfollowing theform of aprogram
previously written by M K Brown for the simulation of arobot
gripper.5
yo
y,arm
y2
y3
y4
Figure 2 is a system block diagram for one of the robot axes. In this
figure, J, is the moment of inertia of the axis servo-motor, and B, is
the motordamping.Thelineardynamics
of the robot axis canbe
described by the twostate variables position, yo,and velocity yl.
Because the effects of motor gear backlash are to be examined, the
nonlinear effects of the coupling and uncoupling of therackand
pinion system of the arm andmotor gearare described with two
additionalstate variables: gear angle, y2, and gear angular
velocity,
y3, with the drive force transmitted through the stiffness and friction
of the gear train when the teeth are in contact.
Yo
= Y1
(1)
Y2 = Y3
Y4 =
Withinthevoltagesaturationlimits,thedriveractsasacontrolled
current source with transconductance Ki, as maintained by a current
feedback loop in the controller circuitry. When the motor reaches the
voltage saturationlimit,itcanbecharacterized
by asingle-pole
inductance-resistance model with aback EMF proportional tothe
motor angular velocity. The motor is driven by acontroller with an
input for a reference (set-velocity) voltage, and an inverting input for
a tachometer feedback voltage. The controller has aswitchingmode
power drive unit, preceded by a preamplifier consisting
of a lag-lead
Ys
212
CH2008-1/84/0000/0212$01.0001984 IEEE
1 (volts)
2 (volts/s.)
111. RESULTS
Thestatevariable
differentialequations (1) areintegrated usinga
fourth
order
Runge-Kutta
numerical
integration
algorithm
as
described in Ref. [51. The following x-axisparameters usedin the
programwereprovided
by manufacturersspecifications6and
data
provided by engineers at Automatix, Inc.:
+ T,YS,
IVcI
VL
(2)
V,
K,(Vc - y&i)
IV,I
< V,
Armature resistance
Armature inductance
Motor EMF constant
Motor torque constant
Armature inertia (no-load)
Armature damping
Tachometer gain
Motor gear radius
Gear backlash
Arm mass
(3)
where K, is theforward
gainof
the powerunitand
Ki is the
conductance of thecurrentfeedbackpath.
When K, is sufficiently
large,
and
when lVml
V,,
the controller acts
aas
y6 KiV,.However,
transconductance
amplifier
with
the
current,
in (1) and the voltage equations (2) and (3) with
the equation for
their
limit
conditions
are necessary
to
adequately
simulate
the
nonlinearconditionswhichgenerallyprevailinthecontrollerduring
arm movements.
<
y,
The gearcouplingforce
is determined by thecouplingstiffness, kg,
the couplingfrictioncoefficient,
b,, andthe differencebetween the
position of thepiniongearand
the rackrelative
tothe backlash
distance, H. Let the pinion-rack position difference be denoted by X,
namely:
x = TgY2
- Yo
(x-H)k,
+ (rgy3-yl)bg
, x
(x+H)k,
+ (rgy3-yl)bg
, x < -H
>H
(5)
The axis-loadfrictionhastwocomponents.First,aviscousfriction
proportionaltovelocity,which
is reasonably well modelled by the
linear force, Bayl; and second, a static friction, F,; which is modelled
as a force doublet in the region of zero velocity, i.e.
lyll < v
otherwise
F,sgn[~,I,
Fs={
where w is thethresholdvelocity
component disappears.
level at whichthe
(6)
static friction
of
The set of Eqs. (1)-(6) from the basis for the nonlinear dynamics
each axis of the robot arm motion simulated in the computer program
If the backlashgap, H, andthestatic
friction, F,,
forthisstudy.
werenegligiblysmall,andthegearcouplingstiffness,
kg, voltage
K,, were
arbitrarily
large,
the
limits, V, and V,,
and
gain,
nonlinear,seventh-ordersystemrepresented
by Eqs. (1)-(6) would
reducetoalinear,fourth-order
system.Inthislinearcase,
the
controller power stage is replaced by a current source, y6 = KiV, and
thegearlinkageandaxis
load (see Fig. 2 ) are replaced by an
J, and rotational friction coefficient,
equivalentloadedmotorinertia,
B, given by
= J,
+ riM ,
0.00705 sec
0.0071 to 4.74 sec
0.000159 sec
0 to 3333
80 to 870
3 ampholt
95 volts
,-H<xGH
ohms
henries
volt sec/rad
N damp
N m sec
N m sec
volt sec/rad
m
m
kg
(4)
f8
0.56
0.00235
0.289
0.289
0.000847
0.000733
0.0668
0.00573
0.00001
146
B,
For the x-axis test runs, the gain K, was automatically computed as a
function of K, to maintain the desired steady-state gain of 0.1 m/sec
per volt. One of theprogram validationtests was alinearsystem
check,wherethenonlinearfactorsinthesimulationprogramwere
removed (Le. no saturation, static friction, or backlash and ideal gear
coupling). The stepresponsefrom
the linearizedsimulationwas
compared
with
thestep
response
obtained
analytically
from
the
transferfunction
of thelinear system. That thesimulationresults
agreed with the analytical results is shown in Fig. 3 for two values
of
thetimeconstant, T,. The lowerplotindicates that the linear step
responsecan be made to reach thesteady-statevalueinabout0.03
seconds.However, the motor current required for thisrapidresponse
has a peak value more
than 40 times the rated peak current for the
motor.
Thus,
saturation
limits
will preclude
this
rapid,
linear
response.
+ riBa ;
andtheoutputpositionandvelocityaresimplythegearradius,
rg,
times the motor angular position
and
velocity.
This
linear
approximationmodel was used in part of the testingphase of the
study, described in the next section. However, nonlinear effects of the
gear backlash, static friction, and especially the saturation limits, have
a significant effect on the dynamics of the arm movement; hence the
inclusion of thesenonlinearities in the simulation is important for a
reasonably accurate representation of the actual arm movement.
A secondset of runswasmadeusingthesaturation,backlash,and
otherparametervaluesasgivenintheabove
list. The gain K, was
set at 870,whichrequiredavalue
for K, of 1014 for the desired 1
m/sec steady-state velocity. The time constant, T,, was then reduced
213
REFERENCES
K. J. Astrom, "Computeraidedmodeling,analysisand
design
of controlsystems - a perspective," IEEE ControlSystems
Magazine, 3, No. 2, 4-16 (1983).
S . Derby, "Simulating motion elements of general-purpose
robot arms," International Journal of Robotics, 2, No. 1, 3-12
(1983).
N. Qrlandea
and
T. Berenyi,
"Dynamic
continuous
path
synthesis of industrial robots using ADAMS computer
program," Trans. of the ASME: Journal of mechanical design,
103, 602-607 (1981).
R. Walker, C. Gregory, and S. Shah,"MATRIX, A data
analysis,systemidentification,control
design andsimulation
No. 4 30-37,
package," IEEE ControlSystemsMagazine2,
(1982).
M. K. Brown, "Computer simulation of a controlled impedance
robot hand" Bell Labs Internal Document, August 5, 1983.
NC400 Series
Servo
Operating
and
Service
Manual:
Controller, ControlSystemsResearch
Division of Contraves
Goerz Corporation, Pittsburgh, 1978.
0. C. Jensen,
W.
L. Nelson,
"Use
of accelerometers for
measurementandcontrol
of robot arm motion," Bell Labs
Internal Document, March 28, 1983.
W. L. Nelson,"Physical principles for economics of skilled
movements," Biol. Cybern. 46, 135-147 (1983).
V,
I,
B,
b,
k,
Controller
preamp.
limit
Saturationcurrent (= KiVL)
Arm
friction coefficient
Gear friction coefficient
Gear stiffness
2.7 volts
8.1 amp.
200 Nsec/m.
1500 Nsec/m.
5 X lo6 N/m.
When the motor current is not at the saturation limit, the response is
affected by the overall closed-loop characteristics of the system
in Fig. 5 aretheactual
andsimulated
arm
components.Shown
position and velocity patterns for a programmed x-axismovement of
1 meter and a set-velocitylevel of 0.9 m/sec. The control parameters
in the slave processor unit (seeFig.2)
have been adjusted in the
simulation program to match those in
the actual system. While there
are some minor differences in some portions of the response patterns,
appears
it
that
the
simulation adequately represents the basic
characteristics of the robot arm movement.
IV. CONCLUSION
A simulation of the basicnonlineardynamics
for the single-axis
movement and control of an Automatix AID 600 robot arm has been
developed and tested. For the linear case the simulation results agree
very accurately with theanalytical results.However,
the nonlinear
effects of motor currentand voltagelimits in the controllerhave a
predominant impact on the
transient
response of the system.
Therefore,the usual linearsystem design methodsdo not apply for
optimizing the response of thissystem. The nonlinear effect of the
small amount of backlash in the rack and pinion gear train was found
to have only a very small effect on the system response,while the
stiffness of the gear train had a very large effect on the settling time
of the transient response of the system.
Future plans for this program include the simulation of digital control
logic using the position encoder data augmented by accelerometer and
other sensor feedback data. Variouscontrol
strategies - such as
minimum-time, or minimum jerk' can then be evaluatedandtested.
of thex,
y. and z axes,
The simultaneousmovementsimulation
including some cross-coupling effects, is also planned.
ACKNOWLEDGMENTS
subroutines
Theauthors wish to thank M. K. Brownforproviding
usedin thissimulationandformanyuseful
discussions. Thanks are
also due to Brad Hunter of Automatix, Inc., for providing information
on the controller, motor, and arm parameters.
214
Fig. 1
215
E
X
a
>
LL
W
216
0.2
0.0
0.4
0.6
0.8
TIME in seconds
VI
Iu
VI
t
0
Tp = .I95 sec
0
0
0.0
0.02
0.04
0.06
0.00
TIME in seconds
Fig. 3
Comparison of simulation
output
(dots)
and
analytic
solution (solid lines) for step response of linearsystem for
t w o values of the compensator time constant, T,.
217
0.io
1
u7
I
88.0
'f?ME
1.0
1.5
i n seconds
2.0
0
[D
m\
Tp-D. 04 sec
'f?ME
901
*In
_.
a.O
1.5
i n seconds
2.0
0.0
0
ul
Fig. 4
218
'7%~
,I
07!?ME
1.0
1.5
i n seconds
2.0
1.0
1.5
i n seconds
2.0
0.04 sec.
0.0
0.5
1.0
TIME i n seconds
1.5
0.0
0.5
1.0
TIME i n seconds
1.5
Fig. 5
219
2.0