Title: Dynamics
1Dynamics
2Why are we studying inertial dynamics and control?
- Kinematic vs dynamic models
- What were really doing is modeling the
manipulator - Kinematic models
- Simple control schemes
- Good approximation for manipulators at low
velocities and accelerations when inertial
coupling between links is small - Not so good at higher velocities or accelerations
- Dynamic models
- More complex controllers
- More accurate
3Calculating Equations of Motion using the
Lagrangian
Kinetic energy
Potential energy
Generalized coordinate (joint angle)
Generalized force (torque)
4Example pendulum
Earlier, we derived the equation of motion of the
inverted pendulum by summing the torques
You can also do it using the Lagrangian
5Example pendulum
6Example pendulum
w/ torque and friction
Torque applied at motor
Coefficient of friction
If you want to think about a motor actuating the
joint
motor gear reduction
motor
7Moment of inertia
The moment of inertia of a single point mass
about a single axis is
Point mass
axis
8The Inertia Matrix
- If the link is not a point mass, then kinetic
energy is calculated by integrating the kinetic
energy of all points in the body. - The moment of inertia encodes the distribution of
mass for the purposes of calculating rotational
kinetic energy
Center of gravity
9The Inertia Matrix
Calculate the kinetic energy of a body
Center of gravity
Integrate kinetic energy of all points in the
body
Express each point w.r.t. CG
10Time out for skew symmetric matrices!
Cross product
Where
11The Inertia Matrix
Translational energy
Rotational energy
Inertia matrix
12The Inertia Matrix
- Diagonal elements moments of inertia
- Off diagonals products of inertia
- Notice that the inertia matrix is symmetric
13The Inertia Matrix
Rotational kinetic energy
This equation holds for an arbitrary coordinate
frame
- In the above equation, it is assumed that angular
velocity and the inertia matrix are expressed in
the same reference frame. - However, the inertia matrix is only constant when
expressed in the reference frame of the body - Therefore, we must convert the inertia matrix
expressed in the body frame to an inertia in the
base frame
14The Inertia Matrix
Link frame
Therefore
Where
15The Inertia Matrix Example 1
Calculate the moment of inertia of a cuboid about
its centroid
Since the object is symmetrical about the CG, all
cross products of inertia are zero
16Moment of Inertia Parallel Axis Theorem
- For a given axis, the moment of inertia about the
CG is the minimum that axis. - You can calculate the moment of inertia about any
parallel axis by adding a term
new axis
- Where m is the mass of the object and d is the
orthogonal distance from the CG - The moment of inertia about a parallel axis is
the CG inertia the moment of inertia of the
body taken to be a point mass at the CG.
CG
17The parallel axis theorem and the inertia matrix
How does each term of the inertia matrix change?
new axis
CG
18Parallel Axis Theorem Example 1
Calculate the moment of inertia about a point at
one end of the cuboid
From before
For the new axis, it is
All the products of inertia remain zero.
19Kinetic Energy General Case
Velocity of CG of link
Where
20Kinetic Energy General Case
Note we need to use a Jacobian that calculates
the twist (velocity) of the CG of the relevant
link.
Suppose were calculating
the rest of the manipulator is irrelevant to
Important this Jacobian describes the motion of
the CG of the ith link, NOT the motion of the end
of that link.
21Kinetic Energy Jacobian Example
Suppose were calculating
The first link has length
We measure the velocity of the CG of the second
link a distance of
The third link doesnt matter to
22Kinetic Energy General Case
- Manipulator inertia matrix
- Notice that the inertia matrix is symmetric
- How do you know?
23Potential Energy General Case
Gravity vector
24Equation of Motion General Case
chain rule
25Equation of Motion General Case
26Equation of Motion General Case
This is essentially the manipulation eqn of
motion
Were going to modify the coriolis/centrifugal
term
Christoffel symbols
27Equation of Motion General Case
We will use Christoffel symbols to write the
coriolis/centrifugal term
where
where
Note that
28Equation of Motion General Case
Moment of inertia
Gravity
Centrifugal, coriolis
29Equation of Motion General Case
Moment of inertia
Gravity
Centrifugal, coriolis
You can add friction and external forces to the
eqn
Viscous friction
External forces
30Example two-link manipulator, inertia matrix
31Example two-link manipulator, inertia matrix
32Example two-link manipulator, inertia matrix
33Example two-link manipulator, inertia matrix
34Example two-link manip, coriolis centifugal
35Example two-link manip, coriolis centifugal
36Example two-link manip, gravity term
37Example two-link manip
38Inverse Dynamics
- The equation of motion allows you to compute the
inverse dynamics - Given a joint trajectory,
, the inverse dynamics computes the
sequence of torques that generate the motion.
39Direct (forward) Dynamics
Given a sequence of joint torques, what
trajectory does the manipulator follow?
Given acceleration, you integrate joint
velocities and positions to generate the full
trajectory.