Introduction

Electric discharge machining (EDM) process enables the precise cutting of difficult-to-machine materials such as metal matrix composites (MMC's), titanium alloys, tungsten carbide, and nitinol without tool breakage. EDM can be combined with other conventional and non-conventional processes, making it a versatile machining technique. EDM variants such as electric discharge drilling1, electric discharge milling, electric discharge grinding, electric discharge coating/deposition2, Powder mixed EDM (PMEDM)3, Rotary EDM (RT-EDM)4, magnetic field assisted EDM5, Rotary magnetic field assisted EDM6, Ultrasonic assisted EDM (USEDM)7, Rotary Ultrasonic assisted EDM8, Ultrasonic assisted cryogenically cooled copper electrode EDM (UACEDM)9, Abrasive jet assisted EDM (AJEDM)10, Rotary Abrasive jet-assisted EDM11, and Ultrasonic assisted water jet machining EDM12 are in practice. During EDM, material is removed through melting and evaporation, and the dielectric fluid then flushes away the debris. Thus, the choice of dielectric has a significant impact on the machined workpiece and process performance13. The dielectric fluid allows charged particles to flow to the opposite electrode after ionization in an oxygen-free environment. The viscosity, electrical conductivity, and thermal conductivity of the dielectric fluid determine the initiation of discharge, plasma extension, material degradation, debris clearance via bubble formation14, and discharge channel reconditioning in EDM13. Additionally, the dielectric must have sufficient strength to resist electrostatic fields.

The ISO 14,000 standard places great emphasis on sustainability in all manufacturing processes, including the use of sustainable production techniques that minimize waste, improve environmental performance, and ensure operator safety and health. In the context of EDM, the use of traditional dielectric fluids and high energy consumption pose significant obstacles to achieving sustainability objectives. These fluids, which are typically hydrocarbon-based (such as kerosene), release harmful substances (benzene and polycyclic aromatic hydrocarbons) into the environment in the form of aerosols15, thereby contributing to respiratory and skin problems as well as environmental pollution16. In addition, they are non-biodegradable, non-renewable and uneconomical.

Bio-diesel

In the literature, vegetable oils and water-in-oil emulsions have been cited as sustainable alternative dielectric media13. The oil extracted from plant seeds is biodegradable, non-toxic, environmentally friendly, and non-hazardous17. Dastagiri et al.18 showed that bio dielectrics, such as reused Palmolive oil, are significantly less expensive than commercial EDM oil. Additionally, the usage of bio-dielectric materials increases production efficiency besides being renewable19,20,21. Therefore, the use of such bio dielectrics should be encouraged in order to make the EDM process more sustainable and environmentally beneficial.

The available literature on vegetable oil-based bio dielectrics for EDM was therefore thoroughly examined. Various bio dielectrics have been used in the literature for electric discharge machining, such as tap water22, neem oil23,24, Jatropha BD19,20,21, Glycerin-air dielectric25, Polanga17, Palm oil26, Kusum oil27, Sun flower oil28, canola oil21, Pongamia oil29. According to certain studies, Jatropha oil, outperformed kerosene in terms of material removal rate (MRR), surface roughness (SR), and surface hardness19,20,21. Valaki et al.26 discovered that a bio-dielectric fluid based on palm oil had a 38% higher MRR and nearly the same surface hardness and roughness as kerosene oil. Mishra and Routara17 found that Polanga bio-dielectric oil enhances mean MRR by 0.86 times, improves surface finish by 16.64%, increases surface stiffness by 6.46%, and emits 17.33% less aerosol when compared to standard hydrocarbon dielectrics. According to Bajaj et al.27, Multiwall carbon nano tube (MWCNT) mixed in Kusum oil using rotary EDM, resulted in about 57.14% greater MRR and 54.57% lower surface roughness. Further, Das et al.30 examined 3 bio dielectrics and discovered that compared to kerosene oil, Neem oil-based bio-dielectric created 18% extra overcut and 40% further tapper cut, Canola oil-based bio-dielectric generates 12% less surface roughness, and Jatropha oil-based bio-dielectric generates 15% more MRR. Singh et al.31 demonstrated that Pongamia oil had superior MRR, electrode wear ratio (EWR), and surface roughness compared to Jatropha oil, whereas kerosene oil had the weakest performance metrics among the three dielectrics. It can be concluded that when compared to conventional dielectrics, virtually all bio dielectrics demonstrated improved machine characteristics. However, Khan et al.32 have reported that amongst all bio-oils, Waste Vegetable Oil (WVO) has the highest impact index of sustainability. WVO is the cheapest of all vegetable oils, has the highest conversion ratio and has the most economical process33. Hence Biodiesel based on waste vegetable oil was used as one of the bio dielectrics.

Bio-fuel

Literature also showed that using distilled water as dielectric34, resulted in superior machining conditions compared to hydrocarbon oil with a Ti–6Al–4 V workpiece and copper electrode. Similarly using Commercial water-based fluids, such as Elbolub (manufactured by Elotherm, Germany)35 resulted in 2–3 times higher MRR than conventional oil. Researcher have also found that adding organic compounds such as polyethylene glycol 60036, glycerine in high concentration37, urea38 in water also gave better results than convention dielectrics. However, to the best of authors knowledge, the literature does not reveal any investigation into the using distilled water mixed with certain percentage of ethanol as bio-dielectric.

The reason for using ethanol is that, Ethanol is one of the principal biofuels which is produced by fermentation of sugars or via Petro-chemical process. India, Brazil, and Indonesia are among few countries that produce ethanol from fermentation of sugar thereby making ethanol production as renewable with no significant emission of greenhouse gases (mainly CO2) and highly positive energy balance39. Indian government is highly focussed on increasing the production of ethanol from sugarcane as part of plan to introduce biofuels to the market to attain global decarbonization and net zero emissions as per The National policy on Biofuels 201840. Hence the government has taken all incentives to increase the supply of ethanol which is 332 crore litres in 2020–21 and is projected to 1016 crore litres in 2025–26. Uttar Pradesh is leading in the production of bio-Ethanol. Tsiropoulos et al.41 showed that compared to Brazilian ethanol, Indian ethanol causes lower or comparable greenhouse gas emissions (0.09–0.64 kg CO2eq/kg ethanol IN, 0.46– 0.63 kgCO2eq/kg ethanol BR), non-renewable energy use (− 0.3–6.3 MJ/kg ethanol IN, 1–4 MJ/kg ethanol BR), human health impacts (3.6·10−6 ALY/kg ethanol IN, 4·10−6 DALY/kg ethanol BR) and ecosystem impairment (2.5 PDF·m2·year/kg ethanol IN, 3.3 PDF·m2·year/kg ethanol BR) specially in the state of UP. In light of the enormous environmental benefits of ethanol and the Indian government's plans to dramatically boost its production in the near future, it would be prudent to employ it as a bio dielectric in EDM.

However it was observed that using pure Ethanol as bio-dielectric in EDM42 gave second best results when compared with Deionized water and kerosene oil with best results obtained by deionized water dielectric. The reason being pure ethanol (CH3CH2OH) has 51.7% carbon weight fraction, therefore, when a molecule of ethanol decomposes, it produces carbon content. The interelectrode gets contaminated by carbon which leads to short circuit and reduced machining efficiency. Besides pure ethanol has high evaporation rate. However distilled water is one dielectric fluid which does not contain any carbon42. Hence a solution of distilled water containing 10% ethanol was used as bio-dielectric. This solution resulted in the carbon percent of 5.17%. The viscosity and density being an important properties of dielectric13 were also largest at this ratio43.

Energy consumption

Regarding energy consumption, Gutowski et al.44 have shown that EDM requires high specific energy, approximately 30–50 times greater than that required by conventional machining processes, and offers slower machining rates, approximately 50–60 times slower than conventional processes. However, by optimizing the performance parameters, machining rates can be improved and energy consumption can be reduced. One such way is by rotating both electrodes of EDM which results in improved flushing conditions there by improved performance parameters45. However, it was observed in authors previous work, rotating both electrodes in opposite direction as same speed resulted in reduced performance parameters due to reduced flushing46. Hence it was decided to further examine the results of performance parameters when both electrodes were rotated in same direction, opposite direction and no rotation. Another way of optimizing performance parameters is the use of treated tool in place of normal tool. The use of cryogenically cooled tool electrodes47,48,49 resulted in higher MRR, lower electrode wear, better machining accuracy, and higher corner size machining accuracy than conventional EDM. Beside in the last work it was visible that at higher rpm of workpiece and tool rotation, rounding of the tool edges was observed which resulted in reduced machine accuracy46. Hence in order to improve tool wear resistance, strength, life and thermal stability it was decided to use a heat treated tool (HTT) by annealing and cryogenic treated tool(CTT) by cooling it in liquid nitrogen50.

Hence in order to shift EDM towards greener and more sustainable manufacturing process, it was decided to use bio-diesel, distilled water and 10% ethanol solution as bio-dielectric and treated copper tool as well as rotation of both electrodes. The novelty of work lies in the use of distilled water and 10% ethanol solution as bio-dielectric, heat treated copper tool and both electrodes rotation. Table 1 shows very limited literature has machined hybrid composites using EDM. Hence machining Al-10%SiCmicro-1%SiCnano workpiece with above set of process parameters also brings in some sort of novelty.

Table 1 Shows recent literature that has machined hybrid composites using EDM.

Objective

To investigate the impact of bio-dielectrics on the Al-10%SiCmicro -1%SiCnano hybrid composite using RT-RW-EDM along with treated copper tools.

Methodology

Al-10%SiCmicro-1%SiCnano hybrid MMC was used as workpiece. 27 samples of workpiece were prepared by powder metallurgy. Al micro powder and SiC micro powder were procured from CDH company. SiC nano powder was procured from GLR company. Initially 40 gm of Al powder was taken. Then SiC micro powder and SiC nano powder were taken as 10% and 1% of the total composite weight and mixed with Al powder in centrifugal ball milling machine (FRITSCH, Germany) at 700 rpm for 20 min with powder to ball ratio as 1:2. 1.5 gm of the mixed powder was taken and compacted in hydraulic press at 400 mpa. The same was sintered at 600 °C with a holding time of 45 min in an inert gas environment. The manufactured tablets as shown in Fig. 1.

Fig. 1
figure 1

Shows Al-10%SiCmicro -1%SiCnano MMC.

Biodiesel was trans-esterified from waste cooking oil (usually mustard oil) using methanol and KoH60. Waste cooking oil was collected from various large gatherings functions such as marriage functions where huge amount of cooking oil is left as waste. Hence collecting waste cooking oil was free of cost. Waste cooking oil was then heated to about 50 °C and 8 L of methanol, 400 gm of KOH were added. The temperature of mixture was maintained for 1 h to obtain 40 L of biodiesel. Similarly, 40 L of distilled water was taken and 4 L of ethanol was purchased from chemical shop and mixed to obtain distilled water -10%ethanol bio dielectric. Table 2 presents the cost analysis of all the three dielectrics used in the study.

Table 2 Depicts the cost of all three dielectrics.

Three copper tools were machined with diameter of 8 mm. one copper tool was kept as it is ie non treated tool (NTT). Another copper tool was heat treated (HTT) to 600 °C with a holding time of 30 min and cooled in furnace (annealed). Same was done to third tool along with cryogenic treatment (CTT) at − 196 °C for 24 h by putting it in liquid nitrogen container as shown in Fig. 2. The same tool was then tempered at 200 °C for 2 h. The experiments were carried out using an ISO pulse generator EDM system shown in Fig. 3.

Fig. 2
figure 2

Shows non treated cu tool, heat treated cu tool and cryogenic treated cu tool.

Fig. 3
figure 3

Depicts the Electric discharge machine used in the experiment.

Experimental setup

The modified variant of EDM namely RT-RW-EDM comprised of rotary tool setup and rotary workpiece set up as shown in Fig. 4. The rotary tool setup was designed using electric motor/motor drive, pulley and belt drive, tool holder and steel platform with bearing fixed in between the latter two. The point of contacts of motor drive to steel platform were insulated to prevent flow of charges to the motor from cathodic tool. The same is shown in Fig. 5. The rotary workpiece setup was designed using electric motor/ motor drive, aluminium workpiece holder and chain and socket placed connecting them along with three ball bearings holding the workpiece and motor shaft in place. They were placed on a wooden platform to avoid the transfer of charges to motor. The workpiece holder was connected to anodic base of EDM tank with the help of a wire. The workpiece rotary setup is shown in detail in Fig. 6. The EDM dielectric storage tank was replaced with smaller size tank with a dessert cooler pump for pumping the dielectric in the machining area Fig. 7. The distilled water with 10% ethanol mixture and biodiesel prepared from waste vegetable oil were placed in the smaller tank and pump into the machining area using desert cooler pump. The rotation direction of both electrodes was varied as same direction of both, opposite direction of both and no rotation of both. The non-treated, heat treated and cryogenic treated copper tools were used.

Fig. 4
figure 4

Shows the RT-RW-EDM.

Fig. 5
figure 5

Shows rotary tool setup used in RT-RW-EDM.

Fig. 6
figure 6

Shows rotary workpiece setup used in RT-RW-EDM.

Fig. 7
figure 7

Shows temporary arrangement made for bio-dielectrics.

Equipment’s used

Design of experiment

Full factorial l27 orthogonal array was used for design of experiment. Process parameters selected were both electrodes rotation – as opposite direction rotation of both tool, same direction rotation of both tools and no rotation of both tools. Three dielectric – EDM oil, Biodiesel made from waste cooking oil (mustard oil) and distilled water with 10% ethanol mixed. Three tool – non treated Cu tool, heat-treated Cu tool and cryogenically treated cu after heat-treated, Machining was done on at 311 µs pulse on time and 6-amp pulse current61. The rotation of workpiece was kept as 900 rpm and rotation of tool was kept as 500 rpm46. MRR, TWR and SR were measured as performance parameters.

The material removal rate was calculated using Eq. (1). The initial and final weight of workpiece were measured on digital weighing machine having a precision of 10–5 gm. A stopwatch was used for measuring machining time. The density of the composites was calculated using the Archimedes principle.

$$MRR=\frac{intial \;weight-final \;weight}{Density*Machining \;time}$$
(1)

The Tool wear rate was calculated using Eq. (2). The weight of tool before and after machining were measured on digital weighing machine and machining time was recorded on stop watch.

$$TWR=\frac{intial \;weight-final\; weight}{Density*Machining\; time}$$
(2)

The surface roughness was measured from portable Handy Surf (E-35A, Carl Zeiss) as shown in Fig. 8. Three copper tools were tested for microhardness-on-microhardness tester as shown in Fig. 9 and wear test on Pin on wear disc wear tester (Ducom, Model No: TR-201 CL, Bangalore, India) as shown in Fig. 10. Surface morphology images of machined samples62,63,64 were taken from JSM-6510LV make SEM machine in USIF lab AMU as shown in Fig. 11.

Fig. 8
figure 8

Show Handy surf measuring surface roughness on the Al-10%SiCmicro-1%SiCnano tablet.

Fig. 9
figure 9

Shows the microhardness testing machine.

Fig. 10
figure 10

Shows Pin on disc wear tester.

Fig. 11
figure 11

Shows JSM-6510LV make SEM machine in USIF lab AMU.

The results obtained were analysed through main effect, interaction plots, ANOVA and graphs. Predictive modelling in terms of regression analysis and multi objective optimization using grey relational analysis were also carried out.

Grey relational analysis

Grey relational analysis (GRA) provides an effective method for finding optimized solutions when dealing with conflicting responses. This approach offers the potential to validate multiple parameters while mitigating the shortcomings commonly associated with traditional statistical analyses65. Hence GRA was used to optimize the experimental results as shown in Table 5. GRA has following steps.

1. Data is converted to signal to noise ratio which are then normalized between 0 and 1. Larger the better case Signal to noise ratio formulae is used for MRR as shown in Eq. (6) and smaller the better formulae is used for TWR and SR as shown in Eq. (4).

$$nij=-10\text{log}\left(\frac{1}{n}\sum_{j=1}^{n}\frac{1}{yi{j}^{2}}\right)$$
(3)
$$nij=-10\text{log}\left(\frac{1}{n}\sum_{j=1}^{n}yi{j}^{2} \right)$$
(4)

where n is the number of tests, Yij is the ith experiment at jth test.

The MRR reading are than normalized using the higher the better formula as shown in equation (5) and TWR, SR, Dilation in hole diameter and Hole taper are normalized using lower the better formula as shown in equation (6).

$${\text{xi}}^{*}\left(\text{k}\right)= \frac{\text{xi }\left(\text{k}\right)-\text{min xi }\left(\text{k}\right)}{\text{max xi }\left(\text{k}\right)-\text{min xi }\left(\text{k}\right)}$$
(5)
$${\text{xi}}^{*}\left(\text{k}\right)= \frac{\text{max xi }\left(\text{k}\right)-\text{xi}(\text{k})}{\text{max xi }\left(\text{k}\right)-\text{min xi }\left(\text{k}\right)}$$
(6)

where xi*(k) is the value obtained after normalization, max xi is the largest value, min xi is the smallest value and xi(k) is the target value from the experiment. These results are shown in Table 7.

2. Grey relational coefficient is calculated using formula shown in Eq. (7).

$${\xi }_{i}\left[k\right]=\frac{\Delta \text{min}+\xi \Delta max}{{\Delta }_{0}+\xi \Delta max}$$
(7)

where Δ0 is the deviation sequence of the reference sequence x0*(k) and the comparability sequence xi*(k) as shown in equation (8).

$$\Delta o=|\left|x{0}^{*}\left(k\right)-x{i}^{*}\left(k\right)\right||$$
(8)
$$\Delta \text{max}=\text{max}\;max|\left|x{0}^{*}\left(k\right)-x{i}^{*}\left(k\right)\right||$$
(9)
$$\Delta \text{min}=\text{min}\;min|\left|x{0}^{*}\left(k\right)-x{i}^{*}\left(k\right)\right||$$
(10)

ξ is distinguishing or identification coefficient: ξ [0,1]. ξ is generally taken as 0.5.

3. The average of the grey relational coefficient is calculated as the grey relational grade (yi) as shown in Eq. (11).

$$yi=1/n\sum_{k=1}^{n}{\xi }_{i}\left[k\right]$$
(11)

Results

The machining of Al-10%SiCmicro-1%SiCnano using different process parameters was performed as shown in Fig. 12. Three different dielectrics used are shown in Fig. 12. The machined samples are shown in Fig. 13. It is also visible that EDM oil and biodiesel left more carbon on the machined surface and distilled water with 10% ethanol provided much cleaner machined surface due to its lesser carbon content in same figure. The elemental compositions of samples are shown in Tables 3, 4 and Fig. 14. EDX results shows the presence of Al (68.77%) and Si (10.98%) in the surface of 23rd sample. These results confirm the content of the Al-10%SiCmicro-1%SiCnano hybrid composites. The experimental results are displayed in Table 5.

Fig. 12
figure 12

Shows EDM using different dielectrics as well as different rotation of tool and workpiece.

Fig. 13
figure 13

Shows machined Al-10%SiCmicro-1%SiCnano hybrid composite.

Table 3 Shows different properties of Copper Tool.
Table 4 Shows the elemental composition of 23 workpiece sample.
Fig. 14
figure 14

Shows the EDX test performed on 23 sample.

Table 5 Showing experimental results.

Main effect plot

The main effect plot on the basis of mean and S/n ratio are shown in Figs. 15, 16, 17, 18, 19 and 20.

Fig. 15
figure 15

Shows main effect plot for MRR (mean).

Fig. 16
figure 16

Shows main effect plot for MRR (S/N ratio).

Fig. 17
figure 17

Shows main effect plot for TWR (mean).

Fig. 18
figure 18

Shows main effect plot of TWR (S/N ratio).

Fig. 19
figure 19

Shows main effect plot for SR (mean).

Fig. 20
figure 20

Shows main effect plot for SR (S/N ratio).

ANOVA

Interaction plot

The interaction plots are shown in Figs. 21, 22 and 23.

Fig. 21
figure 21

Shows interaction plot for MRR.

Fig. 22
figure 22

Shows the interaction plot for TWR.

Fig. 23
figure 23

Shows interaction plot for SR.

Scanning electron microscope

Scanning electron microscope (SEM) images of machining using distilled water having 10% ethanol are shown in Fig. 24. SEM images of machining using EDM oil dielectric are shown Fig. 25. SEM images of machining using biodiesel dielectric are shown in Fig. 26. Small craters are visible in all SEM images due to evacuation of SiC particles. Since reinforcement particles such as SiC have high melting temperature which is not attainable in EDM. As result these particles evacuate their places once the melting temperature of matrix material (Al) is reached, leaving behind small craters. Also, lot of resolidified globules of matrix are visible in most SEM images. Size of globules seems to be larger when composite is machined using biodiesel followed by EDM oil and Biofuel. SEM image of the tools is shown in Figs. 27, 28 and 29.

Fig. 24
figure 24

SEM image of Al-10%SiCmicro-1%SiCnano hybrid composite machined using Bio fuel as Dielectric.

Fig. 25
figure 25

SEM image of Al-10%SiCmicro-1%SiCnano hybrid composite machined using EDM oil as Dielectric.

Fig. 26
figure 26

SEM image of Al-10%SiCmicro-1%SiCnano hybrid composite machined using Biodiesel as Dielectric.

Fig. 27
figure 27

Shows SEM image of cryogenic treated tool.

Fig. 28
figure 28

Shows SEM image of heat-treated tool.

Fig. 29
figure 29

Shows SEM image of non-treated tool.

Empirical model

The current work involved the development of empirical models using general regression analysis for all performance characteristics, based on the experimental results obtained. This approach has been employed by many researchers previously66,67,68. The model's performance was evaluated using MRR, TWR, and SR, with R2 values of 96.87%, 94.79%, and 90.27%, respectively. To assess the effectiveness of the proposed multivariate approach, a residual analysis was conducted to verify the model's adequacy. The data was found to be normally distributed, and the homogeneity of MRR data was confirmed in the fitted plot. The normal probability plot of the standardized residual, standardized residual versus observation order, fitted value, and histogram are shown in Figs. 30, 31 and 32. These figures indicate that there are no outliers, and the process follows a normal distribution. The straight-line pattern of the residual points in the normal probability plot suggests that the proposed model fits the data well. Furthermore, the standardized residuals and observation orders do not exhibit any pattern or structure, as evident from Figs. 30, 31 and 32. Overall, it can be concluded that the recommended model performs satisfactorily.

Fig. 30
figure 30

Shows residual plots for MRR.

Fig. 31
figure 31

Shows residual plots for TWR.

Fig. 32
figure 32

Shows residual plots for SR.

The regression equations are shown in Eqs. (12), (13) and (14) where Opposite direction rotation of both electrodes is denoted as Ro, Same direction rotation of both electrodes is denoted as Rs, no rotation of both electrodes is denoted as Rn, Distilled Water- 10% ethanol is denoted as DE, Biodiesel is denoted as BD, EDM oil is denoted as EO.

$$\begin{gathered} {\text{MRR }} = { 2}0.{824 } + { 2}.{\text{845 R}}_{{\text{o}}} - { 2}.{\text{198 R}}_{{\text{s}}} - \, 0.{\text{646 R}}_{{\text{n}}} - \, 0.{\text{528 CTT }} + { 1}.{7}0{\text{3 HTT }} - { 1}.{\text{175 NTT }} - \, 0.{\text{462 BD }} + { 5}.{\text{277 EO }} - { 4}.{\text{814 DE }} - { 5}.{\text{87 R}}_{{\text{o}}} *{\text{ CTT }} + \hfill \\ {1}.{\text{99 R}}_{{\text{o}}} *{\text{ HTT}} + { 3}.{\text{87 R}}_{{\text{o}}} *{\text{NTT }} + { 1}.{\text{59 R}}_{{\text{s}}} *{\text{CTT}} - \, 0.{9}0{\text{ R}}_{{\text{s}}} *{\text{HTT }} - \, 0.{\text{68 R}}_{{\text{s}}} *{\text{ NTT }} + { 4}.{\text{28 R}}_{{\text{n}}} *{\text{CTT }} - { 1}.0{\text{9 R}}_{{\text{n}}} *{\text{HTT}} - { 3}.{\text{19 R}}_{{\text{n}}} *{\text{NTT }} + \, 0.{\text{33 R}}_{{\text{o}}} *{\text{BD}} - \hfill \\ {4}.{\text{65 R}}_{{\text{o}}} *{\text{EO}} + { 4}.{\text{32 R}}_{{\text{o}}} *{\text{WE}} + { 4}.{\text{23 R}}_{{\text{s}}} *{\text{ BD }} - { 11}.{\text{17 R}}_{{\text{s}}} *{\text{EO }} + { 6}.{\text{94 R}}_{{\text{s}}} *{\text{ WE}} - { 4}.{\text{56 R}}_{{\text{n}}} *{\text{BD }} + { 15}.{\text{81 R}}_{{\text{n}}} *{\text{EO }} - { 11}.{\text{25 R}}_{{\text{n}}} *{\text{WE }} - { 3}.{\text{86 CTT}}*{\text{ BD }} + { 4}.{52} \hfill \\ {\text{CTT}}*{\text{EO }} - 0.{\text{65 CTT }}*{\text{ WE }} - { 2}.0{\text{6 HTT}}*{\text{BD }} + { 1}.{\text{99 HTT}}*{\text{EO}} + \, 0.0{\text{8Htt}}*{\text{ WE }} + { 5}.{\text{93 NTT}}*{\text{ BD}} - { 6}.{\text{51 NTT}}*{\text{EO }} + \, 0.{\text{58 NTT}}*{\text{WE}}. \hfill \\ \end{gathered}$$
(12)
$$\begin{gathered} {\text{TWR }} = \, 0.{2125 } + \, 0.0{\text{177 R}}_{{\text{o}}} + \, 0.0{\text{236 R}}_{{\text{s}}} - \, 0.0{\text{413R}}_{{\text{n}}} - \, 0.00{\text{35 CTT }} + \, 0.00{\text{97 HTT }} - \, 0.00{\text{62 NTT }} - \, 0.{\text{1172 BD }} - \, 0.0{\text{661 EO }} + \, 0.{\text{1833 WE}} + \hfill \\ 0.0114 \, R_{o} *CTT \, - \, 0.0156 \, R_{o} *HTT + \, 0.0042 \, R_{o} *t \, - \, 0.0511 \, R_{s} *CTT + \, 0.0462 \, R_{s} *HTT \, + \, 0.0048 \, R_{s} *NTT + \, 0.0397 \, R_{n} *CTT \, - \, 0.0307 \, R_{n} *HTT - \hfill \\ 0.0090 \, R_{n} *NTT \, - \, 0.0514 \, R_{o} *BD \, - \, 0.0121 \, R_{o} *EO \, + \, 0.0635 \, R_{o} *WE \, - \, 0.0086 \, R_{s} *BD + \, 0.0164 \, R_{s} *EO \, - \, 0.0078 \, R_{s} *WE \, + \, 0.0601 \, R_{n} *BD \, - \, 0.0044 \hfill \\ R_{n} *EO \, - \, 0.0557 \, R_{n} *WE \, - \, 0.0048 \, CTT* \, BD \, - \, 0.0388 \, CTT*EO \, + \, 0.0436 \, CTT*WE \, + \, 0.0286 \, HTT* \, BD \, + \, 0.0757 \, HTT* \, EO \, - \, 0.1042 \, HTT*WE \hfill \\ - \, 0.0237 \, NTT* \, BD \, - \, 0.0369 \, NTT*EO \, + \, 0.0606 \, NTT*WE. \hfill \\ \end{gathered}$$
(13)
$$\begin{gathered} {\text{SR }} = { 2}.{6944 } - \, 0.{\text{3111R}}_{{\text{o}}} - \, 0.{2}0{\text{56R}}_{{\text{s}}} + \, 0.{\text{5167R}}_{{\text{n}}} + \, 0.{\text{1222 CTT }} - \, 0.{125}0{\text{ HTT }} + \, 0.00{\text{28 NTT }} - \, 0.0{\text{139 BD }} - \, 0.{\text{1694 EO }} + \, 0.{\text{1833 WE}} + \, 0.00{3} \hfill \\ {\text{R}}_{{\text{o}}} *{\text{CTT }} + \, 0.{\text{183R}}_{{\text{o}}} *{\text{HTT}} - \, 0.{\text{186R}}_{{\text{o}}} *{\text{NTT }} - \, 0.{1}0{\text{3R}}_{{\text{s}}} *{\text{CTT }} - \, 0.0{\text{39R}}_{{\text{s}}} *{\text{HTT }} + \, 0.{\text{142R}}_{{\text{s}}} *{\text{NTT}} + \, 0.{1}00{\text{ R}}_{{\text{n}}} *{\text{CTT }} - \, 0.{\text{144 R}}_{{\text{n}}} *{\text{HTT }} + \, 0.0{44} \hfill \\ {\text{R}}_{{\text{n}}} *{\text{NTT }} - \, 0.0{\text{19R}}_{{\text{o}}} *{\text{BD }} + \, 0.{\text{319R}}_{{\text{o}}} *{\text{EO}} - \, 0.{3}00{\text{R}}_{{\text{o}}} *{\text{WE}} + \, 0.{\text{267R}}_{{\text{s}}} *{\text{BD }} + \, 0.0{\text{22R}}_{{\text{s}}} *{\text{EO }} - \, 0.{\text{289 R}}_{{\text{s}}} *{\text{WE}} - \, 0.{\text{247 R}}_{{\text{n}}} *{\text{BD }} - \, 0.{\text{342 R}}_{{\text{n}}} *{\text{EO }} + \, 0.{589} \hfill \\ {\text{R}}_{{\text{n}}} *{\text{WE }} - \, 0.0{\text{11 CTT}}*{\text{BD }} - \, 0.{2}0{\text{6 CTT}}*{\text{ EO }} + \, 0.{\text{217 CTT}}*{\text{ WE}} - \, 0.{\text{264 HTT}}*{\text{ BD }} + \, 0.{\text{175 HTT}}*{\text{ EO}} \hfill \\ + \, 0.0{\text{89 HTT}}*{\text{ WE }} + \, 0.{\text{275 NTT}}*{\text{ BD}} + \, 0.0{\text{31 NTT}}*{\text{ EO }} - \, 0.{3}0{\text{6 NTT}}*{\text{ WE}}. \hfill \\ \end{gathered}$$
(14)

Discussion

In order to improve sustainability in the EDM process, this study utilized biodiesel and Bio-fuel (a mixture of distilled water and 10% ethanol) as bio dielectrics. Additionally, the study explored the impact of process parameters, such as the direction of rotation for both electrodes (same direction, opposite direction, or no rotation), on the performance parameters of EDM. Further, three types of copper tools were used, including a non-treated copper tool, a heat-treated (annealed) copper tool, and a cryogenically treated copper tool. The novelty of this work lies in the use of both electrode rotation, the use of bio-fuel (distilled water mixed with 10% ethanol) as a bio dielectric, and the use of heat-treated copper tools. The workpiece used in this study was Al-10%SiCmicro-1%SiCnano, which was prepared using powder metallurgy processes.

Efficient flushing is critical for effective machining, and it is well-known that the frequency of bubbles formed during the process is a key factor in achieving this Ref.14. The size of the bubbles depends on the viscosity of the dielectric being used, with biodiesel having the highest viscosity and a distilled water and ethanol mixture having the lowest. Consequently, larger bubbles were observed in biodiesel, while the smallest bubbles were formed in distilled water with 10% ethanol mixture. The purplish colour of the flames observed in the latter case was due to the reducing nature of ethanol as seen in Fig. 12. When the tool and workpiece were rotated in opposite directions, the highest number of bubbles were observed, which were also larger in size. Conversely, no rotation resulted in smaller bubbles, and resultantly more material deposition was observed on the tool. When the tool and workpiece were rotated in the same direction, medium-sized bubbles were observed as shown in Fig. 33.

Fig. 33
figure 33

Shows bubbles during EDM.

Bio-dielectrics

According to ANOVA Table 6, Dielectrics contributed 14% to the MRR and had a significant impact on it (p < 0.05). From the main effect plot of MRR (Figs. 15, 17), it was observed that the EDM oil provided the highest MRR followed by Biodiesel and Distilled water mixed with 10% ethanol. However, literature indicates that biodiesel typically yields more MRR than conventional oil23,60. This is because the high viscosity of biodiesel hampers the expansion of the generated bubbles created in the discharging zone, resulting in higher pressure over the discharge zone, which increases the impulsive force acting on the machined surface due to the contraction and expansion of the discharge-generated bubbles. Therefore, biodiesel provides higher energy density and more efficient energy transfer between electrodes, leading to higher MRR. The same can be seen in Fig. 33.

Table 6 Shows ANOVA results.

By analysing each reading of MRR in Fig. 34, it was found that for most experiments, biodiesel and Distilled water mixed with 10% ethanol provided better readings than EDM oil, except in the case of no rotation. For the no rotation case, the use of the built-in flushing system/pump provided much better flushing/debris removal, leading to more visible MRR for EDM oil. However, the secondary/makeshift flushing arrangements made for biodiesel could not provide the same flushing rate, partially due to the high viscosity of the biodiesel being used, resulting in inefficient flushing and a lower MRR. For the case of distilled water mixed with 10% ethanol, least viscosity and lower probability of oxidation should also lead to improved machining efficiency. However, in this case, MRR readings were reduced for the no rotation case due to machining error, resulting in a lack of visible sparks during machining. Overall, on average, EDM oil provided the most MRR (Fig. 15), but for 6 out of 9 experiments, both bio-dielectrics outperformed EDM oil in terms of MRR.

Fig. 34
figure 34

Shows the MRR obtained from each dielectric.

From ANOVA Table 6 it was observed that Dielectric contributed 69% to TWR Dielectrics also significantly affected TWR (p < 0.05). Valaki et al.33 also achieved similar results. From main effect plot of TWR Fig. 17 it was observed that EDM oil gave second most TWR. Biodiesel gave least TWR as Biodiesel made from waste vegetable oil (mustard oil) has higher flash point, more viscosity and better lubricating properties than EDM oil which results in reduced arcing, hence reduced TWR33. Distilled water mixed with 10% ethanol gave most TWR. From Fig. 35 same thing is observed for most of the experiments.

Fig. 35
figure 35

Shows TWR obtained for each experiment.

The ANOVA Table 6 revealed that Dielectric contributed 5.89% to SR. Based on the main effect plot of SR depicted in Fig. 20, it was evident that the EDM oil had the least SR. The second larger SR was observed for biodiesel, which could be attributed to its higher viscosity that caused greater resistance in the expansion of bubbles generated during the process. This led to higher pressure and impulse force acting on the surface, resulting in a rougher surface texture. On the other hand, the use of distilled water mixed with 10% ethanol as a dielectric resulted in the highest SR.

From Fig. 36 it was observed that biodiesel and EDM oil gave similar SR reading for most experiment but Distilled water mixed with 10% ethanol gave least SR for 6 out of 9 experiments. However, in case of no rotation experiments, the SR obtained from Distilled water with 10% ethanol was high which can be attributed to abnormal sparking observed due to some machining error. Besides the use of Distilled water with 10% ethanol dielectric produced much cleaner machined surfaces as shown in Fig. 13. Since distilled water with 10% ethanol has only 5.71% carbon which was much less than other two dielectrics. At high temperatures the carbon debris creation is much less due decomposition of hydrocarbon-based dielectrics, resulting in stable, clean and efficient discharging process and generation of a smoother surface23. Also, lowest viscosity of distilled water with 10% ethanol dielectrics should encourage the occurrence of multi-discharging which leads to more distribution of discharging energy in discharging zone and consequently craters with shallower depths are created resulting in smother surface topography. Also, in Distilled water mixed with 10% ethanol the expansion of bubbles is less restricted due to dielectric’s extremely low viscosity and density Accordingly, the pressure over the discharge zone could experience a much more fluctuation and faster expansion speeds of the bubbles. Therefore, least SR in 6 out of 9 cases was obtained from Distilled water with 10% ethanol dielectric.

Fig. 36
figure 36

Shows SR obtained for each experiment.

It can be concluded that Biodiesel produced the highest MRR but the lowest TWR. Valaki and rathod33 obtained similar results. Bio-fuel (distilled water blended with 10% ethanol) resulted in the lowest SR. Hence cleaner, greener and more environmentally friendlier as well as healthier solution of using bio-dielectrics such as biodiesel from waste cooking oil and bio-fuel (distilled water with 10% ethanol) for improving sustainability of EDM process passed successful trials for operational feasibility assessments as well.

Both electrodes rotation

Table 6 shows that rotation of both electrodes contributed 3.71% to MRR and also significantly affected MRR. From main effect plot of signal to noise ratio for MRR Fig. 16 it was observed that opposite direction rotation of both electrodes gave most MRR followed by same direction rotation of both electrodes and no rotation of both electrodes. Table 6 shows that rotation of both electrodes contributed 3.46% to TWR. From main effect plot of signal to noise ratio for TWR Fig. 18 it was observed that no rotation of both electrodes produces least TWR followed by opposite direction rotation of both electrodes and same direction rotation of both electrodes. Table 6 shows that rotation of both electrodes contributed 38.30% to SR and also significantly affected the SR. From main effect plot of signal to noise ratio for SR Fig. 20 it was observed that opposite direction rotation of both electrodes produced least surface roughness followed by same direction and no rotation of both electrodes.

The simultaneous rotation of both electrodes in a dielectric environment creates a whirl effect68. However, if the electrodes rotate in opposite directions, a whirl effect equivalent to the relative velocity of the both electrodes is produced. The rotation of tool and workpiece also generates centrifugal force on debris particles69, causing them to be expelled from their respective electrodes. However since the debris particles are very small in size (185-199 nm)42 the centrifugal force acting on them will also be small. This debris behaves as colloidal particles in dielectric which acquires charge by adsorbing the dissociated ions. Hence the charged debris will move toward oppositely charged electrodes under the influence of electrophoresis. Since comparatively more debris is removed from workpieces, after initial outward throw, debris will move toward tool under electrophoresis having the motion same as the dielectric whirl70. However, the opposite direction rotation of the tool prevents the adsorption of debris on the tool, due to centrifugal force generated. This prevents the adsorption of debris to the tool. Also, since workpiece rotation is 900 rpm which is larger than tool rotation i.e., 500 rpm hence the whirl in dielectric will in the direction of workpiece rotation. Opposite direction rotation of tool, will force the tool to drag against the dielectric whirl, thereby further removing debris accumulation on tool and creating a sort of self-cleaning of the tool. Any debris moving toward workpiece piece, will be thrown away by larger whirl force in the dielectric. The improved flushing of debris enhances the stability of the process and increases the number of normal discharges, resulting in a better spark and increased MRR and decreased TWR and SR. The same is demonstrated in the Fig. 37.

Fig. 37
figure 37

Shows debris movement in case of opposite direction rotation of both electrodes.

When both electrodes are rotated in the same direction, a whirl is created in the dielectric medium, which corresponds to the rotation of the workpiece electrode with a higher rpm. The debris generated by sparking, experiences an outward centrifugal force due to the rotation of the electrodes. However since the debris particles are very small in size (185–199 nm)42 the centrifugal force acting on them will also be small. This debris behaves as colloidal particles in the dielectric medium and gets charged by adsorbing dissociated ions. As a result, the charged debris moves towards the oppositely charged electrode, either the cathode or anode. Since more debris is removed from the workpiece, it initially moves outward but then moves towards the tool under electrophoresis, following the motion of the dielectric whirl70.

Tool wear provides a larger space for debris accumulation70, and rotating the tool in the same direction at lower speeds does not provide an outward force to the debris. Therefore, the debris is easily adsorbed onto the tool surface. Moreover, the drag of the tool against the whirl is equal to its relative velocity, resulting in less self-cleaning. Hence, less flushing occurs when both electrodes are rotated in the same direction with the tool rotation being smaller than the workpiece rotation, resulting in inadequate debris flushing, more short-circuiting, and arc discharge. Consequently, the MRR is lower, and the TWR and SR are higher than when both electrodes are rotated in opposite directions.

However, further experiments are required with a higher tool rotation than workpiece rotation to reject the same direction rotation of both electrodes' performance parameters in favour of opposite direction rotation. Figure 38 illustrates the above phenomenon.

Fig. 38
figure 38

Shows the debris movement in case of same direction rotation of both electrodes.

Rotating both electrodes during the machining process can lead to improved surface finish due to the constant changing of the spark gap, resulting in a more evenly distributed electric discharge. In particular, the use of opposite direction rotation has been found to be more effective in providing a better surface finish compared to same direction rotation. This is attributed to the improved flushing of debris, which prevents remelting of debris during the next discharge and sticking onto the work surface68. Additionally, opposite direction rotation provides new peaks for the tool to generate sparks at a faster relative speed, resulting in better distribution of sparks and a more uniform surface finish. Furthermore, rotating both electrodes can also prevent the occurrence of cracks and other defects during the machining process, thereby maintaining the surface integrity. It also reduces electrically conductive residues which can cause contamination and affect accuracy of machining process. Hence it can be concluded that by rotating both electrodes, improved accuracy, efficiency, productivity and uniformity of the machined surface is obtained.

Copper tool treatment

Annealing the copper tool made the copper softer, more ductile, malleable and uniform in structure with increased grain size as shown in Table 3. The colour of the tool changed to blackish/ dark reddish due to the formation of copper oxide on the surface. Also, electrical conductivity is reduced. Cryogenically cooling the copper tool and then again heating it for 200°c for 2 h (tempering) made the tool. Further soft and more porous as heat causes the cu to expand and creates microcracks on the surface as in Table 1. Cryogenic treatment also improves electrical and thermal conductivity of tool material71.

Table 6 indicated that the impact of tool treatment on MRR was minimal, accounting for only 1.26% of the total variation. In Fig. 16, the main effect plot for MRR (signal-to-noise ratio) revealed that cryogenically treated tools (CTT) exhibited the highest MRR, followed by heat-treated tools (HTT) and non-treated tools (NTT). This finding suggests that softer tools, such as CTT generated more MRR than harder tools like NTT, which is consistent with the results reported by Rahul et al.48. Furthermore, T. Muthuramalingam and B. Mohan72 demonstrated that tools with higher electrical conductivity produced greater MRR due to the increased flow of charges. Cryogenic treatment enhances the electrical and thermal conductivity of tool materials71, leading to improved MRR performance. The application of cryogenically cooled tool electrodes47,48,49 has also yielded higher MRR results in literature also.

Table 6 reveals that the contribution of tool treatment towards TWR was found to be minimum, accounting for only 0.19%. The main effect plot for TWR, as depicted in Fig. 18 illustrates that the lowest TWR was observed in the case of NTT, followed by CTT and HTT, with NTT being the hardest tool. This is primarily due to the fact that the thermal conductivity of the tool has a direct impact on TWR, with higher thermal conductivity leading to higher TWR. Cryogenically cooled tool electrodes have been found to give reduced TWR47,48,49,73 in literature. Cryogenic treatment leads to a significant improvement in the electrical and thermal conductivity of the tool material71, facilitating enhanced heat dissipation through the tool electrode and thereby reducing tool wear.

However, carbon debris production from decomposition of hydrocarbon-based dielectrics at high temperatures hinders the stable and efficient discharging process. Additionally, the carbon is deposited on the tool, which is more pronounced when no rotation is used. Hence TWR was small due to the carbon deposition on tool after EDM as well as dielectric absorption by the tool due to tool porosity.

Table 6 showed that tool treatment was the most contributing factor for SR (2.88%). From the main effect plot for SR (signal to noise ratio) Fig. 20 it was observed that lowest SR was obtained by HTT followed by NTT and CTT.

Interaction of process parameters

Figure 21 show that the interaction between dielectric and rotation of both electrodes, dielectric and tool treatment and rotation of both electrodes and tool treatment had combined effect on MRR. Table 6 shows that all the above interaction significantly affected MRR with dielectric and rotation of both electrodes contributing 58.28% followed by dielectric and tool treatment contributing 11.29% and rotation of both electrodes and tool treatment contributing 8.05% to MRR. Regarding biodiesel MRR was maximum for opposite direction rotation of both electrodes and non-treated tool. In EDM oil, maximum MRR was achieved by no rotation of both electrodes and cryogenic-treated copper tool. In Distilled water plus 10% ethanol maximum MRR was achieved by opposite direction rotation of both electrodes and Heat-treated copper tool. Similarly for cryogenic treated tool no rotation gave maximum MRR, Heat treated tool and non-treated tool opposite direction rotation of both electrodes gave maximum MRR.

Figure 22 show that the interaction between dielectric and rotation of both electrodes, dielectric and tool treatment and rotation of both electrodes and tool treatment had combined effect on TWR. Table 6 shows that only dielectric and tool treatment interaction significantly affected TWR with most (11.84%) contribution to TWR. Regarding biodiesel, non-treated tool gave least TWR, EDM oil cryogenic treated tool gave least TWR and Distilled water plus 10% ethanol Heat treated tool gave least TWR.

Figure 23 show that the interaction between dielectric and opposite/same direction rotation of both electrodes, dielectric and tool treatment and opposite/same direction rotation of both electrodes and tool treatment had combined effect on SR. Table 6 shows that only dielectric and rotation of both electrodes interaction significantly affected SR with most contribution (27.43%) to SR. Regarding biodiesel SR was least for opposite direction rotation of both electrodes. In EDM oil, least SR was achieved by same direction rotation of both electrodes. In Distilled water plus 10% ethanol least SR was achieved by opposite direction rotation of both electrodes.

Table 7 displays the calculated Grey relational grade (GRG) coefficient. It was discovered that distilled water plus 10% ethanol as dielectric, cryogenic treated copper tool and no rotation of both tool gave the highest grey relational grade for combined performance parameters.

Table 7 Shows grey relational analysis.

Conclusion

To address the challenges of unsustainability, environmental pollution, and economic inefficiency in Electrical Discharge Machining (EDM), a sustainable approach was proposed. This involved the use of biodiesel and distilled water, along with 10% ethanol as a bio-dielectric. Furthermore, the performance of the EDM process was optimized by varying the rotation of both electrodes (i.e., same direction, opposite direction, and no rotation) and the use of treated tools (i.e., no treatment, heat treatment, and cryogenic treatment). The use of biodiesel as a bio-dielectric offers a promising solution to address the aforementioned challenges. Key results obtained can be summarized as

  1. (1)

    Biodiesel produced the highest MRR and lowest TWR.

  2. (2)

    Distilled water blended with 10% ethanol (Biofuel) resulted in the lowest SR.

  3. (3)

    Additionally, the study found that the use of electrode rotation improved flushing, leading to better performance parameters. The opposite direction rotation of both electrodes produced most MRR and least SR.

  4. (4)

    However, no rotation of both electrodes gave least TWR.

  5. (5)

    Furthermore, the use of treated tools, such as heat-treated or cryogenically treated tools, also improved performance parameters and resulted in lower energy consumption.

  6. (6)

    CTT gave most MRR, HTT gave least SR and NTT gave least TWR. Also, certain interactions also significantly affected the performance parameters.

  7. (7)

    Grey relational analysis showed that distilled water with 10% ethanol as dielectric, cryogenic treated copper tool and no rotation of both tools gave the best performance parameters.

Future work

To further optimize the performance parameters, it is necessary to investigate the effect of rotating both electrodes in the same direction, starting from zero relative speed to higher ones. Moreover, before concluding whether the same or opposite direction rotation of both electrodes provides better performance measures, it is essential to explore the impact of keeping tool rotation speeds higher than workpiece rotation for the same direction rotation of both electrodes.