Predictive modeling of surface roughness and resultant force in CNC turning of AISI H13 using optimized artificial neural networks

Sunardi Sunardi, Ananda Nur Daffa Zain

Abstract


Artificial Neural Networks (ANNs) have gained increasing attention as effective tools for modeling nonlinear and multivariate relationships in complex manufacturing processes, where conventional predictive approaches often exhibit limited accuracy. In this study, an ANN-based predictive framework was developed to estimate surface roughness (Ra) and resultant force (F) in CNC turning of hardened AISI H13 steel. The framework was constructed using an experimental dataset comprising 324 machining records, with cutting speed (vc), feed rate (f), and depth of cut (ap) as input parameters, all normalized using the Min-Max scaling method to ensure stable and efficient model training. To identify the optimal training configuration, eight optimization algorithms: Adam, RMSprop, Nadam, Adagrad, Adadelta, Adamax, FTRL, and Stochastic Gradient Descent (SGD) are systematically evaluated, and Nadam was selected as the most effective optimizer with a learning rate of 0.0001 and a batch size of 16. Two dedicated feed forward ANN models are designed separately for Ra and F prediction and validated using the Leave-One-Out Cross-Validation (LOOCV) technique to enhance generalization and minimize overfitting. The resulting models achieved excellent predictive accuracy for resultant force (R² = 0.9939, MAE = 4.3313 N, RMSE = 7.5955 N) and moderate accuracy for surface roughness (R² = 0.6454, MAE = 0.1440 µm, RMSE = 0.1960 µm). These results demonstrate that the proposed ANN-based framework provides a reliable decision-support tool for process optimization, monitoring, and surface quality control in high-performance machining environments.

Keywords


Artificial Neural Network; CNC Turning; Surface Roughness; Resultant Force; Predictive Modeling

Full Text:

PDF

References


R. Mallick, R. Kumar, A. Panda, and A. K. Sahoo, "Current status of hard turning in manufacturing: Aspects of cooling strategy and sustainability," Lubricants, vol. 11, no. 3, p. 108, 2023.

A. Siahsarani, M. Paknejad, and B. Azarhoushang, "Deburring of micro-milled hardened steel: influence of milling strategies and CNC-based post-polishing," The International Journal of Advanced Manufacturing Technology, pp. 1-10, 2025.

M. M. Monjez, N. Omidi, P. Farhadipour, A. El Ouafi, and N. Barka, "Influence of Different Heat Treatments on Microstructure Evolution and High-Temperature Tensile Properties of LPBF-Fabricated H13 Hot Work Steel," Metals, vol. 15, no. 9, p. 1003, 2025.

S. Kolomy et al., "Machinability of extruded H13 tool steel: Effect of cutting parameters on cutting forces, surface roughness, microstructure, and residual stresses," Alexandria Engineering Journal, vol. 99, pp. 394-407, 2024.

M. Akgün, B. Özlü, and F. Kara, "Effect of PVD-TiN and CVD-Al2O3 coatings on cutting force, surface roughness, cutting power, and temperature in hard turning of AISI H13 steel," Journal of Materials Engineering and Performance, vol. 32, no. 3, pp. 1390-1401, 2023.

J. H. Ko and C. Yin, "A review of artificial intelligence application for machining surface quality prediction: From key factors to model development," Journal of Intelligent Manufacturing, pp. 1-24, 2025.

B. P. Kamiel, A. D. Saputri, Z. H. Muizza, and A. Yobioktabera, "Smart Harvest: Web-Integrated Ripeness Detection for Apples with CNN Algorithm," Ingénierie des Systèmes d'Information, vol. 29, no. 6, 2024.

C. Mücher, "Artificial neural network based non-linear transformation of high-frequency returns for volatility forecasting," Frontiers in Artificial Intelligence, vol. 4, p. 787534, 2022.

P. Charilaou and R. Battat, "Machine learning models and over-fitting considerations," World Journal of Gastroenterology, vol. 28, no. 5, p. 605, 2022.

M.-H. Tsai, J.-N. Lee, H.-D. Tsai, M.-J. Shie, T.-L. Hsu, and H.-S. Chen, "Applying a neural network to predict surface roughness and machining accuracy in the milling of SUS304," Electronics, vol. 12, no. 4, p. 981, 2023.

S. Chinchanikar, S. Shinde, V. Gaikwad, A. Shaikh, M. Rondhe, and M. Naik, "ANN modelling of surface roughness of FDM parts considering the effect of hidden layers, neurons, and process parameters," Advances in materials and processing technologies, vol. 10, no. 1, pp. 22-32, 2024.

V. W. Lumumba, D. Kiprotich, M. Lemasulani Mpaine, N. Grace Makena, and M. Daniel Kavita, "Comparative analysis of Cross-Validation techniques: LOOCV, K-folds Cross-Validation, and repeated K-folds Cross-Validation in machine learning models," K-folds Cross-Validation, and Repeated K-folds Cross-Validation in Machine Learning Models (June 01, 2024), 2024.

D. Leni, "Prediction modeling of low alloy steel based on chemical composition and heat treatment using artificial neural network," Jurnal Polimesin, vol. 21, no. 5, pp. 530-537, 2023.

W. Li, L. Zhang, C. Wu, Z. Cui, and C. Niu, "A new lightweight deep neural network for surface scratch detection," The International Journal of Advanced Manufacturing Technology, vol. 123, no. 5, pp. 1999-2015, 2022.

J.-S. Hwang, S.-S. Lee, J.-W. Gil, and C.-K. Lee, "Determination of optimal batch size of deep learning models with time series data," Sustainability, vol. 16, no. 14, p. 5936, 2024.

E. Marevac, E. Kadušić, N. Živić, D. Hamzić, and N. Hadžajlić, "Data-Driven Predictive Analytics for Dynamic Aviation Systems: Optimising Fleet Maintenance and Flight Operations Through Machine Learning," Future Internet, vol. 17, no. 11, p. 508, 2025.

D. Leni, A. Karudin, M. R. Abbas, J. K. Sharma, and A. Adriansyah, "Optimizing stainless steel tensile strength analysis: through data exploration and machine learning design with Streamlit," EUREKA: Physics and Engineering, no. 5, pp. 73-88, 2024.

P.-M. Huang and C.-H. Lee, "Estimation of tool wear and surface roughness development using deep learning and sensors fusion," Sensors, vol. 21, no. 16, p. 5338, 2021.

M. Sana, A. Khan, M. U. Farooq, and S. Anwar, "Artificial neural networks-based modelling of effects of cryogenic electrode treatment, nano-powder, and surfactant-mixed dielectrics on wear performance and dimensional errors on superalloy machining," Journal of the Brazilian Society of Mechanical Sciences and Engineering, vol. 46, no. 9, p. 539, 2024.

A. G. Ganie and S. Dadvandipour, "From big data to smart data: a sample gradient descent approach for machine learning," Journal of Big Data, vol. 10, no. 1, p. 162, 2023.

U. Saray and U. Çavdar, "Comparison of Different Optimization Algorithms in the Fashion MNIST Dataset," International Journal of Multidisciplinary Studies and Innovative Technologies, vol. 8, no. 2, pp. 52-58, 2024.

A. Sahraei, A. Chamorro, P. Kraft, and L. Breuer, "Application of machine learning models to predict maximum event water fractions in streamflow," Frontiers in Water, vol. 3, p. 652100, 2021.

T. O. Hodson, "Root mean square error (RMSE) or mean absolute error (MAE): When to use them or not," Geoscientific Model Development Discussions, vol. 2022, pp. 1-10, 2022.

V. Dubey, A. K. Sharma, and D. Y. Pimenov, "Prediction of surface roughness using machine learning approach in MQL turning of AISI 304 steel by varying nanoparticle size in the cutting fluid," Lubricants, vol. 10, no. 5, p. 81, 2022.

S. S. Patil, S. S. Pardeshi, N. Pradhan, and A. D. Patange, "Cutting tool condition monitoring using a deep learning-based artificial neural network," International Journal of Performability Engineering, vol. 18, no. 1, p. 37, 2022.

J. Sembiring, A. Amanov, and Y. S. Pyun, "Artificial neural network-based prediction model of residual stress and hardness of nickel-based alloys for UNSM parameters optimization," Materials Today Communications, vol. 25, p. 101391, 2020.

S. Mane, R. B. Patil, and S. Al-Dahidi, "Predictive modeling of surface roughness and cutting temperature using response surface methodology and artificial neural network in hard turning of AISI 52100 steel with minimal cutting fluid application," Machines, vol. 13, no. 4, p. 266, 2025.

D. Granziol, S. Zohren, and S. Roberts, "Learning rates as a function of batch size: A random matrix theory approach to neural network training," Journal of Machine Learning Research, vol. 23, no. 173, pp. 1-65, 2022.

H.-C. Chen et al., "Estimation of various walking intensities based on wearable plantar pressure sensors using artificial neural networks," Sensors, vol. 21, no. 19, p. 6513, 2021.

A. Sharma et al., "Machine learning based approach for surface roughness prediction in precision dental prototyping," Scientific Reports, vol. 15, no. 1, p. 32239, 2025.

K. Antosz, E. Kozłowski, J. Sęp, and S. Prucnal, "Application of Machine Learning to the Prediction of Surface Roughness in the Milling Process on the Basis of Sensor Signals," Materials, vol. 18, no. 1, p. 148, 2025.




DOI: http://dx.doi.org/10.30811/jpl.v24i1.7558

Refbacks

  • There are currently no refbacks.




Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Lisensi Creative Commons

Ciptaan disebarluaskan di bawah Lisensi Creative Commons Atribusi-BerbagiSerupa 4.0 Internasional .

 

Alamat Surat :

Politeknik Negeri Lhokseumawe
Jl. Banda Aceh-Medan Km 280
Buketrata, Lhokseumawe, 24301, Aceh, Indonesia