Keywords

Introduction

Since World War II, to address the grooving list of industrial requirements, researchers have developed number of nontraditional machining processes. Electrical discharge machining (EDM) is a versatile nontraditional material removal process in which it is possible to machine any shaped cavity using a tool having the same shape that of the desired cavity. In EDM, both the wok material and the tool are needed to be conductors of electricity, and both of them are submerged in a dielectric medium. Initiation of discharges is created by applying high voltage difference between the workpiece and tool, overcoming the breakdown strength of the dielectric fluid at the small gap between the two materials. A small channel of plasma is formed in the gap and expands further with discharge duration [1]. This plasma channel creates an extremely high temperature, which eventually melts and evaporates material from both the tool and workpiece.

In EDM, the size of the hole machined will always be greater than that of the tool, which is called as overcut. Overcut in EDM cannot be eliminated. It can be minimized by selecting the optimum input parameters. Minimization of overcut also endures the problem of flushing and removal of solidified partials from hole cavity. This problem can be rectified by using orbital movement of the tool. It increases clearance gap between the electrode and the hole, which helps in flushing the dielectric fluid to the bottom of the hole, which ultimately improves flushing. Also, the shape of the electrical discharge machined cavity dramatically depends on the shape and size of the tool electrode [2]. It is not possible for a single size tool to machine cavity of different sizes. So, to machine different sizes of hole using a single size tool, orbital EDM is used. Orbital tool movement in EDM process is used to detach the size of the electrode from the size of the hole to be machined. Hence, the standard the size electrode from the market can be utilized to machine a hole of size bigger than the electrode.

Tsai and Wang [3] did a comparative analysis of six neural networks and ANFIS models to predict the material removal rate (MRR). They concluded that ANFIS model gave the best results with a 16.33% error. Mandal et al. [4] have used ANN to model the electrical discharge machining process. They predicted the values of MRR and TWR utilizing those models. Pradhan et al. [5] have studied two artificial intelligent models, namely radial basis function neural network (RBFN) and back propagation neural network (BPN) to predict the surface roughness of electrical discharge machined parts of AISI D2 steel. They observed that both the methods gave satisfactory results and the difference between the predicted and experimental values by both the methods found lower. Markopoulos et al. [6] have predicted the surface roughness of EDMed parts of different steel grades using ANN. Gao et al. [7] have studied the four different algorithms of ANN to predict the MRR and TWR. They observed that the Levenberg Marquardt algorithm (LM) gave minimum error while predicting the values selected response parameters. Caydas et al. [8] have used ANFIS to anticipate the thickness of white layer (WLT) and surface roughness values of wire-ED machined surface. They made a model with reasonable difference between experimental and predicted values. Rao et al. [9] carried out experiments on M-250, HE15, Ti6Al4V and 15CDV6 materials machined with EDM process. They developed models for surface roughness using ANN along with or without the genetic algorithm (GA). They found that the model designed using ANN with GA gave lower error compared to other model. Maji et al. [10] have developed the models of ANFIS using linear and nonlinear membership functions (MFs) to predict the MRR and surface roughness values. They concluded that using nonlinear membership functions, models gave slightly better results.

Dave et al. [11] have studied the EDM of nickel-based alloy under orbital tool movement using Taguchi L25 orthogonal array. They found out the most significant variables affecting MRR and surface roughness are pulse on time and current. Prabhu et al. [12] studied the modeling of carbon nanotube (CNT)-based EDM of tool steel D2 using ANFIS mathematical approach. They predicted the surface roughness of parts machined with and without CNT mixed dielectric with acceptable errors. Al-Ghamdi et al. [13] made the relationship between EDM parameters and MRR using five ANFIS models with 51, 6, 9, 19 and 21 rules and found that model with 21 and 9 runs gave better results. Mathai et al. [14] have studied the effects of EDM parameters on end wear of the tool. They carried out experiments on Ti6Al4V alloy using copper electrode of square cross-section. They found out that pulse ON time affects the most on tool wear characteristics. Hourmand et al. [15] worked on nanopowder mixed EDM of a metal matrix composite Al-Mg2Si material. They used ANFIS model to predict the MRR. From ANFIS model, they observed that the interaction of voltage–current and pulse on time–current has the highest effects on MRR. Dave [16] has applied PSO (particle swarm optimization) and TLBO (teaching learning-based optimization) techniques on orbital path EDM process to get the optimized (maximum) values of MRR of the Nickel alloy and ANSI 304 steel materials. He found that TLBO technique generated higher value of MRR compared with PSO even by using less number of iterations.

Several authors have developed models creating relation between input–output parameters of die-sinking EDM and wire EDM using ANFIS and other modeling techniques. However, no work has been reported on the modeling of orbital EDM process on TI6Al4V alloy using copper tool utilizing ANFIS technique. In the present study, ANFIS models have been developed to establish relationship between orbital EDM parameters, which are orbital radius, orbital speed, current, pulse on time and duty factor with response parameters, namely tool wear rate and tool end wear.

Adaptive Neuro-Fuzzy Interface System (ANFIS)

Fuzzy modeling, initially developed by Takagi and Suguno has found number of applications in the prediction, interface and control. ANFIS is one of the most frequently used fuzzy interface systems, especially in practical applications. ANFIS was originally proposed by Jang in 1993 after which it has been modified according to modern needs. ANFIS generates a relationship between input and output by combining fuzzy logic tool and ANN. Fuzzy logic does not have any predefined technique for conversion, and it takes longer time to cope up with the membership functions (MFs). However, ANN has better learning capacity to accommodate with environment. Thus, ANN is combined with fuzzy logic to cop up with fuzzy logic MFs.

A fuzzy interface system has three essential components, which are based on the “If-Then” rule, technique interface and fuzzy set membership. A detailed view of FIS is given in Fig. 24.1. FIS changes the given value into fuzzy value with the help of membership functions, which has values between 0 and 1. Basic components of knowledge base are database and rule base for generating the results [17].

Fig. 24.1
figure 1

Fuzzy interface system (FIS)

The adaptive network is a multilayer feed-forward neural network. The basic diagram of adaptive network is composed of number of interconnected nodes. Every node performs a particular function on incoming function coming to the node. By selecting the proper learning method, the error of the output can be reduced. ANFIS provides two optimization methods, namely, back propagation and hybrid. Basic back propagation algorithm has some limitation of slow convergence, which always tends to stay local. Because of this limitation of back propagation algorithm, a hybrid learning algorithm has been used in this study.

ANFIS Architecture

ANFIS architecture is made of five network layers and the hybrid algorithm has been used to train system based on the input–output data. Takagi and Sugeno’s diagram of ANFIS, which has two input parameters (x and y) and one output function (z) with two membership functions (MFs) are shown in Fig. 24.2. Two fuzzy rules (If-Then) of first-order Sugeno modes are given below:

Fig. 24.2
figure 2

ANFIS architecture

$${\text{Rule 1 }}:{\text{ If}}\,x\,{\text{is}}\,A_{ 1} \,{\text{and}}\,y\,{\text{is}}\,B_{ 1} \,{\text{Then}}\,f_{ 1} = p_{ 1\,} x\, + \,q_{ 1} \,y + r_{ 1}$$
(24.1)
$${\text{Rule 2 : If}}\,x\,{\text{is}}\,A_{2} \,{\text{and}}\,y\,{\text{is}}\,B_{2} \,{\text{Then}}\,f_{2} = p_{2} \,x\, + q_{2} \,y\, + \,r_{2}$$
(24.2)

where, A1, A2, B1 and B2 are input functional parameters, and p1, q1, r1, p2, q2 and r2 are output functional parameters.

All the layers of ANFIS model, which are shown in Fig. 24.2, are described below:

Layer 1: In this fussification layer, each input is the adaptive node that transformed into linguistic with the help of MFs. Every node (i) in this layer is the square node with a node function as:

$$O_{i}^{1} = \mu_{Ai} \left( x \right),$$
(24.3)

where, i = 1, 2 and μAi is a degree of membership functions for input x

Layer 2: Each node in this layer is a circular node, which multiplies the incoming signal and sends data out. In this layer, each node is a nonadaptive type. It can be given as below:

$$\omega_{i} = \mu_{Ai} \left( x \right) \mu_{Bi} \left( y \right), \, i = { 1}, 2$$
(24.4)

Layer 3: Each node in this layer in circular shape is labeled with N, and all of them are fixed. It represents the firing strength from layer 2. Firing strength can be calculated as below:

$$\overline{{\omega_{i} }} = \frac{{\omega_{i} }}{{\omega_{1} + \omega_{2} }},i = { 1},{ 2}$$
(24.5)

Layer 4: This is a defuzzification layer, which is adaptive. Each node (i) in this layer is a square node with function:

$$\overline{{\omega_{i} }} f_{i} = \left( {p_{i} x + q_{i} y + r_{i} } \right)$$
(24.6)

where, \(\omega_{i}\) is the output from layer 3, and (pix + qiy + ri) is called as consequent parameter.

Layer 5: This single node layer is the output layer, which is modeled by ANFIS. It is shown in a circular shape and labeled as Σ, that is overall output by summation of all incoming output:

$$\mathop \sum \limits_{i} \overline{{\omega_{i} }} f = \frac{{\mathop \sum \nolimits_{i} \omega_{i} f_{i} }}{{\mathop \sum \nolimits_{i} \omega_{i} }},$$
(24.7)

From the above ANFIS model, a relationship between input and output values can be successfully established using different combinations of MFs, rule bases and other parameters from the loaded database.

Experimental Plan and Procedure

Machine Setup

In the present study, Titanium superalloy Ti6Al4V as a workpiece is selected for the experimentation. Ti6Al4V material has an excellent combination of toughness, strength, corrosion–resistance and high strength to weight ratio. Copper with positive polarity is taken as a tool electrode material of 9 mm diameter. The size of the workpiece is 15 mm × 15 mm × 10 mm, in which a hole of depth 4 mm of different diameter was generated. Single diameter tool is used to drill the holes of five different diameters. Standard EDM oil has been chosen as a dielectric fluid in the present experiments.

Joemars JM322 EDM machine is used in the study. It is equipped with orbital cutting attachment, which can be utilized for boring operation. With the orbital motion of tool, it can be possible to disassociate the size of the cavity with that of the tool. In these experiments, helical movement of the tool is selected, in which tool moves simultaneously in all three axes x, y and z in helical path, which is illustrated in Fig. 24.3. As shown in Fig. 24.4a, workpiece is fixed in workpiece fixture and electrode tool held in tool holder. Side flushing has been used, in which dielectric fluid jet of 1 bar pressure was directed towards the sparking area through a nozzle. Condition of tool and workpiece after machining can be observed in Fig. 24.4b. After the completion of machining, both the tool and workpiece were thoroughly cleaned using acetone and placed on ultrasonic vibrator to remove the carbon soot from the tool and workpiece surfaces and then dried using tissue paper to remove the remaining oil stain.

Fig. 24.3
figure 3

Helical tool movement path

Fig. 24.4
figure 4

a Machining setup, b Tool and W/P condition after machining

Experimental Design

Total five input parameters, namely orbital speed (\(S_{\text{o}}^{ - }\)), orbital radius (ro), duty factor (DF), pulse ON time (tON) and current (I) are selected with five levels for each parameter. Values of all the selected parameters are chosen as the difference between two values remains nearly same. The values of each level for all selected parameters are given in Table 24.1. The following experiment is designed with Taguchi’s L25 orthogonal array as there are total five input parameters and five levels for each parameter. In this design, there are total 25 rows. All the experiments have been done twice for precise evaluation of results. So, total 50 workpieces and tools have been prepared for experimentation.

Table 24.1 selected parameters along with their levels

Two response characteristics, TWR and tool end wear were selected for ANFIS modeling. To calculate the TWR, weights of the tool before and after machining were measured using Citizen made precision electronic weighing machine having resolution of 0.001 gm. Then, the weights are converted into volume by using density of the tool material. Machining time is counted using precision watch having resolution of 1 s. TWR (mm3/min) has been calculated by utilizing the following equation:

$${\text{TWR}} = \frac{{\left( {T_{{{\text{w}}_{\text{i}} }} - T_{{{\text{w}}_{\text{f}} }} } \right)}}{{\rho_{\text{T}} \times t}}$$
(24.8)

where

\(T_{{{\text{w}}_{\text{i}} }}\):

Initial weight of the tool (gm)

\(T_{{{\text{w}}_{\text{f}} }}\):

Final weight of tool (gm)

\(\rho_{\text{T}}\):

density of tool material (gm/mm3)

t:

machining time (min)

Tool end wear (mm) is a change in the length of the tool before and after machining. It was measured in the EDM machine itself with 0.001 mm precision. The following equation can calculate the tool end wear:

$${\text{End wear}}\,\Delta l _{T} = l_{{{\text{T}}_{\text{i}} }} - l_{{{\text{T}}_{\text{f}} }}$$
(24.9)

where, \(l_{{T_{i} }}\) is the length of the tool before machining and \(l_{{{\text{T}}_{\text{f}} }}\) is the maximum length of the tool after machining.

Result and Discussion

As discussed in the earlier section, Taguchi’s L25 orthogonal array design is selected for experimentation, and all the experiments were done twice. The average of these two result data is used in the modeling process. Result data of both the chosen response parameters with Taguchi’s L25 design are given in Table 24.2. From the result table, it can be seen that the highest values of tool wear criteria are found during experiment number 9.

Table 24.2 Experimental design and results of TWR and tool end wear

ANFIS Model for TWR and Tool End Wear

ANFIS model was developed in MATLAB Mathwork software. The neuro-fuzzy tool available in this software was used to structure ANFIS. In the present study, 80% of the experimental data (20 experiments) were selected randomly for the training process and 20% of data (five experiments) for testing purpose. It means that five results for both the selected responses were predicted using ANFIS model and then compared with experimental results. Sugeno type fuzzy interface system with hybrid learning algorithm is utilized for the modeling of both the response parameters.

In the ANFIS structure generated by the software have five input parameters with one output parameter. In third layer, a total of 20 rules were used for the prediction of the output values. In layer 1, fussification of input parameters takes place to 20 membership function in layer 2. To make a model, first, it is needed to call the training data in the ANFIS work system. These data help in searching the constant of the membership function. In the present study, subtractive clustering fuzzy interface system has been selected. Parameters of the subtractive clustering technique used in this study are given in Table 24.3. These ANFIS variables have been optimized after a number of tests.

Table 24.3 ANFIS criteria used in creating the model

The data are trained using hybrid optimization method with 50 epochs. ANFIS then calculated the error between input values and the predicted values generated from the model.

Model Performance for the Prediction of Tool Wear Rate and Tool End Wear

As in the present research, Taguchi’s L25 experimental design is used; there are total 25 output readings. Out of which 20 data were selected randomly for training the model. The remaining five data were used for the prediction of both the output parameters. The error between experimental values and predicted value has been evaluated by statistical equations. ANFIS model performance is evaluated by using statistical functions, namely root mean square error (RMSE) and mean absolute error (MAE). Equations for these functions are given below:

$${\text{MAE }} = \frac{1}{n}\mathop \sum \limits_{t = 1}^{n} \left| {P_{\text{t}} - E_{\text{t}} } \right|$$
(24.10)
$${\text{RSME }} = \sqrt {\frac{{\mathop \sum \nolimits_{t = 1}^{n} \left( {P_{\text{t}} - E_{\text{t}} } \right)^{2} }}{n}}$$
(24.11)

where, Pt is predicted result from ANFIS, Et is experimental result, and n is the total number of data selected for the calculation of error.

The lower value of RSME indicates the better predictability of the model. As it can be observed from Table 24.4 that model for tool wear rate gave smaller error than the model for the tool end wear. While measuring the tool end wear, the taper on the tool was not considered, this is nullified in the calculation of TWR. The predicted and experimental values of both TWR and tool end wear in graphical form are shown in Fig. 24.5a, b, respectively.

Table 24.4 Errors of predicted result
Fig. 24.5
figure 5

Comparative diagram of experimental and predicted values through ANFIS for a TWR and b Tool end wear

From Fig. 24.5a, it can be seen that two predicted values (experimental runs 1 and 4) have a relatively larger error for tool wear rate than other experimental runs. Error for two predicted values (experimental runs 2 and 5) has minimum error compared with others. In the case of the tool end wear also errors found higher for two values (experimental runs 1 and 5), which can be observed in Fig. 24.5b. While the experimental run 3 has the lowest error. Thus, ANFIS model can be used for generating a model with minimum values of error.

Moreover, ANFIS has generated nonlinear surface plots of response variable against two input variables. Some of the selected surface graphs of two input parameters with TWR and tool end wear are shown in Figs. 24.6 and 24.7, respectively. TWR and tool end wear found larger at the high orbital radius values (Figs. 24.6a and 7a). From Fig. 24.6b, it can be observed that tool wear rate decreases with an increase in tON. Also, from Fig. 24.6c, TWR is found increasing with an increase in current values. Figure 24.6b indicates that, at lower pulse on time values, tool end wear is more significant compared with higher values. By observing Fig. 24.7b, it can be said that the tool end has worn significantly when the lower machining time was used. Referring to Fig. 24.7c, tool end wear is found to be increasing with an increase in current and duty factor values.

Fig. 24.6
figure 6

Change in tool wear rate with respect to a orbital speed (So) and orbital radius (ro), b Duty factor and Pulse on time and c Duty factor and current

Fig. 24.7
figure 7

Change in tool end rate with respect to a orbital speed (So) and orbital radius (ro), b Duty factor and Pulse on time and c Duty factor and current

Conclusion

Orbital tool movement in EDM helps in drilling the hole of different diameters with a single diameter tool. In the present research work, models for tool wear rate and tool end wear were successfully developed using ANFIS. The developed model helped in predicting the values of responses with reasonable errors. Error predicted for tool end wear was found higher than the error anticipated for tool wear rate. Results show an increasing trend on tool wear characteristics with an increase in the current values. Also, tool wear characteristics were found lower at higher pulse on time and lower orbital radius. It can be concluded that with the help of the surface graphs, prediction of the behavior of responses because of a change in the independent parameters can be easily generated through ANFIS. Thus, ANFIS modeling can be utilized for process planning to predict the tool wear prior to the machining initiation.