Professional Documents
Culture Documents
Robot Kinematics
Dr. D. Saravanakumar,
Assistant Professor, SMBS,
VIT - Chennai Campus.
Email: saravanakumar.d@vit.ac.in
• Functional aspects
• definition of robot workspace
• calibration
• Operational aspects
• two different “spaces” related by kinematic (and
dynamic) maps
Go right
!!!
Take the
ball !!!
The Quest:
What is the position of the
end of the robotic arm?
Solution:
1. Geometric Approach
This might be the easiest solution for the simple situation. However,
notice that the angles are measured relative to the direction of the previous
link. (The first link is the exception. The angle is measured relative to it’s
initial position.) For robots with more links and whose arm extends into 3
dimensions the geometry gets much more tedious.
2. Algebraic Approach
Involves coordinate transformations.
10, 17 & 20 - Sep-18 MEE1030 – Robotics 10
One DOF Planar Robot
Forward Kinematics
L – Link Length
y = L . Sinθ
y (x, y)
𝑥 = 𝐿1 cos 𝜃1 + 𝐿2 cos 𝜃1 + 𝜃2
𝑦 = 𝐿1 sin 𝜃1 + 𝐿2 sin 𝜃1 + 𝜃2
(x , y)
cos(180 θ 2 ) cos(θ 2 )
x 2 y 2 l1 l2
2 2
l1
cos(θ 2 )
2l1l2
q1
x 2 y 2 l12 l2 2
θ 2 arccos
Using the Law of Cosines:
2l1l2
Redundant since 2 could be in the
sin B sin C
first or fourth quadrant.
b c
sin θ1 sin(180 θ 2 ) sin(θ 2 )
Redundancy caused since 2 has two possible
l2 x 2 y2 x 2 y2 values
θ1 α θ1 y l sin(θ )
θ1 arctan 2 arcsin 2 2
y x x 2 y2
α arctan 2 10, 17 & 20 - Sep-18 MEE1030 – Robotics
14
x
The Algebraic Solution
(x , y)
l2 q2
c1 cosθ1
c1 2 cos(θ 2 θ1 )
l1 (1) x l1 c1 l2 c1 2
(2) y l1 s1 l2 sin 1 2
q1
(1) 2 (2) 2 x 2 y 2
2 2
l1 c1 l2 (c1 2 ) 2 2l1l2 c1 (c1 2 ) l1 s1 l2 (sin 1 2 ) 2 2l1l2 s1 (sin 1 2 )
2 2 2 2
l1 l2 2l1l2 c1 (c1 2 ) s1 (sin 1 2 )
2 2
l1 l2 2l1l2 c 2
2 2 Only Unknown Note :
x 2 y 2 l12 l2 2 cos(ab) (cos a)(cos b) (sin a)(sin b)
θ 2 arccos
sin( a b ) (cos a )(sin b ) (cos b)(sin a)
10, 17 & 20 -2 l l
Sep-18
1 2 MEE1030 – Robotics 15
x l1 c1 l2 c1 2 Note :
l1 c1 l2 c1c 2 l2 s1s2 cos(ab) (cos a)(cos b) (sin a)(sin b)
c1 (l1 l2 c 2 ) s1 (l2 s2 ) sin( ab) (cos a)(sin b) (cosb)(sin a)
1
(l1 l2 c 2 )
Notice this is the law of cosines
x l2 s2 s1 (l1 l2 2l1l2 c 2 ) and can be replaced by x2+ y2
2 2
y(l1 l2 c 2 ) x l2 s2 1 arctan 2( s1 , c1 )
s1
x 2 y2
10, 17 & 20 - Sep-18 MEE1030 – Robotics 16
Forward Kinematics of Three DOF Planar
Robot
• Where
• 𝑛0𝑇is the pose of the end-effector relative to base;
• Ti is the link transform for the ith joint;
• and n is the number of links.
Link θi di ai αi
1 q1 0 L1 0
2 q2 0 L2 0
d2
Joint 1
O0 X0 O1 X1 O2 X2
Joint 2
Y2
a0 a1 Joint i i ai di i
1 0 a0 0 0
2 -90 a1 0 1
3 0 0 d2 2
C i C i S i S i S i ai C i
S C i C i S i C i ai S i
T i
i 1 i
0 S i C i di
0 0 0 1
T (T )(T )(T )
0
3 1
0
2
1
3
2
0 0 1 d2
0 0 0 1
c1 s1 0 0 c 4 s 4 0 a3
s
1 c 0 0 0 0 1 d4
0
T 1 3
T
1
0 0 1 0
4
s 4 c 4 0 0
0 0 0 1 0 0 0 1
c 2 s 2 0 0 c5 s5 0 0
0 0 1 0 0 0 1 0
2T 5T
1 4
s 2 c 2 0 0 s5 c5 0 0
0 0 0 1 0 0 0 1
c3 s3 0 a2 c 6 s 6 0 0
s c 0 0 0 0 1 0
3T 6T
2 3 3 5
0 0 1 d3 s 6 c 6 0 0
0 0 0 1 0 0 0 1
0
6 T 10 T 12 T 32 T 34 T 54 T 56 T r11 c1[c23 (c5c6 s4 s5 ) s23 s5c5 ] s1 ( s4c5c6 c4 s6 ),
r11 r12 r13 pX r21 s1[c23 (c4 c5c6 s4 s6 ) s23 s5c6 ] c1 (s4c5c6 c4 s6 ),
r31 s23 (c4 c5c6 s4 s6 ) s23 s5c6 ,
r21 r22 r23 pY
r31 r32 r33 pZ r12 c1[c23 (c4c5c6 s4c6 ) s23 s5c6 ] s1 (c4c6 s4c5 s6 ),
0 0 0 1 r22 s1[c23 (c4c5 s6 s4c6 ) s23 s5 s6 ] c1 (c4c6 s4c5 s6 ),
With : r32 s23 (c4 c5 s6 s4 c6 ) c23 s5 s6 ,
p X c1[a2c2 a3c23 d 4 s23 ] d3 s1 , r13 c1 (c23c4 s5 s23c5 ) s1s4 s5 ,
pY s1[a2c2 a3c23 d 4 s23 ] d3c1 , r23 s1 (c23c4 s5 s23c5 ) c1s4 s5 ,
pZ a3 s23 a2 s2 d 4c23 , r33 s23c4 s5 s23c5 .