A kind of magnetic declination computing method based on 9 axle Inertial Measurement UnitsTechnical field
The present invention relates to a kind of magnetic declination computing method, be specifically related to a kind of magnetic declination computing method based on 9 axle Inertial Measurement Units.
Background technology
Magnetic declination is the angle geographically when magnetic north and geographical north; When carrying out seeking north with magnetometer, although precision is higher, magnetometer can only measure the direction when magnetic north, and the relative real north in the direction of magnetic north exists deviation (that is, magnetic declination), brings error can to the north of seeking of navigational system.
Under normal circumstances, tellurian magnetic declination is all calculate on schedule, announces, and in order to searching use, therefore needs just can know by tabling look-up the magnetic declination under now longitude and latitude; Patent " permanent magnet declination measuring meter and measuring method " (application number 200810121769.3) provides a kind of permanent magnet that utilizes to measure the method for magnetic declination, and the method adopts permanent magnet to measure magnetic declination.
Summary of the invention
In order to solve the technical matters existed in prior art, the invention provides a kind of magnetic declination computing method based on 9 axle Inertial Measurement Units.
For solving the problems of the technologies described above, the invention provides a kind of magnetic declination computing method based on 9 axle Inertial Measurement Units, it is characterized in that, comprise the following steps:
First, utilize three axis optical fibre gyro and 3 axis MEMS accelerometer, the method for being aimed at by inertial navigation analytic expression, calculate now relative to the course angle H in geographical northg;
Then, 3 axis MEMS accelerometer and 3 axis MEMS magnetometer is utilized to calculate now relative to the magnetic heading angle H of magnetic northm;
Finally, the course angle H relative to geographical north is calculatedgwith the magnetic heading angle H relative to magnetic northmdifference be exactly the magnetic declination Δ H of now position.
Course angle Hgcomputing method be:
When carrier stationary, calculate initial strap-down matrix T, wherein in strap-down matrix, nine elements are respectively:
In formula:
for the latitude of locality;
ωiefor earth rotation angular speed;
G is local gravitational acceleration;
be respectively the output angle speed of x, y, z three axis optical fibre gyro under carrier coordinate system;
be respectively the output acceleration of x, y, z 3 axis MEMS accelerometer under carrier coordinate system;
Hgmainfor course angle main value;
Calculate course angle Hgfor:
The expression formula of strap-down matrix T is as follows:
In formula: Hgfor course angle, θ is roll angle, and γ is the angle of pitch.
Magnetic heading angle Hmcomputing method be:
When carrier is in stationary state, under geographic coordinate system, the measured value of each axis accelerometer is At=[00g]; Now the measured value of carrier mems accelerometer is Ab=[axayaz],
By Ab=T-1at, calculate:
Under geographic coordinate system, the measured value of the magnetic field intensity of each axle is Mt=[0M0], now the measured value of the 3 axis MEMS magnetometer of carrier is Mb=[mxmymz];
By Mb=T-1mt, calculate magnetic heading angle Hm:
The computing method of magnetic declination Δ H are:
ΔH=Hm-HG
Δ H>0, represents that magnetic declination is now inclined westwards; Δ H<0, represents that magnetic declination is now inclined eastwards.
The beneficial effect that the present invention reaches:
Method of the present invention calculates magnetic declination in real time mainly through inertial sensor and algorithm, the magnetic declination under accurately can calculating any moment, any longitude and latitude in real time, under any attitude of carrier, and is convenient to pass through programming realization in engineering.
Embodiment
The invention will be further described below.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
Principle of the present invention mainly make use of the principle of inertial navigation system initial alignment; First utilize three axis optical fibre gyro and 3 axis MEMS accelerometer, the method for being aimed at by inertial navigation analytic expression, just can accurately calculate now relative to the course angle H in geographical northg; Then 3 axis MEMS accelerometer and 3 axis MEMS magnetometer is utilized just can accurately to calculate now relative to the magnetic heading angle H of magnetic northm; Finally, relative to the course angle H in geographical northgwith the magnetic heading angle H relative to magnetic northmdifference be exactly the magnetic declination Δ H of now position.
Specific embodiment of the invention computing method are as follows:
1) course angle Hgcomputing method;
The method of being aimed at by inertial navigation analytic expression, when carrier stationary, can calculate initial strap-down matrix T, wherein in strap-down matrix T, nine elements are respectively:
In formula:
for the latitude of locality;
ωiefor earth rotation angular speed;
G is local gravitational acceleration;
be respectively the output angle speed of x, y, z three axis optical fibre gyro under carrier coordinate system.
be respectively the output acceleration of x, y, z 3 axis MEMS accelerometer under carrier coordinate system.
Therefore, can calculate now relative to the course angle H in geographical northg, computing method are as follows:
Hgmainfor course angle main value; Calculate course angle Hgfor:
2) magnetic heading angle Hmcomputing method;
The expression formula of strap-down matrix T is as follows:
In formula: Hgfor course angle, θ is roll angle, and γ is the angle of pitch.
When carrier is in stationary state, under geographic coordinate system, the measured value of each axis accelerometer is At=[00g]; Now the measured value of carrier mems accelerometer is Ab=[axayaz], by Ab=T-1at, calculate:
under geographic coordinate system, the measured value of the magnetic field intensity of each axle is Mt=[0M0], now the measured value of the 3 axis MEMS magnetometer of carrier is Mb=[mxmymz]; By Mb=T-1mt, calculate magnetic heading angle Hm:
3) computing method of magnetic declination Δ H;
By the course angle H calculated abovegwith magnetic heading angle Hmdifference be magnetic declination Δ H now:
ΔH=Hm-HG
Δ H>0, represents that magnetic declination is now inclined westwards; Δ H<0, represents that magnetic declination is now inclined eastwards.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.