Robust motion control method and device for underwater vehicle
By designing a backstepping controller using the backstepping method and Lyapunov's second method, and combining it with first-order Gaussian-Markov process modeling, the motion control problem of underwater vehicles under random ocean current disturbances was solved, achieving stable heading and depth control.
Patent Information
- Application Number
- CN202311568734.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-23
AI Technical Summary
Existing technologies cannot effectively achieve good motion control of underwater vehicles under uncertain disturbances, especially under random ocean current interference, making it difficult to guarantee stable course and depth control of the vehicle.
A six-degree-of-freedom spatial motion model of the underwater vehicle is constructed using the backstepping method, and a backstepping controller is designed using the Lyapunov second method. The ocean current is modeled using a first-order Gauss-Markov process, and the motion models are decoupled into horizontal and vertical planes to achieve robust control.
In complex marine environments, stable heading and depth control of underwater vehicles were achieved, improving control accuracy and stability under random ocean current disturbances.
Smart Images

Figure CN117472086B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of underwater vehicle heading and depth control technology, specifically relating to a robust motion control method and device for underwater vehicles based on backstepping under uncertain disturbances. Background Technology
[0002] Against the backdrop of large-scale ocean development, autonomous underwater vehicles (AUVs) play a crucial role due to their wide range, long range, and strong autonomy. They are widely used in marine resource exploration, marine data acquisition, marine engineering operations, marine target search, communication relay, and coastal military defense. Motion control is the most fundamental requirement for AUVs to complete their missions. However, when AUVs operate in complex and ever-changing environments, factors such as waves and currents undergo unpredictable changes. Their dynamic models exhibit nonlinearity, time-varying characteristics, strong coupling, and incompleteness. Designing an accurate and reliable controller is a challenging task.
[0003] In recent years, control methods for underwater vehicles under uncertain disturbances have mainly fallen into two categories: one is to employ composite control schemes combining different control methods; the other requires control with the assistance of an observer. However, these control methods cannot achieve satisfactory control of underwater vehicles under random ocean current disturbances. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a robust motion control method and device for underwater vehicles based on backstepping under uncertain disturbances, so as to enable underwater vehicles to achieve good control performance under random ocean current disturbances.
[0005] To achieve the above objectives, the present invention adopts the following technical solution:
[0006] A robust motion control method for an underwater vehicle includes the following steps:
[0007] Step S1: Construct a spatial six-degree-of-freedom motion model of the underwater vehicle;
[0008] Step S2: Construct a stochastic ocean current model;
[0009] Step S3: Construct a hydrodynamic parameter perturbation model for the underwater vehicle;
[0010] Step S4: Based on the random ocean current model and the hydrodynamic parameter perturbation model of the underwater vehicle, decouple the six-degree-of-freedom motion model of the vehicle into a horizontal plane motion model and a vertical plane motion model;
[0011] Step S5: Based on the horizontal and vertical motion models, robustly control the underwater vehicle's horizontal and vertical motion.
[0012] Preferably, in step S2, the ocean currents are modeled based on a first-order Gaussian-Markov process, namely:
[0013]
[0014] Among them, V c For the speed of the ocean current, Let μ be the acceleration of the ocean current, μ (μ≥0) be the adjustment coefficient, and ω be Gaussian white noise.
[0015] Preferably, in step S3, the hydrodynamic parameter perturbation model for the underwater vehicle is:
[0016]
[0017] Where, p fa Δ is the parameter perturbation value, p0 is the nominal value of the hydrodynamic parameter, and t is time.
[0018] Preferably, in step S5, the underwater vehicle's depth control and heading control are achieved by a backstepping controller based on Lyapunov's second method. The underwater vehicle uses the backstepping controller as a rudder torque control law to output the corresponding rudder angle to achieve final motion control.
[0019] The present invention also provides a robust motion control device for an underwater vehicle, comprising:
[0020] The first building module is used to build a spatial six-degree-of-freedom motion model of the underwater vehicle;
[0021] The second building module is used to construct a stochastic ocean current model;
[0022] The third building module is used to build a perturbation model of the hydrodynamic parameters of an underwater vehicle.
[0023] The decoupling module is used to decouple the six-degree-of-freedom motion model of the underwater vehicle into a horizontal motion model and a vertical motion model based on the random ocean current model and the hydrodynamic parameter perturbation model of the underwater vehicle.
[0024] The motion control module is used to robustly control the horizontal and vertical motion of the underwater vehicle based on the horizontal and vertical motion models.
[0025] Preferably, the second building block models ocean currents based on a first-order Gaussian-Markov process, namely:
[0026]
[0027] Among them, V c For the speed of the ocean current, Let μ be the acceleration of the ocean current, μ (μ≥0) be the adjustment coefficient, and ω be Gaussian white noise.
[0028] As a preferred option, the hydrodynamic parameter perturbation model for underwater vehicles is:
[0029]
[0030] Where, p fa Δ is the parameter perturbation value, p0 is the nominal value of the hydrodynamic parameter, and t is time.
[0031] Preferably, the motion control module uses a backstepping controller based on Lyapunov's second method to achieve depth and heading control of the underwater vehicle. The underwater vehicle uses the backstepping controller as a rudder torque control law to output the corresponding rudder angle to achieve the final motion control.
[0032] To address the heading and depth control problems of underwater vehicles under random ocean current disturbances and fuzzy modeling conditions, this invention derives a backstepping controller for heading and depth based solely on Lyapunov's second theorem, without an observer. During the controller design process, some nonlinear terms are eliminated, resulting in a simpler final control law that is easier to apply in practical controllers. Attached Figure Description
[0033] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 A schematic diagram of a coordinate system and an underwater vehicle;
[0035] Figure 2 This is a schematic diagram illustrating the principle of motion control of the aircraft under uncertain disturbances through a backstepping controller in this invention. Detailed Implementation
[0036] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0037] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0038] Example 1:
[0039] This invention provides a robust motion control method for underwater vehicles based on backstepping under uncertain disturbances, comprising the following steps:
[0040] S1. Establish a six-degree-of-freedom motion model of the underwater vehicle in underwater space based on its own motion characteristics, force conditions and structural form;
[0041] The underwater vehicle adopts a symmetrical, low-drag, gyratory shape and is equipped with one propeller and two pairs of control rudders. To facilitate the representation of the characteristics of each motion, they are established as follows: Figure 1 The system uses an inertial coordinate system E-ξηζ based on the ground and a body coordinate system o-xyz based on the underwater vehicle itself, with the origin of the body coordinate system located at the center of gravity of the underwater vehicle.
[0042] The dynamic model of an underwater vehicle is used to analyze the forces acting on it under complex underwater conditions. Underwater vehicles are subjected to various forces, primarily inertial hydrodynamics, viscous hydrodynamics, gravity, buoyancy, propeller thrust, rudder control force, and external disturbances. Due to the good symmetry of underwater vehicles, the effect of roll can be neglected. Therefore, the six-degree-of-freedom motion model can be simplified to a five-degree-of-freedom motion model. Assuming that the gravity and buoyancy acting on the underwater vehicle are equal when it is fully submerged, its dynamic model can be expressed as follows:
[0043]
[0044] Where m is mass, B is buoyancy; u, v, w are the velocities of the vehicle in the x, y, and z directions, respectively; q and r are the pitch angular velocity and y-turn angular velocity of the vehicle about the z-axis, respectively; I yy and I zz They are surrounding Figure 1 Moments of inertia along the y-axis and z-axis; Y B and Z B τ represents the position of the center of buoyancy on the y-axis and z-axis of the hull, respectively; X(·), Y(·), Z(·), M(·), and N(·) are the hydrodynamic coefficients of the underwater vehicle. p It is the longitudinal thrust generated by the propeller. τ R1 and τ R2 It is the torque about the y-axis and z-axis.
[0045] according to Figure 1 The geometric relationship between the inertial coordinates and the body coordinates of the underwater vehicle can be used to obtain the kinematic model of the underwater vehicle.
[0046]
[0047] Where ξ, η, and ζ represent the positions of the vehicle along the x, y, and z axes in the inertial coordinate system, respectively. θ and ψ represent the velocities of the vehicle along the x, y, and z axes in the inertial coordinate system, respectively, which are equivalent to u, v, and w as mentioned above; θ and ψ represent the pitch angle and heading angle of the vehicle in the inertial coordinate system, respectively; θ and ψ represent the pitch angular velocity and turning angular velocity of the vehicle about the y-axis and about the z-axis, respectively, which are equivalent to q and r as mentioned above.
[0048] S2. Establish a stochastic ocean current model based on a first-order Gauss-Markov process; if the ocean current is parallel to the horizontal plane of the inertial coordinate system, and the ocean current velocity is V. c If the direction of the ocean current is α and the vertical component of its velocity is 0, then the velocity of the ocean current in the inertial coordinate system can be expressed as V. c =[V c cos(α)V c sin(α)0] T The velocities of the ocean current in the x, y, and z axes of the carrier coordinate system are respectively u c v c w c Its expression is:
[0049]
[0050] The speed of ocean currents relative to underwater vehicles is
[0051] ν r =[u r v r w r (4)
[0052] Among them, v r For the resultant relative velocity, u, v r w r Let be the relative velocities of the ocean current in the x, y, and z axes of the carrier coordinate system, respectively, and their expressions are as follows:
[0053]
[0054] Ocean currents are continuous in time and space, but their direction and magnitude vary randomly. Long-term observations have shown that current velocities in most ocean areas remain within a certain range and change slowly. The amplitude of random ocean currents can be simulated using a first-order Gaussian-Markov process, expressed as follows:
[0055]
[0056] Among them, V c For the speed of the ocean current, Let μ be the acceleration of the ocean current (μ≥0), ω be the adjustment coefficient, and ω be Gaussian white noise. Considering that different underwater vehicles have different capabilities to adjust to environmental interference, generalizations cannot be made; ocean current interference should be selected within an appropriate range.
[0057] Assuming the incoming flow angle 'a' is the angular velocity of the changing incoming flow direction, and the incoming flow angle 'b' is the initial incoming flow angle, trigonometric functions are used to simulate the change in the incoming flow direction angle. The expression is as follows:
[0058] α=2πsin(at+b) (7)
[0059] S3. Consider the effects of motion model error, external disturbance and vehicle motion coupling, establish a hydrodynamic parameter perturbation model for the underwater vehicle;
[0060] Hydrodynamic coefficients are measured using CFD methods and resistance tests. In CFD, the partitioning and setting of simulation parameters, the installation accuracy of constraint experiments, and the measurement accuracy all affect the magnitude of the hydrodynamic coefficients. Measurements of the same model using different methods will also introduce errors. Since there are many hydrodynamic coefficients, to appropriately simplify them, only terms of order two and below in the Taylor series expansion are retained. Nevertheless, modeling errors still exist in the approximation of the actual model. In the references, the perturbation value of the hydrodynamic coefficient is generally 10% to 30% of the nominal value. This embodiment of the invention uses 30% of the nominal value as the modeling error, assuming the nominal value p0 and the perturbation value p... f If they are respectively and , then
[0061] p f =±0.3p0 (8)
[0062] The underwater vehicle model exhibits strong nonlinearity, coupling, and time-varying characteristics. Complex external disturbances can cause changes in the hydrodynamic coefficients during motion. Considering this influence, trigonometric functions are introduced to simulate the dynamic changes in the hydrodynamic coefficients of the underwater vehicle during motion, and equation (8) is rewritten as follows:
[0063] p fa =Δp0 (9)
[0064] Where Δ is the parameter perturbation coefficient, its expression is:
[0065]
[0066] S4. The six-degree-of-freedom motion model of the underwater vehicle is decoupled into a horizontal motion model and a vertical motion model, and the influence of random ocean currents and parameter perturbations is added; the motion model of the underwater vehicle is relatively complex. According to the actual situation and combined with the dynamic characteristics of the underwater vehicle, motion control is usually divided into three weakly coupled sub-controls: depth control, heading control and speed control. This invention mainly studies the depth control and heading control of the underwater vehicle, analyzes the motion characteristics of the underwater vehicle, designs a motion controller, decouples the motion model of the underwater vehicle into a horizontal motion model and a vertical motion model, and assumes that the longitudinal velocity u of the underwater vehicle is controlled by the thrust system alone and maintains a constant velocity u0. In general, the vertical velocity w of the underwater vehicle is much smaller than the longitudinal velocity u, so the expression of formula (2) is simplified. Then the depth control model of the underwater vehicle can be shown as follows:
[0067]
[0068] The heading control model is shown below:
[0069]
[0070] By substituting the velocities [uvw] from formulas (1) and (2) into formulas (4) and (5), the relative velocities [u] of the ocean current and the underwater vehicle are obtained. r v r w r This can simulate the disturbance of ocean currents to underwater vehicles. According to formulas (9) and (10), the effect of parameter perturbation can be simulated by multiplying the nominal value p0 with the perturbation coefficient Δ. Considering the effects of ocean currents and parameter perturbation, models (11) and (12) are rewritten as models (13) and (14) respectively:
[0071]
[0072]
[0073] S5. Based on the horizontal and vertical motion models, robustly implement horizontal and vertical motion control for the underwater vehicle, i.e., design the horizontal and vertical motion controllers respectively using Lyapunov's second method.
[0074] Depth controller design.
[0075] Depth control, in essence, is about making the actual depth approach the desired depth, i.e., the depth control error ζ. e →0. The desired depth is a step signal, i.e. Let the desired depth, desired pitch angle, and desired pitch angular velocity be ξ. d θ d and qd Then the depth control error ζ e Pitch angle control error θ e and pitch angular velocity control error q e It can be represented as
[0076]
[0077] Step 1
[0078] Construct the Lyapunov function as follows
[0079]
[0080] Where a1 is a constant greater than 0, we can obtain the following from equations (11) and (15).
[0081]
[0082] Design virtual control quantity
[0083] θ d =-k1ζ e (18)
[0084] Where k1 is a constant greater than 0, we can obtain the following by combining equations (17) and (18):
[0085]
[0086] Step 2
[0087] Construct the Lyapunov function as follows
[0088]
[0089] Where a2 is a constant greater than 0, and by combining equations (11), (15), and (19), we can obtain
[0090]
[0091] To eliminate unnecessary terms, let k1 2 p2 = p1, so we can get:
[0092]
[0093] Define virtual control variables
[0094] q d =k2θ e (twenty three)
[0095] Where k2 is a constant greater than 0, combining equations (22) and (23), we can obtain
[0096]
[0097] in, Always less than 1, when k2>k1u, It will be negative.
[0098] Step 3
[0099] Design Lyapunov functions as follows:
[0100]
[0101] Where a3 is a constant greater than 0, and by combining equations (11), (15) and (24), we can obtain:
[0102]
[0103] In order to Negative constant, design
[0104]
[0105] Where k3 is a constant greater than 0, which can be obtained from equation (27).
[0106]
[0107] Equation (11) Substituting into equation (28) yields
[0108]
[0109] Then the input torque control law for depth control is obtained:
[0110]
[0111] Heading controller design.
[0112] Assume the desired heading angle and desired heading angular velocity are respectively ψ d and r d Then the heading angle control error ψ e and heading angular velocity control error r e It can be represented as
[0113]
[0114] The ultimate goal is to design a suitable expected value ψ d and r d This causes the heading control error ψ e =0.
[0115] Step 1
[0116] Design Lyapunov functions as follows:
[0117]
[0118] Where c1 is a constant greater than 0, combining equations (12), (29), and (30) yields...
[0119]
[0120] Design virtual control quantity
[0121] r d =h1ψ e (34)
[0122] Where h1 is a constant greater than 0, we can obtain the following by combining equations (33) and (34).
[0123]
[0124] Step 2
[0125] Design Lyapunov functions as follows:
[0126]
[0127] Where c2 is a constant greater than 0, combining (12), (31) and (36), we can obtain
[0128]
[0129] In order to Negative constant, design
[0130]
[0131] Where h2 is a constant greater than 0, then equation (35) can be written as
[0132]
[0133] When h2>c2h1, It will be negative.
[0134] According to equation (36), we can obtain
[0135]
[0136] Equation (12) Substituting into equation (38), we can obtain
[0137]
[0138] Thus, the input torque control law for heading control is obtained.
[0139]
[0140] The principle of achieving depth and heading control of a vehicle through a backstepping controller is as follows: Figure 2 As shown. Taking depth control as an example, firstly, a desired depth value is set for the vehicle. The difference between the manually set desired value and the vehicle's current actual depth value is used as the tracking error and input to the backstepping controller. The quantities input to the backstepping controller also include u, w, q, and θ. The backstepping controller calculates the control rudder force based on the input quantities and inputs it into the dynamic model. The dynamic model calculates the velocity and angular velocity based on the input quantities, with the angular velocity θ input into the kinematic model. The kinematic model calculates the actual depth value based on the input. The above steps are repeated iteratively until the error between the vehicle's actual depth value and the manually set desired value is 0, thus completing the control of the desired depth.
[0141] Example 2:
[0142] This invention also provides a robust motion control device for an underwater vehicle, comprising:
[0143] The first building module is used to build a spatial six-degree-of-freedom motion model of the underwater vehicle;
[0144] The second building module is used to construct a stochastic ocean current model;
[0145] The third building module is used to build a perturbation model of the hydrodynamic parameters of an underwater vehicle.
[0146] The decoupling module is used to decouple the six-degree-of-freedom motion model of the underwater vehicle into a horizontal motion model and a vertical motion model based on the random ocean current model and the hydrodynamic parameter perturbation model of the underwater vehicle.
[0147] The motion control module is used to robustly control the horizontal and vertical motion of the underwater vehicle based on the horizontal and vertical motion models.
[0148] As one embodiment of the present invention, the second building module models ocean currents based on a first-order Gaussian-Markov process, namely:
[0149]
[0150] Among them, V c For the speed of the ocean current, Let μ be the acceleration of the ocean current, μ (μ≥0) be the adjustment coefficient, and ω be Gaussian white noise.
[0151] As one embodiment of the present invention, the hydrodynamic parameter perturbation model of the underwater vehicle is as follows:
[0152]
[0153] Where, p fa Δ is the parameter perturbation value, p0 is the nominal value of the hydrodynamic parameter, and t is time.
[0154] In one embodiment of the present invention, the motion control module realizes the depth control and heading control of the underwater vehicle through a backstepping controller based on the Lyapunov second method. The underwater vehicle uses the backstepping controller as a rudder torque control law to output the corresponding rudder angle to achieve the final motion control.
[0155] The embodiments described above are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made to the technical solutions of the present invention by those skilled in the art without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.
Claims
1. A robust motion control method for an underwater vehicle, characterized by, Includes the following steps: Step S1: Construct a spatial six-degree-of-freedom motion model of the underwater vehicle; Step S2: Construct a stochastic ocean current model; Step S3: Construct a hydrodynamic parameter perturbation model for the underwater vehicle; Step S4: Based on the random ocean current model and the hydrodynamic parameter perturbation model of the underwater vehicle, decouple the six-degree-of-freedom motion model of the vehicle into a horizontal plane motion model and a vertical plane motion model; Step S5: Based on the horizontal and vertical motion models, robust horizontal and vertical motion control is performed on the underwater vehicle. Depth and heading control are achieved using a backstepping controller based on Lyapunov's second method. The underwater vehicle uses the backstepping controller as a rudder torque control law to output corresponding rudder angles to achieve final motion control. The backstepping controllers for heading and depth are derived solely based on Lyapunov's second theorem without an observer. Input torque control law for depth control: , The input torque control law for heading control: 。 2. The robust motion control method for underwater vehicles as described in claim 1, characterized in that, In step S2, the ocean currents are modeled based on a first-order Gaussian-Markov process, namely: in, For the speed of the ocean current, The acceleration of the ocean current, For adjustment coefficients, , It is Gaussian white noise.
3. The robust motion control method for underwater vehicles as described in claim 2, characterized in that, In step S3, the hydrodynamic parameter perturbation model for the underwater vehicle is as follows: in, For parameter perturbation values, For the parameter perturbation coefficient, These are the nominal values of the hydrodynamic parameters. For time.
4. A robust motion control device for an underwater vehicle that implements the robust motion control method for an underwater vehicle as described in claim 1, characterized in that, include: The first building module is used to build a spatial six-degree-of-freedom motion model of the underwater vehicle; The second building module is used to construct a stochastic ocean current model; The third building module is used to build a perturbation model of the hydrodynamic parameters of an underwater vehicle. The decoupling module is used to decouple the six-degree-of-freedom motion model of the underwater vehicle into a horizontal motion model and a vertical motion model based on the random ocean current model and the hydrodynamic parameter perturbation model of the underwater vehicle. The motion control module is used to robustly control the horizontal and vertical motion of the underwater vehicle based on the horizontal and vertical motion models.
5. The robust motion control device for underwater vehicles as described in claim 4, characterized in that, The second building block models ocean currents based on a first-order Gaussian-Markov process, namely: in, For the speed of the ocean current, The acceleration of the ocean current, For adjustment coefficients, , It is Gaussian white noise.
6. The robust motion control device for underwater vehicles as described in claim 5, characterized in that, The hydrodynamic parameter perturbation model for underwater vehicles is as follows: in, For parameter perturbation values, For the parameter perturbation coefficient, These are the nominal values of the hydrodynamic parameters. For time.
