Nuclear magnetic resonance measurement coal rock solid-liquid component method, device and electronic equipment

CN122944456APending Publication Date: 2026-10-20CHANGZHOU INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611409586.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-10-20

AI Technical Summary

Benefits of technology

本发明通过点对点背景扣除有效消除了系统背景信号干扰,采用双组分拟合模型避免了过拟合,能够实现煤岩固液组分的高精度定量测量,具有测量精度高、操作简便、适用范围广等优点。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention discloses a method for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance (NMR), belonging to the field of NMR detection technology for coal and rock samples. The method includes: preparing the coal and rock sample to be tested; performing NMR measurements at multiple echo times τ; subtracting the background signal from the sample signal point by point to obtain the net signal curve after background subtraction; fitting the sample using a two-component model that combines Gaussian function fitting for the solid component and exponential function fitting for the liquid component; and performing Gaussian fitting for the solid component and exponential fitting for the liquid component separately based on the fitted amplitudes of the solid and liquid components, ultimately calculating the relative content of the solid and liquid components in the coal and rock sample. This invention effectively eliminates system background signal interference through point-to-point background subtraction and avoids overfitting by using a two-component fitting model, enabling high-precision quantitative measurement of the solid-liquid components of coal and rock. It has advantages such as high measurement accuracy, simple operation, and wide applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geophysical exploration technology, specifically to a method, apparatus, and electronic equipment for measuring the solid and liquid components of coal and rock using nuclear magnetic resonance (NMR), and more specifically to a method for measuring the relative content of solid and liquid components in coal and rock using low-field NMR technology. Background Technology

[0002] Nuclear magnetic resonance (NMR) relaxation measurement technology is widely used in the characterization of physical properties of geological samples such as coal and petrified rocks, providing key parameters such as porosity, pore size distribution, and fluid saturation. In coal and petrified rocks, hydrogen protons exist simultaneously in the solid matrix and pore fluid, and the NMR signal is a superposition of the solid component signal and the liquid component signal.

[0003] Currently, the differentiation of solid-liquid components in coal and rock mainly employs the following technical approaches: One is the T2 distribution spectrum method based on CPMG sequence inversion. Existing technologies typically use CPMG (Carr-Purcell-Meiboom-Gill) pulse sequences to acquire nuclear magnetic resonance decay signals from coal and rock samples, and then obtain the transverse relaxation time (T2) distribution spectrum through mathematical inversion, thereby distinguishing different components based on differences in T2 values. In conventional reservoir rocks, pore fluids can be classified into different components such as bound water (short T2), free water (medium-long T2), and hydrocarbons (long T2) based on the length of the T2 relaxation time. However, this method has serious limitations for coal and rock samples. Coal and rock are highly heterogeneous porous media with complex pore structures and diverse organic matter types, resulting in significant differences in the T2 spectral response characteristics of different coal samples. The T2 relaxation times of solid organic matter (such as the coal macromolecular framework) and bound fluids in coal and rock often overlap, and there is a lack of a unified classification standard for the relaxation characteristics of coal and rock at different metamorphic degrees. Therefore, the method of classifying solid and liquid components based on T2 spectral peak positions lacks a unified paradigm in coal and petrology, making it difficult to achieve accurate quantitative separation of solid and liquid components. Secondly, a method combining FID and CPMG pulse sequences has been employed. Considering the high content of solid organic matter and the prominent short-relaxation components in unconventional reservoirs (such as shale), recent studies have used a combination of Free Induction Attenuation (FID) pulse sequences and CPMG pulse sequences to distinguish solid and liquid components. FID sequences can more accurately measure short T2 relaxation times, while CPMG sequences excel at measuring long T2 relaxation times. Combining the two can generate T2 relaxation spectra covering a wider relaxation time range. This method has been used to detect solid organic matter such as kerogen in shale. However, this type of method is mainly developed for shale samples, and its applicability to coal and petrology has not been fully verified. More importantly, this method directly performs mathematical decomposition on the original sample signal without fully considering the interference of the background signal of the measurement system itself, making it difficult to guarantee the accuracy of the quantitative results of solid components.

[0004] In summary, given the shortcomings of existing technologies, such as the lack of a unified paradigm for solid-liquid separation in coal and rock and the inadequate elimination of background interference, there is an urgent need for a nuclear magnetic resonance measurement method that can effectively deduct background interference, accurately separate solid and liquid components, and avoid overfitting. Summary of the Invention

[0005] The purpose of this invention is to provide a method, apparatus, and electronic device for measuring the solid-liquid composition of coal and rock based on nuclear magnetic resonance, so as to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: Firstly, a method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance is provided, including: Step S1, Pre-measurement preparation: Configure the coal and rock sample to be tested, the low-field nuclear magnetic resonance analyzer, and set the measurement parameters S; Step S2, Coal and Rock Signal Measurement: Using the low-field nuclear magnetic resonance analyzer, the coal and rock sample to be tested is measured at echo time τ based on the measurement parameter S, to obtain the signal amplitude M at echo time τ. sample (τ); Step S3, Background Signal Measurement: Using the low-field nuclear magnetic resonance analyzer, a blank background measurement is performed at the echo time τ based on the measurement parameter S to obtain the signal amplitude M at the echo time τ. background (τ); Step S4, Calculation of net signal of coal and rock: The signal amplitude M of the coal and rock sample under test at echo time τ is calculated. sample (τ) Subtract the signal amplitude M of the blank background at the corresponding echo time τ point by point. background (τ), to obtain the net coal and rock signal M after background subtraction. net (τ); Step S5, Two-component model construction and fitting: Construct a two-component model with Gaussian function fitting for the solid component and exponential function fitting for the liquid component, and based on the two-component model, fit the net coal and rock signal M after background subtraction. net (τ) is fitted to obtain the signal amplitude M of the solid component. solid The signal amplitude M of the liquid component liquid ; Step S6, Calculation of solid-liquid component content: based on the signal amplitude M of the solid component solid The signal amplitude M of the liquid component liquid The relative content A of the solid component was obtained by performing Gaussian fitting and exponential fitting of the liquid component, respectively. s Relative content A of liquid components l .

[0007] Furthermore, the following steps are included after step S6: Step S7, Fit quality assessment: Calculate the root mean square of the fitting residuals to assess the fitting quality. When the root mean square value of the fitting residuals reaches the minimum and the residuals exhibit a random white noise distribution, the fitting result is deemed reliable.

[0008] Furthermore, step S2 further includes: The range of the echo time τ covers the relaxation process where the solid component completely decays to zero while the liquid component still maintains a measurable signal.

[0009] Furthermore, step S4 further includes: the two-component fitting model is based on the solid component signal amplitude M. solid Liquid component signal amplitude M liquid It is constructed from Gaussian fitting models of solid components and exponential fitting models of liquid components.

[0010] Furthermore, step S5 further includes: based on the signal amplitude M of the solid component solid The signal amplitude M of the liquid component liquid Gaussian fitting of the solid component and exponential fitting of the liquid component were performed separately, and the signal amplitude M of the solid component at time zero was obtained from the fitted curves. S0 The signal amplitude M of the liquid component l0 And based on M S0 and M l0 The relative content A of solid components was obtained. s Relative content A of liquid components l .

[0011] Secondly, a device for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance is provided, comprising: Pre-measurement preparation unit: Configure the coal and rock sample to be tested, the low-field nuclear magnetic resonance analyzer, and set the measurement parameter S; Coal and rock signal measurement unit: Using the low-field nuclear magnetic resonance analyzer, the coal and rock sample to be tested is measured based on the measurement parameter S, and the signal amplitude M at the echo time τ is obtained. sample (τ); Background signal measurement unit: Using the aforementioned low-field nuclear magnetic resonance analyzer, blank background measurement is performed at echo time τ based on the aforementioned measurement parameter S to obtain the signal amplitude M at echo time τ. background (τ); Coal and rock net signal calculation unit: Calculates the signal amplitude M of the coal and rock sample under test at echo time τ. sample (τ) Subtract the signal amplitude M of the blank background at the corresponding echo time τ point by point. background (τ), to obtain the net coal and rock signal M after background subtraction. net (τ); Two-component model construction and fitting unit: Constructs a two-component model that fits the solid component using a Gaussian function and the liquid component using an exponential function, and applies the two-component model to the net coal and rock signal M after background subtraction. net (τ) is fitted to obtain the signal amplitude M of the solid component. solid The signal amplitude M of the liquid component liquid ; Solid-liquid component content calculation unit: based on the signal amplitude M of the solid component solid The signal amplitude M of the liquid component liquid The relative content A of the solid component was obtained by performing Gaussian fitting and exponential fitting of the liquid component, respectively. s Relative content A of liquid components l .

[0012] Furthermore, it also includes: Fit quality assessment unit: Calculates the root mean square of the fitting residuals and assesses the fitting quality. When the root mean square value of the fitting residuals reaches the minimum and the residuals exhibit a random white noise distribution, the fitting result is deemed reliable.

[0013] Furthermore, the coal and rock signal measurement unit further includes: The range of the echo time τ covers the relaxation process where the solid component completely decays to zero while the liquid component still maintains a measurable signal.

[0014] Furthermore, the two-component model construction and fitting unit further includes: the two-component fitting model is based on the solid component signal amplitude M. solid Liquid component signal amplitude M liquid It is constructed from Gaussian fitting models of solid components and exponential fitting models of liquid components.

[0015] Furthermore, the solid-liquid component content calculation unit further includes: based on the signal amplitude M of the solid component... solid The signal amplitude M of the liquid component liquid Gaussian fitting of the solid component and exponential fitting of the liquid component were performed separately, and the signal amplitude M of the solid component at time zero was obtained from the fitted curves. S0 The signal amplitude M of the liquid component l0 And based on M S0 and M l0 The relative content A of solid components was obtained. s Relative content A of liquid components l .

[0016] Thirdly, an electronic device is provided, comprising: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of a method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance.

[0017] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, wherein when executed by a processor, the computer program implements the steps of a method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance.

[0018] By adopting the above technical solution, high-precision quantitative measurement of solid and liquid components in coal and rock has been achieved.

[0019] Compared with the prior art, the beneficial effects of the present invention are: This invention effectively eliminates system background signal interference through point-to-point background subtraction and avoids overfitting by using a two-component fitting model. It can achieve high-precision quantitative measurement of coal and rock solid-liquid components and has the advantages of high measurement accuracy, simple operation and wide applicability. Attached Figure Description

[0020] Figure 1 A flowchart illustrating the implementation of the nuclear magnetic resonance method for measuring the solid-liquid composition of coal and rock according to an embodiment of the present invention; Figure 2 A structural diagram of the nuclear magnetic resonance measurement device for coal and rock solid-liquid components provided in an embodiment of the present invention; Figure 3 A diagram of a solid-state echo pulse sequence provided according to an embodiment of the present invention; Figure 4 The figure shows the simulation results (τ = 38 μs) of the solid and liquid components of a coal sample provided according to an embodiment of the present invention. Figure 5 This is a graph showing the fitting results of the solid-liquid component ratio of a coal sample according to an embodiment of the present invention; Figure 6 The distribution of the fitting residual as a function of echo time τ according to an embodiment of the present invention; Figure 7 This is a structural diagram of an electronic device provided according to an embodiment of the present invention. Detailed Implementation

[0021] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0023] Figure 1 A flowchart illustrating the implementation of the nuclear magnetic resonance method for measuring the solid-liquid composition of coal and rock according to an embodiment of the present invention; Figure 2 A structural diagram of the nuclear magnetic resonance measurement device for coal and rock solid-liquid components provided in an embodiment of the present invention; Figure 3 A diagram of a solid-state echo pulse sequence provided according to an embodiment of the present invention; Figure 4 The figure shows the simulation results (τ = 38 μs) of the solid and liquid components of a coal sample provided according to an embodiment of the present invention. Figure 5 This is a graph showing the fitting results of the solid-liquid component ratio of a coal sample according to an embodiment of the present invention; Figure 6 The diagram shows the distribution of the fitting residual as a function of echo time τ according to an embodiment of the present invention. For ease of description, only the parts relevant to the embodiment of the present invention are shown, and are detailed below: This invention aims to overcome the aforementioned deficiencies of the prior art and provide a method for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance (NMR). This method involves performing multi-echo time (τ) NMR measurements on both the coal and rock sample and a blank background. Point-to-point background subtraction is used to eliminate interference from the system's background signal. Finally, a two-component model is employed, using Gaussian function fitting for the solid component and exponential function fitting for the liquid component, to achieve high-precision quantitative measurement of the solid-liquid components of coal and rock.

[0024] A method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance includes the following steps: Step S1: Coal and rock sample preparation: Prepare a water-saturated coal and rock sample to be tested.

[0025] Step 2: Using a low-field nuclear magnetic resonance analyzer, nuclear magnetic resonance measurements were performed on the coal and rock samples to be tested and the blank background. The testing method employed a solid-state echo pulse sequence, setting a series of different echo times τ (e.g., τ = 18, 22, 26, 34, 38, 46, 54, 62, 70, 78, 86, 94 μs), with an acquisition time interval of 1 μs and 256 sampling points.

[0026] Step S3: Subtract the signal amplitude of the coal and rock sample under different echo times τ from the signal amplitude under the same echo time τ under the same conditions of no-contact measurement point by point to obtain the net echo signal of the coal and rock after background subtraction: M net (τ) = M sample (τ) − M background (τ) in, M sample (τ) represents the signal amplitude of the coal and rock sample under test at echo time τ. M background (τ) represents the signal amplitude against a blank background at the same echo time τ. M net (τ) represents the net signal amplitude after background subtraction.

[0027] Step S4: Construction and Fitting of the Two-Component Model Net signal curve of coal and rock after background subtraction M net (τ), construct a two-component fitting model for the solid and liquid components:

[0028] in: M solid The signal amplitude of the solid component (proportional to the hydrogen proton content of the solid). T 2G The transverse relaxation time (Gaussian decay characteristic time) of the solid component. M liquid The signal amplitude of the liquid component (proportional to the hydrogen proton content of the liquid); T 2E This represents the transverse relaxation time (exponential decay characteristic time) of the liquid component.

[0029] The solid component was fitted using a Gaussian function, and the liquid component was fitted using an exponential function. In the fitting formula, t = τ; t0 is the center time of the Gaussian function, corresponding to the peak time of the solid echo signal.

[0030] Step S5: Calculation of solid-liquid component content The results obtained by fitting each τ M solid and M liquid Gaussian fitting for the solid component and exponential fitting for the liquid component were constructed respectively, and the values ​​at time zero were obtained from the fitting curves. MS0 and M l0 Calculate the relative contents of solid component As and liquid component Al in coal and rock samples.

[0031]

[0032]

[0033]

[0034] Step S6: Fit quality assessment Calculate the root mean square (RMS) of the fitted residuals to evaluate the quality of the fit. When the RMS value of the residuals reaches its minimum and the residuals exhibit a random white noise distribution, the fitting result is considered reliable.

[0035] Preferably, the range of the echo time τ in step two covers the relaxation process in which the solid component completely decays to zero while the liquid component still maintains a measurable signal.

[0036] Preferably, in step four, a nonlinear least squares method with boundary constraints is used for fitting, and the constraint conditions include: 0 ≤ M solid ≤1.5× A max , 0≤ M liquid ≤1.5× A max , 0≤ T 2G ≤500 μs, 0≤ T 2E ≤3×10 6 μs.

[0037] Preferably, the method further includes performing time axis alignment verification on the sample signal and the background signal before step three to ensure the accurate correspondence of each echo time τ.

[0038] Example: This example uses a bituminous coal sample from a mining area to illustrate the method of the present invention in detail.

[0039] (1) Sample preparation: The coal and rock samples were processed into cylindrical standard samples with a diameter of 25 mm and a height of 50 mm, and dried in a vacuum drying oven at 60℃ for 24 hours until constant weight. Then, the samples were vacuumed for 12 hours and pressurized with 3MPa saturated water for 48 hours.

[0040] (2) Signal acquisition: A low-field nuclear magnetic resonance analyzer (main frequency 2 MHz) was used. The echo time τ was set to 18, 22, 26, 34, 38, 46, 54, 62, 70, 78, 86 and 94 μs respectively. Solid echo sequence measurements were performed on coal and rock samples and blank background samples respectively, and the signal amplitude at each τ was recorded.

[0041] (3) Background subtraction: Subtract the background signal amplitude at the corresponding τ from the signal amplitude of the coal and rock sample at each τ point to obtain the net signal curve after background subtraction.

[0042] (4) Two-component model fitting: The net signal was fitted using a nonlinear least squares method with boundary constraints, with a solid Gaussian and a liquid exponential model. At τ = 38 μs, the fitted values ​​were Msolid = 0.3935 (au), T2G = 15.44 μs, Mliquid = 0.6617 (au), and T2E = 338.26 μs.

[0043] (5) Single component fitting: Gaussian fitting and exponential fitting were performed on the amplitudes of solid and liquid components under different τ conditions. The fitting results showed Ms0 = 1.06, Ml0 = 0.76, solid component content As0 = 58.2%, and liquid component content Al0 = 41.8%.

[0044] (6) Quality assessment: The vast majority of the fitting residuals fall within the ±2σ range, exhibiting the distribution characteristics of random Gaussian white noise, indicating that the fitting results are reliable.

[0045] Figure 6 A structural diagram of an electronic device provided in an embodiment of the present invention, such as... Figure 6As shown, the device includes: a memory 21 for storing computer programs; and a processor 22 for executing the computer program to implement the steps of a method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance. The processor 22 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 22 may be implemented using at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake-up state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may integrate a Graphics Processing Unit (GPU) for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 22 may also include an Artificial Intelligence (AI) processor for handling computational operations related to machine learning.

[0046] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 21 is used to store at least the following computer program 211, which, after being loaded and executed by the processor 22, is capable of implementing the relevant steps of the nuclear magnetic resonance method for measuring the solid-liquid composition of coal and rock disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. The operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include, but is not limited to, the data involved in the nuclear magnetic resonance method for measuring the solid-liquid composition of coal and rock, etc.

[0047] In some embodiments, the electronic device may further include a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27.

[0048] Those skilled in the art will understand that Figure 6 The structures shown do not constitute a limitation on electronic devices and may include more or fewer components than those shown.

[0049] The processor 22 implements the steps of the nuclear magnetic resonance method for measuring the solid-liquid components of coal and rock provided in any of the above embodiments by calling instructions stored in the memory 21.

[0050] For an introduction to the electronic device provided by the present invention, please refer to the above method embodiments. The present invention will not be described in detail here, but it has the same beneficial effects as the above-described method for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance.

[0051] Furthermore, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by processor 22, implements the steps of the above-described method for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance.

[0052] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0053] For an introduction to the computer-readable storage medium provided by the present invention, please refer to the above method embodiments. The present invention will not be described in detail here, but it has the same beneficial effects as the above-described method for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance.

[0054] The present invention provides a detailed description of a method, apparatus, device, and medium for measuring the solid-liquid components of coal and rock using nuclear magnetic resonance. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the present invention.

[0055] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

Claims

1. A method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance, characterized in that: Includes the following steps: Step S1, Pre-measurement preparation: Configure the coal and rock sample to be tested, the low-field nuclear magnetic resonance analyzer, and set the measurement parameters S; Step S2, Coal and Rock Signal Measurement: Using the low-field nuclear magnetic resonance analyzer, the coal and rock sample to be tested is measured at echo time τ based on the measurement parameter S to obtain the signal amplitude at echo time τ. M sample (τ); Step S3, Background Signal Measurement: Using the low-field nuclear magnetic resonance analyzer, a blank background measurement is performed at the echo time τ based on the measurement parameter S to obtain the signal amplitude at the echo time τ. M background (τ); Step S4, Calculation of net signal of coal and rock: The signal amplitude of the coal and rock sample under test at echo time τ. M sample (τ) Subtract the signal amplitude of the blank background at the corresponding echo time τ point by point. M background (τ) yields the net coal and rock signal after background subtraction. M net (τ); Step S5, Two-component model construction and fitting: Construct a two-component model with Gaussian function fitting for the solid component and exponential function fitting for the liquid component, and perform background subtraction on the net coal and rock signal based on the two-component model. M net (τ) is fitted to obtain the signal amplitude of the solid component. M solid and the signal amplitude of liquid components M liquid ; Step S6, Calculation of solid-liquid component content: based on the signal amplitude of the solid component. M solid and the signal amplitude of liquid components M liquid The relative content A of the solid component was obtained by performing Gaussian fitting and exponential fitting of the liquid component, respectively. s Relative content A of liquid components l。 2. The method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance according to claim 1, characterized in that: The following steps are included after step S6: Step S7, Fit quality assessment: Calculate the root mean square of the fitting residuals to assess the fitting quality. When the root mean square value of the fitting residuals reaches the minimum and the residuals exhibit a random white noise distribution, the fitting result is deemed reliable.

3. The method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance according to claim 1, characterized in that: Step S2 further includes: The range of the echo time τ covers the relaxation process where the solid component completely decays to zero while the liquid component still maintains a measurable signal.

4. The method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance according to claim 1, characterized in that: Step S4 further includes: the two-component fitting model is based on the amplitude of the solid component signal. M solid Liquid component signal amplitude M liquid It is constructed from Gaussian fitting models of solid components and exponential fitting models of liquid components.

5. The method for measuring the solid-liquid composition of coal and rock using nuclear magnetic resonance according to claim 4, characterized in that: Step S5 further includes: based on the signal amplitude of the solid component M solid and the signal amplitude of liquid components M liquid Gaussian fitting of the solid component and exponential fitting of the liquid component were performed separately, and the signal amplitude of the solid component at time zero was obtained from the fitted curves. M S0 and the signal amplitude of liquid components M l0 and based on M S0 and M l0 The relative content A of solid components was obtained. s Relative content A of liquid components l。 6. A nuclear magnetic resonance (NMR) device for measuring the solid-liquid composition of coal and rock, characterized in that: Includes the following modules: Pre-measurement preparation module: Configure the coal and rock sample to be tested, the low-field nuclear magnetic resonance analyzer, and set the measurement parameter S; Coal and rock signal measurement module: Using the low-field nuclear magnetic resonance analyzer, the coal and rock sample to be tested is measured at echo time τ based on the measurement parameter S, to obtain the signal amplitude at echo time τ. M sample (τ); Background signal measurement module: Using the aforementioned low-field nuclear magnetic resonance analyzer, blank background measurement is performed based on the measurement parameter S at echo time τ to obtain the signal amplitude at echo time τ. M background (τ); Coal and rock net signal calculation module: calculates the signal amplitude of the coal and rock sample under test at echo time τ. M sample (τ) Subtract the signal amplitude of the blank background at the corresponding echo time τ point by point. M background (τ) yields the net coal and rock signal after background subtraction. M net (τ); The two-component model construction and fitting module constructs a two-component model by fitting the solid component with a Gaussian function and the liquid component with an exponential function, and then applies the two-component model to the net coal and rock signal after background subtraction. M net (τ) is fitted to obtain the signal amplitude of the solid component. M solid and the signal amplitude of liquid components M liquid ; Solid-liquid component content calculation module: based on the signal amplitude of the solid component. M solid and the signal amplitude of liquid components M liquid The relative content A of the solid component was obtained by performing Gaussian fitting and exponential fitting of the liquid component, respectively. s Relative content A of liquid components l。 7. The nuclear magnetic resonance apparatus for measuring the solid-liquid composition of coal and rock according to claim 6, characterized in that, The two-component model construction and fitting module also includes: The two-component fitting model is constructed from the solid component signal amplitude Msolid, the liquid component signal amplitude Mliquid, the solid component Gaussian fitting model, and the liquid component exponential fitting model.

8. The nuclear magnetic resonance apparatus for measuring the solid-liquid composition of coal and rock according to claim 7, characterized in that, The solid-liquid component content calculation module also includes: Based on the signal amplitude Msolid of the solid component and the signal amplitude Mliquid of the liquid component, Gaussian fitting of the solid component and exponential fitting of the liquid component are performed respectively. The signal amplitude MS0 of the solid component and the signal amplitude Ml0 of the liquid component at time zero are obtained from the fitting curves. Based on MS0 and Ml0, the relative content As of the solid component and the relative content Al of the liquid component are obtained.

9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the method for measuring the solid-liquid composition of coal and rock as described in any one of claims 1-5.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for measuring the solid-liquid composition of coal and rock as described in any one of claims 1-5.