Method and system for acquiring net inelastic gamma-ray spectrum of pulsed neutron element logging

By calculating the gradient and double-exponential function fit of the gamma time spectrum, the problem of difficulty in separating gamma ray signals in well logging in pulsed neutrons is solved, and net non-elastic gamma energy spectrum acquisition is achieved under unfixed descent time , improves the accuracy and resolution of well logging data.

CN119065019APending Publication Date: 2024-12-03BEIJING XINYUANHUAYOU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411187951.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When the existing pulsed neutron element well logging technology acquires net non-elastic gamma energy spectrum, due to unstable pulsed neutron emission and hardware limitations, the measurement data is unreliable and it is difficult to accurately separate the gamma ray signal.

Method used

By calculating the gradient of the gamma time spectrum, automatically identify the falling edge of the pulse, fit the gamma time spectrum using a double exponential function, solve the parameters and calculate the capture deduction coefficient, remove the capture gamma in the gamma energy spectrum, and obtain the net non-elastic gamma Energy spectrum.

Benefits of technology

When the pulsed neutron burst drop time is not fixed, the net non-elastic gamma energy spectrum can be accurately obtained, improving the resolution of the log data and the accuracy of elemental analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065019A_ABST
    Figure CN119065019A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of nuclear logging, in particular to a net inelastic gamma-ray spectrum acquisition method and system for pulsed neutron element logging. The method comprises the following steps: acquiring a gamma time spectrum, calculating the gradient of the gamma time spectrum to obtain the end time of a burst period, fitting the gamma time spectrum by using a double-exponential function according to the end time of the burst period, solving parameters of the double-exponential function, and calculating a capture deduction coefficient; and acquiring a gamma-ray energy spectrum, and removing capture gamma of the gamma-ray energy spectrum according to the capture deduction coefficient to obtain a net inelastic gamma-ray energy spectrum. Through the method, the net inelastic gamma-ray energy spectrum can be obtained when the falling time of pulsed neutron explosion is not fixed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of nuclear well logging, and in particular to a method, system and electronic equipment for acquiring a net inelastic gamma energy spectrum for pulsed neutron element well logging. Background Art

[0002] At present, in actual measurements based on pulsed neutron instruments, the gamma energy spectrum is usually collected by dividing the time gate. The gamma collected by the burst gate will definitely contain inelastic gamma and captured gamma. Usually, a part of the captured gamma energy spectrum is subtracted from the energy spectrum collected by the burst gate to obtain a clean inelastic gamma energy spectrum. For example, the deduction coefficient is calculated based on the hydrogen peak area, and the gamma time spectrum can be fitted using single exponential and double exponential functions to calculate the capture ratio to be deducted; or 6 deduction coefficients are calculated according to the divided energy levels to obtain a more accurate net inelastic gamma energy spectrum; or clean inelastic and captured energy spectra are obtained through simulation to calculate the inelastic and captured ratio in the total gamma energy spectrum. In order to obtain a clean inelastic energy spectrum, the above methods all need to pre-set the pulsed neutron emission stop time in the process of fitting the time spectrum. However, the actual pulsed neutron element logging instrument is limited by the hardware influence of the pulsed neutron generator. The emission of neutrons has rising and falling edges, and when the neutron emission is unstable, the fixed setting will lead to unreliable measurement data. Summary of the invention

[0003] In view of this, the present application proposes a method, system and electronic equipment for acquiring a net inelastic gamma energy spectrum of pulsed neutron element logging to solve the problems embodied in the above-mentioned background technology.

[0004] According to one aspect of the present application, a method for acquiring a net inelastic gamma spectrum of pulsed neutron element logging is provided, comprising the following steps:

[0005] Acquire a gamma time spectrum, and obtain the end time of the burst period by calculating the gradient of the gamma time spectrum;

[0006] According to the end time of the burst period, a double exponential function is used to fit the gamma time spectrum, and the parameters of the double exponential function are solved;

[0007] Calculate the total amount of captured gamma according to the parameters to obtain a capture deduction coefficient;

[0008] A gamma energy spectrum is obtained, and the captured gamma of the gamma energy spectrum is removed according to the captured subtraction coefficient to obtain a net inelastic gamma energy spectrum.

[0009] Furthermore, the step of acquiring the gamma energy spectrum and the gamma time spectrum and obtaining the end time of the burst period by calculating the gradient of the gamma time spectrum includes:

[0010] Acquire a gamma time spectrum, and calculate a gradient of the gamma time spectrum;

[0011] The pulse falling edge is automatically identified through the gradient change, and the end time t of the burst period is determined.

[0012] Furthermore, the double exponential function includes:

[0013] a first single exponential portion, wherein the first single exponential portion is a fast decay portion;

[0014] A second single exponential portion, wherein the second single exponential portion is a slow decay portion.

[0015] Furthermore, fitting the gamma time spectrum using a double exponential function according to the end time of the burst period to solve the parameters of the double exponential function includes:

[0016] Construct the double exponential function of the captured gamma time spectrum during the burst period, the formula is:

[0017]

[0018] The double exponential function of the captured gamma time spectrum during the capture period is constructed, and the formula is:

[0019]

[0020] The capture gamma time spectrum double exponential function of the capture period is iteratively fitted to solve the parameters of the double exponential function.

[0021] Among them, TS cap (x) represents the variation of captured gamma with time x, t is the end time of the burst period, t end is the end time of the capture period, τ fast and τ slow is the thermal neutron lifetime of the wellbore and formation, A fast and A slow are coefficients related to the wellbore and formation, fast and slow represent the fast decay part and the slow decay part respectively.

[0022] Further, the iterative fitting of the capture gamma time spectrum bi-exponential function of the capture period to solve the parameters of the bi-exponential function includes:

[0023] Set the split time point t from fast decay to slow decay interval ;

[0024] According to the segmentation time point, the fast decay part and the slow decay part of the capture period gamma time spectrum are initially fitted to calculate the fast decay parameter τ fast , A fast and the slow decay parameter τ slow , A slow ;

[0025] The update rate of the parameters is calculated, and the parameters are iteratively fitted and optimized until the update rate meets a predetermined threshold or reaches a maximum number of iterations, then the iteration is exited and the optimal parameters are retained.

[0026] Furthermore, the initial fitting and iterative fitting adopt LM algorithm, including:

[0027] Calculate the fast decay parameters of the initial fit. The pseudo code is:

[0028]

[0029] Calculate the slow decay parameters of the initial fit. The pseudo code is:

[0030]

[0031] Calculate the fast decay parameters of iterative fitting. The pseudo code is:

[0032]

[0033] τ fast =τ fast ′ ,A fast =A fast ′

[0034] Calculate the slow decay parameters of iterative fitting. The pseudo code is:

[0035]

[0036] τ slow =τ slow ′ ,A slow =A slow ′

[0037] Furthermore, the capture deduction coefficient is obtained by calculating the ratio of the total capture gamma of the burst gate to the total capture gamma of the capture gate, and the formula is:

[0038]

[0039] Where β is the capture deduction coefficient, t 2 is the start time of the capture gate.

[0040] Furthermore, the net inelastic gamma spectrum is calculated by subtracting β times the capture gamma spectrum of the capture gate from the gamma spectrum of the burst gate, and the formula is:

[0041]

[0042] Among them, ES net_ineis the net inelastic gamma spectrum, ES TW_Burst is the gamma spectrum of the burst gate, is the capture gamma spectrum of the capture gate.

[0043] The present application also provides a system for acquiring a net inelastic gamma spectrum for pulsed neutron element logging, comprising:

[0044] Gradient calculation module: used to obtain the gamma time spectrum, calculate the gradient, and automatically identify the falling edge of the pulse;

[0045] Parameter solving module: used to fit the gamma time spectrum using a double exponential function and solve the parameters of the double exponential function;

[0046] Capture deduction coefficient calculation module: used to calculate the capture deduction coefficient;

[0047] Net inelastic gamma spectrum calculation module: used to obtain the gamma spectrum and calculate the net inelastic gamma spectrum based on the capture deduction coefficient.

[0048] The present application also provides an electronic device, comprising:

[0049] processor;

[0050] a memory for storing processor-executable instructions;

[0051] Wherein, the processor is configured to implement the above-mentioned method for acquiring net inelastic gamma energy spectrum of pulse neutron element logging when executing the executable instructions.

[0052] Beneficial effects of this application:

[0053] The present application obtains a gamma time spectrum, calculates the gradient of the gamma time spectrum, obtains the end time of the burst period, fits the gamma time spectrum using a double exponential function according to the end time of the burst period, solves the parameters of the double exponential function, and calculates a capture deduction coefficient; obtains a gamma energy spectrum, removes the captured gamma of the gamma energy spectrum according to the capture deduction coefficient, and obtains a net inelastic gamma energy spectrum. The net inelastic gamma energy spectrum can be obtained when the fall time of a pulsed neutron burst is not fixed. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of a process of obtaining a net inelastic gamma spectrum of pulsed neutron element logging according to an embodiment of the present application;

[0055] Figure 2 This is a working principle diagram of a PSNT instrument according to an embodiment of the present application;

[0056] Figure 3 This is a schematic diagram of the gamma time spectrum fitting result of an embodiment of the present application;

[0057] Figure 4This is a schematic diagram of the element mass fraction results of an embodiment of the present application;

[0058] Figure 5 A system block diagram of a system for acquiring net inelastic gamma energy spectrum for pulsed neutron element logging according to an embodiment of the present application. DETAILED DESCRIPTION

[0059] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0060] Before further elaboration, the terminology of this application is explained:

[0061] Net inelastic gamma spectrum: clean inelastically scattered gamma spectrum;

[0062] Burst period: neutron pulse burst period;

[0063] Capture period: The neutron pulse capture period is the part after the neutron pulse burst ends;

[0064] Outbreak gate: Outbreak period time gate, that is, the time gate set during the outbreak period;

[0065] Capture gate: capture period time gate, that is, the time gate set during the capture period.

[0066] Among them, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application or simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0067] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0068] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0069] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0070] The solution of this application is applied in the field of nuclear well logging technology. By calculating the net inelastic gamma spectrum, it can provide a more accurate and reliable data basis for the subsequent measurement of element content. This method not only improves the resolution of well logging data, but also effectively separates and identifies different types of gamma ray signals, thereby improving the accuracy of formation element analysis and resource assessment.

[0071] Example 1

[0072] Figure 1 The flowchart of the method for obtaining the net inelastic gamma energy spectrum of pulsed neutron element logging according to one embodiment of the present application is shown. By using this method, the net inelastic gamma energy spectrum can be obtained when the fall time of the pulsed neutron burst is not fixed. Figure 1 , the flow chart includes:

[0073] Step S100, obtaining a gamma energy spectrum and a gamma time spectrum, and obtaining the end time of the burst period by calculating the gradient of the gamma time spectrum.

[0074] Specifically, the steps include:

[0075] Step S110, obtaining a gamma time spectrum, and calculating a gradient of the gamma time spectrum.

[0076] Specifically, the pulsed neutron full spectrum saturation logging tool is used to obtain the gamma time spectrum, see Figure 2 The pulsed neutron spectrum saturation logging tool (PNST) mainly consists of a pulsed neutron generator and three detectors, such as Figure 2 (1) As shown in the figure, the time gate used to collect gamma rays is designed based on the emission timing of the pulsed neutron generator. The gamma rays collected in the burst gate mainly come from inelastic scattering and radiation capture, while the gamma rays collected in the capture gate mainly come from radiation capture, as shown in Figure 2 (2) and 24 element standard spectra were established based on the PNST instrument. They were obtained from the calibration well measurement and Monte Carlo simulation, including the inelastic standard spectrum, the capture standard spectrum and the instrument background spectrum, such as Figure 2 (3) as shown.

[0077] Optionally, the gamma time spectrum input for calculating the gradient may be a 100 μs time spectrum.

[0078] Step S120, automatically identifying the pulse falling edge through the gradient change, and determining the end time t of the burst period.

[0079] Through the above steps, the pulse falling edge can be automatically identified, so as to obtain a clean inelastic gamma spectrum when the falling time of the pulsed neutron burst is not fixed.

[0080] Step S200: fitting the gamma time spectrum using a double exponential function according to the end time of the burst period, and solving the parameters of the double exponential function.

[0081] Specifically, the detected captured gamma comes from the borehole and the formation. The borehole is generally filled with water, which has a strong ability to moderate neutrons. Therefore, neutrons decay faster in the borehole than in the formation. Therefore, the distribution of captured gamma over time after the neutron burst can be regarded as consisting of fast decay and slow decay. The double exponential function is used to describe the gamma time spectrum of the burst period and the capture period, respectively, and iterative fitting is performed.

[0082] The double exponential function is composed of two single exponential functions, which respectively describe the fast decay part and the slow decay part. The first single exponential function is used to describe the fast decay part, and the second single exponential function is used to describe the slow decay part.

[0083] Specifically, the steps include:

[0084] Step S210, constructing a double exponential function of the captured gamma time spectrum during the burst period.

[0085] Specifically, the double exponential function of the captured gamma time spectrum during the burst period is:

[0086]

[0087] Among them, TS cap (x) represents the variation of captured gamma with time x, t is the end time of the pulse burst, τ fast and τ slow is the thermal neutron lifetime of the wellbore and formation, A fast and A slow are coefficients related to the wellbore and formation, fast and slow represent the fast decay part and the slow decay part respectively.

[0088] Step S220: constructing a gamma time spectrum double exponential function of the capture period.

[0089] Specifically, the double exponential function of the capture gamma time spectrum during the capture period is:

[0090]

[0091] Among them, TS cap(x) represents the variation of captured gamma with time x, t is the end time of the pulse burst, t end is the end time of the capture period, τ fast and τ slow is the thermal neutron lifetime of the wellbore and formation, A fast and A slow are coefficients related to the wellbore and formation, fast and slow represent the fast decay part and the slow decay part respectively.

[0092] Step S230, iteratively fitting a double exponential function of the capture gamma time spectrum of the capture period to solve the parameters of the double exponential function.

[0093] Specifically, the steps include:

[0094] Step S231, setting the split time point t from fast decay to slow decay interval =t+n.

[0095] Specifically, set a time node t interval , which is used to divide the fast decay and slow decay parts.

[0096] Step S232, according to the segmentation time point, initially fitting the fast decay part and the slow decay part of the capture period gamma time spectrum respectively, and calculating the fast decay parameter τ fast , A fast and the slow decay parameter τ slow , A slow .

[0097] Optionally, the Levenberg-Marquardt (LM) algorithm is used to perform segmented fitting on the double exponential function of the capture period gamma time spectrum, that is, the fast decay part and the slow decay part are fitted separately to calculate the initial fast decay parameter τ fast , A fast and the slow decay parameter τ slow , A slow .

[0098] Among them, the calculation pseudo code of the initial fast decay parameter is:

[0099]

[0100] The calculation pseudo code of the initial slow decay parameters is:

[0101]

[0102] Step S233, calculating the update rate of the parameters, and iteratively fitting and optimizing the parameters, until the update rate meets a predetermined threshold or reaches a maximum number of iterations, then exiting the iteration and retaining the optimal parameters.

[0103] Optionally, the Levenberg-Marquardt (LM) algorithm is used to iteratively fit the double exponential function of the capture period gamma time spectrum, comprising the following steps:

[0104] Step a, set the maximum number of iterations to 100.

[0105] Step b, iterate and update the fast decay parameter τ fast , A fast and the slow decay parameter τ slow , A slow .

[0106] Among them, the calculation pseudo code for iteratively updating the fast decay parameter is:

[0107]

[0108] τ fast =τ fast ′ ,A fast =A fast ′

[0109] The calculation pseudo code for iteratively updating the slow decay parameters is:

[0110]

[0111] τ slow =τ slow ′ ,A slow =A slow ′

[0112] Step c, determine the exit condition: when Max(r 1 ,r 3 ,r 3 ,r 4 )<ε or the maximum number of iterations is reached, the iteration is exited and the optimal parameters are retained.

[0113] Among them, ε is the predetermined threshold; r 1 ,r 3 ,r 3 ,r 4 is the update rate of the parameter, and the formula is:

[0114] r 1 =τ fast / τ fast '

[0115] r 2 =A fast / A fast '

[0116] r 3 =τ slow / τ slow '

[0117] r 4 =A slow / A slow '

[0118] Through the above steps, the use of a double exponential function for fitting can separate different decay processes and improve the fitting accuracy.

[0119] Step S300, calculating the total captured gamma according to the parameters to obtain a captured deduction coefficient.

[0120] Specifically, the parameters calculated in the above steps are used to integrate the double exponential function of the captured gamma time spectrum of the burst gate and the double exponential function of the captured gamma time spectrum of the capture gate, respectively, to obtain the total captured gamma of the burst gate and the total captured gamma of the capture gate, and then the ratio of the total captured gamma of the burst gate to the total captured gamma of the capture gate is calculated, that is, the capture deduction coefficient β, and the formula is as follows:

[0121]

[0122] Among them, 0 and t are the start time and end time of the burst gate, t 2 and t end The start and end time of the capture gate.

[0123] By calculating the capture subtraction coefficient, it can be ensured that the characteristics of the captured gamma-ray signals in different time gates are correctly processed.

[0124] Step S400, obtaining a gamma energy spectrum, removing the captured gamma according to the captured subtraction coefficient, and obtaining a net inelastic gamma energy spectrum.

[0125] Specifically, the gamma energy spectrum is obtained using a pulsed neutron full spectrum saturation logging tool, and the net inelastic gamma energy spectrum is obtained by subtracting β times the captured gamma energy spectrum collected by the capture gate from the gamma energy spectrum collected by the burst gate. The formula is as follows:

[0126]

[0127] Among them, ES net_ine is the net inelastic gamma spectrum, ES TW_Burst is the gamma spectrum of the burst gate, is the capture gamma spectrum of the capture gate.

[0128] Since the gamma energy spectrum collected by the burst gate includes the inelastic gamma energy spectrum and the captured gamma energy spectrum, the captured gamma energy spectrum collected by the burst gate can be removed through the above steps to obtain a clean inelastic gamma energy spectrum, that is, a net inelastic gamma energy spectrum.

[0129] Example 2

[0130] Based on the same principle as the above method, a specific implementation method of a method for obtaining net inelastic gamma spectrum of pulsed neutron element logging in complex metamorphic rocks is proposed, including the following steps:

[0131] Step A, using EL100 instrument to measure gamma time spectrum and gamma energy spectrum in a well of Bohai Oilfield.

[0132] Specifically, the well is located in a region of Bohai Sea, China, and the case study area is complex metamorphic rocks with diverse elemental and mineral compositions.

[0133] Step B: Use the LM algorithm to fit the gamma time spectrum to obtain the capture subtraction coefficient, thereby obtaining the net inelastic gamma energy spectrum.

[0134] Specifically, see Figure 3 , Figure 3 The fitting results of the gamma time spectrum at a certain depth are shown. The fitting results are analyzed as shown in Table 1, where R2 is used to evaluate the quality of the fitting curve, the closer to 1 the better; the relative error describes the relative difference between the actual gamma time spectrum and the fitting result; the capture deduction coefficient β is calculated by using the parameters obtained by fitting to describe the distribution of captured gamma over time during the burst period. The average deduction coefficient obtained for 5357 samples in this case section is 0.319. Subtract β times the captured gamma energy spectrum from the gamma energy spectrum of the burst gate to obtain the net inelastic gamma energy spectrum.

[0135] Table 1 Error analysis of fitting gamma time spectrum

[0136] R2 Relative error (%) β The average value of 5357 samples 0.9788 1.08 0.3190

[0137] Step C, combining the results of inelastic gamma spectroscopy and captured gamma spectroscopy to obtain the optimal element content, and comparing the results with the results of X-ray fluorescence spectrometry (XRF).

[0138] Specifically, based on the net inelastic gamma spectrum obtained in the previous step, the pseudo-capture method was used to calculate the mass fractions of carbon and magnesium using the silicon content solved by capture as a bridge. Then, the obtained mass fractions of formation elements were compared with the XRF results. The mean absolute error (MAE) is shown in Table 2, which only lists the elements with a content greater than 1% in the formation.

[0139] Table 2 Mean absolute error (MAE)

[0140] element Si Ca Al Fe Mean absolute error (%) 2.38 0.76 0.38 0.93 element K Ti Na Mg Mean absolute error (%) 0.71 0.16 0.35 0.65

[0141] Since silicon in igneous rocks is primarily associated with quartz, the higher the quartz content, the more acidic the rock. As the silicon dioxide content decreases, the other oxidation changes can be divided into three categories: sodium oxide and potassium oxide gradually decrease, ferrous oxide and magnesium oxide increase, and aluminum oxide and calcium oxide increase at first and then decrease. Figure 4 , Figure 4 Track 1 shows the gamma spectrum obtained by measurement, and tracks 2-9 show the mass fractions of the corresponding elements, where the filled line is the mass fraction obtained by the net inelastic gamma spectrum acquisition method of pulsed neutron element logging, and the black dots are the mass analysis obtained by the XRF method. It can be observed that as the silicon content is relatively low, the potassium and sodium contents decrease to a certain extent, and the iron and magnesium contents increase relatively. In the depth section of this embodiment, the contents of quartz, potassium feldspar and sodium feldspar are relatively high, accounting for more than 70%, so the accuracy of the dry weight of silicon, potassium, sodium and aluminum elements is extremely important. It can be seen from the area in the figure that the average absolute errors of silicon, potassium, sodium and aluminum obtained using the net inelastic gamma spectrum acquisition method of pulsed neutron element logging proposed in this application are 2.38%, 0.71%, 0.35% and 0.38% respectively, among which the silicon content is higher in the formation, so its error is relatively larger.

[0142] Through the above steps, it can be found that the parameter accuracy of the time spectrum fitting method of the net inelastic gamma spectrum acquisition method of pulsed neutron element logging proposed in this application is high, with an average R2 of 0.9788 and an average relative error of 1.08%, indicating that a good net inelastic gamma spectrum can be obtained. At the same time, the element content calculated by this method is in good agreement with the XRF result, with a relative error of less than 3%, proving the reliability of the method.

[0143] Example 3

[0144] Based on the same principle as the above method, a net inelastic gamma spectrum acquisition system for pulsed neutron element logging is also proposed, see Figure 5 , Figure 5 A net inelastic gamma spectrum acquisition system for pulsed neutron element logging according to an embodiment of the present application is shown, comprising:

[0145] The gradient calculation module 100 is used to obtain the gamma time spectrum, calculate the gradient, and automatically identify the falling edge of the pulse.

[0146] The parameter solving module 200 is used to fit the gamma time spectrum using a double exponential function and solve the parameters of the double exponential function.

[0147] The capture deduction coefficient calculation module 300 is used to calculate the capture deduction coefficient.

[0148] The net inelastic gamma energy spectrum calculation module 400 is used to obtain the gamma energy spectrum and calculate the net inelastic gamma energy spectrum according to the capture subtraction coefficient.

[0149] Obviously, those skilled in the art should understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned control methods. The modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by computing devices, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.

[0150] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned control methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated as: HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0151] Example 4

[0152] Furthermore, an electronic device is proposed, comprising:

[0153] processor;

[0154] a memory for storing processor-executable instructions;

[0155] The processor is configured to implement the method for acquiring the net inelastic gamma energy spectrum of pulsed neutron element logging of Example 1 when executing the executable instructions.

[0156] The electronic device of the embodiment of the present application includes a processor and a memory for storing processor executable instructions, wherein the processor is configured to implement the net inelastic gamma spectrum acquisition method of pulsed neutron element logging in embodiment 1 or 2 when executing the executable instructions.

[0157] It should be noted that the number of processors may be one or more. At the same time, the electronic device in the embodiment of the present application may also include an input device and an output device. The processor, memory, input device, and output device may be connected via a bus or in other ways, which are not specifically limited here.

[0158] The memory, as a computer-readable storage medium for implementing the method for acquiring the net inelastic gamma spectrum of pulsed neutron element logging, can be used to store software programs, computer executable programs, and various modules, such as: the program or module corresponding to the method for acquiring the net inelastic gamma spectrum of pulsed neutron element logging in the embodiment of the present application. The processor executes various functional applications and data processing of the electronic device by running the software programs or modules stored in the memory.

[0159] The input device can be used to receive input numbers or signals. The signal can be a key signal related to user settings and function control of the device / terminal / server. The output device can include a display device such as a display screen.

[0160] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for obtaining net inelastic gamma spectrum of pulsed neutron element logging. It is characterized in that The following steps are involved: Acquire a gamma time spectrum, and obtain the end time of the burst period by calculating the gradient of the gamma time spectrum; According to the end time of the burst period, a double exponential function is used to fit the gamma time spectrum, and the parameters of the double exponential function are solved; Calculate the total amount of captured gamma according to the parameters to obtain a capture deduction coefficient; A gamma energy spectrum is obtained, and the captured gamma of the gamma energy spectrum is removed according to the captured subtraction coefficient to obtain a net inelastic gamma energy spectrum.

2. The method for obtaining the net inelastic gamma spectrum of pulsed neutron element logging according to claim 1, It is characterized in that Obtaining a gamma energy spectrum and a gamma time spectrum, and obtaining the end time of the burst period by calculating the gradient of the gamma time spectrum, including: Acquire a gamma time spectrum, and calculate a gradient of the gamma time spectrum; The pulse falling edge is automatically identified through the gradient change, and the end time t of the burst period is determined.

3. The method for obtaining the net inelastic gamma spectrum of pulsed neutron element logging according to claim 1, It is characterized in that The double exponential function includes: a first single exponential portion, wherein the first single exponential function is a fast decay portion; A second single exponential portion, wherein the second single exponential portion is a slow decay portion.

4. The method for obtaining the net inelastic gamma spectrum of pulsed neutron element logging according to claim 3, It is characterized in that The method of fitting the gamma time spectrum using a double exponential function according to the end time of the burst period and solving the parameters of the double exponential function includes: Construct the double exponential function of the captured gamma time spectrum during the burst period, the formula is: The double exponential function of the captured gamma time spectrum during the capture period is constructed, and the formula is: The capture gamma time spectrum double exponential function of the capture period is iteratively fitted to solve the parameters of the double exponential function. Among them, TS cap (x) represents the variation of captured gamma with time x, t is the end time of the burst period, t end is the end time of the capture period, τ fast and τ slow is the thermal neutron lifetime of the wellbore and formation, A fast and A slow are coefficients related to the wellbore and formation, fast and slow represent the fast decay part and the slow decay part respectively.

5. The method for obtaining net inelastic gamma spectrum of pulsed neutron element logging according to any one of claim 4, It is characterized in that The iterative fitting of the capture gamma time spectrum double exponential function of the capture period to solve the parameters of the double exponential function includes: Set the split time point t from fast decay to slow decay interval ; According to the segmentation time point, the fast decay part and the slow decay part of the capture period gamma time spectrum are initially fitted to calculate the fast decay parameter τ fast , A fast and the slow decay parameter τ slow , A slow ; The update rate of the parameters is calculated, and the parameters are iteratively fitted and optimized until the update rate meets a predetermined threshold or reaches a maximum number of iterations, then the iteration is exited and the optimal parameters are retained.

6. The method for obtaining the net inelastic gamma spectrum of pulsed neutron element logging according to claim 5, It is characterized in that The initial fitting and iterative fitting adopt the LM algorithm, including: Calculate the fast decay parameters of the initial fit. The pseudo code is: Calculate the slow decay parameters of the initial fit. The pseudo code is: Calculate the fast decay parameters of iterative fitting. The pseudo code is: t fast =t fast ′,A fast =A fast ′ Calculate the slow decay parameters of iterative fitting. The pseudo code is: t slow =t slow ′,A slow =A slow ′。 7. The method for obtaining net inelastic gamma spectrum of pulsed neutron element logging according to any one of claims 1 to 6, It is characterized in that The capture deduction coefficient is obtained by calculating the ratio of the total capture gamma of the burst gate to the total capture gamma of the capture gate, and the formula is: Where β is the capture deduction coefficient, t 2 is the start time of the capture gate.

8. The method for obtaining the net inelastic gamma spectrum of pulsed neutron element logging according to claim 7, It is characterized in that The net inelastic gamma spectrum is calculated by subtracting β times the capture gamma spectrum of the capture gate from the gamma spectrum of the burst gate, and the formula is: Among them, ES net_ine is the net inelastic gamma spectrum, ES TW_Burst is the gamma spectrum of the burst gate, is the capture gamma spectrum of the capture gate.

9. A net inelastic gamma spectrum acquisition system for pulsed neutron element logging. It is characterized in that include: Gradient calculation module: used to obtain the gamma time spectrum, calculate the gradient, and automatically identify the falling edge of the pulse; Parameter solving module: used to fit the gamma time spectrum using a double exponential function and solve the parameters of the double exponential function; Capture deduction coefficient calculation module: used to calculate the capture deduction coefficient; Net inelastic gamma spectrum calculation module: used to obtain the gamma spectrum and calculate the net inelastic gamma spectrum based on the capture deduction coefficient.

10. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method for acquiring the net inelastic gamma energy spectrum of pulsed neutron element logging as described in any one of claims 1 to 8 when executing the executable instructions.