OPTIMAL PROBABILISTIC STEERING CONTROL OF DIRECTIONAL DRILLING SYSTEMS

Information

  • Patent Application
  • 20240318535
  • Publication Number
    20240318535
  • Date Filed
    March 23, 2023
    a year ago
  • Date Published
    September 26, 2024
    3 months ago
Abstract
Aspects of the subject technology relate to systems and methods of controlling a drill string having a steerable bit when drilling a wellbore through a substrate. A deterministic model of a directional behavior of the drill string is developed that includes a drill string state, one or more drill parameters associated with the drill string, and one or more substrate parameters associated with the substrate. A stochastic differential model of the directional behavior of the drill string is then developed by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback. The stochastic differential model is reduced to a truncated stochastic model by substituting a predetermined number of terms of a generalized polynomial chaos expansion for each probability distribution and then evaluating the expectations.
Description
TECHNICAL FIELD

The present technology pertains to steering a directional drill string and, more particularly, to a system and method of controlling a steerable drill string using a controller developed from a stochastic model and probabilistic models of drill string and substrate parameters.


BACKGROUND

Steerable drill strings have been developed in order to improve extraction of oil and gas from specific underground formations. A steerable drill string has a drill bit that can be deflected in two axes perpendicular to the axis of the drill string, thereby preferentially cutting in the deflected direction and causing the wellbore to curve as the drill string advances. Control systems may also control the weight on the bit and the torque applied to the bit.


Controlling a steerable drill string relies on parameters that describe directional characteristics of the drill string. The parameters cannot usually be directly measured and must be estimated, which may result in deviations in the actual path of the drill string compared to the desired path. Furthermore, use of fixed estimates of the parameters does not account for changes in the true values of the parameters as the wellbore depth increases and the drill string advances through different types of substrate, which may lead to variable errors during drilling.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe the manner in which the features and advantages of this disclosure can be obtained, a more particular description is provided with reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only exemplary embodiments of the disclosure and are not therefore to be considered to be limiting of its scope, the principles herein are described and explained with additional specificity and detail through the use of the accompanying drawings in which:



FIG. 1 is a schematic diagram of a typical wellbore drilling scenario, in accordance with various aspects of the subject technology;



FIG. 2 is a perspective view of an exemplary steerable drill bit of a drill string, in accordance with various aspects of the subject technology;



FIG. 3 is an exemplary workflow for creating a stochastic model predictive controller (SMPC), in accordance with various aspects of the subject technology;



FIG. 4 is an exemplary workflow for controlling a steerable drill string in accordance with various aspects of the subject technology;



FIG. 5 depicts the geometry of a two-stabilizer bottomhole assembly, in accordance with various aspects of the subject technology; and



FIGS. 6A-6C depict simulation results comparing the behavior of a SMPC-controlled drill string to a deterministic model controller, in accordance with various aspects of the subject technology.





DETAILED DESCRIPTION

Various embodiments of the disclosure are discussed in detail below. While specific implementations are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the spirit and scope of the disclosure.


Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or can be learned by practice of the principles disclosed herein. The features and advantages of the disclosure can be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the disclosure will become more fully apparent from the following description and appended claims or can be learned by the practice of the principles set forth herein.


It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.


The conditions at the bottom of a wellbore are difficult to measure and may vary with the depth of well. The uncertainty is magnified with a steerable drill string as the curvature of the wellbore creates additional forces that affect forces at the drill bit, which consequently affects the behavior of the bit. As it often an objective of a steerable drill string to enter a relatively shallow subterranean strata, uncertainty of the position of drill bit may prevent a successful drilling operation. Modeling of the behavior of the bottomhole assembly (BHA) is a key component of well planning and identifies the response of each BHA to variations in operating parameters, such as weight-on-bit (WOB), hole angle, overgauge or undergauge wellbore, stabilizer wear, and substrate tendencies. BHA modeling identifies the directional response to selected values of BHA design parameters, such as stabilizer diameter, drill collar length, or steering angle. The uncertainty of the values of parameters of the model, however, reduces the effectiveness of this deterministic modeling because the selected values of the parameters may vary widely from the true characteristics experienced during a particular drilling operation.


Stochastic modeling incorporates methods of evaluating the possible variation of outputs based on probability models of one or more of the parameters. True stochastic models are complex and it is not feasible to solve this type of model in a reasonable time frame while drilling a well. What is needed is a method of evaluating the probability distribution of outputs in a manageable amount of time.


The disclosed technology addresses the foregoing by creating a full stochastic model of the behavior at the BHA then reducing this stochastic model to a deterministic form that can be solved to predict a mean and variance of the output in an acceptable amount of time. The stochastic model is modified using generalized polynomial chaos (gPC) theory to convert the continuous differential equation into a discrete problem that can be solved in a relatively short amount of time. An optimal controller is then developed based on this truncated stochastic model with feedback, constraints, and a cost function. The cost function can be linear or nonlinear and evaluate one or more outputs, such as the position of the bit, an inclination of the wellbore at the bit, and/or the curvature of wellbore. Comparative simulations indicate that the disclosed controller is superior to a conventional deterministic controller in many regards.


Turning now to FIG. 1A, a typical drilling arrangement 100 is shown in schematic form, in accordance with various aspects of the subject technology. A drilling platform 102 is equipped with a derrick 104 that supports a hoist 106 for raising and lowering a drill string 108. The hoist 106 suspends a top drive 110 suitable for rotating and lowering the drill string 108 through a well head 112. A drill bit 114 is connected to the lower end of the drill string 108. Torque is applied to drill bit 114 by a drive motor (not visible in FIG. 1) that may be disposed on the drilling platform, e.g., rotating the entire drill string 108, or at the bottom of the drill string 108, e.g., a drill motor that rotates only the bit 114. A down force may also be controllably applied to the bit 114 by one or more of the weight of the drill string 108, the placement of drill collars 114 on the drill string 108, and a pull-down drive (not visible in FIG. 1). As the drill bit 114 rotates, it creates a wellbore 116 that passes through one or more subterranean substrates 118. A pump 120 circulates drilling fluid through a supply pipe 122 to top drive 110, down through the interior of drill string 108 and out orifices in drill bit 114 into the wellbore 116. The drilling fluid returns to the surface via the annulus around drill string 108, and into a retention pit 124. The drilling fluid transports cuttings from the wellbore 116 into the retention pit 124 and the drilling fluid's presence in the annulus aids in maintaining the integrity of the wellbore 116.



FIG. 2 is a perspective view of an exemplary drill string 200 having a steerable bit 230, in accordance with various aspects of the subject technology. The drill string 200 comprises a lower portion 220 having a centerline 222 and a local coordinate system 224 having a first axis ZD that is aligned with the centerline 222 and axes XD and YD that are perpendicular to ZD and to each other. The bit 230 has a centerline 232 and is controllably disposed at an angle 234 to the centerline 222 of the drill string 220. In certain embodiments, the angle 234 is a first angle in the X-Z plane of coordinate system 224 and a second angle in the Y-Z plane of coordinate system 224.


The drill bit 230 has a state that includes one or more of a position, an inclination, and a curvature of the wellbore 116 at the bit 230 and derivatives thereof. In certain embodiments, the position of the bit 230 is defined at the 3D position of the center of coordinate system 224 in the global coordinate system 202, which is fixed in the substrate 118 with axis ZG pointed “down” as defined by gravity and axes XG and YG that are perpendicular to ZG and to each other. In certain embodiments, the inclination is defined as the angle between ZD and ZG. In certain embodiments, the curvature of the wellbore 116 is defined in terms of degrees of a planar change in ZD per 100 feet of drill string 108, evaluated at the center of local coordinate system 224.



FIG. 3 is an exemplary workflow 300 for creating a stochastic model predictive controller (SMPC), in accordance with various aspects of the subject technology. The method begins in step 310 by developing a deterministic model of the directional behavior through first principles or a data-based approach. In this embodiment, a linear model is used, but the model can be non-linear in general. The deterministic equation of the model is:















x
.

(

t
,
u

)

=


A


(
p
)


x


(
t
)


+

B


(
p
)


u


(
t
)




,






x

(
0
)

=

x
0


,







Equation


1









    • where x is the vector of states, which includes the attitude of the bit and its derivative, i denotes differentiation with respect to the independent variable t, x0 is the vector of initial states, u is the vector of control inputs, and system matrices A, B depend on the properties of the drilling system and the vector of parameters p. Here, the parameters are deterministic:












p
=


(


p
1

,





p
n



)




n






Equation


2







Step 312 characterizes the parametric uncertainty of the model due to measurement and or experiment limitations. Parameters p are substituted with mutually independent random variables:










Z

(
ω
)

=




(



Z
1

(
ω
)

,







Z
d

(
ω
)



)



wherein


1


d


n


and


ω



Ω





Equation


3









    • that denotes random inputs in the probability space (Q,F,P). Z(ω) has a prescribed cumulative distribution function (CDF):















F
Z

(
z
)

=

P

(

Z

z

)


,

z



n






Equation


4









    • that models the uncertainty of the parameters and can be determined with Bayesian-based parameter estimation for instance. This procedure results in the stochastic differential model (SDM):


















x
.

(

t
,
u
,
Z

)

=



A

(
Z
)


x


(
t
)


+


B

(
Z
)


u


(
t
)




,





x

(

t
=
0

)

=

x
0








Equation


5







This model describes the evolution of the drilling system in open-loop operation. Feedback control reduces the uncertainty of the system. Therefore, step 314 adds a feedback term:










u

(
t
)

=


-

K

(


x

(
t
)

-

μ
x


)


+

v

(
t
)






Equation


6









    • to the model to better approximate the closed-loop behavior of the drilling system. This reduces the conservatism of control and constraint backoff. The modified stochastic model is thus:














x
.

(

t
,
v
,
Z

)

=



A

(
Z
)



x

(
t
)


+


B

(
Z
)



(


-

K

(


x

(
t
)

-

μ
x


)


+

v

(
t
)


)







Equation


7









    • where K is a constant gain matrix selected according to the particular system, μx is the mean of x, and v is the deterministic control input.





In general, the solution of the stochastic model is too expensive to compute for use in real-time control. Instead, the stochastic system is reduced in step 316 to a deterministic system through application of gPC theory using the Galerkin method. Step 316 can alternately reduce the system using an arbitrary polynomial chaos (aPC) method. For clear exposition, variable Z(ω) is considered univariate and the system is scalar, but the method applies to multivariate random variables and multi-input, multi-output systems as well. The random variable Z(ω) has finite moments and a probability density function (PDF) ρ(z) such that:











ρ

(
z
)


dz

=


dF
Z

(
z
)





Equation


8







Based on its distribution, Z(ω) has associated gPC basis functions that belong to a system of orthogonal polynomials with respect to the real positive measure z with density equivalent to ρ(z). The basis functions {Φk(Z)} satisfy the following orthogonality relation:















𝔼
[


Φ
m



(
Z
)



Φ
n



(
Z
)


]

=


γ
n



δ
mn



,




m
,

n












Equation


9









where
,














γ
n

=

𝔼
[


Φ
n
2



(
Z
)


]


,




n









Equation


10







and δmn is the Kronecker delta function


First, the state x is substituted by its truncated gPC expansion in the polynomial basis functions:











x

(

t
,
v
,
Z

)









i
=
0

N





x
^

i

(

t
,
v

)




Φ
i

(
Z
)



,




Equation


11









    • which is exact when N→∞. Next, the random parameters are substituted by their gPC expansions. The stochastic system is then projected onto the space spanned by {Φk(Z)}:














𝔼
[



x
.

(

t
,
v

)




Φ
k

(
Z
)


]

=

𝔼
[


(


Ax

(
t
)

+

B

(


-

K

(


x

(
t
)

-

μ
x


)


+

v

(
t
)


)


)




Φ
k

(
Z
)


]


,




Equation


12















x
k


^


(

t
=
0

)

=


𝔼
[


x
0




Φ
k

(
Z
)


]

/

γ
k






Equation


13















k

=
0

,


,

N
.





Equation


14







Step 318 computes the expectations and exploiting the orthogonality relation removes the dependence on the random variable, making the projected system a truncated stochastic model (TSM). After evaluating the expectations, the projected system is:













x
^

.

(

t
,
v

)

=



A
_




x
^

(
t
)


+


B
_

(


-

K

(



x
^

(
t
)

-


x
^

0


)


+

v

(
t
)


)



,




Equation


15









    • where Ā, B are the projected system matrices. Statistics of the TSM can be computed from the solution of the projected system. The mean of the state x is approximated by:














𝔼
[

x

(

t
,
v
,
Z

)

]

=


μ
x





x
^

0

(
t
)



,




Equation


16









    • and the variance is approximated by:













var



(

x

(

t
,
v
,
Z

)

)


=


σ
x
2









i
=
0

N





x
^

i
2

(

t
,
v

)



γ
i







Equation


17







Step 320 creates a stochastic model predictive controller (SMPC) that solves the optimization problem that comprises the TSM, a cost function, and a constraint. For example, an exemplary optimization problem is:













min
v



J

(
t
)





t


(

0
,
T

)








Equation


18









such


that



{





J

(
t
)

=



"\[LeftBracketingBar]"




(



x
^

0

-
r

)

T


q



"\[RightBracketingBar]"













x
^

.

=



A
_



x
^


+


B
_

(



-
K



(


x
^

-


x
^

0


)


+
v

)














x
^

0

(

t
=
0

)

=

x
0











Prob



{



a
j
T


x




b
j

+


c
j


r



}




1
-

ϵ
j









j

=
0

,


,

n
j








Prob



{



d
k
T

(


-

K

(


x
^

-


x
^

0


)


+
v

)



e
k


}




1
-

ϵ
k









k

=
0

,


,

n
k










In certain embodiments, the state x includes at least one state variable selected from the group of a position of the bit, an inclination of the drill string at the bit, and a curvature of the wellbore at the bit. In this example, the state includes the mean position, the mean inclination, and mean curvature of the wellbore at the bit.


The first term defines the cost function which attributes a linear cost with a weight q to the tracking error between the mean state trajectory {circumflex over (x)}0≈μx and the reference trajectory r(t). This includes the tracking error between the mean position, mean inclination, and mean curvature at the bit and the reference position, reference inclination, and reference curvature at the bit. In certain embodiments, the cost function comprises one or more of a variance of the projected path of the drill string, a difference between a projected state of the drill string and a first constraint, and a difference between a candidate control input and a second constraint.


The second term defines an equality constraint that enforces the dynamics of the projected system with static feedback.


The third term defines an equality constraint that enforces the initial conditions of the projected system. Specifically, the mean of the projected states x is equal to x0 which is a measurement or an estimate of the states at the time the optimization problem is solved.


The fourth term defines nj linear state constraints that are enforced probabilistically. In other words, the probability of satisfying ajTx≤bj+cjr must be greater than or equal to 1−ϵj, where ϵj∈(0,1) is an operator defined risk level. Included in these example constraints are upper and lower bounds on the deviation of the inclination of the bit from the reference trajectory and a bound on the maximum curvature of the borehole at the bit. These constraints have the following equivalent form which is implemented as a second order cone constraint:













a
j
T




x
^

0


+



f
j

(
ϵ
)




Var

[


a
j
T


x

]







b
j

+


c
j


r



,




Equation


19







where the function ƒj(ϵ) is chosen to enforce the constraint robustly or approximately. The approximate form adopted in this embodiment is the inverse CDF of the standard normal:












f
j

(
ϵ
)

=



Φ

-
1


(

1
-

ϵ
j


)


t


,




Equation


20







In certain embodiments, the constraints include one or more of a respective maximum value for one or more of the selected state variables and a respective maximum value for one or more of the selected control variables, e.g., a steering angle of the bit, a torque on the bit, and a weight on the bit.


The fifth term defines nk linear input constraints that are enforced probabilistically according to the risk level ϵk. These constrain the total input (the sum of static feedback and deterministic control input) to be not greater than ϵk. In this embodiment, ek=dk=1. They are implemented in the same manner as the state constraints of the fourth term.


In certain embodiments, the controller created in step 320 is designed using a Robust Model Predictive Controller (MPC), a tube MPC, or a scenario-based MPC.



FIG. 4 is an exemplary workflow 400 for controlling a steerable drill string in accordance with various aspects of the subject technology. The first command is implemented on the drilling system in step 410. In optional step 420, new measurements/estimates of the states are attained and the uncertainty parameters of the SMPC are updated. In this manner, an initial parameter value need not be precise and will be refined as the drilling progresses.


Step 430 uses the new measurements of step 420 to solve the optimization problem again using the SMPC.


New control inputs are selected in step 440. In certain embodiments, the control input is updated upon occurrence of an event, e.g., a difference between the current state of the drill string and a desired state of the drill string exceeds a first threshold, a variance associated with the current state of the drill string exceeds a second threshold, or a distance advanced by the drill string since a prior update of the control input exceeds a third threshold.


Step 460 branches back to step 420 for continued operation and branches to termination of the control workflow if it desired to quit drilling.



FIG. 5 depicts the geometry of a two-stabilizer BHA 500, in accordance with various aspects of the subject technology. The BHA 500 includes the bottom portion of the drill string 220 and drill bit 230. Stabilizers 510 are positioned along the drill string 220 at distances λ. BHA modeling identifies the directional response to BHA design parameters, such as stabilizer diameter, drill collar length, or steering angle of the bit 230. Drill-ahead models account for a constantly changing wellbore path.


The state-space model used for these trials is based on:











x


(

ξ
,
p

)

=




A
0

(
p
)



x

(
ξ
)


+




i
=
1


n
s






A
i

(
p
)



x

(

ξ
-

δ
i


)



+


B

(
p
)



u

(
ξ
)







Equation


21









where
,








x

(
ξ
)

:=



[


Θ

(
ξ
)

,




Θ


1



(
ξ
)


,


,




Θ



n
s




(
ξ
)


,


d
~

(
ξ
)


]

T



ϵℝ
n



,






and
,







u

(
ξ
)

:=



[


Γ

(
ξ
)

,

sin




Θ
r

(
ξ
)


,


Θ
r

(
ξ
)


]

T

.













d
~

(
ξ
)

=



d
~

0

+



0


ξ



Θ

(
σ
)


-



Θ
r

(
σ
)


d

σ




,




Equation


22









    • x—state vector

    • u—input vector

    • p—parameter vector

    • ξ—normalized drilled distance

    • Θ—borehole inclination at the bit

    • Θr—reference borehole inclination
      • Γ—normalized RSS pad force


    • custom-characterΘcustom-characteri—average borehole inclination between ith and (i−1)th stabilizer with custom-characterΘcustom-character1 denoting the average borehole inclination between the first stabilizer and the bit

    • {tilde over (d)}—normalized position deviation of the bit with respect to the reference position

    • {tilde over (d)}0—normalized initial position deviation

    • κi—normalized distance between ith and (i−1)th stabilizer with κ1 denoting the normalized distance between the first stabilizer and the bit
      • custom-character—constant coefficients that depend on BHA geometry, defined below

    • χ—normalized angular steering resistance parameter

    • η—normalized lateral steering resistance parameter

    • Π—normalized weight on bit





The system matrices of the SMPC model in state-space form are:







A
0

=


1
χΠ

[





-

b


+


χ
η



(



b

-



1


κ
1



)







b

+
R




-
R



0





χΠ

κ
1




0


0


0




0


0


0


0




1


0


0


0



]







where
,


R
=


(




b


1


-



1


b


-


1

ηΠ


)

/

(
ηΠ
)



,








A
1

=

[





χ
η



(




1


κ
1


+



1


κ
2


-


b


)




0


0


0





-

χΠ

κ
1





0


0


0





χΠ

κ
2




0


0


0




0


0


0


0



]


,








A
2

=


1
χΠ

[




-


χℱ
1


η

2






0


0


0




0


0


0


0





-

χΠ

2





0


0


0




0


0


0


0



]


,







B
=

[


B
0

,

B
1

,

B
2


]


,








B

0



=



1
χΠ

[








b


r


-



r


b


-


r

ηΠ


ηΠ



0


0


0



]

T


,








B

1



=



γ
χΠ

[








b


ω


-



ω


b


-


ω

ηΠ


ηΠ



0


0


0



]

T


,







B
2

=



[



0


0


0



-
1




]

T

.





The coefficients of influence for a two-stabilizer BHA are:








b

=



-
6

-

4

2




3
+

4

2





,








ω

=


6
+

10

2


-

3

2
3




12
+

16

2





,








r

=



-
3

-

4

2


+


Λ
2

(

9
+

6

2



)

-

2



Λ
3

(

3
+

2


)




3
+

4

2





,








1

=

6

3
+

4

2





,







b

=


4


(

1
+

2


)



3
+

4

2











ω

=



-
1

-

2

2


+

2
3



12
+

16

2












r

=



Λ

(

3
+

4

2



)

-

6



Λ
2

(

1
+

2


)


+


Λ
3

(

3
+

2

2



)



3
+

4

2





,







1

=



-
2


3
+

4

2




.







wherein
,







Π


[

0.05
,
0.3

]


,






η



[

3
,
30

]

.






FIGS. 6A-6C depict simulation results comparing the behavior of a SMPC-controlled drill string to a deterministic controller, in accordance with various aspects of the subject technology. Monte Carlo simulations were performed with (1) an uncertain model of a rotary steerable system controlled by a deterministic predictive controller (DPC) and (2) an exemplary SMPC as disclosed herein. One hundred (100) trials were conducted with each controller using random realizations of the model parameters. The initial conditions of these trials were treated as deterministic but can be treated as random variables to incorporate uncertainty due to measurement/estimation error.


The parameter values used for these trials are listed in Table 1.













TABLE 1





λ1(m)
λ2 (m)
Λ
EI (MNm2)
χ







3.66
6.1
0.61
7.35
0.1









These same parameters may take on a range of values, depending on the particular drill string and the substrate. Example ranges are listed in Table 2.













TABLE 2





λ1(m)
λ2 (m)
Λ
EI (MNm2)
χ







1-15
1-15
0.1-5
0.1-10
0.01-100










FIG. 6A is a plot 600 depicting a reference inclination 602 of a wellbore over a 300-foot distance, starting at an angle of 80 degrees and changing to approximately 94 degrees over approximately 140 feet, beginning at the 80-foot distance. A constraint 604 has been established approximately 6 degrees less than the reference 602.


The deterministic predictive controller (DPC) mean inclination 610 follows the reference path 602 fairly closely and has an uncertainty shown as shaded zone 612 that infringes the constraint 604 at approximately 200 feet. The SMPC mean inclination 614 departs from the reference 602 earlier than DPC 610 and reaches the desired 94 degree angle at approximately the same distance as DPC 610. The SMPC uncertainty 616, however, is smaller than the equivalent DPC uncertainly 612 at all distances and, notably, does not infringe the restraint 604.



FIG. 6B is a plot 620 depicting the wellbore curvature, also known as “dogleg severity,” of the same trials as FIG. 6A. The reference curvature 622 steps from zero to 10 degrees/100 ft at 80 ft and back to zero at 220 ft. In these trials, the control inputs were updated at fixed intervals of approximately 30 ft. The DLC mean 630 goes negative at a first update at approximately 30 ft and then adjusts upward at the second adjustment at approximately 60 ft. The DPC uncertainly 632 peaks at approximately 16 degrees/100 ft and later reaches −10 degrees/100 ft when the reference is zero. The SMPC mean 634 does not rise to the target 10 degrees/100 ft and the SMPC uncertainty 636 peaks at approximately 13 degrees/100 ft.



FIG. 6C is a plot 640 depicting the position deviation of the bit from the reference path 642 in the same trials as FIG. 6A. The DPC mean 650 drifts “upward” (a negative position error) starting at approximately 160 feet and reaches a maximum of approximately −2 feet of deviation. The DPC uncertainty 652, however, is biased in the negative direction and reaches a maximum of approximately −13 feet at the end of the trial distance. The SMPC mean 654 drift “downward” (positive position error) initially then returns to the reference position at 200 feet and ends at approximately −2 feet of deviation. The SMPC uncertainty 656 is also biased in the negative direction but reaches a maximum of −8 feet at the end of the trial distance, which compares favorably with the DPC uncertainty 652.


The results presented in FIGS. 6A-6C demonstrate constraint satisfaction and a smaller spread of trajectories for the SMPC compared to the DPC.


For clarity of explanation, in some instances the present technology may be presented as including individual functional blocks including functional blocks comprising devices, device components, steps or routines in a method embodied in software, or combinations of hardware and software.


In some embodiments the computer-readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like. However, when mentioned, non-transitory computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.


Methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer readable media. Such instructions can include, for example, instructions and data which cause or otherwise configure a general purpose computer, special purpose computer, or a processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, source code, etc. Examples of computer-readable media that may be used to store instructions, information used, and/or information created during methods according to described examples include magnetic or optical disks, flash memory, USB devices provided with non-volatile memory, networked storage devices, and so on.


Devices implementing methods according to these disclosures can include hardware, firmware and/or software, and can take any of a variety of form factors. Typical examples of such form factors include laptops, smart phones, small form factor personal computers, personal digital assistants, rackmount devices, standalone devices, and so on. Functionality described herein also can be embodied in peripherals or add-in cards. Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.


The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are example means for providing the functions described in the disclosure.


In the foregoing description, aspects of the application are described with reference to specific embodiments thereof, but those skilled in the art will recognize that the application is not limited thereto. Thus, while illustrative embodiments of the application have been described in detail herein, it is to be understood that the disclosed concepts may be otherwise variously embodied and employed, and that the appended claims are intended to be construed to include such variations, except as limited by the prior art. Various features and aspects of the above-described subject matter may be used individually or jointly. Further, embodiments can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. For the purposes of illustration, methods were described in a particular order. It should be appreciated that in alternate embodiments, the methods may be performed in a different order than that described.


Where components are described as being “configured to” perform certain operations, such configuration can be accomplished, for example, by designing electronic circuits or other hardware to perform the operation, by programming programmable electronic circuits (e.g., microprocessors, or other suitable electronic circuits) to perform the operation, or any combination thereof.


The various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the examples disclosed herein may be implemented as electronic hardware, computer software, firmware, or combinations thereof. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.


The techniques described herein may also be implemented in electronic hardware, computer software, firmware, or any combination thereof. Such techniques may be implemented in any of a variety of devices such as general purposes computers, wireless communication device handsets, or integrated circuit devices having multiple uses including application in wireless communication device handsets and other devices. Any features described as modules or components may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices. If implemented in software, the techniques may be realized at least in part by a computer-readable data storage medium comprising program code including instructions that, when executed, performs one or more of the method, algorithms, and/or operations described above. The computer-readable data storage medium may form part of a computer program product, which may include packaging materials.


The computer-readable medium may include memory or data storage media, such as random access memory (RAM) such as synchronous dynamic random access memory (SDRAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), FLASH memory, magnetic or optical data storage media, and the like. The techniques additionally, or alternatively, may be realized at least in part by a computer-readable communication medium that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and/or executed by a computer, such as propagated signals or waves.


Other embodiments of the disclosure may be practiced in network computing environments with many types of computer system configurations, including personal computers, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. Embodiments may also be practiced in distributed computing environments where tasks are performed by local and remote processing devices that are linked (either by hardwired links, wireless links, or by a combination thereof) through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.


In the above description, terms such as “upper,” “upward,” “lower,” “downward,” “above,” “below,” “downhole,” “uphole,” “longitudinal,” “lateral,” and the like, as used herein, shall mean in relation to the bottom or furthest extent of the surrounding wellbore even though the wellbore or portions of it may be deviated or horizontal. Correspondingly, the transverse, axial, lateral, longitudinal, radial, etc., orientations shall mean orientations relative to the orientation of the wellbore or tool. Additionally, the illustrate embodiments are illustrated such that the orientation is such that the right-hand side is downhole compared to the left-hand side.


The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “outside” refers to a region that is beyond the outermost confines of a physical object. The term “inside” indicates that at least a portion of a region is partially contained within a boundary formed by the object. The term “substantially” is defined to be essentially conforming to the particular dimension, shape or another word that substantially modifies, such that the component need not be exact. For example, substantially cylindrical means that the object resembles a cylinder, but can have one or more deviations from a true cylinder.


Although a variety of information was used to explain aspects within the scope of the appended claims, no limitation of the claims should be implied based on particular features or arrangements, as one of ordinary skill would be able to derive a wide variety of implementations. Further and although some subject matter may have been described in language specific to structural features and/or method steps, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to these described features or acts. Such functionality can be distributed differently or performed in components other than those identified herein. The described features and steps are disclosed as possible components of systems and methods within the scope of the appended claims.


Moreover, claim language reciting “at least one of” a set indicates that one member of the set or multiple members of the set satisfy the claim. For example, claim language reciting “at least one of A and B” means A, B, or A and B.


Statements of the disclosure include:


A method of controlling a drill string having a steerable bit when drilling a wellbore through a substrate, comprising developing a deterministic model of a directional behavior of the drill string comprising a drill string state; one or more drill parameters associated with the drill string; and one or more substrate parameters associated with the substrate. The method also includes developing a SDM of the directional behavior of the drill string by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback; reducing the SDM to a TSM by substituting a predetermined number of terms of a gPC expansion for each probability distribution and then evaluating the expectations.


A non-transitory computer-readable storage medium comprising instructions for controlling a drill string having a steerable bit when drilling a wellbore through a substrate that, when loaded into a processor, cause the processor to execute the steps of developing a deterministic model of a directional behavior of the drill string comprising a drill string state, one or more drill parameters associated with the drill string, and one or more substrate parameters associated with the substrate. The instructions also cause the processor to execute the steps of developing a SDM of the directional behavior of the drill string by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback; and reducing the SDM to a TSM by substituting a predetermined number of terms of a gPC expansion for each probability distribution and then evaluating the expectations.


A system for controlling a drill string having a steerable bit when drilling a wellbore through a substrate, comprising a processor and a non-transitory computer-readable storage medium coupled to the processor and comprising instructions that, when loaded into the processor, cause the processor to execute the steps of developing a deterministic model of a directional behavior of the drill string comprising a drill string state, one or more drill parameters associated with the drill string, and one or more substrate parameters associated with the substrate; developing a SDM of the directional behavior of the drill string by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback; and reducing the SDM to a TSM by substituting a predetermined number of terms of a gPC expansion for each probability distribution and then evaluating the expectations.

Claims
  • 1. A method of controlling a drill string having a steerable bit when drilling a wellbore through a substrate, comprising: developing a deterministic model of a directional behavior of the drill string comprising: a drill string state;one or more drill parameters associated with the drill string; andone or more substrate parameters associated with the substrate;developing a stochastic differential model (SDM) of the directional behavior of the drill string by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback; andreducing the SDM to a truncated stochastic model (TSM) using a stochastic approximation method.
  • 2. The method of claim 1, wherein the drill string state comprises at least one state variable selected from the group of: a position of the bit, an inclination of the drill string at the bit, and a curvature of the wellbore at the bit.
  • 3. The method of claim 2, wherein projecting the path of the drill string comprises calculating at least one of a mean and a variance for at least one of the state variables along the projected path from the current position.
  • 4. The method of claim 3, further comprising: projecting the drill string state over a horizon using the TSM and a plurality of candidate control inputs;calculating a respective cost function for each candidate control input; andselecting the candidate control input having the lowest cost function as the new control input.
  • 5. The method of claim 4, wherein the cost function comprises one or more of the group: a difference between the mean of the projected path of the drill string and a portion of a reference path;the variance of the at least one of the state variables along the projected path;a difference between a projected drill string state and a first constraint; anda difference between a candidate control input and a second constraint.
  • 6. The method of claim 5, wherein: the first constraint comprises a respective maximum value for one or more of the selected state variables;the control input comprises one or more control variables selected from a group of a steering angle, a torque, and a weight; andthe second constraint comprises a respective maximum value for one or more of the selected control variables.
  • 7. The method of claim 3, further comprising: selecting a new control input using a stochastic model predictive controller (SMPC) that comprises the TSM, a cost function, and a constraint; andupdating the current control input with the new control input upon occurrence of an event within the group of: a difference between the current state of the drill string and a desired state of the drill string exceeds a first threshold;a variance associated with the current state of the drill string exceeds a second threshold; anda distance advanced by the drill string since a prior update of the control input exceeds a third threshold.
  • 8. The method of claim 3, further comprising: selecting a new control input using a robust control method selected from a group of a robust Model Predictive Controller (MPC), a tube MPC, and a scenario-based MPC.
  • 9. The method of claim 1, wherein the stochastic approximation method is selected from a group of a generalized polynomial chaos (gPC) method and an arbitrary polynomial chaos (aPC) method.
  • 10. The method of claim 1, wherein reducing the SDM to a TSM comprises substituting a predetermined number of terms of expansion for each probability distribution in the stochastic approximation method and then evaluating the expectations.
  • 11. A non-transitory computer-readable storage medium comprising instructions for controlling a drill string having a steerable bit when drilling a wellbore through a substrate that, when loaded into a processor, cause the processor to execute the steps of: developing a deterministic model of a directional behavior of the drill string comprising: a drill string state;one or more drill parameters associated with the drill string; andone or more substrate parameters associated with the substrate;developing a stochastic differential model (SDM) of the directional behavior of the drill string by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback; andreducing the SDM to a truncated stochastic model (TSM) using a stochastic approximation method.
  • 12. The storage medium of claim 11, wherein the drill string state comprises at least one state variable selected from the group of: a position of the bit, an inclination of the drill string at the bit, and a curvature of the wellbore at the bit.
  • 13. The storage medium of claim 12, wherein projecting the path of the drill string comprises calculating at least one of a mean and a variance for at least one of the state variables along the projected path from the current position.
  • 14. The storage medium of claim 13, further comprising instructions that cause the processor to execute the steps of: projecting the drill string state over a horizon using the TSM and a plurality of candidate control inputs;calculating a respective cost function for each candidate control input; andselecting the candidate control input having the lowest cost function as the new control input.
  • 15. The storage medium of claim 14, wherein the cost function comprises one or more of the group: a difference between the mean of the projected path of the drill string and a portion of a reference path;the variance of the at least one of the state variables along the projected path;a difference between a projected drill string state and a first constraint; anda difference between a candidate control input and a second constraint.
  • 16. The storage medium of claim 15, wherein: the first constraint comprises a respective maximum value for one or more of the selected state variables;the control input comprises one or more control variables selected from a group of a steering angle, a torque, and a weight; andthe second constraint comprises a respective maximum value for one or more of the selected control variables.
  • 17. The storage medium of claim 13, further comprising: selecting a new control input using a stochastic model predictive controller (SMPC) that comprises the TSM, a cost function, and a constraint; andupdating the current control input with the new control input upon occurrence of an event within the group of: a difference between the current state of the drill string and a desired state of the drill string exceeds a first threshold;a variance associated with the current state of the drill string exceeds a second threshold; anda distance advanced by the drill string since a prior update of the control input exceeds a third threshold.
  • 18. The storage medium of claim 13, further comprising: selecting a new control input using a robust control method selected from a group of a robust Model Predictive Controller (MPC), a tube MPC, and a scenario-based MPC.
  • 19. The storage medium of claim 11, wherein the stochastic approximation method is selected from a group of a generalized polynomial chaos (gPC) method and an arbitrary polynomial chaos (aPC) method.
  • 20. The storage medium of claim 11, wherein reducing the SDM to a TSM comprises substituting a predetermined number of terms of expansion for each probability distribution in the stochastic approximation method and then evaluating the expectations.
  • 21. A system for controlling a drill string having a steerable bit when drilling a wellbore through a substrate, comprising: a processor; anda non-transitory computer-readable storage medium coupled to the processor and comprising instructions that, when loaded into the processor, cause the processor to: develop a deterministic model of a directional behavior of the drill string comprising: a drill string state;one or more drill parameters associated with the drill string; andone or more substrate parameters associated with the substrate;develop a stochastic differential model (SDM) of the directional behavior of the drill string by replacing the state and each of the parameters of the deterministic model with respective probability distributions and adding feedback; andreduce the SDM to a truncated stochastic model (TSM) using a stochastic approximation method.
  • 22. The system of claim 21, wherein the drill string state comprises at least one state variable selected from the group of: a position of the bit, an inclination of the drill string at the bit, and a curvature of the wellbore at the bit.
  • 23. The system of claim 22, wherein projecting the path of the drill string comprises calculating at least one of a mean and a variance for at least one of the state variables along the projected path from the current position.
  • 24. The system of claim 23, wherein the storage medium comprises further instructions that cause the processor to: project the drill string state over a horizon using the TSM and a plurality of candidate control inputs;calculate a respective cost function for each candidate control input; andselect the candidate control input having the lowest cost function as the new control input.
  • 25. The system of claim 24, wherein the cost function comprises one or more of the group: a difference between the mean of the projected path of the drill string and a portion of a reference path;the variance of the at least one of the state variables along the projected path;a difference between a projected state of the drill string and a first constraint; anda difference between a candidate control input and a second constraint.
  • 26. The system of claim 25, wherein: the first constraint comprises a respective maximum value for one or more of the selected state variables;the control input comprises one or more control variables selected from a group of a steering angle, a torque, and a weight; andthe second constraint comprises a respective maximum value for one or more of the selected control variables.
  • 27. The system of claim 23, wherein the storage medium comprises further instructions that cause the processor to: select a new control input using a stochastic model predictive controller (SMPC) that comprises the TSM, a cost function, and a constraint; andupdate the current control input with the new control input upon occurrence of an event within the group of: a difference between the current state of the drill string and a desired state of the drill string exceeds a first threshold;a variance associated with the current state of the drill string exceeds a second threshold; anda distance advanced by the drill string since a prior update of the control input exceeds a third threshold.
  • 28. The system of claim 23, wherein the storage medium comprises further instructions that cause the processor to: select a new control input using a robust control method selected from a group of a robust Model Predictive Controller (MPC), a tube MPC, and a scenario-based MPC.
  • 29. The system of claim 21, wherein the stochastic approximation method is selected from a group of a generalized polynomial chaos (gPC) method and an arbitrary polynomial chaos (aPC) method.
  • 30. The system of claim 21, wherein reducing the SDM to a TSM comprises substituting a predetermined number of terms of expansion for each probability distribution in the stochastic approximation method and then evaluating the expectations.