Abstract
A model predictive control approach is proposed for path following of underactuated surface ships with input saturation, parameters uncertainties, and environmental disturbances. An Euler iterative algorithm is used to reduce the calculation amount of model predictive control. The matter of input saturation is addressed naturally and flexibly by taking advantage of model predictive control. The mathematical model group (MMG) model as the internal model improves the control accuracy. A radial basis function neural network is also applied to compensate the total unknowns including parameters uncertainties and environmental disturbances. The numerical simulation results show that the designed controller can force an underactuated ship to follow the desired path accurately in the case of input saturation and time-varying environmental disturbances including wind, current, and wave.
Introduction
Path following of surface ships has been a long-standing control problem that has attracted attention from the control community for many years. 1 As a matter of fact, the path following control possesses the significant position in some marine applications, such as seawater monitoring for the fixed points, laying and maintaining the underwater pipelines, even tracking control of the ordinary merchant ships. The underactuated nature of these problems, namely with more variables to be controlled than the number of control actuators, coupled with the matter of uncertain parameters, external disturbances as well as input constraint, renders the control problem both challenging and interesting. 2,3
The path following control problem of underactuated ships has been tackled in a number of research studies in the last few years. For example, a position prediction model was presented by Nagai and Watanabe, 4 which estimated positions by the integral in continuous time and predicted future positions by considering only constant velocities. In the study of Shen and Dai, 5 the iterative sliding mode was designed by a hyperbolic tangent function, and both neural network (NN) and reinforced learning were used to inhibit the chattering of the control input.
Methods to deal with the uncertain parameters or external disturbances could also be found in previous studies. In the study of Wang et al., 6 a robust and adaptive control algorithm was proposed to cope with the random disturbances and uncertain parameters, in which the Serret–Frenet frame and output-redefinition were introduced to simplify the controller design. In the study of Herman and Adamski, 7 the robustness was promoted by designing a non-adaptive velocity tracking algorithm for fully actuated vehicles. Li et al. 8 introduced an active disturbance rejection control (ADRC) controller with sliding mode which can solve the path following problem of uncertainties including internal dynamic and external disturbances. In the study of Lekkas and Fossen, 9 a sliding mode controller was employed to stabilize the heading angle, and the constant external disturbances could be handled. It is noted that the sliding mode and incremental feedback methods were used by Liu et al. 10 to avoid effectively the trajectory tracking with unknown disturbances such as wind or current. In the studies of Mu et al. 11 and Liang et al., 12 both surge control and yaw control were considered by designing the sliding mode trajectory tracking controller, and the unknown dynamics or disturbances were packaged for compensation via NN together with minimum learning parameter method (MLP). The ADRC was proposed by Huang and Fan 13 to deal with the path following problem, and the extended state observer (ESO) and adaptive laws were used to estimate the external disturbances and sideslip angle, respectively. In the study of Vo et al., 14 an adaptive autopilot based on backstepping methodology was designed to control ship heading with external disturbances. In the study of Zhang et al., 15 the nonlinear disturbance observer was designed to estimate disturbances, and a predictive controller was offered based on Serret–Frenet frame, but the advantage of predictive control in saturated suboptimal solutions was not utilized. To solve the problems of both the uncertain parameters and environmental disturbances, the robust and adaptive control algorithm was also used by Tong and Li. 16,17 An adaptive takagi and sugeno (T-S) fuzzy NN control method was proposed by Dong et al. 18 to deal with the external disturbance, but the simulation model was very different from a real ship. Model uncertainties were approximated and compensated by virtue of the concise radial basis function (RBF) adaptive NN in the study of Zhang et al. 19
Some investigations to address the problem of input saturation could be found in previous research studies. Zheng et al. 20 proposed a linear model predictive control (MPC) and a nonlinear MPC to demonstrate the advantage of MPC on dealing with the matter of saturation. A novel robust MPC was presented by Li et al. 21 to solve the vessel’s roll constraints. In the study of Shen and Jing, 22 both neuron adaptive and iterative sliding mode strategy were developed for the path tracking of underactuated ships. In the study of Yu et al., 23 the input saturation was considered via an auxiliary system and the MLP was provided to approximate the unknown dynamic without external disturbances. A backstepping method was designed by Zheng and Feroskhan, 24 and the disturbance observer and auxiliary system were used to estimate external disturbances and cope with the input saturation, respectively. In the study of Qiu et al., 25 the external disturbances, dynamical uncertainties, and input saturation were settled effectively by the adaptive technology, MLP, and auxiliary dynamic system, respectively.
In the aforementioned studies, the problem of unknown dynamical or external disturbances could be addressed effectively. However, few have taken into account the input saturation, whereas the poor control performances or even actuator damages would happen in real implementation if these constraints were neglected in the controller design. 20 Some research studies have pointed out the solutions of the saturation such as introducing an iterative sliding mode theory 5,10,22 or an auxiliary system. 23 –25 Comparing to the schemes above, the MPC methodology proposed in this article is more natural and flexible 20,26 as just the value of the constrained rudder angle is considered directly in case of solving a quadratic programming (QP) 27 problem. The designed MPC is simpler than those proposed in the literature, 6,15,20,21 because the Euler iterative algorithm is introduced to predict the future states. The MMG model is used to improve the prediction accuracy as the internal model. Moreover, with reference to the literature, 19,23,25,28 a RBF NN is used to compensate the uncertainties for the improvement of the internal model accuracy and the controller robustness.
The remainder of this article is organized as follows. The kinematic and dynamic model of the surface ship is presented in the next section. The MPC with RBF NN method is developed in the third section. The fourth section provides the stability analysis. Simulation results are presented and analyzed in the fifth section, followed by conclusions.
An underactuated surface ship model
The ship position in the horizontal plane and the motion parameters with ocean current disturbance are shown in Figure 1. The x-axis and y-axis point to the true North and East, respectively. ϕ is the heading angle from the x-axis. u and v are the surge and sway velocity over the ground, and V = (u
2 + v
2)1/2 is the ship speed over ground. r is the yaw rate. Vc
and ϕc
are the ocean current speed and direction, respectively. ur
and vr
are the longitudinal and lateral speed through water, respectively.

Ship’s position and kinematics under current disturbance.
The ship’s MMG model was proposed by Ship Manoeuvring Mathematical Model Group 8 in the late 1970s, which took the rudder angle as the control input. Considering the wind, ocean current and wave disturbances, as well as servo response characteristics, a ship’s MMG model could be expressed as
where m is the ship mass. mx
, my
,
where tR is the factor of rudder resistance deductions, aH is the ratio of the hull’s additional lateral force to the rudder lateral force caused by steering, xH is the distance from the steering induced hull lateral force center to the ship’s center of gravity, and FN is the rudder positive pressure.
The winds (moments) XW , YW , and NW in the dynamics (1) are given 29 by
where
The waves (moments) X Wave, Y Wave, and N Wave are given 30 by
where λ is the wavelength, χ is the encounter angle, ρ is the seawater density, α is the wave amplitude, L is the ship length, and CXw (λ), CYw (λ), and CNw (λ) are coefficients related to wave length λ, respectively.
Control design and stability analysis
The structure of the control
In this article, the path following controller is designed by MPC that consists of internal model, feedback correction, and dynamic optimization. Its main advantage is that the input constraint could be handled explicitly 26,31 because MPC considers a standard QP problem with saturation only. First of all, the future states over the prediction horizon Np can be predicted according to the internal model and current states of the system. Then, the cost function including prediction errors would be built via the future states. Finally, the optimal control input will be obtained by solving the cost function with constraint. At the next sampling time, the same procedure is repeated on the basis of the feedback of the new measurements from the system, so that is also called rolling optimization.
Path following pertains to following a desired path independent of time, without imposing any restrictions on the temporal propagation along the path. Thus, the revolution of propeller has been set a constant in this article. Therefore, the control objective becomes that a suitable rudder angle δ is designed to force the ship to follow the reference path at the certain propeller revolutions. Moreover, the MMG model is employed directly as the internal model for the prediction of states on the basis of Euler iterative algorithm. The structure of the control is shown in Figure 2. The structural diagram of the control.
As shown in Figure 2, the output of ship motion system is the current states at the current sampling time, and the unknowns including parameters and external disturbances are approximated by RBF NN on the basis of the previous states. Then the internal model would predict the future states of the system over the prediction horizon Np based on internal model (MMG) and current states. After that, the cost function will be established with respect to the prediction error e. Finally, the optimal rudder angle with saturation will be obtained by solving the cost function in the optimal solution module. At the next sampling time, the same procedure will be repeated upon the feedback of the new measurements from the ship motion system.
Assumptions
The assumptions in this article are as follows: The states of ship such as x, y, ϕ, u, v, and r can be measured. The derivative with respect to time of historical states such as The unknowns du
, dv
, and dr
are bounded, namely,
Remark
In assumption Ⅰ, the states could be measured through the sensors or observers in the navigation system. 20 Then, assumption Ⅱ can be satisfied by collecting the historical data. Assumption Ⅲ is reasonable and appeared in previous study. 10
MPC controller
First of all, the prediction equations of the states may be employed according to the Euler iteration algorithm 32 and equation (1)
where Tc
is the sampling time.
where
Then, the prediction errors
At the sampling time k, the cost function can be established by the prediction errors
where Q is the weighting matrix. The optimal control law
Radial basis function neural network
The gradient descent method of RBF NN is used to approximate the unknowns including
where yn
is output vector, and here is
where x is the input vector, namely
where
where
Stability analysis
Lemma 1
The continuous function will obtain minimum value if it has a point ξ where the derivative equals zero (g′(ξ) = 0) and the left and right derivative symbols of this point are opposite (g′(ξ − Δ) < 0 and g′(ξ + Δ) > 0). 33
From equations (1) to (6), we can predict the value of
where Fr
is a positive constant without δ,
where Cb
is the square coefficient and B is the ship breadth. It is reasonable to suppose that the sideslip angle β is not very large and velocity is almost constant, so let
From equations (5) and (6), the value of
The derivative of equation (17) with respect to δ, and substituting equation (16) into (17) yields
The second equation of (5) can be reformulated as follows
where
Combining equations (8) and (9), the cost function will be built as follows
where z 1, z 2, and z 3 are as follows
z
3 is always negative because
where cos(δ) is positive due to
The process of ship motion is continuous, so f is also a continuous function. According to equation (24) and the zero point theorem, there is an optimal rudder angle δ* to satisfy ∂f
Numerical simulation
To illustrate the effectiveness of the designed MPC scheme, the ship “Yulong” is taken for an example in the simulation. 8 The ship’s dynamic is given by equation (1) and the main ship parameters are as follows: daft is 8.0 m, full load displacement is 14,635 tons, ship length is 126 m, ship breadth is 20.8 m, block coefficient is 0.681, front wind projection area is 369.9 m2, side wind projection area is 1031.94 m2, propeller pitch is 3.66 m, rudder area is 18.8 m2, servo time constant TE is 2.5 s, and propeller revolutions per minute is set 100.
Straight line path following: The initial states u = 7.2 m/s, v = 0, r = 0, ϕ = 0, (x
0, y
0) = (0, 200 m), and reference path yd = 0. The external disturbances are as follows: wind speed and direction are 10 m/s and 45° + 30° sin(0.02t), respectively. Ocean current speed and direction are 1.0 m/s and 45° + 10° sin(0.005t), respectively. Wave length, wave encounter angle, and wave amplitude are 83 m, ϕ + 135° − 30° sin(0.02t), and 3 m, respectively. The parameters of the controller are as follows: Np
= 18, Nc
= 1, and Tc
= 2.0 s are the parameters of MPC, initial
Curve path following: The initial states u = 7.2 m/s, v = 0, r = 0, ϕ = 0, and (x 0, y 0) = (0, 0). Reference path yd = 200 sin(0.00035πx). The external disturbances conditions are the same as case 1. The parameters of the controller are as follows: Np = 15, Nc = 1, and Tc = 2.5 s are the parameters of MPC, and the parameters of RBF NN are the same as the previous simulation.
The simulation results are shown in Figures 3 to 6, where y, ϕ, and δ denote the path, heading, and rudder angle, respectively. The heading ϕ and rudder angle δ have the time-varying deviation for the reason of the influence of the time-varying disturbances such as wave, wind, and ocean current. The rudder angle δ is smooth with more stringent limitation on the rudder amplitude constraint within 10°. This illustrates that the ability of the MPC could handle the input saturation effectively. In Figure 3, the path y has the small overshoot less than the ship breadth. The maximum path tracking fluctuation is less than 5 m or less than 20% of the ship width on passage. In short, the control scheme could force the underactuated ship to follow the desired path accurately with uncertain parameters and environmental disturbances.

Straight line path following in the fixed-coordinate system.

Cross tracking error, rudder and ship motion variables as straight line path following.

Curve path following in the fixed-coordinate system.

Tracking error, rudder and ship motion variables as curve path following.
Conclusions
This article proposed an MPC design method, aiming at a path following control for underactuated surface vessels with input saturation, parameters uncertainties, and environmental disturbances. The choice of MPC for this application is primarily motivated by the need to explicitly handle input saturation. The Euler iterative algorithm reduced the amount of calculation of MPC. The total unknowns, including parameters uncertainties and environmental disturbances, were approximated by RBF NN to enhance the system robustness. The MMG model was employed as a predictive model to improve the control accuracy. The numerical simulation illustrated the effectiveness of designed controller.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported in part by the special projects of key fields (Artificial Intelligence) of Universities in Guangdong Province (2019KZDZX1035), Innovation and Entrepreneurship Team Guidance and Cultivation “Pilot Plan” of Zhanjiang City, the National Natural Science Foundation of China (nos 51979045, 51939001, and 61976033), and program for scientific research start-up funds of Guangdong Ocean University.
