Next Article in Journal
Decarbonation Effects of Mainstream Dual-Fuel Power Schemes Focus on IMO Mandatory Regulation and LCA Method
Next Article in Special Issue
Marine Voyage Optimization and Weather Routing with Deep Reinforcement Learning
Previous Article in Journal
Uncertain Parameters Adjustable Two-Stage Robust Optimization of Bulk Carrier Energy System Considering Wave Energy Utilization
Previous Article in Special Issue
An Overview of Recent Advances in Pursuit–Evasion Games with Unmanned Surface Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Neural Unilateral Nussbaum Gain Sliding Mode Control for Uncertain Ship Course Keeping with an Unknown Control Direction

1
School of Computer and Control Engineering, Yantai University, Yantai 264005, China
2
Wuhan Digital Engineering Institute, Wuhan 430205, China
3
School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2025, 13(5), 846; https://doi.org/10.3390/jmse13050846
Submission received: 19 March 2025 / Revised: 18 April 2025 / Accepted: 23 April 2025 / Published: 24 April 2025
(This article belongs to the Special Issue Autonomous Marine Vehicle Operations—3rd Edition)

Abstract

:
This paper focuses on the ship control system and studies the problem of unknown control directions. Considering that the traditional Nussbaum gain method has to consider the complex situation where the gain converges to both positive and negative infinity when proving the stability of a system, a unilateral Nussbaum function is defined in this paper. By constructing this function, the design and proof process of the adaptive Nussbaum gain method are simplified. Taking the ship course–keeping control system as the research object, a course angle tracking controller is designed by combining neural network, robust adaptive, and sliding mode control techniques. A dual-input RBF single-output neural network is used to approximate the uncertain part of the system, and the robust adaptive control is adopted to deal with the unknown disturbance. The simulation results at the end of the article show that when the direction suddenly switches, the overshoot of the system reaches 40%, and the adjustment time is approximately 3 s. However, the system can still adapt to the change of the control direction and maintain stability, indicating that the method proposed in this paper is reasonable and effective. And the proposed method can effectively cope with the problems of the unknown control direction and its jump, keeping the system stable, which has great theoretical and engineering application value.

Graphical Abstract

1. Introduction

In the field of control systems for complex dynamic systems, especially ship-related control, the design of controllers is a critical research area. The control direction [1,2], which is a key factor, significantly affects the performance and stability of these systems. During the past twenty years, the control dilemma of continuous nonlinear systems accompanied by unknown control directions has captured the fascination of a great number of scholars. At present, the Nussbaum gain adaptive control approach [3,4] has become the principal research orientation where abundant research outcomes and remarkable breakthroughs have been attained. In 1983, Nussbaum [5] initially put forward the Nussbaum gain theory. By way of a straightforward first-order system, it was demonstrated that this theory is capable of resolving the control issues of systems with indeterminate high-frequency control coefficients.
Concerning the problem of a solitary unknown control direction, extensive research on Nussbaum gain control has been conducted. For example, in 1998, Ye [6] contrived a controller for a lower triangular system through the integration of backstepping design and the Nussbaum technique. In 2003, Shuzhi Sam [7] carried out an investigation into adaptive control in the context of deficient prior knowledge regarding virtual control coefficients. In 2006, Zhou [8] devised a backstepping Nussbaum gain controller for systems having unknown high-frequency gain matrix signs. Nevertheless, during the simulation process, only the circumstance of unknown signs was taken into consideration, while overlooking the situation of high-frequency sign fluctuations. In 2009, Bechlioulis [9] introduced a robust adaptive control algorithm for a class of uncertain nonlinear perturbed systems that possess virtual control gain functions with unknown signs. In 2012, Jin [10] indicated that when the control direction is unknown, the solution method founded on the Nussbaum function proposed by Nussbaum is of pivotal importance in this domain and still stands as the key means of addressing the problem of unknown control directions up until now. In 2024, Liu [11] introduced a novel Nussbaum function design. This design was intended to tackle the coupling cancellation problem of traditional Nussbaum functions in multiple unknown control directions stochastic systems. The stability of the system was safeguarded through Lyapunov analysis. To relieve the computational strain, an innovative combination of a static composite event triggering mechanism (incorporating tracking error and control signal triggering conditions) and intermittent feedback was proposed, and a dynamic composite triggering mechanism was further developed for optimization. This overall plan substantially decreases the frequency of control updates while guaranteeing the boundedness of tracking errors.
Nevertheless, the traditional Nussbaum gain method has its flaws. The traditional approach has to factor in the scenario where the Nussbaum gain converges towards both positive and negative infinity. This makes it rather inconvenient for the proof of system stability. Hence, this paper endeavors to develop a new variety of Nussbaum function, which simplifies the process of proving the stability of a control system.
Reference [12] probed into the correlation between the Mittag-Leffler function and the Nussbaum-type function. The research manifested that under certain particular conditions, the Mittag-Leffler function can be transformed into a Nussbaum-type function. This reference not only unveiled the characteristics of the Nussbaum-type function but also put forward numerous new types of Nussbaum-type functions.
For ship control systems, the ship course–keeping control system is a complex nonlinear system. It is influenced by multiple factors, including unknown control direction coefficients, uncertain parameters, and external disturbances. Traditional control methods often face challenges in achieving satisfactory control performance in such complex scenarios. Some early control strategies, although effective to a certain extent, failed to fully account for the complexity introduced by unknown control directions. For instance, they might have simplified the system model by assuming known control directions, which is far from the real-world situation where control directions can change due to various factors like ship specific dynamics or virtual control coefficients caused by the backstepping design method.
References [13,14] pointed out that since a sailboat is a time-varying system with strong disturbances and model uncertainties, the traditional PID controller does not perform well. The sailboat motion control methods based on fuzzy and neural networks in References [13,14] do not consider the dynamic model of the sailboat, so there are certain limitations in the analysis of system stability. Saoud et al. [15] took the three-degrees-of-freedom sailboat model [16] as the research object, ignored the yaw influence caused by the roll during the motion process of the sailboat, and designed a course controller by using the backstepping method and the switching function, achieving the course-keeping control of the sailboat. Xiao Lin et al. [17] designed a ship motion course controller for a four-degrees-of-freedom sailboat mathematical model without external environmental disturbances by using the backstepping method. Based on Reference [17], Wille et al. [18] considered the influence of external disturbances and designed a course-keeping controller by using state feedback linearization. The mathematical models of ships studied by Saoud et al. [15,16] and Wille et al. [18] are completely known, and the control directions in the controller design are also known, which has a certain gap from the actual engineering situation. In practical engineering, there are situations where the models of unmanned ships are uncertain and the control directions are unknown.
Shen [19] pointed out that due to the fact that unmanned sailboats will encounter numerous unknown navigation hazards during sailing, along with marine interferences such as wind, waves, and currents in the external environment, and taking into account the strong uncertainties of the sailboat model as well as the delay characteristics of the steering gear, etc., all these factors can lead to the problem of the uncertainty of the control direction, or the occurrence of the problem of unknown indirect virtual control coefficients. Du [20], aiming at the difficulty of the unknown control direction existing in the nonlinear control system of ship motion with parameter uncertainties, combined the backstepping algorithm with the Nussbaum gain method and proposed a new adaptive nonlinear control strategy, thus realizing the course-tracking control of ship motion.
Tian [21], in order to improve the problem of the course-keeping control of ships with unknown control directions in the model and being disturbed by the external environment, introduced the Nussbaum gain technology into the backstepping method. The proposed algorithm is capable of solving the problem of the specified steady state performance control under the condition of the unknown control direction in the course-keeping control of ships. Du [22] pointed out that if the influence of the steering gear and parameter uncertainties are considered in the design of the ship course controller, then the ship course control will turn into a nonmatching uncertain nonlinear control problem, especially the problem that the sign of its virtual control coefficient is unknown. By combining the Nussbaum function with the backstepping technology, he designed a course-tracking controller for ship motion and successfully solved the problem of the unknown sign of its virtual control coefficient.
In this paper, a special Nussbaum-type function, which is called the “unilateral Nussbaum function,” is defined. It is used to design an adaptive controller for a nonlinear system, which can simplify the design and proof of the adaptive Nussbaum gain method. It is necessary to analyze the situation that the Nussbaum gain converge to both + and when the traditional Nussbaum gain method is used. But only the consideration of + situation is necessary if the unilateral Nussbaum gain method is adopted. Therefore, it has better quality than the traditional Nussbaum function.
When the backstepping design method is applied to high-order systems, it is prone to the overparameterization problem, which makes the design extremely complicated. Due to its excellent robustness and order reduction characteristics, sliding mode control [23,24] has been widely used in many engineering systems.
In this paper, an adaptive sliding mode control is also adopted to reduce the complexity of the controller design for high-order systems. Meanwhile, a method that combines sliding mode control with the Nussbaum gain is introduced to address the problem of unknown control direction. The overparametric problem was considered in [25], but the unknown control direction problem is neglected. Therefore, in this paper, the unilateral Nussbaum gain method is proposed and used in the ship course–keeping system with uncertainties and an unknown control direction. Meanwhile, aiming at the special nonlinear problems of ship systems, a class of dedicated RBF neural networks [26,27] was designed. Sliding mode control was used to reduce the order of the system, and it was combined with the Nussbaum method to simplify the design and analysis process of the traditional Nussbaum gain control. In this paper, we aim to address the research gaps in the existing method.
We apply this new method to the ship course–keeping control system. Through theoretical analysis and simulations, we verify the effectiveness of the proposed method, offering a novel solution for ship control systems with an unknown control direction in practical engineering applications. The innovative points of this article are as follows:
1. Innovation point regarding neural network: Considering the special nonlinear and uncertain characteristics of the ship, a dedicated RBF nonlinear neural network has been designed. Its basis functions are a combination of linear and cubic terms, which can rapidly compensate the uncertainties of the system.
2. Innovation point regarding the unknown control direction: The large system with the problem of an unknown control direction is decomposed into a two-dimensional situation. One dimension forms a new dynamic system with the sliding mode surface, while the other dimension is reserved for the stability analysis of the Nussbaum gain. The design for the problem of the unknown control direction is divided into two steps, systematically constructing an analytical method for this type of problem, especially simplifying the proof.

2. Methodology

2.1. Unilateral Nussbaum Gain Control of a Nonlinear System

To make the following introduction of a new Nussbaum gain method simple, we propose the definition of unilateral Nussbaum gain at first.
Definition 1.
A function N ( x ) is called a “unilateral Nussbaum-type function” if it satisfies
lim s inf 1 s 2 0 s N ( x ) d x = , lim s sup 1 s 2 0 s N ( x ) d x = +
Considering the traditional Nussbaum function, it is obvious that N ( k ) = k 2 cos ( k ) does not belong to a unilateral-type Nussbaum function, and N 1 ( k ) = k 4 sin ( k ) belongs to the unilateral-type Nussbaum function.
The following lower triangular nonlinear system is used to illustrate the unilateral Nussbaum gain control method:
Considering the following N-order SISO system
x ˙ i = f i ( X ) , i = 1 , , n 1
x ˙ n = g n u + f ( X )
where g n is the unknown control direction, X = ( x 1 , x 2 , , x n ) , and define a new input variable as v = g n u , and design a sliding mode surface as
s a = q ( c 1 , c 2 , , c n , x 1 , x 2 , , x n )
Therefore, the system can be rewritten as
s ˙ a = c n v + f ( X )
Then, the unknown control direction does not exist in the system equation.
Assumption 1.
There exists a control   v = α n and a Lyapunov function V ( X ) = V f ( x 1 , , x n 1 ) + 1 2 s a 2 such that the above system satisfies V ˙ ( X ) 0 and the system is stable.
Lemma 1.
For the abovementioned system, if we design   u = N ( k ) c n α n and k ˙ = c n α n s a   where N ( k ) is a unilateral Nussbaum gain function, then the above system is stable under the condition of unknown control direction.
The proof is as follows:
According to Assumption 1, there exists a Lyapunov function
V ( X ) = V f ( x 1 , , x n 1 ) + 1 2 s a 2
Solving the derivative of the Lyapunov function, we obtain
V ˙ ( X ) = V ˙ f ( x 1 , , x n 1 ) + s a [ c n g n u + f ( X ) ]
Considering the control law, it is easy to obtain
V ˙ ( X ) { 1 + g n N ( k ) } c n α n s a
Design the adaptive regulation law as
k ˙ = c n α n s a
Then
V ( t ) k ( 0 ) k ( t ) g n N ( k ) d k + k ( t ) k ( 0 ) + V ( 0 )
And using Proof by Contradiction, we assume   k ( t ) is unbounded, such as k 2 ( t ) + , then we have
0 V ( t ) k 2 ( t ) 1 k 2 ( t ) k ( 0 ) k ( t ) g n N ( k ) d k + k ( t ) k ( 0 ) + V ( 0 ) k 2 ( t )
Then a contradiction appears and the above assumption does not satisfy and k ( t ) is bounded. It is easy to prove that all signals of the close system are bounded. With the help of Baralat lemma, we can prove that the system is stable.

2.2. Model of Ship Course–Keeping Control System with an Unknown Control Direction

The mathematical model of the ship course–keeping control system is as follows:
ψ ˙ = r r ˙ = K 0 T 0 ( a 1 r + a 2 r 3 ) + f ( r ) + a 0 K 0 T 0 δ + a 0 K 0 T 0 Δ ( t ) f ( r ) = b 1 r + b 2 r 3
where a 0 is an unknown control direction coefficient; b 1 and b 2 are unknown coefficients; a 1 , a 2 , K 0 and T 0 are known coefficients of system; Δ ( t ) is the unknown disturbance, which is bounded and Δ ( t ) d 1 ( u ) , d 1 ( u ) is the bounded function and it is known;   r is the yaw speed; and ψ is the heading angle. The control objective is to design rudder angle δ , such that to make the system stable and make the heading angle trace the desired value.
First, we design a new control variable as v = a 0 K 0 T 0 δ , then the above model can be rewritten as
ψ ˙ = r r ˙ = g ( r ) + f ( r ) + v + h ( v )
where g ( r ) = K 0 T 0 ( a 1 r + a 2 r 3 ) , h ( v ) = a 0 K 0 T 0 Δ ( t ) . At this point, there is no problem of unknown control direction in the system since g ( r ) is completely known, and the uncertainties of the model mainly focus on f ( r ) and h ( v ) . Next, the adaptive sliding mode control method is adopted to design v to make the above system stable.

2.3. Neural RBF Network and Sliding Mode Control for Ship Course–Keeping Control System Without Unknown Control Direction

Firstly, the ship course angle command is set as ψ d , and the course angle error variable is defined as
z 1 = ψ ψ d
A proportional–integral–derivative (PID)-type sliding mode surface is selected as
s 1 = c 1 z 1 + c 2 z 1 d t + c 3 r
The derivative of the sliding mode surface is obtained as
s ˙ 1 = c 1 r + c 2 z 1 + c 3 g ( r ) + c 3 f ( r ) + c 3 v + c 3 h ( v )
Since the structure of the f ( r ) part is known, but only its parameters are uncertain, a special RBF neural network with a combination of cubic and linear terms is designed according to the characteristics of the abovementioned model to approximate the uncertain part f ( r ) of the system. And the robust adaptive control will be used to deal with h ( v ) .
The designed dual-input RBF single-output neural network is as follows:
N ( r ) = j = 1 n w ^ 1 j r m 1 ( r ) + i = 1 n w ^ 2 i r 3 m 2 ( r )
where w ^ 1 j and w ^ 2 i are the weights of the neural network, N ( r ) is the output of the neural network, and the basis functions of the neural network are defined as
m 1 ( r ) = exp ( s 1 c 1 j 2 b 1 j )
m 2 ( r ) = exp ( z 1 c 2 j 2 b 2 j )
The role of the basis functions is mainly to automatically adjust the influence of the weights according to the values of the sliding mode surface and the error, so as to achieve the approximation of the uncertain part. f ( r ) , c 1 j , c 2 j , b 1 j and b 2 j are parameters of the RBF network.
According to the result of the derivative of the sliding mode surface, the control law is designed in a backstepping manner as follows:
c 3 v = c 1 r c 2 z 1 c 3 g ( r ) c 3 N ( r ) c 3 c ^ 4 d 1 ( u ) c 3 p ( s 1 )
where   p ( s 1 ) = k 1 s 1 + k 2 s 1 / s 1 / + ε 1 + k 3 s 1 ( n 2 ) / n , in which n 3 is an odd integer and ε 1 is a softening coefficient. It is not difficult to prove that
s 1 p ( s 1 ) = k 1 s 1 s 1 + k 2 s 1 s 1 s 1 + ε 1 + k 3 s 1 ( n 2 ) / n s 1 0
where k 1 , k 2 and   k 3 are constant control parameters.
After further arrangement, we obtain
v = c 1 c 3 r c 2 c 3 z 1 g ( r ) N ( r ) c ^ 4 d 1 ( u ) p ( s 1 )
Substituting Formula (22) into the derivative formula of the sliding mode surface, we obtain
s ˙ 1 = c 3 f ( r ) + c 3 h ( v ) c 3 N ( r ) c 3 c ^ 4 d 1 ( u ) c 3 p ( s 1 )
Due to the approximation characteristics of the neural network, and because the structure of the neural network in this paper is consistent with the structure of the uncertain part of the system, there obviously exist optimal neural network weights w 1 j and w 2 j such that
j = 1 n w 1 j r m 1 ( r ) + i = 1 n w 2 i r 3 m 2 ( r ) f ( r ) = j = 1 n w 1 j r m 1 ( r ) + i = 1 n w 2 i r 3 m 2 ( r ) b 1 r b 2 r 3
j = 1 n w 1 j r m 1 ( r ) + i = 1 n w 2 i r 3 m 2 ( r ) f ( r ) = r ( b 1 j = 1 n w 1 j m 1 ( r ) ) + ( b 2 i = 1 n w 2 i m 2 ( r ) ) r 3 ε
where ε is an arbitrarily small positive number. In fact, when the following equations are satisfied
b 1 = j = 1 n w 1 j m 1 ( r ) , b 2 = i = 1 n w 2 i m 2 ( r )
It can be obtained that the optimal neural network weights w 1 j   and w 2 j will ensure that
j = 1 n w 1 j r m 1 ( r ) + i = 1 n w 2 i r 3 m 2 ( r ) f ( r ) = 0
According to Formulas (25)–(27), we have
c 3 f ( r ) c 3 N ( r ) = c 3 ( j = 1 n w 1 j r m 1 ( r ) + i = 1 n w 2 i r 3 m 2 ( r ) j = 1 n w ^ 1 j r m 1 ( r ) i = 1 n w ^ 2 i r 3 m 2 ( r ) )
The weight error of the neural network is defined as follows:
w ˜ 1 j = w 1 j w ^ 1 j w ˜ 2 j = w 2 j w ^ 2 j
Then
c 3 f ( r ) c 3 N ( r ) = c 3 ( j = 1 n w ˜ 1 j r m 1 ( r ) + i = 1 n w ˜ 2 i r 3 m 2 ( r ) )
According to Formulas (29) and (30), we have
s 1 ( c 3 f ( r ) c 3 N ( r ) ) = c 3 ( j = 1 n w ˜ 1 j r s 1 m 1 ( r ) + i = 1 n w ˜ 2 i r 3 s 1 m 2 ( r ) )
First, considering the constant value characteristics of the optimal neural network weights w 1 j   and w 2 j , we can solve the derivative of the weight error of the neural network as
w ˜ ˙ 1 j = w ^ ˙ 1 j w ˜ ˙ 2 j = w ^ ˙ 2 j
In order to use the neural network to eliminate the uncertainty f ( r ) , the weight adaptation law of the special RBF neural network with a combination of cubic and linear terms is designed as follows:
w ^ ˙ 1 j = k w 1 r s 1 m 1 ( r ) w ^ ˙ 2 j = k w 2 r 3 s 1 m 2 ( r )
According to Formulas (32) and (33), if the Lyapunov function related to the neural network weights is selected as
V w = c 3 2 k w 1 j = 1 n w ^ 1 j 2 + c 3 2 k w 2 i = 1 n w ^ 2 i 2
The derivative of it is obtained as
V ˙ w = c 3 k w 1 j = 1 n w ˜ 1 j w ^ ˙ 1 j c 3 k w 2 i = 1 n w ˜ 2 j w ^ ˙ 2 j
After further arrangement, we obtain
V ˙ w = c 3 j = 1 n w ˜ 1 j r s 1 m 1 ( r ) c 3 i = 1 n w ˜ 2 j r 3 s 1 m 2 ( r )
Thus, we have
s 1 ( c 3 f ( r ) c 3 N ( r ) ) + V ˙ w = c 3 ( j = 1 n w ˜ 1 j r s 1 m 1 ( r ) + i = 1 n w ˜ 2 i r 3 s 1 m 2 ( r ) )   c 3 j = 1 n w ˜ 1 j r s 1 m 1 ( r ) c 3 i = 1 n w ˜ 2 j r 3 s 1 m 2 ( r )   = 0
The above design mainly uses the neural network to eliminate the uncertain part f ( r ) . Next, a robust adaptive control is designed to deal with h ( v ) .

2.4. Robust Control for Uncertainties of Ship Course–Keeping Control System with Unknown Control Direction

Considering the uncertainties of the ship course–keeping control system that Δ ( t ) d 1 ( u ) , we have
s 1 c 3 h ( v ) s 1 c 3 c ^ 4 d 1 ( u ) = c 3 a 0 K 0 T 0 s 1 Δ ( t ) s 1 c 3 c ^ 4 d 1 ( u ) c 3 a 0 K 0 T 0 s 1 d 1 ( u ) s 1 c 3 c ^ 4 d 1 ( u )
After further arrangement, we obtain
s 1 c 3 h ( v ) s 1 c 3 c ^ 4 d 1 ( u ) ( c 3 a 0 K 0 T 0 s 1 s i g n ( d 1 ( u ) ) s 1 c 3 c ^ 4 ) d 1 ( u )   ( c 3 a 0 K 0 T 0 s i g n ( d 1 ( u ) ) s i g n ( s 1 ) s 1 s 1 c 3 c ^ 4 ) d 1 ( u ) ( a 0 K 0 T 0 s i g n ( s 1 d 1 ( u ) ) c ^ 4 ) s 1 c 3 d 1 ( u )
We define
c 4 = a 0 K 0 T 0 s i g n ( s 1 d 1 ( u ) )
And defining c ~ 4 = c 4 c ^ 4 , according to Formulas (38) and (39), its derivative is obtained as
c ˜ ˙ 4 = c ˙ 4 c ^ ˙ 4 = ( s i g n ( s 1 d 1 ( u ) ) c ^ ˙ 4
Therefore, the adaptive parameter adjustment law can be designed as
c ^ ˙ 4 = s 1 c 3 d 1 ( u )
The estimation error of the unknown parameter is defined as
c ˜ 4 = c 4 c ^ 4
The Lyapunov function related to the parameter is selected as
V 2 = 1 2 c ˜ 4 2
The derivative of it is obtained as
V ˙ 2 = c ˜ 4 c ˜ ˙ 4
According to Formulas (41)–(45), and considering that the sign change only brings a momentary disturbance to the system, we have
s 1 c 3 h ( v ) s 1 c 3 c ^ 4 d 1 ( u ) + V ˙ 2 c ˜ 4 s 1 c 3 d 1 ( u ) + V ˙ 2 0
The Lyapunov function related to the sliding mode surface is selected as
V 3 = 1 2 s 1 2
The derivative of the Lyapunov function is obtained as
V ˙ 3 = s 1 s ˙ 1
So far, the total Lyapunov function of the system is selected as
V = V 1 + V 2 + V 3
Using the control law designed as shown in the formula v = c 1 c 3 r c 2 c 3 z 1 g ( r ) N ( r ) c ^ 4 d 1 ( u ) p ( s 1 ) , its derivative is obtained as
V ˙ s 1 p ( s 1 ) 0
According to the Lyapunov stability theory, it is not difficult to prove that the system is stable, all signals are bounded, and thus the sliding mode surface variable converges to 0. Since the coefficients c 1 , c 2 and c 3 are positive and Hurwitz, and the sliding mode surface variable is selected as s 1 = c 1 z 1 + c 2 z 1 dt + c 3 r , it is not difficult to further prove that the error is stable; that is, z 1 approaches 0, so as to achieve the control goal of tracking the heading angle.
According to the above lemma 1, we can directly design δ = N ( k ) v and k ˙ = c 3 v s a , at this time, V f ( x 1 , , x n 1 ) in Assumption 1 is set as V f ( x 1 , , x n 1 ) = V 1 + V 2 . Then, based on the above lemma, it is not difficult to prove that the above design can ensure the stability of our ship course–keeping system and the tracking of the heading angle.
After establishing the theoretical framework, the following section presents an example and simulation to verify the effectiveness of the proposed method.

3. Results and Discussion

In the context of maritime scenarios, considering the impacts of ocean waves, ocean currents, and sensor noise, ship models exhibit significant uncertainties. Mathematically, these uncertainties can be equivalently described as uncertainties in Δ ( t ) and the unknown values and sign changes of a 0 . Under the theoretical assumptions of an unknown control direction, sign changes, and complete reversals, the control difficulty of the abovementioned models is greater than the challenges posed by the impacts of ocean waves, ocean currents, and sensor noise.

3.1. Example

Using the abovementioned model, the parameter is selected as follows to do the simulation: a 1 = 7.93 , a 2 = 4100.46 , K 0 = 0.31 , T 0 = 62 ; The ship course angle command is selected as ψ d = 5 π / 180 , and design
p ( s 1 ) = 2 s 1 + 0.2 s 1 s 1 + ε 1 + 0.1 s 1 3 / 5
And choose the unilateral Nussbaum gain function as
N ( k ) = k 4 sin k
And choose simulation parameters as c 1 = 10 , c 2 = 0.2 , c 3 = 0.1 , k 1 = 2 , k 2 = 0.5 , k 3 = 0.1 , n = 5 .

3.2. Simulation Results and Discussion

When the unknown control direction is not taken into account, we set a 0 = 1 . At this time, the control effects are shown in Figure 1 and Figure 2. Figure 1 presents the yaw angle response curve of the ship, and Figure 2 presents the yaw angle rate response curve. As shown in Figure 1 and Figure 2, the system response is relatively smooth, and the overshoot is small. Since the unknown control direction is not considered, the magnitude of the control gain can be reasonably selected, enabling the response curve of the entire system to have excellent dynamic performance. However, when the control direction is unknown, especially when a jump occurs, the difficulty of control will increase sharply. In particular, due to the unknown jump of the control direction, which is an unmeasurable and unpredictable jump, the system is likely to switch from negative feedback to positive feedback, resulting in a transient divergence phenomenon, thereby increasing the difficulty of control.
However, considering the possible problem of an unknown control direction in practical situations, we set a 0 = 1 t < 15 1 t > 15 . As shown in Figure 3, the search jump situation of the Nussbaum gain at this time is shown in Figure 4. The yaw angle rate response curve under the condition of control direction jump is shown in Figure 5, and the yaw angle response curve is shown in Figure 6. It can be seen from Figure 7 that the value of the Nussbaum gain function can quickly search following the jump of the control direction. From Figure 5 and Figure 6, it can be observed that due to the drastic challenges brought to the system by the jump of the control direction, the control method proposed in this paper can automatically adjust and find the appropriate control gain direction for compensation again, so that the overall gain direction of the system remains unchanged, thus keeping the system stable.
And if we choose a proper simulation parameters as c 1 = 7 , c 2 = 0.15 , c 3 = 0.07 , k 1 = 1.2 , k 2 = 0.2 , k 3 = 0.1 , n = 5 . The simulation results are shown in the following Figure 6, and the overshoot can be reduced to 40%.
Furthermore, in order to verify the robustness of the method provided in this paper, we also perturbed the known parameters of the model, increasing them by 30%, respectively. Meanwhile, the desired yaw angle was set to −5 degrees, and the simulation results are as shown in Figure 8.
And we test the situation that the desired yaw angle is changed to 4 degrees and the parameters are overall perturbed downward by 30%, then the simulation results are shown in Figure 9.
As can be seen from Figure 8 and Figure 9, although the perturbation of known model parameters was not considered in the theoretical design, the controller can still maintain stability in the case of parameter perturbations. The abovementioned simulation results show that the method provided in this paper has excellent robustness. The main reason is that the control difficulty caused by the perturbation due to unknown direction is much greater than the harm to stability caused by the perturbation of the model.
From the simulation results of the three scenarios, namely known control direction, unknown control direction but known model parameters, and unknown control direction with model parameter perturbations, it can be seen that when the control direction is known, the overshoot of the output response is very small, and the control difficulty is relatively low. In the second scenario, where the control direction is unknown without considering model parameter perturbations, the control difficulty increases significantly. This is mainly manifested in the jump of the control direction to the opposite direction, which turns the system from negative feedback into something similar to positive feedback, causing the system to diverge in a short time and resulting in a large overshoot in the output. However, the unilateral Nussbaum gain control method proposed in this paper can identify the control direction in a short time and effectively compensate for it, thus ensuring the stability of the system. The simulation results of the third scenario further demonstrate the correctness and effectiveness of the method proposed in this paper. In particular, it shows that the greatest difficulty and challenge in control come from the unknown control direction rather than the uncertainty of model parameters.
In order to further illustrate the superiority of the method proposed in this paper, we employed the ordinary adaptive method to address the problem of control direction switching and carried out a comparative analysis. The simulation results are shown in Figure 10 and Figure 11. Figure 10 shows the experimental results of tracking the desired angle of 5 degrees using the ordinary adaptive method. It indicates that when the control direction is not switched, the system is stable. However, after the control direction is switched, the system diverges rapidly within 2 s. At the 18th second, that is, 3 s after the control direction is switched, the system response is as shown in Figure 11. It can be seen that the system diverges very rapidly, and neither the conventional adaptive method nor the PID control method can deal with the instability problem caused by the unknown switching of the control direction. It can be seen that although the Nussbaum gain method results in an overshoot of 40%, it is still a good choice for the system controller design.
Furthermore, we increased the parameter perturbations to plus or minus 70%, and set the parameters of b 1 and b 2 to be 2 times and 20 times of K 0 T 0 , respectively. The final simulation results are shown in Figure 12. As can be seen from the simulation results, under significant parameter perturbations and with full consideration of uncertainties, the method proposed in this paper still exhibits excellent robustness.
In order to conduct a quantitative evaluation of the neural network’s performance in handling uncertainties, we have supplemented the results obtained without using the neural network. The results are shown in Figure 13. It can clearly be seen that the overshoot is even larger, exceeding 120%. This indicates that the incorporation of the neural network can effectively handle and compensate for the impacts brought about by uncertainties, thus improving the performance of the system.
From the above simulation results, the rationality and effectiveness of the method proposed in this paper are verified. It can solve the huge challenges to the system stability caused by the sharp gain jumps in practical engineering, which endows the method proposed in this paper with high theoretical value and practical engineering value.

4. Conclusions

For the complex nonlinear dynamic model of the ship maneuvering system, a course angle tracking controller that combines neural networks, robust adaptive control, and sliding mode control has been designed. Moreover, the problem of unknown control direction has been taken into account, and a unilateral Nussbaum gain control function has been introduced to address it. The final simulation also demonstrates the effectiveness of the method proposed in this paper.
The main innovations and contributions of this paper are as follows. First, the large system with the problem of unknown control direction is decomposed into a two-dimensional situation. One dimension forms a new dynamic system with the sliding mode surface, while the other dimension is reserved for the stability analysis of the Nussbaum gain. Therefore, the design for the problem of unknown control direction is divided into two steps, systematically constructing an analytical method for this type of problem, especially simplifying the proof. Second, the unilateral Nussbaum gain method is combined with the sliding mode control method and applied to the control of the ship system. As a result, both the problem of unknown direction and the overparameterization problem in the backstepping design are solved. Third, considering the special nonlinear and uncertain characteristics of the ship, a dedicated RBF nonlinear neural network has been designed. Its basis functions are a combination of linear and cubic terms, enabling rapid compensation for the uncertainties of the system.
In the entire design of this paper, sliding mode control mainly ensures the stability of the system under other model uncertainties when there is no uncertainty in the control direction; that is, it guarantees the stability and robustness of the system under Δ ( t ) . On the other hand, Nussbaum gain control, based on sliding mode control, ensures the stability of the system in the presence of a 0 and the jump of its sign. Therefore, the entire design is closely linked, carefully crafted, and logically rigorous.
The research in this paper does not consider the dynamic characteristics of the actuators. If the second-order dynamic characteristics of the actuators are taken into account, the order of the entire system will increase, and the system design and stability analysis will become more complex. At the same time, the direct problem of the unknown control direction will transform into the problem of the unknown indirect control coefficients, and the entire design will be different. Moreover, this paper does not directly model the influences of ocean waves, ocean currents, and sensor noise. Instead, it merely describes the amplitude of the uncertainties mathematically. Therefore, it lacks sufficient physical persuasiveness. In our future research plan, more realistic marine scenarios will be incorporated, taking into account environmental disturbance factors such as wind, waves, ocean currents, and sensor noise. The main method is to model wind, waves, ocean currents, and sensor noise one by one at first, and then simplify the models. These models will be organized into common uncertainties that match theoretical analysis, and then theoretical design and experimental result analysis will be carried out. Finally, regarding the assumptions about uncertainties, for input uncertainties, it is necessary to assume that the bounding function is known. Therefore, in our future research, we will further relax the restrictions on uncertainties and conduct in-depth research on the abovementioned issues.

Author Contributions

G.M.: conceptualization, methodology, formal analysis, project management, funding acquisition, paper framework; D.L.: methodology derivation, simulation experiments, paper writing and editing; Q.W.: investigation, formal analysis, data organization, and funding acquisition; L.S.: paper verification and supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Key R&D Program of China (Grant No. 2021YFE0111600).

Data Availability Statement

When using the data in this manuscript, readers can directly cite this manuscript or contact the authors for access.

Acknowledgments

This study would like to express special gratitude to the National Key Research and Development Program (2021YFE0111600) for its funding.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Feng, X.; Wang, C. Adaptive tracking control-based Nussbaum gain for a class of multi-input and multi-output nonlinear systems with time-varying state constraints. Proc. Inst. Mech. Eng. Part I-J Syst. Control Eng. 2024, 238, 1153–1165. [Google Scholar] [CrossRef]
  2. Mousavi, A.; Markazi, A.H.D. Adaptive fuzzy sliding-mode control of under-actuated systems with unknown input gain function. Proc. Inst. Mech. Eng. Part C-J. Eng. Mech. Eng. Sci. 2024, 238, 5455–5468. [Google Scholar] [CrossRef]
  3. Ding, J.; He, X.; Wu, L.; Yu, Q. Nussbaum gain adaptive fuzzy control for switched nonlinear systems with predefined output and full time-varying states constraints. Asian J. Control 2023, 26, 175–189. [Google Scholar] [CrossRef]
  4. Miao, B.; Li, S.; Liu, L. Nussbaum gain adaptive control for full-state constrained cyber-physical system under network attacks and actuator failures. Int. J. Robust Nonlinear Control 2023, 34, 2515–2531. [Google Scholar] [CrossRef]
  5. Nussbaum, R.D. Some remarks on a conjecture in parameter adaptive control. Syst. Control Lett. 1983, 3, 243–246. [Google Scholar] [CrossRef]
  6. Ye, X.; Jiang, J. Adaptive nonlinear design without a priori knowledge of control directions. IEEE Trans. Autom. Control 1998, 43, 1617–1621. [Google Scholar]
  7. Shuzhi Sam, G.; Wang, J. Robust adaptive tracking for time-varying uncertain nonlinear systems with unknown control coefficients. IEEE Trans. Autom. Control 2003, 48, 1463–1469. [Google Scholar] [CrossRef]
  8. Zhou, Y. Output-Feedback Adaptive Control for MIMO Uncertain Nonlinear Systems. Doctoral Dissertation, Southeast University, Nanjing, China, 2006. [Google Scholar]
  9. Bechlioulis, C.P.; Rovithakis, G.A. Adaptive control with guaranteed transient and steady state tracking error bounds for strict feedback systems. Automatica 2009, 45, 532–538. [Google Scholar] [CrossRef]
  10. Jin, K.; Sun, M.X. Adaptive repetitive control for nonlinear systems with unknown control directions. Contr. Theory Appl. 2012, 29, 1176–1180. [Google Scholar]
  11. Liu, G.; Yang, Y.; Ding, D.W.; Li, Q. Adaptive Nussbaum design using composite triggering condition for stochastic nonlinear systems with multiple unknown control directions. Int. J. Robust Nonlinear Control 2024, 34, 11487–11512. [Google Scholar] [CrossRef]
  12. Li, Y.; Chen, Y. When is a Mittag–Leffler function a Nussbaum function? Automatica 2009, 45, 1957–1959. [Google Scholar] [CrossRef]
  13. Ge, Y.; Meng, Q.C.; Zhang, W.; Pang, H.P.; Gao, Y. Research on fuzzy adaptive control method of a sailboat. J. Harbin Inst. Technol. 2005, 37, 1658–1660+1742. [Google Scholar]
  14. Yang, C.E.; Bi, Y.J. Application of a neural network adaptive autopilot for a yacht. Shipbuild. China 2004, 45, 25–32. [Google Scholar]
  15. Saoud, H.; Hua, M.-D.; Plumet, F.; Amar, F.B. Routing and course control of an autonomous sailboat. In Proceedings of the 2015 European Conference on Mobile Robots (ECMR), Lincoln, UK, 2–4 September 2015; pp. 1–6. [Google Scholar]
  16. Saoud, H.; Hua, M.-D.; Plumet, F.; Ben Amar, F. Modeling and control design of a robotic sailboat. In Proceedings of the Robotic Sailing 2013: Proceedings of the 6th International Robotic Sailing Conference; Springer: Cham, Switzerland, 2014; pp. 95–110. [Google Scholar]
  17. Xiao, L.; Jouffroy, J. Modeling and Nonlinear Heading Control of Sailing Yachts. IEEE J. Ocean. Eng. 2014, 39, 256–268. [Google Scholar] [CrossRef]
  18. Wille, K.L.; Hassani, V.; Sprenger, F. Modeling and Course Control of Sailboats. IFAC-PapersOnLine 2016, 49, 532–539. [Google Scholar] [CrossRef]
  19. Shen, Z.P.; Zou, T.Y. Adaptive dynamic surface course control for an unmanned sailboat with unknown control direction. J. Harbin Eng. Univ. 2019, 40, 94–101. [Google Scholar]
  20. Du, J.L.; Guo, C. Nonlinear adaptive design for course-tracking control of ship without a priori knowledge of control gain. Control. Theory Appl. 2005, 22, 315–320. [Google Scholar]
  21. Tian, B.J.; Liu, Z.J.; Zheng, Y.F. Robust adaptive control for uncertain ship course keeping with unknown control direction. Control Decis. 2016, 31, 2059–2064. [Google Scholar]
  22. Du, J.L.; Guo, C.; Yang, C.E. Adaptive Nonlinear Design of Autopilot for Ship Course Tracking. J. Appl. Sci. 2006, 24, 83–88. [Google Scholar]
  23. Dang, S.T.; Dinh, X.M.; Kim, T.D.; Xuan, H.L.; Ha, M.H. Adaptive Backstepping Hierarchical Sliding Mode Control for 3-Wheeled Mobile Robots Based on RBF Neural Networks. Electronics 2023, 12, 2345. [Google Scholar] [CrossRef]
  24. Jiang, B.P.; Liu, D.Y.; Karimi, H.R.; Li, B. RBF Neural Network Sliding Mode Control for Passification of Nonlinear Time-Varying Delay Systems with Application to Offshore Cranes. Sensors 2022, 22, 5253. [Google Scholar] [CrossRef] [PubMed]
  25. Kim, S.-H.; Kim, Y.-S.; Song, C. A robust adaptive nonlinear control approach to missile autopilot design. Control Eng. Pract. 2004, 12, 149–154. [Google Scholar] [CrossRef]
  26. Zhou, Y.; Sun, Z.J.C. Control of stability in semi-passive robot based on RBF neural network. Chaos Solitons Fractals 2023, 173, 113623. [Google Scholar] [CrossRef]
  27. He, Y.G.; Zhou, Y.; Cai, Y.F.; Yuan, C.C.; Shen, J. DSC-based RBF neural network control for nonlinear time-delay systems with time-varying full state constraints. ISA Trans. 2022, 129, 79–90. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Yaw angle response curve.
Figure 1. Yaw angle response curve.
Jmse 13 00846 g001
Figure 2. Yaw angle rate response curve.
Figure 2. Yaw angle rate response curve.
Jmse 13 00846 g002
Figure 3. The jump curve graph of the control direction.
Figure 3. The jump curve graph of the control direction.
Jmse 13 00846 g003
Figure 4. The jump curve graph of the Nussbaum gain.
Figure 4. The jump curve graph of the Nussbaum gain.
Jmse 13 00846 g004
Figure 5. The yaw angle rate response curve under the condition of control direction jump.
Figure 5. The yaw angle rate response curve under the condition of control direction jump.
Jmse 13 00846 g005
Figure 6. The yaw angle response curve under the condition of control direction jump.
Figure 6. The yaw angle response curve under the condition of control direction jump.
Jmse 13 00846 g006
Figure 7. The response curve of the value of the Nussbaum gain fucntion.
Figure 7. The response curve of the value of the Nussbaum gain fucntion.
Jmse 13 00846 g007
Figure 8. The yaw angle response curve with parameters increased 30%.
Figure 8. The yaw angle response curve with parameters increased 30%.
Jmse 13 00846 g008
Figure 9. The yaw angle response curve with parameters downward by 30%.
Figure 9. The yaw angle response curve with parameters downward by 30%.
Jmse 13 00846 g009
Figure 10. The yaw angle response curve in 17s with common adaptive method.
Figure 10. The yaw angle response curve in 17s with common adaptive method.
Jmse 13 00846 g010
Figure 11. The yaw angle response curve in 18s with common adaptive method.
Figure 11. The yaw angle response curve in 18s with common adaptive method.
Jmse 13 00846 g011
Figure 12. The yaw angle response curve under the condition of control direction jump.
Figure 12. The yaw angle response curve under the condition of control direction jump.
Jmse 13 00846 g012
Figure 13. The yaw angle response curve without neural network.
Figure 13. The yaw angle response curve without neural network.
Jmse 13 00846 g013
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ma, G.; Li, D.; Wei, Q.; Song, L. Neural Unilateral Nussbaum Gain Sliding Mode Control for Uncertain Ship Course Keeping with an Unknown Control Direction. J. Mar. Sci. Eng. 2025, 13, 846. https://doi.org/10.3390/jmse13050846

AMA Style

Ma G, Li D, Wei Q, Song L. Neural Unilateral Nussbaum Gain Sliding Mode Control for Uncertain Ship Course Keeping with an Unknown Control Direction. Journal of Marine Science and Engineering. 2025; 13(5):846. https://doi.org/10.3390/jmse13050846

Chicago/Turabian Style

Ma, Guoxin, Dongliang Li, Qiang Wei, and Lei Song. 2025. "Neural Unilateral Nussbaum Gain Sliding Mode Control for Uncertain Ship Course Keeping with an Unknown Control Direction" Journal of Marine Science and Engineering 13, no. 5: 846. https://doi.org/10.3390/jmse13050846

APA Style

Ma, G., Li, D., Wei, Q., & Song, L. (2025). Neural Unilateral Nussbaum Gain Sliding Mode Control for Uncertain Ship Course Keeping with an Unknown Control Direction. Journal of Marine Science and Engineering, 13(5), 846. https://doi.org/10.3390/jmse13050846

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop