Next Article in Journal
Automatic Identification of Alpine Mass Movements by a Combination of Seismic and Infrasound Sensors
Previous Article in Journal
Segment-Tube: Spatio-Temporal Action Localization in Untrimmed Videos with Per-Frame Segmentation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Nonlinear Calibration Algorithm Based on Harmonic Decomposition for Two-Axis Fluxgate Sensors

School of Electronics and Information, Northwestern Polytechnical University, Xi’an 710072, China
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(5), 1659; https://doi.org/10.3390/s18051659
Submission received: 27 April 2018 / Revised: 16 May 2018 / Accepted: 18 May 2018 / Published: 22 May 2018
(This article belongs to the Section Physical Sensors)

Abstract

:
Nonlinearity is a prominent limitation to the calibration performance for two-axis fluxgate sensors. In this paper, a novel nonlinear calibration algorithm taking into account the nonlinearity of errors is proposed. In order to establish the nonlinear calibration model, the combined effort of all time-invariant errors is analyzed in detail, and then harmonic decomposition method is utilized to estimate the compensation coefficients. Meanwhile, the proposed nonlinear calibration algorithm is validated and compared with a classical calibration algorithm by experiments. The experimental results show that, after the nonlinear calibration, the maximum deviation of magnetic field magnitude is decreased from 1302 nT to 30 nT, which is smaller than 81 nT after the classical calibration. Furthermore, for the two-axis fluxgate sensor used as magnetic compass, the maximum error of heading is corrected from 1.86° to 0.07°, which is approximately 11% in contrast with 0.62° after the classical calibration. The results suggest an effective way to improve the calibration performance of two-axis fluxgate sensors.

1. Introduction

Two-axis fluxgate sensors are widely used as magnetometers or magnetic compasses, which determine the magnitude of magnetic fields or the heading of vehicles by measuring the Earth’s magnetic field in a horizontal plane, with widespread application to autonomous air, ground and ocean vehicles [1,2,3,4]. However, due to manufacturing technological limitations and magnetic interferences, the output of fluxgate sensors is corrupted by various errors, making it difficult to satisfy the precision requirement of practical applications [5]. Therefore, calibration of two-axis fluxgate sensors involving both identifying and compensating the errors is essential.
A well-known calibration procedure called compass swinging has been used successfully [6], which is based on the fact that the heading error is a Fourier function of the reference heading. The procedure involves rotating the vehicle through a series of reference headings, the differences between the raw heading measured by compass and the reference heading are used to compute calibration parameters. To simplify the compass swinging procedure, the angular-rate method using angular-rate information from low-cost micro-electro-mechanical system gyroscopes is presented in [7], which requires turning the compass through a full circle and only a single reference heading measurement, the difference of calibrated heading errors between these two methods is around 0.5°. In [8], the neural network algorithm is utilized to model the nonlinear mapping between the compass output and the reference heading. The calibration method is verified to be effective and robust, even in the presence of magnetic disturbances and large noises. The extreme learning machine algorithm is introduced to train a nonlinear error model in [9], of which the training speed is thousands of times faster than that of traditional back propagation neural network, the heading error is decreased from ±3° before calibration to ±0.2° after calibration. Nevertheless, all the methods mentioned above are only applicable for heading determination applications, and the quality of the calibration degrades when the vehicle with the fluxgate sensors moves far away from the geographical point where the calibration was performed, because the compensation coefficients are functions of the local magnetic field magnitude [10].
More calibration algorithms based on error models are presented, in which the error models are derived by analyzing the source of errors. The one-turn rotation scheme is to compensate for magnetic interference that changes the radius and shifts the center of the magnetism circle [11]. It uses the minimum and maximum value of each axis output to estimate the scale factor and bias errors, the shortcoming is that the algorithm performance is sensitive to noise. The batch least squares calibration algorithm in [12] accounts for the effects of hard iron, scale factor and part of soft iron. In this algorithm, a non-linear two-step estimator provides the initial conditions, which involves nonlinearly transforming compensation coefficients to ellipse parameters and fitting the best ellipse to the measured data, the obtained estimate of the compensation coefficients is then iteratively processed, the posterior covariance is used as a metric for the quality of the calibration. Furthermore, the batch least squares calibration algorithm is improved by compensating for the non-orthogonal error in [13]. The ellipse fitting problem in [12] is considered as a general conic fitting problem with a quadratic constraint, which is solved by using the Lagrange multiplier method [14]. A similar least squares ellipse fitting algorithm is presented in [15], three analytical manipulation methods transforming ellipse parameters to compensation coefficients are compared and discussed. However, there are at least two common drawbacks for these methods. One is that some kinds of errors are ignored, such as misalignment errors [16]. The other is that all error models are assumed to be linear models, and the nonlinearity of all errors is neglected. These drawbacks prominently limit the calibration performance.
The nonlinearity of errors is influenced by many aspects. Cross-field effect and hysteresis are two important factors. The cross-field effect in perpendicular and transverse direction is described as an unwanted sensitivity or linearity error in [17], of which measurements are performed on fluxgate sensors with various constructions in [18], the results show that cross-field effect causes errors up to 40 nT in the earth’s magnetic field, and for miniature fluxgate sensor the error increases to 60 nT [19]. Several techniques for overcoming the cross-field effect have been presented in [20]. A nonlinear polynomial hysteresis model is proposed to analyze the influence on the sensitivity of sensor [21], and an actual hysteresis curve of a material is used for the theoretical analysis of the fluxgate sensor output [22]. Besides, nonlinear effects of the signal processing circuit and soft iron nearby are also worth of concern. A calibration algorithm with nonlinearity suppression is proposed in [23], which uses a third-order polynomial to parameterize the scale factor error, the magnetic field magnitude error is reduced by three times compared with that without nonlinearity suppression.
To improve the calibration performance for two-axis fluxgate sensors, a novel nonlinear calibration algorithm taking into account the nonlinearity of errors is proposed in this paper. The nonlinear error model is established by analyzing all time-invariant errors, harmonic decomposition method is presented for estimating the compensation coefficients. The performance of the proposed algorithm is experimentally validated and compared with a classical calibration algorithm.

2. Error Modeling

In vehicle coordinate frame, the true value of magnetic field vector is denoted as h t , the measured vector of two-axis fluxgate sensors is denoted as h s . Due to the presence of errors, h s h t . The errors should be equivalent parameterized, to establish the error model of two-axis fluxgate sensors.
Error model is to describe the measured vector h s as a function of the true magnetic field vector h t . In this paper, the function is divided into two parts: linear term and nonlinear term. Two vectors, h ¯ s and h ˜ s , are defined as the linear and nonlinear term about h t , thus, h s can be written as:
h s = h ¯ s + h ˜ s
There are six typical error sources for two-axis fluxgate sensors, which are zero bias error b zb , scale factor error S m , non-orthogonal error C no , soft iron error C si , hard iron error b hi , and misalignment error C ma [24]. Each of these errors is discussed next in more detail.
Zero bias error, also known as offset error, shifts the sensor output by a constant amount, which can be modeled as a 2 × 1 vector:
b zb = [ b zb x b zb y ] T
where b zb x and b zb y are the non-zero value for the x-sensor and y-sensor of two-axis fluxgate sensors.
Scale factor error is modeled using a 2 × 2 diagonal matrix S m given by:
S m = [ s x 0 0 s y ]
where s x and s y represent the constant of proportionality relating the output of fluxgate sensor to the true value of magnetic field component for each axis. Due to scale factor errors, s x s y . In other words, when x-sensor and y-sensor of two-axis fluxgate sensors are subjected to an identical magnetic field, the output will not be the same.
Non-orthogonal error comes from the nonorthogonality between x-sensor and y-sensor of two-axis fluxgate sensors. When x-sensor is assumed to be perfectly aligned with the x-axis in the vehicle coordinate frame, and an angle ρ is defined as being between the y-sensor and the y-axis [25], non-orthogonal error can be parameterized by a 2 × 2 lower triangular matrix:
C no = [ 1 0 sin ( ρ ) cos ( ρ ) ]
Hard iron error is the result of unwanted magnetic fields generated by permanent magnets in the vicinity of sensors. It is constant in the vehicle coordinate frame, and can be represented as a 2 × 1 vector:
b hi = [ b hi x b hi y ] T
where b hi x and b hi y are the null shift for each axis.
Soft iron error is caused by the magnetization of soft magnetic materials, which generates their own field in response to the external magnetic field, the resulting magnetic field depends on the magnitude and direction of the applied external magnetic field. Here we assume that the relationship between the generated field and the externally applied field is linear and without hysteresis, soft iron error can be represented as a 2 × 2 matrix:
C si = [ c x x c x y c y x c y y ]
The c i j terms represent the proportional constants between the magnetic field applied to soft magnets and the resulting magnetic field. For example, c x y represents the effective coefficient relating the resulting field generated in the x-axis direction in response to an applied field in the y-axis direction [12].
Misalignment error results from the misalignment between the individual sensors of the two-axis fluxgate sensor and the vehicle axes during installation. Referring to the vehicle coordinate frame, misalignment is equivalent to the rotation of a fluxgate sensor in a small angle φ m , and the error can be expressed as a 2 × 2 orthogonal matrix:
C ma = [ cos φ m sin φ m sin φ m cos φ m ]
From the above, the linear term h ¯ s in (1), as a linear function of the true magnetic field vector h t , is described by:
h ¯ s = b zb + S m C no ( b hi + C si C ma h t ) = b zb + S m C no b hi + S m C no C si C ma h t
Defining vectors K e = S m C no C si C ma and b e = b zb + S m C no b hi , Equation (8) is transformed into
h ¯ s = b e + K e h t
and the expanded form is:
[ h ¯ s x h ¯ s y ] = [ b e 1 b e 2 ] + [ k e 11 k e 12 k e 21 k e 22 ] [ h t x h t y ]
For error analysis of general sensors with nonlinearity, error model can usually be represented by the high order polynomial:
y = α 0 + α 1 x + α 2 x 2 + α 3 x 3 +
where y is the sensor output, x is the sensor input, and a 0 , a 1 , a 2 , a 3 , are the polynomial coefficients. Here, regarding the nonlinearity of the scale factor error, soft iron error and cross-field effect of two-axis fluxgate sensors, this high order polynomial is used to parameterize the errors, then the error model (8) can be expanded in expansion form as:
[ h s x h s y ] = [ α x 0 + α x 1 h t x + α x 2 h t y + α x 3 ( h t x ) 2 + α x 4 ( h t y ) 2 + α x 5 h t x h t y + α y 0 + α y 1 h t x + α y 2 h t y + α y 3 ( h t x ) 2 + α y 4 ( h t y ) 2 + α y 5 h t x h t y + ]
According to the definition of matrices in Equations (1) and (9), the nonlinear error model (12) including the nonlinearity of errors is rearranged in the matrix form as follows:
h s = h ¯ s + h ˜ s = b e + K e h t + ξ e ν t
where b e = [ α x 0 α y 0 ] , K e = [ α x 1 α x 2 α y 1 α y 2 ] , ξ e = [ α x 3 α x 4 α x 5 α y 4 α y 4 α y 5 ] , ν t = [ ( h t x ) 2 ( h t y ) 2 h t x h t y ] T . The expanded form is:
[ h s x h s y ] = [ b e 1 b e 2 ] + [ k e 11 k e 12 k e 21 k e 22 ] [ h t x h t y ] + [ ξ e 11 ( h t x ) 2 + ξ e 12 ( h t y ) 2 + ξ e 13 h t x h t y + ξ e 21 ( h t x ) 2 + ξ e 22 ( h t y ) 2 + ξ e 23 h t x h t y + ]

3. Calibration Algorithm

Given an error model, calibration is the process that compensates the erroneous measured vector h s to get the true magnetic field vector h t by using the inverse function of the error model. Here, the inverse function of the error model is named as the calibration model. In the classical calibration algorithm, the nonlinear term in (1) is ignored, then the error model is expressed as:
h s = h ¯ s = b e + K e h t
which is a linear error model, and the linear calibration model can be acquired directly from (15) through algebraic computation [26], yielding:
h t = K c ( h s + b c )
where K c = K e 1 , b c = b e . However, in the nonlinear calibration algorithm, as described in the nonlinear error model (14), the relationship between h s and h t is nonlinear, the inverse function of (14) cannot be obtained algebraically.
In order to formulate the nonlinear calibration model, the characteristics of vector h t and h s are analyzed. While a two-axis fluxgate sensor is rotated in the horizontal plane, as shown in Figure 1, h t x and h t y can be expressed as functions of the reference heading φ by:
{ h t x ( φ ) = H h sin ( φ ) h t y ( φ ) = H h cos ( φ )
where x and y in subscripts indicate the corresponding axis direction in the vehicle coordinate frame, H h is the magnitude of the horizontal component of the earth’s magnetic field. h s x and h s y are also functions of φ , and satisfy:
{ h s x ( φ ) = h s x ( 2 π i + φ ) h s y ( φ ) = h s y ( 2 π i + φ )
where i = ± 1 , ± 2 , ± 3 , .
As expressed in (18), h s x ( φ ) and h s y ( φ ) are periodic functions with a period of 2 π , it is known that any periodic function satisfying the Dirichlet Condition can be expanded into the Fourier series in the form of trigonometric functions, thus h s x ( φ ) and h s y ( φ ) can be expressed as:
{ h s x ( φ ) = d 0 x + j = 1 ( d j x sin ( j φ ) + e j x cos ( j φ ) )    ( a ) h s x ( φ ) = d 0 y + j = 1 ( d j y sin ( j φ ) + e j y cos ( j φ ) )    ( b )
Taking (a) in Equation (19) for example, it is expanded as
h s x ( φ ) = d 0 x + d 1 x sin ( φ ) + e 1 x cos ( φ ) + d 2 x sin ( 2 φ ) + e 2 x cos ( 2 φ ) +
On the right side of (20), there are constant term, fundamental terms and harmonic terms, thus, (20) is the harmonic decomposition of h s x ( φ ) . The properties of the Fourier series are known that the base functions are orthogonal to each other, and the coefficients are uncorrelated with each other. In conjunction with Equations (17) and (20) is transformed into:
h s x ( φ ) = ( d 0 x + e 2 x + o 0 x ) + ( d 1 x H h + o 1 x ) h t x ( φ ) + ( e 1 x H h + o 2 x ) h t y ( φ ) + ( 2 d 2 x H h 2 + o 3 x ) h t x ( φ ) h t y ( φ ) + ( 2 e 2 x H h 2 + o 4 x ) ( h t x ( φ ) ) 2 +
where o 0 x , o 1 x , o 2 x , o 3 x and o 4 x are the coefficient sums of constant, h t x ( φ ) , h t y ( φ ) , h t x ( φ ) h t y ( φ ) and ( h t x ( φ ) ) 2 terms in expansion of the third and higher harmonic terms, respectively. The simplified form of (21) is expressed as:
h s x = ( d 0 x + e 2 x + o 0 x ) + ( d 1 x H h + o 1 x ) h t x + ( e 1 x H h + o 2 x ) h t y + ( 2 d 2 x H h 2 + o 3 x ) h t x h t y + ( 2 e 2 x H h 2 + o 4 x ) ( h t x ) 2 +
Given the same expansion process (20)–(22) for (b) in Equation (19), h s y is expressed as:
h s y = ( d 0 y e 2 y + o 0 y ) + ( d 1 y H h + o 1 y ) h t x + ( e 1 y H h + o 2 y ) h t y + ( 2 d 2 y H h 2 + o 3 y ) h t x h t y + ( 2 e 2 y H h 2 + o 4 y ) ( h t y ) 2 +
The two expressions above can be rewritten into the matrix form as the nonlinear error model (13):
h s = b e + K e h t + ξ e ν t
where b e = [ d 0 x + e 2 x + o 0 x d 0 y e 2 y + o 0 y ] , K e = [ d 1 x H h + o 1 x e 1 x H h + o 2 x d 1 y H h + o 1 y e 1 y H h + o 2 y ] , ξ e = [ 2 e 2 x H h 2 + o 4 x 0 2 d 2 x H h 2 + o 3 x 0 2 e 2 y H h 2 + o 4 y 2 d 2 y H h 2 + o 3 y ] , ν t = [ ( h t x ) 2 ( h t y ) 2 h t x h t y ] T . Compared with expression (13), it should be noted that some elements in matrix ξ e of expression (24) are zero, which means that only a part of high order terms in (13) is sufficient to describe the nonlinear error model.
From Equation (24), h t is given by:
h t = K c ( b c + h s ) + ξ c ν t
where K c = K e 1 , b c = b e , ξ c = K e 1 ξ e . Defining h ¯ t = K c ( b c + h s ) , (25) is rewritten as:
h t = h ¯ t + ξ c ν t
ν t is composed of the high-order terms about h t , which comes from the harmonic terms in (20). As the total linearity of fluxgate sensors is relatively good, coefficients of the harmonic terms in (20) are much smaller than that of the fundamental terms, i.e., for j 2 , there are d j d 1 and e j e 1 . Thus, h t in ν t can be replace with h ¯ t , and (26) is transformed into:
h t h ¯ t + ξ c ν ¯ t = h ¯ t + h ˜ t
where ν ¯ t = [ ( h ¯ t x ) 2    ( h ¯ t y ) 2    h ¯ t x h ¯ t y ] T . Equation (27) is the approximate expression of the nonlinear calibration model, and the expansion form is given by:
[ h t x h t y ] = [ h ¯ t x + ξ c 11 ( h ¯ t x ) 2 + ξ c 12 h ¯ t x h ¯ t y + h ¯ t y + ξ c 21 ( h ¯ t y ) 2 + ξ c 22 h ¯ t x h ¯ t y + ]
where [ h ¯ t x h ¯ t y ] = [ k c 11 k c 12 k c 21 k c 22 ] ( [ b c 1 b c 2 ] + [ h s x h s y ] ) .
To complete the nonlinear calibration algorithm, compensation coefficients in (28) should be determined. According to the relationship between Equations (20) and (24), it is known that the error coefficients b e , K e and ξ e are weak correlated with each other. Thus, the determination of compensation coefficient can be performed iteratively, and in each iteration the linear compensation coefficients b c and K c , the nonlinear compensation coefficients ξ c are estimated respectively. The iterative steps are as follows:
  • For N raw data collected from the two-axis fluxgate sensor, set the highest order of the harmonic terms in (19), denoted by J , the initial value h ˜ t ( 0 ) = [ 0    0 ] T , and the number of iterations i = 0 . Define the error of magnetic field δ h t ( 0 ) = h t .
  • Calculate the linear compensation coefficients K c ( i ) and b c ( i ) by solving the linear equation:
    δ h t ( i ) = K c ( i ) ( b c ( i ) + h s )
  • Calculate the nonlinear compensation coefficients ξ c ( i ) by solving the linear equation:
    δ h t ( i ) h ¯ t ( i ) = ξ c ( i ) ν ¯ t ( i )
  • Calculate the error of magnetic field by:
    δ h t ( i + 1 ) = δ h t ( i ) ( h ¯ t ( i ) + h ˜ t ( i ) )
    and the root mean square (RMS) error of magnetic field by:
    σ = 1 N 1 n = 1 N ( δ h t ( n ) ) 2
    where n = 1 , 2 , , N . Repeat step 1 to step 3 until σ reaches a predefined threshold or the minimum value.
In the iteration, the highest order of the harmonic terms J is limited by the number of raw data N . In practice, more raw data are usually collected to reduce the influence of random errors and improve the accuracy of calibration, and the least square method is used to solve Equations (29) and (30).
After the iteration, the true magnetic field vector h t can be calculated by:
h t = i = 1 I [ K c ( i ) ( b c ( i ) + h s ) + ξ c ( i ) ν t ( i ) ]
where I is the maximum number of iterations.

4. Experiments and Discussions

The proposed nonlinear calibration algorithm is verified by experiments, and compared with a classical calibration algorithm which is based on the linear error model (15) mentioned earlier. The experiment is performed in the laboratory, and the Earth’s magnetic field is used for measurement. The experimental platform, as shown in Figure 2, consists of a CTM-6W magnetometer, a two-axis fluxgate sensor (to be calibrated) [27], and a 3SK-150 nonmagnetic turntable. The CTM-6W magnetometer, with accuracy of ±1 nT, is used to measure the true value of magnetic field magnitude. The 3SK-150 nonmagnetic turntable, of which the heading accuracy is less than 0.05°, is adopted to provide the reference heading for the two-axis fluxgate sensor. The two-axis fluxgate sensor is rigidly mounted onto the nonmagnetic turntable to obtain experimental data with different headings.
In the experiment, the turntable is rotated in one circle, and raw data of the two-axis fluxgate sensor are collected with heading interval of 15°. Meanwhile, the true data at each point is calculated using Equation (17). The total 24 sets of data are displayed in Figure 3.
Using the data set in Figure 3, the performance of the proposed nonlinear calibration algorithm is evaluated. Before calibration, the RMS errors of magnetic field is 920.0 nT. After calibration, while the highest order of harmonic terms J is set to 2, 3, 4, 5, 6 and 7, the RMS error of magnetic field is reduced to about 26.3 nT, 20.0 nT, 18.3 nT, 11.6 nT, 11.9 nT and 11.7 nT, respectively. The detailed calibration processes are illustrated in Figure 4. As can be seen, the nonlinear calibration algorithm converges fast, and after 2 iterations, the RMS errors of magnetic field nearly reach the minimum value, this is mainly because that the correlation between error coefficients in (24) is weak. With the increase of the highest order value of harmonic terms J , the RMS error of magnetic field decreases. When the highest order of harmonic terms J is large than 5, there is no significant difference between the RMS errors of magnetic field, which means that harmonic errors with orders no greater than 5 are the main components of the error. Although the errors are reduced by tens of times, there are residual errors after calibration, this is mainly because that hysteresis, temperature error and random noise have not been completely solved. In addition, due to the digital output of the two-axis fluxgate sensor, quantization noise is also an important factor.
Comparison of performance between the proposed nonlinear calibration algorithm and the classical calibration algorithm is performed. Here, the highest order of harmonic terms J is set to 5. The calibration results are illustrated in Figure 5, Figure 6 and Figure 7. Figure 5 shows the error of the magnetic field component for each axis before and after calibration. It is obvious that, in the raw data there are harmonic errors, especially the fundamental terms, in the classical calibrated data the fundamental errors have been eliminated and the second harmonic terms are the main components of errors, in the nonlinear calibrated data there are no significant harmonic errors. Figure 6 shows the error of magnetic field magnitude. Before calibration. There are an offset of about 860.4 nT and harmonic errors, peculiarly the fundamental term. After classical calibration, the offset and the fundamental error are compensated, and the third harmonic term becomes the major component of error. After nonlinear calibration, all the harmonic errors are well compensated. Figure 7 shows the heading error when the two-axis fluxgate sensor is use as magnetic compass. Before calibration, an offset of about 0.84° and fundamental term are the main part of error. After classical calibration, the offset are eliminated, and the fundamental error is significantly reduced, which is still the major part of error. After nonlinear calibration, the harmonic errors are well corrected.
From Figure 5, Figure 6 and Figure 7, it can be seen that the offset and the harmonic errors are prominent before calibration, only the offset and the fundamental errors can be partially compensated with the classical calibration algorithm, and all the harmonic errors with orders no greater than 5 are effectively compensated with the nonlinear calibration algorithm. The maximum value of the errors in these figures are listed in Table 1.
In a word, the experimental results show that the proposed nonlinear calibration algorithm is more effective than the classical calibration algorithm, and it should be a trade-off between computational complexity and calibration accuracy for the nonlinear calibration algorithm.

5. Conclusions

A novel nonlinear calibration algorithm is proposed and successfully validated for calibrating two-axis fluxgate sensors. The combined effort of all time-invariant errors are analyzed to establish the nonlinear error model, and harmonic decomposition method is presented for estimating the compensation coefficients. The performance of the proposed nonlinear calibration algorithm is compared with that of a classical calibration algorithm by performing experiments on a nonmagnetic turntable, the experimental results show that after the nonlinear calibration, the maximum deviation of magnetic field magnitude is decreased from 1302 nT to 30 nT, which is smaller than 81 nT after the classical calibration. Furthermore, for the two-axis fluxgate sensor used as magnetic compass, the maximum error of heading is corrected from 1.86° to 0.07°, which is approximately 11% in contrast with 0.62° after the classical calibration. The proposed algorithm can be effectively applied to calibrate any two-axis sensor. Future work will exploit the adaptation of this algorithm to three-axis sensors.

Author Contributions

Conceptualization, W.F.; Funding acquisition, S.L.; Methodology, W.F.; Supervision, S.L.; Validation, W.F.; Writing—original draft, W.F.

Funding

This paper is sponsored by the National Natural Science Foundation of China (No. 60874101).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abbott, E.; Powell, D. Land-vehicle navigation using GPS. Proc. IEEE 1999, 87, 145–162. [Google Scholar] [CrossRef]
  2. Cho, S.Y.; Park, C.G. A calibration technique for a two-axis magnetic compass in telematics devices. ETRI J. 2005, 27, 280–288. [Google Scholar] [CrossRef]
  3. Yun, J.; Ko, J.P.; Lee, J. An inexpensive and accurate absolute position sensor for driving assistance. IEEE Trans. Instrum. Meas. 2008, 57, 864–873. [Google Scholar] [CrossRef]
  4. Wang, C.; Qu, X.; Zhang, X.; Zhu, W.; Fang, G. A fast calibration method for magnetometer array and the application of ferromagnetic target localization. IEEE Trans. Instrum. Meas. 2017, 66, 1743–1750. [Google Scholar] [CrossRef]
  5. Ripka, P. Magnetic sensors and magnetometers. Meas. Sci. Technol. 2002, 13, 645. [Google Scholar] [CrossRef]
  6. Bowditch, N. The American Practical Navigator; National Geospatial-Intelligence Agency: Springfield, VA, USA, 2011. [Google Scholar]
  7. Markovic, R.; Krajnc, A.; Matko, D. Calibration of a solid-state magnetic compass using angular-rate information from low-cost sensors. IET Sci. Meas. Technol. 2011, 5, 54–58. [Google Scholar] [CrossRef]
  8. Wang, J.H.; Gao, Y. A new magnetic compass calibration algorithm using neural networks. Meas. Sci. Technol. 2006, 17, 153–160. [Google Scholar] [CrossRef]
  9. Liu, Y.X.; Fang, J.J.; Zhang, X.J.; Sun, J. Application of extreme learning machine in the nonlinear error compensation of magnetic compass. Chin. J. Sci. Instrum. 2015, 36, 1921–1927. [Google Scholar] [CrossRef]
  10. Gebre-Egziabher, D.; Elkaim, G.H.; Powell, J.D.; Parkinson, B.W. A non-linear, two-step estimation algorithm for calibrating solid-state strapdown magnetometers. In Proceedings of the 8th International St. Petersburg Conference on Navigation Systems, St. Petersburh, Russia, 27–31 May 2001; pp. 28–30. [Google Scholar]
  11. Caruso, M.J. Applications of magnetic sensors for low cost compass systems. In Proceedings of the 2000 IEEE Conference on Position Location and Navigation Symposium, San Diego, CA, USA, 13–16 March 2000; pp. 177–184. [Google Scholar]
  12. Gebre-Egziabher, D.; Elkaim, G.H.; Powell, J.D.; Parkinson, B.W. Calibration of strapdown magnetometers in magnetic field domain. J. Aerosp. Eng. 2006, 19, 87–102. [Google Scholar] [CrossRef]
  13. Foster, C.C.; Elkaim, G.H. Extension of a two-step calibration methodology to include nonorthogonal sensor axes. IEEE Trans Aerosp. Electron. Syst. 2008, 44, 1070–1078. [Google Scholar] [CrossRef]
  14. Skvortzov, V.Y.; Lee, H.K.; Bang, S.; Lee, Y. Application of electronic compass for mobile robot in an indoor environment. In Proceedings of the 2007 IEEE International Conference on Robotics and Automation, Roma, Italy, 10–14 April 2007; pp. 2963–2970. [Google Scholar]
  15. Liu, S.B. Study on automatic magnetic deviation compensation of magnetic heading measurement for UAV. Acta Aeronaut. Astronaut. Sin. 2007, 28, 411–414. [Google Scholar] [CrossRef]
  16. Liu, Y.X.; Li, X.S.; Zhang, X.J.; Feng, Y.B. Novel calibration algorithm for a three-axis strapdown magnetometer. Sensors 2014, 14, 8485–8504. [Google Scholar] [CrossRef] [PubMed]
  17. Ripka, P.; Janosek, M.; Butta, M.; Billingsley, S.W.; Wakefield, E. Crossfield effect in magnetic sensors. In Proceedings of the 2009 IEEE Sensors, Christchurch, New Zealand, 25–28 October 2009; pp. 1860–1863. [Google Scholar]
  18. Ripka, P.; Billingsley, S.W. Crossfield effect at fluxgate. Sens. Actuators A Phys. 2000, 81, 176–179. [Google Scholar] [CrossRef]
  19. Ripka, P.; Janošek, M.; Butta, M.; Billingsley, W.S.; Wakefield, E.M. Crossfield effect in commercial fluxgate and AMR sensors. J. Electr. Eng. 2013, 61, 13–16. [Google Scholar]
  20. Petrucha, V.; Fúra, V.; Platil, A. Cross-field effect in a triaxial AMR magnetometer with vector and individual compensation of a measured magnetic field. IEEE Trans. Magn. 2017, 53, 1–5. [Google Scholar] [CrossRef]
  21. Marshall, S. An analytic model for the fluxgate magnetometer. IEEE Trans. Magn. 1967, 3, 459–463. [Google Scholar] [CrossRef]
  22. Primdahl, F. The fluxgate mechanism, part I: The gating curves of parallel and orthogonal fluxgates. IEEE Trans. Magn. 1970, 6, 376–383. [Google Scholar] [CrossRef]
  23. Pang, H.F.; Chen, D.X.; Pan, M.C.; Luo, S.T.; Zhang, Q.; Li, J.; Luo, F.L. A new calibration method of three axis magnetometer with nonlinearity suppression. IEEE Trans. Magn. 2013, 49, 5011–5015. [Google Scholar] [CrossRef]
  24. Wu, Z.; Wang, W. Magnetometer and gyroscope calibration method with level rotation. Sensors 2018, 18, 748. [Google Scholar] [CrossRef] [PubMed]
  25. Merayo, J.M.G.; Primdahl, F.; Brauer, P.; Risbo, T.; Olsen, N.; Sabaka, T. The orthogonalization of magnetic systems. Sens. Actuators A Phys. 2001, 89, 185–196. [Google Scholar] [CrossRef]
  26. Vasconcelos, J.F.; Elkaim, G.; Silvestre, C.; Oliveira, P.; Cardeira, B. Geometric approach to strapdown magnetometer calibration in sensor frame. IEEE Trans. Aerosp. Electron. Syst. 2011, 47, 1293–1306. [Google Scholar] [CrossRef]
  27. Liu, S.B. Study on the low power consumption of racetrack fluxgate. Sens. Actuators A Phys. 2006, 130, 124–128. [Google Scholar] [CrossRef]
Figure 1. Relationship between the true value of magnetic field vector h t and the reference heading φ .
Figure 1. Relationship between the true value of magnetic field vector h t and the reference heading φ .
Sensors 18 01659 g001
Figure 2. Experimental platform.
Figure 2. Experimental platform.
Sensors 18 01659 g002
Figure 3. Raw data of the two-axis fluxgate sensor and true data.
Figure 3. Raw data of the two-axis fluxgate sensor and true data.
Sensors 18 01659 g003
Figure 4. The RMS errors of magnetic field after each iteration when the highest order of harmonic terms J is set from 2 to 7.
Figure 4. The RMS errors of magnetic field after each iteration when the highest order of harmonic terms J is set from 2 to 7.
Sensors 18 01659 g004
Figure 5. Errors of the magnetic field component for each axis before and after calibration: (a) x-axis; (b) y-axis.
Figure 5. Errors of the magnetic field component for each axis before and after calibration: (a) x-axis; (b) y-axis.
Sensors 18 01659 g005
Figure 6. Errors of the magnetic field magnitude before and after calibration.
Figure 6. Errors of the magnetic field magnitude before and after calibration.
Sensors 18 01659 g006
Figure 7. Heading errors before and after calibration.
Figure 7. Heading errors before and after calibration.
Sensors 18 01659 g007
Table 1. The maximum error before and after calibration.
Table 1. The maximum error before and after calibration.
x-axis Magnetic Field (nT)y-axis Magnetic Field (nT)Magnetic Field Magnitude (nT)Heading (°)
Before calibration1345148313021.86
After classical calibration419464810.62
After nonlinear calibration3634300.07

Share and Cite

MDPI and ACS Style

Feng, W.; Liu, S. A Nonlinear Calibration Algorithm Based on Harmonic Decomposition for Two-Axis Fluxgate Sensors. Sensors 2018, 18, 1659. https://doi.org/10.3390/s18051659

AMA Style

Feng W, Liu S. A Nonlinear Calibration Algorithm Based on Harmonic Decomposition for Two-Axis Fluxgate Sensors. Sensors. 2018; 18(5):1659. https://doi.org/10.3390/s18051659

Chicago/Turabian Style

Feng, Wenguang, and Shibin Liu. 2018. "A Nonlinear Calibration Algorithm Based on Harmonic Decomposition for Two-Axis Fluxgate Sensors" Sensors 18, no. 5: 1659. https://doi.org/10.3390/s18051659

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop