Next Article in Journal
CrossInteraction: Multi-Modal Interaction and Alignment Strategy for 3D Perception
Next Article in Special Issue
Enhanced Hyperspectral Image Classification Technique Using PCA-2D-CNN Algorithm and Null Spectrum Hyperpixel Features
Previous Article in Journal
Bioelectrical Impedance-Based Time-Domain Analysis for Cerebral Autoregulation Assessment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Quadrotor UAV Aeromagnetic Compensation Method Based on Time–Frequency Joint Representation Neural Network and Its Application in Mineral Exploration

Department of Solid Earth Geophysics, College of Geo-Exploration Science and Technology, Chaoyang Campus, Jilin University, Changchun 130012, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(18), 5774; https://doi.org/10.3390/s25185774
Submission received: 23 July 2025 / Revised: 20 August 2025 / Accepted: 10 September 2025 / Published: 16 September 2025

Abstract

Quadrotor UAV-based aeromagnetic survey for mineral exploration has become a crucial solution in modern airborne geophysics due to its prominent advantages of cost-effectiveness and high efficiency. During the detection process, the magnetic anomaly interference generated by the quadrotor UAV itself reduces the signal-to-noise ratio (SNR) of the target signal, and some noise overlaps with the target signal in both time and frequency domains. Traditional methods exhibit poor compensation capability for such noise. To address these issues, this paper proposes an aeromagnetic compensation method based on a time–frequency joint representation neural network. This method combines continuous wavelet transform (CWT) and bidirectional long short-term memory (Bi-LSTM) to establish a prediction model. It uses wavelet transform to extract the frequency variation characteristics of the UAV’s magnetic interference, and it inputs these frequency characteristics along with the original time-domain data into the Bi-LSTM network to predict the UAV’s noise. Bi-LSTM can effectively extract the temporal logical connections in time-series signals, thereby improving the accuracy of the compensation model and ensuring high robustness. In this study, magnetic interference data from quadrotor UAV compensation flights were collected for experiments to evaluate the performance of the proposed method. Experimental results show that the neural network fused with time–frequency features, when applied to UAV aeromagnetic compensation, significantly enhances the accuracy and robustness of the compensation method. To verify the method’s effectiveness in removing UAV-generated noise during actual exploration, aeromagnetic survey data from a specific area were compensated using this method.

1. Introduction

UAV aeromagnetic exploration has been widely used in geological surveys, mineral exploration, and other fields due to its technical advantages such as low cost and wide application range [1,2,3,4]. Currently, quadrotor UAVs are extensively employed in aeromagnetic exploration. During aeromagnetic survey operations, magnetometers receive not only the target magnetic field signals but also various noise interferences, including the Earth’s magnetic field, diurnal magnetic field variations, UAV-generated magnetic interference, and geomagnetic gradients. These interferences need to be separated and eliminated through effective technical means. Most magnetic interferences can be detected using independent detectors; however, the magnetic interference generated by the UAV itself cannot be directly detected by independent detectors. Therefore, it is necessary to indirectly predict and remove the UAV-induced magnetic interference using detector data, a process known as aeromagnetic compensation.
To quantify the UAV-generated magnetic interference, Tolles and Lawson first analyzed the mechanism of magnetic interference from flight platforms [5]. They classified the magnetic interference into three categories based on its sources: constant magnetic field, induced magnetic field, and eddy current magnetic field, and they established a mathematical model of magnetic interference related to maneuvering actions, which is known as the Tolles–Lawson equation (abbreviated as the T-L equation hereinafter). Based on the T-L equation, Leliak designed an aeromagnetic compensation flight scheme and a method to estimate magnetic interference compensation during maneuvering [6]. The essence of this method is to solve the compensation coefficients in an overdetermined system of equations using data obtained from compensation flights. Consequently, to improve the quality of the solved compensation coefficients, the calculation methods have been continuously optimized. In 1979, Bickel proposed a small-signal compensation method [7], which can effectively calculate approximate compensation coefficients. In 1990, Leach improved the least squares method [8] and proposed using ridge regression to solve the T-L equation. In 2008, Praga developed an improved ridge regression algorithm to enhance calculation accuracy [9]. In 2010, Zhang et al. combined Principal Component Analysis (PCA) with the least squares method [10] and proposed the partial least squares method. Dou proposed a real-time compensation method based on Recursive Least Squares (RLS) [11], enabling real-time calculation.
The aforementioned methods are based on traditional linear regression and require consideration of the linear correlation between data, leading to issues such as algorithm instability and poor robustness. In 1993, Williams proposed the application of neural networks in aeromagnetic compensation [12], establishing a neural network model for flight platforms. Attitude information and time information were used as inputs, and aeromagnetic interference was used as output to train the model for estimating aeromagnetic interference. In 2017, Ma evaluated the performance of neural networks [13] and introduced observation noise to suppress the overfitting problem of neural networks. The accuracy of traditional compensation methods [14,15,16,17,18] is gradually unable to meet the increasingly higher accuracy requirements of aeromagnetic exploration. In 2021, Zhao proposed the Denoising Autoencoder (DAE) method [19], which improves the speed and accuracy of aeromagnetic compensation through deep autoencoding. In the same year, Zhao applied the Generalized Regression Neural Network (GRNN) to aeromagnetic compensation [20]. In 2024, Lou proved through simulations and experiments that Bi-LSTM can effectively extract time-domain information, capture data correlations between time series, and better identify magnetic anomalies [21]. Many studies [22,23,24] have also proven that neural networks achieve better compensation effects than traditional compensation methods in addressing aeromagnetic compensation problems. Previous compensation methods focused on analyzing the time-domain information of UAV noise and separated filtering and compensation into two separate steps, which reduced compensation accuracy and compromised the stability of the compensation method.
The signal-to-noise ratio (SNR) of signals obtained from actual aeromagnetic exploration is relatively low. Fourier transform can simply divide noise signals into high-frequency and low-frequency components. In 2004, Gamey analyzed the frequency of magnetic interference generated by the rotor blades of rotary-wing helicopters [25] and found that the signal frequency is related to the number of rotors. In 2010, Dou designed an adaptive wavelet filter [26], which retains the magnetic interference of the flight platform while removing other interferences through filtering. In 2020, Walter further analyzed the sources of signals received by optically pumped magnetometers and their corresponding frequency ranges [27], facilitating the extraction of required signals from the frequency domain. Although the aforementioned methods can remove noise with distinct high-frequency characteristics through filtering, the frequency of UAV-generated magnetic interference is close to that of magnetic anomalies generated by detected targets. Thus, UAV-generated magnetic interference cannot be simply removed by filtering. In this paper, continuous wavelet transform is applied to the time-domain signals of UAV noise to obtain frequency characteristics. By comparing and analyzing the time–frequency spectra of three compensation flight experiments with the same maneuvering actions but different altitudes, it is verified that there is a strong correlation between UAV noise and flight attitude.
Previous aeromagnetic compensation methods, which only use time-domain information, achieve good compensation results for single-rotor and fixed-wing aircraft but poor results for quadrotor UAVs. Since most quadrotor UAVs adopt a demagnetized structure, changes in flight attitude depend on the rotation frequency adjustment of motors on each rotor [28]. Therefore, the variation of magnetic interference in quadrotor UAVs is strongly correlated with the rotation frequency of the motors. Consequently, aeromagnetic compensation for quadrotor UAVs needs to consider frequency variation characteristics. This paper proposes a time–frequency joint representation aeromagnetic compensation method (Bi-FT). Time-domain information is used to analyze the UAV’s attitude, and frequency information is used to analyze changes in motor speed. A bidirectional long short-term memory network is employed to predict the magnetic interference characteristics generated by the quadrotor UAV during specific maneuvers.
The aeromagnetic compensation method proposed in this paper was tested on actual exploration data. The study area is located in Dandong, southeastern Liaoning Province, China, which is situated on the northeastern margin of the North China Craton and the core part of the Jiaoliao Block, serving as an important component of the North China Craton. It has a long geological history, with crustal evolution exceeding 3.8 billion years. As a craton margin, Dandong has been affected by multiple tectonic events, particularly during the Mesozoic, when continuous subduction of the Pacific Plate beneath the Eurasian Plate triggered multi-stage deformation and magmatic activity in the region. In terms of geological structure, Dandong is located in the hanging wall of the north-dipping Dabie–Sulu suture zone. This special location led to complex deformation and magmatic events during the Mesozoic, driven by the subduction of the Paleo–Pacific Plate toward the Eurasian Plate. Among them, the NE-trending Jixingou Fault Zone is a major structure in the region, which has induced moderate to strong seismic activity in history and contains a large number of different ore veins. It serves as a key window for studying the tectonic evolution of the East Asian continental block.
The Wulong gold deposit is located west of the Yalu River Fault, with a series of nearly parallel NNE-trending faults (Figure 1), including the Zhengjiapuzi Fault, Heigou Fault, Jixingou Fault, Yangjia Fault, Hongshi Fault, and Hanjiapu Fault, from east to west. These faults are several kilometers long and range in width from a few meters to 40 m, dipping 40–60° northwestward [29]. The Jixingou Fault (Figure 2) is near the Wulong gold deposit and is an important ore-bearing structure. The area within the red frame is the exploration area, covering the Wulong gold deposit. The Wulong gold deposit occurs in Late Jurassic gneissic two-mica granite and Early Cretaceous granodiorite. Early Cretaceous dikes are widely developed in the ore district, including pre-ore fine-grained diorite and granite porphyry, as well as post-ore thin-layered dolerite dikes.
The structure of this paper is as follows: Section 2 details the methods used in this study. Section 3 introduces the process of UAV compensation experiments and verifies the feasibility and advantages of the time–frequency joint Bi-LSTM in aeromagnetic compensation through two sets of experiments. Experiment a verifies the feasibility of aeromagnetic compensation combining time-domain and frequency-domain information by confirming the correlation between frequency characteristics and maneuvering actions. Experiment b demonstrates the improved compensation effect of Bi-LSTM integrating time–frequency information by comparing the compensation effects of different methods, and it conducts compensation experiments on actual aeromagnetic exploration data in the Dandong area to verify the method’s compensation effect in practical applications. Section 5 includes discussions on the method and experiments. Conclusions are summarized in Section 6.

2. Materials and Methods

To remove the noise generated by the quadrotor UAV, a compensation flight is required before the actual flight to establish a compensation model for predicting the magnetic interference generated by the UAV during the actual flight. Wavelet analysis is used to extract the frequency characteristics contained in the UAV’s magnetic interference, analyze the frequency variation characteristics of the magnetic interference generated by the motor under various maneuvering actions of the UAV, and combine them with time characteristics. Bi-LSTM is used to learn the compensation model of the potential relationship between the magnetic interference generated by the UAV during various flights and the corresponding time characteristics and frequency characteristics, which is used to predict the magnetic interference generated by the quadrotor UAV during flight operations. The process of aeromagnetic compensation is shown in Figure 3.

2.1. Traditional Aeromagnetic Compensation Model

The magnetic interference generated by the UAV is closely related to its flight state. The T-L model proposed by Tolles and Lawson divides the interference signals generated by the UAV in aeromagnetic measurement into three parts according to the causes of generation, which are the constant field ( H p ), the induced field ( H i ), and the eddy current field ( H e c ), which can be expressed as follows:
H p = T c 1 cos α + c 2 cos β + c 3 cos γ ,
H i = T c 4 cos 2 α + c 5 cos α cos β + c 6 cos α cos γ + c 7 cos 2 β + c 8 cos β cos γ + c 9 cos 2 γ ,
H e c = T c 10 cos α   cos   α + c 11 cos β   cos   α + c 12 cos γ   cos   α + c 13 cos α   cos   γ + c 14 cos β   cos   γ + c 15 cos γ   cos   γ + c 16 cos α   cos   β + c 17 cos β   cos   β + c 18 cos γ   cos   β ,
where T represents the Earth’s magnetic field; cos   α , cos   β , and cos   γ represent the derivatives of the direction cosines cos   α , cos   β , and cos   γ with respect to time t , respectively. Due to the inconsistent accuracy between the three-axis fluxgate magnetometer and the optically pumped magnetometer, errors will be generated that affect the calculation of direction cosines. Leach proposed a simplified direction cosine calculation method, which calculates direction cosines through fluxgate data:
c o s α = T x T t   , c o s β = T y T t   , c o s γ = T z T t ,
T t = T x 2 + T y 2 + T z 2 ,
T x ,   T y , and T z are the three components of the fluxgate. The vector sum of the three components is used as the total magnetic field T t for calculating direction cosines. H t o t a l in the T-L equation is the total magnetic interference of the UAV measured by the optical pump magnetometer:
H t o t a l = H p + H i + H e c ,
Combining Equations (1)–(3) and (6), the T-L equation can be simplified as follows:
H t o t a l = X S ,
where X represents the direction cosines and their derivatives in Equations (1)–(3), which characterize the flight attitude of the UAV; S represents the 18 compensation coefficients from c 1 to c 18 . By calculating these 18 compensation coefficients, a compensation model is established to determine the amplitude of magnetic interference signals generated by the UAV under different flight attitudes, thereby predicting UAV-generated magnetic interference in actual flights and removing it from mixed signals.
The traditional model solution method treats the T-L equation as a linear regression equation and solves it using the least squares (LS) method. The least squares solution of the T-L equation is as follows:
S L S = X T X 1 X T H t ,
Substitute the calculated compensation coefficient S L S back into Equation (7) to obtain the calculated value of magnetic interference H ~ L S . The formula for the compensation result ( H L S ) is as follows:
H L S = H t H ~ t = H t X S L S ,
In the calculation of the least squares method, there exists the term ( X T X ) 1 . If there is perfect multicollinearity between independent variables, the rank of matrix X is less than (N+1) (where N is the number of independent variables), leading to X T X = 0 ( ( X T X ) 1 does not exist), making the LS method unsolvable. When X T X 0 , the least squares parameter estimation will be inaccurate.
Leach proposed the ridge regression (RR) algorithm to address the multicollinearity problem in the T-L equation. By adding a regularization parameter k, it overcomes the possibility of near singularity when inverting X T X in the LS method, making the LS solution more stable. The RR coefficient S can be expressed as follows:
S R R = X T X + k I 1 X T H t ,
The calculated compensation coefficient S R R is substituted back into Equation (7) to obtain the calculated value of magnetic interference H ~ R R . The calculation formula for the compensation result ( H R R ) is as follows:
H R R = H t H ~ R R = H t X S R R ,
The classical T-L equation simply solves compensation coefficients, and the compensation accuracy depends on the solution accuracy of interference coefficients. To evaluate the performance of the compensation model, the standard deviation ( S T D ) of magnetic interference before and after compensation and the Improvement Ratio ( I R ) can be calculated:
S T D = 1 n i = 1 n i ¯ 2 ,
I R = S T D u S T D c ,
In Equation (13), S T D u is the standard deviation of raw aeromagnetic survey data; S T D c is the standard deviation of data after aeromagnetic compensation. A smaller S T D c indicates higher compensation accuracy, and a larger IR indicates better compensation effect.

2.2. Continuous Wavelet Transform

Callum Walter [27] analyzed the components of signals received during aeromagnetic exploration and found that the noise generated by the UAV is closely related to the rotation speed of the motors. In actual aeromagnetic detection, various noises are mixed in the time domain, affecting the time-domain data of the magnetometer. Simple filtering can remove high-frequency noise, but the low-frequency noise generated by the UAV overlaps with the low-frequency signals generated by underground targets in the frequency domain. Thus, it is impossible to effectively separate noise from target signals using only time-domain or frequency-domain analysis. This paper focuses on quadrotor UAVs and identifies and separates the UAV-generated magnetic interference by combining time-domain and frequency-domain analyses.
To combine frequency features with time-domain information as training sets for aeromagnetic compensation calculations, continuous wavelet transform is selected for time–frequency analysis in this paper. The formula for continuous wavelet transform is the following:
W α , τ = 1 α f t ψ * t τ α d t ,
where α is the scale parameter, controlling the stretching and shrinking of the basis function; different scale parameters correspond to wavelet bases of different frequencies; τ is the translation parameter, controlling the displacement of the basis function, corresponding to signals at different time segments; and ψ t is the mother wavelet. In this paper, cgau8 is selected as the mother wavelet, and its formula is as follows:
ψ t = ( 1 16 t 2 + 256 3 t 4 1024 15 t 6 + 4096 105 t 8 ) · e 4 t 2 · j 2 t ,
Using cgau8 as the mother wavelet offers computational efficiency and local sensitivity. It avoids infinite interval integration when processing data within a limited interval, significantly reducing computational complexity, and it exhibits high sensitivity to local signal mutations, enabling accurate extraction of feature points. When applied in L 2 R , substituting Equation (15) into Equation (14) yields the following:
W c α , τ = 1 α x t · ( 1 16 t 2 + 256 3 t 4 1024 15 t 6 + 4096 105 t 8 ) · e 4 t τ α 2 · j 2 t τ α d t ,
In this paper, cgau8 is used for time–frequency analysis of signals, with the scale range set from 1 to 100, covering both large and small scales to ensure that the signal analysis includes both low-frequency and high-frequency features. Here, wavelet analysis is performed on magnetic interference from a compensation flight, and Figure 4a,b show the original signal and its corresponding time–frequency spectrum, respectively.
As can be seen from Figure 4, signal fluctuations in the original signal can be displayed in the time–frequency spectrum, indicating that continuous wavelet transform with cgau8 as the mother wavelet has good sensitivity to instantaneous signal fluctuations.
For the analysis of signals containing n time points, the time–frequency spectrum obtained after wavelet analysis can be regarded as a vector group v = v 1 , v 2 , , v n , where v n is a 1 × i vector, i.e., v n = v n 1 , v n 2 , , v n i , i represents the number of scales, and each value v n i in vector v n denotes the energy amplitude corresponding to a different frequency. If all frequency data in the time–frequency spectrum are used as training sets for neural network training, a large number of similar and useless low values will drown out effective information. This will instead reduce the learning speed and accuracy of the neural network. Therefore, it is necessary to further extract effective information from them.
m i = argmax v n i , i 1,2 , , 100 ,
m = m 1 , m 2 , , m n ,
By converting the scales in matrix m into corresponding frequencies, the time–frequency feature matrix F = f 1 , f 2 , , f n is obtained. In this paper, the frequency corresponding to the maximum amplitude at each sampling point is selected as the characteristic frequency of that sampling point. This characteristic frequency is used as the motor characteristic of the UAV to provide a basis for subsequent prediction of magnetic interference signals.

2.3. Bi-LSTM

The long short-term memory neural network (referred to as LSTM) is an improved Recurrent Neural Network (RNN) model. On the basis of RNN, LSTM networks prevent the problem of gradient vanishing or explosion caused by long-term dependence by adding screening and memory mechanisms to filter effective data, remove redundant data, and train the model. LSTM has excellent memory and generalization abilities for time-series data and can identify intrinsic connections in time-series data. LSTM is constructed based on three gate structures and cell states: the forget gate, input gate, and output gate. The mathematical principles of LSTM are as follows:
f t = σ W f · h t 1 , x t + b f ,
i t = σ W i · h t 1 , x t + b i ,
C ~ t = t a n h W C · h t 1 , x t + b C ,
C t = f t     C t 1 + i t     C ~ t ,
o t = σ W o · h t 1 , x t + b o ,
h t = o t     tanh C t ,
where W f is the weight matrix, b f is the bias vector, h t 1 , x t represents the concatenated vector of the previous hidden state h t 1 and the current input x t , and C ~ t is the candidate cell state for updating information. At the input gate, C ~ t and historical cell state C t 1 are selectively retained, and the cell state C t is updated in real-time. The hidden state h t at the current moment is obtained by fusing the output gate o t with the result of the nonlinear transformation of the cell state C t , containing both current sequence features and long-term dependence information.
Chen [21] detailed the principle and process of Bi-LSTM and proved that Bi-LSTM can effectively capture the data correlation between time series obtained by fluxgate magnetometers, showing great potential in magnetic anomaly signal processing.
Before inputting data into the Bi-LSTM network for training, it is necessary to concatenate the time-domain information and frequency-domain information. Let the time-domain information be a matrix of length t , with 18 attitude parameters at each time point; then, the time-domain information can be expressed as X 18 , t :
X 18 , t = γ 1,1 γ 1,2 γ 2,1 γ 2,2 γ 1,1 γ 2 , t γ 18,1 γ 18,2 γ 18 , t ,
The above 18 parameters represent the UAV’s attitude. Wavelet analysis is used to extract the motor frequency characteristics corresponding to the UAV under different maneuvering attitudes from the magnetometer signals. The characteristic frequencies of the motors and the attitude parameters are concatenated in chronological order to obtain the input matrix:
x 19 , t = γ 1,1 γ 1,2 γ 2,1 γ 2,2 γ 1,1 γ 2 , t γ 18,1 f 1 γ 18,2 f 2 γ 18 , t f t = x 1 x 2 x t ,
x 19 , t is a mixed feature matrix containing both UAV attitude information and motor frequency information. The actual network training process is illustrated in Figure 5.
Input x 19 , t into the Bi-LSTM network to predict the magnetic interference generated by the quadrotor UAV, with the goal of minimizing the Mean Squared Error (MSE) between the predicted magnetic interference and the actual magnetic interference:
L o s s θ = 1 N t = 1 N ( T t h t ) 2 ,
where T t is the actual magnetic interference of the UAV, and h t is the magnetic interference predicted by the network. In this paper, the Adam optimizer is used to optimize the Bi-LSTM network. The initial learning rate is set to 0.001, and the learning rate is adaptively adjusted while the network learns data correlations. The training process is terminated early when the Loss is less than 0.0001. This optimization improves the robustness and learning speed of the network.

3. Results

To verify the feasibility of extracting frequency features of quadcopter UAV magnetic interference from compensation flight detection signals and applying them to aeromagnetic compensation model estimation, and to prove that combining time-domain and frequency features can improve aeromagnetic compensation accuracy, two sets of experiments are conducted in this paper. Experiment a is designed to verify the feasibility of using frequency features for UAV aeromagnetic compensation model estimation. Experiment b demonstrates that Bi-LSTM can improve aeromagnetic compensation accuracy, and Bi-LSTM combining time–frequency information extracted by wavelet transform with time-domain information can further enhance the compensation effect.

3.1. UAV Compensation Flight

The experiment uses a DJI M300 RTK as the flight platform, a quadcopter UAV equipped with a high-precision optical pump magnetometer and a supporting triaxial fluxgate magnetometer. The two magnetic probes are installed at the ends of carbon fiber rods extending from the left and right sides of the UAV’s landing gear, measuring changes in the total magnetic field strength and three mutually orthogonal magnetic field components (Figure 6a).
To obtain magnetic interference generated by the UAV during various maneuvering actions for aeromagnetic compensation, compensation flights need to be conducted before actual flights. The compensation flight involves three sets of maneuvering flights: yaw (±5°), roll (±10°), and pitch (±5°) in four directions. Compared with fixed-wing aircraft, multi-rotor UAVs have hovering capabilities and more flexible steering, enabling steering in a smaller space during actual operations. Thus, compensation flights can be completed in a small space, ensuring that ground magnetometers can fully collect magnetic interference generated by the UAV during compensation flights. The top view of the UAV’s compensation flight route in this paper is shown in Figure 6b.

3.2. Experiment a: Verification of Correlation Between Frequency Features and Maneuvering Actions

Fourier transform reveals similar frequency components in compensation flight signals, but it loses time information and cannot be used for magnetic interference estimation. Time–frequency spectra obtained by wavelet transform of signals show frequency changes over time, requiring verification of the strong correlation between frequency changes and maneuvering actions. Three flight experiments were conducted (Figure 7), with the UAV performing compensation flights at heights of 2 m, 4 m, and 7 m above the ground. Each compensation flight followed the same sequence of actions and duration, with a total duration of 200 s.
A ground magnetometer was placed below the UAV to collect magnetic interference generated by the UAV during compensation flights. The UAV performed the same compensation flights at 2 m, 4 m, and 7 m above the magnetometer, and wavelet analysis was conducted on the signals collected by the magnetometer. Figure 8 shows the original signal waveforms and corresponding time–frequency spectra obtained from flight experiments at various heights.
In the experiments, by observing the original signals and time–frequency spectra of multiple experiments (Figure 8), it was found that frequency amplitude variations occurred in the same time segments of the time–frequency spectra. As the distance between the UAV and the magnetometer increased, the signal intensity decreased, and the amplitude in the time–frequency spectrum also decreased gradually. Although the frequency amplitudes were different, the frequency variation patterns showed similarities. This confirms that the UAV generates the same frequency characteristic variations when performing the same maneuvering actions, indicating a strong correlation between the UAV’s maneuvering actions and frequency characteristics.

3.3. Experiment b: Bi-LSTM Network Compensation Method Combining Time and Frequency

Experiment a proves a strong correlation between UAV maneuvering actions and magnetic interference frequencies, and compensation parameters in aeromagnetic compensation calculations are also strongly correlated with UAV maneuvering actions. Therefore, magnetic interference frequency features are used as constraint terms in the aeromagnetic compensation process, and time-domain and frequency-domain information are combined and input into the Bi-LSTM network for model training to extract potential correlations, resulting in an optimized compensation model, referred to as Bi-FT (Time–Frequency Joint Bi-LSTM) in this paper.
When only filters were used for noise removal, the Butterworth filter achieved significantly better denoising results than the wavelet filter. This is because Fourier transform treats signal jumps as high-frequency signals and removes them, while wavelet analysis often treats them as low-frequency signals and retains them. Compared with traditional linear compensation methods and LSTM, Bi-LSTM had a higher IR. The IR of the compensation results of Bi-FT, which integrates time–frequency information, was further higher than that of Bi-LSTM or LSTM alone, and it had the highest IR among all of the aforementioned methods. Combining the compensation results (Figure 9, Table 1), it can be concluded that Bi-FT achieved the best compensation effect compared with the other methods mentioned above.
Finally, an additional test experiment was conducted on the Bi-FT method to evaluate its stability and robustness. In the test experiment, the same compensation method was used, and the compensation models trained with Dataset 1 and Dataset 2 were used to compensate Dataset 2 and Dataset 1, respectively. The Cross-Calibration Index (CCI) [30,31] between the two compensation results was calculated. The experimental results showed that the CCI was 1.02, which is very close to 1, indicating that the Bi-LSTM compensation method has excellent robustness and stability.

4. Line Flight Test

To further verify the compensation effect of the method, the Bi-FT compensation method was applied to actual flights. In this study, a DJI quadrotor UAV (DJI Technology Co., Ltd., Shenzhen, China) was used to carry an airborne magnetic survey system (GTK Technology (Shenzhen) Co., Ltd., Shenzhen, China) consisting of an optical pump magnetometer and a triaxial fluxgate magnetometer for field flight operations. According to existing geological data, there are NNE-, NW-, and NS-trending structures in the study area [29] The survey area has a relatively regular shape, covering an area of approximately 20 km2. A total of 52 survey lines were arranged, with an east–west direction and a line spacing of 100 m. The UAV flight height was 100 m. Figure 10a shows the satellite remote sensing image of the detection area and the flight path. A terrain-following flight mode was adopted to maintain the UAV’s height above the ground at approximately 100 m during the flight survey. Figure 10b shows the actual flight operation.
Taking Line 10250 (northbound) and Line 10260 (southbound) as examples, the original magnetic anomalies and the magnetic anomaly profiles after compensation using the Bi-FT method are shown (Figure 11). As observed in Figure 11, the original signals contained a large number of serrated edges and irregular anomaly interferences, some of which were caused by maneuvering noise during UAV detection. This affects the resolution of the magnetic anomaly map and reduces the accuracy of subsequent inversion work. After compensating the original data using Bi-FT, the interference generated by the UAV was removed, and the data became smoother, providing better data for subsequent inversion and interpretation work.
The compensation method was applied to all survey line data. Figure 12a shows the magnetic anomaly map of the original data (diurnal variation effects were eliminated before aeromagnetic compensation). The pre-compensation magnetic anomalies contain maneuver noise generated during aeromagnetic exploration, which affects the resolution of the magnetic anomaly map and severely impacts subsequent inversion and interpretation. Figure 12b shows the magnetic anomaly results after compensation using the Bi-FT method. Comparing the magnetic anomalies within the black frame, high-frequency anomalous signals generated by the UAV were eliminated, making the shape and location of low-frequency anomalies more distinct. Moreover, the magnetic anomalies are consistent with the strike of the known Jixingou Fault in the study area, and corresponding high magnetic anomaly values exist at the Wulong gold deposit.

5. Discussion

Aeromagnetic exploration model solution methods based on linear regression have been widely studied, but there are few studies on the impact of UAV heading and attitude changes on the frequency characteristics of magnetic interference. This study confirmed through experiments that when a quadrotor UAV performs the same maneuver, the time–frequency spectrum of its magnetic interference shows a consistent frequency variation pattern—this finding provides a physical basis for introducing time–frequency characteristics into the aeromagnetic compensation model. Experimental results show that the Bi-LSTM compensation method (Bi-FT) based on time–frequency joint representation in quadrotor UAV aeromagnetic exploration is significantly superior to frequency-domain-only filtering methods (Butterworth filter, wavelet filter), traditional linear methods (least squares method, ridge regression), and neural network methods without fused time–frequency characteristics (LSTM, Bi-LSTM) in terms of compensation accuracy and robustness—especially in the Improvement Ratio (IR) index, verifying the effectiveness of time–frequency information fusion in improving compensation performance.
However, this study has certain limitations. Firstly, the applicability of the method to other types of UAVs (such as hexacopters, fixed-wing UAVs) has not been verified. Different types of UAVs have differences in power systems and structural designs, and their magnetic interference frequency features may differ from those of quadcopter UAVs, so the generalizability of the Bi-FT method requires more experimental verification. Additionally, in actual survey experiments, although the UAV maintained a height of 100 m relative to the ground, terrain undulations in the survey area may cause changes in altitude, and whether the resulting magnetic gradient effect affects compensation accuracy has not been verified. Therefore, future research may consider introducing height parameters as model inputs to construct a spatiotemporal joint compensation model, adapting to aeromagnetic detection needs under complex terrain conditions.
Meanwhile, the computational complexity of the Bi-FT method in this study is slightly higher than that of traditional linear methods, mainly due to the time–frequency feature extraction via continuous wavelet transform and the training process of the Bi-LSTM network. In practical engineering applications, optimizing computational efficiency while ensuring compensation accuracy and shortening real-time compensation response time is a key issue to be addressed in subsequent work.

6. Conclusions

Quadcopter UAVs have been widely used in aeromagnetic surveying due to their advantages of low cost, wide coverage, and high operational efficiency. However, magnetic interference generated by the platform itself significantly reduces the quality of detection data, and aeromagnetic compensation is a key step toward improving data effectiveness. To address the problem that traditional methods struggle to handle time–frequency aliased noise, this study proposes a time–frequency joint representation neural network-based aeromagnetic compensation method. Continuous wavelet transform (CWT) is used to extract time–frequency features of magnetic interference, which are combined with raw time-domain data and input into a bidirectional long short-term memory network (Bi-LSTM) to achieve accurate prediction and compensation of UAV magnetic interference.
Experimental verification shows the following:
When performing the same maneuver, quadrotor UAVs show a consistent frequency variation pattern in the time–frequency spectrum of magnetic interference, confirming that frequency characteristics can be used as effective constraint terms for aeromagnetic compensation.
After Bi-FT compensation, the residual interference magnetic field is less than 0.5nT; its standard deviation (STD) is lower than that of filtering methods (Butterworth filter, wavelet filter), traditional linear methods (least squares method, ridge regression), and neural network methods without fused time–frequency characteristics (LSTM, Bi-LSTM), with a maximum Improvement Ratio (IR) of 22.123 and a Cross-Calibration Index (CCI) close to 1—indicating excellent compensation accuracy and robustness.
In actual aeromagnetic exploration in Dandong, the Bi-FT method effectively removes UAV maneuvering noise, making magnetic anomalies more consistent with the positions and boundaries of known structures, and providing a high-quality data foundation for subsequent inversion and geological interpretation. The time–frequency joint compensation method proposed in this study provides a new solution for magnetic interference suppression in quadcopter UAV aeromagnetic surveying, and it has important application value, especially in fields with high data accuracy requirements such as mineral exploration.

Author Contributions

P.Y., J.J., G.H. and Y.Z.: Conceptualization, Methodology, Software; J.J. and L.Z.: Experimental materials and data management; G.H.: Writing—Original draft preparation; G.H., P.L., L.L. and S.S.: Visualization; J.J. and G.H.: Writing—Reviewing and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the National Natural Science Foundation of China under Grant 42274187 and in part by the Deep Earth National Science and Technology Major Project (2024ZD1002905) and Natural Science Foundation of Jilin Province under Grant 20220101147JC.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available because they have been provided by a classified project.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Cunningham, M.; Samson, C.; Wood, A.; Cook, I. Aeromagnetic Surveying with a Rotary-Wing Unmanned Aircraft System: A Case Study from a Zinc Deposit in Nash Creek, New Brunswick, Canada. Pure Appl. Geophys. 2018, 175, 3145–3158. [Google Scholar] [CrossRef]
  2. Walter, C.; Braun, A.; Fotopoulos, G. High-resolution unmanned aerial vehicle aeromagnetic surveys for mineral exploration targets. Geophys. Prospect. 2020, 68, 334–349. [Google Scholar] [CrossRef]
  3. Parshin, A.V.; Morozov, V.A.; Blinov, A.V.; Kosterev, A.N.; Budyak, A.E. Low-altitude geophysical magnetic prospecting based on multirotor UAV as a promising replacement for traditional ground survey. Geo-Spat. Inf. Sci. 2018, 21, 67–74. [Google Scholar] [CrossRef]
  4. Aali, A.A.; Shirazy, A.; Shirazi, A.; Pour, A.B.; Hezarkhani, A.; Maghsoudi, A.; Hashim, M.; Khakmardan, S. Fusion of Remote Sensing, Magnetometric, and Geological Data to Identify Polymetallic Mineral Potential Zones in Chakchak Region, Yazd, Iran. Remote Sens. 2022, 14, 6018. [Google Scholar] [CrossRef]
  5. Tolles, W.E.; Lawson, J.D. Magnetic Compensation of MAD Equipped Aircraft; Airborne Instruments Laboratory: Mineola, NY, USA, 1950; pp. 201–211. [Google Scholar]
  6. Leliak, P. Identification and Evaluation of Magnetic-Field Sources of Magnetic Airborne Detector Equipped Aircraft. IRE Trans. Aeronaut. Navig. Electron. 1961, ANE-8, 95–105. [Google Scholar] [CrossRef]
  7. Bickel, S.H. Small Signal Compensation of Magnetic Fields Resulting from Aircraft Maneuvers. IEEE Trans. Aerosp. Electron. Syst. 1979, AES-15, 518–525. [Google Scholar] [CrossRef]
  8. Leach, B.W. Aeromagnetic Compensation as a Linear Regression Problem. In Information Linkage Between Applied Mathematics and Industry; Academic Press: Cambridge, MA, USA, 1980; pp. 139–161. [Google Scholar]
  9. Praga-Alejo, R.J.; Torres-Trevino, L.M.; Pina-Monarrez, M.R. Optimal Determination of K Constant of Ridge Regression Using a Simple Genetic Algorithm. In Proceedings of the 2008 Electronics, Robotics and Automotive Mechanics Conference (CERMA ’08), Cuernavaca, Mexico, 30 September–3 October 2008; pp. 39–44. [Google Scholar] [CrossRef]
  10. Zhang, Y.; Zhao, Y.X.; Chang, S. An Aeromagnetic Compensation Algorithm for Aircraft Based on Fuzzy Adaptive Kalman Filter. J. Appl. Math. 2014, 2014, 405671. [Google Scholar] [CrossRef]
  11. Dou, Z.J.; Ren, K.X.; Han, Q.; Niu, X.M. A Novel Real-Time Aeromagnetic Compensation Method Based on RLSQ. In Proceedings of the International Conference on Intelligent Information Hiding and Multimedia Signal Processing, Kitakyushu, Japan, 27–29 August 2014. [Google Scholar] [CrossRef]
  12. Williams, P.M. Aeromagnetic compensation using neural networks. Neural Comput. Appl. 1993, 1, 207–214. [Google Scholar] [CrossRef]
  13. Ma, M.; Cheng, D.F.; Chalup, S.; Zhou, Z.J. Uncertainty Estimation in the Neural Model for Aeromagnetic Compensation. IEEE Geosci. Remote Sens. Lett. 2018, 15, 1942–1946. [Google Scholar] [CrossRef]
  14. Wu, P.L.; Zhang, Q.Y. Aeromagnetic compensation algorithm based on principal component analysis. J. Sens. 2018, 2018, 7. [Google Scholar] [CrossRef]
  15. Ren, K.X. Research on Magnetic Interference Compensation and Simulation Technology for Aviation Platforms; Harbin Institute of Technology: Harbin, China, 2016. [Google Scholar]
  16. Inaba, T.; Shima, A.; Konishi, M. Magnetic noise compensation using FIR model parameter estimation method. Electron. Commun. Jpn. 2002, 85, 1–11. [Google Scholar] [CrossRef]
  17. Zhao, X.; Zheng, X.C.; Jiao, J. Fast Processing Method of Aeromagnetic Compensation Basedon Fluxgate Estimation. J. Jilin Univ. 2019, 49, 857–864. [Google Scholar]
  18. Zhang, D.K. Analysis of Aeromagnetic Swing Noise and Corresponding Compensation Method. IEEE Trans. Geosci. Remote Sens. 2021, 60, 2001910. [Google Scholar] [CrossRef]
  19. Yu, P.; Zhao, X.; Jiao, J. An Aeromagnetic Compensation Algorithm Based on a Deep Autoencoder. IEEE Geosci. Remote Sens. Lett. 2022, 19, 6001305. [Google Scholar] [CrossRef]
  20. Yu, P.; Zhao, X.; Jiao, J.; Jia, J.; Zhou, S. An improved neural network method for aeromagnetic compensation. Meas. Sci. Technol. 2021, 32, 045106. [Google Scholar] [CrossRef]
  21. Chen, Z.; Lou, Y.; He, P.; Xu, P.; Zhang, X. Magnetic Anomaly Detection Based on Attention-Bi-LSTM Network. IEEE Trans. Instrum. Meas. 2024, 73, 2520011. [Google Scholar] [CrossRef]
  22. Wang, Y.; Han, Q.; Zhan, D.; Li, Q. A Data-Driven OBE Magnetic Interference Compensation Method. Sensors 2022, 22, 7732. [Google Scholar] [CrossRef]
  23. Xu, X.; Huang, L.; Liu, X. Deep MAD: Deep Learning for Magnetic Anomaly Detection and Denoising. IEEE Access 2020, 99, 121257–121266. [Google Scholar] [CrossRef]
  24. Zhou, S.; Yang, C.; Su, Z. An Aeromagnetic Compensation Algorithm Based on Radial Basis Function Artificial Neural Network. Appl. Sci. 2022, 13, 136. [Google Scholar] [CrossRef]
  25. Gamey, T.J.; Doll, W.E.; Beard, L.P.; Bell, D.T. Analysis of Correlated Noise in Airborne Magnetic Gradients for Unexploded Ordnance Detection. J. Environ. Eng. Geophys. 2004, 9, 115. [Google Scholar] [CrossRef]
  26. Dou, Z.J.; Han, Q.; Niu, X.M.; Peng, X.; Guo, H. An Adaptive Filter for Aeromagnetic Compensation Based on Wavelet Multiresolution Analysis. IEEE Geosci. Remote Sens. Lett. 2016, 13, 1069–1073. [Google Scholar] [CrossRef]
  27. Walter, C.; Braun, A.; Fotopoulos, G. Characterizing electromagnetic interference signals for unmanned aerial vehicle geophysical surveys. Geophysics 2021, 86, J21–J32. [Google Scholar] [CrossRef]
  28. Xiong, J.-J.; Guo, N.-H.; Hong, Y.-X.; Zheng, E.-H. Improved Position and Attitude Tracking Control for a Quadrotor UAV. In Proceedings of the 2019 Chinese Automation Congress (CAC), Hangzhou, China, 22–24 November 2019; pp. 4197–4201. [Google Scholar] [CrossRef]
  29. Yu, B.; Zeng, Q.D.; Frimmel, H.E.; Wang, Y.B.; Guo, W.K.; Sun, G.T.; Zhou, T.C.; Li, J.P. Genesis of the Wulong gold deposit, northeastern North China Craton: Constraints from fluid inclusions, H-O-S-Pb isotopes, and pyrite trace element concentrations. Ore Geol. Rev. 2018, 102, 313–337. [Google Scholar] [CrossRef]
  30. Noriega, G. Aeromagnetic Compensation in Gradiometry–Performance, Model Stability, and Robustness. IEEE Geosci. Remote Sens. Lett. 2015, 12, 117–121. [Google Scholar] [CrossRef]
  31. Feng, Y.; Zhang, Q.; Zheng, Y.; Qu, X.; Wu, F.; Fang, G. An Improved Aeromagnetic Compensation Method Robust to Geomagnetic Gradient. Appl. Sci. 2022, 12, 1490. [Google Scholar] [CrossRef]
Figure 1. Regional geological map of Wulong gold deposit.
Figure 1. Regional geological map of Wulong gold deposit.
Sensors 25 05774 g001
Figure 2. Geological map of the study area.
Figure 2. Geological map of the study area.
Sensors 25 05774 g002
Figure 3. Flowchart of the aeromagnetic compensation method using the time–frequency combined Bi-LSTM network.
Figure 3. Flowchart of the aeromagnetic compensation method using the time–frequency combined Bi-LSTM network.
Sensors 25 05774 g003
Figure 4. Waveform and time–frequency spectrum of magnetic interference in compensation flight: (a) original signal; (b) time–frequency spectrum.
Figure 4. Waveform and time–frequency spectrum of magnetic interference in compensation flight: (a) original signal; (b) time–frequency spectrum.
Sensors 25 05774 g004
Figure 5. Schematic diagram of the compensation network structure.
Figure 5. Schematic diagram of the compensation network structure.
Sensors 25 05774 g005
Figure 6. Experimental instruments and flight route: (a) experimental UAV and instruments; (b) compensation flight route.
Figure 6. Experimental instruments and flight route: (a) experimental UAV and instruments; (b) compensation flight route.
Sensors 25 05774 g006
Figure 7. Scene diagram of compensation flight experiment.
Figure 7. Scene diagram of compensation flight experiment.
Sensors 25 05774 g007
Figure 8. Waveforms and time–frequency spectra of magnetometer signals from the flight experiments: (a) original signal of the first experiment; (b) time–frequency spectrum of the first experiment; (c) original signal of the second experiment; (d) time–frequency spectrum of the second experiment; (e) original signal of the third experiment; (f) time–frequency spectrum of the third experiment.
Figure 8. Waveforms and time–frequency spectra of magnetometer signals from the flight experiments: (a) original signal of the first experiment; (b) time–frequency spectrum of the first experiment; (c) original signal of the second experiment; (d) time–frequency spectrum of the second experiment; (e) original signal of the third experiment; (f) time–frequency spectrum of the third experiment.
Sensors 25 05774 g008
Figure 9. Compensation effect diagrams of various methods: (a) Butterworth filter, wavelet filter, and Bi-FT; (b) least square and ridge regression; (c) LSTM, Bi-LSTM, and Bi-FT.
Figure 9. Compensation effect diagrams of various methods: (a) Butterworth filter, wavelet filter, and Bi-FT; (b) least square and ridge regression; (c) LSTM, Bi-LSTM, and Bi-FT.
Sensors 25 05774 g009
Figure 10. (a) satellite remote sensing image of the detection area and locations of Lines 10250 and 10260. (b) photos of the actual exploration flight operations.
Figure 10. (a) satellite remote sensing image of the detection area and locations of Lines 10250 and 10260. (b) photos of the actual exploration flight operations.
Sensors 25 05774 g010
Figure 11. Magnetic anomaly profiles of survey lines: (a) original signal and compensation result of Line 10250; (b) original signal and compensation result of Line 10260.
Figure 11. Magnetic anomaly profiles of survey lines: (a) original signal and compensation result of Line 10250; (b) original signal and compensation result of Line 10260.
Sensors 25 05774 g011
Figure 12. Schematic diagrams of magnetic anomalies in the study area: (a) original magnetic anomalies; (b) magnetic anomalies after compensation.
Figure 12. Schematic diagrams of magnetic anomalies in the study area: (a) original magnetic anomalies; (b) magnetic anomalies after compensation.
Sensors 25 05774 g012
Table 1. Comparison of compensation effects of various methods.
Table 1. Comparison of compensation effects of various methods.
Methods S T D u S T D c IR
Butterworth filter6.0590.7298.311
Wavelet filter6.0021.009
Least Square1.0425.813
Ridge Regression0.9476.398
LSTM0.35815.557
Bi-LSTM0.29619.229
Bi-FT0.25722.123
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yu, P.; Huang, G.; Jiao, J.; Zhou, L.; Zhao, Y.; Lu, P.; Li, L.; Shi, S. A Quadrotor UAV Aeromagnetic Compensation Method Based on Time–Frequency Joint Representation Neural Network and Its Application in Mineral Exploration. Sensors 2025, 25, 5774. https://doi.org/10.3390/s25185774

AMA Style

Yu P, Huang G, Jiao J, Zhou L, Zhao Y, Lu P, Li L, Shi S. A Quadrotor UAV Aeromagnetic Compensation Method Based on Time–Frequency Joint Representation Neural Network and Its Application in Mineral Exploration. Sensors. 2025; 25(18):5774. https://doi.org/10.3390/s25185774

Chicago/Turabian Style

Yu, Ping, Guanlin Huang, Jian Jiao, Longran Zhou, Yuzhuo Zhao, Pengyu Lu, Lu Li, and Shuiyan Shi. 2025. "A Quadrotor UAV Aeromagnetic Compensation Method Based on Time–Frequency Joint Representation Neural Network and Its Application in Mineral Exploration" Sensors 25, no. 18: 5774. https://doi.org/10.3390/s25185774

APA Style

Yu, P., Huang, G., Jiao, J., Zhou, L., Zhao, Y., Lu, P., Li, L., & Shi, S. (2025). A Quadrotor UAV Aeromagnetic Compensation Method Based on Time–Frequency Joint Representation Neural Network and Its Application in Mineral Exploration. Sensors, 25(18), 5774. https://doi.org/10.3390/s25185774

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