Abstract
Surface roughness is a critical indicator of machining quality and is affected by factors such as tool quality, workpiece properties, and machining conditions. Many studies have focused on predicting the surface roughness of the turning process using cutting parameters. Yet, surface roughness is also impacted by tool qualities, workpiece properties, and machining conditions. Extracting statistical features from vibration signals during machining can aid in predicting surface roughness and facilitating prompt remedial action to boost productivity. However, not all features may contain crucial information about surface conditions. However, all the extracted features may not contain important information about the surface conditions. Hence, a novel hybrid vibration-based prediction methodology was proposed using the firefly algorithm-based feature selection to predict surface roughness. The statistical features were extracted from the vibration signals measured during the machining operation. A novel Firefly algorithm was employed to select features with useful information about the surface condition. The selected features were used to train a long short-term memory (LSTM) network to predict surface roughness. The performance of the proposed methodology was compared to other feature selection and prediction techniques, and it was found to be effective. The results indicated that the features selected using the Firefly algorithm yielded better prediction results with a minimum root mean square error (RMSE) of 0.248 compared to those selected using the genetic algorithm. The LSTM network’s effectiveness with the feature selected using the Firefly method was also compared to that of other conventional regression algorithms and found to be superior.
Similar content being viewed by others
Abbreviations
- FA:
-
Firefly algorithm
- LSTM:
-
Long short-term memory
- RMSE:
-
Root mean square error
- RNN:
-
Recurrent neural network
- ANN:
-
Artificial neural network
- SFS:
-
Sequential feature selection
- GA:
-
Genetic algorithm
- SRM:
-
Square root mean
- \({\text{MSE}}\) :
-
Mean square error
- \(f\) :
-
Fitness value
- I 0 :
-
Initial light intensity
- γ :
-
The light absorption coefficient
- α :
-
Noise parameter
- δ :
-
Reduction coefficient
- W :
-
Weight matrix
- b :
-
Bias term
- \(C_{t}\) :
-
Long-term memory information
- \(\overline{C}_{t}\) :
-
Present memory information
- \(h_{t - 1}\) :
-
Output of the LSTM cell
- \(\sigma\) :
-
Sigmoid activation function
- \({\text{ReLU}}\) :
-
Relu activation function
- RMS:
-
Root mean square
- \(N_{s}\) :
-
Number of features selected
- \(N_{t}\) :
-
Total number of features extracted
- r :
-
Correlation coefficient
- \(\beta_{0}\) :
-
Attractiveness
- N :
-
Number of iterations
References
Liu D et al (2022) Kinematics and improved surface roughness model in milling. Int J Adv Manuf Technol. https://doi.org/10.1007/s00170-022-10729-8
Msaddek EB, Baili M, Bouaziz Z, Dessein G (2021) Surface roughness perfection by CAM interpolations. J Braz Soc Mech Sci Eng 43(8):1–13. https://doi.org/10.1007/s40430-021-03093-3
Hessainia Z, Belbah A, Athmane M, Mabrouki T, Rigal J (2013) On the prediction of surface roughness in the hard turning based on cutting parameters and tool vibrations. Measurement 46(5):1671–1681. https://doi.org/10.1016/j.measurement.2012.12.016
Bhardwaj B, Kumar R, Singh PK (2014) Prediction of surface roughness in turning of EN 353 using response surface methodology. Trans Indian Inst Metals 67:305–313. https://doi.org/10.1007/s12666-013-0346-7
Tomov M, Kuzinovski M, Cichosz P (2016) International journal of mechanical sciences development of mathematical models for surface roughness parameter prediction in turning depending on the process condition. Int J Mech Sci 113:120–132. https://doi.org/10.1016/j.ijmecsci.2016.04.015
Mahesh G, Muthu S, Devadasan SR (2015) Prediction of surface roughness of end milling operation using genetic algorithm. Int J Adv Manuf Technol 77(1–4):369–381. https://doi.org/10.1007/s00170-014-6425-z
Ferreira R, Řehoř J, Lauro CH, Carou D, Davim JP (2016) Analysis of the hard turning of AISI H13 steel with ceramic tools based on tool geometry: surface roughness, tool wear and their relation. J Braz Soc Mech Sci Eng 38(8):2413–2420. https://doi.org/10.1007/s40430-016-0504-z
Singh D, Rao PV (2007) A surface roughness prediction model for hard turning process. Int J Adv Manuf Technol 32(11–12):1115–1124. https://doi.org/10.1007/s00170-006-0429-2
Hwang YK, Lee CM (2010) Surface roughness and cutting force prediction in MQL and wet turning process of AISI 1045 using design of experiments. J Mech Sci Technol 24(8):1669–1677. https://doi.org/10.1007/s12206-010-0522-1
Wang X, Song Y, Li C et al (2023) Nanofluids application in machining: a comprehensive review. Int J Adv Manuf Technol. https://doi.org/10.1007/s00170-022-10767-2
Zhang Y et al (2022) Nano-enhanced biolubricant in sustainable manufacturing: From processability to mechanisms. Friction 10(6):803–841. https://doi.org/10.1007/s40544-021-0536-y
Xu W et al (2022) Electrostatic atomization minimum quantity lubrication machining: from mechanism to application. Int J Extreme Manuf. https://doi.org/10.1088/2631-7990/ac9652
Jia D et al (2023) Prediction model of volume average diameter and analysis of atomization characteristics in electrostatic atomization minimum quantity lubrication. Friction. https://doi.org/10.1007/s40544-022-0734-2
Dobes J et al (2017) Effect of mechanical vibration on Ra, Rq, Rz, and Rt roughness parameters. Int J Adv Manuf Technol 92(1–4):393–406. https://doi.org/10.1007/s00170-017-0137-0
Chen J, Fang Q, Li P (2015) Effect of grinding wheel spindle vibration on surface roughness and subsurface damage in brittle material grinding. Int J Mach Tools Manuf 91:12–23. https://doi.org/10.1016/j.ijmachtools.2015.01.003
Thangarasu SK, Shankar S, Mohanraj T, Devendran K (2020) Tool wear prediction in hard turning of EN8 steel using cutting force and surface roughness with artificial neural network. Proc Inst Mech Eng C J Mech Eng Sci 234(1):329–342. https://doi.org/10.1177/0954406219873932
Deng J, Zhang Q, Lu J, Yan Q, Pan J, Chen R (2021) Prediction of the surface roughness and material removal rate in chemical mechanical polishing of single-crystal SiC via a back-propagation neural network. Precis Eng 72:102–110. https://doi.org/10.1016/j.precisioneng.2021.04.012
Abouelatta OB, Madl J (2001) Surface roughness prediction based on cutting parameters and tool vibrations in turning operations. J Mater Process Technol 118(1–3):269–277. https://doi.org/10.1016/S0924-0136(01)00959-1
Somkiat T, Senjuntichai A (2012) Intelligent monitoring and prediction of surface roughness in ball-end milling process. Appl Mech Mater 121–126:2059–2063. https://doi.org/10.4028/www.scientific.net/AMM.121-126.2059
Mohd A, Haron H, Sharif S (2010) Expert Systems with Applications Prediction of surface roughness in the end milling machining using artificial neural network. Expert Syst Appl 37(2):1755–1768. https://doi.org/10.1016/j.eswa.2009.07.033
Mia M, Dhar NR (2016) Prediction of surface roughness in hard turning under high pressure coolant using artificial neural network. Meas J Int Meas Confed 92:464–474. https://doi.org/10.1016/j.measurement.2016.06.048
Pontes FJ, De Paiva AP, Balestrassi PP, Ferreira JR, Da Silva MB (2012) Optimization of radial basis function neural network employed for prediction of surface roughness in hard turning process using Taguchi’s orthogonal arrays. Expert Syst Appl 39(9):7776–7787. https://doi.org/10.1016/j.eswa.2012.01.058
Asiltürk I, Çunkaş M (2011) Modeling and prediction of surface roughness in turning operations using artificial neural network and multiple regression method. Expert Syst Appl 38(5):5826–5832. https://doi.org/10.1016/j.eswa.2010.11.041
Mia M et al (2018) Prediction and optimization of surface roughness in minimum quantity coolant lubrication applied turning of high hardness steel. Meas J Int Meas Confed 118:43–51. https://doi.org/10.1016/j.measurement.2018.01.012
Agrawal A, Goel S, Rashid WB, Price M (2015) Prediction of surface roughness during hard turning of AISI 4340 steel (69 HRC). Appl Soft Comput 30:279–286. https://doi.org/10.1016/j.asoc.2015.01.059
Jiao Y, Lei S, Pei ZJ, Lee ES (2004) Fuzzy adaptive networks in machining process modeling: surface roughness prediction for turning operations. Int J Mach Tools Manuf 44(15):1643–1651. https://doi.org/10.1016/j.ijmachtools.2004.06.004
Nguyen DT, Yin S, Tang Q, Son PX, Duc LA (2019) Online monitoring of surface roughness and grinding wheel wear when grinding Ti-6Al-4V titanium alloy using ANFIS-GPR hybrid algorithm and Taguchi analysis. Precis Eng 55:275–292. https://doi.org/10.1016/j.precisioneng.2018.09.018
Chen Y, Sun R, Gao Y, Leopold J (2016) A nested-ANN prediction model for surface roughness considering the effects of cutting forces and tool vibrations. Measurement. https://doi.org/10.1016/j.measurement.2016.11.027
Chen Y, Sun R, Gao Y, Leopold J (2017) A nested-ANN prediction model for surface roughness considering the effects of cutting forces and tool vibrations. Measurement 98:25–34. https://doi.org/10.1016/j.measurement.2016.11.027
Xie N, Zhou J, Zheng B (2018) An energy-based modeling and prediction approach for surface roughness in turning. Int J Adv Manuf Technol 96:2293–2306. https://doi.org/10.1007/s00170-018-1738-y
Rodi D, Sekuli M, Gostimirovi M, Davorin P (2020) Fuzzy logic and sub-clustering approaches to predict main cutting force in high-pressure jet assisted turning. J Intell Manuf 32:21–36. https://doi.org/10.1007/s10845-020-01555-4
Liu N, Liu B, Jiang H, Wu S, Yang C, Chen Y (2021) Study on vibration and surface roughness in MQCL turning of stainless steel. J Manuf Processes 65:343–353. https://doi.org/10.1016/j.jmapro.2021.03.041
Upadhyay V, Jain PK, Mehta NK (2013) In-process prediction of surface roughness in turning of Ti–6Al–4V alloy using cutting parameters and vibration signals. Measurement 46(1):154–160. https://doi.org/10.1016/j.measurement.2012.06.002
Kirby ED, Chen JC (2007) Development of a fuzzy-nets-based surface roughness prediction system in turning operations. Comput Ind Eng 53(1):30–42. https://doi.org/10.1016/j.cie.2006.06.018
Kohli A, Dixit US (2005) A neural-network-based methodology for the prediction of surface roughness in a turning process. Int J Adv Manuf Technol 25(1–2):118–129. https://doi.org/10.1007/s00170-003-1810-z
Risbood KA, Dixit US, Sahasrabudhe AD (2003) Prediction of surface roughness and dimensional deviation by measuring cutting forces and vibrations in turning process. J Mater Process Technol 132(1–3):203–214. https://doi.org/10.1016/S0924-0136(02)00920-2
Nouhi S, Pour M (2021) Prediction of surface roughness of various machining processes by a hybrid algorithm including time series analysis, wavelet transform and multi view embedding. Measurement 184:109904. https://doi.org/10.1016/j.measurement.2021.109904
Wu TY, Lei KW (2019) Prediction of surface roughness in milling process using vibration signal analysis and artificial neural network. Int J Adv Manuf Technol. https://doi.org/10.1007/s00170-018-3176-2
Guleria V, Kumar V, Singh PK (2022) Prediction of surface roughness in turning using vibration features selected by largest Lyapunov exponent based ICEEMDAN decomposition. Measurement 202:111812. https://doi.org/10.1016/j.measurement.2022.111812
Lin W, Lo S, Young H, Hung C (2019) Evaluation of deep learning neural networks for surface roughness prediction using vibration signal analysis. Appl Sci 9(7):1462. https://doi.org/10.3390/app9071462
Guo W, Wu C, Ding Z, Zhou Q (2021) Prediction of surface roughness based on a hybrid feature selection method and long short-term memory network in grinding. Int J Adv Manuf Technol 112:2853–2871. https://doi.org/10.1007/s00170-020-06523-z
Lu N, Li M, Zhang G, Li R, Zhou T, Su C (2022) Fault feature extraction method for rotating machinery based on a CEEMDAN-LPP algorithm and synthetic maximum index. Meas J Int Meas Confed 189:110636. https://doi.org/10.1016/j.measurement.2021.110636
Athisayam A, Kondal M (2022) A multi-stage diagnosis method using CEEMD, ABC, and ANN for identifying compound gear-bearing faults. Proc IMechE Part C J Mech Eng Sci. https://doi.org/10.1177/09544062221133757
Rao H et al (2019) Feature selection based on artificial bee colony and gradient boosting decision tree. Appl Soft Comput J 74:634–642. https://doi.org/10.1016/j.asoc.2018.10.036
Sánchez RV, Lucero P, Vásquez RE, Cerrada M, Macancela JC, Cabrera D (2018) Feature ranking for multi-fault diagnosis of rotating machinery by using random forest and KNN. J Intell Fuzzy Syst 34(6):3463–3473. https://doi.org/10.3233/JIFS-169526
Urbanowicz RJ, Meeker M, La Cava W, Olson RS, Moore JH (2018) Relief-based feature selection: introduction and review. J Biomed Inform 85:189–203. https://doi.org/10.1016/j.jbi.2018.07.014
Zhang X, Zhang Q, Chen M, Sun Y, Qin X, Li H (2018) A two-stage feature selection and intelligent fault diagnosis method for rotating machinery using hybrid filter and wrapper method. Neurocomputing 275:2426–2439. https://doi.org/10.1016/j.neucom.2017.11.016
Marie-sainte SL, Alalyani N (2020) Firefly algorithm based feature selection for arabic text classification. J King Saud Univ Comput Inf Sci 32(3):320–328. https://doi.org/10.1016/j.jksuci.2018.06.004
Yang XS (2013) Firefly algorithm: recent advances and applications. Int J Swarm Intell 1(1):36–50. https://doi.org/10.1504/IJSI.2013.055801
Wang Z, Yao L, Cai Y (2020) Rolling bearing fault diagnosis using generalized refined composite multiscale sample entropy and optimized support vector machine. Meas J Int Meas Confed 156:107574. https://doi.org/10.1016/j.measurement.2020.107574
Athisayam A, Kondal M (2023) Fault feature selection for the identification of compound gear-bearing faults using firefly algorithm. Int J Adv Manuf Technol 125(3–4):1777–1788. https://doi.org/10.1007/s00170-023-10846-y
Jumin E, Basaruddin FB, Yusoff YB, Latif SD (2021) Solar radiation prediction using boosted decision tree regression model: A case study in Malaysia. Environ Sci Pollut Res 28:26571–26583. https://doi.org/10.1007/s11356-021-12435-6
Yang X (2010) Firefly algorithm, stochastic test functions and design optimisation. Optim Control 2:1–12. https://doi.org/10.48550/arXiv.1003.1409
Wang X, Ren H, Guo X (2022) A novel discrete firefly algorithm for Bayesian network structure learning. Knowl Based Syst 242:108426. https://doi.org/10.1016/j.knosys.2022.108426
Liaquat S, Zia MF, Saleem O, Asif Z, Benbouzid M (2022) Performance analysis of distance metrics on the exploitation properties and convergence behaviour of the conventional firefly algorithm[Formula presented]. Appl Soft Comput 126:109255. https://doi.org/10.1016/j.asoc.2022.109255
Hochreiter S (2016) Long short-term memory. https://doi.org/10.1162/neco.1997.9.8.1735
Chao Z et al (2022) Extraction of local and global features by a convolutional neural network–long short-term memory network for diagnosing bearing faults. Proc Inst Mech Eng C J Mech Eng Sci 236(3):1877–1887. https://doi.org/10.1177/09544062211016505
Li D, Jiang F, Chen M, Qian T (2022) Multi-step-ahead wind speed forecasting based on a hybrid decomposition method and temporal convolutional networks. Energy 238:121981. https://doi.org/10.1016/j.energy.2021.121981
Tang Z, Bo L, Liu X et al (2022) A semi-supervised transferable LSTM with feature evaluation for fault diagnosis of rotating machinery. Appl Intell 52:1703–1717. https://doi.org/10.1007/s10489-021-02504-1
Imani L, Rahmani Henzaki A, Hamzeloo R, Davoodi B (2020) Modeling and optimizing of cutting force and surface roughness in milling process of Inconel 738 using hybrid ANN and GA. Proc Inst Mech Eng, Part B: J Eng Manuf 234(5):920–932. https://doi.org/10.1177/0954405419889204
Liu M et al (2023) Analysis of grain tribology and improved grinding temperature model based on discrete heat source. Tribol Int 180:108196. https://doi.org/10.1016/j.triboint.2022.108196
Ambhore N, Kamble D, Chinchanikar S (2020) Evaluation of cutting tool vibration and surface roughness in hard turning of AISI 52100 steel: an experimental and ANN approach. J Vib Eng Technol 8(3):455–462. https://doi.org/10.1007/s42417-019-00136-x
Tangjitsitcharoen S, Samanmit K (2017) Monitoring of chip breaking and surface roughness in computer numerical control turning by utilizing wavelet transform of dynamic cutting forces. Proc Inst Mech Eng, Part B: J Eng Manuf 231(14):2479–2494. https://doi.org/10.1177/0954405415601804
Gao T et al (2020) Surface morphology evaluation of multi-angle 2D ultrasonic vibration integrated with nanofluid minimum quantity lubrication grinding. J Manuf Process 51:44–61. https://doi.org/10.1016/j.jmapro.2020.01.024
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Technical Editor: Izabel Fernanda Machado.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Andrews, A., Manisekar, K., Michael Thomas Rex, F. et al. An expert system for vibration-based surface roughness prediction using firefly algorithm and LSTM network. J Braz. Soc. Mech. Sci. Eng. 45, 414 (2023). https://doi.org/10.1007/s40430-023-04341-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s40430-023-04341-4