Next Article in Journal
Binocular Vision-Based Non-Singular Fast Terminal Control for the UVMS Small Target Grasp
Previous Article in Journal
Complex Plastids and the Evolution of the Marine Phytoplankton
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Model-Free Adaptive Sliding Mode Control Method for Unmanned Surface Vehicle Course Control

College of Automation, Jiangsu University of Science and Technology, Zhenjiang 212000, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(10), 1904; https://doi.org/10.3390/jmse11101904
Submission received: 6 September 2023 / Revised: 25 September 2023 / Accepted: 28 September 2023 / Published: 30 September 2023
(This article belongs to the Section Ocean Engineering)

Abstract

:
A novel data-driven-based adaptive sliding-mode control scheme is proposed for unmanned surface vehicle course control in the presence of disturbances. The proposed method utilizes the model-free adaptive control (MFAC) theory. On account of the unknown dynamics of the USV course system, the control scheme is only established by online input and output information of the system. Based on a model-free adaptive control scheme, the system disturbance estimation technique is applied to compensate for the disturbances in the established compact form dynamic linearization data model. The controller is designed and combined with the sliding mode method, and a second-order switching surface with a fast terminal sliding function is employed to achieve finite-time convergence. Furthermore, an analysis of the stability of the control system is provided. Finally, MATLAB simulations are implemented to verify the validity and robustness of the proposed control scheme by comparing it with PID and typical model-free adaptive sliding mode control.

1. Introduction

An intelligent ship with autonomous functionalities, the Unmanned Surface Vehicle (USV) possesses the ability to undertake a range of tasks by incorporating diverse equipment modules. These tasks encompass surveys, search and rescue operations, salvage missions, waste recycling and more. Many scholars and engineers have conducted extensive research on the USV. The USV operates with a sophisticated control system due to its inherent traits of nonlinearity, uncertainty and dynamic variability. Developing a precise dynamic mathematical model for the USV proves to be a formidable challenge. As the USV navigates at varying speeds, substantial alterations occur in crucial physical parameters such as hull wetting area and draft, consequently inducing shifts in the hydrodynamic coefficients of the hull. Besides this, the large influence of environmental disturbances also affects the accuracy of the model. Due to the difficulty in describing time-varying disturbances using mathematical models, the control algorithm proposed by the conventional mathematical models lacks adaptability and ensuring the stability and robustness of the control system is a challenging task.
Course control for USVs is an essential and foundational issue. There are four main types of mathematical models for USV course control, such as Nomoto [1], Norribin [2,3], MMG [4] and Fossen [5]. Based on these mathematical models, many methods have been applied to solve the course control, achieving desirable theoretical results, mainly including PID control [6], ADRC [7], dynamic surface control [8,9], sliding mode control [10,11], intelligent control [12,13] and other methods. However, apart from PID, most of the other methods mentioned above have not been verified on actual USV. In actual physical systems, in addition to external disturbances and system parameter uncertainty, there are also problems such as time delay in the system [14]. These all increase the difficulty of control.
Apart from the conventional control methods mentioned above, to design a control law for data-driven methods, only input and output data are used instead of an accurate mathematical model of the controlled system. Therefore, the primary benefit of data-driven methods resides in their capacity to design controllers without the need for a precise mathematical model of the system. By learning from the actual system responses, data-driven techniques can effectively capture the system’s characteristics and provide control strategies that accommodate the inherent complexities and uncertainties often present in real-world systems.
According to the controller structure, these data-driven methods can be divided into two categories [15]. The methods with a known controller structure belong to the first category. The designer is tasked with identifying an appropriate controller structure. Examples of this category encompass methods such as virtual reference feedback tuning, iterative feedback tuning and unfalsified control. In the second category, the controller structure is not necessarily known. Subspace predictive control, iterative learning control and MFAC are representative types within this classification. Differing from the first class, the methods in this class have more robustness in an actual environment. Besides the advantages of an unknown controller structure, MFAC also has attractive properties. External testing and training process is not required, and the control approach is straightforward and readily implementable [15].
Hou et al. [16,17] have constructed and improved the theoretical framework and content of MFAC and have completed some research work. MFAC has found application in numerous nonlinear and complex systems, such as quadrotors [18], morphing vehicles [19], unmanned ground vehicles [20], autonomous underwater vehicles [21], absorption refrigeration systems [22], etc. MFAC also applies to USV control. For USV trajectory tracking, a novel control approach is formulated by combining PID control and sliding mode control techniques [23]. In [24], a new data-driven PI-type sliding-mode surface is proposed within backstepping. For USV path following, a data-driven sideslip observer-based line-of-sight guidance law is designed, and a data-driven SMC approach is developed for data-driven velocity controllers [25].
In [26], the indirect realization of the USV course control is achieved through the utilization of the angular velocity guidance algorithm within the outer loop. The CFDL-MFAC is applied for angular velocity control in the inner loop. To realize direct control of the heading angle, the redefined output CFDL-MFAC method is introduced by incorporating a redefined system-controlled output. The newly defined system output is obtained as the linear sum of the heading angle and angular velocity [27]. Drawing on the concept of redefined system output, the new output is the linear sum of the input and output information of the controlled system [28]. In order to address the control performance sensitivity of the system to the redefined output gain of RO-CFDL-MFAC, a controller output constraint function is proposed [29]. In order to tackle the challenges associated with overshooting, oscillations and sluggish convergence in the heading control using the MFAC approach, an adaptive forgetting factor is incorporated into the CFDL-MFAC method [30], and a variable integral separation model-free adaptive control algorithm is proposed with proportional control and variable integral separation factor [31].
While MFAC operates independently of the USV mathematical model, and time-varying parameter pseudo partial derivative (PPD), pseudo gradient (PG) or pseudo-Jacobian matrix (PJM) are updated online through the system I/O data by the estimation algorithm. This means a certain adaptive ability of MFAC to the disturbances. However, for a complex nonlinear system with disturbances, the estimation of PPD in the MFAC is not accurate enough. Hence, Ref. [32] demonstrates that when the system has disturbance, the performance of the control system based on MFAC will still be affected. In [33], the RBFNN-MFAC approach is introduced as a means of enhancing controller performance by integrating radial basis function neural networks to predict the value of PPD. In another approach [34], to obtain accurate PPD, the observer technique is adopted to tackle the issues of parametric perturbations and unknown external disturbances.
In addition, in the field of control, the distinctive attributes of robustness, rapid convergence rate and simplicity have led to substantial interest in sliding mode control. Therefore, in [32], model-free adaptive sliding mode control (MFASMC) is first developed. MFASMC still utilizes the model-free adaptive control algorithm framework, but SMC law is used instead of control law based on the optimal objective function. Specifically, the SMC method is used to calculate the control increment in the dynamic linearized data model. In [31], the MFASMC method is proposed for discrete-time single-input single-output (SISO) systems, and the reaching law is chosen as the exponential reaching law. Based on the MFASMC framework, many MFASMC methods have been developed. In [35], a multi-degree-of-freedom robotic exoskeleton employs an analogous reaching law to introduce the concept of MFASMC. In [36], a new MFASMC is designed with the terminal SMC technique for MIMO systems. In this work, in order to enhance the control system’s performance even further, the control scheme is proposed using the prescribed performance control method. Similar work is completed in complex industrial processes [37]. For the purpose of augmenting the control authority of MFASMC, a novel stabilizing sliding variable is introduced [38]. In [39], a high-order switching surface is used to design a model-free high-order TSMC law to mitigate the chattering problem.
Drawing upon the aforementioned research findings, the paper delves into the discussion of USV course control using the model-free adaptive sliding mode control method. The principal work of this paper includes:
  • For the USV course control system with disturbance, a data-based model is established based on the nonparametric dynamic linearization technique. The disturbance estimation method is adopted to estimate unknown disturbance terms in the data-based model;
  • A new approach to adaptive sliding mode control without relying on a model has been introduced, which uses second-order discrete sliding mode function and fast terminal sliding mode surface to attain quicker convergence rates and improved robustness compared to conventional SMC methods;
  • The stability of the USV course control system under the proposed MFASMC method is proved. Simulation outcomes of the proposed approach are contrasted with those of PID control and model-free linear sliding mode control. Compared results show that the proposed MFASMC method has better tracking performance for the USV course control system in the presence of disturbances.
The subsequent sections of the paper are structured as follows: Section 2 elaborates on the dynamic linearization technique for the USV course control problem, along with some preliminary issues about the CFDL-MFAC. The design process of model-free second-order fast terminal sliding mode control is outlined in Section 3. Section 4 introduces the stability analysis of the closed-loop system governed by the proposed MFASMC approach. Comparative simulation results by different methods are illustrated in Section 5. Finally, the primary conclusions of the paper are summarized in Section 6.

2. Problem Formulation

Throughout the paper, · denotes the absolute operator, · is the Euclidean norm, and · ^ is the estimate of · . Therefore, the estimation error is represented by · ~ = · ^ · .
The course control system for USV can be expressed as
ψ ˙ = r , r ˙ = f r , δ + d t ,
where ψ is the course angle and ψ 180 ° , 180 ° . r is the angular velocity. d ( t ) is the time-varying bounded disturbance, which satisfies the condition d ( t ) d 0 , d 0 > 0 . δ is the rudder angle. Noting the saturation characteristics of the rudder angle, the maximum value of control input δ of the course control system is limited to δ 30 ° , 30 ° . For the second equation of (1), the subsystem takes the rudder angle δ as its input and produces the angular velocity r as its output. In addition, function f r , δ is unknown.
Within the MFAC methodology, three dynamic linearization control schemes exist: CFDL-MFAC, PFDL-MFAC and FFDL-MFAC. This paper delves into the USV course control issue by the CFDL-MFAC control scheme, taking into account the characteristics of the USV system. Meanwhile, the USV course system can be expressed as a SISO nonlinear discrete-time system
ψ ( k + 1 ) = f ψ ( k + 1 ) , , ψ k n ψ , δ ( k ) , , δ k n δ + d ( k ) ,
where ψ k + 1 and δ k respectively represent the output of the system (1) at time k + 1 and the input at time k . n ψ and n δ are the orders of the system.
Let
ψ m k + 1 = f ψ k + 1 , , ψ k n ψ , δ k , , δ k n δ
From (2) and (3), we get
ψ k + 1 = ψ m k + 1 + d k ,
Therefore, it can be obtained that
ψ k + 1 = ψ m k + 1 + d k ,
where ψ k + 1 = ψ k + 1 ψ ( k ) , ψ m k + 1 = ψ m k + 1 ψ m k and d k = d k d k 1 .
The core idea behind the MFAC approach involves creating a dynamic linear data model that equals a nonlinear system at each operational state. Before introducing MFAC, the course control system described by (3) is assumed to satisfy the following assumptions [17]:
Assumption 1:
The input and output of the system (1) are measured and controllable, meaning that for any bounded desired output signal ψ d k + 1 , it is always possible to find a bounded control input signal that results in the system’s output being equivalent to ψ d k + 1 .
Assumption 2:
Except for finite moment, the partial derivatives of f with respect to control input δ k are continuous.
Assumption 3:
With the exception of finite time moments, the system (1) meets the criteria of the generalized Lipschitz condition ψ m k 1 + 1 ψ m k 2 + 1 b δ k 1 δ k 2 , while k 1 k 2 , and δ k 1 δ k 2 and b > 0 is a constant.
The assumptions stated above are appropriate and acceptable for the USV course control system. Assumption 1 is a foundational premise regarding the system to be controlled. Assumption 2 is a typical condition for nonlinear systems in control system design. Assumption 3 implies that the alterations in the outputs of the USV course system remain within limits when there are controlled variations in the input.
Lemma 1.
With Assumptions 1–3, if  δ k 0 , the existence of a time-varying parameter  ϕ k R , referred to as a pseudo partial derivative, is necessary for expressing system (1) in the following CFDL data model
ψ m k + 1 = ϕ k δ k ,
where  ϕ k  is a bounded parameter and  δ k = δ k δ k 1 .
A comprehensive demonstration of Lemma 1 can be found in the literature [17]. With the CFDL data model, we obtain
ψ m k + 1 = ψ m k + ϕ k δ k ,
Therefore, the dynamic linearization model of the system (2) is written as:
ψ k + 1 = ψ k + ϕ k δ k + d ( k ) ,
In this paper, our primary control goal is to devise an adaptive robust control strategy δ k , intended for the steering system of the USV. This strategy is designed to effectively handle a steering system with entirely unknown dynamics. Such that the actual course ψ closely follows the desired course ψ d with arbitrarily small deviation, and simultaneously, all the signals within the closed-loop systems maintain uniformly ultimate boundness. The principle of course control is shown in Figure 1. To simplify the problem to be studied, the command rudder angle δ c is equivalent to the actual rudder angle δ in this paper. Meanwhile, assuming that there is no error in the measurement of the course angle. Certainly, this is an ideal situation and does not match the actual situation.

3. Control Design

To achieve the control objective, the control algorithm is formulated with the aid of the MFAC algorithm framework, as shown in Figure 2.
In the data model (5) the control parameters ϕ k is dynamically adjusted through the online estimation of the PPD by using the I/O data of the controlled system. The control scheme is developed using the input/output data of the controlled system, regardless of the time-varying parameters of the system. Hence, it exhibits notable robustness and adaptability. Nonetheless, the MFAC technique may not be universally applicable to all nonlinear systems. It is only effective for some classes of nonlinear systems. In [26], for USV course control systems must meet another assumption in addition to assumptions 1–3.
Quasi-Linear Assumption: For any moment k and Δ δ k 0 , the sign of the PPD of the system remains unchanged. This means that ϕ k > ε , or ϕ k < ε , where ε is a small positive number, ε > 0 .
To adopt a classical MFAC control framework, this assumption serves as a prerequisite that the USV control system must meet to guarantee system stability. However, for the actual USV system, the course angle spans from 180 ° to 180 ° . So, as the rudder angle (control input) increases, it does not necessarily result in a continuous increase in the course angle (system output). The most extreme case is the process from 180 ° to 180 ° . To overcome this problem, the RO-CFDL-MFAC is proposed by introducing a redefined output [27]. In this paper, by combining with the discrete SMC method, the stability of the system can be ensured without the need for this assumption.

3.1. Disturbance Estimation

Since the disturbance term d ( k ) of (5) is unknown, there is a need to adopt a method to handle this term. According to the disturbance estimation technique [39], it can be estimated as
d ^ k = d k 1 ,
Substituting (5) into the above equation
d ^ k = ψ k ψ k 1 ϕ k 1 δ k 1 ,
Disturbance estimation error is defined as:
d ~ k = d ^ k d k ,
Hence,
d ~ k = d k 1 d k ,
where d ~ k is assumed to be bounded [39] and d ~ k < d 0 .

3.2. PPD Estimation

Since the system model is unavailable, time-varying parameter ϕ k is unknown. We obtained its estimate through the minimization of cost function [17]:
J ϕ ^ k = ψ k ψ k 1 ϕ ^ k δ k 1 2 + μ ϕ ^ k ϕ ^ k 1 2 ,
where μ is a positive weighting factor, μ > 0 . Hence, the estimation of the PPD is calculated
ϕ ^ k = ϕ ^ k 1 + η δ k 1 μ + δ k 1 2 × ψ k d ^ k ϕ ^ k 1 δ k 1 ,
if   ϕ ^ k ε   or   δ k 1 ε ,   ϕ ^ k = ϕ ^ 1 ,
where ε > 0 , η ( 0,1 ] . ε is chosen as a sufficiently small positive value. The initial value of ϕ ^ k is ϕ ^ 1 and ϕ ^ 1 > 0 .
Rewrite (5) as:
ψ k + 1 = ψ k + ϕ ^ k + σ k δ k + d ^ k d ~ k ,
where σ k = ϕ k ϕ ^ k is the parameter estimation error. As long as PPD ϕ ^ k remains bounded and ϕ k b , σ k also stays bounded. When ϕ k is unknown, σ k cannot be accurately calculated. Thus, σ k is taken as a constant σ .

3.3. Model-Free Adaptive Sliding Mode Control Law

This section discusses the aspects of designing the model-free adaptive discrete-time second-order fast terminal sliding mode controller. First of all, the system output error is defined as
e k = ψ d k ψ k ,
where ψ d k is the desired signal that is assumed to be bounded.
The selection for the nonlinear fast terminal sliding surface is:
s k = e k + α 1 e k 1 + α 2 s i g γ e k 1
where 0 < α 1 < 1 , 0 < α 2 < 1 , 0 < γ < 1 and s i g γ e k = e k γ s g n ( e k ) , s g n ( ) is signum function. The nonlinear term α 2 s i g γ e k 1 is responsible for facilitating the rapid approach of the system state to equilibrium when it is distant from that point. Meanwhile, the linear term α 1 e k 1 serves to expedite the convergence of the system state when it nears equilibrium.
From (11), we arrive at
s k + 1 = e k + 1 + α 1 e k + α 2 s i g γ e k ,
By introducing the high-order SMC strategy [39], second-order discrete sliding mode function is given as:
s ¯ k = s k + β s k 1 ,
where 1 < β < 0 is a design parameter.
The equivalent incremental control law of sliding mode surface can be obtained by the following:
s ¯ k + 1 = s ¯ k + 1 s ¯ k = 0 ,
Substituting s ¯ k + 1 = s k + 1 + β s k into (14) gives
s k + 1 + β s k = s ¯ k ,
With (12) and (15), we arrive at:
e k + 1 + α 1 e k + α 2 s i g γ e k + β s k = s ¯ k ,
Substituting Equation (10) into (16), it follows that:
ψ d k + 1 ψ k + 1 + α 1 e k + α 2 s i g γ e k + β s k = s ¯ k .
Considering (9) and disturbance estimation error is assumed to have vanished, i.e., d ~ k = 0 . The equivalent incremental control input is obtained as:
δ e q k = ψ d k + 1 ψ k + α 1 e k + α 2 s i g γ e k d ^ k + β s k s ¯ k / ϕ ^ k + σ .
The designed control law (18) comes into effect during the sliding phase when the system trajectory stays on the sliding surface. If the initial state of the system is not on the sliding surface, or the disturbance is not accurately estimated, i.e., d ~ k 0 , the equivalent control is unable to drive the trajectory of the system towards the sliding surface. In order to enhance the robustness of the controller, a robust discrete SMC strategy is developed. Hence, a switching term is designed as follows:
Δ δ s w ( k ) = q s ¯ ( k ) + λ s sgn ( s ¯ ( k ) ) / ( ϕ ^ ( k ) + σ ) .
where the control gains are supposed to satisfy the conditions 0 < q < 1 and λ s > d 0 .
From (18) and (19), the total incremental control input is written as:
δ k = δ e q k + δ s w k ,
Finally, the proposed MFATSMC is obtained as:
δ k = δ k 1 + δ k .

3.4. Procedure of MFASMC Design

In this part, the steps involved in implementing the proposed MFASMC controller are detailed and illustrated in Figure 3. After analyzing the contents of Section 3.1, Section 3.2 and Section 3.3, the general design procedures of the MFASMC technique can be summarized as follows.
Step 1: Initialization. The initial value of the algorithm including the initial values of PPD ϕ ^ 1 , control input rudder δ 1 and δ 2 and parameters of MFASMC controller η , μ , β , α 1 , α 2 , γ , σ , q , λ s are given. k = 1 .
Step 2: The system output course angle ψ k , control input rudder δ k and disturbance term d ( k ) are got and stored. The variations ψ k , δ k 1 are calculated.
Step 3: Disturbance term estimation d ^ k is updated.
Step 4: PPD estimation ϕ ^ k is updated by Equation (7).
Step 5: The reset algorithm (8) is used. If ϕ ^ k is close to zero, then ϕ ^ k are set to be ϕ ^ 1 .
Step 6: The control law δ k is calculated by Equations (18)–(21).
Step 7: k = k + 1 .
Step 8: The determination of whether the simulation time k reaches its maximum simulation time k m a x is made. If k > k m a x , the simulation comes to an end. Otherwise, steps 2–7 are repeated.

4. System Stability Analysis

Theorem 2.
Considering the parameter adaptive law (7) and (8), the fast terminal sliding surface (11) and (13), along with the control input (20) using (18) and (19) for the dynamic linearization model (5), if the switching gain  λ s  is selected to meet the following condition
λ s > d 0 ,
then, the sliding mode convergence will occur within a finite number of steps.
Proof of Theorem 2.
The proof of the Theorem 2 means that course angle ψ converges to the desired ψ d .
Substituting control laws (18)–(20) into (9) yields:
ψ k + 1 = ψ d k + 1 + α 1 e k + α 2 s i g γ e k + β s k s ¯ k + q s ¯ k + λ s s g n s ¯ k d ~ k ,
which is substituted in (12) to give:
s k + 1 = β s k + s ¯ k q s ¯ k λ s s g n s ¯ k + d ~ k .
Substituting it into (13) gives:
s ¯ k + 1 = s k + 1 + β s k = s ¯ k q s ¯ k λ s s g n s ¯ k + d ~ k .
It can be deduced that:
s ¯ k + 1 s ¯ k = q s ¯ k λ s s g n s ¯ k d ~ k .
For (23), when s ¯ k > 0 , it can be derived from (22) and (23):
s ¯ k + 1 s ¯ k = q s ¯ k λ s d ~ k .
Which satisfies the inequality (24):
q s ¯ k λ s d 0 < s ¯ k + 1 s ¯ k < 0 ,
when s ¯ k < 0 , it can be also derived from (22) and (23):
s ¯ k + 1 s ¯ k = q s ¯ k + λ s d ~ k ,
which satisfies the inequality:
0 < s ¯ k + 1 s ¯ k < q s ¯ k + λ s + d 0 .
Considering both (24) and (25), it is obtained that
s ¯ k + 1 < s ¯ k s ¯ k > 0 , s ¯ k + 1 > s ¯ k s ¯ k < 0 .
So, the relationship between s ¯ k + 1 and s ¯ k is obtained as:
s ¯ k + 1 < s ¯ k .
Equation (26) can also be written in the following:
s ¯ k + 1 s ¯ k s g n s ¯ k < 0 , s ¯ k + 1 + s ¯ k s g n s ¯ k > 0 .
The relationship (26) is a sufficient condition that is adequate to establish the existence and arrival of a quasi-sliding mode [40]. Thus, under the action of control (17)–(19) second-order discrete sliding mode s ¯ k decreases monotonously, and the quasi-sliding mode is reached within limited steps.
When the second-order sliding surface s ¯ k enters the quasi-sliding mode, it is obtained:
s k = β s k 1 .
Since β 0,1 , by employing Equation (12) to achieve convergence within a finite number of steps, it can be deduced that s k = 0 .
Based on the above analysis, if s k = 0 , form (10) we arrive at
e k = α 1 e k 1 α 2 s i g γ e k 1 .
From (27), it is easy to conclude that in a finite number of steps e k tends towards 0. Hence, the output of the system ψ will eventually converge to the desired course angle ψ d . □

5. Simulation Research

In this section, to validate the reliability and effectiveness of the proposed control strategy, the proposed MFASMC is simulated in MATLAB 2021b. On the basis of the theory of ship maneuverability, the nonlinear Norrbin model is used. According to the continuous system [41,42] and Equation (1), the discrete mathematical representation of the USV course control system can be expressed as
ψ k + 1 = ψ k + T s r k , r k + 1 = r k + T s K δ k α r 3 k r k / T + d ( k ) .
where T s is the sampling time. T s = 0.1   s . It should be noted that the above discrete USV course system is only used to obtain the output and input values of the USV course system in the simulation, not used in the design process of the controller.
Considering the nonlinear ship model investigated by the ‘‘Lanxin’’ USV of Dalian Maritime University [9], the parameters for the nonlinear Norrbin model are outlined as follows k = 0.701 , T = 0.332 , α = 0.001 .
The initial states include course angle ψ 1 = ψ 2 = 0 ° , and angular velocity r 1 = r 2 = 0 ° / s . The desired course angle is set as ψ d = 60 ° . To ensure equitable comparison in the subsequent analysis, the controllers’ parameters are manually fine-tuned for better performance. The proposed MFASMC parameters are η = 0.1 , μ = 1 , β = 0.1 , α 1 = 0.4 , α 2 = 0.1 , γ = 0.7 , σ = 0.5 , q = 0.6 , λ s = 0.0001 , the increment PID controller parameters are k p = 2 , k I = 0.1 , k d = 0.1 , and the typical MFASMC [32] controller parameters are η = 0.1 , μ = 1 , σ = 0.5 , q = 0.6 , λ s = 0.0001 .
To evaluate the effectiveness of the proposed controller and the comparative controllers, the mean squared error (MSE) is employed to calculate the mean of the squared difference between the actual value and the desired value of the course angle. The utilization of the mean squared error (MSE) allows for the quantification of the controller’s performance by assessing the tracking error. The Euclidean norm is equivalent to the square root of the total sum of the squares of each component within the vector. Hence, the Euclidean norm serves as a measure to assess the extent of control effort exerted by the controllers. The accuracy of the controller can be evaluated more intuitive and lucid manner by the following:
M S E ψ = i = 1 n ψ d ψ 2 n , E δ = δ 1 2 + + δ n 2 .

5.1. Simulation for the Case with Disturbance

Firstly, to verify the robust ability of the controller against disturbance d ( k ) in the system, the following simulation is carried out. As in [8], the external time-varying disturbance of the USV system, which is caused by wind, waves and currents, is set as:
d t = 2 × 0.1 + 0.1 cos 0.3 t + 0.1 s i n 0.5 t .
The initial states of the course control system and the control parameter are written above. Figure 4 illustrates the simulation outcomes concerning course angle control with the involvement of the three distinct controllers.
Utilizing the mean squared error of the course angle tracking error to compare the control performance of the controllers, the MSE values of the tracking error are calculated and shown in Table 1. MSE1 and E 1 represent the MSE value and Euclidean norm value for the entire simulation time from 0 s to 5 s. MSE2 and E 2 represent the MSE value and Euclidean norm value for the part simulation time from 5 s to 80 s. As can be seen from Figure 4, and the MSE1 and MSE2 in Table 1, the MSE2 by the proposed method is smaller, while the MSE1 by MFASMC is smaller. It shows that the tracking response ability of the heading angle is slightly weak under the proposed method in comparison with the MFASMC. Simultaneously, the conclusion is made that the proposed method can better resist external disturbances in the process of course-keeping. Figure 5 represents the comparison between the rudder angles given by controllers. The control performance of the PID controller is significantly worse, and its anti-disturbance ability is poor. Using the proposed controller USV has a smaller error and rudder angle to track the desired course angle.

5.2. Simulation for the Case with Uncertainty

In Equation (28) the parameter perturbation K can be transformed into an equivalent one d k = K δ k / T . For the purpose of assessing robustness in systems afflicted by parameter uncertainty, simulations are carried out in this part. The initial states are not changed except α 2 = 0.1 . The remaining simulation conditions are configured as follows: the parameter K in Equation (28) is subjected to variation to emulate the perturbation stemming from stochastic model parameters, i.e., the parameter K is assigned a random variable value, K = 1 + 2 × r a n d ( 1 ) × 0.701 . MATLAB function r a n d ( 1 ) is used to generate the random numbers from 0 to 1.
The comparative simulation results are illustrated in Figure 6. The MSE values of the course angle tracking error are calculated and displayed in Table 2.
In such a case, from Figure 6 and Figure 7 and MSE values in Table 2, the difference in the control performance of the three controllers is not significant. Under the action of three controllers, the heading angle quickly tracks the desired value. By the compassion of MSE1 and MSE2, the MFASMC has a bigger value than the proposed controller. Meanwhile, in terms of energy consumption, the values of E 1 and E 2 by the proposed method are the smallest of the three controllers. This means the proposed controller has faster tracking speed to the desired angle and better performance on the course keeping in the case of parameter perturbation. Figure 7 represents the comparison of system control rudder angles given by controllers.

6. Conclusions

In the article, the focus is directed toward addressing the challenge of USV course control with disturbance. To tackle this issue, a novel model-free approach is employed by integrating the second-order discrete sliding mode function and the fast terminal sliding mode surface with the CFDL-MFAC theory. Furthermore, the disturbance effect is considered and the method is used to estimate the disturbance in the controller design process. A theoretical analysis provides a solid foundation for ensuring the guaranteed convergence of the closed-loop system, even when subjected to disturbances. Hence, the tracking error between the output of the controlled system and a desired one can converge towards a compact vicinity surrounding the origin. Comparative simulations verify the effectiveness and superiority of the proposed control approach. Through simulations, it is evident that the proposed MFASMC algorithm outperforms both the MFASMC and PID methods. Notably, the novel MFASMC algorithm displays remarkable insensitivity to system disturbances and parameter perturbations, consistently delivering superior control performance.
In the future, different control methods will be tested on the physical USV to assess the tracking performance of the proposed scheme. Meanwhile, the action implementation of the actuator will be discussed, such as the dynamics of rudders or propellers, actuator saturation and actuator fault. Besides, as the tracking performance of the proposed method relies on the accuracy of input and output data, research will be conducted on how to deal with noise in the measurement data.

Author Contributions

Conceptualization, W.L., H.Y. and X.Y.; methodology, W.L. and H.Y.; software, W.L.; supervision, H.Y.; validation, W.L. and X.Y.; formal analysis, W.L.; investigation, W.L. and H.Y; writing—original draft preparation, W.L.; project administration, H.Y.; writing—review and editing, X.Y.; funding acquisition, W.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Jiangsu Province Higher Education Basic Science (Natural Science) Research Project (grant number 23KJD120004), the Research Startup Foundation of Jiangsu University of Science and Technology (grant number 1032932006).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gao, S.; Zhang, X. Course keeping control strategy for large oil tankers based on nonlinear feedback of swish function. Ocean Eng. 2022, 244, 110385. [Google Scholar] [CrossRef]
  2. Zhang, H.; Zhang, X.; Bu, R. Active disturbance rejection control of ship course keeping based on nonlinear feedback and ZOH component. Ocean Eng. 2021, 233, 109136. [Google Scholar] [CrossRef]
  3. Islam, M.M.; Siffat, S.A.; Ahmad, I.; Liaquat, M. Robust integral backstepping and terminal synergetic control of course keeping for ships. Ocean Eng. 2021, 221, 108532. [Google Scholar] [CrossRef]
  4. Liu, H.; Ma, N.; Gu, X. Ship-bank interaction of a VLCC ship model and related course-keeping control. Ships Offshore Struct. 2017, 12 (Suppl. S1), S305–S316. [Google Scholar] [CrossRef]
  5. Tuo, Y.; Wang, S.; Peng, Z.; Guo, C. Reliability-based fixed-time nonsingular terminal sliding mode control for dynamic positioning of turret-moored vessels with uncertainties and unknown disturbances. Ocean Eng. 2022, 248, 110748. [Google Scholar] [CrossRef]
  6. Dlaba, T.; Alasan, M.; Krum, M.; Marvui, N. Pso-based pid controller design for ship course-keeping autopilot. Brodogradnja 2019, 70, 1–15. [Google Scholar] [CrossRef]
  7. Qin, H.; Tan, P.; Chen, Z.; Sun, M.; Sun, Q. Deep reinforcement learning based active disturbance rejection control for ship course control. Neurocomputing 2022, 484, 99–108. [Google Scholar] [CrossRef]
  8. Liu, Z. Adaptive extended state observer based heading control for surface ships associated with sideslip compensation. Appl. Ocean Res. 2021, 110, 102605. [Google Scholar] [CrossRef]
  9. He, Z.; Fan, Y.; Wang, G.; Qiao, S. Finite time course keeping control for unmanned surface vehicles with command filter and rudder saturation. Ocean Eng. 2023, 280, 114403. [Google Scholar] [CrossRef]
  10. Wan, L.; Su, Y.; Zhang, H.; Tang, Y.; Shi, B. Global fast terminal sliding mode control based on radial basis function neural network for course keeping of unmanned surface vehicle. Int. J. Adv. Robot. Syst. 2019, 16, 1–12. [Google Scholar] [CrossRef]
  11. Islam, M.M.; Siffat, S.A.; Ahmad, I.; Liaquat, M. Supertwisting and terminal sliding mode control of course keeping for ships by using particle swarm optimization. Ocean Eng. 2022, 266, 112942. [Google Scholar] [CrossRef]
  12. Chen, Z.; Qin, B.; Sun, M.; Sun, Q. Q-learning based parameters adaptive algorithm for active disturbance rejection control and its applications to ship course control. Neurocomputing 2020, 408, 51–63. [Google Scholar] [CrossRef]
  13. Mu, D.; Wang, G.; Fan, Y.; Qiu, B.; Sun, X. Adaptive course control based on trajectory linearization control for unmanned surface vehicle with unmodeled dynamics and input saturation. Neurocomputing 2019, 330, 1–10. [Google Scholar] [CrossRef]
  14. Soni, S.; Kamal, S.; Yu, X.; Ghosh, S. Global Stabilization of Uncertain SISO Dynamical Systems Using a Multiple Delayed Partial State Feedback Sliding Mode Control. IEEE Trans. Circuits Syst. II Express Briefs. 2019, 67, 1259–1263. [Google Scholar] [CrossRef]
  15. Ebrahimi, N.; Ozgoli, S.; Ramezani, A. Data-driven sliding mode control: A new approach based on optimization. Int. J. Control. 2018, 93, 1980–1988. [Google Scholar] [CrossRef]
  16. Hou, Z.; Jin, S. A novel data-driven control approach for a class of discrete-time nonlinear systems. IEEE Trans. Control Syst. Technol. 2011, 19, 1549–1558. [Google Scholar] [CrossRef]
  17. Hou, Z.; Jin, S. Model Free Adaptive Control: Theory and Application; CRC Press: Boca Raton, FL, USA, 2014; pp. 1–90. [Google Scholar]
  18. Liu, S.; Hou, Z.; Zhang, X.; Ji, H. Model-free adaptive control method for a class of unknown mimo systems with measurement noise and application to quadrotor aircraft. IET Control Theory Appl. 2020, 14, 2084–2096. [Google Scholar] [CrossRef]
  19. Che, H.; Chen, J.; Wang, Y.; Wang, J.; Luo, Y. Data-driven model-free adaptive attitude control for morphing vehicles. IET Control Theory Appl. 2022, 16, 1696–1707. [Google Scholar] [CrossRef]
  20. Jiang, Y.; Xu, X.; Zhang, L.; Zou, T. Model free predictive path tracking control of variable-configuration unmanned ground vehicle. ISA Trans. 2022, 129, 485–494. [Google Scholar] [CrossRef]
  21. Wu, C.; Dai, Y.; Shan, L.; Zhu, Z. Date-Driven Tracking Control via Fuzzy-State Observer for AUV under Uncertain Disturbance and Time-Delay. J. Mar. Sci. Eng. 2023, 11, 207. [Google Scholar] [CrossRef]
  22. Dong, N.; Lv, W.; Zhu, S.; Gao, Z.; Grebogi, C. Model-free adaptive nonlinear control of the absorption refrigeration system. Nonlinear Dyn. 2022, 107, 1623–1635. [Google Scholar] [CrossRef]
  23. Nan, D.; Weng, Y.; Wang, N. Data-driven robust PID control of unknown USVs. In Proceedings of the 2020 International Conference on System Science and Engineering (ICSSE), Kagawa, Japan, 31 August–3 September 2020; pp. 1–5. [Google Scholar]
  24. Weng, Y.; Wang, N. Data-driven robust backstepping control of unmanned surface vehicles. Int. J. Robust Nonlinear Control. 2020, 30, 3624–3638. [Google Scholar] [CrossRef]
  25. Weng, Y.; Wang, N.; Soares, C.G. Data-driven sideslip observer-based adaptive sliding-mode path-following control of underactuated marine vessels. Ocean Eng. 2020, 197, 106910. [Google Scholar] [CrossRef]
  26. Li, Y.; Wang, L.; Liao, Y.; Jiang, Q.; Pan, K. Heading mfa control for unmanned surface vehicle with angular velocity guidance. Appl. Ocean Res. 2018, 80, 57–65. [Google Scholar] [CrossRef]
  27. Liao, Y.; Jiang, Q.; Du, T.; Jiang, W. Redefined Output Model-Free Adaptive Control Method and Unmanned Surface Vehicle Heading Control. IEEE J. Ocean. Eng. 2020, 45, 714–723. [Google Scholar] [CrossRef]
  28. Jiang, Q.; Li, Y.; Liao, Y.; Miao, Y.; Wu, H. Information fusion model-free adaptive control algorithm and unmanned surface vehicle heading control. Appl. Ocean Res. 2019, 90, 101851. [Google Scholar] [CrossRef]
  29. Jiang, Q.; Liao, Y.; Li, Y.; Fan, J.; Miao, Y. Heading Control of Unmanned Surface Vehicle With Variable Output Constraint Model-Free Adaptive Control Algorithm. IEEE Access. 2019, 7, 131008–131018. [Google Scholar] [CrossRef]
  30. Liao, Y.; Du, T.; Jiang, Q. Model-free adaptive control method with variable forgetting factor for unmanned surface vehicle control. Appl. Ocean Res. 2019, 93, 101945. [Google Scholar] [CrossRef]
  31. Jiang, Q.; Liao, Y.; Li, Y.; Miao, Y.; Jiang, W.; Cheng, C. Unmanned surface vessel heading control of model-free adaptive method with variable integral separated and proportion control. Int. J. Adv. Robot. Syst. 2019, 16, 1–12. [Google Scholar] [CrossRef]
  32. Wang, W.; Hou, Z. An Adaptive Quasi-Sliding Mode Control for Nonlinear Discrete-Time System. J. Syst. Eng. Electron. 2007, 19, 154–160. [Google Scholar]
  33. Xue, G.; Liu, Y.; Shi, Z.; Guo, L.; Li, Z. Research on Trajectory Tracking Control of Underwater Vehicle Manipulator System Based on Model-Free Adaptive Control Method. J. Mar. Sci. Eng. 2022, 10, 652. [Google Scholar] [CrossRef]
  34. Li, X.; Ren, C.; Ma, S.; Zhu, X. Compensated model-free adaptive tracking control scheme for autonomous underwater vehicles via extended state observer. Ocean Eng. 2020, 217, 107976. [Google Scholar] [CrossRef]
  35. Wang, X.; Li, X.; Wang, J.; Fang, X.; Zhu, X. Data-driven model-free adaptive sliding mode control for the multi degree-of-freedom robotic exoskeleton. Inf. Sci. 2016, 327, 246–257. [Google Scholar] [CrossRef]
  36. Hou, M.; Wang, Y.; Han, Y. Data-driven discrete terminal sliding mode decoupling control method with prescribed performance. J. Frankl. Inst. 2021, 358, 6612–6633. [Google Scholar] [CrossRef]
  37. Liu, D.; Yang, G. Performance-based data-driven model-free adaptive sliding mode control for a class of discrete-time nonlinear processes. J. Process Control. 2018, 68, 186–194. [Google Scholar] [CrossRef]
  38. Corradini, M.L. A Robust Sliding-Mode Based Data-Driven Model-Free Adaptive Controller. IEEE Control. Syst. Lett. 2022, 6, 421–427. [Google Scholar] [CrossRef]
  39. Ebrahimi, N.; Ozgoli, S.; Ramezani, A. Model-free high-order terminal sliding mode controller for Lipschitz nonlinear systems. Implemented on Exoped® exoskeleton robot. Int. J. Syst. Sci. 2021, 52, 1061–1073. [Google Scholar] [CrossRef]
  40. Hou, M.; Wang, Y. A Data Driven Fractional-order Terminal Sliding Mode Control Method. In Proceedings of the 2019 IEEE 8th Data Driven Control and Learning Systems Conference (DDCLS), Dali, China, 24–27 May 2019; pp. 42–46. [Google Scholar]
  41. Du, J.; Hu, X.; Sun, Y. Adaptive Robust Nonlinear Control Design for Course Tracking of Ships Subject to External Disturbances and Input Saturation. IEEE Trans. Syst. Man Cybern. Syst. 2017, 50, 193–202. [Google Scholar] [CrossRef]
  42. Wang, C.; Yan, C.; Liu, Z.; Cao, F. An inverse optimal approach to ship course-keeping control. IMA J. Math. Control. Inf. 2020, 37, 1192–1217. [Google Scholar] [CrossRef]
Figure 1. Structure of a typical course control system for USV.
Figure 1. Structure of a typical course control system for USV.
Jmse 11 01904 g001
Figure 2. MFASMC algorithm framework.
Figure 2. MFASMC algorithm framework.
Jmse 11 01904 g002
Figure 3. Flowchart of the MFASMC design.
Figure 3. Flowchart of the MFASMC design.
Jmse 11 01904 g003
Figure 4. Course performance comparison results under disturbance. (b) is partially enlarged detail of (a).
Figure 4. Course performance comparison results under disturbance. (b) is partially enlarged detail of (a).
Jmse 11 01904 g004aJmse 11 01904 g004b
Figure 5. Rudder angle response under disturbance. (b) is partially enlarged detail of (a).
Figure 5. Rudder angle response under disturbance. (b) is partially enlarged detail of (a).
Jmse 11 01904 g005aJmse 11 01904 g005b
Figure 6. Course performance comparison results under uncertainty. (b) is partially enlarged detail of (a).
Figure 6. Course performance comparison results under uncertainty. (b) is partially enlarged detail of (a).
Jmse 11 01904 g006aJmse 11 01904 g006b
Figure 7. Rudder angle response under uncertainty. (b) is partially enlarged detail of (a).
Figure 7. Rudder angle response under uncertainty. (b) is partially enlarged detail of (a).
Jmse 11 01904 g007aJmse 11 01904 g007b
Table 1. Comparison of simulation results for the case with disturbance.
Table 1. Comparison of simulation results for the case with disturbance.
ControllerMSE1 ( ψ )MSE2 ( ψ )E1 ( δ ) E2 ( δ )
PID0.26330.00141.93533.9260
MFASMC0.24084.0905 × 10−42.08533.7221
Proposed0.24822.0888 × 10−42.20663.7158
Table 2. Comparison of simulation results for the case with uncertainty.
Table 2. Comparison of simulation results for the case with uncertainty.
ControllerMSE1 ( ψ )MSE2 ( ψ )E1 ( δ ) E2 ( δ )
PID0.26015.4909 × 10−51.41470.0661
MFASMC0.23602.0384 × 10−51.67140.0456
Proposed0.23181.1460 × 10−51.57110.0432
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

Liu, W.; Ye, H.; Yang, X. Model-Free Adaptive Sliding Mode Control Method for Unmanned Surface Vehicle Course Control. J. Mar. Sci. Eng. 2023, 11, 1904. https://doi.org/10.3390/jmse11101904

AMA Style

Liu W, Ye H, Yang X. Model-Free Adaptive Sliding Mode Control Method for Unmanned Surface Vehicle Course Control. Journal of Marine Science and Engineering. 2023; 11(10):1904. https://doi.org/10.3390/jmse11101904

Chicago/Turabian Style

Liu, Wei, Hui Ye, and Xiaofei Yang. 2023. "Model-Free Adaptive Sliding Mode Control Method for Unmanned Surface Vehicle Course Control" Journal of Marine Science and Engineering 11, no. 10: 1904. https://doi.org/10.3390/jmse11101904

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