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.
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.
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:
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
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.
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:
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:
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:
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:
and δmn is the Kronecker delta function
First, the state x is substituted by its truncated gPC expansion in the polynomial basis functions:
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:
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:
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:
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:
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.
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.
The state-space model used for these trials is based on:
The system matrices of the SMPC model in state-space form are:
The coefficients of influence for a two-stabilizer BHA are:
The parameter values used for these trials are listed in Table 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.
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.
The results presented in
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.