Professional Documents
Culture Documents
Abstract - This project develops an algorithm to optimize To find the optimal dynamic performance of a robot, it is
the dynamic performance of an industrial robot with aid of important to know the architecture of its kinematics first.
vision system technology. It consists of three major phases; From forward or inverse kinematics analysis of that particular
(1) theoretical, simulation and practical of forward and robot, we will obtain an exact position and orientation for each
inverse kinematics for Fanuc LR Mate 200iB robot to of its movements. This will help to find the most suitable
determine their D-H parameters, (2) optimization of robot position and orientation to achieve optimal performance.
movements, and (3) implementation of practical tasks. The Figure 1 describe the overall diagram for the system.
camera is used as a vision sensor to incorporate an
intelligent algorithm for the recognition of coordinates of
target objects and to guide the robot to perform certain CAMERA
tasks. The optimization process involves the control of two
parameters known as position ( ) and speed (!) of the 3
main axes of the robot. Its forward and inverse kinematics
problems will be simulated using Robotic tools of Matlab
7.0 and Roboguide V2.3.2. The simulation results will be
compared with the real practical movements. This paper
will describe the technique, calculation and method on how
the first phase was done.
MANIPULATOR
(c!i -)s!i 0 0% (1 0 0 0% (1 0 0 ai % (1 0 0 0%
i-1
Ti = &s!i c!i 0 0# &0 1 0 0## &&0 1 0 0## &&0 c"i -)s"i 0## (2)
& #&
& 0 0 1 0# &0 0 1 di # &0 0 1 0# &0 -)s"i c"i 0#
& #& #& #& #
' 0 0 0 1$ '0 0 0 1$ '0 0 0 1$ '0 0 0 1$
0
Ti = 0T1 1T2 2T3.i-2Ti-1 i-1Ti (4)
148
4th Student Conference on Research and Development (SCOReD 2006), Shah Alam, Selangor, MALAYSIA, 27-28 June, 2006
forward kinematics function 0T6 via a link-by-link iteration of The transformation matrix of frame x6 y6 z6 with
the form respect to frame x6 y6 z6 is obtained as
0
T6 = 0T1 .1T2 . 2T3, i = 0, , 6 (5) (c6 - s6 0 0 %
5
T6 = &s - c 0 0 # (11)
&6 6 #
Furthermore, it is useful to explicitly have the interlink &0 0 1 80#
homogeneous transformations, i-1Ti, that can then be computed & #
'0 0 0 1$
as by products.
where s6 =sin 6 and c6 =cos 6
TABLE 1: DENAVIT-HARTENBERG PARAMETERS OF THE FANUC By using (6), (7), (8), (9), (10) and (11), considering the initial
ROBOT position, all = 0, the forward kinematics equation of the
i !i-1 ai-1 di i robot can be derived as
0
0 0 0 0 0 T6 = 0T1.1T2. 2T3..3T4. 4T5.5T6
1 90 150 0 1 (1 0 0 475%
0
2 0 250 0 2
T6 = &0 -1 0 0 ## (12)
&
3 90 75 0 3 &0 0 +1 +370#
4 90 0 290 & #
'0 0 0 1 $
4
5 -90 0 0 5
6 0 0 80 6
B. Inverse Kinematics
According to general transformation equation of D-H Inverse Kinematics does the reverse of forward
method and the parameters in Table I, the transformation kinematics. Given the end point of the structure, what angles
matrix of frame x1 y1 z1 with respect to frame x0 y0 z0 is do the joints need to be to achieve that end point. It can be
obtained as difficult, and there are usually many or infinitely many
(c1 0 s1 150* c1%
solutions. Most of the real systems are under constrained, so
0
T1 = &s 0 - c 150*s # (6) for a given goal position, there could be infinite solutions (i.e.
&1 1 1#
many different joint configurations could lead to the same
&0 1 0 0 #
& # endpoint). The field of robotics has developed many inverse
'0 0 0 1 $ kinematics systems which, due to their constraints, have
where s1 =sin 1 and c1 =cos 1 closed-form solutions.
The transformation matrix of frame x2 y2 z2 with One of the techniques that had been used to find the exact
respect to frame x1 y1 z1 is obtained as angle of each joint to reach the goal target is by using the
(c2 -)s2 0 250* c2 % Jacobian method which described briefly in [1].
1
T2 = &s 0 250*s2 ## (7)
& 2 c2
&0 0 1 0 # B.1 Inverse Kinematics Analysis of Fanuc
& # After considering the Jacobian method trough the
'0 0 0 1 $
where s2 =sin 2 and c2 =cos 2 theoretical calculation based, the analysis which is using the
The transformation matrix of frame x3 y3 z3 with Matlab Robotics tools were done. To find the inverse
respect to frame x2 - y2 - z2 is obtained as kinematics in Matlab, the function that had been used is q =
ikine(robot, T). This function returns the joint
(c3 0 s3 75* c3 %
2
T3 = &s 0 - c 75*s # (8) coordinates for the manipulator described by the object robot
&3 3 3#
whose end-effector homogeneous transform is given by T.
&0 1 0 0 #
& # The complete lists of function regarding this analysis
'0 0 0 1 $ using Matlab are as such:
where s3 =sin 3 and c3 =cos 3
The transformation matrix of frame x4 y4 z4 with %Entering the D-H parameter information for FANUC
L1=link([pi/2 150 0 0 0])
respect to frame x3 y3 z3 is obtained as L2=link([0 250 0 0 0])
(c4 0 s4 0% L3=link([pi/2 75 0 0 0])
3
T4 = &s 0 - c 0 ## (9) L4=link([pi/2 0 0 290 0])
&4 4 L5=link([4.7124 0 0 0 0])
&0 1 0 290# L6= link([0 0 0 80 0])
& #
'0 0 0 1$ %Searching for FANUC Position and Orientation Matrix
fanuc = robot({L1 L2 L3 L4 L5 L6})
where s4 =sin 4 and c4 =cos 4
The transformation matrix of frame x5 y5 z5 with %Generate the transform corresponding to a particular joint
coordinate
respect to frame x4 y4 z4 is obtained as q=[0 0 0 0 0 0]
(c5 0 - s5 0%
4
T5 = &s 0 c5 0## (10) %Forward Kinematic
& 5 T=fkine(fanuc,q)
& 0 +1 0 0# T1=transl(0,0,370)*T
& #
' 0 0 0 1$ %Inverse Kinematic
qi=ikine(fanuc,T1)
where s5 =sin 5 and c5 =cos 5
149
4th Student Conference on Research and Development (SCOReD 2006), Shah Alam, Selangor, MALAYSIA, 27-28 June, 2006
q =
0 0 0 0 0 0
T =
1.0000 0 0 475.0000
0 -1.0000 0.0000 0.0009
0 -0.0000 -1.0000 -370.0000
Fig. 6: Adjustment position of FANUC robot
0 0 0 1.0000
1 = 0 2 = 73.4 3 = -30
4 = 0 5 =43.3 6 = 0
III. SIMULATION
In order to make sure the same value of Denavit-
Hartenberg parameters can be applied to the real Fanuc robotic
arm, the simulation using the Robotics tool of Matlab 7.0 were
done. It needs to prove that the position and orientation of the
robots end-effector that had been computed earlier are same
with the real application. The simulation algorithm were
developed exactly using the same value of link length and
joint angle of the real Fanuc arm.
Figure 5 describe the output of the simulation for the
initial position of simulated Fanuc robot. The position of end
effector stated there was [475,0,370]. Here, if the orientation
value of link 3 is change from 0 to 90 (1.5708rad), the Fig. 7: Initial position of virtual FANUC robot
position of the end effector also will make a change, as shown
in Figure 6. Now, the position of end effector was [155,0,540].
150
4th Student Conference on Research and Development (SCOReD 2006), Shah Alam, Selangor, MALAYSIA, 27-28 June, 2006
Fig. 8: Initial position of virtual FANUC robot Fig. 10: Adjustment position of actual FANUC robot
151