CN115755939A - Four-rotor underwater vehicle forward motion state estimation method - Google Patents
Four-rotor underwater vehicle forward motion state estimation method Download PDFInfo
- Publication number
- CN115755939A CN115755939A CN202211410245.2A CN202211410245A CN115755939A CN 115755939 A CN115755939 A CN 115755939A CN 202211410245 A CN202211410245 A CN 202211410245A CN 115755939 A CN115755939 A CN 115755939A
- Authority
- CN
- China
- Prior art keywords
- underwater vehicle
- matrix
- motion
- equation
- formula
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Abstract
The invention relates to the field of underwater vehicle and robot control, and aims to provide a four-rotor underwater vehicle forward motion state estimation method. The method comprises the following steps: establishing a six-degree-of-freedom dynamics and kinematics model of the four-rotor underwater vehicle by a simulation or experiment method; setting motion state parameters, and simplifying the six-degree-of-freedom model to obtain an advancing motion equation of the underwater vehicle; setting a control law of the underwater vehicle in the forward motion, and determining the corresponding relation between the control quantity and the state quantity; analyzing the stress condition of the underwater vehicle and a dynamic model of uniform-speed forward motion to obtain a functional relation between an inclination angle and speed when the underwater vehicle advances at a uniform speed; establishing a Kalman filtering equation, and setting Kalman filter coefficients corresponding to different motion states; and setting a floating time period, and adjusting parameters by comparing the difference between the actual position and the state estimation position. The method has simple and convenient steps and lower cost; stable and reliable, accurate result and wide application range.
Description
Technical Field
The invention relates to the field of underwater vehicle and robot control, in particular to a four-rotor underwater vehicle forward motion state estimation method.
Background
The underwater vehicle is an ocean intelligent device integrating high and new technologies such as microelectronics, computers, control, energy sources, communication and the like. Compared with the traditional torpedo-shaped underwater vehicle, the four-rotor underwater vehicle has the advantages of good hovering performance, low energy consumption, simple structure and the like, and has extremely high application value in the aspects of underwater investigation, detection and the like; but is also more stringent in the design requirements of the control system due to its particular motion pattern. The concrete expression is as follows: 1) An underdrive property. The four-rotor underwater vehicle has four independently controlled input variables and six degrees of freedom of motion, the number of the degrees of freedom is greater than the number of control inputs, and the four-rotor underwater vehicle is a typical under-actuated system. The under-actuated feature may reduce the design and manufacturing difficulty of the system, but may make the control design more complex. 2) And (4) strong coupling. According to the dynamics model and the kinematics model, the control input moment directly acts on the attitude of the underwater vehicle, and when the attitude of the underwater vehicle changes, the conversion matrix changes, so that the position of the underwater vehicle is further changed. 3) Is statically unstable. When the control input is equal to zero, the underwater vehicle cannot remain at the equilibrium point. 4) Non-linear. The underwater vehicle dynamic equation does not meet the superposition, and is a typical nonlinear system.
The observation and estimation of the state quantities is one of the important components of the control system. For a general sensing system, after the sensing system is submerged, position data cannot be obtained through a positioning system such as a GPS and the like, and an underwater special speed sensor such as a Doppler log has the defects of high price, huge volume and weight and the like. Although the acceleration integral obtained by the inertial sensor can be used for obtaining the speed and further estimating the displacement, the data obtained by the inertial sensor with lower precision is only relied on, and the four-rotor underwater vehicle with more complex control design requirements is definitely not accurate enough.
With the emphasis on the ocean development strategy and the development of the underwater vehicle technology, an effective and convenient method for estimating the forward motion state of the four-rotor underwater vehicle is urgently needed at present, so that the design cost is reduced, and the working efficiency of the vehicle is improved.
Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects in the prior art and provides a method for estimating the forward motion state of a four-rotor underwater vehicle.
In order to solve the technical problem, the technical scheme adopted by the invention is as follows:
the method for estimating the forward motion state of the four-rotor underwater vehicle comprises the following steps:
(1) Establishing a six-degree-of-freedom dynamics and kinematics model of the four-rotor underwater vehicle by a simulation or experiment method;
(2) Setting motion state parameters, and simplifying the six-degree-of-freedom model to obtain an advancing motion equation of the underwater vehicle;
(3) Setting a control law of the underwater vehicle in the forward motion, and determining the corresponding relation between the control quantity and the state quantity;
(4) Analyzing the stress condition of the underwater vehicle and a dynamic model of uniform-speed forward motion to obtain a functional relation between an inclination angle and speed when the underwater vehicle advances at a uniform speed;
(5) Establishing a Kalman filtering equation, and setting Kalman filter coefficients corresponding to different motion states;
(6) And floating the underwater vehicle according to a set time period, and adjusting the parameters by comparing the difference between the actual position and the state estimation position.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention has simple steps and lower cost. The invention provides a state estimator which can obtain speed and displacement only by an angle and an acceleration sensor, aiming at the problems that a GPS (global positioning system) cannot be used underwater and the speed sensor is expensive.
2. The invention is stable and reliable, and the result is accurate. According to the method, the observation values of the angle and the acceleration are simultaneously referred, the Kalman coefficient can be adaptively adjusted according to the motion condition, and a more accurate result can be finally obtained through repeatedly calibrating parameters.
3. The invention has wide application range. The invention can be applied to not only the forward motion of a four-rotor underwater vehicle, but also any rotor type robot which realizes forward or lateral motion by means of attitude transformation, including but not limited to underwater and aerial robots.
Drawings
FIG. 1 is a schematic overall flow diagram of the present invention;
FIG. 2 is a coordinate system diagram of a cruciform quad-rotor underwater vehicle;
FIG. 3 is a force analysis diagram of the underwater vehicle in uniform forward motion;
fig. 4 is a schematic diagram of the state estimation process of the present invention.
Detailed Description
It is first stated that the present invention relates to underwater robotics, hydrodynamic modeling, control, navigation and positioning techniques. The applicant believes that one of ordinary skill in the art will be able to implement the invention with the full benefit of the software programming skills and algorithmic modifications available thereto, as may be appreciated by a person skilled in the art after perusal of the application and an accurate understanding of the principles of implementation and inventive objects of the invention. In the implementation process of the invention, the application of the multi-rotor underwater robot can be involved, and the number of the rotor propellers arranged on the underwater robot can be between 3 and 16; the underwater robot includes but is not limited to: underwater robots, underwater vehicles, submersibles, submergence vehicles, deep submergence vehicles, underwater self-propelled vehicles and the like; the aforementioned filtering equations include, but are not limited to: kalman filtering, extended Kalman filtering, particle filtering, least square filtering, colorless Kalman filtering, unscented Kalman filtering, adaptive Kalman filtering, bayesian filtering, etc., all of which are mentioned in the present application document, the applicant does not enumerate one by one.
The invention provides a method for estimating the forward motion state of a four-rotor underwater vehicle, which comprises the following steps:
(1) Establishing a six-degree-of-freedom dynamics and kinematics model of the four-rotor underwater vehicle by a simulation or experiment method;
the specific implementation of the kinetic and kinematic model is as follows:
(1.1) introducing a body coordinate system and a ground coordinate system in the motion of the underwater vehicle; the underwater vehicle body coordinate system is bound with an underwater vehicle body, the origin is a floating center and moves along with the movement of the underwater vehicle; the geodetic coordinate system is fixedly connected with the inertial system, and the position direction is not changed;
representing the stress and motion conditions of the underwater vehicle in a body coordinate system, sequentially defining linear velocities on x, y and z axes as u, V and w, sequentially defining angular velocities as p, q and r, and defining a velocity matrix as V = [ u, V, w, p, q and r ]] T The superscript T represents the transpose of the matrix, the same applies below; the position and the attitude angle of the device are expressed in a ground coordinate system, the displacement on the x, y and z axes is defined as x, y and z in turn, and the attitude angle is defined as x, y and z in turnTheta, psi, then the pose matrix is defined as
(1.2) in the six-degree-of-freedom dynamics and kinematics model, the overall dynamics equation is expressed as:
wherein, M T As a matrix of the total mass,is the differential of V, i.e. the point mark represents the differential, the same applies below; c (V) is a total Coriolis force matrix; d L Is a linear resistance coefficient matrix, D NL A nonlinear resistance coefficient matrix is obtained; g (eta) is a restoring force matrix, and F is an input force matrix;
total mass matrix M T From rigid body mass matrix M RB And additional mass matrix M A The composition is calculated by the following formula:
M T =M RB +M A
wherein m is mass; assuming that the x-axis and y-axis coordinates of the center of gravity are both 0 g As z-axis coordinate of center of gravity, I x /I y /I z In turn, the moment of inertia on the xyz coordinate axis,in turn additional mass coefficients in the xyz-axis translational degree of freedom,additional mass coefficients, also called additional moment of inertia coefficients, on the rotation degree of freedom of the xyz axis are sequentially formed;
similarly, the total Coriolis force matrix C (V) is represented by C RB And C A Composition, calculated by the formula:
C(V)=C RB +C A
linear resistance coefficient matrix D L And a non-linear resistance coefficient matrix D NL Calculated by the following formula:
D L =diag[X u ,Y v ,Z w ,K p ,M q ,N r ]
wherein, X u /Y v /Z w In turn, the linear resistance coefficient, K, in the degree of translational freedom of the xyz axis p ,M q ,N r Linear resistance coefficients on the rotation freedom degree of an xyz axis are sequentially formed;in turn the nonlinear drag coefficients in the xyz-axis translational degree of freedom,sequentially is a nonlinear resistance coefficient on the rotation freedom degree of an xyz axis;
a restoring force matrix G (η) calculated by the following equation:
wherein G is gravity and B is buoyancy, s = sin, c = cos
An input force matrix F, calculated by:
wherein, F z Indicating the force of the rotor in the vertical direction,indicating the rolling moment produced by the rotor, M θ Indicating the pitching moment produced by the rotor, M ψ Representing the pitching moment generated by the rotor;
(1.3) in the six-degree-of-freedom dynamics and kinematics model, the kinematics equation is expressed as:
wherein, the vector eta 1 、η 2 η is defined as follows:
wherein t = tan; r 1 Representing a position conversion matrix, R 2 Representing an attitude transformation matrix; 0 3*3 Represent a 3 x 3 zero matrix.
(2) Setting motion state parameters, and simplifying the six-degree-of-freedom model to obtain an advancing motion equation of the underwater vehicle; the method specifically comprises the following steps:
(2.1) setting the advancing direction of the underwater vehicle, and giving motion constraint; taking the example of proceeding along the x-axis, set v =0, p = r =0, y =0,
(2.2) unfolding the six-degree-of-freedom model, and reserving a non-zero item;
the kinetic equation is expressed by the following formula:
wherein the formula U, the formula Q and the formula W respectively represent the motion conditions of U, Q and W in three degrees of freedom;
the kinematic equation is expressed by the following formula:
wherein, the formula X, the formula Z and the formula theta respectively represent the motion conditions of three degrees of freedom of X, y and theta.
(3) Setting a control law of the underwater vehicle in the forward motion, and determining the corresponding relation between the control quantity and the state quantity; the setting content of the control law comprises the following steps:
(3.1) when the underwater vehicle is stably suspended, the four propellers are all in an initial state; the respective thrust forces are the same and the generated thrust force is exactly balanced with the net buoyancy force, which is expressed by the following formula:
F z0 =B-G
M θ0 =0
let F zt And M θt Respectively represent the time point F z And M θ A value of (A), i.e. in the above formula, F z0 And M θ0 Respectively represent an initial time F z And M θ A value of (d);
(3.2) when the underwater vehicle advances, the kinetic equation is expressed by formula
(4) Analyzing the stress condition of the underwater vehicle and a dynamic model of uniform-speed forward motion to obtain a functional relation between an inclination angle and speed when the underwater vehicle advances at a uniform speed; the method comprises the following specific steps:
(4.2) substituting the constraint into a control law expansion equation to obtain a control model in the uniform motion process, wherein the control model is represented by the following formula:
(4.3) solving the above formula to obtain a formula:
the formula is a functional relation between the angle and the speed in the process of uniform motion.
(5) Establishing a Kalman filtering equation, and setting Kalman filter coefficients corresponding to different motion states; the method specifically comprises the following steps:
(5.1)
establishing a prediction equation, and expressing the prediction equation by the following formula:
wherein the content of the first and second substances,is a prior estimate of the state at time t,is an estimate of the state at time t-1, F is the state transition matrix, u t-1 The acceleration value obtained by the acceleration sensor at the last moment is obtained, and B is an input matrix;is composed ofA priori estimate of the covariance matrix, P t-1 Is the last momentThe above equation is mainly based on the value u output by the acceleration sensor at the previous moment t-1 Estimating the current time speed state quantityQ is the deviation caused by environmental interference or inaccuracy of the acceleration sensor after the method is used;
(5.2) establishing a state update equation, which is expressed by the following formula:
wherein, K t As a Kalman filter coefficient, P t Is composed ofThe covariance matrix of (a) is determined,is an estimated value of the state at the moment t, and H is an observation matrix; r is the speed of the current moment obtained through the functional relation between the angle and the speed in the step (4)Then, I is the identity matrix due to the bias caused by model inaccuracy or angle sensor inaccuracy.
(6) Floating the underwater vehicle upwards according to a set time period, and adjusting parameters by comparing the difference between the actual position and the state estimation position; the method specifically comprises the following steps:
(6.1) setting initial values of Q and R;
(6.2) according to the actual motion situation of the underwater vehicle, setting a Kalman filtering coefficient capable of being adjusted in a self-adaptive mode, and estimating the valueAndandrelated, and the following rules apply: the larger Q, the more estimated valueThe larger the occupied proportion is; the larger R is, the more estimatedThe greater the specific gravity. The specific parameter calibration strategy is therefore: when the acceleration value is larger, the speed value estimated by the acceleration sensor is more accurate,the weight is small and the weight is small,the weight is larger, R should be increased or Q should be decreased appropriately; when the acceleration value is smaller, the underwater vehicle approaches to uniform motion, the velocity value obtained by the angle calculation is more accurate,the weight is greater and the weight is greater,the weight is smaller, R should be reduced or Q should be increased appropriately;
and (6.3) during actual operation, the underwater vehicle floats upwards once at intervals, whether the state estimator is accurate or not is judged through GPS reading, and parameters are properly adjusted.
The invention will be described in further detail below with reference to specific examples in the drawings, in which:
fig. 2 is a coordinate system diagram of a quad-rotor underwater vehicle, and it should be noted that the solution proposed by the present invention is applicable to any vehicle that performs forward/side-shift motions with varying attitude, and a representative object is chosen for illustration purposes only for convenience of description. As shown in the figure, in the specific motion of the underwater vehicle, a body coordinate system and a ground coordinate system are introduced, the body coordinate system is bound with the body of the underwater vehicle, the body coordinate system moves along with the motion of the underwater vehicle, the ground coordinate system is fixedly connected with an inertial system, and the position direction is not changed. Representing the stress and motion conditions of the motion of the underwater vehicle in a body coordinate system, sequentially defining linear velocities on x, y and z axes as u, V and w, sequentially defining angular velocities as p, q and r, and defining a velocity matrix as V = [ u, V, w, p, q and r = [ u, V, w, q and r ]] T The superscript T represents the transpose of the matrix, the same applies below; the position and the attitude angle of the device are expressed in a ground coordinate system, the displacement on the x, y and z axes is defined as x, y and z in turn, and the attitude angle is defined as x, y and z in turnTheta, psi, then the pose matrix is defined asAngular speed of propeller 1/3 is omega 1 /ω 3 Clockwise in the direction of thrust F 1 /F 3 Downward, rotational couple M 1 /M 3 In a clockwise direction; the angular speed of the propeller 1/4 is omega 2 /ω 4 In the counterclockwise direction, thrust F 2 /F 4 Downward, rotational couple M 2 /M 4 In the counterclockwise direction. FIG. 3 is a force analysis diagram of the underwater vehicle in uniform forward motion, where the total thrust is F in the forward direction under the condition of the attitude angle θ, that is, the component on the x axis is F x The component in the y-axis being F y And has F x Is balanced with the resistance D borne by the underwater vehicle, F y Balanced with the net buoyancy.
The forward motion state estimation method of the four-rotor underwater vehicle in the embodiment comprises the following specific steps:
step 1, constructing a motion model of an underwater vehicle, comprising:
establishing a universal dynamic model of the underwater vehicle, and obtaining a formula
Wherein, M T Is a matrix of the total mass,is the differential of V, i.e. the point mark represents the differential, the same applies below; c (V) is the total Coriolis force matrix, D L Is a linear resistance coefficient matrix, D NL A nonlinear resistance coefficient matrix is obtained; g (eta) is a restoring force matrix, and F is an input force matrix;
in this embodiment, the matrix or vector is assigned with a total quality matrix of
The total coriolis matrix is:
the linear resistance and the nonlinear resistance are respectively:
D L =diag[1.43,1.43,0.3747,0.0116,0.0116,0.006736]
D NL =diag[36.13,36.13,36.35,0.028,0.028,0.008206]
the restoring force matrix is:
wherein G and B are gravity and buoyancy respectively, s = sin, c = cos;
taking a cruciform four-rotor underwater vehicle as an example, the input force matrix is represented by the formula:
wherein, the first and the second end of the pipe are connected with each other,thrust generated for each propeller. Since the thrust and the couple generated by the propellers are numerically proportional to the square of the rotation speed, the thrust and the couple generated by each propeller are also proportional. The value of the couple is therefore expressed in terms of the thrust times the scaling factor, and dimensions are ignored.
The following vectors are also defined:
the kinematic equation can be summarized as
Wherein:
step 2, constructing an expansion of the forward motion of the underwater vehicle:
because the four-rotor underwater vehicle cannot directly provide power in the forward direction, in the forward motion, the vehicle must generate an inclination angle, and the underwater vehicle is advanced by utilizing the component of thrust in the horizontal direction. If going along the x-axis, the angle of inclination that is active is θ, and if going along the y-axis, the angle of inclination that is active is θ
Taking the x-axis progression as an example, during the motion, some of the translational and rotational degrees of freedom are constrained, and in the motion equation, the following equation can be specifically expressed:
neglecting the portion of 0, the kinetic equation can be simplified to expand as:
wherein, the formula U, the formula Q and the formula W respectively represent the motion conditions of U, Q and W in three degrees of freedom.
The kinematic equation can be simplified to expand as:
wherein, the formula X, the formula Y and the formula theta respectively represent the motion conditions of three degrees of freedom of X, Y and theta.
Step 3, setting the control law by taking the following control method as an example:
assuming a stable suspension, the propellers 1/2/3/4 are initially thrust-identical and the thrust produced by each is exactly balanced with the net buoyancy, i.e.
4F 0 =B-G
WhereinRepresenting the thrust generated by the ith propeller at time t, F 0 Indicating the thrust generated by the four propellers at the initial moment.
The control strategy for forward motion is such that the propellers 1/3 are respectively reduced/increased by the same amount Δ 1 After that, propeller 1/2/3/4 is simultaneously increased/decreased by the same amount Δ 2 . Wherein, delta 1 Providing a couple which enables the underwater vehicle to generate an inclination angle, and enabling the attitude of the underwater vehicle to change; delta 2 The depth is stabilized while providing a forward driving force. Concrete brushEquation of formula
Wherein, delta it Represents time t Δ i The value of (c).
Step 4, the analysis of the uniform motion model and the establishment of the velocity angle function relationship comprise:
when moving at a constant speed, the inclination angle is also fixed, if theta is less than 0, w is more than 0, and
substituting this into the control law expansion yields:
according to U, in the value range, theta and U have a one-to-one correspondence relationship, namely each theta can uniquely determine one U, and vice versa.
According to Z, each theta can uniquely determine the proportional relation between u and w, namely theta can determine u and w simultaneously. Specifically, when θ =0 °, w =0; when θ =90 °, u =0.
According to Q, after theta, u and w are determined within a value range, delta 1t It can also be determined that each theta uniquely identifies a delta 1t 。
Solving the system of equations to obtain
Step 5, establishing a Kalman filtering equation, which comprises the following steps:
in the motion of a quad-rotor underwater robot, the sensors can generally provide acceleration in addition to angle, which enables the design of kalman filters.
The kalman filter general formula is shown below, where the prediction equation passes through the formula:
wherein, the first and the second end of the pipe are connected with each other,is a prior estimate of the state at time t,is an estimate of the state at time t-1, F is the state transition matrix, u t-1 The acceleration value obtained by the acceleration sensor at the last moment is B, which is an input matrix:is composed ofA priori estimate of the covariance matrix, P t-1 Is the last momentThe above equation is mainly based on the value u output by the acceleration sensor at the previous moment t-1 Estimating the current time speed state quantityQ is the deviation caused by environmental interference or inaccuracy of the acceleration sensor after the method is used;
the state update equation is represented by the formula:
wherein, K t As a Kalman filter coefficient, P t Is composed ofThe covariance matrix of (a) is determined,is an estimated value of the state at the moment t, and H is an observation matrix; r is the speed of the current moment obtained through the functional relation between the angle and the speedLater, I is the identity matrix, where I is the deviation due to model inaccuracy or angle sensor inaccuracyThen H = [0 1 =];
Let the state quantity be the displacement x of the final prediction t And speedThe input being acceleration values obtained by sensors, i.e.Namely, the method comprises the following steps:
some parameters in the Kalman filtering equation can be obtained as follows
The prediction equation is formulated
Equation of state update by formula
Step 6, setting a self-adaptive and parameter correction rule, comprising:
The values of Q and R are determined according to the conditions of the model and the sensor, and the values of H and F are substituted into a Kalman coefficient formula to obtain
When the acceleration value is larger, the speed value estimated by the acceleration sensor is more accurate,smaller weight, K t It should be as small as possible, and R may be increased or Q may be decreased as appropriate.
When the acceleration value is smaller, the underwater vehicle approaches to uniform motion, the velocity value obtained by the angle calculation is more accurate,greater weight, K t R should be decreased or Q increased as much as possible as appropriate.
And during actual debugging, floating the underwater vehicle once at intervals, judging whether the state estimator is accurate or not through GPS (global positioning system) reading, and properly adjusting parameters.
Claims (7)
1. A forward motion state estimation method of a four-rotor underwater vehicle is characterized by comprising the following steps:
(1) Establishing a six-degree-of-freedom dynamics and kinematics model of the four-rotor underwater vehicle by a simulation or experiment method;
(2) Setting motion state parameters, and simplifying the six-degree-of-freedom model to obtain an advancing motion equation of the underwater vehicle;
(3) Setting a control law of the underwater vehicle in the forward motion, and determining the corresponding relation between the control quantity and the state quantity;
(4) Analyzing the stress condition of the underwater vehicle and a dynamic model of uniform-speed forward motion to obtain a functional relation between an inclination angle and speed when the underwater vehicle advances at a uniform speed;
(5) Establishing a Kalman filtering equation, and setting Kalman filter coefficients corresponding to different motion states;
(6) And floating the underwater vehicle according to a set time period, and adjusting the parameters by comparing the difference between the actual position and the state estimation position.
2. The method according to claim 1, wherein in the step (1), the dynamics and kinematics model is implemented as follows:
(1.1) introducing a body coordinate system and a ground coordinate system in the motion of an underwater vehicle; the underwater vehicle comprises an underwater vehicle body, a vehicle body coordinate system, an origin point and an underwater vehicle body, wherein the vehicle body coordinate system is bound with the underwater vehicle body, the origin point is a floating center and moves along with the movement of the underwater vehicle; the geodetic coordinate system is fixedly connected with the inertial system, and the position direction is not changed;
representing the stress and motion conditions of the underwater vehicle in a body coordinate system, sequentially defining linear velocities on x, y and z axes as u, V and w, sequentially defining angular velocities as p, q and r, and defining a velocity matrix as V = [ u, V, w, p, q and r ]] T The superscript T represents the transpose of the matrix, the same applies below; the position and the attitude angle of the robot are expressed in a ground coordinate system, the displacements on the x, y and z axes are defined as x, y and z in sequence, and the attitude angle is defined as x, y and z in sequenceTheta, psi, then the pose matrix is defined as
(1.2) in the six-degree-of-freedom dynamics and kinematics model, the overall dynamics equation is expressed as:
wherein, M T As a matrix of the total mass,is the differential of V, i.e. the point mark represents the differential, the same applies below; c (V) is a total Coriolis force matrix; d L Is a linear resistance coefficient matrix, D NL A nonlinear resistance coefficient matrix is obtained; g (eta) is a restoring force matrix, and F is an input force matrix;
total mass matrix M Y From rigid body mass matrix M RB And additional mass matrix M A The composition is calculated by the following formula:
M T =M RB +M A
wherein m is mass; assuming that the x-axis and y-axis coordinates of the center of gravity are both 0 g As z-axis coordinate of center of gravity, I x /I y /I z In turn, the moment of inertia on the xyz coordinate axis,in turn additional mass coefficients in the xyz-axis translational degree of freedom,additional mass coefficients, also called additional inertia coefficients, in the degree of freedom of rotation of the xyz axis are sequentially obtained;
similarly, the total Coriolis force matrix C (V) is represented by C RB And C A Composition, calculated by the formula:
C(V)=C RB +C A
linear resistance coefficient matrix D L And a non-linear resistance coefficient matrix D NL Calculated by the following formula:
D L =diag[X u ,Y v ,Z w ,K p ,M q ,N r ]
wherein X u /Y v /Z w In turn, the linear resistance coefficient, K, in the degree of translational freedom of the xyz axis p ,M q ,N r Linear resistance coefficients on the rotation freedom degree of an xyz axis are sequentially formed;in turn the nonlinear drag coefficients in the xyz-axis translational degree of freedom,sequentially is a nonlinear resistance coefficient on the rotation freedom degree of an xyz axis;
a restoring force matrix G (η) calculated by the following equation:
wherein G is gravity, B is buoyancy, s = sin, c = cos;
an input force matrix F, calculated by:
wherein, F z Indicating the force of the rotor in the vertical direction,indicating the rolling moment produced by the rotor, M θ Indicating the pitching moment produced by the rotor, M ψ Representing the pitching moment generated by the rotor;
(1.3) in the six-degree-of-freedom dynamics and kinematics model, the kinematics equation is expressed as:
wherein, the vector eta 1 、η 2 η is defined as follows:
t=tan;R 1 representing a position conversion matrix, R 2 Representing an attitude transformation matrix; 0 3*3 Represent a 3 x 3 zero matrix.
3. The method of claim 1, wherein the simplifying process in step (2) comprises:
(2.1) setting the advancing direction of the underwater vehicle, and giving motion constraint; taking the example of proceeding along the x-axis, set v =0, p = r =0, y =0,
(2.2) unfolding the six-degree-of-freedom model, and reserving a non-zero item;
the kinetic equation is represented by the following formula:
wherein the formula U, the formula Q and the formula W respectively represent the motion conditions of U, Q and W in three degrees of freedom;
the kinematic equation is expressed by the following formula:
wherein, the formula X, the formula Z and the formula theta respectively represent the motion conditions of three degrees of freedom of X, y and theta.
4. The method according to claim 1, wherein in the step (3), the setting content of the control law comprises:
(3.1) when the underwater vehicle is stably suspended, the four propellers are all in an initial state; the respective thrust forces are the same and the generated thrust force is exactly balanced with the net buoyancy force, which is expressed by the following formula:
F z0 =B-G
M θ0 =0
let F zt And M θt Respectively represent t time F z And M θ A value of (A), i.e. in the above formula, F z0 And M θ0 Respectively represent an initial time F z And M θ A value of (d);
(3.2) when the underwater vehicle advances, the kinetic equation passes through a formula
5. The method according to claim 1, wherein in the step (4), the specific step of analyzing to obtain the functional relationship comprises:
(4.2) substituting the constraint into a control law expansion equation to obtain a control model in the uniform motion process, wherein the control model is expressed by the following formula:
(4.3) solving the above formula to obtain a formula:
the formula is a functional relation between the angle and the speed in the process of uniform motion.
6. The method of claim 1, wherein in step (5), the step of establishing a filter equation comprises:
(5.1) establishing a prediction equation expressed by the following formula:
wherein the content of the first and second substances,is a prior estimate of the state at time t,is an estimate of the state at time t-1, F is the state transition matrix, u t-1 The acceleration value obtained by the acceleration sensor at the last moment is obtained, and B is an input matrix;is composed ofIs estimated prior covariance matrix, P t-1 Is the last momentThe above equation is mainly based on the value u output by the acceleration sensor at the previous moment t-1 Estimating the current time speed state quantityQ is the deviation caused by environmental interference or inaccuracy of the acceleration sensor after the method is used;
(5.2) establishing a state update equation, which is expressed by the following formula:
wherein, K t As a Kalman filter coefficient, P t Is composed ofThe covariance matrix of (a) is determined,is an estimated value of the state at the moment t, and H is an observation matrix; r is the speed of the current moment obtained through the functional relation between the angle and the speed in the step (4)Then, I is an identity matrix due to the deviation caused by model inaccuracy or angle sensor inaccuracy.
7. The method according to claim 1, wherein in the step (6), the adjusting parameters specifically includes:
(6.1) setting initial values of Q and R;
(6.2) according to the actual motion situation of the underwater vehicle, setting a Kalman filtering coefficient capable of being adjusted in an adaptive mode, and estimating the valueAndandrelated, and has the following rules: the larger Q, the more estimated valueThe larger the occupied proportion is; the larger R is, the more estimatedThe larger the occupied proportion;
therefore, the following parameter calibration strategy is performed: when the acceleration value is larger, the speed value estimated by the acceleration sensor is more accurate,the weight is small and the weight is small,the weight is larger, R should be increased or Q should be decreased appropriately; when the acceleration value is smaller, the underwater vehicle approaches to uniform motion, the velocity value obtained by the angle calculation is more accurate,the weight is greater and the weight is greater,the weight is smaller, R should be reduced or Q should be increased appropriately;
and (6.3) during actual operation, floating the underwater vehicle once at intervals, judging whether the state estimator is accurate or not through GPS (global positioning system) reading, and properly adjusting parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211410245.2A CN115755939A (en) | 2022-11-08 | 2022-11-08 | Four-rotor underwater vehicle forward motion state estimation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211410245.2A CN115755939A (en) | 2022-11-08 | 2022-11-08 | Four-rotor underwater vehicle forward motion state estimation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115755939A true CN115755939A (en) | 2023-03-07 |
Family
ID=85369380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211410245.2A Pending CN115755939A (en) | 2022-11-08 | 2022-11-08 | Four-rotor underwater vehicle forward motion state estimation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115755939A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116466746A (en) * | 2023-04-24 | 2023-07-21 | 浙江大学 | Planning control method and device for four-rotor cluster to pass through dynamic waypoints at high speed |
-
2022
- 2022-11-08 CN CN202211410245.2A patent/CN115755939A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116466746A (en) * | 2023-04-24 | 2023-07-21 | 浙江大学 | Planning control method and device for four-rotor cluster to pass through dynamic waypoints at high speed |
CN116466746B (en) * | 2023-04-24 | 2023-09-29 | 浙江大学 | Planning control method and device for four-rotor cluster to pass through dynamic waypoints at high speed |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111650948B (en) | Quick tracking control method for horizontal plane track of benthonic AUV | |
CN108267953B (en) | Underwater robot position tracking method based on navigator-tracker | |
CN109460052A (en) | A kind of control method for spelling group aircraft | |
CN111857165B (en) | Trajectory tracking control method of underwater vehicle | |
CN109946976B (en) | Wide-navigational-speed AUV motion control method | |
CN112558477B (en) | Unmanned ship state and disturbance observer based on acceleration information | |
CN113189875B (en) | Unmanned aerial vehicle robust landing method on mobile platform based on circular features | |
CN107491083A (en) | A kind of four rotors based on saturation adaptive sliding-mode observer it is autonomous ship's method | |
CN112015086B (en) | Feedback control method for limited-time path tracking output of under-actuated surface ship | |
CN106840143B (en) | Method for judging attitude stability of underwater robot | |
CN115755939A (en) | Four-rotor underwater vehicle forward motion state estimation method | |
CN114967714A (en) | Anti-interference motion control method and system for autonomous underwater robot | |
CN112947522B (en) | Hard air refueling attitude control method based on finite time observer | |
Guisser et al. | A high gain observer and sliding mode controller for an autonomous quadrotor helicopter | |
CN113467231A (en) | Unmanned ship path tracking method based on sideslip compensation ILOS guidance law | |
CN109901402B (en) | Autonomous underwater robot path tracking method based on course smoothing technology | |
Crocoll et al. | Quadrotor inertial navigation aided by a vehicle dynamics model with in-flight parameter estimation | |
CN111546344A (en) | Mechanical arm control method for alignment | |
Harris et al. | Preliminary evaluation of null-space dynamic process model identification with application to cooperative navigation of underwater vehicles | |
Zhao et al. | Model predictive control based integral line-of-sight curved path following for unmanned aerial vehicle | |
CN115562313A (en) | Autonomous underwater vehicle motion control method for pier flaw detection | |
Abrougui et al. | Flight Controller Design Based on Sliding Mode Control for Quadcopter Waypoints Tracking | |
Yu et al. | Attitude adjustment of a multi-joint auv using an improved ladrc | |
Wasim et al. | Estimation of Airship Aerodynamic Forces and Torques Using Extended Kalman Filter | |
CN115562317A (en) | Four-rotor underwater robot water flow disturbance resistance control method based on self-adaptive strategy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |