Online Classification for Resistance Spot Weld Quality Using Dual-Interval Mean Discretization and Gradient-Boosting Models
Abstract
1. Introduction
2. Experimental Setup and Data Acquisition
3. Dynamic Resistance Analysis and Feature Extraction
3.1. Dynamic Resistance Signal Characteristics
3.2. Dual-Interval Mean Discretization (DIMD) Method
3.3. Motivation for Feature Discretization
4. Gradient-Boosting-Based Classification Results
4.1. Classification Framework
4.2. Results on the Sample Dataset
5. Multimodal Fusion and Ensemble Learning
5.1. Multimodal Feature Construction
5.2. Ensemble Learning Models
5.3. Comparative Results and Discussion
6. Conclusions
- (1)
- The DIMD algorithm effectively preserved peak–valley morphology of dynamic-resistance curves while reducing feature dimensionality by approximately 40%, providing a compact and interpretable representation for classification. Gradient-boosting classifiers, particularly CatBoost, achieved high defect-recognition accuracy (98.9%), outperforming XGBoost owing to its ordered-boosting and symmetric-tree mechanisms.
- (2)
- A test on an independent 198-sample dataset confirmed the robustness and generalization capability of the proposed framework, maintaining similar feature rankings and classification trends. An extended multimodal–ensemble framework further validates the robustness of the proposed baseline method and provides a complementary solution for scenarios requiring higher interpretability.
- (3)
- SHAP-based analysis verified that resistance peak (R_peak), resistance drop (R_drop), and current energy-related features dominated model decisions, aligning well with the physical process of nugget formation.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Choudhari, R.; Adhaye, A.; Sulakhe, V.; Fegade, R. Recent Status of Research and Developments in Resistance Spot Welding. SSRG Int. J. Mech. Eng. 2025, 12, 1–27. [Google Scholar] [CrossRef]
- Cui, S.; Zhou, X.; Zhang, B.; Han, L.; Xue, B.; Liu, F. Research on an Online Intelligent Monitoring System for Resistance Spot Welding Based on Wireless Communication. Sensors 2025, 25, 2658. [Google Scholar] [CrossRef]
- Su, Y.; Song, K.; Du, Z.; Yu, K.; Hu, Z.; Jin, H. Quantitative Study of Predicting the Effect of the Initial Gap on Mechanical Behavior in Resistance Spot Welding Based on L-BFGS-B. Materials 2024, 17, 4746. [Google Scholar] [CrossRef]
- Domínguez, L.; Rivas-Araiza, E.A.; Jáuregui-Correa, J.C.; González-Córdoba, J.L.; Pedraza-Ortega, J.C.; Takács, A. Resistance spot welding insights: A dataset integrating process parameters, infrared, and surface imaging. Data Brief. 2025, 59, 111373. [Google Scholar] [PubMed]
- Prabitz, K.M.; Antretter, T.; Schubert, H.; Hilpert, B.; Gruber, M.; Sierlinger, R.; Mark, M.; Seibold, S.; Raninger, P.; Ecker, W. Electrode and process design for regulation of liquid metal embrittlement phenomenon during spot welding of dual-phase steel: Numerical modelling and experiments. Weld. World 2025, 69, 1–12. [Google Scholar] [CrossRef]
- Gale, D.M. A Comparison of RFSSW and RSW for Automotive Manufacturing. Master’s Thesis, Brigham Young University, Provo, UT, USA, 2024. [Google Scholar]
- Jha, K.; Jumdeb, A.; Kumar, G.; Datta, R.; Hardya, K.; Singh, S.K.; Choudhury, B. Design and Development of a Portable Resistance Spot Welding Machine for Small-Scale Industries. Appl. Mech. Mater. 2024, 919, 97–105. [Google Scholar] [CrossRef]
- Wang, P.E.; Ghassemi-Armaki, H.; Pour, M.; Zhao, X.; Ma, J.; Sattari, K.; Carlson, B. Applicable and generalizable machine learning for intelligent welding in automotive manufacturing. Weld. World 2025, 69, 1349–1384. [Google Scholar] [CrossRef]
- Nikitin, A.; Turabov, D.; Ermilova, E.; Evdokimov, A.; Ossenbrink, R.; Seidlitz, H. Using dynamic resistance to predict electrode surface degradation in resistance spot welding of 5182 aluminum alloy. Weld. World 2025, 69, 449–458. [Google Scholar] [CrossRef]
- Stavropoulos, P.; Sabatakakis, K. Quality assurance in resistance spot welding: State of practice, state of the art, and prospects. Metals 2024, 14, 185. [Google Scholar] [CrossRef]
- Say, D.; Qaisar, S.M.; Krichen, M.; Zidi, S. Artificial intelligence assisted non-destructive testing of welding joints: A review of techniques, X-ray image processing and applications. Eng. Appl. Artif. Intell. 2025, 160, 111792. [Google Scholar] [CrossRef]
- Durnagöz, S.; Mayer, M.; Huber, M.F. An approach for expulsion predicting in resistance spot welding. Procedia CIRP 2024, 130, 1732–1738. [Google Scholar] [CrossRef]
- Feizollahi, V.; Bahmani, A.; Nadimi, N.; Salmani, M.R.; Pouranvari, M.; Park, Y.-D.; Ashiri, R. Factors affecting weld quality in resistance spot welding of advanced high strength steels. Sci. Rep. 2025, 15, 30012. [Google Scholar] [CrossRef]
- Gao, X.; Chen, Y. Detection of micro gap weld using magneto-optical imaging during laser welding. Int. J. Adv. Manuf. Technol. 2014, 73, 23–33. [Google Scholar] [CrossRef]
- Liu, Y.; Gao, X.; Wen, Z.; Luo, H. Unsupervised Image Anomaly Detection and Localization in Industry Based on Self-Updated Memory and Center Clustering. IEEE Trans. Instrum. Meas. 2023, 72, 2512010. [Google Scholar] [CrossRef]
- Panza, L.; Bruno, G.; Antal, G.; De Maddis, M.; Russo Spena, P. Machine learning tool for the prediction of electrode wear effect on the quality of resistance spot welds. Int. J. Interact. Des. Manuf. 2024, 18, 4629–4646. [Google Scholar] [CrossRef]
- Lee, H.-T.; Chang, Y.-C. Effect of Double Pulse Resistance Spot Welding Process on 15B22 Hot Stamped Boron Steel. Metals 2020, 10, 1279. [Google Scholar] [CrossRef]
- Stadler, M.; Schnitzer, R.; Gruber, M.; Steineder, K.; Hofer, C. Influence of the Cooling Time on the Microstructural Evolution and Mechanical Performance of a Double Pulse Resistance Spot Welded Medium-Mn Steel. Metals 2021, 11, 270. [Google Scholar] [CrossRef]
- Fu, Y.; Gao, P.; Gao, X.; Zhang, Y. Quality Evaluation of Resistance Spot Welding Based on Dynamic Reactance Signal and Radar Diagram Method. IEEE Sens. J. 2024, 24, 6666–6676. [Google Scholar]
- Ullrich, M.; Wohner, M.; Jüttner, S. Quality monitoring for a resistance spot weld process of galvanized dual-phase steel based on the electrode displacement. Weld. World 2024, 68, 1791–1800. [Google Scholar] [CrossRef]
- Gao, X.; Sun, Y.; You, D.; Xiao, Z.; Chen, X. Multi-sensor information fusion for monitoring disk laser welding. Int. J. Adv. Manuf. Technol. 2016, 85, 1167–1175. [Google Scholar]
- Lv, Z.; Gao, X.; Xiao, H.; Gao, P. Resistance spot welding defect detection based on vectorized dynamic resistance signal and LightGBM classifier. Meas. Sci. Technol. 2024, 35, 086113. [Google Scholar] [CrossRef]
- Deng, H.; Gao, X.; Zhang, D.; Lu, W.; Gao, P.; Zhang, Y. Defect detection and data generation of shunt between three layers of resistance spot welding based on deep convolutional generative adversarial network and conditional variational autoencoder. Eng. Appl. Artif. Intell. 2025, 160, 111866. [Google Scholar] [CrossRef]
- Gao, P.; Yan, X.; He, J.; Yang, H.; Chen, X.; Gao, X. Processing of eddy current infrared thermography and magneto-optical imaging for detecting laser welding defects. Metals 2025, 15, 119. [Google Scholar] [CrossRef]
- Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
- Wang, Z.H.; Liu, Y.F.; Wang, T.; Wang, J.G.; Liu, Y.M.; Huang, Q.X. Intelligent prediction model of mechanical properties of ultrathin niobium strips based on XGBoost ensemble learning algorithm. Comput. Mater. Sci. 2024, 231, 112579. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
- Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: Unbiased boosting with categorical features. Adv. Neural Inf. Process. Syst. 2018, 31, 6638–6648. [Google Scholar]
- Pemila, M.; Pongiannan, R.K.; Narayanamoorthi, R.; AboRas, K.M.; Youssef, A. Application of an ensemble CatBoost model over complex dataset for vehicle classification. PLoS ONE 2024, 19, e0304619. [Google Scholar]
- Hancock, J.T.; Khoshgoftaar, T.M. CatBoost for big data: An interdisciplinary review. J. Big Data 2020, 7, 94. [Google Scholar] [CrossRef]
- Savitzky, A.; Golay, M.J.E. Smoothing and differentiation of data by simplified least squares procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef]
- Daubechies, I. Ten Lectures on Wavelets; SIAM: Philadelphia, PA, USA, 1992. [Google Scholar]
- Guyon, I.; Elisseeff, A. An introduction to variable and feature selection. J. Mach. Learn. Res. 2003, 3, 1157–1182. [Google Scholar]
- Abdi, H.; Williams, L.; Williams, L.J. Principal component analysis. Wiley Interdiscip. Rev. Comput. Stat. 2010, 2, 433–459. [Google Scholar] [CrossRef]
- Wolpert, D.H. Stacked generalization. Neural Netw. 1992, 5, 241–259. [Google Scholar]
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. [Google Scholar]
- Cooley, J.W.; Tukey, J.W. An algorithm for the machine calculation of complex Fourier series. Math. Comput. 1965, 19, 297–301. [Google Scholar] [CrossRef]












| Steel Grades | C | Mn | S | P | Alt (Al Total) |
|---|---|---|---|---|---|
| DC01 | <0.12 | <0.6 | <0.045 | <0.045 | <0.02 |
| Yield Strength (MPa) | Tensile Strength (MPa) |
|---|---|
| ≤240 | ≤410 |
| Method | Feature Dimensions | Sampling (0–100 ms) | Sampling (>100 ms) | Peak-Valley Preservation |
|---|---|---|---|---|
| Single-interval (10 ms) | ~24 | 10 ms | 10 ms | General |
| Single-interval (5 ms) | ~48 | 5 ms | 5 ms | Excellent |
| Metric | XGBoost | CatBoost | Improvement |
|---|---|---|---|
| Accuracy (%) | 93.3 | 98.9 | +5.6 pp |
| Precision (%) | 93.3 | 98.9 | +5.6 pp |
| Recall (%) | 95.0 | 99.0 | +4.0 pp |
| F1-score (%) | 93.5 | 98.9 | +5.4 pp |
| Misclassified samples | 6/90 (6.7%) | 1/90 (1.1%) | −83.3% |
| Accuracy (%) | 93.3 | 98.9 | +5.6 pp |
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
Gao, P.; Huang, Y.; Xiao, H.; Chen, X.; Zhang, Y.; Gao, X. Online Classification for Resistance Spot Weld Quality Using Dual-Interval Mean Discretization and Gradient-Boosting Models. Metals 2026, 16, 503. https://doi.org/10.3390/met16050503
Gao P, Huang Y, Xiao H, Chen X, Zhang Y, Gao X. Online Classification for Resistance Spot Weld Quality Using Dual-Interval Mean Discretization and Gradient-Boosting Models. Metals. 2026; 16(5):503. https://doi.org/10.3390/met16050503
Chicago/Turabian StyleGao, Pengyu, Yali Huang, Hong Xiao, Xindu Chen, Yanxi Zhang, and Xiangdong Gao. 2026. "Online Classification for Resistance Spot Weld Quality Using Dual-Interval Mean Discretization and Gradient-Boosting Models" Metals 16, no. 5: 503. https://doi.org/10.3390/met16050503
APA StyleGao, P., Huang, Y., Xiao, H., Chen, X., Zhang, Y., & Gao, X. (2026). Online Classification for Resistance Spot Weld Quality Using Dual-Interval Mean Discretization and Gradient-Boosting Models. Metals, 16(5), 503. https://doi.org/10.3390/met16050503

