Underwater early overflow monitoring gas cut identification method based on self-adaptive threshold value

Through the adaptive threshold algorithm and the gas content-flow rate relationship curve, the gas invasion phenomenon of deepwater drilling fluid is accurately identified, which solves the problems of complexity of gas invasion identification and high misjudgment rate in the existing technology, and achieves efficient and accurate gas invasion. Intrusion monitoring.

CN118728366APending Publication Date: 2024-10-01CHINA NATIONAL OFFSHORE OIL (CHINA) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410857043.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing Doppler frequency shift signal gas invasion identification method has a complex analysis process and high hardware requirements. Changes in drilling conditions and the impact of environmental noise reduce the accuracy of gas invasion identification, which can easily lead to misjudgments and unnecessary losses.

Method used

An adaptive threshold-based underwater early overflow monitoring gas invasion identification method is adopted. By obtaining the gas content-flow rate relationship curve under different flow rates of drilling fluid, the flow rate information of the drilling fluid in the riser annulus is collected, and the threshold weighting coefficient is calculated. Use the adaptive threshold algorithm to update the threshold and determine whether air invasion occurs.

Benefits of technology

It greatly improves the efficiency and accuracy of air intrusion identification, reduces the probability of false alarms, and can identify small-scale air intrusion in an early and timely manner. It has strong applicability, low cost and high efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118728366A_ABST
    Figure CN118728366A_ABST
Patent Text Reader

Abstract

The invention relates to an underwater early overflow monitoring gas cut identification method based on a self-adaptive threshold value. The method comprises the following steps: acquiring a gas content-flow velocity relation curve of drilling fluid under different flow conditions; flow velocity information of drilling fluid in a marine riser annulus is collected; calculating a corresponding threshold value weighting coefficient alpha Q based on the acquired flow velocity information and the gas content-flow velocity relation curve; on the basis of the average flow velocity and the threshold value weighting coefficient alpha Q, an adaptive threshold value algorithm is adopted to update an adaptive threshold value in a corresponding sampling period; and judging whether gas invasion occurs or not based on the self-adaptive threshold updated in the period and the corresponding average flow velocity. According to the method, the gas cut can be accurately identified, field application is facilitated, and the gas cut identification efficiency and identification precision can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an underwater early overflow monitoring gas intrusion identification method, device, equipment and medium based on adaptive threshold, and relates to the technical field of deepwater oil and gas exploitation. Background Art

[0002] Oil and natural gas have become an indispensable energy source for the development of human society. In recent years, the demand for oil and natural gas has also been increasing. After a long period of large-scale development, the expansion of production of terrestrial and shallow-water oil and gas resources has been restricted, and deep-water oil and gas resources have become a key source for maintaining global energy supply. The potential rich oil and gas reserves in the deep sea can provide a reliable energy supply to meet the growing global energy demand. The development of deep-water oil and gas resources is also accompanied by some challenges, including technical difficulties, environmental protection issues, and safety risks. Among them, overflow is the biggest potential risk in the exploration and development of deep-water oil and gas resources. If the gas invasion phenomenon cannot be discovered and controlled in time, it is easy to cause the density of the drilling fluid to decrease and gradually fail to balance the formation pressure. In severe cases, it will lead to the occurrence of blowout (well kick) accidents. Therefore, it is of great practical significance to adopt timely and effective gas invasion identification methods to give early warning of overflow phenomena to ensure the safety of deep-water drilling operations.

[0003] The existing underwater early overflow monitoring and gas intrusion identification technologies at home and abroad can be roughly divided into three categories: one is the wellhead multi-parameter gas intrusion identification technology; the second is the seawater section acoustic gas intrusion identification technology; and the third is the downhole drilling gas intrusion identification technology. Among them, the wellhead multi-parameter gas intrusion identification technology has become the most widely used gas intrusion identification technology due to its advantages such as low monitoring cost and low technical requirements, but it has obvious hysteresis and cannot quantitatively identify gas intrusion. Downhole drilling gas intrusion monitoring technology can monitor multi-dimensional parameters downhole, but the device cost is high and the monitoring data processing time is long, which is not convenient for large-scale use.

[0004] Compared with land drilling, deepwater drilling uses a riser to isolate the seawater between the offshore drilling platform and the seabed. By installing acoustic sensors on the outside of the riser to monitor the state of the drilling fluid in the riser, early gas intrusion identification can be achieved. The seawater acoustic gas intrusion identification technology was born. The seawater acoustic gas intrusion identification technology has the advantages of non-invasive, non-destructive, stable signal, and relatively low cost. It has become the main research direction of underwater early overflow monitoring gas intrusion identification technology. Ultrasonic Doppler method has been widely studied as an important seawater acoustic gas intrusion identification technology. The main problem faced by this technology is that the existing Doppler frequency shift signal gas intrusion identification method has a complex analysis process and high hardware requirements. At the same time, the influence of factors such as drilling conditions changes and environmental noise reduces the accuracy of gas intrusion identification, which is easy to cause misjudgment and cause unnecessary losses. Therefore, it is urgent to develop an accurate and efficient underwater early overflow monitoring gas intrusion identification method to solve the above technical problems. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, in view of the above problems, the purpose of the present invention is to provide a method, device, equipment and medium for underwater early overflow monitoring gas intrusion identification based on adaptive thresholds, which can greatly improve the efficiency and accuracy of gas intrusion identification.

[0006] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: In a first aspect, the present invention provides a method for underwater early overflow monitoring and gas intrusion identification based on an adaptive threshold, the method comprising: Obtain the gas content-flow rate relationship curve under different drilling fluid flow rates; Collect the flow rate information of drilling fluid in the riser annulus; Calculate the corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve а Q ; Based on average flow rate and threshold weighting coefficient а Q , using the adaptive threshold algorithm to update the adaptive threshold within the corresponding sampling period; Based on the adaptive threshold updated within the period and the corresponding average flow rate, it is determined whether gas intrusion occurs.

[0007] In some possible implementations, the gas content-flow velocity relationship curves under different flow conditions are obtained through a gas content-flow velocity calibration experiment, and the gas content-flow velocity calibration experiment is performed through a mud circulation simulation test system.

[0008] In some possible implementations, the flow rate information of the drilling fluid in the annulus of the riser is collected through a gas intrusion monitoring system. The gas intrusion monitoring system is installed on the outer wall of the riser close to the seabed mud line to collect the flow rate information. During collection, the sampling rate of the gas intrusion monitoring system is set to n times / second and the system identifies the gas invasion gas content value σ.

[0009] In some possible implementations, the corresponding threshold weighting coefficient is calculated based on the collected flow rate information and the gas content-flow rate relationship curve. а Q ,include: After using the gas intrusion monitoring system to collect m Flow rate information within minutes, calculate the average flow rate v With average flow Q : ; In the formula, v i for m The minute collectedi flow rate value, m is the collection time, n is the sampling rate; Average flow Q : ; In the formula, v for m The average flow rate per minute, S is the cross-sectional area of ​​the riser annulus; When the average flow rate is Q In the case of а Q : ; In the formula, v σ For flow Q The velocity when the gas content is σ in the gas content-velocity relationship curve, v 0% For flow Q The flow rate when the gas content is 0% in the gas content-flow velocity relationship curve.

[0010] In some possible implementations, the adaptive threshold algorithm is: the adaptive threshold TV at the beginning of a certain cycle i Before the start time of this cycle m Average flow rate per minute v The product of the threshold weight coefficient. If the data of the previous cycle of this cycle is abnormal, the adaptive threshold at the beginning of this cycle is the adaptive threshold at the beginning of the previous cycle. m If there is an abnormal cycle within minutes, the data in the abnormal cycle will be replaced by the data of the previous cycle.

[0011] In some possible implementations, i The adaptive threshold TV at the beginning of the cycle i satisfy:

[0012] In the formula, v Before the start time of this cycle m The average flow rate in minutes, а Q The average flow rate is Q The threshold weighting coefficient for the case.

[0013] In some possible implementations, judging whether gas intrusion occurs based on the adaptive threshold value updated within the period and the corresponding average flow rate includes: Starting from the first cycle, the adaptive threshold TV at the beginning of the cycle is set. iThe average flow velocity v of this cycle i For comparison: If v i <TV i , it is determined that no gas intrusion has occurred, and the next cycle of signal acquisition and comparison is continued; If v i >TV i , then abnormal data is determined and the average flow velocity v of the next cycle needs to be collected i+1 With its threshold TV i+1 For comparison, if v i+1 >TV i+1 , it is judged that gas intrusion occurs. If v i+1 <TV i+1 , it is determined that no gas intrusion has occurred, and the next cycle of signal acquisition and comparison continues.

[0014] In a second aspect, the present invention further provides an underwater early overflow monitoring gas intrusion identification device based on an adaptive threshold, the device comprising: A curve acquisition unit is configured to obtain a gas content-flow rate relationship curve under different flow rates of drilling fluid; A flow rate collection unit configured to collect flow rate information of drilling fluid in the riser annulus; A threshold weighting coefficient calculation unit is configured to calculate a corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve а Q ; An adaptive threshold updating unit configured to update the threshold value based on the average flow rate and the threshold weighting coefficient а Q , using the adaptive threshold algorithm to update the adaptive threshold within the corresponding sampling period; The air intrusion judgment unit is configured to judge whether air intrusion occurs based on the adaptive threshold value updated within the period and the corresponding average flow rate.

[0015] In a third aspect, the present invention further provides an electronic device, comprising: at least one processor; and A memory communicatively connected to the processor; wherein, The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform any one of the methods described above.

[0016] In a fourth aspect, the present invention further provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include computer instructions, and the computer instructions are used to enable a computer to execute any one of the methods described.

[0017] The present invention adopts the above technical solution, and has the following characteristics: 1. The present invention uses velocity information to directly calibrate the gas content, updates the adaptive threshold through an adaptive threshold algorithm, uses a gas intrusion monitoring system to collect the riser annulus velocity information and compares it with the adaptive threshold, accurately identifies gas intrusion, is helpful for field applications and can greatly improve the efficiency and accuracy of gas intrusion identification.

[0018] 2. The present invention uses flow rate information to directly calibrate the gas content. The drilling fluid flow rate in the riser annulus is very sensitive to the change of the drilling fluid gas content, and can well reflect the presence and degree of gas invasion.

[0019] 3. The present invention adopts an adaptive threshold algorithm to adaptively update the threshold, which can correct the errors and instabilities caused by factors such as changes in drilling conditions and external noise, greatly reduce the probability of false alarms, and greatly improve the accuracy of gas intrusion identification.

[0020] 4. The present invention can identify small-degree gas intrusion early and timely, meet the gas intrusion identification needs under various working conditions, and has strong applicability and a wide range of applications.

[0021] 5. The present invention is highly practical, easy to implement and apply, easy to obtain monitoring data, has low hardware requirements, is low cost and highly efficient.

[0022] In summary, the present invention can be widely used in the process of detecting gas invasion during underwater early overflow monitoring in deepwater drilling. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings: Figure 1 It is a flow chart of a method for identifying gas intrusion in underwater early overflow monitoring based on an adaptive threshold in some embodiments of the present invention; Figure 2 In some embodiments of the present invention, the flow rate is 48m 3 Schematic diagram of gas hold-up rate-flow rate relationship curve at / h; Figure 3 Schematic diagram of adaptive threshold change curve at the beginning of each cycle in some embodiments of the present invention; Figure 4 A schematic diagram of a curve showing a change in the original flow rate since the monitoring system is turned on in some embodiments of the present invention; Figure 5 Schematic diagram of the change curve of the original flow rate and the average flow rate in each cycle in some embodiments of the present invention; Figure 6 A comparison diagram of the adaptive threshold change curve at the beginning of each cycle and the average flow velocity change curve of each cycle during the entire monitoring process in some embodiments of the present invention; Figure 7 It is a structural diagram of an electronic device in some embodiments of the present invention. DETAILED DESCRIPTION

[0024] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0025] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.

[0026] For ease of description, spatially relative terms may be used herein to describe the relationship of one element or feature relative to another element or feature as shown in the figures, such as "inside", "outside", "inner side", "outer side", "below", "above", etc. Such spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figures.

[0027] The existing Doppler frequency shift signal gas intrusion identification method has a complex analysis process and high hardware requirements. At the same time, the influence of factors such as changes in drilling conditions and environmental noise reduces the accuracy of gas intrusion identification, which is prone to misjudgment and causes unnecessary losses. The underwater early overflow monitoring gas intrusion identification method, device, equipment and medium based on adaptive thresholds provided by the present invention include: obtaining a gas content-velocity relationship curve under different drilling fluid flow conditions; collecting the flow velocity information of the drilling fluid in the riser annulus; calculating the corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve. а Q ; Based on average flow rate and threshold weighting coefficient а Q , an adaptive threshold algorithm is used to update the adaptive threshold within the corresponding sampling period; based on the adaptive threshold updated within the period and the corresponding average flow rate, it is determined whether gas intrusion occurs. Therefore, the present invention can identify small-degree gas intrusion early and timely, meet the gas intrusion identification needs under various working conditions, and has strong applicability and a wide range of applications.

[0028] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0029] Embodiment 1: Figure 1 As shown, the method for underwater early overflow monitoring and gas intrusion identification based on adaptive thresholds provided in this embodiment includes: Step S101: Obtaining gas content-flow velocity relationship curves under different flow conditions.

[0030] In this embodiment, the gas content-flow velocity relationship curve under different flow conditions is obtained through a gas content-flow velocity calibration experiment. The gas content-flow velocity calibration experiment can be carried out in an indoor mud circulation simulation test system, which can simulate the drilling fluid circulation in the actual deep-water drilling process. The gas content-flow velocity relationship curve under different flow conditions is obtained by experiment on the mud circulation simulation test system.

[0031] Furthermore, a gas content-flow velocity calibration test at different flow rates was carried out on the mud circulation simulation test system. Specifically, under a certain set flow rate, the gas content was changed to obtain the corresponding flow velocity, and the gas content-flow velocity relationship curve under the flow rate was obtained; the flow rate was changed to carry out the test, and the gas content-flow velocity relationship curve under different flow rates was obtained, such as Figure 2 The flow rate shown is 48m 3 / h gas content-flow rate relationship curve.

[0032] Step S102: The gas intrusion monitoring system is installed on the outer wall of the riser close to the seabed mud line to collect the flow rate information of the drilling fluid in the riser annulus.

[0033] In this embodiment, the gas intrusion monitoring system includes an ultrasonic transmitting transducer, an ultrasonic receiving transducer, and an ultrasonic signal transmitting and processing circuit. The sampling rate of the gas intrusion monitoring system is set to n times / second and the gas intrusion gas content value σ identified by the system is set, wherein the value of n is 1 or 2, and the gas intrusion gas content value σ identified by the system is in the range of 3%-5%.

[0034] Furthermore, the sampling rate of the gas intrusion monitoring system was set to 1 time / second, and the system identified the gas content of gas intrusion as 5%. The gas intrusion monitoring system was installed on the outer wall of the actual riser of the test system to collect the flow rate information of the drilling fluid in the riser annulus.

[0035] Step S103: After the gas intrusion monitoring system is started m Flow rate information within minutes, calculate the average flow rate v With average flow Q , and the corresponding threshold weighting coefficient a is calculated based on the gas content-flow rate relationship curve in step S101 Q .

[0036] In this embodiment, m The value of is determined according to the on-site working conditions and is not restricted here.

[0037] Further, m Average flow rate per minute v satisfy:

[0038] In the formula, v i for m The minute collected i flow rate value, m is the collection time, n is the sampling rate; Average flow Q satisfy:

[0039] In the formula, v for m The average flow rate per minute, S is the cross-sectional area of ​​the riser annulus.

[0040] When the average flow rate is Q In the case of , the gas content-velocity curve used to calculate the threshold weighting coefficient is the closest existing flow rate QThe gas fraction-velocity curve, threshold weighting coefficient а Q It is not changed after the initial calculation and satisfies:

[0041] Where, σ is the gas intrusion void fraction value identified by the system, v σ The flow rate in step S101 is Q The velocity when the gas content is σ in the gas content-velocity relationship curve, v 0% The flow rate in step S101 is Q The flow rate when the gas content is 0% in the gas content-flow velocity relationship curve.

[0042] Furthermore, the flow rate information within 6 minutes after the gas intrusion monitoring system is turned on is collected, and the average flow rate within 6 minutes is v is 0.080m / s, and the calculation satisfies:

[0043]

[0044] Riser annulus cross-sectional area S 0.170m 3 , average flow Q 48.960m 3 / h, the calculation satisfies:

[0045] The average flow rate is 48.96m 3 / h, the gas content-velocity curve used to calculate the threshold weighting coefficient is 48m 3 / h gas content-velocity curve, the velocity when the gas content is 5% is 0.0961m / s, the velocity when the gas content is 0% is 0.0800m / s, the threshold weighting coefficient а Q is 1.141, and the calculation satisfies:

[0046] Step S104: Start the collection of the self-gas intrusion monitoring system m From the end of the minute, k One cycle is one second, based on the calculation of the average flow rate and threshold weighting coefficient а Q , an adaptive threshold algorithm is used to update the adaptive threshold.

[0047] In this embodiment, the adaptive threshold algorithm is: the adaptive threshold at the beginning of a cycle is the time before the beginning of the cycle m Average flow rate per minute vThe product of the weighted coefficient of the threshold value. If the data of the previous cycle of this cycle is abnormal (for example, when the average flow rate in this cycle is greater than the adaptive threshold of this cycle, it is defined as abnormal), the adaptive threshold at the beginning of this cycle is the adaptive threshold at the beginning of its previous cycle. m If there is an abnormal cycle within minutes, the data in the abnormal cycle will be replaced by the data of the previous cycle.

[0048] Further, k One cycle is one second. k The specific value is determined according to the on-site working conditions.

[0049] Furthermore, from the end of 6 minutes after the gas intrusion monitoring system is turned on, the adaptive threshold algorithm is used to update the adaptive threshold in a cycle of 30 seconds. Figure 3 The figure shows the adaptive threshold change curve at the beginning of each cycle. The monitoring period is 360s to 780s after the system starts collecting data, a total of 14 cycles. Compared with the traditional fixed threshold, the adaptive threshold of gas intrusion identification has a small fluctuation. The adaptive threshold algorithm takes external environmental factors into account according to the actual working conditions, reducing the impact of external factors on the threshold.

[0050] Step S105: judging whether gas intrusion occurs based on the adaptive threshold updated in the period and the corresponding average flow rate.

[0051] In this embodiment, starting from the first cycle, the adaptive threshold TV at the beginning of the cycle is set. i The average flow velocity v of this cycle i For comparison, if v i <TV i , it is determined that no gas intrusion has occurred, and the next cycle of signal acquisition and comparison will continue; if v i >TV i , then abnormal data is determined and the average flow velocity v of the next cycle needs to be collected i+1 With its threshold TV i+1 For comparison, if v i+1 >TV i+1 , it is judged that gas intrusion occurs. If v i+1 <TV i+1 , it is determined that no gas intrusion has occurred, and the next cycle of signal acquisition and comparison continues.

[0052] In this embodiment, i The adaptive threshold TV at the beginning of the cycle i satisfy:

[0053] In the formula, v Before the start time of this cycle mThe average flow rate in minutes, а Q The average flow rate is Q The threshold weighting coefficient for the case.

[0054] like Figure 4 The figure shows the original flow rate change curve since the gas intrusion monitoring system was turned on. Figure 4 It can be seen that the unprocessed flow rate data fluctuated greatly. At 715s, 5% gas intrusion occurred in the artificial gas, and then the flow rate increased significantly. Figure 5 The figure shows the curves of the original flow rate and average flow rate in each cycle. Figure 5 It can be seen that the averaged flow rate information can not only reflect the original flow rate information but also reduce the amount of data, improve the recognition efficiency, and also weaken the influence of external factors. Figure 6 As shown, Figure 6 The following is a comparison chart of the adaptive threshold change curve at the beginning of each cycle and the average flow rate change curve of each cycle during the entire monitoring process, so as to identify gas intrusion. Figure 6 It can be seen that in the 13th cycle after 5% gas intrusion occurred in artificial gasification, the average flow rate of the cycle was greater than the adaptive threshold. Then the next cycle was compared. The average flow rate of the 14th cycle was still greater than the adaptive threshold. At this time, the system recognized that gas intrusion with a gas content of 5% occurred in the watertight pipe.

[0055] In summary, the underwater early overflow monitoring and gas intrusion identification method based on adaptive thresholds provided in this embodiment realizes the direct calibration of gas content according to flow velocity, updates the adaptive threshold according to the adaptive threshold algorithm, collects the riser annulus flow velocity information with the gas intrusion monitoring system and compares it with the adaptive threshold to accurately identify gas intrusion.

[0056] Embodiment 2: Embodiment 1 above provides an underwater early overflow monitoring and gas intrusion identification method based on an adaptive threshold. Correspondingly, this embodiment provides an underwater early overflow monitoring and gas intrusion identification device based on an adaptive threshold. The device provided in this embodiment can implement the underwater early overflow monitoring and gas intrusion identification method based on an adaptive threshold of Embodiment 1, and the device can be implemented by software, hardware, or a combination of software and hardware. For the convenience of description, this embodiment is described in various units according to their functions. Of course, the functions of each unit can be implemented in the same or more software and / or hardware during implementation. For example, the device may include integrated or separate functional modules or functional units to execute the corresponding steps in each method of Embodiment 1. Since the device of this embodiment is basically similar to the method embodiment, the description process of this embodiment is relatively simple. For relevant matters, please refer to the partial description of Embodiment 1. The embodiment of the underwater early overflow monitoring and gas intrusion identification device based on an adaptive threshold provided by the present invention is only schematic.

[0057] Specifically, the underwater early overflow monitoring and gas intrusion identification device based on adaptive threshold provided in this embodiment includes: A curve acquisition unit is configured to obtain a gas content-flow rate relationship curve under different flow rates of drilling fluid; A flow rate collection unit configured to collect flow rate information of drilling fluid in the riser annulus; A threshold weighting coefficient calculation unit is configured to calculate a corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve а Q ; An adaptive threshold updating unit configured to update the threshold value based on the average flow rate and the threshold weighting coefficient а Q , using the adaptive threshold algorithm to update the adaptive threshold within the corresponding sampling period; The air intrusion judgment unit is configured to judge whether air intrusion occurs based on the adaptive threshold value updated within the period and the corresponding average flow rate.

[0058] Embodiment 3: This embodiment provides an electronic device corresponding to the adaptive threshold-based underwater early overflow monitoring and gas intrusion identification method provided in Embodiment 1. The electronic device may be an electronic device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of Embodiment 1.

[0059] like Figure 7 As shown, the electronic device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Component (EISA) bus, etc. The memory stores a computer program that can be run on the processor. When the processor runs the computer program, it executes the method of Embodiment 1. The implementation principle and technical effect are similar to those of Embodiment 1 and will not be repeated here. Those skilled in the art can understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computing device to which the scheme of the present application is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0060] In a preferred embodiment, the logic instructions in the above-mentioned memory can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), optical disk and other media that can store program codes.

[0061] In a preferred embodiment, the processor may be a central processing unit (CPU), a digital signal processor (DSP) or other general-purpose processors of various types, which are not limited herein.

[0062] Embodiment 4: This embodiment provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include computer instructions. When the computer instructions are executed by a computer, the computer executes the method provided in the above-mentioned embodiment 1.

[0063] In a preferred embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device, such as but not limited to an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. The computer-readable storage medium stores computer program instructions that cause the computer to execute the method provided in the first embodiment.

[0064] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In the description of this specification, the description of reference terms "a preferred embodiment", "further", "specifically", "in the present embodiment", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradiction.

[0065] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0066] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0067] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying gas intrusion in underwater early overflow monitoring based on adaptive threshold, characterized in that: The method includes: Obtain the gas content-flow rate relationship curve under different drilling fluid flow rates; Collect the flow rate information of drilling fluid in the riser annulus; Calculate the corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve а Q ; Based on average flow rate and threshold weighting coefficient а Q , using the adaptive threshold algorithm to update the adaptive threshold within the corresponding sampling period; Based on the adaptive threshold updated within the period and the corresponding average flow rate, it is determined whether gas intrusion occurs.

2. The method for identifying gas intrusion in underwater early overflow monitoring based on adaptive threshold according to claim 1 is characterized in that: The gas content-flow velocity relationship curves under different flow conditions are obtained through the gas content-flow velocity calibration experiment, and the gas content-flow velocity calibration experiment is carried out through the mud circulation simulation test system.

3. The method for underwater early overflow monitoring and gas intrusion identification based on adaptive threshold according to claim 1 is characterized in that: The flow rate information of the drilling fluid in the riser annulus is collected through the gas intrusion monitoring system. The gas intrusion monitoring system is installed on the outer wall of the riser close to the seabed mud line to collect the flow rate information. During the collection, the sampling rate of the gas intrusion monitoring system is set to n times / second and the system identifies the gas invasion gas content value σ.

4. The method for identifying gas intrusion in underwater early overflow monitoring based on adaptive threshold according to claim 3 is characterized in that: Calculate the corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve а Q ,include: After using the gas intrusion monitoring system to collect m Flow rate information within minutes, calculate the average flow rate v With average flow Q : ; In the formula, v i for m The minute collected i flow rate value, m is the collection time, n is the sampling rate; Average flow Q : ; In the formula, v for m The average flow rate per minute, S is the cross-sectional area of ​​the riser annulus; When the average flow rate is Q In the case of а Q : ; In the formula, v σ For flow Q The velocity when the gas content is σ in the gas content-velocity relationship curve, v 0% For flow Q The flow rate when the gas content is 0% in the gas content-flow velocity relationship curve.

5. The method for underwater early overflow monitoring and gas intrusion identification based on adaptive threshold according to claim 1 is characterized in that: The adaptive threshold algorithm is: the adaptive threshold TV at the beginning of a cycle i Before the start time of this cycle m Average flow rate per minute v The product of the threshold weight coefficient. If the data of the previous cycle of this cycle is abnormal, the adaptive threshold at the beginning of this cycle is the adaptive threshold at the beginning of the previous cycle. m If there is an abnormal cycle within minutes, the data in the abnormal cycle will be replaced by the data of the previous cycle.

6. The method for identifying gas intrusion in underwater early overflow monitoring based on adaptive threshold according to claim 5 is characterized in that: No. i The adaptive threshold TV at the beginning of the cycle i satisfy: In the formula, v Before the start time of this cycle m The average flow rate in minutes, а Q The average flow rate is Q The threshold weighting coefficient for the case.

7. The method for identifying gas intrusion in underwater early overflow monitoring based on adaptive threshold according to claim 5 is characterized in that: Based on the adaptive threshold updated during the period and the corresponding average flow rate, determine whether gas intrusion occurs, including: Starting from the first cycle, the adaptive threshold TV at the beginning of the cycle is set. i The average flow velocity v of this cycle i For comparison: If v i <TV i , it is determined that no gas intrusion has occurred, and the next cycle of signal acquisition and comparison is continued; If v i >TV i , then abnormal data is determined and the average flow velocity v of the next cycle needs to be collected i+1 With its threshold TV i+1 For comparison, if v i+1 >TV i+1 , it is judged that gas intrusion occurs. If v i+1 <TV i+1 , it is determined that no gas intrusion has occurred, and the next cycle of signal acquisition and comparison continues.

8. An underwater early overflow monitoring and gas intrusion identification device based on adaptive threshold, characterized in that: The device includes: A curve acquisition unit is configured to obtain a gas content-flow rate relationship curve under different flow rates of drilling fluid; A flow rate collection unit configured to collect flow rate information of drilling fluid in the riser annulus; A threshold weighting coefficient calculation unit is configured to calculate a corresponding threshold weighting coefficient based on the collected velocity information and the gas content-velocity relationship curve а Q ; An adaptive threshold updating unit configured to update the threshold value based on the average flow rate and the threshold weighting coefficient а Q , using the adaptive threshold algorithm to update the adaptive threshold within the corresponding sampling period; The air intrusion judgment unit is configured to judge whether air intrusion occurs based on the adaptive threshold value updated within the period and the corresponding average flow rate.

9. An electronic device, characterized in that: include: at least one processor; as well as A memory communicatively connected to the processor; wherein, The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include computer instructions for causing a computer to execute the method according to any one of claims 1-7.