Low-field magnetic resonance transverse relaxation time T2 discrete spectrum inversion method based on maximum posteriori estimation
The low-field magnetic resonance discrete spectrum inversion method that combines maximum a posteriori estimation and L1 regularization solves the problem of unstable inversion results under low signal-to-noise ratio, and achieves accurate determination of the moisture distribution and pore structure characteristics of cement-based materials. analysis, improving the stability and repeatability of the inversion results.
Patent Information
- Application Number
- CN202410882344.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-29
AI Technical Summary
The existing low-field magnetic resonance transverse relaxation time T2 spectrum inversion method is difficult to accurately distinguish nanoscale pore moisture distribution and pore structure details under low signal-to-noise ratio conditions, and the numerical calculation results are sensitive to random noise, resulting in inaccurate inversion results. Poor stability and repeatability.
A low-field magnetic resonance discrete spectrum inversion method based on maximum a posteriori estimation is used to construct a nonlinear optimization problem through L1 regularization and Bayes' theorem, combined with CPMG pulse sequence and sparse solution processing, to reduce the impact of noise and improve the accuracy of the inversion results. stability and accuracy.
It achieves rapid and accurate calculation of the number and content of exponential relaxation components under low signal-to-noise ratio conditions, accurately inverts the moisture distribution and micropore structure characteristics of cement-based materials, and improves the stability and repeatability of the inversion results. Can effectively distinguish similar component characteristics.
Smart Images

Figure CN118859062A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of low-field magnetic resonance testing, and in particular to a low-field magnetic resonance transverse relaxation time T2 discrete spectrum inversion method based on maximum a posteriori estimation. Background Art
[0002] In the scientific research of cement-based materials, micro-nanoscale pore structure plays an extremely critical role. It is not only the core factor that determines the mechanical properties of materials, but also has a profound impact on the long-term performance and durability of cement-based materials. There are many methods for testing the pore structure of porous materials. Low-field magnetic resonance relaxation technology is increasingly widely used in the field of cement-based materials due to its advantages of non-destructive, original, rapid and accurate. Compared with traditional pore structure testing methods such as mercury intrusion and gas adsorption, low-field magnetic resonance does not require drying pretreatment of the specimen, which can avoid the significant impact of drying on fragile nanoscale pores, thereby obtaining the original pore structure characteristics of the specimen. However, the original signal collected by low-field magnetic resonance relaxation test is a comprehensive reflection of the complex pore structure characteristics, which cannot be directly used to characterize the microscopic pore structure of the sample. It is necessary to obtain an easy-to-understand transverse relaxation time T2 spectrum through inversion, and then obtain the water distribution characteristics of the sample. If the test is carried out under saturation, the obtained water distribution characteristics can be further calibrated into microscopic pore structure characteristics.
[0003] When analyzing the low-field magnetic resonance relaxation signal of cement-based materials, the inversion methods used mainly include two types: continuous spectrum and discrete spectrum algorithms. The continuous spectrum method describes the T2 distribution with a continuous function, and attempts to solve the optimal T2 continuous distribution function, thereby reflecting the wide distribution of the pore size of the water inside the material. When performing numerical solutions, the continuous spectrum method requires a large number of points to be placed on the transverse relaxation time T2, and the point range is usually a closed interval consisting of its minimum and maximum values, thereby obtaining the linear inverse problem of the T2 distribution function value. However, this linear inverse problem is highly ill-posed. The numerical solution is highly sensitive to small changes in the random noise contained in the relaxation signal, which makes the numerical solution unstable. The singular value truncation method (see [1] Ge X, Wang H, Fan Y, et al. Joint inversion of T1–T2 spectrum combining the iterative truncated singular value decomposition and the parallel particleswarm optimization algorithms [J]. Computer Physics Communications, 2016, 198: 59-70.) and regularization method (see [2] Venkataramanan L, Song YQ, Hurlimann M D. Solving Fredholm integrals of the first kind with tensor product structure in 2and2.5dimensions [J]. IEEE Transactions on signal Processing, 2002, 50(5): 1017-1026.), joint iterative correction (SIRT) (see [3] Yao Xugang, Wang Zhongdong. A new NMR relaxation spectrum inversion algorithm [J]. Well Logging Technology, 2003, (05): 373-376+445.) and other methods are used to transform the ill-conditioned equation, reduce the degree of ill-conditioning, and then perform an approximate stable solution. The existing patent document "NMR echo data inversion method and system based on non-negative elastic network (ZL201810279493.5)" transforms the elastic network problem with non-negative constraints into an unconstrained optimization problem by constructing a non-negative elastic network objective function and using a non-negative exponential function to efficiently solve it, thereby achieving rapid inversion of NMR echo data and accurately obtaining the transverse relaxation time T2 spectrum, which is helpful for evaluating various key parameters of oil and gas reservoirs.The patent application document "A Nuclear Magnetic Resonance Data Inversion Method Based on FNNLS (ZL202211635721.0)" improves the computational efficiency of the traditional non-negative least squares method by introducing the fast non-negative least squares algorithm (FNNLS), and realizes fast and high-precision inversion of nuclear magnetic resonance data, especially when processing long transverse relaxation time T2 domain or high-dimensional data. It shows significant advantages, improves the inversion speed and accuracy, and has been successfully applied to the analysis of one-dimensional, two-dimensional and even multi-dimensional nuclear magnetic resonance data, effectively assisting the evaluation of reservoir characteristics in oil exploration and development.
[0004] The continuous spectrum algorithm in the existing low-field magnetic resonance transverse relaxation time T2 spectrum inversion method and the prior art in the patent literature have the following disadvantages:
[0005] (1) Under low signal-to-noise ratio conditions, the T2 distribution function obtained by continuous spectrum inversion is too smooth (Smoothing effect), making it difficult to accurately calculate the T2 distribution function values of components with similar transverse relaxation times T2 (Pearling effect). This means that this method can only obtain the overall distribution characteristics of T2, and cannot help accurately distinguish the water distribution and pore structure details of nanoscale pores. (2) The pores of cement-based materials are mainly determined by the spatial distribution of cement hydration products. Considering that phases such as calcium silicate hydrate (CSH) gel have unique microscopic structures and morphological characteristics, when analyzing the macroscopic properties of cement-based materials, the microscopic pore characteristics are often combined and the pores of cement-based materials are divided into 2-5 different types. However, the continuous spectrum inversion method is difficult to effectively and accurately distinguish these types of pores, especially the key nanoscale pores such as interlayer pores and gel pores of CSH gel.
[0006] In contrast, the discrete spectrum method uses discrete functions to describe the transverse relaxation time T2 distribution, and uses exponential decay components that can highly approximate the relaxation signal and are as few as possible (without loss of generality, usually 2-9) to represent the moisture distribution and pore structure characteristics of cement-based materials. This has significant advantages in characterizing the complex microscopic pore structure of cement-based materials and analyzing how the pore structure affects the macroscopic performance. When solving the transverse relaxation time T2 discrete spectrum, it is necessary to reasonably determine the number of exponential decay components, the T2 value of each component and its content. Mathematically, it can be abstracted into a nonlinear optimization problem for solution. Among the low-field magnetic resonance transverse relaxation time T2 inversion methods, discrete spectrum methods include nonlinear least squares method (see [4] Numerical optimization [M]. New York, NY: Springer New York, 1999.), eigenfunction expansion method (see [5] Provencher S W. An eigenfunction expansion method for the analysis of exponential decay curves [J]. The Journal of Chemical Physics, 1976, 64 (7): 2772-2777.), L1 regularization method (see [6] Zhang X, Zhou C, Qiao J, et al. Multi-exponential Inversion of the Relaxometry Data of Low-field Nuclear Magnetic Resonance for Cement-based Materials [J]. Journal of Advanced Concrete Technology, 2024, 22 (1): 33-46.), exponential stripping method (see [7] Sobol W T. Analysis of variance for 'component stripping' decomposition of multiexponential curves [J]. Computer methods and programs in biomedicine,1993,39(3-4):243-257.) etc.
[0007] The discrete spectrum algorithm in the existing low-field magnetic resonance transverse relaxation time T2 inversion method has the following disadvantages:
[0008] (1) Due to the ill-posed nature of the inversion problem, the numerical calculation results of the existing discrete spectrum algorithm are usually highly sensitive to noise and depend on the number of exponential components, the initial selection of T2 values and their contents. Sometimes, in order to improve the stability of the inversion results, it is assumed that the proportional relationship of the T2 values of different exponential components (such as the T2 values of the three fastest relaxing components satisfy 1:3:9, see [8] Gajewicz AM, Gartner E, Kang K, et al. A 1H NMR relaxometry investigation of gel-pore drying shrinkage in cement pastes [J]. Cement and Concrete Research, 2016, 86: 12-19.) is greatly affected by subjective factors.
[0009] (2) Under low signal-to-noise ratio, the existing discrete spectrum inversion method has large differences in the inversion results after repeated tests on the same specimen, indicating that the repeatability of the existing discrete spectrum inversion method is poor. This problem makes it difficult for the existing discrete spectrum inversion method to meet the analysis requirements of the static characteristics of the moisture distribution and micropore structure of cement-based materials and their time-varying processes.
[0010] (3) Although constrained methods such as L1 regularization ensure high accuracy of the results, that is, the stability of the results is relatively good, they inevitably sacrifice accuracy to a certain extent, that is, the deviation between the obtained solution and the true solution may increase. This deviation is particularly obvious in environments with low signal-to-noise ratios.
[0011] In order to use low-field magnetic resonance relaxation technology to achieve rapid and accurate determination of the original pore structure of cement-based materials, it is of great significance to develop a discrete spectrum inversion method for transverse relaxation time T2 with excellent stability and accuracy. Under the framework of statistical inversion, the maximum a posteriori estimation can obtain an inversion estimate of the undetermined parameters with both precision and accuracy by fusing observed data with prior knowledge, even under the influence of random noise. It can help to accurately and quickly obtain the internal moisture distribution characteristics of cement-based materials, thereby achieving more accurate testing and analysis of the pore structure characteristics of cement-based materials. Since most of the properties of cement-based materials are related to pores and water, the low-field magnetic resonance relaxation technology supported by the discrete spectrum inversion method is very helpful for scientific research on the cement hydration kinetics process and the evolution of the microstructure of cement-based materials, and provides a powerful modern tool for in-depth understanding of the formation, evolution and long-term performance of the microstructure of cement-based materials. Summary of the invention
[0012] In view of the problems that the existing low-field magnetic resonance relaxation signal inversion algorithm is difficult to effectively distinguish components with similar relaxation times, the numerical calculation results are sensitive to random noise, and thus cannot accurately calculate the characteristics of each pore component of cement-based materials, the present invention proposes a low-field magnetic resonance discrete spectrum inversion method based on maximum a posteriori estimation, which can quickly and accurately calculate the number of exponential relaxation components, the content of each component and the transverse relaxation time T2, and then accurately invert and calculate the moisture distribution and microscopic pore structure information of cement-based materials.
[0013] In view of this, the main purpose of the present invention is to provide a low-field magnetic resonance transverse relaxation time T2 discrete spectrum inversion method based on maximum a posteriori estimation. The method is implemented by the following steps:
[0014] S1: Collect low-field magnetic resonance transverse relaxation signal data and perform preprocessing;
[0015] S2: Calculate the prior information of transverse relaxation discrete spectrum based on L1 regularization method;
[0016] S3: Based on the maximum a posteriori estimation, a nonlinear optimization problem is constructed and solved to obtain the discrete spectrum of the low-field magnetic resonance transverse relaxation time T2;
[0017] Preferably, step S1 is: using a low-field magnetic resonance instrument and a classic CPMG pulse sequence to obtain transverse relaxation data and background data of the sample; performing least squares fitting on the background data, and then calculating the fitting data of the background; deducting the fitting data of the background from the sample relaxation data to obtain the magnetic resonance relaxation data of the pure sample.
[0018] Preferably, step S1 specifically includes:
[0019] S11: Using a low-field magnetic resonance instrument and a classic CPMG pulse sequence, the transverse relaxation data and background data of the sample are obtained; within the framework of the inversion theory, the relationship between the transverse relaxation signal and the exponential decay component is:
[0020]
[0021] Where M(t) is the function of total magnetization intensity changing with echo time t, T 2i is the transverse relaxation time of the i-th type of pore water, f i is the content of the i-th type of pore water, and N is the number of pore water types. After arranging the transverse relaxation time T2, the relationship between the transverse relaxation signal and the exponential decay component is expressed in matrix form as follows:
[0022] M=KF+E
[0023] In the formula, is the total magnetization intensity vector; is a kernel matrix constructed based on an exponential function; is the pore water content vector; L is the dimension of the total magnetization intensity vector, and N is the dimension of the pore water content vector;
[0024] Read the CPMG data collected by the low-field magnetic resonance device, including the CPMG data of the sample and the background; after phase rotation of the collected CPMG data, obtain the total magnetization intensity vector M of the signal channel and the total magnetization intensity vector M of the noise channel (n) ; The total magnetization intensity vector of the sample and background signal is denoted as M s and M b ; Using the total magnetization intensity vector of the sample noise channel Estimation of the noise variance σ of the specimen magnetic resonance data 2 ;
[0025]
[0026] In the formula, Total magnetization intensity vector of sample noise channel The arithmetic mean of the elements;
[0027] S12: Perform a least squares fit on the background CPMG data, and then calculate the background fitting data. The specific process is: use the least squares linear regression model to find a column vector F so that the total magnetization intensity vector M of the background signal b The two-norm of the difference between F mapped by the kernel matrix K is minimized, which is expressed as:
[0028]
[0029] According to the least squares solution F b Calculate the background fitting data Expressed as
[0030]
[0031] S13: The original CPMG data of the sample are deducted from the background fitting data to obtain the total magnetization intensity data of the sample, that is,
[0032]
[0033] Preferably, step S2 is: constructing an L1 regularized least squares optimization problem according to the total magnetization intensity data of the sample, and calculating a sparse solution to the optimization problem; and performing multi-exponential approximation processing according to the distribution characteristics of the sparse solution.
[0034] Preferably, step S2 specifically includes:
[0035] S21: Construct and solve the L1 regularized least squares optimization problem based on the total magnetization data of the sample: The L1 regularized least squares optimization problem is to solve the optimal solution vector F, so that the sum of squares of the residuals between the total magnetization vector M and F mapped by the kernel matrix K is minimized, and the L1 norm of F is also minimized; in addition, all elements in the solution vector F are required to be non-negative. The optimization problem is expressed as:
[0036]
[0037] In the formula, ||F||1 is the L1 regularization term, and λ is the regularization parameter; the L1 regularized least squares optimization problem can be solved by the interior point method;
[0038] Find the optimal regularization parameter λ based on the Morozov deviation principle * , find the value of λ that minimizes the following expression:
[0039]
[0040] Where M(λ) is the total magnetization under a given regularization parameter λ;
[0041] S22: Interval partitioning based on the distribution of sparse solutions and single exponential approximation for each interval:
[0042] Since L1 regularization tends to obtain sparse solutions, the solution vector F L1 is a vector containing only a few non-zero elements; L1 Divided into n intervals, the starting and ending points of the jth interval are l s,j and l e,j ;make
[0043]
[0044] For the jth interval, the corresponding total magnetization intensity sequence is reconstructed as:
[0045]
[0046] is the jth interval, and the T2 value when the following formula reaches the minimum value
[0047]
[0048] In the formula, It is calculated from this Preferably, step S3 is: constructing and solving a maximum a posteriori probability optimization problem based on Bayes' theorem, and the obtained numerical solution is the desired discrete spectrum of the low-field magnetic resonance transverse relaxation time T2.
[0049] Preferably, step S3 is specifically: constructing and solving the maximum a posteriori probability optimization problem based on Bayes' theorem: According to Bayes' theorem, the maximum a posteriori probability optimization problem is as follows:
[0050]
[0051] In the formula, is the maximum a posteriori estimate of the content of each component, is the maximum a posteriori estimate of the transverse relaxation time; in the objective function, E M It is a data fitting term, which describes the difference between the fitted total magnetization intensity M(F,T2) and the total magnetization intensity M of the test sample. Its expression is:
[0052] E M =(MM(F,T2)) T ∑ -1 (MM(F,T2))
[0053] In the formula is the fitted value of the total magnetization intensity, which is determined by the transverse relaxation time T of n components. 2,i and the content of the corresponding components f i Calculation: Σ=diag(σ 2 ,σ 2 ,…,σ 2 ) is the covariance matrix, the diagonal elements σ of this diagonal matrix 2 represents the noise variance;
[0054] In the objective function, E F is the prior constraint term of each component content, and its expression is
[0055]
[0056] In the formula, is a diagonal matrix, controlling the prior Impact on solution results; is the prior constraint term for the transverse relaxation time of each component, and its expression is:
[0057]
[0058] In the formula, is a diagonal matrix, controlling the prior parameters Impact on solution results;
[0059] The above maximum a posteriori probability optimization problem can be solved by the interior point method; the numerical solution F MAP and Construct the low-field magnetic resonance transverse relaxation time T2 discrete spectrum.
[0060] The present invention proposes a low-field magnetic resonance discrete spectrum inversion method based on maximum a posteriori estimation, which can quickly and accurately calculate the number of exponential relaxation components, the content of each component and the transverse relaxation time, and then accurately invert and calculate the moisture distribution and microscopic pore structure characteristic information of cement-based materials. Compared with the prior art, the present invention has the following advantages:
[0061] (1) By using the low-field magnetic resonance transverse relaxation time T2 discrete spectrum inversion method based on maximum a posteriori estimation described in the present invention, there is no need to assume the number of multi-exponential relaxation components a priori, nor to impose any a priori constraints on the relationship between the transverse relaxation times T2 of each component, and the low-field magnetic resonance transverse relaxation time T2 discrete spectrum can be accurately obtained, thereby assisting in accurately obtaining the internal moisture distribution and pore structure characteristic information of cement-based materials, and better capturing the unique microscopic pore structure and morphological characteristics of cement-based materials;
[0062] (2) In the preprocessing stage, the background elimination strategy proposed in the present invention ensures effective background subtraction while maintaining the signal-to-noise ratio, thereby minimizing the impact of random noise on the inversion results and consolidating the stability and reliability of the results;
[0063] (3) The present invention retains the advantage of L1 regularization in terms of accuracy, and on this basis improves the accuracy and repeatability of the inversion, realizes the effective distinction of similar components in the discrete spectrum of transverse relaxation time T2, and provides a powerful analytical tool for revealing the internal characteristic pore structure of cement-based materials;
[0064] (4) The present invention integrates the Bayesian theorem and the principle of maximum a posteriori probability estimation within the framework of statistical inversion. It can accurately identify the discrete spectrum of the transverse relaxation time T2 and precisely distinguish the evolution of pore water distribution under conditions of slight changes in water content under the challenge of low signal-to-noise ratio, thus providing an efficient and accurate method for testing and analyzing the static microscopic pore structure of cement-based materials and their time-varying processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. The features and advantages of the present invention will be more clearly understood by referring to the drawings. The drawings are schematic and should not be understood as limiting the present invention in any way. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0066] Figure 1 The present invention provides a method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation;
[0067] Figure 2is a schematic diagram of a simulated transverse relaxation time T2 distribution model of an embodiment of the present invention, wherein f is the content of each component, and T2 is the transverse relaxation time;
[0068] Figure 3 The figure is a schematic diagram of simulated low-field magnetic resonance echo data and the low-field magnetic resonance echo data after noise is applied thereto according to an embodiment of the present invention, wherein m is the total magnetization intensity, t is the echo time, Raw echo train is the original echo data, and Noisy echo train is the echo data after noise is applied thereto.
[0069] Figure 4 A method for inverting low-field magnetic resonance echo data according to an embodiment of the present invention is provided. Figure 3 The transverse relaxation time T2 discrete spectrum obtained by inverting low-field magnetic resonance echo data with noise added Figure 2 Comparison of the simulated transverse relaxation time T2 discrete spectrum, where f is the content of each component, T2 is the transverse relaxation time, Design spectrum is the simulated T2 discrete spectrum, and Solved spectrum is the inverted T2 discrete spectrum. DETAILED DESCRIPTION
[0070] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0071] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.
[0072] The following is a further detailed description of a method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation proposed by the present invention in conjunction with the accompanying drawings.
[0073] Please refer to Figures 1 to 4 A method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation comprises the following steps:
[0074] S1: Collect low-field magnetic resonance transverse relaxation signal data and perform preprocessing;
[0075] S2: Calculate the prior information of transverse relaxation discrete spectrum based on L1 regularization method;
[0076] S3: Based on the maximum a posteriori estimation, a nonlinear optimization problem is constructed and solved to obtain the discrete spectrum of the low-field magnetic resonance transverse relaxation time T2;
[0077] Furthermore, the specific steps of S1 are:
[0078] Using a low-field magnetic resonance instrument and a classic CPMG pulse sequence, the transverse relaxation data and background data of the sample are obtained. Within the framework of the inversion theory, the relationship between the transverse relaxation signal and the exponential decay component is:
[0079]
[0080] Where M(t) is the function of total magnetization intensity changing with echo time t, T 2i is the transverse relaxation time of the i-th pore water, f i is the content of the i-th type of pore water, and N is the number of pore water types. After the transverse relaxation time T2 is arranged, the relationship between the transverse relaxation signal and the exponential decay component can be expressed in matrix form as follows:
[0081] M=KF+E
[0082] In the formula, is the total magnetization intensity vector; is a kernel matrix constructed based on an exponential function; is the pore water content vector; L is the dimension of the total magnetization intensity vector, and N is the dimension of the pore water content vector (i.e., the number of exponential decay components).
[0083] Read the CPMG data collected by the low-field magnetic resonance device, including the CPMG data of the sample and the background. After phase rotation of the collected CPMG data, the total magnetization intensity vector M of the signal channel and the total magnetization intensity vector M of the noise channel can be obtained. (n) The total magnetization intensity vector of the sample and background signal is denoted as M s and M b The total magnetization intensity vector of the sample noise channel is used Estimation of the noise variance σ of the specimen magnetic resonance data 2 .
[0084]
[0085] In the formula, Total magnetization intensity vector of sample noise channel The arithmetic mean of the elements.
[0086] The background CPMG data is fitted by least squares, and then the background fitting data is calculated. The specific process is: using the least squares linear regression model, find a column vector F so that the total magnetization intensity vector M of the background signal b The two-norm of the difference between F mapped by the kernel matrix K is minimized, expressed as:
[0087]
[0088] According to the least squares solution F b Calculate the background fitting data Expressed as
[0089]
[0090] The total magnetization intensity data of the sample is obtained by deducting the background fitting data from the original CPMG data of the sample, that is,
[0091]
[0092] Furthermore, the specific steps of S2 are:
[0093] According to the total magnetization data of the sample, an L1 regularized least squares optimization problem is constructed and solved: The L1 regularized least squares optimization problem is to solve the optimal solution vector F, so that the sum of the squares of the residuals between the total magnetization vector M and F mapped by the kernel matrix K is minimized, and the L1 norm of F is also minimized, thereby strengthening the sparsity of the numerical solution. In addition, all elements in the solution vector F are required to be non-negative. The optimization problem is expressed as:
[0094]
[0095] In the formula, ||F||1 is the L1 regularization term, and λ is the regularization parameter; the L1 regularized least squares optimization problem can be solved by the interior point method;
[0096] Find the optimal regularization parameter λ based on the Morozov deviation principle * , find the value of λ that minimizes the following expression:
[0097]
[0098] Where M(λ) is the total magnetization under a given regularization parameter λ.
[0099] The interval is divided based on the distribution of sparse solutions and a single exponential approximation is performed on each interval:
[0100] Since L1 regularization tends to obtain sparse solutions, the solution vector F L1 is a vector containing only a few non-zero elements. L1 Divided into n intervals, the starting and ending points of the jth interval are l s,j and l e,j .make
[0101]
[0102] For the jth interval, the corresponding total magnetization intensity sequence is reconstructed as:
[0103]
[0104] is the T2 value when the following formula reaches the minimum value in the jth interval
[0105]
[0106] In the formula, From this we can calculate
[0107] Furthermore, the specific steps of S3 are:
[0108] Based on Bayesian theorem, construct and solve the maximum a posteriori probability optimization problem: In the Bayesian framework, the maximum a posteriori (probability) estimation is a method for finding the vector to be found. This method not only considers the quality of data fitting (likelihood function), but also incorporates the prior knowledge about the vector to be found. According to Bayesian theorem, the maximum a posteriori probability optimization problem is as follows:
[0109]
[0110] In the formula, is the maximum a posteriori estimate of the content of each component, is the maximum a posteriori estimate of the transverse relaxation time. In the objective function, E M It is a data fitting term, which describes the difference between the fitted total magnetization intensity M(F,T2) and the total magnetization intensity M of the test sample. Its expression is:
[0111] E M =(MM(F,T2)) T ∑ -1 (MM(F,T2))
[0112] In the formula is the fitted value of the total magnetization intensity, which is determined by the transverse relaxation time T of n components. 2,i and the content of the corresponding components f i Calculated; ∑=diag(σ 2 ,σ 2 ,…,σ 2 ) is the covariance matrix, the diagonal elements σ of this diagonal matrix 2 Represents the noise variance and is used to quantify the uncertainty in measuring the total magnetization.
[0113] In the objective function, E Fis the prior constraint of each component content, which is used to promote the consistency between the solution and the prior and ensure that the result contains the reasonable influence of the prior knowledge. Its expression is:
[0114]
[0115] In the formula, is a diagonal matrix, controlling the prior The impact on the solution results. is the prior constraint term for the transverse relaxation time of each component, and its expression is:
[0116]
[0117] In the formula, is a diagonal matrix, controlling the prior parameters The impact on the solution results.
[0118] The above maximum a posteriori probability optimization problem can be solved by the interior point method. The numerical solution f MAP and Construct the low-field magnetic resonance transverse relaxation time T2 discrete spectrum.
[0119] The above description is only a preferred embodiment of the present invention. For example, there may be multiple combinations of different configurations and characteristic parameter settings. The embodiments of the present invention only show example parameters and are not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation, characterized in that: The following steps are involved: S1: Collect low-field magnetic resonance transverse relaxation signal data and perform preprocessing; S2: Calculate the prior information of transverse relaxation discrete spectrum based on L1 regularization method; S3: Based on the maximum a posteriori estimation, a nonlinear optimization problem is constructed and solved to obtain the discrete spectrum of the low-field magnetic resonance transverse relaxation time T2.
2. The method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation according to claim 1, characterized in that: Step S1 is: using a low-field magnetic resonance instrument and a classical CPMG pulse sequence to obtain transverse relaxation data and background data of the sample; performing least squares fitting on the background data, and then calculating the fitting data of the background; deducting the fitting data of the background from the sample relaxation data to obtain the magnetic resonance transverse relaxation data of the pure sample.
3. The method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation according to claim 2, characterized in that: Step S1 is specifically as follows: S11: Using a low-field magnetic resonance instrument and a classic CPMG pulse sequence, the transverse relaxation data and background data of the sample are obtained; within the framework of the inversion theory, the relationship between the transverse relaxation signal and the exponential decay component is: Where M(t) is the function of total magnetization intensity changing with echo time t, T 2i is the transverse relaxation time of the i-th type of pore water, f i is the content of the i-th type of pore water, and N is the number of pore water types. After arranging the transverse relaxation time T2, the relationship between the transverse relaxation signal and the exponential decay component is expressed in matrix form as follows: M=KF+F In the formula, is the total magnetization intensity vector; is a kernel matrix constructed based on an exponential function; is the pore water content vector; L is the dimension of the total magnetization intensity vector, and N is the dimension of the pore water content vector; Read the CPMG data collected by the low-field magnetic resonance device, including the CPMG data of the sample and the background; after phase rotation of the collected CPMG data, obtain the total magnetization intensity vector M of the signal channel and the total magnetization intensity vector M of the noise channel (n) ; The total magnetization intensity vector of the sample and background signal is denoted as M s and M b ; The total magnetization vector of the sample noise channel is used Estimation of the noise variance σ of the specimen magnetic resonance data 2 ; In the formula, Total magnetization intensity vector of sample noise channel The arithmetic mean of the elements; S12: Perform a least squares fit on the background CPMG data, and then calculate the background fitting data. The specific process is: use the least squares linear regression model to find a column vector F so that the total magnetization intensity vector M of the background signal b The two-norm of the difference between F mapped by the kernel matrix K is minimized, which is expressed as: According to the least squares solution F b Calculate the background fitting data Expressed as S13: The original CPMG data of the sample are deducted from the background fitting data to obtain the total magnetization intensity data of the sample, that is, 4. The method for inversion of low-field magnetic resonance transverse relaxation discrete spectrum based on maximum a posteriori estimation according to claim 1, characterized in that: Step S2 is: constructing an L1 regularized least squares optimization problem according to the total magnetization intensity data of the sample, and calculating a sparse solution to the optimization problem; Multi-exponential approximation processing is performed according to the distribution characteristics of the sparse solution.
5. The method for inversion of low-field magnetic resonance transverse relaxation discrete spectrum based on maximum a posteriori estimation according to claim 4, characterized in that: Step S2 is specifically as follows: S21: According to the total magnetization data of the sample, construct and solve the L1 regularized least squares optimization problem: The L1 regularized least squares optimization problem is to solve the optimal solution vector F, so that the sum of squares of the residuals between the total magnetization vector M and F mapped by the kernel matrix K is minimized, and the L1 norm of F is also minimized; in addition, all elements in the solution vector F are required to be non-negative. The optimization problem is expressed as: In the formula, ||F||1 is the L1 regularization term, and λ is the regularization parameter; the L1 regularized least squares optimization problem can be solved by the interior point method; Find the optimal regularization parameter λ based on the Morozov deviation principle * , find the value of λ that minimizes the following expression: Where M(λ) is the total magnetization under a given regularization parameter λ; S22: Interval partitioning based on the distribution of sparse solutions and single exponential approximation for each interval: Since L1 regularization tends to obtain sparse solutions, the solution vector F L1 is a vector containing only a few non-zero elements; L1 Divided into n intervals, the starting and ending points of the jth interval are l s,j and l e,j ;make For the jth interval, the corresponding total magnetization intensity sequence is reconstructed as: is the T2 value when the following formula reaches the minimum value in the jth interval In the formula, It is calculated from this 6. The method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation according to claim 1, characterized in that: Step S3 is: constructing and solving the maximum a posteriori probability optimization problem based on the Bayesian theorem, and the obtained numerical solution is the desired discrete spectrum of the low-field magnetic resonance transverse relaxation time T2.
7. The method for inverting the discrete spectrum of low-field magnetic resonance transverse relaxation time T2 based on maximum a posteriori estimation according to claim 6, characterized in that: Step S3 is specifically as follows: construct and solve the maximum a posteriori probability optimization problem based on Bayes’ theorem: According to Bayes’ theorem, the maximum a posteriori probability optimization problem is as follows: In the formula, is the maximum a posteriori estimate of the content of each component, is the maximum a posteriori estimate of the transverse relaxation time; in the objective function, E M It is a data fitting term, which describes the difference between the fitted total magnetization intensity M(F,T2) and the total magnetization intensity M of the test sample. Its expression is: E M =(M-M(F,T2)) T Σ -1 (M-M(F,T2)) In the formula is the fitted value of the total magnetization intensity, which is determined by the transverse relaxation time T of n components. 2,i and the content of the corresponding components f i Calculated; ∑=diag(σ 2 ,σ 2 ,…,σ 2 ) is the covariance matrix, the diagonal elements σ of this diagonal matrix 2 represents the noise variance; In the objective function, E F is the prior constraint term of each component content, and its expression is: In the formula, is a diagonal matrix, controlling the prior Impact on solution results; is the prior constraint term for the transverse relaxation time of each component, and its expression is: In the formula, is a diagonal matrix, controlling the prior parameters Impact on solution results; The above maximum a posteriori probability optimization problem can be solved by the interior point method; the numerical solution F MAP and Construct the low-field magnetic resonance transverse relaxation time T2 discrete spectrum.
Citation Information
Cited By
Cement-based material undisturbed hole measuring method based on low-field magnetic resonance longitudinal relaxation technology
CN120064362A
Decoupling method based on high-field solid-state nuclear-magnetic-resonance t 2 relaxation
WO2026213894A1
