1. Introduction
An unmanned surface vehicle (USV) is a kind of autonomous waterborne platform that can autonomously complete tasks, such as environmental perception and target detection, and has autonomous identification, autonomous planning, and autonomous navigation capabilities [
1,
2,
3]. It has the advantages of small size, low cost, good maneuverability, and no casualties [
4]. The USV can independently perform tasks in areas where manned ships are not suitable for dispatch, thereby expanding the scope of water operations. Therefore, it has become an important tool in carrying out civilian and military tasks such as marine environmental monitoring, water search and rescue, ship escort, firepower strike, and anti-submarine tasks [
5].
In complex marine environments, ensuring the safety, stability, and accuracy of autonomous navigation for USVs is a major challenge for USV control systems. The overall issues of motion control for USVs include set-point regulation, trajectory tracking, and path following [
6].
In the motion control system of USVs, the existing propulsion system usually consists of the main thruster and rudder or the double thrusters at the stern of the ship, without side thrusters. This power configuration means that the USVs have only two control inputs. However, there are three degrees of freedom (DoF) for USVs, including surge, sway, and yaw, which means that the number of control inputs is less than the DoF of the USVs. This type of USV has underactuated characteristics. Because of the low maneuverability, it is more suitable to study the path following control of underactuated USVs.
Path following refers to USVs tracking a predetermined path. The USV does not need to reach a certain position on the path at the specified time, and the reference path is independent of time. In other words, the spatial constraints of path following problem take precedence over time constraints. As shown in
Figure 1, the path following control of USVs divides the control system into two parts: the guidance subsystem and the control subsystem. Based on the path information and environmental information, the guidance subsystem generates the expected reference signals. Then, the control subsystem will track the reference signal generated by the guidance subsystem to achieve path tracking. Path tracking control is similar to the actual behavior of crew maneuvering ships, and the modular design concept allows it to directly apply mature guidance technology and heading maintenance control theory, which has strong practical application value and has become a commonly used solution for USV path following.
Over the last several years, promising results on the path following control of USVs have been proposed.
From the perspective of guidance subsystem, the commonly used guidance algorithms are line-of-sight (LOS)-based methods [
7,
8,
9,
10,
11].
In [
7], a LOS-based guidance law was designed for target enclosing control of an USV, and the effectiveness of the proposed method was verified by simulations and experiments. However, when the tracking error is large, the speed of LOS method converging to the desired path is relatively slow. In addition, when the USV is influenced by the environment disturbance, the sideslip angle will occur, which limits the application of the LOS method. In order to deal with the above-mentioned problem, Fossen et al. proposed an integral LOS in [
8] using additional integral terms to offset the sideslip angle. Moreover, there are many improvement methods based on LOS. In [
9], an adaptive LOS guidance law was proposed for the finite-time path following control of USVs, which can keep the tracking error within the constraint range. In [
10], the fuzzy rules were used to determine the forward looking distance of the LOS guidance to increase the convergence speed. In [
11], based on sliding mode theory, a robust LOS guidance law was designed for the underactuated ships. Except for LOS-based approaches, the vector field guidance is also widely used in USV control [
12,
13,
14].
From the perspective of control subsystem, there are many approaches applied to the USV control field and that have achieved good control results. The approaches include proportional integration differentiation (PID) [
15,
16,
17], trajectory linearization control (TLC) [
18,
19,
20], sliding mode control (SMC) [
21,
22,
23], backstepping [
9,
24,
25,
26], and intelligent control [
27,
28,
29,
30,
31].
As a most widely used algorithm applied to USV path following control, PID controller has the advantages of simple structure, good economy, and high control accuracy. However, when external disturbances exist, such as wind, waves, and currents, the adaptability of the PID controller is insufficient and its control stability will decrease. Currently, researches on PID control method have mainly focused on its improvements. For instance, in [
15] the authors proposed an improved PID control method by using optimization theory, and this method can obtain the optimal control parameters. In [
16], the fuzzy rules were used to realize the self adjustment of PID parameters to improve its robustness. In [
17], a modified incremental PID was proposed to deal with the influence of the marine currents. Trajectory linearization can simplify the problem of path following control. However, linearization processing will lead to system errors and reduce control accuracy. Similar to other algorithms, we can combine it with robust control approaches improve control performance. In [
18], to improve the robust performance of the TLC approaches, the neural network (NN) is used to estimate the model uncertainties. In [
19], the linear extended state observer was designed to approximate the unknown disturbances, and by combining with the TLC approach, a robust controller was proposed for USVs. In [
20], a finite-time disturbance observer was designed to observe disturbance and uncertainties to improve the robustness of TLC method. SMC has robustness to parameter changes and external disturbances; however, it has the disadvantage of chattering. In [
21], by using hyperbolic tangent function, a SMC-based path following controller was proposed for the USV, which can deal with the chattering problem. In [
22], the SMC was used to structure an observer. Then, it was combined with the adaptive law, and a nonlinear surge controller was proposed. In [
23], to achieve fast converge speed, a nonsingular terminal SMC was designed for the USV control in the present of model uncertainties. The backstepping method is greatly influenced by the motion model, and in order to achieve good control performance and robustness, it is necessary to establish an accurate model—which is difficult to obtain. Therefore, for the backstepping approach, combinations with other techniques (for instance, tracking error compensation [
9], SMC [
26]) to improve its robustness performance have been a research hotspot. Intelligence control methods have unique advantages in dealing with nonlinear and complex system problems. Fuzzy logic control converts expert knowledge into fuzzy rules, which can effectively deal with the impact of model uncertainty and interference in the path following control of USVs [
27]. In addition, NN can be used to approximate the uncertainty and external interference terms of the USV model, so as to improve the anti-interference ability and robustness of the controller [
28,
29]. In recent years, machine learning theory has developed rapidly, and reinforcement learning has been widely applied in the field of USV control [
30,
31]. Reinforcement learning theory does not require the establishment of accurate mathematical models, and has a self-learning ability in unknown environments. Therefore, it has great research value for solving model uncertainty and unknown interference problems in USV control.
Although fruitful research results have been reported, we need to note that limitations and challenges still exist:
The control methods in most existing works on path following control of USVs are time triggered (e.g., [
15,
26]), which means that the control signals should update at every sampling instance, and it is unnecessary from the perspective of resource allocation;
The USV model is highly nonlinear and coupled, which poses great difficulties in the design of path following controllers. Currently, although there are many papers studying the nonlinear controller design of USVs, most methods still require knowledge of partial or complete model information (e.g., [
9,
25]).
Inspired by the existing literature discussed above, this paper proposes a event-triggered robust path following controller subject to unknown model nonlinearity and disturbances. Specifically, based on the relative position between the USV and the expected path, a dynamic equation for its path tracking error is established in the Serret–Frenet coordinate system. According to the backstepping technique and Lyapunov stability theory, the guidance law and control signals are achieved. Then, to deal with the unknown model nonlinearity and disturbances, radial basis function neural networks (RBFNNs) are designed. Finally, on the basis of the above mentioned control signals, an event-triggered mechanism is structured to obtain the final control inputs. The contributions of this paper are summarized as follows:
An event-triggered based path following controller is proposed for the underactuated USVs. Because of the event-triggered mechanism, there is no need to update the control inputs at every sample instance. Therefore, this can decrease the computational burden;
The RBFNNs are designed to approximate the model nonlinearity and disturbances, which makes the proposed controller not rely on the USV mathematical model and improves the robustness performance of the controller.
The organization of the rest is as follows. In
Section 2, several useful lemmata are provided. In
Section 3, the USV model and the control objectives are given. The guidance subsystem is presented in
Section 4, and the design process of an event-triggered robust controller is proposed in
Section 5. Then, the closed-loop system is proved to be stable in
Appendix A. The effectiveness is verified in
Section 6 by simulations. Finally, the conclusion and potential future studies are given in
Section 7.
4. Guidance Subsystem Design for Path Following Control of Underactuated USV
In this section, the tracking error dynamic equations are given, and the guidance law is derived.
As shown in
Figure 2,
is the position vector of the USV in the inertial coordinate system
, and the velocity vector can be
. The course angle can be calculated by
From
Figure 2, we have
where
is the sideslip angle of the USV.
Therefore, the kinematics model of the USV can be re-expressed in a Serret–Frenet coordinate system
as
where
.
It is assumed that P is a point moving along the path at a designed velocity , where is the path parameter to be designed.
Then, the course error is
where
is the course angle of point
P.
The displacement vector between Q and P is ; therefore, the relative velocity can be calculated by . The angular velocity of P can be expressed as , where is the path curvature and is the parameter to be designed.
In the
frame, we have
where
is the rotation matrix,
,
, and
The derivation of Equation (
8) is
Therefore, the tracking error dynamic equations can be
To achieve objective 1 in
Section 3.2, we define the following Lyapunov function as
where
and
.
Then,
is presented as
The speed
can be designed as
where
.
Then,
can be rewritten as
where
and
. We choose
here, then
.
Finally, the desired yaw angular velocity can be designed as
where
, and
.
If
, by substituting Equation (
17) into (
16), we can obtain
Based on Lemma 1, the system is globally asymptotically stable.
To sum up, if the yaw angular velocity of the USV
r changes according to Equation (
17), and the path parameter
and the velocity of guidance point
P change according Equation (
15), then the tracking errors
,
and
will converge to zero, which means that objective 1 in
Section 3.2 will be achieved.
6. Simulation Results
To verify the effectiveness of the proposed controller, simulations are carried out. The model parameters are listed in
Table 1, which can also be found in [
4,
6].
Two cases are included in this section. In case 1, the control performances with different controller parameters are evaluated, which helps us choose appropriate controller parameters. In case 2, comparisons with other methods are made to reflect the superiority of the proposed method.
The simulation platform used in this paper is MATLAB and the equation solver is a fourth–fifth-order Runge–Kutta algorithm (ODE45).
6.1. Case 1: Performance with Different Controller Parameters
In this case, the desired path is given by
where
.
The initial position of the USV is m m, its initial yaw angle rad, its initial surge velocity m/s, its initial lateral velocity m/s, its initial yaw angular velocity is rad/s, the simulation time is 120 s, the simulation step s, and no external disturbances are considered in this case.
The states m/s], m/s, 0.5 m/s], and rad/s, 0.2 rad/s] are selected as the input of the RBFNNs; the node number of each NN is 21; the Gaussian function width of the RBFNN in the surge channel is , the width of the RBFNN in the yaw channel is , and the center is uniformly distributed; and the initial weights are all .
The simulation results are shown in
Figure 3,
Figure 4,
Figure 5 and
Figure 6 (take
,
, neuron number, and
for example). Please note that in these figures,
R is set as 40 m.
As shown in
Figure 3a, we can see that even though the value of
is different, the USV can still track the desired path with high accuracy. However, the smaller the value of
, the slower the USV converges to the desired path, as illustrated in
Figure 3b. It can be found that the event-triggered mechanism plays a role in the path-following of the USV, where the control inputs are only updated when the event is triggered as shown in
Figure 3c. By comparison, the value of
is ultimately chosen as
.
From
Figure 4a, it can be seen that the USV is still able to accurately tack the desired path even when different values of
are selected. Different from
, the value of
not only affects the convergence speed to the desired path, but also affects the tracking accuracy of the surge velocity, which is illustrated in
Figure 4b. The smaller the value of
is, the smaller the surge velocity tracking error
will be. However, the smaller the value of
is, the slower the USV converges to the desired path. In addition, It can be found that the value of
will also affect the number of event triggers. The larger the value of
, the more times the event will be triggered as shown in
Figure 4c. By comparison, the value of
is ultimately chosen as
.
The node number of the RBFNN is determined by comparing the control performance with different node numbers. As shown in
Figure 5, we can find that when the number of neurons is five, although the USV can move along the desired path, it exhibits a significant forward velocity tracking error. However, when the number of neurons is 21 or 50, their control performances are similar. Since a larger number of neurons requires more computational time, the final number of neurons is chosen to be 21.
A illustrated in
Figure 6a, it can be observed that the value of
has little impact on the accuracy of path tracking for the USV. The value of
primarily affects the event-triggered times in surge channel, which in turn affects the tracking precision of surge velocity. It is clear that the smaller the
, the more times the event will be triggered. By comparison, the value of
is ultimately chosen as 15.
Finally, all the controller parameters are listed in
Table 2.
The simulation is carried out to verify the vehicle behavior for a smaller
m. In this condition, four different initial states are selected:
m, 0,
rad],
= [0, 15 m,
rad],
m,
rad], and
= [0, −15 m, 0]. The controller parameters are listed in
Table 2. The results are shown in
Figure 7.
As shown in
Figure 7a, for a smaller
m, the proposed controller can still guarantee that the USV will track the desired path well, the tracking errors are bounded as illustrated in
Figure 7b, and the event-triggered mechanism works, as shown in
Figure 7c.
6.2. Case 2: Comparison with Other Approaches
In this case, other two approaches including backstepping and time triggered RBFNN-based backstepping are involved. The control laws of these two controllers are given by Equations (
26) and (
39).
The initial states of the USV, the desired path, the set of the RBFNNs are all the same as case 1. The desired surge velocity in this case is m/s, and the external disturbance is .
The simulation results are shown in
Figure 8 and
Figure 9, and the control performance comparisons are listed in
Table 3.
Integral absolute error (IAE) can be calculated by , where and T is the simulation duration. Root mean square error (RMSE) can be calculated by .
Integrating the errors in IAE captures the cumulative effect of position tacking errors over the entire interval, providing a quantitative measure of the overall error. RMSE evaluates the root mean square of the errors, which measures the dispersion between the desired position and the true position of the USV, providing an overall understanding of the error distribution. Therefore, the selection of IAE and RMSE as evaluation metrics is aimed at comprehensively considering the cumulative effect and distribution characteristics of position tracking errors. They provide a thorough assessment of the differences between the desired position and the actual position of the USV and help compare the performance of the algorithms.
From
Figure 8a,b, it can be observed that the control accuracy of the backstepping method tends to decrease significantly due to the external disturbances. However, for RBFNN-backstepping and the proposed method, due to the robustness of the NN, the USV can still track the desired path with high accuracy. As shown in
Figure 8c, the control inputs only update when the event is triggered.
As shown in
Figure 9a, each weight of the RBFNN in the surge and yaw channels is bounded. The triggering time intervals in each channel are illustrated in
Figure 9b. It can be found that the maximum time intervals can reach up to
s and
s. Considering the unknown model nonlinearity and external disturbances,
. Submitting the model parameters listed in
Table 1, we can obtain
. After the system stabilizes, the lateral velocity and yaw angular velocity of the USV are relatively small. Hence, the actual value of
will also be small (taking the example at
s, the actual value of
is only
). Therefore, the weights of the RBFNN in the yaw channel are very small as shown in
Figure 9c.
From
Table 3, we can find that, for the backstepping method, the IAE and RMSE of position are much bigger than the ones of RBFNN-based backstepping approach or the proposed method (backstepping:
, proposed method:
, and RBFNN-based backstepping:
). The fundamental reason for this situation is that the traditional backstepping technique is a model-based method and its robustness is poor, while the RBFNN can improve the robustness of the other two approaches. Comparing the proposed method with RBFNN-based backstepping, the difference between the IAE and RSME of the proposed method and the ones of the RBFNN-based backstepping are very small. However, the triggering times of the proposed method in both the surge and yaw channels are much less than the ones of the RBFNN-based backstepping method (proposed method: 77 times in the surge channel and 293 times in the yaw channel; RBFNN-based backstepping: 12,000 times in both channels).
Above all, it is clear that the proposed method can guarantee the USV to track the desired path accurately even if the unknown model nonlinearity and disturbances exist. In addition, profiting from the designed event-triggered mechanism, which is different from the time-triggered control approaches, there is no need for the proposed method to update the control inputs at every sampling instant.
Although the control method proposed in this paper ensures stable navigation of the USV under the influence of unknown nonlinearity and external disturbances, there is still room for further improvement. For example, the method does not consider control input constraints, the neural network structure parameters are manually set without optimization, and it does not take into account the consideration of optimal performance criteria.
Remark 2. In Appendix A, the closed-loop system is proven to be GUUB, and we obtain the following inequality: By solving the above inequality, we can obtain the following results:where denotes the initial value of . Therefore, the tracking error satisfies:where Based on the above analysis, it can be concluded that the tracking error is bounded as time progresses. Therefore, it is possible that there are some errors that do not converge to zero.