6 Dynamics
6 Dynamics
6 Dynamics
6.1 Introduction
6.2 Acceleration of a rigid body
6.3 Mass distribution
6.4 Newton’s equation, Euler’s equation
6.5 Iterative Newton-Euler dynamics equation
6.6 Iterative vs. closed form
6.7 An example of closed-form dynamic equations
6.8 The structure of a manipulator’s dynamic equations
6.9 Lagrangian formulation of manipulator dynamics
6.10 Inclusion of non-rigid body effect
6.11 Dynamic simulation
Introduction
• Our study of manipulators so far has focused on kinematic
considerations only.
• We have studied static positions, static forces, and velocities;
but we have never considered the forces required to cause
motion.
• In this chapter, we consider the equation of motion for a
manipulator – the way in which motion of the manipulator
arise from torques applied by the actuator or from external
forces applied to the manipulator.
• Dynamics of mechanisms is a field in which many books have
been written. Indeed, one can spend years studying the field.
• Obviously, we cannot cover the material in the completeness it
deserves.
• However, certain formulations of the particular, methods which
make use of the serial-chain nature of manipulators are natural
candidates for our study.
Forward Dynamics
Problem
Solution
(6.10)
(6.12)
Angular acceleration
• When {B} is rotation relative to {A} with
(6.13)
(6.14)
(6.15)
Angular Momentum
Linear & Angular Momentum
?
Inertia Tensor
Inertia Tensor
Inertia Tensor
• For any frame {A}, the inertia tensor is given by
{C}
Inertia Tensor
Inertia Tensor
Additional facts about inertial tensors
1. If two axes of the reference frame from a plane of symmetry
for the mass distribution of the body, the products of inertia
having as an index the coordinate that is normal to the pane
of symmetry will be zero.
2. Moments of inertia must always be positive. Products of inertia
may have either sign.
3. The sum of the three moments of inertia is invariant under
orientation change in the reference frame.
4. The eigenvalue of an inertia tensor are the principal moments
for the body. The associated eigenvectors are the principle
axes. Inertia tensor is always diagonal in the principle axes
coordinate system.
(6.31)
• Applying the chain rule, we find:
S
Propagation of Acceleration - Angular
Matrix form
(Revolute Joint)
Vector form
(6.32)
(Revolute Joint)
• If joint i+1 is prismatic, the angular terms are zero and the
above equation simplifies to:
• If joint i+1 is revolute joint, the linear terms are zero and the
above equation simplifies to:
(6.36)
• Frame {Ci} attached to each link with its origin located at the
center of mass of the link, and with the same orientation as
the link frame {i}
Iterative Newton-Euler Equations
Iterative Newton-Euler Equations
• The Newton and Euler equations are re-written for the
forces and moments at each link:
• Where {Ci} is a frame who has its origin at the link’s center
of mass and has the same orientation as the link frame {i}.
Iterative Newton-Euler Equations
• In addition to calculating the forces and torques arising from
link accelerations, we also need to account for how they
affect the neighbouring links as well as the end effectors
interactions with the environment
• Balancing the forces shown in the above figure, we can find the
total force and torque on each link.
Iterative Newton-Euler Equations
• Inertial force:
Example of closed-form dynamics
equations
•The outward iterations for link 1 are as follows: (i=0)
Example of closed-form dynamics
equations
Example of closed-form dynamics
equations
• The outward iterations for link 2 are as follows: (i=1)
Example of closed-form dynamics
equations
Example of closed-form dynamics
equations
• Inward iterations:
Where
• Largrangian formulation:
an “energy-based” approach
• Of course, for the same manipulator, both will give the same
equations of motion.
where
• Kinetic Energy
Quadratic Form of
Generalized Velocities
Kinetic Energy
0
J vi = 0i RJ vi 0
J viT 0 J vi =( 0i RJ vi )T 0i RJ vi = J viT 0i R T 0i RJ vi = J viT J vi
Kinetic Energy
Kinetic Energy
Mass matrix of the manipulator
• The kinetic energy of a manipulator is given by
Where
• or,
, d2,
• Kinetic energy
of link i
• Total kinetic
energy
Example 6.5 Lagrangian Formulation of
a PR Manipulator
• Potential energy of links
• For i=1
• For i=2
• This yields
Mass Matrix
The matrices and are given by
i
ω c = iJ ω θ&
⎡ I yy2 0⎤
1 T 1
(J I J )= J
1
ω2 c2 ω2
1 T 2
ω2 1
T2
R I 2
c2 1 R Jω 2 = ⎢
1
⎥
⎣ 0 0⎦
Finally,
Lagrangian Formulation –2R Robot
Example
Lagrangian Formulation –2R Robot
Example
1 ⎡0 0⎤
J T
I J J = ⎢
0 ⎥⎦
ω1 c1 ω1 ω 1
2 ⎣1
Lagrangian Formulation –2R Robot
Example
Geometric
Approach---
direct projection
1 T ⎡0 0⎤
J ω2 I c 2 J ω2 J ω2 = ⎢
2 ⎣1 1 ⎥⎦
⎡0⎤ ⎡ 0 ⎤ ⎡0 0⎤ &
⎢ ⎥ ⎢ ⎥ ⎡θ&1 ⎤ ⎢ ⎡θ ⎤
ω2 = 0 = 0 = J ω 2 q& = J ω 2 ⎢ ⎥ = 0 0⎥ ⎢ 1 ⎥
⎢ ⎥ ⎢ ⎥ & ⎢ ⎥ &
⎢⎣ω2 ⎥⎦ ⎢⎣θ&1 + θ&2 ⎥⎦ ⎣θ 2 ⎦ ⎢1 1⎥ ⎣θ 2 ⎦
⎣ ⎦
Lagrangian Formulation –2R Robot
Example
Lagrangian Formulation –2R Robot
Example
Lagrangian Formulation –
2R Robot Example
Inclusion of non-rigid body effects
• It is important to realize that the dynamic equations we have
derived do not encompass all the effects acting on a
manipulator. They include just those forces which arise from
rigid body mechanics. The most important source of forces
that are not included is friction.
Hence,
• There are other effects which are also neglected in this model.
• However, these effects are extremely difficult to model, such as
the bending effects of the non-rigid link, and are beyond the
scope of this course.
Dynamic simulation
• Simulate the motion of a manipulator requires
solving the dynamic equation for acceleration:
The selection of Δt :