NMR detection method based on Hilbert transform and Fourier basis pursuit spectrum
Through the combined method of Hilbert transform and Fourier-based tracking spectrum, the problems of fine analysis and low signal-to-noise ratio of ultra-low field NMR signals are solved, and detection effects of high frequency resolution and high signal-to-noise ratio are achieved.
Patent Information
- Application Number
- CN202410143409.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-02-01
AI Technical Summary
Ultra-low field NMR signals are difficult to achieve fine analysis in traditional methods, and the signal-to-noise ratio is low, which cannot effectively overcome the effect of signal attenuation with Larmor frequency, making detection more difficult.
The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum is adopted. By performing Hilbert transform and Fourier basis tracking analysis on the original signal, the normalized signal is obtained and sparsely reconstructed to realize the detection. High frequency resolution and high signal-to-noise ratio for ultra-low field NMR signals.
It effectively overcomes the Larmor frequency attenuation effect of ultra-low field NMR signals, improves detection accuracy and signal-to-noise ratio, and significantly improves the resolution of ultra-low field NMR signals.
Smart Images

Figure CN117949487B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of nuclear magnetic resonance technology, and specifically relates to an NMR detection method based on Hilbert transform and Fourier basis tracking spectrum, which is suitable for realizing refined analysis of ultra-low field NMR signals, effectively overcoming the influence of ultra-low field NMR signals attenuating with Larmor frequency, and highlighting weak signal detection capability. Background Art
[0002] Nuclear Magnetic Resonance (NMR) spectroscopy can be used to quickly, accurately and non-destructively detect and analyze information such as material composition, molecular structure and dynamics. Ultra-low field NMR is an emerging research field. Unlike the development trend of traditional high-field NMR (greater than or equal to 1000nT) pursuing the construction of higher-strength superconducting magnets, its research object is NMR spectra under lower magnetic field strength (<1000nT), which can reveal information that cannot be obtained by high-field NMR, such as indirect nuclear interaction (J coupling) and dipole-dipole interaction. In terms of detection methods, it is difficult to obtain NMR signals normally under ultra-low field conditions because the detection method of traditional radio frequency induction coils decreases as the radio frequency frequency decreases. Therefore, the development of new detection technologies such as atomic magnetometers and other highly sensitive magnetic quantum sensors has become a future trend. Atomic magnetometers have the advantages of small size, low power consumption, and no need for large and expensive cryogenic systems. At present, ultra-low field NMR based on atomic magnetometers has received more and more attention as a new high-resolution spectral technology.
[0003] In the 1950s, people began to realize that the free induction decay (FID) time domain signal of a linear system and the NMR spectrum are a pair of Fourier transforms. In the 1960s, the development of pulsed Fourier transform spectroscopy (FT-NMR) caused a revolution in the field of high-resolution NMR spectroscopy. By Fourier transforming the FID signal composed of the superposition of all the intrinsic modes of the system, different spectral contributions can be distinguished. The effective combination of Fourier transform and NMR promoted the development from CW-NMR to FT-NMR and laid the foundation for the development of multidimensional NMR spectroscopy and magnetic resonance imaging (MRI).
[0004] At present, ultra-low field NMR usually uses thermal polarization to pre-polarize the sample to be tested. The magnetic vector intensity generated by thermal polarization of the sample to be tested in the measurement area is about 5 orders of magnitude weaker than that under high field. Therefore, ultra-low field NMR has the problem of low signal-to-noise ratio. In addition, ultra-low field NMR is mainly used to measure intramolecular J coupling and extremely weak interactions between molecules, and has the characteristics of small signal spectrum peak intervals. The traditional Fourier frequency can only reflect the overall average effect of the signal, and cannot accurately describe the local characteristics of the signal at a specific time, so it cannot achieve a refined analysis of the ultra-low field NMR signal. Summary of the invention
[0005] The object of the present invention is to provide an NMR detection method based on Hilbert transform and Fourier basis tracking spectrum in view of the above problems existing in the prior art.
[0006] The above-mentioned purpose of the present invention is achieved by the following technical means:
[0007] The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum includes the following steps:
[0008] Step 1, first obtain the original NMR signal, then perform Hilbert transform on the original NMR signal, and modulus the Hilbert transform result of the original NMR signal to obtain the envelope of the original NMR signal, and then divide the original NMR signal by the envelope of the original NMR signal to obtain a normalized NMR signal;
[0009] Step 2, performing Fourier basis tracking analysis on the normalized NMR signal to obtain the peak value corresponding to each frequency division signal in the normalized NMR signal;
[0010] Step 3: Obtain the corresponding frequencies of the respective frequency-divided signals of the normalized NMR signal by determining the frequency positions of the peaks of the respective frequency-divided signals of the normalized NMR signal.
[0011] The Hilbert transform of the original NMR signal in step 1 as described above is based on the following formula:
[0012]
[0013] Where y is the original NMR signal, is the Hilbert transform result of the original NMR signal, n is the order of the original NMR signal in the time domain, k is the order of the delay of the original NMR signal in the time domain, k = 1, 2, ..., N, N is the length of the time series of the original NMR signal.
[0014] As mentioned above, the normalized NMR signal b'(n) is obtained based on the following formula:
[0015]
[0016] In the formula, |·| is the modulo operation.
[0017] As mentioned above, step 2 specifically includes the following steps:
[0018] Step 2.1, establishing a Fourier dictionary matrix based on a discrete transformation model of normalized NMR signals;
[0019] Step 2.2, according to the discrete transformation model of the normalized NMR signal and the Fourier dictionary matrix, the normalized NMR signal is sparsely reconstructed using the Fourier dictionary matrix to obtain a reconstructed model;
[0020] Step 2.3, construct a minimum L1 norm optimization model, use the basis pursuit algorithm to solve the reconstruction model and the minimum L1 norm optimization model, and obtain the Fourier basis pursuit spectrum;
[0021] Step 2.4: According to the Fourier basis pursuit spectrum, obtain the peak values corresponding to each frequency division signal of the normalized NMR signal.
[0022] The discrete transformation model for the normalized NMR signal in step 2.1 as described above is based on the following formula:
[0023]
[0024] Where b(n) is the normalized NMR signal after discretization, F(k) is the Fourier transform of the normalized NMR signal b'(n), i is the imaginary unit, and w(n) is the window function;
[0025] The Fourier dictionary matrix A established in step 2.1 is:
[0026]
[0027] Where each column is a Fourier atom in the Fourier dictionary, and M is the number of Fourier atoms in the Fourier dictionary.
[0028] The reconstructed model in step 2.2 as mentioned above is:
[0029] b = Ax
[0030] Where b is a vector composed of discrete normalized NMR signals b(n), b = (b(1), b(2), ..., b(N)), and x is the coefficient vector corresponding to all Fourier atoms in the Fourier dictionary.
[0031] As mentioned above, step 2.3 specifically includes the following process:
[0032] Firstly, the basis pursuit algorithm is used as the solution criterion to minimize the L1 norm of the coefficient vector x, and a minimum L1 norm optimization model is established. Then, the basis pursuit algorithm is used to obtain the solution of the minimum L1 norm optimization model. The solution of the minimum L1 norm optimization model is the Fourier basis pursuit spectrum.
[0033] The optimization model for minimizing the L1 norm is:
[0034]
[0035] st Ax=b
[0036] In the formula, C n is an n-dimensional complex space, is in the n-dimensional complex space C n Find the coefficient vector x that satisfies the constraint condition Ax=b and minimizes the L1 norm ||x||1. The coefficient vector x that minimizes the L1 norm ||x||1 is the solution to the optimization model that minimizes the L1 norm.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] In the application of ultra-low field NMR signal detection, the method of the present invention combines Hilbert transform and Fourier basis pursuit spectrum, which can effectively overcome the influence of ultra-low field NMR signal attenuation with Larmor frequency, highlight weak signal capability, and have higher frequency resolution and higher signal-to-noise ratio than Fast Fourier Transform (FFT). Therefore, compared with the FFT method, the method of the present invention has higher accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of the method of the present invention;
[0040] Figure 2 In embodiment 1 of the present invention 13 J-coupled FFT spectra of C-labeled methanol and 13 Comparison of BPFFT spectra of C-labeled methanol (FFT is fast Fourier transform, BPFFT is the Fourier basis pursuit spectrum method of the present invention, J CH and 2J CH are two J-coupled peaks, Frequency is the frequency, Signal Amplitude is the signal amplitude value, and au represents the signal amplitude value in arbitrary units). DETAILED DESCRIPTION
[0041] In order to facilitate those skilled in the art to understand and implement the present invention, the present invention is further described in detail below in conjunction with embodiments. The embodiments described herein are only used to illustrate and explain the present invention and are not intended to limit the present invention.
[0042] Embodiment 1:
[0043] The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum includes the following steps:
[0044] The original NMR signal in this example is 13 J-coupling spectrum of C-labeled methanol (XA3-type molecule).
[0045] Step 1: First obtain 13 The J coupling spectrum of C-labeled methanol was then 13 The J-coupling spectrum of C-labeled methanol is subjected to Hilbert transformation, and the result obtained after Hilbert transformation is modulo to obtain 13 The envelope of the J-coupling spectrum of C-labeled methanol is then 13 The J coupling spectrum of C-labeled methanol is divided by 13 The envelope of the J-coupling spectrum of C-labeled methanol is normalized to 13 J-coupling spectrum of C-labeled methanol.
[0046] Step 1.1: Based on the following formula 13 Hilbert transform of the J-coupling spectrum of C-labeled methanol:
[0047]
[0048] In the formula, y is 13 J coupling spectrum of C labeled methanol, for 13 Hilbert transform results of the J-coupling spectrum of C-labeled methanol, n is 13 The order of the J coupling spectrum of methanol marked by C in the time domain, n = 1, 2, ..., N, N is 13 The length of the time series of the J-coupling spectrum of C-labeled methanol, k, is 13 The order of the time delay of the J coupling spectrum of C-labeled methanol in the time domain, k = 1, 2, ..., N, N is 13 C marks the length of the time series of the J-coupling spectrum of methanol.
[0049] Step 1.2: Hilbert transformed 13 The J-coupling spectrum of C-labeled methanol is modulated to obtain 13 The envelope of the J coupling spectrum of C-labeled methanol is then 13 The J coupling spectrum of C-labeled methanol is divided by 13The envelope of the J-coupling spectrum of C-labeled methanol is normalized to 13 J-coupling spectrum of C-labeled methanol.
[0050] The normalized 13 J coupling spectrum b(n) of C labeled methanol:
[0051]
[0052] In the formula, b'(n) is the normalized 13 J coupling spectrum of C-labeled methanol, |·| is a modulo operation, N is 13 C marks the length of the time series of the J-coupling spectrum of methanol.
[0053] Step 2: Normalize 13 The J-coupling spectrum of C-labeled methanol was subjected to Fourier basis pursuit analysis to obtain the normalized 13 The peak values corresponding to each frequency division signal in the J coupling spectrum of C-labeled methanol specifically include the following steps:
[0054] Step 2.1: Normalization-based 13 Discrete transformation model of J-coupling spectrum of C-labeled methanol, and establishment of Fourier dictionary matrix;
[0055] Normalized 13 The discrete Fourier transform model (discrete Fourier transform model) of the J-coupling spectrum of C-labeled methanol is based on the following formula:
[0056]
[0057] In the formula, b(n) is the normalized discretized 13 J coupling spectrum of C-labeled methanol; F(k) is the normalized 13 Fourier transform of the J-coupling spectrum b'(n) of C-labeled methanol; i is the imaginary unit; w(n) is the window function.
[0058] The established Fourier dictionary matrix (Fourier dictionary matrix) A is:
[0059]
[0060] Wherein, each column represents a Fourier atom (Fourier atom) in the Fourier dictionary (Fourier dictionary), each Fourier atom represents a different frequency feature; M is the number of Fourier atoms in the Fourier dictionary.
[0061] Step 2.2, according to the normalized 13Discrete transformation model and Fourier dictionary matrix of J coupling spectrum of C labeled methanol. The Fourier dictionary matrix A is used to normalize the 13 The J-coupling spectrum of C-labeled methanol was sparsely reconstructed to obtain a reconstruction model based on the following formula:
[0062] b=Ax (5)
[0063] In the formula, b is the normalized discrete 13 C is the vector composed of the J coupling spectrum b(n) of methanol, that is, b=(b(1), b(2), …, b(N)); x is the coefficient vector corresponding to all Fourier atoms in the Fourier dictionary;
[0064] Step 2.3, construct a minimized L1 norm optimization model, and use the basis pursuit algorithm to solve the reconstruction model and the minimized L1 norm optimization model. The solution of the minimized L1 norm optimization model is the Fourier basis pursuit spectrum.
[0065] Firstly, the basis pursuit algorithm is used as the solution criterion to minimize the L1 norm of the coefficient vector x, and a minimum L1 norm optimization model is established. Then, the basis pursuit algorithm is used to obtain the solution of the minimum L1 norm optimization model.
[0066] The L1 norm ||x||1 is defined as:
[0067]
[0068] In the formula, |x k | is the plural number x k The modulus, x k is the coefficient corresponding to the kth Fourier atom in the Fourier dictionary, k is the normalized 13 The order of the J-coupling spectrum of C-labeled methanol in the frequency domain, k = 1, 2, ..., N, where N is the normalized 13 C marks the length of the time series of the J-coupling spectrum of methanol;
[0069] The optimization model for minimizing the L1 norm is:
[0070]
[0071] In the formula, C n is an n-dimensional complex space, is in the n-dimensional complex space C n Find the coefficient vector x that satisfies the constraint condition Ax=b and minimizes the L1 norm ||x||1. The solved coefficient vector x is recorded as x * , then x *The solution to the model that minimizes the L1 norm optimization is also the Fourier basis pursuit spectrum.
[0072] Step 2.4: According to the Fourier basis tracking spectrum, obtain the normalized 13 C marks the peak values corresponding to the various frequency division signals of the J-coupling spectrum of methanol.
[0073] Step 3: Through normalization 13 The peak frequency position of each frequency division signal of the J coupling spectrum of C-labeled methanol is obtained. 13 C marks the corresponding frequencies of the individual frequency division signals of the J-coupling spectrum of methanol.
[0074] Figure 2 for 13 Comparison of the J-coupling FFT spectrum of C-labeled methanol and the BPFFT spectrum obtained by the method of the present invention; it can be seen that under ultra-low field, two J-coupling peaks were experimentally measured at 140.6 Hz and 281.2 Hz, corresponding to 13 C-labeled methanol 13 The doublet and quartet states of C-labeled methyl in zero field. The BPFFT spectrum has a higher signal-to-noise ratio and frequency resolution than the FFT spectrum.
[0075] Embodiment 2:
[0076] A terminal comprises a processor and a storage medium;
[0077] The storage medium is used to store instructions;
[0078] The processor is configured to operate according to the instructions to execute steps 1-3.
[0079] Embodiment 3:
[0080] A computer-readable storage medium stores a computer program, which implements steps 1-3 when executed by a processor.
[0081] It should be noted that the embodiments described in the present invention are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the described embodiments or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the attached claims.
Claims
1. The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum is characterized in that: The following steps are involved: Step 1, first obtain the original NMR signal, then perform Hilbert transform on the original NMR signal, and modulus the Hilbert transform result of the original NMR signal to obtain the envelope of the original NMR signal, and then divide the original NMR signal by the envelope of the original NMR signal to obtain a normalized NMR signal; Step 2, performing Fourier basis tracking analysis on the normalized NMR signal to obtain the peak value corresponding to each frequency division signal in the normalized NMR signal; Step 3: Obtain the corresponding frequencies of each frequency division signal of the normalized NMR signal by the frequency positions of the peak values of each frequency division signal of the normalized NMR signal. The Hilbert transform of the original NMR signal in step 1 is based on the following formula: Where y is the original NMR signal, is the Hilbert transform result of the original NMR signal, n is the order of the original NMR signal in the time domain, k is the order of the delay of the original NMR signal in the time domain, k = 1, 2, ..., N, N is the length of the time series of the original NMR signal; The step 2 specifically includes the following steps: Step 2.1, establishing a Fourier dictionary matrix based on a discrete transformation model of normalized NMR signals; Step 2.2, according to the discrete transformation model of the normalized NMR signal and the Fourier dictionary matrix, the normalized NMR signal is sparsely reconstructed using the Fourier dictionary matrix to obtain a reconstructed model; Step 2.3, construct a minimum L1 norm optimization model, use the basis pursuit algorithm to solve the reconstruction model and the minimum L1 norm optimization model, and obtain the Fourier basis pursuit spectrum; Step 2.4: According to the Fourier basis pursuit spectrum, obtain the peak values corresponding to each frequency division signal of the normalized NMR signal.
2. The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum according to claim 1, characterized in that: The normalized NMR signal b'(n) is obtained based on the following formula: In the formula, |·| is the modulo operation.
3. The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum according to claim 2, characterized in that: The discrete transformation model of the normalized NMR signal in step 2.1 is based on the following formula: Where b(n) is the normalized NMR signal after discretization, F(k) is the Fourier transform of the normalized NMR signal b'(n), i is the imaginary unit, and w(n) is the window function; The Fourier dictionary matrix A established in step 2.1 is: Where each column is a Fourier atom in the Fourier dictionary, and M is the number of Fourier atoms in the Fourier dictionary.
4. The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum according to claim 3, characterized in that: The reconstructed model in step 2.2 is: b=Ax Where b is a vector composed of discrete normalized NMR signals b(n), b = (b(1), b(2), ..., b(N)), and x is the coefficient vector corresponding to all Fourier atoms in the Fourier dictionary.
5. The NMR detection method based on Hilbert transform and Fourier basis tracking spectrum according to claim 4, characterized in that: The step 2.3 specifically includes the following process: Firstly, the basis pursuit algorithm is used as the solution criterion to minimize the L1 norm of the coefficient vector x, and a minimum L1 norm optimization model is established. Then, the basis pursuit algorithm is used to obtain the solution of the minimum L1 norm optimization model. The solution of the minimum L1 norm optimization model is the Fourier basis pursuit spectrum. The optimization model for minimizing the L1 norm is: stAx=b In the formula, C n is an n-dimensional complex space, is in the n-dimensional complex space C n Find the coefficient vector x that satisfies the constraint condition Ax=b and minimizes the L1 norm ||x||1. The coefficient vector x that minimizes the L1 norm ||x||1 is the solution to the optimization model that minimizes the L1 norm.
