J. Brinker et al. - 2015 - A Comparative Study of Inverse Dynamics based on C
J. Brinker et al. - 2015 - A Comparative Study of Inverse Dynamics based on C
Abstract— Based on Clavel’s Delta robot, one of the [14] both based on the virtual work principle or the
best-known and most widely spread parallel robots, this Hamilton’s Principle applied to the NUWAR Delta by
paper illustrates the three fundamental approaches for Miller [15], [16], [17]) and mixed approaches that
dynamic modelling (i.e. the Principle of Virtual Work, contain more than one of the aforementioned
the Newton-Euler Formulation, and the Lagrangian formalisms including numerical examples can be found
Formulation). In a direct comparison and using the in [8], [18], [19].
same notation, the differences between the three This paper illustrates the three main approaches for
modelling approaches are emphasized and demon- dynamic modelling in a direct comparison using the
strated clearly. Complete and simplified models are same notation. Thereby, the differences between the
introduced, validated and analyzed concerning their three approaches are emphasized and demonstrated
processing times as one of the key factors for real-time clearly. Sec. II shows a review of dynamic modelling
control. approaches of Delta robots. Then, the inverse kinematic
Keywords: Dynamic modelling, principle of virtual work, Newton- analysis is performed revealing the position, velocity
Euler formulation, Lagrangian formulation, Delta parallel robot
and acceleration of the centers of gravity for each body
of the system (Sec. III). In Sec. IV, the dynamic analysis
I. Introduction is performed using three complete non-simplified
In the 1980s, Clavel invented a parallel robot at the modelling approaches, i.e. the Principle of Virtual Work
École polytechnique fédérale de Lausanne (EPFL) (Sec. IV.A), the Newton-Euler Formulation (Sec. IV.B),
known as Delta robot with three translational degrees of and the Lagrangian Formulation (Sec. IV.C). Ad-
freedom (dof) dedicated to high-speed applications [1], ditionally, two simplified approaches are described (Sec.
[2], [3], [4]. Nowadays, the Delta robot is one of the IV.D). Sec. V gives an overview about the results.
best-known and most widely spread parallel robots.
II. Dynamic Modelling Approaches of Delta Robots
Besides various different designs of the original
architecture, current industrial versions employ ad- The Principle of Virtual Work implies that the work
ditional serial mechanisms in order to obtain rotational due to external forces corresponding to any set of virtual
dof. Bonev [5] gives a detailed overview about the displacement is zero. Applying this principle to analyze
historical, academic and industrial development of the the dynamics of a system does not involve unknown
Delta robot. Research in the general fields of kinematics, constraint forces and moments. It is therefore generally
dynamics, control, singular configurations, workspace, more efficient than the Newton-Euler and Lagrangian
calibration, and mechanical design of Delta robots has method. However, since the calculation of the actuation
been conducted extensively during the last decades. A torques involves the inverse of the transpose of the
decent overview about the main contributions can be Jacobian matrix, the method may become instable for
found in [6]. By solving the inverse dynamic problem singular configurations [8]. Analyses of the Delta robot
the required actuation torques for a given trajectory based on the virtual work principle can be found in
(with known position, velocity, and acceleration) and [20]*, [21]*, [22], where * denotes simplified approa-
thus, the required dimensions of the robot and its ches.
actuators can be determined. On the other hand, With the Newton-Euler Formulation the equations of
dynamic models are needed for control purposes. Hence, motion for each body of the robot are taken into account.
dynamic modelling of parallel robots has been subject Thus, also internal forces can be stated allowing to
of great research interest. The most common analytical introduce frictional effects into the dynamic model. This
approaches for dynamic modelling are [7], [8]: may also improve dimensional syntheses. Clavel [20]
however sees little advantage in these aspects, since the
- the Principle of Virtual Work, spherical joints within the Delta structure inherently
- the Newton-Euler Formulation, and ensure low friction and dimensioning of components is
- the Lagrangian Formulation rather restricted by limitations of production as well as
An overview about these approaches, as well as other stiffness requirements. Moreover, especially for parallel
(e.g. a recursive algorithm by Staicu et al. [9], [10], [11], robots, this model is computationally intensive due to
[12], [13] and a new approach by Wang and Gosselin the large number of equations [8], [23]. Newton-Euler
analyses of the Delta robot are presented in [7]*, [24]*,
1
[email protected] [25]*, [26]*, [27]* and for Delta configurations with
2
[email protected]
more than three dof in [28]. corresponding connecting rods, the proximal links need
An alternative energy-based approach is the Lagran- to withstand additional bending and torsional moments
gian Formulation. The Lagrangian formulation and thus, are usually of stronger dimension. The
describes the equation of motion of a mechanical system following kinematic relations are based on [4].
as a compact function of kinetic and potential energy.
A. Position Analysis
The formulation does not involve the unwanted reaction
The inverse kinematics leads to the relation between
forces and moments and thus, is more efficient than the
the given end-effector position p and the desired
Newton-Euler-Formalism [8]. Three generalized
angle of rotation of the three rotary actuators. The
coordinates are sufficient to describe the dynamics of a
position equation in the global or base coordinate
3-dof Delta robot. However, to avoid difficult
system 0 is given as:
expressions due to the complex geometrical model,
usually the Lagrangian equation of the first type with p l1i l2i ai bi (1)
redundant coordinates requiring a set of constraint
equations is employed [8], [16], [29], [30]. Lagrangian Figure 1 shows the geometric relations as well as the
based analyses of Delta or Delta-like robots are shown associated vectors and angles.
in [8]*, [27]*, [29], [30]*, [31], [32], [33]*, [34] and for
a 4-dof Delta robot with additional telescopic chain in
[35].
The three approaches are theoretically equivalent, but
the computational intensity may vary [19]. A general
comparison of the computational cost of the different
formulations is presented by Lin and Song [36].
In order to obtain real-time capable models for
control purposes, complicated complete models are
frequently simplified [21], [37]. In these models usually
the rotational inertias of the light-weight distal links are
neglected and their masses are distributed to the
corresponding joints, where 2/3 of the mass are usually
allocated to the tip of the proximal link [19], [21]. Tsai
and Stamper [8], [27] present a simplified Lagrangian
approach for the University of Maryland manipulator, a
Delta-based structure with revolute joints only. Here,
the masses of the connecting rods are distributed evenly
to the tip of the proximal joint and end-effector joint,
respectively (see also [30], [33]). Miller and Clavel [31]
illustrate a simplified and a complete Lagrangian based
approach comparing their accuracy and computational
efficiency.
Neglecting the distal link’s rotational inertia and
changing the direction of the resultant dynamic forces
may cause significant errors (i.e. differences in torque)
of up to 10% depending on the system parameters.
Obtaining similar processing times (about 1,6 times Figure 1: Geometric relations (XZ- and YZ-view)
longer), the authors conclude that the proposed The actuators’ and end-effector’s joints lay on a circle
complete model can also be utilized for real-time con- with radius a = | ai | and b = | bi |, respectively with
trol. Complete non-simplified approaches may also be their circle centers in the base and end-effector
useful for optimization purposes (e.g. analyses of joint coordinate system. The angular division, measured
forces and dimensional syntheses). around the Z-axis, is the same for base and
III. Kinematics end-effector.
The transformation into the local leg-coordinate
Due to the spatial four-link parallelogram (denoted as
systems (cf. Figure 2) is given by the inverse
distal link), the end-effector motion of a Delta robot has
transformation matrix:
three translational and generally no rotational dof [1],
[19]. The connecting rods within the parallelogram are cos i sin i
0
each attached to the proximal links and end-effector,
i
T0 sin i cos i
0 (2)
respectively by spherical joints. Thus, the rods only 0
need to transmit axial forces allowing for light-weight 0 1
materials and very low inertia. The actuators drive the The following analyses depend on the vectors
rotational motion of the proximal links enabling solely pointing along the links l1i and l2i. For their derivation,
one rotational dof. In contrast to the distal links or the a leg-specific auxiliary vector ri between the position
of the actuated joint ai and the corresponding joint bi the second auxiliary angle φ2i is given as
connecting the end-effector and the distal link is
defined [38]: i ri,x 2 i ri,y 2 i ri,z 2 l1i 2 l2i 2
2i arccos (7)
2 l1i l2i sin 3i
a b
i
ri ai p bi 0 iT0 p
i i i
where 0< φ2i <180°. With these angles, the actuation
0 angle can be derived as:
a b px cos( i ) p y sin( i ) (3) l1i i ri,z l2i s 3i c 2i i ri,z l2i s 3i s 2i i ri,x
sin 1i
px sin( i ) p y cos( i ) 2l1i l2i s 3i c 2i l1i 2 l2i 2 l2i 2 c2 3i
(8)
l1i i ri,x l2i s 3i s 2i i ri,z l2i s 3i c 2i i ri,x
p cos 1i
z 2l1i l2i s 3i c 2i l12 l2i 2 l2i 2 c2 3i
leading to:
l1i i ri,z l2i s 3i c 2i i ri,z l2i s 3i s 2i i ri,x
X2 1i atan (9)
2 l i r l s s i r l s c i r
1i i,x 2i 3i 2i i,z 2i 3i 2i i,x
Y
With these angles and Eq. (4) l1i and l2i can be
Y1 calculated.
Y2 a2
B. Velocity Analysis
3 O
Time differentiation of Eq. (1) leads to:
a1
X1 X p ω1i l1i ω2i l2i
a3 (10)
The angular velocity of the proximal link can be
calculated by:
T
sA2 l12 l22
-1
JP 0 0 l22 (16) Also, from Eq. (22) the acceleration of the COG of
-1 l T the proximal link can be extracted as:
0 0 sA3 l13 l23 23
l l
a1i ,COG ω1i 1i ω1i ω1i 1i (26)
Assume symmetric proximal links with a central 2 2
point of gravity, the velocity at the end of the link (i.e.
the connecting point to the parallelogram) is given The acceleration of the COG of the distal link can
by: then be derived as:
v1i ω1i l1i (17) 2 a1i ,COG ....
with a2i ,COG l l (27)
.... ω2i ω2i 2i ω2i 2i
2 2
ω1i 1i s Ai J Pi
T
p s Ai
Eqs. (22) and (24-27) hold within the local
l 2i T (18) link-coordinate system due to their invariance. The
p s Ai
s l l angular acceleration of the proximal link can be
Ai 1i 2i
formulated according to Eq. (11).
Analogously, the velocity of the center of gravity The equations need to be adjusted by changing the
(COG) of the proximal link is: distance vectors in case of unsymmetrical links and
non-central COG, respectively.
ω1i l1i
v1i ,COG (19) IV. Dynamics
2
The following sections present the derivation of
The angular velocity of the distal link (i.e. the
complete models for Delta robots using the main
parallelogram) can be calculated by rearranging
representatives of dynamic modelling approaches, i.e.
Eq. (10):
the Principle of Virtual Work (A), the Newton-Euler
l2i p ω1i l1i Formulation (B), and the Lagrangian Formulation (C).
ω2i (20)
l2 2
A. Principle of Virtual Work
The velocity of the COG of the distal link is then First, six-dimensional resultants of the applied and
given by: inertia wrenches acting on the COG of each body are
determined (A1). Second, the Link Jacobian Matrices
ω2i l2i [8], [38], [39] are derived relating the virtual
v2i ,COG p (21)
2 displacements of the links to the one of the
end-effector (A2). Finally, the equations of motion
C. Acceleration Analysis
can be obtained applying the principle of virtual work
Differentiation of Eq. (10) with respect to time leads
(A3). The following model is based on the complete
to the acceleration of the end-effector:
model in [22] which in turn is based on Tsai’s virtual
p ω1i ω1i l1i ω1i l1i work based dynamic analyses of a Stewart-Gough
(22) manipulator [39]. Similarly, Nefzi [38] applied the
ω2i ω2i l 2i ω2i l 2i virtual work approach to a 5-dof parallel robot.
The angular acceleration of the proximal link can be A1. Forces and Moments
calculated in the same manner as Eq. (11): First, the forces and moments (i.e. a six-dimensional
wrench) due to the gravity g and inertial effects need
ω1i 1i s Ai (23) to be considered for the links and end-effector. Other
Dot-multiplying Eq. (22) with the vector along the external forces and moments as well as frictional
distal link l2i eliminates the influence of the distal link forces are neglected here. Thus, the forces fP and
acceleration and gives the acceleration of the moments nP acting on the COG of the end-effector
actuated proximal link: can be summarized as:
Rearranging Eq. (22) finally gives the angular with mp as end-effector’s mass. Similarly, the
acceleration of the distal link: resultants for the proximal and distal links in the local
coordinate system can be derived as:
i f1i m1 iT0 g i a1i ,COG
i
ω2i
iT0 0 l2i iT0 J 1i
0
p J 2i,ω 0 p
i
Q1i (29) (37)
i n i I i ω i ω i I i ω
l2i 2
1i 1i 1i 1i 1i 1i
and Taking advantage of the invariance of the cross-pro-
duct, for the velocity of the COG of the distal link it
i
i f 2i
Q2i
m2 iT0 g i a2i ,COG
follows:
(30)
i n i I i ω i ω i I i ω
ω2i i l 2i
i
2i 2i 2i 2i 2i 2i
i
v 2i ,COG i p
2
with m1i and m2i for the masses as well as I1i and I2i i 1
T0 iT 0 l 2i ...
2 0
for the inertia matrices of the proximal and one of the
2 2i
l
0 p (38)
two connecting rods of the parallelogram of the distal
links, respectively.
... iT0 0 l 2i iT0 J 1i
A2. Link Jacobian Matrices J 2i,COG 0 p
The relationship between the end-effector’s velocity,
defined in the global coordinate system, and the A3. Equations of Motion
proximal link’s absolute velocity, within the local From the resultants of the applied and inertial forces
link-coordinate system, can be obtained by the and moments the principle of virtual work can be
derivation of so-called link Jacobian matrices [38], stated as:
[39]:
φ1T τ χ TP QP
l1i T
2 sin 1i J Pi
3 3 (39)
i χ1i
T i
Q1i i χ T2i 2 iQ2i 0
0
i
v1i ,COG 0 p J 1i,COG p
0
(31) i 1 i 1
l with τ as the vector of actuation torques.
1i cos 1i J Pi
T
2 Relating the virtual displacements of the links to the
virtual displacement of the end-effector and taking
for their COG and into account the relationships in Eqs. (15), (31), and
(38), it follows [8], [39]:
l1i sin 1i J Pi
T
0
i
v1i 0 p J 1i p
0
(32) φ1 J P χ P (40)
T χ1i J1i*
i
χP
l1i cos 1i J Pi (41)
i χ 2i J 2i* χP (42)
for their ends, respectively. For the angular velocity it
follows analogously: where
0 J 1i,COG
J 1i* and (43)
i
ω1i 1i s Ai i
J TPi 0 p J 1i,ω 0 p (33) J 1i,ω
0
J 2i,COG
*
J 2i (44)
Formulating Eq. (10) for the local link-coordinate J 2i,ω
system gives:
Thus, Eq. (39) gives:
i
T0 p J1i p ω2i l2i
0 0 i i
(34)
J
T
P χP τ χ TP QP
i
Cross-multiplying both sides with l2i leads to:
3
J 1i* χ P
T
i
l2i T
i
0
J 1i p l2i ω2i
0 2 i
(35) i 1
iQ1i (45)
3
J 2i
T
and after rearranging: *
χP 2 iQ2i 0
T
i 1
i
l2i i
0 J 1i 0 p
i
ω2i (36) and hence after factorizing, cancelling δχP, and
l2i 2
rearranging:
Figure 3: Distal link: forces and moments and used to calculate the inertia matrix for the
proximal link analogous to Eq. (49). Here, the motor
The force component acting perpendicularly to the
inertia needs to be added to the Y-component.
direction of the distal link as well as between the
distal link and the end-effector can be computed by
B2. Forces and Moments of the End-Effector
formulating the equilibrium of moments for the distal
The force components acting in the direction of the
links, related to the spherical joints between the
distal link are the unknowns in respect to the
proximal and distal link:
end-effector-equilibrium. Thus, six unknown varia-
l2i l bles need to be identified for the equilibria of forces
m2i a2i 2i m2i g ... l2i and moments for the end-effector. The tangential
FT,i 2 2 l 2 (47)
2i forces FT,i from Eq. (47) are external forces acting on
... I 2i ω2i ω2i 2i
I ω2i
the isolated end-effector (cf. Figure 4).
This component is solely dependent on the The tangential force vectors are identical for each
momentary position and state of motion of the distal pair of connecting rods of the same distal link,
link. whereas the forces Fi acting along the rods may be
The locally defined inertia matrix needs to be trans- different. The end-effector-equilibrium is:
formed into the base coordinate system. The moment l
of inertia in direction of the distal link (i.e. the l2i Fi mP g p FT,i 0
X-direction of the moving coordinate system) is i 2i i
(51)
presumed to be known. For a symmetrical link, the
bi l2i Fi rP,S mP g p bi FT,i 0
l
components in Y- and Z-direction are identical. In
i 2i i
F6
a given state of motion, represented by the Y-com-
F5
ponent of:
l 32 l 32 i
MO,i Q1iT MO,i (57)
F1 FT ,3
FT ,3 F4 M O ,i
b6 b5
l 21
mP p l 22
b4 FT ,2
b1
FT ,1 rP ,S O'
A ctuator m 1i g c i,2
mP g F3
F2 b3 c i,1 I 1i ω 1i
b2
ω 1i I 1i ω 1i
l 21 l 22
F O ,1 m 1i a 1i
E nd-effector F O ,2
FT ,1 FT ,2
Proxim al link
Figure 4: End-effector: forces and moments Figure 5: Proximal link: forces and moments
FO,i
l
FT,i 2i Fi m2i a2i g (55)
1
2
K P mP px2 p 2y pz2 (59)
l2i
1 1 l2
K1i I1i 1i2 I Motor ,i m1i 1i 1i2 (60)
Finally, the moment acting on the actuator joint of the 2 2 3
proximal link can be formulated as (cf. Figure 5):
1
K2i m2i v2iT ,COG v2i ,COG ω2iT I 2i ω2i (61)
MO,i ci,k FO,k
l1i
m1i a1i g ... 2
k 2 (56) The kinetic energy of the distal links can alternatively
... I 1i ω1i ω1i I 1i ω1i be expressed as [31]:
1 1
p v
T
where ci denote the distance vectors between the K2i m2i i p i v1i i i
p v1i
i T i
(62)
1i
rotation points of the proximal links and the con- 2 3
necting points (i.e. the spherical joints) of the rods.
For a better understanding, here, m2i denotes the mass
Their simple derivation is not shown here. Trans-
of the complete distal link (i.e. both connecting rods).
formation of the moments into the local leg-coordi-
The total potential energy is:
nate system finally results in the actuation torques for
3 L
U U P U1i U 2i (63) 0 (74)
i 1 px
L
with UP as the potential energy of the end-effector 0 (75)
and U1i and U2i as the kinetic energies of the proximal p y
and distal links, respectively. These are given by: L 1
mP m21 m22 m23 g and (76)
U P mP g pz (64) pz 2
1 cos( i ) cos 1i 1i px
U1i m1i g l1 sin 1i (65)
2 sin( i ) cos 1i 1i p y
1
2
U 2i m2i g pz l1 sin 1i (66) sin 1i 1i pz
d L m2i l1i
cos( i ) sin 1i px (77)
The Lagrangian function can then be derived as: dt 1i 6
sin( i ) sin 1i p y
L K U (67)
cos 1i pz
C2. Constraint Equations
2 1i l1i I1i 1i
The vector along the distal link l2i within the global
coordinate system is described as: cos( i ) cos 1i 1i px
px a b l1i cos 1i cos( i ) L m2i l1i
sin( i ) cos 1i 1i p y
1i 6
l 2i p y a b l1i cos 1i sin( i )
(78)
(68) sin 1i 1i pz
p z l1i sin 1i
3 g cos 1i m1i m2i
Thus, the constraint equations are [27], [32]: for i=1, 2, 3. Differentiation in respect to the six
generalized coordinates of the constraint equations
Γi l 2 i
2
l2i2 0 (69) gives:
px a b l1i cos 1i cos( i )
2
Γi
2 px a b l1i cos 1i cos(i ) (79)
(69) px
p a b l cos sin( )
2
y 1i 1i i Γi
2 p y a b l1i cos 1i sin(i ) (80)
p l sin l p y
2 2
z 1i 1i 2i
Γi
C3. Partial Derivatives
pz
2 pz l1i sin 1i for i=1, 2, 3 (81)
Partial derivation after the derivatives of the six
Γ1
generalized coordinates, i.e.
11
2 l11 a b px cos(i ) p y sin(i ) sin 11 pz cos 11
(82)
Q pxpz 11 12 13
py Γ2
(70)
2 l12 a b px cos(i ) py sin(i ) sin 12 pz cos 12 (83)
where px, py, and pz are redundant coordinates, and 12
subsequent time differentiation lead to: Γ3
13
2 l13 a b px cos(i ) p y sin(i ) sin 13 pz cos 13
(84)
d L 1
mP m21 m22 m23 px
Γ1 Γ1 Γ2 Γ2 Γ3 Γ3
px
dt 3 0 (85)
(71) 12 13 11 13 11 12
3
1
m2i cos(i ) l1i cos 1i 1i2 sin 1i 1i C4. Actuation Torques
i 1 6
Finally, the Lagrange multipliers λi can be obtained
d L 1 for a given state of motion by solving the following
mP m21 m22 m23 p y
dt p y 3 system of equations:
(72)
d L L 3 Γ
3
i i
1
m2i sin(i ) l1i cos 1i 1i2 sin 1i 1i (86)
i 1 6 px px i 1 px
dt
d L 1 d L L 3 Γ
mP m21 m22 m23 pz i i (87)
dt pz 3
dt p y p y i 1 p y
(73)
3
1
m2i l1i sin 1i 1i2 cos 1i 1i
i 1 6
Table 2: Processing times
d L L 3 Γ
i i (88)
dt pz pz i 1 pz
Model Time
Principle of Virtual Work 0,73 s
With these multipliers the desired actuation torques τi Newton-Euler Formulation 1,00 s
can be calculated for i=1, 2, 3 as:
Lagrangian Formulation 0,37 s
d L L Γ
i i i (89)
dt 1i 1i 1i
D. Simplified approaches
The introduced models can be simplified by neglect-
ting the rotational inertia of the distal links. Therefore,
the masses of the connecting rods are distributed to
the corresponding connecting joints with the proxi-
mal link (1) and the end-effector (2) by ν1A =2/3 and
ν2A =1/3 [21] or ν1B =1/2 and ν2B =1/2 [27]. Hence,
Eq. (61) needs to be adapted to:
1
K2i 1 m2i l1i2 1i2 2 m2i px2 p 2y pz2
2
(90)
V. Analyses