Professional Documents
Culture Documents
@ McGraw-Hill Education
Lecture 3
Robot Kinematics
by
S.K. Saha
Aug. 22’16 (M)@JRL301 (Robotics Tech.)
PROPRIETARY MATERIAL. © 2014, 2008 The McGraw-Hill Companies, Inc. All rights reserved. No part of this PowerPoint slide may be displayed,
reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachers
and educators permitted by McGraw-Hill for their individual course preparation. If you are a student using this PowerPoint slide, you are using it without
permission.
2
@ McGraw-Hill Education
Recap
• Serial chain
- Two links connected
by revolute joint, or
- Two links connected
by prismatic joint
Fig. 5.27
4
@ McGraw-Hill Education
Z’’’i
5
@ McGraw-Hill Education
Revolute Joint
• DH@Z (Variable) • DH@X (Const.)
– Joint offset (b) – Link length (a)
– Joint angle (θ) – Twist angle (α)
Zi+1
Z’’’i
Fig. 5.28
6
@ McGraw-Hill Education
Mathematically
• Translation along Zi
⎡1 0 0 0⎤
⎢0 1 0 0 ⎥⎥
Tb = ⎢ . . . (5.49a)
⎢0 0 1 bi ⎥
⎢ ⎥
⎣0 0 0 1⎦
• Rotation about Zi
⎡C θ i − S θi 0 0⎤
⎢ Sθ Cθi 0 0 ⎥⎥ . . . (5.49b)
Tθ = ⎢ i
⎢ 0 0 1 0⎥
⎢ ⎥
⎣ 0 0 0 1⎦
7
@ McGraw-Hill Education
Ti = TbTθTaTα . . . (5.50a)
⎡C θ i − Sθ i C α i Sθ i Sα i aiCθ i ⎤
Position
⎢ Sθ Rotation
Cθ Cα − C θ Sα a i Sθ i ⎥⎥
Ti = ⎢ i i i i i
⎢ 0 Matrix
Sα iCα i bi ⎥
⎢ ⎥
⎣ 0 0 0 1 ⎦
. . . (5.50b)
9
@ McGraw-Hill Education
• Frame transformations
(Homogeneous)
⎡ C θ i − Sθ i 0 a i C θ i ⎤
⎢ SθFill-upCwith
θi
the elements ⎥
0 a i Sθ i ⎥ ,
Ti = ⎢ i for i=1,2,3
⎢ 0 0 1 0 ⎥
⎢ ⎥
⎣ 0 0 0 1 ⎦
10
@ McGraw-Hill Education
Multiply
+ Add
Forward: One soln.
Non-lin. eqns.
Inverse: 1st soln.
Solve
.
Inverse: nth soln.
11
@ McGraw-Hill Education
T = T1 T2 T3
⎡ C θ 123 − Sθ 123 0 a 1C θ 1 + a 2 C θ 12 + a 3C θ 123 ⎤
⎢ Sθ C θ 123 0 a 1 S θ 1 + a 2 S θ 12 + a 3 S θ 123 ⎥
T= ⎢ 123 ⎥
⎢ 0 0 1 0 ⎥
⎢ ⎥
⎣ 0 0 0 1 ⎦
12
@ McGraw-Hill Education
⎡ c 1 c 23 - c 1 s 23 − s1 c 1 (a 2 c 2 + a 3 c 23 ) ⎤
⎢s c − s 1 s 23 c1 s 1 (a 2 c 2 + a 3 c 23 ) ⎥⎥
T ≡ ⎢ 1 23
… (6.11)
⎢ − s 23 − c 23 0 − ( a 2 s 2 + a 3 s 23 ) ⎥
⎢ ⎥
⎣ 0 0 0 1 ⎦
14
@ McGraw-Hill Education
Inverse Kinematics
• Unlike Forward Kinematics, general solutions
are not possible.
Two-link Arm
Y1 X3
RoboAnalyzer
p x = a1c1 + a2 c12 Y3
py
p y = a1s1 + a2 s12 θ2
a2 θ X
2 2
p x2 + p y2 − a12 − a 22 Y2
c2 =
2 a1 a 2 a1
s 2 = ± 1 − c 22 θ1
θ1
θ2 = atan2 (s2, c2) px X1
(a 1 + a 2 c 2 ) p y − a 2 s 2 p x
s1 = Δ ≡ a 2
+ a 2
+ 2 a a c = p 2
+ p 2
Δ 1 2 1 2 2 x y
(a 1 + a 2 c 2 ) p x + a 2 s 2 p y
c1 = θ1 = atan2 (s1, c1)
Δ
16
@ McGraw-Hill Education
φ = θ1 + θ 2 + θ3 … (6.18a)
p x = a1 c1 + a 2 c12 + a 3 c123
… (6.18b)
p y = a1 s1 + a 2 s12 + a 3 s123
… (6.18c)
w x = p x − a 3 c φ = a1 c1 + a 2 c12 … (6.19a)
w y = p y − a 3 s φ = a1 s1 + a 2 s12 … (6.19b)
17
@ McGraw-Hill Education
θ3 = ϕ - θ1 − θ2 . . . (6.24)
18
@ McGraw-Hill Education
Numerical Example
⎡ 1 3 5⎤
⎢ Rotation0
2
− Origin
3+ ⎥
of end-
4.23
⎢ 2 2⎥
⎢
T ≡⎢
Matrix 0
3 1 effector
3
+1⎥
⎥ 1.86
2 frame
⎢ 2 2 ⎥ 0
⎢ 0 0 1 0 ⎥
⎢ ⎥
⎣ 0 0 0 1 ⎦
where φ = 60o, and a1 = a2 = 2 units, and a3 = 1 unit.
θ2 = 30o
θ1 = 0o.
Velocity Analysis
Jacobian maps joint rates into end-effector’s velocities. It
depends on the manipulator configuration.
⎡θ1 ⎤
⎡ω e ⎤ ⎢ ⎥
twistof end - effector : t e ≡ ⎢ ⎥ ; Joint rates : θ = ⎢ # ⎥
⎣ ve ⎦ ⎢θn ⎥
⎣ ⎦
⎡ ei ⎤ ⎡ 0 ⎤
ji ≡ ⎢ ⎥ , if Joint i is revolute ji ≡ ⎢ ⎥ , if Joint i is prismatic
⎣ei × aie ⎦ ⎣e i × a ie ⎦
22
@ McGraw-Hill Education
J = [e1 × a 1e e 2 × a 2e ]
where e1 ≡ e 2 ≡ [0 0 1]T
a1e ≡ a1 + a 2
≡ [a1c1 + a2 c12 a1s1 + a2 s12 0]T
a2e ≡ a2
≡ [a2 c12 a2 s12 0]T
⎡ − a1 s1 − a2 s12 − a2 s12 ⎤
Hence, J = ⎢
⎣ a1 c1 + a2 c12 a2 c12 ⎥⎦
23
@ McGraw-Hill Education
⎡− a1 s1 − a 2 s12 − a 2 s12 ⎤
J≡⎢ ⎥ θ2 = 0 or π
⎣ a1 c1 + a 2 c12 a 2 c12 ⎦
24
@ McGraw-Hill Education
Summary
• Forward Kinematics
• Inverse kinematics
– A spatial 6-DOF wrist-portioned has 8
solutions
• Velocity and Jacobian
25
@ McGraw-Hill Education
THANK YOU
saha@mech.iitd.ac.in
http://sksaha.com