Professional Documents
Culture Documents
Tn0 q1,..., qn H
Noting that:
• Use the position of the wrist center to determine the first three joint
angles…
xc ox d6r13
y o d r
c y 6 23
zc oz d6r33
1 atan 2xc , yc
– Can also have:
• This will of course change the solutions for 2 and 3
1
1 -
atan 2 xc , yc
atan 2xc , yc
atan 2 xc 2 yc 2 d 2 , d
atan 2 xc 2 yc 2 d 2 , d
atan 2 xc 2 yc 2 d 2 ,d
r 2 s 2 a22 a32
cos3
2a2a3
r 2 xc 2 yc 2 d 2
s zc d1
xc 2 yc 2 d 2 zc d1 2 a2 2 a32
cos3 D
2a2a3
1 atan2 xc , yc
Again, if there is an offset, there will be left-arm and right-arm solutions
Solve for 2:
2 atan2s, r
r 2 xc 2 yc 2
s zc d1
Solve for d3:
d3 r 2 s 2
xc 2 yc 2 zc d1 2
Robot manipulator and control Ngo Quang Hieu
Ví dụ 4.4: Robot tọa độ trụ (RPP)
Cylindrical configuration
Solve for 1 using same method as with RRR and RRP
1 atan2 xc , yc
Again, if there is an offset, there will be left-arm and right-arm solutions
Solve for d2:
d 2 zc d1
Solve for d3:
d3 xc 2 yc 2
d3 xc 2 yc 2
Now that we can solve for the position of the wrist center (given
kinematic decoupling), we can use the desired orientation of the end-
effector to solve for the last three joint angles
Finding a set of Euler angles corresponding to a desired rotation matrix R
We want the final three joint angles that give the orientation of the tool
frame with respect to O3 (i.e. R63)
c4 c5 c6 s4 s6 c4 c5 s6 s4 c6 c4 s5 c4 s5 d 6
s c c c s s4 c5 s6 c4 c6 s4 s5 s4 s5 d 6
T63 A4 A5 A6 4 5 6 4 6
s5 c6 s5 s6 c5 c5 d 6
0 0 0 1
c5 r33 , s5 1 r33 2
1. Find q1, q2, q3 such that the position of the wrist center is:
0
oco o d6 R 0 inverse position
kinematics
1
2. Using q1, q2, q3, determine R30
3. Find Euler angles corresponding to the rotation matrix:
3
0 1 0T
R6 R3 R R3 R inverse orientation
kinematics
• Euler angle solutions can be applied. Taking the third column of (R30)TR
c 4s5 c1c23 r13 s1c 23 r23 s23 r33
s4s5 c1s23 r13 s1s23 r23 c23 r33
c5 s1r13 c1r23
• Finally, we can solve for the two remaining angles as follows:
4 atan2c1c23 r13 s1c23 r23 s23 r33 ,c1s23 r13 s1s23 r23 c23 r33
6 atan2 s1r11 c1r21, s1r12 c1r22
• For the singular configuration (5 = 0), we can only find 4 + 6 thus it is
common to arbitrarily set 4 and solve for 6
link ai i di i
1 0 90 d1 1
2 a2 0 0 2
3 a3 0 0 3
4 0 -90 0 4
5 0 0 0 5
6 0 0 d6 3
• we are given H = T60 such that: ox r11 r12 r13
o oy , R r21 r22 r23
oz r31 r32 r33
zc oz d 6 r33
3 atan2 D, 1 D 2
• Where d is the shoulder offset (if any) and D is given by:
xc y c d 2 zc d1 a2 a3
2 2 2 2 2
D
2a2a3
4 atan2c1c 23 r13 s1c23 r23 s23 r33 ,c1s23 r13 s1s23 r23 c 23 r33
5 atan2 s1r13 c1r23 , 1 s1r13 c1r23
2
6 atan2 s1r11 c1r21, s1r12 c1r22
R o
• We are given T40: T40
0 1
c12 c 4 s12 s4 s12 c 4 c12 s4 0 a1c1 a2c12
s c c s c12 c 4 s12 s4 0 a1s1 a2s12
12 4 12 4
0 0 1 d3 d 4
0 0 0 1
link ai i di i
1 a1 0 0 1
2 a2 180 0 2
3 0 0 d3 0
4 0 0 d4 4
• Thus, given the form of T40, R must have the following form:
c s 0
R s c 0
0 0 1
c2
2a1a2
• This gives two solutions for 2: 2 atan2 c2 , 1 c22
• Once 2 is known, we can solve for 1:
1 atan2ox , oy - atan2a1 a2c2,a2s2
• 4 is now give as: 4 1 2 atan2r11, r12
• Finally, it is trivial to see that d3 = oz + d4
• What if now we describe the desired position and orientation of the end
effector?
– given a desired d=[dx dy]T, we can now call the position of o2 the ‘wrist
center’. This position is given as: w x d x a3 cosd
w y d y a3 sind
– Now we have reduced the problem to finding the joint angles that will give
the desired position of the wrist center (we have done this for a 2D planar
manipulator).
– Finally, 3 is given as: 3 d 1 2