25SymbolicDerivationofDynamicEquationsofMotionforRobotManipulatorsUsingPiogramSymbolicMethod
25SymbolicDerivationofDynamicEquationsofMotionforRobotManipulatorsUsingPiogramSymbolicMethod
net/publication/3257723
CITATIONS READS
26 958
3 authors, including:
Cheng-I Weng
National Cheng Kung University
153 PUBLICATIONS 3,235 CITATIONS
SEE PROFILE
All content following this page was uploaded by Cheng-I Weng on 15 March 2016.
Abstruet-In this paper, an algorithm for both manual and automatic INTRODUCTION
derivation of dynamic models of robotic manipulators using Piogram
symbolic method is presented. A program is also developed based on the
Newton-Euler formalism by Piogram symbolic representation method,
which is applicable to the manipulators of any degree of freedom. Two
T HE SYMBOLIC derivations have been extensively used
in research to generate and evaluate control algorithms for
multi-link robots. Generally, a symbolic tool is more powerful
examples are given to illustrate how to use this program for dynamic than a numerical one. From the design viewpoint, symbolic
equation generation. It is shown the present method has the great
advantage of simplifying the manipulation process, and thus a large
equations of motion can be easily analyzed in order to check,
memory space and much computing time are saved as implemented in a for instance, the influence of design parameters, such as
computer program. masses and lengths, on the model. Furthermore, in the usual
considered cases, a simulation run based on a symbolic (exact)
NOMENCLATURE model is faster in obtaining the result than one based on a
numerical model. A lot of algorithms for generating the
4 x 4 D-H transformation matrix from equations of motion of robots have been presented. Many of
coordinate system a to b about k , ( = k b ) , them, e.g., ARM, MACSYMA, etc., [8], [9], try to generate
j a (=j b ) , ia( = i b ) , respectively. equations of motion in symbolic form automatically. Never-
4 x 4 D-H transformation matrix from theless, most of the programs reveal an elevated memory and/
coordinate system k to k - 1 . or are time-consuming. The reason is that successive computa-
Total external vector force exerted on link tions of the coordinate transformations and of the position,
N. velocity, and acceleration of the last link with respect to the
Angular momentum vector of link N with manipulator base or any local coordinate system is required.
respect to its center of mass. Thus the cumbersome matrix multiplication induces the
Inertia matrix of link N about its center of tedious operations of sine and cosine functions for the
mass. transformations. Besides, the algebra expressions obtained by
Appropriate mass coefficient due to actua- symbolic manipulation need to be simplified to reduce the
tor. arithemetic operation terms. Therefore, most of those pro-
Unit vectors along the x , y , and z axes of grams require a large computer memory space and much
coordinate system a, respectively. computing time. Furthermore, in formulating the dynamic
Total external vector moment exerted on equations, the number of chains of multi-link mechanisms
link N . representing the velocity must grow linearly with the number
Column matrix whose entries are the i, j , of rotations, and the number of chains representing the
and k components of robor rc, coordinated acceleration must grow quadratically [12], [13], [17]. This is
in system c. unavoidable since the complexity of the problem and the
Column matrix whose four entries are the i, number of terms in the analytic expressions have a similar
j , and k components of rab or rc and 1 , growth. As for the algorithm presented in this study, it has the
coordinated in system c. advantage of eliminating the cumbersome matrix multiplica-
4 x 4 D-H homogeneous transformation tion. Moreover, in computation of velocity and acceleration,
matrix from the coordinate system k to the using matrix operations, many terms are computed but are
base frame. eventually dropped. This unnecessary computation is avoided
x, y , and z component of ra in the coordinate by using Piogram symbolic operation rules [ 121, [131.
system a, respectively. Formulation of manipulator dynamics in relation to the
Euler angle of rotation about j , , i,, and k, , computational efficiency and control analysis has been an
respectively. active research topic. Newton-Euler [3], [7] and Lagrange
Abbreviations of sin (ei), cos (6;). [l], [ 5 ] , [14] formalisms are the two well-known formulation
methods. The former has been regarded to be computationally
Manuscript received September 29, 1987; revised February 15, 1988. efficient and the latter to be insightful in representing
The authors are with the Department of Mechanical Engineering, National
Cheng Kung University, Tainan, Taiwan, ROC. manipulator dynamics. If the vectodmatrix equations were
IEEE Log Number 8821744. expanded symbolically to scalar form, the resultant equations
kb k-1.b
-
k 'k-1
xk-l,b
k-1
-4k lxkb
STOP?
EXIT
1 1 I 1
(b)
Fig. 3. (a) Piogram symbolic representation: Bit-,. (b) Inversion of
symbolic representation: Bit-,.
11 I 1
Fig. 5. Position form of symbolic equation.
xLblp
1+ I1
Fig. 6. Orientation form of symbolic equation.
ak
;k-1,
k-1 b
kb .k-l,b
k' 'k-1
kb .k-l,b
'
k --"k-l
l t - 4 0 1 + - - l o
(a) (b)
Fig. 7. Symbolic representation of the first derivative of E:- I (a) for a revolute joint, (b) for a prismatic joint.
k-1.b .kb
Xk-l Xk
k-l,b
'k-1
I C 4 0 I + - - 4 0
(a) (b)
Fig. 8. Symbolic representation of the first derivative of (a) for a revolute joint, (b) for a prismatic joint.
if link N is rotational
Nu= (n + l)(n+ 2)/2 (9)
4 0 l + - 0
(a) cp,
Fig. 9. Symbolic representation of the second derivative of B : _ , (a) for a revolute joint, (b) for a prismatic joint.
XO
where OF(GF) is the angular velocity (acceleration) of link N Since the components of IcN are constantly relative to a
with respect to the base coordinate referred to as coordinate k , corotational basis, thus
and 2 N - l = [0, 0, 1, 1IT. Using the Piogram symbolic
representation method, the unnecessary computations of the (f$F)N+ 1 = H E = I c N G E . (16)
kinematic equations as mentioned above are avoided, since For the Newton-Euler equations we need the resultant force
each term, which eventually reaches a zero value, can easily FN and the momentum M c N of the force about the center of
and directly be eliminated before computation, and it is also mass of each link. As shown in Fig. 10, let f N be the force
clearly seen from the symbolic representation that the path applied to link N by link N - 1, and let -f N + I be the force
which involves these terms quickly reaches a zero end. applied to link N by link N + 1, then
EQUATIONS
OF MOTION
FOR MANIPULATORS
FN=fN+ (-fN+ 1) +m N g o = f N - f N + I +m N B k g . (17)
D’Alembert’s principle is applied to each link of the
manipulator. Assume the viscous damping terms are omitted. Also let MN be the moment applied to link N by link N + 1
Thus the Newton-Euler equations are expressed as and - MN+I be the moment applied to link N by link N + 1 ,
then
FN=mN ‘?kN (12)
MCN=MN-M N + I - ( S N - T N ) X ~ N +~ N X ~ IN. + (18)
McN = HkN. (13)
By projecting M N onto the direction of zN- axis, we obtain
For a rigid body, the angular momentum vector is expressed as
the input torque TN on the Nth link. There is, however,
HE= I N W E . (14) another important contribution to kinematic energy, that of the
actuators at the joints. Hence, we adopt the terms represented
The rate of change of the angular momentum of link N relative by an actuator inertia (or equivalent mass), referred to joint
to the base frame referred to coordinate k is angular acceleration (or linear acceleration) in the actuated
HzN=B;(BAB: * - - BE-,HE+BAB: BE-lHE torque (or force), as shown in (19) and (20).
7 yo
The inertia matrix and mass center position vectors are
yo o o 01
Since the inertia matrices are null matrices, therefore, only the
linear accelerations ' F Y I and ' f y need to be derived for each
link's dynamics. From (8), the symbolic forms of forward
Similarly, the input force f N is dynamic equations can be derived by using the Piogram
symbolic representations method as follows:
-a2 -a
a i 2 + a ii’c -a ii s
2 1 1 1 2 1 1 2
-a 8 -a 62s -a i; c
2 1 1 1 2 1 1 2
O h + o
I C I O
TABLE I1
0- 1-a-B L 2
LINK PARAMETERS OF MODIFIED STANFORD ARM
1 0, 0 0 - 90 0,
2 02 0 90 02
3 0 d3 0 0 d3
1+- I O
[
and
-alw
0 c L
alii;
and
(33)
1
The second example is a manipulator with the same
m2(-a2BI- a 2 8 2 - g ~ 1 2 - a l B ~ ~ 2 - a 1 8 1 ~ 2 )geometry as that of the Stanford arm (as shown in Fig. 16) but
fi= 0 without the wrist and gripper, called the modified Stanford
0 arm. The link-geometric parameters of this three-degree-of-
(31) freedom manipulator are listed in Table 11. Presented in this
606 IEEE JOURNAL OF ROBOTICS AND AUTOMATION, VOL. 4, NO. 6, DECEMBER 1988
TABLE 111
LINK PARAMETERS OF 3-DOF PUMA ARM
rINxy o o o i
(35)
L o 0 0 o j
The position vectors of center of mass coordinated in each
frame are as follows:
O F - 2b3B2
-(z 3 +d 3 )
-2i3 +Lo
\ o+- 4 0
01-
U
o c -lo
Fig. 22. 2B:Bi(B:E: ' r p ) .
o c 4 0
+ U3,- 2Z2, + 2Z2,,)
* C2S2+8:(d2m3z3+m3d2d3)S2-m3d3d2S2
o+ 4 0
+ 81 [m3(z:+2z3d3+ d : ) . (S2)2
+m2(~2+dd~+md:
d3
+(z2u+13u) * (s2)2+(12u+13zz)
z3 c L d,
- (c2)2+4yy+471+m1z:1
+ el [2m3( 2 3 + d3) - (&I2]
a3
1+ --lo
+e2c2[-m3dZ(z3+d3)1
Fig. 19. E:(& ' r y ) .
- 2m3d2d3e2C2 (53)
72= )2[- +&I2
- m 3 ( z 3 + d ~ ) g S 2 + ( e ~m3(z3
+ 4 , - 13,, + 12, - 1 2 u l s2c 2
- 8 (1113 d2 d3+ m3d2z3) C2
+ 8 2 [m3( ~ +3 d3 l2+ 13yy + IzyyI
o c + o +282d3[m3(z3+d3)1+Iu282 (54)
ji = m3[( - (z3+ d3 )e:S2 - d2el) S2
- ( ~ +3 d3)ei + d3 + gC2] + Z u 3 d 3 . (55)
The equations of motion of the PUMA arm (as shown in
Table III) have been also derived successfully. But because of
space limitation, only the formulating efficiency is presented
in Table IV for comparison.
DISCUSSION
The automatic equation derivation process is highly desir-
Ob- 4 0 able while manual symbolic expansion of manipulator matrix
equations is tedious, time-consuming, and error-prone. The
derivation of dynamic equations involves a large number of
symbolic operations. For an n-degree-of-freedom manipula-
608 IEEE JOURNAL OF ROBOTICS AND AUTOMATION, VOL. 4, NO. 6 , DECEMBER 1988
J . M. Hollerhach, “A recursive formulation of Largrangion manipula- Cheng-1 Weng received the B.S. degree from
tor dynamics,” IEEE Trans. Syst., Man, Cybern., vol. SMC-IO, no. National Cheng Kung University (NCKU), Tainan,
11, pp. 730-736, 1980. Taiwan, ROC, in 1966, and the M.S. and Ph.D.
J. R. Birk and R. S. Kelly, “An overview of the basic research needed degrees from the University of Rochester, Roches-
to advance the state of knowledge in robotics,” IEEE Trans. Syst., ter, NY, in 1969 and 1973, respectively, both in
Man, Cybern., vol. SMC-11, no. 8, pp. 574-579, 1981. mechanical engineering.
J. Y. S. Luh, M. W. Walker, and R. P. C. Paul, “On-line From 1973 to 1977, he was an Associate Profes-
computational scheme for mechanical manipulators,” Trans. ASME sor of Mechanical Engineering of National Cheng
J. Dyn. Syst., Meas., Contr., vol. 102, pp. 69-76, June 1980. Kung University. From 1977 to 1980, he taught at
J. I. Murray and C. P. Neuman, “ARM: An algebraic robot dynamic the National Chaio Tung University as a Professor
modeling program,” IEEE Publ. CH 2008-1/84/oooO/0103. and Department Head of the Department of Me-
M. C. Leu and N. Hemati, “Automated symbolic derivation of chanical Engineering. In 1980, he returned to NCKU as a Professor. Form
dynamic equations of motion for robotic manipulators,” Trans. ASME 1980 to 1986 he was also the Department Head of the Department of
J . Dyn. Syst., Meas., Contr., vol. 108, pp. 172-179, Sept. 1986. Mechanical Engineering, and has been the Director of Tjing Ling Manufactur-
P. E. Nikravesh, R. A. Wehage, and 0. K. Kwon, “Euler parameters ing Center at the same University since 1986. His current research interests
in computational kinematics and dynamics. Part 1,” ASME J . Mech., include elastodynamics, hydrodynamic stability, metal forming, and machin-
Transmissions, Automat. Des., vol. 107, pp. 358-365, Sept. 1985. ing.
-, “Euler parameters in computational kinematics and dynamics.
Part 2,” ASME J . Mech., Transmissions, Automat. Des., vol. 107,
pp. 366-369, Sept. 1985.
R. L. Pio, “Euler transformations,” IEEE Trans. Automat. Contr.,
vol. AC-11, pp. 707-715, Oct. 1966.
-, “Symbolic representation of coordinate transformation,” IEEE
Trans. Aerosp. Navigat. Electron., Vol. ANE-11, pp. 128-134, June
1964.
R. P. Paul, “Manipulator Cartesian path control,” IEEE Trans. Syst.,
Man, Cybern., vol. SMC-9, no. 11, pp. 702-711, 1979.
-, Robot Manipulators: Mathematics, Programming and Con-
trol. Cambridge, MA: MIT Press, 1981.
W. 0 . Schiehlen and E. J. Kreuzer, “Symbolic computerized
derivation of equations of motion,” in Proc. IUTAM Symp. (Munich,
F.R. Germany, Aug. 29-Sept. 3, 1977).
Y. Bar-Itzhack, “Symbolic representation of translatory motion in
multivarying-link mechanisms,” J. Guidance, vol. 6, no. 3, pp. 193- Chao-Kuang Chen received the B.S. degree from
199, May-June 1983. the National Cheng Kung University, Tainan, Tai-
wan, ROC, in 1957, the M.S. degree from Georgia
Institute of Technology, Atlanta, in 1970, and the
Pi-Ying Cheng was born in Hsin-Tzu, Taiwan, Ph.D. degree from the University of Liverpool,
ROC, on January 17, 1958. He received the B.S. Liverpool, UK, in 1986, all in mechanical engineer-
degree in 1980, the M.S. degree in 1984, and the ing.
Ph.D. degree in mechanical engineering in 1988, From 1960 to 1966 he was a Mechanical Engi-
all from the National Cheng Kung University, neer in Chinese Petroleum Corporatoon. From 1966
Tainan, Taiwan, ROC. to 1971, and from 1971 to 1975, he was a Lecturer
He is now an Associate Professor in the Depart- and an Associate Professor, respectively, of Na-
ment of Mechanical Engineering, National Chiao tional Cheng Kung University in the Department of Mechanical Engineering.
Tung University, Hsin Chu, Taiwan, ROC. His He has been a Professor at the same Department since 1975. His current
current research interests include robotics, control research interests include mechatronics, nonlinear and variable structure
mechanisms, design, and automation. control theory, heat and mass transfer, and metal machining.