Abstract
The problem of course control for underactuated surface ship is addressed in this paper. Firstly, neural networks are adopted to determine the parameters of the unknown part of ideal virtual backstepping control, even the weight values of neural network are updated by adaptive technique. Then uniform stability for the convergence of course tracking errors has been proven through Lyapunov stability theory. Finally, simulation experiments are carried out to illustrate the effectiveness of proposed control method.
1. Introduction
Tracking control performance for surface vessel along the predefined route has been an essential control problem for marine autopilot system design, and it has received considerable attractions from control community. In 1922, proportional-integral-derivative (PID) autopilot for ship steering was presented by Nicholas Minosky [1]. PID controller greatly improved the performance of autopilots. Until the 1980s almost all makes of autopilots were based on these controllers. One challenge for tracking control of surface vessel based on above method is that the systems are often underactuated by the sway motion due to weight, complexity, and efficiency considerations and exhibit nonholonomic constraints, which meets Brocket's theorem that there is no continuous or even smooth time-invariant state feedback law that can stabilize the system to the origin [2]. Another challenge is that the vessel model itself exhibits severe nonlinear characteristic and model uncertainties induced by the ocean environment [3, 4].
For the ship with nonlinear maneuvering characteristics and without uncertainties, a state feedback linearization control law was designed [5], while feedback linearization with saturation and slew rate limiting actuators was discussed [6]. Later, combined with a genetic algorithm, the backstepping method was employed to develop a nonlinear ship course controller by Witkowska and Smierzchalski [7], where the ship course parameters were automatically tuned to the optimal values with the aid of a genetic algorithm. Even considering the ship steering model with both constant parametric uncertainties and input disturbance with unknown bound, a robust adaptive nonlinear control law was presented based on projection approach and Lyapunov stability theory [8]. Recently many papers have tackled these problems based on Lyapunov theory [9–12]. In [13–15] a global tracking controller for underactuated ship is addressed with nonzero off-diagonal terms, the reference trajectory is generated by using a virtual target guidance algorithm, and the controller designed is facilitated by an introduction of changing the ship outputs, several coordinate transformations, and backstepping method. And the controller design is heavily depending on accurate dynamic model; the robustness against disturbance has not been addressed. A method using backstepping adaptive dynamical sliding mode control is presented for path following control of USV in [16], the control system takes account of the modeling errors and disturbances, and simplified tracking error dynamics are obtained by assuming that the sway velocity is small which can be neglected in the controller design and only for straight line path tracking can be achieved. The LOS based guidance law is also used in the controller design which causes the complexity of computing high-order derivative of virtual control. In [17], a transformation of vessel kinematics to the Serret-Frenet frame is introduced by exploring an extra degree of freedom by controlling explicitly the progression rate of the virtual target along the path and overcomes the major singular problem; approach angle is introduced for controller design via backstepping method. Neural networks are introduced to enhance system stability and transient performance, which can handle the known dynamics and uncertainties of systems well [18–20]. Particularly in [12] a single hidden layer neural network (SHLNN) is adopted to obtain the adaptive signal online, but the choice of the single hidden layer neural network is limited by the number of hidden layer node selections that will affect the online learning speed and accuracy and cannot produce a better estimation effect on the fast changing disturbances.
Therefore, a solution to the course control of underactuated surface vessel is addressed in this paper. In view of the characteristics of the underactuated performance, the backstepping control method is used to deal with above problem. The direct adaptive neural network is adopted to design control law by using the RBF neural network to overcome the problem that the ideal virtual control cannot be used directly in practice. The weights of the neural network are updated by adaptive technique to guarantee the stability of the closed-loop system through Lyapunov stability theory. Simulation results are illustrated to verify the performance of the proposed adaptive neural network controller with good precision.
2. Adaptive Robust Neural Network Controller Design
2.1. Problem Description
Consider the following nonlinear systems:
| (1) |
where is system state, u is control input, and y is system output. The control objective is to design an adaptive neural network controller and make y track y d. y d meets the smooth bounded reference model as follows:
| (2) |
where x d = [x d1, x d2,…,x dm]T ∈ R m is state constant, y d ∈ R represents system output, and f di(·), i = 1,2,…, m, denote nonlinear function, assuming that the reference model for each state is bounded as x d ∈ Ω d, ∀t ≥ 0.
Assumption 1 . —
There is an unknown constant p i ∗ to meet, , , and is a known positive smooth function.
2.2. Direct Adaptive Neural Network Controller Design
In view of the problems and solutions described in the last section, the direct adaptive neural network controller for nonlinear systems with RBF neural network is chosen. Detailed design steps will be described in the following.
Step 1 . —
Let z 1 = x 1 − x d1, z 2 = x 2 − α 1, and then
(3) Consider the following Lyapunov function:
(4) where , W 1 ∗ represents the ideal weight vector of neural network, represents the estimated value of the neural network weight vector, represents the estimation error of weight vector, Γ1 = Γ1 T > 0 is the adaptive gain matrix, and the derivation of V 1 can be computed as
(5) According to Assumption 1, we can get
(6) There is an ideal virtual feedback control law:
(7) where c 1 > 0 is designed controller parameter.
Because of the unknown smooth functions f 1(x 1) and g 1(x 1), we cannot actually get the ideal feedback control law α 1 ∗; from (7) we can see that the unknown part is smooth function of x 1 and , so that
(8) RBF neural network W 1 T S 1(Z 1) is used to approximate the unknown function h 1(Z 1), and α 1 ∗ can be expressed as
(9) where |e 1| ≤ e 1 ∗ is estimated error and meets e 1 ∗ > 0.
Because W 1 ∗ is unknown, the virtual control law is selected as follows:
(10) and then
(11) Adaptive law can be chosen as follows:
(12) where σ 1 > 0 and then
(13) Let c 1 = c 10 + c 11, where c 10 > 0 and c 11 > 0, and then the upper equation becomes
(14) According to the complete square formula,
(15) Because , we can make (c 10 ∗≜c 10 − (g 1d/2g 1m 2)) > 0 by choosing the appropriate c 10 and obtain the following inequality:
(16)
The cross coupling z 1 z 2 in (16) will be eliminated in the next step.
Step 2 . —
Let z 2 = x 2 − α 1; then
(17) From (10) we can see that α 1 is a function of x 1, x d, and , and can be written as
(18) where can be calculated.
Consider the following Lyapunov function:
(19) where Γ2 = Γ2 T > 0 is an adaptive gain matrix.
Then the derivation of V 2 can be calculated as
(20) According to Assumption 1 we can get
(21) There is an ideal feedback control law:
(22) where c 2 > 0 is a designed controller parameter.
Because of the unknown smooth functions and , we cannot actually get the ideal feedback control law α 2 ∗; from (22) we can see that the unknown part is a smooth function of and ; let
(23) where . RBF neural network W 2 T S 2(Z 2) is used to approximate the unknown function h 2(Z 2), and α 2 ∗ can be expressed as
(24) where W 2 ∗ is expressed as the ideal constant weight vector and |e 2| ≤ e 2 ∗ is the estimated error and meets e 2 ∗ > 0.
Because W 2 ∗ is unknown, select the following virtual control law:
(25) where is the estimated value of W 2 ∗; then
(26) where .
Adaptive law can be chosen as
(27) where σ 2 > 0; then
(28) Let c 2 = c 20 + c 21, c 20, c 21 > 0; then the upper equation becomes
(29) According to the complete square formula,
(30) Because , then we can make (c 20 ∗≜c 20 − (g 2d/2g 2m 2)) > 0 by selecting the proper c 20; then
(31)
The cross coupling z 2 z 3 in (31) will be eliminated in the next step.
Step i (3 ≤ i ≤ n − 1). The derivative of z i = x i − α i−1 can be calculated as
| (32) |
where
| (33) |
Consider the following Lyapunov function:
| (34) |
where Γi = Γi T > 0 is an adaptive gain matrix.
Then the derivation of V i can be calculated as
| (35) |
According to Assumption 1 we can get
| (36) |
There is an ideal feedback control law as
| (37) |
where c i > 0 is designed controller parameter.
Because of the unknown smooth functions and , we cannot actually get the ideal feedback control law α i ∗; from (37) we can see that the unknown part is a smooth function of and , and let
| (38) |
where
| (39) |
By introducing the direct variable (∂α i−1/∂x 1),…, (∂α i−1/∂x i−1), φ i−1, we can make the number of neural networks minimized. RBF neural network W i T S i(Z i) is used to approximate the unknown function h i(Z i), and α i ∗ can be expressed as
| (40) |
where |e i| ≤ e i ∗ is estimated error and meets e i ∗ > 0.
Because W i ∗ is unknown, select the following virtual control law:
| (41) |
where W i ∗ is the estimated value of ; then
| (42) |
where .
The following adaptive law can be selected as
| (43) |
where σ i > 0; then
| (44) |
Let c i = c i0 + c i1, c i0, c i1 > 0; then (44) can be rewritten as
| (45) |
According to the complete square formula,
| (46) |
Because , then we can make (c i0 ∗≜c i0 − (g id/2g im 2)) > 0 by selecting the proper c i0; then
| (47) |
The cross coupling z i z i+1 in (47) will be eliminated in the next step.
Step n. The derivative of z n = x n − α n−1 can be calculated as
| (48) |
where
| (49) |
where
| (50) |
Consider the following Lyapunov function:
| (51) |
where Γn = Γn T > 0 is an adaptive gain matrix. Then the derivation of V n can be calculated as
| (52) |
According to Assumption 1 we can get
| (53) |
There is an ideal feedback control law as
| (54) |
where c n > 0 is designed controller parameter.
Because of the unknown smooth functions and , we cannot actually get the ideal feedback control law u ∗; from (54) we can see the unknown part is a smooth function of and , and let
| (55) |
where .
RBF neural network W n T S n(Z n) is used to approximate the unknown function h n(Z n), and u ∗ can be expressed as
| (56) |
where |e n| ≤ e n ∗ is estimated error and meets e n ∗ > 0.
Because W n ∗ is unknown, select the following virtual control law:
| (57) |
where is the estimated value of W i ∗; then
| (58) |
where .
The following adaptive law can be selected as
| (59) |
where σ n > 0; then
| (60) |
Let c n = c n0 + c n1, c n0, c n1 > 0; (60) can be rewritten as
| (61) |
According to the complete square formula,
| (62) |
Because , then we can make (c n0 ∗≜c n0 − (g nd/2g nm 2)) > 0 by selecting the proper c n0; then
| (63) |
Let δ≜∑k=1 n(σ k‖W k ∗‖2/2) + ∑k=1 n(e k ∗2/4c k1) + ∑k=1 n(p k ∗2/2), c k0 ∗ ≥ (γ/2g km), c k0 > (γ/2g km)+(g kd/2g km 2), k = 1,2,…, n, where γ > 0, σ k ≥ γλ max{Γk −1}, k = 1,2,…, n; then
| (64) |
The stability and control performance of the closed-loop adaptive system are demonstrated by the following theorem.
Theorem 2 . —
In the initial conditions, by formula (1), reference model (2), control law (57), and neural network weight update rate in (12), (27), (43), and (59), supposing that there is a large enough set of closed sets Ω i ∈ R 2i, i = 1,2,…, n, for any given moment t ≥ 0, making Z i ∈ Ω i, the following conclusions can be obtained as follows:
- (1)
The signal of the whole closed-loop system is bounded, and the state variable and the neural network estimation errors will eventually converge to the closed set as follows:
(65) - (2)
By choosing the proper control parameters, the output tracking error y(t) − y d1(t) is close to a small neighborhood of zero [21].
3. Adaptive Robust Neural Network Control for Ship Course
3.1. Problem Formulation
This section introduces a simplified dynamic model of an underactuated surface vehicle with only one control input δ for heading control. A surface ship usually has three degrees of freedom for path following control in horizontal plane. Assuming that the vessel has three planes of symmetry, for most underactuated vessels have port/starboard symmetry, it can be neglected to simplify the vessel model for controller design. The detailed model which considers the environment disturbances can be set as follows:
| (66) |
where y denotes transverse displacement in the earth inertial coordinates; is resultant velocity of ship; ψ is course angle; r is yawing angular velocity; K, T represent performance index for ship steering; α is coefficient of nonlinear term; δ is control rudder angle; y 1, y 2 represent system output.
The control objective is to design the controller δ to make the control output y, ψ achieve the setting value (y d, ψ d). Because the dimension of the system control input is less than the degree of freedom of the system, it is an underactuated system.
3.2. Dynamic Controller Design
Selection of coordinate transformation is as follows:
| (67) |
The original system can be transformed into a single input single output system:
| (68) |
where a 1 = 1/T, a 2 = α/T, b = K/T, x 1 = w e, x 2 = r, u = δ, and the output of whole system is x 1.
For system model (67) and (68), the controller design is carried out by using backstepping method.
Step 1 . —
Let z 1 = x 1, x d1 = 0; then
(69) For the subsystem z 1, α 1 ∗≜x 2 is chosen as virtual control input. Select the Lyapunov function V z1 = (1/2)z 1 2, and there is
(70) Let z 2 = x 2 − α 1; then x 2 = z 2 + α 1,
(71) Select the following virtual control law:
(72) , because is unknown function, , and we will adopt RBF NN to estimate h 1(Z 1) and get h 1(Z 1) = W 1 ∗T S 1(Z 1) + ε 1. But the actual use of the NN for the system is . Actual virtual control input is ; then
(73) where .
Select Lyapunov function as
(74) then
(75) The adaptive law of neural network can be designed as
(76) where σ 1 > 0. Let c 1 = c 10 + c 11, where c 10, c 11 > 0.
Furthermore,
(77) then
(78) because
(79) Finally we can get
(80)
Step 2 . —
Let z 2 = x 2 − α 1; derivation of z 2 can be calculated as
(81) Because V z2 = (1/2b)z 2 2, then
(82) where Δ ≤ p · ρ(x), p is unknown parameter, ρ(x) is known nonlinear function, and then
(83) Let
(84) Equation (83) can be rewritten as
(85) In the same way we use RBF NN estimate h 2(Z 2):
(86) The actual use of the NN for the system and controller can be expressed as
(87) Select Lyapunov function as
(88) The derivation of V 2 can be calculated as
(89) Therefore, all signals in the close loop of course tracking system are stable, and the tracking errors can be made arbitrarily small by selecting appropriate controller parameters. So the final control law can be designed as
(90)
4. Numerical Simulations and Analysis
The simulation experiment can be operated based on an experimental ship. The nonlinear mathematical model for the ship has been presented in [22], which captures the fundamental characteristics of dynamics and offers good maneuverability in the open-loop test. To illustrate the effectiveness of the theoretical results, the proposed control scheme is implemented and simulated with the above nonlinear model with tracking task.
The characteristic parameters of the ship used in the simulation are given as K = 0.478, T = 216, and α = 30. Neural network contains 25 neurons; that is, l 1 = 25; the center vector μ l (l = 1,2,…, l 1) is uniformly distributed in the width [−2,2] × [−2,2] × [−2,2]. Neural network contains 135 neurons; that is, l 2 = 125; the center vector μ l (l = 1,2,…, l 2) is uniformly distributed in the width [−4,4] × [−4,4] × [−4,4] × [−4,4] × [−4,4] × [−4,4] × [−4,0] × [−6,6]. The controller design parameters are given as follows which satisfy the condition mentioned in design procedure: k = 0.1394, c 1 = 4, c 2 = 120, Γ1 = diag{3}, Γ2 = diag{4}, and σ 1 = 4, σ 2 = 2. The initial linear and angular velocity of ship used in the simulation are given as [u, v, r]T = [0.1,0, 0]T, [x, y, ψ]T = [10,30, −π/4]T is the initial position and orientation vector of ship, and the desired velocity of ship is given as u d = 1 (m/s). We choose the reference trajectory as 10cosωt.
In order to further verify the validity of the proposed control method, the algorithm of this paper is compared with the simulation results in [12]. So the robustness of trajectory tracking controller against the disturbance and model uncertainties can be evaluated. All the simulation results are depicted in Figures 1 –4. Figure 1 shows the trajectory tracking of ship with the given path, and the ship can track and converge to the reference path with more accuracy in [12]. Figure 2 plots the position tracking errors; the along-track and cross-track errors asymptotically converge to zero faster. Figure 3 gives the control inputs response. Surge, sway, yaw velocities, and orientation of ship during the trajectory tracking control process are plotted in Figure 4, which gives a clear insight into the model response involved in nonlinear dynamics.
Figure 1.

Ship tracking performance of proposed control method.
Figure 2.
Tracking errors of surge and sway.
Figure 3.
Control force and torque of ship.
Figure 4.

State changing curves of ship.
5. Conclusions
In this paper, we proposed a solution to the course control of underactuated surface vessel. Firstly, the direct adaptive neural network control and its application are introduced. Then the backstepping controller with robust neural network is designed to deal with the uncertain and underactuated characteristics for the ship. Neural networks are adopted to determine the parameters of the unknown part of the ideal virtual control and the ideal control; even the weights of neural network are updated by using adaptive technique. Finally uniform stability for the convergence of tracking errors has been proven through Lyapunov stability theory. The simulation results illustrate the performance of the proposed course tracking controller with good precision.
Acknowledgment
This work was supported by the National Natural Science Foundation of China, under Grant 51309067/E091002.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
References
- 1.Fossen T. I. A survey on nonlinear ship control: from the oryto practice. Proceedings of the 5th IFAC Conference on Manoeuvring and Control of Marine Craft; 2000; Aalborg, Denmark. pp. 1–16. [Google Scholar]
- 2.Lapierre L., Soetanto D. Nonlinear path-following control of an AUV. Ocean Engineering. 2007;34(11-12):1734–1744. doi: 10.1016/j.oceaneng.2006.10.019. [DOI] [Google Scholar]
- 3.He-ming J., Wen-long S., Zi-yin C. Bottom following control of underactuated AUV based on nonlinear backstepping method. Advances in Information Sciences and Service Sciences. 2012;4(12):362–369. doi: 10.4156/aiss.vol4.issue12.41. [DOI] [Google Scholar]
- 4.Sun B., Zhu D., Yang S. X. A bio-inspired cascaded approach for three-dimensional tracking control of unmanned underwater vehicles. International Journal of Robotics and Automation. 2014;29(4) doi: 10.2316/journal.206.2014.4.206-3891. [DOI] [Google Scholar]
- 5.Fossen T. I. High performance ship autopilot with wave filter. Proceedings of the 10th International Ship Control Systems Symposium (SCSS '93); 1993; Ottawa, Canada. pp. 2271–2285. [Google Scholar]
- 6.Tzeng C. Y., Goodwin G. C., Crisafulli S. Feedback linearization design of a ship steering autopilot with saturating and slew rate limiting actuator. International Journal of Adaptive Control and Signal Processing. 1999;13(1):23–30. doi: 10.1002/(SICI)1099-1115(199902)13:1<23::AID-ACS532>3.0.CO;2-E. [DOI] [Google Scholar]
- 7.Witkowska A., Smierzchalski R. Nonlinear backstepping ship course controller. International Journal of Automation and Computing. 2009;6(3):277–284. doi: 10.1007/s11633-009-0277-2. [DOI] [Google Scholar]
- 8.Yang Y. S. Robust adaptive control algorithm applied to ship steering autopilot with uncertain nonlinear system. Shipbuilding of China. 2000;41(1):21–25. [Google Scholar]
- 9.He-Ming J., Wen-Long S., Zi-Yin C. Nonlinear backstepping control of underactuated AUV in diving plane. Advances in Information Sciences and Service Sciences. 2012;4(9):214–221. doi: 10.4156/AISS.vol4.issue9.26. [DOI] [Google Scholar]
- 10.Li J.-H., Lee P.-M., Jun B.-H., Lim Y.-K. Point-to-point navigation of underactuated ships. Automatica. 2008;44(12):3201–3205. doi: 10.1016/j.automatica.2008.08.003. [DOI] [Google Scholar]
- 11.Bao-li M. Global K-exponential asymptotic stabilization of underactuated surface vessels. Systems & Control Letters. 2009;58(3):194–201. doi: 10.1016/j.sysconle.2008.10.011. [DOI] [Google Scholar]
- 12.Zhang L.-J., Jia H.-M., Qi X. NNFFC-adaptive output feedback trajectory tracking control for a surface ship at high speed. Ocean Engineering. 2011;38(13):1430–1438. doi: 10.1016/j.oceaneng.2011.07.006. [DOI] [Google Scholar]
- 13.Do K. D., Jiang Z. P., Pan J. Robust adaptive path following of underactuated ships. Automatica. 2004;40(6):929–944. doi: 10.1016/j.automatica.2004.01.021. [DOI] [Google Scholar]
- 14.Do K. D., Pan J. State- and output-feedback robust path-following controllers for underactuated ships using Serret-Frenet frame. Ocean Engineering. 2004;31(5-6):587–613. doi: 10.1016/j.oceaneng.2003.08.006. [DOI] [Google Scholar]
- 15.Do K. D. Practical control of underactuated ships. Ocean Engineering. 2010;37(13):1111–1119. doi: 10.1016/j.oceaneng.2010.04.007. [DOI] [Google Scholar]
- 16.Liao Y.-L., Wan L., Zhuang J.-Y. Backstepping dynamical sliding mode control method for the path following of the underactuated surface vessel. Procedia Engineering. 2011;15:256–263. doi: 10.1016/j.proeng.2011.08.051. [DOI] [Google Scholar]
- 17.Do K. D., Pan J. Global robust adaptive path following of underactuated ships. Automatica. 2006;42(10):1713–1722. doi: 10.1016/j.automatica.2006.04.026. [DOI] [Google Scholar]
- 18.Sakhre V., Jain S., Sapkal V. S., Agarwal D. P. Fuzzy counter propagation neural network control for a class of nonlinear dynamical systems. Computational Intelligence and Neuroscience. 2015;2015:12. doi: 10.1155/2015/719620.719620 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Pan C.-Z., Yang S. X., Lai X.-Z., Zhou L. An efficient neural network based tracking controller for autonomous underwater vehicles subject to unknown dynamics. Proceedings of the 26th Chinese Control and Decision Conference (CCDC '14); June 2014; Changsha, China. IEEE; pp. 3300–3305. [DOI] [Google Scholar]
- 20.Wulandhari L. A., Wibowo A., Desa M. I. Improvement of adaptive GAs and back propagation ANNs performance in condition diagnosis of multiple bearing system using grey relational analysis. Computational Intelligence and Neuroscience. 2014;2014:11. doi: 10.1155/2014/419743.419743 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Polycarpou M. M. Stable adaptive neural control scheme for nonlinear systems. IEEE Transactions on Automatic Control. 1996;41(3):447–451. doi: 10.1109/9.486648. [DOI] [Google Scholar]
- 22.Moreira L., Fossen T. I., Guedes Soares C. Path following control system for a tanker ship model. Ocean Engineering. 2007;34(14-15):2074–2085. doi: 10.1016/j.oceaneng.2007.02.005. [DOI] [Google Scholar]


