Fine-Tuning Wellbore Trajectory in Rotary Drilling Using Machine Learning–Based Model Predictive Control

Summary Positive displacement motor (PDM) bottomhole assemblies (BHAs) are widely used in horizontal drilling due to their low cost and high rate of penetration (ROP) under rotary conditions. However, their limited-trajectory control ability often requires switching to sliding drilling for sharp corrections, which significantly reduces efficiency. Moreover, the quantitative relationship between build up rate (BUR) and controllable parameters such as revolutions per minute (RPM) and mud flow rate (MFR) remains unclear under rotary conditions. To address these issues, we propose a machine learning (ML)–based model predictive control (MPC) framework that regulates trajectory solely through real-time optimization of drilling parameters. A hybrid prediction model, integrating mechanical principles and ML, is developed to map weight on bit (WOB), RPM, and MFR to BUR, with a Lipschitz continuity constraint enhancing stability and robustness. The MPC objective function is improved by incorporating adaptive weighting, which accelerates convergence, reduces overshoot, and improves control consistency. The proposed method is evaluated across five simulation scenarios, which are analysis of control behavior, objective function enhancement, piecewise setpoint tracking, comparison with classical controllers, and robustness testing. The approach is validated using field data from a horizontal well in the Junggar Basin, northwest China. The results show that the ML-MPC strategy achieves accurate setpoint tracking under various conditions, maintains strong robustness to input noise, initialization variations, and measurement disturbances (with steady-state error < 0.2°/30 m), and meets real-time computation requirements (<20 seconds per control step). Analysis of the optimized control parameters provides data-driven insights into how WOB, RPM, and MFR influence BUR. Notably, a control inertia effect is observed: When the control objective aligns with the existing trend of variation, the system responds more efficiently; when it opposes the trend, the response becomes slower and more prone to overshoot. Overall, this work presents a practical framework for real-time trajectory control and contributes to the automation and intelligent drilling technologies in the oil and gas industry.

Authors

Institutions

Publication Details

Journal
SPE Journal
Published
2025-10-14
DOI
https://doi.org/10.2118/231147-pa
Citations
1
Primary Topic
Drilling and Well Engineering
Type
article
Field-Weighted Citation Impact
1.15
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine-Tuning Wellbore Trajectory in Rotary Drilling Using Machine Learning–Based Model Predictive Control

Xianzhi Song, Zhen Li, Q Yu, Bicheng Yan et al.
1 citations
SPE Journal
Drilling and Well Engineering
1.15
article

Fine-Tuning Wellbore Trajectory in Rotary Drilling Using Machine Learning–Based Model Predictive Control

Xianzhi Song, Zhen Li, Q Yu, Bicheng Yan, Chengkai Zhang, Long Tian, Zhaopeng Zhu
article en
1 citations

Abstract

Summary Positive displacement motor (PDM) bottomhole assemblies (BHAs) are widely used in horizontal drilling due to their low cost and high rate of penetration (ROP) under rotary conditions. However, their limited-trajectory control ability often requires switching to sliding drilling for sharp corrections, which significantly reduces efficiency. Moreover, the quantitative relationship between build up rate (BUR) and controllable parameters such as revolutions per minute (RPM) and mud flow rate (MFR) remains unclear under rotary conditions. To address these issues, we propose a machine learning (ML)–based model predictive control (MPC) framework that regulates trajectory solely through real-time optimization of drilling parameters. A hybrid prediction model, integrating mechanical principles and ML, is developed to map weight on bit (WOB), RPM, and MFR to BUR, with a Lipschitz continuity constraint enhancing stability and robustness. The MPC objective function is improved by incorporating adaptive weighting, which accelerates convergence, reduces overshoot, and improves control consistency. The proposed method is evaluated across five simulation scenarios, which are analysis of control behavior, objective function enhancement, piecewise setpoint tracking, comparison with classical controllers, and robustness testing. The approach is validated using field data from a horizontal well in the Junggar Basin, northwest China. The results show that the ML-MPC strategy achieves accurate setpoint tracking under various conditions, maintains strong robustness to input noise, initialization variations, and measurement disturbances (with steady-state error < 0.2°/30 m), and meets real-time computation requirements (<20 seconds per control step). Analysis of the optimized control parameters provides data-driven insights into how WOB, RPM, and MFR influence BUR. Notably, a control inertia effect is observed: When the control objective aligns with the existing trend of variation, the system responds more efficiently; when it opposes the trend, the response becomes slower and more prone to overshoot. Overall, this work presents a practical framework for real-time trajectory control and contributes to the automation and intelligent drilling technologies in the oil and gas industry.

SPE JournalVol. 30(12)
China University of Petroleum, Beijing (CN), King Abdullah Petroleum Studies and Research Center (SA), King Abdullah University of Science and Technology (SA)
Openalex Percentile: Top 18%
Drilling and Well Engineering
1.15
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.