US20250237140A1
2025-07-24
18/582,384
2024-02-20
Smart Summary: A new method measures the amount of drilling mud used during drilling operations. It checks if this measurement falls within a safe range, and if it does, no alarm is triggered. However, if the difference between the current mud measurement and a reference value is too high, an alarm will sound. This system helps ensure safety by alerting operators to potential problems, even if the total mud amount seems fine. Overall, it focuses on detecting issues that could lead to dangerous situations during drilling. đ TL;DR
Methods, systems, and techniques for differential drilling mud measurement and for generating related alarms. A drilling mud measurement is performed during a drilling operation. The drilling mud measurement is of a volume of at least some of the drilling mud used for the drilling operation, such as total mud or trip mud. The drilling mud measurement is determined to be within an absolute mud value range, and consequently no alarm is generated in respect of the absolute mud value range. A differential is determined between the drilling mud measurement and a reference drilling mud value, and this differential is determined to exceed a differential alarm threshold. An alarm is generated in response. An alarm is accordingly generated in response to differential mud volume measurements even when not necessarily warranted based on absolute mud volume measurements, which promotes safety in the context of potential loss or influx events.
Get notified when new applications in this technology area are published.
E21B49/005 » CPC main
Testing the nature of borehole walls; Formation testing; Methods or apparatus for obtaining samples of soil or well fluids, specially adapted to earth drilling or wells Testing the nature of borehole walls or the formation by using drilling mud or cutting data
E21B41/0021 » CPC further
Equipment or details not covered by groups  - Safety devices, e.g. for preventing small objects from falling into the borehole
E21B49/00 IPC
Testing the nature of borehole walls; Formation testing; Methods or apparatus for obtaining samples of soil or well fluids, specially adapted to earth drilling or wells
E21B41/00 IPC
Equipment or details not covered by groups  -Â
This application is related to and claims priority to Canadian Patent Application No.: 3,226,620 filed on Jan. 19, 2024, the contents of which are incorporated by reference herein.
The present disclosure is directed at methods, systems, and techniques for differential drilling mud measurement and alarms.
During conventional oil and gas well drilling, a drill bit attached to one end of a drill string is rotated into and through a formation in order to drill the well. Drilling fluid, also known as âdrilling mudâ, is pumped through the drill string and into the well to provide lubrication, to flush away drill cuttings, and to counter the pressure of formation fluid. Examples of formation fluid comprise oil, gas, and water.
In some situations, however, the pressure of the drilling fluid against the annular surface of the well (âdrilling fluid pressureâ) substantially differs from the opposing pressure of the formation fluid (âformation fluid pressureâ). If the drilling fluid pressure is too low relative to the formation fluid pressure, formation fluid may enter the well; this is referred to as an âinflux eventâ or a âkickâ. In certain situations, an influx event may lead to a blowout, which is potentially a devastating drilling event.
If the drilling fluid pressure is too high, it can overcome the fracture strength of the formation, which can result in loss of drilling fluid to the formation; this loss of drilling fluid is referred to as a âloss eventâ. A loss event can consequently reduce the drilling fluid pressure, which may result in an influx event.
Given that both influx and loss events may lead to a blowout, there exists continued research and development into methods, systems, and techniques for detecting influx and loss events.
According to a first aspect, there is provided a method for differential drilling mud measurement, the method comprising: performing a drilling mud measurement during a drilling operation, wherein the drilling mud measurement is of a volume of at least some of the drilling mud used for the drilling operation; determining that the drilling mud measurement is within an absolute mud value range; determining that a differential between the drilling mud measurement and a reference drilling mud value exceeds a differential alarm threshold; and generating an alarm in response to the differential between the drilling mud measurement and the reference drilling mud value exceeding the differential alarm threshold.
The method may further comprise displaying, on a display at a drilling site at which the drilling operation is occurring, traces respectively showing a history of drilling mud measurements and corresponding absolute mud value ranges.
The drilling mud measurement may be of total mud volume for the drilling operation, and the total mud volume may exclude trip mud used for tripping operations.
The drilling mud measurement may be of trip mud used for tripping operations and may exclude drilling mud used for other drilling operations.
The differential alarm threshold may be approximately 7 m3 of drilling mud.
The method may further comprise, prior to determining that the drilling mud measurement is within the absolute mud value range and to determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold, receiving user input explicitly requesting absolute mud value monitoring. Determining that the drilling mud measurement is within the absolute mud value range may be performed in response to receiving the user input. And determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold may be performed automatically in response to the user input.
The method may further comprise suspending drilling in response to the alarm.
The method may further comprise resetting the reference drilling mud value in response to a user action indicative of user attention.
The user action may comprise at least one of acknowledging the alarm, zeroing trip mud or total mud gain/loss, setting the reference drilling mud value to a current measured pit volume, or changing the absolute mud value range.
Determining the differential may be performed while alarm generation has been disabled by a user. The method may further comprise receiving user input enabling the alarm generation while the alarm generation is disabled. And generating the alarm may be performed after receiving the user input enabling the alarm generation and be based on the differential determined while the alarm generation was disabled.
According to another aspect, there is provided a system for differential drilling mud measurement, the system comprising: a mud tank; a mud pump fluidly coupled to the mud tank for pumping drilling fluid from the mud tank into a well; a volume meter affixed to the mud tank for measuring pit volume of the drilling fluid stored in the mud tank; a display; at least one processor communicatively coupled to the display, the mud pump, and the volume meter; and at least one memory communicatively coupled to the at least one processor and having stored thereon computer program code that is executable by the at least one processor and that, when executed by the at least one processor, causes the at least one processor to: perform a drilling mud measurement during a drilling operation using the volume meter, wherein the drilling mud measurement is of a volume of at least some of the drilling mud used for the drilling operation; determine that the drilling mud measurement is within an absolute mud value range; determine that a differential between the drilling mud measurement and a reference drilling mud value exceeds a differential alarm threshold; and generate an alarm in response to the differential between the drilling mud measurement and the reference drilling mud value exceeding the differential alarm threshold.
The computer program code may further cause the at least one processor to display, on the display, traces respectively showing a history of drilling mud measurements and corresponding absolute mud value ranges.
The drilling mud measurement may be of total mud volume for the drilling operation, and the total mud volume may exclude trip mud used for tripping operations.
The drilling mud measurement may be of trip mud used for tripping operations and exclude drilling mud used for other drilling operations.
The differential alarm threshold may be approximately 7 m3 of drilling mud.
The computer program code may further cause the at least one processor to receive user input explicitly request absolute mud value monitoring prior to determining that the drilling mud measurement is within the absolute mud value range and to determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold. Determining that the drilling mud measurement is within the absolute mud value range may be performed in response to receiving the user input. And determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold may be performed automatically in response to the user input.
The computer program code may further cause the at least one processor to reset the reference drilling mud value in response to a user action indicative of user attention.
The user action may comprise at least one of acknowledging the alarm, zeroing trip mud or total mud gain/loss, setting the reference drilling mud value to a current measured pit volume, or changing the absolute mud value range.
Determining the differential may be performed while alarm generation has been disabled by a user. The computer program code may further cause the at least one processor to enable the alarm generation in response to receiving user input to enable the alarm generation while the alarm generation is disabled. And the alarm may be generated after receiving the user input to enable the alarm generation and be based on the differential determined while the alarm generation was disabled.
According to another aspect, there is provided at least one non-transitory computer readable medium having stored thereon computer program code that is executable by at least one processor and that, when executed by the at least one processor, causes the at least one processor to perform a method for differential drilling mud measurement as described above.
This summary does not necessarily describe the entire scope of all aspects. Other aspects, features and advantages will be apparent to those of ordinary skill in the art upon review of the following description of specific embodiments.
In the accompanying drawings, which illustrate one or more example embodiments:
FIG. 1 is a diagram of a system for differential drilling mud measurement and alarms, according to one embodiment.
FIG. 2A is a graph showing the mode estimation results of the system of FIG. 2B.
FIG. 2B a block diagram of one embodiment of a system for mode determination that comprises part of one embodiment of the system for differential drilling mud measurement and alarms.
FIG. 3 shows curves showing various drilling parameters illustrating application of one embodiment of the system for differential drilling mud measurement and alarms.
FIG. 4 illustrates one embodiment of a method performed by one embodiment of the system for differential drilling mud measurement and alarms to determine the relationship between flow out and flow in.
FIGS. 5 and 6 show curves of drilling parameters during normal drilling operation (FIG. 5) and when an influx event is detected (FIG. 6) by one embodiment of the system for differential drilling mud measurement and alarms.
FIG. 7 shows a schematic of a closed fluid circuit comprising part of one embodiment of the system for differential drilling mud measurement and alarms.
FIGS. 8A and 8B show flowcharts of example methods for differential drilling mud measurement and alarms, according to additional embodiments.
FIG. 9 shows curves of drilling parameters during normal drilling operation as determined by one embodiment of the system for differential drilling mud measurement and alarms.
FIG. 10 illustrates one embodiment of a method performed by one embodiment the system for differential drilling mud measurement and alarms to determine the relationship between residual flow and change in bit depth.
FIG. 11 shows curves of drilling parameters during normal drilling operation as determined by one embodiment of the system for differential drilling mud measurement and alarms.
FIGS. 12 and 13 show examples of data analysis devices that may be used for differential drilling mud measurement and alarms, according to additional embodiments.
FIG. 14 shows an example user interface that may be displayed on an embodiment of the data analysis device comprising a touchscreen, according to another embodiment.
FIGS. 15A and 15B represent screenshots of a user interface of a system for differential drilling mud measurement and alarms, according to another embodiment.
FIG. 16 is a graph showing mud volume vs. time in the context of an absolute mud value alarm, according to another embodiment.
FIGS. 17A and 17B respectively show graphs of mud volume vs. time and mud volume differential vs. time in the context of an absolute mud value alarm and its corresponding differential mud value alarm, according to another embodiment.
FIG. 18 shows a flowchart of an example method for differential drilling mud measurement and alarms, according to another embodiment.
Referring now to FIG. 1, there is shown a system 100 for differential drilling mud measurement and alarms, according to one embodiment. The system 100 comprises a derrick 102 from which downwardly extends into a formation 106 a drill string 110 at the end of which is a drill bit 112. A top drive or kelly drive (not shown) suspended by the derrick 102 is rotatably coupled to the drill string 110 and operates to rotate the drill string 110 and, consequently, the drill bit 112. Rotation of the drill bit 112 through the formation 106 drills a well 108.
At surface, a reservoir 120 for drilling fluid (hereinafter interchangeably referred to as a âmud tank 120â or âmud pit 120â) stores drilling fluid for pumping into the well 108 via the drill string 110. While a single reservoir 120 is shown in FIG. 1, in practice the system 100 may comprise more than one reservoir 120. The drilling fluid stored in multiple reservoirs 120 may collectively be used for the same type of drilling operation, or they may be used for different types of drilling operations. For example, one reservoir 120 may be used to store drilling mud used for tripping operations (âtrip mudâ), while another reservoir 120 may be used for drilling operations excluding tripping (âtotal mudâ).
A volume meter 122 is affixed to the mud tank 120 and is used to measure the total volume of the drilling fluid stored in the mud tank 120 at any particular time (this volume is hereinafter interchangeably referred to as âpit volumeâ). The volume meter 122 may comprise one or both of a float in the mud tank 120 or a radar sensor, for example. A closed fluid circuit comprises the mud tank 120, a fluid input line 118a for sending the drilling fluid down the interior of the drill string 110 and subsequently into the annulus between the drill string and the annular surface of the well 108, and a fluid return line 118b for returning the drilling fluid from that annulus to the mud tank 120; the direction of drilling fluid flow along this closed fluid circuit is shown by arrows in FIG. 1. A mud pump 116 is fluidly coupled to and located along the fluid input line 118a and is used to pump the drilling fluid from the mud tank 120 into the drill string 110. An input flow meter 114a and a return flow meter 114b are fluidly coupled to and located along the fluid input line 118a and fluid return line 118b, respectively, and are used to monitor flow rates into and out of the well 108. While the depicted embodiment shows the input flow meter 114a, in a different embodiment (not shown) the flow through the fluid input line 118a may be determined differently. For example, the number of strokes of the mud pump 116 may be counted and multiplied by the mud pump's 116 displacement per stroke and the volume of the fluid input line 118a to arrive at the flow rate.
Also at surface is a data recording device 104, an example of which is the Pason Rig Displayâ˘. The data recording device 104 obtains sensor readings from various surface sensors such as the flow meters 114a,b and the volume meter 122 in addition to other surface sensors (not shown) and any downhole sensors, such as those comprising part of a measurement-while-drilling tool (not shown) that may comprise part of certain example embodiments. The sensor readings are stored as data points in a text file and may comprise readings such as the hole depth of the well 108; the rate of penetration of the drill bit 112; the depth of the drill bit 112; the on bottom rate of penetration of the drill bit 112 through the formation 106; the weight on the drill bit 112; the rotations per minute of the drill string 110 as measured at the surface; the rotary torque applied to the drill string 110 as measured at the surface; the total pump output of the pump 116 as measured by the input flow meter 114a (âflow inâ); the total flow of drilling fluid out the well 108 and back to the mud tank 120 (âflow outâ); and the pit volume. In different embodiments (not shown), the sensor readings may be stored in a different format, such as in a database. An example data recording device 104 may comprise a 19âł touchscreen, 4 GB of random access memory, a 60 GB hard drive, and an Intel Core i7⢠processor running at 1.5 GHZ. The touchscreen and the enclosure comprising part of the data recording device 104 may be sufficiently rugged and durable to permit extended use at rig sites.
A data analysis device 124 is communicatively coupled to the data recording device 104 and is used to perform certain methods using the data obtained and recorded using the data recording device 104. More particularly and as described in further detail below, the data analysis device 124 determines whether at least one of a loss event and an influx event have occurred, taking into account parameters such as the flow out and pit volume. More particularly, certain embodiments described herein comprise computationally efficient techniques to estimate flow out and pit volume and to use those estimates to identify whether a loss or influx event is occurring. For example, certain embodiments apply one or both of a time and depth sensitive regression to computationally efficiently estimate pit volume and flow out. An example data analysis device 124 may comprise a 15Ⳡtouchscreen, 2 GB of random access memory, a 16 GB SATA hard drive, and an Intel Core2Duo⢠processor running at 1.5 GHZ. The touchscreen and the enclosure comprising part of the data analysis device 124 may be sufficiently rugged and durable to permit extended use at rig sites. When used at rig sites, the data analysis device 124 may be located within the doghouse on the rig floor. An example user interface displayed on the touchscreen of the device 124 is depicted in FIG. 14.
While FIG. 1 depicts the data recording device 104 and data analysis device 124 as being distinct, different configurations are possible. Furthermore, while the depicted embodiment of the data recording device 104 stores sensor readings in a text file, in different embodiments (not depicted) different formats may be used to store those readings. In other embodiments (not depicted), the functionality of the devices 104,124 may be combined into a single device or distributed between three or more devices. Additionally or alternatively, some or all of the functionality of the data recording device 104 may be missing; for example, in one different embodiment, the system 100 may collect and analyze data using the data analysis device 124, but not store the data on a long term basis using the data recording device 104. As another example, one or both of the data recording device and data analysis device 104,124 may store data locally for one or more of display, analysis, and retrieval, but not send the data remotely via any type of network.
As discussed in further detail below, in certain embodiments the analysis device 124 may apply different methods to determine whether one or both of a loss and influx event is occurring depending on the current drilling mode. By virtue of being connected to the recording device 104, the analysis device 124 has access to drilling parameters such as pump output and bit depth and uses those parameters to determine the current drilling mode. In the depicted example embodiment, the analysis device 124 determines the following modes using the following criteria:
FIG. 2B shows a graph of the analysis device's 124 mode estimation results. In regions 1, 3, 5, and 7, generally the analysis device 124 determines that flow in is on and the drill bit 112 is on bottom and accordingly determines the mode as âpumps circulatingâ, although intermittently the analysis device 124 also determines the mode to be in one of the pumps on or off transient states. In regions 2 and 6 the analysis device 124 determines that the mode is âtrippingâ in response to user input, such as through a user interface on the device 124. In region 4 the analysis device 124 determines that the mode is âpartial trippingâ or âreamingâ also in response to user input.
Referring now to FIG. 2A, there is shown a block diagram of one embodiment of a system 200 for mode determination that comprises part of the system 100 for differential drilling mud measurement and alarms. The system 200 comprises a data source 200 of a data stream comprising drilling data, such as the data recording device 104. The data stream is sent to a mode estimation module 202 that determines whether the system 100 is in pumps circulating, pumps off transient, pumps on transient, idle, or tripping mode, as described above. The outputs of the mode estimation module 202 are connected to various alarm modules: the mode estimation module 202 sends information relevant to the determination of whether the system 100 is in âtrippingâ mode to an Alarms During Tripping (âATâ) alarm module, which determines whether to sound an alarm. Similarly, the mode estimation module 202 sends information relevant to the determination of whether the system 100 is in âpumps off transientâ mode, âpumps circulatingâ mode, âidleâ mode, and âpumps on transientâ mode, to an Alarms at Pumps Stop Transients (âASâ) alarm module, to an Alarms While Drilling (âADâ) alarm module, to an Alarms During Idle Times (âAIâ) alarm module, and to an Alarms at Pumps On Transients (âAOâ) alarm module, respectively, and each of those modules is able to determine from the information it receives from the mode estimation module 202 whether to sound an alarm. Each of these alarm modules is communicative with a user interface module 204 that can alert the user of the system 100 to the system's 100 current drilling mode. Each of the alarm modules is also communicative with a cross-mode aggregation module 206, which may be used for cross-mode information sharing. For example, one of the alarm modules may not trigger an alarm based only on the information that it receives from the mode estimation module 202, but it may receive information sent to the other alarm modules from the mode estimation module 202 via the cross-mode aggregation module 206 and take other action in lieu of sounding its alarm (e.g., the system 200 may trigger a different, cross-mode alarm). The cross-mode aggregation module 206 is also communicative with the user interface module 204. The modules 202,204,206 may be implemented, for example, in software as objects in an object-oriented programming language.
When the data analysis device 124 determines that the rig is in the âpumps circulatingâ mode, the device 124 uses one or both of pit volume and flow out, as described below, to determine whether a loss or influx event has occurred.
In this disclosure, the following terms have the following definitions:
The device 124 uses the following methods to estimate pit volume and flow out during pumps circulating, and from one or both of pit volume and flow out determines whether one or both of a loss event and an influx event are occurring.
During pumps circulating, the device 124 presumes that the drill bit 112 is being propelled through the formation 106 and that the pit volume approximately linearly decreases with hole depth (i.e., the depth of the well 108), as more of the drilling fluid is used to fill an increasingly deep well 108. Conventional attempts to determine the decrease in pit volume with increasing hole depth using only a priori measurements of various drilling parameters (i.e., measurements of various drilling parameters obtained prior to drilling commencing, such as the size of the bit 112 and diameter of the drill string 110) are typically prejudiced by their failure to take into account parameters that arise during drilling (e.g., losses in pit volume due to cuttings, and incomplete hole cleaning).
Notwithstanding those parameters that arise during drilling, the relationship between pit volume and hole depth is approximately linear:
d ( t ) â Îą * hd ⥠( t ) + Îł ( 1 )
In Equation (1), Îą and Îł are parameters that the device 124 determines from historical measurements of hole depth and pit volume, including a fixed number of {hole depth, pit volume} measurements from the most recently drilled N meters (typically, N=100 m) using any suitable method, such as least squares. Additional long-term activities at the rig on surface, such as adding fluid to the mud tank 120, pumping a pill, turning solids control machinery on or off, and re-organizing one or more of the mud tanks 120 in embodiments comprising multiple mud tanks 120, may also affect the observed pit volume. To the extent that the effect on the pit volume is consistent over relatively long time periods, such as from approximately 10 minutes to approximately 1 hour, the device 124 may estimate them using Equations (2) and (3):
t ( t ) = p ⢠v ⥠( t ) - d ( t ) ( 2 ) t ( t ) â β ⢠t ( 3 )
where β is a parameter that the device 124 determines using historical values of d(t) and pv(t) over the most recent T seconds, where T may vary with different embodiments. For example, T is typically between 600 seconds (10 minutes) and 3,600 seconds (1 hour). The device 124 determines resulting pit volume error using Equations (4) and (5):
( t ) = d ( t ) + t ( t ) ( 4 ) e ( t ) = p ⢠v ⥠( t ) - ( t ) ( 5 )
The device 124 implements Equation (4) to generate an estimate for pit volume that comprises a joint depth and time sensitive regression. The device 124 implements Equation (5) to mark deviations in the pit volume by tracking the magnitude of e(t). The device 124 is accordingly able to track influx and loss events by tracking the deviations in the pit volume using Equation (5) without requiring the user to specify additional drilling parameters such as loss due to cuttings, bit depth, and hole cleaning. For example, in one embodiment the device 124 acquires one sample of data per second. For each sample of data, the device 124 estimates ι and β, and updates pv(t) and (t) by applying Equations (4) and (5).
In some embodiments, such as when the pit volume is not well modeled by hole depth (e.g., the user may be changing drilling fluid weights or adding/removing fluid from the system), the device 124 may apply different versions of Equations (4) and (5) that comprise the time sensitive regression but not the depth sensitive regression. In these embodiments, the device 124 determines β so that (t) directly estimates pv(t) by using historical values of pv(t) (as opposed to d(t) and pv(t) in embodiments in which the pit volume is well modeled by hole depth) and then applies Equations (6) and (7):
( t ) = t ( t ) ( 6 ) e ( t ) = pv ⢠( t ) - ( t ) ( 7 )
Regardless of whether the device 124 implements Equations (4) and (5) or (6) and (7), the device 124 is able to identify influx and loss events by tracking the sign and magnitude of e(t). In some embodiments, the device 124 identifies a loss event when the absolute value of e(t) exceeds a loss event threshold and is negative, and identifies an influx event when the absolute value of e(t) exceeds an influx event threshold and is positive.
Referring now to FIG. 3, there are shown six curves showing various drilling parameters for the well 108 over approximately 80 minutes: a flow in curve 302 showing flow in for the well 108; a transient curve 304 showing whether the well 108 is in a transient state resulting from the pump 116 being shut off and turned back on; a pit volume curve 306 showing measured pit volume; a pit volume estimate curve 308 showing estimated pit volume as determined using Equation (4); a hole depth curve 310 showing hole depth; and a bit depth curve 312 showing bit depth. As the flow in curve 302, transient curve 304, and pit volume curve 306 show, during a transient caused by a change in the state of the pump 116 the pit volume temporarily jumps, with the jumps not resulting from a loss or influx event. In some embodiments, the device 124 accordingly disregards estimates determined using Equations (4)-(7) during transients and during other periods in which the mode estimation module 202 determines the mode not to be pumps circulating.
In some embodiments, the linear approximations relied on to determine Equations (4)-(7) are relatively poor approximations for pit volume; for example, in certain situations fluids may be added or removed from the mud tank 120 that cause the models used to determine Equations (4)-(7) to behave unexpectedly due to the time-lagged nature of the linear models. Accordingly, in some embodiments the device 124 may estimate the pit volume using a trailing minimum and a trailing maximum:
pv erode ⢠( t ) = min ⥠( pv ⢠( t - i ) ) ( 8 ) pv dilate ⢠( t ) = max ⥠( pv ⢠( t - i ) ) ( 9 )
where i ranges from 0 to M samples or a corresponding number of seconds, with the result being that the erode and dilate variables of Equations (8) and (9) represent trailing minimum and maximum, respectively. Using Equations (8) and (9), the device 124 determines whether changes in pit volume indicative of influx and loss events exist by determining whether einflux(t) of Equation (10) exceeds the influx event threshold and whether eloss(t) of Equation (11) exceeds the loss event threshold, respectively:
e influx ( t ) = pv ⢠( t ) - pv erode ⢠( t ) ( 10 ) e loss ( t ) = pv dilate ⢠( t ) - pv ⢠( t ) ( 11 )
Equations (8) and (9) represent special cases of order statistics (specifically, the 0% and 100% (1st and nth) order statistics of a vector of length n). Different embodiments may use different order statistics. For example, one different example embodiment may respectively use the 10% and 90% order statistics for pverode(t) and pvdilate(t), while another different embodiment may use the 15% and 85% order statistics for pverode(t) and pvdilate(t). Similarly, depending on the thresholds, in certain embodiments the trailing median (50% order statistic) can also be used for both the erode and dilate values. More generally, in certain embodiments any two order statistics for pverode(t) and pvdilate(t) may be used, with the order statistic for pverode(t) being less than or equal to the trailing median, and the order statistic for pvdilate(t) being greater than or equal to the trailing median.
In addition to determining pit volume and pit volume error estimates, the device 124 also predicts expected flow out during normal drilling operations (e.g., any time the pumps are on and the system is not in a transient state) using flow in as the independent variable. During normal drilling operations, the relationship between flow in and flow out is relatively static; that is, a fixed flow in provides a relatively fixed flow out. Consequently, it is relatively difficult to determine the relationship between flow in and flow out that manifests during flow in transients (e.g., the time immediately following the pump 116 shutting off) from static drilling data. Instead, the information about the relationship between flow in and flow out is primarily contained in the time regions around the pump transients; i.e., the time periods immediately after the pump 116 transitions from on to off or vice versa. The device 124 uses the information contained in these transient regions to determine flow out based on Equation (12):
f Ë out ( t ) = â i β i ⢠f in ( t - i ) ( 12 )
where i varies over a fixed range, e.g. iâ[0,120s]. Since the relatively important parts of the drilling data are around (e.g., within five or ten minutes of) pump on and pump off transients, {circumflex over (f)}out(t) is determined using the N most recent pevent (t,n), nâ1 . . . N, where N may be varied to control the speed with which 8; updates. In one example embodiment, Nâ[1,10] have been found to be useful for influx event detection, although in different embodiments different N values, and in particular larger N values, may be used.
Referring now to FIG. 4, the device 124 concatenates multiple vectors of flow out and flow in data around each pump event pevent (t,n) into a matrix and applies a least squares linear regression to determine the underlying relationship between flow out and flow in, β. In FIG. 4, X represents flow in and Y represents the regression target, flow out. The device 124 extracts data from the N most recent pump transient events pevent (t,n) and using this data determines β as (XXâ˛)â1XY. In certain embodiments, the model of FIG. 4 may be modified to determine 80, which acts as a DC offset in Equation (12); this offset accounts for non-zero flow out measurements with zero-valued flow in measurements (e.g., measurements resulting from a stuck or an erroneously calibrated paddle). While in the depicted embodiment a least squares linear regression is used, in different embodiments (not depicted) one or both of a non-negative least squares regression and a robust least-squares regression may be used. Furthermore, in different embodiments, the device 124 may use an adaptive regression in which it updates βi using information not only during or around pump transient events, but during or around additional events as well. For example, in one example embodiment, the device 124 may continuously update βi with the same frequency with which it applies Equation (12) to determine {circumflex over (f)}out(t).
After the device 124 determines {circumflex over (f)}out(t), the device 124 determines the difference between {circumflex over (f)}out(t) and the observed fout(t) and is able to identify influx and loss events by tracking the sign and magnitude of this difference. In some embodiments, the device 124 identifies a loss event when the absolute value of this difference exceeds a loss event threshold and this difference is negative, and identifies an influx event when the absolute value of this difference exceeds an influx event threshold and this difference is positive.
In some embodiments, the device 124 uses only one of pit volume error and flow out error to determine whether an influx or loss event is occurring; however, in other embodiments, the device 124 uses both pit volume and flow out error to make this determination. Using both pit volume error and flow out error may help to reduce false alarms due to spurious noise without sacrificing sensitivity (i.e., while maintaining relatively high probability detection of both influx and loss events). For example, determining that an influx event is happening based on flow out error in addition to pit volume error slightly delayed in time may help to decrease the false alarm rate by reducing the likelihood that bad data (e.g., resulting from a stuck paddle) is triggering the determination that an influx or loss event is occurring. âSlightly delayed in timeâ refers to the length of time for the drilling fluid to travel from the return flow meter 114b to the mud tank 120; example lengths are anywhere from approximately 30 seconds to approximately 3 minutes.
Referring now to FIGS. 5 and 6, there are shown curves showing drilling parameters during normal drilling operation (FIG. 5) and when an influx event is detected (FIG. 6). As in FIG. 3, each of FIGS. 5 and 6 comprises the flow in curve 302, transient curve 304, pit volume curve 306, pit volume estimate curve 308, hole depth curve 310, and bit depth curve 312. FIGS. 5 and 6 additionally comprise a flow out curve 502 and flow out estimate curve 504, with the flow out curve 502 representing the reading from the return flow meter 114b and the flow out estimate curve 504 being determined by the device 124 by applying Equation (12). Each of FIGS. 5 and 6 also comprises a graph 506 of hole depth vs. pit volume and a graph 508 of pit volume error vs. measured flow out.
In FIG. 5, pit volume error is relatively low, as evidenced by the graph 508 of predicted pit volume error vs. measured flow out and by comparing the pit volume and pit volume estimate curves 306,308. Additionally, flow out error is relatively low, as evidenced by the comparing the flow out and flow out estimate curves 502,504. This holds true during pump transients and during pumps circulating.
In contrast, at approximately time=0 minutes in FIG. 6, pit volume error is relatively high, as evidenced by the graph 508 of predicted pit volume error vs. measured flow out and by comparing the pit volume and pit volume estimate curves 306,308. Additionally, flow out error is relatively high, as evidenced by the comparing the flow out and flow out estimate curves 502,504. As pit volume error is positive, these errors indicate an influx event.
As discussed above, in some of the above embodiments the device 124 disregards pit volume estimates resulting from pump transients. In the embodiments described in this section, the device 124 estimates, during pump transient events, the relationship between flow in, flow out, and pit volume, so that during subsequent pump transient events the expected flow out and pit volume may be reconstructed from flow in data alone. This is referred to as well fingerprinting and in certain situations may enable improved influx and loss event detection when conventional fingerprinting approaches may fail (e.g., due to changing pump transient lengths or changing pump behaviors). The well fingerprinting embodiments of this section use the flow out model described in association with Equation (12), above; however, unlike the embodiments used to estimate pit volume described in association with Equations (4)-(11), these well fingerprinting embodiments do not rely on either a time or hole depth sensitive regression.
Instead, the well fingerprinting embodiments primarily use transient data. Referring now to FIG. 7, there is shown a schematic of the closed fluid circuit comprising the mud tank 120, fluid input line 118a, fluid return line 118b, well 108, volume meter 122, and flow meters 114a,b. FIG. 7 also shows time delays Ď1, Ď2, and Ď3, which represent the time delays before a change in flow measured by the return flow meter 114b results in a change in volume measured by the volume meter 122, before a change in volume measured by the volume meter 122 results in a change in flow measured by the input flow meter 114a, and before a change in flow recorded by the input flow meter 114a results in a change of flow measured by the return flow meter 114b, respectively. In one different embodiment, instead of the input flow meter 114a the device 124 is communicatively coupled to the mud pump 116 and tracks the mud pump's 116 strokes, and measures the volume of mud pumped over a period of time by multiplying the number of pump strokes during that period by the displacement per pump stroke. In this different embodiment, Ď2 represents the delay between the pump stroke and when the resultant volume change manifests in the mud pit 120.
As volume that the volume meter 122 measures is the integral of flow, and taking into account time delays Ď1 and Ď2, results in Equation (13):
pv ⢠( t ) = ⍠f out ( t - Ď 1 ) ⢠dt - ⍠f in ( t - Ď 2 ) ) ⢠dt + ⍠n ⥠( t ) + C ( 13 )
where n(t) represents variations due to factors such as changing hole depth and manually adding or removing drilling fluid from the mud tank 120, and C is a constant offset representing initial volume of the mud tank 120. Equation (13) holds if units used for the pit volume, flow in, and flow out are all compatible and the meters 114a,b, 122 are all calibrated. Practically, however, flow in may be measured in m3/minute but measurement accuracy may be prejudiced by hidden assumptions about pump efficiency and fluid compositions. The situation for flow out may be worse, with direct measurement of flow out rarely occurring as flow out paddles typically are highly variable and measure flow in terms of percent as opposed to volume; instead, flow out is typically measured in angular displacement of a flow paddle. Therefore, to a first order approximation:
pv ⢠( t ) = Îł ⢠⍠f Ë o ( t - Ď 1 ) ⢠dt - a ⢠⍠f Ë i ( t - Ď 2 ) ⢠dt + ⍠n ⥠( t ) ( 14 )
where {dot over (f)}o represents normalized flow measurements so a percentage measurement from a flow paddle is expressed in volume per unit time such as m3/min, {dot over (f)}i is typically left in its original units ({dot over (f)}i=fi), and some linear or non-linear relationship between fo and fi is used to determine the flow out in approximate units of m3 per unit-time (e.g., {dot over (f)}o=δ1fo+δ0).
Depending on the well 108, the parameters δ1, δ0, Ď1, Ď2, Îą, and Îł may be different and the device 124 accordingly determines on a per well basis what these parameters are from historical flow out, flow in, and pit volume data, with recalibration being done periodically (e.g., at pump on and off events, or once a day). The device 124 determines δ1 and δ0 using flow out and flow in data measured during pump transient events, as described above in respect of the pumps circulating mode. Equation (14) can then be recast as:
pv ⢠( t ) â ( ⍠f . o ( t - Ď 1 ) ⢠dt - Îą ⢠⍠f Ë i ( t - Ď 2 ) ⢠dt ) ⢠β ( 15 )
Taking the derivative of each side results in Equation (16):
dpv dt ⢠( t ) â ( f Ë o ( t - Ď 1 ) - Îą ⢠f Ë i ( t - Ď 2 ) ) ⢠β ( 16 )
Under normal drilling operations, absent gains or losses and ignoring secondary effects, the flow-out is well represented by a scaled version of the time-delayed flow-in, which permits the computationally efficient approximation of Equation (16.1):
dpv dt ⢠( t ) â â Îł j ⢠df i ⢠( t - j ) dt ( 16.1 )
Depending on the particular well 108 (e.g., whether it is more numerically acceptable to integrate flow or differentiate pit volume), the device 124 may apply any one or more of Equations (15), (16), and (16.1) to determine Ď1, Ď2, Îą, and β using any suitable technique. To simplify this determination, the device 124 may constrain Ď1 and Ď2 to be on the order of the maximum feasible delay between 1) the return flow meter 114b and the mud tank 120 and 2) the mud tank 120 and the input flow meter 114a, respectively; example constraints for each of Ď1 and Ď2 range from approximately 10 seconds to approximately 5 minutes. Similarly, the device 124 may constrain Îą and β to be near one, such as between approximately 0.8 and approximately 1.5, assuming the flow in units agree with the pit volume units and δ1 and δ0 are estimated correctly. The device 124 may, for example, determine Ď1, Ď2, Îą, and β by performing an exhaustive search over reasonable parameter ranges, such as the ones provided above.
Referring now to FIG. 8A, there is shown an example method 800 for detecting at least one of an influx event and a loss event during drilling, according to another embodiment. The method 800 is expressed as computer program code and is stored within a memory comprising part of the device 124 for execution by a processor comprising part of the device 124. While the method 800 of FIG. 8A is directed at influx event detection at a pumps off transient event, in different embodiments (not depicted) the method 800 may instead be directed at loss event detection at a pumps off transient event or at loss or influx event detection at either a pumps on or pumps off transient event.
As shown in FIG. 8A, the method 800 uses four parameters: flow in, flow out, pit volume, and bit depth; data streams for each of these parameters are aligned at the time corresponding to flow in equaling zero (i.e., the beginning of the pumps off transient event). The device 124 proceeds to block 802 where it assesses data validity for use in future applications of the method 800. In the depicted embodiment the device 124 assesses validity by determining factors such as whether the well 108 is shut in, whether flow has been on for less than a predetermined threshold such as three minutes, whether the sensors have output anomalous data (e.g., negative flow readings, unrealistically high flow readings such as 1,000 m3/min, constant flow readings for unrealistically long durations that are indicative of a stuck flow paddle), and whether any expected data is missing. If the device 124 determines the data is valid, the method 800 proceeds to block 804 where the data is added to a model history for future use and then to block 806 where the device 124 proceeds to blocks 810 and 818, as described below, to apply the flow out and pit volume models as described by Equations (12), (15), and (16). In the depicted example embodiment, if the device 124 determines that the data is not valid, it does not store the data for use in future applications of the method 800, but still performs the method 800 starting at blocks 810 and 818 as described below. In different embodiments (not depicted), if the device 124 determines that the data is not valid, it may terminate the method 800 and not perform blocks 810 or 818.
The device 124 also determines whether to terminate the method at block 808 by applying one or more termination criteria. In this example embodiment, the termination criteria comprise whether flow in is greater than zero, and whether the paddle is stuck. In different embodiments the termination criteria may be different any may additionally or alternatively comprise whether the drill bit 112 is in motion. If one or more of these termination criteria are satisfied, the device 124 ends the method 800. In the depicted example embodiment, the device 124 performs block 808 after every data sample and block 802 at the end of a pumps off event; however, in different embodiments (not depicted), the device 124 may perform both blocks 802 and 808 at every data sample, at the end of a pumps off event, or at a different rate.
The device 124 performs the branches of the flow chart beginning at blocks 810 and 818 in parallel; the device 124 determines flow out error with the branch beginning at block 810 and determines pit volume error with the branch beginning at block 818. At block 810, the device 124 determines the flow out estimate by applying Equation (12). The device 124 then proceeds to block 812 and determines flow out error by determining fout(t)â{circumflex over (f)}out(t) and then at block 814 applies Equation (17):
f out ⢠error = f out ( t ) - f Ë out ( t ) Ď out ( t ) ( 17 )
Prior to applying Equation (17), the device 124 updates Ďout(t) by determining the standard deviation of fout(t)â{circumflex over (f)}out(t) over the last N pumps on or pumps off transients.
At block 818, the device 124 estimates pit volume from expected flow out by applying Equation (18):
( t ) = ( ⍠f o E . ⢠st ( t - Ď 1 ) ⢠dt - Îą ⢠⍠f Ë i ( t - Ď 2 ) ⢠dt ) ⢠β ( 18 )
where {dot over (f)}Est represents the expected flow out, corrected with δ1 and δ2. In a different embodiment, the device 124 may alternatively directly apply Equation (16.1).
At block 820, the device 124 determines the pit volume error by determining pv(t)â(t) and then at block 822 applies Equation (19):
pv error = ( pv ⢠( t ) - ( t ) ) / Ď pv ( t ) ( 19 )
Prior to applying Equation (19), the device 124 updates Ďpv(t) by determining the standard deviation of pv(t)â(t) over the last N pumps on or pumps off transients.
After determining fouterror and pverror, the device 124 at blocks 816, 824, and 826 determine that a loss event has occurred if both fout error and pverror exceed their loss event thresholds and each is negative, and that an influx event has occurred they both exceed their influx event thresholds and each is positive. At blocks 816 and 824, the device 124 removes relatively small values of fouterror and pverror (e.g., values having a magnitude <1) from consideration, and proceeds to block 826 where it determines an error metric as the product of the cumulative sum of fouterror and the cumulative sum of pverror. By removing relatively small values at blocks 816 and 824, the device 124 avoids the situation where very large errors in one of flow out and pit volume are multiplied at block 826 with very small errors in the other of flow out and pit volume to skew the determination of whether a loss or influx event is occurring.
While FIG. 8A and Equations (17) and (19) in particular refer to Ďout(t) and Ďpv(t), in different embodiments (not depicted) the device 124 may apply FIG. 8A and omit these variables, in effect setting them to always equal 1. The device 124 can therefore instead use raw sensor values not divided by one or both of Ďout(t) and Ďpv(t).
Other embodiments in addition or as an alternative to those described above that shown in FIG. 8A are possible. For example, in one different embodiment blocks 816 and 824 are omitted, and the outputs of block 814 and 822 (regardless of whether they are divided by Ďout(t) and Ďpv(t)) are used directly in block 826. In some different embodiments, a function other than cumulative sum is used at block 826.
FIG. 8B depicts a flowchart for one alternative embodiment of the method 800. In this embodiment, blocks 814, 816, 822, 824, and 826 are omitted. At block 812, fouterror is determined as âŤÎŁ=0t fouterror (t)dĎ, and at block 820 pverror is determined as one of
pv error i t = 0 ⢠âŚĎ = max ⢠pv error ( Ď )
for influxes, or
pv error l = min t = 0 â˘ âŚ â˘ Ď pv error ( Ď )
for losses. From block 812, the device 124 proceeds to new block 828 where it determines whether âŤĎ=0tfouterror dĎ exceeds its influx event threshold and is positive or exceeds its loss event threshold and is negative; similarly, from block 820 the device 124 proceeds to new block 830 where it determines whether pverrori has a magnitude that exceeds its influx event threshold and is positive (for influxes) or pverrori has a magnitude that exceeds its loss event threshold and is negative (for losses). The device 124 then proceeds to new block 832 where, if both âŤĎ=0tfouterror dĎ and pverrori are positive and have magnitudes that exceed their influx event thresholds the device 124 identifies an influx event; if both âŤĎ=0tfouterror dĎ and pverrori are negative and have magnitudes that exceed their loss event thresholds the device 124 identifies a loss event; and where if âŤĎ=0tfouterror dĎ exceeds its influx threshold, and pverrori exceeds its loss threshold or âŤĎ=0tfouterror dĎ exceeds its loss threshold and pverrori exceeds its influx threshold, the device alerts the user to a potential problem indicated by this incongruity.
Referring now to FIG. 9 there are shown four graphs 902a-d: a measured flow in graph 902a showing measured flow in using a measured flow in curve 904; a flow out graph 902b showing measured and predicted flow out using a measured flow out curve 906 and a predicted flow out curve 908; a pit volume graph 902c showing measured and predicted pit volume using a measured pit volume curve 910 and a predicted pit volume curve 912; and an output metric graph 902d with an output curve 914 that substantially deviates from zero if the device 124 determines that a loss or influx event has occurred. As FIG. 9 shows normal drilling, the output curve 914 is substantially equal to zero.
The embodiment for estimating flow out based on flow in and described in association with Equation (12), above, may experience artefacts attributable to axial motion of the drill string 110 while hole depth stays constant (e.g., washing, reaming, pumps circulating). The error in that flow out model is referred to as fresidual(t)=fout(t)â{circumflex over (f)}outfin(t) where the superscript fin of {circumflex over (f)}outfin(t) indicates that fout(t) is determined using only the flow in measurements. As a predictor of this residual flow, the device 124 may apply Equation (20):
bd δ ⢠( t ) = d dt ⢠( hd ⢠( t ) - bd ⢠( t ) ) ( 20 )
where bdδ(t) measures relative motion of the drill string 110 (bit depth) compared to the hole depth. At any particular time, the residual flow out error may be determined using the recent history of bdδ(t), such as by using Equation (21):
fresidual ⥠( t ) â f Ë bd = â Îą i ⢠bd δ ⢠( t - i ) ( 21 )
and thus the device may estimate total flow out using Equation (22):
f Ë â˘ out ( t ) = f Ë f in ( t ) + f Ë bd ( t ) ( 22 )
The data for the device 124 to apply Equations (21) and (22) may be extracted from a certain number of minutes' worth of data (e.g., ten minutes) preceding the N most recent pumps off events where:
In different embodiments, the data for the device 124 to apply Equations (21) and (22) may be extracted from a certain number of minutes' worth of data (e.g., any of 1, 2, 3, 4, or 5) preceding or around the N most recent bit motion events, which are events in which the drill bit 112 moves more than 1 meter off bottom and the velocity of the drill bit 112 is greater than 10 cm/second for at least 10 seconds.
FIG. 10 demonstrates the method by which the device 124 determines the data that permits it to apply Equations (21) and (22). The derivative with respect to time of the difference between hole depth and bit depth at different times during a transient event populates X, while the residual flow for that difference populates the corresponding entry in Y. Îą then equals (XXâ˛)â1XY. While this embodiment describes a least squares regression approach, as described above different regression approaches, such as a non-negative least squares, robust least squares, support vector machines, and random forest approaches, may be used.
The device 124 may apply Equation (22) to flag influx and loss events and other phenomena such as ballooning. Additionally, the relationship between flow out and pipe motion embodied by Equation (22) may be used to flag swabbing, which refers to reducing pressure in the well 108 by moving the drill string 110, wireline tools or rubber-cupped seals up the well 108. As the drill bit 112 may move significantly during any phase of drilling, at least for a short period of time, in some embodiments the device 124 may apply Equation (22) at all times while in operation.
Referring now to FIG. 11, there are shown curves showing drilling parameters during normal drilling operation. As in FIGS. 5 and 6, FIG. 11 comprises the flow in curve 302, hole depth curve 310, bit depth curve 312, flow out curve 502, a first flow out estimate curve 1102 determined using Equation (12), and a second flow out estimate curve 1104 determined using Equation (22). Periods of time of relatively fast drill string motion are circled in FIG. 11. As evident from FIG. 11, during periods of relatively rapid drill string motion, the second flow out estimate curve 1104 more closely tracks measured flow out than the first flow estimate curve, particularly immediately prior to a pumps off transient event when the drill string 110 is moved significant off the bottom of the well 108.
As described above, the data analysis device 124 may estimate pit volume as a function of time, as described above in respect of Equation (4). One consequence of this is that in certain scenarios, the pit volume estimate as determined in respect of Equation (4) may lose accuracy with increasing time. In other words, the accuracy of the estimated pit volume ((t) in Equation (4)) determined by the data analysis device 124 may decrease as t increases. In at least some embodiments, t represents a continuous range or window of time values, and the estimated pit volume at a given t is the average of the estimated pit volumes taken over the time values of the corresponding range. In practice, this estimated pit volume is used by the data analysis device 124 as a basis on which to trigger an alarm if the estimated pit volume error (e(t) in Equation (5)), which is the difference between the estimated and measured pit volumes, exceeds at least one of a loss or influx event threshold as described above (this alarm is the âabsolute mud value alarmâ as it is based on total pit volume). Alarm reliability can accordingly decrease with increasing time, particularly if a user specifies very large loss or influx event threshold.
Accordingly, in at least certain embodiments herein, the data analysis device 124 is configured to independently track gains or losses in mud volume over time in addition to whether the estimated pit volume error exceeds at least one of the loss or influx event threshold. These gains or losses are determined as a differential between a drilling mud measurement (e.g., a measurement of total mud, or alternatively only trip mud) and a reference drilling mud value, and the device 124 sounds an alarm if this differential exceeds a differential alarm threshold (this alarm is the âdifferential mud value alarmâ). The reference drilling mud value is set in response to user input indicative of user attention; in other words, the device 124 resets the reference drilling mud value when the device 124 determines, through one of any number of particular user inputs, that the user has actively focused their attention on the device 124 and consequently is aware of the current measured and estimated pit volumes. This mitigates the risk of low alarm reliability as a result of a long time having passed since the last time the user confirmed pit volume.
FIG. 18 depicts a flowchart of an example method 1800 for drilling mud measurement and monitoring. The method 1800 may be implemented using the volume meter 122 to acquire pit volume measurements, the data recording device 104 to record those measurements, and the data analysis device 124 to process those measurements. At block 1802, a drilling mud measurement is performed during a drilling operation. The drilling mud measurement is of at least some of the drilling mud used for the drilling operation. For example, the drilling mud measurement may be of âtrip mudâ, at least partially stored in trip mud tanks (not shown), which is the mud used specifically for tripping operations. Alternatively or additionally, the drilling mud measurement may be of âtotal mudâ, at least partially stored in the mud tank 120, which is the total mud used for drilling operations excluding the trip mud. The measurement may be obtained using the volume meter 122, recorded in the data recording device 104, and processed by the data analysis device 124 as described further below in respect of blocks 1804-1808. The method 1800 may be repeatedly performed for each pit volume measurement.
At block 1804, the data analysis device 124 determines that the drilling mud measurement is within an absolute mud value range. The absolute mud value range may be defined as the estimated pit volume (e.g., as defined by Equation (4)) minus the loss event threshold as a lower bound, and the estimated pit volume plus the influx event threshold as an upper bound. An example of the absolute mud value range is shown in FIG. 16, which is a graph 1600 of measured pit volume 1602 vs. time overlaid with the absolute mud value range. The mud value range is referred to as an âabsoluteâ range because the range is of a total amount of mud, either total mud or trip mud, and not of a differential amount or gain/loss of mud between two moments in time.
In FIG. 16, the absolute mud value range spans the estimated pit volume plus the influx event threshold, which results in the range's upper differential bound 1604a; and the estimated pit volume minus the loss event threshold, which results in the range's lower differential bound 1604b. This range is overlaid on the measured pit volume 1602 in FIG. 16 (the estimated pit volume per se is not shown in FIG. 16). Up until time t1 in FIG. 16, the measured pit volume 1602 is within the absolute mud value range, in accordance with block 1804. At and after time t1 in FIG. 16, the measured pit volume 1602 falls below the absolute mud value range's lower differential bound 1604b. This is sufficient to cause the data analysis device 124 to trigger an alarm indicating that a loss event may be occurring or is imminent. Practically, this is sufficient for all times represented in FIG. 16 so long as the estimated pit volume used to determine the absolute mud value range in FIG. 16 is accurate.
FIG. 17A again shows a graph 1600 of measured pit volume 1602 vs. time, overlaid with the absolute mud value range. As in FIG. 16, the absolute mud value range's upper and lower differential bounds 1604a,b are shown. Unlike in FIG. 16, the measured pit volume 1602 stays within the absolute mud value range for all times shown in FIG. 17A. Consequently, based on absolute mud values alone, the data analysis device 124 would not sound an alarm. However, as mentioned above, the pit volume estimate may lose accuracy with increasing time. The fact that an alarm is not sounded based on absolute pit volume measurements may not be determinative of there not being a loss or influx event.
In order to address this potential issue, at block 1806 of the method, the data analysis device 124 determines whether a differential between the drilling mud measurement and a reference drilling mud value exceeds a differential alarm threshold. This is graphically depicted in the graph 1700 of FIG. 17B, which shows a volume differential of measured pit volume vs. the reference drilling mud value over time. The reference drilling mud value is the measured pit volume at any particular time when the data analysis device 124 receives user input indicative of user attention. Examples of such input comprise any one or more of the following:
In at least some embodiments, the device 124 determines and tracks estimated pit volume for the absolute mud value alarm, and differential mud values for the differential mud value alarm, even if the user has shut all alarms off. In other words, even if the user has disabled alarm generation, the device 124 is continuing to make the measurements and determinations required for the absolute mud value alarm and the differential mud value alarm. Should the user re-enable alarm generation by providing user input to the device 124, if the differential determined while alarm generation was disabled immediately warrants alarm generation, the device 124 may immediately generate an alarm upon the user re-enabling alarm generation.
Additionally or alternatively, in at least some embodiments the reference drilling mud value may be reset to the measured pit volume at the time the user re-enables alarm generation functionality. This may be done even if an alarm is generated on re-enablement in response to the differential determined while alarm generation was disabled. Alternatively, if the reference drilling mud value is reset on re-enablement, in some embodiments an alarm may only be generated if the differential exceeds the differential alarm threshold based on the reset reference drilling mud value.
In FIG. 17B, the device 124 receives user input indicative of user attention at times t1, t2, and t4. Prior to time t1, the device 124 determines the differential as the difference between the drilling mud measurement and the reference drilling mud value. The reference drilling mud value may be initialized to the measured pit volume at time zero (not shown), thereby resulting in the differential being zero at time zero. The earliest time value shown in FIG. 17B occurs after time zero. FIG. 17B shows in dashed lines a zero differential 1706, corresponding to when the measured pit volume equals the reference drilling mud value; an upper differential bound 1704a, representing the maximum allowed amount the measured pit volume is permitted to be above reference drilling mud value before sounding an alarm; and a lower differential bound 1704b, representing the maximum allowed amount the reference drilling mud value is allowed to be above the measured pit volume before sounding an alarm. The range spanned by the upper and lower differential bounds 1704a,b represents the differential alarm threshold. An example differential between each of the upper differential bound 1704a and the reference drilling mud value, and the lower differential bound 1704b and the reference drilling mud value, is approximately 7 m3 (Ë44 US barrels).
Namely, between the initial time of FIG. 17B and time t1, the differential increases and then levels off until time t1. In other words, the difference between the measured pit volume and the reference drilling mud value increases, and then the differential ceases to grow or shrink until time t1. At time t1, the user interacts with the device 124 to provide user input indicative of user attention as described above. This resets the reference drilling mud value to the current measured pit volume, thereby resulting in a step change decreasing the differential to zero. Between times t1 and t2, the differential remains zero (i.e., the measured pit volume remains unchanged) before decreasing for a period of time (i.e., the measured pit volume decreases below the reference drilling mud value determined at time t1) and then leveling off again until time t2. At time t2, the user again provides user input indicative of user attention, which resets the reference drilling mud value and consequently the differential to zero.
The differential decreases (i.e., grows increasingly negative) from times t2 to t3 approximately linearly. At time t4, the user again provides input to the device 124 indicative of user attention, thereby resetting the differential to zero. However, between times talarm and t4 the differential is less than the lower differential bound 1704b, which results in the device 124 entering an alarm state and sounding an alarm at block 1808 of FIG. 18. The user input at time t4 may be the user acknowledging and shutting the alarm off. The alarm may be one or both of sounded or displayed on the device 124, or additionally or alternatively be brought to the user's attention in another manner. For example, the alarm may comprise pushing a notification to the user's smartphone 1300 (depicted and described in respect of FIG. 13, below).
While the device 124 sounds or displays an alarm at time talarm in response to the differential alarm threshold being crossed, contrasting the graphs 1600,1700 of FIGS. 17A and 17B shows that the measured pit volume at no time is outside the absolute mud value range. The graphs 1600,1700 of FIGS. 17A and 17B accordingly collectively represent an example where the device 124 does not sound an alarm in respond to the absolute measured pit volume exceeding the absolute mud value range, but does sound an alarm in response to differential mud volume measurements exceeding the differential alarm threshold. Consequently, the device 124 is able to notify the user of a potential influx or loss event based on differential mud volume measurements even when no alarm is warranted based on absolute pit volume measurements alone.
The user may perform any number of actions in response to hearing the alarm. For example, the user may stop the immediate action they are doing (e.g., they may cease tripping out, or cease proceeding downhole), up to and including suspending drilling (e.g., they may âshut inâ the well by closing it off temporarily and ceasing flow of fluids to surface).
FIG. 15A depicts an example screenshot 1500 shown on a display comprising part of the device 124. As described above, the display may be touch sensitive to allow users to directly interact with it in a rugged environment, such as on a drilling rig. The screenshot 1500 comprises a âtotal mudâ indicator 1502, representing total mud volume; a âtrip mudâ indicator 1504, representing total trip mud volume; a total mud graph 1506, showing a trace 1512 of total mud over time; and a trip mud graph 1508, showing a trace 1514 of trip mud over time. Each of the graphs 1504,1506 also depicts absolute mud value ranges delineated by lower and upper bounds 1510a,b. Unlike the bounds 1604a,b described in respect of FIGS. 16 and 17A, the bounds 1510a,b of FIG. 15A are constant values unless manually changed. The graphs 1506,1508 accordingly comprise traces respectively showing a history of drilling mud measurements and corresponding absolute mud value ranges.
FIG. 15B depicts a window 1514 that may be shown on the device's 124 display to permit the user to enable alarms, and to change the values used to determine the threshold at which the device 124 will sound an alarm. In FIG. 15B, a switch 1516 is used to enable or disable the alarm that sounds based on measured pit volume falling outside the absolute mud value range. The user is also able to define the absolute mud value range by specifying in a benchmark text field an initial value for the reference drilling mud value, and in loss and gain text boxes 1518,1520 the offsets relative to that initial value that respectively define the lower absolute bound 1604b and the upper absolute bound 1604a.
The differential mud value alarm is automatically turned on or off in response to the user turning on or off the absolute mud volume alarm. In other words, the on/off state of the differential mud value alarm automatically follows that of the absolute mud value alarm. A user may accordingly explicitly request absolute mud value monitoring, and the device 124 may automatically in response also enable the differential mud value alarm. Similarly, the user may explicitly turn off the absolute mud value alarm, and the device 124 may automatically disable the differential mud value alarm in response.
The embodiments have been described above with reference to flowcharts and block diagrams of methods, apparatuses, systems, and computer program products. In this regard, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of various embodiments. For instance, each block of the flowcharts and block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative embodiments, the functions noted in that block may occur out of the order noted in those figures. For example, two blocks shown in succession may, in some embodiments, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Some specific examples of the foregoing have been noted above but those noted examples are not necessarily the only examples. Each block of the block diagrams and flowcharts, and combinations of those blocks, may be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Each block of the flowcharts and block diagrams and combinations thereof can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions or acts specified in the blocks of the flowcharts and block diagrams.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions that implement the function or act specified in the blocks of the flowcharts and block diagrams. The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions that execute on the computer or other programmable apparatus provide processes for implementing the functions or acts specified in the blocks of the flowcharts and block diagrams.
An illustrative computer system 1200 in respect of which the methods herein described may be implemented is presented as a block diagram in FIG. 12. The computer system 1200 may, for example, be used as the analysis device 124, recording device 104, or any combination thereof. The computer system 1200 comprises a display 1202, input devices in the form of keyboard 1204a and pointing device 1204b, computer 1206, and external devices 1208. While the pointing device 1204b is depicted as a mouse, other types of pointing devices may also be used. In alternative embodiments (not depicted), the computer system 1200 may not comprise all the components depicted in FIG. 12. For example, when used as the analysis device 124, the computer system 1200 may lack the keyboard 304a and mouse 304b. The analysis device 124 may, for example, be used only to present data to the user, or the display 1202 may be a touchscreen display that also allows the user to enter commands such as the touchscreen interface depicted in FIG. 14.
The computer 1206 may comprise one or more processors or microprocessors, such as a central processing unit (âCPUâ) 1210, which is depicted. The CPU 1210 performs arithmetic calculations and control functions to execute software stored in an internal memory 1212, such as one or both of random access memory (âRAMâ) and read only memory (âROMâ), and possibly additional memory 1214. The additional memory 1214 may comprise, for example, mass memory storage, hard disk drives, optical disk drives (including CD and DVD drives), magnetic disk drives, magnetic tape drives (including LTO, DLT, DAT and DCC), flash drives, program cartridges and cartridge interfaces such as those found in video game devices, removable memory chips such as EPROM or PROM, emerging storage media, such as holographic storage, or similar storage media as known in the art. This additional memory 1214 may be physically internal to the computer 1206, or external as shown in FIG. 12, or both.
The computer system 1200 may also comprise other similar means for allowing computer programs or other instructions to be loaded. Such means can comprise, for example, a communications interface 1216 that allows software and data to be transferred between the computer system 1200 and external systems and networks. Examples of the communications interface 1216 comprise a modem, a network interface such as an Ethernet card, a wireless communication interface, or a serial or parallel communications port. Software and data transferred via the communications interface 1216 are in the form of signals which can be electronic, acoustic, electromagnetic, optical, or other signals capable of being received by the communications interface 1216. Multiple interfaces can be provided on the computer system 1200.
Input to and output from the computer 1206 is administered by the input/output (âI/Oâ) interface 1218. The I/O interface 1218 administers control of the display 1202, keyboard 1204a, external devices 1208 and other analogous components of the computer system 1200. The computer 1206 also comprises a graphical processing unit (âGPUâ) 1220. The GPU 1220 may also be used for computational purposes as an adjunct to, or instead of, the CPU 1210, for mathematical calculations. However, as mentioned above, in alternative embodiments (not depicted) the computer system 1200 need not comprise all of these elements. For example, the analysis device 124 may lack the keyboard 1204a, mouse 1204b, and GPU 1220.
The various components of the computer system 1200 are coupled to one another either directly or indirectly by shared coupling to one or more suitable buses.
The term âcomputer systemâ, as used herein, is not limited to any particular type of computer system and encompasses servers, desktop computers, laptop computers, networked mobile wireless telecommunication computing devices such as smartphones, tablet computers, as well as other types of computer systems.
As will be appreciated by one skilled in the art, embodiments of the technology described herein may be embodied as a system, method, or computer program product. Accordingly, these embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware that may all generally be referred to herein as a âcircuit,â âmodule,â or âsystem.â Furthermore, embodiments of the presently described technology may take the form of a computer program product embodied in one or more non-transitory computer readable media having stored or encoded thereon computer readable program code.
Where aspects of the technology described herein are implemented as a computer program product, any combination of one or more computer readable media may be utilized. A computer readable medium may comprise a computer readable signal medium or a non-transitory computer readable medium used for storage. A non-transitory computer readable medium may comprise, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. Additional examples of non-transitory computer readable media comprise a portable computer diskette, a hard disk, RAM, ROM, an erasable programmable read-only memory (âEPROMâ or âflash memoryâ), a portable compact disc read-only memory (âCD-ROMâ), an optical storage device, a magnetic storage device, or any suitable combination thereof. As used herein, a non-transitory computer readable medium may comprise any tangible medium that can contain, store, or have encoded thereon a program for use by or in connection with an instruction execution system, apparatus, or device. Thus, computer readable program code for implementing aspects of the embodiments described herein may be contained, stored, or encoded on the memory 1312 of the onboard computer system 1306 of the smartphone 1300 or the memory 1212 of the computer 1206, or on a computer readable medium external to the onboard computer system 1306 of the smartphone 1300 or the computer 1206, or on any combination thereof; the onboard computer system 1306 may thereby be configured to perform those embodiments.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radiofrequency, and the like, or any suitable combination thereof. Computer program code for carrying out operations comprising part of the embodiments described herein may be written in any combination of one or more programming languages, including an object oriented programming language and procedural programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (âLANâ) or a wide area network (âWANâ), or the connection may be made to an external computer (e.g., through the Internet using an Internet Service Provider).
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. Accordingly, as used herein, the singular forms âaâ, âanâ and âtheâ are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms âcomprisesâ and âcomprising,â when used in this specification, specify the presence of one or more stated features, integers, steps, operations, elements, and components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and groups. Directional terms such as âtopâ, âbottomâ, âupwardsâ, âdownwardsâ, âverticallyâ, and âlaterallyâ are used in the following description for the purpose of providing relative reference only, and are not intended to suggest any limitations on how any article is to be positioned during use, or to be mounted in an assembly or relative to an environment. Additionally, the term âcoupleâ and variants of it such as âcoupledâ, âcouplesâ, and âcouplingâ as used in this description are intended to include indirect and direct connections unless otherwise indicated. For example, if a first device is coupled to a second device, that coupling may be through a direct connection or through an indirect connection via other devices and connections. Similarly, if the first device is communicatively coupled to the second device, communication may be through a direct connection or through an indirect connection via other devices and connections.
The term âand/orâ as used herein in conjunction with a list means any one or more items from that list. For example, âA, B, and/or Câ means A, B, C, A and B, A and C, B and C, or A, B, and C.
It is contemplated that any part of any aspect or embodiment discussed in this specification can be implemented or combined with any part of any other aspect or embodiment discussed in this specification, so long as such implementation or combination is not performed using mutually exclusive parts.
One or more currently example embodiments have been described by way of illustration only. This description is been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope of the claims. It will be apparent to persons skilled in the art that a number of variations and modifications can be made without departing from the scope of the claims. In construing the claims, it is to be understood that the use of a computer to implement the embodiments described herein is essential at least where the presence or use of computer equipment is positively recited in the claims.
1. A method for differential drilling mud measurement, the method comprising:
(a) performing a drilling mud measurement during a drilling operation, wherein the drilling mud measurement is of a volume of at least some of the drilling mud used for the drilling operation;
(b) determining that the drilling mud measurement is within an absolute mud value range;
(c) determining that a differential between the drilling mud measurement and a reference drilling mud value exceeds a differential alarm threshold; and
(d) generating an alarm in response to the differential between the drilling mud measurement and the reference drilling mud value exceeding the differential alarm threshold.
2. The method of claim 1, further comprising displaying, on a display at a drilling site at which the drilling operation is occurring, traces respectively showing a history of drilling mud measurements and corresponding absolute mud value ranges.
3. The method of claim 1, wherein the drilling mud measurement is of total mud volume for the drilling operation, and wherein the total mud volume excludes trip mud used for tripping operations.
4. The method of claim 1, wherein the drilling mud measurement is of trip mud used for tripping operations and excludes drilling mud used for other drilling operations.
5. The method of claim 1, wherein the differential alarm threshold is approximately 7 m3 of drilling mud.
6. The method of claim 1, further comprising, prior to determining that the drilling mud measurement is within the absolute mud value range and to determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold, receiving user input explicitly requesting absolute mud value monitoring,
wherein determining that the drilling mud measurement is within the absolute mud value range is performed in response to receiving the user input,
and wherein determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold is performed automatically in response to the user input.
7. The method of claim 1, further comprising suspending drilling in response to the alarm.
8. The method of claim 1, further comprising resetting the reference drilling mud value in response to a user action indicative of user attention.
9. The method of claim 8, wherein the user action comprises at least one of acknowledging the alarm, zeroing trip mud or total mud gain/loss, setting the reference drilling mud value to a current measured pit volume, or changing the absolute mud value range.
10. The method of claim 8, wherein determining the differential is performed while alarm generation has been disabled by a user, wherein the method further comprises receiving user input enabling the alarm generation while the alarm generation is disabled, and wherein generating the alarm is performed after receiving the user input enabling the alarm generation and is based on the differential determined while the alarm generation was disabled.
11. A system for differential drilling mud measurement, the system comprising:
(a) a mud tank;
(b) a mud pump fluidly coupled to the mud tank for pumping drilling fluid from the mud tank into a well;
(c) a volume meter affixed to the mud tank for measuring pit volume of the drilling fluid stored in the mud tank;
(d) a display;
(e) at least one processor communicatively coupled to the display, the mud pump, and the volume meter; and
(f) at least one memory communicatively coupled to the at least one processor and having stored thereon computer program code that is executable by the at least one processor and that, when executed by the at least one processor, causes the at least one processor to:
(i) perform a drilling mud measurement during a drilling operation using the volume meter, wherein the drilling mud measurement is of a volume of at least some of the drilling mud used for the drilling operation;
(ii) determine that the drilling mud measurement is within an absolute mud value range;
(iii) determine that a differential between the drilling mud measurement and a reference drilling mud value exceeds a differential alarm threshold; and
(iv) generate an alarm in response to the differential between the drilling mud measurement and the reference drilling mud value exceeding the differential alarm threshold.
12. The system of claim 11, wherein the computer program code further causes the at least one processor to display, on the display, traces respectively showing a history of drilling mud measurements and corresponding absolute mud value ranges.
13. The system of claim 11, wherein the drilling mud measurement is of total mud volume for the drilling operation, and wherein the total mud volume excludes trip mud used for tripping operations.
14. The system of claim 11, wherein the drilling mud measurement is of trip mud used for tripping operations and excludes drilling mud used for other drilling operations.
15. The system of claim 11, wherein the differential alarm threshold is approximately 7 m3 of drilling mud.
16. The system of claim 11, wherein the computer program code further causes the at least one processor to receive user input explicitly request absolute mud value monitoring prior to determining that the drilling mud measurement is within the absolute mud value range and to determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold,
wherein determining that the drilling mud measurement is within the absolute mud value range is performed in response to receiving the user input,
and wherein determining that the differential between the drilling mud measurement and the reference drilling mud value exceeds the differential alarm threshold is performed automatically in response to the user input.
17. The system of claim 11, wherein the computer program code further causes the at least one processor to reset the reference drilling mud value in response to a user action indicative of user attention.
18. The system of claim 16, wherein the user action comprises at least one of acknowledging the alarm, zeroing trip mud or total mud gain/loss, setting the reference drilling mud value to a current measured pit volume, or changing the absolute mud value range.
19. The system of claim 16, wherein determining the differential is performed while alarm generation has been disabled by a user, wherein the computer program code further causes the at least one processor to enable the alarm generation in response to receiving user input to enable the alarm generation while the alarm generation is disabled, and wherein the alarm is generated after receiving the user input to enable the alarm generation and is based on the differential determined while the alarm generation was disabled.
20. At least one non-transitory computer readable medium having stored thereon computer program code that is executable by at least one processor and that, when executed by the at least one processor, causes the at least one processor to perform a method for differential drilling mud measurement, the method comprising:
(a) performing a drilling mud measurement during a drilling operation, wherein the drilling mud measurement is of a volume of at least some of the drilling mud used for the drilling operation;
(b) determining that the drilling mud measurement is within an absolute mud value range;
(c) determining that a differential between the drilling mud measurement and a reference drilling mud value exceeds a differential alarm threshold; and
(d) generating an alarm in response to the differential between the drilling mud measurement and the reference drilling mud value exceeding the differential alarm threshold.