1. Introduction
The term “tensor” was first proposed in 1846 and widely accepted by 1915. With the introduction of tensors in the magnetic detection field, magnetic gradient tensors have become the primary detection data used in the field of modern magnetic detection. Detection accuracy has significantly improved because a magnetic gradient tensor is not affected by the geomagnetic field [
1]. As technology has developed, magnetic detection technology has been widely used in the military and the medical fields, as well as terrain exploration and other fields [
2,
3,
4,
5,
6,
7,
8,
9].
The purpose of magnetic field detection is to locate a target more accurately. Many experts and scholars have carried out research in this area. Hu et al. used a magnetic field vector and magnetic gradient tensor to obtain the underwater multi-target positioning method [
10]. Based on a magnetic dipole model, Zhi et al. derived a new localization method, using the geometric invariants of tensors [
11] that had good stability. Yin et al. proposed a ferromagnetic target localization and a recognition method based on the rotation invariants [
12]. Nara et al. proposed a new localization formula using the Euler deconvolution [
13]. This method could obtain an accurate localization result in real-time. However, the method was greatly affected by the background field. Currently, the localization method proposed by Nara et al. is the simplest to solve the process. Many experts and scholars have improved upon this formula.
Based on the localization method proposed by Nara, Yin et al. took the derivative of both sides of the formula so that measuring the magnetic field vector was unnecessary [
14]. However, the high-order magnetic gradient tensor used is easily affected by noise. Wang et al. proposed a method for high-order magnetic gradient tensors with higher stability, given the poor stability of high-order magnetic gradient tensors [
15]. Their results showed that this method could effectively improve the stability of high-order tensors. Wang et al. enhanced the stability of magnetic gradient tensor data based on Nara’s method [
16]. The localization error of this method was smaller under complex magnetic interference conditions. Xu et al. used the difference between two points to approximate the magnetic gradient tensor [
17]. This method avoided measuring three components of the magnetic field. However, the forward difference method was used to approximate the tensors, which increased the error of the localization method.
Based on the method proposed by Xu et al., this paper presents a way to locate a small target using a three-point magnetic gradient tensor. The proposed method avoids measuring the three components of a magnetic field and reduces the error caused by the forward difference method.
The structure of this paper is as follows:
Section 2 introduces the definition of a magnetic gradient tensor.
Section 3 introduces the localization method’s specific formula and two other localization methods.
Section 4 describes how the magnetic dipole is used as the model, and the simulation is carried out under noisy conditions. The absolute error and the RMSE (the root-mean-square-error) are used to evaluate the localization results. The results show that the error of this proposed method is low.
Section 5 describes how experiments are conducted to verify the accuracy by comparing the localization results, the absolute error, and the RMSE (the root-mean-square-error).
Section 6 summarizes the paper.
2. The Basic Theory
When the detection distance is much larger than the magnetic anomaly source, the magnetic anomaly source can be simplified as a magnetic dipole [
16]. When a magnetic dipole is used as the magnetic anomaly source, the three components of the magnetic field can be expressed as follows:
where
represents the relative displacement vector.
and
is the vacuum permeability.
The magnetic gradient tensor represents the three components of the magnetic field along the three orthogonal directions in space. Usually, the
X-axis,
Y-axis, and
Z-axis in the Cartesian coordinate system are selected, as shown in Equation (2):
The magnetic field generated by a magnetic target is stable in space. There is no displacement or conduction current near the magnetic anomaly source and the environmental field is a passive static magnetic field. In this case, according to Maxwell’s equation [
15], curl
B = 0 and div
B = 0:
By combining Equations (1)–(3), the relationship between the components of the magnetic gradient tensor can be obtained:
Through Equations (3) and (4), Equation (2) can be simplified as follows:
According to Equation (5), only five of the nine components of the magnetic gradient tensor matrix are independent. According to Equations (1) and (2), the specific calculation formulas of the five independent components can be obtained:
where 1, 2, and 3 represent
x,
y, and
z, respectively.
3. Localization Method
By using the Euler deconvolution formula, Nara et al. proposed the localization method for a magnetic target [
13], as shown below:
According to Equation (7), the relative displacement vector can be obtained:
The proposed method by Nara et al. is the simplest localization method for solving the process. Since the right side of the equation requires specific data of the three components of the magnetic field, this method will interfere with the background.
Xu et al. used the difference of two points to replace the three components of the magnetic field and reduce the influence of the background:
where
and
represent the magnetic gradient tensor matrices of the first and second points and
is the relative displacement vector from the second to the first point.
Although this method avoids having to measure three components of the magnetic field, the use of the forward difference method leads to a more significant error in the method.
The method proposed in this paper is an improvement of the above two methods. The proposed method is as follows: the coordinates of points A, B, and C are known as: (
,
,
), (
,
,
), (
,
,
). Point C is the midpoint of the line between point A and point B. A schematic diagram of the model is shown below (
Figure 1):
The magnetic gradient tensors of points A and B are obtained via measurement. The magnetic gradient tensor of point C is obtained with the central difference method. The position of the magnetic dipole can be finally obtained with the tensor relationship of the magnetic gradient of three points and Equation (7), and it is not necessary to measure the three-component value of the magnetic field.
(
,
,
) and
(
,
,
) represent the relative displacement vectors.
According to Equation (8):
By subtracting Equations (11) and (12) and using the central difference method, the following formula can be obtained:
The relative position vector
can be determined by multiplying both sides of this equation by the
inverse:
According to Equation (14), at least one of the three variables
,
, and
should not be equal to zero. To reduce the influence of the noise, rotation error, and other errors, a single course measurement is usually carried out so that only one variable changes and the other two variables remain unchanged. The errors caused by the localization method proposed by Xu et al. and this paper are explained in
Section 4.
4. Simulation
The primary purpose of this section is to describe the testing of the stability and accuracy with the noise. Compared with the results of the other two localization methods, the advantages of the proposed localization method are preliminarily verified. A magnetic dipole is used as a magnetic anomaly source for simulation. The background field is assumed to be a uniform magnetic field. The position coordinate of the magnetic dipole is (3 m, 1 m, 0 m). The detection route is from (1 m, 5 m, 0.1 m) to (8.8 m, 5 m, 0.1 m). The horizontal distance between each measurement is 0.2 m. A schematic diagram of the magnetic dipole and detection route is shown in
Figure 2. We refer to Equation (8) as method 1 and Equation (9) as method 2, and the method proposed in this paper is named method 3.
The sensor array structure is shown in
Figure 3:
The value of each component of the magnetic gradient tensor used in the simulation is obtained from Equation (16). The baseline distance is 4 h = 0.4 m. According to the precision required in different situations, we set the maximum allowable error to 0.1 m, 0.15 m, and 0.2 m. The mean absolute error and the RMSE (the root-mean-square-error) are used to analyze the reliability of the various localization methods. The scheme is adopted for the two cases (A) and (B).
(A) The magnetic moments of the magnetic dipole are
(50
, 30
, 10
). Gaussian white noise with a signal-to-noise ratio of 62 dB is added to the measured magnetic field. By comparing the errors of the magnetic gradient tensor, the accuracy of methods 2 and 3 can be compared, as shown in
Figure 4.
The principal formula of the forward difference method is shown in Equation (17). For contrast, the main formula is illustrated in Equation (18).
(B) The magnetic moments of the magnetic dipole are
(50
, 30
, 10
). Gaussian white noise with a signal-to-noise ratio of 62 dB is added to the measured magnetic field. The localization results are shown in
Figure 5.
The localization data for the above two experiments are analyzed using the MAE (mean absolute error) and the RMSE. The calculation results are shown in
Table 1 and
Table 2. The calculation formula of RMSE is shown in Equation (19). The MAE formula is shown in Equation (20), where
is the coordinate estimate,
is the actual value, and N is the number of the point.
Figure 4 shows the results of the approximate measurement of the five magnetic gradient tensor components with the forward difference method and the central difference method. It can be seen from
Figure 4 that the error of the magnetic gradient tensor calculated with the central difference method is smaller than that obtained with the forward difference method. This also verifies the correctness of Equations (17) and (18).
It can be seen from
Figure 5 that the localization error of method 1 is smaller. The error of the localization results of each measurement point in method 1 is mostly within 0.1 m. The error of the localization results of each measurement point of method 3 is smaller than that of method 2. The localization errors of methods 2 and 3 at each measurement point are mostly within 0.2 m. As shown in
Table 1 and
Table 2, with only noise interference, method 3 is more accurate than method 2, but slightly less accurate than method 1. Method 3 is more accurate than method 2 because method 2 uses the forward difference method to approximate the magnetic gradient tensor, while method 3 uses the central difference method to solve the magnetic gradient tensor. Method 3 is slightly less accurate than method 1 because more points are used, leading to larger errors in solving the inverse matrix.
The above conclusion is the simulation for the condition of simple noise. During measurement, due to the existence of the geomagnetic field and various complex interferences, the three components of the magnetic dipole’s own magnetic field are submerged, resulting in measurement errors. In order to verify whether method 1 becomes larger in an experiment and whether the error of the method proposed in this paper is still small, an experiment is carried out.
5. Experiment
To verify the accuracy of the localization results using the proposed method under complex magnetic interference conditions, the following experiments are carried out:
The detection process is described below.
This detection process is described in
Figure 6. The detection device is shown in
Figure 7. The device consists of four three-axis fluxgate sensors and a nonmagnetic chassis. The operating temperature range of the sensor is −40~70 °C. The measurement range of the sensor is 70,000 nt. The maximum resolution of the sensor is 0.01 nt. The baseline distance is 0.4 m.
When the magnetic anomaly source is detected, the sensor transmits the data to the data acquisition card through the data transmission line, and the data is processed by the information processing terminal. The results are obtained according to the corresponding algorithm. The flowchart is shown in the following figure.
The experimental site is a cement road surface with complex magnetic interference. As in the simulation, we refer to Equation (8) as method 1 and Equation (9) as method 2, and the method proposed in this paper is called method 3.
A cylindrical magnet with a bottom diameter of 0.02 m and a height of 0.02 m is the magnetic anomaly source for detection. The detection path is from (−0.6 m, 0.8 m, 0.6 m) to (0.5 m, 0.8 m, 0.6 m) and the distance between detection points is 0.1 m. Cylindrical magnets are placed at (0.05 m, 0.4 m, 0.52 m). Unlike the simple noise conditions in the simulation, the interference in the field experiment is complex, and the localization error increases. This section describes how we study the reliability of the localization results of the three methods with the allowable errors of 0.5 m and 0.7 m. The localization results are shown in
Figure 8. The absolute error diagram of each point is shown in
Figure 9. There are twelve measuring points shown in
Figure 8.
Table 3 shows the error measured for each point. The RMSE of the localization results is shown in
Table 4. The acceptance probability is used to evaluate the localization results of various methods. The results are shown in
Table 5 and
Table 6.
It can be seen from
Figure 8 that the error of method 3 is smaller than those of method 1 and method 2 under the condition of complex magnetic interference. The error of method 1 with a smaller error in the simulation becomes larger sharply in the condition. The reason for this is that its localization method needs to measure three components of the geomagnetic field, but there are errors in the measurement of the three components of the geomagnetic field under complex magnetic interference conditions.
Figure 9 and
Table 3 give the absolute error of each point. It can be seen from the chart that the overall error of method 3 is smaller. It can be determined from
Table 5 and
Table 6 that the localization result of method 3 is more reliable with the premise of error ranges of 0.5 m and 0.7 m.
Table 4 shows the deviation between the localization results of the three methods and the true value. The results show that the deviation of the third method is smaller.
From the above figures and tables, the following conclusions can be drawn:
- (1)
The accuracy of method 1 is worse than those of method 2 and method 3 under complex magnetic interference conditions;
- (2)
The accuracy of method 3 is higher than that of method 2;
- (3)
The accuracy of method 3 is higher than that of method 2, which also proves the correctness of Equations (17) and (18). It is also proved that using the central difference method to measure the magnetic gradient tensor makes the data error smaller.
6. Conclusions
In this paper, a small object localization method based on a magnetic gradient tensor is proposed. The three components of the magnetic field to be measured are transformed into the magnetic gradient tensor matrix at the midpoint using the center difference method to reduce the interference of the background field. The algorithm is simple and does not involve time-consuming methods, such as iteration, which makes the method discussed in this paper real-time. Simulation results show the reliability of the proposed method only under noise interference. The experimental results show that this method is superior to the other two localization methods under complex magnetic interference conditions. In practice, complex magnetic interference often leads to measurement errors. Complex magnetic interference includes the geomagnetic field, magnetic field of surrounding ferromagnetic objects, the noise of the instrument itself, etc. Determining how to reduce the influence of such interference and get real-time positioning results is the purpose of this research. In the next step, the work of this research will be continued, and the influence of complex magnetic interference will be reduced by changing the measurement method of the magnetic gradient tensor, optimizing the instrument calibration, and upgrading the noise reduction algorithm.