1. Introduction
Autonomous underwater vehicles (AUVs) are widely used and important platforms in the marine domain, integrating multiple key capabilities from robotics, including path planning [
1,
2], navigation and positioning [
3], motion control [
4], and so on. They have become indispensable platforms for ocean exploration and development. Due to their unique and outstanding maneuverability, AUVs have broad application prospects in both civilian and military fields, including seabed topography mapping, environmental monitoring, search and rescue of crashed aircraft and sunken ships, pipeline inspection, and other areas [
5]. As AUVs are tasked with increasingly diverse and complex missions, traditional AUVs are no longer sufficient to meet mission requirements. In order to complete complex underwater tasks more efficiently, the X-rudder AUV has become one of the current research hotspots due to its superior maneuverability and mobility [
6,
7].
The X-rudder AUV experiences roll deviation issues due to the influence of X-rudder control forces, propeller thrust torque, and time-varying ocean current disturbances. The instability of roll motion indirectly affects the AUV’s heading and pitch control through coupling effects. However, due to their compact size, small AUVs have a shorter distance between their center of gravity and center of buoyancy, resulting in insufficient self-recovery torque to counteract roll effects [
8,
9]. Under coupled effects, roll instability may further induce heading and depth control deviations. Liu [
10] discussed AUV attitude control, explaining that roll instability impacts mission attitude accuracy. Huy Ngoc Tran [
11] addressed the influence of model uncertainty and propulsion torque coupling on depth/heading performance in depth control, emphasizing that roll attitude coupling leads to depth deviations. Ahsan Tanveer [
12] explicitly analyzes cross-couplings between depth and heading with other degrees of freedom, noting that uncompensated coupling significantly degrades closed-loop performance. Our research group conducted straight-line navigation experiments using an X-rudder underwater vehicle prototype. As shown in
Figure 1, the X-rudder AUV deviated from its intended trajectory due to roll-yaw coupling effects. As illustrated in
Figure 2, severe roll deviation caused by the thrust torque of the roll thrusters indirectly led to overloading and safety incidents. Therefore, controlling roll motion during navigation is imperative. In addition, environmental factors such as sea conditions and sea areas are subject to change, and the direction and magnitude of these changes are highly uncertain. These uncertainties and other influences aggravate roll instability, posing a significant challenge to AUV path tracking control. In existing roll control schemes, Ebrahimi [
9] uses a coupled fin to control roll, but this method has special requirements for the structure of the AUV. Since the rudder surfaces of the X rudder can generate torque in different directions, control torque can be generated in the roll direction by inputting appropriate rudder angles separately and controlling the rudder angles differentially, thereby suppressing the roll motion of the AUV. Huang [
13] verified the feasibility of X-rudder control of roll in lake trials of straight-line navigation experiments. Although Huang verified the unique advantages of the X rudder in AUV roll control, there are few studies in the existing literature on reducing roll coupling and improving path tracking control performance by constraining the roll angle with the X rudder.
Path tracking control can generally be divided into kinematic control and dynamic control. Currently, researchers have proposed a number of methods for dynamic control of AUVs under uncertain interference [
14], such as Proportional-Integral-Differential (PID) control, Linear Quadratic Optimal (LQR) control, Backstepping control [
15], Model Predictive control (MPC) [
16], Active Disturbance Rejection control (ADRC) [
17], etc. Among them, LQR has the advantages of convenient design, simple and easy-to-adjust parameters [
4], etc. However, in engineering practice, AUVs are subject to unknown ocean currents during navigation, as well as model uncertainties and other issues that limit their control accuracy. To address this issue, Yuan [
18] proposed an adaptive control linear quadratic optimal (L1AC-LQR) control algorithm, combining L1AC to compensate for the controller and optimize the heading and depth control performance of the X-rudder AUV; Yu [
19] designed a double-loop depth tracking scheme using a linear quadratic regulator, incorporating an Extended State Observer (ESO) into the dynamic controller to observe disturbance terms, significantly improving the tracking accuracy of the AUV under model uncertainty and actuator fluctuations. However, most studies have not sufficiently explored the effects of roll motion coupling.
In kinematic control, line-of-sight (LOS) guidance is the most common method. This method generates the required control variables for heading and pitch by tracking error and lead distance, and has been widely applied in trajectory tracking or path following tasks [
20,
21]. However, AUVs using traditional line-of-sight (LOS) tracking methods are unable to effectively counteract the heading angle effects caused by ocean currents, leading to a decrease in tracking accuracy. To address this issue, Fossen [
22] proposed an Integral LOS (ILOS) motion guidance method based on the traditional LOS algorithm to compensate for the crab angle β problem, eliminating the impact of constant external disturbances on straight-line path tracking and improving the robustness and stability of the algorithm. However, ILOS compensates for lateral drift through a saturated inverse tangent function, resulting in relatively slow error convergence. In addition, other improved LOS applications have been applied to AUVs, such as Huang [
23] proposed a guidance law based on a hyperbolic tangent line of sight (HLOS) for X-rudder AUVs. This law considers three-dimensional tracking errors and coordinates the control of heading, pitch, and roll. This guidance method can avoid unreasonable guidance angles, thereby avoiding aggressive excitation caused by large cross-tracking errors, which can make roll maneuver angles dangerous. Fossen [
24] proposed a nonlinear adaptive guidance law called Adaptive-LOS (ALOS), which can estimate the crab angle during navigation by integrating errors and quickly compensating for the guidance law. Yu [
19] used ALOS to compensate for kinematic disturbances caused by unknown angles of attack in kinematic outer-loop guidance and verified through experiments that the tracking method used could effectively overcome complex disturbances.
Although the above studies have performed a great deal of work on kinematic control and dynamic control in terms of time-varying sea current interference and model uncertainty, there has been little research on X-rudder AUV spatial path tracking under roll coupling constraints. To address this issue, this paper proposes an adaptive line-of-sight guidance-linear quadratic regulator (ALOS-LQR) strategy with roll constraints. The main contributions of this paper are as follows:
- 1.
A roll-constrained LQR controller is developed to suppress the heading and depth tracking errors caused by roll coupling.
- 2.
An extended state observer (ESO) is integrated to enhance robustness against random disturbances and model uncertainties.
- 3.
An adaptive line-of-sight (ALOS) guidance scheme is introduced to compensate for time-varying ocean current interference, improving the real-time performance of path tracking.
The remaining content of this paper is as follows: First,
Section 2 introduces the mathematical model of the X-rudder AUV. By analyzing the rudder force model of the X-rudder AUV and introducing the wave interference dynamic model, the mathematical model of the X-rudder AUV is derived.
Section 3 introduces the ALOS-LQR control design.
Section 4 discusses and compares the effects of roll instability on heading and depth tracking, as well as path tracking performance under various disturbances using different guidance algorithms, through simulation experiments.
Section 5 conducts physical experiments on variable depth and variable heading tracking control of the X-rudder AUV prototype under roll constraints to validate the effectiveness of the proposed method.
Section 6 summarizes the entire paper.
2. X-Rudder AUV Mathematical Model
In order to study the laws of AUV maneuvering motion and determine the position and attitude of the moving AUV, this paper adopts the coordinate systems recommended by the International Tank Testing Conference (ITTC) and the Society of Naval Architects and Marine Engineers (SNAME), establishing the fixed coordinate system
and the moving coordinate system
as shown in
Figure 3. Among them, the forward direction, starboard direction, and downward direction of the AUV correspond to the x-axis, y-axis, and z-axis, respectively.
The center of gravity on the z-axis is denoted as ; The relative velocity at the center of gravity of the AUV is V, and the projection of V on the coordinate system is u, v, w; The angular velocities of the AUV around the x-axis, y-axis, and z-axis are p, q, and r, respectively. The projections of the resultant force acting on the AUV on the plane are X, Y, and Z; the torques are K, M, and N. In addition, the roll angle , pitch angle , and yaw angle of the AUV.
2.1. Kinematics and Dynamics Model of X-Rudder AUV
The X rudder is arranged symmetrically at a 45° angle relative to the main body. Its spatial force system decomposition exhibits multi-degree-of-freedom coupling characteristics, enabling the generation of roll torque, yaw torque, and pitch torque by outputting different rudder angles. The four rudders are numbered counterclockwise starting from the lower left corner as Rudder Blades 1, 2, 3 and 4. The counterclockwise direction of the rudders is defined as the positive direction of the force, as shown in
Figure 4.
In order to better describe the dynamic equations of the X-rudder AUV [
25,
26], the following assumptions are made regarding the forces acting on the X-rudder.
Assumption 1. The coupling effects of the longitudinal force component, lateral force component, and vertical force component generated by the X rudder on the AUV dynamics can be ignored.
Assumption 2. The control input of the X rudder is bounded, i.e., the rudder force provided is limited. At the same time, the rudder angle control response time is not affected by environmental interference, and the response speed is constant.
The torque of the rudder in the roll, pitch, and yaw directions is:
In the equation, represents the rudder torque in the roll, pitch, and yaw directions; represents the rudder torque coefficient; represents the roll momentum arm, pitch momentum arm, and yaw momentum arm of rudders 1, 2, 3, and 4, respectively; represents the rudder angle.
According to Fossen [
24]. The description of an AUV using Newton-Euler equations and Lagrange formulas is shown in (2).
M is the inertia matrix of the rigid body mass and additional mass; is the position and attitude vector of the AUV; is the relative sea current velocity and angular velocity vector of the AUV. C is the rigid body mass and additional mass Coriolis centrifugal force matrix; D is the fluid damping matrix; is the restoring force vector generated by gravity and buoyancy; is the AUV’s thrust vector; is the AUV’s rudder force vector. Expand the six-degree-of-freedom model of the X-rudder AUV as shown in Equation (3).
In Equation (3):
m represents the mass of the AUV;
represents the gravitational force of the AUV; B represents the buoyant force of the AUV;
and
denote the center of gravity and center of buoyancy of the AUV, respectively;
represent the first-order hydrodynamic coefficients of the AUV;
are the coupled hydrodynamic coefficients of the AUV, with specific parameters as shown in
Table 1;
represents unknown random disturbances such as ocean currents.
2.2. Ocean Current Interference Model
The motion characteristics of AUVs are affected by time-varying ocean currents. In order to obtain a time-varying ocean current interference model, this paper refers to the vector synthesis method of Long [
27] and Chen [
28], converting the absolute velocity of the AUV into a relative velocity that takes into account the effect of ocean current velocity, thereby simulating time-varying ocean current interference.
Referring to Fossen’s [
21] description of time-varying ocean current models, assuming that the ocean current velocity in the fixed coordinate system is
, the changes in the ocean current model are shown in Equation (4).
In the equation,
is a control coefficient greater than or equal to 0;
is Gaussian white noise. The angle between the projection of the velocity on the horizontal plane
and the normal of the horizontal plane is the flow direction angle
; the angle between the projection of the velocity on the horizontal plane
and the normal of the vertical plane is the flow direction angle
. The axial component velocities
of the ocean current in the fixed coordinate system are as follows:
The speed of an AUV affected by ocean currents can be expressed as follows:
In order to satisfy the convergence conditions for control, the following assumptions are proposed [
21].
Assumption 3. The ocean current velocity
is bounded, satisfying
and
are constants.
Assumption 4. The direction angles
and
of the ocean current change slowly and are randomly sampled within the range [−π, π].
3. Controller Design
In this chapter, we will provide a detailed introduction to the controller design proposed in this paper. The control block diagram is shown in
Figure 5. First, the displacement errors
are obtained by subtracting the sensor data
from the target distances
. The kinematic ALOS controller converts displacement errors
into desired attitude information
. Next, the desired attitude information
is subtracted from the sensor’s attitude data
to obtain the attitude error
. Then, the attitude errors
are input into the LQR dynamic controller and the nonlinear extended state observer compensation
to obtain the control rates
. The control rates are then converted into yaw angle outputs
using the pseudo-inverse control allocation method. Finally, the dynamic controller inputs the steering angle command and thruster speed
n obtained into the AUV model. In addition, the AUV model is also affected by time-varying sea current disturbances
and other unknown disturbances
.
3.1. Adaptive Line-of-Sight Guidance (ALOS)
To address the impact of ocean current interference on AUV path tracking, ALOS is used to estimate crab angle and angle of attack online, dynamically adjusting the guidance law to counteract ocean current interference and compensate for lateral and longitudinal deviations caused by disturbances, thereby significantly improving path tracking accuracy. The pitch and heading guidance diagram of the AUV is shown in
Figure 6, where
and
are the projections of the resultant velocity V in the
and
coordinate systems, respectively.
The tangent direction of the tracking point
of the target and the tracking point
of the next target is used as the x-axis of the SF coordinate system, and the normal direction of this line is used to construct the SF coordinate system. The tracking error is
as Equation (7):
Among them,
is the position information of the AUV in the terrestrial coordinate system;
represent the transformation matrices of the coordinate system, as shown in Equation (8).
where
is the angle between the terrestrial coordinate system and the tangential coordinate system rotated around the z-axis;
is the angle between the terrestrial coordinate system and the tangential coordinate system rotated around the y-axis. The heading guidance law is given by Equation (9).
In the equation,
represents the adaptive crab angle;
represents the forward range;
represents the gain coefficient, and the pitch guidance law is given by Equation (11).
In the equation,
represents the adaptive angle of attack;
represents the forward viewing distance;
represents the gain coefficient. When
,
and
are updated by Equations (10) and (12), and ultimately converge to the true crab angle or angle of attack [
19,
24].
3.2. Nonlinear Extended State Observer
Ocean currents have time-varying nonlinear characteristics and are difficult to obtain directly through sensors. Furthermore, the uncertainty of AUV models is difficult to describe accurately in control design. To improve the robustness of pitch angle and heading angle tracking control, it is necessary to design a nonlinear disturbance observer to fit the disturbance in real time and compensate for the controller.
Set
to reconstruct the system into a model with explicit coupling interference terms as shown in Equation (13).
In the equation,
represent the corresponding control torque gains, respectively, and
are expanded as shown in the equation.
Linear ESO employs fixed gain estimation to account for unknown system parameters, resulting in poor interference resistance and slow convergence. To address this, an AUV nonlinear ESO controller is designed based on Han’s description [
29] of nonlinear ESO (as shown in the Equation (15)).
In the equation,
represents the estimated state variable, and
is the gain of the observer, where
. The specific expression of
is:
3.3. LQR Controller and Rudder Force Distribution
This section introduces the design of the LQR controller for the pitch, yaw, and roll of the AUV. For the pitch motion state variables of the AUV,
, the state equation for the pitch motion is:
The state variables of yaw motion are
, and the state equation of yaw motion is:
The state variable for roll motion is
, and the state equation for roll motion is:
In Equations (17)–(19)
denote the virtual elevator, rudder, and differential rudder generated by the X-rudder transformation, respectively. The transformation relationship between the X-rudder and the virtual control surfaces is given in Equation (20).
For a system
, the state variables are fed back into the system through the gain matrix
K. The control law of the LQR controller is
. Given appropriate
Q and
R matrices, the cost function
J is minimized to achieve the best control performance of the controller.
Then, from Equations (15) and (17)–(19), the roll, pitch, and yaw control laws can be obtained as shown in Equation (22):
In the equation,
represents the parameters of the LQR controller. The pitch, yaw, and roll torques obtained from the above are distributed to the four rudder angles using a pseudo-inverse control distribution method. The distribution model is as follows:
In the equation,
is the rudder angle vector, expressed as
, representing the rudder angles of rudders.
denotes the rank of matrix
B. When
, the control allocation equation admits a consistent solution, which can be obtained through the pseudo-inverse of
B. When
, the desired control moment
does not lie in the column space of
B, indicating that it exceeds the achievable range of the rudders. The allocated rudder commands are then passed through a saturation process to ensure that the physical constraints are satisfied. In the equation, matrix
B is:
In the equation, are the rudder force coefficients for rudders.
3.4. Stability Analysis
The proof is presented below to establish the stability of both the kinematic controller and the dynamic controller, showing that the corresponding tracking errors asymptotically converge to zero.
In most path-tracking and trajectory-planning tasks, the AUV is assumed to operate at a cruising or constant speed [
30,
31]. Accordingly, the following assumption is introduced.
Assumption 5: The AUV moves at a constant speed V. The projection of velocity V in the horizontal direction is U, and the velocity in the vertical direction is W.
Set the lateral and longitudinal errors to
. Under the condition that the AUV is moving at a constant speed and the attitude is being tracked in time, The tracking error dynamics are:
In the actual path-tracking process,
and
are usually constrained within a small range [
19,
24], It can be approximated as
thus
Let
, then
Since
, it follows that
According to Fossen [
24,
32] it can be proven that at the origin
the system is USGES.
A detailed proof is provided below for the heading channel only; the other channels share the same structure. Define the observation error of the heading channel extension state observer as
. Let
, From Equation (15), obtain:
Let
, then the error dynamics are:
where
, and
. For
[
33], for any
,
, take the worst-case slope linearization:
Its characteristic polynomial is:
By the Routh–Hurwitz criterion, when , the matrix is Hurwitz.
Since
is Hurwitz, there exists
such that
, with a unique solution
, and satisfying
. Choose the Lyapunov function
.
Since , it follows that , thus, .
By Young’s inequality, for any
,
, thus
from which it follows [
34] that
Therefore, when , one has , and hence ; when , the trajectory is uniformly ultimately bounded; and when , it follows that .
Define the AUV system
, with input
and
, then
If
is stabilizable and
is detectable, with
, then the algebraic Riccati equation admits a unique positive definite solution
.
Choose
, and substitute it into the equation:
It follows that
is Hurwitz. Choose the Lyapunov function
, then
When , one has , and the system is GES.
When
,
it follows that [
34]
The system satisfies ISS. When is bounded, the state x is uniformly ultimately bounded; and when , the state , and the system becomes stable.
5. Experiment Results and Discussion
To further investigate the impact of roll coupling on the path tracking of the X-rudder AUV and to verify the stability of the proposed control algorithm, an X-rudder AUV was used, as shown in
Figure 13. The test platform was equipped with sensors such as IMU, DVL, and a depth gauge. The AUV conducted spatial path tracking experiments in Shazhou Lake, Zhangjiagang City, as shown in
Figure 14a. The expected path is shown in
Figure 14a, where the AUV tracks a rectangular path with varying depths underwater. The lake environment is shown in
Figure 14b.
The expected waypoint coordinates are: (120.558590, 31.889791), (120.557850, 31.889159), (120.558590, 31.888528), (120.559330, 31.889159), (120.558590, 31.889791). The distance between waypoints is 100 meters, with a depth decrease of 0.4 meters at each waypoint, and a navigation speed of 3 knots.
A comparison of path tracking for AUVs with and without roll control is shown in
Figure 15. The red curve Method1 represents the path tracking curve without roll control; the blue curve Method 2 represents the path tracking curve with roll control; and the dashed line ref represents the reference path. Analysis shows that AUV path tracking is more stable under roll constraints. The AUV attitude curve is shown in
Figure 16. Among them, the roll angle, as shown in
Figure 16c, reached a maximum of −19.12° during the descent from 83 s to 273 s, with an average roll angle of −8.63°; The depth control stability shown in
Figure 16d is relatively poor, with a maximum error of 0.45 m and an average error of 0.24 m. The pitch angle shown in
Figure 16b fluctuates between −5° and 10°, with a variance of 5.21. In contrast, Method 2 demonstrates superior overall performance: the average roll angle is −4.27°, representing a 50.52% reduction compared to Method1. Depth control accuracy has significantly improved, with a maximum error of only 0.17 m and an average error of 0.16 m, a 33.3% reduction. The amplitude of pitch angle oscillations has decreased, with a variance of 1.42. In the yaw angle (
Figure 16a), Method 1 and Method 2 exhibit small angular deviations, and Method 1 takes longer to achieve stable convergence than Method 2, demonstrating that the proposed roll-constrained control method exhibits stronger disturbance rejection capability and improved stability in heading and depth control.
6. Conclusions
This paper addresses the spatial path-tracking problem of an X-rudder AUV under random ocean current disturbances and proposes an ALOS guidance–LQR control strategy with roll constraints. By incorporating roll control, ESO-based disturbance estimation, and adaptive guidance, the method effectively suppresses roll-induced coupling effects, compensates for model uncertainties, and mitigates the impact of time-varying ocean current disturbances.
The main conclusions of this study are as follows:
- 1
In simulations, the roll-constrained LQR controller reduced the lateral and longitudinal absolute mean errors by 14.82% and 54.07%, respectively, compared with the conventional LQR. When combined with the ESO, the errors were further decreased by 77.73% and 80.61%, demonstrating significant improvement in control accuracy under nonlinear and uncertain conditions.
- 2
Under time-varying ocean current disturbances, the proposed ALOS guidance method reduced lateral and longitudinal errors by 85.89% and 94.87%, respectively, compared with traditional LOS, and achieved faster convergence than ILOS, indicating superior stability and disturbance compensation capability.
- 3
In physical experiments, roll control reduced the roll angle by 50.52% and the depth error by 33.3%, validating the engineering applicability and effectiveness of the proposed strategy in real-world AUV operations.
In summary, the proposed ALOS-LQR strategy with roll constraints provides a practical and effective solution for enhancing the stability, accuracy, and robustness of AUV path tracking. Nevertheless, in highly dynamic tasks such as aggressive maneuvers, moderate roll motion may actually improve the turning capability of the AUV, which reveals certain limitations of the proposed method. Moreover, the control framework has not yet been fully validated in real ocean environments, and further experimental studies are required. Future work will therefore focus on extending the physical experiments from lake trials to sea environments to evaluate the controller’s performance under more complex conditions.