The present disclosure relates generally to the field of drilling wells. More particularly, the invention concerns controlling subsystems via a control system implementing control algorithms.
As explained in SPE 18049, slip-stick motion of the bottom hole assembly can be regarded as extreme, self-sustained oscillations of the lowest torsional mode, called the pendulum mode. Such a motion is characterized by finite time intervals during which the bit is non-rotating and the drill pipe section is twisted by the rotary table or top drive. When the drillstring torque reaches a certain level (determined by the static friction resistance of the bottom hole assembly), the bottom hole assembly breaks free and speeds up to more than twice the nominal speed before it slows down and again comes to a complete stop. It is obvious that such motion represents a large cyclic stress in the drill pipe that can lead to fatigue problems. In addition, the high bit speed level in the problems. In addition, the high bit speed level in the slip phase can induce severe axial and lateral vibrations in the bottom hole assembly which can be damaging to the connections. Finally, it is likely that drilling with slip-stick motion leads to excessive bit wear and also a reduction in the penetration rate. Frequency analysis of the driving torque associated with torsional drill string vibrations, in particular slip-stick oscillations, reveals that a large number of torsional drill string resonances. The sharpness of the curve at the drill string resonance frequencies suggest there is little damping of torsional drill string vibrations. Halsey, Kyllingstad, and Kylling, “Torque Feedback Used to Cure Slip-Stick Motion,” SPE 18049, 1988. The authors proposed a speed correction proportional to the torque to control rotational vibrations.
Previously, methods have been proposed for detecting stick-slip and mitigating its effect by changing the rotation speed of the top drive, the weight on bit and/or the like. Other more active methods, have sought to dampen the oscillations of the drillstring in the borehole to prevent stick-slip. However, measures taken to dampen oscillations and prevent stick-slip, for example by adjusting drilling speed, weight on bit and/or the like, may run contrary to and not take account of the drilling parameters necessary/desirable for optimal drilling, such as optimum rate of penetration or the like. Further, a controller may have determined an optimal, desired rate of rotation of the top drive or the like to produce desired drilling of the borehole. Methods of controlling rotational vibrations using a control system have previously been described that provide for reducing the amplitude of a rotational resonance of the drillstring. Such active methods of damping oscillations may adversely affect the rate of drilling and/or move the drilling speed away from the desired rate. Moreover, previously, these damping operations were determined mainly based upon factors for mitigation/prevention of stick-slip.
There is a need for a method and system that reduces or dampens torsional drill string vibrations, in particular slip-stick oscillations and torsional drill string resonances via a well control system that overcomes disadvantages of the conventional designs.
In accordance with the teachings of the present disclosure, disadvantages and problems associated with rotational oscillations are overcome by providing a method and system that reduces or dampens torsional drill string vibrations, in particular slip-stick oscillations and torsional drill string resonances via a well construction control system. A slip-stick control algorithm may be implemented in a coordinated industrial control PC running a real time operating system, in a direct control running a field databus, or in a server computer or a virtual machine. Implementing on an industrial PC means implementing “on a middle layer” and implementing on a direct control PLC means implementing “on a bottom layer.”
One aspect of the invention is to run a stick-slip algorithm at any of several layers in a control scheme. Another aspect of the invention is to run an autodriller parameter selection process at any of several layers in a control scheme. Still another aspect of the invention is to run a stick-slip algorithm and an autodriller parameter selection process independently within a control scheme.
According to one aspect of the invention, there is provided a method for controlling a drilling system comprising a driver, drawworks, drillstring and drill bit, wherein the driver rotates the drillstring and the drawworks raises/lowers the drillstring during a drilling process to drill a borehole through an earth formation, the method comprising: implementing a network comprising one or more controllers; operating the one or more controllers, wherein the operating comprises: receiving uphole drill string property measurements from sensors associated with the drill string near the driver, executing a control algorithm based on the received drill string property measurements to generate an actuator command; and operating the driver based on the actuator command.
A further aspect of the invention provides a method for controlling a drilling system comprising a driver, drawworks, drillstring and drill bit, wherein the driver rotates the drillstring and the drawworks raises/lowers the drillstring during a drilling process to drill a borehole through an earth formation, the method comprising: implementing controllers in a network comprising: at least one level 0 (field) variable frequency drive of the driver; at least one level 1 (bottom) direct controller, wherein the at least one level 0 (field) variable frequency drive and the at least one level 1 (bottom) direct controller communicate via a field bus; at least one level 2 (middle) coordinated controller, wherein the at least one level 1 (bottom) direct controller and the at least one level 2 (middle) coordinated controller communicate via a real time databus; operating one or more of the controllers, wherein the operating comprises: receiving uphole drill string property measurements from sensors associated with the drill string near the driver, executing a slip-stick energy optimization algorithm based on the received drill string property measurements to generate a RPM command, comprising: setting a desired rotation speed v0 for the drillstring; deriving a component vup of a rotation speed of the drillstring associated with upgoing rotational energy from the received uphole drill string property measurements; determining a rotation speed v for the drillstring by optimizing an expression which reconciles two conflicting objectives of: (i) maintaining a stable rotation speed centered on v0, and (ii) minimizing downgoing rotational energy, the optimized expression expressing v in terms of v0 and vup; and generating a RPM command for the driver to rotate the drillstring at v; and operating the driver based on the RPM command.
According to a further aspect of the invention, there is provided a drilling system comprising: a driver, a drawworks, a drillstring; a drill bit, wherein the driver rotates the drillstring and the drawworks raises/lowers the drillstring during a drilling process to drill a borehole through an earth formation; controllers in a network comprising: at least one level 0 (field) variable frequency drive of the driver; at least one level 1 (bottom) direct controller, wherein the at least one level 0 (field) variable frequency drive and the at least one level 1 (bottom) direct controller communicate via a field bus; at least one level 2 (middle) coordinated controller, wherein the at least one level 1 (bottom) direct controller and the at least one level 2 (middle) coordinated controller communicate via a real time databus; wherein each controller comprises a non-transitory storage medium; a set of computer readable instructions stored in the non-transitory storage medium of at least one of the controllers and when executed by the at least one controller is configured to allow the at least one controller to: receive uphole drill string property measurements from sensors associated with the drill string near the driver, execute a slip-stick energy optimization algorithm based on the received drill string property measurements to generate a RPM command, comprising: setting a desired rotation speed v0 for the drillstring; deriving a component vup of a rotation speed of the drillstring associated with upgoing rotational energy from the received uphole drill string property measurements; determining a rotation speed v for the drillstring by optimizing an expression which reconciles two conflicting objectives of: (i) maintaining a stable rotation speed centered on v0, and (ii) minimizing downgoing rotational energy, the optimized expression expressing v in terms of v0 and vup; and generating a RPM command for the driver to rotate the drillstring at v; and operating the driver based on the RPM command.
Another aspect of the invention provides a method for estimating drilling parameters via an autodriller, the method comprising: drilling a wellbore with a drilling system controlled by the autodriller under a first control parameter; changing the first control parameter; observing changes in the drilling system in response to the changed first control parameter; combining data reflecting the observed changes in the drilling system; estimating an exponential decay factor based on the combined data; deriving second control parameter from the estimated decay factor; and drilling the wellbore with the drilling system controlled by the autodriller under the second control parameter.
A more complete understanding of the present embodiments may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features.
Preferred embodiments are best understood by reference to
As shown in
During the drilling process, drilling mud may be circulated through the wellbore 30 to remove cuttings from around the drill bit 23. A mud pump 25 pumps the drilling mud through a discharge line 26, stand pipe 27, and rotary hose 28 to supply drilling mud to the top drive 15. Drilling mud flows from the top drive 15 down through the drill string 17, where it exits the drill string 17 through the drill bit 23. From the drill bit 23, the drilling mud flows up through an annulus 31 existing between the wellbore 30 and the drill string 17 so as to carry cuttings away from the drill bit 23. A return line 29 allows the drilling mud to flow from the top of the annulus 31 into a mud pit 33. Of course, the mud pump 25 is supplied drilling mud from the mud pit 33. The drilling mud typically passes through a series of shakers, separators, etc. (not shown) to separate the cuttings from the drilling mud before the mud is circulated again by the mud pump 25.
Referring again to
Several components of the drill rig 10 may also comprise control actuators 42. For example, the drawworks 18 may comprise an actuator 42 that allows the autodriller 40 to control the workings of the drawworks 18. The top drive 15 and mud pump 25 may also have actuators 42. The actuators 42 allow the autodriller 40 to control various aspects of the drilling process, for example: bit rotation speed, drill string rotation direction, weight on bit, drilling mud fluid pressure, drilling mud fluid flow rate, drilling mud density, etc.
Referring to
In some embodiments, the autodriller control algorithms may be located in the autodriller module 49. In other embodiments, the autodriller control algorithms may be located on programmable logic controllers (PLCs) that control the drilling rig actuators themselves. In some embodiments, the autodriller control algorithms may be implemented in a software layer above the PLC layer. For example, the autodriller control algorithm would compute the commanded ROP to send to the fast-acting P-I controller on drawworks speed.
Referring to
In an alternative embodiment, all of the autodrill system operations illustrated in
The autodriller 40 may also comprise a display 46 coupled with the processor 43 to visibly display a Graphic User Interface 45. The Graphic User Interface 45 may show to the drill rig operator the drilling parameter data, drilling performance data, and calculated values in real time. Other values derived from the drilling parameter data and drilling performance data may also be displayed. Audible indication devices may output an alarm or other audible indication to alert the drilling operator of the outset of a drilling issue and an appropriate parameter adjustment for mitigating the issue. The autodriller 40 may be equipped with control circuitry 50 to control certain drilling parameters of the drilling rig 10, such that an adjustment determined by the autodriller module 49 may be automatically implemented in the appropriate drilling equipment. For example, if the autodriller module 49 determines that the flow rate of the drilling mud should be increased, the control circuitry 50 may automatically signal the pump 25 to increase the flow rate.
The Graphic User Interface 45 may showing traces related to certain drilling parameter data and performance data that may be used to identify and mitigate drilling issues (e.g., bit-balling, stick/slip vibrations, etc.) in accordance with present techniques. The Graphic User Interface 45 may show traces for drilling parameter values that may be aggregated in real-time or with an inherent delay during drilling operations. In addition to numerical readouts, the Graphic User Interface 45 may show traces of drilling parameter values monitored by the sensors 41, including traveling block height, wellbore depth, drill bit depth (aligned with the well depth), torque of a drilling feature (e.g., the drill bit 23), weight on bit WOB, hook-load, rotational speed (RPM) of a drilling feature (e.g., the drill bit 23), flow rate of drilling mud, stand pipe pressure (SPP), and hydraulic horsepower per square inch (HIS) of drilling mud. Other drilling parameter values may be received from the sensors 41 or interpreted from sensor data, and some drilling parameter values may be related to others or monitored using the same sensors (e.g., WOB and hook-load). In some embodiments, different illustrative techniques may be employed for data representation.
A drilling performance value may be received by the system and traced on the Graphic User Interface 45 with respect to time. The drilling performance value is a value indicative of drilling progression, e.g., rate of penetration (ROP) of the drill string 17 progressing downward into the wellbore 30. In some embodiments, the drilling performance value may be a monitored or calculated drilling efficiency metric. As previously noted, drilling performance values such as the ROP may be affected by the drilling parameter values throughout drilling operation. For example, increasing the WOB provides a greater amount of force to the drill bit 23 for cutting into the formation 24, thereby increasing the ROP. The drilling parameters may affect the ROP in different ways depending on the equipment used on the particular drilling rig 10, the sharpness or dullness of the drill bit 23, and certain lithological features of the formation 24, as will be apparent to one skilled in the art. For example, a combination of drilling parameters that may produce a satisfactory level of the ROP in one formation may produce less desirable performance results in another formation.
The autodriller 40 controls the vertical movement of the drill string so as to keep a drilling parameter at a set value, i.e., weight, or surface rate-of-penetration (ROP), or pressure. The autodriller 40 uses some form of a proportional-integral (PI) controller, which has two parameters in addition to the constant parameter—the proportional and the integral gains. The transient behavior of the drilling system as the set value is changed, depends both on these parameters and parameters that describe the dynamics of the drilling process. The autodriller 40 of the present invention combines data acquired during both transients and when at set values to estimate drilling process parameters and to optimize the PI controller parameters.
A good model for describing the relationship between the motion of the top and bottom of a drill string and the weight-on-bit is
Where vsurface is the velocity of the top of the drill string, vbit is the velocity of the bit, W is the weight-on-bit, and λ is the compliance of the drill string and system between the two velocity measuring points.
The bit velocity (rate-of-penetration) (ROP) will normally depend on the weight-on-bit, and in normal circumstances will increase as weight increases. For many bits, a linear dependency is appropriate
v
bit
=k(W Wo) (2)
where k is a constant, and Wo is an offset which may be zero. Even if the dependency is not linear, then it still may be describable using equation (2) over small weight variations.
Modern auto-drillers can control precisely the rate at which the drill string moves down. They can therefore drill at a controlled surface rate-of-penetration (ROP) without any additional control architecture. In order to control another variable using surface ROP an additional control loop is required. The most common variables used for control are weight-on-bit (WOB) pressure and torque. The invention can be used for WOB control and for torque control.
If drilling is steady at surface ROP v1, under ROP control, and the rock is uniform, then WOB will be roughly constant too and given by
If the surface ROP is changed to v2 then after a transitional time it will asymptote to weight W2
Combining equations (1) and (2), and solving for weight, the transition will be exponential between the two weights. If the surface ROP is changed at time t1, then the weight will follow
The inverse of η has the units of time, and is often referred to as the drill-off time, as if v2 is zero, then the end-weight is zero (or at least the weight at which drilling ceases). If this exponential transition can be captured, then the rate-constant η can be determined from the data (for instance using Prony's method). The data may be noisy, however by making small changes in opposing directions at long enough intervals, the results can be summed (with a sign appropriate to the sign of the change in surface ROP), and the rate constant determined from the summed data.
Weight on Bit Control
A common control method is proportional-integral (PI) control. The surface ROP is set as
Whatever the surface ROP, the downhole ROP can be written as
v
bit(t)=η∫x=−∞s=0vSurface(t+s)eηs
The response of the system to step changes in parameters at time to will be a sum of exponential decays with decay rates x+ and x−, thus by making a change to the desired WOB, and observing the resulting effect on surface ROP and weight, through the use of Prony's method or any other method for determining the rate constants (for instance, fitting to the theoretical solution), the constants x+ and x− may be estimated and from these, the values of k and λ (or various combinations of them)
Rewriting equation (5)
Thus while the control parameter a (the proportional control gain), in conjunction with the drilling parameters k and λ, governs the overall convergence of the control system when subject to disturbances, the ratio of τ to τ0 controls the amount of oscillation. Many autodrillers allow the operator to adjust the proportional and integral gains, but the ratio between the two (corresponding to the time τ) is kept constant. Having estimated λ and k (either from the response to changes in desired weight, or by other methods), for a chosen proportional gain, the system can now automatically set r as in terms of τ0. If the ratio of τ0 to τ is one, then there is little or no oscillation. If the ratio of τ0 to τ is two, then there is a small amount of overshoot. Additionally, the proportional control parameter a can be chosen so that it is in a fixed relationship with the drilling constant k, for instance a can be chosen to be twice k. This has the advantage of keeping the surface velocity swings seen during changes in parameter fairly consistent. Alternatively the proportional control parameters a and τ can be chosen so that the rate constants x+ and x− stay constant over time. For known λ and k, choose a and τ so that x+ and x− according to equation (6) have the desired values.
Referring to
Pressure Control
One common mode of control when the drill string contains a positive displacement motor (PDM) is to use pressure control. When pressure is the control parameter, the drilling system may go into oscillation. An aspect of the present invention avoids unstable oscillations.
The pressure drop across a positive displacement motor (PDM) is approximately proportional to the torque to which the motor is subjected, and for a PDM close to the bit, the torque is approximately the bit torque—and under normal conditions the bit torque increases as the weight increases. Thus, the pressure drop across the PDM increases and decreases when drilling a uniform rock as the weight increases and decreases. Since the pressure at the surface increases when the pressure across the PDM increases, controlling surface pressure using proportional-integral (PI) control on the pressure is normally regarded as being similar to PI control on weight. There is however a significant difference that arises from the compliance of the fluid inside the drill string.
A similar equation to equation (1) governs the fluid flow in the drill string. Ignoring pressure drops along the drill string,
Where qsurface is the flow rate at the surface, qbit is the flow rate through the motor and bit, P is the pressure and A is the fluid compliance.
Rearranging
The pressure at the surface is the sum of the pressure drop through the bit and the pressure drop across the motor, and the pressure drop through the bit is proportional to the flow rate through the bit squared. Thus if the bit pressure drop when the flow through the bit is the same as the surface flow is given by
Thus if the proportionality between the pressure drop across the PDM and the weight on bit is a, then for the surface pressure, approximately
The PI control law for the surface velocity may be written as
where Pd is the desired surface pressure.
And combining equations (1), (2), (7) and (8) gives the third order differential equation
The response of the system to changes is governed by the roots of the third order equation derived from the coefficients of the right-hand-side of the differential equation
In order for responses to be stable, all the roots of this equation must have non-positive real parts. An equation of this form, where all coefficients are positive, will either have three real roots, all of which are negative, or one negative real root and a pair of complex conjugate roots. For a general equation with positive coefficients of the form
0=x3+Ax2+Bx+C
the roots will have negative real parts if
C AB<0
Thus a condition for stability is that
A preferred situation for control is when the three roots of the equation coincide, in which case
Or alternatively
If the constants in these equations can be estimated, either from calculations based on the known geometries of the drill string and properties of the rock, or from observations, or from some combination of the two, then equation (11) can be used to set the control gains. From equation (10) we see that if instability arises then, it is because the integral gain time constant, is too small, thus a suitable response to observing instability is to increase the time constant until the instability disappears (This is not possible in conventional systems where the time constant is a fixed system parameter). Note that although the analysis of the differential equation might indicate that with unstable roots, oscillations grow exponentially, because in practice there are bounds on the surface velocity—in particular normally motion has to be downwards, so it is bounded below by zero—oscillations will grow and then stabilize at a fixed level. A simulation of an example of this is shown in
A slightly more sophisticated analysis shows that as the pressure increases, there is a reduction in rate of penetration at constant weight due to the reduction in flow rate through the motor leading to a reduced rate of rotation of the motor and the drill bit. Taking this through the analysis leads to a reduction in quadratic coefficient A in the cubic equation, thus leading to instability over a slightly wider range of integral gains. The bit velocity equation may be written
v
b
=k′(ωd+ωm)W
Where ωd is the drill string rotation speed and ωm is the motor rotation speed, and k′ is a constant.
Since motor rotation speed is proportional to flow rate, and flow rate is surface flow rate minus compliance times the rate of change of pressure
Where ϕ is a constant that depends on the motor.
Linearising for stability analysis
For a positive constant ψ which may be obtained in terms of the other terms defined above Taking this through leads to the differential equation
The stability criterion is now
(Note that this reduces the parameter range for stability).
And the preferred control situation
If the system is not unstable (and it can always be made stable by increasing the parameter τ until oscillations die away), then by making small changes to the system and observing the response in surface velocity, weight and pressure, and then using a method such as Prony's method, the exponential solutions to equation (9) can be estimated and from these the various parameters of the system. Alternatively, some of the parameter can be determined by other means (for instance the time constant γ can be estimated by observing the time for the surface pressure to drop to zero when the pumps are stopped) and these combined with the exponential decays to estimate parameters. The parameters k, λ, α and ψ may also be obtained by other means, such as from the steady state response of the system, and from theoretical calculations. However they are obtained, these may then be used in the choice of gains for the PI controller. They may be used to choose the parameter r that is stable according to equation (10) or preferably equation (13). They may be used to choose both a and r, according to equations (11) or (14).
Referring to
Referring to
Conventional autodrillers employ proportional-integral (PI) controllers on the surface ROP (the rate of descent of the top of the drill string) in order to control weight. Thus for instance,
where a and τ are constants, Wd is the desired WOB and the integral denotes a sum over past times. Such a system can maintain a very constant WOB as drilling progresses. If it is determined that a different WOB is desired, then Wd changes, and the system undergoes a transient response, which will usually last some seconds. In order to avoid weight changes inducing unwanted vibration in the drill string, it may be desirable to make a gradual variation in WOB from one value to another, over a predetermined period. Often it is desired for WOB to change linearly with time from one value to another, thus during the transitional period it is desirable to use a different control method that will achieve a change in WOB close to that desired, and then revert to a PI control once the change has been made. The surface velocity and bit velocity differ due to the compliance of the drill string, and the bit velocity depends on WOB, normally in a way that is approximately linear. Thus
Where vsurface is the velocity of the top of the drill string, vbit is the velocity of the bit, W is the weight-on-bit, k is a constant, WO is a weight offset, and λ is the compliance of the drill string and system between the two velocity measuring points. Thus
If it is proposed that the weight follow a defined trajectory versus time, and the quantities k, W0 and λ are known (or can be estimated) then equation (4) may be used to deterministically control the motion of the top of the drill string. Over long periods, due to the inexact nature of the model, the actual weight will diverge from the proposed weight, however if the model is used for short periods and then feedback control (such as the PI control mechanism of equation) resumes, the actual weight will follow the desired weight sufficiently closely.
If the weight is proposed to change linearly from W1 to W2 over time T and the initial surface velocity is v1, then for the duration of the transition, the surface velocity will be
At the end of the change in weight, the Integral term in the PI control system must be updated. Before the change in weight, if the weight is close to the target weight Wd, equation (15) becomes
Writing
l(t)=f(w Wd)
This implies
If at the end of the weight change, the weight has achieved the level W2, and the weight tracked the change closely, then the surface velocity will simply revert to the original value, creating a new transient
In order to avoid this, the integral term must be close to that necessary to achieve a stable weight, thus when PI control restarts for t>T
after which PI control resumes. Even if the drilling quantities (W0, k, λ) are only known approximately, once feedback control resumes, the feedback control will ensure that the weight stays close to the target weight, and so long as the errors are small, any transients on restarting feedback control will be small. If the drilling quantities have not been correctly estimated, or there is a change in drilling while the ramp is in progress (for instance, a different rock is penetrated), then the change in weight may be appreciably different to that anticipated. If the result is that the change after the ramp is less than desired, then when PI control resumes, the system will quickly move to the desired weight with little ill-effect. If the system overshoots, then it may, for instance, result in excessive weight-on-bit. Therefore, a desirable modification of the control is that the feed-forward control is aborted once the weight reaches the target weight if this is achieved before the end of the ramp time.
Often there are limits on the allowed values of vsurface. Most drilling rigs only allow the travelling block to descend during drilling, so vsurface cannot be negative. A maximum value of vsurface will often also be imposed. With limit constraints, the desired surface velocity according to equation (19) may not be allowed.
There may be a number of preferred time-intervals for changing weight, for instance to avoid exciting resonances of the drill string, in which case if the first time interval chosen for transition results in values of the surface velocity which are outside of the allowed value, then the smallest preferred time-interval can be chosen for which the surface velocity according to equation (19) does not exceed allowed values.
Referring to
Referring to
Various aspects of the invention relate to providing a methodology/framework to implement rotational vibration control. First, a slip-stick energy optimization algorithm may be deployed in Level 1 (Bottom) devices, i.e., PLCs for direct control. Second, a slip-stick energy optimization algorithm may be deployed as a software program in a high performance real time operating environment in Level 2 (Middle) coordinated computers, such as domain controllers. Third, rotational vibration control may be implemented through the use of a slip-stick energy optimization algorithm deployed anywhere in a control system.
A slip-stick energy optimization algorithm may be used to control a driver (top drive or rotary table) to reduce stick-slip in a drill rig system for drilling a wellbore. Rotational waves travel up and down the drillstring as the drillstring is rotated in the wellbore. Upgoing rotational waves may be reflected at the surface into downgoing rotational waves, which may lead to large rotational resonances and repetitive stick-slip. In a drillstring with larger pipe near the surface, some of the upgoing rotational waves may be reflected before they reach the surface, which may make surface control of stick-slip even more difficult because the waves are not observable at the surface. The downgoing rotational waves in the drillstring may also include those initiated by the driver (top drive or rotary table) as the driver rotates the drill string. One aspect of the invention seeks to achieve a desired drill string rotation speed at the surface (v0) while minimizing the amount of downgoing energy (vdown). This formulation fits well as an outer control system driving a fast, built-in control system for the driver which is attempting to achieve a particular rotation speed. Modern PI top drive controllers (combined with high power top drives) can maintain very tight control over rotation speed. The slip-stick energy optimization algorithm control system of the present invention reduces or dampens torsional drill string vibrations, in particular slip-stick oscillations and torsional drill string resonances.
The approach of the present invention allows the rotational oscillations of suspended tubulars to be controlled. In this way, the rotational motion of a drillstring can be stabilized, but the approach could equally well be applied to tubulars used for completing a well, such as casing or running in a liner or completion. Both the parameters/conditions desirable for optimal/desired drilling operation of the drilling system and the parameters/conditions for preventing/mitigating stick-slip can be processed/controlled during the drilling operation.
In the drillstring during the drilling of the borehole there are rotational waves going up and down the drillstring. The reflections of the upgoing waves into downgoing waves at the surface produce the large rotational resonances in, and repetitive stick-slip motion of, the drilling system.
The downgoing waves in the drillstring also include those initiated by the system driving the drillstring, i.e. the top drive or the rotary table. These downgoing waves in the drillstring produced by the driver or drive system are required in order to drive the drill bit to drill through the earth formation. As such, the downgoing energy comprises desirable downgoing energy that is used to drive the drill bit and undesirable downward energy that causes oscillation in the drillstring and/or stick slip. Consequently, systems and methods can be provided which aim to achieve a desired rotation speed of the drillstring (hereinafter referred to as v0) while minimizing the amount of energy contained in the downgoing rotation (the downgoing rotation is hereinafter referred to as vdown).
Thus in general, a processor may determine an optimized speed of rotation for the drillstring, wherein the optimized speed of rotation balances/optimizes delivery of rotational energy to the drill bit against reduction of energy travelling down the drillstring. More particularly, the control unit can provide an outer control system used to control a fast, built-in control system for the driver (top drive or rotary table; wherein a desired/determined rotation speed is provided to the built-in control system, which attempts to achieve the particular rotation speed, and the outer control system controls the driver (top drive or rotary table) to vary the rotation speed around the desired/determined rotation speed to reduce the amount of downgoing energy.
The contrary objectives of maximizing energy sent down the drillstring to the drill bit by rotating the drillstring and minimizing downgoing energy to prevent large oscillations of the drillstring in the borehole and/or stick-slip may be viewed as a minimization constraint that can be written as minimizing E such that:
where:
Equation (20) can be embodied in an algorithm which determines a rotation speed v that is then passed to the top-drive controller, on the assumption that the controller is able to exactly achieve that speed. While modem top-drive controllers are normally able to achieve close to a commanded speed, there will inevitably be small differences between actual and the commanded speeds. Such small differences do not invalidate the control algorithm.
Thus, when v appears on the left-hand-side of an equation it should be interpreted as the commanded rotation speed to be sent to the top-drive controller. When it appears on the right-hand-side of an equation, it is preferably the most recent actual measured rotation speed of the top-drive, although if this is not available, the most recent previous commanded rotation speed can be substituted.
The upgoing component of the rotation speed may be estimated from simultaneous surface measurements of the rotation speed and torque in the drillstring (T). A rotational impedance of the pipe z may be determined, i.e., from pipe dimension or the like at the surface. The downgoing and upgoing components of the rotation may then be given by:
The corresponding upgoing and downgoing energies are proportional to v2down and v2up and their sum is proportional to the total rotational energy of the drillstring:
Although it is desirable for the correct value of z to be used, the controller is generally robust to errors in the value of z.
The solution to equation (1) is given by:
However, this solution provides a slower mean rotation speed for the drillstring than is desirable, i.e., the rotation speed reduces downgoing energy and thus reduces oscillation of the drillstring, but the downgoing energy is so low it produces slow rotation of the drill bit and undesirable drilling speeds. Accordingly, the minimization constraint can be rewritten as:
E=(v−(1+λ)v0)2+λvdown2
A solution of this minimization constraint is:
The term vup on the right hand side is calculated from the most recent measurements of torque and rotation speed, and thus there is a slight lag. In some embodiments of the present disclosure, this lag is configured to be less than at least one quarter of the period of the dominant resonance of the rotation system.
In some embodiments of the present disclosure, a residual correction term Γ may be included in the solution to account for the long term average of the rotation speed. This then provides the following solution for the minimization constraint, where t is the current time and δ is the sampling interval:
In discrete time, with sampling interval 6, r may be calculated by:
A high-pass filter may be applied to the signal vup used in equation (21). This may be done using a one-pole filter, with the same value of k, where:
and where the subscript j indicates the time step, the superscript l indicates the filtered-out low-pass signal, and the superscript h indicates the remaining high-pass signal. The value of λ used in equation (21) may be 1. The λ parameter controls how much reduction in rotational resonance is to be provided by the control system. For example, when λ is set to zero, the control system will provide zero reduction in torsional resonance. The desired torsional resonance control may be selected and this selection may be weighed against other desired drilling parameters.
When the system is activated, the value of λ may vary over time such that initially it is zero or close to zero, and subsequently increases until it reaches a chosen value. In some embodiments of the present disclosure, this method of gradual activation reduces the variation in system behavior seen in the drilling system.
If the high-pass filter is applied to the upgoing rotation speed vup, then theoretically, no residual correction term r is required. However, some embodiments, such a correction term may still be used to avoid drift from noise or calculation error.
In some embodiments of the present disclosure, in order to avoid sending high-frequency noise to the drive system (i.e. the driver controller or the like) that may interact with the internal control algorithm, the estimate of the upgoing rotation speed may be low-pass filtered. This can be done in the same way as for r, but with a smaller value of k, which can be chosen so that it does not filter out the main rotational resonance of the drillstring. A value for k may, in some embodiments of the present disclosure, be of the order of 0.1 s. A low-pass one-pole filter can be provided according to:
where the superscript f indicates the filtered signal.
In a drilling system, if the bit sticks hard, it is possible for the drillstring rotation to stop completely. To avoid this, in some embodiments of the present disclosure, a minimum value of v may be imposed. For example, a minimum value of v may be imposed on the control system that is 25% or 50% less than the desired average value v0. It may also be desirable, for reasons such as reducing vibration on the rig, or limitations of the top drive gearbox, for there to be an upper limit on the rotation speed. In a similar manner, in some embodiments of the present disclosure, a maximum value of v may be imposed on the system.
Equation (21) may be rewritten as:
As noted above, in some embodiments of the present disclosure, the slip-stick energy optimization algorithm may be processed in a processor for desired drilling speeds and the speed of rotation of the drillstring may be controlled in accordance with the output of the slip-stick energy optimization algorithm.
Referring to
Level 0 (Field) comprises sensors and actuators for a variety of drilling subsystems. Example subsystems include a drilling fluid circulation system (which may include mud pumps, valves, fluid reconditioning equipment, etc.), a rig control system (which may include hoisting equipment, drillstring rotary mover equipment (such as a top drive and/or rotary table), a PHM, a catwalk, etc.), a managed pressure drilling system, a cementing system, a rig walk system, etc. Level 0 (Field) may comprise a high speed controller, such as a variable frequency drive (VFD). Level 0 (Field) hardware devices may be programmed with software by the manufacturer and the software may be less suitable for modification unless performed by the manufacturer.
Level 1 (Bottom) comprises direct control devices for directly controlling the Level 0 (Field) subsystems. Level 1 (Bottom) direct controllers can include programmable logic controllers (PLCs), processors, industrial computers, personal computer based controllers, soft PLCs, the like, and/or any example controller configured and operable to receive sensor data from subsystem sensors and/or transmit control instructions to subsystem equipment. Level 1 (Bottom) processors may be, comprise, or be implemented by one or more processors of various types operable in the local application environment, and may include one or more general purpose processors, special-purpose processors, microprocessors, digital signal processors (DSPs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), processors based on a multi-core processor architecture, and/or other processors. More particularly, examples of a processor include one or more INTEL microprocessors, microcontrollers from the ARM and/or PICO families of microcontrollers, embedded soft/hard processors in one or more FPGAs, etc. Sensors and various other components may transmit sensor data and/or status data to a direct controller, and controllable components may receive commands from a direct controller to control operations of the controllable components. One or more aspects disclosed herein may allow communication between direct controllers of different subsystems through virtual networks. Sensor data and/or status data may be communicated through virtual networks and a common data bus between direct controllers of different subsystems. Level 1 (Bottom) direct controllers may be programmed and deployed, but with relative difficulty. Programmed software may thereafter be configured and edited, but with relative difficulty. Only very rigid computer programing is possible. A field bus is used to communicate with Level 1 (Bottom) direct controllers via protocols, such as Ethernet CAT, ProfiNET, ProfiBus, Modbus, etc.
Level 2 (Middle) comprises coordinated control devices. These include a variety of computing devices, for example, computers, such as industrial PC, processors, domain controllers, programmable logic controllers (PLCs), industrial computers, personal computers based controllers, soft PLCs, the like, and/or any example controller configured and operable to receive information and data available on a Level 2 network, and transmit control commands and instructions to direct controllers at Level 1, which directly control subsystem equipment. Level 2 (Middle) processors may be, comprise, or be implemented by one or more processors of various types operable in the local application environment, and may include one or more general purpose processors, special-purpose processors, microprocessors, digital signal processors (DSPs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), processors based on a multi-core processor architecture, and/or other processors. More particularly, examples of a processor include one or more INTEL microprocessors, microcontrollers from the ARM and/or PICO families of microcontrollers, embedded soft/hard processors in one or more FPGAs, etc. Level 2 (Middle) coordinated controllers may be programmed and deployed relatively easily as high level programming languages, such as C/C++, may be used with software program running in a real time operating system (RTOS). A real time communication databus is used to communicate with Level 2 (Middle) coordinated controllers via protocols, such as TCP/IP and UDP.
Level 3 (Top) comprises process monitoring devices that do not control, but merely monitor activity and provide information to the controlling devices at lower levels. Any computing device known to persons of skill in the art may perform Level 3 functions.
A control system implementing the slip-stick energy optimization algorithm may either be implemented in PLC at Level 1 (Bottom), or in an industrial PC running a real time operating system at Level 2 (Middle), or in a server computer or a virtual machine at any level.
Systems and methods and/or processes according to one or more aspects of the present disclosure may be used or performed in connection with well construction at a well site, such as construction of a wellbore to obtain hydrocarbons (e.g., oil and/or gas) from a formation, including drilling the wellbore. For example, some aspects may be described in the context of drilling a wellbore in the oil and gas industry. One or more aspects of the present disclosure may be used in other systems. Various subsystems used in constructing the well site may have sensors and/or controllable components that are communicatively coupled to one or more direct controllers at Level 1 (Bottom).
Additionally, a coordinated controller at Level 2 (Middle) can implement control logic to issue commands to various ones of the direct controllers through the virtual networks and common data bus to thereby control operations of one or more controllable components. A person having ordinary skill in the art will readily understand that one or more aspects of systems and methods and/or processes disclosed herein may be used in other contexts, including other systems.
Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine readable medium such as storage medium. A processor(s) may perform the necessary tasks. A code segment may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.
In an alternative embodiment, Job Planner and/or an operation monitoring data may be collected by a Level 3 (Top) process monitoring computer as described with reference to
In an alternative embodiment, downhole data may be transmitted to a Level 2 (Middle) coordination controller the surface as described with reference to
Referring to
A number applications may be connected to the real time communication databus 1904. For example, a rig system HMI 1912 may be provided to control all subsystems, including HMI 1930 and HMI 1950, that are connected to the communication databus 1904 through the Control Gateways 1902 and 1908. A Job Planner and/or an operation monitoring application 1914 may be connected to the same databus 1904. The job planner and/or operation monitoring application 1914 may contain information from offset wells, job planning or operation sequence for the ongoing job, drilling information, including drill string, BHA, and equipment. Job Planner/Monitor 1914 may be considered a Level 3 (Top) controller or computer. (See
One or a plurality of domain controllers 1916, which are Level 2 (Middle) coordinated computers, may be connected to the communication databus 1904. The domain controller 1916 may receive information from the communication databus 1904, which could include command from the Rig System HMI 1912, Job Planner/Monitor application 1914, and downhole acquisition 1910. The domain controllers 1916 may issue commands to the equipment of different subsystems, such as the top drive via top drive PLC 1922 and HMI 1930, or the choke via the MPD PLC 1946 and HMI 1950. The domain controllers 1916 may contain arbitration mechanism to prevent more than one controller to control the same equipment at the same time.
Referring again to
Referring to
By implementing the slip-stick energy optimization algorithm in a domain controller 1916 at Level 2 (Middle), one may be able to better control the downhole oscillation of drillstring:
According to alternative embodiments of the invention, the domain controller 1916 may receive information from the communication databus 1904, which could include command from the Rig System HMI 1912, Job Planner/Monitor application 1914, and downhole acquisition 1910. Based on these and any other relevant inputs, the domain controller 1916 may issue an RPM commands to the top drive via top drive PLC 1922 and outputs to HMI 1930. The downhole data may be used as feedback to tune the control parameters. Alternatively, if the downhole information is not available, the overall amplitude of surface torque fluctuations may be used in a similar way (both of these methods would need to be done over a much longer time-scale than the typical stick-slip timescale—about 10 s of seconds). In particular, the system may: a) note the level of surface torque fluctuations, b) turn on the algorithm with an initial set of control parameters, c) measure the new level of surface torque fluctuations, d) modify the control parameters, e) note the new level of surface torque fluctuations . . . etc, with the aim to minimize the surface torque fluctuations by optimizing these control parameters. If the downhole data is available, downhole RPM fluctuations may be used instead of the surface torque fluctuations.
According to a further embodiment of the invention, a coordinated controller implementing Level 2 (Middle) control may control drill string RPM via the slip-stick energy optimization algorithm in combination with any other known control algorithm.
According to still another embodiment of the invention, a direct controller implementing Level 1 (Bottom) control may control drill string RPM via the slip-stick energy optimization algorithm in combination with any other known control algorithm.
A subsystem may include a single piece of equipment or may include multiple pieces of equipment, e.g., that are jointly used to perform one or more function. Each subsystem includes one or more PLCs, which may control equipment and/or receive sensor and/or status data from sensors and/or equipment. Any number of control subsystems may be implemented, and any number of PLCs may be used in any control subsystem. The well construction control system 2000 may use an Ethernet-based communication protocol. Each subsystem may maintain its own control philosophy, and run on its own virtual network. Virtual Network can be understood as implemented by IEEE 802.1Q. Each subsystem may use its own communication protocol compatible with Ethernet based network, such as ProfiNET, OPC, OPC/UA, Modbus TCP/IP, EtherCAT, UDP multicast, Siemens S7 communication, or the like), a proprietary communication protocol, and/or another communication protocol, etc. However, it is preferable for the subsystem to use a communication protocol that implements some form of publish/subscribe communications. The subsystem virtual networks can implement the same protocol, each subsystem virtual network can implement a different protocol, or any combination of protocols.
As shown in
The coordinated controller is able to dynamically detect which systems and controllers are available on any subsystem by using IP multicast. If a new controller is connected to a given VLAN/subsystem, the coordinated controller can detect the controller and start issuing commands through the new controller's API. There may be no need to install a new gateway or disrupt the existing network infrastructure in order to utilize the new controller.
This control system may be secured further using standard off-the-shelf security devices. For example, an intrusion detection system (IDS) can be installed in each VLAN to monitor the traffic within its own network. Separately, a global IDS with access to all VLAN can be installed to monitor the whole system. On the other hand, to maintain the integrity of equipment, security policy can be implemented that allow only certain PLCs or controllers to issue commands to other PLCs or controllers.
Centralized access to the subsystems for e.g. software updates or online monitoring of PLC's is managed through a single interface at the same layer as the coordinated controller, thus avoiding the need to “punch holes” and expose the subsystems.
Communication among different VLANs in the system may be prioritized through network-based QoS as specified in IEEE 802.1q, and through the control applications. This allows low-latency data communication (such as machine control command) to receive real-time quality of service, while other less critical information (such as video data) is handled with lower priority. The coordinated controller 2006 may be a software program written in and compiled from a high-level programming language, such as C/C++ or the like. As described in further detail below, the coordinated controller 2006 may be operable to translate communications from various communications protocols to a common communication protocol and make the communications translated to the common communication protocol available through a common data bus, and vice versa. The common data bus may include an application program interface (API) of the coordinated controller 2006 and/or a common data virtual network (VN-DATA) implemented on one or more processing systems, such as network appliances like switches.
A unified Human-Machine Interface (HMI) 2007 may be provided to control the whole well construction system. This HMI can access each subsystem, and command its operation. A historian 2008 may be provided for the well construction system. The historian 2008 can access data in each VLAN. Hence when a new subsystem joins the well construction system, there is no need to add any new historian. By configuring the historian 2008 to receive data in the other VLANs, data from the newly joined subsystem may be collected in the historian 2008.
According to one embodiment of the invention, the oscillation algorithm described herein may be implemented in the coordinated Level 2 (Middle) coordinated controller 2006, as shown in
Security policy may be implemented to ensure that control system security. For example, a security may be imposed such that inter-network (VLAN) communication is not allowed unless such data exchange involved the coordinated controller (or control arbiter).
A control system historian 2008 may be provided to record sensory data, control commands, and machine status information for the whole control system. As shown in
Each PLC can implement logic to monitor and/or control one or more sensors and/or one or more controllable components of a respective subsystem. Each PLC can include logic to interpret a command and/or other data, such as from one or more sensors or controllable components, and to communicate a signal to one or more controllable components of the subsystem to control the one or more controllable components in response to the command and/or other data. Each PLC can also receive a signal from one or more sensors, can reformat the signal, such as from an analog signal to a digital signal, into interpretable data. The logic for each PLC can be programmable, such as compiled from a low level programming language, such as described in IEC 61131 programming languages for PLCs, structured text, ladder diagram, functional block diagrams, functional charts, or the like.
According to one embodiment of the invention, the domain controller 1916 (see
Although the disclosed embodiments are described in detail in the present disclosure, it should be understood that various changes, substitutions and alterations can be made to the embodiments without departing from their spirit and scope.
Control systems and control algorithms for drilling rigs of the present invention have many industrial applications including but not limited to drilling well bores for the oil and gas industry.
The application claims priority to U.S. Provisional Patent Application Ser. No. 62/419,278, filed on Nov. 8, 2016, and U.S. Provisional Patent Application Ser. No. 62/554,239, filed Sep. 5, 2017. Both of these applications are incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
62419278 | Nov 2016 | US | |
62554239 | Sep 2017 | US |