Académique Documents
Professionnel Documents
Culture Documents
1.Introduction
www.intechopen.com
Int Kern:
J Adv Modeling,
Robotic Sy,Simulation
2012, Vol.and
9, 58:2012
Claudio Urrea and John
Control
of a Redundant SCARA-Type Manipulator Robot
2.RedundantRobots
n
x
y li cos i ,
i 1
li sin i ,
i 1
(1)
j .
(2)
j 1
Figure1.SpecialPurposeDexterousManipulator.
Evenifthemajorityofnonredundantmanipulatorshave
enough degrees of freedom to perform their main tasks,
for example, position and/or orientation tracking, it is
known that their restricted manipulability leads to a
reduction of the work space, due to mechanical
limitations of the joints and the presence of obstacles in
this space. This problem has motivated researchers to
studymanipulatorsbehaviorwhenaddingmoredegrees
of freedom (kinematic redundancy), permitting these
systems to manage additional tasks defined by the user.
Such tasks can be represented as kinematic functions,
including not only the kinematic functions reflecting
some desirable properties of the manipulators behavior,
likejointscharacteristicsandobstacleavoidance,butalso
canbeexpandedtoincludedynamicyieldmeasurements
throughthedefinitionoffunctionsintherobotsdynamic
model,likeimpactforce,controlofinertia,etc.[8].
3.ScaraTypeRedundantManipulator
www.intechopen.com
prismaticmovementalongthezaxisandthedistributionof
thecoordinateaxessystemsandthepositionofcentroids.
l2
q2 ( 2)
z1
y1
O1
x1
O2
lc2
q1
(d 1)
q 4 ( 4)
z3
x3
O3
x2
lc4
lc3
c2 cos2 ,
z4
lc5
l1
lc1
q5
(d 5)
x5
O6
z5
y0
O0
y5
x0
Figure4.SchemeofaSCARAtyperedundantmanipulator.
Next,weproceedtoperformthecalculationscorresponding
tothemanipulatorskinematicmodel.
3.1Kinematics
di
ai
l1+d1
l2
l3
2
3
4
l4
180
l5+d5
- cos i sin i
sin i sin i
cos i cos i
sin i
- sin i cos i
cos i
T1 1T2 2 T3 ,
T T
1
(3)
cos i
sin
i
i 1
Ti
0
c234 cos2 3 4 .
ai cos i
ai sin i
,
(4)
di
T2 2 T3
s 234
- c 234
-1
l2 c 2 l3 c 23 l4 c 234
l2 s 2 l3 s 23 l4 s 234
,
l1 d1 l5 d5
www.intechopen.com
(8)
T3 ,
y0
(x,y)
lc4
lc3
l4
lc2
O0
(5)
c 234
s
T 2 34
0
(7)
rearranging,weobtain:
c23 cos2 3 ,
Table1.DenavitHartembergparameterassignment.
i -1
s234 sin2 3 4 ,
0 0 0 1
Articulacini
s23 sin2 3 ,
n o a p
(6)
tij ,
y4
l5
z0
s2 sin2 ,
x4
O4
y3
l4
l3
q3 ( 3)
z2
y2
where:
l3
x0
l2
Figure5.SchemeofthethreerotationalDOFintheSCARAtype
redundantrobotmanipulator.
: Vectorofgeneralizedforces(forcesandtorques).
Inthisway,thedynamicmodelofamanipulatorwithn
jointscanbeexpressedthroughEq.(17)[9,12,13]:
where:
(9)
3 arccos ,
13
13
2
2
1 l3
4l l x
13
y2
1
2
4l1l3 ,
2 2arctan ,
(11)
G : Vectorofgravitationalforce(n 1 d i m e n s i o n ) .
: Vectorofjointacceleration(n 1 d i m e n s i o n ).
q
(12)
F : Vectoroffrictionforces(n 1 d i m e n s i o n ).
1
2
y l2 s3 l3 s23
d5 l1 d1 l5 z ,
: Vectorofgeneralizedforces(n 1 d i m e n s i o n ).
M : Inertiamatrix(n n d i m e n s i o n ).
C : Vector of centrifugal and Coriolis forces (n 1
d i m e n s i o n ).
q : Componentsofthejointpositionvector.
q : Componentsofthejointspeedvector.
(10)
l2 l1 l3 4l1l3 ...
4l l l 2l l l
C q, q G q F q , (17)
M q q
4 3 .
M 11
M
21
M M 31
M 41
M 51
(13)
(14)
wherezandd1areknown.
3.2Dynamics
Havinginmindtheabovepresentedmanipulator,itisnow
necessary to obtain its dynamic model. For this purpose,
we will employ the LagrangeEuler formulation that is
based on the principle of energy conservation [10]. Next,
we need to obtain the manipulators kinetic energy and
potential energy. Therefore, to obtain the dynamic
equation of the robotic manipulator, we must determine
[11]:
d L q, q L q, q
,
dt q
q
where:
L : Lagrangianfunction(Lagrangian).
K : Kineticenergy.
U : Potentialenergy.
q : Vectorofgeneralized(joint)coordinates.
q : Vectorofgeneralized(joint)speeds.
M 14
M 22
M 32
M 42
M 52
M 23
M 33
M 43
M 53
M 24
M 34
M 44
M 54
M 15
M 25
M 35 ,
(18)
M 45
M 55
M 12 M 21 M 13 M 31 M 14 M 41 ...
M 25 = M 52 = M 35 M 53 = M 45 M 54 0
M 15 M 51 m5
(20)
(21)
M 22 lc 2 2 m2 l2 2 lc 32 2l2 lc 3 c3 m3 ...
2 l3 lc 4 c 4 l2 lc 4 c34 m4 ...
manipulatorskineticandpotentialenergy,
theLagrangian(Eq.(15)),and
toreplaceinLagrangeEulerequation(16),
L q, q K q, q U q ,
M13
M 11 m1 m2 m3 m4 m5 , (19)
M 12
(22)
2 l3 l4 c 4 l2 l4 c34 m5 ...
(15)
(16)
I 2 z z I3z z I 4 z z
M 23 M 32 lc 32 l2 lc 3 c3 m3 I 3 z z I 4 z z ...
lc 4 l2 l3 c3 2l3 lc 4 c 4 m4 ...
(23)
l4 2 l2 l3 c3 2l3 l4 c 4 m5
M 24 M 42 lc 4 2 l3 lc 4 c4 l2 lc 4 c34 m4 ...
l3 l4 c4 l2 l4 c34 m5 I 4 z z
(24)
www.intechopen.com
l4 2 2l3 l4 c4 m5 I 3 z z I 4 z z
M 34 M 43 lc 4 2 l3 lc 4 c4 m4 ...
l3 l4 c4 m5 I 4 z z
(25)
(26)
M 44 lc 42 m4 l42 m5 I 4 zz
(27)
M 55 m5
(28)
(29)
C11 C15 0
(30)
lc 4 m4 l4 m5 l2 s34 32 ...
lc 4 m4 l4 m5 l2 s34 l3 s 4 4 2 ...
2 lc 3 m3 l3 m4 l3 m5 l2 s3 2 3 ...
lc 4 m4 l4 m5 l2 s34 2 3 ...
2 lc 4 m4 l4 m5 l2 s34 l3 s 4 2 4 ...
2 lc 4 m4 l4 m5 l3 s 4 l2 s34 3 4
Vm q, q q G q F q
M q q
(31)
Vm
(32)
lc 4 m4 l4 m5 l3 s4 32 ...
2 l4 m5 lc 4 m4 l3 s 4 2 3
F21
F31
F41
0 0 0 m5 g z
F51
T
s 4 sin 4 ,
m1 : Massofthefirstlink.
m2 : Massofthesecondlink
m3 : Massofthethirdlink.
www.intechopen.com
2 34
(39)
c4
2 34 2
c4
(40)
2 34 3
lc 4 m4 l4 m5 l3 s4 l2 s34 4
c3 cos3 ,
lc 3 m3 l3 m4 l3 m5 l2 s3 3 ...
l m l m l s ...
(35)
where:
s3 sin 3 ,
Vm 22 lc 3 m3 l3 m4 l3 m5 l2 s3 3 ...
l m l m l s ...
Vm 23 lc3 m3 l3 m4 l3 m5 l2 s3 2 ...
l m l m l s ...
(38)
lc 4 m4 l4 m5 l3 s 4 l2 s34 4
F11
(37)
c4
(33)
(34)
Vm 32 Vm33 Vm34 Vm 35
Vm 42 Vm 43 Vm 44 Vm 45
Vm 52 Vm53 Vm54 Vm 55
Vm 51 Vm 52 Vm 53 Vm 54 Vm 55 0
G m1 m2 m3 m4 m5 g z
Vm11
V
m 21
Vm 31
Vm 41
Vm 51
Vm 25 Vm31 Vm 35 Vm 41 Vm 44 Vm 45 ...
(36)
C13 lc 3 m3 l3 m4 l3 m5 l2 s3 2 2 ...
lc 4 m4 l4 m5 l2 s34 22 ...
lc 4 m4 l4 m5 l3 s 4 4 2 ...
2 lc 4 m4 l4 m5 l3 s 4 2 4 ...
2 lc 4 m4 l4 m5 l3 s 4 3 4
m4 : Massofthefourthlink.
m5 : Massofthefifthlink.
l1 : Lengthofthefirstlink.
l2 : Lengthofthesecondlink.
l3 : Lengthofthethirdlink.
l4 : Lengthofthefourthlink.
l5 : Lengthofthefifthlink.
lc2 : Lengthfromtheoriginofthe2ndlinktoitscentroid.
lc3 : Lengthfromtheoriginofthe3rdlinktoitscentroid.
lc4 : Lengthfromtheoriginofthe4thlinktoitscentroid.
l2zz : Inertialmomentumofthe2ndlinkwithrespecttothe
1stzaxisofitsjoint.
l3zz : Inertialmomentumofthe3rdlinkwithrespecttothe
1stzaxisofitsjoint.
l4zz : Inertialmomentumofthe4thlinkwithrespecttothe
1stzaxisofitsjoint.
Inthemanipulatorsdynamicmodel,aspointedinEq.(17),
thetermcorrespondingtocentrifugalandCoriolisforcesis
frequentlyexpressedthroughaVmmatrix,asin(36):
Vm 24 lc 4 m4 l4 m5 l3 s 4 l2 s34 2 3 4
Vm32 lc 3 m3 l3 m4 l3 m5 l2 s3 2 ...
l m l m l s ...
c4
2 34
(41)
(42)
lc 4 m4 l4 m5 l3 s 4 4
Claudio Urrea and John Kern: Modeling, Simulation and Control
of a Redundant SCARA-Type Manipulator Robot
Vm33 lc 4 m4 l4 m5 l3 s4 4
(43)
Vm34 lc 4 m4 l4 m5 l3 s 4 2 3 4
(44)
Vm 42 lc 4 m4 l4 m5 l2 s34 l3 s 4 2 ...
l m l m l s
(45)
c4
3 4
Vm 43 lc 4 m4 l4 m5 l3 s 4 2 3
(46)
4.ActuatorDynamics
1 ka
1
Ak s k p vi J m q ...
n Ra
n
1
k
1 k a kb
1
Bm q a Ak s pq f ec q
n Ra
Ra
n
n
(47)
(48)
kisaconstantusedtoincreaseorreducethecurveslope
inthezerocrossing.
5.ConsideredControllers
Nextwepresentasummaryofthecontrollersconsidered
formodelevaluationoftherobotalongwithitsactuators,
withtheirrespectiveperformance.
6.HyperbolicSineCosineController
Thiscontroller,alreadypresentedin[15],iscomposedbya
proportional part based on hyperbolic sinecosine
functions,aderivativepartbasedonahyperbolicsine,and
gravitycompensation,aspointedinEqs.(49)and(50).
where:
n : Gearratio(n1/n2).
ka : Motortorqueconstant.
Ra : Armatureresistance.
A : Gainofthepoweramplifier(Hbridge).
ks : Comparatorsensibility.
kp : TotalPWM(kp1kp2)conversiongain.
vi : Servomotorinputvoltage.
Jm : Motorinertialmomentum.
kb : Inverseelectromotiveforceconstant.
Bm : Motorviscousfriction.
p : Positionpotentiometergain.
k : tanhfunctionslopegain.
K v sinh q G q
qe q d - q
(49)
(50)
where:
K p diag K p1 , K p 2 , ... , K pn
(51)
Kv
(52)
Derivativegainmatrix,diagonalanddefinitepositive
(nndimension).
www.intechopen.com
qe : Jointpositionerrorvector(n 1 d i m e n s i o n ).
qd : Jointdesiredpositionvector(n 1 d i m e n s i o n ).
In[15]itisestablishedthattheroboticmanipulatorjoint
position error will asymptotically tend to zero as time
approachesinfinity:
lim q e 0
(53)
6.2CalculatedTorqueController
a
d q e
1
dt q
a2
a1 q
a2 M q
-1
(59)
where:
: Estimationofinertiamatrix(n n d i m e n s i o n ).
M
(n 1 d i m e n s i o n ).
(54)
K sinh q C q, q q
K diag K1 , K 2 , ... , K n
q, q G
q F q
C
6.1SlidingModeController
Thecontrollawcorrespondsto:
K sgn s
(55)
where:
q q
d K v q e K p qe ...
M
: Estimationofgravityforcevector(n1dimension).
G
F : Estimationoffrictionforcesvector(n1dimension).
Kv : Definite positive diagonal matrix (nn dimension)
definedin(52).
Kp : Definite positive diagonal matrix (nn dimension)
definedin(51).
qe : Joint position error vector (n 1 d i m e n s i o n )
definedin(50).
q q d - q
(60)
e
q e : Jointspeederrorvector(n 1 d i m e n s i o n ).
d : Jointdesiredaccelerationvector(n 1 d i m e n s i o n ).
q
If the estimation errors are little, joints errors
approachtoalinearequation,aspointedinEq.(61).
e K v q e K p q e 0
q
(61)
6.SimulationEnvironment
(56)
K : Definitepositivediagonalmatrix(n ndimension).
andtheslidingsurfaceisgivenby:
where:
s W q q d q q d
(57)
W diag W1 , W2 , ... , Wn
(58)
W : Definitepositivediagonalmatrix(nndimension).
www.intechopen.com
Link1
Link2
Link3
Link4
Link5
Units
0.524
0.2
0.2
0.2
0.14
[m]
lc
[m]
0.5114
[kg]
[kgm2]
m 1.228 1.023
1.023
1.023
Izz
Fv
0.03
0.025
0.025
0.025
0.02 [Nms/rad]
Feca 0.05
0.05
0.05
0.05
0.03
[Nm]
Fecb 0.05
0.05
0.05
0.05
0.03
[Nm]
KindofController
Constants
Kp1,Kp2,Kp3,
Kp4,Kp5
Kv1,Kv2,Kv3,
Kv4,Kv5
K1,K2,K3,
K4,K5
W1,W2,W3,
W4,W5
Calculated
Torque
400,300,200,
__
400,600,700,
100,100
800,100
5,4,3,
__
120,100,60,
2,2
50,40
__
0.74,1.45,1.4,
__
1.35,1.54
__
10,10,10,
__
10,10
SinhCosh
SlidingMode
Table4.Gainsconsideredforthecontrollers.
Table2.Parametersconsideredforthemanipulador.
Table3.showsthesetofparametervaluesusedforeach
actuator.
7.Results
Ra
1.6
1.6
1.6
[]
La
0.0048
0.0048
0.0048
[H]
Jm
0.007
0.007
0.007
[kgm2]
Bm 0.01413
0.01313
0.01208
[Nms/rad]
ka
0.35
0.35
0.35
[Nm/A]
kb
0.04
0.04
0.04
[Vs/rad]
Feca
0.05
0.05
0.03
[Nm]
Fecb
0.05
0.05
0.03
[Nm]
n
1/600
1/561.6
1/561.6
[Times]
A
15
15
15
[Times]
ks
10
10
10
[Times]
kp
1
1
1
[Times]
p
1
1
1
[Times]
Table3.Parametersconsideredforservomotors.
Figure9.TestCartesiandesiredtrajectory.
xyzd : DesiredCartesiantrajectory,inspace.
xyz : RealCartesiantrajectory,inspace.
xyd : DesiredCartesiantrajectory,inplanexy.
xy : RealCartesiantrajectory,inplanexy.
yzd : DesiredCartesiantrajectory,inplaneyz.
yz : RealCartesiantrajectory,inplaneyz.
www.intechopen.com
Figure 11. Comparison in plane xy of the desired and real
Cartesiantrajectoriesusingthehyperbolicsinecosinecontroller.
f1 : Forceappliedinjoint1.
2 : Torqueappliedinjoint2.
3 : Torqueappliedinjoint3.
4 : Torqueappliedinjoint4.
f5 : Forceappliedinjoint5.
Figure 14. Forces and torques applied to the robot when using
thehyperbolicsinecosinecontroller.
Figure 12. Comparison in plane yz of the desired and real
Cartesiantrajectoriesusingthehyperbolicsinecosinecontroller.
ex
ey
ez
en
www.intechopen.com
: ErrorinCartesiantrajectory,xaxis.
: ErrorinCartesiantrajectory,yaxis.
: ErrorinCartesiantrajectory,zaxis.
: Errorinjointtrajectory,wherenrepresentsjoints1
to5.
Claudio Urrea and John Kern: Modeling, Simulation and Control
of a Redundant SCARA-Type Manipulator Robot
Figure16.Jointtrajectoryerror,whenusingthehyperbolicsine
cosinecontroller.
Figure19.ComparisonintheplaneyzofCartesiandesiredand
realtrajectoriesusingtheslidingmodecontroller.
www.intechopen.com
Figure 21. Forces and torques applied to the robot when using
theslidingmodecontroller.
Figure23.Errorinjointtrajectorywhenusingtheslidingmode
controller.
www.intechopen.com
11
Figure29.ErrorinCartesiantrajectorywhenusingthecalculated
torquecontroller.
rms
1
n
ei 2
(62)
i 1
WhereeirepresentsboththejointandCartesiantrajectory
errorsandnisthenumberofdata.
Figure 28. Forces and torques applied to the robot when using
thecalculatedtorquecontroller.
InFig.28areseenthecurvescorrespondingtotheforces
and torques applied by servo motors under the
applicationofthecalculatedtorquecontroller.
Figure31.Performanceindexcorrespondingtojointtrajectory.
www.intechopen.com
Figure33.SchemeofaSCARAtyperedundatrobot(viewA).
Figure34.SchemeofaSCARAtyperedundantrobot(viewB).
www.intechopen.com
8.Conclusions
Fromtheresultsobtained,wecanseethattheredundant
manipulator model presented a path tracking response
whosemaximumerrorswerelessseverewhenusingthe
hyperbolic sinecosine controller than in the other two
cases, leading to more homogeneous manipulator
movements.Wealsoappreciatethatthegreatestjointand
Cartesianerrorsproducedwhentestingtherobotmodel,
bothformaximumandrmsvalues,occurredwhenusing
the calculated torque controller. Consequently, the best
results for the robotic manipulators model performance
were obtained when applying the hyperbolic sinecosine
controller,asshowninFigs.31and32.Itisimportantto
noticethatboththehyperbolicsinecosineandthesliding
mode controllers present a lesser simulation complexity,
since they do not require the second derivative of joint
position. Such a condition can be decisive in the case of
not having highperformance processors. The practical
implementation of the sliding mode controller, however,
has a considerable disadvantage: the controllers high
switching frequency, leading to a remarkable
deteriorationoftheactuators.
9.FurtherResearch
Fromthebehaviorobtainedthroughthesimulationtests
fortheredundantrobotmodelwithitsactuatorsandthe
differentcontrollawsthatwereanalyzed,wecanbegina
newstageinthestudyandanalysisofredundantrobotic
manipulators, consisting in the practical implementation
of real industrialtype robots, its actuators and
controllers, by means of the development of the proper
hardware,asisschematizedinFigs.33and34.
10.Acknowledgements
ThisworkhadthesupportoftheDepartmentofScientific
andTechnologicResearchoftheUniversidaddeSantiago
deChile,throughProject060713UO.
13
11.References
[1]Angulo,J.andAvils,R.,CursodeRobtica,Paraninfo
S.A.,Madrid,1989.
[2] Selig, J. M., Introductory Robotics, Prentice Hall,
London,1992.
[3]Iigo,R.andVidal,E.,RobotIndustrialesManipuladores,
AlfaomegaGrupoEditor,Mxico,2004.
[4] Torres, F. and et al, Robots y Sistemas
Sensoriales,(PearsonEducacinS.A.,Madrid,2002.
[5] Craig, J., Robtica Tercera Edicin, Pearson Educacin,
Mxico,2006.
[6] Rub, J., Cinemtica, Dinmica y Control de Robots
Redundantes y Robots Subactuados, Tesis Doctoral,
Universidad de Navarra, San Sebastin, Espaa,
2002.
[7] Ollero, A., Robtica Manipuladores y Robots Mviles,
Marcombo,S.A.,Barcelona,Espaa,2001.
[8] Patel, R. and Shadpey, F., Control of Redundant Robot
Manipulators,SpringerVerlag,BerlinHeidelberg,2005.
[9] Spong, M., Hutchinson, S. and Vidyasagar, M., Robot
Modeling and Control, First Edition, John Wiley &
Sons,Inc.,NewYork,2005.
[10] Lewis, F., Dawson, D. and Abdallah, Ch., Robot
Manipulator Control Theory and Practice, Marcel
DekkerInc.,NewYork,2004.
[11] Paul, R., Robot Manipulators: Mathematics,
Programming, and Control, The MIT Press.,
Cambridge,Massachusetts,1981.
[12]Angeles,J.,FundamentalsofRoboticMechanicalSystem:
Theory, Methods, and Algorithms, Third Edition,
Springer,NewYork,2006.
[13] Craig, J., Introduction to Robotics, Mechanics and
Control, AddisonWesley Publishing Company, Inc.,
Reading,Massachusetts,1986.
[14]Urrea,C.andKern,J.,ANewModelforAnalogServo
motors.PracticalImplementations,CanadianJournalon
Automation, Control and Intelligent Systems 2, 29
38,2011.
[15] Barahona, J., Espinosa, L. and Reyes, F., Evaluacin
ExperimentaldeControladoresdePosicintipoSaturados
para Robot Manipuladores, Puebla, Mxico: Congreso
Nacional de Electrnica, Centro de Convenciones
WilliamoJenkins,2002.
[16] DeCarlo, R., Zak, S. and Mathews, G., Variable
StructureControlofNonlinearMultivariableSystems:A
Tutorial,Proc.,IEEE76,212232,1988.
[17] Slotine, J. and Li, W., Applied Nonlinear Control,
PrenticeHallInc.,NewJersey,1991.
[18] Xu, J., Lee, T. H., Wang, M. and Yu, X., Design of
Variable Structure Controllers with Continuous
SwitchingControl,Int.J.ofControl65,409431,1996.
[19] Chen, C. L. and Lin, C. J., A Sliding Mode Control
ApproachtoRoboticTrackingProblem,Barcelona,Spain
IFAC:15thTriennialWorldCongress,2002.
[20] Siciliano, B. and Khatib, O., Handbook of Robotics,
SpringerVerlag,Berlin,Heidelberg,2008.
www.intechopen.com