Professional Documents
Culture Documents
L ( q , q& ) = T ( q , q& ) − U ( q )
h ere
T ( q , q& ) = K in etic en erg y o f th e m a n ip u la to r
U ( q ) = P o ten tia l en erg y o f th e m a n ip u la to r
Generalized Equation of Motion
Universiti Kuala Lumpur Malaysia France Institute
of the Manipulator:
d⎛ ∂ ⎞ ∂
Fi = ⎜
dt ⎝ ∂q&i
( L ( q, q& ) ) ⎟ − ( L ( q, q& ) )1≤i≤n
⎠ ∂qi
i is a link of manipulator
Starting Generalized Equation
Solution
Universiti Kuala Lumpur Malaysia France Institute
vk as Linear Velocity
ωk as Angular Velocity
Rewriting the Kinetic Energy Term:
Universiti Kuala Lumpur Malaysia France Institute
n
T ( q, q& ) = ∑⎢
⎡
(( ) (
vk ) mK vk + (ωk ) DKωk
T T
) ⎤
⎥
K =1
⎢ 2 ⎥
⎢⎣ ⎥⎦
link
Focusing on DK: Looking at a(ny)
For this Link: DC is the Inertial
Tensor About it Center of Mass
Universiti Kuala Lumpur Malaysia France Institute
• In General:
⎡ ⎤
⎢∫ ( + ) ρ dV − ∫ xy ρ dV − ∫ xz ρ dV ⎥
2 2
y z
⎢V V V ⎥
DC = mK ⎢ − ∫ xy ρ dV ∫( + ) ρ dV − ∫ yz ρ dV ⎥
2 2
x z
⎢ ⎥
⎢ V V V
⎥
⎢ − ∫ xz ρ dV
⎢⎣
− ∫ yz ρ dV ∫V ( x 2
+ y 2
) ρ dV ⎥⎥
V V ⎦
Defining the terms:
Universiti Kuala Lumpur Malaysia France Institute
⎡ ⎤
⎢∫ ( + ) ρ dV
2 2
y z 0 0 ⎥
⎢V ⎥
DC = mK ⎢ ∫(x + z 2 ) ρ dV
0 2
0 ⎥
⎢ ⎥
⎢ V
⎥
⎢ ∫V ( + ) ρ dV ⎥⎥
2 2
0 0 x y
⎢⎣ ⎦
If the Link is a Rectangular Rod
(of uniform mass):
Universiti Kuala Lumpur Malaysia France Institute
⎡ b2 + c2 ⎤
⎢ 12 0 0 ⎥
⎢ ⎥
⎢ a +c
2 2
⎥
DC = mK ⎢ 0 0 ⎥
12
⎢ ⎥
⎢ 0 a +b ⎥
2 2
⎢ 0
⎣ 12 ⎥⎦
This is a reasonable approximation for many arm
links!
If the Link is a Thin Cylindrical
Shell of Radius r and length L:
Universiti Kuala Lumpur Malaysia France Institute
⎡r 2 0 0 ⎤
⎢ ⎥
⎢
DC = mK 0 r 2 + L2 0 ⎥
⎢ 2 12 ⎥
⎢ 2 2 ⎥
⎢⎣ 0 0 r + L
2 12 ⎥⎦
We must now Transform each
link’s Dc
Universiti Kuala Lumpur Malaysia France Institute
( (ω ) D ω )
k
T
K k
• DK = [R0KDC(R0K)T]
• Here R0K is the rotational sub-matrix defining the Link
frame K (at its end) in the base space – (note: seems
like the thinking of using DH ideas as we built a
jacobian previously !!)
Defining the Kinetic Energy due to
Rotation (contains DK)
Universiti Kuala Lumpur Malaysia France Institute
K .E . =
( (ω )
k
T
DK ωk )
2
(ω )
K T
∗ ⎡ R DC ( R
⎢⎣
K
0
K T
0 ) ⎤ω K
⎥⎦
K .E . =
2
Completing our models of Kinetic
Energy:
Universiti Kuala Lumpur Malaysia France Institute
• Remembering:
(
n
T ( q, q& ) = ∑ ⎢
⎡ ( ) (
vk ) mK vk + (ωk ) DKωk
T T
) ⎤
⎥
K =1
⎢ 2 ⎥
⎢⎣ ⎥⎦
Velocity terms are from Jacobians:
Universiti Kuala Lumpur Malaysia France Institute
⎡∂c1 ∂ck ⎤
L 0 ⎡ A (q)⎤
K
JK (q) = ⎢ ∂q1 ∂qK ⎥ ⎢ ⎥
⎢ ⎥ ⎣B (q)⎦
K
⎣ ρ1Z L ρK Z
0 K −1
0⎦
• AK is linear velocity effect
• BK is angular velocity effect
Velocity Contributions
• ρI is 1 for revolute, 0 for prismatic
of all links beyond K are
joint types
ignored – K+1, K+2 etc
Focusing on ck :
Universiti Kuala Lumpur Malaysia France Institute
(
n
T ( q, q& ) = ∑ ⎢
⎡
⎢ ( & )K
&(
A q ) mK A q + ( B q ) DK B q&
K T K
& K
) ⎤
⎥
2 ⎥
K =1
⎢⎣ ⎥⎦
Factoring out the Joint Velocity
Terms
Universiti Kuala Lumpur Malaysia France Institute
n
T ( q, q& ) = ∑⎢
⎡
⎢
&
qT
(( ) K
AK T
m AK
&
q + )
&
qT
BK T
(
( ) K ⎥
D BK
&
q ⎤
)
2 ⎥
K =1
⎢⎣ ⎥⎦
Simplifies to:
∑(( (A ) )(
mK A + ( B ) )) ∗ q&
n
K T K K T
DK BK
T ( q, q& ) = q&T ∗ K=1
2
Building an Equation for Potential
Energy:
Universiti Kuala Lumpur Malaysia France Institute
n Generalized
U (q ) = −∑ mK g T c k (q ) coordinate of centers
K =1 of mass (from earlier)
g is acceleration due to gravity (a vector)
Introducing a new term:
n This is a weighted
c (q ) ≡ ∑ mK c k (q ) sum of the centers of
K =1
mass of the links of
the manipulator
∴U (q ) = − g T c (q )
Finally, The Manipulator
Lagrangian Equation :
Universiti Kuala Lumpur Malaysia France Institute
∑( ( (A ) )( + (B ) )) ∗ q& + g c (q)
n
K T K K T
mK A DK BK
L ( q, q& ) = ( q&T ) ∗ K =1 ( ) T
2
Introducing a ‘Simplifying’ Term
D(q):
Universiti Kuala Lumpur Malaysia France Institute
n T
D ( q ) = ∑{⎡⎣ A ( q ) ⎤⎦ mK A ( q ) + ⎡⎣ B ( )⎦ K ( ) ( q )}
T
K K K
q ⎤ D q B K
K =1
• Frictional Effects →
δW2 = −b( q& ) δ q
T
• Tool Forces →
F =0
Tool
in general
Considering Friction (in greater
detail):
Universiti Kuala Lumpur Malaysia France Institute
F = Τ− b( q& )
Building a General L-E Dynamic
Model
Universiti Kuala Lumpur Malaysia France Institute
• But Remembering:
d⎛ ∂ ⎞ ∂
Fi = ⎜ ( L( q, q& ) ) ⎟ − ( L( q, q& ) )1≤i≤n
dt ⎝ ∂q&i ⎠ ∂qi
i is a link of manipulator
Starting with
this term
Partial of Lagrangian w.r.t. joint
velocity
Universiti Kuala Lumpur Malaysia France Institute
n
= ∑ Dij ( q ) q& j
j =1
Completing the 1st term of the L-E
Dynamic Model:
Universiti Kuala Lumpur Malaysia France Institute
d ( ( ))
⎛ ∂ L q, &
q ⎞ d ⎛ n ⎞
⎜⎜ ⎟⎟ = ⎜ ∑Dij ( q) q& j ⎟
dt ⎝ ∂q&i ⎠ dt ⎝ j=1 ⎠
Dynamic Model:
n n n ⎡ ∂Dij ( q ) ⎤
= ∑ Dij ( q )q&&j + ∑∑ ⎢ ⎥q&k q& j
j =1 k =1 j =1 ⎣ ∂qk ⎦
Looking at the 2nd Term:
Universiti Kuala Lumpur Malaysia France Institute
∂ ∂ ∂
L( q, q& ) = T ( q, q& ) − U ( q)
∂qi ∂qi ∂qi
n n
⎡ ∂Dkj (q ) ⎤
∑∑ ⎢ ∂q ⎥ q&k q& j
k =1 j =1 ⎣ ⎦
3 n
= i
+ ∑∑ g k m j Akij (q )
2 k =1 j =i
Notice: i (!) not 1
Before Summarizing the L-E
Dynamical Model we introduce:
Universiti Kuala Lumpur Malaysia France Institute
∂ ∂
C (q) =
i
Dij ( q ) − 1 Dkj ( q ) for 1 ≤ i, j , k ≤ n
∂qk 2 ∂q
kj
i
3 n
hi ( q ) = −∑∑ g k m j A ( q ) j
ki
k =1 j =i
The L-E (Torque) Dynamical
Model is:
Universiti Kuala Lumpur Malaysia France Institute
n n n
Τi = ∑ Dij ( q )q&&j + ∑∑ C ( q )q&k q& j + hi ( q ) + bi ( q&i )
i
kj
j =1 k =1 j =1
Inertial Gravitational
Coriolis & Forces Frictional
Forces Centrifugal Forces
Forces