Professional Documents
Culture Documents
ANFN Controller Based On Differential Evolution For Autonomous Underwater Vehicles
ANFN Controller Based On Differential Evolution For Autonomous Underwater Vehicles
Abstract- The Autonomous Underwater Vehicles (AUVs) sources limit the mission time of the vehicle and autonomy
dynamics have six degrees of freedom and are highly nonlinear limits the degree to which an AUV can be left unattended by
and time varying and the hydrodynamic coefficients of vehicles human operators.
are difficult to estimate accurately because of the variations of PID controller is one of the most widely used control
these coefficients with different navigation conditions and system in real industry control field and has the advantages of
external disturbances such as currents and waves. The path rapid response, good accuracy and stabilization. PID controller
controller of the AUV is a challenging problem due to the [3] is used to control AUV’s heading traditionally. PID
nonlinearities and uncertainties of the AUV dynamics. Thus, the controller is able to achieve control targets for whom can get
controller should be adaptive to handle variations in the accurate model of definite system in math, with permanent
dynamics of the AUV at different maneuvering regimes and work condition and small disturbances. Choosing a proper PID
disturbances arising from both the internal and external sources. parameters becomes a problem here since PID controller
In the present paper Adaptive Neural Fuzzy Network (ANFN)
design is based on a certain vehicle model. Most of the
commercial autopilots for AUVs have PID controllers [4-6]
controller is designed and applied to guide and control the AUV.
due to their simplicity in structure, reliability and ease of
Initially, the controller parameters are generated randomly and design. However, their performance is not all that satisfactory
tuned by Differential Evolution algorithm (DE). The back due to the presence of nonlinearities, disturbances and time
propagation algorithm based upon the error between the actual varying parameters [7,8]. In practice, if a variety of
outputs of the plant and the desired values is then used to adopt immeasurable disturbances are present due to multi-directional
the controller parameters online. The proposed ANFN controller currents or vehicle velocity changes during the operation which
adopts a functional link neural network (FLNN) as the change the hydrodynamic coefficients of the vehicle, the
consequent part of the fuzzy rules. Thus, the consequent part of robustness of PID controller will become worse. Hence, there
controller is a nonlinear combination of input variables. The is a necessity of a computationally efficient controller in the
results show that the performance of the AUV with the ANFN presence of these undesirable characteristics. Intelligent and
controller is having better dynamic performance as compared to adaptive control systems are the most appropriate control
strategies for the AUV where an accurate model of the
the conventional PID, even in the presence of noise and
controlled process is vaguely known.
parameter variations
A neural fuzzy system for nonlinear system control is
Keywords-AUV; AUV dynamic model; neuro-fuzzy control;
neuro-fuzzy mdelling; 6 DOF.
discussed in [9]. This controller is applied to the planetary-
train-type inverted pendulum system and the magnetic
I. INTRODUCTION levitation system in the VisSim solving nonlinear control
problems. The FLNN is a single-layer neural structure capable
The AUV is an underwater system that contains its own of forming arbitrarily complex decision regions by generating
power and is controlled by an onboard computer. The nonlinear decision boundaries with nonlinear functional
fundamental task for these devices is fairly well defined: The expansion. The FLNN [10] was conveniently used for function
vehicle is able to follow a predefined trajectory to reach the approximation and pattern classification with faster
final destination. The main advantage of an AUV is that it convergence rate and less computational loading than a
does not need a human operator. Therefore it is capable of multilayer neural network. Recently, genetic fuzzy systems
doing operations that are too dangerous for a person. They [11,12] have received increasing attention mainly because they
operate in conditions and perform task that humans are not able combine the approximate reasoning method of fuzzy systems
to do efficiently or at all [1]. with the learning capabilities. However, the search is extremely
According to [2] the two most significant technological time-consuming, which is one of the basic disadvantages of all
challenges in AUV’s design are power and autonomy. Power genetic algorithms (GAs).
978-1-4673-4439-5/12/$31.00 2012
c IEEE 184
Since 1995, Differential evolution (DE) has drawn the terms. IJ is a 6x1 vector including the control forces and
attention of many researchers all over the world resulting in moments. . For more details, readers are referred to [16].
many variants of the basic algorithm with improved
performance. DE is arguably one of the most powerful
stochastic real-parameter optimization algorithms. However,
unlike traditional Evolution Algorithms (EAs), the DE-variants
perturb the current generation population members with the
scaled differences of randomly selected and distinct population
members [13]. Reference [14] proposed a generalized hybrid
generation scheme to enhance the exploitation and accelerate
the convergence velocity of the original DE algorithm. Figure 1. UNSW@ADFA AUV.
the ݆ ݄ݐoutput of the FLNN. ݕො݆ denotes the local output of the
FLNN structure and hence, the consequent part of the ݆݄ݐ
fuzzy rule in the ANFN model. The m-dimensional linear
output is given by ŷ = WΦ , where ݕො ൌ ሾݕොͳ ǡ ݕොʹ ǡ ǥ Ǥ ǡ ݕො݉ ሿܶ , m
denotes the number of functional link bases, which equals the
number of fuzzy rules in the ANFN model.
B. ANFN controller structure
The structure of the ANFN model is presented in Fig. 5.
The ANFN model changes a fuzzy IF–THEN rule in the
following form. Figure 5. NFN structure
ሺሻ ǣ ൫ͳ ͳ ǥ ǥ ǥ Ǥ ൯ A. OFF-LINE procedure
This section presents the off-line stage as a first step in
ො ൌ ij ሺሻ ሺͶሻ optimizing and tuning the controller. After the ANFN structure
ൌͳ has been established, the controller enters the parameter-
ൌ ͳ ijͳ ʹ ijʹ
ڮ ij
optimization phase based on Differential Evolution (DE) to
where x i and ݕො݆ are the input and local output variables, adjust the parameters of the network optimally based on a
respectively; FNl is the linguistic term of the precondition part different input-output training data set. DE is known as a
powerful algorithm for real parameter optimization. In DE, an
with Gaussian membership function, N is the number of input
initial population is generated and, for each parent vector from
variables, wij is the link weight of the local output, ϕ M is the
the current population (target vector), a mutant vector (donor
basis trigonometric function of input variables, M is the vector) is obtained. Finally, an offspring is formed by
number of basis function, and rule j is the ݆ ݄ݐfuzzy rule. combining the donor with the target vector. A tournament is
then held between each parent and its offspring with the better
In the precondition part, the input is represented by five
being copied to the next generation [21,22]. The DE learning
Gaussian membership functions. In the consequent part, the algorithm consists of four major steps as follows;
output is generated by FLNN. The function expansion in
FLNN uses trigonometric functions, given by a) Initialization step: The first step in DE is the coding
ሾͳǡ ොͳ ǡ ሺʌොͳ ሻ ǡ ሺʌොͳ ሻሿ for one input variable. It leads of the neural fuzzy network parameters into an individual.
to the weight variables, w, is (4x5) matrix. Equation (5) shows the way of the individual coding of NFN
parameters, where i and j represent the i th input variable and
V. TUNING THE ANFN CONTROLLER the ݆ ݄ݐrule, respectively. In this study, a Gaussian membership
The proposed technique consists of two phases. The first function is used with m ij and σ ij are the mean and variance of
phase is the off-line procedure and the second one is the on-line a Gaussian membership function, respectively, and w Mj
procedure. The target of the off-line phase is to tune and
optimize the controller’s parameters using an optimization represents the corresponding link weight of the consequent part
technique according to a set of input-output data. The on-line that is connected to the ݆ ݄ݐrule node.
procedure aims to adapt the controller online by using the ݈ܽݑ݀݅ݒ݅݀݊ܫൌ ݉ͳ݆ ǡ ݉ʹ݆ ǡ ǥ ǥ Ǥ Ǥ ݆݉݅ ǡ ݆ͳݓǡ ǥ Ǥ ݆ܯݓ ሺͷሻ
input-output measurements of the process which it can be the
ܸሬԦݖǡ ݐൌ ݔԦ ͳݎǡ ݐ ܪൈ ൫ݔԦ ʹݎǡ ݐെ ݔԦ ͵ݎǡ ݐ൯ ሺͺሻ
Autonom ous U nderw ater
R e N FN C ontroller u y
V ehicle
where r1 , r2 and r3 are random numbers (1, 2,..., PS), ?e
and the accuracy indicators of the AUV system is the root Figure 7. The AUV sqeuar motion in XY plane with ANFN and PID.
mean square error (RMSE) and is defined as:
ଵൗ 50
ଶ PID Controller
ͳ
ܴ ܧܵܯൌ ൭ ݀ଶ ൱ ሺͳͻሻ 40
ANFN Controller
݊
ୀଵ
A n g le E r r o r , d e g / s e c
between the desired and the actual trajectory in pitch angle -10
and yaw angle, respectively. The RMSE values of the pitch 0 200 400
Time, sec
600 800
angle error of the system are 4.61 and 0.572 and 10.35 and 5.1 Figure 8. The error in pitch angle.
[7] Chao, H., Y. Cao and Y. Chen, “Autopilots for Small Fixed Wing
0 Unmanned Air Vehicles: a Survey,” Proceeding of IEEE Conference on
Mechatronics and Automation, pp. 3144-3149, 2007.
[8] Jang, J. S. and C. J. Tomlin, “Autopilot Design for the Stanford
-50 DragonFly UAV - Validation through Hardware in the Loop
PID Controller
Simulation,” Proceeding of AIAA Guidance, Navigation, and Control
ANFN Controller Conference and Exhibit, Montreal, Canada, 2001.
-100
0 200 400 600 800 [9] C. H. Chen, c. J. Lin, and c. T. Lin, “nonlinear system control using
Time, sec adaptive neural fuzzy networks based on a modified differential
Figure 9. The error in yaw angle. evolution” IEEE Transactions on systems, man, and cybernetics—part c:
applications and reviews, vol. 39, no. 4, pp. 459-473, July 2009.
5 [10] J.C. Patra, G. Panda, Adriaan van den Bos, Modeling of an intelligent
pressure sensor using functional link artificial neural networks, ISA
Transactions 39 (2000) 15-27.
2.5
[11] Hassanein, O.; Anavatti, S.G.; Ray, T.; , " Genetic Fuzzy Controller for
Robot Manipulator Position Control based upon Inverse Dynamic,"
2011 IEEE Congress on Evolutionary Computation (CEC 2011), June
Y - Direction
0 2011
[12] O. Cordon, F. Herrera, F. Hoffmann, L. Magdalena, Genetic Fuzzy
Systems evolutionary Tuning and Learning of Fuzzy Knowledge Bases ,
-2.5
World Scientific, Singapore, 2001.
Dsired Path
ANFN Controller [13] S. Das, P.N. Suganthan, Differential Evolution: A Survey of the State-
-5
PID Controller
of-the-Art, IEEE Transactions on Evolutionary Computation, 15 (2011)
0 200 400
X - Direction
600 800
4-31.
[14] Wenyin Gong, et al, A Generalized Hybrid Generation Scheme Of
Figure 10. The AUV sqeuar motion in XY plan with with parameter variation. Differential Evolution For Global Numerical Optimization. Int. J. Comp.
Intel. Appl., (2011), 10, 35.
5
[15] Fossen, Thor I.: Guidance and control of ocean vehicles. Wiley , New
York (1994)
2.5
[16] Hassanein. O, S. Anavatti, T. Ray “Fuzzy Modeling and Control for
Autonomous Underwater Vehicle”, the Proceedings of the 5th
International Conference on Automation, Robotics and Applications
Y - D irection
0
(ICARA 2011), 169-174.
[17] Koivo, H. N., and J. T. Tanttu, “Tuning of PID Controllers : survey of
SISO and MIMO techniques”, IFAC Intelligent Tuning and Adaptive
-2.5 Control, Singapore, pp. 75-80, (1991)
Dsired Path [18] Ziegler, J. G., and Nicholas, N. B., “Optimum Setting for Automatic
PID Controller
ANFN Controller
Controllers” Trans. of ASME Vol. 65, pp 759-768, (1942)
-5
0 200 400 600 800 [19] C. H. Chen, C. J. Lin, and C. T. Lin, “A functional-link-based neuro-
X - Direction
fuzzy network for nonlinear system control,” IEEE Trans. Fuzzy Syst.,
Figure 11. The AUV sqeuar motion in XY plan with noise and sea currents. vol. 16, no. 5, pp. 1362–1378, Oct. 2008.
[20] Y. H. Pao, S. M. Phillips, and D. J. Sobajic, “Neural-net computing and
REFERENCES intelligent control systems,” Int. J. Control, vol. 56, no. 2, pp. 263–289,
1992.
[1] Smallwood, David A., and L. Louis Whitcomb. “Model-Based Dynamic
[21] R. Storn, K. Price, Differential Evolution - A simple and efficient
Positioning of Underwater Robotic Vehicles: Theory and Experiment.”
adaptive scheme for global optimization over continuous spaces, in:
IEEE JOURNAL OF OCEANIC ENGINEERING VOL. 29 (Jan. 2004):
Technical Report, International Computer Science Institute 1995.
169-186
[22] S.M. Elsayed, R.A. Sarker, D.L. Essam, A three-strategy based
[2] Holtzhausen, Servaas. Design of an AutonomousDesign of an
differential evolution algorithm for constrained optimization, in: the 17th
Autonomous Underwater Vehicle: Vehicle Tracking and Position
international conference on Neural information processing: theory and
Control. Master Thesis, KwaZulu-Natal: University of KwaZulu-Natal,
algorithms - Volume Part I, Springer-Verlag, Sydney, Australia, 2010,
2010.
pp. 585-592.
[3] Xia, Guoqing, Xiaocheng Shi, Mingyu Fu, Hongjian Wang, and Xinqian
[23] S. Das, P.N. Suganthan, Differential Evolution: A Survey of the State-
Bian. "Design of dynamic positioning systems using hybrid CMAC-
of-the-Art, IEEE Transactions on Evolutionary Computation, 15 (2011)
based PID controller for a ship." Mechatronics and Automation, 2005
4-31.
IEEE International Conference. Canada: IEEE, 29 July-1 Aug, 2005.
825 - 830. [24] Chen, Y.C. and C.C. Teng.: A Model Reference Control Structure Using
a Fuzzy Neural Network. J. Fuzzy Sets and Systems, vol.73, pp. 291-312
[4] Jang, J. S. and D. Liccardo, “Automation of Small UAVs Using a Low
(1995).
Cost MEMS Sensor and Embedded Computing Platform,” Proceeding of
25th IEEE/AIAA Conference on Digital Avionics Systems, pp. 1–9,
2006.
[5] Beard, R., D. Kingston, M. Quigley, D. Snyder, R. Christiansen, W.
Johnson, T. Mclain and M. Goodrich, “Autonomous Vehicle