1. Introduction
AUVs can explore underwater environments and perform various applications such as pipeline inspection, military missions, oceanography, etc. [
1]. Problems such as highly nonlinear and coupled dynamics, uncertain hydrodynamic parameters, and unknown exogenous disturbances are serious obstacles to the precise control of submarines. Furthermore, due to weight, cost, reliability, and energy consumption considerations, most AUVs have underactuated structures, i.e., they lack control inputs for their lateral and vertical movements. Maneuverability and disturbance rejection properties are reduced due to non-integrable second-order non-holonomic constraints in underactuated systems [
2]. The literature presents various path-following and trajectory-tracking techniques, which are the basis of various motion controllers for underwater vehicles. The main goal of a trajectory-tracking controller is to guide an AUV to reach a specific position at a predetermined point in time, while there is no time constraint on the path-following task and only the geometry of the target path is important. In general, path-following methods have the potential to exhibit smoother convergence properties and the probability of control inputs reaching saturation limits is lower compared to trajectory-tracking controllers [
3]. Therefore, considering the above issues, focusing on the study and design of the path-following control methods for underactuated AUVs can improve their practical capabilities.
1.1. Antecedents and Motivations
One of the most powerful control techniques in the design of nonlinear motion controllers for underactuated AUVs is the backstepping control (BSC) [
4]. Since the hydrodynamic effects acting on an AUV vary significantly with the working and environmental conditions [
5], it is difficult to accurately measure and estimate model parameters and exogenous disturbances. This issue degrades the performance of the conventional BSC-based methods in practical implementation. To handle this problem, the BSC-based schemes, equipped with observers or combined with more robust control methods, have been widely applied to AUV motion control [
6,
7,
8]. In [
9], a nonlinear adaptive disturbance observer (DO) employing the high-order sliding mode control (SMC) method is designed to improve the anti-disturbance characteristics of a backstepping-based trajectory-tracking controller. In [
10], a double-loop backstepping sliding mode controller is designed for underactuated AUVs. A nonlinear DO is employed in the inner loop to cope with the model’s uncertainties and linearization errors. In [
11], an adaptive asymptotic control law is incorporated into a design based on BSC to compensate for non-vanishing uncertainties. In [
12], a combination of BSC and SMC is applied to make an underactuated AUV follow a target path, a fuzzy logic (FL)-based adaptive law handling the parameter and environmental disturbances. In [
13], a control scheme based on BSC is proposed for path-following tasks, where an extended state observer (ESO) is developed to estimate the mismatched lumped disturbance and recover the unmeasured velocities.
It is also worth mentioning the various strong points of the SMC-based approaches for underactuated AUVs. The main drawback of the control strategies based on SMC is the “chattering phenomenon” [
6], its direct effect being related to the low control performance and high wear of actuators. Also, the bounds of uncertainties must be completely known to ensure stability, which is not feasible in practice. Designing higher-order sliding manifolds [
14,
15], DO-based SMC [
16,
17,
18], and adaptive SMC [
15,
19] are some techniques to alleviate these drawbacks. In [
20], a neural network (NN) and an FL-based adaptive term are applied to deal with the unknown exogenous disturbances, parameter uncertainties, and the chattering in SMC. In [
15], an adaptive twisting SMC is designed for the trajectory tracking task that can handle the chattering effect and prior knowledge problem. In [
21], an adaptive trajectory-tracking scheme based on SMC with prescribed performance is designed, where an NN is employed to compensate for the effects of external time-varying disturbances and model uncertainties. In [
22], a two-layer path-following controller for underactuated AUVs is developed, where the kinematic controller is based on BSC, and the dynamic control law is designed using a nonlinear DO and the integral SMC.
It is desirable that the path-following errors quickly reach the origin. However, the conventional control schemes can only ensure asymptotic stability [
23,
24], i.e., the tracking errors converge to the equilibrium point in infinite time. The methods with finite-time stability can reduce the settling time of tracking errors relative to the asymptotic controllers. However, the convergence time of the conventional finite-time controllers may be prolonged for large initial errors. Therefore, it seems that these controllers are not very suitable for applications where the initial conditions are not known in advance. This shortcoming can be partially overcome by using fast finite-time methods. In [
25], a double-loop controller is introduced for path-following of underactuated AUVs, where global asymptotic stability of the position errors in the kinematic layer and finite-time convergence of the attitude tracking/surge velocity regulation errors in the dynamic layer are assured. In [
26], a finite-time terminal sliding mode control (TSMC) with a finite-time NN-based DO is employed in the dynamic layer of a 3D trajectory-tracking controller. In [
27], a finite-time robust adaptive control based on a continuous TSMC method is proposed for trajectory-tracking tasks. In [
28], a global finite-time trajectory-tracking control based on the dynamic surface control approach is designed, where a finite-time NN estimates the lumped uncertainties. In [
29], an adaptive finite-time double-loop integral terminal sliding mode control (ITSMC) method is proposed for the trajectory-tracking control of AUVs, where a finite-time NN estimates the lumped uncertainty. In [
30], a finite-time control method is proposed for trajectory-tracking of an over-actuated AUV using the non-singular fast TSMC equipped with an adaptive finite-time ESO. The problem of long convergence time for large initial errors can be completely overcome by fixed-time control methods; the upper bound of the convergence time of state trajectories depends only on the control parameters and not on the initial conditions. In [
16], a DO-based BSC is integrated with a fixed-time control method to achieve fixed-time convergence considering environmental disturbances. In [
31], a fixed-time control method is proposed for trajectory-tracking of underactuated AUVs, where an adaptive fixed-time DO is designed to compensate for ocean currents within a fixed time. In [
32], a fixed-time controller based on SMC with DO is designed for the trajectory-tracking control problem of AUVs under time-varying external disturbances.
Control inputs for practical applications are confined by actuators’ maximum producible forces/moments. Ignoring the physical limitations of the actuators’ magnitude and rate in the control design can degrade control performance or even cause instability of the controlled system, especially when disturbances or mission maneuver requirements cause the inputs to greatly exceed their maximum capabilities [
33]. Auxiliary compensation systems are usually employed to counteract the input magnitude saturation [
5,
6,
21]. Also, actuator dynamics has been considered in some studies [
33,
34]. However, hard limits on input rate have not been taken into account in these investigations.
1.2. Main Contribution
This paper introduces a robust adaptive finite-time path-following controller for an underactuated AUV maneuvering in 3D space subject to parameter uncertainties, ocean currents, and actuator limits. The highlights of this study are as follows:
Different from the existing DOs introduced in [
10,
13,
16,
31,
32,
35], a continuous adaptive fixed-time integral sliding mode disturbance observer is designed to estimate the lumped disturbances with an arbitrarily bounded error in a fixed time. An adaptive law in the developed observer obtains an upper bound of uncertainty rate and eliminates the need for prior knowledge about uncertainties. The signum function in the observer is replaced by the hyperbolic tangent function and the approximation error is taken into account.
Compared to the finite-time control methods presented in [
25,
26,
27,
28,
29], a novel finite-time control law based on the hyperbolic tangent function is developed; it ensures the path-following errors converge to a bounded region around the origin within a finite time. In addition, the proposed finite-time control law can better deal with the effect of time-varying disturbances, also providing smoother control inputs.
In contrast to the anti-saturation methods proposed in [
5,
6,
21,
24,
33,
34], both the magnitude and rate saturations are considered, an auxiliary compensation system being designed to maintain stability in the presence of control inputs with high changing rates.
The remainder of this paper is organized as follows: preliminaries and a problem statement, including the underactuated AUV dynamics and path-following error system, are given in
Section 2. The designing procedure of the control scheme is described in
Section 3. The stability analysis of the introduced control law is performed through the Lyapunov theory in
Section 4. The fifth part of this work contains a comparative simulation study. Finally, concluding remarks are presented in
Section 6.
4. Stability Analysis
The following theorem summarizes the stability conditions for the path-following of underactuated AUVs in the presence of lumped uncertainties and actuator limits.
Theorem 2. Consider the underactuated AUV model in (11)–(13) under Assumptions 1 and 2. Suppose the kinematic controller laws are designed as (28) and (40), and the dynamic controller laws are described as (47) and (50) with the auxiliary compensation system (52). In this case, the cascaded closed-loop system is uniformly stable and the path-following errors converge to an arbitrarily small region around zero within a finite time.
Proof. To begin with, we divide the cascaded closed-loop system into three subsystems: (1) the first subsystem, which contains the position control loops, attitude control loops, and velocity control loops; (2) the second subsystem, including the actuator dynamics compensation loops and auxiliary compensation systems; (3) the third subsystem, consisting of the disturbance observers. Here, the stability analysis relies on the premise that the AFTDO can provide a quick and accurate estimation of the lumped uncertainty in a fixed time.
Remark 3. By referring to (71), it is clear that the dynamics of the actuator dynamics compensation loops and auxiliary compensation systems do not contain the nonlinear terms, and hence, do not meet the finite-time stability conditions. Note that according to (46), the errors of the actuator dynamics compensation loops, i.e., appear in the lumped uncertainties. Hence, their effects on the velocity tracking error dynamics can be compensated by the AFTDO in a fixed time. Therefore, to ensure the finite-time stability of the path-following errors, we do not need to prove that the second subsystem is finite-time stable, but only that the errors
are uniformly bounded.
First, we consider the systems (51) and (52) as the second subsystem:
Define a second Lyapunov function as
. Taking its time derivative, substituting from (71), and using Young’s inequality, one has
where
The control gains can be selected so that . By assuming that are bounded, it follows that the system (71) is uniformly bounded.
Now, consider the following candidate Lyapunov function for the first subsystem:
By taking the time derivative of
substituting from (29), (41), and (48), and applying Lemma 1, we have:
According to Theorem 1, the disturbance estimation errors converge within a fixed time no greater than
to an arbitrarily bounded region around the origin, i.e.,
. Also, we can assume that
and
and
and
. Therefore, we rewrite (74) using (9) in Lemma 7 in the following form:
where
To ensure stability, the control parameters can be selected so that
. According to Lemma 2, the first subsystem is practically finite-time stable, meaning that the path-following errors converge to the bounded set
around the origin in the finite time
described as
where
and
is the initial conditions. □
Remark 4. In general, the control parameters of the kinematic controller are selected so that the performance indices in terms of convergence time and robustness are met. The parameters of the dynamic controller must be chosen high enough to accurately track the desired velocities provided by the kinematic layer. In particular, increasing the tracking loops’ parameters the observers’ parameters and reducing the parameter will enhance the convergence rate and reduce the steady-state errors. However, issues such as actuator saturation and discontinuous control inputs should be taken into account in adjusting these parameters. Also, a trade-off between convergence time and magnitude/rate saturation management property should be made to adjust the gains of auxiliary compensation system .
Remark 5. The course-angle errors
and must be available to calculate the velocity of the virtual vehicle on the path, i.e., in (28). Although these errors can be obtained by the equivalent coordinate transformations among the flow frame
body-fixed frame and Earth-fixed frame we use their desired values, i.e., the approach angles and instead of them to simplify the calculations.
5. Numerical Simulations
To demonstrate the capabilities of the introduced control scheme, numerical simulations for path-following control of an underactuated AUV considering model uncertainties, external disturbances, and actuator limits are carried out based on the Matlab/Simulink platform under different working conditions, given in
Table 1.
Table 2 lists the model parameters of the AUV [
2]. The actuator magnitudes are saturated within
and
and their rates are limited to
. The actuators’ time constant is
. We assume that there exist
uncertainties in the model parameters (
for
and
and
for
). The AUV’s desired resultant velocity is
. The parameters of the tracking loops and auxiliary compensation systems are selected as
and the AFTDO gains are set as
with
.
5.1. Scenario 1
In this scenario, comparative simulations are carried out for the path-following of a 3D straight path between the proposed controller and two BSC-based controllers (FTBSC and BSC) to evaluate the performance of the guidance system and the control robustness. FTBSC has the same tracking loops as the proposed controller and BSC is formed based on the conventional backstepping control with the same position control law as the proposed controller. FTBSC and BSC do not benefit from disturbance observers and auxiliary compensation systems. For fair comparison, the control gains are adjusted such that the maximum amplitude of control efforts under Condition (1) falls within the same range. The AUV’s initial conditions are set as
The straight target path is parameterized as
and
. The external disturbances are presented by [
1]
where
for the constant disturbances and
for the fast time-varying disturbances.
Figure 3,
Figure 4,
Figure 5 and
Figure 6 present the comparative simulation results of Scenario 1.
Figure 3 shows the 3D path-following of the AUV. Tracking errors of positions, attitudes, and velocities are given in
Figure 4.
Figure 5 illustrates the control force and moments. The disturbance estimation errors and adaptive parameter estimations are depicted in
Figure 6.
Figure 3 and
Figure 4 show that the AUV under all controllers can reach and follow the path in conditions (1), but the presented scheme, due to its more robust dynamic controller, outperforms FTBSC and BSC in the presence of parameter uncertainties and external disturbances in Conditions (2) and (3). The proposed scheme can completely reject the constant external disturbances and confine the path-following errors to a small region around the origin with time-varying external disturbances. Moreover, FTBSC fulfills the task better than BSC, which can be attributed to the robust properties of tangent hyperbolic functions in the attitude and velocity tracking loops. Note that the along-tracking is more accurate for all controllers since, unlike the trajectory-tracking task, and according to (29), the along-tracking error
dynamics is unaffected by the attitude tracking errors and thus the lumped uncertainties. Also, the larger external disturbance in the yaw motion compared to the pitch motion in (77) has resulted in larger errors in
than in
Referring to
Figure 6, accurate and fast estimation of the lumped uncertainties by the AFTDO is an important factor in enhancing the robustness of the proposed controller. The control inputs in
Figure 5 are constrained to acceptable unsaturated regions for all controllers, and due to the use of the hyperbolic tangent function instead of the sign function, chattering does not appear in the control inputs. Also, by comparing the control effort amplitudes of different controllers under condition (1), this insight can be gained by pointing out that the better performance of the proposed controller is not due to higher control gains but rather its specific control law.
Figure 6 shows that the adaptive law in (57) can quickly track the changes in the lumped uncertainty and provide an upper bound for the rate of lumped uncertainty.
5.2. Scenario 2
In this scenario, comparative simulations between the proposed controller and a traditional disturbance observer-based backstepping control (DOBSC) are carried out to further study the advantages of the presented control method, considering more challenging situations in terms of the target path to be followed, the external disturbances, and the initial conditions. A circular helix target path of radius and slope is parameterized as with The AUV’s initial states are Equation (77) presents the external disturbances, with for the constant disturbances and for the fast time-varying disturbances.
The simulation results of Scenario 2 are presented in
Figure 7,
Figure 8,
Figure 9 and
Figure 10.
Figure 7 depicts the 3D path-following of the AUV. Tracking errors of positions, attitudes, and velocities are given in
Figure 8.
Figure 9 illustrates the control force and moments. The disturbance estimation errors are shown in
Figure 10. As shown in
Figure 8, it is easy to see that both schemes eliminate the effect of constant environmental disturbances and confine the impact of time-varying external disturbances on the path-following errors to a small region around zero. Therefore, we can say that the path-following and surge velocity tracking errors converge to a region around zero in all conditions. However, the tracking accuracy and robustness of the proposed finite-time controller are better than those of the DOBSC. According to
Figure 9, the oscillations in the control force and moments associated with the transient states of Condition (1) for the proposed method are lower than the corresponding values for the DOBSC. This is because the hyperbolic tangent functions confine the control inputs for large initial errors and meanwhile provide appropriate convergence rates for all times of state trajectories. The proposed control gains can be chosen with less conservatism with respect to the actuator limitations; as a consequence of this, we can use all the capacity of the system’s actuators for a larger range of initial conditions. As depicted in
Figure 10, both observers can fulfill the estimation task, but the AFTDO has higher capability to deal with the lumped uncertainties in terms of convergence speed and estimation accuracy; there exist oscillations with large overshoots and low damping rates in the estimations by the DOBSC.
Also, it is easy to see from
Figure 10 that the disturbance estimation errors
tend to zero with constant lumped disturbances (Condition 2). We can deduce this result by referring to (58) and (66), where the dynamics of the disturbance estimation errors are driven by the lumped uncertainty rates
. Thus, if the disturbances are time-invariant, i.e.,
complete compensation by AFTDO and exact convergence are achieved. However, ocean currents typically induce time-varying perturbations, the fast-varying sinusoidal functions being the common forms of the external disturbances acting on AUVs [
1,
8,
39].
5.3. Scenario 3
A comparative simulation between two versions of the proposed controller (i.e., the controller without the auxiliary compensation system, called Proposed 1, and the controller equipped with the auxiliary compensation system in (52), called Proposed 2) is conducted to evaluate the control performance for tighter constraints on the input rates. The target path and the initial conditions are the same as those in Scenario 2. The constraints on input rates are reduced to
for the surge control input, pitch control input, and yaw control input, respectively.
Figure 11 presents the control input magnitudes/rates for the tighter constraints on input rates, where the input rates are calculated by
i.e., the rates of actuator states in (13) before the saturation block. This figure shows that the maximum values of the input rates for Proposed 1 far exceed the saturation limits. Due to the auxiliary compensation system, Proposed 2 can reduce the maximum values of the input rates considerably and take the inputs out of the saturation zone sooner. Therefore, the proposed auxiliary compensation system can effectively manipulate the control signals when exceeding hard constraints on input rates, resulting in higher robustness and smoother control inputs.
6. Conclusions
A robust adaptive finite-time controller is presented using a novel disturbance observer-based backstepping control for 3D path-following of an underactuated AUV exposed to parameter uncertainties, external disturbances, and input magnitude/rate saturations. The path-following error system is built based on the virtual guidance method. For this system, a control architecture with a two-layer structure is proposed. A finite-time BSC-based kinematic controller ensures that the path-following errors converge to a small region around the origin within a finite time. Then, the dynamic layer is designed using a finite-time BSC equipped with a disturbance observer, in which the velocity commands from the kinematic layer are applied as the reference inputs. The lumped uncertainties are compensated by the fixed-time integral sliding mode disturbance observer, where an adaptive law eliminates the need to know the upper bound of the lumped uncertainty rate. The stability analysis of the cascaded closed-loop system is performed via the Lyapunov stability theorem, which verifies that the path-following errors converge to an arbitrarily small region around zero within a finite time. The effectiveness of the control scheme in 3D path-following is studied with numerical simulations under different working conditions. Compared to the traditional BSC-based methods, the presented controller is characterized by smoother control signals while ensuring excellent system robustness. Although the proposed control law is specifically designed for the path-following of underactuated AUVs, it can be easily adapted for other autonomous vehicles and robotic systems.
Given the unknown initial states of AUVs, the convergence time may be prolonged for initial errors far from the origin. Future work will be devoted to designing a fixed-time control law and evaluating the control performance in terms of convergence rate and robustness.