CN116182871A - Sea cable detection robot attitude estimation method based on second-order hybrid filtering - Google Patents

Sea cable detection robot attitude estimation method based on second-order hybrid filtering Download PDF

Info

Publication number
CN116182871A
CN116182871A CN202310460963.9A CN202310460963A CN116182871A CN 116182871 A CN116182871 A CN 116182871A CN 202310460963 A CN202310460963 A CN 202310460963A CN 116182871 A CN116182871 A CN 116182871A
Authority
CN
China
Prior art keywords
accelerometer
information
matrix
gyroscope
magnetometer
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.)
Granted
Application number
CN202310460963.9A
Other languages
Chinese (zh)
Other versions
CN116182871B (en
Inventor
王迪
孙世安
黄浩乾
王冰
韩亦鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hohai University HHU
Original Assignee
Hohai University HHU
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hohai University HHU filed Critical Hohai University HHU
Priority to CN202310460963.9A priority Critical patent/CN116182871B/en
Publication of CN116182871A publication Critical patent/CN116182871A/en
Application granted granted Critical
Publication of CN116182871B publication Critical patent/CN116182871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/203Specially adapted for sailing ships
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/165Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/30Assessment of water resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Gyroscopes (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a sea cable detection robot attitude estimation method based on second-order hybrid filtering, which belongs to the technical field of underwater robot attitude estimation, and is based on three-dimensional angular velocity information under a gyroscope output device system, three-dimensional angular acceleration information under an accelerometer output device system and magnetic field information under an external magnetometer output device system, and comprises the steps of preprocessing gyroscope and accelerometer output information by using a difference method; then, using the information of the gyroscope and the accelerometer obtained by preprocessing to carry out noise self-adaptive filtering processing on the gyroscope and the accelerometer, and using the accelerometer to correct pitch angle and roll angle; finally, the magnetometer data is denoised by using a Laplace filtering algorithm, and the yaw angle is corrected by using the magnetometer. The method can solve the problems of attitude estimation and angle correction of the underwater robot.

Description

Sea cable detection robot attitude estimation method based on second-order hybrid filtering
Technical Field
The invention belongs to the technical field of underwater robot pose estimation, and particularly relates to a submarine cable detection robot pose estimation method based on second-order hybrid filtering.
Background
In recent years, with the exploration of the sea bottom, the importance of the underwater operation is more and more remarkable, and the underwater robot is an important carrier for the underwater operation, has small volume, high flexibility and strong concealment, and therefore plays a great role in the fields of the underwater operation, the underwater exploration and the like.
The operation and the operation of the underwater robot are not separated from accurate real-time attitude information, the main error source of the traditional attitude estimation system is inaccurate angle estimation, so that the accurate attitude information is required to be obtained, the establishment of the high-precision angle estimation system is important, the establishment of the angle estimation system requires the cooperation of a plurality of sensors, a microelectronic inertial measurement unit (MEMS) can obtain the attitude information of the underwater robot, but the noise is large, the dynamic response of a gyroscope is fast, the measurement precision is high, but the problem of integral drift exists, meanwhile, the noise is large when the accelerometer is used for measurement, and the magnetometer is very easy to be interfered by the outside. Therefore, the single sensor cannot accurately acquire the attitude information of the underwater robot, so that an attitude estimation algorithm capable of integrating multiple sensors is needed, the advantages of the multiple sensors can be integrated, and accurate attitude information is provided for the operation of the underwater robot.
The accelerometer and the magnetometer have functions in correcting angular positions, but only the roll angle and the pitch angle can be corrected when the accelerometer is used as a fixed reference, the yaw angle cannot be accurately corrected, and on the contrary, only the yaw angle can be effectively corrected when the magnetometer is used as a fixed reference.
Aiming at the problems, the invention provides a gesture estimation algorithm based on second-order hybrid filtering. Firstly, preprocessing a gyroscope and acceleration data, selecting abnormal values, and removing the abnormal values from measurement data; secondly, using a noise self-adaptive filtering algorithm to eliminate noise of a gyroscope and an accelerometer, and correcting a roll angle and a pitch angle by using the accelerometer as a fixed reference; finally, the magnetometer is subjected to anti-interference processing by using a Laplace filtering algorithm, and the yaw angle is corrected by using the magnetometer as a fixed reference.
Disclosure of Invention
Aiming at the problems, the invention provides a sea cable detection robot attitude estimation method based on second-order hybrid filtering, which takes output information of a micro-electromechanical system inertial measurement unit (abbreviated as MEMS IMU) as a calculation basis, combines advantages of a gyroscope, an accelerometer and a magnetometer, and solves the problems of underwater robot attitude estimation and angle correction by adopting an improved algorithm.
In order to achieve the above purpose, the technical scheme of the invention is as follows:
a submarine cable detection robot attitude estimation method based on second-order hybrid filtering is based on the known quantity:
three-dimensional angular velocity information under MEMS IMU gyro output equipment system
Figure SMS_1
, wherein
Figure SMS_2
Respectively representxDirection(s),yDirection(s),zAngular velocity information of direction, superscriptTRepresenting a transpose of the matrix;
three-dimensional angular acceleration information under MEMS IMU accelerometer output device system
Figure SMS_3
; wherein
Figure SMS_4
Respectively representxDirection(s),yDirection(s),zAcceleration information of the direction; />
Magnetic field information under external magnetometer output device system
Figure SMS_5
, wherein
Figure SMS_6
Respectively representxDirection(s),yDirection(s),zMagnetic field information of the direction;
the method is characterized by comprising the following steps of:
step 1, gyro and accelerationOutput information of the dial gauge
Figure SMS_7
Preprocessing by using a difference method;
step 2, using the information of the gyroscope and the accelerometer obtained by the preprocessing in the step 1 to carry out noise self-adaptive filtering processing on the gyroscope and the accelerometer, and using the accelerometer to correct pitch angle and roll angle;
and 3, denoising magnetometer data by using a Laplace filtering algorithm, and correcting a yaw angle by using the magnetometer.
Further, the step 1 specifically comprises the following steps: setting the average value of output data of the gyroscope and the accelerometer as a threshold value by using a difference method, removing the output data when the output data exceeds the threshold value, retaining the output data when the output data is within the threshold value, and processing the output data to obtain a series of gyroscope and accelerometer information, wherein the gyroscope and the accelerometer information are respectively as follows:
Figure SMS_8
wherein ,
Figure SMS_9
representing the processedkGyro angular velocity information of moment of time, wherein +.>
Figure SMS_10
Respectively represent the processedkTime of dayxDirection(s),yDirection(s),zAngular velocity information of the direction; />
Figure SMS_11
Representing the processedkAngular acceleration information of accelerometer at moment of time, wherein +.>
Figure SMS_12
Respectively represent the processedkTime of dayxDirection(s),yDirection(s),zAcceleration information of the direction.
Further, the step 2 specifically comprises: first using quaternionsqRepresenting the angular position:
Figure SMS_13
wherein the first vector part
Figure SMS_16
Is real, represents rotation angle +.>
Figure SMS_17
;/>
Figure SMS_19
Respectively representxDirection(s),yDirection(s),zA directional rotation axis; therefore->
Figure SMS_15
And quaternionqThe second vector part of (2)q 1 Fit, meaning aroundxA roll angle for rotating the direction rotation shaft; />
Figure SMS_18
And a third vector partq 2 Fitting means surroundingyA pitch angle rotated by the direction rotation shaft; and a fourth vector partq 3 Fitting means surroundingzA yaw angle rotated by the direction rotation shaft; let vector->
Figure SMS_20
Then->
Figure SMS_21
And->
Figure SMS_14
The relationship of (2) is determined by the following equation:
Figure SMS_22
secondly, carrying out self-adaptive filtering processing on noise of the gyroscope and the accelerometer, setting a sliding window with the length of N, and adopting a noise self-adaptive filtering algorithm as follows:
Figure SMS_23
wherein ,q k is as followskThe state of the system at the moment in time,q k-1 is thatk-A system state at time 1;Ais a state transition matrix;q k,k-1 is thatkA state prediction value of the moment;
Figure SMS_28
is new, is a white noise sequence which is experienced by each state in the sliding window; />
Figure SMS_25
Is->
Figure SMS_31
A moment of innovation; />
Figure SMS_27
Is an accelerometer measurement; />
Figure SMS_33
For the observation matrix, the angular position is corrected using an accelerometer and a magnetometer, respectively +.>
Figure SMS_36
;/>
Figure SMS_39
Information covariance matrix for calculating measurement noise matrix, < +.>
Figure SMS_34
To calculatek-1, an information covariance matrix of a system noise matrix at moment; />
Figure SMS_37
Is Kalman filtering gain; />
Figure SMS_24
A one-step prediction mean square error matrix; />
Figure SMS_30
Is error covariance matrix +.>
Figure SMS_29
The error covariance matrix of the last moment; />
Figure SMS_32
The difference between the measured value of the gyroscope and the predicted value of the state; />
Figure SMS_35
An information covariance matrix for calculating a system noise matrix; />
Figure SMS_38
Measuring a noise covariance matrix; />
Figure SMS_26
A covariance matrix of system noise;
observation matrix
Figure SMS_40
The first order correction by using the accelerometer isH 1AAnd (3) withH 1 The following equation is used to obtain:
Figure SMS_41
wherein IIs a unit matrix;
Figure SMS_42
is a rotation matrix;Dfor the time interval between algorithm executions;
because the accelerometer can only effectively correct pitch angle and roll angle, the part of the quaternion representing the yaw angle is set to zero:
Figure SMS_43
wherein
Figure SMS_44
Representing the angular position corrected by the accelerometer;/>
Figure SMS_45
representing quaternions
Figure SMS_46
The first vector, the second vector, the third vector and the fourth vector part, and obtaining the angular position corrected by the accelerometer after iteration>
Figure SMS_47
Further, the step 3 specifically comprises: aiming at the problem that the magnetometer is easy to be interfered by an external magnetic field and has large noise, the data of the magnetometer is denoised by using a Laplace filtering algorithm, and the specific steps are as follows:
Figure SMS_48
wherein ,
Figure SMS_50
measuring noise matrix after the Laplace filtering treatment when the magnetometer is corrected; />
Figure SMS_53
The covariance matrix is the covariance matrix of the measurement noise under the interference of no outlier; />
Figure SMS_55
Is a diagonal array; />
Figure SMS_51
As an auxiliary variable, +.>
Figure SMS_52
;/>
Figure SMS_54
Kalman filtering gain for magnetometer correction; />
Figure SMS_56
Is a very small constant, e.g.>
Figure SMS_49
The correction of yaw angle using magnetometers is to zero out the portion of the quaternion that represents roll and pitch angles:
Figure SMS_57
wherein
Figure SMS_58
Representing the magnetometer corrected angular position; />
Figure SMS_59
Representing quaternions
Figure SMS_60
The first vector, the second vector, the third vector and the fourth vector part, and obtaining the angular position corrected by the magnetometer after iteration>
Figure SMS_61
Compared with the prior art, the invention has the following advantages:
(1) Aiming at the problems that an accelerometer can only correct pitch angle and roll angle and a magnetometer can only correct yaw angle, the invention provides a second-order hybrid filtering algorithm which can integrate the advantages of two sensors, and the influence of magnetic anomalies on the estimation precision of the roll angle and the pitch angle is separated through second-order filtering, so that the full azimuth angle is accurately corrected.
(2) According to the invention, aiming at the problem of high noise during measurement of the gyroscope and the accelerometer, a noise self-adaptive filtering algorithm is introduced, and the accuracy of attitude estimation is further improved by updating the measurement noise matrix in real time to reduce the noise of the gyroscope and the accelerometer.
(3) Aiming at the problem that the magnetometer is easily influenced by an external magnetic field when in use, the invention introduces a Laplace filtering algorithm, reduces the output error of the magnetometer and improves the accuracy of correcting the angular position of the magnetometer.
Drawings
FIG. 1 is a flow chart of an attitude estimation algorithm based on second order hybrid filtering described in the present invention;
FIG. 2 is a flow chart of differential preprocessing of gyroscope and accelerometer information in step 1;
FIG. 3 is raw output information of a three-axis gyroscope and a three-axis accelerometer acquired during an experiment;
fig. 4 is a graph showing the comparison of the results of the posture estimation in different methods.
Detailed Description
The present invention is further illustrated in the following drawings and detailed description, which are to be understood as being merely illustrative of the invention and not limiting the scope of the invention.
The invention discloses a submarine cable detection robot attitude estimation method based on second-order hybrid filtering, which is based on the known quantity:
three-dimensional angular velocity information under MEMS IMU gyro output equipment system
Figure SMS_62
, wherein
Figure SMS_63
Respectively representxDirection(s),yDirection(s),zAngular velocity information of direction, superscriptTRepresenting a transpose of the matrix;
three-dimensional angular acceleration information under MEMS IMU accelerometer output device system
Figure SMS_64
; wherein
Figure SMS_65
Respectively representxDirection(s),yDirection(s),zAcceleration information of the direction;
magnetic field information under external magnetometer output device system
Figure SMS_66
, wherein
Figure SMS_67
Respectively representxDirection(s),yDirection(s),zMagnetic field information of the direction;
the method specifically comprises the following steps:
step 1, for accurate calculation of system and measurement of noise variance matrix
Figure SMS_68
Information about the gyroscope and the accelerometer needs to be output>
Figure SMS_69
Preprocessing by using a difference method; setting the average value of output data of the gyroscope and the accelerometer as a threshold value by using a difference method, removing the output data when the output data exceeds the threshold value, retaining the output data when the output data is within the threshold value, and processing the output data to obtain a series of gyroscope and accelerometer information, wherein the gyroscope and the accelerometer information are respectively as follows:
Figure SMS_70
wherein ,
Figure SMS_71
representing the processedkGyro angular velocity information of moment of time, wherein +.>
Figure SMS_72
Respectively represent the processedkTime of dayxDirection(s),yDirection(s),zAngular velocity information of the direction; />
Figure SMS_73
Representing the processedkAngular acceleration information of accelerometer at moment of time, wherein +.>
Figure SMS_74
Respectively represent the processedkTime of dayxDirection(s),yDirection(s),zAcceleration information of the direction.
The method for setting the average value of the output data of the gyroscope and the accelerometer to be the threshold value by using the difference method in the embodiment is that firstly, the gyroscope information at the current moment and the gyroscope information at the last moment are subjected to difference; the accelerometer information at the current time and the accelerometer information at the previous time are poor. Secondly, setting a gyroscope information threshold value and an acceleration information threshold value (the threshold value is a variance value of sampling data from t-10s time to t time, and the principle is that the variance can reflect the fluctuation degree of the data, so that the data after differential processing can reflect the fluctuation degree of the data by comparing the variance value with the variance value), and comparing the difference value with the threshold value respectively; and finally, eliminating the gyroscope or the acceleration information at the moment when the difference value is larger than the threshold value, otherwise, keeping the gyroscope or the acceleration information.
Step 2, using the information of the gyroscope and the accelerometer obtained by the preprocessing in the step 1 to carry out noise self-adaptive filtering processing on the gyroscope and the accelerometer, and using the accelerometer to correct pitch angle and roll angle;
first using quaternionsqRepresenting the angular position:
Figure SMS_75
wherein the first vector part
Figure SMS_77
Is real, represents rotation angle +.>
Figure SMS_79
;/>
Figure SMS_81
Respectively representxDirection(s),yDirection(s),zA directional rotation axis; therefore->
Figure SMS_78
And quaternionqThe second vector part of (2)q 1 Fit, meaning aroundxA roll angle for rotating the direction rotation shaft; />
Figure SMS_80
And a third vector partq 2 Fitting means surroundingyA pitch angle rotated by the direction rotation shaft; and a fourth vector partq 3 Fitting means surroundingzA yaw angle rotated by the direction rotation shaft;let vector->
Figure SMS_82
Then->
Figure SMS_83
And->
Figure SMS_76
The relationship of (2) is determined by the following equation:
Figure SMS_84
secondly, carrying out self-adaptive filtering processing on noise of the gyroscope and the accelerometer, setting a sliding window with the length of N, and adopting a noise self-adaptive filtering algorithm as follows:
Figure SMS_85
wherein ,q k is as followskThe state of the system at the moment in time,q k-1 is thatk-A system state at time 1;Ais a state transition matrix;q k,k-1 is thatkA state prediction value of the moment;
Figure SMS_90
is new, is a white noise sequence which is experienced by each state in the sliding window; />
Figure SMS_88
Is->
Figure SMS_94
A moment of innovation; />
Figure SMS_89
Is an accelerometer measurement; />
Figure SMS_95
For the observation matrix, the angular position is corrected using an accelerometer and a magnetometer, respectively +.>
Figure SMS_91
;/>
Figure SMS_97
Information covariance matrix for calculating measurement noise matrix, < +.>
Figure SMS_98
To calculatek-1, an information covariance matrix of a system noise matrix at moment; />
Figure SMS_101
Is Kalman filtering gain; />
Figure SMS_86
A one-step prediction mean square error matrix; />
Figure SMS_92
Is error covariance matrix +.>
Figure SMS_93
The error covariance matrix of the last moment; />
Figure SMS_99
The difference between the measured value of the gyroscope and the predicted value of the state; />
Figure SMS_96
An information covariance matrix for calculating a system noise matrix; />
Figure SMS_100
Measuring a noise covariance matrix; />
Figure SMS_87
A covariance matrix of system noise;
observation matrix
Figure SMS_102
The first order correction by using the accelerometer isH 1AAnd (3) withH 1 The following equation is used to obtain:
Figure SMS_103
wherein IIs a unit matrix;
Figure SMS_104
is a rotation matrix;Dfor the time interval between algorithm executions;
because the accelerometer can only effectively correct pitch angle and roll angle, the part of the quaternion representing the yaw angle is set to zero:
Figure SMS_105
wherein
Figure SMS_106
Representing the angular position corrected by the accelerometer; />
Figure SMS_107
Representing quaternions
Figure SMS_108
The first vector, the second vector, the third vector and the fourth vector part, and obtaining the angular position corrected by the accelerometer after iteration>
Figure SMS_109
And 3, denoising magnetometer data by using a Laplace filtering algorithm, and correcting a yaw angle by using the magnetometer.
Aiming at the problem that the magnetometer is easy to be interfered by an external magnetic field and has large noise, the data of the magnetometer is denoised by using a Laplace filtering algorithm, and the specific steps are as follows:
Figure SMS_110
wherein ,
Figure SMS_113
measurement at correction of magnetometer after Laplace filteringA noise matrix; />
Figure SMS_115
The covariance matrix is the covariance matrix of the measurement noise under the interference of no outlier; />
Figure SMS_117
Is a diagonal array; />
Figure SMS_112
As an auxiliary variable, +.>
Figure SMS_114
;/>
Figure SMS_116
Kalman filtering gain for magnetometer correction; />
Figure SMS_118
Is a very small constant, e.g.>
Figure SMS_111
The correction of yaw angle using magnetometers is to zero out the portion of the quaternion that represents roll and pitch angles:
Figure SMS_119
wherein
Figure SMS_120
Representing the magnetometer corrected angular position; />
Figure SMS_121
Representing quaternions
Figure SMS_122
The first vector, the second vector, the third vector and the fourth vector part, and obtaining the angular position corrected by the magnetometer after iteration>
Figure SMS_123
In order to verify the effectiveness of the method, an attitude estimation experiment based on second-order hybrid filtering is carried out. As the sensing apparatus, a 9-axis sensor (MPU 9250) is used, which includes: three-axis gyroscopes, three-axis accelerometers and three-axis magnetometers. Wherein fig. 3 is the original output information of the three-axis gyroscope and the three-axis accelerometer acquired in the experimental process. Fig. 4 is a corresponding gesture estimation curve of the extended kalman filtering method and the method of the present invention, and it can be seen from the figure that the gesture result of the method of the present invention is stable and reliable, which is superior to the extended kalman filtering method.
It should be noted that the foregoing merely illustrates the technical idea of the present invention and is not intended to limit the scope of the present invention, and that a person skilled in the art may make several improvements and modifications without departing from the principles of the present invention, which fall within the scope of the claims of the present invention.

Claims (4)

1. A submarine cable detection robot attitude estimation method based on second-order hybrid filtering is based on the known quantity:
three-dimensional angular velocity information under MEMS IMU gyro output equipment system
Figure QLYQS_1
, wherein
Figure QLYQS_2
Respectively representxDirection(s),yDirection(s),zAngular velocity information of direction, superscriptTRepresenting a transpose of the matrix;
three-dimensional angular acceleration information under MEMS IMU accelerometer output device system
Figure QLYQS_3
; wherein
Figure QLYQS_4
Respectively representxDirection(s),yDirection(s),zAcceleration information of the direction;
magnetic field information under external magnetometer output device system
Figure QLYQS_5
, wherein />
Figure QLYQS_6
Respectively representxDirection(s),yDirection(s),zMagnetic field information of the direction;
the method is characterized by comprising the following steps of:
step 1, outputting information to a gyroscope and an accelerometer
Figure QLYQS_7
Preprocessing by using a difference method;
step 2, using the information of the gyroscope and the accelerometer obtained by the preprocessing in the step 1 to carry out noise self-adaptive filtering processing on the gyroscope and the accelerometer, and using the accelerometer to correct pitch angle and roll angle;
and 3, denoising magnetometer data by using a Laplace filtering algorithm, and correcting a yaw angle by using the magnetometer.
2. The submarine cable detection robot attitude estimation method based on second-order hybrid filtering according to claim 1, wherein step 1 is specifically: setting the average value of output data of the gyroscope and the accelerometer as a threshold value by using a difference method, removing the output data when the output data exceeds the threshold value, retaining the output data when the output data is within the threshold value, and processing the output data to obtain a series of gyroscope and accelerometer information, wherein the gyroscope and the accelerometer information are respectively as follows:
Figure QLYQS_8
wherein ,
Figure QLYQS_9
representing the processedkGyro angular velocity information of moment of time, wherein +.>
Figure QLYQS_10
Respectively represent the processedkTime of dayxDirection(s),yDirection(s),zAngular velocity information of the direction; />
Figure QLYQS_11
Representing the processedkAngular acceleration information of accelerometer at moment of time, wherein +.>
Figure QLYQS_12
Respectively represent the processedkTime of dayxDirection(s),yDirection(s),zAcceleration information of the direction.
3. The submarine cable detection robot attitude estimation method based on second-order hybrid filtering according to claim 1, wherein step 2 is specifically: first using quaternionsqRepresenting the angular position:
Figure QLYQS_13
wherein the first vector part
Figure QLYQS_15
Is real, represents rotation angle +.>
Figure QLYQS_17
;/>
Figure QLYQS_19
Respectively representxDirection(s),yDirection(s),zA directional rotation axis; therefore->
Figure QLYQS_16
And quaternionqThe second vector part of (2)q 1 Fit, meaning aroundxA roll angle for rotating the direction rotation shaft; />
Figure QLYQS_18
And a third vector partq 2 Fitting means surroundingyA pitch angle rotated by the direction rotation shaft; and a fourth vector partq 3 Fitting means surroundingzA yaw angle rotated by the direction rotation shaft; let vector->
Figure QLYQS_20
Then->
Figure QLYQS_21
And->
Figure QLYQS_14
The relationship of (2) is determined by the following equation:
Figure QLYQS_22
/>
secondly, carrying out self-adaptive filtering processing on noise of the gyroscope and the accelerometer, setting a sliding window with the length of N, and adopting a noise self-adaptive filtering algorithm as follows:
Figure QLYQS_23
wherein ,q k is as followskThe state of the system at the moment in time,q k-1 is thatk-A system state at time 1;Ais a state transition matrix;q k,k-1 is thatkA state prediction value of the moment;
Figure QLYQS_28
is new, is a white noise sequence which is experienced by each state in the sliding window; />
Figure QLYQS_27
Is->
Figure QLYQS_31
A moment of innovation; />
Figure QLYQS_26
Is an accelerometer measurement; />
Figure QLYQS_33
For the observation matrix, the angular positions were corrected using accelerometers and magnetometers, respectively
Figure QLYQS_29
;/>
Figure QLYQS_35
Information covariance matrix for calculating measurement noise matrix, < +.>
Figure QLYQS_34
To calculatek-1, an information covariance matrix of a system noise matrix at moment; />
Figure QLYQS_38
Is Kalman filtering gain; />
Figure QLYQS_25
A one-step prediction mean square error matrix; />
Figure QLYQS_32
Is error covariance matrix +.>
Figure QLYQS_30
The error covariance matrix of the last moment; />
Figure QLYQS_36
The difference between the measured value of the gyroscope and the predicted value of the state; />
Figure QLYQS_37
An information covariance matrix for calculating a system noise matrix; />
Figure QLYQS_39
Measuring a noise covariance matrix; />
Figure QLYQS_24
A covariance matrix of system noise;
observation matrix
Figure QLYQS_40
The first order correction by using the accelerometer isH 1AAnd (3) withH 1 The following equation is used to obtain:
Figure QLYQS_41
/>
wherein IIs a unit matrix;
Figure QLYQS_42
is a rotation matrix;Dfor the time interval between algorithm executions;
because the accelerometer can only effectively correct pitch angle and roll angle, the part of the quaternion representing the yaw angle is set to zero:
Figure QLYQS_43
wherein
Figure QLYQS_44
Representing the angular position corrected by the accelerometer; />
Figure QLYQS_45
Representing quaternion +.>
Figure QLYQS_46
The first vector, the second vector, the third vector and the fourth vector part, and obtaining the angular position corrected by the accelerometer after iteration
Figure QLYQS_47
4. The submarine cable detection robot attitude estimation method based on second-order hybrid filtering according to claim 3, wherein the step 3 is specifically: aiming at the problem that the magnetometer is easy to be interfered by an external magnetic field and has large noise, the data of the magnetometer is denoised by using a Laplace filtering algorithm, and the specific steps are as follows:
Figure QLYQS_48
wherein ,
Figure QLYQS_49
measuring noise matrix after the Laplace filtering treatment when the magnetometer is corrected; />
Figure QLYQS_50
The covariance matrix is the covariance matrix of the measurement noise under the interference of no outlier; />
Figure QLYQS_51
Is a diagonal array; />
Figure QLYQS_52
As an auxiliary variable, +.>
Figure QLYQS_53
;/>
Figure QLYQS_54
Kalman filtering gain for magnetometer correction; />
Figure QLYQS_55
Is a constant;
the correction of yaw angle using magnetometers is to zero out the portion of the quaternion that represents roll and pitch angles:
Figure QLYQS_56
wherein
Figure QLYQS_57
Representing the magnetometer corrected angular position; />
Figure QLYQS_58
Representing quaternion +.>
Figure QLYQS_59
The first vector, the second vector, the third vector and the fourth vector part of the magnetic sensor are iterated to obtain the corrected angular position of the magnetic sensor
Figure QLYQS_60
。/>
CN202310460963.9A 2023-04-26 2023-04-26 Sea cable detection robot attitude estimation method based on second-order hybrid filtering Active CN116182871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310460963.9A CN116182871B (en) 2023-04-26 2023-04-26 Sea cable detection robot attitude estimation method based on second-order hybrid filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310460963.9A CN116182871B (en) 2023-04-26 2023-04-26 Sea cable detection robot attitude estimation method based on second-order hybrid filtering

Publications (2)

Publication Number Publication Date
CN116182871A true CN116182871A (en) 2023-05-30
CN116182871B CN116182871B (en) 2023-07-07

Family

ID=86434830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310460963.9A Active CN116182871B (en) 2023-04-26 2023-04-26 Sea cable detection robot attitude estimation method based on second-order hybrid filtering

Country Status (1)

Country Link
CN (1) CN116182871B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103822633A (en) * 2014-02-11 2014-05-28 哈尔滨工程大学 Low-cost attitude estimation method based on second-order measurement update
CN105261037A (en) * 2015-10-08 2016-01-20 重庆理工大学 Moving object detection method capable of automatically adapting to complex scenes
CN106500721A (en) * 2016-09-27 2017-03-15 哈尔滨工程大学 A kind of underwater robot dual redundant attitude detection system
CN108693547A (en) * 2018-06-05 2018-10-23 河海大学 A kind of navigation system for underwater bathyscaph and accurate three-point positioning method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103822633A (en) * 2014-02-11 2014-05-28 哈尔滨工程大学 Low-cost attitude estimation method based on second-order measurement update
CN105261037A (en) * 2015-10-08 2016-01-20 重庆理工大学 Moving object detection method capable of automatically adapting to complex scenes
CN106500721A (en) * 2016-09-27 2017-03-15 哈尔滨工程大学 A kind of underwater robot dual redundant attitude detection system
CN108693547A (en) * 2018-06-05 2018-10-23 河海大学 A kind of navigation system for underwater bathyscaph and accurate three-point positioning method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨澜: "基于多源信息融合的车辆航姿估计技术研究", 《中国优秀硕士论文全文数据库》 *
黄浩乾 等: "基于扰动观测器的AUV固定时间积分滑模控制方法", 《中国惯性技术学报》 *

Also Published As

Publication number Publication date
CN116182871B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
KR102017404B1 (en) How to update the full posture angle of agricultural machinery based on 9 axis MEMS sensor
CN108827299B (en) Aircraft attitude calculation method based on improved quaternion second-order complementary filtering
CN108225308B (en) Quaternion-based attitude calculation method for extended Kalman filtering algorithm
CN112013836B (en) Attitude heading reference system algorithm based on improved adaptive Kalman filtering
Li et al. Effective adaptive Kalman filter for MEMS-IMU/magnetometers integrated attitude and heading reference systems
US9417091B2 (en) System and method for determining and correcting field sensors errors
Del Rosario et al. Computationally efficient adaptive error-state Kalman filter for attitude estimation
JP5861235B2 (en) Method for estimating the orientation of an object more accurately and attitude control system implementing the method
CN108731676B (en) Attitude fusion enhanced measurement method and system based on inertial navigation technology
CN111551174A (en) High-dynamic vehicle attitude calculation method and system based on multi-sensor inertial navigation system
CN111721288B (en) Zero offset correction method and device for MEMS device and storage medium
CN110702113B (en) Method for preprocessing data and calculating attitude of strapdown inertial navigation system based on MEMS sensor
CN108534772B (en) Attitude angle acquisition method and device
CN110887480A (en) Flight attitude estimation method and system based on MEMS sensor
CN107860382B (en) Method for measuring attitude by applying AHRS under geomagnetic anomaly condition
CN110567492A (en) Low-cost MEMS inertial sensor system-level calibration method
CN111189474A (en) Autonomous calibration method of MARG sensor based on MEMS
CN106595669B (en) Method for resolving attitude of rotating body
Sokolović et al. INS/GPS navigation system based on MEMS technologies
CN114608517B (en) Gesture resolving method applied to agricultural unmanned aerial vehicle plant protection operation
CN110207647B (en) Arm ring attitude angle calculation method based on complementary Kalman filter
CN111649747A (en) IMU-based adaptive EKF attitude measurement improvement method
CN108871319B (en) Attitude calculation method based on earth gravity field and earth magnetic field sequential correction
CN112985384A (en) Anti-interference magnetic course angle optimization system
CN112033405B (en) Indoor environment magnetic anomaly real-time correction and navigation method and device

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
GR01 Patent grant
GR01 Patent grant