A device and method for early monitoring of gas invasion in downhole based on oil-based drilling fluid

By designing an early detection device for downhole gas invasion in oil-based drilling fluids and using pressure change and pattern recognition technology, the problem of gas invasion monitoring in oil-based drilling fluids has been solved, and early warning of well kicks and safety assurance have been achieved.

CN115306375BActive Publication Date: 2024-10-01CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210863999.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-21
Publication Date
2024-10-01
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

Existing downhole gas invasion early monitoring devices are mainly suitable for water-based drilling fluids and cannot effectively monitor gas invasion in oil-based drilling fluids, resulting in an increased risk of kicks and blowout accidents. There is a lack of early gas invasion monitoring for oil-based drilling fluids. method.

Method used

An early detection device for downhole gas invasion based on oil-based drilling fluid is designed, including a small cavity, a large cavity, a piston, a temperature and pressure sensor and a stepper motor. By measuring changes in fluid pressure, pattern recognition is used to determine oil-based drilling. It determines whether the liquid contains dissolved gas, and calculates the gas solubility and type to achieve early monitoring and early warning of gas intrusion.

Benefits of technology

It achieves accurate monitoring of gas intrusion and type under oil-based drilling fluid conditions, provides early warning and data support for well kicks, and ensures the safety and efficiency of drilling operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115306375B_ABST
    Figure CN115306375B_ABST
Patent Text Reader

Abstract

The present invention relates to an early monitoring device and method for downhole gas invasion based on oil-based drilling fluid, comprising: a filter, a small cavity, a small piston, a small piston rod, a large cavity, a large piston, a large piston rod, a small piston temperature and pressure sensor, a large piston temperature and pressure sensor, a stepping motor, a wellbore-small cavity fluid one-way valve, a small cavity-large cavity fluid one-way valve, a large cavity-wellbore fluid one-way valve, a connecting control rod, a system power supply and a signal acquisition and processing digital circuit; by respectively measuring the changes in the pressure of the fluid entering the large cavity and the small cavity, a pressure monitoring curve is obtained, and based on pattern recognition, it is judged whether the oil-based drilling fluid contains dissolved gas, thereby judging whether there is gas invading the wellbore, and then calculating the gas solubility in the oil-based drilling fluid when the gas invasion occurs at this time and preliminarily judging the type of the invading gas, so as to achieve early warning and data support for well kick.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of drilling safety, and in particular to an underground gas invasion early monitoring device and method for drilling with oil-based drilling fluid. Background Art

[0002] In the process of oil development, wellbore pressure safety has always been a key issue restricting the progress of oil and gas development. Blowout accidents have caused serious impacts on production and the environment, and even serious casualties. At present, my country's drilling technology is relatively mature, but with the full launch of a new round of oil and gas reforms, oil and gas drilling will inevitably encounter complex factors such as narrow safety density operating windows, carbonate reservoirs with developed fractures, and high-temperature and high-pressure formations. The resulting well kicks and well leakage accidents will seriously threaten the safety and efficiency of drilling.

[0003] During the drilling process, pump failure, casing pressure reduction or drilling suction will cause the bottom hole pressure to be lower than the formation pressure, making the wellbore in an underbalanced state, which may cause gas invasion. The earlier the gas invasion is discovered, the more time the operation and management personnel will have to deal with it, and the less serious accidents will occur. Therefore, once gas invasion occurs underground, early detection is the top priority of underground gas invasion monitoring. Unlike water-based drilling fluid, when the drilling fluid in the wellbore is oil-based drilling fluid, under appropriate pressure and temperature conditions, the invading gas will dissolve in the oil-based drilling fluid to form dissolved gas. If the currently commonly used early gas invasion monitoring device in water-based drilling fluid is used, it cannot be detected in time and effectively, but in the process of dissolved gas moving from the overflow along the wellbore to the wellhead, as the pressure and temperature of the oil-based drilling fluid continue to decrease, gas will be precipitated to form free gas, resulting in well kicks, and even serious blowout accidents, affecting the safety of drilling operations.

[0004] The solubility of gas in oil-based drilling fluid is not only affected by temperature, pressure, and gas type, but also closely related to the composition of the oil. Since the changes in oil composition are very complex, there is currently no model that can well summarize the solubility of gas in oil under different oil compositions. Therefore, in order to simplify the calculation, the solubility of gas in oil is uniformly calculated using the following formula:

[0005]

[0006] In the formula, R so —Solubility of gas in oil, m 3 / m 3 ; A, B, D are constants.

[0007] a, b, c, n—related empirical coefficients, their values ​​are shown in Table 1.

[0008] Table 1

[0009]

[0010] Most of the current downhole gas invasion early monitoring devices are based on monitoring under water-based drilling fluid conditions. Since oil-based drilling fluid can dissolve gas, these water-based drilling fluid-based monitoring devices cannot monitor the early gas invasion of oil-based drilling fluid. Therefore, it is necessary to provide a device and method for downhole gas invasion early monitoring based on oil-based drilling fluid, which can realize downhole gas invasion early monitoring under oil-based drilling fluid conditions, and then calculate the gas solubility in the oil-based drilling fluid when gas invasion occurs and preliminarily determine the type of invading gas, so as to realize early warning and data support for well kick, and provide time and data for subsequent operators to complete well killing and other operations. Summary of the invention

[0011] In view of the shortcomings of the prior art, the present invention provides a device and method for early detection of gas intrusion in the well based on oil-based drilling fluid, which is used to monitor whether the gas has invaded into the wellbore annulus and preliminarily determine the type of invading gas, providing time and data support for subsequent operators, thereby preventing the occurrence of serious blowout accidents.

[0012] The technical solution of the present invention is:

[0013] A downhole gas invasion early detection device based on oil-based drilling fluid, the device is installed on the measuring short section of the bottom hole assembly, including: a filter, a small cavity, a small piston, a small piston rod, a large cavity, a large piston, a large piston rod, a small piston temperature and pressure sensor, a large piston temperature and pressure sensor, a stepper motor, a wellbore-small cavity fluid check valve, a small cavity-large cavity fluid check valve, a large cavity-wellbore fluid check valve, a connecting control rod, a system power supply and a signal acquisition and processing digital circuit;

[0014] The small cavity and the large cavity are both arranged in the wellbore and fixed at the bottom of the downhole drilling tool. The wellbore is filled with wellbore annulus oil-based drilling fluid. The small cavity-large cavity fluid one-way valve is arranged between the small cavity and the large cavity.

[0015] The small piston is arranged in the small cavity, the small piston is connected to the small piston rod, and the small piston is also equipped with a small piston temperature and pressure sensor;

[0016] The large cavity is provided with the large piston, the large piston is connected with the large piston rod, and the large piston is also equipped with a large piston temperature and pressure sensor;

[0017] The stepper motor is connected to the small piston rod and the large piston rod through a connecting control rod, and drives the small piston rod and the large piston rod to perform linear motion from bottom to top along the axial direction of the wellbore respectively;

[0018] The wellbore-small cavity fluid one-way valve is arranged at the lower end of the small cavity, and after the filter filters the oil-based drilling fluid in the wellbore annulus, the fluid enters the internal space of the small cavity through the opened wellbore-small cavity fluid one-way valve;

[0019] The large cavity-wellbore fluid one-way valve is arranged at the top of the large cavity, so that the fluid in the large cavity is discharged through the large cavity-wellbore fluid one-way valve;

[0020] The large piston temperature and pressure sensor and the small piston temperature and pressure sensor are both connected to the signal acquisition and processing circuit, and the signal acquisition and processing circuit and the stepper motor are both connected to the system power supply; the signal acquisition and processing circuit records, stores and analyzes the electrical signals converted from the monitoring values ​​by the sensors and uploads the data.

[0021] Preferably according to the present invention, the small cavity and the large cavity are both cylindrical.

[0022] Preferably, according to the present invention, the connecting control rod is made of a rigid material, and the middle portion is connected to a stepping motor to perform cyclic reciprocating motion along the axial direction of the wellbore.

[0023] Preferably, according to the present invention, the two ends of the connecting control rod are respectively connected to the tail of the small piston rod and the tail of the large piston rod, and the connecting control rod, the small piston and the large piston constitute a rigid mechanism, which are connected together to a stepper motor, and the stepper motor drives the small piston and the large piston to perform reciprocating motion along the axial direction of the wellbore.

[0024] Preferably according to the present invention, the diameter ratio of the large cavity to the small cavity is n:1, n≧10.

[0025] A method for early detection of downhole gas invasion based on oil-based drilling fluid is implemented by the downhole gas invasion early detection device. The downhole gas invasion early detection device completes a cycle every Ts, including the following steps:

[0026] By measuring the changes in the fluid pressure entering the large cavity and the small cavity respectively, the pressure monitoring curve is obtained. Based on pattern recognition, it is judged whether the oil-based drilling fluid contains dissolved gas, thereby judging whether there is gas invading the wellbore. Then, the gas solubility in the oil-based drilling fluid when gas invasion occurs is calculated and the type of invading gas is preliminarily judged.

[0027] Preferably, according to the present invention, the underground gas intrusion early detection device completes a cycle every Ts, including the following steps:

[0028] Within 0-T / 2s, the wellbore-small cavity fluid one-way valve and the large cavity-wellbore fluid one-way valve are opened, and the small cavity-large cavity fluid one-way valve is closed. The stepper motor drives the small piston and the large piston to move linearly from bottom to top in the small cavity and the large cavity respectively along the axial direction of the wellbore; the oil-based drilling fluid in the wellbore annulus is filtered by the filter and then enters the internal space of the small cavity through the opened wellbore-small cavity fluid one-way valve. The small piston temperature and pressure sensor monitors the pressure of the fluid inside the small cavity and uploads the pressure monitoring value of the fluid in the small cavity; at the same time, the crude oil-based drilling fluid in the large cavity returns to the wellbore annulus through the large cavity-wellbore fluid one-way valve;

[0029] Within T / 2-Ts, close the wellbore-small cavity fluid one-way valve and the large cavity-wellbore fluid one-way valve, open the small cavity-large cavity fluid one-way valve, and drive the small piston and the large piston to move linearly from top to bottom in the small cavity and the large cavity along the axial direction of the wellbore. The oil-based drilling fluid in the small cavity enters the internal space of the large cavity through the small cavity-large cavity fluid one-way valve. The large piston temperature and pressure sensor monitors the pressure of the fluid inside the large cavity and uploads it to form the fluid pressure monitoring value in the large cavity; completing one cycle.

[0030] A small cavity-large cavity fluid pressure monitoring curve is drawn based on the fluid pressure monitoring values ​​obtained by the small piston temperature and pressure sensor and the large piston temperature and pressure sensor. In the small cavity-large cavity pressure monitoring curve, the horizontal axis refers to the monitoring time of the small piston temperature and pressure sensor and the large piston temperature and pressure sensor on the fluid pressure in the cavity, and the vertical axis refers to the monitoring value of the fluid pressure in the cavity.

[0031] More preferably, T=10.

[0032] According to a preferred embodiment of the present invention, judging whether the oil-based drilling fluid contains dissolved gas based on pattern recognition, thereby judging whether there is gas invading the wellbore, and then calculating the gas solubility in the oil-based drilling fluid when gas invasion occurs and preliminarily judging the type of invading gas, includes the following steps:

[0033] Step 1: According to the PVT equation, the ratio of the fluid pressure value in the small cavity 042 to the fluid pressure value in the large cavity is n 2 : 1, thereby drawing the pressure value curve in the cavity; in the pressure value curve in the cavity, the horizontal axis refers to the time when the fluid flows through the small cavity and the large cavity, and the vertical axis refers to the value of the fluid pressure in the cavity; Step 2: Compare and analyze the small cavity-large cavity fluid pressure monitoring curve with the pressure value curve in the cavity.

[0034] Real-time monitoring of the fluid pressure value of the small cavity-large cavity. If there is no gas invading the wellbore, that is, the oil-based drilling fluid does not contain dissolved gas, the small cavity-large cavity fluid pressure monitoring curve corresponds to the ratio of the fluid pressure in the small cavity to the fluid pressure in the large cavity. That is, when the oil-based drilling fluid does not contain dissolved gas, the ratio of the fluid pressure monitoring value of the small cavity to the fluid pressure monitoring value of the large cavity is n. 2 : 1, thus judging that there is no gas invasion in the wellbore under the condition of oil-based drilling fluid at this time, no gas invasion has occurred, and returning to continue the early detection of gas invasion;

[0035] Monitor the small cavity-large cavity fluid pressure monitoring curve in real time. If gas invades the wellbore, that is, the oil-based drilling fluid contains dissolved gas, the small cavity-large cavity fluid pressure monitoring curve does not correspond to the fluid pressure ratio of the small cavity and the large cavity, and the fluid pressure monitoring value in the large cavity is monitored to increase suddenly. The sudden increase means that the low platform position in the small cavity-large cavity fluid pressure monitoring curve is higher than the low platform position formed by the previously measured pressure monitoring value; and the fluid pressure monitoring value in the large cavity is greater than the fluid pressure monitoring value in the large cavity when there is no dissolved gas, so it is judged that there is gas invasion in the wellbore under the oil-based drilling fluid condition at this time, and it is judged that gas invasion has occurred, and the process goes to step 3;

[0036] Step 3: Immediately provide gas intrusion warning feedback, and compare the real-time monitoring value curve of the small cavity-large cavity fluid pressure with the pressure curve inside the cavity. Through pattern recognition, preliminarily determine the type of gas invading the wellbore, and provide timely and accurate information to subsequent operators.

[0037] Further preferably, the type of gas invading the wellbore is preliminarily determined by pattern recognition, including:

[0038] The small cavity-large cavity fluid pressure monitoring curve formed by real-time monitoring is compared with the cavity pressure curve calculated by the empirical formula, and correction is performed based on the pressure monitoring value in the large cavity. Then, the pressure monitoring curve in the small cavity is compared with the calculated value of the small cavity pressure obtained by the empirical formula to preliminarily determine the type of invading gas.

[0039] The beneficial effects of the present invention are as follows:

[0040] Real-time monitoring of whether there is formation gas intrusion in the annulus of the wellbore under oil-based drilling fluid conditions and preliminary judgment of the type of intruding gas. In the early stage of gas invasion, it is possible to accurately judge whether there is formation gas invasion and its type, realize early monitoring of gas invasion, and provide sufficient time and data support for the preparation of subsequent well killing operations.

[0041] The device of the present invention has a simple structure. The main structure is two cavities with proportional diameters. The main structure is that two pistons of different sizes make reciprocating motions together to suck the oil-based drilling fluid in the wellbore annulus into the cavity and then discharge it. According to the PVT equation (PV=nRT), after the oil-based drilling fluid in the small cavity flows into the large cavity, the pressure of the oil-based drilling fluid in the large cavity decreases because the volume of the large cavity is larger than that of the small cavity. The key point is to utilize the characteristics of dissolved gas in the oil-based drilling fluid (pressure decreases, and gas precipitates after it is lower than the bubble point pressure). If the oil-based drilling fluid contains dissolved gas, the gas precipitated by the dissolved gas will generate a part of pressure, which will cause the oil-based drilling fluid pressure drop in the large cavity to decrease. Formula (1) is used to analyze and calculate the pressure values ​​corresponding to different invading gas types in the large cavity. Through pattern recognition, it can be judged that gas invasion has occurred in the well and the type of invading gas has occurred, so as to achieve early monitoring of gas invasion. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 Schematic diagram of a downhole gas invasion monitoring device for oil-based drilling fluid according to an embodiment of the present invention;

[0043] Figure 2 is a schematic diagram of the gas intrusion monitoring device according to an embodiment of the present invention when the volume of the small cavity is zero;

[0044] Figure 3 It is a schematic diagram of an intermediate moment in a certain cycle of the gas intrusion monitoring device according to an embodiment of the present invention;

[0045] Figure 4 2 is a schematic diagram of the gas intrusion monitoring device according to the embodiment of the present invention when the volume of the small cavity is at its maximum;

[0046] Figure 5 is a schematic diagram of a small cavity-large cavity pressure monitoring curve according to an embodiment of the present invention;

[0047] Figure 6 is a schematic diagram of a pressure curve in a cavity according to an embodiment of the present invention;

[0048] Figure 7 It is a specific implementation plan roadmap described in the implementation mode of the present invention.

[0049] 01. Wellbore annulus oil-based drilling fluid; 02. Small piston rod; 03. Small piston; 04. Small piston temperature and pressure sensor; 041. Fluid pressure monitoring value in small cavity; 042. Fluid pressure value in small cavity; 05. Small cavity; 06. Wellbore-small cavity fluid one-way valve; 07. Small cavity-large cavity fluid one-way valve; 08. Large cavity-wellbore fluid one-way valve; 09. Large cavity; 010. Large piston temperature and pressure sensor; 0101. Fluid pressure monitoring value in large cavity when there is no dissolved gas; 0102. Fluid pressure monitoring value in large cavity when there is dissolved gas; 0103. Fluid pressure value in large cavity when there is no dissolved gas; 0104. Fluid pressure value in large cavity when there is dissolved gas; 011. Large piston; 012. Large piston rod; 013. Connecting control rod; 014. Stepper motor; 015. Filter. DETAILED DESCRIPTION

[0050] The present invention will be further defined below in conjunction with the accompanying drawings and embodiments, but is not limited thereto.

[0051] The embodiments described below are only some embodiments of the present invention, not all embodiments; the specific implementation of the present invention described here is for explanation purposes only, and does not constitute a limitation of the present invention in any way. Based on the present invention, technicians can conceive possible variations or obtain other embodiments based on the present invention without making creative efforts, which should be regarded as the scope of the present invention.

[0052] The terms "vertical", "horizontal", "up", "down", "left", "right", "front", "back" and similar terms used in this article are only for explanation based on the given examples and do not limit other embodiments of the present invention.

[0053] Unless otherwise defined, scientific and technical terms used herein have the same meanings as commonly understood by one of ordinary skill in the art to which the present invention pertains.

[0054] Example 1

[0055] An early detection device for downhole gas invasion based on oil-based drilling fluid, such as Figure 1 As shown, the device is installed on the measuring short section of the bottom drilling tool assembly, including: filter 015, small cavity 05, small piston 03, small piston rod 02, large cavity 09, large piston 011, large piston rod 012, small piston temperature and pressure sensor 04, large piston temperature and pressure sensor 010, stepper motor 014, wellbore-small cavity fluid one-way valve 06, small cavity-large cavity fluid one-way valve 07, large cavity-wellbore fluid one-way valve 08, connecting control rod 013, system power supply and signal acquisition and processing digital circuit;

[0056] The small cavity 05 and the large cavity 09 are both arranged in the wellbore and fixed at the bottom of the downhole drilling tool. The wellbore is filled with wellbore annulus oil-based drilling fluid 01. A small cavity-large cavity fluid one-way valve 07 is arranged between the small cavity 05 and the large cavity 09.

[0057] A small piston 03 is arranged in the small cavity 05, a small piston rod 02 is connected to the small piston 03, and a small piston temperature and pressure sensor 04 is also installed on the small piston 03;

[0058] A large piston 011 is arranged in the large cavity 09, a large piston rod 012 is connected to the large piston 011, and a large piston temperature and pressure sensor 010 is also installed on the large piston 011;

[0059] The stepper motor 014 connects the small piston rod 02 and the large piston rod 012 via the connecting control rod 013, and drives the small piston rod 02 and the large piston rod 012 to perform linear motion from bottom to top along the axial direction of the wellbore;

[0060] The wellbore-small cavity fluid one-way valve 06 is arranged at the lower end of the small cavity 05. After the filter 015 filters the oil-based drilling fluid in the wellbore annulus, the oil-based drilling fluid enters the inner space of the small cavity 05 through the opened wellbore-small cavity fluid one-way valve 06;

[0061] The large cavity-wellbore fluid one-way valve 08 is arranged at the top of the large cavity 09, so that the fluid in the large cavity 09 is discharged through the large cavity-wellbore fluid one-way valve 08;

[0062] The large piston temperature and pressure sensor 010 and the small piston temperature and pressure sensor 04 are both connected to the signal acquisition and processing circuit, and the signal acquisition and processing circuit and the stepper motor 014 are both connected to the system power supply; the signal acquisition and processing circuit records, stores and analyzes the electrical signals converted from the monitoring values ​​by the sensors and uploads the data.

[0063] The present invention provides an early monitoring device for downhole gas invasion based on oil-based drilling fluid drilling. The large piston 011 and the small piston 03 in the large cavity 09 and the small cavity 05 of the device are respectively installed with a large piston temperature and pressure sensor 010 and a small piston temperature and pressure sensor 04. Since the presence or absence of dissolved gas in the oil-based drilling fluid has a significant impact on the pressure value of the fluid in the cavity, the pressure monitoring curve is obtained by measuring the change in the fluid pressure entering the large cavity 09 and the small cavity 05 respectively, and the oil-based drilling fluid is judged based on pattern recognition to determine whether it contains dissolved gas, thereby determining whether there is gas invading the wellbore, and then calculating the gas solubility in the oil-based drilling fluid when gas invasion occurs at this time and preliminarily determining the type of invading gas, so as to achieve early warning and data support for well kick. Through the above technical solution, the data such as the wellbore annular fluid pressure change signal obtained by the device is converted into an electrical signal by the sensor, and the digital circuit is used to record, store and analyze the uploaded data, and the measuring device is connected to the wellbore logging mud pulse device through the wellbore logging joint to upload the measured data to the ground in real time.

[0064] The function of the filter 015 is to filter the oil-based drilling fluid in the wellbore annulus before it enters the device to remove impurities such as fine rock cuttings, so as to avoid affecting the subsequent monitoring of the temperature and pressure sensor and causing blockage of the fluid channel inside the device.

[0065] Wellbore-small cavity fluid check valve 06 allows fluid to pass in one direction and only allows fluid to flow in one direction from the wellbore annulus to the small cavity 05. Small cavity-large cavity fluid check valve 07 allows fluid to pass in one direction and only allows fluid to flow in one direction from the small cavity 05 to the large cavity 09. Large cavity-wellbore fluid check valve 08 allows fluid to pass in one direction and only allows fluid to flow in one direction from the large cavity 09 to the wellbore annulus.

[0066] The fluid flow passage of the device of the present invention is: the fluid in the wellbore annulus flows into the small cavity 05 through the wellbore-small cavity fluid one-way valve 06, flows into the large cavity 09 through the small cavity-large cavity fluid one-way valve 07, and finally flows into the wellbore annulus through the large cavity-wellbore fluid one-way valve 08, thereby forming a complete flow passage of wellbore annulus-small cavity 05-large cavity 09-wellbore annulus. The sensitive element of the small piston temperature and pressure sensor 04 is in contact with the fluid in the space formed by the small piston 03 and the small cavity-large cavity fluid one-way valve 07. The sensitive element of the large piston temperature and pressure sensor 010 is in contact with the fluid in the space formed by the large piston 011 and the small cavity-large cavity fluid one-way valve 07.

[0067] Example 2

[0068] The difference between the downhole gas intrusion early detection device based on oil-based drilling fluid described in Example 1 is that:

[0069] The small cavity 05 and the large cavity 09 are both cylindrical.

[0070] The connecting control rod 013 is made of rigid material, and the middle part is connected to the stepping motor 014, so as to perform reciprocating motion along the axial direction of the wellbore.

[0071] The two ends of the connecting control rod 013 are respectively connected to the tail of the small piston rod 02 and the tail of the large piston rod 012, and the connecting control rod 013, the small piston 03 and the large piston 011 form a rigid mechanism, which are connected to the stepper motor 014 together. The stepper motor 014 drives the small piston 03 and the large piston 011 to perform reciprocating motion along the axial direction of the wellbore.

[0072] The diameter ratio of the large cavity 09 and the small cavity 05 is n:1, n≧10. That is, the ratio of the maximum volume of the small cavity 05 and the large cavity 09 is 1:n 2 According to the PVT equation, the ratio of the fluid pressure value 042 in the small cavity 05 to the fluid pressure value in the large cavity 09 is n 2 :1.

[0073] Example 3

[0074] A method for early detection of downhole gas intrusion based on oil-based drilling fluid is implemented by the downhole gas intrusion early detection device described in Example 1 or 2. The downhole gas intrusion early detection device completes a cycle every Ts, including the following steps:

[0075] By measuring the changes in the fluid pressure entering the large cavity 09 and the small cavity 05 respectively, the pressure monitoring curve is obtained. Based on pattern recognition, it is judged whether the oil-based drilling fluid contains dissolved gas, thereby judging whether there is gas invading the wellbore. Then, the gas solubility in the oil-based drilling fluid when gas invasion occurs is calculated and the type of invading gas is preliminarily judged.

[0076] Example 4

[0077] The difference between the method for early detection of gas intrusion in downhole based on oil-based drilling fluid described in Example 3 is that:

[0078] The downhole gas invasion early detection device completes a cycle every Ts, and obtains the pressure monitoring curve by measuring the changes in the fluid pressure entering the large cavity 09 and the small cavity respectively.

[0079] Figure 2 is a schematic diagram of the gas intrusion monitoring device according to an embodiment of the present invention when the volume of the small cavity is zero; Figure 3 It is a schematic diagram of an intermediate moment in a certain cycle of the gas intrusion monitoring device according to an embodiment of the present invention; Figure 4 Schematic diagram of the gas intrusion monitoring device according to the embodiment of the present invention when the volume of the small cavity is the largest; Figure 2 , Figure 3 and Figure 4The stepper motor 014 drives the small piston rod 02 and the large piston rod 012 through the connection control rod 013, and then drives the small piston 03 and the large piston 011 to perform a cyclic reciprocating motion along the axial direction of the wellbore. The design is that the stepper motor 014 drives the small piston 03 and the large piston 011 to move linearly from bottom to top along the axial direction of the wellbore until the large piston 011 contacts the bottom of the large cavity 09, so that the fluid in the large cavity 09 is completely discharged through the large cavity-wellbore fluid one-way valve 08. At the same time, the new fluid is filtered by the filter 015 and sucked into the small cavity 05 by the wellbore-small cavity one-way valve 06, and the time interval is 5s; then the stepper motor 014 drives the small piston 03 and the large piston 011 to move linearly from top to bottom along the axial direction of the wellbore until the small piston 03 contacts the bottom of the small cavity 05, so that the fluid in the small cavity 05 is completely discharged to the internal space of the large cavity 09 through the small cavity-large cavity fluid one-way valve 07, and the time interval is 5s. Thus, a cycle is formed, and the cycle time is 10s.

[0080] Combined with reference Figure 5 The small piston temperature and pressure sensor 04 and the large piston temperature and pressure sensor 010 designed by the present invention upload the fluid pressure monitoring values ​​in the small cavity 05 and the large cavity 09 at a time interval of 1s, and form a small cavity-large cavity fluid pressure monitoring curve through the signal acquisition digital processing circuit. When there is no dissolved gas in the oil-based drilling fluid, the fluid pressure value in the large cavity should be as shown by the fluid pressure monitoring value 0101 in the large cavity when there is no dissolved gas. When there is dissolved gas in the oil-based drilling fluid, the fluid pressure value in the large cavity should be as shown by the fluid pressure monitoring value 0102 in the large cavity when there is dissolved gas.

[0081] Combined with reference Figure 6 The cavity pressure value curve in the present invention is to infer the solubility of a certain gas type through the geometric relationship between the small cavity 05 and the large cavity 09, and then substitute the temperature value and the empirical parameters corresponding to the assumed gas into formula (1) to obtain the pressure value corresponding to the gas type inside the large cavity 09. Then, the corresponding pressure values ​​of gases such as CH4, CO2, C2H6, C3H8 are calculated one by one, and then combined with the above-mentioned small cavity-large cavity fluid pressure monitoring curve, the cavity pressure curve is drawn. The pressure value in the small cavity 05 is shown as the fluid pressure value 042 in the small cavity 05; the pressure value corresponding to the absence of gas in the large cavity is shown as the fluid pressure value 0103 in the large cavity when there is no dissolved gas; the pressure value corresponding to the presence of different types of gases in the large cavity 09 is shown as the fluid pressure value 0104 in the large cavity when there is dissolved gas.

[0082] like Figure 7 As shown, the steps include:

[0083] Within 0-T / 2s, the wellbore-small cavity fluid one-way valve 06 and the large cavity-wellbore fluid one-way valve 08 are opened, and the small cavity-large cavity fluid one-way valve 07 is closed. The stepper motor 014 drives the small piston 03 and the large piston 011 to move linearly from bottom to top in the small cavity 05 and the large cavity 09 respectively along the axial direction of the wellbore; the oil-based drilling fluid in the wellbore annulus is filtered by the filter 015, and then enters the internal space of the small cavity 05 through the opened wellbore-small cavity fluid one-way valve 06, and the small piston temperature and pressure sensor 04 monitors the pressure of the fluid in the small cavity 05 at intervals of 1s, and uploads the pressure monitoring value 041 of the fluid in the small cavity 05; at the same time, the crude oil-based drilling fluid in the large cavity 09 returns to the wellbore annulus through the large cavity-wellbore fluid one-way valve 08;

[0084] Within T / 2-Ts, the wellbore-small cavity fluid one-way valve 06 and the large cavity-wellbore fluid one-way valve 08 are closed, and the small cavity-large cavity fluid one-way valve 07 is opened. The stepper motor 014 drives the small piston 03 and the large piston 011 to move linearly from top to bottom in the small cavity 05 and the large cavity 09 along the axial direction of the wellbore. The oil-based drilling fluid in the small cavity 05 enters the internal space of the large cavity 09 through the small cavity-large cavity fluid one-way valve 07. The large piston temperature and pressure sensor 010 monitors the pressure of the internal fluid of the large cavity 09 at an interval of 1s, and uploads the pressure monitoring value of the fluid in the large cavity to complete one cycle.

[0085] A small cavity-large cavity fluid pressure monitoring curve is drawn based on the fluid pressure monitoring values ​​obtained by the small piston temperature and pressure sensor 04 and the large piston temperature and pressure sensor 010. In the small cavity-large cavity pressure monitoring curve, the horizontal axis refers to the monitoring time of the small piston temperature and pressure sensor 04 and the large piston temperature and pressure sensor 010 on the fluid pressure in the cavity, and the vertical axis refers to the monitoring value of the fluid pressure in the cavity.

[0086] T=10.

[0087] Based on pattern recognition, it is determined whether the oil-based drilling fluid contains dissolved gas, thereby determining whether there is gas invading the wellbore. Then, the gas solubility in the oil-based drilling fluid when gas invasion occurs is calculated and the type of invading gas is preliminarily determined, such as Figure 7 As shown, the steps include:

[0088] Step 1: The diameter ratio of the small cavity 05 to the large cavity 09 is 1:n. When the fluid in the large cavity 09 is completely discharged, the fluid volume in the small cavity 05 is the maximum fluid volume of the small cavity 05. When the fluid in the small cavity 05 is completely discharged, the fluid volume in the large cavity 09 is the maximum fluid volume of the large cavity 09. That is, the ratio of the maximum fluid volume of the small cavity 05 to the large cavity 09 is 1:n 2 According to the PVT equation, the ratio of the fluid pressure value in the small cavity to the fluid pressure value in the large cavity is n2 : 1, thereby drawing a pressure value curve in the cavity; in the pressure value curve in the cavity, the horizontal axis refers to the time when the fluid flows through the small cavity 05 and the large cavity 09, and the vertical axis refers to the value of the fluid pressure in the cavity; the solubility under the assumption of a certain gas type is calculated through the geometric relationship between the small cavity 05 and the large cavity 09, and then the temperature value and the empirical parameters corresponding to the assumed gas are substituted into formula (1) to obtain the pressure value corresponding to the gas type inside the large cavity 09, and then the corresponding pressure values ​​of CH4, CO2, C2H6, C3H8 and other gases are calculated one by one to draw the pressure curve in the cavity.

[0089] Step 2: Compare and analyze the small cavity-large cavity fluid pressure monitoring curve and the cavity pressure value curve.

[0090] Real-time monitoring of the fluid pressure value of the small cavity-large cavity. If there is no gas invading the wellbore, that is, the oil-based drilling fluid does not contain dissolved gas, the small cavity-large cavity fluid pressure monitoring curve corresponds to the ratio of the fluid pressure in the small cavity to the fluid pressure in the large cavity. That is, when the oil-based drilling fluid does not contain dissolved gas, the ratio of the fluid pressure monitoring value of the small cavity to the fluid pressure monitoring value of the large cavity is n. 2 : 1, thus judging that there is no gas invasion in the wellbore under the condition of oil-based drilling fluid, no gas invasion occurs, and returning to continue the early detection of gas invasion;

[0091] Real-time monitoring of the small cavity-large cavity fluid pressure monitoring curve. If gas invades the wellbore, that is, the oil-based drilling fluid contains dissolved gas, the small cavity-large cavity fluid pressure monitoring curve does not correspond to the ratio of the fluid pressure in the small cavity and the large cavity, and the fluid pressure monitoring value in the large cavity is monitored to increase suddenly. The sudden increase means that the low platform position in the small cavity-large cavity fluid pressure monitoring curve is higher than the low platform position formed by the previously measured pressure monitoring value; the small cavity-large cavity fluid pressure monitoring curve formed by real-time monitoring belongs to a relatively stable high-low platform type under normal conditions (when there is no dissolved gas). Once the fluid contains dissolved gas, the pressure in the large cavity 09 is higher than the pressure in the large cavity 09 when there is no dissolved gas. This is reflected in the pressure monitoring curve as the low platform position is higher than the low platform position formed by the previously measured large cavity fluid pressure monitoring value. And the fluid pressure monitoring value in the large cavity is greater than the fluid pressure monitoring value in the large cavity when there is no dissolved gas, so it is judged that there is gas invasion in the wellbore under the oil-based drilling fluid condition at this time, and it is judged that gas invasion has occurred, and step 3 is entered;

[0092] Step 3: Immediately provide gas intrusion warning feedback, and compare the real-time monitoring value curve of the small cavity-large cavity fluid pressure with the pressure curve inside the cavity. Through pattern recognition, preliminarily determine the type of gas invading the wellbore, and provide timely and accurate information to subsequent operators.

[0093] The type of gas invading the wellbore is preliminarily determined through pattern recognition, including: comparing the small cavity-large cavity fluid pressure monitoring curve formed by real-time monitoring with the cavity pressure curve calculated by the empirical formula, and correcting it in combination with the pressure monitoring value in the small cavity 05, and then comparing the monitoring pressure curve in the large cavity 09 with the calculated pressure value in the large cavity 09 obtained by the empirical formula to preliminarily determine the type of invading gas.

Claims

1. An early detection device for downhole gas invasion based on oil-based drilling fluid, characterized in that: The device is installed on the measuring short section of the bottom drilling tool assembly, and includes: a filter, a small cavity, a small piston, a small piston rod, a large cavity, a large piston, a large piston rod, a small piston temperature and pressure sensor, a large piston temperature and pressure sensor, a stepper motor, a wellbore-small cavity fluid one-way valve, a small cavity-large cavity fluid one-way valve, a large cavity-wellbore fluid one-way valve, a connecting control rod, a system power supply and a signal acquisition and processing digital circuit; The small cavity and the large cavity are both arranged in the wellbore and fixed at the bottom of the downhole drilling tool. The wellbore is filled with wellbore annulus oil-based drilling fluid. The small cavity-large cavity fluid one-way valve is arranged between the small cavity and the large cavity. The small piston is arranged in the small cavity, the small piston is connected to the small piston rod, and the small piston is also equipped with a small piston temperature and pressure sensor; The large cavity is provided with the large piston, the large piston is connected with the large piston rod, and the large piston is also equipped with a large piston temperature and pressure sensor; The stepper motor is connected to the small piston rod and the large piston rod through a connecting control rod, and drives the small piston rod and the large piston rod to perform linear motion from bottom to top along the axial direction of the wellbore respectively; The wellbore-small cavity fluid one-way valve is arranged at the lower end of the small cavity, and after the filter filters the oil-based drilling fluid in the wellbore annulus, the fluid enters the internal space of the small cavity through the opened wellbore-small cavity fluid one-way valve; The large cavity-wellbore fluid one-way valve is arranged at the top of the large cavity, so that the fluid in the large cavity is discharged through the large cavity-wellbore fluid one-way valve; The large piston temperature and pressure sensor and the small piston temperature and pressure sensor are both connected to the signal acquisition and processing digital circuit, and the signal acquisition and processing digital circuit and the stepper motor are both connected to the system power supply; the signal acquisition and processing digital circuit records, stores and analyzes the electrical signals converted from the monitoring values ​​by the sensors and uploads the data.

2. The device for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 1 is characterized in that: The small cavity and the large cavity are both cylindrical.

3. The device for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 1 is characterized in that: The connecting control rod is made of rigid material, and the middle part is connected to the stepping motor to perform cyclic reciprocating motion along the axial direction of the wellbore.

4. The device for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 1 is characterized in that: The two ends of the connecting control rod are respectively connected to the tail of the small piston rod and the tail of the large piston rod, so that the connecting control rod, the small piston and the large piston form a rigid mechanism, which are connected to the stepper motor together, and the stepper motor drives the small piston and the large piston to perform reciprocating motion along the axial direction of the wellbore.

5. The device for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 1 is characterized in that: The diameter ratio of the large cavity to the small cavity is n:1, where n≧10.

6. A method for early detection of gas intrusion in downhole based on oil-based drilling fluid, which is realized by an early detection device for gas intrusion in downhole based on oil-based drilling fluid according to any one of claims 1 to 5, wherein the early detection device for gas intrusion in downhole based on oil-based drilling fluid completes a reciprocating cycle every Ts, characterized in that: The steps include: By measuring the changes in the fluid pressure entering the large cavity and the small cavity respectively, the pressure monitoring curve is obtained. Based on pattern recognition, it is determined whether the oil-based drilling fluid contains dissolved gas, thereby determining whether there is gas invading the wellbore. Then, the gas solubility in the oil-based drilling fluid when gas invasion occurs is calculated and the type of invading gas is preliminarily determined. Within 0-T / 2s, the wellbore-small cavity fluid one-way valve and the large cavity-wellbore fluid one-way valve are opened, and the small cavity-large cavity fluid one-way valve is closed. The stepper motor drives the small piston and the large piston to move linearly from bottom to top in the small cavity and the large cavity respectively along the axial direction of the wellbore; the oil-based drilling fluid in the wellbore annulus is filtered by the filter and then enters the internal space of the small cavity through the opened wellbore-small cavity fluid one-way valve. The small piston temperature and pressure sensor monitors the pressure of the fluid inside the small cavity and uploads it to form the fluid pressure monitoring value in the small cavity; at the same time, the crude oil-based drilling fluid in the large cavity is completely discharged into the wellbore annulus through the large cavity-wellbore fluid one-way valve; Within T / 2-Ts, close the wellbore-small cavity fluid one-way valve and the large cavity-wellbore fluid one-way valve, open the small cavity-large cavity fluid one-way valve, and drive the small piston and the large piston to move linearly from top to bottom in the small cavity and the large cavity along the axial direction of the wellbore. The oil-based drilling fluid in the small cavity is completely discharged into the internal space of the large cavity through the small cavity-large cavity fluid one-way valve. The large piston temperature and pressure sensor monitors the pressure of the fluid inside the large cavity and uploads it to form the fluid pressure monitoring value in the large cavity; completing one cycle; A small cavity-large cavity fluid pressure monitoring curve is drawn based on the fluid pressure monitoring values ​​obtained by the small piston temperature and pressure sensor and the large piston temperature and pressure sensor. In the small cavity-large cavity pressure monitoring curve, the horizontal axis refers to the monitoring time of the small piston temperature and pressure sensor and the large piston temperature and pressure sensor on the fluid pressure in the cavity, and the vertical axis refers to the monitoring value of the fluid pressure in the cavity.

7. The method for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 6 is characterized in that: T=10。 8. The method for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 6 is characterized in that: Based on pattern recognition, it is determined whether the oil-based drilling fluid contains dissolved gas, thereby determining whether there is gas invading the wellbore, and then calculating the gas solubility in the oil-based drilling fluid when gas invasion occurs and preliminarily determining the type of invading gas, including the following steps: Step 1: According to the PVT equation, the ratio of the fluid pressure in the small cavity to the fluid pressure in the large cavity is n 2 : 1, thereby drawing a pressure value curve in the cavity; in the pressure value curve in the cavity, the horizontal axis refers to the time when the fluid flows through the small cavity and the large cavity, and the vertical axis refers to the value of the fluid pressure in the cavity; Step 2: Compare and analyze the small cavity-large cavity fluid pressure monitoring curve and the cavity pressure value curve; Real-time monitoring of the fluid pressure value of the small cavity-large cavity. If there is no gas invading the wellbore, that is, the oil-based drilling fluid does not contain dissolved gas, the small cavity-large cavity fluid pressure monitoring curve corresponds to the ratio of the fluid pressure in the small cavity to the fluid pressure in the large cavity. That is, when the oil-based drilling fluid does not contain dissolved gas, the ratio of the fluid pressure monitoring value of the small cavity to the fluid pressure monitoring value of the large cavity is n. 2 : 1, thus judging that there is no gas invasion in the wellbore under the condition of oil-based drilling fluid at this time, no gas invasion has occurred, and returning to continue the early detection of gas invasion; Monitor the small cavity-large cavity fluid pressure monitoring curve in real time. If gas invades the wellbore, that is, the oil-based drilling fluid contains dissolved gas, the small cavity-large cavity fluid pressure monitoring curve does not correspond to the fluid pressure ratio of the small cavity and the large cavity, and the fluid pressure monitoring value in the large cavity is monitored to increase suddenly. The sudden increase means that the low platform position in the small cavity-large cavity fluid pressure monitoring curve is higher than the low platform position formed by the previously measured pressure monitoring value; and the fluid pressure monitoring value in the large cavity is greater than the fluid pressure monitoring value in the large cavity when there is no dissolved gas, so it is judged that there is gas invasion in the wellbore under the oil-based drilling fluid condition at this time, and it is judged that gas invasion has occurred, and the process goes to step 3; Step 3: Immediately provide gas intrusion warning feedback, and compare the real-time monitoring value curve of the small cavity-large cavity fluid pressure with the pressure curve inside the cavity. Through pattern recognition, preliminarily determine the type of gas invading the wellbore, and provide timely and accurate information to subsequent operators.

9. The method for early detection of gas intrusion in downhole based on oil-based drilling fluid according to claim 8, characterized in that: The type of gas invading the wellbore can be preliminarily determined through pattern recognition, including: The small cavity-large cavity fluid pressure monitoring curve formed by real-time monitoring is compared with the cavity pressure curve calculated by the empirical formula, and correction is performed based on the pressure monitoring value in the large cavity. Then, the pressure monitoring curve in the small cavity is compared with the calculated value of the small cavity pressure obtained by the empirical formula to preliminarily determine the type of invading gas.