A method, device and medium for denoising nuclear magnetic resonance logging data

By performing multiple preset number decomposition and error analysis on the NMR logging data, and selecting the optimal preset number for decomposition and accumulation, the problem of low signal-to-noise ratio of unconventional reservoir data is solved and the inversion efficiency is significantly improved. Accuracy.

CN114814962BActive Publication Date: 2024-09-17CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210445333.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-26
Publication Date
2024-09-17
Estimated Expiration
2042-04-26

AI Technical Summary

Technical Problem

Existing NMR logging data denoising methods are not effective in unconventional reservoir data processing, resulting in low signal-to-noise ratio and insufficient inversion accuracy.

Method used

By decomposing the NMR logging data into multiple preset numbers, the preset number corresponding to the maximum error difference data is selected as the optimal preset number. The relationship between the decomposed sub-signal data and the original data determines the effective sub-data. , and accumulate them to achieve denoising.

Benefits of technology

The signal-to-noise ratio of NMR logging data is improved, thereby improving the inversion accuracy, especially the denoising effect is significantly improved in unconventional reservoir data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114814962B
    Figure CN114814962B
Patent Text Reader

Abstract

The present invention discloses a method, device and medium for denoising nuclear magnetic resonance logging data, which are applicable to the field of data processing technology. Corresponding sub-signal data are obtained by decomposing the nuclear magnetic resonance logging data into multiple preset numbers, and error difference data are determined according to the sub-signal data and the nuclear magnetic resonance logging data, and the preset number corresponding to the maximum error difference data of the multiple error difference data is selected as the optimal preset number. The optimal preset number is selected to decompose the nuclear magnetic resonance logging data according to the optimal preset number to obtain the optimal sub-signal data, and the effective sub-data is obtained according to the optimal sub-signal data and accumulated to complete the denoising of the nuclear magnetic resonance logging data. The problem of low inversion accuracy caused by the low signal-to-noise ratio of nuclear magnetic resonance logging data in unconventional reservoirs is avoided, the signal-to-noise ratio of nuclear magnetic resonance logging data is improved, and thus the inversion accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method, device and medium for denoising nuclear magnetic resonance logging data. Background Art

[0002] Nuclear magnetic resonance logging is an important geophysical logging method for evaluating underground oil and gas resources and has been widely used in reservoir evaluation. Denoising methods for nuclear magnetic resonance logging data include wavelet threshold method, discrete cosine transform method, empirical mode decomposition method and artificial intelligence (AI) method.

[0003] NMR logging data includes conventional reservoir data and unconventional reservoir data. The signal-to-noise ratio of conventional reservoir NMR logging data is higher than that of unconventional reservoir NMR logging data. The above denoising method is well applied in denoising conventional reservoir data. However, for unconventional reservoir data, the unconventional reservoir has low porosity, developed micropores, and complex fluid occurrence, resulting in a low signal-to-noise ratio of the collected data. The denoising effect of the above denoising method is not obvious, resulting in low accuracy of the inversion result.

[0004] Therefore, how to improve the signal-to-noise ratio of unconventional reservoir NMR logging data, thereby improving the inversion accuracy, is an urgent problem that technicians in this field need to solve. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device and medium for denoising nuclear magnetic resonance logging data, so as to improve the signal-to-noise ratio of nuclear magnetic resonance logging data and thus improve the inversion accuracy.

[0006] In order to solve the above technical problems, the present invention provides a method for denoising nuclear magnetic resonance logging data, comprising:

[0007] Acquire nuclear magnetic resonance logging data and decompose the nuclear magnetic resonance logging data into sub-signal data corresponding to each preset number according to each preset number;

[0008] Determine the difference data of each error according to each sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number;

[0009] The sub-signal data obtained by decomposing the optimal preset number are used as the optimal sub-signal data, and the effective sub-data are determined according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data;

[0010] The effective sub-data are accumulated to obtain the denoised NMR logging data.

[0011] Preferably, the NMR logging data is decomposed into sub-signal data corresponding to each preset number according to each preset number, including:

[0012] According to each preset number, the nuclear magnetic resonance logging data is subjected to Fourier transformation and Lagrange multiplier method to obtain each current iteration data;

[0013] Obtain each current iteration data and each previous current iteration data and perform relative error calculation to obtain each current error data;

[0014] Determine whether each current error data is greater than a preset error data;

[0015] If yes, return to the step of performing Fourier transform and Lagrange multiplier method on the nuclear magnetic resonance logging data according to each preset number to obtain each current iteration data;

[0016] If not, each current iteration data is used as each sub-signal data.

[0017] Preferably, determining the difference data of each error according to each sub-signal data and the nuclear magnetic resonance logging data to select a preset number corresponding to the maximum error difference data as the optimal preset number includes:

[0018] Calculating square errors between each sub-signal data and the nuclear magnetic resonance logging data to obtain square error data corresponding to each preset number;

[0019] Obtain the current square error data and the next current square error data and perform subtraction to obtain the error difference data;

[0020] Count the difference data of each error and select the maximum error difference data;

[0021] The preset number corresponding to the next current square error data corresponding to the maximum error difference data is used as the optimal preset number.

[0022] Preferably, determining effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data includes:

[0023] Correlation coefficient data is obtained by calculating the correlation coefficient between the optimal sub-signal data and the nuclear magnetic resonance logging data;

[0024] The average value data is obtained based on the correlation coefficient data;

[0025] The sub-signal data corresponding to the correlation coefficient data being greater than or equal to the average value data are selected as valid sub-data.

[0026] Preferably, accumulating the effective sub-data to obtain the denoised nuclear magnetic resonance logging data includes:

[0027] The effective sub-data are accumulated in parallel to obtain the denoised nuclear magnetic resonance logging data.

[0028] Preferably, after accumulating the effective sub-data to obtain the denoised nuclear magnetic resonance logging data, the method further includes:

[0029] Output prompt information to perform feature processing on the denoised NMR logging data.

[0030] In order to solve the above technical problems, the present invention also provides a denoising device for nuclear magnetic resonance logging data, comprising:

[0031] A decomposition module, used for acquiring nuclear magnetic resonance logging data and decomposing the nuclear magnetic resonance logging data into sub-signal data corresponding to each preset number according to each preset number;

[0032] A selection module, used to determine the difference data of each error according to each sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number;

[0033] A determination module, used to use the sub-signal data obtained by decomposing the optimal preset number as the optimal sub-signal data, and determine the effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data;

[0034] The accumulation module is used to accumulate the effective sub-data to obtain the denoised nuclear magnetic resonance logging data.

[0035] In order to solve the above technical problems, the present invention also provides a denoising device for nuclear magnetic resonance logging data, comprising:

[0036] Memory for storing computer programs;

[0037] The processor is used to implement the steps of the above-mentioned method for denoising nuclear magnetic resonance logging data when executing the computer program.

[0038] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for denoising nuclear magnetic resonance logging data are implemented.

[0039] The present invention provides a method for denoising nuclear magnetic resonance logging data, which decomposes the nuclear magnetic resonance logging data into multiple preset numbers to obtain corresponding sub-signal data, determines error difference data based on the sub-signal data and the nuclear magnetic resonance logging data, selects the preset number corresponding to the maximum error difference data of the multiple error difference data as the optimal preset number, and the sub-signal data obtained by decomposing the optimal preset number is the optimal sub-signal data, and determines the effective sub-data based on the relationship with the nuclear magnetic resonance logging data, and accumulates the effective sub-data to obtain the denoised nuclear magnetic resonance logging data. The method selects the optimal preset number to decompose the nuclear magnetic resonance logging data according to the optimal preset number to obtain the optimal sub-signal data, obtains the effective sub-data based on the optimal sub-signal data and accumulates them to complete the denoising of the nuclear magnetic resonance logging data. The problem of low inversion accuracy caused by the low signal-to-noise ratio of nuclear magnetic resonance logging data in unconventional reservoirs is avoided, and the signal-to-noise ratio of nuclear magnetic resonance logging data is improved, thereby improving the inversion accuracy.

[0040] In addition, the present invention also provides a nuclear magnetic resonance logging data denoising device and medium, which have the same beneficial effects as the above-mentioned nuclear magnetic resonance logging data denoising method. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 A flowchart of a method for denoising nuclear magnetic resonance logging data provided by an embodiment of the present invention;

[0043] Figure 2 A structural diagram of a nuclear magnetic resonance logging data denoising device provided by an embodiment of the present invention;

[0044] Figure 3 A structural diagram of another nuclear magnetic resonance logging data denoising device provided by an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of a T2 spectrum for constructing a double peak provided by an embodiment of the present invention;

[0046] Figure 5 A schematic diagram of echo train data with a signal-to-noise ratio of 10 provided in an embodiment of the present invention;

[0047] Figure 6 A schematic diagram of echo train data with a signal-to-noise ratio of 20 provided in an embodiment of the present invention;

[0048] Figure 7A schematic diagram of decomposed data corresponding to a signal-to-noise ratio of 10 provided in an embodiment of the present invention;

[0049] Figure 8 A schematic diagram of decomposed data corresponding to a signal-to-noise ratio of 20 provided in an embodiment of the present invention;

[0050] Fig. 9 A schematic diagram of the denoising results of nuclear magnetic resonance logging data corresponding to a signal-to-noise ratio of 10 provided in an embodiment of the present invention;

[0051] Fig.10 A schematic diagram of the denoising results of nuclear magnetic resonance logging data corresponding to a signal-to-noise ratio of 20 provided in an embodiment of the present invention;

[0052] Fig.11 A comparison diagram of echo train data before and after denoising corresponding to a signal-to-noise ratio of 10 provided in an embodiment of the present invention;

[0053] Fig.12 A comparison diagram of the inversion of echo string data before and after denoising corresponding to a signal-to-noise ratio of 20 provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] The core of the present invention is to provide a method, device and medium for denoising nuclear magnetic resonance logging data, so as to improve the signal-to-noise ratio of nuclear magnetic resonance logging data and thus improve the inversion accuracy.

[0056] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0057] It should be noted that the denoising method for nuclear magnetic resonance logging data provided by the present invention is applied to nuclear magnetic resonance logging data for oil and gas exploration. Since the measurement signal is not affected by the solid skeleton, it overcomes the defects of conventional logging methods based on volume models. Nuclear magnetic resonance logging uses the initial amplitude of the spin echo train to study the content of free fluid in the rock, and uses the relaxation time to study the properties and occurrence state of the fluid, which requires inversion of the nuclear magnetic resonance logging data. The present invention provides a denoising method for nuclear magnetic resonance logging data, which improves the data signal-to-noise ratio for both conventional reservoir data and unconventional reservoir data, thereby improving the inversion accuracy.

[0058] Figure 1A flowchart of a method for denoising nuclear magnetic resonance logging data provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method includes:

[0059] S11: Acquire nuclear magnetic resonance logging data and decompose the nuclear magnetic resonance logging data into sub-signal data corresponding to each preset number according to each preset number.

[0060] It can be understood that the nuclear magnetic resonance logging data is obtained, and the data is decomposed according to a plurality of preset numbers to obtain corresponding sub-signal data, the preset number of which is set to K, generally K = 2, 3, 4 ..., for example, taking K = 3 as an example, the data is divided into 3 sub-signal data according to the K value. The setting of the K value can be set with an upper limit according to the actual situation, generally not exceeding 20. The corresponding sub-signal data are decomposed in turn with different K values.

[0061] The sub-signal data has the same data length as the nuclear magnetic resonance logging data. For example, 500 collected data are decomposed into K sub-signal data according to the K value, and the length of each sub-signal data is the same as the length of the nuclear magnetic resonance logging data.

[0062] The decomposition method can be based on a function of the time domain and frequency domain, such as Fourier transform, trigonometric function or Fourier transform windowing, etc. The present invention does not make any specific limitation, as long as the nuclear magnetic resonance logging data can be decomposed according to different preset numbers to obtain corresponding sub-signal data.

[0063] S12: Determine the difference data of each error according to each sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number.

[0064] The decomposition result obtained in step S11, that is, the sub-signal data, has different decomposition results for different K values, and it is critical to select a suitable K value. The square error between the original measurement data (NMR logging data) and the decomposed data at different K values ​​can be calculated, and then the error difference data corresponding to two adjacent K values ​​can be calculated. The maximum value is selected from the multiple error difference data obtained, and the preset number corresponding to the maximum error difference data is the optimal preset number, that is, the optimal value.

[0065] It is understandable that the optimal preset number is determined by the square error method provided in this embodiment, and the optimal preset number can also be selected by other methods. The square error represents the sum of squares of the deviations of the delay error size. Under the same conditions, the squares of the deviations of each measured value from the true value are summed.

[0066] S13: taking the sub-signal data obtained by decomposing the optimal preset number as the optimal sub-signal data, and determining the effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data.

[0067] In step S12, the optimal preset number is obtained, and then the sub-signal data obtained by decomposing the nuclear magnetic resonance logging data according to the optimal preset number is the optimal sub-signal data. It should be noted that the sub-signal data is a plurality of sub-signals. For example, K=3, it decomposes the nuclear magnetic resonance logging data into 3 sub-signal data, and the 3 sub-signal data are used as the optimal sub-signal data. When K=1, it is divided into 1 sub-signal data, which is the nuclear magnetic resonance logging data without decomposition. Since the signal-to-noise ratio of the nuclear magnetic resonance logging data is relatively low, its K=1 does not solve any problem, and therefore, the present invention does not consider the case of K=1.

[0068] Select valid sub-data from the optimal sub-signal data for reconstruction to achieve the purpose of data noise reduction. The selection method can be based on the comparison between the sub-signal data and the threshold. When it is greater than the threshold, the corresponding sub-signal data is the valid sub-data. The specific value obtained by performing a certain algorithm on the optimal sub-signal data can also be compared with the threshold. The present invention does not make specific restrictions, as long as the valid sub-data can be obtained.

[0069] When the optimal sub-signal data all meet the conditions of the selection method, the optimal sub-signal data is valid sub-data. If not all the conditions of the selection method are met, part of the optimal sub-signal data is valid sub-data.

[0070] S14: Accumulate the effective sub-data to obtain the denoised nuclear magnetic resonance logging data.

[0071] After the effective sub-data are obtained in step S13, the effective sub-data are accumulated to obtain the denoised NMR logging data. It is understandable that the accumulated data can be accumulated according to the weight method, can be accumulated in parallel, or can be accumulated according to other accumulation forms. The present invention does not make specific limitations, as long as the denoised data can be obtained. It should be noted that, in combination with the above-mentioned example of 500 NMR logging data, the data obtained after accumulation is still 500, and the data length is the same.

[0072] The present invention provides a method for denoising nuclear magnetic resonance logging data, which decomposes the nuclear magnetic resonance logging data into multiple preset numbers to obtain corresponding sub-signal data, determines error difference data based on the sub-signal data and the nuclear magnetic resonance logging data, selects the preset number corresponding to the maximum error difference data of the multiple error difference data as the optimal preset number, and the sub-signal data obtained by decomposing the optimal preset number is the optimal sub-signal data, and determines the effective sub-data based on the relationship with the nuclear magnetic resonance logging data, and accumulates the effective sub-data to obtain the denoised nuclear magnetic resonance logging data. The method selects the optimal preset number to decompose the nuclear magnetic resonance logging data according to the optimal preset number to obtain the optimal sub-signal data, obtains the effective sub-data based on the optimal sub-signal data and accumulates them to complete the denoising of the nuclear magnetic resonance logging data. The problem of low inversion accuracy caused by the low signal-to-noise ratio of nuclear magnetic resonance logging data in unconventional reservoirs is avoided, and the signal-to-noise ratio of nuclear magnetic resonance logging data is improved, thereby improving the inversion accuracy.

[0073] On the basis of the above embodiment, the step S11 decomposes the NMR logging data into sub-signal data corresponding to the preset numbers according to the preset numbers, including:

[0074] According to each preset number, the nuclear magnetic resonance logging data is subjected to Fourier transformation and Lagrange multiplier method to obtain each current iteration data;

[0075] Obtain each current iteration data and each previous current iteration data and perform relative error calculation to obtain each current error data;

[0076] Determine whether each current error data is greater than a preset error data;

[0077] If yes, return to the step of performing Fourier transform and Lagrange multiplier method on the nuclear magnetic resonance logging data according to each preset number to obtain each current iteration data;

[0078] If not, each current iteration data is used as each sub-signal data.

[0079] Specifically, the nuclear magnetic resonance logging data is set to f(t), and the specific formula is as follows:

[0080] f(t)=f0(t)+ε(t)

[0081] Where f0(t) is the theoretically collected data and ε(t) is the noise term.

[0082] Set the preset number as K, and decompose the NMR logging data. The decomposition formula is as follows:

[0083]

[0084] Among them, y k(t) is the kth sub-signal after decomposition.

[0085] Setting k is the center frequency of the kth sub-signal after decomposition, and the specific steps are as follows:

[0086] initialization and λ, with the initial number of iterations being i = 0, ξ = 10 -5 ; Calculate the Fourier transform of NMR logging data f(t) Let i = i + 1, and calculate for all ω ≥ 0, the current iteration data is obtained by the following formula:

[0087]

[0088]

[0089]

[0090] in, for The Fourier transform of Yes j The Fourier transform of (t), is i (t), λ(t) is the Lagrange multiplication operator, and α is the quadratic penalty factor.

[0091] It should be noted that the above formula only obtains the current iteration data. At this time, it is necessary to obtain the previous current iteration data and calculate the current error data based on the relative error between two adjacent iterations. The current error data provided in this embodiment are obtained for different K values, not for multiple iteration data for one K value. The relative error data ζ is obtained by the following formula:

[0092]

[0093] Determine whether the relative error data corresponding to each preset number is greater than the preset error data ξ. If it is greater, the current result is not satisfied and the iterative loop continues. If it is less than or equal to, the loop iteration can be exited and the current iterative data is used as the decomposition result (sub-signal data).

[0094] The present embodiment provides for decomposing the NMR logging data into sub-signal data corresponding to each preset number according to each preset number, and transforming the collected time domain data into frequency domain according to Fourier transform to obtain multiple sub-signal data for subsequent denoising.

[0095] On the basis of the above embodiment, the step S12 of determining the difference data of each error according to each sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number includes:

[0096] Calculating square errors between each sub-signal data and the nuclear magnetic resonance logging data to obtain square error data corresponding to each preset number;

[0097] Obtain the current square error data and the next current square error data and perform subtraction to obtain the error difference data;

[0098] Count the difference data of each error and select the maximum error difference data;

[0099] The preset number corresponding to the next current square error data corresponding to the maximum error difference data is used as the optimal preset number.

[0100] Specifically, the sub-signal data decomposed by each preset number are obtained, and the square error data χ of the sub-signal data and the nuclear magnetic resonance logging data corresponding to each preset number (K ​​value) are calculated. K , the formula is as follows:

[0101]

[0102] In the formula, x n Represents the nth value of the sum of all sub-data after decomposition, Represents the nth value in the original measurement data.

[0103] After obtaining each square error data, obtain the current square error data and the next current square error data, and perform a difference to obtain the square error difference data, that is, obtain the square error data corresponding to the current preset number K=ii and the square error data corresponding to the next current preset number K=ii+1. For example, there are 9 different preset numbers (K=2, 3...10), the current preset number is K=2, and the next current preset number is K=3.

[0104] Subtract the square errors corresponding to two adjacent preset numbers to obtain the error difference data δ ii , count the difference data of each error and select the maximum error difference data. Get δ ii The location of the maximum value ii max , then the preset number corresponding to the next current square error data corresponding to the maximum error difference data is used as the optimal preset number, that is, K = ii max +1.

[0105] The embodiment of the present invention provides a method for determining the difference data of each error based on each sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number. The preset number when the optimal result of the nuclear magnetic resonance logging data decomposition is determined, so as to facilitate the subsequent decomposition of the sub-signal data obtained according to the optimal preset number.

[0106] Based on the above embodiment, determining effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data in step S13 includes:

[0107] Correlation coefficient data is obtained by calculating the correlation coefficient between the optimal sub-signal data and the nuclear magnetic resonance logging data;

[0108] The average value data is obtained based on the correlation coefficient data;

[0109] The sub-signal data corresponding to the correlation coefficient data being greater than or equal to the average value data are selected as valid sub-data.

[0110] Specifically, the correlation coefficient r between the optimal sub-signal data and the nuclear magnetic resonance logging data is calculated k , the formula is as follows:

[0111]

[0112] In the formula, Represents x k and The covariance of Var[x k ] represents the variance of the kth sub-data after decomposition, Represents the variance of the original measurement data.

[0113] It can be understood that the optimal sub-signal data includes multiple sub-signal data, which is only the sub-signal data obtained under the optimal preset number, and its correlation coefficient has multiple. The correlation coefficient r is calculated. k The average value data E r , select the correlation coefficient r k Greater than or equal to the average value data E r The corresponding sub-signal data is taken as the effective sub-data.

[0114] The embodiment of the present invention provides a method for determining effective sub-data based on the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data, so as to facilitate reconstruction of the effective sub-data and achieve the purpose of data noise reduction.

[0115] Based on the above embodiment, the step S14 of accumulating the effective sub-data to obtain the denoised nuclear magnetic resonance logging data includes:

[0116] The effective sub-data are accumulated in parallel to obtain the denoised nuclear magnetic resonance logging data.

[0117] Specifically, the effective sub-data are accumulated in parallel to obtain the denoised NMR logging data x output Combining the above example of 500 NMR logging data, the data obtained after accumulation is still 500, and the data length is the same. The optimal preset number K = 3, and the effective sub-data is 2 sub-signal data. The first row and first column data of the 2 sub-signal data are accumulated to obtain the denoised NMR logging data x output The first row and first column of data.

[0118] The embodiment of the present invention provides a method for accumulating effective sub-data in parallel to obtain denoised nuclear magnetic resonance logging data, which facilitates subsequent feature processing of the denoised nuclear magnetic resonance logging data.

[0119] On the basis of the above embodiment, after accumulating the effective sub-data to obtain the denoised nuclear magnetic resonance logging data, the method further includes:

[0120] Output prompt information to perform feature processing on the denoised NMR logging data.

[0121] Specifically, the denoised nuclear magnetic resonance logging data is obtained, and a prompt message is output. The prompt message can be a voice broadcast of the denoising completion information, or the final denoised nuclear magnetic resonance logging data can be displayed in the current page dialog box, or the two can be combined. The present invention does not make specific limitations and can be set according to actual conditions. At the same time, the denoised nuclear magnetic resonance logging data is stored in a specific database for feature processing.

[0122] The output prompt information provided by the embodiment of the present invention is used to perform feature processing on the denoised nuclear magnetic resonance logging data.

[0123] The above describes in detail various embodiments corresponding to the method for denoising nuclear magnetic resonance logging data. On this basis, the present invention also discloses a device for denoising nuclear magnetic resonance logging data corresponding to the method for denoising nuclear magnetic resonance logging data. Figure 2 The structure diagram of a nuclear magnetic resonance logging data denoising device provided by an embodiment of the present invention. Figure 2 As shown, the denoising device for nuclear magnetic resonance logging data includes:

[0124] A decomposition module 11 is used to obtain nuclear magnetic resonance logging data and decompose the nuclear magnetic resonance logging data into sub-signal data corresponding to each preset number according to each preset number;

[0125] A selection module 12 is used to determine the difference data of each error according to each sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number;

[0126] A determination module 13 is used to use the sub-signal data obtained by decomposing the optimal preset number as the optimal sub-signal data, and determine the effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data;

[0127] The accumulation module 14 is used to accumulate the effective sub-data to obtain the denoised nuclear magnetic resonance logging data.

[0128] Since the embodiments of the device part correspond to the above embodiments, please refer to the description of the embodiments of the method part for the embodiments of the device part, and will not be repeated here.

[0129] The present invention provides a denoising device for nuclear magnetic resonance logging data, which decomposes the nuclear magnetic resonance logging data into multiple preset numbers to obtain corresponding sub-signal data, determines error difference data based on the sub-signal data and the nuclear magnetic resonance logging data, selects the preset number corresponding to the maximum error difference data of the multiple error difference data as the optimal preset number, and the sub-signal data obtained by decomposing the optimal preset number is the optimal sub-signal data, and determines the effective sub-data based on the relationship with the nuclear magnetic resonance logging data, and accumulates the effective sub-data to obtain the denoised nuclear magnetic resonance logging data. The device selects the optimal preset number to decompose the nuclear magnetic resonance logging data according to the optimal preset number to obtain the optimal sub-signal data, obtains the effective sub-data based on the optimal sub-signal data and accumulates them to complete the denoising of the nuclear magnetic resonance logging data. The problem of low inversion accuracy caused by the low signal-to-noise ratio of nuclear magnetic resonance logging data in unconventional reservoirs is avoided, the signal-to-noise ratio of nuclear magnetic resonance logging data is improved, and thus the inversion accuracy is improved.

[0130] Figure 3 A structural diagram of another nuclear magnetic resonance logging data denoising device provided by an embodiment of the present invention, such as Figure 3 As shown, the device comprises:

[0131] A memory 21, used for storing computer programs;

[0132] The processor 22 is used to implement the steps of the method for denoising nuclear magnetic resonance logging data when executing a computer program.

[0133] The nuclear magnetic resonance logging data denoising device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0134] Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and 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 awake 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 be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0135] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least used to store the following computer program 211, wherein, after the computer program is loaded and executed by the processor 22, the relevant steps of the denoising method of the nuclear magnetic resonance logging data disclosed in any of the aforementioned embodiments can be implemented. 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. Among them, 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 denoising method of the nuclear magnetic resonance logging data, etc.

[0136] In some embodiments, the denoising device for nuclear magnetic resonance logging data 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 .

[0137] Those skilled in the art can understand that Figure 3 The structure shown in the figure does not constitute a limitation on the apparatus for denoising nuclear magnetic resonance logging data, and may include more or less components than those shown in the figure.

[0138] The processor 22 implements the nuclear magnetic resonance logging data denoising method provided in any of the above embodiments by calling the instructions stored in the memory 21 .

[0139] The present invention provides a denoising device for nuclear magnetic resonance logging data, which decomposes the nuclear magnetic resonance logging data into multiple preset numbers to obtain corresponding sub-signal data, determines error difference data based on the sub-signal data and the nuclear magnetic resonance logging data, selects the preset number corresponding to the maximum error difference data of the multiple error difference data as the optimal preset number, and the sub-signal data obtained by decomposing the optimal preset number is the optimal sub-signal data, and determines the effective sub-data based on the relationship with the nuclear magnetic resonance logging data, and accumulates the effective sub-data to obtain the denoised nuclear magnetic resonance logging data. The device selects the optimal preset number to decompose the nuclear magnetic resonance logging data according to the optimal preset number to obtain the optimal sub-signal data, obtains the effective sub-data based on the optimal sub-signal data and accumulates them to complete the denoising of the nuclear magnetic resonance logging data. The problem of low inversion accuracy caused by the low signal-to-noise ratio of nuclear magnetic resonance logging data in unconventional reservoirs is avoided, the signal-to-noise ratio of nuclear magnetic resonance logging data is improved, and thus the inversion accuracy is improved.

[0140] Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 22, the steps of the above-mentioned method for denoising nuclear magnetic resonance logging data are implemented.

[0141] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially 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, and the computer software product is stored in a storage medium to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0142] For an introduction to a computer-readable storage medium provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. The computer-readable storage medium has the same beneficial effects as the above method for denoising nuclear magnetic resonance logging data.

[0143] As a preferred embodiment, a numerical simulation experiment is carried out to verify the denoising effect by taking one-dimensional nuclear magnetic resonance logging data as an example.

[0144] Figure 4A schematic diagram of constructing a double-peak T2 spectrum provided in an embodiment of the present invention, wherein the T2 values ​​corresponding to the two peaks are 5ms and 100ms respectively, and then a certain amount of Gaussian white noise is introduced into the forward modeling result to simulate echo string data with different signal-to-noise ratios (SNR).

[0145] Figure 5 A schematic diagram of echo train data with a signal-to-noise ratio of 10 provided in an embodiment of the present invention, Figure 6 A schematic diagram of an echo string data with a signal-to-noise ratio of 20 provided in an embodiment of the present invention, such as Figure 5 , Figure 6 As shown, the echo interval is 0.2ms and the number of echoes is 4096. Figure 7 A schematic diagram of decomposed data corresponding to a signal-to-noise ratio of 10 provided in an embodiment of the present invention, Figure 8 A schematic diagram of decomposed data corresponding to a signal-to-noise ratio of 20 provided in an embodiment of the present invention, Figure 7 and Figure 8 , the preset number is 3; Fig. 9 A schematic diagram of the denoising results of nuclear magnetic resonance logging data corresponding to a signal-to-noise ratio of 10 provided in an embodiment of the present invention, Fig.10 A schematic diagram of the denoising results of nuclear magnetic resonance logging data corresponding to a signal-to-noise ratio of 20 provided in an embodiment of the present invention is shown in FIG. Fig. 9 As shown in , the signal-to-noise ratio of the data after denoising is 29, as shown in Fig.10 As shown in Figure 2, the signal-to-noise ratio of the data after noise reduction is 55. Fig. 9 and Fig.10 It can be seen that the signal-to-noise ratio of the echo data after denoising is significantly improved.

[0146] The number of echo data was compressed to 150, and then the compressed echo data was inverted using the Levenberg-Marquardt (LM) method to obtain the nuclear magnetic resonance T2 spectra of different signal-to-noise ratio data before and after denoising. Fig.11 The inversion comparison diagram of the echo string data before and after denoising corresponding to a signal-to-noise ratio of 10 provided in an embodiment of the present invention is as follows: Fig.11 As shown, the black solid line represents the constructed T2 spectrum model, the long and short dashed lines represent the T2 spectrum without denoising and inversion, and the same dashed line represents the T2 spectrum inverted after denoising according to the data denoising method provided by the present invention. Fig.12 The inversion comparison diagram of the echo string data before and after denoising corresponding to a signal-to-noise ratio of 20 provided in an embodiment of the present invention is as follows: Fig.12 As shown, the black solid line represents the constructed T2 spectrum model, the long and short dashed lines represent the T2 spectrum without denoising and inversion, and the same dashed line represents the T2 spectrum inverted after denoising according to the data denoising method provided by the present invention. Fig.11 , Fig.12It can be seen that the inverted T2 spectrum after denoising is closer to the constructed model, which can illustrate that the data denoising method provided by the present invention effectively improves the signal-to-noise ratio of nuclear magnetic resonance logging data, thereby improving the inversion accuracy.

[0147] The above is a detailed introduction to a method for denoising nuclear magnetic resonance logging data, a device for denoising nuclear magnetic resonance logging data, and a medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

[0148] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for denoising nuclear magnetic resonance logging data, characterized in that: include: Acquire the nuclear magnetic resonance logging data and decompose the nuclear magnetic resonance logging data into sub-signal data corresponding to the preset numbers according to the preset numbers; Determine the difference data of each error according to each of the sub-signal data and the nuclear magnetic resonance logging data to select the preset number corresponding to the maximum error difference data as the optimal preset number; The sub-signal data obtained by decomposing the optimal preset number are used as the optimal sub-signal data, and the effective sub-data are determined according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data; The effective sub-data are accumulated to obtain the denoised nuclear magnetic resonance logging data.

2. The method for denoising nuclear magnetic resonance logging data according to claim 1, characterized in that: Decomposing the nuclear magnetic resonance logging data into sub-signal data corresponding to the preset numbers according to the preset numbers includes: According to each of the preset numbers, the nuclear magnetic resonance logging data is subjected to Fourier transformation and Lagrange multiplier method to obtain each current iteration data; Obtaining each current iteration data and each previous current iteration data and performing relative error calculation to obtain each current error data; Determining whether each of the current error data is greater than a preset error data; If yes, return to the step of performing Fourier transform and Lagrange multiplier method on the nuclear magnetic resonance logging data according to the preset numbers to obtain each current iteration data; If not, each of the current iteration data is used as each of the sub-signal data.

3. The method for denoising nuclear magnetic resonance logging data according to claim 2, characterized in that: The step of determining the difference data of each error according to each of the sub-signal data and the nuclear magnetic resonance logging data to select a preset number corresponding to the maximum error difference data as the optimal preset number includes: Performing square error calculation on each of the sub-signal data and the nuclear magnetic resonance logging data to obtain each of the square error data corresponding to each preset number; Obtaining current square error data and next current square error data and performing subtraction to obtain error difference data; Counting the difference data of each error and selecting the difference data of the maximum error; The preset number corresponding to the next current square error data corresponding to the maximum error difference data is used as the optimal preset number.

4. The method for denoising nuclear magnetic resonance logging data according to claim 1, characterized in that: The determining of effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data comprises: Calculating the correlation coefficient between the optimal sub-signal data and the nuclear magnetic resonance logging data to obtain correlation coefficient data; Obtaining average value data according to the correlation coefficient data; The sub-signal data corresponding to the correlation coefficient data being greater than or equal to the average value data is selected as the valid sub-data.

5. The method for denoising nuclear magnetic resonance logging data according to claim 4, characterized in that: The step of accumulating the effective sub-data to obtain the denoised nuclear magnetic resonance logging data comprises: The effective sub-data are accumulated in parallel to obtain the denoised nuclear magnetic resonance logging data.

6. The method for denoising nuclear magnetic resonance logging data according to claim 5, characterized in that: After accumulating the effective sub-data to obtain the denoised nuclear magnetic resonance logging data, the method further includes: Output prompt information so as to perform feature processing on the denoised nuclear magnetic resonance logging data.

7. A denoising device for nuclear magnetic resonance logging data, characterized in that: include: A decomposition module, used for acquiring the nuclear magnetic resonance logging data and decomposing the nuclear magnetic resonance logging data into sub-signal data corresponding to each preset number according to each preset number; A selection module, used for determining each error difference data according to each of the sub-signal data and the nuclear magnetic resonance logging data to select a preset number corresponding to the maximum error difference data as the optimal preset number; A determination module, configured to use the sub-signal data obtained by decomposing the optimal preset number as the optimal sub-signal data, and determine the effective sub-data according to the relationship between the optimal sub-signal data and the nuclear magnetic resonance logging data; The accumulation module is used to accumulate the effective sub-data to obtain the denoised nuclear magnetic resonance logging data.

8. A denoising device for nuclear magnetic resonance logging data, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for denoising nuclear magnetic resonance logging data as claimed in any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for denoising nuclear magnetic resonance logging data according to any one of claims 1 to 6 are implemented.