Probabilistic model calibration and estimation for drilling steering control
Patent Information
- Application Number
- SA522431831
- Authority / Receiving Office
- SA · SA
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-03
- Publication Date
- 2023-11-16
- Estimated Expiration
- 2040-07-22
AI Technical Summary
Current automated drilling systems face challenges in accurately calibrating steering models due to nonlinearity and uncertainties from sensor deficiencies and environmental variations, leading to unstable and underdetermined problems in estimating drill bit position and orientation.
A method using Markov Chain Monte Carlo (MCMC) simulation for calibrating a routing model, incorporating sensor measurements, uncertainty estimation, and prior distributions to improve model accuracy, combined with a statistical ensemble method for initial condition estimation and adaptive proposal distributions to enhance model calibration.
Provides accurate real-time estimation of drill bit position and orientation, ensuring precise control and optimization of drilling operations by continuously updating the steering model, reducing errors and improving drilling efficiency and safety.
Abstract
Description
<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Wellbore drilled into subterranean formations can help extract preferred fluids (e.g., hydrocarbons) using any number of different techniques. Typical drilling operations can be relatively complex and cost-intensive. Most of these operations are performed manually by experienced rig operators. There are ongoing efforts in the industry to develop improvements in safety, reduce costs, and increase efficiency. Advances in computerized and automated systems in drilling operations are the next step in achieving these goals. With automated and robotic systems for drilling operations in the early stages of development in the industry, there is a need for more efficient, improved, and optimized drilling operations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Current automated drilling methods and systems require calibration. For example, during drilling operations, both onshore and offshore, to control a directional well, an accurate model of the system's steering performance is required, mapping responses from input to output. Due to the many unknowns of the downhole and system environment, the model must be continuously updated with field measurements to maintain accuracy and usefulness. Furthermore, closed-loop steering control requires feedback of the drill bit's position and orientation. Therefore, an accurate steering model is doubly beneficial, providing a means to estimate the drill bit's position and orientation for use as real-time feedback to the controller. Due to the nonlinearity of steering models, estimating variables becomes an unstable and underdetermined problem with an infinite number of solutions.<h2 style=";text-align:left;direction:ltr">In addition, the many uncertainties in the form of sensor deficiencies, vibrations, and differences between the model and the system create situations where model calibration will produce a poor model that will be used in steering control and therefore must be overcome in some way.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention relates to a method for calibrating a routing model, which may include estimating an initial condition for one or more variables in the routing model and calibrating the routing model with a Markov Chain Monte Carlo (MCMC) simulation. A drilling system may include a downhole assembly, a drill string connected to the downhole assembly, and an information processing system connected to the downhole assembly. The information processing system may be configured to process one or more measurements from the downhole assembly, calibrate a routing model based at least in part on the one or more measurements, adjust control logic based at least in part on the routing model, and adjust the downhole assembly based at least in part on the control logic.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">These drawings illustrate certain aspects of some examples of the present disclosure and should not be used to limit or limit the disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is an example of a drilling system;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a workflow for routing a drilling system;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a workflow for updating a routing model;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 is a graph of the variation in survey measurements used in an objective function;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a flow chart of the statistical aggregation process.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure details methods and systems for calibrating a steering model and estimating drill bit position and orientation in real time and post-operation. In general, the systems and methods discussed below relate to a system and method for estimating model variables, drill bit position, and orientation using horizontal moving Markov Chain Monte Carlo (MCMC) sampling. The algorithm combines steering inputs, all available measurements (accelerometers and magnetometers placed anywhere along the drill string), an estimated uncertainty in the measurements, and prior distributions for each variable to produce a model of the system's steering performance. The uncertainty estimate is automatically calculated by the algorithm using multiple least-squares optimizations based on the loosely constrained model. Additionally, the initial conditions of the model are estimated using a statistical ensemble method, which provides prior distributions for the initial conditions for MCMC estimation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 1 shows an example of a drilling system 100. As illustrated, wellbore 102 may extend from wellhead 104 into a subterranean formation 106 from surface 108. In general, wellbore 102 may include horizontal, vertical, inclined, hollow, and other types of wellbore geometries and orientations. Wellbore 102 may be casing or uncasing. In the examples, wellbore 102 may include a metal member. For example, the metal member may be a casing, liner, tubing, or other tubular steel element disposed in wellbore 102.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As illustrated, wellbore 102 can extend through subsurface formation 106. As illustrated in Figure 1, wellbore 102 can generally extend vertically through subsurface formation 106. However, wellbore 102 can also extend at an angle through subsurface formation 106, similar to horizontal and inclined wellbores. For example, although Figure 1 depicts a vertical or low-incline well, it is possible to position the well and components at a high-incline or horizontal position. It should also be recognized that while Figure 1 generally depicts land-based operations, those skilled in the art may recognize that the principles described herein are equally applicable to subsea operations using floating or offshore drilling platforms or rigs, without departing from the scope of the discovery.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As illustrated, a drilling rig 110 may carry a drilling derrick 112 with a movable spool 114 that raises and lowers a drill string 116. The drill string 116 may include, but is not limited to, drill pipe and coiled tubing, as commonly known to those skilled in the art. The drill stem 118 may carry the drill string 116 when lowered via a rotary table 120. A drill bit 122 may be attached to the far end of the drill string 116 and may be driven either by a downhole motor and / or by rotation of the drill string 116 from the surface 108. By way of example, the drill bit 122 may include a roller cone bit, PDC bit, natural diamond bit, any well reamers, reamers, core drill bits, and the like. When the bit 122 rotates, it can create and extend a wellbore 102 that penetrates multiple subsurface formations 106.<h2 style=";text-align:left;direction:ltr">Pump 124 may circulate drilling fluid via feed pipe 126 through drill stem 118, downhole through the interior of drill string 116 via nozzles in drill bit 122, return it to surface 108 via annular space 128 around drill string 116, and then introduce it into a retention hole 132.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Continuing with reference to Figure 1, the drill string 116 may begin at the wellhead 104 and may project down the wellbore 102. A drill bit 122 may be attached to a far end of the drill string 116 and may be driven, for example, either by a downhole motor and / or by rotation of the drill string 116 from the surface 108. The drill bit 122 may form part of a downhole assembly 130 at the far end of the drill string 116. The downhole assembly 130 may also include tools for resistive applications. As will be recognized by those of ordinary skill in the art, the downhole assembly 130 may be a measurement-while-drilling (MWD) or logging-while-drilling (LWD) system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The downhole assembly 130 may include any number of instruments, transmitters, and / or receivers for performing downhole measurements. For example, as illustrated in Figure 1, the downhole assembly 130 may include a measuring assembly 134. It should be noted that the measuring assembly 134 may form at least a part of the downhole assembly 130. By way of example, without limitation, any number of measuring assemblies, communication assemblies, various battery assemblies, and / or the like may form the downhole assembly 130 with the measuring assembly 134. In addition, the measuring assembly 134 may form the downhole assembly 130 itself. In the examples, the measuring assembly 134 may include at least one transducer 136A, which may be disposed on the surface of the measuring assembly 134. It should be noted that while Figure 1 illustrates one transducer 136A, there may be any number of transducers disposed on the measuring assembly 134. While the illustrations show transducers 136A-C, as will be shown below, references to transducer 136A apply to all transducers within the disclosure.<h2 style=";text-align:left;direction:ltr">Without limitation, the transducers may be referred to as a transceiver. By way of example, transducer 136a may also be located within the measurement assembly 134, and there may be four other transducers positioned at ninety-degree angles to each other. However, it should be noted that any number of transducers may be positioned along the downhole assembly 130 at any degree to each other. Transducer 136a, and any other transducer, may operate and function to produce an acoustic pressure pulse that travels through the borehole fluids. In examples, the transducers 136a may also sense and receive a reflected pressure wave, which is embedded in the borehole wall (i.e., reflected as an echo). During the measurement operations, the travel time of the pulse wave from transmission to echo recording may be recorded. This information can lead to the determination of the borehole radius, which can be derived from the fluid sound velocity. By analyzing the amplitude of the echo signal, the acoustic impedance may also be derived.<h2 style=";text-align:left;direction:ltr">By way of example, but not limited to, transducers 136A may be constructed from piezo ceramic crystals, or optionally from magnetostrictive or other materials that produce an acoustic pulse when electrically or otherwise energized. In examples, transducers 136A may also include corresponding reinforcement materials and layers. It should be understood that transducers 136A and assemblies containing transducers 136A, for example, may be removed and replaced if damaged or malfunctioning.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By way of example, the downhole assembly 130 may be connected to and / or controlled by the information processing system 138, which may be located at surface 108. By way of example, the information processing system 138 may be located downhole in the downhole assembly 130. The information recorded may be processed downhole and / or at surface 108. The processing occurring downhole may be transmitted to surface 108 for further recording, observation, and / or analysis. In addition, the recorded information may be stored on the information processing system 138 which may be located downhole until the downhole assembly 130 is raised to the surface 108. In examples, the information processing system 138 may communicate with the downhole assembly 130 via a communication line (not shown) placed in (or on) a drill string 116. In examples, wireless communication may be used to send information back and forth between the information processing system 138 and the downhole assembly 130. The information processing system 138 may send information to the downhole assembly 130 and may receive and process the information recorded by the downhole assembly 130.<h2 style=";text-align:left;direction:ltr">In examples, the downhole information processing system (not shown), but is not limited to, a microprocessor or other suitable circuitry, for estimating, receiving, and processing signals obtained from the downhole assembly 130. The downhole information processing system (not shown) may also include additional components, such as memory, input / output devices, interfaces, and the like. In examples, although not shown, the downhole assembly 130 may include one or more additional components, such as an analog-to-digital converter, filter, and amplifier, among others, which may be used to process measurements from the downhole assembly 130 prior to transmission to surface 108. Alternatively, raw measurements obtained from the downhole assembly 130 may be transmitted to surface 108.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Any suitable technology may be used to transmit signals obtained from the downhole assembly 130 to surface 108, including, but not limited to, wireline telemetry, mud pulse telemetry, acoustic telemetry, and electromagnetic telemetry. While not illustrated, the downhole assembly 130 may include a telemetry subassembly that may transmit telemetry data to surface 108. At surface 108, pressure transducers (not illustrated) may convert the pressure signal into electrical signals to a digital converter (not illustrated). The digital converter may generate a digital image of the telemetry signals for the information processing system 138 via a communication link 140, which may be a wired or wireless link. The telemetry data may be analyzed and processed by the information processing system 138.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As illustrated, a communication link 140 (which may be wired or wireless, for example) may be provided that can transmit data from the downhole assembly 130 to an information processing system 138 located at surface 108. The information processing system 138 may include a personal computer 141, a video display device 142, a keyboard 144 (i.e., other input devices), and / or non-transitory computer-readable media 146 (e.g., optical disks, magnetic disks) that can store a code representing the methods described herein. In addition to or instead of surface processing 108, processing may occur downhole. As discussed below, the information processing system 138 may use methods for automated calibration of the drilling system steering model 100.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 illustrates a workflow 200 for automated calibration of the drilling system guidance model 100, according to specific embodiments. The workflow 200 begins with frame 202. Frame 202 is the data processing that can be performed by the information processing system 138 (e.g., by reference to Figure 1). During data processing, a real-time MWD / LWD data quality check is performed. The data is then structured and filtered to prevent outliers or corrupted data, due to inherent variability or inherent measurement error, that could affect estimates and conclusions. For example, a statistical method, the adjusted box plot, may be used to detect outliers. An outlier is defined as a data point that falls outside the lower and upper limits of the data distribution after accounting for data skewness. Data is transmitted from frame 202 to frame 204.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Frame 204 performs steering model calibration operations. In the examples, the steering model calibration operations may operate and function to control the drilling system 100 during drilling operations. For example, the outputs from frame 204 may be calibrated model variables and bit trajectory estimates, which may be sent to frame 206. The operation and functionality of frame 204 are discussed in more detail below. The calibrated model variables and bit trajectory estimates may be used as inputs to control the function and operation of the control logic in frame 206. The control logic in frame 206 may operate and function to control the trajectory, speed, RPM, and other variables of the drill bit 122 during the drilling operation. The control logic in frame 206 may be model-based control logic, where the calibrated steering model is used to determine a corrective steering command to achieve at least one objective. This objective may be to minimize the divergence between the well trajectory and the well plan, or to minimize the curvature of the well trajectory.<h2 style=";text-align:left;direction:ltr">Without limitation, the control logic in frame 206 can solve the optimal control problem defined by the objectives and the described routing model to discover optimal routing commands. Any constraints such as maximum curvature or maximum difference between the well plan and the well path may be specified within the optimal control problem. This may allow the drilling system 100 to drill in the formation 106 (e.g., by reference to Figure 1) at any suitable angle, horizontally, and / or the like. As illustrated in Figure 2, sensors on the downhole assembly 130 (e.g., by reference to Figure 1) may be used to monitor the movement, operations, and functions of the drill bit 122 in the formation 106 as real-time data. The real-time data from the drilling system 100 may be fed into frame 202 for data processing. Based on the information fed into frame 202 for data processing, the operations and functions of the drill bit 122 and the downhole assembly 130 may change. Thus, a constant calibration of the steering model may be performed in frame 204, which may continuously update the control logic in frame 206.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 3 also illustrates the guidance model calibration process and its function in frame 204 of Figure 2, according to specific embodiments. Referring to Figure 2, the output data from frame 202 of Figure 3 is defined as input 301. As illustrated, input 301 includes continuous and constant measurements. Continuous measurements exist if the drilling system 100 is performing continuous drilling operations. Constant measurements exist if the drilling operations of the drilling system 100 are stopped. Input 301, populated with the measurements discussed above, is fed into frame 302.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Frame 302 represents an estimate of the initial condition. The variables defined in frame 302 represent the initial conditions and . The initial conditions are the output 303. In the examples, a statistical clustering process is used to calculate the mean and standard deviation for each initial condition. The process begins by selecting a window size that defines the maximum distance of measurements around an initial depth at which the measurements were taken to be used to estimate the initial condition. If there are fewer than 10 measurements within the window, the window is expanded iteratively until 100 measurements are included. Second, a random sample of measurements is generated by randomly selecting a percentage, specified as P%, of the measurements without replacement. Third, a least-squares linear fit is calculated, which produces an estimate of the initial conditions for that small random sample of measurements. The process is repeated once, generating new random samples at each iteration, and the resulting initial condition estimates are stored in vectors and . The mean and standard deviation of the vectors provide the mean and standard deviation of the initial conditions.<h2 style=";text-align:left;direction:ltr">By this process, a point estimate and a measure of uncertainty about the initial conditions can be obtained which is proportional to the noise measurement.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The estimation process is graphically represented in Figure 4. As can be seen, Figure 4 uses simulated data as a visual representation of the statistical clustering process used to estimate prior distributions for initial conditions. In Figure 4, = [80,110] ft (24,417 m). Each line in the cluster fits well to a different random sample of measurements shown in the window.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring again to Figure 3, output 303, the mean of initial conditions, is fed into frame 304. Frame 304 is an estimate of the measurement uncertainty. During the measurements, frame 304 calculates the measurement uncertainty variable for the probability probability, found below in Equation (2), before calibration and estimation occur. The measurement uncertainty is also defined as output 305. This variable captures the quality of the measurements and any discrepancy between the model and the system that results from the simplistic approximation inherent in the model to a more complex system. Ultimately, the measurement uncertainty affects how well the current model is calibrated to field measurements. The measurement uncertainty is first estimated by packing a model with loosely constrained variables. The packing process is achieved by minimizing the objective function (𝑥, ) using any appropriate optimization routine. The mean value of the objective function of the best fit is used as an estimate of (i.e., the minimum value of the objective function divided by the number of measurements). For the objective function of the sum of squares, it is the mean squared error and is an estimate of the variance of the measurements.<h2 style=";text-align:left;direction:ltr">By using the model to estimate measurement uncertainty, corrupted data and unmodeled dynamics can be detected, and calibration can be prevented from producing poor model estimates. This serves as a quality control for the calibration process and trend estimation. The parameter defined for measurement uncertainty is then used in Frame 306.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Frame 306 is a Markov Chain Monte Carlo (MCMC) simulation. In the examples, MCMC can be used to calibrate a routing model. The routing model can be calibrated and used to estimate the position of a drill bit 122 (referring to Figure 1, for example), and the direction is the following depth-dependent second-order differential equation, see below:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">which describes the dynamics of the downhole assembly 130 (for example, with reference to Figure 1) in the pitch and azimuth planes. The variable represents the bit angle 122 (either the pitch or azimuth plane), and 𝑢 is the steering actuation input into the information processing system 138. The calibrated variables are specified as 𝜏 is the depth constant, 𝐾act is the rotational capacity of the downhole assembly 130, 𝐾bias represents both the downhole assembly 130 inclination inherent to the steering plus any external forces acting on the downhole assembly 130, 𝐾 is the initial angle (pitch or azimuth), and 𝐾 is the initial curvature (rate of change of slope or rate of movement). The dot notation in this equation represents a derivative with respect to distance, not time. Without limitation, 𝐱 is also used to express a vector of calibrated variables.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">During operations, at frame 306, the model is calibrated and estimated with a Markov Chain Monte Carlo (MCMC) simulation. The algorithm used below within MCMC is the Metropolis-Hastings algorithm with adaptive proposal distributions and delayed rejection. Without limitation, any other suitable algorithm may also be used with MCMC. MCMC simulation is performed over an estimation horizon, D. For parameter estimation, a long horizon is used (D is generally greater than 90 feet (27 meters)), and for position and orientation estimation, a short horizon is used (D is generally less than 90 feet (27 meters)). Measurements used for calibration within this horizon can include any sensor that measures inclination and / or azimuth, e.g., accelerometers, magnetometers, and / or the like.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the examples, the purpose of the MCMC simulation is to approximate the dimensional distribution, in frame 307, using Bayes' theorem. In frame 307, the dimensional distribution is specified as the following probability:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (2)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">where θ is the probability that the variables are true system variables given that measurements x are observed. θ is the probability of observing measurements x given that the system has variables θ (the probability), θ is the probability that the variables θ are true system variables (the prior probability), and θ is the probability of measurements x occurring in general. In the examples, it can be difficult to compute (x), so instead, the Metropolis-Hastings algorithm iteratively produces a set of possible variables θ according to the acceptance ratio:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (3)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For → . The resulting distribution of acceptable variables approximates the dimensional distribution. The dimensional distribution describes the probability values of the variables (i.e., models) that describe the downhole assembly routing performance 130 (referring to Figure 1, for example) given all available information (previous measurements and distributions). The mean of the dimensional distribution for each variable is calculated and used to update the model, which is then used to control or guide subsequent routing decisions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Choosing probability density functions ("PDFs") is an integral part of MCMC simulations. In this example, the PDFs used for both the prior probability and the likelihood probability are the normal distributions:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (4)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following discusses how to determine the mean and standard deviation, and , respectively, of the prior probability. The variable is the estimate of the uncertainty in the measurements, and 𝑥, ) is the value of the objective function. The objective function of the probability probability has a significant impact on the accuracy of the calibration and estimation. In examples, the following equation can be used:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (5)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a regularization term may be added to impose a penalty for deviation from the previous model variables. Roughly speaking, the objective function may produce measurements of the variables that may be similar to the observed measurements in the field. The weighting variable W may be used to give more weight to the continuous or static measurements in the input 301, in case of corrupted or missing data in any set. In the examples, the static measurements are taken when the downhole assembly 130 is stationary, and thus the measurements can be more accurate due to the absence of movement. In the examples, the variable is a vector of continuous slope measurements from any sensor on the drill string 116 (referring to Figure 1, for example). Additionally, it is a vector of slope estimates calculated using a model with the variables . The variable is the change in the measured slope from the first scan at the calibration horizon to subsequent scan measurements, expressed graphically in Figure 5. Additionally, it is the respective change in the estimated slope of the MCMC.<h2 style=";text-align:left;direction:ltr">By using changes in survey measurements, rather than absolute values, the calibration and estimation process can be populated with data in their respective reference frames. Thus, misaligned / offset measurements do not negatively impact the accuracy of the calibration or estimation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The variables from frame 306 that form the dimensional values in frame 307 are sent to frame 308, where the dimensional values in frame 307 can induce the prior values in frame 310, from the next calibration. In frame 306, the prior probability, from frame 310, of the variables may be determined with the mean and standard deviation. For the first calibration and estimation, the prior probabilities may be chosen based on an actual model of the downhole assembly 130 (referring to Figure 1, for example) or an analysis of subsequent tasks from an operating cycle of the downhole assembly 130. The calibration and estimation procedures disclosed herein may be used to analyze subsequent tasks. Alternatively, for each subsequent calibration, the mean of the prior distributions may remain the same or be updated according to the calibration results from the previous horizon. Similarly, the standard deviations may remain the same or be updated according to several factors. For example, considering a well plan with a curved section, followed by a 90-degree lateral section, the standard deviation of the variables can be increased or decreased by the following general rules:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (7)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (8)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The logic of this update scheme is based on the assumptions that at short horizons, D, the system's steering responses are best captured by the bias variable, and at long horizons, random external forces tend to cancel each other out, and the steering response should be attributed to the steering input parameter. Similarly, when the steering input run u is low across any horizon, the response should be attributed to the bias term. Slope is also included because when the downhole assembly 130 (referring to Figure 1, for example) is drilled close to the horizontal (slope = 90), the formation push tendency increases due to the inter-layer nature of drilling, and therefore the observed steering responses should be attributed more to the bias term in this case.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">These methods may be useful where using MCMC to calibrate the model is computationally inexpensive but produces accurate and consistent estimates of the variables. The MCMC method also uses delayed rejection and adaptive proposal covariance techniques to speed up convergence and reduce estimation time. Additionally, the objective function used in the MCMC simulation separates the survey and continuous measurements from the input 301 into different reference frames. This overcomes the problem of unpredictable measurement bias / offsets that can result from sensor processing algorithms or large displacements in the fixed configuration of drill strings during drilling. Furthermore, the probabilistic estimation framework allows for the incorporation of prior knowledge of the variables into the algorithm, improving the accuracy and utility of the model. This prior knowledge can come in the form of physics-based or data-based models, previous tool runs, or personnel. The systems and methods may include any of the several features disclosed herein, which include one or more of the following data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Statement 1: A method for calibrating a routing model may comprise estimating an initial condition for one or more variables in the routing model and calibrating the routing model with a Markov Chain Monte Carlo (MCMC) simulation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 2: The method according to Statement 1, wherein it further comprises estimating the uncertainty in the measurements based at least in part on one or more variables.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 3: The method according to Statement 2, wherein further comprising updating the prior probability distribution of the one or more variables based at least partially on the one or more posterior probabilities.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 4: The method according to Statements 1 or 2, further comprising calculating the probability distribution for one or more variables in the routing model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 5: The method according to Statement 4, wherein it further comprises filling in one or more variables in the routing model by minimizing the objective function.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 6: The method according to Statement 5, which also includes performing the sum of squares of the objective function.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Statement 7: The method according to statements 1, 2 or 4, wherein it further comprises specifying a window at an initial depth for estimating the initial condition.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 8: The method according to Statement 7, which also includes selecting a random sample of measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 9: The method according to Statement 8, wherein it further comprises performing a least squares linear fit on the sample of random measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 10: The method according to data 1, 2, 4, or 7, where it also includes choosing an MCMC probability density function.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 11: A method for controlling a drilling system may include drilling into a formation with a downhole assembly based at least in part on a routing model, processing one or more measurements from the downhole assembly, and calibrating the routing model based at least in part on the one or more measurements. The method may further include adjusting control logic based at least in part on the routing model and adjusting the downhole assembly based at least in part on the control logic.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Statement 12: The method according to Statement 11, wherein calibrating the routing model may comprise estimating an initial condition for one or more variables in the routing model, estimating the uncertainty in the measurements based at least in part on the one or more variables, calibrating the routing model with a Markov Chain Monte Carlo (MCMC) simulation based on the uncertainty in the measurements, and updating the prior probability distribution for the one or more variables based at least in part on the one or more posterior probabilities.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 13: The method according to Statement 12, further comprising calculating a probability distribution for one or more variables in the routing model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 14: The method according to Statement 13, wherein further comprising filling in one or more variables in the routing model by minimizing the objective function.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 15: The method according to Statement 12, wherein further comprising determining a window at an initial depth for estimating the initial condition.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 16: The method according to Statement 15, further comprising the selection of a random sample of measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Statement 17: The method according to Statement 16, further comprising performing a least squares linear fit on the sample of random measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 18: A drilling system may include a downhole assembly, which may include a drill bit connected to the downhole assembly and one or more sensors connected to the downhole assembly. The drilling system may further include a drill string connected to the downhole assembly and an information processing system connected to the downhole assembly. The information processing system may be configured to process one or more measurements from the downhole assembly, calibrate a routing model based, in part, on the one or more measurements, adjust control logic based, in part, on the routing model, and adjust the downhole assembly based, in part, on the control logic.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Statement 19: The drilling system according to Statement 18, wherein the information processing system is further configured to estimate an initial condition for one or more variables in the routing model, estimate the uncertainty in the measurements based on the one or more variables in at least part, calibrate the routing model by Markov Chain Monte Carlo (MCMC) simulation with the uncertainty in the measurements, and update the prior probability distribution for the one or more variables based on the one or more posterior probabilities in at least part.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Statement 20: The drilling system according to Statement 19, wherein the information processing system is further configured to calculate a probability distribution for one or more variables in the routing model, fill in the one or more variables in the routing model by minimizing an objective function, and perform the sum of squares objective function on the objective function.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should be understood that, although individual examples may be discussed herein, the present disclosure covers all combinations of the disclosed examples, including, but not limited to, combinations of various components, combinations of method steps, and system properties. It should be understood that compositions and methods are described by the words "comprising," "containing," or "including" multiple components or steps, and compositions and methods may also "consist primarily of" or "consist of" multiple components and steps. Furthermore, the indefinite article "(s)," as used in the claims, is defined herein to mean one or more of the elements to which they refer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For the sake of brevity, only certain ranges are explicitly disclosed. However, ranges of any lower limit may be combined with any upper limit to indicate a range not explicitly stated. Likewise, ranges of any lower limit may be combined with any other lower limit to indicate a range not explicitly stated. In the same way, ranges of any upper limit may be combined with any other upper limit to indicate a range not explicitly stated. In addition, when a numerical range with a lower limit and an upper limit is disclosed, any number and any included range that fall within the range are specifically disclosed. In particular, it should be understood that each range of values (in the form "from about A to about B," or equivalently, "from about A to B," or equivalently, "from about A-B") disclosed herein indicates any number and range included in the broader range of values, even if not explicitly stated. Thus, each individual point or value can act as its own minimum or maximum combined with any other individual point or value or any other minimum or maximum, to state a range that is not explicitly stated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Thus, the present examples are well adapted to the stated purposes and advantages as well as those inherent therein. The specific examples disclosed above are illustrative only and may be modified and implemented in various but equally effective ways evident to those skilled in the art upon utilizing the information contained herein. Although individual examples are discussed, the disclosure covers all combinations of such examples in their entirety. Furthermore, there are no limitations on the details of construction or design presented herein, other than as described in the following claims. Also, terms used in the claims have their plain ordinary meaning unless the patentee clearly and expressly specifies another meaning. Thus, it is clear that the specific illustrative examples disclosed may be varied or modified, and all such variations should be considered to fall within the scope and meaning of those examples. In the event of a conflict between the uses of a word or term in this specification and one or more patents or other documents that may be incorporated herein by reference, the definitions consistent with this specification shall be used.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Graphics bookmark<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A directive order<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 202 Data Processing<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 204 Steering Model Calibration<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 206 control logic<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> B data<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> C Calibration model variables<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> d Drill bit path estimation<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Real-time MWD / LWD data<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 100 drilling systems<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 301 data<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A continuous measurements<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> B fixed measurements<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 302 Estimation of Initial Conditions<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 303 Preliminary Conditions<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Average C<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> D distribution<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 304 Estimating uncertainty in measurements<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 305 Doubt in Measurements<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 306 MCMC<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 310 s distribution<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 308 Dimension values trigger previous values for the next calibration.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 307 dimensional values<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A angle (degrees)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> b Depth measured (in feet)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> c Miles used as previous distribution of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The angles used as a prior distribution for<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This is the initial depth.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A angle (degrees)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> b Depth measured (in feet)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">C survey measurement
