## Recent Advances on Mathematical Modeling and Control Methods for Complex Vehicle Systems

View this Special IssueResearch Article | Open Access

# An Aeromagnetic Compensation Algorithm for Aircraft Based on Fuzzy Adaptive Kalman Filter

**Academic Editor:**Weichao Sun

#### Abstract

In order to ensure the effectiveness of geomagnetic navigation, as the foundation, the precise measurement of geomagnetic field must be guaranteed; namely, aircraft aeromagnetic compensation is worthy of being further studied. In this paper, the classical aircraft aeromagnetic compensation algorithm based on Leliak Model is analyzed and an aircraft aeromagnetic compensation algorithm based on fuzzy adaptive Kalman filter is proposed, which is a new approach for aircraft to achieve aeromagnetic compensation. Simulation results show that it has better compensation performance without relying on the aircraft attitude.

#### 1. Introduction

Measurement of geomagnetic field refers to obtaining the field strength of carrier location accurately and in a real-time manner, and to improve the accuracy of measurement, there are mainly two ways: on one hand, improving the measurement precision of the sensor and, on the other hand, overcoming the interference caused by carrier’s own magnetic field [1]. At present, the research on geomagnetic navigation and measurement of geomagnetic field generally uses orthotropic three-axis magnetic sensor as the basic magnetic components, because of its unique advantages that it can measure the overall field strength under any angle conveniently and need not consider the aircraft attitude and local magnetic field vector in an ideal world [2]. However, in practical application, due to the limitation of processing and assembling accuracy level, low cost of three-axis magnetic sensor cannot ensure that three-axis is orthogonal strictly, and the electric performance of the three axis sensitivity cannot completely be symmetrical [3]. The method of eliminating the magnetic field interference is generally neglected in the current research, especially, the interference caused by carriers themselves, and this kind of interference which is relative to carrier attitude is called aeromagnetic interference [4]. Tolles and Lawson reported the existence of interference when aircraft was engine-driven in 1950, and consider it as a kind of constant noise [5]. The amplitude of aeromagnetic interference is small, which is composed by constant magnetic interference, excitation magnetic interference, and eddy current interference; however, it cannot be ignored relative to the weak magnetic field, and cannot simply it into a white noise because different aircraft attitude will cause different amplitude [6]. Therefore, it is necessary to consider the noise as a kind of complex form.

Leliak had a further study on this problem and found a 16th-order linear model, called “Leliak Model”, to achieve the aeromagnetic compensation, which is used as the standard method in practical application [7]. Many scholars have studied the “Leliak Model” and improved it on certain aspect [8–11]. Bickel analyzed the magnetic interference under the small signal compensation and proposed a calculating method which is proved to be effective [8]; however, this research has bigger limitations and it cannot work when the signal is not small enough. Vijay Gopal et al. had a research on the high resolution airborne magnetic surveys and paid more attention to the real time compensation, which has better measurability and high value of application [9], but when the aircraft’s location is less than 1000 km, this method will lose precision more or less. Jia and EiKon proposed a new aircraft compensation system for magnetic terrains, which is based on the Ontario mineral exploration program, and its research object is mainly about Ontario mineral [10]; Above all, it can be seen that, by using this method to solve other field’s magnetic interference problems, it has shown limitations. Liu had a comprehensive study on aeromagnetic compensation technology including setting up interference model, proposing compensation algorithm, and providing measuring method in practical experiment [11]; however, there are some aspects to be improved, such that the measure accuracy is not high enough and the method is effective when the geomagnetic field strength can be considered as a constant only. Therefore, it is necessary to provide a new aeromagnetic compensation algorithm which has no limitation in signal’s value, aircraft flying height, and the change rate of geomagnetic field strength.

Kalman filter has been widely used to forecast system state vectors and estimate system parameters since it was invented by Stanley Schmidt because of its high accuracy with strong ability of interference suppression [12]. Under the situation that the calculation errors are ignored, classical Kalman filter can obtain the state vector value accurately; however, this situation is too hard to be satisfied, and it will cause divergent phenomenon sometime [13]. To solve the problem above, use measurement information constantly online to estimate the statistical feature of measurement noise in order to get accurate estimates of system state variables when filtering. At present, there are a lot of adaptive filtering methods, and the combination of Kalman filtering and fuzzy logic method is an ideal approach [14]. Bai et al. proposed an adaptive fuzzy Kalman filter to estimate system state vector, which adjusts estimation results based on observing noise in every step [15]; however, this method will cause oscillation of the covariance matrix.

Due to the fact that the existing works on aeromagnetic compensation were all found to rely on the aircraft attitude angle, the accuracy and singularity will be influenced. Therefore, it is necessary to make researches on aeromagnetic compensation algorithm using Kalman filter, which has better compensation performance without relying on the aircraft attitude.

At present, the research on aeromagnetic compensation algorithm using Kalman filter is seldom. In this paper, we proposed a new way to achieve aircraft aeromagnetic compensation, which can avoid the classical method limitation of accuracy and singularity. The rest of this paper consists of four sections. Leliak Model is analyzed in Section 2, and its shortcomings are pointed out. Section 3 improves the Leliak and gives the aircraft aeromagnetic compensation algorithm based on Kalman filter and adaptive fuzzy Kalman filter. Section 4 validates the effectiveness of the proposed method. Finally, we conclude this paper in Section 5.

#### 2. Problem Description and Preliminaries

The classical aircraft aeromagnetic compensation algorithm based on Leliak Model can be expressed as follows: where , , and are constant magnetic interference, excitation magnetic interference, and eddy current interference, and is the total geomagnetic interference caused by carrier moving.

Constant magnetic interference is caused by permanent magnet and ferromagnetic materials magnetized permanently, which cannot change according to the carrier attitude and can be considered as a constant, and it can be divided as follows: where is the sensor effect caused by constant magnetic interference, , , and are the projection weight of in the carrier coordinate system, and , , and are the angle between magnetic field direction and , , and of carrier coordinate system.

Excitation magnetic interference is caused by soft iron material magnetized by earth’s magnetic field temporarily, which is proportional with the earth’s magnetic field, and its expression is where is the sensor effect caused by excitation magnetic interference, is magnetic field strength, and is the proportionality coefficient, which is only related to carrier’s material structure and material and can be considered as constants.

Eddy current interference is caused by the changes of magnetic flux when the carrier’s attitude is changing, and there is eddy current among the conductor materials, which will bring interference to the magnetic field. This kind of interference is relative to the change rate of magnetic field, and its expression is where is the sensor effect caused by eddy current interference and is the proportionality coefficient, which is only related to carrier’s material structure and material and can be considered as constants.

The schematic diagram of the Leliak Model is shown in Figure 1.

From (1), (2), (3), and (4), if , , , and are known, we can calculate the sum interference caused by carrier moving by obtaining 16 parameters including , , , , , , , , , , , , , , , and . Then, we can achieve the reverse compensation of the sensor measuring value according the calculation of interference value. In order to simplify the calculating process, Leliak Model uses reducing variable number method, whose specific approach is letting the aircraft do the single shaft motion to ignore the change rate of the other two attitudes.

Above all, classical aircraft aeromagnetic compensation algorithm based on Leliak Model is effective to achieve the aircraft aeromagnetic compensation; however, there is coupling among the aircraft three channel motions, which cannot be ignored, and it will influence the measure precision.

#### 3. Aeromagnetic Compensation Algorithm Based on Fuzzy Adaptive Kalman Filter

##### 3.1. Geomagnetic Interference Model Improving

In order to take the coupling among the aircraft three channels into consideration, we can establish the mathematical model in the carrier coordinate system according to the interference magnetic field generation mechanism in the following form [16]: where is the sensor measurement, is the actual magnetic field strength, is the constant magnetic interference, and and are the proportionality coefficient matrices.

We can obtain formula (6) by transferring carrier coordinate system to the geographic coordinate system, and is the direction cosine matrix, where , , and are the magnetic field strength of the shafts , , and projection in the geographic coordinate system. Combined with (6), (5) can be written in the following form: where , , and are the attitude angular velocity around the shafts , , and in the inertial coordinate system.

##### 3.2. Kalman Filter Model Establishing

From formula (7) above, it can be seen that the geomagnetic interference model can be written as its physical meaning is that the sum interference for sensor measurement consists of constant magnetic interference, excitation magnetic interference, and eddy current interference.

Let and formula (9) can be written as where can be obtained as follows from formula (9):

Kalman filter can be expressed as formula (13) with formula (11) discretization as follows: where is in the following form:

It is obvious that can be treated as the observe matrix of the Kalman filter, the state vector is , and the observe vector is .

Since the elements of state vector are constants, the state matrix of the Kalman filter is unit matrix; namely, the state equation is where is an unit matrix, is controller, and is the process noise, which is white Gaussian noise and its covariance is .

Take observe error into consideration, the observe equation is where is the observe noise, which is white Gaussian noise and its covariance is .

Above all, Kalman filter for aeromagnetic compensation has been established which is expressed by state equation (15) and observe equation (16).

##### 3.3. Aeromagnetic Compensation Algorithm Based on Kalman Filter

Aeromagnetic compensation algorithm proposed here uses Kalman filter method to solve the problem that classical aeromagnetic compensation algorithm cannot ensure the geomagnetic interference being measured accurately [17, 18], and the aeromagnetic compensation algorithm based on Kalman filter is introduced in this section. For a linear stochastic differential system, if process noise and observe noise are both white Gaussian noise, Kalman filter is the optimal method to estimate state vector. Aeromagnetic compensation algorithm based on Kalman filter is shown as Figure 2.

Firstly, the state equation of Kalman filter is used to achieve the state predicting, and it is in the following form: where is the predicting result at the previous state, is the optimal result at the previous state, is state transition matrix, which is treated as unit matrix, and is the controller at current state, which is treated as zero in aeromagnetic compensation algorithm combined with formula (15). Namely, formula (17) can be written as . The current state has been updated by formula (17), but the covariance of has not been updated.

Secondly, we calculate the covariance as follows: where is the covariance of and is the covariance of . As , formula (18) can be written as . Formula (17) and formula (18) bring out the predicting result of system state.

Thirdly, combined with the predicting results and measuring results, the optimal value of can be obtained as where is the Kalman gain.

Fourthly, in order to ensure that Kalman filter keeps working until system process is finished, the covariance of must be updated by calculating the following formula:

By repeating iteration process above, we can get the estimated when the filter converges under the situation that the initial is small enough.

Above all, the aeromagnetic compensation algorithm estimates the elements of and there is no need to ask aircraft to do single shaft motion with no errors during this process. After obtaining the elements of , we can bring them into aircraft magnetic field model to compensate. However, there will exist divergent phenomenon if the noise cannot be estimated accurately or the aircraft geomagnetic interference is too big to measure.

##### 3.4. Aeromagnetic Compensation Algorithm Based on Fuzzy Adaptive Kalman Filter

In order to ensure the effectiveness of kalman filter under the noise unmeasured, fuzzy adaptive method is considered to estimate the process noise and observe noise, which can avoid divergent phenomenon caused by noise uncertainty [19–23].

Using adaptive method to adjust process noise and observe noise , we can get the following formulas: where is the adjustment parameter of , is the adjustment parameter of , and are constants standing for zoom level of and , which are calculated by fuzzy inference system (FIS). Then, analysis of and is given as follows [24].

(i) Consider ; magnify the effect on and by and . In this case, and can approach the real process noise and observe noise in fewer steps. If the values of are too big, the approaching rate is fast enough; however, it may cause small amplitude oscillation around the real value of noise.

(ii) Consider ; shrink the effect on and by and . In this case, there can be no oscillation and stability at the real noise value; however, it will cause more approach steps; namely, the adjustment time will be too long.

(iii) Consider ; there is no effect on and by and . In this case, this method is equal to the method proposed in Section 3.3.

In order to establish the FIS of aeromagnetic compensation algorithm, performance indicators used to evaluate estimation precision are introduced here with its definition as where is the trace of the matrix, and are residual variance of process noise and observe noise, and and are variance of the real value of process noise and observe noise, and their definitions are as follows: where is residual error sequence.

From formulas (22) and (23), it can be seen that if the noise model is accurate enough, can be established, and we use to ensure near to 1 and use to ensure near to 1.

Then, using FIS to calculate and with the following FIS rules.

(i) For observe noise, the FIS rules are as follows. If , then . If , then . If , then ,

where and stands for boundary range of observe noise FIS.

(ii) For process noise, the FIS rules are as follows. If , then . If , then . If , then ,

where and stands for boundary range of process noise FIS.

The output of FIS can be plugged in formula (21) to obtain the present noise value of and , and we achieve the process noise and observe noise estimation by FIS, which can avoid divergent phenomenon in theory.

#### 4. Simulation and Analysis

In this section, experimental simulations will be carried out to evaluate the effectiveness of the proposed aeromagnetic compensation algorithm based on adaptive fuzzy Kalman filter.

Detailed parameters of this algorithm are presented as follows. We put the actual magnetic field data into adaptive Kalman filter proposed in this paper, and the observe noise and process noise are both white noise with 20 nT standard deviation in each axis. Initial condition is , , and . System parameters are and . Simulation diagrams are as shown in Figures 3, 4, and 5.

**(a)**

**(b)**

**(c)**

**(a)**

**(b)**

**(c)**

**(d)**

From Figure 3, we can see that the calculated magnetic field strength conforms to the distribution law of actual magnetic field, and the 60 nT total noise is measured by Kalman filter. Figure 4 shows the Kalman filter output of system state vector elements, and it can be seen that these elements convergence to constants in a finite time, which stand for the compensation result calculated by Kalman filter. From Figure 5 above, it can be seen that the noise proposed algorithm estimated is nearly equal to the actual noise in each axis; namely, the proposed aircraft aeromagnetic compensation algorithm can calculate magnetic field effectively. Furthermore, the performance indicators used to evaluate estimation precision and are around 1, which is to say that the adaptive FIS is effective in adjusting and ; namely, the variance of process noise and observe noise is estimated accurately.

#### 5. Conclusions

The limitations of classical aircraft aeromagnetic compensation algorithm based on Leliak Model have been analyzed in this paper and an aircraft aeromagnetic compensation algorithm based on fuzzy adaptive Kalman filter was proposed, which provided a new approach for aircraft to achieve aeromagnetic compensation. Simulation results confirmed the compensation performance of proposed algorithm and proved that FIS is effective in estimating process noise and observe noise. Furthermore, this algorithm does not rely on the aircraft attitude, which has high application value.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the National Natural Science Foundation of China (no. 51379049) and the Fundamental Research Funds for the Central Universities of China (nos. HEUCF110419 and HEUCFX41302).

#### References

- M. P. Wu, Y. Liu, and X. P. Hu, “ICP algorithm application in the geomagnetic aided navigation,”
*Aerospace Control*, vol. 25, no. 6, pp. 17–21, 2007. View at: Google Scholar - Y. R. You, “Rapid development of magnetic sensor,”
*Sensor Technology*, vol. 18, no. 4, pp. 5–8, 1999. View at: Google Scholar - C. S. Lin, Q. Xiang, and S. G. Gong, “Three axis magnetometer orthogonal analysis and correction,”
*Journal of Detection & Control*, vol. 27, no. 2, pp. 9–12, 2005. View at: Google Scholar - D. H. Wu, “Three axis flux-gate sensor error correction based on SVR,”
*Sensor & Micro System*, vol. 27, no. 6, pp. 43–46, 2008. View at: Google Scholar - J. L. He, “Aircraft the automatic compensation method of the magnetic field,”
*Geophysical and Geochemical Exploration*, vol. 9, no. 6, pp. 464–469, 1993. View at: Google Scholar - X. L. Li and W. L. Cai, “Airlines plane magnetic gradient measurement system installation and compensation,”
*Geophysical and Geochemical Exploration*, vol. 30, no. 3, pp. 224–228, 2006. View at: Google Scholar - P. Leliak, “Identification and evaluation of magnetic field sources of magnetic airborne detector equipped aircraft,”
*IRE Transactions on Aerospace and Navigational Electronics*, vol. 8, pp. 95–105, 1961. View at: Publisher Site | Google Scholar - S. H. Bickel, “Small signal compensation of magnetic fields resulting from aircraft maneuvers,”
*IEEE Transactions on Aerospace and Electronic Systems*, vol. 15, no. 4, pp. 518–525, 1979. View at: Google Scholar - B. Vijay Gopal, V. N. Sarma, and H. V. Rambabu, “Real time compensation for aircraft induced noise during high resolution airborne magnetic surveys,”
*Journal of Indian Geophysical Union*, vol. 8, no. 3, pp. 185–189, 2004. View at: Google Scholar - J. Jia and P. EiKon, “A New Aircraft Compensation System for Magnetic Terrains,” pp. 23–50, Ontario Mineral Exploration Technology Program, Project #P02-03-043, 2007. View at: Google Scholar
- X. J. Liu,
*Aeromagnetic Compensation Technology Research*, JiLin University, 2005. - P. J. Escamilla-Ambrosio and N. Mort, “Multi-sensor data fusion architecture based on adaptive Kalman filters and fuzzy logic performance assessment,” in
*Proceedings of the 5th International Conference on Information Fusion (FUSION '02)*, pp. 1542–1549, Annapolis, Md, USA, July 2002. View at: Google Scholar - J. Z. Sasiakek, Q. Wang, and M. B. Zeremba, “Fuzzy adaptive kalman filtering for INSPGPS data fusion,” in
*Proceedings of the 15th IEEE Intelligent Control*, pp. 181–186, Patras, Greece, July 2000. View at: Google Scholar - X. R. Huang,
*Development of Vehicle Integrated Navigation System Based on Information Fusion*, Harbin Institute of Technology, 2002. - J. Bai, J. Y. Liu, and X. Yuan, “Study of fuzzy adaptive kalman filtering technique,”
*Journal of Information and Control*, vol. 31, no. 3, pp. 193–197, 2002. View at: Google Scholar - Y. Kou, H. Xia, R. Liu, and C. Wang, “Method for separation of low-frequency electromagnetic interference in geomagnetic navigation systems,”
*Journal of Harbin Institute of Technology*, vol. 43, no. 7, pp. 32–37, 2011. View at: Google Scholar - W. Sun, Z. Zhao, and H. Gao, “Saturated adaptive robust control for active suspension systems,”
*IEEE Transactions on Industrial Electronics*, vol. 60, no. 9, pp. 3889–3896, 2013. View at: Publisher Site | Google Scholar - W. Sun, H. Gao, and B. Yao, “Adaptive robust vibration control of full-car active suspensions with electrohydraulic actuators,”
*IEEE Transactions on Control Systems Technology*, vol. 21, no. 6, pp. 2417–2422, 2013. View at: Publisher Site | Google Scholar - H. Zhang, X. Liu, J. Wang, and H. R. Karimi, “Robust ${H}_{\infty}$ sliding mode control with pole placement for a fluid power electrohydraulic actuator (EHA) system,”
*The International Journal of Advanced Manufacturing Technology*, 2014. View at: Publisher Site | Google Scholar - H. Zhang and J. Wang, “Combined feedback-feedforward tracking control for networked control systems with probabilistic delays,”
*Journal of the Franklin Institute*, vol. 351, no. 6, pp. 3477–3489, 2014. View at: Publisher Site | Google Scholar | MathSciNet - H. Zhang, X. Zhang, and J. Wang, “Robust gain-scheduling energy-to-peak control of vehicle lateral dynamics stabilisation,”
*Vehicle System Dynamics*, vol. 52, no. 3, pp. 309–340, 2014. View at: Google Scholar - H. Zhang, Y. Shi, and J. Wang, “On energy-to-peak filtering for nonuniformly sampled nonlinear systems: a Markovian jump system approach,”
*IEEE Transactions on Fuzzy Systems*, vol. 22, no. 1, pp. 212–222, 2014. View at: Google Scholar - H. Zhang, Y. Shi, and J. Wang, “Observer-based tracking controller design for networked predictive control systems with uncertain Markov delays,”
*International Journal of Control*, vol. 86, no. 10, pp. 1824–1836, 2013. View at: Publisher Site | Google Scholar | MathSciNet - H. Zhang, Y. Shi, and M. Liu, “${H}_{\infty}$ step tracking control for networked discrete-time nonlinear systems with integral and predictive actions,”
*IEEE Transactions on Industrial Informatics*, vol. 9, no. 1, pp. 337–345, 2013. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2014 Yao Zhang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.