Hybrid ANN–GA and Machine Learning Approaches for Surface Roughness Prediction in CNC Step Turning of Aluminium Alloy
1Department of Mechanical Engineering, Swami Keshvanand Institute of Technology, Management & Gramothan, Jaipur 302017, India
2Department of Chemistry and Environmental Science, Poornima University, Jaipur 303905, India
*Author to whom correspondence should be addressed:
E-mail: deepak.kumar@skit.ac.in (DK)
E-mail: deepak.kumar@skit.ac.in (DK)
Received: April 20, 2025 | Revised: September 24, 2025 | Accepted: February 17, 2026 | Published: March 2026
Abstract
In this investigation GA (Genetic Algorithms) and ANN (Artificial Neural Networks) was used for predicting surface roughness in CNC-machined aluminium (Al356) components based on machining parameters viz. feed rate (FR), depth of cut (DOC), and cutting velocity (CV) which shows the effectiveness of hybridizing these two computational intelligence techniques. Thus ANN's universal function approximation capability to capture complex relationships between input parameters and surface roughness has been used, while GA was used to optimizes the initial weights and biases of the ANN to prevent convergence to the local minima and enhance global optimization. Hybrid ANN-GA model shows the better performance in comparison with conventional ANN and Nonlinear Regression (NLR) using multiple statistical metrics. The results establish that integrating GA with ANN develops convergence speed and prediction accuracy. The trained hybrid ANN-GA model can efficiently estimate surface roughness, enabling operators to optimize machining parameters for improved efficiency and product quality without extensive experimental runs. For lowest RMSE and MAPE values GA-ANN hybrid model was used. The hybrid ANN-GA model outperformed all approaches, yielding the best prediction accuracy with R² = 0.95, RMSE = 0.0059 µm, and MAPE 1.2%. Furthermore, the hybrid model identified optimized machining parameters—Feed = 0.108 mm/rev, Depth of Cut = 0.266 mm, and Cutting Velocity = 1860.6 m/min—resulting in the lowest predicted surface roughness of 0.0168 µm. These findings highlight the superiority of the ANN-GA hybrid framework for precision machining optimization, providing both predictive accuracy and practical process guidelines. Results from this investigation can aid in enhancing manufacturing efficiency and product-quality in correctness machining of aluminium components.
Keywords
CNC Lathe Machining; Cutting velocity; Depth of Cut; Hybrid ANN – GA; Python; Regression Modelling; Surface Roughness
Available Repositories
Share Article
Article Metrics
--
Views
--
Downloads
--
Citations
Export Citation
Full Text
References
- 1) Z. Zhang, F. Jiang, M. Luo, B. Wu, D. Zhang, and K. Tang, "Geometric error measuring, modeling, and compensation for CNC machine tools: A review," Chinese J. Aeronaut., 37 (2), 163-198, (2024) doi:10.1016/j.cja.2023.02.035
- 2) P. Mallioris, E. Aivazidou, and D. Bechtsis, "Predictive maintenance in Industry 4.0: A systematic multi-sector mapping," CIRP J. Manuf. Sci. Technol., 50, 80-103, (2024) doi:10.1016/j.cirpj.2024.02.003
- 3) A. J. Santhosh, A. D. Tura, I. T. Jiregna, W. F. Gemechu, N. Ashok, and M. Ponnusamy, "Optimization of CNC turning parameters using face centred CCD approach in RSM and ANN-genetic algorithm for AISI 4340 alloy steel," Results Eng., 11, 100251, (2021) doi:10.1016/j.rineng.2021.100251
- 4) P. Gupta, B. Singh, and Y. Shrivastava, "Theoretical and Experimental Prediction of Optimal Process Variables for Enhanced Metal Removal Rate During Turning on CNC lathe," Evergreen, 10, (2), 1127-1132, (2023) doi:10.5109/6793673
- 5) L. K. Toke, D. M. Mate, L. N. Patil, D. S. Patil, and A. M. Zope, "Optimizing Aluminium Alloy Surface Quality with ANN-Driven Burnishing: Machining Parameters and Durability Study," Evergreen, 11 (2) 927-937, (2024) doi:10.5109/7183375
- 6) M. Ntemi, S. Paraschos, A. Karakostas, I. Gialampoukidis, S. Vrochidis, and I. Kompatsiaris, "Infrastructure monitoring and quality diagnosis in CNC machining: A review," CIRP J. Manuf. Sci. Technol., 38, 631-649, (2022) doi:10.1016/j.cirpj.2022.06.001
- 7) E. García-Plaza, P. J. Núñez, D. R. Salgado, I. Cambero, J. M. Herrera Olivenza, and J. García Sanz-Calcedo, "Surface finish monitoring in taper turning CNC using artificial neural network and multiple regression methods," Procedia Eng., 63, 599-607, (2013) doi:10.1016/j.proeng.2013.08.245
- 8) S. Tangjitsitcharoen, "Comparison of neural networks and regression analysis to predict in-process straightness in CNC turning," Procedia Manuf., 51, 222-227, (2020) doi:10.1016/j.promfg.2020.10.032
- 9) G. Harinath Gowd, M. Venugopal Goud, K. Divya Theja, and M. Gunasekhar Reddy, "Optimal selection of machining parameters in CNC turning process of EN-31 using intelligent hybrid decision making tools," Procedia Eng., 97, 125-133, (2014) doi:10.1016/j.proeng.(2014).12.233
- 10) E. T. Winn-Nuñez, M. Griffin, and L. Crawford, "A simple approach for local and global variable importance in nonlinear regression models," Comput. Stat. Data Anal., vol. 194, December 2023, 107914, (2024) doi:10.1016/j.csda.2023.107914
- 11) Kumar V. V., Guleria V., Sunil S., "A novel hybrid RSM–ANN model for surface roughness prediction in turning of Al 6061 alloy," Journal of Advanced Manufacturing Systems, 42 (2024) 969-984 doi:10.1142/S0219686724500410
- 12) Gopan, V., Wins, K. L. D., & Surendran, A. (2018). Integrated ANN-GA approach for predictive modeling and optimization of grinding parameters with surface roughness as the response. Materials today: proceedings, 5 (5), 12133-12141 doi:10.1016/j.matpr.2018.02.191
- 13) S. Adil, A. Krishnaiah, and D. S. Rao, "Mathematical modelling and optimization of cutting conditions in turning operation on MDN 350 steel with carbide inserts," J. Alloy. Metall. Syst., 9, 100161, (2025) doi:10.1016/j.jalmes.2025.100161
- 14) F. M. H et al., "Optimization and prediction of CBN tool life sustainability during AA1100 CNC turning by response surface methodology," Heliyon, 9 (8), 18807, (2023) doi:10.1016/j.heliyon.2023.e18807
- 15) C. H. Chen, S. Y. Jeng, and C. J. Lin, "Prediction and Analysis of the Surface Roughness in CNC End Milling Using Neural Networks," Appl. Sci., 12 (1), (2022) doi:10.3390/app12010393
- 16) S. Hossain, M. Z. Abedin, R. K. Saha, M. Touhiduzzaman, and M. J. Hossen, "Optimization of cutting temperature and surface roughness in CNC turning of Ti-6Al-4V alloy using response surface methodology," Heliyon, 11 (1) p. e41051, (2025) doi:10.1016/j.heliyon.2024.e41051
- 17) H. K. Elminir, M. A. El-Brawany, D. A. Ibrahim, H. M. Elattar, and E. A. Ramadan, "An efficient deep learning prognostic model for remaining useful life estimation of high speed CNC milling machine cutters," Results Eng., 24, September, 103420, (2024) doi:10.1016/j.rineng.2024.103420
- 18) A. K. Sethi, A. K. Sharma, S. Chandra, and A. Rawat, "The Photovoltaic (PV) Module Performance Analysis using Artificial Neural Network (ANN)," Evergreen, 11 (2), 1273-1278, (2024)
- 19) A. Gürgen, A. Çakmak, S. Yıldız, and A. Malkoçoğlu, "Optimization of CNC operating parameters to minimize surface roughness of Scots pine (Pinus sylvestris) using integrated Artificial Neural Network and Genetic Algorithm," Maderas. Ciencia y Tecnología, 24 (1), 1-13 (2022) doi:10.4067/s0718-221X2022000100401
- 20) A. Vedrtnam, G. Singh, and A. Kumar, "Optimizing submerged arc welding using response surface methodology, regression analysis, and genetic algorithm," Def. Technol., 14 (3), 204-212, (2018) doi:10.1016/j.dt.2018.01.008
- 21) A. Mollaei Ardestani, M. Ghoreishi, A. M. Khorasani, J. P. Davim, and R. Teti, "Application of Machine Learning for Prediction and Process Optimization—Case Study of Blush Defect in Plastic Injection Molding," Appl. Sci., 13(4), 2617 (2023) doi:10.3390/app13042617
- 22) Martowibowo, S. Y., & Damanik, B. K. (2021). "Optimization of Material Removal Rate and Surface Roughness of AISI 316L under Dry Turning Process using Genetic Algorithm." Manufacturing Technology, 21 (3), 373-380 doi:10.21062/mft.2021.038
- 23) M. Mareš, O. Horejš, and L. Havlík, "Thermal error compensation of a 5-axis machine tool using indigenous temperature sensors and CNC integrated Python code validated with a machined test piece," Precis. Eng., 66, March, 21-30, (2020) doi:10.1016/j.precisioneng.2020.06.010
- 24) D. Kumar, S. Singh, and S. Angra. "Dry sliding wear and microstructural behavior of stir-cast Al6061-based composite reinforced with cerium oxide and graphene nanoplatelets." Wear 516 (2023), 204615 doi:10.1016/j.wear.2022.204615
- 25) D. Kumar, S. Angra, and S. Singh. "High-temperature dry sliding wear behavior of hybrid aluminum composite reinforced with ceria and graphene nanoparticles." Engineering Failure Analysis 151 (2023): 107426 doi:10.1016/j.engfailanal.2023.107426
- 26) D. Kumar, S. Singh and S. Angra. "Synergistic effects of graphene and ceria nanoparticulates on microstructure and mechanical behavior of stir-cast hybrid aluminum composite." Transactions of the Indian Institute of Metals 77 (9), (2024): 2699-2709 doi:10.1007/s12666-024-03368-y
- 27) L. D. Gemechu, D. A. Efa, and R. Abebe, "Optimizing CNC turning of AISI D3 tool steel using Al₂O₃/graphene nanofluid and machine learning algorithms," Heliyon, 10 (24), p. e40969, (2024), e40969 doi:10.1016/j.heliyon.2024
- 28) M. Soori, B. Arezoo, and R. Dastres, "Machine learning and artificial intelligence in CNC machine tools, A review," Sustain. Manuf. Serv. Econ., vol. 2, no. January, p. 100009, 2023 doi:10.1016/j.smse.(2023).100009
- 29) M. A. Ali, N. A. Mufti, M. Sana, M. Tlija, M. U. Farooq, and R. Haber, "Enhancing high-speed EDM performance of hybrid aluminium matrix composite by genetic algorithm integrated neural network optimization," J. Mater. Res. Technol., 31, April, 4113-4127, (2024), doi: 0.1016/j.jmrt.2024.07.077
- 30) G. Kant and K. S. Sangwan, "Predictive modelling and optimization of machining parameters to minimize surface roughness using artificial neural network coupled with genetic algorithm," Procedia CIRP, 31, 453-458, (2015) doi:10.1016/j.procir.2015.03.043
- 31) R. Wang, Y. Du, C. Dai, Y. Deng, J. Leng, and T. Chang, "SGML: A Python library for solution-guided machine learningFigure presented)," Softw. Impacts, 23, 100739, (2025) doi:10.1016/j.simpa.2024.100739
- 32) N. Van Thieu, N. H. Nguyen, and A. A. Heidari, "Feature selection using metaheuristics made easy: Open source MAFESE library in Python," Futur. Gener. Comput. Syst., 160, no. December 2023, 340-358, (2024) doi:10.1016/j.future.2024.06.006
- 33) M. Y. M. Mohsen, A. A. A. Alrashidi, M. A. Alotaibi, A. M. Almutairi, and H. M. Alhajri, "Leveraging machine learning for accurate DNBR prediction using Python," Nucl. Eng. Technol., (2025), 103532 doi:10.1016/j.net.2025.103532
- 34) N. D. Dejene and D. W. Wolla, "Comparative analysis of artificial neural network model and analysis of variance for predicting defect formation in plastic injection moulding processes," IOP Conf. Ser. Mater. Sci. Eng., vol. 1294, 1, (2023) doi:10.1088/1757-899x/1294/1/012050
- 35) I. Saady, A. K. Sharma, M. A. Eltamaly, and A. Al-Sumaiti, "Soft computing approaches for photovoltaic water pumping systems: A review," Clean. Eng. Technol., 22, no. September, 100800, (2024) doi:10.1016/j.clet.2024.100800
- 36) R. K. S. Al-Hamd, A. S. Albostami, S. Alzabeebee, and B. Al-Bander, "An optimized prediction of FRP bars in concrete bond strength employing soft computing techniques," J. Build. Eng., 86, February, 108883, (2024) doi:10.1016/j.jobe.2024.108883
- 37) N. Kovač, K. Ratković, H. Farahani, and P. Watson, "A practical applications guide to machine learning regression models in psychology with Python," Methods Psychol., 11, (2024) doi:10.1016/j.metip.2024.100156
- 38) Z. Nie, W. Gao, H. Jiang, J. Lu, Z. Lu, and X. Jiang, "Predicting critical flame quenching thickness using machine learning approach with ResNet and ANN," J. Loss Prev. Process Ind., 92, 105448, (2024) doi:10.1016/j.jlp.2024.105448
- 39) 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, 12 (4), 981 (2023) doi:10.3390/electronics12040981
- 40) D. Kumar, S. Angra, and S. Singh. "Mechanical properties and wear behaviour of stir cast aluminum metal matrix composite: a review." Int. J of Engg. 34 (2022), doi.org/10.5829/ije.2022.35.04A.19
Other Papers in This Issue
- Modification of the Complex Proportional Assessment Method: A New Methodology for Decision Support
D. Megawaty et al. (2026) - Coati Optimization based ANFIS MPPT for PV-Battery Integrated System to Improve Power Quality
N. Pandey, R. Pachauri (2026) - Forward and Inverse Kinematics analysis of the ABB IRB 6700 Industrial Robot
S. Chauhan, N. Gupta, A. Mishra (2026) - Design and Development of PSO-Firefly Hybrid Optimizer–CNN Model for Lung Disease Classification using Chest X-Ray Images
T. Dhiman, P. Kumar (2026) - Heat Transfer Performance Evaluation of Common Flow-Down Rectangular Winglet Vortex Generator in Solar PV Cooling System
S. Putra, D. Tjahjana, I. Yaningsih (2026) - Optimization of Unidirectional Carbon/Epoxy Facesheets for Enhanced Flexural Strength in PVC Foam Sandwich Beam
J. Havaldar et al. (2026) - Experimental Investigation and Characterization Studies on Coconut Fibre Reinforced Bacterial Concrete Using Bacillus Subtilis
Y. Mayilsamy et al. (2026) - Investigating the Impact of Portable Humidifier on Coefficient of Performance (COP) and Power Consumption of Non-Inverter Split Unit Air Conditioner in Malaysian Climate
B. Muhamad et al. (2026) - Evaluating the energy/exergy efficiency of utilizing cold energy from LNG regasification for cooling and power generation
H. Huynh (2026) - Evaluation of Sphygmomanometer Dial Performance Across Variable Temperatures and Pressure Conditions
W. Ardiatna et al. (2026) - Optimization of Surface Roughness and Diameter Error in Thin-Walled AA6063 during Internal Turning under Minimum Quantity Lubrication
A. Rianto et al. (2026) - Development and Evaluation of a Portable Dilution-Based Gas Mixer System for On-Site Calibration of Low-Cost Sensors in Ambient Air Monitoring
R. Samodro et al. (2026) - Development of a Formula for Predicting Average Surface Heat Transfer Coefficient of Cylindrical Foods
V. DANG (2026) - Evaluation on the cooling capacity of a cascade cold storage refrigeration system using refrigerant pair R513A/R744
V. Le et al. (2026) - The Impact of Ultrasound-Assisted Freezing on Energy Consumption and Freezing Time of White Shrimp and Striped Catfish
N. Bao, N. Tin (2026) - The 17 UN Sustainable Development Goals: Classification of Research Topics Using BERT and Logistic Regression
E. Surbakti et al. (2026)









Creative Commons Attribution 4.0 International
