METHOD OF CONTROLLING FLUID INFLUXES IN HYDROCARBON WELLS

Abstract: The invention relates to a method of real time control of fluid influxes into an oil well from an underground formation during drilling. The injection pressure p i and return pressure p r and the flow rate Q of the drilling mud circulating in the well are measure. From the pressure and flow rate values, the value of the mass of gas M g in the annulus is determined, and the changes in this value monitored in order to determine either a fresh gas entry into the annulus or a drilling mud loss into the formation being drilled. Application to the drilling of oil wells.

Description: The invention relates to the control of fluid influxes into a hydrocarbon well during drilling. When during the drilling of a well, after passing through an impermeable layer, a permeable formation is reached containing a liquid or gaseous fluid under pressure, this fluid tends to flow into the well if the column of drilling fluid, known as drilling mud, contained in the well is not able to balance the pressure of that fluid. The fluid then pushes the mud upwards. There is said to be a fluid influx or "kick". Such a phenomenon is unstable: as the fluid from the formation replaces the mud in the well, the mean density of the counter-pressure column inside the well decreases and the unbalance becomes greater. If no steps are taken, the phenomenon runs away, leading to a blow-out. This influx of fluid is in most cases detected early enough to prevent the blow-out occurring. The first emergency step taken is to close the well at the surface by means of a blow-out preventer. Once this valve is closed, the well is under control. The well then requires to be blown of formation fluid, and the mud then weighted to enable drilling to continue without danger. If the formation fluid that has entered the well is a liquid (brine or hydrocarbons, for example), the circulation of this fluid does not present any specific problems, since this fluid scarcely increases in volume during its rise to the surface and, therefore, the hydrostatic pressure exercised by the drilling mud at the bottom of the well remains more or less constant. If on the other hand the formation fluid is gaseous, it expands on rising and this creates a a problem in that the hydrostatic pressure gradually decreases. To avoid fresh influxes of formation fluid being induced during "circulation" of the influx, in other words while the gas is rising to the surface, a pressure greater than the pressure of the formation has to be maintained at the bottom of the well. To do this, the annulus of the well, this being the space between the drill string and the well wall, must be kept at a pressure such that the bottom pressure is slightly higher than the formation pressure. It is therefore very important for the driller to know as early as possible, during circulation of the influx, if a dangerous incident is on the point of occurring, such as a fresh influx of fluid or the commencement of mud loss due to the fracture of the formation. The means of analysis and control available to the driller comprise the mud level in the mud tank, the mud injection pressure into the drill pipes, and the well annulus surface pressure. In practice the driller does not make efficient use of these data until after an influx of fluid has detected. In particular, he does not use the pressure and mud tank level measurements that are nevertheless at his disposal. He therefore has few means of detecting occurrences that may have serious consequences for operations. The aim of the present invention is to assist the driller to detect dangerous occurrences during circulation of a gas influx, such as a fresh influx or mud losses. This is done by calculating, from the said measurements available to the driller, the value of a parameter that remains substantially constant if the phenomenon is stable. Any appreciable deviation from that value is interpreted as an instability, fresh fluid influx from the formation or mud loss into the formation. According to the preferred embodiment, the parameter chosen is the mass of gas present in the annulus. This calculated mass remains substantially unchanged as long as the well is entire, i.e. as long as there is no exchange with the formation. More precisely, the invention relates to a method of realtime control of gas influxes from an underground formation into a well in the course of drilling, according to which the drilling mud injection pressure p i and return pressure p r and the flow rate Q at which the drilling mud circulates in the well are measured, and the drilling mud return pressure p r adjusted so as to maintain a pressure at the bottom of the well higher than the formation pressure which is also known from US-A-4 253 530. From the abovementioned pressures and flow rate the mass of gas (Mg) present at the time of influx (t o ) is calculated from the pressures and flow rate and is further determined at intervals during its rise through the wellbore towards the surface, any changes in this value are monitored and the return return pressure (p r ) controlled such that the calculated mass of gas (Mg) has a substantially constant value for a given influx. The characteristics and advantages of the invention will be seen more clearly from the description that follows, with reference to the attached drawings, of a non-limitative example of the method mentioned above. Figure 1 shows in diagram form the drilling mud circuit generally used for rotary type well drilling. Figure 2 shows in diagram form the annulus and the position of the gas in that annulus. Figure 3 shows an example of a result obtained with the method proposed within the scope of this invention. Figure 1 shows the mud circuit of a well 1 during a formation fluid influx control operation. The bit 2 is attached to the end of a drill string 3. The mud circuit comprises a tank 4 containing drilling mud 5, a pump 6 sucking mud from the tank 4 through a pipe 7 and discharging it into the well 1, through a rigid pipe 8 and flexible hose 9 connected to the tubular drill string 3 via a swivel 17. The mud escapes from the drill string when it reaches the bit 2 and returns up the well through the annulus 10 between the drill string and the well wall, which may comprise a casing string. In normal operation the drilling mud flows through a blow-out preventer 12 which is open and flows into the mud tank 4 through a line 24 and through a vibratory screen to separate the cuttings from the mud. When a fluid influx is detected, the valve 12 is closed. On arrival at the surface, the mud flows through a choke 13 and a degasser 14 which separates the gas from the liquid. The drilling mud then returns to the tank 4 through line 15. The mud inflow rate Q is measured by means of a flow meter 16 and the mud density is measured by means of a sensor 21, both of these fitted in line 8. The injection pressure p i is measured by means of a sensor 18 on rigid line 8. The return pressure p r is measured by means of a sensor 19 fitted between the blow-out preventer 12 and the choke 13. The mud level n in the tank 4 is measured by means of a level sensor 20 fitted in the tank 4. The signals Q, d m , p i , p r and n thus generated are applied to a processing device 22, where they are processed in order to control influx circulation. To explain the method for controlling formation gas influx, two extreme cases may be considered. Under a first hypothesis, the well is open at the surface (valve 12 is open and choke 13 closed) and drilling progresses without change. The gas produced by the underground formation rises in the annulus, and as it rises it expands because the hydrostatic pressure decreases. The gas therefore occupies an increasingly large volume in the annulus, this volume of gas replacing an equivalent volume of drilling mud, the density of which is greater than that of the gas. There ensues a progressive drop in the bottom hydrostatic pressure, with respect to the producing formation. More and more gas consequently escapes from the formation, and a blow out will result if the driller does not act. To intervene, and this is the second extreme hypothesis, the driller closes the blow out preventer 12. The gas, initially produced by the formation at the bottom pressure, rises to the surface but this time without expanding since the well is closed. On reaching the surface the gas is still at the initial bottom pressure. As a result, the bottom pressure is now equal to the pressure of the gas increased by the hydrostatic pressure exercised by the column of drilling mud in the annulus. This hydrostatic pressure is equal to the initial bottom pressure since neither the volume nor the density of the mud has changed. The bottom pressure is thus now equal to twice the initial bottom pressure. This pressure is generally greater than the formation fracture pressure. If one were to operate according to the second hypothesis, the formation would therefore fracture and the drilling mud would be lost into the formation, causing irreparable damage. In practice the driller adopts a middle course between these two extremes of having the well either fully open or closed. The blow out preventer 12 is closed and the opening of choke 13 adjusted at intervals to keep the bottom pressure more or less constant. The processing of the signals measured at the surface will now be described, using a relatively simple model to describe the behaviour of the gas during the control operation. The method to be described below may, however, be adapted to more complex models if required. Figure 2 shows in a very simple form the gas distribution in the annulus 10 shown in figure 1. For the sake of clarity in explaining the method, it will be assumed here that the section of the annulus has an area A constant from the bottom to the top of the well. But the method may be used even if this section is not of constant area. Let p f be the pressure at the bottom of the well at a given moment. When the mud circulates through the pipes 3, this pressure p f may be determined from the pressure p i at which the mud is injected into the pipes 3, measured by sensor 18. Pressure p f may be determined from p i by calculation, taking into account pressure losses due to friction between the mud and the sides of the drill string, or alternatively by calibration in situ, when the mud circulates directly towards surface tank 4 without passing through choke 13. This calibration procedure is systematically carried out at drilling sites. Let L be the total depth of the well, i.e. the difference in elevation between the sensor 19 and the bit 2. At a given moment the gas that had entered the bottom of the well when the influx occurred is situated between the bottom and top of the well. Let us assume this gas to be evenly distributed through the mud over a distance h, as shown in figure 2, and the top of this area where the gas and the mud are present together in the annulus to be at vertical elevation z in relation to pickup 19. Leaving aside, in a first approximation, the pressure losses due to friction between the mud in the annulus and the well walls and drill pipes, the following equation obtains: where d g is the mean density of the gas, g is the gravitational acceleration and M g is the total mass of gas present in the annulus. Using this equation, M g can thus be calculated if d g is known, since d m , A and L are already known. This is interesting, as this calculated mass M g must remain constant if the annulus remains isolated during circulation, i.e. there is neither entry nor loss of fluid. The mean density d g of the gas is linked to its mean pressure p g through the equation: where Z is the gas compressibility factor, k is the ratio of the Boltzmann constant to the molecular weight of the gas, and T is the absolute temperature of the gas. The mean pressure p g of the gas, at a point in the middle of the gas, at depth (z + h/2) may be obtained approximately by: Note that to calculate M g , the value of p g is first calculated by means of equation (3), the calculation of M g depending on the estimate of the mean position z + h/2 of the gas. The moment at which the gas penetrated the well from the formation is known. This moment in fact corresponds to a sudden rise in several parameters: the mud level in the mud tank, the mud outflow rate and generally the rate of penetration of the bit into the formation. Knowing this initial moment and the mud rate makes it possible to determine at any moment the mean depth z + h/2 of the gas in the annulus. However, the gas in the drilling mud tends to rise due to buoyancy. Consequently the gas travels upwards towards the surface faster than the drilling mud. To calculate the mean density of the gas during circulation, a model of the gas slip in relation to the mud has to be used. Such models exist in published literature, from the simplest model which assumes the rate to be constant, to more complex ones that predict slip rate values depending in a fairly detailed way on the structure of the two-phase flow. By way of example, the present invention use the above equations to calculate the mass of gas present in the annulus, assuming a constant slip rate V g from the initial moment of gas production. The gas depth in the annulus is obtained from the equation: where Q is the mud flow rate measured at the surface and h o the initial gas height at the bottom of the well. According to the general principle of the present invention, a calculation is made at intervals of the gas pressure in the annulus at successive moments and the corresponding mass of gas M g is calculated using equations (1) to (4). This mass of gas is constant if there is no exchange of fluid with the formation. On the other hand, an increase in the calculated value of M g shows that a fresh influx of gas into the annulus has taken place. The driller therefore has to alter the opening of the choke 13 in order ot raise the pressure p f at the bottom of the well. Inversely, a drop in the value of M g corresponds to a mud loss into the formation. The driller therefore has to act on the setting of the choke 13 so as to reduce the bottom pressure p f . The present invention can of course be applied by calculating the gas depth in the annulus from equation (4). In practice, however, the pressure p g of the gas in the annulus after a time t from the initial time to may be calculated directly using the equation: It will be noted that p g is a function solely of Q and V g . The density d g of the gas corresponding to the pressure p g is then calculated using the equation: d go and p go being respectively the density and the pressure of the gas at moment t o . It will be noted that p go = p f . From d g the corresponding mass M g can be determined from equation (1). It should, however, be noted that the validity of the slip model used can be checked, in particular when circulation commences, by using the measurement n of the mud level in tank 4. This level measurement may be used to determine the increase in volume of the gas during circulation. When the gas expands it in fact displaces the mud in the annulus, and the level in tank 4 rises. This variation in volume in tank 4 may therefore be used to ascertain the expansion of the gas in the annulus, and hence the mean pressure of the gas, linked to its mean depth. This can be used to calculate the rate of rise of the gas, and thus to check and if necessary adjust the model selected for the control method. It should be noted that the tank 4 level cannot be an accurate instantaneous measurement, in view of the agitation in the tank, but it can still be used to control the gas rise rate if the level is averaged over time. In an alternative embodiment of the invention, the mass of gas M g is first determined as described above, then it is assumed during the subsequent measurement of measurements that there is no exchange of fluid with the formation. Consequently, any variation in the value of M g is interpreted as an initial error in the value of the slip rate V g (or in the model selected for V g ). The value of V g (or the model) is corrected by taking as the value of M g the value initially calculated. Once this correction has been made, the subsequent measurements are used to calculate the value of M g . Any variation in this value is interpreted as an exchange of fluid with the formation. Figure 3 shows different curves representing over time t, the changing return pressure p r , injection pressure p i , mud rate Q, volume of mud in the mud tank (curve 30) and mass of gas M g calculated. The curves are represented from initial time to, when the gas first appeared in the well. It will be noted that the volume of mud in the tank (curve 30) rises to a maximum value corresponding to the time of arrival t a of the gas at the surface. At the same time t a , the value of M g starts to fall. The rate Q and pressure p i remain more or less constant.

Claims: A method of real-time control of gas influx from an underground formation into a wellbore being drilled, wherein the drilling mud injection pressure (p i ), the return pressure (p r ) and the flow rate (Q) at which the drilling mud circulates in the well are measured, and the drilling mud return pressure (p r ) controlled so as to maintain a pressure at the bottom of the well higher than the formation pressure, characterized in that the mass of gas (Mg) present at the time of influx (t o ) is calculated from the pressures and flow rate and is further determined at intervals during its rise through the wellbore towards the surface, any changes in this value are monitored and the return pressure (p r ) controlled such that the calculated mass of gas (Mg) has a substantially constant value for a given influx. A method according to clam 1 characterized in that in order to determine the said mass of gas, the gas pressure is determined from the value of the slip rate V g of the gas in relation to the drilling mud and the corresponding value of the density d g of the gas determined. A method according to claim 1 or 2 characterized in that the slip rate V g is determined by measuring the increase in volume of the gas during its rise through the well. A method according to claim 3 characterized in that after determining the value of the mass of gas M g , this value is used to adjust the value of the slip rate V g during the subsequent measurement or measurements and in that the changes in the said mass of gas M g with the said value V g thus adjusted are then monitored.

Inventors: GAVIGNET, ALAIN
Applicants: SERVICES PETROLIERS SCHLUMBERGER
Application year: 1988
Main classification: E21B21
IPC codes: E21B21, E21B49, E21B47