Professional Documents
Culture Documents
Introduction To ROBOTICS: Kinematics of Robot Manipulator
Introduction To ROBOTICS: Kinematics of Robot Manipulator
Outline
Review
Robot Manipulators
Robot Configuration
Robot Specification
Number of Axes, DOF
Precision, Repeatability
Kinematics
Preliminary
World frame, joint frame, end-effector frame
Rotation Matrix, composite rotation matrix
Homogeneous Matrix
Direct kinematics
Denavit-Hartenberg Representation
Examples
Inverse kinematics
Review
What is a robot?
By general agreement a robot is:
A programmable machine that imitates the actions or
appearance of an intelligent creatureusually a human.
Manipulators
Robot arms, industrial robot
Rigid bodies (links) connected
by joints
Joints: revolute or prismatic
Drive: electric or hydraulic
End-effector (tool) mounted
on a flange or plate secured
to the wrist joint of robot
Manipulators
Robot Configuration:
Cartesian: PPP
Cylindrical: RPP
Spherical: RRP
Hand coordinate:
Articulated: RRR
SCARA: RRP
(Selective Compliance
Assembly Robot Arm)
Manipulators
Motion Control Methods
Point to point control
a sequence of discrete points
spot welding, pick-and-place, loading & unloading
Manipulators
Robot Specifications
Number of Axes
Major axes, (1-3) => Position the wrist
Minor axes, (4-6) => Orient the tool
Redundant, (7-n) => reaching around
obstacles, avoiding undesirable
configuration
What is Kinematics
Forward kinematics
z
Y ( x, y, z, O, A, T )
What is Kinematics
Inverse kinematics
End effector position
and orientation
( x, y, z, O, A, T )
q (q1 , q2 , q3 , q4 , q5 , q6 ,qn )
Example 1
Forward kinematics
x0 l cos
y0
y1
x1
y0 l sin
Inverse kinematics
cos ( x0 / l )
1
x0
10
Preliminary
Robot Reference Frames
World frame
Joint frame
Tool frame
z
z
x
y
11
Preliminary
Coordinate Transformation
Reference coordinate frame
OXYZ
Body-attached frame Ouvw
Pxyz [ p x , p y , p z ]
Pxyz px i x p y jy pz k z
T
Puvw pu i u pv jv pw k w
Two frames coincide ==>
w
v
O, O
pu p x pv p y pw p z
12
Preliminary
Properties: Dot Product
3
Let x and y be arbitrary vectors in R and be
the angle from x to y , then
x y x y cos
i j 0
i k 0
k j 0
Unit vectors
| i | 1
| j | 1
| k | 1
13
Preliminary
Coordinate Transformation
z
Rotation only
Pxyz px i x p y jy pz k z
Puvw pu i u pv jv pw k w
P
y
Pxyz RPuvw
14
Preliminary
Basic Rotation
p x , p y, and pz represent the projections of P
onto OX, OY, OZ axes, respectively
Since P pu i u pv jv pw k w
px i x P i x i u pu i x jv pv i x k w pw
p y jy P jy i u pu jy jv pv jy k w pw
pz k z P k z i u pu k z jv pv k z k w pw
The City College of New York
15
Preliminary
Basic Rotation Matrix
px i x i u
p j i
y y u
pz k z i u
i x jv
jy jv
k z jv
i x k w pu
jy k w pv
k z k w pw
Rot ( x, ) 0 C
0 S
S
C
P v
x
The City College of New York
16
Preliminary
Is it True?
Rotation about x axis with
0
p x 1
p 0 cos
y
p z 0 sin
0 pu
sin pv
cos pw
P v
p x pu
p y pv cos pw sin
p z pv sin pw cos
17
1 0
Rot ( x, ) 0 C
0 S
C
Rot ( y, ) 0
S
Pxyz RPuvw
C
Rot ( z, ) S
0
0
S
C
0 S
1 0
0 C
S
C
0
0
0
1
18
Preliminary
Basic Rotation Matrix
i x i u i x jv i x k w
Pxyz RPuvw
R jy i u jy jv jy k w
k z i u k z jv k z k w
Obtain the coordinate of Puvw from the coordinate
Dot products are commutative!
of Pxyz
pu i u i x
p j i
v v x
pw k w i x
i u jy
jv jy
k w jy
i u k z px
jv k z p y
k w k z pz
QR RT R R 1R I 3
Puvw QPxyz
Q R 1 RT
19
Example 2
A point auvw (4,3,2) is attached to a rotating frame,
the frame rotates 60 degree about the OZ axis of
the reference frame. Find the coordinates of the
point relative to the reference frame after the
rotation.
a xyz Rot ( z,60)auvw
0.5 0.866 0 4 0.598
0.866
0.5
0 3 4.964
0
0
1 2 2
20
Example 3
A point axyz (4,3,2) is the coordinate w.r.t. the
reference coordinate system, find the
corresponding point auvw w.r.t. the rotated
OU-V-W coordinate system if it has been
rotated 60 degree about OZ axis.
auvw Rot ( z ,60)T a xyz
0.866 0 4 4.598
0.5
0.866 0.5 0 3 1.964
0
0
1 2 2
The City College of New York
21
22
Example 4
Find the rotation matrix for the following
operations:
Rotation about OY axis
Rotation about OW axis
Rotation about OU axis
Answer...
S C
0 S
C 0
S
C
0
SS CSC
CC
SSC CS
0 1 0
0 0 C
1 0 S
0
S
C
CSS SC
CS
CC SSS
23
Coordinate Transformations
position vector of P
in {B} is transformed
to position vector of P
in {A}
description of {B} as
seen from an observer
in {A}
24
Coordinate Transformations
Two Special Cases
r RB r r
A P
A o'
1. Translation only
Axes of {B} and {A} are
parallel
A
RB 1
2. Rotation only
Origins of {B} and {A}
are coincident
r 0
A o'
25
Homogeneous Representation
Coordinate transformation from {B} to {A}
r ARB B r P Ar o '
A P
A r P A RB
1 013
B P
r
r
1 1
A o'
RB
TB
013
A
r R33
1 0
A o'
P31
Scaling
The City College of New York
Rotation
matrix
Position
vector
26
Homogeneous Transformation
Special cases
1. Translation
I 33
A
TB
013
A o'
2. Rotation
A
RB
A
TB
013
031
27
Example 5
Translation along Z-axis with h:
1
0
Trans( z, h)
0
0
1
0
0
0
0
1
0
x 1
y 0
z 0
1 0
0
0
h
0
1
0
0
0
0
1
0
0 pu pu
0 pv pv
pw h
h pw
1 1 1
P
y
w
v
v
O, O
O, O
x
28
Example 6
Rotation about the X-axis by
1 0
0 C
Rot ( x, )
0 S
0 0
0
0
0
0
S
C
0
x 1 0
y 0 C
z 0 S
1 0 0
0
S
C
0
0 pu
0 pv
0 p w
1 1
P v
u
x
y
29
Homogeneous Transformation
Composite Homogeneous Transformation
Matrix
Rules:
Transformation (rotation/translation) w.r.t
(X,Y,Z) (OLD FRAME), using premultiplication
Transformation (rotation/translation) w.r.t
(U,V,W) (NEW FRAME), using postmultiplication
The City College of New York
30
Example 7
Find the homogeneous transformation matrix
(T) for the following operations:
Rotation about OX axis
Translatio n of a along OX axis
Translatio n of d along OZ axis
Rotation of about OZ axis
T Tz , Tz ,d Tx,aTx, I 44
Answer :
C
S
S
C
0
0
0
0
1
0
0 1
0 0
0 0
1 0
0
1
0
0
0
0
1
0
0 1
0 0
d 0
1 0
0
1
0
0
0
0
1
0
a 1 0
0 0 C
0 0 S
1 0 0
0
S
C
0
0
0
0
1
31
Homogeneous Representation
A frame in space (Geometric
Interpretation)
R33
F
0
P31
nx
n
F y
nz
ax
ay
az
0
sx
sy
sz
0
P( p x , p y , p z )
z
a (z)
s(y)
px
p y
pz
n (X)
y
32
Homogeneous Transformation
Translation
a
s
1
0
Fnew
0
0
nx
n
y
nz
0 d x nx s x
0 d y n y s y
1 d z nz s z
0 1 0 0
sx ax px d x
s y a y p y d y
sz az pz d z
0 0
1
0
1
0
0
ax
ay
az
0
px
p y
pz
a
s
n
y
33
Homogeneous Transformation
Composite Homogeneous Transformation Matrix
z1
z2
y2
z0
y1
A1
y0
A2
x1
x0
?
i 1
x2
A2 0A1 1 A2
Ai
34
Example 8
For the figure shown below, find the 4x4 homogeneous transformation
matrices i 1 Ai and 0 Ai for i=1, 2, 3, 4, 5
0
1 0 0
n
s
a
p
x
x
x
x
c
0 0 1 e c
n s a
py 0 A
y
y
y
1
z3
F
0 1 0 a d
b
nz s z a z p z
y3 x
0
0
0
1
d
z5
0 0 0 1
x5
b
0 1 0
y5
0 0 1 a d
z4
e
1
A2
1 0 0
0
y4
z2
x4
x2
0
0
0
1
z1
z0
x0
x1
y2
y1
y0
0
1
0
A2
0
1
0
0
0
0 b
0 e c
1
0
0
1
35
Orientation Representation
R33
F
0
P31
36
Orientation Representation
Euler Angles Representation ( , , )
Many different types
Description of Euler angle representations
Euler Angle I
Sequence
of
about OZ axis
about OU axis
Euler Angle II
about OZ axis
about OV axis
about OW axis
Roll-Pitch-Yaw
about OX axis
about OY axis
about OZ axis
37
v'"
v"
v'
y
u'"
u' =u"
x
The City College of New York
38
Orientation Representation
Euler Angle I
cos sin
Rz sin
cos
Rw''
cos
sin
0
0
sin
cos
0
0
0
1
0 , Ru ' 0 cos
0 sin
1
0
1
sin ,
cos
39
Euler Angle I
Resultant eulerian rotation matrix:
R Rz Ru ' Rw''
cos cos
sin cos
cos sin cos
sin sin
cos sin
sin cos cos
sin sin
cos cos cos
cos sin
sin sin
cos sin
cos
40
v"'
v' =v"
y
u"'
Note the opposite
(clockwise) sense of the
third rotation, .
u'
u"
41
Orientation Representation
Matrix with Euler Angle II
sin sin
cos sin
sin cos cos
cos sin
sin cos
sin cos cos
cos cos
sin cos cos
sin sin
cos sin
sin sin
cos
42
Orientation Representation
Description of Roll Pitch Yaw
Z
X
Quiz: How to get rotation matrix ?
The City College of New York
43
Thank you!
Homework 1 is posted on the web.
z
z
z
x
z
x
The City College of New York
44