Magnetic field interference simulation and removal system

Through the magnetic field interference simulation and removal system, the Helmholtz coil and variable frequency power supply are used to generate a controllable magnetic field, and combined with the LMS algorithm and the empirical mode decomposition algorithm, it solves the problem of difficulty in simulating and removing non-stationary signals with traditional methods, and achieves Flexible simulation and accurate removal of geomagnetic field interference improves the performance and accuracy of geomagnetic sensors.

CN118584403APending Publication Date: 2024-09-03XIAN UNIV OF TECH
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202410695830.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Traditional geomagnetic field interference simulation methods are difficult to flexibly simulate non-stationary signals of different frequencies and strengths, and there are challenges in interference removal, which affects the performance and accuracy of geomagnetic sensors.

Method used

A magnetic field interference simulation and removal system is adopted, including four subsystems: magnetic field generation, magnetic field measurement, magnetic field control and filtering. Helmholtz coils and variable frequency power supplies are used to generate controllable magnetic fields, combined with LMS algorithm, empirical mode decomposition algorithm and K-polymerization. Class algorithms perform signal processing to simulate and remove magnetic field interference.

Benefits of technology

It achieves flexible simulation and accurate removal of various magnetic field interferences, improves the performance and accuracy of geomagnetic sensors, and can be widely used in navigation, geological exploration and other fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584403A
    Figure CN118584403A
Patent Text Reader

Abstract

The invention discloses a magnetic field interference simulation and removal system which comprises a magnetic field generation subsystem, a magnetic field measurement subsystem, a magnetic field control subsystem and a filtering subsystem, and the magnetic field measurement subsystem is composed of a geomagnetic sensor, serves as a measurement element of a feedback control loop, collects magnetic field data in real time and returns analog quantity; the magnetic field generation subsystem is composed of a variable-frequency power supply and a Helmholtz coil, the power supply is an execution mechanism, receives a control signal and outputs corresponding current, and a uniform magnetic field is generated in a central area after proper current is introduced into each axial direction of the coil; the magnetic field control subsystem is a controller, an LMS algorithm runs in the controller, AD conversion of magnetic field data is completed, and compensation is carried out; the filtering subsystem is formed by combining a K-clustering algorithm, an empirical mode decomposition algorithm and a wavelet threshold denoising algorithm, and is used for processing noisy geomagnetic signals. According to the invention, various magnetic field interferences can be effectively simulated, and a set of efficient means is provided for detecting and eliminating the interferences.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of magnetic field interference simulation systems, and in particular relates to a magnetic field interference simulation and removal system. Background Art

[0002] Geomagnetic field measurement plays a key role in many fields, including navigation systems, magnetic sensor applications, geological exploration, etc. However, in practical applications, the geomagnetic field is often subject to various interferences from the environment and the equipment itself, which may seriously affect the performance and accuracy of geomagnetic sensors. Therefore, it is crucial to develop a technical solution that can simulate various magnetic field interferences and effectively remove them.

[0003] Traditional methods of simulating geomagnetic field interference are subject to certain limitations. It is usually difficult to flexibly simulate unstable signals of different frequencies and intensities. There are also certain challenges in removing interference. Summary of the invention

[0004] The purpose of the present invention is to provide a magnetic field interference simulation and removal system, which can effectively simulate various magnetic field interferences.

[0005] The technical scheme adopted by the present invention is: a magnetic field interference simulation and removal system, including four subsystems of magnetic field generation, magnetic field measurement, magnetic field control and filtering. The magnetic field measurement subsystem is composed of a geomagnetic sensor, which is used as a measuring element of a feedback control loop to collect magnetic field data in real time and return analog quantities; the magnetic field generation subsystem is composed of a variable frequency power supply and a Helmholtz coil, the power supply is an actuator, which receives a control signal and outputs a corresponding current, and after appropriate current is passed through each axial direction of the coil, a uniform magnetic field is generated in the central area; the magnetic field control subsystem is a controller, and an LMS algorithm is run in the controller to complete AD conversion of magnetic field data and perform compensation; the filtering subsystem is composed of a K-clustering algorithm, an empirical mode decomposition algorithm and a wavelet threshold denoising algorithm, and is used to process noisy geomagnetic signals.

[0006] The first technical solution of the present invention is also characterized in that:

[0007] The magnetic field generating subsystem generates a controllable magnetic field by controlling the current. The current driving the Helmholtz coil is provided by a variable frequency power supply, which has the characteristic of adjustable frequency to achieve the change of the magnetic field frequency. The Helmholtz coil is composed of three groups of two coaxial circular coils. The uniform magnetic field generated by the current in the central area simulates the three-axis component B of the earth's magnetic field. x , B y , B z According to the Biot-Savart law, the magnetic field generated by the current element idl at any point O in space is

[0008]

[0009] Among them, u 0 =4π×10 -7 T·m / A is the vacuum magnetic permeability, r is the distance from the current element idl to point O;

[0010] For the Helmholtz coil, by passing two currents in the same direction through two coaxial circular coils, the magnetic field in the central area can be obtained; the expression of the magnetic field can be obtained by superimposing the magnetic fields of the two conductors, and the magnetic induction intensity of the circular Helmholtz coil in the Z axis can be deduced as:

[0011]

[0012] Among them, a is the radius of the coil, N is the number of turns of the coil, I is the current passed through the coil, h=a is the distance between the two coils, and z is the distance from the point to be measured on the Z axis to the center origin; by adjusting the current intensity passed through the two coaxial circular coils, a specific magnetic field is generated in the central area of ​​the Helmholtz coil.

[0013] The magnetic field measurement subsystem is responsible for detecting the abnormal magnetic field generated by the magnetic field generation subsystem; a high-precision, high-sensitivity three-axis magnetometer is selected, and in order to be able to evenly sense the changes in the geomagnetic field, the magnetometer is placed in the central area of ​​the Helmholtz coil.

[0014] The magnetic field control subsystem includes a controller for executing the control algorithm and coordinating the work of each part. The controller can process analog signals and generate corresponding control signals. In addition, the LMS algorithm runs in the magnetic field control subsystem, which is used to process and compensate the geomagnetic field data in real time. The LMS algorithm minimizes the error between the measured data and the expected data by adjusting the weights. The magnetic field control subsystem includes the function of analog-to-digital conversion, which converts the analog signal from the magnetic field measurement subsystem into a digital signal for digital signal processing.

[0015] The empirical mode decomposition algorithm in the filtering subsystem assumes that any signal is composed of multiple IMFs, and each IMF can be obtained by the following method:

[0016] First, find all the maximum and minimum points B of the signal S (t)', and the maximum envelope B S (t)' + and minimum envelope B S (t)' - By fitting a cubic spline function, the average envelope of the signal can be obtained by:

[0017] m 1 (t)=(B S (t)' + +B S (t)' -) / twenty three)

[0018] From signal B S (t)' minus the average signal m 1 (t), get a new signal Right now:

[0019]

[0020] Judgment signal Do the two conditions defined by IMF meet? If not, repeat the above process and assume that the signal After k times, the definition of IMF is satisfied, then signal B S The first-order IMF component of (t)' is:

[0021]

[0022] From signal B S (t)' minus the signal c 1 (t), and get a new signal r without the high frequency part 1 (t), that is:

[0023] r 1 (t) = B S (t)'-c 1 (t) (6)

[0024] Repeat r 1 (t) get c 1 (t) process, we get imf 2 (t), imf 3 (t)…, when the margin r L When (t) is less than a preset value or a monotonic function or a constant, the EMD decomposition process stops. Finally, the signal B after EMD decomposition S (t)' can be expressed as:

[0025]

[0026] Among them, imf i (t) is i th IMF component, L is the number of IMF, r L (t) is the residual, which represents the average trend or mean value of the signal;

[0027] Based on the IMF after the initial empirical mode decomposition, the K-clustering algorithm is used to identify whether the initial IMF has a mode aliasing problem. First, the initial IMF is classified into two categories using the K-clustering algorithm, and the class distance between the two categories is calculated. When the class distance is greater than the threshold set during initialization, the IMF is subjected to empirical mode decomposition again until its class distance is less than the set threshold. According to empirical geomagnetic data, the threshold is usually 0.05.

[0028] When the inter-class distances of the decomposed IMFs are all less than the set threshold, the K-clustering empirical mode decomposition step is completed, and then the filtering subsystem will filter, screen and reconstruct the decomposed IMFs; direct screening is selected based on the spectrum method, low-frequency IMFs are directly retained, and high-frequency IMFs are subjected to wavelet threshold denoising. Finally, the high-frequency IMFs, low-frequency IMFs and residual signals after wavelet threshold denoising are superimposed to complete the reconstruction of the geomagnetic signal.

[0029] The beneficial effects of the present invention are:

[0030] 1) The present invention uses the Helmholtz coil as a basic component. Its special design ensures that a stable and uniform magnetic field is generated in the central area. By controlling the current of the Helmholtz coil, the intensity of the generated magnetic field can be adjusted, providing adjustable parameters for subsequent magnetic field interference simulation.

[0031] 2) A variable frequency power supply is placed inside the Helmholtz coil, which allows flexible adjustment of frequency and amplitude. By changing the frequency of the power supply, we can introduce controllable magnetic field changes and simulate various unstable signals. This flexibility enables the system to more accurately simulate the magnetic field interference that may exist in the actual environment.

[0032] 3) In order to monitor the strength of the magnetic field in real time, the system is equipped with a magnetometer, which regularly collects the strength data of the uniform magnetic field in the Helmholtz coil. This data is used to record the magnetic field state before and after the interference is generated. This step provides accurate benchmark data for subsequent interference detection.

[0033] 4) The present invention introduces an improved empirical mode filtering algorithm to remove autonomously generated interference. This algorithm is optimized on the basis of the traditional filtering algorithm, and more accurately locates and suppresses interference components by introducing means such as K-clustering algorithm, multi-scale analysis and time-frequency analysis, which enables the system to effectively suppress interference while maintaining the details of the original signal.

[0034] 5) In order to achieve comprehensive control of the system, this system is equipped with a control system, which is used to adjust the frequency and amplitude of the variable frequency power supply, as well as monitor and adjust the working state of the Helmholtz coil. The control system ensures that the system can remain stable and controllable during the simulation of interference. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a schematic diagram of a circular Helmholtz coil in the present invention;

[0036] Figure 2 It is a block diagram of the external interference magnetic field active control system of the present invention;

[0037] Figure 3 This is a schematic diagram of the active control system for external interference magnetic field of the present invention;

[0038] Figure 4 It is a flow chart of the improved empirical mode decomposition algorithm based on K clustering of the present invention;

[0039] Figure 5 It is a signal reconstruction flow chart of the present invention. DETAILED DESCRIPTION

[0040] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0041] The magnetic field interference simulation and removal system of the present invention includes four subsystems: magnetic field generation, magnetic field measurement, magnetic field control and filtering. Among them, the magnetic field measurement subsystem is composed of a geomagnetic sensor, which is used as a measuring element of a feedback control loop to collect magnetic field data in real time and return analog quantities; the magnetic field generation subsystem is composed of a variable frequency power supply and a Helmholtz coil, and the power supply is an actuator, which receives a control signal and outputs a corresponding current. After a suitable current is passed through each axis of the coil, a uniform magnetic field is generated in the central area; the magnetic field control subsystem is mainly a controller, and the LMS algorithm is run in the controller to complete the AD conversion of the magnetic field data and perform compensation; the filtering subsystem is composed of a combination of a K-clustering algorithm, an empirical mode decomposition algorithm and a wavelet threshold denoising algorithm, and is used to process noisy geomagnetic signals.

[0042] The magnetic field generation subsystem is mainly responsible for generating a controllable magnetic field by controlling the current. The current driving the Helmholtz coil is provided by a variable frequency power supply, which has the characteristic of adjustable frequency to achieve the change of the magnetic field frequency. The Helmholtz coil is a key component for magnetic field generation. It consists of three groups of two coaxial circular coils. The uniform magnetic field generated by the current in the central area simulates the three-axis component B of the earth's magnetic field. x , B y , B z Taking a single axis as an example, according to the Biot-Savart law, the magnetic field generated by the current element idl at any point O in space is

[0043]

[0044] Among them, u 0 =4π×10 -7T·m / A is the vacuum magnetic permeability, and r is the distance from the current element idl to point O. For the Helmholtz coil, by passing two currents in the same direction through two coaxial circular coils, the magnetic field in the central area can be obtained. The expression of the magnetic field can be obtained by superimposing the magnetic fields of the two wires, and the magnetic induction intensity of the circular Helmholtz coil in the Z axis can be deduced as

[0045]

[0046] Among them, a is the radius of the coil, N is the number of turns of the coil, I is the current flowing through the coil, h=a is the distance between the two coils, and z is the distance from the point to be measured on the Z axis to the center origin. By adjusting the current intensity flowing through the two coaxial circular coils, a specific magnetic field is generated in the central area of ​​the Helmholtz coil.

[0047] The magnetic field measurement subsystem is responsible for detecting the abnormal magnetic field generated by the magnetic field generation subsystem; a high-precision, high-sensitivity three-axis magnetometer is selected, and in order to be able to evenly sense the changes in the geomagnetic field, the magnetometer is placed in the central area of ​​the Helmholtz coil.

[0048] The magnetic field control subsystem includes a controller for executing the control algorithm and coordinating the work of each part. The controller can process analog signals and generate corresponding control signals. In addition, the LMS algorithm runs in the magnetic field control subsystem, which is used to process and compensate the geomagnetic field data in real time. The LMS algorithm minimizes the error between the measured data and the expected data by adjusting the weights. The magnetic field control subsystem includes the function of analog-to-digital conversion, which converts the analog signal from the magnetic field measurement subsystem into a digital signal for digital signal processing.

[0049] The empirical mode decomposition algorithm in the filtering subsystem assumes that any signal is composed of multiple IMFs, and each IMF can be obtained by the following method:

[0050] First, find all the maximum and minimum points B of the signal S (t)', and the maximum envelope B S (t)' + and minimum envelope B S (t)' - By fitting a cubic spline function, the average envelope of the signal can be obtained by:

[0051] m 1 (t)=(B S (t)' + +B S (t)' - ) / twenty three)

[0052] From signal B S (t)' minus the average signal m 1(t), get a new signal Right now:

[0053]

[0054] Judgment signal Do the two conditions defined by IMF meet? If not, repeat the above process and assume that the signal After k times, the definition of IMF is satisfied, then signal B S The first-order IMF component of (t)' is:

[0055]

[0056] From signal B S (t)' minus the signal c 1 (t), and get a new signal r without the high frequency part 1 (t), that is:

[0057] r 1 (t) = B S (t)'-c 1 (t) (6)

[0058] Repeat r 1 (t) get c 1 (t) process, we get imf 2 (t), imf 3 (t)…, when the margin r L When (t) is less than a preset value or a monotonic function or a constant, the EMD decomposition process stops. Finally, the signal B after EMD decomposition S (t)' can be expressed as:

[0059]

[0060] Among them, imf i (t) is i th IMF component, L is the number of IMF, r L (t) is the residual, which represents the average trend or mean value of the signal;

[0061] Based on the IMF after the initial empirical mode decomposition, the K-clustering algorithm is used to identify whether the initial IMF has a mode aliasing problem. First, the initial IMF is classified into two categories using the K-clustering algorithm, and the class distance between the two categories is calculated. When the class distance is greater than the threshold set during initialization, the IMF is subjected to empirical mode decomposition again until its class distance is less than the set threshold. According to empirical geomagnetic data, the threshold is usually 0.05.

[0062] When the inter-class distances of the decomposed IMFs are all less than the set threshold, the K-clustering empirical mode decomposition step is completed, and then the filtering subsystem will filter, screen and reconstruct the decomposed IMFs; direct screening is selected based on the spectrum method, low-frequency IMFs are directly retained, and high-frequency IMFs are subjected to wavelet threshold denoising. Finally, the high-frequency IMFs, low-frequency IMFs and residual signals after wavelet threshold denoising are superimposed to complete the reconstruction of the geomagnetic signal.

[0063] Example 1

[0064] The present invention combines and improves a plurality of filtering algorithms to enhance the universality and filtering performance of the filtering algorithms for different interferences.

[0065] First, a magnetic field generating device is established using a three-axis Helmholtz coil to simulate electromagnetic interference during geomagnetic information measurement. Helmholtz coils are divided into two types: circular and square. Since circular coils have lower radiation loss, they are suitable for high-frequency applications, and their edge effects are relatively small, which helps to form a more uniform magnetic field. This patent uses circular coils to construct Helmholtz coils.

[0066] The principle of the Helmholtz coil to generate a magnetic field is based on the Biot-Savart law. The coil is composed of two annular coils of exactly the same structure and size. The two coils are parallel and coaxial. The distance between the center points of the two coils is equal to the radius of the coils. The current flowing through the two coils is the same in magnitude and direction. The generated magnetic field depends mainly on the current passing through the coils and the geometric shape of the coils. Figure 1 As shown, it is a schematic diagram of the partial structure of a circular Helmholtz coil. By designing its structure, the middle area of ​​the two circular coils can obtain the best uniform magnetic field.

[0067] According to the Biot-Savart law, the magnetic field generated by the current element idl at any point O in space is

[0068]

[0069] Among them, u 0 =4π×10 -7 T·m / A is the magnetic permeability of vacuum, and r is the distance from the current element idl to point O.

[0070] For the Helmholtz coil, by passing two currents in the same direction through two coaxial circular coils, the magnetic field in the center area can be obtained. The expression of the magnetic field can be obtained by superimposing the magnetic fields of the two wires, and the magnetic induction intensity of the circular Helmholtz coil in the Z axis can be deduced as

[0071]

[0072] Where a is the radius of the coil, N is the number of turns of the coil, I is the current flowing through the coil, h=a is the distance between the two coils, and z is the distance from the point to be measured on the Z axis to the center origin.

[0073] Example 2

[0074] The triaxial Helmholtz coil of the present invention is composed of three identical single-axis Helmholtz coils that are perpendicular to each other to simulate the triaxial components B and B of the earth's magnetic field respectively. x , B y , B z , by adjusting the current intensity passed into the two coaxial circular coils, a specific magnetic field is generated in the central area of ​​the Helmholtz coil. Therefore, it is necessary to design a control system, such as Figure 2 As shown in the figure, it is a block diagram of the active control system of the external interference magnetic field. The system includes a magnetic field measurement subsystem, a magnetic field generation subsystem and a magnetic field control subsystem. Among them, the magnetic field measurement subsystem is mainly composed of magnetic sensors such as Hall sensors or Gauss meters. As the measuring element of the feedback control loop, it collects magnetic field data in real time and returns analog quantities. The magnetic field generation subsystem consists of a power supply and a Helmholtz coil. The power supply is an actuator that receives control signals and outputs corresponding currents. After appropriate currents are passed through each axis of the coil, a uniform magnetic field is generated in the central area. The magnetic field control subsystem is mainly a controller. The LMS algorithm runs in the controller to complete the AD conversion of the magnetic field data and perform compensation. After the computer sets the expected magnetic field value for the controller, the controller receives the magnetic field value collected by the sensor, and after calculation by the LMS algorithm, it outputs the corresponding control quantity to adjust the excitation current output by the power supply, so as to achieve precise control of the magnetic field in the center of the coil. As shown in the figure, Figure 3 The figure shows the schematic diagram of the active control system for external interference magnetic field. The whole system is built by a three-axis Helmholtz coil, a controller, a magnetic sensor, a power supply, a power amplifier and a digital-to-analog conversion module. First, the computer sets the expected magnetic field value for the controller, and the three-axis magnetic sensor is placed in the center of the Helmholtz coil. The information of each component of the environmental magnetic field is collected synchronously and fed back to the controller through the analog-to-digital converter. The algorithm runs in the controller to generate a drive signal. After digital-to-analog conversion and power amplification, the drive current is passed into each axial direction of the Helmholtz coil to generate a specific interference magnetic field and the result is displayed by the computer.

[0075] Example 3

[0076] The construction of the magnetic field interference simulation device of the present invention is to better test the performance of the geomagnetic filtering algorithm, and integrate the empirical mode decomposition algorithm with the K-clustering algorithm. First, the empirical mode decomposition algorithm is used to decompose the original geomagnetic data into the initial intrinsic mode function. Then, the K-clustering algorithm is used to determine whether to further decompose the initial intrinsic mode function. This can effectively solve the modal aliasing problem that may exist in the traditional empirical mode decomposition algorithm, improve the filtering performance, and more effectively adapt to the complex structure of geomagnetic data. The traditional empirical mode decomposition denoising process can be divided into three basic steps: empirical mode decomposition, intrinsic mode function screening, and signal reconstruction.

[0077] The basic principle of the empirical mode decomposition algorithm is to decompose the noise signal into several IMFs and a trend term, which are distributed from high frequency to low frequency according to the time scale of the given signal. At the same time, each IMF has a different time scale, which contains the local characteristic information of the noise signal at different scales. In this way, the characteristic information of the signal can be fully and clearly expressed. Each IMF should meet two conditions:

[0078] 1) In the entire signal, the number of extreme points and the number of zero crossing points is not greater than 1;

[0079] 2) At any point, the mean of the upper and lower envelopes is zero.

[0080] The empirical mode decomposition algorithm assumes that any signal is composed of multiple IMFs, and each IMF can be obtained by the following method:

[0081] First, find all the maximum and minimum points B of the signal S (t)', and the maximum envelope B S (t)' + and minimum envelope B S (t)' - By fitting a cubic spline function, the average envelope of the signal can be obtained by:

[0082] m 1 (t)=(B S (t)' + +B S (t)' - ) / 2

[0083] From signal B S (t)' minus the average signal m 1 (t), get a new signal Right now:

[0084]

[0085] Judgment signal Does it meet the two conditions defined by IMF? If not, repeat the above process. After k times, the definition of IMF is satisfied, then signal B S The first-order IMF component of (t)' is:

[0086]

[0087] From signal B S (t)' minus the signal c 1 (t), and get a new signal r without the high frequency part 1 (t), that is:

[0088] r 1 (t) = B S (t)'-c 1 (t)

[0089] Repeat "r 1 (t)” to get “c 1 (t)”, we get “imf 2 (t), imf 3 (t)…”, when the margin “r L (t)" is less than a preset value or a monotonic function or a constant, the EMD decomposition process stops. Finally, the signal after EMD decomposition can be expressed as:

[0090]

[0091] Among them, imf i (t) is i th IMF component, L is the number of IMF, r L (t) is the residual, which represents the average trend or mean value of the signal.

[0092] The IMF after the initial empirical mode decomposition may have the problem of modal aliasing. In order to solve this problem, the present invention introduces the K-clustering algorithm to identify whether the initial IMF has the problem of modal aliasing. First, the initial IMF is classified into two categories using the K-clustering algorithm, and the class distance between the two classes is calculated. When the class distance is greater than the threshold set during initialization, the IMF is subjected to empirical mode decomposition again until its class distance is less than the set threshold. According to empirical geomagnetic data, the threshold is usually 0.05.

[0093] When the inter-class distances of the decomposed IMFs are all less than the set threshold, the K-clustering empirical mode decomposition step is completed, and then the filtering subsystem will filter, screen and reconstruct the decomposed IMFs. Figure 4As shown, it is a signal reconstruction flow chart. There are many methods for signal screening: 1) direct screening method based on spectrum; 2) screening method based on correlation coefficient; 3) screening method based on kurtosis; 4) screening method based on the product of energy density and average period. The purpose of screening is to remove IMFs containing noise while retaining those IMFs that carry useful information. This step is crucial to improving the accuracy and credibility of data analysis, allowing us to more accurately capture and understand key information in geomagnetic data. The present invention performs direct screening based on the spectrum, directly retains low-frequency IMFs, and performs wavelet threshold denoising on high-frequency IMFs. The denoising steps are as follows:

[0094] 1) Perform wavelet transform on high-frequency noisy IMFs. It is necessary to reasonably select the wavelet basis function and the number of decomposition levels, and obtain the useful signal wavelet coefficients and noise wavelet coefficients through wavelet decomposition.

[0095] 2) Threshold processing of wavelet coefficients. After wavelet transform, the coefficients of useful signals are larger than those of useless noise. At this time, a threshold should be found at different scales to divide the decomposition coefficients, retain the low-frequency components, and use the corresponding threshold function method to process the high-frequency components.

[0096] 3) The signal is reconstructed through inverse wavelet transform to obtain the signal after wavelet threshold denoising.

[0097] The selection of wavelet basis function, threshold function and threshold estimation method will affect the final denoising effect. In view of the large number of noise sources in the geomagnetic measurement process, the threshold function uses a soft threshold function with better denoising effect, the wavelet basis function selects sym4, the number of decomposition layers selects 5 layers, and a fixed threshold (sqtwolog threshold) is selected for denoising. The calculation formula is as follows:

[0098]

[0099] Where N is the length of the wavelet coefficient vector and σ is the standard deviation of the noise signal.

[0100] The process of signal reconstruction refers to superimposing the selected IMFs to obtain the denoised signal. This step eliminates the influence of noise on the signal and achieves the optimal reconstruction of the original signal. That is, superimposing the high-frequency IMFs, low-frequency IMFs and residual signals after wavelet denoising, such as Figure 5 As shown in the figure, the denoised geomagnetic signal is finally obtained. The performance of the geomagnetic denoising algorithm is evaluated by comparing the denoised geomagnetic signal with the original geomagnetic signal without superimposed interference. Through practice, the K-EMD filtering algorithm has excellent denoising ability for geomagnetic signals.

[0101] Example 4

[0102] The invention combines a Helmholtz coil, a variable frequency power supply, a magnetometer and an improved filtering algorithm.

[0103] First of all, the application of Helmholtz coils is essential for generating a constant and uniform magnetic field. The Helmholtz coil is a specially designed coil structure that can form a relatively uniform magnetic field in the central area through the synergy of two coaxial circular coils. This coil is often used in geomagnetic measurements to provide a stable reference magnetic field, laying the foundation for subsequent magnetic field interference simulation and detection.

[0104] Secondly, by connecting a variable frequency power supply to the Helmholtz coil, a controllable magnetic field change can be introduced. This step is particularly critical for simulating various unstable signals. The use of a variable frequency power supply flexibly adjusts the frequency and amplitude to simulate magnetic field interference of different frequencies or intensities. This simulation method can more realistically reflect the magnetic field changes that may exist in the actual environment, thereby more comprehensively evaluating the performance of geomagnetic sensors or other equipment.

[0105] Next, a magnetometer is used to detect the strength of the uniform magnetic field in the Helmholtz coil. A magnetometer is a device that specifically measures magnetic field strength and can monitor the generated magnetic field in real time. The implementation of this step enables us to obtain accurate magnetic field strength data before and after the interference simulation, providing accurate input for subsequent interference detection and filtering algorithms.

[0106] Finally, the key step is to use an improved filtering algorithm to remove the self-generated interference. Traditional filtering algorithms may lose the details of the original signal while removing interference, while the improved filtering algorithm has made significant progress in this regard. By introducing technical means such as K-clustering algorithm, multi-scale analysis and time-frequency analysis, the improved filtering algorithm can more accurately retain the characteristics of the original signal while suppressing interference.

[0107] While simulating various magnetic field interferences, the present invention monitors the magnetic field state in real time through a magnetometer and removes autonomously generated interference through an improved filtering algorithm, providing a comprehensive and efficient solution for performance evaluation of geomagnetic sensors or other related equipment, and can be widely used in navigation, geological exploration and other fields.

Claims

1. Magnetic field interference simulation and removal system, It is characterized in that It includes four subsystems: magnetic field generation, magnetic field measurement, magnetic field control and filtering. The magnetic field measurement subsystem is composed of geomagnetic sensors, which serve as the measuring element of the feedback control loop, collect magnetic field data in real time and return analog quantities; the magnetic field generation subsystem is composed of a variable frequency power supply and a Helmholtz coil. The power supply is an actuator, which receives control signals and outputs corresponding currents. After appropriate currents are passed through each axis of the coil, a uniform magnetic field is generated in the central area; the magnetic field control subsystem is a controller, which runs the LMS algorithm to complete the AD conversion of the magnetic field data and perform compensation; the filtering subsystem is composed of a combination of the K-clustering algorithm, the empirical mode decomposition algorithm and the wavelet threshold denoising algorithm, and is used to process noisy geomagnetic signals.

2. The magnetic field interference simulation and removal system according to claim 1, It is characterized in that The magnetic field generating subsystem generates a controllable magnetic field by controlling the current; the current driving the Helmholtz coil is provided by a variable frequency power supply, which has the characteristic of adjustable frequency to achieve the change of the magnetic field frequency; the Helmholtz coil is composed of three groups of two coaxial circular coils, and the uniform magnetic field generated by the current in the central area simulates the three-axis component B of the earth's magnetic field x , B y , B z According to the Biot-Savart law, the magnetic field generated by the current element idl at any point O in space is Among them, u 0 =4π×10 -7 T·m / A is the vacuum magnetic permeability, r is the distance from the current element idl to point O; For the Helmholtz coil, by passing two currents in the same direction through two coaxial circular coils, the magnetic field in the central area can be obtained; the expression of the magnetic field can be obtained by superimposing the magnetic fields of the two conductors, and the magnetic induction intensity of the circular Helmholtz coil in the Z axis can be deduced as: Among them, a is the radius of the coil, N is the number of turns of the coil, I is the current passed through the coil, h=a is the distance between the two coils, and z is the distance from the point to be measured on the Z axis to the center origin; by adjusting the current intensity passed through the two coaxial circular coils, a specific magnetic field is generated in the central area of ​​the Helmholtz coil.

3. The magnetic field interference simulation and removal system according to claim 1, It is characterized in that The magnetic field measurement subsystem is responsible for detecting the abnormal magnetic field generated by the magnetic field generation subsystem; a high-precision, high-sensitivity three-axis magnetometer is selected, and in order to be able to evenly sense the changes in the geomagnetic field, the magnetometer is placed in the central area of ​​the Helmholtz coil.

4. The magnetic field interference simulation and removal system as claimed in claim 1, It is characterized in that The magnetic field control subsystem includes a controller for executing a control algorithm and coordinating the work of various parts. The controller can process analog signals and generate corresponding control signals. In addition, the LMS algorithm runs in the magnetic field control subsystem, which is used to process and compensate for the geomagnetic field data in real time. The LMS algorithm minimizes the error between the measured data and the expected data by adjusting the weights. The magnetic field control subsystem includes an analog-to-digital conversion function, which converts the analog signal from the magnetic field measurement subsystem into a digital signal for digital signal processing.

5. The magnetic field interference simulation and removal system according to claim 1, It is characterized in that The empirical mode decomposition algorithm in the filtering subsystem assumes that any signal is composed of multiple IMFs, and each IMF can be obtained by the following method: First, find all the maximum and minimum points B of the signal S (t)', and the maximum envelope B S (t)' + and minimum envelope B S (t)' - By fitting a cubic spline function, the average envelope of the signal can be obtained by: m 1 (t)=(B S (t)' + +B S (t)' - ) / 2 (3) From signal B S (t)' minus the average signal m 1 (t), get a new signal Right now: Judgment signal Do the two conditions defined by IMF meet? If not, repeat the above process and assume that the signal After k times, the definition of IMF is satisfied, then signal B S The first-order IMF component of (t)' is: From signal B S (t)' minus the signal c 1 (t), and get a new signal r without the high frequency part 1 (t), that is: r 1 (t)=B S (t)'-c 1 (t) (6) Repeat r 1 (t) get c 1 (t) process, we get imf 2 (t), imf 3 (t)…, when the margin r L When (t) is less than a preset value or a monotonic function or a constant, the EMD decomposition process stops. Finally, the signal B after EMD decomposition S (t)' can be expressed as: Among them, imf i (t) is i th IMF component, L is the number of IMF, r L (t) is the residual, which represents the average trend or mean value of the signal; Based on the IMF after the initial empirical mode decomposition, the K-clustering algorithm is used to identify whether the initial IMF has a mode aliasing problem. First, the initial IMF is classified into two categories using the K-clustering algorithm, and the class distance between the two categories is calculated. When the class distance is greater than the threshold set during initialization, the IMF is subjected to empirical mode decomposition again until its class distance is less than the set threshold. According to empirical geomagnetic data, the threshold is usually 0.

05. When the inter-class distances of the decomposed IMFs are all less than the set threshold, the K-clustering empirical mode decomposition step is completed, and then the filtering subsystem will filter, screen and reconstruct the decomposed IMFs; direct screening is selected based on the spectrum method, low-frequency IMFs are directly retained, and high-frequency IMFs are subjected to wavelet threshold denoising. Finally, the high-frequency IMFs, low-frequency IMFs and residual signals after wavelet threshold denoising are superimposed to complete the reconstruction of the geomagnetic signal.

Citation Information

Patent Citations

  • Noise suppression method for superconducting transient electromagnetic application

    CN103955003A

  • Magnetoresistance chip temperature and humidity influence correction and compensation system and method

    CN109342984A

  • Geomagnetic filtering method based on multi-scale empirical mode decomposition

    CN109520493A

  • High-precision magnetic field generating system for actively compensating external DC and AC magnetic field interference

    CN110161287A

  • Magnetic field locking device and method for eliminating transient environment interference

    CN113030812A