# Prediction of Responses in a Sustainable Dry Turning Operation: A Comparative Analysis

Authors: Shibaprasad Bhattacharya; Partha Protim Das; Prasenjit Chatterjee; Shankar Chakraborty
Journal: Mathematical Problems in Engineering
 (2021)

---

## Abstract

In a turning operation, involving removal of material from the outer diameter of a rotating cylindrical workpiece using a single-point cutting tool, there exist complex relationships between various cutting parameters and responses. In this paper, a turning operation under dry environment is considered with cutting speed, feed rate, and depth of cut as the input parameters, as well as material removal rate, average surface roughness, and cutting force as the responses. Dry turning operation reduces energy consumption and machining cost, thus eventually resulting in sustainable machining. For the considered process, the corresponding response values are envisaged using four prediction models, that is, multivariate regression analysis, fuzzy logic, artificial neural network, and adaptive neurofuzzy inference system (ANFIS), and their prediction performance is contrasted using five statistical metrics, that is, root mean squared percent error, mean absolute percentage error, root mean squared log error, correlation coefficient, and root relative squared error. It is noticed that ANFIS model consisting of the advantages features of both fuzzy logic and neural network outperforms the other prediction models with respect to the computed values of the considered statistical measures. Based on their acceptable values, it can be propounded that the ANFIS model can be effectively employed for prediction of process responses while treating different machining parameters as the input variables.


---

## Body

## 1. Introduction

Manufacturing operations are among the paramount energy-intensive processes that consume large amount of energy and natural resources. Sustainable manufacturing focuses on economically viable machining processes to reduce environmental threats by conserving energy and other resources. Sustainable manufacturing can be defined as manufacturing of products/components using those machining processes which would minimize the negative environmental impacts and conserve energy and natural resources, which would be indirectly safe for the employees, communities, and consumers as well as being economically feasible. In the manufacturing domain, metal machining has now been more focused on adapting the concept of sustainability leading to its improved economic, environmental, and social performance. In conventional machining processes, the generated heat in the cutting zone is one of the major problems as it affects the mechanical properties of the workpiece, wearing out of cutting tool, and deteriorating surface roughness. In this context, improvement in machining conditions has become an imperative issue to dissipate the generated heat by the use of cutting fluids, which are major sources of waste generation and environmental deterioration. These cutting fluids are naturally not biodegradable and require treatment before their disposal. Moreover, when these fluids come in contact with the hot machining zone, they get vaporized producing toxic fumes hazardous to the human health. Maintenance of the lubrication system, power consumption, and disposal of cutting fluids are some of the major factors leading to growing environmental issues and increased manufacturing cost. Use of cryogenics can be considered as an alternative to sustainable manufacturing resulting in environmentally toxic-free machining operation with better surface finish. But its high maintenance and installation cost and excessive energy consumption hinder its widespread application. Thus, in the present-day manufacturing scenario, dry machining with no use of cutting fluids has become an optimal solution to sustainable manufacturing. Dixit et al. [1] established that dry machining could be an effective environment-friendly process due to no air and water pollution. Schultheiss et al. [2] also concluded that dry machining could be performed without the use of cutting fluid, while making it a more sustainable material removal method, allowing collection of chips more easily for waste recycling.In the present-day manufacturing environment, machining is an inevitable operation to provide the desired shape geometry to a given workpiece component. Among all the available machining operations, turning operation using a nonrotary single-point cutting tool plays a key role in removing material from the outer diameter of a rotating cylindrical workpiece, while reducing its diameter to a specified dimension and achieving a smooth finish of the machined component [3]. During turning operation, the workpiece is rotated at a particular cutting speed and the cutting tool is fed against the workpiece at a specific depth of cut. Turning operation is usually performed in a conventional lathe, but when higher dimensional accuracy is required, automated lathe with computer numerical control technology can be employed [4]. It is quite suitable for machining of diverse materials, like hardened steels and alloy steels, heat-treated materials, superalloys, and so forth.It has been observed that effective turning operation involves selection of various input parameters, like cutting speed (v), feed rate (f), depth of cut (d), nose radius of the tool, types of the work material and cutting tool, machining environment, type of the cutting fluid used, type of the insert, and so forth. On the other hand, the corresponding outputs (responses) are material removal rate (MRR), surface roughness (SR) (with respect to average surface roughness (Ra)), cutting force (Fc), cutting temperature, tool wear, acceleration, power consumption, and so forth. In order to achieve the desired turning performance with respect to enhanced product quality and reduced energy consumption, machining cost, and tool wear, a suitable combination of all the considered input parameters is always demanded [5]. Due to involvement of a large number of correlated input parameters, as well as high complexity and nonlinearity of the cutting mechanism, development of a representative model exhibiting the interrelationships between the turning parameters and responses seems to be a complicated and difficult task. Development of such mathematical models would usually help in understanding the process behaviour and predicting the responses based on a set of given cutting parameters. With continuous development of computational facilities, applications of various soft computing tools, mainly in the form of fuzzy logic, artificial neural network (ANN), evolutionary algorithms, adaptive neurofuzzy interference system (ANFIS), and so forth, have become quite popular among the research community to explore the unknown relationships between the input and output parameters and predict the machining behaviour with a high degree of accuracy [6].In predictive modelling, various statistical algorithms and machine learning techniques are usually employed to identify the likelihood of future outcomes based on historical data. It is simply a mathematical process that seeks to foresee future events or outcomes while analyzing existent patterns in the historical data. Its goal is to go beyond knowing what has happened to provide a best assessment of what would happen in future. In this paper, based on a set of 27 pieces of experimental data, an attempt is put forward to envisage values of Ra, Fc, and MRR using three input parameters (v, f, and d) in a dry turning operation while applying four prediction models, that is, regression analysis, fuzzy logic, ANN, and ANFIS. The relative performance of these prediction models is also compared with respect to some important statistical measures. The effects of turning parameters on the responses under consideration are also investigated.


## 2. Literature Review

Table1 provides a list of different input turning parameters, responses, and soft computing techniques (prediction models) applied by the past researchers while modelling and predicting the mechanism of cutting operation in dry machining environment. The results of this literature survey in Table 1 show that different mathematical models, mainly in the form of regression analysis, ANN, support vector regression, and ANFIS, have been employed for prediction of different responses based on the given sets of diverse turning parameters. Application of fuzzy logic for modelling and prediction in turning operation is really scarce. It is also observed that those prediction models have been adopted individually for different turning operations and comparative studies with respect to their prediction performance are limited. Keeping in mind this research gap, this paper proposes the simultaneous applications of multivariate regression analysis, fuzzy logic, ANN, and ANFIS for envisaging the responses of a dry turning operation based on the training and testing datasets, and their performances are compared with respect to five statistical metrics, that is, root mean squared percent error (RMSPE), mean absolute percentage error (MAPE), root mean squared log error (RMSLE), correlation coefficient (R), and root relative squared error (RRSE). The corresponding “If-Then” rules for fuzzy logic and ANFIS models are also developed to help the machinist in understanding the influences of various turning parameters on the responses. It is revealed that ANFIS model having the advantages features of both fuzzy logic and ANN outperforms the other prediction models with respect to the considered statistical measures. Effect of different input membership functions on the prediction performance of ANFIS model is also investigated. Thus, application of ANFIS model can effectively frame the input-output relationship of the considered turning operation under dry environment.Table 1
Turning parameters, responses, and prediction models considered by the past researchers.
Sl. no.Author(s)Input parametersResponse(s)Prediction model1.Koura et al. [7]v, f, dRaANN2.Hanief and Wani [8]v, f, dRaRegression3.Mia et al. [9]v, f, tool configuration, environmentRaANOVA4.Benlahmidi et al. [10]v, f, d, workpiece hardnessRa, cutting pressure, cutting powerRegression5.Sharma and Krishnaiah [11]v, f, dRa, MRR, power consumptionANN, regression6.Panda et al. [12]v, f, dFlank wear, Ra, accelerationRegression7.Pawan and Misra [13]v, f, approach angleRaRegression8.Aouici et al. [14]v, f, cutting timeRa, specific cutting force, flank wearRegression9.Elbah et al. [15]v, f, d, cutting radiusRa, cutting force components, tool wearRegression10.Rajbongshi and Sarma [16]v, f, dRa, flank wear, Fc, feed forceANN, regression11.Alajmi and Almeshal [17]v, f, dRaANFIS12.Cica et al. [18]v, f, d, environmentMachining force, cutting power, cutting pressureRegression, support vector regression, Gaussian process regression, ANN13.Panda et al. [19]v, f, dAcceleration, flank wear, RaRegression14.Setia and Chauhan [20]v, f, dCutting force components, cutting temperatureRegression15.This paperv, f, dRa, Fc, MRRRegression, ANN, fuzzy logic, ANFIS


## 3. Prediction Models

### 3.1. Regression Analysis

During any experiment, the observed dataset can be utilized to develop the existent relationship between the dependent parameter (response) and independent parameters (inputs) in the following form:(1)y=fx1,x2,&,xn+ε,where f is the approximate function, xi (i = 1, 2, …, n) is the ith input parameter, y is the response, and ε is the normally distributed statistical error. A quadratic function can also be formulated using the experimental dataset in the following form:(2)y=β0+∑i=1nβixi+∑i=1n∑j=i+1nβijxixj+∑i=1nβiixi2+ε,where β0 is the Y-intercept coefficient, β1−βn are the main effect coefficients, and βij is the interaction coefficient. A well-developed regression model has the ability to determine the relative influence of one or more independent variables on the dependent variable and potentiality to identify outliers or anomalies in the dataset. It has also other advantages, like simplicity, interpretability, scientific acceptance, and so forth. But it also suffers from some disadvantages, like inability to deal with qualitative data, lengthy and complicated calculations, unchanged cause and effect relationship between the dependent and independent variables, chances of error during extrapolation, and so forth.


### 3.2. Fuzzy Logic

Fuzzy set theory, developed by Zadeh [21], deals with incomplete and vague information to achieve a rational conclusion for any problem, while converting the imprecise linguistic terms (such as “high” and “low”) into numerical values using fuzzy membership functions. It states that, in a universe of discourse X, a fuzzy subset Ã of X can be expressed using a membership function fA˜x, mapping each element x in X to a real number R in unit interval of [0,1]. The function value fA˜x highlights the grade of membership of x in Ã.A fuzzy logic unit contains a fuzzifier, membership functions, a fuzzy rule base, an inference engine, and a defuzzifier. In fuzzy-logic-based analysis, the membership functions are the inputs to the fuzzifier to fuzzify the input variables having some degree of uncertainty and ambiguity. A membership function maps each input value to a membership value between 0 and 1. The inference engine performs a fuzzy reasoning of the developed fuzzy rules to generate the corresponding fuzzy value [22, 23]. The defuzzifier finally transforms the fuzzy value into a crisp value. A fuzzy rule base consisting of a set of “If-Then” control rules is developed to depict the inference relationship between the input and output. A set of such fuzzy rules is shown as follows [24]:(3)Rule1: Ifx1isA1andx2is B1andx3isC1andx4isD1, Then outputOisE1,else,Rule2: Ifx1isA2andx2is B2andx3isC2andx4isD2, Then outputOisE2,else,Rulen: Ifx1isAnandx2is Bnandx3isCnandx4isDn, Then outputOisEn,where Ai, Bi, Ci, and Di are the fuzzy subsets defined by the corresponding membership functions, that is, µAi, µBi, µCi, and µDi, respectively. The inference engine performs fuzzy reasoning on fuzzy rules while considering max-min inference for generating a fuzzy value, μc0O.(4)μC0O=μA1x1∧μB1x2∧μC1x3∧μD1x4∧μE1O∨μA2x1∧μB2x2∧μC2x3∧μD2x4∧μE2O∨μAnx1∧μBnx2∧μCnx3∧μDnx4∧μEnO,where ∧ is the minimum operation and ∨ is the maximum operation. Finally, a centric fuzzification method is adopted to convert the fuzzy multiresponse output, μc0O, into a crisp value (C).(5)C=∑OμC0O∑μC0O.As a prediction tool, fuzzy logic has some advantageous features, like the ability to deal with problems having imprecise and incomplete data, ability to model nonlinear functions of arbitrary complexity, being simple and easily interpretable, no requirement of a large dataset or even any dataset to train the model, and so forth. But fuzzy logic may not be always accurate as the results are perceived based on assumption and human knowledge. Accuracy of fuzzy logic also largely depends on proper selection of the corresponding membership function for mapping the interrelationship between the input and output variables. In fuzzy-logic-based modelling approach, the problem of finding out the appropriate membership functions and fuzzy rules is often an exhausting process of trial and error. It requires the end users to understand the data before training, which is usually difficult for a relatively large dataset.


### 3.3. ANN

The ANN, biologically inspired from human brain, devours outstanding ability to determine patterns and identify trends from complicated or imperfect dataset which are too complex to perceive by either humans or other computer techniques [25]. It is a computational modelling technique having hundreds of individual processing units (PE) (also called artificial neurons), coupled with coefficients (weights), which form the neural structure. Each PE has weighted inputs, an appropriate transfer function, and an output. Each neuron is capable of processing simple information. However, the real strength of neural computation comes into picture when these neurons are connected to form a network. Compared to ∼100 billion neurons of human brain, ANN has hundred or thousand PEs. The ANN can be classified based on the transfer functions of the neurons, learning rule, and connection formula.The neurons are the building blocks of an ANN, located in the network layers and designed to simulate functions of the biological neurons. There are input layer, output layer, and hidden layers in a typical ANN architecture. The input signals, multiplied by the corresponding weight factors and added together, are passed through a transfer function to generate the output for a neuron. The activation function is the weighed sum of the inputs to the neurons. The most commonly used transfer functions are pure linear transfer function (purelin) and tangent sigmoid function (tansig). For neuron connection, ANN has different architectures. Among them, feedforward architecture does not have a connection back from the output to the input neurons and, therefore, does not keep a record of its previous output values. On the other hand, feedback architecture has connections from output to input neurons. There are also different training/learning models among which backpropagation model or delta model is most widely utilized.An ANN is initially trained to map the input dataset while adjusting the weights through a number of iterations. Estimation of the values of these weights is extremely crucial for development of a robust ANN model. The available input information is first fed through the network to derive the optimal weights for the neurons. These optimal weights are obtained using backpropagation of errors during the training/learning phase. The ANN analyzes the input and output values for a dataset and accordingly modifies the weights to bring the predicted values closer to the target values. The error in prediction is minimized through a repeated number of training cycles till it reaches a specified accuracy. A well-structured and trained ANN has an ability to deal with insufficient knowledge, potentiality to learn by itself while providing the output not limited to the input dataset, robust learning method for its effective training, as well as an ability to provide almost accurate results from an erroneous training dataset. On the other hand, ANN, being a black box type approach, suffers from overfitting of data and it does not provide any idea about how a particular response is predicted based on a given set of input variables.


### 3.4. ANFIS

An ANFIS is a hybrid predictive model integrating the adaptive capability of ANNs and qualitative rule-based reasoning of fuzzy logic [26, 27]. It harnesses the advantageous features of both ANNs and fuzzy logic while utilizing the mathematical properties of ANNs in tuning the rule-based fuzzy systems to approximate the human reasoning approach. In this model, an ANN is employed with the learning and computing capabilities in fuzzy logic, whereas fuzzy logic provides the advanced expert knowledge and fuzzy principles for use by the ANN. The integration of ANNs and fuzzy logic in ANFIS architecture makes it more systematic and less dependent on human expertise. It basically provides the mapping relation between the input and output data while employing a hybrid learning method to determine the optimal distribution of membership functions. The ANFIS architecture contains five layers, that is, fuzzy layer, product layer, normalization layer, defuzzification layer, and total output layer, with each layer consisting of several nodes described by the corresponding node function. The inputs to a specific layer are derived from the nodes of the previous layer. In this architecture, a fixed node is represented by a circle, whereas an adaptive node (where the parameters are modified during adaptation or training) is denoted by a square. In order to demonstrate the working principle of ANFIS model, it is assumed that there are two inputs (x and y) and one output (fi). As it employs the first-order Sugeno fuzzy inference system, the corresponding rules can be framed as follows [28–30]:Rule 1: ifx is A1 and y is B1, then z is f1(x,y) = p1x + q1y + r1Rule 2: ifx is A2 and y is B2, then z is f2(x,y) = p2x + q2y + r2Here,p1, q1, r1, p2, q2, and r2 are the linear parameters (consequent parameters), A1, B1, A2, and B2 are the nonlinear parameters, and fi(x,y) is the output of the first-order Sugeno fuzzy inference system. The architecture of ANFIS model is exhibited in Figure 1.Figure 1
ANFIS structure.In the fuzzy layer,x and y are the input nodes, and A1, B1, A2, and B2 are the linguistic labels in the fuzzy theory (like “low” or “high”) for deriving the membership function. This layer consists of adaptive nodes with the following node functions:(6)O1,i=μAixfori=1,2,(7)O1,i=μBi−2yfori=3,4,where μ(x) and μ(y) are the parameterized membership functions which usually follow bell shape with the maximum and minimum values as 1 and 0, respectively. With the changing parameter values, the bell-shaped function varies accordingly, thereby allowing various forms of the membership function for fuzzy set.(8)μx=11+x−ci2/ai2b1,where ai, bi, and ci constitute the parameter set. These are also known as premise parameters.In the product node, every node is a fixed node, with the node function to be multiplied by the input signals to serve as output.(9)O2,i=wi=μAix×μBiyfori=1,2,where wi represents the firing strength of a rule.Every node in the third layer is a fixed node, having the node function to normalize the firing strength while computing the ratio of theith node’s firing strength to the sum of all rules’ firing strength.(10)O3,i=wi¯=wi∑wifori=1,2.In the fourth layer, every node is an adaptive node. The defuzzification relationship between the input and output of this layer can be expressed as follows:(11)O4,i=w¯ifi=w¯ipix+qiy+rifori=1,2.The last layer of ANFIS model consists of a fixed node, with node function to compute the overall output as(12)O5,i=∑iw¯ifi=w1w1+w2f1+w1w1+w2f2,=w1xp1+w1yq1+w1r1+w2xp2+w2yq2+w2r2.The ANFIS adopts a hybrid learning algorithm combining the gradient method with the least-squares method to update the parameter values. The consequent parameters are identified by the least-squares estimate in the forward pass of the learning algorithm. On the other hand, the premise parameters are updated by the gradient descent algorithm in the backward pass. Being a hybrid prediction model, ANFIS has the advantages of both ANN and fuzzy logic, like robustness during learning and training, as well as high interpretability. It can deal with numerical as well as linguistic data, and it has the capability of fast learning, better adaptability, and potentiality to cater fuzziness, ambiguity, and uncertainty in the system under consideration. It can also effectively capture the nonlinear structure of a given process. It can be trained without relying solely on expert knowledge as applicable for a fuzzy logic model. Compared to ANN, it is more transparent to the end user with less memorization error. Despite its wide acceptance among the researchers, ANFIS model suffers from limitations, such as curse of dimensionality and computational expense.


## 3.1. Regression Analysis

During any experiment, the observed dataset can be utilized to develop the existent relationship between the dependent parameter (response) and independent parameters (inputs) in the following form:(1)y=fx1,x2,&,xn+ε,where f is the approximate function, xi (i = 1, 2, …, n) is the ith input parameter, y is the response, and ε is the normally distributed statistical error. A quadratic function can also be formulated using the experimental dataset in the following form:(2)y=β0+∑i=1nβixi+∑i=1n∑j=i+1nβijxixj+∑i=1nβiixi2+ε,where β0 is the Y-intercept coefficient, β1−βn are the main effect coefficients, and βij is the interaction coefficient. A well-developed regression model has the ability to determine the relative influence of one or more independent variables on the dependent variable and potentiality to identify outliers or anomalies in the dataset. It has also other advantages, like simplicity, interpretability, scientific acceptance, and so forth. But it also suffers from some disadvantages, like inability to deal with qualitative data, lengthy and complicated calculations, unchanged cause and effect relationship between the dependent and independent variables, chances of error during extrapolation, and so forth.


## 3.2. Fuzzy Logic

Fuzzy set theory, developed by Zadeh [21], deals with incomplete and vague information to achieve a rational conclusion for any problem, while converting the imprecise linguistic terms (such as “high” and “low”) into numerical values using fuzzy membership functions. It states that, in a universe of discourse X, a fuzzy subset Ã of X can be expressed using a membership function fA˜x, mapping each element x in X to a real number R in unit interval of [0,1]. The function value fA˜x highlights the grade of membership of x in Ã.A fuzzy logic unit contains a fuzzifier, membership functions, a fuzzy rule base, an inference engine, and a defuzzifier. In fuzzy-logic-based analysis, the membership functions are the inputs to the fuzzifier to fuzzify the input variables having some degree of uncertainty and ambiguity. A membership function maps each input value to a membership value between 0 and 1. The inference engine performs a fuzzy reasoning of the developed fuzzy rules to generate the corresponding fuzzy value [22, 23]. The defuzzifier finally transforms the fuzzy value into a crisp value. A fuzzy rule base consisting of a set of “If-Then” control rules is developed to depict the inference relationship between the input and output. A set of such fuzzy rules is shown as follows [24]:(3)Rule1: Ifx1isA1andx2is B1andx3isC1andx4isD1, Then outputOisE1,else,Rule2: Ifx1isA2andx2is B2andx3isC2andx4isD2, Then outputOisE2,else,Rulen: Ifx1isAnandx2is Bnandx3isCnandx4isDn, Then outputOisEn,where Ai, Bi, Ci, and Di are the fuzzy subsets defined by the corresponding membership functions, that is, µAi, µBi, µCi, and µDi, respectively. The inference engine performs fuzzy reasoning on fuzzy rules while considering max-min inference for generating a fuzzy value, μc0O.(4)μC0O=μA1x1∧μB1x2∧μC1x3∧μD1x4∧μE1O∨μA2x1∧μB2x2∧μC2x3∧μD2x4∧μE2O∨μAnx1∧μBnx2∧μCnx3∧μDnx4∧μEnO,where ∧ is the minimum operation and ∨ is the maximum operation. Finally, a centric fuzzification method is adopted to convert the fuzzy multiresponse output, μc0O, into a crisp value (C).(5)C=∑OμC0O∑μC0O.As a prediction tool, fuzzy logic has some advantageous features, like the ability to deal with problems having imprecise and incomplete data, ability to model nonlinear functions of arbitrary complexity, being simple and easily interpretable, no requirement of a large dataset or even any dataset to train the model, and so forth. But fuzzy logic may not be always accurate as the results are perceived based on assumption and human knowledge. Accuracy of fuzzy logic also largely depends on proper selection of the corresponding membership function for mapping the interrelationship between the input and output variables. In fuzzy-logic-based modelling approach, the problem of finding out the appropriate membership functions and fuzzy rules is often an exhausting process of trial and error. It requires the end users to understand the data before training, which is usually difficult for a relatively large dataset.


## 3.3. ANN

The ANN, biologically inspired from human brain, devours outstanding ability to determine patterns and identify trends from complicated or imperfect dataset which are too complex to perceive by either humans or other computer techniques [25]. It is a computational modelling technique having hundreds of individual processing units (PE) (also called artificial neurons), coupled with coefficients (weights), which form the neural structure. Each PE has weighted inputs, an appropriate transfer function, and an output. Each neuron is capable of processing simple information. However, the real strength of neural computation comes into picture when these neurons are connected to form a network. Compared to ∼100 billion neurons of human brain, ANN has hundred or thousand PEs. The ANN can be classified based on the transfer functions of the neurons, learning rule, and connection formula.The neurons are the building blocks of an ANN, located in the network layers and designed to simulate functions of the biological neurons. There are input layer, output layer, and hidden layers in a typical ANN architecture. The input signals, multiplied by the corresponding weight factors and added together, are passed through a transfer function to generate the output for a neuron. The activation function is the weighed sum of the inputs to the neurons. The most commonly used transfer functions are pure linear transfer function (purelin) and tangent sigmoid function (tansig). For neuron connection, ANN has different architectures. Among them, feedforward architecture does not have a connection back from the output to the input neurons and, therefore, does not keep a record of its previous output values. On the other hand, feedback architecture has connections from output to input neurons. There are also different training/learning models among which backpropagation model or delta model is most widely utilized.An ANN is initially trained to map the input dataset while adjusting the weights through a number of iterations. Estimation of the values of these weights is extremely crucial for development of a robust ANN model. The available input information is first fed through the network to derive the optimal weights for the neurons. These optimal weights are obtained using backpropagation of errors during the training/learning phase. The ANN analyzes the input and output values for a dataset and accordingly modifies the weights to bring the predicted values closer to the target values. The error in prediction is minimized through a repeated number of training cycles till it reaches a specified accuracy. A well-structured and trained ANN has an ability to deal with insufficient knowledge, potentiality to learn by itself while providing the output not limited to the input dataset, robust learning method for its effective training, as well as an ability to provide almost accurate results from an erroneous training dataset. On the other hand, ANN, being a black box type approach, suffers from overfitting of data and it does not provide any idea about how a particular response is predicted based on a given set of input variables.


## 3.4. ANFIS

An ANFIS is a hybrid predictive model integrating the adaptive capability of ANNs and qualitative rule-based reasoning of fuzzy logic [26, 27]. It harnesses the advantageous features of both ANNs and fuzzy logic while utilizing the mathematical properties of ANNs in tuning the rule-based fuzzy systems to approximate the human reasoning approach. In this model, an ANN is employed with the learning and computing capabilities in fuzzy logic, whereas fuzzy logic provides the advanced expert knowledge and fuzzy principles for use by the ANN. The integration of ANNs and fuzzy logic in ANFIS architecture makes it more systematic and less dependent on human expertise. It basically provides the mapping relation between the input and output data while employing a hybrid learning method to determine the optimal distribution of membership functions. The ANFIS architecture contains five layers, that is, fuzzy layer, product layer, normalization layer, defuzzification layer, and total output layer, with each layer consisting of several nodes described by the corresponding node function. The inputs to a specific layer are derived from the nodes of the previous layer. In this architecture, a fixed node is represented by a circle, whereas an adaptive node (where the parameters are modified during adaptation or training) is denoted by a square. In order to demonstrate the working principle of ANFIS model, it is assumed that there are two inputs (x and y) and one output (fi). As it employs the first-order Sugeno fuzzy inference system, the corresponding rules can be framed as follows [28–30]:Rule 1: ifx is A1 and y is B1, then z is f1(x,y) = p1x + q1y + r1Rule 2: ifx is A2 and y is B2, then z is f2(x,y) = p2x + q2y + r2Here,p1, q1, r1, p2, q2, and r2 are the linear parameters (consequent parameters), A1, B1, A2, and B2 are the nonlinear parameters, and fi(x,y) is the output of the first-order Sugeno fuzzy inference system. The architecture of ANFIS model is exhibited in Figure 1.Figure 1
ANFIS structure.In the fuzzy layer,x and y are the input nodes, and A1, B1, A2, and B2 are the linguistic labels in the fuzzy theory (like “low” or “high”) for deriving the membership function. This layer consists of adaptive nodes with the following node functions:(6)O1,i=μAixfori=1,2,(7)O1,i=μBi−2yfori=3,4,where μ(x) and μ(y) are the parameterized membership functions which usually follow bell shape with the maximum and minimum values as 1 and 0, respectively. With the changing parameter values, the bell-shaped function varies accordingly, thereby allowing various forms of the membership function for fuzzy set.(8)μx=11+x−ci2/ai2b1,where ai, bi, and ci constitute the parameter set. These are also known as premise parameters.In the product node, every node is a fixed node, with the node function to be multiplied by the input signals to serve as output.(9)O2,i=wi=μAix×μBiyfori=1,2,where wi represents the firing strength of a rule.Every node in the third layer is a fixed node, having the node function to normalize the firing strength while computing the ratio of theith node’s firing strength to the sum of all rules’ firing strength.(10)O3,i=wi¯=wi∑wifori=1,2.In the fourth layer, every node is an adaptive node. The defuzzification relationship between the input and output of this layer can be expressed as follows:(11)O4,i=w¯ifi=w¯ipix+qiy+rifori=1,2.The last layer of ANFIS model consists of a fixed node, with node function to compute the overall output as(12)O5,i=∑iw¯ifi=w1w1+w2f1+w1w1+w2f2,=w1xp1+w1yq1+w1r1+w2xp2+w2yq2+w2r2.The ANFIS adopts a hybrid learning algorithm combining the gradient method with the least-squares method to update the parameter values. The consequent parameters are identified by the least-squares estimate in the forward pass of the learning algorithm. On the other hand, the premise parameters are updated by the gradient descent algorithm in the backward pass. Being a hybrid prediction model, ANFIS has the advantages of both ANN and fuzzy logic, like robustness during learning and training, as well as high interpretability. It can deal with numerical as well as linguistic data, and it has the capability of fast learning, better adaptability, and potentiality to cater fuzziness, ambiguity, and uncertainty in the system under consideration. It can also effectively capture the nonlinear structure of a given process. It can be trained without relying solely on expert knowledge as applicable for a fuzzy logic model. Compared to ANN, it is more transparent to the end user with less memorization error. Despite its wide acceptance among the researchers, ANFIS model suffers from limitations, such as curse of dimensionality and computational expense.


## 4. Dry Turning Operation

During dry turning operation using a heavy-duty lathe (HMT Ltd., Model: NH26) on a round bar of AISI 304 stainless steel material (diameter of 60 mm and length of 200 mm), Nayak et al. [31] performed 27 experiments based on L27 orthogonal array design plan. For the turning operation, an ISO P30 grade uncoated cemented carbide insert was employed as the cutting tool, and v, f, and d were considered as the turning parameters. On the other hand, MRR (in mm3/min), Fc (in N), and Ra (in µm) were treated as the responses/outputs. During the experiments, the setting of each of the turning parameters was varied at three different levels, as shown in Table 2. The experimental design plan along with the measured response values is provided in Table 3. Nayak et al. [31] applied grey relational analysis technique to determine the best parametric intermix of the considered turning parameters to simultaneously optimize all the three responses. A confirmatory experiment was also conducted to validate the derived results. In this paper, 18 and 9 experimental datasets are randomly selected from Table 3 for training and testing purposes of fuzzy logic, ANN, and ANFIS models, respectively.Table 2
Turning parameters and their operating levels [31].
Turning parameterUnitLevel of variation123Cutting speedm/min253545Feed ratemm/rev0.10.150.2Depth of cutmm11.251.5Table 3
Experimental dataset [31].
RunvfdRaFcMRRPurpose1350.21.50.68145310500Training2250.210.7210905000Training3250.1510.618943750Training4350.110.566353500Testing5250.110.496762500Testing6350.1510.578395250Training7350.21.250.6711418750Training8450.1510.547806750Training9450.110.646054500Testing10250.151.250.6210854687.5Testing11250.21.50.7315497500Training12350.11.250.467704375Training13250.11.250.508203125Training14250.21.250.7213226250Training15450.21.250.64118311250Training16450.11.250.447345625Training17450.210.639759000Testing18250.151.50.6212715625Testing19250.11.50.509623750Training20350.210.6710227000Training21450.21.50.64138613500Training22450.11.50.448606750Training23350.151.50.5811927875Testing24450.151.50.55113710125Testing25350.151.250.5710186562.5Testing26450.151.250.559708437.5Training27350.11.50.469025250Training


## 5. Prediction of Responses in Dry Turning Operation

In an attempt to contrast the performance of the considered prediction models, the corresponding response surface methodology-based regression equations are first developed exhibiting the relationships between the turning parameters and responses. From the analysis of variance (ANOVA) results (not shown here due to paucity of space), it can clearly be revealed thatf (having p value < 0.05) is the most statistically significant turning parameter (contribution of 90.13%) influencing Ra value of the turned components. Similarly, for Fc, f and d are the two most significant turning parameters having 59.77% and 35.67% contributions, respectively. In this turning operation, MRR is maximally influenced by f (55.55% contribution), followed by v (20.83% contribution) and d (20% contribution). For MRR, some of the two-factor interactions also appear to be statistically significant.(13)yRa=0.600−0.00826×v+1.542×f−0.199×d+0.000081×v2+0.85×f2+0.0537×d2−0.0020×v×f+0.00051×v×d+0.559×f×d−0.0074×v×f×d,(14)yFc=2757−52.0×v−9551×f−2096×d+0.313×v2+11284×f2+555×d2+163×v×f+22.2×v×d+9048×f×d−147×v×f×d,(15)yMRR=4919+35×v−23889×f−5232×d+0.184×v2+49296×f2+1816×d2−174×v×f−34×v×d+7350×f×d+1092×v×f×d.During dry turning operation, the influences ofv, f, and d on Ra, Fc, and MRR are pictorially demonstrated in Figures 2–4. It can be observed that, with increasing values of v, surface quality of the turned components improves. At lower v value, formation of build-up edge increases due to higher adherence tendency between the tool and workpiece, resulting in poor surface quality. With increasing values of v, the cutting temperature also increases, which is responsible for better surface quality. On the other hand, higher values of f result in higher thrust force and vibration, increasing surface roughness of the machined components. It can also be noticed from Figure 2 that a value of d as 1.25 mm provides better surface finish and its higher value results in poor surface finish due to excessive tool wear. The effects of v, f, and d on Fc are exhibited in Figure 3. It can be revealed that an increase in the value of v causes higher heat generation in the machining zone during dry turning operation, which is responsible for thermal softening of the workpiece material and reduction in cutting forces. Increasing values of both f and d result in higher cutting forces. At higher f values, extra forces are required for the necessary plastic deformation for effective material removal during dry turning operation. In the similar direction, at higher values of d, there are increments in the cutting forces due to increase in the effective shear area at the tool and workpiece interface. It can also be noticed from Figure 4 that higher values of v, f, and d are all responsible for achieving higher MRR with more amount of material being removed from the workpiece.Figure 2
Effects of dry turning parameters on Ra.Figure 3
Effects of dry turning parameters on Fc.Figure 4
Effects of dry turning parameters on MRR.In this paper, fuzzy logic designer, neural network toolbox, and neurofuzzy designer of MATLAB (2016a) are, respectively, employed for prediction of the responses using fuzzy logic, ANN, and ANFIS models. The prediction model based on fuzzy logic consists of three inputs, three outputs, and Mamdani inference system, and it generates 18 rules using the training dataset to envisage values of the considered machining responses for different combinations of turning parameters. For this fuzzy logic model, the type of the input and output membership functions is considered as generalized bell-shaped. Figure5 exhibits the fuzzy rule viewer and the first rule from this figure is presented as follows.Figure 5
Fuzzy rule viewer.Ifv = 25 m/min, f = 0.1 mm/rev, and d = 1 mm, then Ra = 0.556 µm, Fc = 767 N, and MRR = 3045 mm3/min.In the similar direction, the developed architecture for the ANN model with three nodes in the input layer, ten nodes in the hidden layer, and three nodes in the output layer is exhibited in Figure6. As there are three turning parameters and three responses in the prediction model, the corresponding ANN architecture also consists of three input and three output layers. To have the minimum mean squared error (MSE) value along with a well-trained network, the number of nodes in the hidden layer is chosen as ten based on trial-and-error method. Addition of a greater number of nodes in the hidden layer would unnecessarily increase the ANN architecture with further increase in the training time. For training of this ANN model, Levenberg-Marquardt backpropagation algorithm is employed, whereas hyperbolic tangent sigmoid transfer function and pure linear transfer function are, respectively, utilized in the hidden layer and output layer.Figure 6
Developed ANN architecture.In fuzzy logic and ANFIS models, choice of the most appropriate membership function for the input variables depends on the number of rules in the fuzzy inference system, mechanism of the fuzzy inference system, and defuzzification process. Like in the fuzzy logic model, in ANFIS model, generalized bell is also chosen as the membership function for the input variables due to its higher reliability, robustness, and ability to represent the input-output relationships more efficiently. Besides the generalized bell function, triangular, trapezoidal, and Gaussian can also be adopted as the membership functions for the input variables in ANFIS model. Figure7 represents a typical generalized bell membership function, and the ANFIS architecture along with the related training parameters is provided in Table 4. The ANFIS architecture obtained from MATLAB Toolbox is exhibited in Figure 8.Figure 7
A generalized bell membership function.Table 4
ANFIS architecture and training parameters.
Number of layers5Size of the input dataset18 × 3Number of outputs3Membership functionGeneralized bellLearning rulesLeast-square estimation gradient descent algorithmInference systemSugeno inference systemTraining methodHybrid methodNumber of rules generated27Momentum constant0.9Number of epochs500Figure 8
ANFIS architecture obtained from MATLAB Toolbox.In this ANFIS model, as there are three input parameters and a membership function with three levels (“low”, “medium,” and “high”), altogether 33 = 27 rules are framed for each of the responses. The rule viewer developed for Ra is portrayed in Figure 9. As mentioned earlier, from the initial dataset with 27 experimental observations, 9 experimental runs are randomly utilized for testing of the ANFIS model. The predicted values of Ra, Fc, and MRR are provided in Table 5. It can be clearly noted from the first row of the rule viewer in Figure 9 that when v = 25 m/min, f = 0.1 mm/rev, and d = 1 mm, the value of Ra is obtained as 0.528 µm. From the other two rule viewers for Fc and MRR (not shown in this paper due to paucity of space), it can also be observed that, for this combination of v, f, and d, the predicted values of Fc and MRR are 682 N and 2579 mm3/min, respectively. The comparisons between the actual Ra, Fc, and MRR values and their predicted values for all the four prediction tools are, respectively, presented in Figures 10–12. It can be revealed from these figures that the values of Ra, Fc, and MRR predicted using the developed ANFIS model closely match with their respective actual values. On the other hand, the prediction performance of regression analysis and ANN model is not at all satisfactory.Figure 9
ANFIS rule viewer for Ra.Table 5
Experimental data for testing and predicted response values for ANFIS model.
Exp. runvFDRaFcMRRActualPredictedActualPredictedActualPredicted1250.110.490.528676682250025792250.151.250.620.616108510254687.547533250.151.50.620.59812711286562553024350.110.560.541635689350033905350.151.50.580.56211921175787574276350.151.250.570.56110189496562.563117450.110.640.652605669450046228450.210.630.632975945900092349450.151.50.550.538113710901012510587Figure 10
Comparison of actual and predicted response values for Ra.Figure 11
Comparison of actual and predicted response values for Fc.Figure 12
Comparison of actual and predicted response values for MRR.The prediction performance of the considered models is now validated based on various statistical metrics. The RMPSE is a popular measure to define the goodness of fit of a developed model that best describes the average percent error in predicting the considered turning responses. The mean absolute percentage error of the predicted values with respect to the actual values is estimated using MAPE. In RMSLE, introduction of the logarithm makes it possible to consider the relative difference between the actual and predicted values, while estimating percentual difference between them. It treats small differences between small actual and predicted values approximately the same as big differences between large actual and predicted values. The degree of association between the actual and predicted responses is estimated usingR value. On the other hand, RRSE takes the total squared error and normalizes it while dividing by the total squared error of the simple predictor. While taking the square root of the relative squared error, the error is reduced to the same dimension as the response being predicted. Among these statistical metrics, lower values are required for RMSPE, MAPE, RMSLE, and RRSE, while higher R value is always preferred to validate the performance of any prediction tool. The mathematical formulations of these statistical metrics are presented as follows:(16)RMSPE=1n∑i=1nAi−PiAi2×100,(17)MAPE=1n∑i=1nAi−PiAi×100,(18)RMSLE=1n∑i=1nlogPi+1−logAi+12,(19)R=∑i=1nAi−A¯P−P¯∑i=1nA−A¯2P−P¯2.(20)RRSE=∑i=1nPi−Ai2∑i=1nAi−A¯2,where Ai and Pi are the actual and predicted response values, A¯ and P¯ are the means of all the actual and predicted response values, and n is the total number of observations in the testing dataset. Table 6 provides values of RMSPE, MAPE, RMSLE, R, and RRSE for the testing dataset when regression analysis, fuzzy logic, ANN, and ANFIS models are employed for prediction of Ra, Fc, and MRR values during the dry turning operation. These comparison results for Ra, Fc, and MRR values are also pictorially exhibited in Figures 13–15, respectively. From these figures, it can be noticed that ANFIS model excels over the others with respect to all the statistical measures for the three turning responses under consideration. Finally, the prediction performance of ANFIS model itself is contrasted in Table 7 for four different types of input membership function, that is, generalized bell, Gaussian, trapezoidal, and triangular, with respect to RMSPE, MAPE, RMSLE, R, and RRSE values. It can be concluded that ANFIS model with the generalized bell membership function performs best as the prediction tool for this dry turning operation of AISI 304 stainless steel material.Table 6
Performance indices for different prediction tools.
Statistical measurePrediction toolANFISFuzzy logicANNRegressionRaFcMRRRaFcMRRRaFcMRRRaFcMRRRMSPE3.41835.69123.89835.842216.794530.31839.730212.401613.13597.55176.82715.9817MAPE2.71094.67723.64864.279613.235525.59368.476510.535612.28474.97695.89784.8882RMSLE0.07160.15570.13090.09320.25730.33290.12520.23540.23530.11200.17020.1581R0.84510.97360.98880.58130.87950.74910.30080.76780.90220.47760.96930.9950RRSE0.40150.19260.11340.68300.52890.60621.23650.50670.33470.98670.24340.1015Figure 13
Performance indices of various models for Ra.Figure 14
Performance indices of various models for Fc.Figure 15
Performance indices of various models for MRR.Table 7
Performance indices of ANFIS model for different membership functions.
Statistical measureMembership functionGeneralized bellGaussianTrapezoidalTriangularRaFcMRRRaFcMRRRaFcMRRRaFcMRRRMSPE3.41835.69123.89833.71616.34573.84663.95467.04515.41614.18979.43506.8082MAPE2.71094.67723.64863.32005.28173.49943.24816.61075.22623.70508.84526.6416RMSLE0.07160.15570.13090.07570.16280.12940.07740.17440.15310.08010.20370.1721R0.84510.97360.98880.83490.96700.98850.80940.95260.97760.80620.85230.9708RRSE0.40150.19260.11340.45470.21450.11550.47340.26850.15470.51200.39200.1861


## 6. Conclusions

In this paper, an endeavour is put forward to compare the performances of four prediction tools, that is, regression analysis, fuzzy logic, ANN, and ANFIS models, based on a set of 27 pieces of experimental data during dry turning operation on AISI 304 stainless steel work material. Five statistical metrics, that is, RMSPE, MAPE, RMSLE,R, and RRSE, are deployed for this purpose. It can be noticed that the developed ANFIS model outperforms the other prediction tools with respect to all the statistical measures. Again, among different membership functions for the input variables of ANFIS model, the best prediction performance is attained while using generalized bell membership function. It is also noticed that the fuzzy logic model develops only 18 rules using the training dataset, whereas 27 rules are generated in the ANFIS model, ensuring its better prediction performance as compared to fuzzy logic model. As the ANFIS model is developed incorporating the advantageous features of both fuzzy logic and ANN, it is expected that its prediction performance would be better than its constituent elements. Although all these models are developed using only 27 experimental runs, it is quite expected that additional experimental data (generated by simulation runs) may further increase their prediction accuracy. But it has been recommended that, after a certain point, feeding more data into a predictive model dose not improve accuracy. Thus, ANFIS model can be employed as an effective tool in predicting different response values based on experimental datasets from the conventional as well as nonconventional machining processes. As a future scope, the efficacy of other variants of ANFIS model, like ANFIS grid partitioning method and ANFIS subtractive clustering method, can be verified as the prediction tools in real-time sustainable manufacturing environment.



---

*Source: 9967970-2021-05-30.xml*