CN106197475A - Gyro based on Sequential filter and Magnetic Sensor combined calibrating method - Google Patents
Gyro based on Sequential filter and Magnetic Sensor combined calibrating method Download PDFInfo
- Publication number
- CN106197475A CN106197475A CN201610497459.6A CN201610497459A CN106197475A CN 106197475 A CN106197475 A CN 106197475A CN 201610497459 A CN201610497459 A CN 201610497459A CN 106197475 A CN106197475 A CN 106197475A
- Authority
- CN
- China
- Prior art keywords
- matrix
- represent
- magnetometer
- gyro
- state
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C25/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
Abstract
The invention provides a kind of gyro based on Sequential filter and Magnetic Sensor combined calibrating method, the present invention fully changes attitude in uniform magnetic field, and the measured value of synchronous acquisition magnetometer and gyro, owing to the data of magnetometer and gyro are provided commonly for the combined calibrating that the magnetometer inner parameter of the present invention, magnetometer external parameter and gyro zero are inclined, therefore demarcate effect good.Can go out magnetometer inside and outside portion parameter with real-time calibration and gyro zero is inclined, and not affected by any acceleration noise, the equipment that therefore need not in implementation process keeps resting state.The present invention can be additionally used in the attitude registration of Magnetic Sensor and Inertial Measurement Unit (including gyro and accelerometer).
Description
Technical field
The present invention relates to sensor technical field, in particular it relates to a kind of gyro based on Sequential filter and Magnetic Sensor
Combined calibrating method.
Background technology
Gyro and Magnetic Sensor (the latter has another name called magnetometer, gaussmeter) are frequently used for attitude and determine or scientific measurement field.
The angular velocity of gyro sensitive carrier, magnetometer sensitivity environmental magnetic field.When magnetometer is near ferromagnetic material, around magnetometer
Magnetic field distorted, it is impossible to correct measurement goes out magnetic field intensity.Magnetic interference can be divided into Hard Magnetic effect and soft magnetism effect two kinds.Firmly
Magnetic effect is the additivity magnetic disturbance produced by permanent magnet or electric current, and soft magnetism effect is produced by soft magnetic materials induction, is in background
Soft magnetic materials in magnetic field can induce the magnetic field producing self, and the intensity and direction to background magnetic field produces distortion.Except this
Outside, because of manufacturing process imperfection, magnetometer there is also constant multiplier, sensitive axes cross-couplings and biases equal error, therefore,
Before using magnetometer, it is necessary to above error is carried out calibration, i.e. carry out the internal demarcation of magnetometer.
When magnetometer is used together with gyro, it is necessary to carry out magnetometer extrinsic calibration, i.e. demarcate magnetometer and gyro
Between coordinate system misalignment.Soft magnetism effect not only can cause the change of magnetometer inner parameter, also results in magnetometer and top
The coordinate system misalignment of spiral shell changes.Therefore, before the use, the internal demarcation of magnetometer is required for carrying out with extrinsic calibration.
The magnetometer scaling method that presently, there are or require that magnetometer is internal and demarcate and extrinsic calibration is successively carried out respectively, or require quiet
Accelerometer information is gathered under the conditions of state.On the other hand, the zero offset error of low cost gyro (such as MEMS gyro) is relatively big, and often
All being varied from during secondary use, if not doing compensation directly use gyro to measure value, the effect of magnetometer extrinsic calibration will be affected.
Summary of the invention
For defect of the prior art, it is an object of the invention to provide a kind of gyro based on Sequential filter and sense with magnetic
Device combined calibrating method.
The gyro based on Sequential filter provided according to the present invention and Magnetic Sensor combined calibrating method, including walking as follows
Rapid:
Step 1: set up the state-space model of combined calibrating problem;
Step 2: use Sequential filter method to estimate the state of state-space model.
Preferably, in described step 1, the state-space model of combined calibrating problem is as follows:
System equation:
Wherein: the body coordinate system of gyro/accelerometer is expressed as b system, and inertial coodinate system is expressed as i system, i.e. initial time
B system;
In formula:Represent the inertial coodinate system attitude matrix relative to body coordinate system,RepresentTime-derivative,
Representing the angular velocity vector under the b system of gyro to measure, ε represents gyro zero partially,Represent the time-derivative of ε, ngRepresent gyro to measure
Gaussian noise, nεRepresenting the Gaussian noise that gyro zero is inclined, matrix S represents magnetometer parameter matrix,The time of representing matrix S
Derivative, vector h represents magnetometer zero partially,Represent the time-derivative of h, miIt is vectorial for the lower stationary magnetic field represented of i system,Represent
miTime-derivative, nmiRepresent the magnetic field vector error caused because of earth rotation;Wherein: computing a × expression by a three-dimensional to
Amount a=[a1 a2 a3]TConstitute multiplication cross matrix, specifically, a × expansion as follows:
Observational equation:
In formula: ymRepresent the measured value of magnetometer,For attitude matrixTransposition, i.e.Subscript T represents
The transposition computing of vector, nmRepresent the Gaussian noise of magnetometer measured value.
Preferably, the state of the state-space model in step 1 includes outside attitude, magnetometer inner parameter, magnetometer
Parameter, gyro zero are partially and magnetic field vector;Magnetic field vector miInitial value include: the measured value first of magnetometer;Magnetometer parameter
The initial value of matrix S includes: unit matrix or give in advance;The initial value of the inclined ε of gyro zero and the inclined h of magnetometer zero elects zero as;Cause
The relation of state ornamental, attitudeInitial value be defined as unit matrix, corresponding initial variance matrix is zero.
Preferably, described step 2 includes: use Sequential filter method to estimate the state of state-space model, described sequence
Pass through filtering method to include: EKF, or particle filter method;Specifically, when using EKF, including
Following steps:
Step 2.1: definition status error delta x is estimated valueDeduct true value x, i.e.δ represents corresponding states
Error, and Attitude estimation valueWith attitude true valueAnd the contextual definition of attitude error ψ is
Then corresponding state error vector representation is δ x ≡ [ψT δεT vecT(δS) δhT δmiT]T, vec () represents will
The computing that matrix gets up according to the sequential concatenation of row;ψTRepresent the transposition of attitude error ψ, εTRepresent turning of gyro zero deflection amount ε
Put, hT、miTRepresent h, m respectivelyiTransposition;
The approximately linear state-space model of state error is given as follows
Wherein: noise
In formula:Represent the time-derivative of δ x, matrix F, G, HmRepresent sytem matrix, system input matrix, observation respectively
Matrix;I representation unit matrix, the subscript representation unit order of matrix number of I;0 represents null matrix, and the subscript of 0 represents null matrix
Ranks number;SymbolRepresenting matrix and the Kronecker product of matrix;
Step 2.2: without loss of generality, it is assumed that when the size of earth-magnetic field vector is 1, the result of EKF is entered
The following rescaling of row;Adjustment formula is as follows:
Srs=| | mi| | S,
mi rs=mi/||mi||;
In formula: SrsRepresent the magnetometer matrix after rescaling, mi rsRepresent the magnetic field vector after rescaling, | | | |
Represent modulo operation.
Compared with prior art, the present invention has a following beneficial effect:
In the present invention, magnetometer is fixing with gyro is connected, and fully changes attitude, and synchronous acquisition magnetic force in uniform magnetic field
Instrument and the measured value of gyro, owing to the data of magnetometer and gyro are provided commonly for the magnetometer inner parameter of the present invention, magnetometer
External parameter and the inclined combined calibrating of gyro zero, therefore to determine effect good for zero standard.Magnetometer inside and outside portion ginseng can be gone out with real-time calibration
Number and gyro zero partially, and are not affected by any acceleration noise, and the equipment that therefore need not in implementation process keeps static
State.The present invention can be additionally used in the attitude registration of Magnetic Sensor and Inertial Measurement Unit (including gyro and accelerometer).
Detailed description of the invention
Below in conjunction with specific embodiment, the present invention is described in detail.Following example will assist in the technology of this area
Personnel are further appreciated by the present invention, but limit the present invention the most in any form.It should be pointed out that, the ordinary skill to this area
For personnel, without departing from the inventive concept of the premise, it is also possible to make some changes and improvements.These broadly fall into the present invention
Protection domain.
The gyro based on Sequential filter provided according to the present invention and Magnetic Sensor combined calibrating method, including walking as follows
Rapid:
Step 1: set up the state-space model of combined calibrating problem;
Step 2: use Sequential filter method to estimate the state of state-space model.
In described step 1, the state-space model of combined calibrating problem is as follows:
System equation:
In formula:Represent the inertial coodinate system attitude matrix relative to body coordinate system,RepresentTime-derivative,
Representing the angular velocity vector under the b system of gyro to measure, ε represents gyro zero partially,Represent the time-derivative of ε, ngRepresent gyro to measure
Gaussian noise, nεRepresenting the Gaussian noise that gyro zero is inclined, matrix S represents magnetometer parameter matrix,The time of representing matrix S
Derivative, vector h represents magnetometer zero partially,Represent the time-derivative of h, miIt is vectorial for the lower stationary magnetic field represented of i system,Represent
miTime-derivative, nmiRepresent the magnetic field vector error caused because of earth rotation;Wherein: computing a × expression by a three-dimensional to
Amount a=[a1 a2 a3]TConstitute multiplication cross matrix, specifically, a × expansion as follows:
Observational equation:
In formula: ym represents the measured value of magnetometer,For attitude matrixTransposition, i.e.Subscript T represents
The transposition computing of vector, nmRepresent the Gaussian noise of magnetometer measured value.
Specifically, it is not general, it is assumed that the magnetic field intensity of uniform magnetic field is 1, i.e. | | mi| |=1.The shape of model above
State includes that attitude, magnetometer inner parameter, magnetometer external parameter, gyro zero are partially and magnetic field vector.Magnetic field vector miInitial
Value is chosen as the measured value first of magnetometer, and the initial value of magnetometer parameter matrix S is chosen as unit matrix or gives in advance, top
The initial value of spiral shell zero inclined ε and magnetometer parameter matrix h is chosen as zero.Because of the relation of state ornamental, attitudeInitial value true
Being set to unit matrix, corresponding initial variance matrix is zero.
Based on model above, Sequential filter method (such as EKF, particle filter etc.) can be used to estimate shape
The state of state space model.In order to meet | | mi| | the state constraint of=1, need the result to Sequential filter to carry out following yardstick
Adjust: Srs=| | mi| | S, mi rs=mi/||mi| |, wherein: SrsRepresent the magnetometer matrix after rescaling, mi rsRepresent yardstick
Magnetic field vector after adjustment, | | | | represent modulo operation.
Specific implementation process is briefly illustrated below as a example by EKF:
Definition status error delta x is estimated valueDeduct true value x, i.e.And Attitude estimation valueWith attitude true valueAnd the contextual definition of attitude error ψ isThen corresponding state error vector representation is δ x=[ψT δεT
vecT(δS) δhT δmiT]T, upper T represents that matrix is risen by the transposition computing of vector, vec () expression according to the sequential concatenation of row
The computing come;ψTRepresent the transposition of attitude error ψ, εTRepresent the transposition of gyro zero deflection amount ε, hT、miTRepresent h, m respectivelyiDress
Put;
The linear approximation state-space model of state error is given as follows
Wherein noiseMatrix
In formula: matrix F, G, HmRepresent sytem matrix, system input matrix and observing matrix respectively;I3Represent three rank units
Matrix;SymbolRepresenting matrix and the Kronecker product of matrix;
The result of EKF is carried out following rescaling: Srs=| | mi| | S, mi rs=mi/||mi||。
Above the specific embodiment of the present invention is described.It is to be appreciated that the invention is not limited in above-mentioned
Particular implementation, those skilled in the art can make a variety of changes within the scope of the claims or revise, this not shadow
Ring the flesh and blood of the present invention.In the case of not conflicting, the feature in embodiments herein and embodiment can any phase
Combination mutually.
Claims (4)
1. a gyro based on Sequential filter and Magnetic Sensor combined calibrating method, it is characterised in that comprise the steps:
Step 1: set up the state-space model of combined calibrating problem;
Step 2: use Sequential filter method to estimate the state of state-space model.
Gyro based on Sequential filter the most according to claim 1 and Magnetic Sensor combined calibrating method, it is characterised in that
In described step 1, the state-space model of combined calibrating problem is as follows:
System equation:
Wherein: the body coordinate system of gyro/accelerometer is expressed as b system, and inertial coodinate system is expressed as the b of i system, i.e. initial time
System;
In formula:Represent the inertial coodinate system attitude matrix relative to body coordinate system,RepresentTime-derivative,Represent
Angular velocity vector under the b system of gyro to measure, ε represents gyro zero partially,Represent the time-derivative of ε, ngRepresent the height of gyro to measure
This noise, nεRepresenting the Gaussian noise that gyro zero is inclined, matrix S represents magnetometer parameter matrix,The time-derivative of representing matrix S,
Vector h represents magnetometer zero partially,Represent the time-derivative of h, miIt is vectorial for the lower stationary magnetic field represented of i system,Represent miTime
Between derivative, nmiRepresent the magnetic field vector error caused because of earth rotation;Wherein: computing a × expression is by three-dimensional vector a=
[a1 a2 a3]TConstitute multiplication cross matrix, specifically, a × expansion as follows:
Observational equation:
In formula: ymRepresent the measured value of magnetometer,For attitude matrixTransposition, i.e.Subscript T representing matrix or
The transposition computing of vector, nmRepresent the Gaussian noise of magnetometer measured value.
Gyro based on Sequential filter the most according to claim 1 and Magnetic Sensor combined calibrating method, it is characterised in that
The state of the state-space model in step 1 include attitude, magnetometer inner parameter, magnetometer external parameter, gyro zero partially and
Magnetic field vector;Magnetic field vector miInitial value include: the measured value first of magnetometer;The initial value bag of magnetometer parameter matrix S
Include: unit matrix or give in advance;The initial value of the inclined ε of gyro zero and the inclined h of magnetometer zero elects zero as;Pass because of state ornamental
System, attitudeInitial value be defined as unit matrix, corresponding initial variance matrix is zero.
Gyro based on Sequential filter the most according to claim 3 and Magnetic Sensor combined calibrating method, it is characterised in that
Described step 2 includes: using Sequential filter method to estimate the state of state-space model, described Sequential filter method includes:
EKF, or particle filter method;Specifically, when using EKF, comprise the steps:
Step 2.1: definition status error delta x is estimated valueDeduct true value x, i.e.δ represents the error of corresponding states,
And Attitude estimation valueWith attitude true valueAnd the contextual definition of attitude error ψ isThen corresponding state
Error vector is expressed as δ x ≡ [ψT δεT vecT(δS) δhT δmiT]T, vec () represents matrix according to the sequential concatenation arranged
The computing got up;ψTRepresent the transposition of attitude error ψ, εTRepresent the transposition of gyro zero deflection amount ε, hT、miTRepresent h, m respectivelyi's
Transposition;
The approximately linear state-space model of state error is given as follows
Wherein: noise
In formula:Represent the time-derivative of δ x, matrix F, G, HmRepresent sytem matrix, system input matrix and observation square respectively
Battle array;I representation unit matrix, the subscript representation unit order of matrix number of I;0 represents null matrix, and the subscript of 0 represents the row of null matrix
Columns;SymbolRepresenting matrix and the Kronecker product of matrix;
Step 2.2: assuming that when the size of earth-magnetic field vector is 1, the result of EKF is carried out following rescaling;
Adjustment formula is as follows:
Srs=| | mi| | S,
mi rs=mi/||mi||;
In formula: SrsRepresent the magnetometer matrix after rescaling, mi rsRepresent the magnetic field vector after rescaling, | | | | represent
Modulo operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610497459.6A CN106197475B (en) | 2016-06-29 | 2016-06-29 | Gyro and Magnetic Sensor combined calibrating method based on Sequential filter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610497459.6A CN106197475B (en) | 2016-06-29 | 2016-06-29 | Gyro and Magnetic Sensor combined calibrating method based on Sequential filter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106197475A true CN106197475A (en) | 2016-12-07 |
CN106197475B CN106197475B (en) | 2019-06-21 |
Family
ID=57463659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610497459.6A Active CN106197475B (en) | 2016-06-29 | 2016-06-29 | Gyro and Magnetic Sensor combined calibrating method based on Sequential filter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106197475B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107389092A (en) * | 2017-06-27 | 2017-11-24 | 上海交通大学 | A kind of Gyro Calibration method based on Magnetic Sensor auxiliary |
CN110375773A (en) * | 2019-07-29 | 2019-10-25 | 兰州交通大学 | MEMS inertial navigation system posture initial method |
CN115839726A (en) * | 2023-02-23 | 2023-03-24 | 湖南二零八先进科技有限公司 | Method, system and medium for jointly calibrating magnetic sensor and angular speed sensor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0838692A1 (en) * | 1996-10-22 | 1998-04-29 | Sagem Sa | Cellular telephone with position detection |
CN1291714A (en) * | 1999-10-11 | 2001-04-18 | 中国科学院空间科学与应用研究中心 | Combined geomagnetism aided navigation equipment |
CN105547326A (en) * | 2015-12-08 | 2016-05-04 | 上海交通大学 | Integrated calibration method for gyro and magnetic transducer |
-
2016
- 2016-06-29 CN CN201610497459.6A patent/CN106197475B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0838692A1 (en) * | 1996-10-22 | 1998-04-29 | Sagem Sa | Cellular telephone with position detection |
CN1291714A (en) * | 1999-10-11 | 2001-04-18 | 中国科学院空间科学与应用研究中心 | Combined geomagnetism aided navigation equipment |
CN105547326A (en) * | 2015-12-08 | 2016-05-04 | 上海交通大学 | Integrated calibration method for gyro and magnetic transducer |
Non-Patent Citations (3)
Title |
---|
SEUNG-MIN OH: "Multisensor Fusion for Autonomous UAV Navigation Based on the Unscented Kalman Filter with Sequential Measurement Updates", 《2010 IEEE INTERNATIONAL CONFERENCE ON MULTISENSOR FUSION AND INTEGRATION FOR INTELLIGENT SYSTEMS》 * |
段本印: "地磁辅助惯性组合导航系统技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
穆华等: "水下地磁/惯性组合导航试验分析", 《中国惯性技术学报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107389092A (en) * | 2017-06-27 | 2017-11-24 | 上海交通大学 | A kind of Gyro Calibration method based on Magnetic Sensor auxiliary |
CN110375773A (en) * | 2019-07-29 | 2019-10-25 | 兰州交通大学 | MEMS inertial navigation system posture initial method |
CN115839726A (en) * | 2023-02-23 | 2023-03-24 | 湖南二零八先进科技有限公司 | Method, system and medium for jointly calibrating magnetic sensor and angular speed sensor |
Also Published As
Publication number | Publication date |
---|---|
CN106197475B (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105547326B (en) | Gyro and Magnetic Sensor combined calibrating method | |
Gebre-Egziabher et al. | A non-linear, two-step estimation algorithm for calibrating solid-state strapdown magnetometers | |
Sheinker et al. | Localization in 3-D using beacons of low frequency magnetic field | |
EP3006896B1 (en) | Three-axis digital compass | |
CN101726295B (en) | Unscented Kalman filter-based method for tracking inertial pose according to acceleration compensation | |
CN104931028B (en) | A kind of three axle magneto-electronic compass error compensation methods based on deep learning | |
Dorveaux et al. | Iterative calibration method for inertial and magnetic sensors | |
CN108225308A (en) | A kind of attitude algorithm method of the expanded Kalman filtration algorithm based on quaternary number | |
CN103027657A (en) | Multi-sensor-based endoscope tracking positioning and digital human dynamic synchronous display method | |
Camps et al. | Numerical calibration for 3-axis accelerometers and magnetometers | |
CN105891755A (en) | Aircraft hanging-type fluxgate magnetic gradient tensor instrument correction method | |
CN106197475A (en) | Gyro based on Sequential filter and Magnetic Sensor combined calibrating method | |
US20140222369A1 (en) | Simplified method for estimating the orientation of an object, and attitude sensor implementing such a method | |
CN106353824A (en) | System correction and magnetic interference compensation and fusion method for airborne fluxgate magnetic gradient tensiometer | |
Hu et al. | A robust orientation estimation algorithm using MARG sensors | |
Sun et al. | Adaptive sensor data fusion in motion capture | |
CN103299247A (en) | Apparatuses and methods for dynamic tracking and compensation of magnetic near field | |
CN106068441A (en) | The calibration steps of inertance element | |
CN106709223A (en) | Sampling inertial guidance-based visual IMU direction estimation method | |
CN106370178A (en) | Mobile terminal equipment attitude measurement method and mobile terminal equipment attitude measurement apparatus | |
CN103955002B (en) | Magnetic dipole target location measuring method based on magnetic anomaly first derivative | |
CN107860382A (en) | A kind of method for measuring posture using AHRS in the case of magnetic anomaly | |
CN108871319B (en) | Attitude calculation method based on earth gravity field and earth magnetic field sequential correction | |
CN107389092B (en) | Gyro calibration method based on assistance of magnetic sensor | |
Farrell et al. | A method of calibrating magnetometers on a spinning spacecraft |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |