Professional Documents
Culture Documents
Abstract:-
the robot base, making sure that Z 0 aligns with the axis of joint 1.
Set i=1
Z i Axis
3-
If Z i Z i 1 then
between Z i
and Z i 1 .
End if
5- X i Axis:
If Z i // Z i 1 then
Else
6- Y i Axis:
7- Decision:
Set i=i+1
If i < n then
Go to step 3
Else
Go to step 8
End if
8- Tool frame:
- Locate On at the tool tip.
- Align Z n
- Align X n
Stop
s.
d i , i , a i
..(1)
joint i revolute
joint i prismatic
Si Ci
Si S i
Ci Ci
S i
Ci Ci
Ci
..(2)
3- Decision:
Set i=i+1
If i n then
Go to step 1
Else
Got to step 4
End if
ai Ci
ai Si
di
4- Manipulator matrices:
The wrist matrix:
The hand matrix:
The arm matrix:
(3)
Stop
Base
Wrist
Base
Kinematics equations:
The task of a robot usually specified in Cartesian space
0
coordinate, X T (Cartesian position and orientation of the tool
frame T relative to a fixed frame 0), the controllers require joint
space coordinate , to control the motion of the robot. Therefore,
coordinate transformation from one space to another is important.
Such transformations are often referred to as forward (direct) and
X T f ( )
0 RT
TT T
03
....(4)
0
PT
.(5)
(6)
The position and orientation of the end-effector respect to
base, known as T6 is given by U1:
T6 U 1 A1 * A2 * A3 * A4 * A5 * A6
0 R6
T
03
P6
..(7)
For the first version of MA-2000 educational robot, we
consider the gripper axis of motion to be co directional with the
axis of wrist roll (Fig.-2). For the second version of this same robot
we consider the gripper axis of motion to be perpendicular to the
axis of wrist roll (Fig.-3).
A. First case:
Consider (Fig.-2) we can construct the following table for the
joint parameter (Table- 1).
X2
Y6
X6
Y5
X5
Y4
X3
a3
Z2
Z1
Y2
Y1
X4
Z5
Z6
Z3
a4
Z4
Y3
a2
X1
d1
Z0
X0
Y0
Fig-2: Link frame assignment for MA-2000 Robot with first version
of gripper.
Joint
1
2
3
4
5
6
i
1
2
3
4
5
6
ai
di
90
0
0
90
90
0
d1
a2
a3
a4
0
0
0
0
0
0
d6
S1
0 C1
1
0
0
.(8)
0
0
d1
C 2
S
1
T2 2
0
C 3
S
2
T3 3
0
C 4
S
3
T4 4
0
C 5
S
4
T5 5
0
C 6
S
5
T6 6
0
S2
C2
0
0 a2C2
0 a 2 S 2
1
0
0
1
.(9)
S3
C3
0 a3C 3
0 a3 S 3
1
0
0
1
0
0
.(10)
0 S4
0 C4
1
0
0
0
(11)
S5
0 C5
1
(12)
S6
C6
0
0
a4C4
a 4 S 4
0
0
0
0
0
0 0
1 d6
0 1
(13)
Multiplying the matrices T1 through T6 and setting the result equal
0
....(14)
nY S1 (C 234 C 5 C 6 S 234 S 6 ) S1 S 5 S 6
(15)
n Z S 234 C 5 C 6 C 234 S 6
(16)
o x C1 (C 234 C 5 C 6 S 234 S 6 ) S1 S 5 S 6
(17)
o x S1 (C 234 C 5 C 6 S 234 S 6 ) S1 S 5 S 6
(18)
o Z S 234 C 5 C 6 C 234 S 6
.(19)
(20)
(21)
a Z S 234 S 5
(22)
...(23)
..(24)
p Z d1 d 6 S 234 S 5 a3 S 23 a 2 S 2 a 4 S 234
..(25)
(26)
Multiplying Eq.(20) by S1 and Eq.(21) by C1 and substituting the
resulting equations, as the following is obtained:
C 5 C1 a y S1 a x
(27)
From Eqs.(26 and 27) ,we can obtain:
C1 0 p y 6 S1 0 p x 6 d 6 C1 a y d 6 a x S1
.. (28)
Hence,
1 a tan 2(( p y d 6 a y ), ( p x d 6 a x )
(29)
From eq(27), hence,
S 5 1 C 52
(30)
5 a tan 2( S 5 , C 5 )
(31)
Now multiplying Eq.(20) by C1 and Eq.(21) by S1 and adding the
resulting equations yields:
S 5 C 234 (a x C1 a y S1 )
(32)
and,
(33)
for 5 > 0
234 234
for 5 < 0
(34)
Multiplying Eq.( 23) by C1 and Eq.(24) by S1 and adding the
resulting equations yields:
P1 C1 p x 6 S1 p y 6 d 6 S 5 C 234 a 4 C 234
Where,
P1 a 2 C 2 a3 C 23
(35)
Rearranging eq.(25) yields:
P2 p z 6 d1 d 6 S 5 S 234 a 4 S 234
Where,
P2 a3 S 23 a 2 S 2
(36)
Thus, from eqs.(35) and (36) we find:
a3 C 23 P1 a 2 C 2
(37)
a3 S 23 P2 a 2 S 2
(38)
Hence from Eqs(37) and (38) we have:
a32 ( P1 a 2 C 2 ) 2 ( P2 a 2 S 2 ) 2
(39)
Which yield the following:
P1C 2 P2 S 2
.(40)
Then it clearly follows that:
(41)
.(42)
3 23 2
and finally,
4 234 23
.(43)
.(44)
Multiplying Eq.( 15) by C1 and Eq.(14) by S1 and adding the
resulting equations yields:
S 5 C 6 n y C1 n x S1
..(45)
Multiplying Eq.( 17) by S1 and Eq.(18) by S1 and adding the
resulting equations yields:
S
(o x S
Hence,
o yC
(46)
... (47)
for 5 0
6 6
... (48)
5 0
These are the complete solutions for the inverse kinematics
problem of a robot when (nondegenerate).
one of 5 0, n If S5=0(
) the arm geometry becomes
a degenerate kind because 234 becomes
essentially
234 k arbitrary based on Eq.(22). For the sake of
calculation let us assume that
1 a tan 2(( p y d 6 a y ), ( p x d 6 a x )
(49)
2 a tan 2( P2 , P1 ) a tan 2( P12 P22 N , N )
(50)
23 a tan 2( P2 a 2 S 2 , P1 a 2 C 2 )
(51)
3 23 2
4 k 23
5 0
(52)
(53)
(54)
From Eqs.(16) and (19) and further yield:
C 6 n z S 234 C 5 o z C 234
... (55)
S 6 o z S 234 C 5 n z C 234
(56)
6 a tan 2( S 6 , C 6 )
(57)
Z6
Y6
X6
Y5
X5
Z5
Z4
a4
Y4
Y3
Z3
X3
a3
Z2
Z1
X4
Y2
Y1
a2
X1
d1
Z0
X0
Y0
C 6
S
5
T6 6
0
0 S6
0 C6
1
0
0
0
0
d6
(59)
The homogenous transformations of the end-effector to the base
can be multiplying the above six matrices and setting the results
equal to 0T6:
n x C1 (C 234 C 5 C 6 S 234 S 6 ) S1 S 5 S 6
....(60)
nY S1 (C 234 C 5 C 6 S 234 S 6 ) S1 S 5 S 6
(61)
n Z S 234 C 5 C 6 C 234 S 6
(62)
(63)
o Z S 234 S 5
(64)
.(65)
a x C1 (C 234 C 5 C 6 S 234 S 6 ) S1 S 5 S 6
(66)
a x C1 (C 234 C 5 C 6 S 234 S 6 ) C1 S 5 S 6
(67)
a Z S 234 C 5 S 6 C 234 C 6
.(68)
...(69)
...(70)
p Z d1 d 6 S 234 S 5 a3 S 23 a 2 S 2 a 4 S 234
...(71)
1 a tan 2(( p y d 6 a y ), ( p x d 6 a x )
(72)
2 a tan 2( P2 , P1 ) a tan 2( P12 P22 N , N )
...(72)
23 a tan 2( P2 a 2 S 2 , P1 a 2 C 2 )
(73)
3 23 2
(74)
Multiplying eq.(63) by S1 and eq.(64) by C1,
C 5 S1o x C1o y
S 5 1 C 52
5 a tan 2( S 5 , C 5 )
(75)
Now multiplying eq.(63)by C1 and eq.(64)by S1 and adding the
resulting equations yield:
S 5 C 234 o x C1 o y S1
(76)
From eq.(65) and eq.(76) find that:
234 a tan 2(o z , (o x C1 o y S1 ))
And,
(77)
234 234
4 234 23
(78)
for 5 0
for 5 0
...(79)
Multiplying eq.(60) by C1 and eq.(61) by S1 and adding the
resulting equations yield:
S 5 C 6 n y C1 n x S1
...(80)
Multiplying eq.(66) by S1 and eq.(67) by C1 and adding the
resulting equations yield:
S 5 S 6 a x S1 a y C1
Hence,
...(81)
6 a tan 2( S 6 , C 6 )
And,
(82)
6 6
(83)
for 5 0
for 5 0
..(84)
2 a tan 2( P2 , P1 ) a tan 2( P12 P22 N , N )
..(85)
23 a tan 2( P2 a 2 S 2 , P1 a 2 C 2 )
3 23 2
4 k 23
5 0
..(86)
..(87)
..(88)
..(89)
From eqs.(62) and (68) and further yield:
C 6 n z S 234 C 5 a z C 234
.. (90)
S 6 a z S 234 C 5 n z C 234
..(91)
6 a tan 2( S 6 , C 6 )
..(92)
These are complete solutions for one of the degenerate case of a
robot with a gripper of the second case.
Results and discussion:
An analysis technique was introduced to reduce the multiple
solutions in inverse kinematics. Forward and inverse kinematics
solution are generated and implemented by program (Fig.4). For
the numerical confirmation of the exact solutions the following
procedure has been adopted. First the values of the structure of a
robot a 2 , a3 , a 4 , d1 , d 6 and i are specified (Table-3). Then a set of i s
are chosen to calculate position and orientation of the end effector
by forward kinematics. The values of the attitude matrix are then
employed to calculate the joint angles by inverse kinematics. The
inverse kinematics problem is solved by closed form solution
because the kinematic equations in general have multiple
solutions; having closed form solution allows one to develop rules
for choosing a particular solution among several. The results
obtained for the components of the vector of the joint angles are
compared with the chosen values of i s. (Table4 and 5). They are
ai
di
90
0
0
90
90
0
0
15
15
10
0
0
15
0
0
0
0
15
i Chosen
1
2
3
4
5
6
25
45
30
40
20
30
Calculated
25
44.99998
30.001
39.998
19.999
30.0003
i Chosen
Calculated
1
25
25
2
45
45.002
3
30
29.997
4
40
40
5
0
0
6
30
29.897
Table-5: the results for the degenerate case1
Joint
Angles
i
Compare
joint angles
Forward
Kinematics and
generate
transformation
Ai
Determine
position and
orientation A6
Calculate Joint
Angles i by
Inverse Kinematics
Equations