Professional Documents
Culture Documents
Robotics Final Assignment
Robotics Final Assignment
Contents
Introduction...................................................................................................... .........................3 Section 1 1.1 1.2 Section 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 The Task.................................................................................................... ..........9 The Workspace...................................................................................... ...........10 The Robot.............................................................................................. ...........11 The Sensors............................................................................................. ..........12 The Gripper............................................................................................ ...........14 The Safety.............................................................................................. ...........16 Approximate cost and payback.................................................................. ......17 Study of the Puma 560 robot kinematics .............................................. .............3 Creation of a three link robot..................................................................... ........5
List of figures
Figure 1 : Joint angles positions Figure 2 : Velocity of each joint Figure 3 : Robot specifications Figure 4 : DH Matrix Figure 5 : Three link created robot Figure 6 : Results of the forward kinematics on MATLAB Figure 7 : Rotation component into RPY Figure 8 : Schematic of the robot-cashier system Figure 9 : STUBLI TX60 Figure 10 : CamCube 3.0 by PMD Figure 11 : Torquemeter SCAIME DR1 Figure 12 : Gripper METAL WORKS Series P9-32 Figure 13 : Design of the pinch of the gripper
Module : CE00453-7
Introduction
In this report we will treat some aspects of the manipulation and the creation of robots. The first section will explain the simulation of a robot with MATLAB and the robotic toolbox , the study of its kinematics and the design of a three link robot with DH matrices. In the second part we will see the design and requirements of a robot -cashier system.
Section 1
clear all; puma560; %drivebot(p560) P=transl(0.211,0.851,0.010); % movement of the arm to coordinates PointB=ikine(p560,P) % inverse kinematics to get the joint angles
The joint angles obtained are : 16.8637 28.2835 -14.1317 -75.3982 -14.1518 71.1009 .
To get position and velocity graphs we calculate the trajectory of the robot with the function 'jtraj' which needs the initial and final coordinates, the total time and the sampling rate.
Module : CE00453-7
P=transl(0.211,0.851,0.010); movement of the arm to coordinates % % PointB=ikine(p560,P) inverse kinematics to get the joint angles %% t=[0:0.125:7]' % total time and sampling rate (in sec) start=[0 0 0 0 0 0]; initial position : all joint angle at 0 % stop=PointB;% final position %calculation of the trajectory to the point B [p v]=jtraj(start,stop,t); subplot(6,1,1);plot(t,p(:,1)) position graphs % subplot(6,1,2);plot(t,p(:,2)) subplot(6,1,3);plot(t,p(:,3)) subplot(6,1,4);plot(t,p(:,4)) subplot(6,1,5);plot(t,p(:,5)) subplot(6,1,6);plot(t,p(:,6)) figure; subplot(6,1,1);plot(t,v(:,1)) velocity graphs % subplot(6,1,2);plot(t,v(:,2)) subplot(6,1,3);plot(t,v(:,3)) subplot(6,1,4);plot(t,v(:,4)) subplot(6,1,5);plot(t,v(:,5)) subplot(6,1,6);plot(t,v(:,6))
V e e 10006669
! 2 "0
sc
e e e
es
1 '%0) ! "(
!
s s
ec
ve c y
00453-7
G FEDC A @ 987 B B
e ve c y
h `` g e Yfedc X b a`
F s se s
YX WVU
12
ec e
s e
ee
e s
e s
es
= 300
= 200
c = 80
123
ej
t b X Vb a
YX ia bre VabXeXad YX h s s
p e
YX i a f X X d b
V e e 10006669
TS R Q@PIH
s s
00453-7
a 0 0 0 300 200 80 1 2 3
Figure 4 : DH Matrix
The following program permits to give to our robot the decided dimensions in this DH matrix. The command 'link' permits to write each line separately then they are put together in the matrix 'R' which is used to simulate the robot.
clear all; l1=link([0 300 0 0]); l2=link([0 200 0 0]); l3=link([0 80 0 0]); R{1}=l1; R{2}=l2; R{3}=l3; S=robot(R) drivebot(S)
V e e 10006669
u dhl j t
s ri m m mq d d g dphl y x wvu
ees
ve c
se
d 0 0 0
00453-7
lh i
hg h
e o n hi
dl
i h ed g fed
esc
s " ee
"
sc
se
Now that we have set up the dimensions, we must choose the angles to use in the forward kinematics. We get : 1 = 90 = 1.570 rad 2 = 60 = 1.047 rad 3 = 90 = 1.570 rad
w w w
The following code allows to give to our robot the angles of its joints and to perform the forward kinematics with 'fkine'.
angle=[1.570 1.047 1.570] T=fkine(S,angle)
The result of this command shows the coordinates of the final point :
By using 'tr2rpy' we can get the values of the roll, the pitch and the yaw the end point. The results are shown below : roll = 0 pitch = 0 yaw = -2.0962
~
yx
Fi
re 6 : e lt
f t e f rw r
i em t i
| { ~
| } | { y{ z
A LAB
Module : CE00453-7
To verify these results we do some manual calculation using the rotation and translation matrices applied to this case. For this robot we only need the rotation about Z and translation along X matrices to calculate the forward kinematics. We replace with our values of angles and lengths and after the multiplication of the three rotations by the three translations we obtain these results : -0.5 -0.86 0 0 0.86 -0.5 0 0 0 0 1 0 -213.2 331.2 0 1
The slight differences between the results are due to approximations done in previous steps of the calculation. To calculate the roll, pitch and yaw we will use the formulas below :
As our r31, r32 and r33 e ual to 0, X and Y e ual to 0 and we find Z = -2.0974. The difference of 0.0012 is due to previous approximation. The manual calculation and MATLAB give almost the same results.
Module : CE00453-7
Section 2
Module : CE00453-7
The robot has to work in the same workspace as the human operator did before, so more than the Plexiglas box, one bumper pole one each side of the arm will stop it if , in case ofa problem, the arm decides to go behind its workstation. Besides, these bumpers are an additional security for the worker, in case he has to penetrate inside the Plexiglas fence through the gate. Also there is the possibility to put another cashier robot in the other side, next to this one to optimise place.
10
Module : CE00453-7
This arm has six degrees of freedom which assures an excellent mobility.The robot is quiet compact so a small work-envelope fits. Also, it is waterproof and it benefits a total dust protection. The payload of this arm is 3.5 kg with a maximum of 9 kg. To this we must add the weight of the gripper and the pinch, so approximately 1.5 kg which gives us 2 kg to 7.5 kg for the payload of the robot, which is enough for supermarket items. The reach at wrist of this arm is 670 mm, but once the gripper and the pinch (gripper's fingers added the reach becomes 940 mm.
11
Module : CE00453-7
This camera will see and analyse the size of each item. It is wide-angle so it sees everything from the arrival of the items on the conveyor to the arm robot placing the item after scanning on the last conveyor. This camera gives directions to the robot arm in all its movements. On each side of the camera there is a matrix of infrared light which spreads in the area and the camera gets the light when it returns and calcula the distance from the time that the tes light needed to come back.
12
Module : CE00453-7
The torque meter will detect if something opposes resistanceon the arm's motor in two cases : y when the gripper grabs an item from the conveyer it must not be cashed by the robot, so the torque meter will detect this and stop the motor y if something goes wrong and the arm touches one of the bumper poles, to avoid any mechanical damage the sensor will also stop the motor. Also, there is the possibility to add a slip detector to improve the robot's abilities if necessary.
13
Module : CE00453-7
The METAL WORKS Series P9-32 has a jaw opening angle adjustable up to 180, so it can grab objects of any size. The clamping force at 20 mm from the jaw pivot is 180 N so it can lift even big bottles or beer packs.
14
Module : CE00453-7
Then we had to find a pinch that could be versatile enough to fit to all items of a supermarket. Is this system does not exist yet we had design the fingers of the grip.
This kind of design can grab big items like a bottle, a box of cereal with the wide inside part, and small items with the hole in the middle of the end of the fingers for cylindrical items, or between the end of fingers for any other shape. To benefit lightness and strength the pinch will made in aluminium.
15
Module : CE00453-7
16
Module : CE00453-7
The price of all these parts must be compared to the cost per year of a cashier : his salary, the cost of an employee to the company , any other spending that the company has to do related to the employee. To get the payback period we have to divide the total price of the robot system by the total cost of a cashier employee per year. The approximate cost is the sum of the elements listed above.
Conclusion
Through this assignment we saw how to manipulate and understand a robot on MATLAB with the Robotic Toolbox, the possibilities of this software. We also learned a lot about how to design an entire robot system and how to apply it in the real world, the aspects of the conception that have to be treated and all the questions that have to b e answered.
17
Module : CE00453-7