CN105937911A - Magnetic sensor attitude calculation method - Google Patents
Magnetic sensor attitude calculation method Download PDFInfo
- Publication number
- CN105937911A CN105937911A CN201610517475.7A CN201610517475A CN105937911A CN 105937911 A CN105937911 A CN 105937911A CN 201610517475 A CN201610517475 A CN 201610517475A CN 105937911 A CN105937911 A CN 105937911A
- Authority
- CN
- China
- Prior art keywords
- magnetic sensor
- sin
- theta
- angle
- cos
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
Abstract
The invention relates to a magnetic sensor attitude calculation method. The calculation method comprises the following steps: using a non-orthogonal magnetic sensor to measure an elastomer when the elastomer rotates in 360 degrees, subjecting measured data to a filtering treatment by adopting a least square method; substituting the filtered data measured by the magnetic sensor into an integral model to calculate the model function; according to the model function, calculating the pitch angle; calculating the roll angle when the data measure by the non-orthogonal magnetic sensor is zero, and repeating the steps mentioned above so as to calculate the magnetic sensor attitude in real time. The pitch angle is measured on the basis of all data that is measured by a magnetic sensor when an elastomer rotates in 360 degrees, and thus the results are more accurate.
Description
Technical field
The present invention relates to attitude measurement field, be specifically related to a kind of Magnetic Sensor attitude algorithm method.
Background technology
Under high dynamic environment, the attitude algorithm of SINS is the key technology improving system accuracy.Attitude algorithm refers to
The output computational analysis utilizing carrier sensor obtains attitude information, including course angle, the angle of pitch, roll angle.To making height
For dynamic motion is in the carriers such as the guided missile shell of high dynamic environment, attitude measurement accuracy is to determine its SINS
The key factor that can normally work.
Rolling-airframe is around its longitudinal axis high speed rotating, and the range of high accuracy gyroscope instrument is limited, it is difficult to apply in high speed Gao Xuan
Missile-borne environment.Earth's magnetic field detection has that fast response time, volume are little, anti high overload ability strong, without advantages such as accumulated errors,
The conventional ammunition body attitude being suitable for high speed Gao Xuan is measured.
Magnetic Sensor measures the method for body attitude various ways, wherein, and the nonopiate Magnetic Sensor group of two sensors
Closing measurement method uses the Magnetic Sensor of two nonopiate installations to gather the earth's magnetic field data of missile rotation one circle, revolves according to body
When turning around, the angle of pitch and course angle are almost unchanged, solve body roll angle.Nonopiate magnetic sensor combination measurement method resolves
The carrier angle of pitch has two kinds of algorithms, zero crossings method and extreme value ratio method.Two kinds of algorithms can obtain the moment a certain to body
Pose estimation value, but when zero crossings method and extreme value ratio method all make use of missile rotation one to enclose in sampled data
Particular point carries out computing, and when sampled value error is less, the error of pose estimation value is the least, and sampled value is done at random
When disturbing error increase, attitude error is consequently increased, and algorithm is vulnerable to the impact of random disturbances.
Summary of the invention
It is an object of the invention to overcome existing zero crossings method and the deficiency of extreme value ratio method, propose a kind of Magnetic Sensor appearance
State calculation method.
The technical scheme realizing the object of the invention is: a kind of Magnetic Sensor attitude algorithm method, includes following steps:
Step 1, employing method of least square are filtered place to the missile rotation nonopiate Magnetic Sensor measurement data of a week
Reason;
Step 2, filtered Magnetic Sensor measurement data is input in integral model calculate pattern function;
Step 3, solve the angle of pitch according to pattern function;
Step 4, to calculate nonopiate Magnetic Sensor measurement data be roll angle when zero;
Step 5, repetition step 1 are to step 4 real-time resolving Magnetic Sensor attitude.
Compared with prior art, the invention have the benefit that the integration ratio method of the present invention is to utilize bullet rotation to turn around
In the range of all data of Magnetic Sensor carry out calculating the angle of pitch;One is only taken at each swing circle relative to extreme value ratio method
Individual data, integral model obtains multi-group data at each swing circle, and in the case of noise variance is the biggest, the present invention bows
The resolution error at the elevation angle is the least relative to extreme value ratio method.
Accompanying drawing explanation
Fig. 1 is the Magnetic Sensor attitude algorithm method flow diagram of the present invention.
Fig. 2 is two axial magnetic sensor scheme of installation in the embodiment of the present invention.
Detailed description of the invention
In conjunction with Fig. 1, a kind of Magnetic Sensor attitude algorithm method of the present invention, comprise the steps:
Step 1, employing method of least square are filtered place to the missile rotation nonopiate Magnetic Sensor measurement data of a week
Reason;
Step 2, filtered Magnetic Sensor measurement data is input in integral model calculate pattern function;
Step 3, solve the angle of pitch according to pattern function;
Step 4, to calculate nonopiate Magnetic Sensor measurement data be roll angle when zero;
Step 5, repetition step 1 are to step 4 real-time resolving Magnetic Sensor attitude.
Further, the pattern function f (θ described in step 2m) it is by two nonopiate Magnetic Sensor measurement data HS1With
HS2All sampled points in rotary course are integrated calculating, and do scale operation the most again, and concrete formula is:
Wherein, ψ represents course angle, θmRepresenting the angle of pitch, γ represents roll angle, and h is the scalar size of geomagnetic fieldvector H,
λ is missile coordinate system Ox1y1z1Middle Magnetic Sensor S2 and Ox1Axle clamp angle.
Further, according to pattern function f (θ described in step 3m) solve pitching angle thetamDetailed process be:
In formula,
Two parameters u and v can not be zero simultaneously.
With specific embodiment, the method for the present invention is described further below in conjunction with the accompanying drawings.
Embodiment
Magnetic intensity vector H is in missile coordinate system Ox1y1z1In expression formula HbIt is expressed as:
Wherein, ψ represents course angle, θmRepresenting the angle of pitch, γ represents roll angle, and h is that the scalar of geomagnetic fieldvector H is big
Little.
As in figure 2 it is shown, two non-orthogonal first uniaxial magnetic quantity sensor S1 and the second uniaxial magnetic quantity sensor S2 are respectively mounted
Ox in missile coordinate system1y1z1Initial point on, Ox1Axle overlaps with the body longitudinal axis, and two sensitive axes are all at Ox1z1In plane,
S1 is along Oz1Axle is installed, S2 and Ox1Axle is that λ angle is installed.
First uniaxial magnetic quantity sensor S1 and the measured value H of the second uniaxial magnetic quantity sensor S2S1And HS2With body attitude angle θm、
The expression formula of γ, h is:
HS1=h (cos γ sin ψ cos θm+sinγsinθm)
HS2=h (cos θmcosψcosλ+cosγsinψcosθmsinλ+sinγsinθmsinλ)
Wherein, λ is S2 and Ox1Axle clamp angle;
Integral mathematics model:
Wherein, N represents that bullet revolves the total sampling number turned around, and k represents sampling instant;WithRepresent the integral operation about roll angle γ;WithRepresent that bullet rotation is turned around
Two sensor sample values HS1And HS2The quadratic sum computing of discrete sampling point;
When bullet rotation is turned around, it is assumed that included angle X and course angle ψ are constant, amassing by two sensor sample value quadratic sums
Partite transport is calculated, and obtains a f (θm) value;Obtain f (θm) solution, i.e. can get pitching angle thetamValue.HS1Or HS2For
When zero, eliminate unknown number magnetic field intensity scalar h, the estimated value of roll angle γ can be obtained.
As it is shown in figure 1, the present invention uses integration ratio method to calculate body attitude angle specifically includes following steps:
Step 1, by gather one circle magnetic sensor data carry out method of least square filtering
(1) when filter times is less than or equal to designated value p, in the present embodiment, p takes 10, uses to increase and remembers, gradually
Introduce and filter:
(2) when filter times is more than p, fixed memory is used to filter:
In formula, r (k) represents k instance sample value,Represent the least squares filtering value in k moment.
The sampled value of Magnetic Sensor first passes through wave filter and is filtered, after filtering corresponding noise error, then input integral mould
Type calculates pattern function f (θm) value.
Step 2, computation model function f (θm)
Order: HS1=h (d2cosγ+e2sinγ)
HS2=h (a2+b2cosγ+c2sinγ)
Wherein,
H is calculated according to wave filter outputS1About θmIntegral expression
Obtain
Step 3, according to pattern function f (θm) solve pitching angle thetam:
By sin2θm=1-cos2θmF (θ will be substituted intom) expression formula, obtain about cos2θmExpression formula:
cos2θm(2cos2ψcos2λ+sin2ψsin2λ-sin2λ-f(θm)sin2ψ+f(θm))=f (θm)-sin2λ
Assume that denominator is not equal to zero, solve cos θmAnd sin θm, for obtaining pitching angle thetamMore general expression formula, avoids simultaneously
Introduce be not equal to zero it is assumed that do such as down conversion:
Arrangement can obtain:
uvsin2θm=u (u-v) cos2θm
Finally, pitching angle theta is obtainedmExpression formula:
In formula, two parameters u and v can not be zero simultaneously;
Pitching angle thetamInitial value value is identical with firing angle quadrant, subsequently value and f (θm) extreme point relevant, f (θm) every
After its extreme point, current period pitching angle thetamValue should change the angle of pitch quadrant in previous cycle.
Step 4, to calculate nonopiate Magnetic Sensor measurement data be roll angle when zero
In a week of missile rotation, can be approximated to be uniform rotation, and course angle ψ and pitching angle theta are almost unchanged, can
Obtain the roll angle γ angle value of body a certain particular moment, the roll in one week interior all moment of missile rotation can be calculated
Angle γ.Assume that particular moment is HS1Or HS2Zero point, measured value HS1Or HS2When being zero, unknown number magnetic can be eliminated
Field intensity scalar h, reduces the interference magnetic field environment impact on result of calculation around.
The measured value H of (1) first Magnetic Sensor S1S1When=0:
cosγsinψcosθm+sinγsinθm=0
Arrangeγ ∈ [-π, π]
In formula, two parameters ψ of function and θmIt is asynchronously zero;
Try to achieve the roll angle γ in current K cycleKShould have positive and negative two values, the most corresponding 1,3 quadrants or 2,4 as
Limit, now should be according to previous cycle roll angle γK-1With the rotational speed omega of body estimation current period the positive and negative situation of roll angle,
Choose roll angle γKValue.
Bullet often revolves and turns around, and obtains Magnetic Sensor output valve HS1Maximum HS1maxWith minima HS1min, utilize
Obtain HS1maxAnd HS1minMoment point t (HS1max) and t (HS1min), calculate ω=2 (t (HS1max)-t(HS1min))。
OrderWherein T is sample period time;γKPositive and negative situation withPositive and negative identical.
The measured value H of (2) second Magnetic Sensor S2S2When=0:
cosθmcosψcosλ+cosγsinψcosθmsinλ+sinγsinθmSin λ=0
In formula,
When | sin λ | > | cos θmCos ψ | time, the measured value H of the second Magnetic Sensor S2S2There are two zero points, current K week
Phase roll angle γKTwo are had to solve γ1,KAnd γ2,K, now should calculate by the roll angle γ in K-1 cycleK-1Plus body rotational speed omega
The roll angle approximation of the current period obtainedRoll angle takesWithThe γ that smaller is corresponding;
When | sin λ |=| cos θmCos ψ | time, the measured value H of the second Magnetic Sensor S2S2There is a zero point;
When | sin λ | < | cos θmCos ψ | time, the measured value H of the second Magnetic Sensor S2S2Not necessarily there is zero point, now try to achieve
Roll angle γ is inaccurate.
So far, complete once to update;
Step 5, the step 1 that repeats i.e. realize sensor attitude and update to step 4.
Claims (3)
1. a Magnetic Sensor attitude algorithm method, it is characterised in that comprise the steps:
The missile rotation nonopiate Magnetic Sensor measurement data of a week is filtered processing by step 1, employing method of least square;
Step 2, filtered Magnetic Sensor measurement data is input in integral model calculate pattern function;
Step 3, solve the angle of pitch according to pattern function;
Step 4, to calculate nonopiate Magnetic Sensor measurement data be roll angle when zero;
Step 5, repetition step 1 are to step 4 real-time resolving Magnetic Sensor attitude.
Magnetic Sensor attitude algorithm method the most according to claim 1, it is characterised in that the mould described in step 2
Type function f (θm) it is by two nonopiate Magnetic Sensor measurement data HS1And HS2All sampled points in rotary course
Being integrated calculating, do scale operation the most again, concrete formula is:
Wherein, ψ represents course angle, θmRepresenting the angle of pitch, γ represents roll angle, and h is the scalar size of geomagnetic fieldvector H,
λ is missile coordinate system Ox1y1z1Middle Magnetic Sensor S2 and Ox1Axle clamp angle.
Magnetic Sensor attitude algorithm method the most according to claim 1, it is characterised in that basis described in step 3
Pattern function f (θm) solve pitching angle thetamDetailed process be:
θm∈[-π/2,π/2]
In formula,
Parameter u and v can not be zero simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610517475.7A CN105937911A (en) | 2016-07-01 | 2016-07-01 | Magnetic sensor attitude calculation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610517475.7A CN105937911A (en) | 2016-07-01 | 2016-07-01 | Magnetic sensor attitude calculation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105937911A true CN105937911A (en) | 2016-09-14 |
Family
ID=56873203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610517475.7A Pending CN105937911A (en) | 2016-07-01 | 2016-07-01 | Magnetic sensor attitude calculation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105937911A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106595669A (en) * | 2016-12-27 | 2017-04-26 | 南京理工大学 | Attitude calculation method of rotating body |
CN107036576A (en) * | 2016-11-28 | 2017-08-11 | 南京理工大学 | Real-time resolving method based on difference coefficient method magnetic survey Rotary aircraft roll angle |
CN107063254A (en) * | 2016-12-27 | 2017-08-18 | 南京理工大学 | A kind of attitude algorithm method of gyro earth magnetism combination |
WO2018192004A1 (en) * | 2017-04-21 | 2018-10-25 | 上海交通大学 | Rigid body attitude calculation method based on function iteration integral |
CN109387205A (en) * | 2018-11-30 | 2019-02-26 | 歌尔科技有限公司 | Obtain attitude angle amplitude of variation method, equipment and storage medium |
CN110017809A (en) * | 2019-04-03 | 2019-07-16 | 北京理工大学 | The method for resolving attitude of flight vehicle using Geomagnetism Information and light stream sensor |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103954286A (en) * | 2014-04-24 | 2014-07-30 | 南京航空航天大学 | On-orbit iterative calibration method for multi-error model of microsatellite magnetic sensor |
CN104913777A (en) * | 2015-05-15 | 2015-09-16 | 上海集成电路研发中心有限公司 | Error compensation algorithm of geomagnetic sensor application system |
CN105136149A (en) * | 2015-09-11 | 2015-12-09 | 北京航空航天大学 | Positioning device and positioning method for magnetic field of circular coils |
CN105716610A (en) * | 2016-01-28 | 2016-06-29 | 北京航空航天大学 | Carrier attitude and heading calculation method assisted by geomagnetic field model and system |
-
2016
- 2016-07-01 CN CN201610517475.7A patent/CN105937911A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103954286A (en) * | 2014-04-24 | 2014-07-30 | 南京航空航天大学 | On-orbit iterative calibration method for multi-error model of microsatellite magnetic sensor |
CN104913777A (en) * | 2015-05-15 | 2015-09-16 | 上海集成电路研发中心有限公司 | Error compensation algorithm of geomagnetic sensor application system |
CN105136149A (en) * | 2015-09-11 | 2015-12-09 | 北京航空航天大学 | Positioning device and positioning method for magnetic field of circular coils |
CN105716610A (en) * | 2016-01-28 | 2016-06-29 | 北京航空航天大学 | Carrier attitude and heading calculation method assisted by geomagnetic field model and system |
Non-Patent Citations (1)
Title |
---|
JIANLIANG ZHU,ETC,: "A Novel Attitude Estimation Algorithm Based on the Non-Orthogonal Magnetic Sensors", 《SENSORS》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107036576A (en) * | 2016-11-28 | 2017-08-11 | 南京理工大学 | Real-time resolving method based on difference coefficient method magnetic survey Rotary aircraft roll angle |
CN106595669A (en) * | 2016-12-27 | 2017-04-26 | 南京理工大学 | Attitude calculation method of rotating body |
CN107063254A (en) * | 2016-12-27 | 2017-08-18 | 南京理工大学 | A kind of attitude algorithm method of gyro earth magnetism combination |
CN106595669B (en) * | 2016-12-27 | 2023-04-11 | 南京理工大学 | Method for resolving attitude of rotating body |
CN107063254B (en) * | 2016-12-27 | 2023-08-25 | 南京理工大学 | Gesture resolving method for gyros and geomagnetic combination |
WO2018192004A1 (en) * | 2017-04-21 | 2018-10-25 | 上海交通大学 | Rigid body attitude calculation method based on function iteration integral |
CN109387205A (en) * | 2018-11-30 | 2019-02-26 | 歌尔科技有限公司 | Obtain attitude angle amplitude of variation method, equipment and storage medium |
CN110017809A (en) * | 2019-04-03 | 2019-07-16 | 北京理工大学 | The method for resolving attitude of flight vehicle using Geomagnetism Information and light stream sensor |
CN110017809B (en) * | 2019-04-03 | 2021-08-27 | 北京理工大学 | Method for resolving aircraft attitude by using geomagnetic information and optical flow sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105937911A (en) | Magnetic sensor attitude calculation method | |
CN107270893B (en) | Lever arm and time asynchronous error estimation and compensation method for real estate measurement | |
CN104655131B (en) | Inertial navigation Initial Alignment Method based on ISTSSRCKF | |
CN106979780B (en) | A kind of unmanned vehicle real-time attitude measurement method | |
CN107063254B (en) | Gesture resolving method for gyros and geomagnetic combination | |
CN106679649A (en) | Hand movement tracking system and tracking method | |
CN109550219B (en) | Method and system for determining motion information and mobile device | |
CN103712598B (en) | Attitude determination method of small unmanned aerial vehicle | |
CN104698485A (en) | BD, GPS and MEMS based integrated navigation system and method | |
CN103175502A (en) | Attitude angle detecting method based on low-speed movement of data glove | |
CN112798021B (en) | Inertial navigation system inter-travelling initial alignment method based on laser Doppler velocimeter | |
CN106709222B (en) | IMU drift compensation method based on monocular vision | |
CN107255474A (en) | A kind of PDR course angles of fusion electronic compass and gyroscope determine method | |
CN114061591B (en) | Contour line matching method based on sliding window data backtracking | |
CN104677353A (en) | Method for realizing course angle detection of mechanical vehicle body based on MEMS sensor | |
CN106595669B (en) | Method for resolving attitude of rotating body | |
Feng et al. | A new method of initial alignment and self-calibration based on dual-axis rotating strapdown inertial navigation system | |
CN106767925A (en) | The location parameter of inertial navigation system three identification alignment methods with twin shaft indexing mechanism | |
CN110308459A (en) | The non-cooperation satellite relative pose measurement method of independent of model | |
CN113218391A (en) | Attitude calculation method based on EWT algorithm | |
CN107860382A (en) | A kind of method for measuring posture using AHRS in the case of magnetic anomaly | |
CN108426584A (en) | The calibration method of automobile multisensor | |
CN111912402B (en) | Geomagnetic information assisted GPS (global positioning system) -based attitude measurement method and device for high-rotation carrier | |
CN107036576B (en) | Real-time resolving method based on difference coefficient method magnetic survey Rotary aircraft roll angle | |
CN103743400B (en) | A kind of magnetic heading resolver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160914 |
|
RJ01 | Rejection of invention patent application after publication |