A magnetic field measurement method and device
By calculating the nonlinear relationship between the derivatives of the magnetic resonance signal in the optical pump atomic magnetometer and the RF field detuning frequency, the multi-layer perceptron model is used to adjust the RF field frequency, and the response of the optical pump atomic magnetometer in the dynamic magnetic field environment is solved. The problems of slow speed and cumulative errors achieve high-precision and high-sensitivity magnetic field measurement.
Patent Information
- Application Number
- CN202411103230.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-13
AI Technical Summary
The existing optical pump atomic magnetometers respond slowly in dynamic magnetic field environments, making it difficult to capture the details of magnetic field changes, and the accumulated error effect leads to deviations in measurement results, and the system parameters are inflexible, making it difficult to meet the needs of high-precision and complex magnetic field scenarios.
By calculating the nonlinear relationship between the derivatives of each order of the magnetic resonance signal and the RF field detuning frequency, the RF field frequency is adjusted using a multi-layer perceptron model to achieve fast and accurate magnetic field measurement, and suppression through phase locked amplification and data normalization processing Noise interference, improving measurement accuracy and response speed.
It significantly improves the accuracy and response speed of magnetic field measurement, enhances the adaptability and reliability of the system, avoids cumulative errors, and realizes efficient capture and accurate measurement of complex magnetic field changes.
Smart Images

Figure CN118642022B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of magnetic detection, and in particular relates to a magnetic field measurement method and device. Background Art
[0002] Magnetic field measurement is of great significance in fields such as geophysical exploration, aerospace, military, and medical imaging. These applications have extremely high requirements for the accuracy and reliability of magnetic field measurement. Among the many magnetic field measurement technologies, optically pumped atomic magnetometers are widely used because of their high sensitivity, miniaturization, and low power consumption. Optically pumped atomic magnetometers are precision measuring devices based on the Zeeman effect and magnetic resonance technology. Under the action of an external magnetic field, the energy levels of atoms will split. Optically pumped atomic magnetometers excite these atoms by applying a radio frequency field in the perpendicular direction of the external magnetic field. When atoms are excited in a radio frequency field of a specific frequency, they absorb energy and resonate. The nature of this resonance can accurately reflect the strength of the external magnetic field. By measuring the magnetic resonance frequency, optically pumped atomic magnetometers can provide high-precision magnetic field measurements.
[0003] Nevertheless, the PID algorithm currently used in the magnetic field measurement method of optically pumped atomic magnetometers still has some obvious shortcomings. (1) The PID algorithm relies on adjusting the carrier frequency of the RF field through the master step-by-step approximation method to maintain the atoms in a magnetic resonance state, which will cause the magnetometer to respond slowly in a dynamic magnetic field environment. (2) When faced with complex magnetic field changes, the PID algorithm cannot effectively capture all the details of the magnetic field changes, especially in the case of high change frequencies, so it is difficult to achieve good measurement results. (3) The cumulative error effect of the PID algorithm cannot meet the long-term high-precision measurement requirements, and the accumulation of small errors may cause significant deviations in the final measurement results. (4) For different magnetic field measurement scenarios, the PID algorithm needs to design different system parameters and is not flexible. In summary, these shortcomings limit the potential and efficiency of optically pumped atomic magnetometers in high-precision magnetic field measurement applications. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the above-mentioned background technology and to provide a magnetic field measurement method and device, which obtains the magnetic field strength through the derivative data of each order of the magnetic resonance signal, which not only significantly improves the measurement accuracy and response speed, but also enhances the adaptability and reliability of the system.
[0005] The technical solution adopted by the present invention is: a magnetic field measurement method, comprising the following steps:
[0006] With respect to the magnetic field to be measured, a radio frequency field is applied to the atoms therein to generate a magnetic resonance signal;
[0007] Demodulating the modulated magnetic resonance signal using different reference signals respectively, and obtaining derivatives of various orders of the magnetic resonance signal accordingly;
[0008] Based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field, the detuning frequency of the radio frequency field is calculated;
[0009] The magnetic field strength is calculated based on the carrier frequency and detuning frequency of the RF field.
[0010] In the above technical solution, the following steps are cyclically executed to obtain continuous magnetic field strength timing values: the carrier frequency of the radio frequency field of the current cycle is adjusted based on the detuning frequency of the radio frequency field of the previous cycle to maintain the magnetic resonance state of the atoms; the detuning frequency and magnetic field strength of the radio frequency field of the current cycle are calculated based on the derivatives of the magnetic resonance signal.
[0011] In the above technical solution, the calculation process of the detuned frequency of the radio frequency field includes: preprocessing the various order derivatives of the magnetic resonance signal and inputting them into a multilayer perceptron model, and the multilayer perceptron model outputs the detuned frequency of the radio frequency field; the multilayer perceptron model is used to map the nonlinear functional relationship between the various order derivatives of the magnetic resonance signal and the detuned frequency of the radio frequency field.
[0012] In the above technical solution, the construction process of the multilayer perceptron model includes:
[0013] Applying radio frequency fields of different carrier frequencies based on external magnetic fields of different intensities to excite atoms to resonate, and calculating the derivatives of the corresponding magnetic resonance signals;
[0014] The derivatives of the magnetic resonance signal are used as model inputs, and the difference between the corresponding external magnetic field frequency and the carrier frequency of the radio frequency field is used as the training label to construct a sample set;
[0015] The sample set is used to train the multilayer perceptron model.
[0016] In the above technical solution, during the use and training of the multilayer perceptron model, the derivatives of each order of the magnetic resonance signal are normalized and used as the input of the multilayer perceptron model.
[0017] In the above technical solution, the magnetic field strength of the magnetic field to be measured is obtained by numerically calculating the 1st to 5th order derivatives of the magnetic resonance signal.
[0018] In the above technical scheme, an FM signal is used to drive a radio frequency field, and is applied to atoms in a magnetic field to be measured to generate a magnetic resonance signal; the FM signal corresponding to the magnetic resonance signal is synchronously demodulated by a phase-locked amplification method to obtain different modulation frequency component signals of the FM signal; each harmonic signal synchronized by the different modulation frequency component signals of the FM signal is used as a reference signal, and the magnetic resonance signal is multiplied and filtered to demodulate and obtain the amplitude information of each modulation frequency component signal of the magnetic resonance signal; the amplitude information of each modulation frequency component signal of the magnetic resonance signal is used as the corresponding derivative values of each order of the magnetic resonance signal; wherein, the signal amplitude of the modulation frequency component signal of n times is used as the nth-order derivative value; and n is a positive integer.
[0019] In the above technical solution, before the magnetic resonance signal is detected for the first time, the RF field frequency is adjusted by frequency scanning; after the magnetic resonance signal is detected, the carrier frequency of the RF field is adjusted according to the calculated detuning frequency of the RF field to match the magnetic resonance frequency.
[0020] In the above technical solution, during the sample set construction process of the multilayer perceptron model, the values of the derivatives of each order of the magnetic resonance signal are calculated by the Lorentzian function.
[0021] In the above technical solution, the process of calculating the magnetic field strength includes: summing the detuned frequency and the carrier frequency of the radio frequency field as the magnetic resonance frequency; and dividing the magnetic resonance frequency by the magnetic gyrometry ratio as the magnetic field strength.
[0022] The present invention also provides a magnetic field measurement device for executing the magnetic field measurement method described in the above technical solution, comprising a radio frequency driving module, a signal acquisition module, a plurality of phase-locked amplification modules and a signal processing module;
[0023] The radio frequency driving module is used to apply a radio frequency field to atoms in the magnetic field to be measured to excite the magnetic resonance phenomenon, and modulate the magnetic resonance signal generated by the magnetic resonance phenomenon;
[0024] The signal acquisition module is used to acquire the modulated magnetic resonance signal;
[0025] A plurality of phase-locked amplifier modules are arranged in parallel, and are respectively used to demodulate the modulated magnetic resonance signal using a corresponding reference signal to obtain a derivative of a corresponding order of the magnetic resonance signal;
[0026] The signal processing module is used to calculate the detuning frequency of the radio frequency field based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field; and calculate the magnetic field strength according to the carrier frequency and the detuning frequency of the radio frequency field.
[0027] The beneficial effect of the present invention is that the present invention obtains the detuning frequency of the radio frequency field based on the nonlinear functional relationship between the detuning frequency and each order derivative of the magnetic resonance, and then calculates the magnetic field strength, thereby realizing the function of quickly and accurately measuring the magnetic field.
[0028] Furthermore, the present invention continuously adjusts the frequency of the radio frequency magnetic field to match the magnetic resonance frequency by calculating the detuned frequency of the radio frequency field, thereby continuously maintaining the magnetic resonance state of the magnetic atoms, and then effectively obtaining the change information of the magnetic field strength. In the case of high-frequency changes in the magnetic field, it can capture all the details of the magnetic field changes, enhance the adaptability and stability in the face of complex application scenarios, and has obvious technical advantages and broad application prospects; at the same time, it effectively maintains the magnetic resonance state and improves the response speed. The present invention adjusts the carrier frequency of the radio frequency field through the result of a single calculation, improves the calculation efficiency, avoids the measurement deviation caused by the cumulative error effect, and improves the measurement accuracy of the magnetic field strength.
[0029] Furthermore, the present invention combines machine learning algorithms with magnetic resonance technology to directly output the detuned frequency of the radio frequency field through a trained multi-layer perceptron model. There is no need to adjust system parameters for different application scenarios. It has the characteristics of high precision, high response speed, and high stability.
[0030] Furthermore, the present invention obtains the mapping relationship between the detuned frequency of the radio frequency field and the derivatives of each order of the magnetic resonance signal by training a multi-layer perceptron model. The mapping relationship cannot be obtained by analytical expression due to the complexity of the theoretical model. The present invention utilizes the highly nonlinear characteristics of the neural network, obtains the mapping relationship by fitting a standard data set and uses it for subsequent calculations, thereby ensuring the calculation accuracy of the detuned frequency and thus improving the calculation accuracy of the magnetic field strength. At the same time, the present invention controls the frequency of the external magnetic field and the radio frequency field, and artificially sets a large number of application scenarios of the detuned frequency to obtain the corresponding derivatives of each order of the magnetic resonance signal, thereby improving the diversity of the samples, fully reflecting the actual application scenarios, and ensuring the accuracy of the multi-layer perceptron model.
[0031] Furthermore, during the training and use phases of the multilayer perceptron model, the present invention normalizes the collected derivative data and adjusts all derivative values to a uniform range of 0 to 1, thereby ensuring that the multilayer perceptron model can accurately reflect the complex relationship between the magnetic resonance signal derivative and the magnetic field strength.
[0032] Furthermore, the present invention uses a phase-locked amplification method to synchronously demodulate the FM signal as a reference signal, and then demodulates the amplitude information of each frequency component signal of the magnetic resonance signal as each order derivative value. Although the magnitude of the high-order derivative value is small and difficult to extract directly, the frequency discrimination ability and high sensitivity of the phase-locked amplification method effectively suppress the interference caused by noise during the calculation process, ensuring the accuracy and precision of the calculation results.
[0033] Furthermore, after obtaining the preliminary magnetic resonance frequency range by frequency scanning, the present invention uses FM signals to drive the radio frequency field, and the values of derivatives of various orders calculated in parallel by multiple demodulation modules can be used to calculate the accurate detuned frequency of the radio frequency field, effectively improving the measurement accuracy and the response speed of the measurement. At the same time, the present invention adjusts the carrier frequency of the radio frequency field according to the calculated detuned frequency of the radio frequency field to match the magnetic resonance frequency, effectively maintains the magnetic resonance state, and can also efficiently measure the magnetic field strength and ensure the response speed in an environment with complex magnetic field changes.
[0034] Furthermore, in the process of constructing the sample set of the multilayer perceptron model, the present invention obtains the values of each order derivative of the magnetic resonance signal through Lorentzian function calculation, thereby ensuring the accuracy of the sample set.
[0035] Furthermore, the present invention obtains the magnetic field strength by calculating the magnetic resonance frequency, thereby simplifying the calculation process and ensuring the calculation accuracy of the magnetic field strength. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a schematic diagram of the method flow of the present invention;
[0037] Figure 2 is a distribution diagram of the proportion of each order derivative in the signal amplitude of each frequency component in a specific embodiment;
[0038] Figure 3 A schematic diagram of a multilayer perceptron model network structure in a specific embodiment;
[0039] Figure 4 It is a schematic diagram of normalized curves of 1st to 5th order derivatives of a specific embodiment;
[0040] Figure 5 A comparison diagram of the time domain waveform and measurement error of the measurement results of the specific embodiment and the prior art;
[0041] Figure 6 1 is the power spectrum of the measurement results of the specific embodiment and the prior art. DETAILED DESCRIPTION
[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments to facilitate a clear understanding of the present invention, but they do not constitute a limitation on the present invention.
[0043] Example 1
[0044] The present invention provides a magnetic field measurement method, comprising the following steps:
[0045] With respect to the magnetic field to be measured, a radio frequency field is applied to the atoms therein to generate a magnetic resonance signal;
[0046] Demodulating the modulated magnetic resonance signal to obtain derivatives of various orders of the magnetic resonance signal;
[0047] Based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field, the detuning frequency of the radio frequency field is calculated;
[0048] The magnetic field strength is calculated based on the carrier frequency and detuning frequency of the RF field.
[0049] like Figure 1 As shown, the present invention specifically comprises the following steps:
[0050] Step A, applying a radio frequency field to the atoms in the magnetic field to be measured, and performing a frequency scan on the radio frequency field until a magnetic resonance signal is acquired, and preliminarily determining the magnetic resonance frequency;
[0051] Step B, FM modulates the radio frequency field, sets the carrier frequency to the preliminary magnetic resonance frequency; then adopts the phase-locked amplification method, demodulates the modulated magnetic resonance signal using different reference signals, and calculates the derivative values of each order of the magnetic resonance signal;
[0052] Step C, based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field, a multilayer perceptron model is used to calculate the detuning frequency of the radio frequency field;
[0053] Step D, calculating the magnetic field strength according to the carrier frequency and the detuning frequency of the radio frequency field;
[0054] Step E, updating the magnetic resonance frequency based on the detuned frequency of the radio frequency field, so that the magnetic resonance frequency is equal to the sum of the carrier frequency of the current radio frequency field and the detuned frequency;
[0055] Steps BE are executed in a loop.
[0056] Specifically, in step A, a frequency sweep signal is used to drive the radio frequency field and applied to the atoms in the magnetic field to be measured to generate a magnetic resonance signal.
[0057] Specifically, when step B is first executed, the magnetic resonance frequency determined in step A is used as the carrier frequency. When step B is executed in a subsequent cycle, the magnetic resonance frequency updated in step E is used as the carrier frequency.
[0058] In step B, the FM signal corresponding to the magnetic resonance signal is synchronously demodulated by a phase-locked amplification method; the synchronized harmonic signals are used as reference signals, the magnetic resonance signal is multiplied and filtered, and the amplitude information of each frequency component signal is demodulated; the amplitude information of each frequency component signal is used as the corresponding derivative value of the magnetic resonance signal; wherein the signal amplitude of n times the modulation frequency is used as the nth-order derivative value; n is a positive integer.
[0059] In general, magnetic resonance signals can be represented by Lorentzian functions as follows:
[0060] ;
[0061] Where A is the magnetic resonance signal amplitude, f is the RF field signal frequency, f0 is the magnetic resonance frequency, is the half-maximum full-width linewidth of the magnetic resonance signal, is the light intensity. This function indicates that when a sinusoidal signal with a frequency of f is applied to the radio frequency field, the remaining light intensity after the detection light is absorbed by the atom is .
[0062] For this function at frequency f a Performing Taylor expansion at , we can get the following expression:
[0063] ;
[0064] In order to calculate the derivatives of the magnetic resonance signal, the RF field is driven by a frequency modulated (FM) signal. The carrier frequency is f a , the modulation frequency is , the modulation depth is .
[0065] Under these parameters, the time domain signal expression is as follows:
[0066] ;
[0067] From the above observation, we can see that the time domain signal It can be regarded as a signal composed of a DC signal and multiple cosine signals. Among them, the AC frequency components are , ,……, On the other hand, the magnetic resonance signal Derivative yes The coefficient of It can also be achieved through , Isosignal linear representation.
[0068] So in the time domain signal In, the frequency is The signal amplitude contains the first-order derivative, third-order derivative, fifth-order derivative and other information of the magnetic resonance signal, and the frequency is 2 The signal amplitude includes the 2nd, 4th, and 6th derivatives of the magnetic resonance signal, and the frequency is 3 The signal amplitude includes the third-order derivative, fifth-order derivative, seventh-order derivative and other signals of the magnetic resonance signal, and so on.
[0069] In order to determine the relationship between the signal amplitude of each frequency component and each order derivative, the identity equation is constructed as follows:
[0070] ;
[0071] in, are the coefficients of each term. n=0,1,2,3,...; in particular, when hour, .
[0072] Using the cosine double angle formula, we can get the following equation:
[0073] ;
[0074] By combining the above two equations, we can get The recursive formula is as follows:
[0075] ;
[0076] Thus, we can solve The general formula is as follows:
[0077] ;
[0078] in, Indicates the number of combinations. Substitute the general formula into the time domain signal In the above equation, we can get the relationship between each order derivative and the signal amplitude of each frequency component.
[0079] Without loss of generality, assume that the atomic line width is 100Hz, modulation depth is 25Hz. Substitute the above parameters into the time domain signal In the expression, we can get the distribution diagram of the proportion of each order derivative in the signal amplitude of each frequency component as follows: Figure 2 As shown. Figure 2 It can be seen that basically more than 95% of the derivative values of each order exist only in the signal amplitude of the corresponding frequency, and the proportion increases with the increase of the order.
[0080] So the frequency can be The signal amplitude is taken as the first-order derivative value of the magnetic resonance signal, and the frequency is 2 The signal amplitude is taken as the second-order derivative value of the magnetic resonance signal, and the frequency is 3 The signal amplitude is taken as the third-order derivative value of the magnetic resonance signal, and so on.
[0081] Specifically, step C includes the following steps: preprocessing the derivatives of each order of the magnetic resonance signal and inputting them into a multilayer perceptron model, the multilayer perceptron model outputting the detuning frequency of the radio frequency field; the multilayer perceptron model is used to map the nonlinear functional relationship between the derivatives of each order of the magnetic resonance signal and the detuning frequency of the radio frequency field. The preprocessing is a normalization process.
[0082] The construction process of the multilayer perceptron model includes:
[0083] Applying radio frequency fields of different carrier frequencies based on external magnetic fields of different intensities to excite atoms to resonate, and calculating the derivatives of the corresponding magnetic resonance signals;
[0084] The derivatives of the magnetic resonance signal are used as model inputs, and the difference between the corresponding external magnetic field frequency and the carrier frequency of the radio frequency field (i.e., the detuning frequency of the radio frequency field) is used as the training label to construct a sample set.
[0085] The sample set is used to train the multilayer perceptron model.
[0086] When the atom is within the line width of the magnetic resonance signal, the derivatives of the magnetic resonance signal are almost not zero, and the values of the derivatives of the acquired magnetic resonance signal can be calculated using the Lorentzian function.
[0087] If the value of each derivative is regarded as an n-dimensional vector (n>1), then the mapping relationship from the detuned frequency of the RF field to the n-dimensional vector is one-to-one. Conversely, if the value of the n-dimensional vector can be obtained, the corresponding detuned frequency of the RF field can be obtained by reverse mapping.
[0088] However, this mapping relationship cannot be expressed analytically due to the complexity of the theoretical model. Therefore, the present invention utilizes the highly nonlinear characteristics of the neural network, trains a large number of standard data sets to the neural network model, and fits the numerical mapping relationship between the n-dimensional vector and the detuned frequency of the radio frequency field.
[0089] In order to better fit the relationship between the n-dimensional vector and the detuned frequency of the RF field, this specific implementation selects a multilayer perceptron model as the magnetic field measurement model. The network structure is as follows: Figure 3 shown.
[0090] The multilayer perceptron model of the present invention comprises an input layer, two hidden layers and an output layer. The input layer is an n-dimensional neuron node, corresponding to n derivative values. The two hidden layers respectively comprise 256 neuron nodes. The output layer has only one neuron node, corresponding to the detuned frequency of the radio frequency field. The input layer, the hidden layer and the output layer directly adopt a fully connected mode to maximize the nonlinear performance of the multilayer perceptron model. Considering the detection capability of the signal acquisition link and the phase-locked amplification link, the present invention adopts 1st to 5th order derivatives as the input of the multilayer perceptron model.
[0091] To ensure that the multilayer perceptron model can accurately reflect the complex relationship between the magnetic resonance signal derivative and the magnetic field strength, the present invention first normalizes the collected derivative data and adjusts all derivative values to a uniform range of 0 to 1. The normalized 1st to 5th order derivative curves are shown in Figure 4 Normalization solves the problem of deviation caused by different magnitudes of data, ensuring that the algorithm can learn each feature in a balanced manner without being overly affected by the large magnitude of individual features.
[0092] Furthermore, in order to cope with the situation where the actual measured data may be insufficient, the present invention adopts data enhancement technology to expand the training data set by interpolation and adding white noise. This strategy not only expands the size of the data set, but also enhances the adaptability and generalization of the model to different changes in magnetic field intensity, especially the prediction ability under sparse data or boundary conditions. Through the comprehensive implementation of these pre-processing measures, the accuracy and stability of the model in magnetic field prediction are greatly improved.
[0093] In addition, in order to enhance the robustness of the model in complex data environments, the present invention uses L2 regularization technology to limit the complexity of the model, thereby preventing the model from over-learning on the training data and ignoring the improvement of generalization ability, ensuring that the model can provide reliable and accurate measurement results under different operating conditions and magnetic field changes.
[0094] In order to further ensure the generalization ability of the model and optimize its performance, the present invention also adopts a cross-validation method. By dividing the data set into multiple subsets, cross-validation allows each subset to have the opportunity to serve as a test set and a training set, thereby evaluating the performance of the model on unknown data. During the model training process, the learning rate is also finely adjusted, and the Adam optimizer that is most suitable for this task is selected to ensure fast and stable convergence during the model training process. By using a large amount of training data and performing multiple iterative training, the model is able to run stably under various conditions and achieve the best prediction effect in the magnetic field prediction task. This series of technical optimizations enables the present invention to have significant application advantages and high practical value in the field of magnetic field measurement.
[0095] Specifically, in step D, the carrier frequency and the detuning frequency of the radio frequency field are summed as the magnetic resonance frequency; and the magnetic resonance frequency is divided by the magnetic gyrometry ratio as the magnetic field intensity.
[0096] Specifically, in step E, the detuned frequency of the radio frequency field calculated in the current cycle is added to the carrier frequency to be used as a new magnetic resonance frequency, that is, as the carrier frequency of the radio frequency field when step B is re-executed. That is, step B is re-executed to adjust the carrier frequency of the radio frequency field to the magnetic resonance frequency to maintain the magnetic resonance state.
[0097] Example 2
[0098] The present invention uses an optically pumped atomic magnetometer as a magnetic field measurement device for executing the magnetic field measurement method described in Example 1, including a laser control module, a radio frequency drive module, a signal acquisition module, a plurality of phase-locked amplifier modules and a signal processing module;
[0099] The laser control module is used to realize the optical path of the magnetic field measuring device and set the temperature and current of the laser; the radio frequency driving module is used to apply a radio frequency field to the atoms in the magnetic field to be measured to excite the magnetic resonance phenomenon and modulate the magnetic resonance signal generated by the magnetic resonance phenomenon;
[0100] The signal acquisition module is used to acquire the modulated magnetic resonance signal;
[0101] A plurality of phase-locked amplifier modules are arranged in parallel, and are respectively used to demodulate the modulated magnetic resonance signal using a corresponding reference signal to obtain a derivative of a corresponding order of the magnetic resonance signal;
[0102] The signal processing module is used to calculate the detuning frequency of the radio frequency field using a multilayer perceptron model based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field; and to calculate the magnetic field strength according to the carrier frequency and the detuning frequency of the radio frequency field.
[0103] The use process of the magnetic field measuring device is as follows:
[0104] First, the optically pumped atomic magnetometer needs to be initialized, which mainly includes the laser frequency stabilization process and the atomic gas chamber temperature stabilization process.
[0105] After the above process is completed, the optically pumped atomic magnetometer is set in the magnetic field to be measured. The RF drive module applies the RF field to the magnetic field to be measured, and uses the swept frequency signal to drive the RF field and interact with the atoms until the detection light passing through the atomic gas chamber is received by the photodiode as a signal acquisition module, and the electrical signal of the magnetic resonance signal is collected to preliminarily determine the magnetic resonance frequency.
[0106] The preliminarily determined magnetic resonance frequency is used as the carrier frequency to perform FM modulation on the radio frequency field. At this time, the electrical signal of the FM modulated signal output by the photodiode is converted into an analog-to-digital signal and then input into the five phase-locked amplifier modules for synchronous demodulation.
[0107] The five phase-locked amplifier modules respectively use the phase-locked amplification method to synchronously demodulate the FM signal to obtain the modulation frequency component signals of 1 to 5 times of the FM signal; use the harmonic signals corresponding to the modulation frequency component signals of 1 to 5 times as reference signals to perform multiplication and filtering on the magnetic resonance signal to obtain the amplitude information of the modulation frequency component signals of 1 to 5 times of the magnetic resonance signal; and use the amplitude information of the modulation frequency component signals of 1 to 5 times of the magnetic resonance signal as the 1st to 5th order magnetic resonance derivatives. That is, each phase-locked amplifier module outputs the derivative data of the magnetic resonance signal of its corresponding order.
[0108] Specifically, the frequency is The signal amplitude is taken as the first-order derivative value of the magnetic resonance signal, and the frequency is 2 The signal amplitude is taken as the second-order derivative value of the magnetic resonance signal, and the frequency is 3 The signal amplitude is taken as the third-order derivative value of the magnetic resonance signal, and so on.
[0109] The signal processing module normalizes the first-order to fifth-order magnetic resonance derivative signals acquired in real time and then inputs them into the multilayer perceptron model constructed by the present invention.
[0110] The multilayer perceptron model contains a 5-dimensional input layer, two 256-dimensional hidden layers, and a 1-dimensional output layer. All activation functions use ReLU functions to enhance the model's ability to handle nonlinear problems. The result of the multilayer perceptron model output is the detuned frequency of the radio frequency field.
[0111] The signal processing module sums the detuned frequency and frequency of the RF field as the magnetic resonance frequency; divides the magnetic resonance frequency by the magnetic gyrometry ratio as the output of the magnetic field strength, and adds the detuned frequency of the RF field calculated in the current cycle to the carrier frequency, and feeds it back to the RF driving module as the carrier frequency of the RF field in the next cycle.
[0112] In the next cycle, the optically pumped atomic magnetometer drives the radio frequency field through the FM modulation signal based on the calculated corresponding carrier frequency to maintain the magnetic resonance phenomenon.
[0113] The photodiode, the phase-locked amplifier module and the signal processing module continue to perform their functions to obtain the magnetic field intensity and the new carrier frequency corresponding to the cycle.
[0114] After the magnetic resonance signal is initially acquired, the magnetic field measuring device obtains the changing magnetic field strength timing value by cyclically executing the following process: the magnetic field measuring device controls the RF field carrier frequency of the current cycle based on the RF field detuning frequency calculated in the previous cycle, and calculates the magnetic field strength and RF field detuning frequency of the current cycle.
[0115] This specific embodiment verifies the present invention through experiments:
[0116] The optical pump atomic magnetometer physical system was built on the optical platform and the magnetic resonance signals were collected. The calculated RF field detuning frequency and each order of magnetic resonance derivative signals were processed for data enhancement to generate a large number of data sets for training the multi-layer perceptron model.
[0117] An AC magnetic field is generated by simulation, which is an AC magnetic field with a variation amplitude of 1nT and a variation frequency of 1Hz superimposed on a static magnetic field of 40,000nT. The collected magnetic resonance signal is input into a multilayer perceptron model and subsequently calculated to obtain the magnetic field strength, and the magnetic field measurement performance of the present invention is tested at a sampling frequency of 10Hz.
[0118] This specific embodiment uses the traditional PID algorithm and the method of the present invention to measure the magnetic field at the same time. The time domain measurement results and measurement errors of the two methods are shown in Figure 5 As shown, the power spectra of the measurement results of the two methods are as follows Figure 6 shown. Figure 5 It shows that both methods can respond to magnetic field changes well, but the measurement error of the traditional PID algorithm is between ±60pT, while the measurement error of the present invention is between ±5pT, and the measurement accuracy is improved by an order of magnitude. Figure 6 In the figure, the two methods clearly have a single peak of 1Hz, and the corresponding signal strength is exactly equal to the change amplitude of the AC magnetic field 1nT, which also shows that the two methods can respond to the magnetic field change well. However, the sensitivity of the PID algorithm is about , the sensitivity of the present invention is about , and the measurement sensitivity is also improved by an order of magnitude. In summary, from the perspective of measurement error and sensitivity, the present invention is an order of magnitude better than the traditional PID algorithm, and contributes to the further promotion of the use of optically pumped atomic magnetometers for precise magnetic field detection.
[0119] In summary, the optically pumped atomic magnetometer magnetic field measurement method based on the multilayer perceptron model proposed in the present invention automatically analyzes and learns the characteristics of the various order derivatives of the magnetic resonance signal, and fits the nonlinear functional relationship between the magnetic field and the various order derivatives, thereby realizing the function of fast and accurate measurement of the magnetic field. This method can show the same measurement performance under different test environments and requirements, and has good stability. In addition, since this method does not need to be based on historical measurement data, there is no cumulative error under long-term measurement. Compared with the traditional PID algorithm, the application of this method not only improves the efficiency and accuracy of magnetic field measurement, but also enhances the adaptability and stability of the equipment in the face of complex application scenarios, and has obvious technical advantages and broad application prospects.
[0120] The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.
Claims
1. A magnetic field measurement method, characterized in that: The following steps are involved: With respect to the magnetic field to be measured, a radio frequency field is applied to the atoms therein to generate a magnetic resonance signal; The modulated magnetic resonance signal is demodulated using different reference signals to obtain the corresponding derivatives of the magnetic resonance signal; wherein the FM signal is used to drive the radio frequency field; the FM signal corresponding to the magnetic resonance signal is synchronously demodulated using a phase-locked amplification method to obtain different modulation frequency component signals of the FM signal; each harmonic signal synchronized by the different modulation frequency component signals of the FM signal is used as a reference signal, and the magnetic resonance signal is multiplied and filtered to demodulate and obtain the amplitude information of each modulation frequency component signal of the magnetic resonance signal; the amplitude information of each modulation frequency component signal of the magnetic resonance signal is used as the corresponding derivative values of the magnetic resonance signal; wherein the signal amplitude of the modulation frequency component signal n times is used as the nth-order derivative value; n is a positive integer; Based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field, the detuning frequency of the radio frequency field is calculated; The magnetic field strength is calculated based on the carrier frequency and detuning frequency of the RF field.
2. A magnetic field measurement method according to claim 1, characterized in that: The following steps are performed cyclically: adjusting the carrier frequency of the radio frequency field in the current cycle based on the detuning frequency of the radio frequency field in the previous cycle to maintain the magnetic resonance state of the atoms; and calculating the detuning frequency and magnetic field strength of the radio frequency field in the current cycle based on the derivatives of the magnetic resonance signal.
3. A magnetic field measurement method according to claim 1, characterized in that: The calculation process of the detuning frequency of the radio frequency field includes: preprocessing the derivatives of each order of the magnetic resonance signal and inputting them into a multilayer perceptron model, and the multilayer perceptron model outputs the detuning frequency of the radio frequency field; the multilayer perceptron model is used to map the nonlinear functional relationship between the derivatives of each order of the magnetic resonance signal and the detuning frequency of the radio frequency field.
4. A magnetic field measurement method according to claim 3, characterized in that: The construction process of the multilayer perceptron model includes: Applying radio frequency fields of different carrier frequencies based on external magnetic fields of different intensities to excite atoms to resonate, and calculating the derivatives of the corresponding magnetic resonance signals; The derivatives of the magnetic resonance signal are used as model inputs, and the difference between the corresponding external magnetic field frequency and the carrier frequency of the radio frequency field is used as the training label to construct a sample set; The sample set is used to train the multilayer perceptron model.
5. A magnetic field measurement method according to claim 4, characterized in that: During the use and training of the multilayer perceptron model, the derivatives of each order of the magnetic resonance signal are normalized and used as the input of the multilayer perceptron model.
6. A magnetic field measurement method according to claim 2, characterized in that: Before the magnetic resonance signal is detected for the first time, the frequency of the radio frequency field is adjusted by frequency scanning; after the magnetic resonance signal is detected, the carrier frequency of the radio frequency field is adjusted according to the calculated detuning frequency of the radio frequency field to match the magnetic resonance frequency.
7. A magnetic field measurement method according to claim 4, characterized in that: During the sample set construction of the multilayer perceptron model, the values of the derivatives of each order of the magnetic resonance signal are calculated by the Lorentzian function.
8. A magnetic field measurement method according to claim 1, characterized in that: The process of calculating the magnetic field strength includes: summing the carrier frequency and the detuning frequency of the radio frequency field as the magnetic resonance frequency; and dividing the magnetic resonance frequency by the magnetic gyrometry ratio as the magnetic field strength.
9. A magnetic field measuring device, characterized in that: Used to perform the magnetic field measurement method according to any one of claims 1 to 8, comprising a radio frequency driving module, a signal acquisition module, a plurality of phase-locked amplification modules and a signal processing module; The radio frequency driving module is used to apply a radio frequency field to atoms in the magnetic field to be measured to excite the magnetic resonance phenomenon, and modulate the magnetic resonance signal generated by the magnetic resonance phenomenon; The signal acquisition module is used to acquire the modulated magnetic resonance signal; A plurality of phase-locked amplifier modules are arranged in parallel, and are respectively used to demodulate the modulated magnetic resonance signal using the corresponding reference signal to obtain the derivative of the corresponding order of the magnetic resonance signal; wherein, the FM signal is used to drive the radio frequency field; the FM signal corresponding to the magnetic resonance signal is synchronously demodulated by the phase-locked amplification method to obtain different modulation frequency component signals of the FM signal; each harmonic signal synchronized by the different modulation frequency component signals of the FM signal is used as a reference signal, and the magnetic resonance signal is multiplied and filtered to demodulate and obtain the amplitude information of each modulation frequency component signal of the magnetic resonance signal; the amplitude information of each modulation frequency component signal of the magnetic resonance signal is used as the corresponding derivative value of each order of the magnetic resonance signal; wherein, the signal amplitude of the modulation frequency component signal of n times is used as the nth order derivative value; n is a positive integer; The signal processing module is used to calculate the detuning frequency of the radio frequency field based on the nonlinear functional relationship between each order derivative of the magnetic resonance signal and the detuning frequency of the radio frequency field; and calculate the magnetic field strength according to the carrier frequency and the detuning frequency of the radio frequency field.
Citation Information
Patent Citations
A freely-extensible magnet measuring system based on a fiber electro-optical modulator
CN103605086A
Method and magnetic resonance imaging device for performing quality analysis of an RF coiL
CN110501662A
Weak magnetic field vector measurement method based on atomic magnetometer
CN110988757A
Method and system for measuring polarized atom transverse relaxation time in atom magnetometer
CN112649767A
Accurate measurement method for resonance frequency of hyperpolarized inert gas FID (Flame Ionization Detector) signal
CN115951280A
