Professional Documents
Culture Documents
Paper 597
Paper 597
Kenny A. Q. Caldas∗, Júnior A. R. Silva∗, Felix M. Escalante∗, Valdir Grassi Jr∗, Marco
H. Terra∗, Adriano A. G. Siqueira†
∗
Electrical Engineering Department - University of São Paulo at São Carlos
Avenida Trabalhador São-Carlense, 400, São Carlos, SP, Brazil. CEP 13566-590
†
Mechanical Engineering Department - University of São Paulo at São Carlos
Avenida Trabalhador São-Carlense, 400, São Carlos, SP, Brazil. CEP 13566-590
Abstract— The focus of this work is the validation of the Virtual Robot Experimentation Platform, V-REP,
as a reliable and resourceful simulator for robotics applications. For this purpose, a simulated and a real mobile
robot path tracking application are compared under the same conditions. A genetic path planning algorithm
is used for generating the reference path for the mobile robot. A kinematic controller was implemented using
Kanayma’s method. Simulated and experimental results are shown using a mobile robot e-Puck and the high
precision Vicon camera system.
2027
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
and the center of mass Pc ; b the distance between (Siqueira et al., 2010). This way, S(q1 )T becomes
the actuated wheel and the symmetry axis of the
robot; r the wheel radius; α the clockwise angle S(q1 )T =
between the inertial reference axis x and the sym-
c(b cos α − d sin α) c(b cos α + d sin α)
metry axis of the robot and θr and θl are the an- c(b cos α + d sin α) c(b cos α − d sin α)
gular displacement for the right and left wheels.
c −c
, (8)
1 0
0 1
r
where c = 2b . The kinematic model can be ex-
pressed by
q˙1 (t) = S(q1 )q˙2 (t) (9)
or
x˙c = c(b cos α − d sin α)θd + c(b cos α + d sin α)θe
y˙c = c(b cos α + d sin α)θd + c(b cos α − d sin α)θe
α̇ = c(θr − θl).
(10)
ẋc cos α + ẏc sin α + bα̇ − rθr = 0 (6a) The desired linear and angular velocities, v d
ẋc cos α + ẏc sin α − bα̇ − rθl = 0. (6b) and ω d , are calculated by the kinematic controller
by using the error between the current and desired
Based on these equations, it is possible to pose based on the given references by
rewrite the three kinematic constraints of the dif- p
vr = (ẋr )2 + ẏr )2 ωr = α˙r . (13)
ferential mobile robot model in the matrix form
T
by using q1 = [xc yc α θr θl ] as the gener- Based on these equations, it is possible to de-
alized coordinate of the mobile robot fine the kinematic controller by
− sin α cos α −d 0 0 vd = vr cos(αe ) + Kx xe
R(q1 ) = − cos α − sin α −b r 0 . (7) (14)
wd = wr + vr (Ky ye + Kα sin(αe )),
− cos α − sin α b 0 r
where Kx , Ky e Kα are the controller gains.
The matrix R(q1 ) is full rank and can In order to correctly update the desired values
be expressed as [R(q1 ) R2 ], to ensure that for the left and right wheels, the angular velocities
R(q1 ) avoids singularity and that S(q1 ) = generated by the controller must consider the ra-
−1 T
(R1 (q1 R2 )T I4 is in the null space of R(q1 ) dius and distance between the wheels. Therefore,
2028
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
the relation between the angular velocities and the to one of the walls, the mobile robot would be in
robot physical parameters is given by a safe distance.
" #
θ˙d
d 1/r b/r vd
q̇2 = ˙rd = , (15)
θ 1/r −b/r ωd
l
4 Simulation setup
(a) (b)
2029
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
7 Conclusion
Figure 8: Real map used in the experiment. This paper presented a comparison between a sim-
ulated and a real robotic system. A genetic algo-
rithm was used to perform a collision-free path
6 Results and discussion planning of a mobile robot in a structure environ-
ment. This was done by positioning an overhead
The results obtained from the simulation and the camera that could capture a picture of the whole
experiment are shown in Figure 9. The blue and area where the robot will move. In order to do
red curve represent the simulated and real tra- this, a map in V-REPr was designed to replicate
jectories, respectively. The circles are the refer- a real world scenario and the genetic algorithm
ence path generated by the genetic algorithm. It was able to find a feasible path.
is possible to see that both results are very similar, The control strategy was based on the kine-
which shows that using the V-REPr as a proto- matic model of the e-Puck, as shown in the work
typing tool is a good solution, since it is very ac- of Kanayama et al. (1990), which generates the
curate with the real system. The gains used in the desired angular velocities required to keep the mo-
kinematic controller are: kx = 0.1, ky = 1000 and bile robot in the path by using a set of references
kα = 10, based on Equation (14). for the control inputs calculation.
Figure 10 shows the orientation angle and Fig- The results were obtained initially in the sim-
ure 11 the lateral error for simulated and real sce- ulation environment in V-REPr and later in a real
narios. The distance traveled by the e-Puck is world experiment, by using the Vicon cameras for
used as abscissa for these graphs. Both results localization. The comparison of the results ob-
showed that under the same conditions, V-REPr tained was satisfactory, since the simulation could
could reproduce very closely the e-Puck behavior reproduce very accurately the behavior of the e-
during its movement. Puck in the real system, which validates the use
2030
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
Conference on Emerging Technologies Fac-
tory Automation (ETFA), pp. 1–5.
Ismail, A., Sheta, A. and Al-Weshah, M. (2008).
A mobile robot path planning using genetic
algorithm in static environment, Journal of
Computer Science 4(4): 341–344.
Kala, R. (2014). Code for robot path plan-
ning using genetic algorithms, Available at
http://rkala.in/codes.html .
Figure 11: Lateral error of the experiment and Kanayama, Y., Kimura, Y., Miyazaki, F. and
simulation. Noguchi, T. (1990). A stable tracking con-
trol method for an autonomous mobile robot,
of V-REPr as a resourceful tool for quick proto- Robotics and Automation, 1990. Proceed-
typing of robotics systems. ings., 1990 IEEE International Conference
Future works involve the comparison of simu- on, IEEE, pp. 384–389.
lations in different environments and robotics sys- Marhefka, D. W. and Orin, D. E. (1996). Xani-
tems, as an alternative to reduce the time taken mate: an educational tool for robot graphical
to develop real world robotics applications. simulation, IEEE Robotics Automation Mag-
azine 3(2): 6–14.
8 Acknowledgments
Michel, O. (2004). Cyberbotics ltd. webotsTM :
This work is supported by National Council for professional mobile robot simulation, Inter-
Scientific and Technological Development (CNPq) national Journal of Advanced Robotic Sys-
under grants 142080/2016-0 and by Coordination tems 1(1): 5.
for the Improvement of Higher Education Person-
Mirheydar, H., Jones, M., Koeneman, K. S. and
nel (CAPES) under grants 1584685.
Sweet, R. M. (2009). Robotic surgical edu-
cation: a collaborative approach to training
References postgraduate urologists and endourology fel-
lows, Jsls 13(3): 287–292.
Bers, M., Ponte, I., Juelich, K., Viera, A. and
Schenker, J. (2002). Teachers as designers: Peralta, E., Fabregas, E., Farias, G., Vargas, H.
Integrating robotics in early childhood edu- and Dormido, S. (2016). Development of a
cation, Information Technology in childhood khepera iv library for the v-rep simulator,
education 1: 123–145. IFAC-PapersOnLine 49(6): 81 – 86.
Church, W. J., Ford, T., Perova, N. and Rogers, Rohmer, E., Singh, S. P. and Freese, M. (2013a).
C. (2010). Physics with robotics-using lego V-rep: A versatile and scalable robot simula-
mindstorms in high school education., AAAI tion framework, Intelligent Robots and Sys-
Spring Symposium: Educational Robotics tems (IROS), 2013 IEEE/RSJ International
and Beyond. Conference on, IEEE, pp. 1321–1326.
Coelho, P. and Nunes, U. (2003). Lie algebra ap- Rohmer, E., Singh, S. P. N. and Freese,
plication to mobile robot control: A tutorial, M. (2013b). V-rep: A versatile and
Robotica 21(5): 483–493. scalable robot simulation framework, 2013
IEEE/RSJ International Conference on In-
Corke, P. I. (1996). A robotics toolbox for mat- telligent Robots and Systems, pp. 1321–1326.
lab, IEEE Robotics Automation Magazine
3(1): 24–32. Siqueira, A. A., Terra, M. H. and Francisco, T. B.
(2010). Controle robusto de robôs móveis em
Fabregas, E., Farias, G., Peralta, E., Vargas, H. formação sujeitos a falhas, Revista Controle
and Dormido, S. (2016). Teaching control & Automaçao/Vol 15: 1.
in mobile robotics with v-rep and a khepera
iv library, 2016 IEEE Conference on Control Torres-Torriti, M., Arredondo, T. and Castillo-
Applications (CCA), pp. 821–826. Pizarro, P. (2016). Survey and comparative
study of free simulation software for mobile
Ferraguti, F., Golinelli, N., Secchi, C., Preda, N. robots, Robotica 34(04): 791–822.
and Bonfè, M. (2013). A component-based
software architecture for control and simula-
tion of robotic manipulators, 2013 IEEE 18th
2031