Method and system for compensating for soft iron magnetic disturbances in a heading reference system
09658064 ยท 2017-05-23
Assignee
Inventors
Cpc classification
G01C19/36
PHYSICS
G01C23/00
PHYSICS
International classification
G01C19/36
PHYSICS
Abstract
A method and system for compensating for significant soft iron magnetic disturbances in a heading reference system, such as an aircraft heading reference system, such as an integrated standby unit; or a vehicle inertial system, provides a heading correction signal to the heading reference system when a detected difference in value between a gyro heading relative to magnetic north and a magnetometer reading during a defined measurement period exceeds a predetermined acceptable threshold value of change, such as one based on the expected gyro drift over that period. Upon receipt of the heading correction signal, the gyro heading is adjusted to maintain an accurate heading relative to true magnetic north. If this threshold value is not exceeded, then the magnetometer reading is used for the heading value. This method is iteratively repeated in order to continually maintain an accurate heading and may be employed for each heading measurement axis.
Claims
1. A method for compensating for soft iron magnetic disturbances in a heading reference system, said system comprising a heading gyro disposed along a heading measurement axis and a magnetometer coupled to said heading gyro for providing an accurate heading relative to magnetic north; said method comprising the steps of: providing an iterative control loop for controlling an output heading value corresponding to true magnetic north, and providing a compensated output heading reference value to said heading reference system from said iterative control loop for compensating for soft iron magnetic disturbances above a predetermined acceptable threshold value, said iterative control loop being configured to perform the steps of: reading and processing a value of data from said magnetometer and said heading gyro for providing a change in each of said values from an immediately previous reading of said values; comparing said change in magnetometer value with said change in gyro value since said immediately previous reading; determining whether any difference in said compared values exceeds an expected gyro drift over a period since said immediately previous reading; and providing a new heading value comprising said gyro change in value plus the immediately previous heading value as an output to said gyro when said difference exceeds said expected gyro drift over said period since said immediately previous reading, said predetermined acceptable threshold value comprising said expected gyro drift; whereby said gyro heading is capable of maintaining said accurate heading in the face of said soft magnetic disturbances.
2. The compensation method in accordance with claim 1 wherein said iterative control loop being further adapted to use said magnetometer reading for said heading value when said difference in said compared values does not exceed said expected gyro drift over said period.
3. The compensation method in accordance with claim 2 further comprising the step of iteratively repeating said steps performed by said iterative control loop for subsequent readings of said magnetometer and gyro data values for maintaining said accurate heading in the face of said soft magnetic disturbances.
4. The compensation method in accordance with claim 1 further comprising the step of iteratively repeating said steps performed by said iterative control loop for subsequent readings of said magnetometer and gyro data values for maintaining said accurate heading in the face of said soft magnetic disturbances.
5. The compensation method in accordance with claim 1 further comprising the step of periodically correcting said gyro heading utilizing data provided from said magnetometer.
6. The compensation method in accordance with claim 1 wherein said compensation method further comprises blending heading gyro measurements with magnetometer measurements, said predetermined acceptable threshold value comprising a gyro error covariance.
7. The compensation method in accordance with claim 6 wherein said blending comprises using a Kalman filter to blend said heading gyro measurements with said magnetometer measurements.
8. The compensation method in accordance with claim 1 wherein said heading gyro comprises a triaxial heading gyro comprising three gyro components each being disposed along a different heading measurement axis, and said magnetometer comprises a triaxial magnetometer comprising three magnetometer components each being disposed along a different heading measurement axis.
9. The compensation method in accordance with claim 1 further comprising the step of correcting said magnetometer for the effect of soft iron magnetic disturbances utilizing data provided from said heading gyro.
10. The compensation method in accordance with claim 9 wherein correcting said magnetometer uses the heading gyro change plus the last magnetometer reading for the magnetometer value.
11. The compensation method in accordance with claim 1 further comprising periodically recalibrating the heading gyro using said magnetometer and at least one accelerometer.
12. The compensation method in accordance with claim 1 wherein said heading reference system comprises an aircraft heading reference system.
13. The compensation method in accordance with claim 12 wherein said aircraft heading reference system comprises an integrated standby unit.
14. The compensation method in accordance with claim 1 wherein said heading reference system comprises a vehicle inertia system.
15. The compensation method in accordance with claim 1 wherein said heading reference system comprises an air data and attitude heading reference system.
16. The compensation method in accordance with claim 1 wherein said heading reference system comprises a primary air data and attitude heading reference system.
17. The compensation method in accordance with claim 1 wherein said heading reference system comprises a secondary air data and attitude heading reference system.
18. The compensation method in accordance with claim 1 wherein said heading reference system comprises a primary inertial navigation system.
19. The compensation method in accordance with claim 1 wherein said heading reference system comprises a secondary inertial navigation system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further features of the invention, its nature and various advantages will be more apparent from the following detailed description of the embodiments, taken in conjunction with the accompanying drawings in which:
(2)
(3)
(4)
DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
(5) Referring now to the drawings in detail, and initially to
(6) As shown and preferred,
(7) As illustrated in
(8) The above described flow chart illustrated in
(9) In the case where:
(10) k is a positive constant derived from expected gyro drift over the period t; MH is the change in magnetometer derived heading over the period t; GH is the change in gyro derived heading over the period t;
Heading=fn(GH, MH) for H=<k
Heading=GH and MH=MH+H for H>k
As described above, this algorithm can be readily implemented in firmware or software, such as employed in the microprocessor 120 of the heading reference system 100, such as a Freescale microprocessor conventionally programmed in C. As noted above, the algorithm relies on the periodic correction of the heading gyro 104 only when the difference between the magnetometer 102 reading and the gyro 104 measurements is in the order of the expected gyro drift over the period since the last correction was made to the gyro 104.
(11) Summarizing the above described compensation method, preferably the magnetometer data is read for each axis as well as the gyro data for each axis. The gyro data is converted from body to inertial coordinates. The rate of change of heading based on the magnetometer readings over time is determined. The rate of change of heading is compared with the inertial coordinate rate of change of yaw from the gyros. Then, in accordance with the method of the present invention, the algorithm records the difference in rates of change if this difference is greater than a predetermined threshold value and uses it as a bias to correct for the soft iron impact on the magnetometer. On the other hand, if this difference is not greater than the predetermined threshold value, the algorithm uses the actual magnetometer value to correct for the drift in the gyros.
(12) In accordance with the presently preferred compensation method of the present invention, a conventional extended Kalman filter (not shown) may also be employed in order to blend the gyro 104 measurement with the magnetometer 102 measurement, with the aforementioned difference between the magnetometer 102 and the gyro 104 being the gyro error covariance.
(13) The above method can be employed in any magnetic heading indication system in which disturbances due to the presence of local soft iron can result in errors in magnetic heading calculations. In such an instance, by placing a gyro in the heading measurement axis and comparing the magnitude of the change in the magnetometer against the change in the gyro, any significant changes in the output of the magnetometer that is due to local magnetic field changes can be detected and corrected. Thus, the compensation method of the present invention may be employed not only in aircraft heading reference systems, such as in the integrated standby unit 200 illustrated in
(14) Referring now to
(15) Thus, the above integrated standby unit 200 illustrated in
(16) In the system 200 illustrated in
(17) In the operational phase of the integrated standby unit 200, the triaxial rate sensors are preferably utilized to determine the current attitude and heading of the aircraft by monitoring and compensating for changes from the initial state. Computed angles based on rate sensor data normally suffer from a random drift, generally referred to as random walk. This drift is normally due to integration of the noise which is in the signal bandwidth and, thus, is not easily filtered by traditional signal conditioning algorithms. In order to compensate for this drift in the method of the present invention, the gyro outputs are periodically recalibrated against the magnetometer and accelerometer data. Variations of an extended Kalman filter are preferably used to periodically correct for the rate sensors drift as well as to blend all sensor data based on their corresponding error covariance. These blending and compensating algorithms provide for an accurate estimate of the aircraft attitude and heading. An example of such a blending algorithm is provided below:
(18)
A variation of the above algorithm can be used to update the attitude estimate utilizing a variation of a Kalman filter, such as illustrated below:
{circumflex over (x)}.sub.k|k1=F.sub.k{circumflex over (x)}.sub.k1|k1+B.sub.ku.sub.k
P.sub.k|k1=F.sub.kP.sub.k1|k1F.sub.k.sup.T+Q.sub.k
{tilde over (y)}.sub.k=z.sub.kH.sub.k{circumflex over (x)}.sub.k|k1
S.sub.k=H.sub.kP.sub.k|k1H.sub.k.sup.T+R.sub.k
K.sub.k=P.sub.k|k1H.sub.k.sup.TS.sub.k.sup.1
{circumflex over (x)}.sub.k|k={circumflex over (x)}.sub.k|k1+K.sub.k{tilde over (y)}.sub.k
P.sub.k|k=(IK.sub.kH.sub.k)P.sub.k|k1
(19) As is well known, the local magnetic environment which surrounds the standby unit 200 in a typical aircraft panel installation is subject to variations such as magnetic effects of power switching to a nearby instrument. At install time, the standby unit 200 would preferably be calibrated in its intended environment to compensate for the effects of the local environment. However, in the course of a typical flight, various equipment is normally turned on or off which could result in an error in the magnetic heading measured by the internal magnetometers. The method of the present invention enables the system to compensate for these errors, with the algorithm H>k detecting their occurrence and compensating for the resultant error above a predetermined threshold value.
(20) It will be appreciated by one of ordinary skill in the art that numerous compensation algorithms may be used for various systems without departing from the spirit and scope of the present invention. Thus, the compensation algorithm may range from a relatively simple algorithm that periodically compares the change in the magnetic heading as measured by the magnetometers against the change in heading measured by the rate sensors, such as illustrated in
Heading=fn(GH, MH) for H=<k
Heading=GH and MH=MH+H for H>k
to more complex or elaborate schemes in which the rates of change of the magnetometers and rate sensors for each axis are compared, such as represented by the flow chart of
In the case where: XGI, YGI, ZGI represent change of angle in X, Y, Z axis as derived from gyros in inertial reference and XM, YM, ZM represent X, Y, Z magnetometer readings and XKI, YKI, ZKI represent maximum expected gyro angular rate drift in inertial reference:
X=|rate of change of XGIrate of change of XM|
Y=|rate of change of YGIrate of change of YM|
Z=|rate of change of ZGIrate of change of ZM|
Pitch=fn(YGI, Accelerometer data, Magnetometer data)
Roll=fn(XGI, Accelerometer data, Magnetometer data)
Heading=fn(ZGI, Magnetometer data)
If X>XKI, XM=XM+X t
If Y>YKI, YM=YM+Y t
Typically, in accordance with the method of the present invention, if the change is greater than the expected drift error of the rate sensors, which is a predetermined threshold value, it is assumed that the magnetometer is being affected by a local change in magnetic field and the rate sensor data is used to compensate for the effects of the change in the local magnetic field.
(21) Referring now to
(22) Alternatively, as referred to above, more elaborate schemes may be utilized in which the rates of change of the magnetometers and rate sensors for each axis are compared, such as in the system 200 illustrated in
(23) Predict
Predicted state estimate {circumflex over (x)}.sub.k|k1=F.sub.k{circumflex over (x)}.sub.k1|k1+B.sub.ku.sub.k
Predicted estimate covariance P.sub.k|k1=F.sub.kP.sub.k1|k1F.sub.k.sup.T+Q.sub.k
Update
Innovation {tilde over (y)}.sub.k=z.sub.kH.sub.k{circumflex over (x)}.sub.k|k1
Innovation covariance S.sub.k=H.sub.kP.sub.k|k1H.sub.k.sup.T+R.sub.k
Optimal Kalman gain K.sub.k=P.sub.k|k1H.sub.k.sup.TS.sub.k.sup.1
Updated state estimate {circumflex over (x)}.sub.k|k={circumflex over (x)}.sub.k|k1+K.sub.k{tilde over (y)}.sub.k
Updated estimate covariance P.sub.k|k=(IK.sub.kH.sub.k)P.sub.k|k1
to correct for the drift in the gyros. Alternatively, the accelerometer data can be used in this algorithm to augment the magnetometer data during no acceleration modes such as un-accelerated straight and level motion of the vehicle or when the vehicle is stationary.
(24) In the above situation, where the compensation method of the present invention is employed in connection with each axis, such as in the system 200 of
(25) As illustrated in
(26) While there have shown and described various novel features of the invention, it will be understood that various omissions and substitutions and changes in the form and details of the methods described and devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit and scope of the invention which is defined by the scope of the claims appended hereto.