0% found this document useful (0 votes)
47 views44 pages

Manipulator Dynamics: Amirkabir University of Technology Computer Engineering & Information Technology Department

This document discusses manipulator dynamics and summarizes key concepts related to modeling the motion of robotic manipulators. It covers equations of motion using forward and inverse dynamics approaches. Newton-Euler algorithms are described that make two passes over the links to compute velocities, accelerations, forces and moments. The concepts of linear and angular acceleration of links are defined. Mass distribution and moment of inertia are also summarized, including the parallel axis theorem and how to measure the moment of inertia of links.

Uploaded by

Wajdi Sadiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views44 pages

Manipulator Dynamics: Amirkabir University of Technology Computer Engineering & Information Technology Department

This document discusses manipulator dynamics and summarizes key concepts related to modeling the motion of robotic manipulators. It covers equations of motion using forward and inverse dynamics approaches. Newton-Euler algorithms are described that make two passes over the links to compute velocities, accelerations, forces and moments. The concepts of linear and angular acceleration of links are defined. Mass distribution and moment of inertia are also summarized, including the parallel axis theorem and how to measure the moment of inertia of links.

Uploaded by

Wajdi Sadiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 44

Manipulator Dynamics

Amirkabir University of Technology


Computer Engineering & Information Technology Department
Introduction
Robot arm dynamics deals with the
mathematical formulations of the
equations of robot arm motion.
They are useful as:
„ An insight into the structure of the robot
system.
„ A basis for model based control systems.
„ A basis for computer simulations.
Equations of Motion
The way in which the motion of the
manipulator arises from torques applied
by the actuators, or from external forces
applied to the manipulator.
Forward and Inverse Dynamics

Given a trajectory point, Θ, Θ & , and Θ


&& ,
find the required vectors of joint torques, τ.
: problem of controlling the manipulator

Given a torque vector, τ ,


calculate the resulting motion of the manipulator,
Θ, Θ& , and Θ&& .
: problem of simulating the manipulator
Two Approaches
Energy based: Lagrange-Euler.
Simple and symmetric.
Momentum/force approach:Newton-
Euler.
Efficient, derivation is simple but messy,
involves vector cross product. Allow real
time control.
Newton-Euler Algorithm
Newton-Euler method is described briefly
below. The goal is to provide a big picture
understanding of these methods without
getting lost in the details.
Newton-Euler Algorithm
Newton-Euler formulations makes two
passes over the links of manipulator

Velocities,
Accelerations

Forces, moments
Gravity
Newton-Euler Algorithm
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.
Newton-Euler Algorithm
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.
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 & dA A
ΩB (t + ∆t )− ΩB (t )
A
ΩB = ΩB = lim .
dt ∆t →0 ∆t
Linear Acceleration

A
VQ = BAR BVQ + A Ω B × BA R BQ. : origins are coincident.
d A B : re-write it as.
( B R Q)= BAR BVQ + A Ω B × BA R BQ.
dt

d A B d A B
A
VQ = ( B R VQ )+ Ω B × B R Q + Ω B × ( B R Q) : by differentiating.
& A & A B A

dt dt
= BAR BV&Q + A Ω B × BA R BVQ + A Ω
& × A R BQ + A Ω ×( AR BV + A Ω × A R BQ)
B B B B Q B B

= BAR BV&Q + 2 A Ω B × BA R BVQ + A Ω


& × A R BQ + A Ω ×( A Ω × A R BQ).
B B B B B
: the case in which the origins are not coincident

V&Q = AV&BORG + BAR BV&Q + 2 A Ω B ×BA R BVQ + A Ω


A & × A R BQ
B B

+ Ω B ×( Ω B × R Q).
A A A
B
B

VQ = BV&Q = 0.
B
: when B
Q is constant
A& A & A A A B A &
VQ = VBORG + Ω B ×( Ω B ×B R Q)+ Ω B ×B R Q.
A B

: the linear acceleration of the links of a manipulator with


rotational joints.
Angular Acceleration
B is rotation relative to A and C is rotating relative to
B
A
ΩC = ΩB + R ΩC .
A A
B
B

A & A &
ΩC = ΩB +
dt
(
d A B
B R ΩC .)
A & A B &
= ΩB + B R ΩC + ΩB ×B R ΩC .
A A B

: the angular acceleration of the links of a manipulator.


Mass Distribution

Inertia tensor- a generalization of the scalar moment of inertia


of an object
Moment of Inertia

The moment of inertia of a solid body with density ρ (r )


w.r.t. a given axis is defined by the volume integral

I ≡ ∫ ρ (r )r dv,
2

where r is the perpendicular distance from the axis of


rotation.

This can be broken into components as


Moment of Inertia
(
I jk = ∑ mi ri 2δ jk − xi , j xi ,k ) for a discrete
i distribution of mass

(
I jk = ∫ ρ (r ) r δ jk − x j xk dV
V
2
) for a continuous
distribution of mass

 y2 + z2 − xy − xz 
 
I = ∫ ρ ( x, y, z )  − xy z 2 + x2 − yz dxdydz.
V
 − xz − yz x 2 + y 2 

Moment of Inertia
Kronecker delta:
for
0 i≠ j
δ ij =  for
1 i = j.

The discrete version of the delta function


Moment of Inertia
The inertia tensor relative to frame {A}:
 I xx − I xy − I xz 
 
A
I = − I xy I yy − I yz ,
 − I xz − I yz I zz 
  Mass moments of inertia

(
I xx = ∫∫∫ y 2 + z 2 ρdv,
V
)
I yy = ∫∫∫ (x 2
+ z )ρdv,
2
V

I zz = ∫∫∫ (x2
+ y )ρdv,
2
Mass products of inertia
V

I xy = ∫∫∫ xyρdv, I xz = ∫∫∫ xzρdv, I yz = ∫∫∫ yzρdv.


V V V
Moment of Inertia
If we are free to choose the orientation of
the reference frame, it is possible to cause
the products of inertia to be zero.
Principal axes.
Principal moments of inertia.
Example 6.1

(
m 2 2
 3 l +h ) −
m
4
wl −
m
4
hw


 m 
A
I =  − wl (
m 2 2
w +h ) m
− hl 
{C}
 4 3 4 
 − m hw
 4
m
− hl
4 3
(
m 2
l + w2 )



(
m 2 2
12 h + l ) 0

0

 
C
I = 0
m 2 2
12
(
w +h ) 0 
 


0 0
m 2
12
(
l + w2 

)
Parallel Axis Theorem
Relates the inertia tensor in a frame with
origin at the center of mass to the inertia
tensor w.r.t. another reference frame.

A
( )
I zz =C I zz + m xc2 + yc2 ,
A
I xy =C I xy − mxc yc ,
M
A
[ ]
I =C I + m PCT PC I 3 − PC PCT .
Measuring the Moment of
Inertia of a Link
Most manipulators have links whose geometry and
composition are somewhat complex. A pragmatic
option is to measure the moment of inertia of each link
using an inertia pendulum.
If a body suspended by a rod is given a small twist
about the axis of suspension, it will oscillate with
angular harmonic motion, the period of which is given
by. I
T = 2π ,
k
where k is the torsion constant of the suspending rod
, i.e., the constant ratio between the restoring torque
and the angular displacement.
Newton’s Equation

F = mv&C
Force causing the acceleration
Euler’s Equation

N = Iω& + ω× Iω
C C

Momentum causing the rotation


Iterative Newton-Euler
Dynamic Formulation

Outward iterations to compute velocities


and accelerations
The force and torque acting on a link
Inward iterations to compute forces and
torques
The Force Balance for a Link

i +1
i
Fi = f i −
i
i +1
i
R f i +1
The Torque Balance for a Link

i
N i = i ni − i ni +1 + ( − i PCi )×i f i −( i Pi +1 − i PCi )×i f i +1
Force Balance
Using result of force and torque balance:
i +1 i +1
i
N i = i ni − i +1i R ni +1 − i PCi ×i Fi − i Pi +1×i +1i R f i +1

In iterative form:

i +1
i
f i = Fi + R
i
i +1
i
f i +1
i +1 i +1
i
ni = iN i + i +1iR ni +1 + iPCi ×i Fi + iPi +1×i +1i R f i +1
The Iterative Newton-Euler
Dynamics Algorithm
1st step:
Link velocities and accelerations are iteratively
computed from link 1 out to link n and the Newton-
Euler equations are applied to each link.

2nd step:
Forces and torques of iteration and joint actuator
torques are computed recursively from link n back to
link 1.
Outward iterations
i:0 →5
& i +1 ˆ
i +1
ωi+1 = R ωi + θi+1 Z i +1 ,
i +1
i
i

i +1
ω& =i+1R iω& + i+1R iω × θ&
i +1 i i i i i +1 Zˆi+1 + θ&&i+1 i+1Zˆi+1 ,
i +1

(
&vi +1 =i +i1R iω& i ×i Pi+1 + iωi ×(iωi ×i Pi +1 )+ iv&i ,
i +1
)
&vCi+1 =i+1ω& i+1×i +1PCi+1 + i +1ωi +1 ×
i +1
( ωi+1× PC )+ v&i +1 ,
i +1 i +1
i +1
i +1

i +1
Fi +1 = mi +1 i +1v&Ci+1 ,
i +1
N i +1 = I i +1 ω& i +1 + ωi +1× I i +1 i +1ωi +1.
Ci +1 i +1 i +1 Ci +1
Inward iterations

i : 6 →1
i +1
i
f i = R fi +1 + Fi ,
i +1
i i

i +1 i +1
i
ni = N i + R ni +1 + PCi × Fi + P × R f i +1 ,
i
i +1
i i i i
i +1 i +1
i

τ i =i niT i Zˆi .
Inclusion of Gravity Forces
The effect of gravity loading on the links can be
included by setting 0v& = G , where G is the
0
gravity vector.
The Structure of the Manipulator
Dynamic Equations
τ = M (Θ)Θ&& + V (Θ, Θ
& ) + G (Θ) : state space equation
M (Θ) : n × n : mass matrix
& ) : n ×1
V (Θ, Θ : centrifugal and Coriolis terms
G ( Θ) : n × 1 : gravity terms

τ = M (Θ)Θ && + B(Θ)[Θ&Θ & ]+ C (Θ)[Θ


& 2 ]G (Θ) : configuration space
B(Θ) : n × n(n − 1) / 2 : matrix of Coriolis coefficients
[ ]

Θ & : n(n − 1) / 2 ×1, [θ& θ&
1 2 θ& θ&
1 3
& &
L θ n−1θ n]T

C (Θ) : n × n : centrifugal coefficients


[Θ& ]: n ×1, [θ&
2
1
2
θ&22 L θ & 2 T
n ]
Coriolis Force
A fictitious force exerted on a body when it
moves in a rotating reference frame.

FCoriolis = 2m(v × Ω)
Lagrangian Formulation of
Manipulator Dynamics

An energy-based approach (N-E: a force


balance approach)
N-E and Lagrangian formulation will
give the same equations of motion.
Kinetic and Potential Energy of a
Manipulator

1 1 i T Ci i
ki = mi vCi vCi + ωi I i ωi ,
T

2 2
n
k = ∑ ki . Total kinetic energy of a manipulator
i =1

ui = − mi 0 g T 0 PCi + urefi ,
n
u = ∑ ui . Total potential energy of a manipulator
i =1
Lagrangian
Is the difference between the kinetic and
potential energy of a mechanical system

& ) = k (Θ, Θ
L (Θ, Θ & ) − u(Θ).
The equations of motion for the
manipulator

d ∂L ∂L
− =τ
&
dt ∂Θ ∂Θ

d ∂k ∂k ∂u
− + =τ
&
dt ∂Θ ∂Θ ∂Θ
n × 1 vector of actuator torque
Example 6.5

: variable

The center of mass of link 1 and link 2


Manipulator Dynamics in Cartesian Space

&& + V (Θ, Θ
τ = M (Θ)Θ & ) + G (Θ ) Joint space formulation
&& + V (Θ, Θ
F = M x (Θ) X & ) + G ( Θ) Cartesian space formulation
x x

J −Tτ = J −T M (Θ)Θ && + J −TV (Θ, Θ& ) + J −T G (Θ),


F = J −T M (Θ)Θ && + J −TV (Θ, Θ& ) + J −T G (Θ),

X& = JΘ& →X && = J&Θ & + JΘ


&&
Θ && − J −1 J&Θ
&& = J −1 X &

&& − J −T M (Θ) J −1 J&Θ


F = J −T M (Θ) J −1 X & + J −TV (Θ, Θ
& ) + J −T G (Θ).
Expressions for the terms in the
Cartesian dynamics:

M x (Θ) = J −T (Θ) M (Θ) J −T (Θ),


V (Θ, Θ
x (
& ) = J −T (Θ) V (Θ, Θ
& ) − M (Θ) J −1 (Θ) J& (Θ)Θ)
& ,
Gx (Θ) = J −T (Θ)G (Θ).
The Cartesian configuration space
torque equation:

( && + V (Θ, Θ
τ = J T (Θ) M x (Θ) X x
& ) + G (Θ )
x )
&& & &[ ] &
τ = J (Θ) M x (Θ) X + Bx (Θ) ΘΘ + Cx (Θ) Θ + G (Θ),
T 2
[ ]
Bx (Θ) : n × n(n − 1) / 2 :Coriolis coefficients

[ ]

Θ & : n(n − 1) / 2 ×1, [
θ& θ&
1 2 θ& θ&
1 3
& &
L θ n−1θ n ]
T

C x (Θ) : n × n :Centrifugal coefficients

[ ]
& 2 : n ×1,
Θ [& 2 & 2 & 2 T
θ1 θ 2 L θ n . ]
Dynamic Simulation:
(Euler Integration)

&& + V (Θ, Θ
τ = M (Θ) Θ & ) + G (Θ) + F (Θ, Θ
&)
Nonrigid body effects: friction
Θ [
&& = M −1 (Θ) τ − V (Θ, Θ
& ) − G (Θ) − F (Θ, Θ
&) ]
Θ(0) = Θ , Θ& =0 : Given initial conditions
0

& (t + ∆t ) = Θ
Θ & (t ) + Θ
&& (t )∆t ,

& 1 &&
Θ(t + ∆t ) = Θ(t ) + Θ(t )∆t + Θ(t )∆t 2 .
2
Next Course:

Trajectory Generation

Amirkabir University of Technology


Computer Engineering & Information Technology Department

You might also like