Next Article in Journal
A Simulation Model of the Influence of LNG Ships on Traffic Efficiency at Tianjin Port
Previous Article in Journal
Field Determination and Spatial Distribution of Se (IV) in Coastal Seawater of China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dual-Loop Integral Sliding Mode Control-Based Path Tracking with Reaction Torque for Autonomous Underwater Vehicle

1
College of Electronics and Information, Hangzhou Dianzi University, Hangzhou 310018, China
2
College of Electrical Engineering, Zhejiang University of Water Resources and Electric Power, Hangzhou 310018, China
*
Authors to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2024, 12(3), 404; https://doi.org/10.3390/jmse12030404
Submission received: 24 January 2024 / Revised: 16 February 2024 / Accepted: 22 February 2024 / Published: 26 February 2024
(This article belongs to the Section Ocean Engineering)

Abstract

:
Path tracking control is an important method for a Six-Degree-Of-Freedom Autonomous Underwater Vehicle to perform specific underwater tasks. Therefore, this paper investigates a dual-loop integral sliding mode control (DLISMC)-based tracking controller for an AUV with model uncertainties and external disturbances, and introduces a new reaction torque model for static compensation in order to improve the attitude control capability for AUVs when performing path tracking. In addition, the stability of tracking control law based on DLISMC is demonstrated using the Lyapunov function. Finally, numerical simulations are carried out on MATLAB 2016/Simulink and compared with the Proportion–Integral–Differential (PID) control commonly used in industry as well as the dual-loop Proportion–Integral–Differential (DLPID). Simulation results show that the DLISMC has a smaller tracking error, faster convergence speed, and more robustness against external disturbances and reaction torque.

1. Introduction

As the second largest strategic space after land, the ocean has rich biological resources, energy, mineral resources, and so on, which means it is the most realistic and potential space for development [1]. With the continuous development of science and technology, underwater robots have become one of most important tools for human exploration of the ocean. Compared with other types of underwater vehicle platforms, Autonomous Underwater Vehicles (AUVs) have the advantages of high autonomy and large detection range. They are often used to perform some difficult and complex tasks, such as ocean observation, seabed analysis, bathymetry, submarine navigation, recovery equipment, military applications, etc. [2,3,4]. In order to perform the above tasks successfully, it is necessary to design a reasonable and accurate controller for an AUV to achieve trajectory tracking, i.e., control the AUV to reach and follow the time-varying parametric trajectory. However, the trajectory tracking control of the AUV poses a great challenge to controller designers, because the dynamic model of the AUV has fixed multivariable, high-strength nonlinearity and strong coupling and uncertainty [5]. At the same time, due to the complex marine environment, the AUV is subject to time-varying external interference that is difficult to measure or estimate while moving, which also makes the trajectory tracking control of AUVs a challenging task.
Regarding the motion control of autonomous underwater vehicles, many scholars assume that the roll angle effect can be ignored. The advantage of ignoring the roll angle is that the complex 6-DOF dynamic model of an AUV can be simplified to a 5-DOF dynamic model [6,7]. This assumption greatly reduces the coupling of model and the difficulty of controller design. However, in practice, the roll angle has a significant impact on the path tracking of AUVs. Especially when the AUV is engaged in highly difficult and complex movements, the roll angle will be particularly prominent. A large roll angle error will make the AUV appear yaw. Therefore, the optimal control of a 6-DOF AUV’s attitude and position is very necessary.
Nowadays, there has been much research on AUV control methods. Classical control methods include PID control [8,9], backstepping control [10,11], etc. Traditional control methods comprise sliding mode control (SMC) [12,13], adaptive control [14,15], etc. Intelligent control methods comprise fuzzy control [16,17], neural network control [18,19], etc. See Table 1.
Sliding mode control is characterized by strong robustness to parameter variations, model uncertainties, and good resistance to external disturbances, so it is very suitable for trajectory tracking control of AUVs under complex environments. At present, many scholars have improved the sliding mode control. Qiao et al. [22] proposed an adaptive fast non-singular ITSMC (AFNITSMC) scheme. If far from the balance point, it will provide a faster convergence rate for tracking error than linear sliding mode (LSM), so it is faster than NITSM [23]. If close to the balance point, it will provide a similar convergence rate for tracking error to NITSM, which improves the convergence rate of the AUV tracking error. Liu et al. [24] introduced the Gaussian function into the integral sliding mode control to reduce the overreaction of the integral term caused by strong disturbances, eliminating the system uncertainty and the steady-state error caused by external disturbances. Zhang et al. [20] addressed the three-dimensional path tracking problem of an underactuated UUV in an unknown external disturbance environment by employing a nonlinear disturbance observer to estimate the unknown external disturbance, so as to simplify the UUV dynamics model. Li [21] addressed the uncertainty and mismatch disturbances in the path-tracking control scheme for underwater robots and the jitter phenomenon of SMC. A robust control scheme combining SMC, fuzzy logic control, neural network, and a disturbance observer is proposed. Where fuzzy logic control and SMC are used to control underwater robots, a neural network and disturbance observer are used to estimate the mismatch disturbance and uncertainty. Zheng [27] investigated the time-varying perturbation trajectory tracking problem based on robust adaptive sliding mode control (RASMC). The singularity problem is solved by designing smoother functions to ensure the continuity of SMC and its derivatives. Moreover, the robust adaptive law is proposed to ensure a good robust performance for a complex underwater environment, and the AUV’s mathematical model is coupled with strong nonlinearity and high uncertainty. A dynamic surface sliding mode controller for trajectory tracking is designed by Li et al. [28]. Aiming at the problem of more control parameters and the poor effect of manual empirical parameter rectification, an Improved Particle Swarm Algorithm (IPSO) is used to optimize the main control parameters and compensate the environmental disturbances with a nonlinear disturbance observer. Li [29] presented a finite time fractional order sliding mode controller (FTFOSMC) for 3D trajectory tracking of underactuated AUVs. The controller employs a second-order sliding mode surface, which ensures fast convergence while guaranteeing that the error converges to zero in finite time. Fractional-order calculus is introduced into the finite-time integral sliding mode control design to compensate for the weakening of the system’s dynamic performance by the fractional-order sliding mode, and meanwhile, to absorb the advantages of the fractional-order sliding mode to enhance the robustness. Compared with traditional integral sliding mode, it reduces the overshooting amount and has better accuracy and control performance. Desai [30] investigated the application of a sliding mode controller based on a linearly extended state observer control strategy (SMC-LESO in short) to a linearized yaw channel model. LESO is designed to estimate the total perturbation/uncertainty of the system state online, and SMC is used to design the controller based on this estimation.
Unfortunately, to simplify the controller design, most researchers choose to simplify the dynamics model. Incomplete degrees of freedom in just modeling the abstract path tracking algorithm is certainly not a problem, but the actual situation path tracking will allow the AUV to perform various types of underwater tasks such as spot blasting, sonar probing, etc. Although a six degree-of-freedom-based controller is particularly important, few of them consider the effect of reaction moments. Most researchers consider the complexity of the ocean environment and introduce constant or time-varying external disturbances into the system. However, the fact is that the AUV’s own thrusters also affect its attitude control. Nearly all AUV’s thrusters use propellers, and forward thrusters are typically single propellers. In addition to forward thrust, propellers generate reverse torque as they rotate [24]. The presence of the reverse moment affects the roll angle of the AUV itself, causing the body of the AUV to roll. Figure 1a is the initial attitude of the AUV when it is in motion, and Figure 1b is the attitude of the AUV when it is moving along a straight line. It can be clearly seen that the AUV has a rolling motion in addition to moving along a straight line. After multiple experimental observations, we find that the rolling motion of the AUV also changes under different thrusts, and the larger the thrust is, the more obvious the rolling motion is. In order to improve the attitude stability of AUV path-tracking control, this paper proposes a new controller named DLISMC and compares it with PID and DLPID control methods. Simulation experiments consider the reaction torque generated by the AUV itself in addition to the common marine environment disturbance, and introduce the reaction torque model generated by the propeller rotation into the dynamic model to optimize the controller with static compensation.
This paper mainly solves the problem of uncontrolled attitude of six-degree-of-freedom AUV path tracking affected by the reaction torque in the presence of steady-state error caused by model uncertainty and time-varying external interference. Firstly, a complete kinematic and dynamic model of the six-degree-of-freedom AUV and a reaction torque model are introduced. Secondly, the tracking controller based on DLISMC is derived and the stability of this control law is proved using the Lyapunov function. Finally, numerical simulations are carried out with MATLAB/Simulink platform, and the results show that the proposed DLISMC control method overcomes the effect of reaction torque on the attitude and is robust to external disturbances and uncertainties. Compared with previous research, the main contributions of this work are summarized as follows:
(1)
The anti-torsion model is constructed, and the anti-torsion perturbation is introduced into the mathematical model of the six-degree-of-freedom AUV, and the static compensation is performed for the control of the AUV’s roll angle, which enhances the robustness of the total system.
(2)
The control law is designed based on the double-loop structure using an integral sliding mode, and its convergence is proved using Lyapunov theory. Moreover, the feasibility of this control law is verified by simulation experiments.
The remainder of this paper is organized as follows. Section 2 introduces the 6-DOF AUV model, including coordinate system transformation, the kinematics model, the reaction torque model, and the dynamics model. Section 3 introduces the design of double loop integral sliding mode control and proves its stability. Section 4 is the simulation results. Section 5 is the summary of the article.

2. 6-DoF AUV Model

In this section, the six degrees of freedom AUV model is introduced in details. There are four main parts in this section, including the Coordinate system, Kinematic model, Reaction torque, and Dynamic model.

2.1. Coordinate System

Considering the multiple effects of gravity and hydro-dynamic force in underwater environments, the coordinate system for the 6-DOF AUV is described in Figure 2. E x y z denotes the Inertial frame and O u v w denotes the Body-fixed frame. Where η = [ x , y , z , ϕ , θ , ψ ] T denotes the position and attitude vector of the AUV in the inertial frame and υ = [ u , v , w , p , q , r ] T denotes the linear and angular velocities vector of the AUV in the body-fixed frame. In Figure 2, x, y and z denote surge, sway, and heave displacement in the inertial frame; ϕ , θ , and ψ denote the roll, pitch, and yaw angle in the inertial frame, respectively; u, v, and w denote the surge, sway, and heave velocities in the body-fixed frame, respectively; and p, q, and r denote the roll, pitch, and yaw velocities in the body-fixed frame respectively.
The relationship between the inertial frame and body-fixed frame has been described in [31]. Hence, we introduce the relationship between the AUV’s lineal acceleration and the inertial frame AUV’s position. As shown in Figure 3, there are three basic rotation modes between the body-fixed frame and the inertial frame. Under the premise of the lineal acceleration vector of the AUV relative to the earth represented in the body-fixed coordinate system, we can compute the lineal acceleration vector in the earth-fixed coordinate system by ϕ , θ , and ψ . In the simulation section, we use the rotation transformation matrix R to get the error value between the expected speed and actual speed. The rotation transformation matrix R can be expressed as:
R = cos ψ cos θ cos ψ sin θ sin ϕ sin ψ cos ϕ cos ψ sin θ sin ϕ + sin ψ cos ϕ sin ψ cos θ sin ψ sin θ sin ϕ + cos ψ cos ϕ sin ψ sin θ sin ϕ cos ψ cos ϕ sin θ cos θ cos ϕ cos θ cos ϕ

2.2. Kinematics Model

The kinematics equation of 6-DOF AUV can be expressed as
η ˙ = J ( η ) υ
where J ( η ) is the Jacobian transformation matrix, which is defined as:
J ( η ) = J 1 ( η 1 ) 0 3 × 3 0 3 × 3 J 2 ( η 2 )
J 1 ( η 1 ) = cos ψ cos θ cos ψ sin θ sin ϕ sin ψ cos ϕ cos ψ sin θ sin ϕ + sin ψ cos ϕ sin ψ cos θ sin ψ sin θ sin ϕ + cos ψ cos ϕ sin ψ sin θ sin ϕ cos ψ cos ϕ sin θ cos θ cos ϕ cos θ cos ϕ
J 2 ( η 2 ) = 1 tan θ sin ϕ tan θ 0 cos ϕ sin ϕ 0 sin ϕ / cos θ cos ϕ / cos θ
The kinematic model of AUVs is widely established [6,7,32,33]. Equation (6) is the kinematic model of the complete six-degree-of-freedom AUV, which shows the relationship between linear and angular velocities in the internal frame and the body-fixed frame.
x ˙ = u cos ψ cos θ + v ( sin ψ cos ϕ + cos ψ sin θ sin ϕ ) + w ( sin ψ sin ϕ + cos ψ sin θ cos ϕ ) y ˙ = u sin ψ cos θ + v ( cos ψ cos ϕ + sin ψ sin θ sin ϕ ) + w ( cos ψ sin ϕ + sin ψ sin θ cos ϕ ) z ˙ = u sin θ + v cos θ sin ϕ + w cos θ cos ϕ ϕ ˙ = p + q sin ϕ tan θ + r cos ϕ tan θ θ ˙ = q cos ϕ r sin ϕ ψ ˙ = ( q sin ϕ + r cos ϕ ) / cos θ

2.3. Reaction Torque

As we know, when the propulsion propeller of AUV rotates to generate thrust, it will also generate obvious reaction torque. Figure 4 shows the effect of reaction torque during AUV motion from a rear-view perspective. The AUV has a total of seven thrusters, where four thrusters on the flanks and two thrusters on the sides are symmetrically distributed. It is assumed that the reaction torque generated by these six thrusters can cancel each other when the AUV is moving, so only the reaction torque generated by the main thruster will affect the attitude of 6-DOF AUV and cause the AUV to roll sideways.
Since the reaction torque has a great impact on the roll angle of the 6-DOF AUV, the formulation of propeller thrust and reaction torque can be defined as
F = K T ρ ϖ 2 F Q = K Q ρ ϖ 2
where F is the thrust force, F Q is the reaction torque, ρ is density, ϖ is the rotor radius, K T is the propeller thrust coefficient, and K Q is the propeller reaction torque coefficient. Therefore, the relationship between F and F Q can be obtained as
F Q = K Q K T F

2.4. Dynamic Model

Regarding the dynamics model of AUVs is common in the control field and can be found in the literature [6,7,32,33]. The dynamic equation of 6-DOF AUV in the body-fixed frame can be expressed as
M υ ˙ + C ( υ ) υ + D ( υ ) υ + G ( η ) = T υ + T d + T f
where M R 6 × 6 is the inertia matrix including the added mass, C ( υ ) R 6 × 6 is the matrix of the Coriolis and centripetal forces, D ( υ ) R 6 × 6 is the matrix of the hydrodynamic damping terms, G ( η ) R 6 × 6 is the vector of restoring forces (gravity and buoyancy), T υ is the vector of the control forces and moments, T d is the vector of the time-varying external disturbances, and T f is the vector of the reaction torque.
The formulation of the dynamic model is
m 0 u ˙ + m 0 [ z G ( q ˙ + r p ) + 2 ( w q v r ) ] + ( d t 1 | u | + d t 2 ) u = τ u + τ u d m 0 v ˙ + m 0 [ z G ( p ˙ + r q ) + 2 ( u r w p ) ] + ( d t 1 | v | + d t 2 ) v = τ v + τ v d m 0 u ˙ + m 0 [ z G ( p 2 q 2 ) + 2 ( v p u q ) ] + ( d t 1 | w | + d t 2 ) w = τ w + τ w d I x x p ˙ + m 0 z G ( v ˙ u r + p w ) + I r q I q r + ( d 1 | p | + d 2 ) p + z G m 0 g cos θ sin ϕ = ( 1 + K Q K T ) τ p + τ p d I y y p ˙ + m 0 z G ( u ˙ r v + q w ) + I r p I p r + ( d 1 | q | + d 2 ) q + z G m 0 g sin θ = τ q + τ q d I z z p ˙ + I q p I p q + ( d 1 | r | + d 2 ) r = τ r + τ r d
Equation (10) represents the matrix expression in Equation (9) through the traditional mathematical expression, which is derived from the analysis and modeling of the specific underwater stress of the AUV.
Furthermore, considering that wind and wave disturbances are bounded in most cases, the following assumptions are given:
Assumption 1. 
The system model estimation error and time-varying external disturbances are bounded, i.e., m a x ( | T d | ) < T M , where T M is the upper bound of external interference.
Assumption 2. 
There is a bound of reaction torque error in the system model, i.e., m a x ( | T f | ) < T f M , where T f M is the upper bound of reaction torque.

3. Controller Design

ISMC [26] has been widely used in various fields, such as motor control, robot control, and so on. Compared with ordinary sliding mode control, integral sliding mode control has a faster response speed and stronger anti-interference ability, ensuring the robustness and accuracy of the controller [34,35]. This paper proposed a new DLISMC controller for a newly defined AUV model.
As seen in Figure 5, the inner loop and outer loop denote speed loop control and position loop control, respectively. The applied position loop controller combines the traditional ISMC method and the AUV’s kinematics model to achieve accurate position and attitude tracking by inputting the desired position and feedback current position information. Afterwards, the position loop controller generates the virtual control input as the reference speed, which is used as the input of next speed loop. The applied speed loop controller is similar to the previous position loop derived from the traditional ISMC and AUV’s dynamic model, and then introduces disturbances including time-varying ocean disturbances and counter torque disturbances. The whole DLISMC controller generates ideal thrust for each degree of freedom. The investigated 6-DOF AUV gets the real-time speed feedback after the thrust starts to work, so as to achieve accurate tracking of the reference speed. A detailed design for the DLISMC controller will be introduced in the following section.

3.1. Position Loop Controller Design

Due to similarity between ϕ , θ , and ψ , we take the angle ϕ as an example to express in the following section. ϕ e is defined as the error between the expected angle ϕ d and current angle ϕ , which can be expressed as ϕ e = ϕ ϕ d and ϕ e ˙ = ϕ ˙ ϕ d ˙ .
In order to minimize the buffet phenomenon caused by the sliding mode control, a saturation function is used to design the convergence rate. The sliding surface S ϕ is designed as
S ϕ = α 1 ϕ ϕ e + h ϕ h ˙ ϕ = α 2 ϕ ϕ e , h ϕ 0 = α 1 ϕ ϕ e 0
Then, we can obtain the derivation of S ϕ and we define S ϕ ˙ = ε ϕ s a t ( S ϕ ) , ε ϕ > 0 as the approach rate of S ϕ derivative, so there is the following such equation:
ε ϕ sat ( S ϕ ) = α 1 ϕ ( ϕ ˙ ϕ ˙ d ) + α 2 ϕ ϕ e
where s a t ( s ) denotes the saturation function, which can be expressed as
sat ( s ) = 1 , s > 1 s , | s | 0 1 , s < 1
So far, we bring the parameter ϕ of Equation (6) into Equation (12). The virtual reference speed p d can be obtained as follows:
p d = ε ϕ s a t S ϕ α 2 ϕ ( ϕ ϕ d ) α 1 ϕ q d sin ϕ tan θ r d cos ϕ tan θ + ϕ ˙ d
In the same way, we can obtain other virtual reference speeds:
u d = α 2 x x x d ε x s a t S x α 1 x cos ψ cos θ v d sin ψ cos ϕ + cos ψ sin θ sin ϕ cos ψ cos θ w d sin ψ s i n θ + cos ψ sin θ cos ϕ x ˙ d cos ψ cos θ
v d = α 2 y y y d + ε y s a t S y α 1 y ( cos ψ cos ϕ + sin ψ sin θ sin ϕ ) u d sin ψ cos θ + w d cos ψ sin ϕ + sin ψ sin θ cos ϕ y ˙ d ( cos ψ cos ϕ + sin ψ sin θ sin ϕ )
w d = ε z s a t S z + α 2 z z z d α 1 z cos θ cos ϕ u d sin θ + v d cos θ sin ϕ z ˙ d cos θ cos ϕ
q d = ε θ s a t S θ + α 2 θ ϕ ϕ d α 1 θ cos ϕ + r d tan ϕ + θ ˙ d cos ϕ
r d = cos θ ε ψ s a t S ψ + α 2 ψ ψ ψ d α 1 ψ cos ϕ + cos θ cos ϕ ψ ˙ d q d sin ϕ cos θ

3.2. Velocity Loop Controller Design

Due to similarity between p, q and r, we take the speed p as an example to express.
In this section, p e is defined as the error between virtual reference speed p d and current speed p, the tracking error of can be expressed as p e = p p d and p e ˙ = p ˙ p d ˙ .
Then, we can design the sliding surface of p as:
S p = α 1 p p e + h p h ˙ p = α 2 p p e , h p 0 = α 1 p p e 0
Similarly, we perform the derivation of S p , where we take S p ˙ = ε p s a t ( S p ) , ε p > 0 as the approach rate of the S p derivative, hence we can get the following equation:
ε p sat ( S p ) = α 1 p ( p ˙ p ˙ d ) + α 2 p p e
In addition, we bring the parameter of Equation (10) into Equation (21). The ideal thrust τ p can be obtained from Equation (22).
τ p = I x x ε p s a t S p + α 2 p p p d α 1 p + m 0 z G v ˙ u r + p w + p d 1 p + d 2 + I r q I q r + z G m 0 g cos θ sin ϕ + I x x p ˙ d
In the same way, we can obtain the ideal thrust of other degrees of freedom:
τ u = m 0 ε u s a t S u α 1 u + m 0 z G q ˙ + r p + 2 w q v r + u d t 1 u + d t 2 + m 0 u ˙ d m 0 α 2 u α 1 u u u d
τ v = m 0 ε v s a t S v α 1 v + m 0 z G p ˙ + r q + 2 u r ω p + v d t 1 v + d t 2 + m 0 v ˙ d m 0 α 2 v α 1 v v v d
τ w = m 0 ε w s a t S w α 1 w + m 0 z G p 2 q 2 + 2 v p u q + w d t 1 w + d t 2 + m 0 w ˙ d m 0 α 2 w α 1 w w w d
τ q = I y y ε q s a t S q + α 2 q q q d α 1 q + m 0 z G u ˙ r v + q w + q d 1 q + d 2 I r p + I p r + z G m 0 g sin θ + I y y q ˙ d
τ r = I z z ε r s a t S r + α 2 r r r d α 1 r + I z z r ˙ d + I q p I p q r d 1 r + d 2

3.3. Stability Analysis

When the whole control system uses Equations (22)–(27) as input for position and attitude control and satisfies Assumption 1, the tracking error of the 6-DoF AUV converges to zero. The stability of the position loop and the speed loop is demonstrated below.
Herein, we take the speed loop as an example. Select the following Lyapunov function:
V 1 = 1 2 S p 2
Deriving V 1 , Equations (10), (20) and (22) are substituted into S ˙ p :
V ˙ 1 = S ˙ p S p = S p [ α 1 p ( p ˙ p ˙ d ) + α 2 p ( p p d ) ] = S p { α 1 p [ ( 1 + K Q K T ) τ p + τ p d m 0 z G ( v ˙ u r + p w ) I X X I r q + I q r p ( d 1 p + d 2 ) z G m 0 g cos θ sin ϕ I x x P ˙ d ] + α 2 p ( u u d ) } = S p { α 1 p [ K Q K T τ p + τ p d I x x ε p sat ( S p ) + α 2 p ( p p d ) α 1 p ] + α 2 p ( p p d ) } S p α 1 p T M + T f M I x x ε p α 1 p S p S p α 1 p ( T M + T f M I x x ε p )
Since the famous Lyapunov theory ε p needs to meet the following conditions, and the sliding surface S p mentioned in Equation (20) will converge to zero.
ε p > I x x 1 ( T M + T f M )
Remark 1. 
I x x is the nonzero moment of inertia of the 6-DoF AUV. The coefficient α 1 p is also nonzero constant. Therefore, ε p exists and is a bounded positive constant.
Therefore, the designed virtual control input Equation (22) can guarantee that the 6-DOF AUV can achieve stability in the velocity loop. The position loop ϕ selects the following Lyapunov function:
V 2 = 1 2 S ϕ 2
Deriving V 2 , Equations (6), (11), and (14) are substituted into S ˙ ϕ :
V ˙ 2 = S ˙ ϕ S ϕ = S ϕ [ α 1 ϕ ( ϕ ˙ ϕ ˙ d ) + α 2 ϕ ( ϕ ϕ d ) ] = S ϕ { α 1 ϕ ( p + q sin ϕ tan θ + r cos ϕ tan θ ϕ ˙ d ) + α 2 ϕ ( ϕ ϕ d ) } = S ϕ { α 1 ϕ ( ε ϕ s a t S ϕ α 2 ϕ ( ϕ ϕ d ) α 1 ϕ q sin ϕ tan θ r cos ϕ tan θ + ϕ ˙ d + q sin ϕ tan θ + r cos ϕ tan θ ϕ ˙ d ) + α 2 ϕ ( ϕ ϕ d ) } = S ϕ ε ϕ s a t S ϕ ε ϕ S ϕ
Finally, it can be deduced from Equation (32) that V ˙ 2 0 is established. Therefore, the virtual reference speed designed in Equation (14) can ensure that the AUV can track the designed path curve and achieve stability in the position loop. The speed loop and position loop have both reached stability, thereby proving the stability of the entire system.

4. Simulation

4.1. Simulation Step

In this section, the verification of the sliding mode position and attitude control method based on double-loop integration is introduced. The MATLAB Simulink platform is used to for numerical verification, as shown in Figure 6. In order to better represent the performance advantages of the DLISMC method, we compare it with the PID control method and DLPID control method. The traditional PID method directly takes the position and angle errors of the AUV as an input, and obtains the thrust output of the AUV through proportion, integration, and differentiation. The DLPID method is similar to the DLISMC, which can be divided into speed loop control and position loop control. The controller of each loop is composed of traditional PID controllers.
The parameters of the 6-DoF AUV model in [24] are also adopted in this paper, and the saturation limit of the 6 propellers is set to ±200 N.
Without losing generality, time-varying external interference with different amplitudes and periods is introduced:
τ u d = 10 sin ( 0.6 t ) τ v d = 9 sin ( 0.5 t ) τ w d = 3 sin ( 0.4 t ) τ p d = 4 sin ( 0.45 t ) τ q d = 2 sin ( 0.3 t ) τ r d = 6 sin ( 0.1 t )
The propeller thrust coefficient K T and the propeller reaction torque coefficient K Q in the reverse torque model are set according to [24].
In order to verify the feasibility of the proposed control method, two kinds of trajectory-tracking situations are realized. One is the three-dimensional plane cosine trajectory, and the other is the space spiral expected trajectory.
The initial conditions of the vehicle are set as x ( 0 ) = 10   m , y ( 0 ) = 5   m , z ( 0 ) = 10   m , ϕ ( 0 ) = 0.1   rad , θ ( 0 ) = 0   rad , ψ ( 0 ) = 0.1   rad , u ( 0 ) = v ( 0 ) = w ( 0 ) = 0   m / s , p ( 0 ) = q ( 0 ) = r ( 0 ) = 0   rad / s . The dynamic model parameters of the AUV in the simulation are set according to [25]. The method of the parameter selection for the controller refers to [36,37]. By using the control variable method, the influence of different parameters on different errors is analyzed. After multiple parameter adjustments, the control parameters that meet the experimental requirements are selected. Table 2 gives the parameters of the proposed controller in detail.

4.2. Simulation Results in Scene 1

In Scene 1, the 6-DoF AUV is commanded to track the 3-dimensional plane cosine trajectory for 100 s to test the tracking effect of the AUV controlled by the controller under common conditions. The desired trajectory in the inertial-frame is described as
x d ( t ) = 10 sin ( 0.025 π t ) y d ( t ) = 10 cos ( 0.025 π t ) z d ( t ) = 0.25 t + 1 ϕ d ( t ) = 0 θ d ( t ) = arctan ( 1 π ) ψ d ( t ) = 0.025 π t
The derived curves for two control schemes are shown in Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11. Figure 12 shows the control input for AUV and Figure 13 gives the curve of reaction torque.

4.3. Simulation Results in Scene 2

In Scene 2, the AUV is commanded to track the space spiral expected trajectory for 100 s to test whether the controller can drive the AUV well when the AUV meets complex motion requirements. The desired trajectory in the inertial frame can be described as
x d ( t ) = 0.25 t y d ( t ) = 10 sin ( 0.025 π t ) z d ( t ) = 0 ϕ d ( t ) = 0 θ d ( t ) = 0 ψ d ( t ) = cos ( 0.025 π t )
The derived curves for two control schemes are shown in Figure 14, Figure 15, Figure 16, Figure 17 and Figure 18.

4.4. Discussions

Figure 7 demonstrates the 3D plots of the AUV tracking the cosine curve under different control methods. From these results, it can be seen that the DLISMC algorithm tracks the desired trajectory earlier than the PID or DLPID. Figure 8 and Figure 9 show the positional and angular errors of the AUV during tracking. In terms of position error, there is not much difference between the two methods in x and y directions from these results. In terms of the convergence time in the x and y directions, the proposed DLISMC is 16% and 23% faster than the DLPID algorithm, and 70% and 72% faster than the PID algorithm, but all of them eventually ensure that the errors are within a certain range. In terms of convergence time in the z direction, the DLISMC is 0.1% faster than the PID and it is clear that the DLISMC is 74% faster than the DLPID, and that the error saturation of the DLISMC is smaller than that of the DLPID algorithm. This is due to the integral term of the PID controller. Figure 10 and Figure 11 show the linear velocity error and angular velocity error of the AUV during tracking, respectively. In terms of angular velocity error, both control methods start with a significant buffer, which is related to the initial position of the AUV, indicating that the AUV is adjusting the attitude of the angle-tracking profile. Figure 12 shows the control input for AUV and Figure 13 gives the curve of reaction torque.
Figure 14 represents a three-dimensional view of the AUV-tracking spiral curve under different control methods. It is obvious from these results that, after a period of time, the controllers designed by the two methods can track the desired trajectory well. Figure 15 and Figure 16 represent the position error and angle error of the AUV during path tracking. It can be seen that the curves of the DLISMC and DLPID are stable and the error is within a certain range, which means that the whole position loop is convergent and stable. Moreover, the curve of the DLISMC fluctuates less than that of DLPID. In addition, the DLISMC converges 35%, 68%, and 62% faster than the DLPID and 50%, 60%, and 27% in the x, y, and z directions, respectively. The large amplitude of the DLPID in these results is caused by the integral term of the original PID method. Figure 17 and Figure 18 display the linear velocity error and angular velocity error of the AUV during trajectory tracking. It is obvious that results of the DLPID curve and DLISMC curve are stable at zero, which means that the entire speed loop is stable. Figure 19 and Figure 20 give the control input of AUV’s thrust and reaction torque moments, respectively. From these results, it can be seen that the thrusts during tracking are all within the +/−200 N limit, and the curve of the thrusts changes smoothly. The variation of reaction torque is also consistent with the above model, and the DLISMC controller can stably control the AUV for tracking even with reaction torque disturbances. In the presence of interference, the performance of the DLPID is significantly lower than that of the DLISMC, which has stronger anti-interference stability. Under the influence of reaction torque, the DLPID algorithm is unstable in the roll angle and roll speed, and cannot stabilize the attitude of the AUV. These results verify that the proposed DLISMC algorithm can overcome these problems perfectly.

5. Conclusions

In this paper, a six-degree-of-freedom AUV path-tracking control method DLISMC algorithm is investigated. The effect of reaction torque on the AUV attitude during path tracking is considered, and a reaction torque model is introduced to statically compensate the attitude control of the AUV, so as to effectively improve the stability of the AUV’s attitude. The stability condition of the DLISMC controller is obtained by utilizing the Lyapunov function. Simulation results verify the effectiveness and better robustness of the proposed method. In the future work, we will introduce the adaptive rate to solve the parameter complexity problem and design new convergence rate to improve the sliding mode jitter phenomenon as well as introducing an event-driven mechanism to reduce the updating of the AUV control signals.

Author Contributions

Conceptualization, Z.L.; Methodology, Y.J., W.C. and Z.L.; Validation, Y.J.; Formal analysis, M.Z.; Investigation, W.C.; Resources, M.Z.; Writing—original draft, Y.J.; Writing—review & editing, Z.L.; Project administration, W.C.; Funding acquisition, M.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research has been partially supported by the National Natural Science Foundation of China (Nos. 62271179 and 61871163), the Natural Science Foundation of Zhejiang Province (Nos. LZ22F010004 and LZJWY22E090001), the Key Laboratory of Near Ground Detection Technology Fund Project (6142414220105), and the General Research Projects of Zhejiang Provincial Department of Education (Y202352281).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yu-Ru, X.U.; Yong-Jie, P.; Yong, G.; Yu-Shan, S. AUV—State-of-the-art and prospect. Caai Trans. Intell. Syst. 2006, 1, 9–16. [Google Scholar]
  2. Huang, Y.; Li, Y.; Yu, J.; Li, S.; Feng, X. State-of-the-Art and Development Trends of AUV Intelligence. Robot 2020, 42, 215–231. [Google Scholar] [CrossRef]
  3. Yuru Xu, P.L. Developing Tendency of Unmanned Underwater Vehicles. Chin. J. Nat. 2011, 33, 125–132. [Google Scholar]
  4. Yuh, J. Design and Control of Autonomous Underwater Robots: A Survey. Auton. Robot. 2000, 8, 7–24. [Google Scholar] [CrossRef]
  5. Gao, H.G.J. Trajectory tracking of fully actuated AUV based on TLC method. Shanghai Jiaotong Daxue Xuebao/J. Shanghai Jiaotong Univ. 2011, 45, 184–189. [Google Scholar] [CrossRef]
  6. Qiao, J.X.W. Backstepping-based controller for three-dimensional trajectory tracking of underactuated unmanned underwater vehicles. Control Theory Appl. 2014, 31, 1589–1596. [Google Scholar] [CrossRef]
  7. Sun, Y.; Zhang, C.; Xu, H.; Zhang, G.; Wang, Y. Three-Dimensional Path Tracking Control of the Underactuated AUV Based on Backstepping Sliding Mode. In Proceedings of the 2019 4th Asia-Pacific Conference on Intelligent Robot Systems (ACIRS), Nagoya, Japan, 13–15 July 2019; pp. 95–103. [Google Scholar] [CrossRef]
  8. Jalving, B. The NDRE-AUV flight control system. IEEE J. Ocean. Eng. 1994, 19, 497–501. [Google Scholar] [CrossRef]
  9. Herman, P. Decoupled PD set-point controller for underwater vehicles. Ocean Eng. 2009, 36, 529–534. [Google Scholar] [CrossRef]
  10. Cao, F.B.W.Z. Position-tracking control of underactuated autonomous underwater vehicles in the presence of unknown ocean currents. IET Control Theory Appl. 2010, 4, 2369–2380. [Google Scholar] [CrossRef]
  11. Do, K. Coordination control of underactuated ODINs in three-dimensional space. Robot. Auton. Syst. 2013, 61, 853–867. [Google Scholar] [CrossRef]
  12. Yan, Y.; Yu, S. Sliding mode tracking control of autonomous underwater vehicles with the effect of quantization. Ocean Eng. 2018, 151, 322–328. [Google Scholar] [CrossRef]
  13. Patre, B.M.; Londhe, P.S.; Waghmare, L.M.; Mohan, S. Disturbance estimator based non-singular fast fuzzy terminal sliding mode control of an autonomous underwater vehicle. Ocean Eng. 2018, 159, 372–387. [Google Scholar] [CrossRef]
  14. Antonelli, G.; Chiaverini, S.; Sarkar, N.; West, M. Adaptive control of an autonomous underwater vehicle: Experimental results on ODIN. In Proceedings of the 1999 IEEE International Symposium on Computational Intelligence in Robotics and Automation, CIRA’99 (Cat. No.99EX375), Monterey, CA, USA, 6–9 November 1999; pp. 64–69. [Google Scholar] [CrossRef]
  15. Li, J.H.; Lee, P.M. Design of an adaptive nonlinear controller for depth control of an autonomous underwater vehicle. Ocean Eng. 2005, 32, 2165–2181. [Google Scholar] [CrossRef]
  16. Guo, J.; Chiu, F.C.; Huang, C.C. Design of a sliding mode fuzzy controller for the guidance and control of an autonomous underwater vehicle. Ocean Eng. 2003, 30, 2137–2155. [Google Scholar] [CrossRef]
  17. Bessa, W.M.; Dutra, M.S.; Kreuzer, E. An adaptive fuzzy sliding mode controller for remotely operated underwater vehicles. Robot. Auton. Syst. 2010, 58, 16–26. [Google Scholar] [CrossRef]
  18. Li, J.H.; Lee, P.M. A neural network adaptive controller design for free-pitch-angle diving behavior of an autonomous underwater vehicle. Robot. Auton. Syst. 2005, 52, 132–147. [Google Scholar] [CrossRef]
  19. Li, J.-H.; Lee, P.-M.; Hong, S.W.; Lee, S.J. Stable nonlinear adaptive controller for an autonomous underwater vehicle using neural networks. Int. J. Syst. Sci. 2007, 38, 327–337. [Google Scholar] [CrossRef]
  20. Zhang, W.; Chen, X.; Zhang, Y. Research on Path Tracking of Double Closed-loop Integral Sliding Mode Control Based on UUV Under Driven System. In Proceedings of the 33rd Chinese Control and Decision Conference (CCDC), Kunming, China, 22–24 May 2021; pp. 4378–4383. [Google Scholar] [CrossRef]
  21. Li, X.; Liu, Y. A new fuzzy SMC control approach to path tracking of autonomous underwater vehicles with mismatched disturbances. In Proceedings of the OCEANS 2022, Chennai, India, 21–24 February 2022; pp. 1–5. [Google Scholar] [CrossRef]
  22. Qiao, L.; Zhang, W. Trajectory Tracking Control of AUVs via Adaptive Fast Nonsingular Integral Terminal Sliding Mode Control. IEEE Trans. Ind. Inform. 2020, 16, 1248–1258. [Google Scholar] [CrossRef]
  23. Qiao, L.; Zhang, W. Adaptive non-singular integral terminal sliding mode tracking control for autonomous underwater vehicles. IET Control Theory Appl. 2017, 11, 1293–1306. [Google Scholar] [CrossRef]
  24. Liu, Z.; Cai, W.; Zhang, M.; Lv, S. Improved integral sliding mode control-based attitude control design and experiment for high maneuverable AUV. J. Mar. Sci. Eng. 2022, 10, 795. [Google Scholar] [CrossRef]
  25. Qiao, L.; Zhang, W. Double-Loop Integral Terminal Sliding Mode Tracking Control for UUVs With Adaptive Dynamic Compensation of Uncertainties and Disturbances. IEEE J. Ocean. Eng. 2019, 44, 29–53. [Google Scholar] [CrossRef]
  26. Utkin, V.; Shi, J. Integral sliding mode in systems operating under uncertainty conditions. In Proceedings of the of 35th IEEE Conference on Decision and Control, Kobe, Japan, 11–13 December 1996; Volume 4, pp. 4591–4596. [Google Scholar] [CrossRef]
  27. Zheng, J.; Yu, W. Robust Adatpive Sliding Mode Tracking Control for an AUV. In Proceedings of the China Automation Congress (CAC), Shanghai, China, 7–8 November 2021; pp. 5658–5661. [Google Scholar] [CrossRef]
  28. Li, W.; Lai, X.; Du, S.; Lu, C.; Wang, Y.; Chen, Z.; Wu, M. A Trajectory Tracking Method using Dynamic Sliding Mode Control with Parameter Optimization for Autonomous Underwater Vehicles. In Proceedings of the IEEE 6th International Conference on Industrial Cyber-Physical Systems (ICPS), Wuhan, China, 8–11 May 2023; pp. 1–6. [Google Scholar] [CrossRef]
  29. Li, J.; Li, S. Underactuated Autonomous Underwater Vehicle Trajectory Tracking Control in Three Dimensions Based on Fractional Order Sliding Mode. In Proceedings of the IEEE International Conference on Mechatronics and Automation (ICMA), Harbin, China, 6–9 August 2023; pp. 1340–1345. [Google Scholar] [CrossRef]
  30. Desai, R.P.; Manjarekar, N.S. Yaw channel control of an autonomous underwater vehicle using sliding mode control based on an extended state observer. In Proceedings of the OCEANS 2022, Chennai, India, 21–24 February 2022; pp. 1–8. [Google Scholar] [CrossRef]
  31. Ridao, P.; Batlle, J.; Carreras, M. Dynamics Model of an Underwater Robotic Vehicle; University of Girona: Girona, Spain, 2002. [Google Scholar]
  32. Miao, J.; Wang, S.; Zhao, Z.; Li, Y.; Tomovic, M.M. Spatial curvilinear path following control of underactuated AUV with multiple uncertainties. ISA Trans. 2017, 67, 107–130. [Google Scholar] [CrossRef] [PubMed]
  33. Al Makdah, A.A.R.; Daher, N.; Asmar, D.; Shammas, E. Three-dimensional trajectory tracking of a hybrid autonomous underwater vehicle in the presence of underwater current. Ocean Eng. 2019, 185, 115–132. [Google Scholar] [CrossRef]
  34. Ren, P. Sliding Mode Tracking Control of Underactuated Surface Vessels. In Proceedings of the ASME 2005 International Mechanical Engineering Congress and Exposition, Orlando, FL, USA, 5–11 November 2005. [Google Scholar]
  35. McNinch, L.C.; Ashrafiuon, H.; Muske, K.R. Optimal specification of sliding mode control parameters for unmanned surface vessel systems. In Proceedings of the American Control Conference, St. Louis, MI, USA, 10–12 June 2009; pp. 2350–2355. [Google Scholar] [CrossRef]
  36. Guerrero, J.; Torres, J.; Creuze, V.; Chemori, A. Adaptive disturbance observer for trajectory tracking control of underwater vehicles. Ocean Eng. 2020, 200, 107080. [Google Scholar] [CrossRef]
  37. Herman, P. Numerical Test of Several Controllers for Underactuated Underwater Vehicles. Appl. Sci. 2020, 10, 8292. [Google Scholar] [CrossRef]
Figure 1. The effect of reaction torque for an AUV. (a) Description of the attitude of the AUV as it begins to move under the thrust of the main thruster. (b) Description of the change in attitude of the AUV after moving under the thrust of the main thruster for a period of time.
Figure 1. The effect of reaction torque for an AUV. (a) Description of the attitude of the AUV as it begins to move under the thrust of the main thruster. (b) Description of the change in attitude of the AUV after moving under the thrust of the main thruster for a period of time.
Jmse 12 00404 g001
Figure 2. The inertial and body-fixed frames of 6-DOF AUV.
Figure 2. The inertial and body-fixed frames of 6-DOF AUV.
Jmse 12 00404 g002
Figure 3. Coordinate system conversion diagram.
Figure 3. Coordinate system conversion diagram.
Jmse 12 00404 g003
Figure 4. Reaction torque effect.
Figure 4. Reaction torque effect.
Jmse 12 00404 g004
Figure 5. Principle of DLISMC controller.
Figure 5. Principle of DLISMC controller.
Jmse 12 00404 g005
Figure 6. The inertial and body-fixed frames of the AUV.
Figure 6. The inertial and body-fixed frames of the AUV.
Jmse 12 00404 g006
Figure 7. AUV Tracking trajectory in Scene 1.
Figure 7. AUV Tracking trajectory in Scene 1.
Jmse 12 00404 g007
Figure 8. Position tracking error in inertial frame.
Figure 8. Position tracking error in inertial frame.
Jmse 12 00404 g008
Figure 9. Attitude tracking error in inertial frame.
Figure 9. Attitude tracking error in inertial frame.
Jmse 12 00404 g009
Figure 10. Linear velocity tracking error in body-fixed frame.
Figure 10. Linear velocity tracking error in body-fixed frame.
Jmse 12 00404 g010
Figure 11. Angular velocity tracking error in body-fixed frame.
Figure 11. Angular velocity tracking error in body-fixed frame.
Jmse 12 00404 g011
Figure 12. Control input for AUV.
Figure 12. Control input for AUV.
Jmse 12 00404 g012
Figure 13. Reaction torque.
Figure 13. Reaction torque.
Jmse 12 00404 g013
Figure 14. AUV Tracking trajectory in Scene 2.
Figure 14. AUV Tracking trajectory in Scene 2.
Jmse 12 00404 g014
Figure 15. Position tracking error in inertial frame.
Figure 15. Position tracking error in inertial frame.
Jmse 12 00404 g015
Figure 16. Attitude tracking error in inertial frame.
Figure 16. Attitude tracking error in inertial frame.
Jmse 12 00404 g016
Figure 17. Linear velocity tracking error in body-fixed frame.
Figure 17. Linear velocity tracking error in body-fixed frame.
Jmse 12 00404 g017
Figure 18. Angular velocity tracking error in body-fixed frame.
Figure 18. Angular velocity tracking error in body-fixed frame.
Jmse 12 00404 g018
Figure 19. Control input for AUV.
Figure 19. Control input for AUV.
Jmse 12 00404 g019
Figure 20. Reaction torque.
Figure 20. Reaction torque.
Jmse 12 00404 g020
Table 1. SMC-related works.
Table 1. SMC-related works.
Directions for ImprovementDegrees of FreedomReferences
Sliding mode control3/5/6[13,20,21,22,23,24,25]
Chattering effects3/5/6[16,17,20,21]
Integration with other methods3/5/6[12,13,16,17,21,23,26,27]
Table 2. Controller Parameters.
Table 2. Controller Parameters.
MethodController Parameters
PID P x = 435 , I x = 100 , D x = 10 , P y = 1000 , D y = 10 , P z = 1000
P ϕ = 10 , 000 , P θ = 10 , 000 , P ψ = 10 , 000
DLPID P x = 800 , P y = 800 , P z = 50 , I z = 1 , P ϕ = 200 , I ϕ = 10 , D ϕ = 10 , P θ = 100 , I θ = 10 , P ψ = 130 , I ψ = 10
P u = 3 , I u = 0.005 , P v = 800 , I v = 1 , P w = 50 , I w = 5 , P p = 5 , I p = 10 , D p = 2 , P q = 500 , I q = 10 , P r = 20 , I r = 10
DLISMC α x 1 = α y 1 = 0.00001 , α x 2 = α y 2 = α z 2 = 100 , 000 , α z 1 = 0.0001 , α ϕ 1 = α θ 1 = 0.01 , α ϕ 2 = α θ 2 = 5 , α ψ 1 = 0.0099 , α ψ 2 = 1.2
α u 1 = α v 1 = α w 1 = 0.001 , α u 2 = α v 2 = α w 2 = α q 1 = α q 2 = 1 , α p 1 = 0.01 , α p 2 = 0.5 , α r 1 = 0.099 , α r 2 = 3
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

Ju, Y.; Cai, W.; Liu, Z.; Zhang, M. Dual-Loop Integral Sliding Mode Control-Based Path Tracking with Reaction Torque for Autonomous Underwater Vehicle. J. Mar. Sci. Eng. 2024, 12, 404. https://doi.org/10.3390/jmse12030404

AMA Style

Ju Y, Cai W, Liu Z, Zhang M. Dual-Loop Integral Sliding Mode Control-Based Path Tracking with Reaction Torque for Autonomous Underwater Vehicle. Journal of Marine Science and Engineering. 2024; 12(3):404. https://doi.org/10.3390/jmse12030404

Chicago/Turabian Style

Ju, Yakang, Wenyu Cai, Ziqiang Liu, and Meiyan Zhang. 2024. "Dual-Loop Integral Sliding Mode Control-Based Path Tracking with Reaction Torque for Autonomous Underwater Vehicle" Journal of Marine Science and Engineering 12, no. 3: 404. https://doi.org/10.3390/jmse12030404

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