Closed Loop Model Predictive Control of Directional Drilling Attitude

Information

  • Patent Application
  • 20150218887
  • Publication Number
    20150218887
  • Date Filed
    February 04, 2014
    10 years ago
  • Date Published
    August 06, 2015
    9 years ago
Abstract
A closed loop method for using model predictive control (MPC) to control direction drilling attitude includes receiving a demand attitude and a measured attitude. The received attitudes are processed using a closed loop MPC scheme to obtain an attitude error that may be further processed to obtain a corrective setting for a directional drilling tool. The corrective setting is then applied to alter the direction of drilling. The process of measuring the attitude, processing via the model predictive control scheme, and applying a corrective setting may be repeated continuously while drilling. The disclosed methodology is intended to provide for superior directional control during closed loop directional drilling operations.
Description
CROSS REFERENCE TO RELATED APPLICATIONS

None.


FIELD OF THE INVENTION

Disclosed embodiments relate generally to methods for maintaining directional control during downhole directional drilling operations and more particularly to closed loop model predictive control of direction drilling attitude.


BACKGROUND INFORMATION

The use of automated drilling methods is becoming increasingly common in drilling subterranean wellbores. Such methods may be employed, for example, to control the direction of drilling based on various downhole feedback measurements, such as inclination and azimuth measurements made while drilling or logging while drilling measurements.


One difficulty with automated drilling methods is that the feedback measurements are not generally made at the drill bit. It will be appreciated that there are severe space limitations very low in the bottom hole assembly (BHA) and that there are physical and operational constraints that limit how close the measurement sensors can be located to the drill bit. The sensors are therefore commonly located a significant distance above the bit such that the resulting sensor measurements are subject to a time delay related to the rate of penetration of the tool through the subterranean formation and the spatial offset between the bit and the sensors. In closed loop drilling operations, a temporal feedback delay can lead to drilling a spiraling borehole which tends to increase frictional forces between the drill string and the borehole wall. A spiraling borehole may further reduce the hole cleaning efficiency of the drilling fluid which in a worst case scenario can lead to the drill string becoming irretrievably stuck in the borehole.


Therefore there remains a need in the art for improved automated drilling methods and systems, particularly ones that can mitigate the effect of the aforementioned feedback delay and hence reduce or eliminate borehole spiraling. There is also a need for such methods and systems to compensate for drop and turn tendencies of the BHA while drilling.


SUMMARY

A closed loop method for using model predictive control (MPC) to control direction drilling attitude is disclosed. The control methodology includes receiving a demand attitude (e.g., demand inclination and azimuth values) as well as a measured attitude (e.g., measured inclination and azimuth values). The received values are processed using a closed loop MPC scheme to obtain an attitude error (e.g., inclination and azimuth errors) that may be further processed to obtain a corrective setting for a directional drilling tool (e.g., a steering tool). The corrective setting is then applied to alter the direction of drilling. The process of measuring the attitude, processing via the model predictive control scheme, and applying a corrective setting may be repeated continuously while drilling.


The disclosed embodiments may provide various technical advantages. For example, the disclosed embodiments provide superior directional control. In particular, the use of a feedback measurement delay compensated MPC scheme may substantially eliminate drilling attitude oscillations inherent in delay uncompensated schemes. Moreover the use of the closed loop MPC attitude tracking scheme may provide flexibility in bottom hole assembly (BHA) design, allowing the inclination and azimuth sensors to be moved further up the BHA (away from the bit) while at the same time achieving the aforementioned superior directional control. For example, logging while drilling (LWD) sensors may be deployed between the drill bit and measurement while drilling (MWD) sensors used to measure borehole inclination and azimuth. Such a configuration may be advantageous for geosteering applications as it enables the LWD sensors to be located closer to the bit.


This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.





BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the disclosed subject matter, and advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:



FIG. 1 depicts an example drilling rig on which disclosed embodiments may be utilized.



FIG. 2 depicts a diagram of attitude and steering parameters in a global coordinate reference frame.



FIG. 3 depicts a flow chart of one closed loop method embodiment for controlling the direction of drilling a subterranean borehole.



FIG. 4 depicts a flow chart of another closed loop method embodiment for controlling the direction of drilling a subterranean borehole.



FIG. 5 depicts an unconstrained model predictive control architecture.



FIG. 6 depicts one example embodiment of closed loop inclination azimuth hold model predictive control architecture.



FIG. 7 depicts one example of a proportional integral feedback loop for obtaining drop and/or turn disturbances.



FIGS. 8A and 8B depict plots of simulated inclination and azimuth response as a function of measured depth for a control scheme (FIG. 8A) and a closed loop MPC scheme in accordance with the disclosed embodiments (FIG. 8B).



FIGS. 9A and 9B depict plots of simulated inclination and azimuth response as a function of measured depth for a closed loop MPC scheme without feed forward (FIG. 9A) and with feed forward (FIG. 9B).



FIGS. 10A and 10B depict plots of simulated inclination and azimuth using the closed loop MPC scheme used in FIG. 8B plus a 20 percent uncertainty in the rate of penetration and the nominal maximum curvature (FIG. 10A) and minus a 20 percent uncertainty in the rate of penetration and the nominal maximum curvature (FIG. 10B).





DETAILED DESCRIPTION


FIG. 1 depicts a drilling rig 10 suitable for using various method and system embodiments disclosed herein. A semisubmersible drilling platform 12 is positioned over an oil or gas formation (not shown) disposed below the sea floor 16. A subsea conduit 18 extends from deck 20 of platform 12 to a wellhead installation 22. The platform may include a derrick and a hoisting apparatus for raising and lowering a drill string 30, which, as shown, extends into borehole 40 and includes a bottom hole assembly (BHA) 50. The BHA 50 includes a drill bit 32, a steering tool 60 (also referred to as a directional drilling tool), and one or more downhole sensors 70 such as measurement while drilling sensors for measuring borehole inclination and borehole azimuth while drilling. The BHA 50 may further include substantially any other suitable downhole tools such as a downhole drilling motor, a downhole telemetry system, a reaming tool, and the like. The disclosed embodiments are not limited in these regards.


It will be understood that substantially any suitable steering tool 60 may be used in the disclosed method embodiments, for example, including a rotary steerable tool. Various rotary steerable tool configurations are known in the art. For example, the PathMaker® rotary steerable system (available from PathFinder® a Schlumberger Company), the ΔutoTrak® rotary steerable system (available from Baker Hughes), and the GeoPilot® rotary steerable system (available from Sperry Drilling Services) include a substantially non-rotating outer housing employing blades that engage the borehole wall. Engagement of the blades with the borehole wall is intended to eccenter the tool body, thereby pointing or pushing the drill bit in a desired direction while drilling. A rotating shaft deployed in the outer housing transfers rotary power and axial weight-on-bit to the drill bit during drilling. Accelerometer and magnetometer sets may be deployed in the outer housing and therefore are non-rotating or rotate slowly with respect to the borehole wall.


The PowerDrive® rotary steerable systems (available from Schlumberger) fully rotate with the drill string (i.e., the outer housing rotates with the drill string). The PowerDrive® Xceed® makes use of an internal steering mechanism that does not require contact with the borehole wall and enables the tool body to fully rotate with the drill string. The PowerDrive® X5 and X6 rotary steerable systems make use of mud actuated blades (or pads) that contact the borehole wall. The extension of the blades (or pads) is rapidly and continually adjusted as the system rotates in the borehole. The PowerDrive® Archer® makes use of a lower steering section joined at a swivel with an upper section. The swivel is actively tilted via pistons so as to change the angle of the lower section with respect to the upper section and maintain a desired drilling direction as the bottom hole assembly rotates in the borehole. Accelerometer and magnetometer sets may rotate with the drill string or may alternatively be deployed in an internal roll-stabilized housing such that they remain substantially stationary (in a bias phase) or rotate slowly with respect to the borehole (in a neutral phase). To drill a desired curvature, the bias phase and neutral phase are alternated during drilling at a predetermined ratio (referred to as the steering ratio). Again, the disclosed embodiments are not limited to use with any particular steering tool configuration.


The downhole sensors 70 may include substantially any suitable sensor arrangement used for measuring borehole inclination and/or borehole azimuth. Such sensors may include, for example, accelerometers, magnetometers, gyroscopes, and the like. Such sensor arrangements are well known in the art. Methods for making real time while drilling measurements of the borehole inclination and borehole azimuth are disclosed, for example, in commonly assigned U.S. Patent Publications 2013/0151157 and 2013/0151158. The downhole sensors may further include logging while drilling sensors such as a natural gamma ray sensor, a neutron sensor, a density sensor, a resistivity sensor, an ultrasonic sensor, an audio-frequency acoustic sensor, and the like. The disclosed embodiments are not limited to the use of any particular sensor embodiments or configurations. In the depicted embodiment, the sensors 70 are shown to be deployed in the steering tool 60. Such a depiction is merely for convenience as the sensors 70 may be deployed elsewhere in the BHA.


It will be understood by those of ordinary skill in the art that the deployment illustrated on FIG. 1 is merely an example. It will be further understood that disclosed embodiments are not limited to use with a semisubmersible platform 12 as illustrated on FIG. 1. The disclosed embodiments are equally well suited for use with any kind of subterranean drilling operation, either offshore or onshore.



FIG. 2 depicts a diagram of attitude and steering parameters in a global coordinate reference frame. The BHA 50 has an “attitude” defined by the BHA axis 52. The attitude is the direction of propagation of the drill bit 32 and may be represented by a unit vector, the direction of which can be defined by the borehole inclination θinc and the borehole azimuth θazi. A tool face angle θtf of a sensor or other BHA component may be defined, for example, with respect to a high side of the BHA 54. The disclosed embodiments are in no way limited by the conventions illustrated in FIG. 2.



FIG. 3 depicts a flow chart of one closed loop method embodiment 100 for controlling the direction of drilling a subterranean borehole. A subterranean borehole is drilled at 102, for example, via rotating a drill string, pumping drilling fluid through a downhole mud motor, or the like. A directional drilling tool (steering tool) may also be actuated so as to control the direction of drilling (the drilling attitude). A demand attitude is received at 104. This is the attitude at which the borehole is to be drilled. A measured attitude is received at 106. The measured attitude may include inclination and azimuth values measured using substantially any suitable downhole sensor arrangements, for example, including accelerometers, magnetometers, gyroscopic sensors, and the like.


At 108 the received demand attitude and the measured attitude are processed using a closed loop model predictive control (MPC) scheme. The MPC scheme may be augmented, for example, with first order feedback delay approximations to compensate for feedback delay between the real borehole inclination and borehole azimuth at the bit and those measured some distance above the bit. The MPC scheme outputs an attitude error which is in turn further processed at 110 to obtain one or more corrective steering tool settings. The attitude error may be understood to behave as a virtual control output from the MPC scheme and thus may also be referred to herein as a virtual control output (or outputs) or an error/virtual control output. The corrective steering tool setting(s) may be obtained via partially linearizing a transform and may be applied at 112 to change the drilling attitude (the direction of drilling) of the BHA. Steps 108, 110, and 112 may be continuously repeated to so as to maintain a drilling direction substantially equal to the demand attitude (inclination and azimuth) received at 106.



FIG. 4 depicts a flow chart of another closed loop method embodiment 120 for controlling the direction of drilling a subterranean borehole. Method 130 is similar to method 100 in that it includes closed loop MPC control of the drilling attitude. A subterranean borehole is drilled at 122, for example, as described above. A demand inclination and a demand azimuth are received at 124. Measured borehole inclination and borehole azimuth values are received at 126. At 128 the received demand inclination and demand azimuth are processed via corresponding proportional integral (PI) loops to obtain corresponding drop and turn disturbances of the BHA. The drop and turn disturbances may be further processed in combination with the demand inclination and demand azimuth to obtain un-delayed borehole inclination and borehole azimuth values at 130. At 132 the received demand inclination and demand azimuth, the measured inclination and measured azimuth, and the un-delayed inclination and azimuth values may be processed using an MPC scheme. The MPC scheme outputs inclination and azimuth errors/virtual control outputs which are in turn further processed at 134 to obtain one or more corrective steering tool settings which are depicted as a tool face error Utf in the embodiment shown on FIG. 6 (which is discussed in more detail below). The corrective steering tool setting(s) may then be applied at 136 to correct the direction of drilling.


Methods 100 and 120 may further advantageously include a feed forward step in which the measured borehole inclination and borehole azimuth values are processed to obtain feed forward inclination and azimuth errors/virtual control outputs which may be combined with the virtual control outputs from the MPC schemes 110 and 126 prior to the further processing at 112 and 128. The use of a feed forward loop advantageously accelerates convergence of the control methodology.


With reference now to FIGS. 5-7, the disclosed method and system embodiments make use of a model predictive control (MPC) scheme incorporating a state space plant model of a directional drilling tool (or BHA) derived from kinematic considerations. The MPC scheme may be optionally augmented with pure delays on the state variables. Provided with an estimate of the temporal feedback delay and other plant model parameters the MPC scheme is able to mitigate for the effects of the feedback delay.


The plant model may be derived from kinematic considerations, for example, to provide the following governing equations:











θ
.

inc

=


V
rop



(



U
dls


cos






U
tf


-

V
dr


)






(
1
)








θ
.

azi

=



v
rop


sin






θ
inc





(



U
dls


sin






U
tf


-

V
tr


)






(
2
)









    • where θinc and θazi represent the borehole inclination and borehole azimuth, {dot over (θ)}inc and {dot over (θ)}azi represent the first derivatives of the borehole inclination and borehole azimuth with respect to time, Vrop represents the rate of penetration, Udls represents the dog leg severity (curvature), Utf represents the tool face angle control input, and Vdr and Vtr represent the drop and turn rate disturbances.





It will be understood that the plant model expressed in Equations 1 and 2 is purely kinematic and thus ignores higher order dynamics of the BHA. This tends to be a good assumption in directional drilling operations since higher order dynamics of the BHA are generally much faster and decay faster than the dominant first order dynamics of borehole propagation.


It will further be understood that many directional drilling/steering tools are configured to respond with a nominal maximum curvature response Kdls when drilling. To generate a curvature of less than Kdls the tool may be configured to drill in cycles (similar to the duty cycle in power electronics or pulse-width-modulation) in which the drilling time is quantized into regularly spaced intervals which are further proportioned into neutral and bias periods. In the neutral period the toolface error (or input) Utf is cycled at a constant rate such that the net trajectory response of the tool is approximately a tangent with zero net curvature, and in the bias phase the tool-face is held constant and the tool responds with a curvature equal to Kdls. Consequently the average curvature over one drilling cycle can, in principle, be varied anywhere between zero and Kdls. The ratio of the neutral to bias phase in the drilling cycle is commonly referred to as the percent steering ratio with the dogleg severity Udls being the product of the percent steering ratio and Kdls. Notwithstanding the above, the disclosed embodiments are not limited to use with any particular directional drilling/steering tool configuration nor to any particular mode of directional control provided by the tool.


The tool kinematics expressed in Equations 1 and 2 are non-linear with two state variables (azimuth and inclination) and one or two inputs (toolface or toolface and steering ratio). The azimuth response in Equation 2 is coupled to the inclination response by the sine of the inclination term in the denominator of the expression factoring the azimuth governing equation. Equations 1 and 2 may be linearized, for example, via removing the drop and turn disturbances as follows:











θ
.

inc

=


V
rop



U
dls


cos






U
tf






(
3
)








θ
.

azi

=



v
rop


sin






θ
inc





U
dls


sin






U
tf






(
4
)







The following transformations may further be used:






U
tf
=A TAN 2(Uazi,Uinc)  (5)






U
dls
K
dls√{square root over ((Uazi)2+(Uinc)2)}{square root over ((Uazi)2+(Uinc)2)}  (6)

    • where Uinc and Uazi represent the errors between the demand and measured inclination and azimuth values and may therefore be thought of as representing virtual controls for the borehole inclination and azimuth. Substituting Equations 5 and 6 into Equations 3 and 4 gives the following partially linearized kinematic expressions:











θ
.

inc

=


V
rop



K
dls



U
inc






(
7
)








θ
.

azi

=



V
rop


sin






θ
inc





K
dls



U
azi






(
8
)







These expressions may in turn be linearized about a discrete operating point {circumflex over (θ)}inc, {circumflex over (θ)}azi, for example, as follows:






{dot over (x)}
inc
=au
inc  (9)






{dot over (x)}
azi
=cx
inc
+bu
azi  (10)

    • where {dot over (x)}inc and {dot over (x)}azi represent the linearized first derivatives of the borehole inclination and borehole azimuth with respect to time, uinc and uazi represent the inclination and azimuth errors, a=VropKdls, b=acsc{circumflex over (θ)}inc, and c=−acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi.


The state space model given in Equations 9 and 10 (and in augmented form below) may be used for a standard unconstrained MPC formulation. The state space model may be expressed, for example, as follows:






{dot over (x)}=Ax+Bu






y=Cx+Du


As used herein MPC involves assuming an analytical model for the plant (system) to be controlled. For a given demand state vector trajectory over time a sequence of predicted control inputs is solved recursively with respect to some criterion (e.g., deviation from the state vector trajectory for example). At each recursion the first control input (or inputs) in the predicted sequence is applied to the real physical plant being controlled (i.e., the directional drilling tool). Included in the formulation prior to solving for the control input sequence is feedback of the response from the real physical plant being controlled to account for uncertainty between the assumed analytical plant model and the real plant. Because of the recursive nature of the MPC scheme the algorithm is inherently digital in nature.


The increment in the optimal control input vector over the prediction window may be evaluated, for example, using the following expression:










Δ







u


(
k
)


opt


=


[





S
Q


Θ






S
R




]



[





S
Q



ɛ


(
k
)







0



]






(
11
)









    • where Θ represents a prediction matrix as a function of the state space matrices acting on the control input vector increments Δu(k), SQ and SR represent covariance weighting matrices for the state and input vectors respectively, and








ε(k)=τ(k)−ψx(k)−Tu(k−1)  (12)



FIG. 5 depicts an unconstrained MPC architecture in which an observer is included in the architecture for the dynamic matrix control disturbance estimation and rejections scheme (e.g., as in J. M. Maciejowski, ‘Predictive Control with Constraints’, Prentice Hall, ISBN 978-0-2013-9823-6, p. 81). The assumed state space model is augmented with disturbance states and incorporated into a Luenburger observer and the subsequently observed disturbance states used to offset the reference trajectory path. In FIG. 5, τ(k) represents a vector of length equal to the prediction window having the required state trajectories (a reference path), ψ and T represent prediction matrices that factor the feedback state vector responses x(k) and the previous control inputs vector u(k−1) and are functions of the assumed open loop state space model, and ε(k) represents the predictive error. The predictive error is obtained by combining τ(k), ψ, and T as depicted and given in Equation 12 and is input into the solver which solves for Δu(k)opt using Equation 11.


Turning to FIG. 6, a known pure delay in the feedback measurement of the state variables may be compensated by incorporating the unconstrained MPC scheme depicted on FIG. 5 into the overall delay compensated scheme depicted on FIG. 6. In the architecture depicted on FIG. 6, the basic drilling tool model is augmented by two state equations derived from first order Padé delay approximations 1−sλ/1+sλ′, where λ represents the respective delays in seconds. Hence the state space model given in Equations 9 and 10 may be augmented with the delayed states as follows:






{dot over (x)}
inc
v
=au
inc  (13)






{dot over (x)}
azi
v
=cx
inc
v
+bu
inc  (14)






{dot over (x)}
inc
m
=[x
inc
v
−x
inc
m
−λau
inc]/λ  (15)






{dot over (x)}
azi
m
=[x
azi
v
−x
azi
m−λ(cxincv+buinc)]/λ  (16)

    • where xincv and xaziv represent the un-delayed states and xincm and xazim represent the physically measured and delayed states.


It will be appreciated that downhole rate of penetration measurements may be utilized to obtain the feedback delay λ. For example, the known (and fixed) distance between the bit and sensors may be divided by the measured rate of penetration to obtain the feedback delay λ. The disclosed embodiments are of course not limited in the regard as the feedback delay may be obtained via a rate of penetration estimation or other estimation techniques.


In Equations 9 and 10 the drop and turn disturbances Vdr and Vtr were removed. These disturbances may be added back in, for example, as given below:






{dot over (x)}
inc
=au
inc
+V
dr  (17)






{dot over (x)}
azi
=cx
inc
+bu
azi
+V
tr  (18)


The drop and turn disturbances tend not to be directly measurable, but may be identified, for example, as follows. The drop and turn disturbances may be assumed to vary slowly relative to the attitude response of the drilling tool and may therefore be treated as being constant disturbance terms added to the internal model state equations (e.g., as given above in Equations 17 and 18). Second, it may be assumed that the core MPC scheme based on the state equations given in Equations 13-16 eliminates the limit cycles caused by the delayed feedback measurements but on its own does not compensate for the disturbances resulting in linear ramp responses with gradients equal to the drop and turn disturbances. As such a disturbance identification scheme may be based on a pair of PI feedback loops added to the inclination azimuth hold MPC scheme depicted on FIG. 6. The control output from these two PI feedback loops may then be used as the drop and turn disturbance terms in the internal model. The architecture for the disturbance identification feedback loops are discussed in more detail below with respect to FIG. 7.


The scheme 200 depicted on FIG. 6 may be thought of as incorporating three distinct (yet interrelated) modules, an MPC module 210 (e.g., Equations 13-16), a drop and turn disturbance module 220, and a feed forward module 230. The MPC module 210 receives the demand inclination and azimuth values rinc and razi 202 (the values to be achieved), the measured inclination and azimuth values xincm and xazim, and the un-delayed states xincv and xaziv from the drop and turn disturbances module 220. The MPC module 210 outputs inclination and azimuth errors uincff and uaziff (the virtual control outputs) which are in turn summed with the outputs uincff and uaziff from the feed forward module 230 and input into a control transformation at 212. The control transformation outputs Utf to internal model 224 (e.g., Equations 17 and 18) and the real tool dynamics 214. The real tool dynamics 214 respond to Utf to change the direction of drilling to a new borehole inclination and borehole azimuth xinc and xazi (which define the drilling direction). The drilling direction is then measured (after a feedback delay which is depicted schematically at 232) with the measured values xincm and xazim being input into the MPC module 210 and the feed forward module 230. Meanwhile the internal model 224 outputs the un-delayed states xincv and xaziv through corresponding PI loops 222 to estimate the drop and turn disturbances Vdr and Vtr which are fed back into the internal model 224.


The drop and turn disturbance feedback loops are depicted in further detail on FIG. 7. The demand inclination and azimuth values rinc and razi are processed to obtain the un-delayed states xincv and xaziv. The gains for these PI loops are configured using pole placement derived expressions KIn2 and KP=2ζωn given a performance specification closed loop natural frequency ωn and a damping ratio ζ. Gain scheduling for the specification closed loop natural frequency con as a function of demand rinc such that Vdr may be set to zero when rinc is less than 10 degrees or greater than 170 degrees (i.e., when the borehole is near vertical). Alternative gain scheduling strategies may of course be utilized.


In the feed forward module 230 the inclination and azimuth error derivatives d(rinc−xinc)/dt and d(razi−xazi)/dt are evaluated with dt being the update interval and Equations 7 and 8 being inverted to obtain uincff and uaziff. The demand feed forward Inc az is intended to speed up the attitude response of the method and improve attitude tracking at low inclination.


The disclosed embodiments are now described in further detail with respect to the following non-limiting examples. An inclination azimuth hold MPC scheme in accordance with the foregoing embodiments was simulated to evaluate the effectiveness of the methodology. In a first example, the simulation involved horizontal drilling with a small change to the drilling attitude. Table 1 displays the transient simulation parameters used in the example.









TABLE 1







Simulation Parameters










Parameter
Value







Controller/Measurement Update Rate
0.1 Hz (10 second)



Nominal Maximum Curvature Kdls
5 degrees per 100 feet



Rate of Penetration Vrop
100 feet per hour



Feedback Spatial Offset
14 feet



Drop Disturbance Vdr
0.5 degrees per 100 feet



Turn Disturbance Vtr
0.25 degrees per 100 feet



MPC Prediction Window
100 updates



MPC Control Window
5 updates



MPC Q State Covariance
1.0 × 106



MPC R Input Covariance
1.0 × 10−5











FIGS. 8A and 8B depict plots of simulated inclination and azimuth response as a function of measured depth for a comparative scheme (FIG. 8A) and a closed loop MPC scheme in accordance with the disclosed embodiments (FIG. 8B). The comparative simulation depicted on FIG. 8A utilizes a virtual tool face attitude hold algorithm previously disclosed by Panchal et al (Attitude Control System for Directional Drilling Bottom Hole Assemblies, IET Proceedings Control Theory and Applications, 6, 884-892, 2012) that does not compensate for the feedback delay. The simulation depicted on FIG. 8B makes use of the feedback delay compensated MPC scheme described above with respect to Equations 13-18. In both simulations the attitude was initially held at an inclination of 89 degrees and an azimuth of 90 degrees. At a measured depth of about 580 feet the attitude was adjusted such that the inclination was about 90 degrees and the azimuth was about 89 degrees.


A comparison of FIGS. 8A and 8B shows that the disclosed MPC scheme nearly eliminates the attitude limit cycle caused by the feedback measurement delay. For example, in FIG. 8A the closed loop response is oscillatory with an amplitude of about plus or minus 0.5 degrees about the target attitude (inclination and azimuth). FIG. 8B demonstrates that use of an MPC scheme augmented for feedback delay essentially eliminates such oscillations. Moreover, the MPC scheme shows a rapid response to the attitude adjustment at a measured depth of 580 feet.



FIGS. 9A and 9B depict plots of simulated inclination and azimuth response as a function of measured depth for a closed loop MPC scheme without feed forward (FIG. 9A) and with feed forward (FIG. 9B). As clearly depicted, the use of feed forward improves both the speed of the response and the tracking with the steady state error for both inclination and azimuth being halved (as compared to the example without feed forward).



FIGS. 10A and 10B depict plots of inclination and azimuth response as a function of measured depth at inclination and azimuth values equal those shown in FIGS. 8A and 8B. These examples are intended to demonstrate the robustness of the disclosed MPC scheme via simulation. FIGS. 10A and 10B depict plots of simulated inclination and azimuth using the closed loop MPC scheme used in FIG. 8B plus a 20 percent uncertainty in the rate of penetration and the nominal maximum curvature (FIG. 10A) and minus a 20 percent uncertainty in the rate of penetration and the nominal maximum curvature (FIG. 10B). Note that even with the included uncertainties the closed loop MPC scheme is superior to that of the comparative algorithm in FIG. 8A. Note also that in these simulations underestimating the time delay (FIG. 10B) does not seem degrade the performance of the MPC algorithm.


The methods described herein are configured for downhole implementation via one or more controllers deployed downhole (e.g., in a steering/directional drilling tool). A suitable controller may include, for example, a programmable processor, such as a microprocessor or a microcontroller and processor-readable or computer-readable program code embodying logic. A suitable processor may be utilized, for example, to execute the method embodiments described above with respect to FIGS. 3 and 4 as well as Equations 1-18. A suitable controller may also optionally include other controllable components, such as sensors (e.g., a depth sensor), data storage devices, power supplies, timers, and the like. The controller may also be disposed to be in electronic communication with the attitude sensors (e.g., to receive the inclination and azimuth measurements). A suitable controller may also optionally communicate with other instruments in the drill string, such as, for example, telemetry systems that communicate with the surface. A typical controller may further optionally include volatile or non-volatile memory or a data storage device.


It will be understood that the closed loop MPC scheme disclosed herein may be used as a stand-alone control scheme (e.g., in an inclination attitude hold application) or as a module in a cascaded control loop scheme (e.g., in a geosteering application). The disclosed embodiments are not limited in these regards.


Although closed loop model predictive control of directional drilling attitude and certain advantages thereof have been described in detail, it should be understood that various changes, substitutions and alterations may be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims.

Claims
  • 1. A closed loop method for controlling a drilling attitude of a subterranean borehole, the drilling attitude defined by at least one of a borehole inclination and a borehole azimuth, the method comprising: (a) drilling the subterranean borehole;(b) receiving a demand attitude for subsequent drilling;(c) receiving a measured attitude while drilling in (a);(d) processing the demand attitude and the measured attitude using a model predictive control scheme to obtain an attitude error;(e) processing the attitude error to obtain a corrective setting for a directional drilling tool; and(f) applying the corrective setting to the directional drilling tool to change the drilling attitude.
  • 2. The method of claim 1, wherein the drilling attitude is defined by a borehole inclination and a borehole azimuth;the demand attitude includes a demand inclination and a demand azimuth;the measured attitude includes a measured inclination and a measured azimuth; andthe attitude error includes an inclination error and an azimuth error.
  • 3. The method of claim 1, further comprising: (g) continuously repeating (c), (d), (e), and (f) while drilling in (a).
  • 4. The method of claim 1, wherein the model predictive control scheme comprises the following plant model: {dot over (x)}inc=auinc {dot over (x)}azi=cxinc+buazi wherein {dot over (x)}inc and {dot over (x)}azi represent linearized first derivatives of borehole inclination and borehole azimuth with respect to time, uinc and uazi represent inclination and azimuth errors, a=VropKdls, b=acsc{circumflex over (θ)}inc, and c=−acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi, Vrop represents a rate of penetration of drilling, Kdls represents a nominal maximum curvature response of the directional drilling tool, and {circumflex over (θ)}inc and {circumflex over (θ)}azi represent measured inclination and azimuth values while drilling in (a).
  • 5. The method of claim 1, wherein the model predictive control scheme has been augmented for feedback delay compensation.
  • 6. The method of claim 1, wherein a plant model used in the model predictive control scheme has been augmented with linear delay approximations.
  • 7. The method of claim 6, wherein the model predictive control scheme comprises the following plant model: {dot over (x)}incv=auinc {dot over (x)}aziv=cxincv+buinc {dot over (x)}incm=[xincv−xincm−λauinc]/λ{dot over (x)}azim=[xaziv−xazim−λ(cxincv+buinc)]/λwherein xincv and xaziv represent un-delayed inclination and azimuth values, xincm and xazim represent measured inclination and measured azimuth values received in (c), λ represents delay, uinc and uazi represent inclination and azimuth errors, a=VropKdls, b=acsc{circumflex over (θ)}inc, and c=−acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi, Vrop represents a rate of penetration of drilling, Kdls represents a nominal maximum curvature response of the directional drilling tool, and {circumflex over (θ)}inc and {circumflex over (θ)}azi represent measured inclination and azimuth values while drilling in (a).
  • 8. The method of claim 1, further comprising: (g) processing the demand attitude using a proportional integral loop to obtain an attitude disturbance;(h) processing the attitude disturbance and the demand attitude to obtain an un-delayed attitude; andwherein (d) comprises processing the demand attitude, the measured attitude, and the un-delayed attitude using a model predictive control scheme to obtain an attitude error.
  • 9. The method of claim 1, further comprising: (g) processing the measured attitude received in (c) to obtain a feed forward attitude;(h) combining the feed forward attitude with the attitude error obtained in (d) to obtain a combined attitude error; andwherein (e) comprises processing the combined attitude error obtained in (h) to obtain a corrective setting for the directional drilling tool.
  • 10. A closed loop method for controlling a drilling attitude of a subterranean borehole, the drilling attitude defined by a borehole inclination and a borehole azimuth, the method comprising: (a) drilling the subterranean borehole;(b) receiving a demand inclination and a demand azimuth for subsequent drilling;(c) receiving a measured inclination and a measured azimuth while drilling in (a);(d) processing the demand inclination and the demand azimuth received in (b) using corresponding proportional integral loops to obtain corresponding drop and turn disturbances;(e) processing the drop and turn disturbances obtained in (d) and the demand inclination and the demand azimuth received in (b) to obtain un-delayed inclination and azimuth values;(f) processing the demand inclination, the demand azimuth, the measured inclination, the measured azimuth, the un-delayed inclination, and the un-delayed azimuth using a model predictive control scheme to obtain an inclination error and an azimuth error;(g) processing the inclination error and the azimuth error to obtain a corrective setting for the directional drilling tool; and(h) applying the corrective setting to a directional drilling tool to change the drilling attitude.
  • 11. The method of claim 10, further comprising: (g) continuously repeating (c), (d), (e), (f), (g), and (h) while drilling in (a).
  • 12. The method of claim 10, wherein the model predictive control scheme comprises the following plant model: {dot over (x)}inc=auinc+Vdr {dot over (x)}azi=cxinc+buazi+Vtr wherein {dot over (x)}inc and {dot over (x)}azi represent linearized first derivatives of the borehole inclination and borehole azimuth with respect to time, uinc and uazi represent inclination and azimuth errors, Vdr and Vtr represent the drop and turn disturbances, a=Vrop−Kdls, b=acsc{circumflex over (θ)}inc, and c=acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi, Vrop represents a rate of penetration of drilling, Kdls represents a nominal maximum curvature response of the directional drilling tool, and {circumflex over (θ)}inc and {circumflex over (θ)}azi represent measured inclination and azimuth values while drilling in (a).
  • 13. The method of claim 10, wherein the model predictive control scheme has been augmented for feedback delay compensation.
  • 14. The method of claim 10, wherein a plant model used in the model predictive control scheme has been augmented with linear delay approximations.
  • 15. The method of claim 14, wherein the model predictive control scheme comprises the following plant model: {dot over (x)}incv=auinc {dot over (x)}aziv=cxincv+buinc {dot over (x)}incm=[xincv−xincm−λauinc]/λ{dot over (x)}azim=[xaziv−xazim−λ(cxincv+buinc]/λwherein xincv and xaziv represent un-delayed inclination and azimuth values, xincm and xazim represent the measured inclination and the measured azimuth received in (c), λ represents delay, uinc and uazi represent inclination and azimuth errors, a=VropKdls, b=acsc{circumflex over (θ)}inc, and c=−acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi, Vrop represents a rate of penetration of drilling, Kdls represents a nominal maximum curvature response of the directional drilling tool, and {circumflex over (θ)}inc and {circumflex over (θ)}ozi represent measured inclination and azimuth values while drilling in (a).
  • 16. The method of claim 10, further comprising: (g) processing the measured inclination and the measured azimuth received in (c) to obtain a feed forward inclination and a feed forward azimuth;(h) combining the feed forward inclination and the feed forward azimuth with the inclination error and the azimuth error obtained in (d) to obtain combined values; andwherein (e) comprises processing the combined values obtained in (h) to obtain a corrective setting for the directional drilling tool.
  • 17. A bottom hole assembly comprising: a directional drilling tool configured for coupling with a drill string and controlling a drilling attitude of a subterranean borehole;at least one sensor configured to measure an inclination and an azimuth of a subterranean borehole; anda controller configured to (i) process a demand inclination, a demand azimuth, a measured inclination, and a measured azimuth using a model predictive control scheme to obtain an inclination error and an azimuth error, (ii) process the inclination error and the azimuth error to obtain a corrective setting for the directional drilling tool, and (iii) apply the corrective setting to the directional drilling tool to change a direction of drilling.
  • 18. The assembly of claim 17, wherein the model predictive control scheme comprises a plant model that has been augmented with linear delay approximations.
  • 19. The method of claim 18, wherein the model predictive control scheme comprises the following plant model: {dot over (x)}incv=auinc {dot over (x)}aziv=cxincv+buinc {dot over (x)}incm=[xincv−xincm−λauinc]/λ{dot over (x)}azim=[xaziv−xazim−λ(cxincv+buinc]/λwherein xincv and xaziv represent un-delayed inclination and azimuth values, xincm and xazim represent the measured inclination and the measured azimuth received in (c), λ represents delay, uinc and uazi represent inclination and azimuth errors, a=VropKdls, b=acsc{circumflex over (θ)}inc, and c=−acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi, Vrop represents a rate of penetration of drilling, Kdls represents a nominal maximum curvature response of the directional drilling tool, and {circumflex over (θ)}inc and {circumflex over (θ)}azi represent measured inclination and azimuth values while drilling in (a).
  • 20. The assembly of claim 17, wherein the controller is configured to (i) process the demand inclination and the demand azimuth using corresponding proportional integral loops to obtain corresponding drop and turn disturbances, (ii) process the drop and turn disturbances and the demand inclination and the demand azimuth to obtain un-delayed inclination and azimuth values, (iii) process the demand inclination, the demand azimuth, the measured inclination, the measured azimuth, the un-delayed inclination, and the un-delayed azimuth using a model predictive control scheme to obtain an inclination error and an azimuth error, (iv) process the inclination error and the azimuth error to obtain a corrective setting for the directional drilling tool, and (v) apply the corrective setting to the directional drilling tool to change a direction of drilling.
  • 21. The method of claim 20, wherein the model predictive control scheme comprises the following plant model: {dot over (x)}inc=auinc+Vdr {dot over (x)}azi=cxinc+buazi+Vtr wherein {dot over (x)}inc and {dot over (x)}azi represent linearized first derivatives of the borehole inclination and borehole azimuth with respect to time, uinc and uazi represent inclination and azimuth errors, Vdr and Vtr represent the drop and turn disturbances, a=VropKdls, b=acsc{circumflex over (θ)}inc, and c=−acsc{circumflex over (θ)}inc cot {circumflex over (θ)}azi, Vrop represents a rate of penetration of drilling, Kdls represents a nominal maximum curvature response of the directional drilling tool, and {circumflex over (θ)}inc and {circumflex over (θ)}azi represent measured inclination and azimuth values while drilling in (a).