Shaft micro-annulus nondestructive measurement method based on nuclear magnetic resonance technology
Through nuclear magnetic resonance technology and neural network algorithm, the problem of invisibility and calculation error in the measurement of micro-annulus at the cement sheath-formation interface in shale oil and gas wells has been solved, the accurate detection and prediction of micro-annulus in the wellbore has been achieved, and the cement sheath has been improved. seal integrity and wellbore production stability.
Patent Information
- Application Number
- CN202410831263.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-01
AI Technical Summary
It is difficult to accurately measure and predict the micro-annulus width at the cement sheath-formation interface in shale oil and gas wells with existing technology, resulting in damage to the integrity of the wellbore seal, and existing methods suffer from problems of invisibility and calculation errors.
Using non-destructive measurement methods based on nuclear magnetic resonance technology, combined with neural network algorithms, through cyclic load tests and nuclear magnetic resonance experiments on shale and cement stone samples, the equivalent thickness of the micro-annulus was calculated, and the full life cycle sealing of the cement sheath was established. Quantitative analysis model of completeness.
It achieves accurate non-destructive detection and prediction of wellbore micro-annulus, improves the sealing integrity of the cement sheath, and reduces the risk of wellbore seal failure and production costs.
Smart Images

Figure CN118731085A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a non-destructive measurement method of a wellbore micro-annulus based on nuclear magnetic resonance technology, and in particular to a quantitative analysis method for calculating the equivalent thickness of a cement sheath-formation annulus and the sealing integrity of a cement sheath throughout its life cycle based on a neural network. Background Art
[0002] Oil shale (also known as kerogen) is a high-ash mineral containing combustible organic matter. It is formed by fragments of higher and lower plants and animals (algae and animal remains and a small number of animal remains), doped with 50-80% of minerals. During the process of diagenesis and coalification, it is transformed into solid combustible organic rock. Through low-temperature distillation, shale oil can be obtained. The oil content of oil shale is greater than 3.5%, which is an unconventional oil and gas resource. The rich resources and development and utilization of oil shale are considered to be an important mining energy in the 21st century. It is a non-renewable fossil energy.
[0003] In the process of shale oil and gas extraction, cement slurry needs to be injected around the wellbore to form a cementing ring. The cementing ring is the core barrier that supports the casing, isolates the oil, gas and water layers, and ensures the sealing integrity of the wellbore. It runs through the entire life cycle of oil and gas wells, including drilling, completion, reservoir transformation, and oil and gas extraction. [1] . Shale oil reservoirs are characterized by low porosity and low permeability, and conventional mining methods cannot meet the commercial production needs of crude oil. Multistage fracturing of horizontal wells has been widely used in shale oil production as a reservoir transformation measure that can significantly increase the production of low-porosity, low-permeability tight shale oil and gas reservoirs. However, this method will seriously threaten the sealing integrity of the cement sheath. In the multistage fracturing operation of deep horizontal wells of shale oil and gas, the internal pressure of the horizontal casing can reach 120MPa and the downhole temperature can reach 130℃. Not only that, the internal pressure and temperature of the casing always rise and fall more than 20 times. Cyclic fracturing loads are applied to the inner surface of the casing, squeezing the inner surface of the cement sheath. The casing-cement sheath assembly undergoes plastic deformation under the first load, and residual strain appears after unloading. As the multistage fracturing proceeds, the residual strain continues to accumulate and develop, thereby increasing the tangential stress of the cement sheath inner interface. When it exceeds the cement sheath-formation bonding strength, it will destroy the sealing integrity of the cement sheath and cause micro-annuli, and even cause gas leakage.
[0004] Micro annulus refers to the tiny gap formed at the cement sheath-formation interface during cementing, production or subsequent operations due to the different components of the cementing sealing system, the different properties of the components, and the influence of changes in external environmental conditions such as temperature and pressure. Its size is generally less than 0.1mm. [2]The cement sheath-formation interface bonding is relatively weak in itself, and is also affected by the coupling of changes in external temperature, pressure and other conditions, making it easier to form micro annuli. When there is a micro gap of 0.01 mm at the cement sheath interface, annular air channeling may occur, which may cause annular pressure and interlayer channeling, increase the cost of wellhead monitoring and pressure relief, and reduce production. In severe cases, the well needs to be shut down, or even the well group may be scrapped, causing great harm to the integrity of the oil and gas well.
[0005] Due to the invisibility of the underground and the influence of the high-pressure environment, there is currently no good method for measuring the width of the microannulus, and there is little research on the critical value of the width of the cement sheath-formation microannulus. At present, many scholars recognize that reducing the elastic modulus is the most effective way to protect the integrity of the cement sheath. However, if the elastic modulus of the cement jacket is reduced by adding special additives alone, the cementing cost will increase significantly. Therefore, it is necessary to establish a calculation method for the equivalent thickness of the microannulus at the cement sheath-formation interface, and predict the equivalent thickness of the wellbore microannulus based on many engineering parameters, so as to improve the life-long sealing integrity of the cement sheath in underground oil and gas well engineering.
[0006] At present, many scholars at home and abroad have conducted theoretical research on wellbore microannulus and proposed a method for measuring the width of wellbore microannulus. [1] A simulation test device and simulation test method for cement ring micro-annulus are proposed. Ultrasonic imagers are set on both sides of the wellbore to scan the wellbore cement ring and wall surface, and the bonding condition of cement and the wall is obtained in a visual form to determine whether micro-annulus is generated. Huang Zhiqiang et al. [2] A method for measuring the size of the micro-annulus at the first cementing interface is proposed. By introducing gas into the cementing interface one by one, the temperature, upper and lower pressures, and gas flow rate of the micro-annulus at each cementing interface are collected, and the width of the gap at the first cementing interface is calculated. [3] A method for quantitatively predicting micro-annulus of cement ring is proposed. The geometric model of casing-cement ring-formation combination is established by finite element software, and the possibility and size of micro-annulus of cement ring are quantitatively predicted.
[0007] In summary, the existing research methods of micro-annuli mainly include setting up devices to measure or establish a three-dimensional model of the expansion of micro-annuli at the cement ring interface during fracturing, and analyzing and calculating. However, the existing technology has the following two shortcomings: 1. The underground environment is invisible, and the actual environment may not be the same as the expected environment, which leads to a large discrepancy between the results measured by the equipment and the actual situation; 2. The method of establishing a three-dimensional model of the expansion of micro-annuli at the cement ring interface during fracturing cannot quantitatively predict the size of the micro-annuli at the interface when the cement ring undergoes plastic compaction; 3. The method of establishing an elastic-plastic analysis model of the casing-cement ring-formation combination based on the Mohr-Coulomb criterion cannot describe the compaction characteristics of the cement ring, and its calculation results may have certain errors.
[0008] Therefore, this paper proposes a non-destructive measurement method for wellbore micro-annulus based on nuclear magnetic resonance technology. The results are equivalently calculated through nuclear magnetic resonance experiments to obtain the equivalent thickness of the wellbore micro-annulus. It involves a quantitative analysis method based on neural networks to calculate the equivalent thickness of the cement sheath-formation annulus and the sealing integrity of the cement sheath throughout its life cycle.
[0009] References
[0010] [1] Jin Jianzhou, Liu Zishuai, Xu Ming, et al. Simulation test device and simulation test method for cement ring micro-annulus[P]. Beijing: CN201710192740.3, 2017-07-04.
[0011] [2] Huang Zhiqiang, Huang Peng, Yang Huanqiang, et al. A method for measuring the size of micro-annulus at the first interface of cementing[P]. Hubei Province: CN201910701256.8, 2023-04-18.
[0012] [3] Xie Shiyuan, Wu Yanxian, Zhang Hao, et al. A method for quantitatively predicting micro-annulus of cement ring[P]. Beijing: CN202211165857.X, 2024-04-02. Summary of the invention
[0013] In order to overcome the difficulties of the above-mentioned prior art, the purpose of the present invention is to provide a non-destructive measurement method for wellbore micro-annuli based on nuclear magnetic resonance technology. Using nuclear magnetic resonance technology, the equivalent thickness of the micro-annuli at the interface of cement ring-formation in oil and gas well engineering is non-destructively tested, which solves the problem that the micro-annuli cannot be measured through engineering practice. Based on the neural network algorithm, the calculation model of the equivalent width of the wellbore micro-annuli is trained, and the calculation method of the equivalent thickness of the micro-annuli at the interface of cement ring-formation is established. The equivalent thickness of the wellbore micro-annuli under different conditions is predicted by engineering parameters.
[0014] To achieve the above object, the present invention adopts the following technical solutions:
[0015] A non-destructive measurement method of wellbore micro-annulus based on nuclear magnetic resonance technology comprises the following steps:
[0016] The first step is to drill shale samples from the shale reservoir of the drilling and completion project, and process the rock samples into three cylindrical shale samples with a diameter of 25mm and a height of 50mm in accordance with the engineering industry standards, numbered 1#, 2#, and 3# respectively. Prepare a mold with a diameter of 25mm and a height of 50mm, and inject the cement slurry currently used to prepare the cement sheath of the drilling and completion project into the mold. After the cement slurry solidifies, the sample is cured at room temperature. After the curing is completed, the cement stone is taken out and numbered 1#, 2#, and 3# respectively.
[0017] In the second step, the shale samples and cement stone samples were placed in a triaxial pressure testing machine for cyclic loading tests. A confining pressure (equal to the formation confining pressure value at the current engineering depth) was applied to the samples, and a cyclic load was applied. The upper limit of the cyclic load was the maximum internal pressure during the multi-stage fracturing process, and the lower limit of the cyclic load was 2MPa. The loading and unloading rates were both multi-stage fracturing loading and unloading rates, and the number of cycles was 8 times, which was used for sample preparation.
[0018] In the third step, the nuclear magnetic resonance experiment calculates the T2 spectrum and porosity by measuring the concentration of fluid hydrogen protons in the rock pores. Therefore, before conducting the nuclear magnetic resonance experiment, the rock must be fully saturated with water to ensure that the rock pores are full of liquid. Considering that shale is relatively dense, before saturation with water, the two samples are first vacuumed to completely expel the air in the pores. After that, deionized water is poured into the rock sample to ensure that the ions in the liquid will not affect the nuclear magnetic resonance experiment. A certain saturation pressure is applied to the rock sample to make the sample fully saturated with water. After the saturation is completed, the sample is taken out, the free water on the surface is wiped off, and the nuclear magnetic resonance experiment is carried out.
[0019] The fourth step is to wipe off the free water on the surface of the sample, put the sample into the holder of the NMR equipment, turn on the NMR equipment, conduct the NMR experiment, and output the T2 spectra of different samples. Through the conversion coefficient calculation, the sample pore size distribution content map is obtained.
[0020] The fifth step is to perform area integration on the pore size distribution content diagram, and the integration result is the porosity P1 and P2 of the shale and cement stone samples. Take the average value of three samples of the same rock sample to obtain the porosity P1 and P2 of the shale and cement stone samples, and organize and record them.
[0021] Step 6: Cut the shale sample vertically from the middle into two semi-cylinders of the same size. Prepare the same mold with a diameter of 25 mm and a height of 50 mm, put one of the semi-cylinder shale samples in it, and inject the same cement slurry into the other half. After the cement slurry solidifies, it is cured at room temperature. After the curing is completed, the mold is removed and the cement stone-shale sample is taken out. Prepare 3 cement stone-shale samples in the same way.
[0022] In the seventh step, the cement stone-shale samples are placed in a triaxial pressure testing machine in sequence, and the same confining pressure and cyclic load as in the second step are applied to the samples for sample preparation.
[0023] Step 8: Repeat the process from step 3 to step 5 to obtain the pore size distribution content diagram of three cement stone-shale cylindrical samples. Integrate them and take the average value of the three samples to obtain the porosity P0 of the cement stone-shale sample, and record them.
[0024] Step 9: Figure 2 As shown in the figure, the theoretical porosity of the cement-shale sample formed after cementation should be (P1+P2) / 2, while the porosity P0 actually measured by NMR is greater than (P1+P2) / 2. The reason is that during the curing and solidification process of the cement stone, the cementing surface in contact with the shale is not perfectly fitted, but there are intermittent gaps. These gaps can be regarded as micro-annuli between the cement ring and the formation interface. It is precisely because of the existence of the cementing surface gaps that the measured porosity P0 is greater than the theoretical porosity (P1+P2) / 2.
[0025] Step 10: According to Figure 2 It can be seen that the difference between the theoretical porosity (P1+P2) / 2 and the measured porosity P0 is the porosity of the annular gap in the cement stone-shale sample, which is recorded as P A (Annulus). We can get:
[0026]
[0027] Step 11: Since the cementing surface gap is irregular, the shape of the cementing surface annulus cannot be obtained, and the length, thickness and other data of the cementing surface micro-annulus cannot be measured. Therefore, the micro-annulus is equivalently converted to a rectangular block sandwiched by two semi-cylindrical specimens, such as Figure 1 As shown in the figure, the height of the cuboid is the height of the cylindrical specimen h = 50 mm, the width is the diameter of the cylindrical specimen d = 2r = 25 mm, and the thickness is defined as the equivalent thickness t. By calculating the equivalent thickness t, the micro-annular gap damage is identified.
[0028] At this time, the equivalent rectangular parallelepiped area is:
[0029] V A =t·h·2r
[0030] From the porosity, we can deduce that:
[0031] V A =V·P A =πr 2 ·h·P A
[0032] Where V is the volume of the cylindrical sample, that is, V = πr 2 ·h.
[0033] Combining the formula, we can get
[0034]
[0035] The above formula can be used to calculate the equivalent thickness of the micro-annulus on the cement stone-shale specimen bonding surface.
[0036] Step 12: Based on the rock formation data and engineering progress at the oil and gas well engineering site, establish the relationship between the cement sheath sealing integrity coefficient over the entire life cycle and the equivalent thickness of the wellbore micro-annulus:
[0037] D = f(t)
[0038] Through the above formula, the sealing integrity parameters of the cement sheath in the entire life cycle of oil and gas well engineering are obtained, which are used to judge the real-time sealing integrity of the cement sheath.
[0039] Step 13: During the multi-stage fracturing process of the wellbore, cyclic loading becomes the main cause of the micro-annulus in the wellbore. In addition, factors such as the number of cyclic loading, the upper and lower limits of cyclic loading, formation temperature, formation confining pressure, and cement slurry system may also become factors that affect the generation of micro-annulus in the wellbore. Therefore, the range of variation of each parameter can be preliminarily determined based on the analysis of the field data of oil and gas well engineering. After obtaining the upper and lower limits of the range of variation of each parameter, the step size is selected, and the numerical value is determined for calculation based on the actual parameter combination at the engineering site.
[0040] Step 14: Calculate based on the large number of parameter combinations in step 13 to obtain a data set of factors affecting the formation of micro-annulus in the wellbore, organize and record them. Figure 4 Shown
[0041] In the fifteenth step, the BP neural network algorithm is used to train the wellbore micro-annulus equivalent width calculation model. The BP neural network is a multi-layer feedforward network that reversely propagates error information based on the gradient steepest descent method to achieve the learning purpose. Its learning process includes two stages: forward propagation of input information and reverse adjustment of error information. In the forward propagation stage, the input information is transmitted from the input layer to the output layer step by step through the hidden layer. If the expected output is not obtained in the output layer, the output error will be reversely propagated layer by layer until it reaches the input layer. Along the way, the error is gradually minimized by modifying the connection weights and thresholds between neurons in each layer. The forward propagation of information and the reverse adjustment of errors are performed alternately until the network output error is reduced to the preset error range, or the preset number of learning times is reached.
[0042] In the sixteenth step, the trained BP neural network model is deployed on the cloud. The user inputs the actual parameter value on the client side and sends the parameter value to the wellbore micro-annulus equivalent width calculation model on the cloud side. Finally, the wellbore micro-annulus equivalent width calculation model on the cloud side obtains the wellbore micro-annulus equivalent width calculation result and sends it to the client side for reception by the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 The experimental flow chart of the detection method of the present invention is
[0044] Figure 2 The equivalent diagram of cement stone-shale cementation micro-annulus
[0045] Figure 3 Flowchart for the realization of equivalent thickness of micro-annulus in wellbore based on neural network algorithm
[0046] Figure 4 Generate a flowchart for the dataset
[0047] Figure 5 BP neural network result diagram
[0048] Figure 6 BP neural network training process diagram DETAILED DESCRIPTION
[0049] The method of the present invention is described in detail below with reference to the accompanying drawings.
[0050] According to the principle of nuclear magnetic resonance, the nuclear magnetic resonance spectrum of low-field nuclear magnetic resonance can reflect the relaxation attenuation process of H atoms in the fluid between pores and cracks, so different pore structure distributions can be obtained through surface relaxation signals. For the test fluid in the sample pores, according to the principle, it can be divided into three different relaxation mechanisms: free relaxation, surface relaxation and diffusion relaxation. Therefore, the T2 transverse relaxation time of the fluid in the sample can be expressed as:
[0051]
[0052] Where, T2 is the transverse relaxation time, ms; T 2S 、T 2D and T 2B and represent the surface transverse relaxation time, diffusion relaxation time and bulk relaxation time, respectively, in ms.
[0053] T 2B It is determined by the physical properties of the fluid and environmental factors, such as fluid viscosity, temperature and pressure, and has nothing to do with the pores themselves. 2D Affected by the diffusion of the liquid in the pores, its size can be expressed as:
[0054]
[0055] Where γ is the spin magnetic ratio of the hydrogen nucleus, rad / (s·T); G is the effective gradient of the magnetic field, T / μm; T E is the echo interval of CPMG pulse sequence, ms; D is the effective diffusion coefficient, μm 2 / ms.
[0056] When the fluid in the pores is water and the magnetic field gradient is approximately zero, the transverse relaxation time of the porous medium is only related to the pore structure and is mainly affected by the surface relaxation mechanism, and is approximately independent of the other two types of relaxation mechanisms. According to the surface relaxation expression:
[0057]
[0058] Where ρ2 is the transverse relaxation strength of the rock surface, which is related to the physical properties of the rock, μm / ms; S / V is the ratio of pore surface area to fluid volume, S is the pore surface area, μm 2 ; V is the pore volume, μm 3 ; F S is the shape factor, dimensionless; r is the pore radius, μm.
[0059] Under the action of the surface relaxation mechanism, the nuclear magnetic signal appears as a multi-exponential decay signal. Each size of pore in the rock has its own characteristic relaxation time T2. Therefore, the spin echo train recorded by the CPMG sequence is not the decay of a single T2 value, but the distribution of T2 values, which can be expressed by the following formula:
[0060]
[0061] Where, M(t) is the magnetization vector (signal strength) at time t; M i (0) is the initial magnetization vector (signal intensity) of the i-th component (pore); T 2i is the transverse relaxation time constant of the ith component (pores).
[0062] The process of calculating the relaxation time constants of various pores and the signal intensity contributed by the pores from the multi-exponential decay curve obtained by sampling is called inversion. The transverse relaxation time T2 of the fluid in the porous medium is proportional to the pore size. The larger the pore size, the greater the porosity. Therefore, the transverse relaxation time T2 is positively correlated with the porosity. The different positions of the T2 spectrum reflect the different relaxation times of fluids with different pore sizes in the rock. The T2 spectrum curve can directly reflect the number and size of pores in the rock. The T2 value is positively correlated with the pore size. The larger the T2 value, the larger the pore size. The T2 spectrum area is positively correlated with the number of pores. The larger the spectrum area, the more pores there are.
[0063] A non-destructive measurement method of wellbore micro-annulus based on nuclear magnetic resonance technology comprises the following steps:
[0064] The first step is to drill shale samples from the shale reservoir of the drilling and completion project, and process the rock samples into 5 cylindrical shale samples with a diameter of 25mm and a height of 50mm in accordance with the engineering industry standards, numbered 1#, 2#, 3#, 4#, and 5# respectively. Prepare a mold with a diameter of 25mm and a height of 50mm, and inject the cement slurry currently used to prepare the cement sheath casing of the drilling and completion project into the mold. After the cement slurry solidifies, cure the sample at room temperature. After the curing is completed, take out the cement stone and mark it as 1#, 2#, 3#, 4#, and 5# respectively.
[0065] In the second step, the shale samples and cement stone samples were placed in a triaxial pressure testing machine for cyclic loading tests. A confining pressure (equal to the formation confining pressure value at the current engineering depth) was applied to the samples, and a cyclic load was applied. The upper limit of the cyclic load was the maximum internal pressure during the multi-stage fracturing process, and the lower limit of the cyclic load was 2MPa. The loading and unloading rates were both multi-stage fracturing loading and unloading rates, and the number of cycles was 8 times, which was used for sample preparation.
[0066] In the third step, the nuclear magnetic resonance experiment calculates the T2 spectrum and porosity by measuring the concentration of fluid hydrogen protons in the rock pores. Therefore, before conducting the nuclear magnetic resonance experiment, the rock must be fully saturated with water to ensure that the rock pores are full of liquid. Considering that shale is relatively dense, before saturation with water, the two samples are first vacuumed to completely expel the air in the pores. After that, deionized water is poured into the rock sample to ensure that the ions in the liquid will not affect the nuclear magnetic resonance experiment. A certain saturation pressure is applied to the rock sample to make the sample fully saturated with water. After the saturation is completed, the sample is taken out, the free water on the surface is wiped off, and the nuclear magnetic resonance experiment is carried out.
[0067] The fourth step is to wipe off the free water on the surface of the sample, put the sample into the holder of the NMR equipment, turn on the NMR equipment, conduct the NMR experiment, and output the T2 spectra of different samples. Through the conversion coefficient calculation, the sample pore size distribution content map is obtained.
[0068] The fifth step is to perform area integration on the pore size distribution content diagram, and the integration result is the porosity P1 and P2 of the cement stone and shale samples. Take the average value of three samples of the same rock sample to obtain the porosity P1 and P2 of the cement stone and shale samples, and organize and record them.
[0069] Step 6: Cut the shale sample vertically from the middle into two semi-cylinders of the same size. Prepare the same mold with a diameter of 25 mm and a height of 50 mm, put one of the semi-cylinder shale samples in it, and inject the same cement slurry into the other half. After the cement slurry solidifies, it is cured at room temperature. After the curing is completed, the mold is removed and the cement stone-shale sample is taken out. Prepare 5 cement stone-shale samples in the same way.
[0070] In the seventh step, the cement stone-shale samples are placed in a triaxial pressure testing machine in sequence, and the same confining pressure and cyclic load as in the second step are applied to the samples for sample preparation.
[0071] Step 8: Repeat the process from step 3 to step 5 to obtain the pore size distribution content diagram of 5 cement stone-shale cylindrical samples. Integrate it and take the average value of the 5 samples to obtain the porosity P0 of the cement stone-shale sample, and record it.
[0072] Step 9: Figure 2 As shown in the figure, the theoretical porosity of the cement-shale sample formed after cementation should be (P1+P2) / 2, while the porosity P0 actually measured by NMR is greater than (P1+P2) / 2. The reason is that during the curing and solidification process of the cement stone, the cementing surface in contact with the shale is not perfectly fitted, but there are intermittent gaps. These gaps can be regarded as micro-annuli between the cement ring and the formation interface. It is precisely because of the existence of the cementing surface gaps that the measured porosity P0 is greater than the theoretical porosity (P1+P2) / 2.
[0073] Step 10: According to Figure 2 It can be seen that the difference between the theoretical porosity (P1+P2) / 2 and the measured porosity P0 is the porosity of the annular gap in the cement stone-shale sample, which is recorded as P A (Annulus). We can get:
[0074]
[0075] Step 11: Since the cementing surface gap is irregular, the shape of the cementing surface annulus cannot be obtained, and the length, thickness and other data of the cementing surface micro-annulus cannot be measured. Therefore, the micro-annulus is equivalently converted to a rectangular block sandwiched by two semi-cylindrical specimens, such as Figure 1As shown in the figure, the height of the cuboid is the height of the cylindrical specimen h = 50 mm, the width is the diameter of the cylindrical specimen d = 2r = 25 mm, and the thickness is defined as the equivalent thickness t. By calculating the equivalent thickness t, the micro-annular gap damage is identified.
[0076] At this time, the equivalent rectangular parallelepiped area is:
[0077] V A =t·h·2r
[0078] From the porosity, we can deduce that:
[0079] V A =V·P A =πr 2 ·h·P A
[0080] Where V is the volume of the cylindrical sample, that is, V = πr 2 ·h.
[0081] Combining the formula, we can get
[0082]
[0083] The above formula can be used to calculate the equivalent thickness of the micro-annulus on the cement stone-shale specimen bonding surface.
[0084] Step 12: Based on the rock formation data and engineering progress at the oil and gas well engineering site, establish the relationship between the cement sheath sealing integrity coefficient over the entire life cycle and the equivalent thickness of the wellbore micro-annulus:
[0085] D = f(t)
[0086] Through the above formula, the sealing integrity parameters of the cement sheath in the entire life cycle of oil and gas well engineering are obtained, which are used to judge the real-time sealing integrity of the cement sheath.
[0087] Step 13: During the multi-stage fracturing process of the wellbore, cyclic loading becomes the main cause of the micro-annulus in the wellbore. In addition, factors such as the number of cyclic loading, the upper and lower limits of cyclic loading, formation temperature, formation confining pressure, and cement slurry system may also become factors that affect the generation of micro-annulus in the wellbore. Therefore, the range of variation of each parameter can be preliminarily determined based on the analysis of the field data of oil and gas well engineering. After obtaining the upper and lower limits of the range of variation of each parameter, the step size is selected, and the numerical value is determined for calculation based on the actual parameter combination at the engineering site.
[0088] Step 14: Calculate based on the large number of parameter combinations in step 13 to obtain a data set of factors affecting the formation of micro-annulus in the wellbore, organize and record them. Figure 4 Shown
[0089] In the fifteenth step, the BP neural network algorithm is used to train the wellbore micro-annulus equivalent width calculation model. The BP neural network is a multi-layer feedforward network that reversely propagates error information based on the gradient steepest descent method to achieve the learning purpose. Its learning process includes two stages: forward propagation of input information and reverse adjustment of error information. In the forward propagation stage, the input information is transmitted from the input layer to the output layer step by step through the hidden layer. If the expected output is not obtained in the output layer, the output error will be reversely propagated layer by layer until it reaches the input layer. Along the way, the error is gradually minimized by modifying the connection weights and thresholds between neurons in each layer. The forward propagation of information and the reverse adjustment of errors are performed alternately until the network output error is reduced to the preset error range, or the preset number of learning times is reached.
[0090] The established BP neural network is shown in the attached Figure 5 As shown in the figure, it includes input layer, hidden layer and output layer. The input layer contains m neurons (m is the dimension of input parameters), the output layer contains 1 neuron, and the hidden layer of the network contains 20 neurons, where x1, x2, ..., x m is the input of the neural network, y is the output of the network, t is the target output of the output neuron, and e is the error of the output neuron.
[0091] In the forward propagation stage of the neural network input information, a sample p in the sample set is used to train the neural network, where x p is the input feature of sample p, t p is the output of sample p, then the output of the i-th neuron in the hidden layer under the action of sample p is:
[0092]
[0093] Among them, g(·) is the hidden layer activation function, which uses the sigmoid function.
[0094] Hidden layer output information Through the weight coefficient w ki Propagate forward and serve as one of the inputs of the kth neuron in the output layer. Then the cement ring stress output of the kth neuron in the output layer is:
[0095]
[0096] in, is the output layer activation function, and a linear activation function is used.
[0097] For sample p, the quadratic error function of cement sheath stress of the neural network is defined as:
[0098]
[0099] In order to make the BP neural network converge, based on the fastest gradient descent method, the weight coefficient of the neural network is adjusted according to the opposite direction of the error function gradient change. The calculation formula for the output layer weight coefficient adjustment is:
[0100]
[0101] Where η is the learning rate, which is generally selected to be between 0.01 and 0.1.
[0102] The correction formula for the weight coefficient of each neuron in the hidden layer is:
[0103]
[0104] w of any neuron k in the output layer when sample p acts on it ki The connection weight increment formula is:
[0105] w ki =w ki +Δw ki
[0106] w of any neuron i in the hidden layer when sample p acts on it ij The connection weight increment formula is:
[0107] w ij =w ij +Δw ij
[0108] The above forward propagation and weight reverse adjustment process is iterated continuously until the set iteration end condition is met, and the BP neural network training is completed, that is, the wellbore micro-annulus equivalent width calculation model is established. The specific neural network training process is shown in the attached Figure 6 .
[0109] In the sixteenth step, the trained BP neural network model is deployed on the cloud. The user inputs the actual parameter value on the client side and sends the parameter value to the wellbore micro-annulus equivalent width calculation model on the cloud side. Finally, the wellbore micro-annulus equivalent width calculation model on the cloud side obtains the wellbore micro-annulus equivalent width calculation result and sends it to the client side for reception by the user.
Claims
1. A non-destructive measurement method of wellbore micro-annulus based on nuclear magnetic resonance technology, characterized in that: The following steps are involved: The first step is to drill shale samples from the shale reservoir of the drilling and completion project, and in accordance with the engineering industry standards, process the rock samples into 5 cylindrical shale samples, numbered 1#, 2#, 3#, 4#, and 5# respectively; prepare a mold, and inject the cement slurry currently used to prepare the cement sheath of the drilling and completion project into the mold; after the cement slurry solidifies, cure the sample at room temperature; after the curing is completed, take out the cement stone; prepare 5 cement stone samples in the same way, and number them 1#, 2#, 3#, 4#, and 5# respectively; In the second step, the shale samples and cement stone samples were placed in a triaxial pressure testing machine in turn for a cyclic loading test. Confining pressure and cyclic load were applied to the samples. The upper limit of the cyclic load was the maximum internal pressure during the multi-stage fracturing process, and the lower limit of the cyclic load was 2 MPa. The loading and unloading rates were both the multi-stage fracturing loading and unloading rates. The number of cycles was 8, which was used for sample preparation. In the third step, the nuclear magnetic resonance experiment calculates the T2 spectrum and porosity by measuring the concentration of fluid hydrogen protons in the rock pores; before the nuclear magnetic resonance experiment, the rock is fully saturated with water to ensure that the rock pores are full of liquid; considering that shale is relatively dense, before saturation with water, the two samples are first vacuumed to completely expel the air in the pores; then, deionized water is poured into the rock samples to ensure that the ions in the liquid will not affect the nuclear magnetic resonance experiment; a certain saturation pressure is applied to the rock samples to make the samples fully saturated with water; after the saturation is completed, the samples are taken out, the free water on the surface is wiped off, and the nuclear magnetic resonance experiment is carried out; The fourth step is to wipe off the free water on the surface of the sample, put the sample into the holder of the NMR equipment, turn on the NMR equipment, conduct the NMR experiment, and output the T2 spectra of different samples; obtain the sample pore size distribution content map through conversion coefficient calculation; The fifth step is to perform area integration on the pore size distribution content diagram, and the integration result is the porosity P1 and P2 of the shale and cement stone samples; take the average value of 5 samples of the same rock sample to obtain the porosity P1 and P2 of the shale and cement stone samples, and organize and record them; Step 6: Cut the shale sample vertically from the middle into two semi-cylinders of the same size; prepare the same mold, put one of the semi-cylinder shale samples in it, and inject the same cement slurry into the other half; after the cement slurry solidifies, cure it at room temperature; after the curing is completed, remove the mold and take out the cement stone-shale sample; prepare 5 cement stone-shale samples in the same way; In the seventh step, the cement stone-shale samples are placed in a triaxial pressure testing machine in sequence, and the same confining pressure and cyclic load as in the second step are applied to the samples for sample preparation; Step 8: Repeat the process from step 3 to step 5 to obtain the pore size distribution content diagram of 5 cement stone-shale cylindrical samples; integrate them and take the average value of the 5 samples to obtain the porosity P0 of the cement stone-shale sample, and organize and record them; Step 9: The theoretical porosity of the cement-shale sample formed after cementation should be (P1+P2) / 2. The porosity P0 actually measured by NMR is greater than (P1+P2) / 2. The reason is that during the curing and solidification process, the cementing surface of the cement-shale contacting the cement is not perfectly fitted, but there are intermittent gaps. The gaps are regarded as micro-annuli between the cement ring and the formation interface. It is precisely because of the existence of the gaps on the cementing surface that the measured porosity P0 is greater than the theoretical porosity (P1+P2) / 2. Step 10: The difference between the theoretical porosity (P1+P2) / 2 and the measured porosity P0 is the porosity of the annular gap in the cement-shale sample, denoted as P. A ; we can get: Step 11: Since the cementing surface cracks are irregular, the shape of the cementing surface annulus cannot be obtained, and the length, thickness and other data of the cementing surface micro-annulus cannot be measured; the micro-annulus is equivalently converted to a rectangular block sandwiched by two semi-cylindrical specimens; the height of this rectangular block is the height of the cylindrical specimen, the width is the diameter of the cylindrical specimen, and the thickness is defined as the equivalent thickness t; by calculating the equivalent thickness t, the micro-annulus damage is judged; At this time, the equivalent rectangular parallelepiped area is: V A =t·h·2r From the porosity, we can deduce that: V A =V·P A =πr 2 ·h·P A Where V is the volume of the cylindrical sample, that is, V = πr 2 ·h; Combining the formula, we can get Calculate the equivalent thickness of micro-annulus on the cement-shale specimen bonding surface; Step 12: Based on the rock formation data and engineering progress at the oil and gas well engineering site, establish the relationship between the cement sheath sealing integrity coefficient over the entire life cycle and the equivalent thickness of the wellbore micro-annulus: D = f(t) Obtain the sealing integrity parameters of the cement sheath in the entire life cycle of oil and gas well engineering to determine the real-time sealing integrity of the cement sheath; Step 13: In the multi-stage fracturing process of the wellbore, the cyclic load, the number of cyclic loads, the upper and lower limits of the cyclic load, the formation temperature, the formation confining pressure, and the cement slurry system are the influencing factors that lead to the micro-annulus of the wellbore; based on the analysis of the field data of the oil and gas well engineering, the variation range of each parameter is preliminarily determined; after obtaining the upper and lower limits of the variation range of each parameter, the step length is selected, and the numerical value is determined for calculation according to the actual parameter combination at the engineering site; Step 14, calculate according to the parameter combination of step 13 to obtain a data set of factors affecting the formation of micro-annulus in the wellbore, organize and record; Step 15: Use BP neural network algorithm to train the wellbore micro-annulus equivalent width calculation model; BP neural network is a multi-layer feedforward network that reversely propagates error information based on the gradient steepest descent method to achieve the learning purpose. Its learning process includes two stages: forward propagation of input information and reverse adjustment of error information; In the forward propagation stage, the input information is transmitted from the input layer to the output layer through the hidden layer step by step; if the expected output is not obtained in the output layer, the output error will be back-propagated layer by layer until it reaches the input layer; along the way, the connection weights and thresholds between neurons in each layer are modified to gradually minimize the error; the information forward propagation and error reverse adjustment process are performed alternately until the network output error is reduced to the preset error range, or the preset number of learning times is reached; In the sixteenth step, the trained BP neural network model is deployed on the cloud. The user inputs the actual parameter value on the client side and sends the parameter value to the wellbore micro-annulus equivalent width calculation model on the cloud side. Finally, the wellbore micro-annulus equivalent width calculation model on the cloud side obtains the wellbore micro-annulus equivalent width calculation result and sends it to the client side for reception by the user.
2. The non-destructive measurement method of wellbore micro-annulus based on nuclear magnetic resonance technology according to claim 1 is characterized in that: In the fifteenth step, the BP neural network is established, which includes an input layer, a hidden layer and an output layer. The input layer contains m neurons, where m is the dimension of the input parameter. The output layer contains 1 neuron. The hidden layer of the network contains 20 neurons, where x1, x2, …, x m is the input of the neural network, y is the output of the network, t is the target output of the output neuron, and e is the error of the output neuron; In the forward propagation stage of the neural network input information, a sample p in the sample set is used to train the neural network, where x p is the input feature of sample p, t p is the output of sample p, then the output of the i-th neuron in the hidden layer under the action of sample p is: Among them, g(·) is the hidden layer activation function, which uses the sigmoid function; Hidden layer output information Through the weight coefficient w ki Propagate forward and serve as one of the inputs of the kth neuron in the output layer. Then the cement ring stress output of the kth neuron in the output layer is: in, is the output layer activation function, using a linear activation function; For sample p, the quadratic error function of cement sheath stress of the neural network is defined as: In order to make the BP neural network converge, based on the fastest gradient descent method, the weight coefficient of the neural network is adjusted according to the opposite direction of the gradient change of the error function; the calculation formula for the output layer weight coefficient adjustment is: Where η is the learning rate; The correction formula for the weight coefficient of each neuron in the hidden layer is: w of any neuron k in the output layer when sample p acts on it ki The connection weight increment formula is: In ki =in ki +Δw ki w of any neuron i in the hidden layer when sample p acts on it ij The connection weight increment formula is: In ij =in ij +Δw ij The forward propagation and weight reverse adjustment process is continuously iterated until the set iteration end condition is met, thus completing the training of the BP neural network, that is, establishing a wellbore micro-annulus equivalent width calculation model.
