A Multi-Stage Data-Driven Process for Magnetic Azimuth Error Compensation in Horizontal Wells Under Complex Magnetic Environments
With the increasing use of horizontal wells in oil and gas development, measurement-while-drilling (MWD) systems require higher magnetic azimuth accuracy to ensure precise trajectory control. This study proposes a three-stage magnetic azimuth error compensation method based on multi-station analysis (MSA). First, the OPTICS clustering algorithm is utilized to identify and remove noise points, and ellipse fitting is applied to suppress radial magnetic interference. Second, an improved MSA model incorporating wellbore trajectory constraints is developed to minimize axial interference and enhance correction stability. Finally, a Gaussian Process Regression (GPR) model, using accelerometer and magnetometer data as features, is introduced to model and compensate for residual nonlinear errors. Experimental validation under simulated complex magnetic conditions shows that OPTICS-based preprocessing significantly improves ellipse fitting and reduces hard magnetic interference. The improved MSA lowers the mean azimuth error to approximately 2.5°, while integrating GPR further decreases it to below 0.04°. The proposed GPR model achieves an R2 of 0.99972 and an RMSE of 0.02928° on the test set, confirming its strong nonlinear compensation capability. Overall, the proposed framework effectively suppresses magnetic interference and enhances azimuth accuracy, providing a robust solution for high-precision MWD applications in horizontal wells.
Authors
- Wenbo Peng (ORCID: https://orcid.org/0000-0001-9747-2466)
- Jiguo Liu
- Shaobing Hu (ORCID: https://orcid.org/0000-0003-2484-7145)
- Xialin Liu
- Longhai Wei
Institutions
- Yangtze University (CN)
- CCCC Highway Consultants (China) (CN)
Publication Details
- Journal
- Processes
- Published
- 2025-11-06
- DOI
- https://doi.org/10.3390/pr13113591
- Primary Topic
- Drilling and Well Engineering
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Yangtze University