Professional Documents
Culture Documents
• Examples
c Anton Shiriaev. 5EL158: Lecture 12 – p. 1/17
Lecture 12: Dynamics: Euler-Lagrange Equations
• Examples
c Anton Shiriaev. 5EL158: Lecture 12 – p. 1/17
Example: Two-Link Cartesian Manipulator
are
c Anton Shiriaev. 5EL158: Lecture 12 – p. 3/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
are π
T10 : θ = 0, d = q1 , a = 0, α=−
2
T21 : θ = 0, d = q2 , a = 0, α=0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 3/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
are π
T10 : θ = 0, d = q1 , a = 0, α=−
2
T21 : θ = 0, d = q2 , a = 0, α=0
and " #
h i q̇1
(1) (2) (1) (2)
vc1 = Jv1 Jv1 = Jv1 q̇1 + Jv1 q̇2
q̇2
" #
h i q̇1
(1) (2) (1) (2)
vc2 = Jv2 Jv2 = Jv2 q̇1 + Jv2 q̇2
q̇2
c Anton Shiriaev. 5EL158: Lecture 12 – p. 3/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
are π
T10 : θ = 0, d = q1 , a = 0, α=−
2
T21 : θ = 0, d = q2 , a = 0, α=0
and " #
h i q̇1
ω1 = Jω(1) Jω(2) = Jω(1) q̇ 1 + J (2)
ω1 q̇2
1 1
q̇2 1
" #
h i q̇1
ω2 = Jω(1) Jω(2) = Jω(1) q̇ 1 + J (2)
ω2 q̇2
2 2
q̇2 2
c Anton Shiriaev. 5EL158: Lecture 12 – p. 3/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
are π
T10 : θ = 0, d = q1 , a = 0, α=−
2
T21 : θ = 0, d = q2 , a = 0, α=0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 3/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
are π
T10 : θ = 0, d = q1 , a = 0, α=−
2
T21 : θ = 0, d = q2 , a = 0, α=0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 4/17
Forward Kinematics and Jacobian (Cont’d)
To sum up:
• Angular velocities ω1 and ω2 of both links are zeros
• Linear velocities of centers of mass are
h i
" # 0 0
(1) (2) q̇1
vc1 = Jv1 , Jv1 = 0 q̇1 + 0 q̇2
q̇2
1 0
h
"
i q̇
# 0 0
(1) (2) 1
vc2 = Jv2 , Jv2 = 0 q̇1 + 1 q̇2
q̇2
1 0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 4/17
Forward Kinematics and Jacobian (Cont’d)
To sum up:
• Angular velocities ω1 and ω2 of both links are zeros
• Linear velocities of centers of mass are
h i
" 0 # 0
(1) (2) q̇1
vc1 = Jv1 , Jv1 = 0 q̇1 + 0 q̇2
q̇2
1 0
h
"
i q̇
# 0 0
(1) (2) 1
vc2 = Jv2 , Jv2 = 0 q̇1 + 1 q̇2
q̇2
1 0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 4/17
Potential Energy (PE) for Two-Link Cartesian Manipulator
Observations
• PE is independent of the second link position;
• It depends on the height of center of mass of robot;
• P = g · (m1 + m2 ) · q1 + Const
c Anton Shiriaev. 5EL158: Lecture 12 – p. 5/17
Euler-Lagrange Equations for 2-Link Cartesian Manipulator
c Anton Shiriaev. 5EL158: Lecture 12 – p. 6/17
Euler-Lagrange Equations for 2-Link Cartesian Manipulator
c Anton Shiriaev. 5EL158: Lecture 12 – p. 6/17
Euler-Lagrange Equations for 2-Link Cartesian Manipulator
c Anton Shiriaev. 5EL158: Lecture 12 – p. 6/17
Example: Planar Elbow Manipulator
are
c Anton Shiriaev. 5EL158: Lecture 12 – p. 8/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
c Anton Shiriaev. 5EL158: Lecture 12 – p. 8/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
and " #
h i q̇1
(1) (2) (1) (2)
vc1 = Jv1 Jv1 = Jv1 q̇1 + Jv1 q̇2
q̇2
" #
h i q̇1
(1) (2) (1) (2)
vc2 = Jv2 Jv2 = Jv2 q̇1 + Jv2 q̇2
q̇2
c Anton Shiriaev. 5EL158: Lecture 12 – p. 8/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
and " #
h i q̇1
ω1 = Jω(1) Jω(2) = Jω(1) q̇ 1 + J (2)
ω1 q̇2
1 1
q̇2 1
" #
h i q̇1
ω2 = Jω(1) Jω(2) = Jω(1) q̇ 1 + J (2)
ω2 q̇2
2 2
q̇2 2
c Anton Shiriaev. 5EL158: Lecture 12 – p. 8/17
Forward Kinematics and Jacobian
DH parameters for computing homogeneous transformations
c Anton Shiriaev. 5EL158: Lecture 12 – p. 8/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0 ,
zi−1 for prismatic joint
Jv(i) = h i
z 0 × o0 − o0
i−1 c i−1 , for revolute joint
gives
0 lc1 cos q1
(1)
Jv1 = ~
z0 × (~
oc1 o0 ) = 0 × lc1 sin q1
−~
1 0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 9/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0 ,
zi−1 for prismatic joint
Jv(i) = h i
z 0 × o0 − o0
i−1 c i−1 , for revolute joint
gives
0 lc1 cos q1 −lc1 sin q1
(1)
Jv1 = ~
z0 × (~
oc1 o0 ) = 0 × lc1 sin q1 = lc1 cos q1
−~
1 0 0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 9/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0 ,
zi−1 for prismatic joint
Jv(i) = h i
z 0 × o0 − o0
i−1 c i−1 , for revolute joint
gives
0 lc1 cos q1 −lc1 sin q1
(1)
Jv1 = ~
z0 × (~
oc1 o0 ) = 0 × lc1 sin q1 = lc1 cos q1
−~
1 0 0
(1)
Jv2 = ~
z0 × (~ o0 )
oc2 − ~
0 l1 cos q1 lc2 cos(q1 + q2 )
= 0 × l1 sin q1 + lc2 sin(q1 + q2 )
1 0 0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 9/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0 ,
zi−1 for prismatic joint
Jv(i) = h i
z 0 × o0 − o0
i−1 c i−1 , for revolute joint
gives
0 lc1 cos q1 −lc1 sin q1
(1)
Jv1 = ~
z0 × (~ o0 ) = 0 × lc1 sin q1 = lc1 cos q1
oc1 − ~
1 0 0
−l1 sin q1 − lc2 sin(q1 + q2 )
(1)
Jv2 = ~
z0 × (~ o0 ) = l1 cos q1 + lc2 cos(q1 + q2 )
oc2 − ~
0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 9/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0 ,
zi−1 for prismatic joint
Jv(i) = h i
z 0 × o0 − o0
i−1 c i−1 , for revolute joint
gives
0 lc1 cos q1 −lc1 sin q1
(1)
Jv1 = ~
z0 × (~ o0 ) = 0 × lc1 sin q1 = lc1 cos q1
oc1 − ~
1 0 0
−l1 sin q1 − lc2 sin(q1 + q2 )
(1)
Jv2 = ~
z0 × (~ o0 ) = l1 cos q1 + lc2 cos(q1 + q2 )
oc2 − ~
0
0 lc2 cos(q1 + q2 )
(2)
Jv2 = ~
z1 × (~ o1 ) = 0 × lc2 sin(q1 + q2 )
oc2 − ~
1 0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 9/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0 ,
zi−1 for prismatic joint
Jv(i) = h i
z 0 × o0 − o0
i−1 c i−1 , for revolute joint
gives
0 lc1 cos q1 −lc1 sin q1
(1)
Jv1 = ~
z0 × (~ o0 ) = 0 × lc1 sin q1 = lc1 cos q1
oc1 − ~
1 0 0
−l1 sin q1 − lc2 sin(q1 + q2 )
(1)
Jv2 = ~
z0 × (~ o0 ) = l1 cos q1 + lc2 cos(q1 + q2 )
oc2 − ~
0
−lc2 sin(q1 + q2 )
(2)
Jv2 = ~
z1 × (~ o1 ) = lc2 cos(q1 + q2 )
oc2 − ~
0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 9/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0, for prismatic joint
Jω(i) =
z 0 , for revolute joint
i−1
gives
0
Jω(1)
1
= ~
z0 = 0
1
c Anton Shiriaev. 5EL158: Lecture 12 – p. 10/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0, for prismatic joint
Jω(i) =
z 0 , for revolute joint
i−1
gives
0
Jω(1)
1
= ~
z0 = 0
1
0
Jω(1)
2
= ~
z0 = 0
1
c Anton Shiriaev. 5EL158: Lecture 12 – p. 10/17
Forward Kinematics and Jacobian (Cont’d)
The formula
0, for prismatic joint
Jω(i) =
z 0 , for revolute joint
i−1
gives
0
Jω(1)
1
= ~
z0 = 0
1
0
Jω(1)
2
= ~
z0 = 0
1
0
Jω(2)
2
= ~
z1 = 0
1
c Anton Shiriaev. 5EL158: Lecture 12 – p. 10/17
Forward Kinematics and Jacobian (Cont’d)
To sum up, the kinetic energy K is
1
2
1
2
K = 2
m1 vc1 + ω1 I1 ω1 + 2 m2 vc2 + ω2 I2 ω2
T T
2 2
1
= 2
m1 Jv(1)
1
q̇ 1 + I 1 J (1)
ω1 q̇1 +
2 2
+ 12 m2 Jv(1) 2
q̇ 1 + J (2)
v2 q̇ 2 + I 2 J (1)
ω2 q̇ 1 + J (2)
ω2 q̇2
c Anton Shiriaev. 5EL158: Lecture 12 – p. 11/17
Forward Kinematics and Jacobian (Cont’d)
To sum up, the kinetic energy K is
1
2
1
2
K = 2
m1 vc1 + ω1 I1 ω1 + 2 m2 vc2 + ω2 I2 ω2
T T
2 2
1
= 2
m1 Jv(1)
1
q̇ 1 + I 1 J (1)
ω1 q̇1 +
2 2
+ 12 m2 Jv(1) 2
q̇ 1 + J (2)
v2 q̇ 2 + I 2 J (1)
ω2 q̇ 1 + J (2)
ω2 q̇2
T
q̇1 d11 d12 q̇1
1
= 2
q̇2 d12 d22 q̇2
with
d11 = m1 lc21 + m2 l12 + lc22 + 2l1 lc2 cos q2 + I1 + I2
2
d12 = m2 lc2 + l1 lc2 cos q2 + I2
d22 = m2 lc22 + I2
c Anton Shiriaev. 5EL158: Lecture 12 – p. 11/17
Potential Energy (PE) for Two-Link Elbow Manipulator
c Anton Shiriaev. 5EL158: Lecture 12 – p. 12/17
Lecture 12: Dynamics: Euler-Lagrange Equations
• Examples
c Anton Shiriaev. 5EL158: Lecture 12 – p. 13/17
Passivity Relation
Given a mechanical system
d ∂L ∂L
− =τ ⇔ D(q)q̈ + C(q, q̇)q̇ + g(q) = τ
dt ∂ q̇ ∂q
with
L = 12 q̇ T D(q)q̇ − P (q)
c Anton Shiriaev. 5EL158: Lecture 12 – p. 14/17
Passivity Relation
Given a mechanical system
d ∂L ∂L
− =τ ⇔ D(q)q̈ + C(q, q̇)q̇ + g(q) = τ
dt ∂ q̇ ∂q
with
L = 12 q̇ T D(q)q̇ − P (q)
H = 12 q̇ T D(q)q̇ + P (q)
c Anton Shiriaev. 5EL158: Lecture 12 – p. 14/17
Passivity Relation
Given a mechanical system
d ∂L ∂L
− =τ ⇔ D(q)q̈ + C(q, q̇)q̇ + g(q) = τ
dt ∂ q̇ ∂q
with
L = 12 q̇ T D(q)q̇ − P (q)
H = 12 q̇ T D(q)q̇ + P (q)
d
What will happen with dt
H?
c Anton Shiriaev. 5EL158: Lecture 12 – p. 14/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ D(q)q̈ +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ D(q)q̈ +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ [τ − C(q, q̇)q̇ − g(q)] +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ D(q)q̈ +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ [τ − C(q, q̇)q̇ − g(q)] +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 d
∂P
= q̇ T τ + q̇ T 2 dt
[D(q)] − C(q, q̇) q̇ + q̇ T − g(q)
∂q
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ D(q)q̈ +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ [τ − C(q, q̇)q̇ − g(q)] +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 d
∂P
= q̇ T τ + q̇ T 2 dt
[D(q)] − C(q, q̇) q̇ + q̇ T − g(q)
∂q
| {z }
=0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ D(q)q̈ +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ [τ − C(q, q̇)q̇ − g(q)] +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 d
= q̇ T τ + q̇ T 2 dt
[D(q)] − C(q, q̇) q̇
| {z }
=0
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
Differentiating H along a solution of the system, we have
d d
1
dt
H = dt 2
q̇ D(q)q̇ + P (q)
T
1 T 1 T 1 T d ∂P
= 2
q̈ D(q)q̇ + 2
q̇ D(q)q̈ + 2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ D(q)q̈ +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 T d ∂P
= q̇ [τ − C(q, q̇)q̇ − g(q)] +
T
2
q̇ dt [D(q)] q̇ + q̇ T
∂q
1 d
= q̇ T τ + q̇ T 2 dt
[D(q)] − C(q, q̇) q̇
| {z }
=0
= q̇ T τ
c Anton Shiriaev. 5EL158: Lecture 12 – p. 15/17
Passivity Relation (Cont’d)
The differential relation
d
dt
H = q̇ T τ
c Anton Shiriaev. 5EL158: Lecture 12 – p. 16/17
Passivity Relation (Cont’d)
The differential relation
d
dt
H = q̇ T τ
RT
⇒ 0 q̇(t)τ (t)dt ≥ −H(q(0), q̇(0))
c Anton Shiriaev. 5EL158: Lecture 12 – p. 16/17
Passivity Relation (Cont’d)
The differential relation
d
dt
H = q̇ T τ
RT
⇒ 0 q̇(t)τ (t)dt ≥ −H(q(0), q̇(0))
c Anton Shiriaev. 5EL158: Lecture 12 – p. 16/17
Skew Symmetry of Ḋ(q) − C(q, q̇)
To check that
d
N = dt
[D(q)] − 2C(q, q̇), N T = −N
c Anton Shiriaev. 5EL158: Lecture 12 – p. 17/17
Skew Symmetry of Ḋ(q) − C(q, q̇)
To check that
d
N = dt
[D(q)] − 2C(q, q̇), N T = −N
c Anton Shiriaev. 5EL158: Lecture 12 – p. 17/17
Skew Symmetry of Ḋ(q) − C(q, q̇)
To check that
d
N = dt
[D(q)] − 2C(q, q̇), N T = −N
c Anton Shiriaev. 5EL158: Lecture 12 – p. 17/17
Skew Symmetry of Ḋ(q) − C(q, q̇)
To check that
d
N = dt
[D(q)] − 2C(q, q̇), N T = −N
c Anton Shiriaev. 5EL158: Lecture 12 – p. 17/17
Skew Symmetry of Ḋ(q) − C(q, q̇)
To check that
d
N = dt
[D(q)] − 2C(q, q̇), N T = −N
⇒ nkj = −njk
c Anton Shiriaev. 5EL158: Lecture 12 – p. 17/17