Skip to main content

Machining process parameters optimization using soft computing technique


This work introduces an approach for optimization machinability measures of power consumption, machining time, and the surface roughness (PMS). This approach is starting with market customer’s demands, passing by optimizing the machinability measures (PMS), and ending by the optimized cutting conditions. The fuzzy logic was used to define the weights of each of required machinability measurement using method through expert rules depending on factory requirements. Genetic algorithm was formulated for giving optimum output values based on the customer’s demands. A neural network was designed for controlling the input cutting conditions with the PMS output parameters. The proposed soft computing technique creates reasonable results compared to experimental results and gives rich investigations for optimizing the output parameters not only for increasing productivity and quality demands but also for saving power consumed. The variation of consumed power, machining time, and surface roughness was calculated based on different customer demand levels. When the machining time and power consumed importance increased, the proposed technique reduced them by about 20% and 10% for the testes case.


Selection of the optimum cutting conditions improves the productivity and high quality with minimum cost greatly [1, 2]. Mainly, optimization of the machinability measurements and selection of the optimum cutting conditions are nonlinear problems. So, the researchers used many modeling and optimization methods such as statistical analysis, fuzzy logic (FL), neural networks (NN), and evolutionary computation (EC) which are called as soft computing. Soft computing methods can be defined as improving methodologies for achieving the tolerance of imprecision, uncertainty, and partial truth to achieve robustness, tractability, and low cost [3, 4]. The relation between the cutting conditions and the machinability measures as cutting power, machining time, and surface roughness (PMS) is complex because the trends of these measurements are not uniform.

Mainly, the researchers use one or two soft computing method, where some studies applied one of genetic algorithms [5], neural networks [6], or fuzzy techniques [7,8,9], while other studies used combined techniques [10,11,12,13]. Without an exception, single or two soft computing techniques could be used. The artificial neural network modeling was used to model the machinability measures such as cutting forces, material removal rate, and surface roughness [14]. Ozel and Karpat utilized neural network modeling to predict surface roughness and tool flank wear over the machining time for variety of cutting conditions. The data sets from measured parameters were employed to train the neural network models. A comparison of neural network models with regression models show that predictive neural network models generally offered the ability to model more complex nonlinearities and interactions than linear and exponential regression models [15]. Cus and Zuperl found that artificial neural networks were suitable for fast determination of optimum cutting parameters during machining, where there was not enough time for deep analysis [1]. X. Ajay et al. developed a neural network model for the surface roughness during turning SS410 steel. They concluded that the neural network can be used to predict the surface roughness with high accuracy compared to regression models [16].

Fuzzy logic was used in machining process for selection of proper cutting conditions, monitoring and prediction of these conditions effect on the process variables, and finally optimization. Mainly, machining processes are nonlinear problems, so developing deterministic model based on the mathematical representation for them is very difficult, and hence, using probabilistic methods is very popular in metal cutting [17,18,19]. Li et al. used an adaptive neuro-fuzzy inference system (ANFIS) and mentioned that this approach reduces the modeling uncertainty and measurement cost. They concluded that the practical experiment confirmed that their suggested approach had ease of implementation and was reliable [7]. Jegaraj and Babu used soft computing approach employing adaptive neuro-fuzzy approach to predict the process parameters for achieving the desired performance. They concluded that the proposed methodology helped in obtaining desired cutting performance [20]. B. Das et al. applied gray fuzzy logic for minimization surface roughness and cutting forces for Al-4.5% Cu-TiC composite milling [21]. S. R. Chowdhury et al. carried out optimization for aluminum 6082-T6 alloy turning using fuzzy logic integrated with different decision-making methods. All used decision-making methods give the same optimum cutting conditions [22].

Amiolemhen and Ibhadode propose an optimization technique based on genetic algorithms for the determination of the cutting parameters and mentioned that experimental results show that the proposed technique was both effective and efficient [5]. Zain et al. found that the integrated simulated annealing (SA) and genetic algorithm (GA) soft computing techniques had effective approaches for estimating the minimum surface roughness values compared to the experimental data [23].

Roy et al. designed genetic-fuzzy expert system for predicting surface finish in turning using two soft computing tools, namely fuzzy logic and genetic algorithm. He indicated that the proposed system produced an efficient knowledge base of fuzzy expert system for predicting the surface finish in diamond turning. They proposed a genetic algorithm concept to optimize the weighting factors of the network and found that the error when the network is optimized by genetic algorithm reduced to less than 2% [24]. S. Sivarajan et al. used fuzzy logic to predict the surface roughness during turning of EN31 steel. Their suggested model was very close to the experimental results with error less than 5% [9].

Generally, machinability measures of PMS cannot be improved in the same cutting conditions, but it depends on the customer requirements. For example, in roughing process, the customer prefers reduction of the machining time and cutting power. While in finishing process, the surface and dimensional qualities become the first priority. This study introduces a proposal for optimization based on what the customer need. This proposal used the fuzzy logic, then genetic algorithms, and then neural network for weighting the PMS based on the customers’ needs and then defining the optimum cutting conditions for these needs.

Methods and experimental work

Problem statement

Generally, the machinability of a material is evaluated using the following: cutting power, tool life, chip mechanism, workpiece finish, etc. [25]. Selection of optimum cutting conditions changes the cutting mechanics which in turn is the overall process variables with emphasis on the machining power consumed, the machining time, and the surface quality of the machined surface.

Proposed technique

In this work, integrated approach was developed starting from market customer’s demands, passing by optimizing the machining process parameters (PMS), and finally extracting the optimized cutting conditions. Comprehensive approach used objective optimization procedures which were adopted and controlled by using fuzzy logic, neural network, and genetic algorithm handled by controlling different MATLAB Toolboxes. New in this research is that the customer’s demands are predominant based on an expert committee, and that the designed fuzzy rules are flexible and can be adapted to fulfill any factory depending on its requirements.

Figure 1 shows a flow chart for the proposed technique. It starts by collecting the customer demands in terms of mass production (number of products), permitted time to finish the work (machining time), product quality (surface roughness), and the cutting power. These demands are fed to soft computing which starts by weighting these demands using fuzzy logic. The genetic algorism takes the demand weights to get out from fuzzy logic to find the optimum PMS based on the customer demands. Finally, neural network computes the optimum cutting conditions. Some experiments were carried out to test and train the neural network.

Fig. 1
figure 1

Flow chart for the porposed technique

Fuzzy logic

Fuzzy logic basically was introduced in 1965 for handling problems and has no sharp definition and cannot be modelled mathematically based on its physics [24, 25]. Fuzzy logic was used as a mapper module for predicting accurately the weight of PMS output parameters. This was achieved by delivering the consumer demands (number of products “Qp,” delivery date “Td,” power factor “Ef,” quality of product “Q”). As customer’s commands are composed of linguistic terms, fuzzy-expert rules are used to eliminate the complexity of the situation approach and will reduce the modeling uncertainty. Table 1 shows the linguistic rating for each customer demand.

Table 1 Data results from the expert committee

Fuzzy logic converts these PMS input parameters into three output-weighing factors (Ti, U, Ra) presented in Fig. 2. Where the weight of machining time is “a1,” the weight of power consumed is “a2,” and the weight of surface roughness is “a3” with the membership function using linguistic ratings (low, medium, and high).

Fig. 2
figure 2

Fuzzy logic converts PMS input parameters into three output-weighing factors

The fuzzy rules were designed and fed to adapt the relation between the input PMS and output parameter weights. In this system, a compact selection method is based on expert rules, which were obtained from experimental results and extracted by expert committee. The fuzzy rules were designed to fulfill some requirements; in the factory strategy, all demands were within the range of cutting conditions used in the experimental work in addition to the assigned output parameters PMS.

Table 1 presents the weight results from the expert committee. These weights are flexible and can be adapted to fulfill any factory depending on its requirements. From Table 1, it is clear that the committee decisions were based on some logic expert rules. As an example, when the number of products goes from few to many, not only the weight of machining time increases from 0.4 to 1 but also some compensation was done to the weight of power consumed which was from 0.2 to 0.6. This is because when increasing the weight of machining time, machining time will decrease and as a result increasing the rotational speed and increasing the cutting velocity and consequently the power consumed. That is why increasing the weight of power consumed is reasonable for compensation. Also, all weights must practically have a value. The used fuzzy rules were calculated based on the expert committee results by adding the weights and then normalize them between 0 and 1.

This system can be adapted to optimize machining time, machining cost, or profit combined with tool life problem. Different test problems will be presented in the “Experimental work” section for different customer’s demands; the optimized cutting conditions and the resulting PMS depending on the factory strategy will be discussed. Once the fuzzy rules are designed properly suiting the factory strategy, the output optimization results will be more efficient.

Neural network modeling

Neural network was used as a measurement module that provides better prediction capabilities because they generally offer the ability to model more complex nonlinearities and interactions than linear and exponential models can offer [15]. Marquardt-Levenberg backpropagation algorithm was used in this work for reaching the best training performance. The network training function “trainlm” updates weight and bias values according to Levenberg-Marquardt optimization. Trainlm is often the fastest backpropagation algorithm in the toolbox and is highly recommended as a first-choice supervised algorithm, although it does require more memory than other algorithms [26]. Hidden layer functions are hyperbolic tangent sigmoid transfer, while the output layer function is the pure line.

The neural network input data was based on a real experimental work presented in the “Experimental work” section. The experimental data of the measured PMS output parameters were utilized to train the neural network module (after being normalized and shuffled) using about two-third of the experimental data and checked by the rest of data. Trained neural network module was used in predicting PMS output parameters for different cutting conditions.

Genetic algorithm

Genetic algorithms are popular technique in optimization machining process for both traditional and nontraditional [27, 28]. Genetic algorithm was used as an optimizer for minimizing the cost function (c) shown in Eq. 1. This function was designed to include all PMS with their weights in a simple way. It is depending on the weights of PMS determined from the fuzzy mapper module and the trained neural network module for predicting optimum PMS output parameters for different cutting conditions. It is flexible for each firm to design the cost function depending on its own strategy. The fuzzy logic, neural network, and genetic algorithm modules were managed and controlled by MATLAB Fuzzy Logic Toolbox.

$$\textrm{C}=\textrm{a}1\ast \left(\textrm{Ti}\right)+\textrm{a}2\ast \left(\textrm{U}\right)+\textrm{a}3\ast \left(\textrm{Ra}\right)$$

Experimental work

Turning experiments in dry medium were conducted on a center lathe for machining mild steel (St. 37) because it is commonly used in applications having machining processes such as shafts and gears. Figure 3 shows the experimental setup used in this study, and high-speed steel (HSS) is used as cutting tools. The workpiece and cutting tool properties are presented in Tables 2 and 3, respectively. The cutting power was calculated based on the cutting force and cutting speed. The cutting forces were measured using homemade dynamometer. Strain gauge dynamometer was used for measuring two cutting force components for a maximum measuring range of 3000 N, with a sensitivity of ±1 N and natural frequency of 2 KHz. It was calibrated using a proving ring with allowable load of 2920 N with an elastic constant of 1460 N/mm.

Fig. 3
figure 3

Used experimental setup

Table 2 Workpiece material properties
Table 3 Cutting tool properties

An orthogonal external turning was conducted for different cutting conditions using cutting velocity ranged between 30 and 80 m/min, feed ranged between 0.12 and 0.28 mm/rev, and depth of cut ranged between 1 and 2.5 mm. The experimental conditions are shown in Table 3. Full factorial design was carried out where all condition combinations were experimented. The surface roughness was measured using Surtronic 3P (Rank Taylor Hobson Limited).

Results and discussion

In this section, the results of the used soft computing technique will be addressed. Customer's demand (number of products “Qp,” delivery date “Td,” power factor “Ef,” quality of product “Q”) will be proposed to a factory as values between 0 and 1 depending to how important is each one of these parameters, fuzzy logic as a mapper module implements the fuzzy rules for predicting accurately the weights of PMS output parameters.

The neural network trained and checked experimental data outputs from experiments carried out using conditions in Table 3 with addition to the weights resulted from fuzzy were used by the genetic algorithm for minimizing the cost function. The developed prediction system was found to be capable of accurate PMS output parameters for the range it had been trained as was presented in graphs in Fig. 4a for trained portion of experimental data and Fig. 4b for the checked portion of experimental data. In Fig. 4, the normalized shuffled values of PMS output parameters are plotted in Y-axis for the number of experiments presented in the X-axis.

Fig. 4
figure 4

a Trained portion of experimental data. b For the checked portion of experimental data

The experimental conditions shown in Table 3 were used to test and train the neural network model. Then, this model was used to get the optimum conditions shown in Tables 4, 5, 6 and 7 based on new PMS weights which cover a wide range for the customer demand. Tables 4, 5, 6 and 7 show the variation of PMS output results with different weights (importance) of customer’s demand. It is clear from Table 4 that as the weight for the number of products increased which means that the customer’s demand gives more importance for this aspect, machining time decreased at satisfying power consumption and surface roughness without large increase for the compensation mentioned in the “Methods and experimental work” section. It is obvious from Table 5 that giving of any weight to the quality of product without giving any importance to any other aspects. The surface roughness was sustained at its minimum value at moderate machining time and power consumed. Table 6 shows a decrease of the power consumed to its least value as the weight of power factor increased while the machining time and surface roughness give high values. Finally, Table 7 shows a decrease in the machining time to its least value as the weight of delivery date increased while the power consumed and surface roughness were deteriorated.

Table 4 Variation of PMS output results with different weights of number of products
Table 5 Variation of PMS output results with different weights of quality of product
Table 6 Variation of PMS output results with different weights of power factor
Table 7 Variation of PMS output results with different weights of delivery date

The proposed technique was the validated experimental cases shown in Table 8. Table 8 shows running different test problems with different output parameters depending on different customer’s demands using the proposed technique.

  • In test problem 1, the consumer gave high importance for the quality of product. This leads to lower feed and depth of cut with higher velocity resulting in minimizing the surface roughness to 2.05 μm. The experimental results show minimum surface roughness of 1.9 μm.

  • In test problem 2, the consumer gave all the importance for the power factor. This leads to lower feed, velocity, and depth of cut resulting in minimizing the power consumed to 328 W. Experimental results show minimum power consumed of 326 W.

  • In test problem 3, the consumer gave all the importance for the delivery date. This leads to higher feed, velocity, and depth of cut resulting in minimizing the machining time to 1.9 min. Experimental results show minimum machining time of 1.9 min.

  • In test problem 4, the consumer gave some importance for power factor and quality of product. This leads to lower feed and depth of cut. The velocity decreased than in test problem 1 (from 79.8 to 66.8 m/min) resulting in decreasing power consumed (from 687 to 601 W), but the velocity increased than in test problem 2 for enhancing surface roughness (from 2.88 to 2.13 μm).

  • In test problem 5, the consumer gave some importance for the number of products and the power factor. This leads to higher velocity but moderate feed (f = 0.16 mm/rev) for reaching lower machining time of 3.71 min and lower depth of cut to give low-power consumption of 807 W.

  • In test problem 6, the consumer gave same importance for all. To discuss all requirements, we have to look to the output globally. High velocity could satisfy the number of products, the delivery date, and the quality of product. Lower feed and depth of cut could satisfy the power factor and the quality of product. Subsequently, reasonable output results were obtained for machining time of 4.56 min, power consumed of 689 W, and surface roughness of 2.05 μm.

Table 8 Experimental results for validation

As presented, it is obvious that the performance of the combined soft computing technique gives reasonable results when compared with experimental results. Subsequently, more simulations can be conducted for more requirements of customer’s demands.


In this research, integrated approach using soft computing was used starting from market customer’s demands, passing by optimizing the machining process parameters (PMS), and finally extracting the optimized cutting conditions. The conclusions that can be drawn are summarized as follows:

  1. 1.

    The importance of each of the cutting power consumed, the machining time, and the surface roughness output was considered as a weighted factor based on their customer’s demands.

  2. 2.

    The fuzzy mapper module was used to give weights for PMS output based on realistic and reasonable considerations. A neural network was used for controlling the input cutting conditions with the PMS output based on experimental results. Genetic algorithm was formulated for optimization of PMS under certain cutting conditions.

  3. 3.

    The proposed technique was validated using experimental results and gives accurate results.

The variation of PMS output results with different weights (importance) of customer’s demand was addressed. Test problems were presented and investigated. As a result, this methodology creates reasonable results for identifying the required input cutting conditions. By implementing market demands, different affecting weights result for the PMS output parameters which give a rich investigations for optimizing these output parameters not only for increasing productivity and quality demands but also for saving power consumed. Test problems show reasonable results when compared to real experimental data.

Availability of data and materials

The datasets are available from the corresponding author on reasonable request.



Power, machining time, surface roughness


Soft computing


Fuzzy logic


Neural networks


Evolutionary computation


Simulated Annealing


Genetic Algorithm


Number of products


Delivery date


Power factor


Quality of product


Machining time input


Consumed power input


Surface roughness input


Machining time


Weight of power consumed


The weight of surface roughness


  1. Cus U, Zuperl F (2006) Approach to optimization of cutting conditions by using artificial neural networks. J Mater Process Technol 173(3):281–290

    Article  Google Scholar 

  2. Usca ÜA et al (2022) Estimation, optimization and analysis based investigation of the energy consumption in machinability of ceramic-based metal matrix composite materials. J Mater Res Technol 17:2987–2998.

    Article  Google Scholar 

  3. Dote Y, Ovaska SJ (2001) Industrial applications of soft computing: a review. Proc IEEE 89(9):1243–1265

    Article  Google Scholar 

  4. Abdelkawy A, El H (2021) Experimental and statistical study for measurements of surface roughness and hole geometry of ultrasonic - assisted drilling of soda glass. J Braz Soc Mech Sci Eng 5.

  5. Amiolemhen AOA, Ibhadode PE (2004) Application of genetic algorithms— determination of the optimal machining parameters in the conversion of a cylindrical bar stock into a continuous finished profile. Int J Mach Tools Manuf 44:1403–1412

    Article  Google Scholar 

  6. Abdelkawy A (2022) Modelling of cutting force and surface roughness of ultrasonic-assisted drilling using artificial neural network. J Eng Appl Sci 69(50):1–18

    Google Scholar 

  7. Li R, Li HX, Guan XP, Du R (2004) Fuzzy estimation of feed-cutting force from current measurement—a case study on intelligent tool wear condition monitoring. IEEE Trans Syst Man Cybern C Appl Rev 34(4):506–512

    Article  Google Scholar 

  8. Ramesh K, Karunamoorthy S, Palanikumar L (2008) Fuzzy modeling and analysis of machining parameters in machining titanium alloy. Mater Manuf Process 23:439–447

    Article  Google Scholar 

  9. Sivarajan S, Elango M, Sasikumar M, Doss ASA (2022) Prediction of surface roughness in hard machining of EN31 steel with TiAlN coated cutting tool using fuzzy logic. Mater Today Proc 65:35–41.

    Article  Google Scholar 

  10. Baseri H (2011) Design of adaptive neuro-fuzzy inference system for estimation of grinding performance. Mater Manuf Process 26:757–763

    Article  Google Scholar 

  11. Rao GKM, Rangajanardhaa G, Rao DH, Rao MS (2009) Development of hybrid model and optimization of surface roughness in electric discharge machining using artificial neural networks and genetic algorithm. J Mater Process Technol 209(3):1512–1520

    Article  Google Scholar 

  12. Jiao ES, Lei Y, Pei S, Lee ZJ (2004) Fuzzy adaptive networks in machining process modeling: surface roughness prediction for turning operations. Int J Mach Tools Manuf 44(15):1643–1651

    Article  Google Scholar 

  13. Rao MS, Janardhana GKM, Rao GR, Rao DH (2008) Development of hybrid model and optimization of metal removal rate in electric discharge machining using artificial neural networks and genetic algorithm. ARPN J Eng Appl Sci 3(1):2008

    Google Scholar 

  14. Sada SO (2021) Improving the predictive accuracy of artificial neural network ( ANN ) approach in a mild steel turning operation. Int J Adv Manuf Technol 112:2389–2398

    Article  Google Scholar 

  15. Ozel Y, Karpat T (2005) Predictive modeling of surface roughness and tool wear in hard turning using regression and neural networks. Int J Mach Tools Manuf 45:467–479

    Article  Google Scholar 

  16. Vasanth XA, Paul PS, Varadarajan AS (2020) A neural network model to predict surface roughness during turning of hardened SS410 steel. Int J Syst Assur Eng Manag 11(3):704–715.

    Article  Google Scholar 

  17. Mohd Adnan MRH, Sarkheyli A, Mohd Zain A, Haron H (2015) Fuzzy logic for modeling machining process: a review. Artif Intell Rev 43(3):345–379.

    Article  Google Scholar 

  18. Bobyr MV, Kulabukhov SA (2017) Simulation of control of temperature mode in cutting area on the basis of fuzzy logic. J Mach Manuf Reliab 46(3):288–295.

    Article  Google Scholar 

  19. Chakraborty S, Das PP (2019) Fuzzy modeling and parametric analysis of non-traditional machining processes. Manag Prod Eng Rev 10(3):111–123.

    Article  Google Scholar 

  20. Jegaraj NR, Babu JJR (2007) A soft computing approach for controlling the quality of cut with abrasive waterjet cutting system experiencing orifice and focusing tube wear. J Mater Process Technol 185:217–722

    Article  Google Scholar 

  21. Das B, Roy S, Rai RN, Saha SC (2016) Application of grey fuzzy logic for the optimization of CNC milling parameters for Al–4.5%Cu–TiC MMCs with multi-performance characteristics. Eng Sci Technol Int J 19(2):857–865.

    Article  Google Scholar 

  22. Chowdhury SR, Das PP, Chakraborty S (2022) Optimization of CNC turning of aluminium 6082-T6 alloy using fuzzy multi-criteria decision making methods: a comparative study. Int J Interact Des Manuf.

  23. Zain S, Haron AM, Sharif H (2011) Optimization of process parameters in the abrasive waterjet machining using integrated SA–GA. Appl Soft Comput 11(8):5350–5359

  24. Roy SS (2006) Design of genetic-fuzzy expert system for predicting surface finish in ultra-precision diamond turning of metal matrix composite. J Mater Process Technol 173:337–344

    Article  Google Scholar 

  25. Rashad RM, El-Hossainy TM (2006) Machinability of 7116 structural aluminum alloy. Mater Manuf Process 21(1):23–27.

    Article  Google Scholar 

  26. Pandey S, Hindoliya DA, Mod R (2012) Artificial neural networks for predicting indoor temperature using roof passive cooling techniques in buildings in different climatic conditions. Appl Soft Comput J 12(3):1214–1226.

    Article  Google Scholar 

  27. Das PP, Chakraborty S (2022) SWARA-CoCoSo method-based parametric optimization of green dry milling processes. J Eng Appl Sci 69(1):1–21.

    Article  Google Scholar 

  28. Ganesan H, Mohankumar G (2013) Optimization of machining techniques in CNC turning centre using genetic algorithm. Arab J Sci Eng 38(6):1529–1538.

    Article  Google Scholar 

Download references


Not applicable.


This research work is sponsored by the authors.

Author information

Authors and Affiliations



The research reported in this paper was conceptualized, and the methodology was suggested by TME and YZ. The manuscript was prepared by TME and AA. The author(s) read and approved the final manuscript.

Corresponding author

Correspondence to Abdallah Abdelkawy.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

El Hossainy, T.M., Zeyada, Y. & Abdelkawy, A. Machining process parameters optimization using soft computing technique. J. Eng. Appl. Sci. 70, 7 (2023).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: