1. Introduction
The ocean covers about 71% of the Earth’s surface area and is rich in marine mineral resources, biological resources and dynamic resources. As an important tool of exploiting marine resources, the design, manufacture and control technology of AUVs have been widely studied [
1]. Path following is a key technology in AUV motion control, applicable to tasks such as seabed exploration, underwater pipeline maintenance and offshore oil development. Accurate following control can significantly improve the operational efficiency of AUVs while enhancing operational safety. However, the types of paths and the moving speed of the vehicle all affect the guidance effect. And environmental disturbances like waves and ocean currents also cause the AUV to deviate from the desired path, increasing the complexity and difficulty of path following. Tracking errors may lead to higher energy consumption, extended operation times or even mission failure. Achieving high-precision path following in complex and dynamic ocean environments has become a research hotspot in the field of AUV motion control.
The path following of AUVs can be divided into two processes: guidance and following. The LOS method is widely used for guidance because it is simple and easy to implement. LOS guidance laws include path-tangent direction, look-ahead distance and drift angle. The path-tangent direction is determined by the path, and the drift angle can be calculated from the velocity measured by the Doppler velocity log installed on the AUV. Therefore, most studies focus on optimizing LOS using the look-ahead distance.
Initially, the look-ahead distance of LOS guidance is a constant value related to the size of the vehicle, but the effect of path following is unsatisfactory. It is found that the look-ahead distance determines the convergence performance of path following. References [
2,
3] only studied the influence of the cross-track error on the selection of look-ahead distance. Subsequently, it was found in [
4] that the selection of look-ahead distance was affected by both the varying cross-track error and the path curvature. On this basis, references [
5,
6,
7] added the research on forward velocity in the choice of look-ahead distance and considered more comprehensively the factors affecting the choice of look-ahead distance. However, the above studies are all based on mathematical models of exponential form, and the maximum and minimum values of the look-ahead distance must be strictly limited. In fact, there is no clear mathematical relation between the look-ahead distance and the three influencing factors, and there is no uniform standard for selecting the maximum and minimum values of the look-ahead distance. In the mathematical model of the look-ahead distance in [
2,
3,
4,
5,
6,
7], even a small change in one of the influencing factors will result in a large change in the range of the look-ahead distance, which will increase the load on the controller of the guidance angle and not be conducive to the stability of the system.
In addition to enhancing the guidance capabilities of AUVs, some studies have focused on improving controller performance to suppress the impact of model uncertainties and external disturbances on the system, thereby achieving precise following. An active disturbance rejection control (ADRC) based on Q-learning for angle control was proposed in [
8]. The extended state observer in ADRC was used to estimate and compensate for the internal and external disturbances, which improved the robustness of the control system. However, the internal disturbances only include part of the hydrodynamic coefficient of the AUV, which cannot fully represent the influence of model uncertainty on the system. In [
9], a fuzzy approximator was used to identify unknown hydrodynamic parameters and uncertainty models, but external disturbances were ignored. Therefore, fuzzy algorithms [
10,
11,
12] are usually combined with other algorithms in path-following control. References [
13,
14] designed an adaptive law based on a fuzzy controller to estimate external disturbances and simultaneously solved the influence of the uncertain model and the external disturbances. Reference [
15] combined neural networks with reinforcement learning to establish a new actor–model–critic architecture for path following. According to the trajectory samples of AUVs in different states, the neural network model was trained as a state transition function in reinforcement learning, which could effectively cope with the changes in the AUV and the surrounding environment. However, the cost of obtaining trajectory samples in practical engineering is very high.
Sliding mode control is mainly used in systems with unstable structure and strong disturbance, especially in AUV systems. It can suppress the interference of the uncertain model and external interference, but the jitter problem of the sign function in the reaching law needs to be solved urgently. Reference [
16] used a continuous function instead of a sign function to reduce chattering, but the approach speed could not be adjusted according to the system state. Therefore, based on the continuous function, the reference [
17] used fuzzy control to adjust the approach parameters in the approach law according to the cross-track error of the path following, so as to select the appropriate approach speed. In [
18], adaptive estimates of the upper bound of the interference were added to the gain of the continuous function to adjust the reaching law. On the other hand, the chattering can be suppressed by changing the gain of the sign function. In [
19], based on the exponential approach law, the approach speed was improved by adjusting the gain of the sign function online through self-learning of the neurons. In addition, the equivalent SMC was used for AUV control in [
20,
21], where the sign function in its robustness term was replaced by the output value of the fuzzy controller according to the sliding surface, which was also essentially an adjustment of the approach law. At present, most of the methods of suppressing the chattering of the SMC are achieved by modifying the approach law rather than by designing the control law.
Motivated by the aforementioned observations, a control method based on improved LOS guidance and an FSMC is proposed for path following of AUVs with model uncertainty and external disturbances in the horizontal plane. The kinematic and dynamic models of the AUV are derived for the subsequent design of the guidance method and controller. The influence of cross-track error, path curvature and forward velocity (hereafter referred to as three elements) on the selection of the look-ahead distance of the LOS is deduced. As the relationship between them cannot be expressed by an exact mathematical model, a fuzzy controller is selected to adjust the look-ahead distance in real time according to the path-following state to improve the guidance effect, and then the expected heading angle with drift angle compensation is derived. To simultaneously overcome the effects of model uncertainty and external perturbations on the control system, the FSMC is designed based on Lyapunov stability theory. The parameters of the control law of the FSMC can be adjusted online by the fuzzy controller according to the input error of the controller, which effectively improves the stability of the control system and reduces the error of path following. The main contributions are summarized as follows.
- (1)
Compared with the adaptive LOS (ALOS) and ALOS with proportional guidance law (APLOS) methods proposed in [
5], the proposed FLOS method does not need to limit the maximum and minimum values of the look-ahead distance, and the amplitude of the look-ahead distance changing with the three factors is small, which makes the AUV converge to the following path smoothly and reduces the error of following.
- (2)
Compared with [
13,
14,
15,
16,
17,
18], the proposed FSMC suppresses sliding mode chattering by designing a new control law based on the characteristics of the sliding surface and Lyapunov stability theory, rather than by adjusting the approach law. This method does not require consideration of the upper and lower bounds of uncertain parameters, nor does it introduce chattering issues caused by the sign function. It offers a novel approach for suppressing chattering in the SMC.
The structure of the paper is as follows. In the
Section 2, the mechanism of AUVs is modeled. The
Section 3 deduces the influence of three elements on the selection of the look-ahead distance, designs the guidance law based on the fuzzy controller and designs the FSMCs of heading angle and forward velocity based on the Lyapunov stability theory. In the
Section 4, the proposed control method is simulated, and the experimental verification is carried out in the
Section 5. The conclusion of this paper is shown in
Section 6.
5. Experimental Verification of Proposed Method
To verify the feasibility of the proposed improved LOS guidance and FSMC, an underwater path-following experiment was carried out on an AUV with a length of 1.7 m and a mass of 203 kg. The control system adopts the EMB3500 industrial controller based on a Linux system and STM32 single-chip microcomputer as the controller of the driving mechanism, and the sampling period is 1 s.
Figure 16 shows the AUV in water trials. The AUV actually operates in an environment with external disturbances due to surges generated by other vehicles operating in the water. Additionally, to simulate the influence of model uncertainty on AUV motion, a cylindrical float is mounted on the left at the front of the body. In the experiment, APLOS with better performance in simulation was used for comparison with the proposed method. The straight-line path followed by the AUV is {
y =
x − 2,
x∈[2, 9]}. The initial states are as follows: [
x y ψ] = [0 0 0], [
u v r] = [0 0 0], and
ud = 1 m/s. The curved path is expressed as {
x = 5cos θ,
y = 7 + 7sin θ}. The initial states are as follows: [
x y ψ] = [0 0 0.4], [
u v r] = [0 0 0], and
ud = 0.2 m/s.
Figure 17 and
Figure 18 respectively depict the experimental results of straight-line and curved path following for the AUV under different states with disturbances, including the path followed, heading angle, look-ahead distance and forward velocity. As illustrated in the figures, the FLOS method with a PID controller exhibits superior following performance in comparison to APLOS. However, both methods exhibit suboptimal tracking accuracy for heading angle and velocity due to interference. The path following of the FLOS method with the FSMC is the most effective, benefiting from the superior FLOS guidance and the anti-interference capability of the FSMC. This method permits the smooth adjustment of the look-ahead distance and the rapid stabilization of the heading angle and velocity to the desired curve.
The experimental trajectories and desired paths under disturbances, as shown in
Figure 17a and
Figure 18a, were used to evaluate the AUV’s path-following performance. Metrics such as MAE and RMSE were applied for this assessment. The performance metrics for the AUV under different control strategies are presented in
Table 8. It can be seen that the MAE and RMSE values of the FLOS method with the FSMC are smaller than those of other methods, indicating that the following error is minimized. A comparative analysis of the path-following experimental results of three methods reveals that the FLOS guidance method can achieve a maximum improvement of 9.25% in tracking performance. Additionally, the disturbance rejection capability of the FSMC can enhance tracking performance by up to 11.77%. Overall, the proposed control method results in a total improvement of over 15% in tracking performance.