Experimental investigation of WEDM process through integrated desirability and machine learning technique on implant material

: CP-Ti G2 has become the preferred biocompati-ble material for various devices mainly used in orthopedic and dental implants and it is also used in aviation and aircraft. While CP-Ti G2 deals with good ductility, higher stiffness, and fatigue resistance. The novelty of present research work was attentive to the effect of WEDM factors on MRR. After machining, surface topography was examined through SEM. MRR was modeled through ANOVA to analyze the adequacy. It was observed that POT, POFT, PC, and SGV most significant factors. The WEDM factors have also been significantly deteriorating the morphology of machined samples in the form of craters, debris, and micro cracks. A multi-objective optimization ‘desirability’ function hybrid with a supervised machine learning algorithm was applied to obtain the optimal solutions. The results show a good agreement between actual and predicted values. studying the effect of WEDM factors on MRR. A multi-objective optimization ‘desirability’ function hybrid with a supervised machine learning algorithm was applied to obtain the optimal solutions.


Introduction
Osteointegration is a successful technique for dental implant applications. In this method, many factors affect this application such as composition or surface architecture of dental material and bone cell responsiveness of recipients. Many biomedical implants are derived from tailoring products, such as prosthetics and lost limbs or bone, or rebuild specific joint function in a patient's condition [1]. CP-Ti G2 is one of the most regularly used implant materials due to its outstanding biocompatibility. Moreover, Ti is very flexible and can be prepared in many different shapes without affecting its bio-compatibility compared to stainless steel and this bio-compatibility is providing in vivo long term solidity of the artificial implants and scaffolds. It also finds application in aerospace engines, because the use of Ti would mean a reduction in the weight, without foregoing performance. A reduction in weight will consequently reduce the amount of fuel used. Conventional machining imparts difficult-to-machined; however, MRR is very low, coupled with a relatively higher tool wear rate [2,3,4]. There is an important need for consistent and efficient methods for machining of CP-Ti G2. On the other hand, the WEDM process seems to be a better choice as it can cut the components with complicated geometries and intricate shapes. Therefore, in the present investigation, an attempt has been made to evaluate the machinability of the WEDM process for CP-Ti G2. This bio-compatible material has little information is available in the literature for its machining characteristics. Kuriakose and Shunmugam [5] observed that WEDM param-eters were significantly affected by cutting velocity and the surface finish on Ti-6Al-4V. Sarkar et al. [6] formulated the feed-forward back propagation neural network model to predict the cutting speed, dimensional deviation, and surface finish on the Ti-Al alloy. Poros and Zoboruski [7] observed that a higher value of thermal properties of Ti6Al4V causes to decrease in the volumetric efficiency of WEDM. Roy and Mandal [8] attempted to quantitatively analysis of recast layer thickness, surface crack density, cutting rate, and surface roughness of Nitinol-60. Monte Carlo regression analysis was applied; they observed that experimental values were closer to means and standard deviation. Kumar et al. [9] studied the effect of WEDM parameters on the titanium-based human implant. The voltage parameter was most significantly affected the surface roughness and MRR. Increment of voltage results improved surface quality and reduced the white layer. Manikandan et al [10] performed the orthogonal machining processes on Ti-6Al-4V using wire EDM textured tungsten carbide 6% cobalt tool with texture and without texture at various cutting speeds. The formation of less curled chips was observed in the crosschecked tool. Bobbili et al. [11] presented the effect of wire EDM parameters on high strength armor steel. Six parameters were varied to observe MRR and surface roughness performance measures. Dey and Pandey [12] investigated the WEDM of AA6061/ cenosphere as-cast aluminum matrix. They observed that the weight factor of the cenosphere significantly affected the cutting rate. Mussada et al. [13] improved the surface hardenability of die steel. They have concluded that wire speed and servo feed increased the thickness of the recast layer. Bisaria and Shandilya [14] conducted the WEDM of curved profile on Ni-based shape memory alloy. Triangular profiles were machined at an angle of 60 ∘ , 90 ∘ , and 120 ∘ . Corner error was observed due increase of spark time and decrease of spark off time, spark gap voltage. Bisaria and Shandilya [15] further tried the WEDM of Nimonic C 263 superalloy for surface roughness and cutting rate. Surface morphology was altered by the recast layer, micro-cracks, and craters. Payla et al. [16] observed that the MRR and power consumption increases with an increase in discharge energy and further decrease off servo voltage. Wire tension has shown no sign of power consumption. Mandal et al. [17] developed the mathematical model for a multi-cut strategy fo the Nimonic C-263 superalloy. The optimal setting was predicted through desirability function for cutting rate, surface roughness, spark gap, and wire wear ratio.WEDM uses electro-thermal mechanisms to cut electrically difficult-to-machine CP-Ti material. In this process, a discrete series of electrical sparks have been produced in the localized plasma channel developed under the spark gap. The temperature varies from 10000 ∘ C to 12000 ∘ C in-between wire electrode and conductive CP-Ti material. The material removal occurs by erosion, melting, and vaporization. The molten material swept away through de-ionized water. After an ample review of literature of different materials it is obvious that the several investigations were performed by early investigators on the following: 1. Many investigations have been conducted on modeling and optimization on performance measures like material removal rate, surface roughness using steels and composites as work material [5,6,7,11,12,13,14]. A limited has been reported on bio-compatible implant material using machine learning technique to optimize the material removal rate. 2. Much work has been devoted to the conventional optimization technique such as one factor at a time approach (OFTA), Taguchi approach, Grey relation analysis [12,13,14,15,16]. 3. The erosion mechanism of the WEDM process. 4. Specifically, less significant literature has been found by the authors relating to optimization of material removal rate using some evolutionary optimization techniques such as RSM. Limited work has been reported on the evaluation of the surface morphology of CP-Ti after WEDM process. 5. The novelty of present research work was focused on studying the effect of WEDM factors on MRR. A multi-objective optimization 'desirability' function hybrid with a supervised machine learning algorithm was applied to obtain the optimal solutions.

Material and methods
For conducting all the investigations a CNC WEDM machine was used and proposed methodology in this work as pictorially presented in Figure 1. The factors and their levels in (coded and actual) are shown in Table 1. CP-Ti (ASTM G2, purchased from Anand Metals, Mumbai, India) was used. The chemical composition of selected material is as follows: C: 0.10%, N: 0.03%, O: 0.25%, H: 0.015%, Fe: 0.30% and Ti: 99.03%. Based on pilot and past survey six input factors i.e. POT, POF, PC, SGV, WS, and WT were selected to observe their effect on MRR. Surface morphology was analyzed using SEM (Model: JEOL, Japan, JSM-6610LV) integrated with EDX apparatus. The machined surface was etched with Krol's reagent. Further, the samples were also cleaned with acetone (CH 3 ) 2 CO. The sample was prepared in a square punch shape having a size (10mm × 10 mm × 26 mm) taken for analysis. The factors kept fixed through the WEDM process were electrode (brass wire with Ø250µm), t: 26mm, and WP: 7kg/cm 2 . The following formula was used for measurements of MRR: Where, CR = Cutting rate (mm/min), b = width of cut (mm), t = thickness of workpiece (mm)

ANOVA and development of a predictive model
From ANOVA (Table 3) values predicted that factors POT, POFT, PC, SGV, and their interactions (POT*PC, POT*SGV, POFT*PC, POFT*SGV) have been most significant to MRR. The p-value of LOF for the MRR is 0.5894 which implies that it is not significant relative to the pure error. Moreover, the R-squared value for MRR (95.87%) shows that all the data closely fitted to the regression line. Further, PR 2 (92.55%) and AR 2 (96.44%) are again reasonable high correlation between observed values and predicted values. The AP evaluates the signal to noise ratio. A ratio is >4 is necessary [18]. So, the ratio for MRR was observed 37.40 which reveals the adequate signal.

Main and interaction effect of parameters on MRR
The one-factor plot for MRR was presented in Figure 2. It was observed that as the POT increases from 0.7µs to 1.1µs, the MRR rises by (23%, 98%). A decrease of POFT from 38µs to 17µs, as a result the rise of MRR (15%, 55%). While increasing of PC from 120A to 200A, observed the increment of MRR by (14%, 33%). With an increase of SGV from 40V to 60V, the MRR decreased by (8%, 17%). It could be observed that higher MRR could be obtained at increased values of POT, PC. On the other hand, a reduction in POFT and SGV is found to improve the MRR. The effect of WS and WT is insignificant for MRR by (2%, 3%). It shows a constant and U-shape pattern. Due to increase in PC and decrease of POFT, the rate of discharge energy increases, together with an improvement in the discharge frequency. The concentration of discharge energy in the spark gap leads to melting and vaporization of molten metal and floating metal suspended in the electrical discharge which leads to increase of MRR. The reason is that due to an increase of POT the spark energy causes melting and vaporization and formed deep wider craters on the machined surface. While a decrease of POFT there is less percentage rise of MRR. Smaller POFT, the number of discharges within a given period becomes more and ejected debris on a machined surface that will not be flushed away properly and deposited on the surface as a resulting increment of MRR. 3-D interaction response surface graph for MRR has been shown in Figure 3. The effect of interaction between POT*SGV (increases from 3.28mm 3 /min to 8.51mm 3 /min), POFT*PC (increases from 4.10mm 3 /min to 7.5mm 3 /min) and POFT*SGV (increases from 4.09mm 3 /min to 8.5mm 3 /min) for MRR. The MRR increment rate (more than 100%) was observed at higher POT and lower POFT, SGV combined interaction. A combined interaction cause's more sparking time, melting, and va-    porization of material that will increase the MRR. In this plot, factor WS and WT show the flat line which is insignificant for MRR. SEM morphology of CP-Ti at higher POT and PC the sub-surfaces have appeared with a wavy pattern, micro-cracks, wider-deep craters, globules of debris as illustrated in Figures 4 and 5. This may be attributed to the reduced gap between the work and wire electrode during the spark, when the SGV is set at a lower value. The reduced gap results in higher sparking frequency and thus, the machining speed is improved. The present study revealed that higher MRR can be achieved at the lower SGV and POFT coupled with higher PC. An increase in discharge energy causes a pool of molten metal to be formed and overheated. The overheated molten metal evaporates, forming gas bubbles that explode when the discharge ceases, taking molten metal material away. The result is the formation of a crater. It has been observed that increasing the POT PC results in formation of deeper and wider craters, thus improving the MRR. Based on experimental results (as shown in Table 2), maximum MRR (11.16 mm 3 /min) was obtained when the parameters were set at POT = 1.1µs, POFT = 17µs, PC = 160A, SGV= 40V, WS = 7m/min and WT = 950 grams.

Results and discussion on the machined surface morphology
The quality of a machined surface is generally characterized by surface morphology which includes micro-cracks, heat affected zone, recast layer and phase transformations on the surface and subsurface regions. The surface properties might be altered due to effect of process parameters such as pulse on time, pulse off time, peak current and spark gap voltage. It was observed from SEM micrographs, (Figures 4, 5 and 6) that machined surface contained globules of debris, spherical particles, craters, pockmarks and micro-cracks. The POT (1.1µs) and PC (200A) were observed as the most  significant parameters affecting the surface properties. The increase in POT resulted in the formation of deep craters on the machined surface. These deep and overlapping craters were formed due to successive electrical discharge, intense heat transferred to the surface of the sample which caused local melting or evaporization of work material. Some of the molten material produced by the discharge was carried away by the deionized water. The remaining molten ma-terial re-solidified to form lumps of debris. During short POT, electric sparks produced small craters on work surface. During WEDM some of titanium particles protruded and completely dislodged from the machined surface as observed in Figure 6 (e-g) at higher values of POT (1.1µs) and PC (200A). Also the formation of spherical shape particles was observed and it may be due to surface tension of molten material. Matt surfaces with many fine nodules were also observed in Figure 6 (b). These nodules may be formed due to solidification of molten or vaporized titanium particles during machining. The more frequent melt expulsion resulted in the formation of deep and larger craters on the machined surface as shown in Figure 6(e). The main possible reason for deep and big craters is the oxidation reaction, the impulsive force of dielectric pressure concentrated on localized spark gap area. It was observed from Figure 6(d-f) that WEDM surfaces may also have macro-ridges as formed by melted material. This melted material was blasted out of the machined surface by the discharge pressure.

Optimization of MRR using desirability function and machine learning technique
The optimization was performed by numerical optimization and machine learning algorithm. The objectives are: maximize, minimize, target, within a range that applies to MRR [19,20,21]. In this work, the goal is set at a target to achieve the maximum MRR=11.16mm 3 /min. The weights were assigned for MRR (lower weight=0.2 and upper weight= 0.8).
A total of 10 best optimal solutions have been obtained after applying the desirability function as shown in Table 4. The overall combined desirability was observed closer to 1.000. Figure 7 shows the ramp and bar graph for achieving the optimal overall desirability. A dot was on ramp graph indicates the optimal solutions [26,27,28,29]. This section also describes the data analysis and predictions for MRR using a machine learning technique. In the first step data was imported from excel format and then giving the local namespace. After that data was analyzed using NumPy and Pandas. For an understanding of Pandas, the prerequisites for data structures is series and data frame [22,23,24,25]. It is shown in Table 5. The second step is to find co-relation between WEDM factors and performance measures. This can be done through the evaluation, visualization of the datasets. The output value for MRR has been observed with the help of the seaborn library. Heat map and co-relation matrix for each factor as shown in Table 6. In the third step data which is obtained from step-2 was preprocessed in machine learning libraries using sci-kit-learn. To train the model at a higher degree a polynomial regression algorithm was applied. The data was divided into two portions, 80% for training data and 20% for testing data. This is demon-strated in Table 7. In the final step, the trained model to predict the optimal data for MRR as shown in Table 8. Figure 8a shows the heat map and co-relation matrix for each dataset. Besides this algorithm which was applied to predict the optimal values for MRR as shown in Figure 8b. It shows a good agreement with the actual and predicted values.

Conclusions
Following conclusions have been drawn from the study: 1. It can be concluded that the POT increases MRR by (23%, 98%). During the decrease of POFT, as a result the MRR increase by (15%, 55%). While increasing of PC, observed an increment of MRR by (14%, 33%).
With an increase of SGV, MRR decreased by (8%, 17%). The interaction effect between the two factors has also shown a significant effect on MRR. 2. The surface morphology was studied using scanning electron microscope (SEM). It was observed that higher POT and PC deteriorated the surface morphology of machined samples. It resulted in the formation of deep and wide overlapping craters, pock marks, globules of debris and micro cracks. 3. The residuals of spherical nodules in free or compound form were observed near the heat affected zone. These nodules were developed due to thermal affects and surface tension. The spherical nodules were formed due to higher discharge energy and rapid quenching resulted in micro-cracks were formed. 4. SEM morphology of CP-Ti at higher POT and PC the sub-surfaces have appeared with a wavy pattern, micro-cracks, craters, globules of debris. It was observed that higher POT (1.1µs) and PC (200A) deteriorated the surface integrity of machined samples. Subsurface cracks, penetrating cracks have been mostly integrated with irregular spherical debris and craters. It is due to fast heating and quenching successions by spark and de-ionized water. 5. A 'Desirability' function was applied to obtain the optimal solutions. The overall desirability was observed to 1.00. The effect of WS and WT is insignificant on output responses. 6. The application of a supervised machine learning algorithm for optimization presented the good agreement with desirability function.

Funding information:
The authors state no funding involved.
Author contributions: All authors have accepted responsibility for the entire content of this manuscript and approved its submission.

Conflict of interest:
The authors state no conflict of interest.