Abstract

In order to track the desired path under unknown parameters and environmental disturbances, an adaptive backstepping sliding mode control algorithm with a neural estimator is proposed for underactuated ships considering both ship-bank interaction effect and shift angle. Using the features of radial basis function neural network, which can approximate arbitrary function, the unknown parameters of the ship model and environmental disturbances are estimated. The trajectory tracking errors include stabilizing sway and surge velocities errors. Based on the Lyapunov stability theory, the tracking error will converge to zero and the system is asymptotically stable. The controlled trajectory is contractive and asymptotically tends to the desired position and attitude. The results show that compared with the basic sliding mode control algorithm, the overshoot of the adaptive backstepping sliding mode control with neural estimator is smaller and the regulation time of the system is shorter. The ship can adjust itself and quickly reach its desired position under disturbances. This shows that the designed RBF neural network observer can track both the mild level 3 sea state and the bad level 5 sea state, although the wave disturbance has relatively fast time-varying disturbance. The algorithm has good tracking performance and can realize the accurate estimation of wave disturbance, especially in bad sea conditions.

1. Introduction

In ship heading control, the steering motion makes the bow produce a small lateral drift angle and changes the fluid distribution on both sides of the hull. This will result in the difference between the actual motion direction and the expected ship heading. The current steering control algorithm ignores the effect of the drift angle, but the existence of the drift angle will increase overshoot and reduce the steering control accuracy and performance. In bad sea conditions, the model dynamic uncertainty, time-varying parameters, and drift angle correction need to be considered. The shift angle was proposed by Yu in 2008 [1]. Liu proposed a horizontal-plane cascade-steering model with drift angle and developed an adaptive backstepping control algorithm based on the dynamic surface control and Nussbaum gain techniques [2]. Lu designed a backstepping heading controller with a sideslip angle amendment and a robust adaptive control method combining the nonlinear disturbance observer to estimate the wave disturbance effectively in the yaw direction [3]. Sun proposed a guidance control scheme based on finite-time observers for path following control of underactuated unmanned vehicles subjected to time-varying large sideslip angle and unknown external disturbances [4].

For large ships, the channel width is narrow and the water depth is shallow. The maneuverability of ships navigating in restricted waters is quite different from that in open waters, mainly due to the influence of the bottom and bank wall, and the hydrodynamic force is usually greater. For the ships running near the shore, the effect of the quay wall is a potentially unsafe factor, which often leads to collision accidents caused by ships too close to the shore wall, resulting in casualties and a large number of property losses. Therefore, it is necessary to study the ship-bank interaction effect [5].

Recently, backstepping control is used for uncertain nonlinear systems to improve the global ultimate asymptotic stability. Chu proposed an adaptive global sliding mode fuzzy control using a radial basis function neural network based on the backstepping technique [6]. A RBF neural approximator was employed to estimate uncertainty. Wang deduced the control algorithm for the unmanned surface vehicle by the backstepping method with Lyapunov theory [7]. Liu proposed a backstepping adaptive dynamic sliding mode control method for the track tracking control system of underactuated surface ships [8]. Li proposed an adaptive backstepping sliding mode control method for a class of uncertain nonlinear systems with input constraints [9]. The explosion of complexity is avoided in the traditional backstepping design method by introducing a first-order filter. Chen applied an adaptive sliding mode controller based on the backstepping method to the robust trajectory tracking of the wheeled mobile manipulator [10]. The control algorithm adopted the backstepping method to improve the global ultimate asymptotic stability. Wang extended the iterative sliding mode controller based on reinforcement learning to bidirectional control, considering the trajectory tracking problem of Underactuated Ships under known and unknown conditions [11]. Disturbance, dynamic surface control technology, adaptive neural network, sliding mode control algorithm, and backstepping design method are combined to design neural network adaptive sliding mode control law bound for environmental disturbance. Meng proposed a robust sliding mode method for trajectory tracking of underactuated ships with uncertain parameters and time-varying disturbances [12]. In the dynamic loop, the trajectory tracking error is transformed into the steady surge and surge velocity error by using the backstepping technique. Wang used a RBF neural network to approximate the ship system function and external disturbance [13]. Lyapunov stability theory and backstepping method were used to design the controller of ship motion. Wen utilized the property of neural network compensation technique and backstepping method, to construct an adaptive output feedback controller [14]. Sun constructed an adaptive decentralized tracking controller via the backstepping method and neural network technique, where a sliding mode differentiator was presented to estimate the derivative of the virtual control law and reduce the complexity of the control scheme [15].

For dealing with systems with uncertainty, several methods have been used, such as fuzzy logic, neural network, and so on. Cheng presented a novel indirect neural observer with the ADALINE network incorporated into the conventional sliding mode term and utilized a radial basis function neural network approximation utilized to handle the system uncertainties [16]. Gajate presented the design and application of a novel transductive neurofuzzy inference method to control force in a high-performance drilling process [17]. Martín considered a neurofuzzy system, where fuzzy rules were obtained from input/output data [18]. The design of the control system was based on the internal model control paradigm. Kelly presented a fuzzy adaptation scheme for PD control with gravity compensation of robot manipulators [19]. It compensated for static friction in the robot joints and considered the real torque actuators capabilities to avoid torque saturation. Ramírez used a knowledge-based fuzzy controller, to keep the temperature as close to the set profile as possible. Such a controller was endowed with a set of 60 rule bases, which were dynamically switched depending on technological constraints and/or operating regions [20]. Guerra presented a procedure for digital twin-based optimization, in which the maximum absolute position error was minimized while maintaining accuracy with no significant increase in the control effort [21].

Sliding mode control is a branch of variable structure control proposed by Soviet scholars in the 1950s. Guo proposed a hybrid control algorithm based on backstepping control and nonsingular fast terminal sliding mode control to solve the tracking problem of the mobile robot [22]. Elmokadem proposed a robust control scheme for dynamic positioning and path tracking of the underactuated autonomous underwater vehicle (AUV) based on sliding mode control [23]. Sun proposed a new nonlinear robust adaptive control scheme with sliding mode control to track the desired path generated by the logic virtual ship under unknown parameters and environmental disturbances [24]. In order to solve the problem that the ship speed state vector cannot be measured, Wang designed an observer based on an output feedback sliding mode controller [25]. An adaptive sliding mode controller based on RBF neural network is designed to solve the problem of underactuated ship trajectory tracking with uncertain model parameters and large external disturbance. To solve the problem of track tracking of a three degree of freedom underactuated ship, Dai proposed an adaptive iterative sliding mode control method based on Reinforcement Learning [26]. Sui proposes a neural network sliding mode control strategy based on a dynamic virtual ship algorithm, which is controlled under the condition of model uncertainty and external disturbances such as wind, wave, and current [27]. To solve the problem of automatic berthing of 3-DOF ships, Zou proposed an iterative sliding mode control based on chaos particle swarm optimization [28].

However, how to design a robust controller for ships is still a challenging problem because of model errors, parameter changes, and external disturbances. First of all, the existence of a drift angle is usually ignored in course control, but the actual drift angle is not zero, which will cause a drift angle difference between the actual motion direction of the ship and the expected course. If not corrected, the performance of course control will be reduced. Secondly, the effect of ship-bank interaction is a common phenomenon in berthing, crossing bridge, and near-shore navigation. The large ship-bank interaction effect can even lead to ship capsizing. However, in ship motion control, the existence of the ship-bank interaction effect is usually ignored. Thirdly, the sudden disturbance will cause the control force to be too large, which will lead to the excessive driving power of the actuator. Any actuator has a certain range of execution; once the input exceeds the limit value, it will affect the operation of the actuator, resulting in system performance degradation, affecting the control effect, and maintaining too large control input for a long time will also increase the loss of rudder.

In this paper, the small angle approximation and slow time-varying assumption are avoided. The unknown disturbances such as drift angle and ship-bank interaction effect are dynamically estimated by the neural network. The time-varying large drift angle is accurately compensated by using the weight parameter adaptive law of the RBF neural network. Based on backstepping control and adaptive sliding mode technology, the surge speed and heading tracking controllers are designed, respectively, to realize the precise path tracking control with unknown time-varying large drift angles and the influence of the bank wall effect. The stability of the closed-loop system is proved by the Lyapunov theory. The experimental results show that the algorithm can reduce the heading error, the overshoot, adjustment time, and the control torque of the actuator. It can improve the robustness and economy of path tracking control for underactuated ships under unknown sea conditions.

2. Mathematical Model of Underactuated Ship

2.1. Mathematical Model of Underactuated Ship

The coordinate system is established as follows: The stationary observer on the shore is defined as the origin O0. The positive east direction is defined as the X0 axis and the positive north direction is defined as the Y0 axis. The three-degree-of-freedom motion of surge, sway, and yaw are considered. The motion model of the dynamic positioning system is shown in Figure 1. denotes the position and attitude vector of the ship. denotes the velocity vector of the ship. denotes the surge velocity. denotes the sway velocity. r denotes the yaw velocity. x denotes the position in surge direction. y denotes the position in sway direction. denotes the heading angle. denotes the desired heading angle. denotes the shift angle.

The mathematical model of the dynamic positioning ship is as follows:where is the rotation matrix, which can be calculated as follows:

The dynamic models of underactuated ships can be calculated as follows:

The velocity equation is as follows:where is the force of wind disturbance along the surge direction. is the force of wind disturbance along the sway direction. is the torque of wind disturbance along the yaw direction. is the force of current disturbance along the surge direction. is the force of current disturbance along the sway direction. is the torque of current disturbance along the yaw direction. is the force of wave disturbance along the surge direction. is the force of wave disturbance along the sway direction. is the torque of wave disturbance along the yaw direction. is the force of ship-bank interaction effect along the surge direction. is the torque of ship-bank interaction effect along the yaw direction. denotes the control input along the surge direction. denotes the control input along the yaw direction. are elements of the matrix composed of weight inertia and hydrodynamic additional inertia. are elements of linear hydrodynamic damping parameter matrix.

Denote the following:

Then (4) can be written as follows:

In the system model, the number of system state variables is 3 and the number of input control variables is 2, so the system is underactuated.

2.2. Mathematical Model of Environmental Disturbing Force

The disturbance of external environment includes the disturbance of wind, sea wave, and current.

2.2.1. Wind Disturbance Model

According to Isherwoodʼs research, the force and torque of wind disturbance can be calculated as follows:where are the wind coefficient. denotes the wind moment coefficient. denotes the projection area above the water line. denotes the projection area on the side. denotes the total length of the ship. denotes the air density.

2.2.2. Current Disturbance Model

The forces and moments acting on ships by ocean currents can be calculated as follows:where denote the longitudinal force and the transverse force produced by the current. is the moment produced by the current. represents the velocity of the current. denotes the orthographic projection area of the ship underwater. denotes the side projection area of the ship underwater. denotes the length of the ship's waterline. denotes the drift angle. denotes the density of the sea water. denote the longitudinal flow force coefficient, transverse flow force coefficient and moment coefficient, respectively.

2.2.3. Wave Disturbance Model

The forces and moments produced by wave disturbance can be calculated as follows:where denotes the average wave amplitude. denotes the encounter angle. denote the longitudinal wave drift force, transverse wave drift force, and moment coefficient, respectively. is the length of the wave.

2.2.4. Ship-Bank Interaction Effect

When the ship is sailing near the bank of a channel or the pier of a bridge, the water flow near the bank accelerates and the pressure decreases. This results in the additional force which makes the ship close to the bank. This force is called the bank suction. Shore suction may cause the ship to touch the shore. At the same time, there is a moment which makes the bow deviate from the shore; that is, the shore thrust moment. Bank suction and bank thrust moment are generally called ship-bank interaction effects. The ship-bank interaction effect of a vertical wall is shown in Figure 2.

The force and moment of a vertical bank are calculated by Norrbin’s formula [29].where is the water density. is the block coefficient. T is the draught. h is the depth of the water. L is the length of the ship. B is the width of the ship. is the ratio of ship width to distance between ship and shore.

3. Neural Backstepping Sliding Mode Control

3.1. RBF Neural Network

In 1985, Powell proposed a radial basis function (RBF) method for multivariate interpolation. The most frequently used Radial Basis Function is the Gauss function:where is the input vector. denotes the Euclidean Norm of . denotes the Radial Basis Function. denotes the central vector of the function. denotes the width of the Radial Basis Function. denotes the threshold vector. denotes the number of hidden layer nodes. Denotes the number of input training samples. denotes the output of the neural network:

Figure 3 shows the RBF structure.

In this system, the input of the RBF neural network is system state x and the output is and . is the approximation of by RBF neural network. is the approximation of by RBF neural network.

3.2. Neural Backstepping Sliding Mode Control

The shift angle is computed as follows:

The heading error is computed as follows:

Taking the derivative of (14) can obtain the following:

Construct new variables:where is a positive real number.

The following sliding surface functions are constructed:where is a positive real number.

The control rate is designed as follows:where is a positive real number.

Denote as the approximation of by RBF neural network:where is the approximation error of the RBF neural network.

Subtracting (20) from (21) can obtain the following:

Denote the following:

Equation (22) can be written as follows:

An adaptive control law is constructed as follows:

3.3. Stability Analysis

Theorem 1. Based on the Lyapunov stability theory, for the ship dynamic model (4) with control input (19) and an adaptive control law (25), the tracking error of the system converges to zero and the system is asymptotically stable.

Proof. The Lyapunov function is constructed as follows:Taking the derivative of (16) can obtain the following:Substituting (17) into (27) can obtain the following:The derivative of (23) can obtain the following:Substituting (25) into (29) can obtain the following:Taking the derivative of (18) can obtain the following:Substituting fd28(28) into fd31(31) can obtain the following:Taking the derivative of (17) can obtain the following:Substituting fd6(6) into fd33(33) can obtain the following:Substituting fd34(34) into fd32(32) can obtain the following:Substituting fd19(19) into fd35(35) can obtain the following:Substituting (24) into (36) can obtain the following:The derivative of (26) can obtain the following:Substituting (28), (30) and (37) into (38) can obtain the following:Substituting (18) into (39) can obtain the following:When the conditions are established:We have the following:Based on the Lyapunov stability theory, the tracking error converges to zero and the system is asymptotically stable.

4. Simulation Studies

4.1. Example Introduction and Parameter Configuration

In order to verify the control effect of the adaptive backstepping sliding mode control algorithm on the ship, a supply ship [30] in the literature is used. The length of the ship is 76.2 meters and the weight is 6000 tons. The relevant parameters of the ship are as follows: m11 = 1.1274, m22 = 1.8902, m23 = −0.0744, m32 = −0.0744, m33 = 0.1278, d11 = 0.0358, d22 = 0.1183, d23 = −0.0124, d32 = −0.0041, d33 = 0.0308. The initial position is [−2 m, 2 m,  rad]. The initial speed is [0 m/s, 0 m/s, 0.07 rad/s]. The desired position is [0 m, 0 m, 0 rad]. The desired speed is [0 m/s, 0 m/s, 0 rad/s].

The experiment was conducted in Intel(R) Core(TM) i7-3612QE CPU @ 2.10 GHz 2.10 GHz, 16.0 GB memory, and 64 bit OS.

The RBF neural network is composed of three layers, that is the input layer, the hidden layer, and the output layer. There are six nodes in the input layer, that is . There are seven nodes in the hidden layer, and the Gauss function is used as the radial basis function. There are one node in the output layer, that is , the approximation of by RBF neural network. The initial weight of the RBF neural network is zero. The parameters of the radial basis function are set as follows:

4.2. Results without Disturbance

The initial forward position is −2 m, the initial sway position is 2 m, the initial yaw angle is −1.5 rad, the initial forward velocity is 0 m/s, the initial yaw velocity is 0 m/s, and the initial yaw rate is −1.5 rad/s. The desired forward position is set to 0 M. The desired sway position is 0 M. The expected yaw angle is 0 rad. The expected forward speed is 0 m/s. The desired yaw velocity is set to 0 m/s. The expected yaw rate is 0 rad/s.

Figure 4 shows the position response curve of the ship. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure shows the surge position with unit of m. The vertical axis in the middle subfigure shows the sway position with unit of m. The vertical axis in the lower subfigure shows the yaw angle with unit of rad.

Figure 5 shows the ship speed response curves. The horizontal axis represents the time in seconds. The vertical axis in the middle subfigure shows the sway speed with unit of in m/s. The vertical axis in the lower subfigure shows the yaw angle speed with unit of in rad/s.

Figure 6 shows the shift angle and heading error curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents the shift angle in rad. The horizontal axis in the lower subfigure represents the heading error in rad.

Figure 7 shows the input curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents in N. The horizontal axis in the lower subfigure represents in N·m.

Figures 47 shows that the adaptive backstepping sliding mode control with a neural estimator can make the ship reach the desired position and attitude.

4.3. Results at Different Levels of Sea Conditions
4.3.1. At the Third Level of Sea Conditions

The control algorithm is performed at the third level of sea conditions, and other conditions are the same as those in Section 4.2. Figure 8 shows the position response at the third level of sea conditions. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure shows the surge position with unit of m. The vertical axis in the middle subfigure shows the sway position with unit of m. The vertical axis in the lower subfigure shows the yaw angle with unit of rad.

Figure 9 shows the ship speed response curve at the third level of sea condition. The horizontal axis represents the time in seconds. The vertical axis in the middle subfigure shows the sway speed with unit of in m/s. The vertical axis in the lower subfigure shows the yaw angle speed with unit of in rad/s.

Figure 10 shows the shift angle and heading error curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents the shift angle in rad. The horizontal axis in the lower subfigure represents the heading error in rad.

Figure 11 shows the input curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents in N. The horizontal axis in the lower subfigure represents in N·m.

4.3.2. At the Fifth Level of Sea Conditions

The control algorithm is performed at the fifth level of sea conditions, and other conditions are the same as those in Section 4.2. Figure 12 shows the position response at the fifth level of sea conditions. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure shows the surge position with unit of m. The vertical axis in the middle subfigure shows the sway position with unit of m. The vertical axis in the lower subfigure shows the yaw angle with unit of rad.

Figure 13 shows the ship speed response curve at the fifth level of sea condition. The horizontal axis represents the time in seconds. The vertical axis in the middle subfigure shows the sway speed with unit of in m/s. The vertical axis in the lower subfigure shows the yaw angle speed with unit of in rad/s.

Figure 14 shows the shift angle and heading error curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents shift angle in rad. The horizontal axis in the lower subfigure represents the heading error in rad.

Figure 15 shows the input curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents in N. The horizontal axis in the lower subfigure represents in N·m.

Figures 815 show that the designed RBF neural network observer can track both the mild level 3 sea state and the bad level 5 sea state, although the wave disturbance has relatively fast time-varying disturbance. The algorithm has good tracking performance and can realize the accurate estimation of wave disturbance, especially in bad sea conditions.

4.4. Results considering Ship-Bank Interaction Effect

The Ship-bank interaction effect is considered, and other conditions are the same as those in Section 4.2. Figure 16 shows the position response with the ship-bank interaction effect. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure shows the surge position with unit of m. The vertical axis in the middle subfigure shows the sway position with unit of m. The vertical axis in the lower subfigure shows the yaw angle with unit of rad.

Figure 17 shows the ship speed response curve with ship-bank interaction. The horizontal axis represents the time in seconds. The vertical axis in the middle subfigure shows the sway speed with unit of in m/s. The vertical axis in the lower subfigure shows the yaw angle speed with unit of in rad/s.

Figure 18 shows the shift angle and heading error curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents the shift angle in rad. The horizontal axis in the lower subfigure represents the heading error in rad.

Figure 19 shows the input curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents in N. The horizontal axis in the lower subfigure represents in N·m.

Figures 1619 show that the adaptive backstepping sliding mode control with a neural estimator can make the ship reach the desired position and attitude under disturbance.

4.5. Results with Different Parameters of Ship

Different parameters of a ship are also tested, and other conditions are the same as those in Section 4.4. A mariner class vessel [30] is used. The length of the ship is 160.93 meters. The relevant parameters of the ship are as follows: m11 = 0.0084, m22 = 0.0155, m23 = −0.00009, m32 = −0.00023, m33 = 0.00083, d11 = 0.0018, d22 = 0.0116, d23 = 0.0050, d32 = 0.0026, d33 = 0.0017.

Figure 20 shows the position response of a mariner class vessel. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure shows the surge position with unit of m. The vertical axis in the middle subfigure shows the sway position with unit of m. The vertical axis in the lower subfigure shows the yaw angle with unit of rad.

Figure 21 shows the ship speed response curve of a mariner class vessel. The horizontal axis represents the time in seconds. The vertical axis in the middle subfigure shows the sway speed with unit of in m/s. The vertical axis in the lower subfigure shows the yaw angle speed with unit of in rad/s.

Figure 22 shows the shift angle and heading error curve of ship control of a mariner class vessel. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents the shift angle in rad. The horizontal axis in the lower subfigure represents the heading error in rad.

Figure 23 shows the input curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents in N. The horizontal axis in the lower subfigure represents in N·m.

Figures 2023 show that the adaptive backstepping sliding mode control with neural estimator can deal with ships of different parameters considering drift angle and ship-bank interaction.

4.6. Results with Different Initial Conditions

Different initial conditions are also tested, and other conditions are the same as those in Section 4.4. The initial position is [−50 m, 50 m,  rad]. The initial speed is [0 m/s, 0 m/s, 0.07 rad/s]. The desired position is [0 m, 0 m, 0 rad]. The desired speed is [0 m/s, 0 m/s, 0 rad/s]. Figure 24 shows the position response with different initial conditions. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure shows the surge position with unit of m. The vertical axis in the middle subfigure shows the sway position with unit of m. The vertical axis in the lower subfigure shows the yaw angle with unit of rad.

Figure 25 shows the ship speed response curve with different initial conditions. The horizontal axis represents the time in seconds. The vertical axis in the middle subfigure shows the sway speed with unit of in m/s. The vertical axis in the lower subfigure shows the yaw angle speed with unit of in rad/s.

Figure 26 shows the shift angle and heading error curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents shift angle in rad. The horizontal axis in the lower subfigure represents the heading error in rad.

Figure 27 shows the input curve of ship control. The horizontal axis represents the time in seconds. The vertical axis in the upper subfigure represents in N. The horizontal axis in the lower subfigure represents in N·m.

Figures 2427 show that the adaptive backstepping sliding mode control with neural estimator can deal with ships with different initial conditions considering drift angle and ship-bank interaction.

4.7. Performance Comparison

In order to verify the effectiveness of the algorithm, the control effects of different algorithms are compared, including basic sliding mode control (SMC), backstepping sliding mode control (BPSMC), and adaptive neural backstepping sliding mode control (ANBPSMC). The remaining parameters remain unchanged as in Section 4.4. Figure 28 shows the surge response of different algorithms.

Figure 29 shows the sway response of different algorithms.

Figure 30 shows the yaw response of different algorithms.

Figure 31 shows the surge speed response of different algorithms.

Figure 32 shows the sway speed response of different algorithms.

Figure 33 shows the yaw angle speed response of different algorithms.

Figure 34 shows the input curve of different algorithms.

Figure 35 shows the input curve of different algorithms.

Figures 2835 show that, compared with the basic sliding mode control algorithm, the adaptive backstepping sliding mode control with neural estimator has smaller overshoot, shorter system regulation time, smaller heading angle error, and smaller control torque.

5. Conclusion

This paper presents an adaptive backstepping sliding mode control algorithm with a neural estimator for underactuated ships considering both ship-bank interaction effect and shift angle. Based on the feature that the RBF neural network can approach any function, the unknown parameters of the ship model and environmental disturbance are estimated. Based on the Lyapunov stability theory, the tracking error will converge to zero and the system is asymptotically stable. The design of the switching function makes the system robust to uncertainties and external disturbances and avoids chattering. The results show that compared with the basic sliding mode control algorithm and backstepping sliding mode control, the neural estimator adaptive backstepping sliding mode control has less overshoot, shorter system regulation time, less heading error, and less control torque of the actuator. The technical contributions of the control method are summarized as follows:(1)The Ship-bank interaction effect is considered in underactuated ship motion control, especially in berthing, crossing bridge, and near-shore navigation.(2)The time-varying shift angle is estimated by a radial basis function (RBF) neural network with weight parameter adaptive law in an underactuated ship heading control.(3)An adaptive backstepping sliding mode control with a neural estimator is designed. Based on the Lyapunov stability theory, the tracking error converges to zero and the system is asymptotically stable.

The next step is to improve the control algorithm to improve the control accuracy and robustness of the underactuated ship motion control.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The author declares no financial and personal relationships with other people or organizations that can inappropriately influence this work. There is no professional or other personal interest of any nature or kind in any product, service, and company that could be construed as influencing the position presented in the manuscript.

Acknowledgments

The work was supported by the National Natural Science Foundation of China (51879119), Natural Science Foundation of Fujian Province (2018J05085), and the high level research and cultivation fund of transportation engineering discipline in Jimei University (202003).