1. Introduction
AUV has been an active field of research and development in exploring unknown marine environments and carrying out different military missions [
1]. One of the critical bottlenecks in developing AUVs is the technology readiness level (TRL) in the motion control area. Motion control algorithm design for AUVs is a hard task for the following reasons: the finite force and moment, velocity and acceleration, inherent nonlinear dynamics, structural and nonstructural uncertainties, external disturbances, time-varying parameters, time-varying environment, shallow water effect, coupling between degrees of freedom (DOFs), and the limited number of actuators with respect to the DOFs (under actuator constraints) [
2]. Therefore, it is important to consider the above reasons when developing motion control algorithms for AUVs. In the actual operating environment of an AUV, there will inevitably be uncertain misalignment in thrusters due to manufacturing tolerances. Small misalignment has no significant impact on control performance. However, for attitude tracking, especially for fast-tracking of multi-thruster-driven AUV, thruster misalignment will cause significant attitude tracking errors [
3]. Moreover, the presence of influences such as incoming flow velocity and thruster motor friction will all cause uncertain thrust losses from the thruster, which will not achieve the desired thrust and will affect the dynamic performance of the vehicle [
4]. These problems of AUV control force and moment deviation caused by thruster uncertainty cannot be ignored in the design of the controller. Some research ideas have been proposed on controller design studies to cope with the actuator uncertainty problem. Yoon H [
5] proposed an adaptive control algorithm for attitude tracking in the case of uncertainty in actuator misalignment. The proposed adaptive law applies a smooth projection algorithm to keep the parameter estimation in the singular-free region, but had the defect of having too many estimated parameters. Qinglei Hu [
6] proposed an adaptive control law to solve the moment deviation caused by actuator misalignment. Xiao B [
7] proposed a VSC-based compensation scheme for actuator misalignment and faults, which drove attitude tracking errors and velocity tracking errors to zero in a limited time. Zhang J [
8] designed a new ESO based on SOSM technology and added a linear correction term to estimate the disturbance caused by actuator misalignment in a finite time, and then proposed an adaptive fast terminal sliding mode controller. Zhang F [
9] proposed a backstepping control method based on adaptive filtering for 6-DOF translation and attitude tracking control with actuator misalignment. All the above studies solved the problem of the uncertainty of installation deviation from the control level of the actuator or solved the control law of the carrier by solving the pseudo inverse of the control law of the actuator. In some studies, the method of disturbance observer is proposed for observation compensation, which provides research ideas for this paper.
Different research approaches have been proposed by some scholars to address the uncertainty of thrust loss. Dydek Z [
10] designed an augmented adaptive controller to reduce the impact of abnormal thrust loss while considering the impact of dead zones. Cao L et al. [
11] estimated the uncertainty of the actuator based on the observer, and designed a nonsingular terminal sliding mode controller by using this estimation and full-state measurement. Cao L et al. [
12] proposed an observer-based exponential elastic control method to achieve fast and highly accurate attitude tracking maneuvers. The thrust loss problem in the above studies is mainly the uncertainty caused by thruster damage or failure, which is different from the thrust loss caused by AUV navigation studied in this paper. Luca P [
13] proposed a thruster thrust estimation scheme consisting of a nonlinear thruster moment observer and a mapping of thrust generated from the observed moment, with the forward speed assumed to be unknown and obtained in experimental tests’ accurate results. TI Fossen [
14] used three kinds of state models of thruster speed, carrier forward velocity, and axial velocity to reconstruct axial velocity, and designed a nonlinear observer of thruster axial velocity to estimate thrust and moment loss. Kim S Y [
15] proposed a thrust loss suppression algorithm, which regarded the thrust loss caused by thruster cavitation as the disturbance moment. The disturbance moment is estimated by a disturbance observer. The thruster speed reference is corrected to suppress the thrust loss by considering the disturbance moment. Cecchi D [
16] considered the quasi-static equations of motion, deduced the relationship between forwarding velocity and thruster speed, realized the identification of the quasi-static thrust model of AUV, and designed a simple speed controller. Zhang L [
17] proposed an anti-windup intelligent integral method based on the S-surface control idea, which determined the adaptive weight by estimating the motion state of the underwater vehicle and processed the constantly changing propulsion loss. Finally, speed control, yaw control, and depth control experiments were carried out. The above studies put forward different solutions to the problem of thrust loss generated during navigation, but they are all aimed at the carrier with joint rudder-thruster control, which is different from the multi-thruster-driven carrier studied in this paper. The rest of this paper is organized as follows. In the second part, this paper establishes the kinematics and dynamics equations of AUV and establishes the thruster misalignment model and the thrust loss model. Then, this paper analyzes the influence of the two uncertainties on the control. In the third part, the observer is designed based on the tracking differentiator to estimate the disturbance force and moment in the presence of thruster misalignment, and the stability of the TD observer is also demonstrated. Considering the uncertainty of thrust loss, this paper designs a gain disturbance observer to estimate thrust loss, and then proves the stability of the gain observer. In the fourth part, the simulation experiment is carried out, which proves the effectiveness of the two disturbance observers and ensures the motion control effect in the presence of thruster misalignment and thrust loss. In the fifth part, a field test is carried out, which verifies the effectiveness of the controller.
The main contributions of this paper are as follows:
Firstly, this paper proposes a disturbance observer based on a tracking differentiator for AUV motion control with the uncertainty of thruster misalignment. The force and moment deviations are regarded as disturbances with the change of control force. A three-dimensional sliding mode motion controller is proposed based on the disturbance observer, and the stability of the controller and convergence of the TD disturbance observer is proved theoretically.
Secondly, this paper introduces the thruster dynamics model and proposes the gain disturbance observer to estimate the uncertainty of thruster thrust loss. Then, it theoretically proves the convergence of the gain disturbance observer.
2. Problem Statement
The influence of thruster misalignment and thrust loss on the motion control of AUV is particularly obvious in fully thruster-driven AUV carriers, as shown in
Figure 1. The horizontal actuators of the AUV are the two main thrusters on the left and right sides, respectively, to control the speed and yaw of AUV. The vertical actuator consists of two tunnel thrusters on the forward and back of AUV, respectively, which can control the depth and pitch. It belongs to a typical multi-thruster-drive AUV.
According to ITTC recommendation and SNAME Terminology Bulletin System [
18], the co-ordinate system, as shown in
Figure 2, is established with reference to relevant literature.
The kinematics and dynamics equations of AUV six freedoms are as follows [
19]:
where,
is the velocity vector of AUV in the body co-ordinate system,
is the position and attitude angle vector of AUV in the earth co-ordinate system,
is the co-ordinate transformation matrix,
is the force and moment generated by the thruster, and
is the disturbance force and moment.
is the is the rigid-body inertia matrix,
is a matrix of rigid-body Coriolis and centripetal forces,
is the damping force matrix, and
is the generalized gravity and buoyancy vector. In the study of this paper, gravity is equal to buoyancy. The kinematics and dynamics equations of the above matrix form are expanded without considering the rolling motion of AUV, so the following can be obtained.
The kinematic equation of AUV is:
The dynamic equation of AUV is:
where,
is the control force and moment,
is the bounded time-varying interference force or moment,
is the hydrodynamic parameters of AUV, m is the mass of AUV,
Ix,
Iy,
Iz is the moment of inertia of AUV rotating around the three axes of the body co-ordinate system, and
is the vertical position of AUV center of gravity and center of buoyancy. The values of the above symbols in this article are shown in
Table 1.
In the process of AUV motion control, the calculated control force is distributed to each thruster through the nominal thrust distribution matrix
. However, due to thruster misalignment, the thruster output forces applied to the AUV do not match the desired force and moment. When thruster misalignment exists, the uncertainty matrix of the nominal control distribution matrix generated by thruster misalignment is
, and the pseudo-inverse method is used for control distribution. When thruster misalignment exists, the actual force acting on AUV is:
where,
is the control force output vector of the controller and
is the force vector actually acted on the AUV carrier. In this paper:
When the thruster misalignment exists, the deviation angles of the two main thrusters from the positive direction of the
x-axis in the
xoy plane are
and
, respectively, and the deviation angles with the
xoy plane are
and
, respectively, and the installation position deviation in the
x-axis,
y-axis, and
z-axis direction is
(where
is the left main thruster; where
is the right main thruster). The deviation angles of the forward and backward vertical thruster from the positive direction of
z-axial direction are
and
, respectively, and the deviation angles from the positive direction of
x-axial direction in the
xoy plane are
and
, respectively, and the installation position deviation of the
x-axis,
y-axis, and
z-axis direction is
(where
is the forward tunnel thrusters; where
is the back tunnel thrusters). Where
(
) is positive in the positive direction of each co-ordinate axis to the right,
(
) is positive when it is the same as the positive direction of each co-ordinate axis; then, the distribution matrix in case of installation deviation is:
In Equation (7),
(
) is equal to:
When there is no thruster misalignment,
(
) and
(
), then
. In addition to consideration of thruster misalignment, this paper also considers the thrust loss of the thruster. Assume that the forces of the thrusters are
, and the thrust loss is
, then:
will increase as
increases. If
,
. When
, the true force and moment of AUV are:
In order to verify the effect of thruster misalignment and thrust loss on AUV motion control, take
(
),
,
,
,
,
,
for simulation test and the results are shown from
Figure 3,
Figure 4,
Figure 5 and
Figure 6:
It can be seen from
Figure 3,
Figure 4,
Figure 5 and
Figure 6, when there is thruster misalignment and thrust loss, the velocity control is stable slowly, and the yaw control has
steady-state error that cannot be eliminated. The pitch control appears to possess a larger fluctuation maximum to
, with a minimum fluctuation between
, and it cannot gain stability. The depth control also has a big fluctuation, with the maximum exceeding the desired depth of 0.6 m. It can be seen that thruster misalignment and thrust loss have a great impact on the motion control effect of AUV.
3. Controller Design
In this paper, two observers are designed to compensate the force and moment deviation caused by thruster misalignment and thrust loss. The principle of the designed controller is shown in
Figure 7.
To facilitate the design of the disturbance observer, Formula (4) is deformed and considers the deviation of force and moment caused by thruster misalignment. Then:
where:
Equation (11) can be rewritten into the equation of state in the form:
where:
In the three-dimensional motion control of AUV, velocity, yaw, depth, and pitch are controlled, so the velocity control law, depth control law, pitch control law, and yaw control law should be designed so that:
Define the error as:
where,
is the desired speed,
is the desired yaw,
is the desired depth, and
is the desired pitch.
The sliding mode surface is defined as:
where,
is the parameters of sliding mode surface. Define the Lyapunov function as:
The derivative of Equation (15) can be obtained:
In order to reduce jitter in the sliding mode controller, the following convergence law is adopted:
where
(
) is the parameters of the sliding mode controller.
Substitute Equation (16) into Equation (17) to obtain:
Since the hyperbolic tangent function is odd function, the velocity error, yaw error, depth error, and pitch error are gradually stable. According to Equation (14), we can obtain:
According Equation (13), Equation (19) can be rewritten as:
According to Equations (17) and (20), we can obtain:
Then, the control force of AUV is:
where:
In Equation (22), () is unknown and increases with the increase in control force. Therefore, the observer is designed to estimate the disturbance. This gives the following theorem:
Theorem 1. For the following system: Define the Lyapunov function as follows:
The derivative of Equation (24) can be obtained:
Therefore, when , , , , the system is asymptotically stable at .
Lemma 1. For the following systems:where,,. If the solution of Equation (26) satisfies,, then, for any bounded and integrable function, and,, the solution of the following system:satisfies: That is, the generalized derivative of
converges
on average;
weakly converges on
. According to Lemma 1 and Theorem 1, the following disturbance estimators are designed:
When
and
(
):
From the above formula, we can know:
From
,
,
,
, we can obtain:
Let the state estimation error and the disturbance estimation error be:
According to Equations (34) and (35), state estimation error and disturbance estimation error converge.
The thrust distribution of the control force can be obtained:
The calculation formula of thruster thrust can also be obtained from AUV hydrodynamic test:
where
(
) is the thrust of the four thrusters and
(
) is the speed of the four thrusters. At the same time, the thruster system has thrust loss due to the instability of incoming flow and the existence of model error. Therefore, a nonlinear state observer is designed to estimate the thrust loss. The differential equation describing thrust loss can be expressed as:
where
(
) represents time constant,
(
) represents bounded noise, and
(
) represents the thrust of four thrusters. It is very difficult to obtain an accurate model because of unknown flow velocity and unsteady flow disturbance of the thruster, but this model is often used to estimate unknown variables. The equation of thruster dynamics can be written as:
where
(
) is thruster speed,
(
) is thruster moment of inertia,
(
) is linear damping coefficient,
(
) is motor command moment,
(
) is thruster moment, and
(
) represents thrust loss. From
, we can obtain:
Command moment of the motor is:
The observer is designed according to Equations (23) and (25), and the system output is expressed as
,
,
. Assuming nonlinear gain,
and
are used to estimate thrust loss:
Let
,
, then the error model of the observer is:
Define the Lyapunov function as:
The derivative of Equation (45) can be obtained:
For any
and
,
; according to this property, to transform Equation (46):
Let
,
; then, Formula (45) can be written in matrix form as:
When
and the matrix
is positive definite, the observer error is asymptotically stable. When Equation (46) can be written as:
where
is the minimum eigenvalue of
, when
, for any
, as long as:
it can be derived:
In Equation (50),
is a linear function; then, the system is about
stability. Therefore, when the gain satisfies the condition:
the observer system estimate converges to the neighborhood of the real value.
4. Simulation Test
In order to verify the effectiveness of the designed controller, a simulation test is carried out, and each of the parameters in the simulation test are shown in
Table 2.
Make the AUV do the following motion:
Sliding mode control is a kind of nonlinear control method with a fast response, corresponding parameter change, and disturbance insensitive characteristics, while S-plane control is based on fuzzy control mode, referring to the structure of PID control, and deduced a new simple and effective control method. The method of this paper is to improve the traditional sliding mode control method for the proposed problems, so it is compared with the traditional sliding mode control method. At the same time, the S-plane control method is selected, which reflects the superiority of the method proposed in this paper. The simulation results are as shown from
Figure 8,
Figure 9,
Figure 10,
Figure 11 and
Figure 12.
To evaluate the control effect, the performance index function suitable for the motion control of the autonomous underwater vehicle is selected. The performance index of time absolute error integral (ITAE) is a kind of control system performance evaluation index with good engineering practicability and selectivity. It reflects the control accuracy and speed of the control system. The smaller the value is, the better. Compared with other performance index functions, the ITAE criterion is less affected by the initial deviation and becomes more sensitive to the overshoot and steady-state error in the middle and late period with the increase in time, thus focusing on the evaluation of rapidity and accuracy. Its expression is as follows:
Based on the ITAE guidelines, the proposed method is compared with the traditional sliding mode and s-surface control methods, and the following results are as shown in
Table 3.
Table 3 shows when there are thruster misalignment and thrust loss, the
value of s-surface speed control is smaller than that of sliding mode control and dual-observer sliding mode control. It proves that the effect of s-surface speed control is better than that of sliding mode control. It can be seen from
Figure 8, when there are thruster misalignment and thrust loss, the control effect of velocity control becomes worse, and the overshoot of traditional sliding mode control and s-surface control increases and the stabilization time becomes longer. The overshoot of dual-observer sliding mode controller is small and the stabilization time is short.
As can be seen from
Table 4, when there are thruster misalignment and thrust loss, the
value of the dual-observer sliding mode control is smaller than that of traditional s-surface and sliding mode control. It can be seen from
Figure 9, at this time, there are obvious deviations that cannot be eliminated and the tracking accuracy is decreased. The yaw of dual-observer sliding mode control can track the desired yaw well, which is approximately the same as that without thruster misalignment and thrust loss.
As can be seen from
Table 5, when there are thruster misalignment and thrust loss, the
value of dual-observer sliding mode control is smaller than that of traditional s-surface and sliding mode control. It can be seen from
Figure 10 and
Figure 11, when there are thruster misalignment and thrust loss, the vertical velocity cannot be zero due to the existence of the pitch. Meanwhile, the pitch changes greatly, and the large stable pitch error is difficult to eliminate. The vertical velocity of the dual-observer sliding mode controller is almost zero and the pitch decreases obviously.
As can be seen from
Table 6, when there are thruster misalignment and thrust loss, the
value of dual-observer sliding mode control is smaller than that of traditional s-surface and sliding mode control. It can be seen from
Figure 12, when there are thruster misalignment and thrust loss, the traditional sliding mode control has a large steady-state error, which is difficult to eliminate, and the response speed of s-surface control is slow. The dual-observer sliding mode controller has a fast response and no steady-state error.
It can be seen from
Figure 13, when there are thruster misalignment and thrust loss, the oscillation of the velocity control force in the horizontal plane becomes larger and the stabilization time becomes longer. After the observer compensation, the control force and the expected forward force basically coincide. It can be seen from
Figure 14, the deviation of the yaw control moment in the horizontal plane is larger and the stabilization rate slows down. The error between the yaw control moment and the expected moment is small after the estimator compensation. It can be seen from
Figure 15 that the response time of the vertical force becomes longer in the vertical plane. After stabilization, due to the influence of the pitch, the vertical velocity is not zero. It can be seen from
Figure 16 that the pitch moment is not zero because there is a stable pitch error, which is difficult to eliminate. After compensation by the observer, the force and moment are basically coincident with the expected force and moment.
It can be seen from
Figure 17 and
Figure 18 that, in the presence of thrust loss, the thrust generated by the two thrusters in the horizontal plane is less than the expected thrust value. After compensation by the observer, the thrust is basically equal to the expected thrust. It can be seen from
Figure 19 and
Figure 20 that the force generated by the two vertical thrusts in the vertical plane is less than the expected thrust value, and, after compensation by the observer, the thrust basically reaches the expected thrust value.
It can be seen from
Figure 21 and
Figure 22 that the observer error of the thrust loss of the four thrusters converges to zero. The observer errors of the thruster misalignment converge to zero in the horizontal plane and vertical plane.
Figure 23 shows that, when the speed increases, the control force also increases and the thrust loss of the four thrusters increases. It can be seen from
Figure 24 that, when the speed increases, the errors of force and moment caused by thruster misalignment also increase.
5. Field Test
In order to verify the effectiveness of the algorithm, an experiment was carried out in a lake in Harbin in June 2021. The experiments were carried out at 1 m/s and 0.5 m/s, respectively.
It can be seen from
Figure 26 of test 1 that the actual AUV velocity reaches the expected velocity, the AUV velocity estimated by TD disturbance observer is close to the actual velocity obtained by the actual test, the actual yaw reaches the desired yaw, and the yaw estimated by TD disturbance observer is close to the yaw obtained by the actual test. It can be seen from
Figure 30 that the calculated output of the thruster is basically consistent with the output estimated by the gain disturbance observer.
It can be seen from
Figure 32 of test 2 that the actual velocity is about the desired velocity, the velocity estimated by TD disturbance observer is close to the actual velocity obtained by the actual test, the actual yaw is close to the desired yaw, and the yaw estimated by TD disturbance observer is close to the yaw obtained by the actual test. It can be seen from
Figure 36 that the calculated output of the thruster is basically consistent with the output estimated by the gain disturbance observer.
It can be seen from
Figure 28 of test 1 and
Figure 34 of test 2, when the control force increases, the deviation of force and moment caused by thruster misalignment increases accordingly. According to
Figure 31 of test 1 and
Figure 37 of test 2, when the control force increases, the thrust loss of the thruster increases correspondingly.