#### Abstract

In this study, a robust fixed-time H∞ trajectory tracking controller for marine surface vessels (MSVs) is proposed based on self-structuring neural network (SSNN). First, a fixed-time H_{∞} Lyapunov stability theorem is proposed to guarantee that the MSV closed-loop system is fixed-time stable (FTS) and the gain is less than or equal to . This shows high accuracy and strong robustness to the approximation errors. Second, the SSNN is designed to compensate for the model uncertainties of the MSV system, marine environment disturbances, and lumped disturbances term constituted by the actuator faults (AFs). The SSNN can adjust the network structure in real time through elimination rules and split rules. This reduces the computational burden while ensuring the control performance. It is proven by Lyapunov stability that all signals in the MSV system are stable and bounded within a predetermined time. Finally, theoretical analysis and numerical simulation verify the feasibility and effectiveness of the control scheme.

#### 1. Introduction

With the rise of marine activities such as sea rescue, military reconnaissance, and environmental monitoring, surface unmanned vessels play an important role in the field of marine engineering. Among them, trajectory tracking is a popular control problem [1–7]. However, with wind, waves, and currents having a significant impact on the speed and maneuverability of vessels, achieving safety, accuracy, and stability is a significant challenge for control system design. Exploring better control schemes to achieve fast stability and strong robustness of MSV systems requires further research.

Finite-time stabilization has a faster response speed than asymptotic stabilization, which ensures that the tracking error is stabilized within a small range near zero within a limited time, so it has strong robustness. Relying on this advantage, a robust control scheme based on a finite-time disturbance observer was designed [8]. A control scheme combining a finite-time disturbance observer and sliding mode technique effectively suppresses disturbances [9]. A new finite time-expanded observer was proposed to facilitate the observation of lumped disturbances caused by uncertainties and external disturbances [10]. Considering the uncertainty of the model and the disturbance of the marine environment, a semiglobal finite-time stable control strategy was designed by combining the disturbance observer and adaptive neural network (NN) technology [11]. However, it should be pointed out that the settling time of the finite-time control scheme depends on the initial state of the controlled object; that is, when the initial position is far from the target position, the system takes longer to reach stability. Affected by this, the concept of fixed-time stability was proposed [12]; its setting time is related to the designed controller parameters and is not influenced by the initial state of the MSV.

At present, researchers have proposed some control schemes based on fixed-time stability, such as a combined method of fixed-time extended state observer (FTEXSO) and increased power integration [13], homogeneous technology [14], and sliding mode control based on FTEXSO [15, 16]. However, the nonsmooth control signal provided by the timing controller based on sliding mode surface control causes inherent chattering, which is harmful to the mechanical structure and electronic equipment of the MSV system. Controllers based on homogeneous technology cannot guarantee globally fixed-time stability. These control schemes have strong robustness to unknown disturbances and uncertainties, but they do not discuss the relationship between control parameters and robustness. This relationship is explained in the H_{∞} control [17, 18]. The robustness of H_{∞} control makes the system internally stable, but more important, it can control the output of the controlled object to meet a prespecified upper limit of gain by suppressing external disturbances [19]. Due to its good characteristics, the H_{∞} controller has been widely studied in linear systems, switching systems, and extracorporeal blood circulation systems [20] and applied to robotic manipulator systems [21–23]. However, there have been few attempts to introduce H_{∞} control technology into MSV systems.

In the complex ocean environment, the uncertainty of the MSV system and environmental disturbances are indispensable. For complex nonlinear systems, an evolutionary bat algorithm (EBA) controller based on artificial intelligence was proposed to stabilize the fuzzy system through affine transformation and parameter linear matrix inequality [24]. Recently, the use of NN to compensate for unknown nonlinear functions of the system has become more promising. Radial basis function neural networks (RBFNNs) have good fitting performance and are one of the most common neural networks [25, 26]. As we all know, the fitting ability and calculation amount of NN are closely related to the network structure, and the complexity of the nonlinear function often determines the complexity of the network structure. A simple network structure may lead to poor fitting ability and cannot meet the requirements, while an overly complex network structure causes a computational burden. How to match the optimal network structure according to the complexity of nonlinear functions is a problem worth exploring [27–29]. In addition, it must be considered in the controller design that the actuator may fail, resulting in the degradation or even failure of the control performance [15].

Based on the above discussion, we improve the trajectory tracking accuracy of MSV and the stability of the control system and help the development of marine activities. The purpose of this study is to provide a fixed-time robust control strategy for the trajectory tracking control system of an MSV with marine environment disturbance, vessel model uncertainty, and AF. An SSNN is used to approximate the lumped disturbances caused by external disturbances, AF, and uncertainty and can optimize the network structure online, which is conducive to improving the fitting accuracy and avoiding the computational burden. The stability of the control system is improved by suppressing the interference through H_{∞} control. Finally, based on the fixed-time stability theory, it is proven that the tracking error can converge in a fixed-time when all closed-loop signals are bounded. References [30, 31] are typical MSV control algorithms based on neural network control. Compared with [30], the proposed control scheme can greatly improve the system response speed. Compared with [31], the upper bound of the convergence time of the proposed control scheme does not depend on the initial state of the system. The main contributions of this paper are listed as follows:(1)A fixed-time H_{∞} robust control scheme based on an SSNN is proposed for the trajectory tracking problem of MSVs. The scheme can ensure that the MSV accurately tracks the desired trajectory, thus achieving bounded convergence of the tracking error within a fixed-time and making the convergence time independent of the initial state. To improve the robustness of the control system, a fixed-time H_{∞} is proposed to study the control problem. The controller can provide disturbance attenuation in the sense of gain without solving complex Hamilton-Jacobian equations or inequalities or Riccati equations.(2)Based on the traditional RBFNN algorithm, the network structure is optimized online by establishing a splitting rule and eliminate rule, and then an SSNN is proposed to approximate the nonlinear term of the system. Compared with RBFNN, SSNN can effectively reduce the amount of calculation and save network resources under the premise of ensuring good fitting accuracy.(3)The influence of the AF on the controller is analyzed, and the solution is given.

The rest of this article is organized as follows. Section 2 presents the preparation of the MSV problem formulation. Section 3 introduces the design idea of a robust fixed-time H_{∞} control scheme based on the SSNN and a stability analysis of the control system. In Section 4, the effect of actuator faults on the controller is analyzed, and the proposed SSNN is verified by comparison. Section 5 summarizes the research and suggests future work.

#### 2. Preliminaries and Problem Formulations

##### 2.1. Preliminaries

*Notation*. Defining , represents the absolute value of a scalar or vector component. represents the vector Euclidean 2-norm. Denoting , indicates a diagonal matrix.

*Neural Networks (NNs)*. Suppose is an unknown nonlinear function that can be estimated by NN on a compact as follows:where is the fitting error, is the ideal weight, andwhere is the weight estimate value of the NN, represents the activation value of the NN, represents the input of the NN, and the activation function is as follows:where and indicate the center coordinates and width of the *i*th neuron, respectively.

*Actuator Faults (AF)*. The actuator faults of the controller can be achieved by the following rule:where represents the actual control input, and represents the input required by the designed controller. represents the health condition of the *i*th actuator and satisfies . indicates other unknown faults. The time-varying distribution function is defined as follows:

*Assumption 1. *(1)The desired trajectory is differentiable, and , , and are bounded [13].(2)The disturbance in (23) is bounded, and , where are unknown positive constants [32].

##### 2.2. Definitions and Lemmas

*Definition 1. *(see [12]). The system is given as follows:where is continuous on an open neighborhood of the origin. The equilibrium of system (6) is (locally) FTS if (i) it is Lyapunov stable and finite-time convergent in a neighborhood of the origin; (ii) it is fixed-time convergent in , that is, every solution of system (6) satisfies for , where represents the settling time and satisfiesIf and , then the origin of system (6) is globally FTS.

The following definition is proposed here:

*Definition 2. *Analyze a closed-loop system with the following form:where is the state variable of the system, is the system input, represents indeterminate disturbance, and is a vector of performance metrics. As a globally fixed-time H_{∞} controller, the following compensators exist:and setting a positive arithmetic number , system (8) has gain less than if for all satisfieswhere is the system output with initial condition .

*Remark 1. *If there is a control input in the range such that system (8) has a fixed-time H_{∞} performance, then can be called the fixed-time robust H_{∞} controller of system (8) so that the gain equal to or less than , and the robustness performance specification can be expected by choosing an appropriate value of .

Lemma 1 (see [12]). *Suppose is a positive Lyapunov function and satisfies ; then, system (6) is an FTS, where and . The settling time satisfies .*

Lemma 2 (see [33]). *Suppose is a positive Lyapunov function and satisfies ; then, system (6) is practically fixed-time stable (PFTS), where , and . The settling time satisfieswhere , and the set of residuals of system (6) is as follows:*

Lemma 3 (see [17]). *If and , for , then*

Lemma 4. *Assume , ; then, the following inequality is true:*

Furthermore, there exists a real number to obtain

##### 2.3. Problem Formulation

Figure 1 depicts a plane model diagram of the MSV, which contains two commonly defined coordinate reference systems. The MSV model consisting of kinematics and dynamics is represented with reference to the following:where represents the position, and and denote the position and yaw angle in the earth-fixed (EF) frame, respectively. The vector denotes the velocity in the surge, sway, and yaw directions in the body-fixed (BF) frame. , , and denote the mass matrix and the total Coriolis and centripetal acceleration matrix, respectively. is the control input of the MSV system. The vector represents external disturbance. represents the rotation matrix as follows:with the properties: , , andwhere .

*Coordinate Transformation*. In the EF frame, the desired trajectory is defined as , and represents the desired heading angle. Therefore, the desired velocity can be obtained by kinematics as follows:where the desired trajectory , . According to and , computing the time derivative of (20) yields

Define and as follows: . Then, system (17) transforms into the following:

Letting and , (22) can be rewritten aswith

#### 3. Main Results

In this part, the stability of the fixed-time H_{∞} controller is analyzed, and the fixed-time stability combined with the H_{∞} control scheme is applied to the MSV system for the first time. Then, the SSNN is used to fit lumped disturbances consisting of environmental disturbances, AF and uncertainties. Finally, the design of the SSNN algorithm structure is introduced in detail.

##### 3.1. Robust Fixed-Time H∞ Lyapunov Stability

Theorem 1. *For 8, there is a positive definite function near the origin and real numbers and , which satisfies*

Then, system (8) has an gain of equal to or less than , and it is locally FTS at the origin. Assuming that and are radially unbounded, then system (8) is globally FTS at the origin.

*Proof. *(i)When , (25) obtains the following result: According to Lemma 1, system (8) is FTS.(ii)When and ,According to Definition 2, the gain of the system is less than or equal to . The proof is complete.

##### 3.2. Design of Fixed-Time H∞ Controller for MSVs

Analyze the error dynamic system (23), design auxiliary controllers and , and define error vector as follows:

Substituting (28) into system (23), a new error dynamic system is obtained as

To achieve fixed-time stability, the auxiliary controller functions are designed aswhere are positive . For (29), a vector of the performance metric is defined aswhere and are the weighted coefficients of and , respectively.

Theorem 2. *If all the assumptions are satisfied. For error systems (29), the following H _{∞} control law is designed asand we can choose the appropriate parameters so that the output of system (29) is FTS and satisfies gain less than or equal to . The block diagram of the algorithm-based system is shown in Figure 2.*

*Proof. *Substituting (32) into (29), we have

*Step 1. *Construct a Lyapunov function of the form asSubstitute (33) into the derivative of (34). Then,

*Step 2. *The objective is to prove that the gain of the H_{∞} control is equal to or less than by defining the function as follows:Combining (33), (35), (36), and choice and , thenAssuming that , , , , , , , , , , , , , and according to Lemma 3, inequality (37) can be reduced toCombining (36) and (38), the following conclusions can be obtained:From Theorem 1, error system (29) is FTS at the origin, and holds when . Thus, system (29) achieves FTS under the action of controller (32), while the gain satisfies the constraint of being less than or equal to . The settling time satisfiesThe proof is complete, and MSV system (17) has a fast response, strong robustness, and fixed-time stability under the action of controller (32).

*Remark 2. *In , when and , the derivative of is infinite, which leads to singularities in the system. To avoid this problem, a threshold is introduced to judge the singularity, is redefined as follows, and is redefined as follows:where and , and takes a value in .

*Remark 3. *If all assumptions are satisfied, for error systems (29), the composite robust controller is designed as (32), there exist design parameters such that all outputs of error systems (29) are FTS, and the tracking error eventually converges to a small region around zero.

##### 3.3. Self-Structuring Neural Network (SSNN) Control

Considering that the unknown of the vessel system are uncertain, AF usually appears in many MSVs. In combination with (4), system (29) can be written aswithand , , , , , and the actual control input . is the lumped disturbances, including the parametric uncertainties, actuator faults, and environmental disturbances. To solve the problem of lumped disturbances influence on control system, the SSNN is designed to fit the unknown dynamic equation as follows:where , is defined as the estimated value of the weight, represents the error of the weight, and . , and is the unknown constant vector.

Substituting (44) into (42), the closed-loop system is obtained as

Theorem 3. *If all assumptions are satisfied, for error systems (45), the following H _{∞} control law is designed aswhere is an estimate of , and the estimate of is defined as . The weight update law is obtained as follows:and we can choose the appropriate parameters so that the output of system (45) is PFTS and satisfies gain less than or equal to .*

*Proof. *Substituting (46) into (45), the closed-loop system is obtained asA new Lyapunov function of the form is constructed asDeriving along with (47), we haveA new function is established asSince is bounded, can be established by selecting appropriate parameters through analysis [34]. Combined with Lemma 4, we can obtainSimilarly,Substituting (30), (48), (50), (52), and (53) into (51) and referring to the process in Section 3.2, we can obtainwhereCombining (51) and (54), the following conclusions can be obtained:The proof is complete.

From Lemma 2, error system (45) is PFTS at the origin, and holds when . Thus, system (45) achieves PFTS under the action of controller (46), while the gain satisfies the constraint of being less than or equal to , and the error convergence range is established as follows:and settling time is bounded by , where .

##### 3.4. Parameter-Learning Algorithm of SSNN

It is well-known that the fitting ability of a neural network is closely related to the network structure, and usually, it is difficult to determine the best network structure matched by the approximated nonlinear function. On the other hand, a change in the nonlinear function can also lead to a change in the optimal network structure. Therefore, this paper proposes an SSNN for solving this problem that can optimize the network structure online by splitting rules and censoring rules to achieve the best approximation effect while avoiding causing computational burden. The algorithm flow is shown in Figure 3:(i)When the input signal of the neural network is far from the current neuron center, the network approximation ability is poor. At this time, it is necessary to add new nodes through the splitting rule to ensure the effective use of the signal and improve the fitting effect. The activation function value of the neural network is used to determine whether the neurons need to be split as follows: If is satisfied, then the neuron needs to be split, where represents the split threshold. The parameters of the new neuron are as follows: where is a prespecified constant.(ii)When a neural network fits a nonlinear function that is not complex, there are usually some neurons that are not effective for the approximation, and these unnecessary neurons should be removed to reduce the computational burden. The rules are as follows:where is the decayed constant, is the reference index, and denotes the most recent . denotes the pregiven threshold; if holds, then the *k*th neuron is eliminated.

*Remark 4. *The splitting and eliminate thresholds are chosen reasonably by judging the complexity of the nonlinear function. If the nonlinear function is very complex, then a larger value is selected to split more neurons to achieve a satisfactory approximation. If the nonlinear function is relatively simple, then a larger value can be selected to delete more neurons, and the calculation amount can be reduced on the premise that the approximation effect meets the requirements.

#### 4. Simulation Results

Through two comparative experiments, the influence of actuator faults on the controller is analyzed, and the superiority of the SSNN is verified.

##### 4.1. Exploring Impact of AF on Control System

The influence of the AF on the control system is analyzed by observing the simulation results of the following three cases. Case (1): in designed controller (46), the part of SSNN fitting includes system uncertainties, external disturbances, and AF. Case (2): there are actuator faults in the system, but no processing is performed; that is, the SSNN only compensates for the uncertainty and disturbance. Case (3): there are no actuator faults in the system, the SSNN compensates for the uncertainty and disturbances, and the control rate is the same as Case (2).

The parameters of the ship are given in Table 1, and the disturbances refer to [35] as follows:

The desired trajectory is

This uncertainty can be expressed as , . The parameters for AF are given as , , , and . For other parameters, refer to Table 2.

The comparison results of the three cases are shown in Figure 4–11. Figure 4 shows the trajectory tracking effect of the MSV on the horizontal plane in three cases, and it can be found from the partial magnification that the tracking error is large due to the effect of AF in Case (2), while the effect of AF is well solved in the proposed controller in this paper, and the performance tracking effect is shown in Case (1). A more intuitive tracking error is shown in Figure 5. Combined with Cases (2) and (3), it can be judged that when actuator faults occur, the tracking performance of the controller will be greatly reduced. Figure 6 shows the variation in the magnitude of the velocity tracking error. From Case (2), it can be found that the AF can also cause the tracking velocity to be difficult to maintain stable and always have some error with the desired velocity. The control inputs are shown in Figure 7, which perform within the engineering acceptable range and are stable and bounded. Figure 8 shows the fitting errors of the SSNN. Figure 9 shows the effect of the SSNN approaching lumped disturbances in Case (1). Figure 10 shows the changes in the nodes of the network structure under the action of the SSNN algorithm, from the initial 11 nodes and finally stabilized to 3 nodes. Figure 11 shows the curvature change of the performance metrics of the proposed controller. It can be seen that can still have fast convergence and strong robustness under the action of lumped disturbances.

##### 4.2. Analyzing SSNN

From Figure 10, it can be seen that the initial value and stable value of the number of nodes of SSNN are 11 and 3, respectively. Therefore, the superiority of the SSNN is verified by comparing the fixed structure RBFNN with 11 nodes and 3 nodes. Figures 12–16 show a comparison of simulation results under the same experimental environment. Figures 12 and 13 show a comparison of NN fitting errors. In Figure 13, we find that due to the large fitting error at the beginning, when AF occurs, the estimation deviation of the RBFNN with only 3 nodes on the lumped disturbances becomes very large. In contrast, the SSNN control scheme showed good approximation ability. The tracking error of the controller also differs under the action of three different network structures of NNs, as shown in Figure 14. When AF occurs, both RBFNN and SSNN containing 11 nodes have good fitting ability, but RBFNN with only 3 nodes performs poorly. Figure 15 shows the norm variation of the performance metric . It can be seen that different network structures have a large impact on the performance of the controller, where the SSNN is able to reduce the computational burden while ensuring that the control performance is not affected. Figure 16 clarifies that the corresponding control inputs under three different network structures are almost the same and meet the actual engineering requirements.

##### 4.3. Scheme Comparison

To more intuitively and clearly reflect the advantages of the proposed control scheme, the trajectory tracking control method studied in this paper is defined as Strategy (1). The two typical control strategies are compared as follows: Strategy (2): finite-time stable strategy [31], the control law is designed by combining the TA-BLF and adaptive NN method, and its core parameters are , , , , , and . Strategy (3): asymptotically stable strategy [30], the control law is designed by combining the asymmetric saturation actuators, adaptive NN and backstepping. Its core parameters are , , and .

Note that this paper not only has the same model uncertainty and external disturbance but also considers the influence of actuator faults on the control system. A comparison of the simulation results of the three control strategies under the same initial value is shown in Figures 17-19.

The effect comparison of MSV autonomous tracking of the desired trajectory under three different control strategies is shown in Figure 17. The results clearly show that the control law designed in this paper has a faster response speed and higher tracking accuracy than Strategy (3). Figure 18 shows a comparison of the tracking errors of the position and yaw angles under different strategies. Compared with Strategy (2) and Strategy (3), Control Strategy (1) proposed in this paper shows a relatively smooth tracking error curve, which indicates that the controller has stronger robustness, and the tracking error is also the smallest. Figure 19 shows that the control inputs required by the three control strategies are almost the same before actuator failure. However, since the function of actuator faults is considered in this paper, it is necessary to improve the input of the system in the case of actuator faults to ensure the stability of the system. The results show that the control inputs required by the three strategies are implemented within the acceptable range of the project and are stable.