Professional Documents
Culture Documents
Design of Fuzzy-PID Controller For Path
Design of Fuzzy-PID Controller For Path
Abstract
In this paper, a design of a fuzzy-PID controller for path tracking of a mobile robot with
differential drive is proposed. The fuzzy-PID controller consists of a PID controller and a
fuzzy controller with two inputs and three outputs. When the system response has the error
and the error rate, the fuzzy controller can tune the parameters of the PID controller. The
model based on Lagrange dynamic approach for a robot with differential drive is described.
The fuzzy-PID controller and the classical PID controller are compared by simulation. The
path tracking of a mobile robot with differential drive was tested using MATLAB/Simulink.
The simulation results show that the fuzzy-PID controller has a better performance than the
classical PID controller. The proposed controller has better convergence rate in comparison
with the classical PID controller for a mobile robot with any arbitrary initial state. It has the
advantages of rapid respond, high stability, tracking accuracy and good anti-interference, so
the fuzzy-PID controller is the appropriate choice for path tracking control of mobile robots
with differential drive
Keywords: Differential drive, Mobile robot, Path tracking, Fuzzy-PID controller,
MATLAB/Simulink
1. Introduction
Mobile robots are complex and combined with many technologies as electronic components,
Received: May 28, 2018
Revised : Sep. 3, 2018 sensors, actuators, controller design, information processing, and communication [1–3]. In the
Accepted: Sep. 22, 2018
process of design and development of mobile robot, the controller is an important role because
Correspondence to: Young-Jae Ryoo working ability of a mobile robot depends on the controllers performance. The key issue in
(yjryoo@mokpo.ac.kr)
©The Korean Institute of Intelligent Systems the control of a mobile robot is the stabilization and the tracking control. The path tracking
control makes the robot track the desired path given by geometric parameters [4, 5]. In the
This
cc is an Open Access article dis- motion control of a mobile robot, the tracking control is essential because the mobile robot is
tributed under the terms of the Creative
required to move at a certain location in a certain time [6–8].
Commons Attribution Non-Commercial Li-
cense (http://creativecommons.org/licenses/
In recent years, many controllers have been designed to control mobile robots. Among
by-nc/3.0/) which permits unrestricted non- several control method, the PID controller used widely in the robot field. By using PID control,
commercial use, distribution, and reproduc- both stability and tracking control can be achieved but accuracy is not high. Fuzzy logic
tion in any medium, provided the original control for autonomous vehicle has gained significant popularity in the last decades due to its
work is properly cited.
highly successful implementation in almost all fields.
| 220
International Journal of Fuzzy Logic and Intelligent Systems, vol. 18, no. 3, September 2018
2.2 Model of Mobile Robot with Differential Drive The kinetic energy is expressed as:
The mobile robot with differential drive has two wheels, each 1 1
Tc = mc vc2 + Ic θ̇2 , (3)
wheel with diameter 2r. Given a point P centered between 2 2
the two drive wheels, a distance from each wheel to a point P 1 2 1 1
TwR = mw vw + Im θ̇2 + Iw ϕ̇2R , (4)
is l. θ is the angular between robot reference frame (XR , YR ) 2 2 2
1 2 1 1
and global reference frame (XI , YI ). Given r, l, θ, and ϕ̇1 TwL = mw vw + Im θ̇2 + Iw ϕ̇2L . (5)
2 2 2
and ϕ̇2 is the spinning speed of the right wheel and left wheel,
respectively. where
221 | Do Khac Tiep, Kinam Lee, Dae-Yeong Im, Bongwoo Kwak, and Young-Jae Ryoo
http://doi.org/10.5391/IJFIS.2018.18.3.220
Tc : the kinematic energy of a robot platform. The matrix associated with the kinematic constraints:
TwR : the kinematic of right wheel.
C1
TwL : the kinematic of left wheel.
C2
mc : the mass of the robot platfrom without the
ΛT (q) =
C3 . (15)
wheel and motor.
C4
mw : the mass of wheel (including motor).
C5
Ic : the moment of inertia of robot.
Iw : the moment of inertia of each driving wheel
From Eqs. (10) to (14) the motion of robot can be represented
with a motor about the wheel axis.
by Eq. (16)
Im : the moment of inertia of each driving wheel
with a motor about the wheel diameter. M (q)q̈ + V (q, q̇) + F (q̇) + G(q) + τd = B(q)τ − ΛT (q)λ ,
(16)
m = mc + 2mw : total mass of the robot. In the robot reference frame and the global reference frame, the
I = Ic + mc d2 + 2mw l2 + 2Im : total inertial. position of any point on the robot can be defined as follows:
C1 , C2 , C3 , C4 , C5 : coefficients of kinematic constraints.
www.ijfis.org Design of Fuzzy-PID Controller for Path Tracking of Mobile Robot with Differential Drive | 222
International Journal of Fuzzy Logic and Intelligent Systems, vol. 18, no. 3, September 2018
ẋ ẋR
ξ˙I = ẏ and ξ˙R = ẏR
θ̇ θ̇R
223 | Do Khac Tiep, Kinam Lee, Dae-Yeong Im, Bongwoo Kwak, and Young-Jae Ryoo
http://doi.org/10.5391/IJFIS.2018.18.3.220
4. Simulation
www.ijfis.org Design of Fuzzy-PID Controller for Path Tracking of Mobile Robot with Differential Drive | 224
International Journal of Fuzzy Logic and Intelligent Systems, vol. 18, no. 3, September 2018
(a)
(c)
(e)
5. Conclusion
Figure 6. Membership functions of input and output. (a) ‘e’, (b) ‘ce’,
(c) ‘Kp’, (d) ‘Ki’, (e) ‘Kd’. In this paper, a design of fuzzy-PID controller for path tracking
of a mobile robot with differential drive was proposed. The dy-
225 | Do Khac Tiep, Kinam Lee, Dae-Yeong Im, Bongwoo Kwak, and Young-Jae Ryoo
http://doi.org/10.5391/IJFIS.2018.18.3.220
namic and kinematic model for a mobile robot with differential Conflict of Interest
drive based on Lagrange dynamic approach is described. The
proposed fuzzy-PID controller combined a PID controller and No potential conflict of interest relevant to this article was
a fuzzy controller with two inputs and three outputs. When the reported.
system occurs the error and the error rate, the fuzzy controller
tuned the parameters of the PID controller. The designed fuzzy-
www.ijfis.org Design of Fuzzy-PID Controller for Path Tracking of Mobile Robot with Differential Drive | 226
International Journal of Fuzzy Logic and Intelligent Systems, vol. 18, no. 3, September 2018
[3] R. Siegwart and I. R. Nourbakhsh, Introduction to Au- [12] M. Rabah, A. Rohan, and S. H. Kim, “Comparison of
tonomous Mobile Robots. Cambridge, MA: MIT Press, position control of a gyroscopic inverted pendulum using
2004. PID, fuzzy logic and fuzzy PID controllers,” International
Journal of Fuzzy Logic and Intelligent Systems, vol. 18,
[4] C. C. De Wit and R. Roskam, “Path following of a 2-DOF no. 2, pp. 103-110, 2018. https://doi.org/10.5391/IJFIS.
wheeled mobile robot under path and input torque con- 2018.18.2.103
strains,” in Proceedings of IEEE International Conference
on Robotics and Automation, Sacramento, CA, pp. 1142- [13] S. H. Park, K. W. Kim, W. H. Choi, M. S. Jie, and Y. I.
1147, 1991. https://doi.org/10.1109/ROBOT.1991.131749 Kim, “The autonomous performance improvement of mo-
bile robot using type-2 fuzzy self-tuning PID controller,”
[5] S. F. Wu, J. S. Mei, and P. Y. Niu, “Path guidance Advanced Science and Technology Letters, vol. 138, pp.
and control of a guided wheeled mobile robot,” Control 182-187, 2016. https://doi.org/10.14257/astl.2016.138.37
Engineering Practice, vol. 9, no. 1, pp. 97-105, 2001.
https://doi.org/10.1016/S0967-0661(00)00070-8 [14] D. R. Parhi and M. K. Singh, “Intelligent fuzzy interface
technique for the control of an autonomous mobile robot,”
[6] K. Watanabe, “Control of an omnidirectional mobile Proceedings of the Institution of Mechanical Engineers,
robot,” in Proceedings of the 2nd International Confer- Part C: Journal of Mechanical Engineering Science, vol.
ence on Knowledge-Based Intelligent Electronic Systems, 222, no. 11, pp. 2281-2292, 2008. https://doi.org/10.1243/
Adelaide, Australia, 1998, pp. 51-60. https://doi.org/10. 09544062JMES955
1109/KES.1998.725827
[15] Stanford Encyclopedia of Philosophy, “Fuzzy logic,”
[7] D. R. Parhi and S. Kundu, “A hybrid fuzzy controller for 2016, Available: https://plato.stanford.edu/entries/logic-
navigation of real mobile robot,” International Journal of fuzzy/
Applied Artificial Intelligence in Engineering System, vol.
[16] J. G. Ziegler and N. B. Nichols, “Optimum settings for
3, no. 1, pp. 19-33, 2011.
automatic controllers,” Transactions of the ASME, vol. 64,
[8] D. R. Parhi, “Navigation of mobile robots using a fuzzy no. 11, pp. 759-768, 1942.
logic controller,” Journal of Intelligent and Robotic Sys-
[17] D. K. Pratihar, K. Deb, and A. Ghosh, “Fuzzy-genetic
tems, vol. 42, no. 3, pp. 253-273, 2005. https://doi.org/10.
algorithms and mobile robot navigation among static ob-
1007/s10846-004-7195-x
stacles,” in Proceedings of the 1999 Congress on Evolu-
tionary Computation, Washington, DC, 1999, pp. 327-333.
[9] C. S. Lee, T. Braunl, and A. Zaknich, “A rough-fuzzy
https://doi.org/10.1109/CEC.1999.781943
controller for autonomous mobile robot navigation,” in
Proceedings of the 3rd International IEEE Conference
on Intelligent Systems, London, UK, 2006, pp. 679-682.
https://doi.org/10.1109/IS.2006.348501
227 | Do Khac Tiep, Kinam Lee, Dae-Yeong Im, Bongwoo Kwak, and Young-Jae Ryoo
http://doi.org/10.5391/IJFIS.2018.18.3.220
Do Khac Tiep received his B.S. degree from versity, Daejeon, Korea. He is currently working as a junior
Department of Electrical and Electronics, Viet- researcher at Korea Institute of Industrial Technology, Gwangju,
nam Maritime University, Haiphong, Viet- Korea. His research interests include the analysis, design, con-
nam in 2009. He received M.S. degree of trol, and optimization of power electronic converters and battery
Vietnam Maritime University in 2012. From system.
2009 to 2015, he was a teacher at Vietnam Maritime University. E-mail: bwkwak11@kitech.re.kr
Since 2016, he has been studying doctor course in the Depart-
ment of Control Engineering and Robotics, Mokpo National Young-Jae Ryoo received his Ph.D, M.S. and
University, Korea. B.S. degrees in the Department of Electrical
E-mail: dotiep84@gmail.com Engineering, Chonnam National University,
Korea in 1998, 1993, and 1991, respectively.
Kinam Lee Lee received his B.S. degree He was a visiting researcher in North Car-
from the department of Control Engineering olina A&T State University, USA, in 1999. He was a visiting
and Robotics, and M.S. and Ph.D degrees professor in the Department of Mechanical Engineering, Vir-
from the department of Electrical Engineer- ginia Tech, USA from 2010 to 2012. He is currently a professor
ing of Mokpo National University, in 2011, in the Department of Control Engineering and Robotics, Mokpo
2013, and 2018 respectively. He is currently working as a National University, Korea from 2000. He also served as a di-
post-doctoral researcher at the iSL(intelligent Space Labora- rector with the intelligent space laboratory in Mokpo National
tory), Mokpo National University. His research interests in- University, where he is responsible for the research projects in
clude mechanical design, development and walking of robot the area of intelligence, robotics and vehicles. He is currently a
and humanoid. board member of Korean Institute of Intelligent Systems from
Email: knlee@mokpo.ac.kr 2002, an editor for the Journal of Korean Institute of Electrical
Engineering from 2010, an editor for the Journal of Fuzzy Logic
Dae-Yeong Im received his Ph.D,, M.S., and and Intelligent Systems from 2009, and a committee member
B.S. degree in the Department of Control Sys- of the International Symposium on Advanced Intelligent Sys-
tem Engineering, Mokpo National University, tems from 2005. He served as a general chair of International
Korea in 2002, 2004, and 2008 respectively. Symposium on Advanced Intelligent System in 2015. He won
He is currently a senior researcher for Au- the outstanding paper awards, the best presentation awards,
tomotive Components & Materials R&D Group, the Korea and the recognition awards in International Symposiums on
Institute of Industrial Technology (KITECH), Korea form 2009, Advanced Intelligent Systems. He is the author of over 200
From 2009 to current, he is currently a board member of Ko- technical publications. His research interests include intelli-
rean Institute of Intelligent Systems. His research interests are gent space, humanoid robotics, legged robotics, autonomous
automated guided vehicle (AGV), intelligent system, unmanned vehicles, unmanned vehicles, wheeled robotics and biomimetic
driving system, robotic vehicle, and mobile robot. robotics.
E-mail: dylim@kitech.re.kr E-mail: yjryoo@mokpo.ac.kr
www.ijfis.org Design of Fuzzy-PID Controller for Path Tracking of Mobile Robot with Differential Drive | 228