Professional Documents
Culture Documents
03 - Kinematics
03 - Kinematics
Jizhong Xiao
Department of Electrical Engineering
City College of New York
jxiao@ccny.cuny.edu
• 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
Hand coordinate:
x
Y = ( x, y, z , O, A, T )
q = (q1 , q2 , q3 , q4 , q5 , q6 , L qn ) x
Forward kinematics
y0
x0 = l cos θ y1
x1
y0 = l sin θ
l
Inverse kinematics θ
−1
x0
θ = cos ( x0 / l )
W
x
R
– Since P = pu i u + pv jv + pw k w
p x = 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
p z = k z ⋅ P = k z ⋅ i u pu + k z ⋅ jv pv + k z ⋅ k w pw
ix
iu
⋅ i x ⋅ jv i x ⋅ k w
R = jy ⋅ i u jy ⋅ jv jy ⋅ k w Pxyz = RPuvw
k z ⋅ i u k z ⋅ jv k z ⋅ k w
– Obtain the coordinate of Puvw from the coordinate
of Pxyz Dot products are commutative!
iu
ix
pu ⋅ i u ⋅ jy i u ⋅ k z px
p = j ⋅i jv ⋅ jy
jv ⋅ k z p y Puvw = QPxyz
v v x
pw k w ⋅ i x k w ⋅ jy k w ⋅ k z pz
Q = R −1 = RT
QR = R T R = R −1 R = I 3 <== 3X3 identity matrix
• description of {B} as
seen from an observer
in {A}
2. Rotation only
– Origins of {B} and {A}
are coincident
A o'
r =0
The City College of New York 25
Homogeneous Representation
• Coordinate transformation from {B} to {A}
r = RB B r P + Ar o '
A P A
A r P A RB A o'
r r
B P
=
1 01×3 1 1
• Homogeneous transformation matrix
A RB
A
r R3×3
A o'
P3×1
Rotation
matrix
TB = = Position
01×3 1 0 1 vector
Scaling
The City College of New York 26
Homogeneous Transformation
• Special cases
1. Translation
A I 3×3 r
A o'
TB =
01×3 1
2. Rotation
A A
RB 03×1
TB =
01×3 1
y
u
x
The City College of New York 29
Homogeneous Transformation
• Composite Homogeneous Transformation
Matrix
• Rules:
– Transformation (rotation/translation) w.r.t
(X,Y,Z) (OLD FRAME), using pre-
multiplication
– Transformation (rotation/translation) w.r.t
(U,V,W) (NEW FRAME), using post-
multiplication
y1 x2
z0 0
A1 1
A2
y0
x1
x0
?
i −1 Transformation matrix for
Ai adjacent coordinate frames
a x4 y4 z2 1 0 0 0
x2
0 0 0 1
z1 x1 y2
z0 0 1 0 −b
y1 − 1 0 0 e + c
x0 y0
Can you find the answer by observation
0
A2 =
0 0 1 0
based on the geometric interpretation of
homogeneous transformation matrix? 0 0 0 1
The City College of New York 35
Orientation Representation
R3×3 P3×1
F =
0 1
• Rotation matrix representation needs 9
elements to completely describe the
orientation of a rotating rigid body.
• Any easy way?
w'= z
w'"= w"
φ v'"
v"
ϕ
v'
y
u'"
θ
u' =u"
x
w'= z
w"'= w" φ
ϕ v"'
θ v' =v"
y
u"'
u"
Note the opposite u'
(clockwise) sense of the x
third rotation, φ.
The City College of New York 41
Orientation Representation
• Matrix with Euler Angle II
− sin φ sin ϕ − sin φ cos ϕ
cos φ sin θ
+ cos φ cos ϕ cosθ − sin φ cos ϕ cosθ
cos φ sin ϕ cos φ cos ϕ sin ϕ sin θ
+ sin φ cos ϕ cosθ − sin φ cos ϕ cosθ
cosθ
− cos ϕ sin θ sin ϕ sin θ
Quiz: How to get this matrix ?
The City College of New York 42
Orientation Representation
• Description of Roll Pitch Yaw
Z
ϕ Y
θ
X