Research Article | Open Access
Salah Al-Zubaidi, Jaharah A. Ghani, Che Hassan Che Haron, "Prediction of Surface Roughness When End Milling Ti6Al4V Alloy Using Adaptive Neurofuzzy Inference System", Modelling and Simulation in Engineering, vol. 2013, Article ID 932094, 12 pages, 2013. https://doi.org/10.1155/2013/932094
Prediction of Surface Roughness When End Milling Ti6Al4V Alloy Using Adaptive Neurofuzzy Inference System
Surface roughness is considered as the quality index of the machine parts. Many diverse techniques have been applied in modelling metal cutting processes. Previous studies have revealed that artificial intelligence techniques are novel soft computing methods which fit the solution of nonlinear and complex problems like metal cutting processes. The present study used adaptive neurofuzzy inference system for the purpose of predicting the surface roughness when end milling Ti6Al4V alloy with coated (PVD) and uncoated cutting tools under dry cutting conditions. Real experimental results have been used for training and testing of ANFIS models, and the best model was selected based on minimum root mean square error. A generalized bell-shaped function has been adopted as a membership function for the modelling process, and its numbers were changed from 2 to 5. The findings provided evidence of the capability of ANFIS in modelling surface roughness in end milling process and obtainment of good matching between experimental and predicted results.
Ti6Al4V alloy is an important super alloy being subjected to diverse applications in the biomedical, aerospace, and chemical industries because of its properties and features such as high specific strength, high corrosion resistance, and good performance at high temperatures. However, since it has certain features such as its chemical reactivity, low thermal conductivity (this reduces heat dissipation from the cutting zone), high strength and hardness, and its low modulus of elasticity which make it more flexible than metals such as steel, Ti6Al4V alloy is regarded to be difficult to machine [1, 2]. Therefore, choosing the cutting parameters for end milling alloys such as this is considered as a critical process. High quality products at a reasonable cost have been increasingly demanded or required, which has compelled manufacturers into fierce competition. Thus, to evaluate the quality of products, it is important to consider surface finish as an important factor in such evaluation. The purpose of using surface roughness () as an index is mostly to determine the surface finish in the machining process. In classifying modeling techniques for the prediction of , there are three major categories, namely, experimental models, analytical models, and artificial intelligence- (AI-) based models . Development of the first two categories or groups is possible to be carried out by using conventional approaches such as the statistical regression technique. However, for developing the last category, AI-based models, nonconventional approaches such as the artificial neural network (ANN), fuzzy logic (FL), and genetic algorithm (GA) are usually used for this purpose . In manufacturing, the importance of the milling process comes after turning in the ranks, and there is a possibility of creating and producing complex geometry by using the end milling process . Milling is stated to be different from turning in that it is considered as a multiple cutting point process which is categorized into slab, face milling, and end milling. It comes in one of two modes either up or down. Moreover, the surface finish generated in milling significantly impacts or affects a material’s fatigue resistance and functional performance. Surface roughness is also regarded as a product quality index, and it is sometimes demanded in product specifications .
As displayed in Figure 1, interconnected parameters such as tool wear, cutting speed, feed rate, and radial and axial depth of cut, are found to significantly affect the surface roughness of a machined part . Figure 2 shows the major areas for surface roughness prediction which have been used as the basics upon which research has been founded, and they include design of experiments, processes, materials, and artificial techniques. Thus, it is expected that developing a realistic model for predicting this performance measure will assist researchers to reduce machining time and costs. Recent research has provided evidence of the ability of AI-based models in modelling cutting processes.
One of those AI-based models as prove by such recent research is adaptive neuro-fuzzy inference system (ANFIS), which, as feature, combines the merits of fuzzy knowledge and function approximation of neural networks [10, 11]. It is stated that neural network is able to deal with imprecise data and can obtain low-level computational features, whereas fuzzy logic can provide researchers with high-level cognitive features and deal with some issues like natural language processing and approximate reasoning . Based on previous research, the nonlinear relationship existing between input and output parameters in neural networks has not been revealed so far and cannot be accessed by the user, and, therefore, the importance of ANFIS is recognized as it can be used to overcome such weakness . In study by Dweiri et al.  which aimed to model the down milling for predicting surface roughness of Alumic-79, the researchers employed ANFIS. They used two and four flutes, and findings revealed that the optimum value of surface roughness could be obtained using four flutes. In predicting workpiece surface roughness when end milling AA 6061 heat treatable aluminum alloy, Lo  used the same system, ANFIS, and the study involved 48 experiments for training and 24 for testing. It was found that obtaining high prediction accuracy was achieved when triangle membership function was used.
Göloğlu and Arslan  carried out a study for prediction of the surface roughness of milled 40CrMnNiMo8-6-4 alloy steel using zigzag motion for the four-flute cutter. First, the researchers developed three artificial models, namely, genetic programming (GP), artificial neural networks (ANN), and adaptive neurofuzzy inference system (ANFIS) models and then compared them. The experiments were designed by using Taguchi’s orthogonal arrays. The best results were gained by using GP model with good accuracy. For modelling the surface roughness in end milling, Ho et al.  made integration of the ANFIS with hybrid Taguchi-genetic algorithm, learning algorithm by using Lo’s experimental results . The purpose was to test reliability of the proposed hybrid approach. In comparing their method with other previously reported ones in the literature, the researchers revealed their proposed method was slightly accurate than the others. In a study conducted by Uros et al. , the ANFIS model was proposed for the purpose of predicting flank wear using cutting force signal generated in end milling of Ck 45 and Ck 45 (XM) alloys using trapezoidal and triangular membership functions. Findings showed that there was a good consistency found between the experimental results and the ANFIS model. Dong and Wang  applied the ANFIS model with leave-one-out cross-validation method for prediction of surface roughness using also Lo’s experimental results . Based on a comparison between other literatures results and the results obtained by them through the ANFIS clustering method, the researchers gained better accuracy by using the proposed method than the others did. However, the deficiency of previous research is that no study has aimed to model the surface roughness of milled Ti6Al4V super alloy under dry cutting conditions by using the ANFIS, and this is a part of the contributions expected to be offered by the current study to this particular research area.
2. ANFIS Architecture
This section provides an illustration of the basic architecture of the ANFIS and its learning algorithm for the Sugeno fuzzy model. Assuming that the fuzzy inference system consists of two inputs and and one output , for an initial order Sugeno fuzzy model, the followings expressing a typical rule set with two fuzzy if-then rules are taken into account [9, 14]: Rule If ( is ) and ( is ), then: Rule If ( is ) and ( is ), then: ,where , , , , , and represent the linear parameters, and , , , and symbolize the nonlinear parameters. As displayed in Figure 3, the corresponding equivalent ANFIS architecture is composed of five layers, namely, a fuzzy layer, a product layer, a normalized layer, a defuzzy layer, and a total output layer. Thus, the following subsections provide more detailed description of the functionality of each of these layers.
2.1. Layer 1: Fuzzy Layer
(i)Let be the output of the th node of layer 1.(ii)Every node in this layer is recognized as an adaptive node with a node function as follows: where represents the input to node and refers to the linguistic label (small, large, etc.) which is related to this node function. In other words, , reflects the membership function of and gives specification of the degree to which the given satisfies the quantifier . The most commonly used membership functions are bell-shaped and the Gaussian membership functions.(iii)The bell-shaped membership function is given by where the parameter is usually positive. The parameter provides a location of the centre of the curve.(iv)The Gaussian membership function is expressed as follows: (v)The parameters in layer 1 are referred to as the premise parameters.
2.2. Layer 2: Product Layer
(i)Each node in this layer has a prod -norm operator which is used as a node function.(ii)This layer makes a synthesis of the information transmitted by layer 1, makes multiplication of all the incoming signals, and sends the product out.(iii)The output of the product layer is given by (iv)Each node in this layer functions as a measure of strength of the rule.(v)The output of this layer acts as the weight functions.
2.3. Layer 3: Normalized Layer
(i)Each node in this layer makes normalization of the weight functions gained from the previous product layer.(ii)Thus, in computing the normalized output for the th node as the ratio of the th rule’s firing strength to the sum of all rules’ firing strengths, this process can be expressed as follows:
2.4. Layer 4: Defuzzy Layer
(i)The nodes in this layer are adaptive in nature.(ii)For computing the defuzzified output of this layer, the following formula is used: where , , and refer to the linear or consequent parameters of the corresponding node .
2.5. Layer 5: Total Output Layer
(i)The single node in this layer provides a synthesis of the information transmitted by layer 4, and it also brings back the overall output using the following fixed function: where .
The ANFIS employs a two-pass learning algorithm, namely, forward pass and backward pass. In the first type of pass learning algorithm, no modification of the premise parameters is conducted or carried out; what has to be done is computing the consequent parameters using the least squares estimate learning algorithm. In a similar way, in the backward pass, there is no modification of the consequent parameters, but the process of computing such premise parameters is done by using the gradient descent algorithm. Based on these two learning algorithms, ANFIS adapts the parameters in the adaptive network. From the architecture, it is evident that the overall output of the ANFIS can be represented as a linear combination of the consequent parameters as In the forward pass, the movement of the signals follows forward direction till layer 4 and the consequent parameters are computed, while, in the backward pass, the error rates are propagated backward and the premise parameters are updated by the gradient descent method.
3. Experimental Work
As previously stated, in order to be able to perform its task, an adaptive neuro-fuzzy inference system (ANFIS) needs input-output training patterns. The current study used or adopted the experimental work conducted by Elmagrabi  to examine the capability of an adaptive neuro-fuzzy inference system (ANFIS) in predicting surface roughness when end milling Ti6Al4V alloy with PVD and uncoated carbide cutting tools under dry cutting conditions. Elmagrabi’s study  was about developing mathematical models of tool life, resultant cutting forces, and surface roughness in the present study, through integrating Box-Behnken design of experiments with response surface methodology (RSM). This is based on the assumption that a comprehensive overview can contain all the factors which affect the output response by using RSM. Furthermore, this method makes use of a minimum number of experiments, thus is characterized as a money- and time-saving method. Such sets of experiments could cover the problem investigated in the present study.
Table 1 shows the cutting conditions including the cutting speed (m/min), feed rate (mm/min), and depth of cut (mm). Each cutting condition was coded with low, medium, and high levels to cover the problem domains and investigate its effect on surface roughness. The radial depth of cut was maintained constant at 8 mm.
The adoption of a Box-Behnken design in the present study was conducted based on . By doing so, Elmagrabi  combined a factorial design of experiments with RSM because of these reasons: the first reason is that such kind of experimental design does not need or require many points of design and it is regarded as a design which costs less than central composite design by using almost the same number of factors; the second reason is that this type of design does not have axial points, and, therefore, there would not be simultaneous setting of all cutting parameters levels at higher levels and all the design points would be located in the safe operating zone. Moreover, in using this design, only five design points were replicated so that the effects and interactions among the three independent cutting parameters could be investigated. Putting what was mentioned above into application, 17 data sets were created based on this design of the experiments. The experimental data were divided into two sets: one set for training (Table 2) and the other for testing or checking (Table 3). As displayed in Figure 4, Cincinnati Milacron Vertical CNC Milling Machine (model Sabre 750 with Acramatic 850 SX) was used for the purpose of machining Ti6Al4V alloy. In carrying out the milling process, it was conducted under dry cutting conditions by using PVD (Ti-Al-N) coated and uncoated carbide cutting tools. The mechanical features of Ti6Al4V alloy and tool geometry are provided in Tables 4 and 5, respectively. The current study adopted the arithmetic surface roughness (), and its measurement was conducted on the machined surface which was parallel to the feed motion with a portable surface roughness tester (Mpi Maher perthometer model) as displayed in Figure 5.
Measuring the arithmetic surface roughness (), was carried out online with a portable surface tester, and its measurement was taken after each pass. To obtain the values of the machined surface, the surface roughness values have been averaged at three locations on the centre path of the work piece width. In order to calibrate the instrument, the setting of the roughness width cutoff based on the roughness value expected was needed or required. Selection of the width cutoff was done as 0.8 mm, and the failure criterion for the tool was maintained at 6 μm surface roughness.
4. Result and Discussion
Like any AI techniques, the ANFIS model requires two different sets of data: training data sets and testing data sets. The present study made use of or utilized the experimental data shown in Table 2 in the training phase, whereas the experimental data of Table 3 was used in the testing phase. Figure 6 displays the flow chart of training of ANFIS. The study used the architecture of ANFIS which adopted a generalized bell-shaped function as shown in Figure 7. As it is noticed, this architecture consisted of 8 fuzzy rules.
In carrying out the training process, the researcher chose the generalized bell-shaped (gbell) function as a membership function being numbered as 2, 3, 4, and 5 to show its impacts on the prediction accuracy. Epochs were changed from 50 up to 1000. 160 ANFIS models were developed for two cases, that is, coated and uncoated cutting tools, and selection of the best models was carried out based on the minimum root mean square error in the testing phase. After the training and testing phases were accomplished, only six models was chosen and each three models were chosen for evaluating the model for each case. Tables 6 and 7 present the ANFIS parameters for each model.
Based on recommendation or suggestions by previous review, the step-size profile was made in a form or shape of a curve in that it increased at first, then, reached some maximum point, and finally decreased for the rest of the training. It was gained through tuning the initial step size and the increase and decrease of rates.
As shown in Tables 8 and 9, the predicted results obtained from the experiments of the three ANFIS models for both PVD coated and uncoated cutting tools are presented. Findings revealed that, in general, the experimental and predicted results for all six models in the training phase matched each other well.
The minimum root mean square error (RMSE) was used as a criterion for selecting the best two models for coated and uncoated tools among the six ones, and the results concerning the different values of the RMSE for the six models are presented in Table 10.
According to the above results, the minimum RMSE for PVD cutting tool is 0.2412 (Model A) while the minimum RMSE for uncoated tool is 0.1030 (Model A). Therefore, based on these values, the two models were selected as the best ANFIS models in prediction surface roughness using coated and uncoated cutting tools.
Figures 8, 9, and 10 display the results concerning the membership functions of the model A in the pretraining and posttraining stages for three input parameters, namely, cutting speed, feed rate, and depth of cut, respectively. The findings provided evidence of a huge change occurred to the membership functions of feed rates, but the change in those of the depth of cut was slight. Such results imply that the feed rate is the factor which most significantly affects the surface roughness when using coated tool followed by depth of cut.
Figures 11, 12, and 13 displayed the results concerning the effect of those factors on the surface roughness, and as shown in Figures 9–11, the highest effect on the surface roughness was exerted by the feed rate when using uncoated carbide cutting tool to machine Ti6Al4V alloy. Closely looking at the results presented in Table 2 and the ANFIS results, it can be summed up that the most significant effects on the surface roughness were exerted by feed rate followed by depth of cut. In obtaining good surface finish, both the feed rate and depth of cut should be at level (−1) and cutting speed at level (), respectively. Such important findings are consistent with the findings obtained by Elmagrabi . It is clear from Tables 2 and 3 that the surface roughness values of the milled Ti6Al4V alloy are different for the two cutting tools. The reasons beyond that difference return to the fact that the insert type has significant effect on surface roughness in addition to cutting conditions and other parameters. Moreover, the Ti-Al-N coated layer which acts as dry lubricant for the PVD coated insert resulted in good surface finish especially at low feed rate and high cutting speed. On the other hand, the high surface roughness values for uncoated insert, are probably due to pronounced chipping, flaking of the sharp edge.
Figures 14 and 15 display the results obtained through the best two models in the training phase, respectively. The most effective and best matching training phase and minimum RMSE in testing phase were given by the two models. Figures 16 and 17 show the scatter diagram for the measured and predicted results in training phase for coated and uncoated cutting tools. Based on these findings, a good agreement between the experimental and predicated values was evidently proven and the data followed 45° line.
The present study examined the application of the ANFIS in prediction of the surface roughness when end milling Ti6Al4V alloy with coated and uncoated cutting tool under dry cutting conditions. Among many ANFIS models that have been developed and tested in the current experimental work, only two models were chosen as the best models in making prediction of the surface roughness generated through the cutting process. The findings showed that Model A with gbell membership function and 50 epochs obtained a minimum RMSE of 0.2412 for the PVD coated tool. However, the same model with the same membership function and 100 epochs obtained a minimum RMSE of 0.1030. Although the data sets used for training and testing in the present study were lower than those used in other previous studies, the study obtained good results, thus providing evidence of the efficient use of such models in predicting the surface roughness.
|ANFIS:||Adaptive neurofuzzy inference system|
|ANN:||Artificial neural network|
|RSM:||Response surface methodology|
|RMSE:||Root mean square error|
|:||Inputs of the ANFIS|
|:||Output of the ANFIS|
|, and :||Linear parameters|
|, and :||Non linear parameters|
|:||Output of the th node|
|:||Output of the th node|
|:||Membership function of the inputs|
|:||Normalised weight function of normalised layer|
|:||Output of defuzzy layer|
|:||Output of the output layer.|
- N. H. E. Elmagrabi, End Milling of Titanium Alloy Ti-6Al-4V With Carbide Tools Using Response Surface Methodology, Universiti Kebangsaan, Bangi, Malaysia, 2009.
- J. Sun and Y. B. Guo, “A comprehensive experimental study on surface integrity by end milling Ti-6Al-4V,” Journal of Materials Processing Technology, vol. 209, no. 8, pp. 4036–4042, 2009.
- P. G. Benardos and G. C. Vosniakos, “Prediction of surface roughness in CNC face milling using neural networks and Taguchi's design of experiments,” Robotics and Computer-Integrated Manufacturing, vol. 18, no. 5-6, pp. 343–354, 2002.
- A. M. Zain, H. Haron, and S. Sharif, “Prediction of surface roughness in the end milling machining using artificial neural network,” Expert Systems with Applications, vol. 37, no. 2, pp. 1755–1768, 2010.
- T. Erzurumlu and H. Oktem, “Comparison of response surface model with neural network in determining the surface quality of moulded parts,” Materials and Design, vol. 28, no. 2, pp. 459–465, 2007.
- P. Benardos, “Predicting surface roughness in machining: a review,” International Journal of Machine Tools and Manufacture, vol. 43, no. 8, pp. 833–844, 2003.
- V. Dhokia, S. Kumar, P. Vichare, and S. Newman, “An intelligent approach for the prediction of surface roughness in ball-end machining of polypropylene,” Robotics and Computer-Integrated Manufacturing, vol. 24, no. 6, pp. 835–842, 2008.
- A. K. M. N. Amin, A. F. Ismail, and M. K. Nor Khairusshima, “Effectiveness of uncoated WC-Co and PCD inserts in end milling of titanium alloy-Ti-6Al-4V,” Journal of Materials Processing Technology, vol. 192-193, pp. 147–158, 2007.
- S. sumathi and S. Paneerselvam, Computational Intelligence Paradigms Theory and Applications Using MATLAB, Taylor & Francis, Boca Raton, Fla, USA, 2010.
- J. S. R. Jang, “ANFIS: adaptive-network-based fuzzy inference system,” IEEE Transactions on Systems, Man and Cybernetics, vol. 23, no. 3, pp. 665–685, 1993.
- S. N. Sivanandam and S. Deepa, Introduction to Neural Networks Using MATLAB 6. 0, Tata McGraw-Hill, Delhi, India, 2006.
- U. Zuperl, F. Cus, B. Mursec, and T. Ploj, “A generalized neural network model of ball-end milling force system,” Journal of Materials Processing Technology, vol. 175, no. 1–3, pp. 98–108, 2006.
- F. Dweiri, M. Al-Jarrah, and H. Al-Wedyan, “Fuzzy surface roughness modeling of CNC down milling of Alumic-79,” Journal of Materials Processing Technology, vol. 133, no. 3, pp. 266–275, 2003.
- S. Lo, “An adaptive-network based fuzzy inference system for prediction of workpiece surface roughness in end milling,” Journal of Materials Processing Technology, vol. 142, no. 3, pp. 665–675, 2003.
- C. Göloğlu and Y. Arslan, “Zigzag machining surface roughness modelling using evolutionary approach,” Journal of Intelligent Manufacturing, vol. 20, no. 2, pp. 203–210, 2008.
- W.-H. Ho, J.-T. Tsai, B.-T. Lin, and J.-H. Chou, “Adaptive network-based fuzzy inference system for prediction of surface roughness in end milling process using hybrid Taguchi-genetic learning algorithm,” Expert Systems with Applications, vol. 36, no. 2, pp. 3216–3222, 2009.
- Z. Uros, C. Franc, and K. Edi, “Adaptive network based inference system for estimation of flank wear in end-milling,” Journal of Materials Processing Technology, vol. 209, no. 3, pp. 1504–1511, 2009.
- M. Dong and N. Wang, “Adaptive network-based fuzzy inference system with leave-one-out cross-validation approach for prediction of surface roughness,” Applied Mathematical Modelling, vol. 35, no. 3, pp. 1024–1035, 2011.
Copyright © 2013 Salah Al-Zubaidi et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.