A method for denoising long-period magnetotelluric signals based on VMD-MAD

The VMD-MAD method is used to decompose and process long-period magnetotelluric signals, which solves the problem of noise interference, improves signal quality and exploration accuracy, and achieves effective removal of large-scale and peak noise.

CN117932317BActive Publication Date: 2024-08-30CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410088118.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-22
Publication Date
2024-08-30
Estimated Expiration
2044-01-22

AI Technical Summary

Technical Problem

Long-period magnetotelluric signals are susceptible to interference from large-scale noise and peak noise, which reduces the reliability of measurement results. It is difficult for existing technologies to effectively remove these noises and affects the accuracy of exploration results.

Method used

A method based on VMD-MAD is used to decompose the signal through the variational mode decomposition method, use the correlation coefficient method to screen the noise components, and combine the median absolute deviation method to identify and replace outliers to achieve signal reconstruction to remove noise.

Benefits of technology

Effectively removes large-scale and peak noise, improves data quality and accuracy of exploration results, and significantly improves the signal-to-noise ratio of long-period electromagnetic signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117932317B
    Figure CN117932317B
Patent Text Reader

Abstract

The present invention provides a long-period magnetotelluric signal denoising method based on VMD-MAD, which relates to the field of signal processing, including: using the variational mode decomposition method to decompose the acquired original long-period magnetotelluric signal to obtain a modal component signal; using the correlation coefficient method to adaptively screen and classify the modal components, remove the noise component signals therein, and retain the remaining modal component signals; pre-setting the interval length, using the median absolute deviation method to adaptively identify outliers for the retained modal component signals, and using upper and lower thresholds to replace the outliers; reconstructing the modal component signals that have completed the outlier replacement to obtain a reconstructed denoised signal. The beneficial effects of the present invention are: using the correlation coefficient method to remove large-scale interference noise, using the MAD method to eliminate spike interference, effectively reducing the impact of these two types of noise interference on the long-period magnetotelluric signal, and improving the signal quality and the accuracy of the exploration results of the long-period magnetotelluric method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to a long-period magnetotelluric signal denoising method based on VMD-MAD. Background Art

[0002] In the 1950s, Tikhonov and Cagniard proposed the magnetotelluric (MT) method for geophysical exploration. This method uses the natural electromagnetic field as the field source, and measures the mutually orthogonal electric field component signals and magnetic field component signals on the surface for a long time. The underground electrical structure can be calculated based on the collected magnetotelluric signals. Therefore, this method is widely used in the fields of mineral resource exploration, oil and gas field survey, and lithosphere electrical structure detection. Since the long-period magnetotelluric method has a lower frequency and a greater exploration depth than other geophysical methods, vigorously developing exploration technology research such as the long-period magnetotelluric method will help promote my country's practical application in deep earth exploration and help humans understand the deep earth.

[0003] However, natural magnetotelluric signals are very weak and are easily interfered by various noises, especially large-scale noise interference and spike noise interference in long-term measurement. The amplitude of these noise signals in the time domain is several orders of magnitude higher than that of magnetotelluric signals, which makes the calculated apparent resistivity-phase curve seriously distorted and distorted, greatly affecting the reliability of the measurement results. Many scholars at home and abroad have conducted in-depth research on how to remove noise signals in effective magnetotelluric. For example, there is the earliest remote reference magnetotelluric sounding method for removing co-source correlated noise, but it is difficult to select a reference point at a suitable distance in the implementation of this method; Vozoff and Hermance used the least squares estimation method for impedance estimation to remove non-correlated noise. This method will produce additional flying points during the processing process, resulting in deviation from the true value; the robust estimation method for removing non-Gaussian noise can effectively reduce the appearance of flying points and jump points through adaptive weighting, but when the noise interference is too large, the processing of this method will give wrong impedance results. Therefore, combining modern data processing technology to reduce the noise of measured long-period magnetotelluric signals has become a hot research topic in the field of electromagnetic exploration. High-quality long-period magnetotelluric signals are a necessary prerequisite for accurately obtaining the true underground electrical structure. Summary of the invention

[0004] In order to remove large-scale noise and spike noise in long-period magnetotelluric signals, the present invention provides a long-period magnetotelluric signal denoising method based on VMD-MAD, which can effectively remove large-scale noise interference and spike noise existing in the magnetotelluric signals actually collected, greatly improves the data quality of long-period magnetotelluric field collection, and has great practical significance for the development of long-period magnetotelluric exploration methods.

[0005] The method mainly includes:

[0006] S1: Decompose the acquired original long-period magnetotelluric signal using the variational mode decomposition method to obtain the modal component signal;

[0007] S2: Based on the modal component signals obtained in step S1, adaptively screen and classify the modal components using a correlation coefficient method to remove the noise component signals therein and retain the remaining modal component signals;

[0008] S3: pre-set the interval length, use the median absolute deviation method to adaptively identify outliers on the modal component signal retained in step S2, and replace the outliers with upper and lower thresholds;

[0009] S4: reconstructing the modal component signal for which the outlier replacement has been completed in step S3 to obtain a reconstructed noise-reduced signal, that is, obtaining a noise-reduced long-period magnetotelluric signal.

[0010] Furthermore, step S1 is specifically as follows:

[0011] S11: Constructing variational problems

[0012] The essence of decomposing the original long-period magnetotelluric signal into a finite number of intrinsic modal components is to construct and solve the variational problem. The constraint condition is that the sum of the center frequency bandwidth of each modal component is the smallest, and the reconstruction of each modal component is the original signal. The constrained variational problem can be expressed as follows:

[0013]

[0014] Among them, {u q}={u1,u2...,u K} decomposes the original long-period magnetotelluric signal into K modal component signals, k = 1, 2, ..., K, f(t) is the original long-period magnetotelluric signal, {ω q}={ω1,ω2...,ω K} represents the center frequency of each of the K modal components, δ(t) represents the impulse function; It represents partial derivative calculation, which is to find the derivative of the function with respect to time t. * represents convolution, and j represents the imaginary unit.

[0015] S12: Transformed into an unconstrained variational problem

[0016] The quadratic penalty factor α and the Lagrange multiplication operator λ(t) are introduced to solve the variational problem, turning it into an unconstrained variational problem:

[0017]

[0018] Where K represents the number of modal component signals; f(t) is the original long-period magnetotelluric signal; α is the quadratic penalty factor; <> represents the inner product operation;

[0019] S13: Alternating updates, the solution becomes an unconstrained variational problem

[0020] By alternating updates To seek the optimal solution of the variational problem, so as to find the minimum point of the unconstrained variational problem;

[0021] Among them, The updated expression is:

[0022]

[0023] Center frequency The updated expression is:

[0024]

[0025] For λ(w) n+1 The updated expression is:

[0026]

[0027] Among them, τ represents the step size update coefficient, λ(t) represents the Lagrange multiplication operator, ε represents the given discrimination accuracy, and n represents the current number of iterations. f(ω), λ(ω) n+1 Respectively represent the n+1th iteration f(t),λ n+1 Fourier transform of (t), ω represents the center frequency;

[0028] The iteration is terminated until the constraint condition is met. The conditional iteration stop condition is defined as follows:

[0029]

[0030] in, Indicates the nth iteration The Fourier transform of .

[0031] Furthermore, in step S2, the process of using the correlation coefficient method to screen the classification modal components is as follows:

[0032] Based on the K modal component signals decomposed in step S1, the correlation coefficients of each modal component signal and the original long-period magnetotelluric signal are calculated to obtain the correlation coefficient of each modal component, modal component IMF = (x1, x2, ..., x m) and the original long-period magnetotelluric signal f(t)=(y1,y2,...,y m ) is calculated as follows:

[0033]

[0034] Among them, ρ xy represents the correlation coefficient, m represents the length of the original long-period magnetotelluric signal, μ x Represents a modal component IMF=(x1,x2,...,x m ), μ y represents the original long-period magnetotelluric signal f(t)=(y1,y2,...,y m ), ρ xy The larger the absolute value of is, the more relevant the information contained in the modal component signal is to the large-scale drift noise interference of the original long-period magnetotelluric signal. By comparing the correlation coefficients calculated for each modal component, the modal component signal corresponding to the largest correlation coefficient with the large-scale drift noise interference is selected and regarded as a large-scale noise interference component and removed directly, retaining the remaining modal component signals.

[0035] Furthermore, in step S3, the process of realizing outlier identification is:

[0036] An outlier is defined as an element that differs from the median by more than 3 times MAD0 in a time series of a certain length. The calculation method of MAD0 is defined by the following formula:

[0037] MAD0=c*median(|A i -median(A)|)

[0038] Among them, MAD0 represents the absolute median, c is a constant, i is the interval length that needs to be preset for median calculation, and A means that when the interval length is i, in IMF=(x1,x2,...,x m ) in the selected time series, A i It means selecting the i-th point in the time series, median() means finding the median of the time series in the brackets, and median(A) means finding the median of time series A;

[0039] Through the above calculation, the outliers in the time series of length i can be effectively identified. By translating the time length in sequence, the modal component IMF=(x1,x2,...,x m ) and identify all outliers.

[0040] Furthermore, in step S3, the process of implementing outlier replacement is:

[0041] Based on the ergodic IMF=(x1,x2,...,x m ) The outliers identified are replaced by the upper threshold or lower threshold in the time series of length i;

[0042] The upper threshold is:

[0043] Upper_Thr=median(A)+3*MAD

[0044] The lower threshold is:

[0045] Lower_Thr=median(A)-3*MAD

[0046] When the value of an outlier in a time series of length i is greater than the median of the time series, the value of the outlier is greater than the upper threshold, and the upper threshold is directly used to replace the outlier; when the value of an outlier is less than the median of the time series, the value of the outlier is less than the lower threshold, and the lower threshold is directly used to replace such outliers.

[0047] Furthermore, in step S4, the reconstructed noise reduction signal is:

[0048]

[0049] Among them, IMFs k To complete the residual modal component of outlier replacement, Out(t) is the reconstructed denoised signal.

[0050] A storage device stores instructions and data for implementing a long-period magnetotelluric signal denoising method based on VMD-MAD.

[0051] A long-period magnetotelluric signal noise reduction device based on VMD-MAD comprises: a processor and the storage device; the processor loads and executes instructions and data in the storage device to implement a long-period magnetotelluric signal noise reduction method based on VMD-MAD.

[0052] The technical solution provided by the present invention has the following beneficial effects: the present invention fully considers the characteristics of two types of noise interference existing in long-period magnetotelluric signals, adopts a step-by-step processing method according to the different characteristics of the two types of noise, uses the correlation coefficient method to remove large-scale interference noise, and uses the MAD method to eliminate peak interference, thereby effectively reducing the influence of these two types of noise interference on the effective signal in the long-period magnetotelluric signal, reducing the noise in the original signal, improving the data quality of the collected signal, and also improving the accuracy of the exploration results of the long-period magnetotelluric method, a geophysical prospecting method. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0054] Figure 1 It is a flow chart of a long-period magnetotelluric signal denoising method based on VMD-MAD in an embodiment of the present invention.

[0055] Figure 2 Schematic diagram of the VMD decomposition method in an embodiment of the present invention.

[0056] Figure 3 It is a schematic diagram of the time domain and frequency domain of the original simulation signal and the noisy signal in an embodiment of the present invention.

[0057] Figure 4 4 is a schematic diagram of VMD decomposition of modal components in the time domain in an embodiment of the present invention.

[0058] Figure 5 4 is a schematic diagram of the time domain of removing outliers by the residual modal component MAD in an embodiment of the present invention.

[0059] Figure 6 3 is a schematic diagram of the comparison between the time domain and the frequency domain of the reconstructed signal in an embodiment of the present invention.

[0060] Figure 7 3 is a schematic diagram comparing time domain waveforms of the processing results of various noise reduction methods in the embodiments of the present invention.

[0061] Figure 8 It is a schematic diagram of the operation of the hardware device in the embodiment of the present invention. DETAILED DESCRIPTION

[0062] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0063] Please refer to Figure 1 , Figure 1 It is a flowchart of a long-period magnetotelluric signal denoising method based on VMD-MAD in an embodiment of the present invention. First, the input magnetotelluric signal is decomposed using the variational mode decomposition method (VMD), and then the correlation coefficient method is used to adaptively screen and classify the modal components, remove the noise component signals therein, retain the remaining modal components, pre-set the interval length, and use the median absolute deviation method (MAD) to adaptively identify outliers for the retained modal component signals, and replace the outliers with upper and lower thresholds, perform signal reconstruction on each modal component signal after the outlier replacement, obtain a reconstructed denoised signal, and output the denoised long-period magnetotelluric signal, and finally complete the denoising of the long-period magnetotelluric signal. The specific implementation steps of the long-period magnetotelluric signal denoising method are as follows:

[0064] S1: Decompose the acquired original long-period magnetotelluric signal using the variational mode decomposition (VMD) method to obtain the modal component signal; specifically:

[0065] S11: Constructing variational problems

[0066] The essence of decomposing the input signal into a finite number of intrinsic modal components (IMFs) is to construct and solve variational problems. The constraint condition is that the sum of the center frequency bandwidth of each modal component is the smallest, and the reconstruction of each modal component is the original signal. The constrained variational problem can be expressed as follows:

[0067]

[0068] Among them, {u q}={u1,u2…,u K} decomposes the original long-period magnetotelluric signal into K modal components, k = 1, 2, ..., K, f(t) is the input signal, i.e., the original long-period magnetotelluric signal, {ω q}={ω1,ω2…,ω K} represents the center frequency of each of the K modal components, δ(t) represents the impulse function; It represents partial derivative calculation, which is the derivative of the function with respect to time t. * represents convolution, and j represents the imaginary unit.

[0069] S12: Transformed into an unconstrained variational problem

[0070] The quadratic penalty factor α and the Lagrange multiplication operator λ(t) are introduced to solve the variational problem, turning it into an unconstrained variational problem. Therefore, the above description formula can be rewritten as follows:

[0071]

[0072] Where: K represents the number of modal components; f(t) is the input signal; α is the quadratic penalty factor; <> represents the inner product operation.

[0073] S13: Alternating updates, the solution becomes an unconstrained variational problem

[0074] By alternating updates λ(ω) n+1 To seek the optimal solution of the variational problem, so as to find the minimum point of the unconstrained variational problem;

[0075] Among them, The updated expression is:

[0076]

[0077] Center frequency The updated expression is:

[0078]

[0079] For λ(w) n+1 The updated expression is:

[0080]

[0081] Among them, τ represents the step size update coefficient, λ(t) represents the Lagrange multiplication operator, ε represents the given discrimination accuracy, and n represents the current number of iterations. f(ω), λ(ω) n+1 Respectively represent the n+1th iteration f(t),λ n+1 (t), f(t) is the original signal, and ω represents the center frequency.

[0082] The iteration is terminated until the constraint condition is met. The conditional iteration stop condition is defined as follows:

[0083]

[0084] in, Indicates the nth iteration The Fourier transform of .

[0085] In an embodiment, the specific implementation process of the above variational mode decomposition algorithm is as follows: Figure 2 First, we need to preset the modal number K and set the quadratic penalty factor α based on empirical values; then initialize Update calculation u k ,ω k , increment the variables n and k, determine whether the value of k reaches the preset value, and then after obtaining λ, determine whether the iteration stop condition is met. When the condition is met, K modal components are finally obtained.

[0086] Specifically, in the embodiment, a plurality of sine wave signals with different frequencies and amplitudes are superimposed to form a synthetic signal, and the signal is used to simulate a long-period magnetotelluric signal. Large-amplitude square wave interference and spike interference are randomly added to the synthetic signal to simulate the large-scale interference and spike noise existing in the collected signal. The signal is converted into the frequency domain, and the interference degree of the signal can be more accurately seen. For details, see Figure 3 Schematic diagram of the time domain and frequency domain of the original simulated signal and the noisy signal.

[0087] Furthermore, in step S1, the above-mentioned simulation signal is decomposed using the variational mode decomposition (VMD) method. In this decomposition, the mode number K and the penalty factor α are preset to 5 and 1000 respectively. Figure 2The decomposition algorithm described in Figure 3 The noisy signal is divided into five modal component signals, and the waveform in the time domain is as follows Figure 4 shown.

[0088] S2: Based on the modal component signals obtained in step S1, the correlation coefficient method is used to adaptively screen and classify the modal components to remove the noise component signals therein and retain the remaining modal component signals; specifically, as follows:

[0089] Based on the K modal component signals decomposed in step S1, the correlation coefficients of the modal component signals and the original input signal are calculated to obtain the correlation coefficient of each modal component, modal component IMF = (x1, x2, ..., x m ) and the original signal f(t)=(y1,y2,...,y m ) is calculated as follows:

[0090]

[0091] Among them, ρ xy represents the calculated correlation coefficient, m represents the length of the input signal, μ x Represents a modal component IMF=(x1,x2,...,x m ), μ y represents the input signal f(t)=(y1,y2,...,y m ), ρ xy The larger the absolute value of is, the more relevant the information contained in the modal component signal is to the large-scale drift noise interference of the input signal. By comparing the correlation coefficients calculated for each modal component, the component signal corresponding to the largest correlation coefficient with the large-scale drift noise interference is selected and regarded as the large-scale noise interference component to be directly removed, and the remaining modal component signals are retained.

[0092] In this embodiment, according to the calculation method of the correlation coefficient definition formula, the following are calculated: Figure 4 The five modal components are Figure 3 The correlation coefficient of the noisy signal in is shown in Table 1.

[0093] Table 1 Calculated values ​​of correlation coefficients of each modal component

[0094]

[0095] It can be seen from the table that the correlation coefficient between the IMF5 modal component and the original signal is the largest. Figure 4It can also be seen from the decomposed modal components that the time domain waveform of the IMF5 component is very similar to the added large-scale noise interference, and contains almost no valid signal. According to step (S2), in this embodiment, the IMF5 modal component is directly regarded as the noise modal component, the IMF5 modal component is removed, and the remaining four modal components are retained as valid component signals, wherein the other four modal components decomposed have a lot of spike noise interference, and the processing of these noises will be performed in step (S3).

[0096] S3: Based on the correlation coefficient method in step S2, the retained modal component signals are screened, the interval length is pre-set, and the median absolute deviation method (MAD) is used to adaptively identify outliers on the retained modal component signals, and the upper and lower thresholds are used to replace the outliers, as follows:

[0097] S31: Outlier Identification

[0098] After the adaptive screening in step (S2), the retained modal component signal is obtained. There are a lot of large-scale noise and spike noise in the long-period magnetotelluric signal actually collected. After the VMD decomposition in step (S1), the large-scale noise is reflected in the modal component in the form of large-scale gentle modal components and a large number of spike signals distributed in the remaining modes. The large-scale noise of the former can be screened and identified by the correlation coefficient method in step (S2), and the latter can be removed by using the outlier identification method.

[0099] In this method, outliers are defined as elements that differ from the median by more than 3 times MAD0 in a time series of a certain length. Furthermore, the calculation method of MAD0 is defined by the following formula:

[0100] MAD0=c*median(|A i -median(A)|)

[0101] Wherein, MAD0 represents the absolute median, and c is a constant, whose value in this embodiment is Where erfcinv() represents the inverse complementary error function, i is the interval length that needs to be preset for median calculation, and A represents that when the interval length i is, in IMF=(x1,x2,...,x n ) in the selected time series, A i It means selecting the i-th point in the time series, where median() means finding the median of the time series in the brackets, and median(A) means finding the median of time series A.

[0102] The above calculation formula can effectively identify outliers in a time series with a length of i. By shifting the time length in sequence, the modal component IMF=(x1,x2,...,x m ) and identify all the outliers that exist.

[0103] (S32) Outlier Replacement

[0104] Based on step (S31), traverse IMF=(x1, x2, ..., x m ) In order to avoid the outliers affecting the overall signal, it is necessary to remove these outliers and fill them with a suitable value to ensure that the length of the time series remains unchanged. In this method, the upper or lower threshold of the time series with a length of i is used to replace the identified outliers.

[0105] The upper threshold is defined by the following formula:

[0106] Upper_Thr=median(A)+3*MAD

[0107] The lower threshold is defined by the following formula:

[0108] Lower_Thr=median(A)-3*MAD

[0109] When the value of an outlier in a time series of length i is greater than the median of the time series, according to the definition of outliers in step S31, the value of the outlier must also be greater than the upper threshold, so the upper threshold is directly used to replace the outlier. Similarly, when the value of an outlier is less than the median of the time series, according to the definition of outliers in step S31, the value of the outlier must be less than the lower threshold, and the lower threshold is directly used to replace such outliers.

[0110] Based on the above classification and discussion of the two outlier situations, all outlier identification and replacement can be completed. In this embodiment, it is necessary to identify and replace outliers for the four modal components screened out in step S2, that is, Figure 4 IMF1 to IMF4 in the above are processed, and the processing results are as follows Figure 5 As shown, from Figure 5 It can be seen from the processing results that Figure 4 The spike noise of the four modal components is effectively eliminated.

[0111] S4: Based on the modal component signals that have completed the outlier replacement in step S3, the modal component signals that have completed the outlier replacement are reconstructed to obtain a reconstructed noise reduction signal, and the noise-reduced long-period magnetotelluric signal is output to complete the noise reduction of the long-period magnetotelluric signal, as follows:

[0112] Based on the definition of the constrained variational problem described in step S11, the sum of all decomposed modal components constitutes the original input signal, which can be expressed as follows:

[0113]

[0114] Among them, {u q}={u1,u2...,u K} decomposes the original signal into K modal components, and f(t) is the original input signal. Further, in step S2, the modal component of the large-scale interference noise is identified by the correlation coefficient method, and the component signal is removed. In steps S31 and S32, the outlier identification and replacement of the remaining modal components are completed by using MAD. The steps eliminate the spike noise obtained by decomposing the large-scale noise and the original spike noise. The sum of the remaining modal component signals that complete the outlier replacement is defined as follows:

[0115]

[0116] Among them, IMFs k To complete the remaining modal components of outlier replacement, since a noise modal component is taken out in step S2, the number of remaining modal components becomes K-1, and Out(t) is the output signal of the denoising process, that is, the reconstructed denoised signal.

[0117] In this embodiment, Figure 5 The four modal component signals after outlier removal are reconstructed to obtain Figure 6 Reconstruct the noise-reduced signal from Figure 6 It can be seen that the reconstructed noise reduction signal almost overlaps with the original simulation signal, and the same spectrum as the original simulation signal can also be clearly seen in the frequency domain, effectively removing the added simulated interference noise. After calculation, the signal-to-noise ratio of the reconstructed noise reduction signal increased from -19.92dB to 2.14dB, greatly improving the data quality of the simulated long-period magnetotelluric signal.

[0118] Table 2 Performance comparison of different noise reduction methods for simulating long-period magnetotelluric signals

[0119]

[0120] Table 2 shows the signal-to-noise ratio comparison of different noise reduction methods in processing simulated long-period magnetotelluric signals. The waveform comparison of the processing results of each method in the time domain is shown in Table 2. Figure 7 As shown, the signal-to-noise ratio (SNR) and the root mean square error (RMSE) are used as evaluation indicators of the algorithm performance, EMD is the empirical mode decomposition method, and EEMD is the overall empirical mode decomposition method. These two methods are then combined with the MAD in step S3 to process the simulated long-period magnetotelluric signals.

[0121] See also Figure 8 , Figure 8 4 is a schematic diagram of the working of the hardware device of an embodiment of the present invention, wherein the hardware device specifically comprises: a long-period magnetotelluric signal noise reduction device 401 based on VMD-MAD, a processor 402 and a storage device 403.

[0122] A long-period magnetotelluric signal noise reduction device 401 based on VMD-MAD: The long-period magnetotelluric signal noise reduction device 401 based on VMD-MAD implements the long-period magnetotelluric signal noise reduction method based on VMD-MAD.

[0123] Processor 402: The processor 402 loads and executes the instructions and data in the storage device 403 to implement the long-period magnetotelluric signal noise reduction method based on VMD-MAD.

[0124] Storage device 403: The storage device 403 stores instructions and data; the storage device 403 is used to implement the long-period magnetotelluric signal noise reduction method based on VMD-MAD.

[0125] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A long-period magnetotelluric signal denoising method based on VMD-MAD, characterized by: include: S1: Decompose the acquired original long-period magnetotelluric signal using the variational mode decomposition method to obtain the modal component signal; S11: Constructing variational problems The essence of decomposing the original long-period magnetotelluric signal into a finite number of intrinsic modal components is to construct and solve the variational problem. The constraint condition is that the sum of the center frequency bandwidth of each modal component is the smallest, and the reconstruction of each modal component is the original signal. The constrained variational problem can be expressed as follows: Among them, {u q }={u1,u2…,u K } decomposes the original long-period magnetotelluric signal into K modal component signals, k = 1, 2, ..., K, f(t) is the original long-period magnetotelluric signal, {ω q }={ω1,ω2…,ω K } represents the center frequency of each of the K modal components, δ(t) represents the impulse function; It represents partial derivative calculation, which is to find the derivative of the function with respect to time t. * represents convolution, and j represents the imaginary unit. S12: Transformed into an unconstrained variational problem The quadratic penalty factor α and the Lagrange multiplication operator λ(t) are introduced to solve the variational problem, turning it into an unconstrained variational problem: Where K represents the number of modal component signals; f(t) is the original long-period magnetotelluric signal; α is the quadratic penalty factor; <> represents the inner product operation; S13: Alternating updates, the solution becomes an unconstrained variational problem By alternating updates λ(ω) n+1 To seek the optimal solution of the variational problem, so as to find the minimum point of the unconstrained variational problem; Among them, The updated expression is: Center frequency The updated expression is: For λ(w) n+1 The updated expression is: Among them, τ represents the step size update coefficient, λ(t) represents the Lagrange multiplication operator, ε represents the given discrimination accuracy, and n represents the current number of iterations. f(ω), λ(ω) n+1 Respectively represent the n+1th iteration f(t),λ n+1 Fourier transform of (t), ω represents the center frequency; The iteration is terminated until the constraint condition is met. The conditional iteration stop condition is defined as follows: in, Indicates the nth iteration Fourier transform of S2: Based on the modal component signals obtained in step S1, adaptively screen and classify the modal components using a correlation coefficient method to remove the noise component signals therein and retain the remaining modal component signals; The process of screening the classification modal components using the correlation coefficient method is: Based on the K modal component signals decomposed in step S1, the correlation coefficients of each modal component signal and the original long-period magnetotelluric signal are calculated to obtain the correlation coefficient of each modal component, modal component IMF = (x1, x2, ..., x m ) and the original long-period magnetotelluric signal f(t)=(y1,y2,...,y m ) is calculated as follows: Among them, ρ xy represents the correlation coefficient, m represents the length of the original long-period magnetotelluric signal, μ x Represents a modal component IMF=(x1,x2,...,x m ), μ y represents the original long-period magnetotelluric signal f(t)=(y1,y2,...,y m ), ρ xy The larger the absolute value of is, the more relevant the information contained in the modal component signal is to the large-scale drift noise interference of the original long-period magnetotelluric signal. By comparing the correlation coefficients calculated for each modal component, the modal component signal corresponding to the largest correlation coefficient with the large-scale drift noise interference is selected and regarded as a large-scale noise interference component and removed directly, retaining the remaining modal component signals. S3: pre-set the interval length, use the median absolute deviation method to adaptively identify outliers on the modal component signal retained in step S2, and replace the outliers with upper and lower thresholds; The process of realizing outlier identification is: An outlier is defined as an element that differs from the median by more than 3 times MAD0 in a time series of a certain length. The calculation method of MAD0 is defined by the following formula: MAD0=c*median(|A i -median(A)|) Among them, MAD0 represents the absolute median, c is a constant, i is the interval length that needs to be preset for median calculation, and A means that when the interval length is i, in IMF=(x1,x2,...,x m ) in the selected time series, A i It means selecting the i-th point in the time series, median() means finding the median of the time series in the brackets, and median(A) means finding the median of time series A; Through the above calculation, the outliers in the time series of length i can be effectively identified. By translating the time length in sequence, the modal component IMF=(x1,x2,...,x m ) in the time series, identifying all outliers; S4: reconstructing the modal component signal for which the outlier replacement has been completed in step S3 to obtain a reconstructed noise-reduced signal, that is, obtaining a noise-reduced long-period magnetotelluric signal.

2. The long-period magnetotelluric signal denoising method based on VMD-MAD according to claim 1, characterized in that: In step S3, the process of replacing outliers is as follows: Based on the ergodic IMF=(x1,x2,...,x m ) The outliers identified are replaced by the upper threshold or lower threshold in the time series of length i; The upper threshold is: Upper_Thr=median(A)+3*MAD The lower threshold is: Lower_Thr=median(A)-3*MAD When the value of an outlier in a time series of length i is greater than the median of the time series, the value of the outlier is greater than the upper threshold, and the upper threshold is directly used to replace the outlier; when the value of an outlier is less than the median of the time series, the value of the outlier is less than the lower threshold, and the lower threshold is directly used to replace such outliers.

3. The long-period magnetotelluric signal denoising method based on VMD-MAD according to claim 1, characterized in that: In step S4, the reconstructed noise reduction signal is: Among them, IMFs k To complete the residual modal component of outlier replacement, Out(t) is the reconstructed denoised signal.

4. A storage device, characterized in that: The storage device stores instructions and data for implementing the long-period magnetotelluric signal denoising method based on VMD-MAD as described in any one of claims 1 to 3.

5. A long-period magnetotelluric signal noise reduction device based on VMD-MAD, characterized by: include: A processor and a storage device; the processor loads and executes instructions and data in the storage device to implement the long-period magnetotelluric signal denoising method based on VMD-MAD as described in any one of claims 1 to 3.