Chapter 3 Dynamics of Robotics System
Chapter 3 Dynamics of Robotics System
6/11/2019 1
Contents
Dynamics
• Manipulator control
• Motion control
• Trajectory generation
6/11/2019 2
Dynamic modeling of a robot
• The dynamic model of a robotic manipulator
gives the relationship between applied
force/torque, acceleration, mass, inertia and
velocity of the links
• It gives the forces/torques required to carry out a
given work cycle
• Two types
– Forward dynamics and
– Inverse dynamics
6/11/2019 3
Dynamic model of a robot
• Forward dynamics
– Given forces/torques applied at the joints, find the
velocity and acceleration of the various links
– Analysis problem
• Inverse dynamics
– Given required acceleration and velocity of the
various links, find the required force/torque at the
joints
– Design problem
6/11/2019 4
Dynamic model
• Two important approaches
– Euler-Lagrangian approach(EL)
– Newton-Euler approach (NE)
• The EL method gives closed form solution which
is useful for model based controller design
• The NE method is iterative method which is
useful for computation
6/11/2019 5
Dynamic model- EL method
• Lagrangian is defined as the difference
between total kinetic energy and total
potential energy
• L=K-P
• Lagrangian form
d L L L L
i and Fi
t x xi
dt qi qi i
• Where L is the Lagrangian, i is applied torque,
Fi is applied force at joint i, qi is the joint angle
and xi position of the link
6/11/2019 6
Dynamic model-LE form
• The general form of robot dynamic model is
6/11/2019 8
Step 2: Identify Parameters
i1=m1l12 / 3
6/11/2019 9
Inertia
• If a force acts of a body, the body will
accelerate. The ratio of the applied force to the
resulting acceleration is the inertia (or mass) of
the body.
• If a torque acts on a body that can rotate freely
about some axis, the body will undergo an
angular acceleration. The ratio of the applied
torque to the resulting angular acceleration is
the rotational inertia of the body. It depends
not only on the mass of the body, but also on
how that mass is distributed with respect to
the axis.
6/11/2019 10
Step 3: Formulate Lagrangian
6/11/2019 11
Kinetic and Potential Energies
Vi mi gh
6/11/2019 12
Energy Sums (2-Link Arm)
T = sum of kinetic energies:
6/11/2019 13
Step 4: Equations of Motion
Non-conservative Forces
Inertia Conservative (damping, inputs)
(d2qi/dt2) Forces
6/11/2019 14
Equations of Motion – Structure
• M – Inertia Matrix
– Positive Definite
– Configuration dependent
– Non-linear terms: sin(θ), cos(θ)
• C – Coriolis forces
– Non-linear terms: sin(θ), cos(θ),
(dθ/dt)2, (dθ/dt)*θ
• Fg – Gravitational forces
– Non-linear terms: sin(θ), cos(θ)
Source: 6/11/2019
Peter R. Kraus, 2-link arm dynamics 15
Equations of Motion for 2-Link Arm,
Relative coordinates
M- Inertia matrix
Conservative forces
Coriolis forces, c(θi,dθi/dt)
(gravity)
Source: 6/11/2019
Peter R. Kraus, 2-link arm dynamics 16
Dynamic model- NE form
• NE form is based on Newton’s second law
• The sum of all forces acting on a link of the
manipulator leads to a set of equations
• Two steps
– Forward recursion – calculate velocities and
accelerations
– Backward pass- compute the forces and moments
required
6/11/2019 17
Forward computation
– First compute the angular velocity, angular acceleration, linear
velocity, linear acceleration of each link in terms of its
preceding link.
– These values can be computed in recursive manner, starting
from the first moving link and ending at the end-effector link.
– The initial conditions for the base link will make the initial
velocity and acceleration values to zero.
Backward computation
– Once the velocities and accelerations of the links are
found, the joint forces can be computed one link at a
time starting from the end-effector link and ending at
the base link.
6/11/2019 18
Acceleration of a Rigid Body
• Linear and angular accelerations:
dB VQ (t t ) VQ (t )
B B
B
VQ VQ lim ,
dt t 0 t
A d A
(t t ) A
B (t )
B A
B lim B
.
dt t 0 t
6/11/2019 19
Linear Acceleration
A
VQ BAR BVQ A B BA R BQ. : origins are coincident
d A B
( B R Q) BAR BVQ A B BA R BQ. : re-write it as
dt
d A B A d A B
A
VQ ( B R VQ ) B B R Q B ( B R Q)
A B A
: by differentiating
dt dt
BAR BVQ A B BA R BVQ A
A R BQ A ( AR BV A A R BQ)
B B B B Q B B
6/11/2019 20
Linear Acceleration
the case in which the origins are not coincident
A A A B A
VQ VBORG B R VQ 2 B B R VQ B B R Q
A A B A B
A B ( A B BAR BQ).
B
VQ VQ 0.
B : when B
Q is constant
A
VQ AVBORG A B ( A B BAR BQ) A
AR BQ.
B B
: the linear acceleration of the links of a manipulator with
rotational joints.
6/11/2019 21
Angular Acceleration
B is rotation relative to A and C is rotating relative to B
A
C A B BAR B C .
A A
C B
d A B
dt
B R C .
A AR B
A AR B .
B B C B B C
6/11/2019 22
Motion control
• Motion control involves
– Generation of required trajectory
– Applying of necessary torque/force to joints
• Trajectory planning
– Is generation of the time sequence of points with
location, velocity and acceleration
6/11/2019 23
Trajectory planning techniques
• Joint space techniques
– Trajectory is describes the time change of the joint
angles as a function of time
– This is directly applicable for control algorithm
• Cartesian space techniques
– The end effector position and orientation is
described as a function of time
– For control, it has to be converted to joint angles
using Inverse kinematics
6/11/2019 24
Steps in trajectory planning
1)Task description
identify the kind of motion required, specification
of required trajectory
• Pick and place operation – point to point motion (PTP)
• Continuous path (CP)– arc welding, painting, etc
2)Selecting and implementing a trajectory planning
technique
3) Computing the trajectory
6/11/2019 25
Trajectory planning for Point To Point
motion
• Choose the trajectory of Polynomial of degree n: if
you have n+1 constraints.
• If 4 constraints are given:(n=3)
– Initial position and velocity
– Final position and velocity
qt a 0 a1t a 2 t 2 a 3 t 3 (1)
6/11/2019 26
Point To Point motion
6/11/2019 27
Point to point motion
6/11/2019 28
Point to point motion
6/11/2019 29
Point to point motion
6/11/2019 30
Point to Point motion
• Consider that it is required to move a robot
angle from an initial angle value qs to a final
angle value of qg
• Constraints
– q(0)=qs
– q(tf)=qg
– V(0)=0
– V(tf)=0
6/11/2019 31
Point to point motion
• Applying the above constraints into the 3
degree polynomial formula of eq(1) and its
derivative
• The coefficients will be
a0 qs
a1 0
a2
3
2
qg qs
tf
a3
2
3
qs qg
tf
6/11/2019 32
Point to point motion
6/11/2019 33
Point to point motion
6/11/2019 34
Point to point motion
6/11/2019 35
Point to point motion
6/11/2019 36
Example
• The second joint of a SCARA robot is to be
moved from 30 degree to 105 degree in 5
seconds. Find a cubic polynomial to generate
the smooth trajectory for the joint
• Solution:
– Given qs=30 qg=105, vs=0, vg=0, t=5
– From the above formula
– a0=30, a1=0, a2=9 and a3=-1.2
6/11/2019 37
Task space trajectory generation
• Task space methods are convenient for CP
motion generation
• Easier to describe the tool motion
• But it needs inverse kinematics
6/11/2019 38