A Method for Detecting Damage in Drill Tool Threads Based on APMR-GBM
Abstract
1. Introduction
2. Theoretical Analysis
3. Finite Element Simulation Analysis
3.1. Model and Meshing
3.2. Boundary Conditions
3.3. Results and Analysis
4. Data Acquisition
4.1. Experimental Setup
4.2. Field Testing
5. XGB-Based Methodology for Drill Pipe Thread Damage Evaluation
5.1. Feature Extraction
5.2. Model Construction and Training
- The GBM and XGBoost models exhibit the most reasonable decision boundaries, clearly separating the two sample classes with smooth boundaries, indicating strong generalization capability;
- SVM and KNN also form effective classification regions, though minor local overfitting is observed;
- The neural network generates relatively complex nonlinear boundaries due to its high model complexity given the limited data;
- The polynomial logistic regression decision boundary displays a simple curved shape, reflecting the inherent limitations of its model assumptions.
5.3. Evaluation and Analysis
6. Conclusions
- To address the inherent susceptibility of conventional metal magnetic memory (MMM) methods to interferences from material magnetization and lift-off distance in detecting fatigue damage on drill pipe threads, this paper proposes a novel damage evaluation approach based on the Area Peak-to-Mean Ratio (APMR) of magnetic signals integrated with machine-learning classification.
- Through theoretical analysis, finite-element simulations, and field experiments, the feasibility and effectiveness of the proposed method are validated, culminating in the successful development of a dedicated inspection system.
- The results demonstrate that the APMR feature effectively mitigates signal interferences, particularly those arising from lift-off distance variations. Among the evaluated machine-learning models, the Gradient Boosting Machine (GBM) exhibits superior overall performance, achieving efficient and accurate identification of thread damage, thereby offering a reliable technical solution for rapid on-site inspection.
- This technical pathway provides a new method for enhancing safety and equipment reliability in drilling operations and lays an important foundation for the broader adoption of intelligent nondestructive evaluation technologies in oil and gas drilling. In summary, this research not only presents an innovative solution to the practical challenge of drill-pipe thread damage detection but also establishes a crucial foundation for the wider application of intelligent nondestructive evaluation technologies in the oil and gas drilling field.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Cheng, J.; Yu, Y.; Sun, Y. Numerical Analysis of Whirl for Drill String with Aluminium Alloy Drill Pipes in Deep Vertical Well. Geoenergy Sci. Eng. 2023, 231, 212314. [Google Scholar] [CrossRef]
- Mao, L.; Luo, J.; Zeng, S.; Li, J.; Chen, R. Dynamic Characteristic Analysis of Riser Considering Drilling Pipe Contact Collision. Ocean Eng. 2023, 286, 115470. [Google Scholar] [CrossRef]
- Song, X.; Xiao, H.; Yang, H.; Wang, H.; Zhou, M.; Xu, Z.; Zhu, Z.; Li, B.; Jing, S. Experimental Study on the Sliding Friction of Cuttings Bed and Pipe during Horizontal-Well Drilling Considering Pipe Rotation. Powder Technol. 2024, 436, 119440. [Google Scholar] [CrossRef]
- Song, J.; Liu, S.; He, Y.; Jiang, S.; Zhou, S.; Zhu, H. The State-of-the-Art Review on the Drill Pipe Vibration. Geoenergy Sci. Eng. 2024, 243, 213337. [Google Scholar] [CrossRef]
- Jin, C.; Qian, F.; Feng, F. Effect of Variable Drill Pipe Sizes on Casing Wear Collapse Strength. J. Pet. Sci. Eng. 2020, 195, 107856. [Google Scholar] [CrossRef]
- Zou, H.; Tan, Z. Fatigue Life Analysis of Rotary Drill Pipe. Int. J. Press. Vessel. Pip. 2023, 201, 104874. [Google Scholar] [CrossRef]
- Zhu, X.; Zhang, Z. Design of an Ultra-High Torque Double Shoulder Drill-Pipe Tool Joint for Extended Reach Wells. Nat. Gas Ind. B 2017, 4, 374–381. [Google Scholar] [CrossRef]
- Chen, Y.; Wu, S.; Huang, L.; He, Y.; Zhou, M. Stress Concentration and Tensile Failure Risk of a Wire Rope Induced by a Rectangular Surface Defect: A Finite Element Analysis. Eng. Fail. Anal. 2026, 185, 110424. [Google Scholar] [CrossRef]
- Wu, Q.; Dong, K.; Qin, X.; Hu, Z.; Xiong, X. Magnetic Particle Inspection: Status, Advances, and Challenges—Demands for Automatic Non-Destructive Testing. NDT E Int. 2024, 143, 103030. [Google Scholar] [CrossRef]
- Chen, M.; Ma, X.; Xu, X.; Yang, K.; Chen, J.; Mei, D.; Jin, H. Ultrasonic Multi-Mode Total Focusing Method for Pipe Axial Defects in Inaccessible and Distant Areas. Measurement 2025, 251, 117238. [Google Scholar] [CrossRef]
- Jiang, H.; Zhang, L.; Fan, J.; Zhang, Z.; Wang, K. A Study on Fatigue Life Evaluation of 42CrMo Steel under Cyclic Loading Based on Metal Magnetic Memory Method. NDT E Int. 2025, 151, 103285. [Google Scholar] [CrossRef]
- Liu, B.; Wang, F.C.; Wu, Z.H.; Lian, Z.; He, L.Y.; Yang, L.J.; Tian, R.F.; Geng, H.; Tian, Y. Research on Magnetic Memory Inspection Signal Characteristics of Multi-Parameter Coupling Pipeline Welds. NDT E Int. 2024, 143, 103019. [Google Scholar] [CrossRef]
- Yang, B.; Liu, Z.; Feng, R.; Li, W. Magnetic Memory Signals Induced by Adjacent Circular Hole Defects. J. Magn. Magn. Mater. 2025, 618, 172854. [Google Scholar] [CrossRef]
- He, Z.; Zhang, H.; Ma, H.; Zou, Y.; Zhou, J.; Liao, L. Study on Magnetic Memory Detection of Weld Fatigue Damage by Using the Relative Entropy Theory. J. Magn. Magn. Mater. 2023, 570, 170472. [Google Scholar] [CrossRef]
- Yang, Y.; Ma, X.; Su, S.; Wang, W. Theoretical and Experimental Analysis of the Correlation between Magnetic Memory Signals and Cumulative Ductile Damage of Butt Weld under Low Cycle Fatigue. J. Magn. Magn. Mater. 2023, 580, 170911. [Google Scholar] [CrossRef]
- Liu, B.; Zeng, Z.; Wang, H. Study on the Early Fatigue Damage Evaluation of High Strength Steel by Using Three Components of Metal Magnetic Memory Signal. NDT E Int. 2021, 117, 102380. [Google Scholar] [CrossRef]
- Ge, J.; Li, W.; Chen, G.; Yin, X.; Yuan, X.; Yang, W.; Liu, J.; Chen, Y. Multiple Type Defect Detection in Pipe by Helmholtz Electromagnetic Array Probe. NDT E Int. 2017, 91, 97–107. [Google Scholar] [CrossRef]
- Perng, D.-B.; Chen, S.-H.; Chang, Y.-S. A Novel Internal Thread Defect Auto-Inspection System. Int. J. Adv. Manuf. Technol. 2010, 47, 731–743. [Google Scholar] [CrossRef]
- Kong, Q.; Wu, Z.; Song, Y. Online Detection of External Thread Surface Defects Based on an Improved Template Matching Algorithm. Measurement 2022, 195, 111087. [Google Scholar] [CrossRef]
- Su, S.; Yang, Y.; Wang, W.; Ma, X. Crack Propagation Characterization and Statistical Evaluation of Fatigue Life for Locally Corroded Bridge Steel Based on Metal Magnetic Memory Method. J. Magn. Magn. Mater. 2021, 536, 168136. [Google Scholar] [CrossRef]
- Li, J.; Su, S.; Wang, W.; Liu, X.; Zuo, F. Fast Reconstruction Method for Defect Profiles of Ferromagnetic Materials Based on Metal Magnetic Memory Technique. Measurement 2023, 215, 112885. [Google Scholar] [CrossRef]
- Wang, Y.; Fan, J.; Sun, Y. Classification of Sewer Pipe Defects Based on an Automatically Designed Convolutional Neural Network. Expert Syst. Appl. 2025, 264, 125806. [Google Scholar] [CrossRef]
- Jiles, D.C. Theory of the Magnetomechanical Effect. J. Phys. D Appl. Phys. 1995, 28, 1537. [Google Scholar] [CrossRef]
- Xie, Z.; Zhao, Y.; Bai, P.; Li, Q.; Pei, C.; Chen, H.; Chen, Z. Influence of Tensile Stress on Hysteresis Loop of Reduced Activation Ferrite & Martensitic Steel. J. Nucl. Mater. 2019, 515, 28–34. [Google Scholar] [CrossRef]
- Sun, L.; Liu, X.; Niu, H. A Method for Identifying Geometrical Defects and Stress Concentration Zones in MMM Technique. NDT E Int. 2019, 107, 102133. [Google Scholar] [CrossRef]
- Wang, R.; Li, B. Finite Element Analysis of Double-Shoulder Drill Joint. Front. Econ. Manag. 2020, 1, 166–170. [Google Scholar] [CrossRef]
- Thomas, N.S.; Kaliraj, S. An Improved and Optimized Random Forest Based Approach to Predict the Software Faults. SN Comput. Sci. 2024, 5, 530. [Google Scholar] [CrossRef]
- Pandey, A.; Jadhav, A. Towards Effective Software Defect Prediction Using Machine Learning Techniques. SN Comput. Sci. 2024, 5, 1096. [Google Scholar] [CrossRef]
- Li, Z.; Zhu, W.; Zhang, H.; Miao, Y.; Ren, J. The Impact of Unsupervised Feature Selection Techniques on the Performance and Interpretation of Defect Prediction Models. Autom. Softw. Eng. 2025, 32, 40. [Google Scholar] [CrossRef]
- Li, M.; Liu, Y.; Chen, D.; Li, X. Lightweight Metal Surface Defect Segmentation Method Based on Multi-Scale Feature Fusion and Knowledge Distillation. J. Supercomput. 2025, 81, 886. [Google Scholar] [CrossRef]
- Sharma, D.N.; Yadav, D.K. ROS-XGB: A Machine Learning Model for Software Defect Prediction. Int. J. Syst. Assur. Eng. Manag. 2025. [Google Scholar] [CrossRef]
- Kannan, V.; Dao, D.V.; Li, H. Detection of Signal Integrity Issues in Vibration Monitoring Using One-Class Support Vector Machine. J. Vib. Eng. Technol. 2024, 12, 601–611. [Google Scholar] [CrossRef]
- Zhao, W.; Li, D.; Xu, F. A Lightweight Weld Defect Recognition Algorithm Based on Convolutional Neural Networks. Pattern Anal. Appl. 2024, 27, 94. [Google Scholar] [CrossRef]
- Kang, G.; Lee, G.; Kim, Y. Combining Residual Network and Bidirectional Long Short-Term Memory with Additive Attention for Wafer Defect Classification. Int. J. Adv. Manuf. Technol. 2025, 141, 4967–4983. [Google Scholar] [CrossRef]
- Sánchez-García, Á.J.; Limon, X.; Dominguez-Isidro, S.; Olvera-Villeda, D.J.; Perez-Arriaga, J.C. Class Balancing Approaches to Improve for Software Defect Prediction Estimations: A Comparative Study. Program. Comput. Softw. 2024, 50, 621–647. [Google Scholar] [CrossRef]
- Liu, X.; Zhu, P.; Qian, Z.; Yang, S. Fatigue Life Prediction Methodology for Welded Joints Considering Defect Effects. Int. J. Fatigue 2026, 203, 109307. [Google Scholar] [CrossRef]
- Wang, Y.; Zhang, C.; Wang, Z.; Jiao, Y.; Qin, J. Evolution-Aimed Reliability Prediction of Blended Hydrogen-Natural Gas Pipelines with Crack Defects. Int. J. Hydrogen Energy 2025, 176, 151491. [Google Scholar] [CrossRef]

















| Method | Magnetic Particle Testing (MPT) | Ultrasonic Testing (UT) | Metal Magnetic Memory (MMM) |
|---|---|---|---|
| Advantages | Reliable Results; Simple Equipment; Low Cost; Direct and Intuitive Indication. | Deep detection; High sensitivity; Versatility. | Early detection; Fast and portable; No external magnetic field excitation required. |
| Limitations | Limited to ferromagnetic materials; Only detects macroscopic defects; Low efficiency. | Operating difficulty; Coupling and surface requirements. | Limited to ferromagnetic materials; Not suitable for deep defects. |
| Diagram | ![]() | ![]() | ![]() |
| Specimen Material | 4145 H |
| Scanning Speed | 5 mm/s, 10 mm/s |
| Sampling Frequency | 1000 Hz per channel |
| Scanning Direction | shoulder side → thread end |
| Thread Specification | NC46, NC50 |
| Damage type | Fatigue crack |
| Feature Name | Calculation Formula |
|---|---|
| Standard Deviation (SD) | |
| Gradient Peak Value (GPV) | |
| Gradient Peak-to-Peak Value (GPPV) | |
| Gradient Peak-to-Average Ratio (GPAR) | |
| Area Peak-to-Mean Ratio (APMR) | |
| Location of maximum area (LOMA) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Jiang, H.; Zhang, L.; Fan, J.; Wang, Y.; Fang, Y.; Wang, K.; Ye, Y. A Method for Detecting Damage in Drill Tool Threads Based on APMR-GBM. Machines 2026, 14, 519. https://doi.org/10.3390/machines14050519
Jiang H, Zhang L, Fan J, Wang Y, Fang Y, Wang K, Ye Y. A Method for Detecting Damage in Drill Tool Threads Based on APMR-GBM. Machines. 2026; 14(5):519. https://doi.org/10.3390/machines14050519
Chicago/Turabian StyleJiang, Hao, Laibin Zhang, Jianchun Fan, Yanran Wang, Yilin Fang, Kaiwen Wang, and Yingying Ye. 2026. "A Method for Detecting Damage in Drill Tool Threads Based on APMR-GBM" Machines 14, no. 5: 519. https://doi.org/10.3390/machines14050519
APA StyleJiang, H., Zhang, L., Fan, J., Wang, Y., Fang, Y., Wang, K., & Ye, Y. (2026). A Method for Detecting Damage in Drill Tool Threads Based on APMR-GBM. Machines, 14(5), 519. https://doi.org/10.3390/machines14050519



