Introduction

Ti-6Al-4V is an \(\alpha+\beta\) titanium alloy known for its low density, excellent thermal stability, and superior corrosion resistance, making it widely applied in industries such as aerospace, biomedical, and automotive1,2. However, during machining, titanium alloys generate significant heat in the cutting zone due to their material properties, such as low thermal conductivity, high hardness, and high chemical reactivity. This leads to accelerated tool wear and failure, while the inability to effectively remove chips further destabilizes the machining process, potentially causing tool fracture. As a result, machining efficiency and precision are negatively affected3,4. Unconventional material removal methods like Electrical Discharge Machining (EDM) are essential, as they use discharge energy to remove metal from the workpiece5. Since there is no physical contact between the tool and the workpiece, no mechanical cutting forces are generated, thus eliminating constraints related to material strength and hardness. This enables non-contact machining of titanium alloys without inducing thermal deformation, among other advantages6,7.

With the development of EDM technology, researchers have sought to improve the low processing efficiency and other drawbacks of traditional EDM techniques, Wang et al.8 conducted comparative milling experiments on Ti-6Al-4V under three conditions: gas, liquid, and gas-liquid mixtures, finding that the quasi-dry EDM milling process showed improvements in both surface quality and machining efficiency compared to gas-only machining. Ramver Singh et al.9 evaluated the performance of three gas media: air, argon, and oxygen, Under the same parameters, replacing air or argon with oxygen can increase the MRR by approximately 19% and 51%, respectively, hile using argon instead of air and oxygen can reduce the Ra by approximately 17% and 34%, and the overcut width by nearly 17% and 34%, respectively.

Ganachari et al.10 created a thermoelectric model for the workpiece material using ANSYS Workbench, performing experiments and simulations on spring steel by adjusting current, gap voltage, cycle time, and pressure. Their research revealed that distilled water enhances the stability of the plasma channel in near-dry electrical discharge machining (NDEDM). Namboodiri et al.11 designed a finite element-based computational model to determine the MRR in the near-dry electrical discharge machining process using a glycerin-air mixture. Simulations were conducted under various processing conditions, revealing that the MRR increases with the rising volume ratio of glycerin in the glycerin-air mixture. Additionally, as the glycerin flow rate increases, the MRR also rises. Guo et al.12 investigated the effects of single-layer cutting thickness and electrode diameter on the flow field and machining performance in electrical discharge milling (ED-milling) through simulations and experiments. The three newly designed multi-hole electrodes improved the machining efficiency of ED-milling by 33%.

Many researchers have also attempted to explore the relationship between processing parameters and performance metrics using parameter optimization methods. Ashish Goyal et al.13 utilized fuzzy logic and the Adaptive Neuro-Fuzzy Inference System (ANFIS) model to establish optimal processing conditions, achieving accurate predictions of machining performance based on Ra and roundness. Vora, Shah Y et al.14 applied grey relational analysis to optimize process parameters for quasi-dry EDM cutting with multiple objective responses, validating the results through experimental data, which showed simultaneous improvements in MRR, surface roughness (SR), and recast layer thickness (RLT). Chakraborty et al.15 conducted a comparative study between grey relation analysis (GRA) and grey relation analysis coupled with principal component analysis (GRA-PCA), finding that the recognition ability of GRA-PCA was 23.04% higher than that of GRA. Subsequently, they used a combination of GRA and GRA-PCA to analyze and optimize the process parameters, ultimately identifying the optimal process parameters for powder-mixed wire EDM of Ti-6Al-4V alloy16. GRA is used to address the conflicts between multiple objectives commonly encountered in multi-objective optimization. It helps identify a relatively balanced optimal solution that provides a good compromise between competing objectives17. This means that the optimal process parameter set obtained through GRA may not represent the best value for each individual objective, but rather reflects a balanced and optimal solution across all objectives18.

From the above research methods, it is evident that GRA can optimize multiple responses simultaneously to obtain the best machining parameters, while fluid simulations provide key information regarding fluid flow, pressure, and velocity distribution. This study focuses on titanium alloy Ti-6Al-4V to explore the machining performance of N-EDM. First, single-factor experiments were conducted on each layer’s cutting thickness, and a simulation model was established for fluid simulation of the atomization medium in N-EDM. Subsequently, orthogonal experiments were utilized to investigate the primary and secondary effects of N-EDM processing parameters on MRR, REWR, WOC, and Ra. GRA was employed for multi-objective optimization to derive the optimal combination of machining parameters, followed by experimental validation.

Materials and methods

The experiments were conducted using a Beijing Ninghua Technology Co., Ltd. NH25F-type electrical discharge machine equipped with a self-developed rotating device, as shown in Fig. 1. Titanium alloy Ti-6Al-4V was machined using N-EDM, which primarily utilizes inter-electrode discharge energy for material removal. During the machining process, a mist medium, created by the combination of compressed air and water, was introduced into the machining area through multi-channel electrodes. This medium serves to cool both the workpiece and electrode while removing the debris generated during the discharge process from the machining zone19.

Fig. 1
figure 1

Machining system and schematic diagram.

The tool electrode is a multi-channel copper electrode with a diameter of 3 mm, and the workpiece is made of Ti-6Al-4V material with a thickness of 30 × 20 × 5 mm. The milled sample is a slot with dimensions of 16 mm in length, 3 mm in width, and 0.6 mm in depth. This study examines the influence of each layer’s milling thickness on N-EDM of titanium alloy, employing a layer-by-layer reciprocating milling approach. The machining parameters used in the experiment are listed in Table 1. For N-EDM, the medium consists of a combination of air and water, which are introduced into the atomizer under high pressure to form a mist. The machining performance is assessed using indicators such as MRR, REWR, Ra, and WOC. The machined surface roughness Ra was measured by using a TR200 surface roughness tester. To reduce the error, three locations were selected on each sample machined surface for measurement. WOC is defined as the difference between the removed width of the machined slot and diameter of the electrode20. The MRR and REWR were calculated using Eqs. (1) and (2), respectively.

$$\text{M}\text{R}\text{R}=\frac{{m}_{t}/{\rho}_{t}}{\text{t}}$$
(1)
$$\text{R}\text{E}\text{W}\text{R}=\frac{{\text{m}}_{d}/{\rho}_{d}}{{\text{m}}_{t}/{\rho}_{t}}\times100\text{\%}$$
(2)

In Eqs. (1) and (2): \({\text{m}}_{\text{t}}\) and \({\text{m}}_{\text{d}}\) are respectively the mass of the workpiece that is etched (g) and the mass of the electrode that is lost during the machining process (g). \({{\uprho}}_{\text{t}}\) and \({{\uprho}}_{\text{d}}\) are the density of the Ti-6Al-4V workpiece (g/mm3) and the electrode (g/mm3) respectively. t denotes the processing time (min).

Table 1 Single factor experimental parameters.

Results and discussion

A 3D solid model of the inter-electrode flow field during single-layer machining was developed in SolidWorks based on the multi-channel electrode and the actual discharge gap, as shown in Fig. 2. The medium enters through the electrode channel, with the outlet divided into three distinct regions. The actual thickness of each milling layer is the sum of the height of the discharge gap at the electrode sidewall and the discharge gap at the electrode bottom. Different milling layer thicknesses are distinguished by varying the height of the discharge gap between the workpiece and the electrode sidewall at Outlet 2. Mesh division is conducted separately for the three-dimensional models of different milling thicknesses, with a minimum mesh size of 0.005 mm. The flow field between the electrode and the workpiece is simulated using the fluid simulation software ANSYS Fluent. The simulated medium is water vapor, with a density of 0.589 and a kinematic viscosity of 1.5 × 10, while the discharge gap between the electrode and the workpiece is 0.01 mm. The boundary condition for the inlet pressure is 0.2 MPa, while the outlet environmental pressure is 0.1 MPa, with the remaining surfaces in the computational domain defined as Wall. A viscous fluid flow model is selected based on the Reynolds number (Re). The flow velocity of the medium is approximately 20 m/s, derived from the inlet pressure and the electrode inner diameter. The calculated Re for the porous electrode is 2460, which is greater than 2000, indicating turbulent flow. Therefore, a turbulent flow model is chosen for the simulation analysis21,22.

Fig. 2
figure 2

Schematic diagram of quasi-dry EDM processing and 3D model of flow field.

Figure 3 presents the pressure contour maps of the simulation models at different milling thicknesses, along with the cross-sectional view at the bottom. It was observed that as the milling thickness increased, the maximum pressure also increased. The rise in the height of the discharge gap at the electrode sidewall, coupled with restricted flow and difficulties in discharging the medium within the machining gap, led to a gradual accumulation of pressure, which resulted in increased pressure peaks in certain regions. An appropriate flow field pressure can facilitate the diffusion of heat within the discharge gap and the expulsion of removed material, maintaining cleanliness in the machining gap and preventing short circuits or abnormal discharges, thereby enhancing discharge stability and material removal efficiency23,24.

Fig. 3
figure 3

Simulation model of different milling thickness and pressure contour of Z-direction cross section. (a) 0.05 (b) 0.1 (c) 0.15 (d) 0.2.

In this single-factor experiment, while the milling depth remained constant, the variation in milling thickness resulted in different total travel distances (i.e., the length of the tool path), influencing both the number of layers and the number of tool passes during the machining process, as illustrated in Fig. 4. The overall MRR during processing at different layer counts was analyzed, and the MRR for processing a single layer of material was calculated, as shown in Fig. 5. It was observed that as the milling thickness increased, the MRR for a single layer also increased, which is consistent with the results of the inter-electrode fluid simulation for single-layer processing. However, in practical machining, an increase in milling thickness also leads to an increased volume of material removal, which impairs the cooling effect. This results in heat accumulation within the discharge gap, a rise in temperature, and a slowdown in the re-solidification of the material, thereby hindering further material removal25. Furthermore, as observed in Fig. 3, when the milling thickness was set to 2 mm, there was a significant change in pressure within the discharge gap. The increase in the height of the discharge gap between the electrode and the workpiece led to a noticeable increase in the coverage area of high-pressure regions within the discharge gap, which could affect discharge stability and frequency26. Moreover, if the pressure is too high, poor flow of the medium can hinder inter-electrode cooling and chip removal efficiency, compromising the cleanliness of the discharge gap and the stability of the spark discharge, thereby affecting machining efficiency.

Fig. 4
figure 4

Number of milling layers and tool path for different milling thicknesses (a) 0.05 (b) 0.1 (c) 0.15 (d) 0.2.

Fig. 5
figure 5

Effect of single-layer milling thickness on MRR.

Experiments were conducted using the N-EDM parameters listed in Table 1. Figure 6 illustrates the impact of milling thickness on the process indicators. As seen in Fig. 6, when the milling thickness is less than 0.15, the MRR is directly proportional to the milling thickness; however, when it exceeds 0.15, the relationship becomes inversely proportional. The N-EDM process uses the energy generated by spark discharge to erode the workpiece. A moderate increase in the thickness of each milling layer helps better concentrate the discharge energy in the machining area, increasing the volume of material involved in the discharge reaction per unit area. The gasification and melting processes become more complete, the atomized medium effectively cools and removes the molten material, maintaining cleanliness in the gap, thereby maximizing the material removal rate. However, if the milling layer is too thick, the discharge heat will spread rapidly across the machining area, and the amount of molten and vaporized material will exceed the slag removal capacity of the atomized medium. As a result, some of the molten material cannot be expelled in time and reattaches to the processing surface. The accumulation of material hinders the formation of subsequent discharge channels, further reducing machining efficiency.

Fig. 6
figure 6

Effect of different milling thickness on MRR.

Figure 7 shows that as the milling thickness increases, the REWR gradually decreases. This is because a greater milling thickness results in an increased amount of material removed during the discharge process. This implies that the energy from each discharge is utilized more effectively for material removal, rather than being wasted on multiple shallow discharges. Fewer discharge occurrences and shorter discharge durations can significantly enhance discharge machining efficiency while reducing electrode wear27. Figure 8 reveals that the corner radius of the electrode tip gradually decreases after processing, indicating a corresponding reduction in REWR. The energy spectrum shows that the copper content on the electrode surface gradually increases, while shorter processing times correlate with a reduction in the thickness and area of the oxide layer and molten workpiece material on the electrode surface, resulting in higher copper content.

Fig. 7
figure 7

Effect of milling thickness on REWR.

Fig. 8
figure 8

Surface morphology and energy spectrum of the electrode after processing (a) 0.05 mm, (b) 0.1 mm, (c) 0.15 mm, (d) 0.2 mm.

Figure 9 and Figure 10 reveal that as the milling thickness increases, the Ra gradually decreases, showing a slight overall downward trend. This is primarily due to the fact that a larger milling thickness facilitates better dispersion of discharge energy, which helps mitigate thermal accumulation and reduce thermal losses, thus improving the overall effectiveness of the discharge process. Moreover, variations in milling thickness have little impact on the discharge state at the electrode’s bottom. Although an increase in milling thickness may increase the likelihood of spark discharge occurring on the electrode sidewall, this effect has minimal influence on the discharge quality at the bottom of the electrode28.

Fig. 9
figure 9

Effect of milling thickness on Ra.

Fig. 10
figure 10

Surface morphology and three-dimensional contour of the workpiece after processing (a) 0.05 mm, (b) 0.1 mm, (c) 0.15 mm, (d) 0.2 mm.

Figure 11 illustrates the impact of milling thickness on the WOC. Figure 12 shows the entry morphology and cross-sectional view of the workpiece after machining at different milling thicknesses. Measurements indicate that as the milling thickness increases, the vertical corner radius decreases, resulting in improved shaping accuracy of the workpiece entry. During the N-EDM machining process, WOC is closely related to the REWR; a smaller REWR correlates with better preservation of the electrode shape and a smaller vertical corner radius, leading to improved machining quality. With a smaller milling thickness, the discharge energy is spread across a thinner material layer, leading to insufficient energy concentration and causing lateral diffusion of the spark discharge. In contrast, increasing the milling thickness concentrates the discharge energy in the thicker material layer at the electrode’s front, thereby reducing lateral material removal and, as a result, lowering the WOC29.

Fig. 11
figure 11

Effect of milling thickness of each layer on WOC and vertical corner radius.

Fig. 12
figure 12

Entrance morphology and cross section of the workpiece after processing (a) 0.05 mm, (b) 0.1 mm, (c) 0.15 mm, (d) 0.2 mm.

To investigate the order of influence of processing parameters on MRR, REWR, WOC, and Ra, traditional experimental design methods require extensive experimentation under selected process variables and levels. These challenges can be addressed by implementing orthogonal experiments30. This study designs a four-factor, three-level (L27 (43)) orthogonal experiment, with a milling thickness of 1 mm and a depth of 6 mm. The factor level table is presented in Table 2, with other parameters remaining consistent with those in the single-factor milling thickness experiment. The orthogonal experiment results are presented in Table 3.

Table 2 N-EDM factor level table.
Table 3 N-EDM orthogonal experimental results.

The variance analysis of MRR and Ra is presented in Table 4. From Table 4, it is clear that the current significantly influences both MRR and Ra. In N-EDM, material is removed from the workpiece solely through spark discharge, with the current being the primary source of machining energy. The main effect plot shows that both MRR and Ra are directly proportional to the current magnitude, which determines the energy of the spark discharge. A higher discharge energy leads to a greater force exerted by the spark on the material surface, generating larger molten droplets and cavities, which results in higher material removal rates and surface roughness. Additionally, the atomization rate significantly affects REWR and WOC, as an increase in atomization improves cooling efficiency. In EDM, a discharge channel forms between the electrode and the workpiece, and the high temperatures generated during discharge can affect both the electrode and the workpiece thermally. Effective cooling helps regulate the discharge channel temperature, ensuring stable spark discharge and reducing WOC and REWR31.

Table 4 N-EDM variance analysis.

The main effect plot of MRR shown in Fig. 13 clearly illustrates that an increase in current leads to a corresponding increase in MRR, with current having the most significant impact on MRR, followed by duty cycle and gas pressure, while atomization amount has minimal effect. This is because changes in current and duty cycle directly influence the energy source during processing, whereas variations in atomization primarily affect inter-electrode temperature and chip removal32. Based on the main effect plot, it can be concluded that MRR is maximized when the current is set to 6 A, the duty cycle is 60%, the gas pressure is 0.4 MPa, and the atomization amount is 15 ml/min.

Fig. 13
figure 13

MRR main effect diagram.

The main effect plot of REWR in Fig. 14 demonstrates that electrode wear increases with rising current, while the influence of duty cycle is relatively minor. This indicates that as current increases, discharge energy also increases, resulting in greater erosion of the electrode by the spark discharge and, consequently, the largest change in REWR. An increase in duty cycle extends the discharge duration, leading to a continuous rise in electrode temperature. At elevated temperatures, the electrode material is more susceptible to melting and evaporation, thereby accelerating electrode wear. Furthermore, higher gas pressure results in atomization media carrying more energy, which enhances the erosion effect on the electrode surface and accelerates material wear. The main effect plot indicates that REWR is minimized when the current is 4 A, the duty cycle is 50%, the gas pressure is 0.2 MPa, and the atomization rate is 20 ml/min.

Fig. 14
figure 14

REWR main effect diagram.

From the main effect plot of WOC in Fig. 15, it can be observed that increases in both current and duty cycle lead to greater discharge energy. When both current and duty cycle are low, the discharge energy is insufficient to completely melt and evaporate the titanium alloy in the processing area, resulting in relatively small WOC. As current and duty cycle increase, discharge energy intensifies, potentially exceeding the melting and vaporization points of the titanium alloy, leading to substantial melting and evaporation of the material. This results in significant thermal expansion and splashing, which increases WOC. As the atomization rate increases, WOC initially rises and then decreases. When the atomization rate reaches a certain threshold, a substantial cooling effect occurs, leading to energy dissipation and excessively low temperatures in the processing area, thereby reducing WOC. The main effect plot shows that WOC is minimized when the current is 2 A, the duty cycle is 40%, the gas pressure is 0.2 MPa, and the atomization rate is 20 ml/min.

Fig. 15
figure 15

WOC main effect diagram.

From the main effect plot of Ra in Fig. 16, It is clear that surface roughness increases with higher current, which has the most significant impact, while the effects of duty cycle, gas pressure, and atomization amount on roughness are relatively minor. The magnitude of the current is the primary determinant of the energy source. Fluctuations in current can lead to uneven distribution of discharge energy within the processing area, creating regions with either excessive or insufficient energy concentration, thereby increasing Ra33. The main effect plot indicates that Ra is minimized when the current is 2 A, the duty cycle is 40%, the gas pressure is 0.2 MPa, and the atomization amount is 10 ml/min.

Fig. 16
figure 16

Ra main effect diagram.

The results of variance analysis and the main effect plot indicate that different parameters have varying degrees of impact on the processing outcomes. To find the optimal combination of MRR, REWR, WOC, and Ra, GRA is employed for multi-objective optimization of the process parameters in mixed gas atomization discharge machining of titanium alloys34. GRA is a multi-factor analysis method based on grey system theory, used to evaluate the degree of association and significance among factors. The complex interrelationships among multiple responses can be solved using GRA35. The steps for GRA are as follows: dimensional normalization of the process indicators, calculation of the grey relational coefficients, and computation of the grey relational values36. The computed relational values for each set of experiments are shown in Table 5.

Table 5 Correlation coefficient and correlation value.

The grey relational analysis of MRR, REWR, WOC, and Ra is shown in Table 6. From In Table 6, it can be observed that the grey relational degree reaches its highest value when the current is set at 2 A, the duty cycle is 40%, the gas pressure is 0.2 MPa, and the atomization amount is 20 ml/min. This set of parameters was chosen for experimental validation, with results presented in Table 7, and the validated workpiece illustrated in Fig. 17. The results of the optimized parameters in Table 7 indicate that the computed grey relational value of the optimal parameters is 0.752, which is greater than the maximum grey relational value in Table 5, achieving the desired experimental objectives.

Table 6 Grey correlation values of each level factor.
Table 7 Experimental results of optimized parameters.
Fig. 17
figure 17

N-DAM verification processing sample.

Conclusion

This study conducted experimental research and parameter optimization on N-EDM of titanium alloys, with the following findings:

  1. 1.

    The thickness of each milling layer has varying degrees of influence on the process indicators of N-EDM. The results from the single-factor experiments indicate that an increase in milling layer thickness leads to a 31.8% increase in MRR, a 70% reduction in REWR, approximately a 30.4% decrease in WOC, and about an 18.5% reduction in Ra. The results demonstrate that a moderate increase in milling layer thickness can enhance machining efficiency, reduce REWR, and decrease surface roughness.

  2. 2.

    The results of fluid simulation tests indicate that as the milling thickness increases, the pressure within the discharge gap also rises, primarily due to the restricted flow of the atomized medium and the increased discharge gap height along the electrode side wall. While thicker milling layers enhance the MRR, they simultaneously reduce the cooling efficiency, leading to heat accumulation and a slower resolidification rate of the material. Additionally, it is evident that the milling thickness of each layer significantly influences discharge stability, frequency, and chip removal efficiency.

  3. 3.

    By designing orthogonal experiments and conducting variance analysis, the effects of the machining parameters were evaluated. The results indicate that the current has the most significant impact on the process indicators, followed by the duty cycle. The analysis of the main effect plot reveals that an increase in current significantly boosts both MRR and Ra, but also leads to an increase in REWR and WOC. An increase in atomization amount contributes to the improvement of REWR and WOC, while a moderate increase in duty cycle can reduce REWR.

  4. 4.

    Grey Relational Analysis was employed to analyze and calculate MRR, REWR, WOC, and Ra. Through optimal fitting and approximation, a set of optimal parameter combinations was obtained: a current of 2 A, a duty cycle of 40%, a gas pressure of 0.2 MPa, and an atomization amount of 20 ml/min, which were selected for validation.