1 Introduction

Productivity increase is always sought to reduce the production cost and to gain a competitive advantage. The ongoing technological advancements and high-speed machining can be a potential solution for the mechanical industry [1]. High-speed steel (HSS) has greater mechanical qualities, a higher hardness, better shock resistance, better fracture toughness, and exceptional fatigue resistance [2]. As a result, HSS finds its applications in hard rotating and cutting tools, forging, and stamping dies [3]. The machinability investigation of high hardness materials like Ti alloys, Inconel 718, and HSS with complex shapes has always been a challenge by using conventional machining processes like turning, milling, and drilling. This is due to fact that these processes find it difficult if not impossible to machine the hard materials with complex profiles/geometries. Non-conventional machining can be an effective solution to cope with the said issues. M42 HSS is widely used in aerospace and machining industries for making high-speed moving parts like turbine blades, moving cutters, and different machining tools through wire electric discharge machining (WEDM). The prime challenges like process stability, productivity, and surface integrity have become the main concerns while fabricating moving parts. These said issues must be controlled and monitored to attain higher machining efficiency. Also, the flushing characteristics including flushing pressure, flushing nozzle diameter, and flushing nozzle workpiece distance, have become an inevitable concern these days to make a balance among the machining productivity and process stability, along with the dimensional accuracy of the machined parts.

Different non-conventional machining techniques like electro-chemical machining, laser-assisted machining, plasma arc cutting, electron beam machining, water/abrasive water jet machining, and electro-discharge machining, can be employed to generate complex profiles in hard/difficult to machine materials. Wire electric discharge machining (WEDM) is a competitive non-traditional process to deal with a variety of conductive materials. WEDM is a specialized thermal electro-sparks erosion process capable of accurately machine the part with varying hardness and complex shapes [26]. An increase in redeposition of debris during machining results in poor surface finish, dimensional errors, and recast layer thickness [4,5,6]. Therefore, parametric optimization is required to enhance the MRR, reduce Ra, recast layer, dimensional deviation, and Kw.

Controlled-flushing involving the careful flushing characteristics plays a crucial role in the machining performance in WEDM during electro-sparks erosion. Thus, the machinability in EDM can be enhanced by the parametric investigation of flushing pressure (Pf), flushing nozzle diameter (Dn), and the flushing nozzle to workpiece distance (d) [7,8,9]. Optimized dielectric flushing not only affects the processing speed but also the quality of the machined surface. A too high value of Pf reduces the machining speed, whereas the ‘d’ and ‘Dn’ increase the wire vibrations and thus wire lag (WL) phenomenon which adversely influence the dimensional accuracy of the machined workpiece. Therefore, the WL should be minimized to attain higher machining efficiency. An optimized combination of flushing characteristics reduces the WL as expressed by Chakraborty et al. [7]. It is known that an increase in Pf and wire tension (WT) enhance the machinability and dimensional accuracy. The electrical parameters like fine finish power supply, pulse width, servo voltage, and pulse current also contribute a key role in enhancing the machining performance while improved removal of debris is important for stable machining [27, 28].

The machinability investigation in EDM is performed in various research works to examine the influence of different physical, electrical, and process variables for increased performance accuracy. Rehman et al. [10] concluded that Pf influenced a lot in controlling the amount of machined debris along with cooling of the workpiece and wire electrode. It was further explained that the Pf significantly increased the dimensional accuracy with an error reduction in cylindricity (49.5%), diametral (37.84%), and circularity (31.02%), respectively. Qudeiri et al. [5] examined the effect of variation in Vs, Pon, WT, and Ip on wear performance in WEDM of 316L stainless steel and resulted in the higher influence of Pon and Ip on wear behavior for die making industries. It was also inferred that the increase in discharge energy during machining increases the redeposition of debris, oxide formation, and craters which alleviated the wear resistance and micro-hardness of the machined workpiece. Singh et al. [11] investigated the influence of pulse peak current (Ip), pulse duration (Pon), and wire feed (WF) on machining speed in WEDM of Inconel 718. It was inferred that the processing speed is significantly influenced by Pon with a 74.91% contribution percentage. Similar results were reported by Camposeco-Negrete [12] when performing WEDM of DC53 steel. It was further explained that the size and density of craters’ formation are highly dependent on the sparks’ discharge energy during machining. Straka and Dittrich [13] carried an experimental study in WEDM of HSS and concluded that the control variables like Pon and pulse off (Poff) are highly influenced on the dimensional accuracy to improve the machining performance. Sanke [14] examined the influence of control variables in WEDM of Al composite and concluded that the performance efficiency concerning the MRR can be improved by optimizing the duration of the spark (Pon and Poff). Ar et al. [15] reported the higher influence of Vs and Poff in reducing the machining cycle time (7.50%) and Ra (1.16%) in WEDM of O1 tool steel. It was further concluded that the SR is also highly influenced by the variations in pulse-off duration. Kumar et al. [16] concluded that the physical properties and chemical composition of the machined workpiece in WEDM are highly influenced by the surface quality in terms of Ra. Mathematical models were also developed to determine a suitable combination of electrical conductivity of the workpiece (98.41%) and the Ip (95.02%).

Indeed, several works are available on machinability investigation using various engineering materials in wire electric discharge machining. However, little works are available on the investigation of flushing characteristics for to enhance the machinability. Furthermore, the multi-response optimization of controlled flushing was not explicitly discussed, which is the core of the work reported herein. Three key flushing variables namely flushing pressure, flushing nozzle diameter, and the nozzle-workpiece distance along with one electrical parameter known as servo voltage were investigated under L18 Taguchi experimental design. Material removal rate, surface roughness, and kerf width are the defined responses. The statistical analyses include main effects, regression-based variance analysis, Pareto charts, and normal plots. Optical microscopy and scanning electron microscopy were also carried to investigate the surface morphology and recast layer thickness (RLT) in a detailed manner. Parametric single-objective and multi-objective optimization are carried out to facilitate machinists in decision-making for controlled lubrication to enhance machinability. The novelty of the work lies in the investigation of machining stability, productivity, and surface integrity via optimized flushing parameters for WEDM of M42 HSS that are equally applicable to other materials.

2 Materials and methods

M42 grade high-speed steel (HSS) that finds its applications in various engineering industries, was chosen as the workpiece material in this study. The density and the dimensions of the workpiece were taken as 7.972 × 103 kg⁄m3 and 3 cm 20 cm*3 cm. HSS possesses high hot hardness, high self-hardening ability, higher fracture toughness, improved shock, and fatigue resistance [17]. The technical details of the work material are reported in Table 1 and EDX-based chemical specifications are indicated in Fig. 1. Experimentation was performed using CNC submerged wire EDM (CHMER G43S) with de-ionized water dielectric including zeolite as a de-ionizing agent. The hard type of brass wire (with tensile strength around 900 MPa) and diameter (0.25 mm) was chosen as a tool electrode. The detailed demonstration of the experimental setup is shown in Fig. 2.

Table 1 Elemental composition and characteristics of M type HSS [29]
Fig. 1
figure 1

EDX analysis of the machined surface indicating the chemical composition of the workpiece material(HSS)

Fig. 2
figure 2

A detailed illustration of the machining setup

Both the workpiece and wire electrode were completely dipped in the di-electric fluid throughout the machining process. The electrode wire was threaded by an automatic wire threaded mechanism between the upper and lower nozzles. The pressure of dielectric (Pf) can be varied by using the adjusting knobs as illustrated in Fig. 2. The distance between the workpiece and the flushing nozzle can also be changed by using the manual pulse generator of the CNC wire EDM. The electrode wire was passed through the workpiece during the machining operation to produce a machined slot/kerf in the workpiece as can be seen in Fig. 3. Three different sized flushing nozzles were employed in the experimentation. The dielectric fluid was flushed from the upper and lower nozzles during electro-sparks erosion. Vs controls the wire retracts, advancement, and the distance between the wire electrode and the workpiece. Therefore, the control variables in this study include Pf, Dn, d, and Vs.

Fig. 3
figure 3

Physical illustrations of machined profile: (a) 2D part drawing, (b) machined profile

Taguchi L18 design was employed for the design of experiments for the precise analysis to alleviate the time and cost of experimentation. Three levels of each control variable were chosen to design experiments except the Vs with two levels only. The control parameters and their levels were chosen after careful preliminary experimentation and comprehensive literature review. The findings revealed the prime influence of the reported control variables (flushing nozzle diameter, nozzle-workpiece distance, flushing pressure, and servo voltage) on the output responses (material removal rate, surface roughness, and kerf width). As far as the servo voltage selection as a process parameter in the family of electrical variables is concerned, it was found highly influencing on the machining performance. The aforesaid four variables were highly influencing on the machinability; thus, the experimentation was based on these four design parameters.

The machining performance concerning the cutting speed was observed directly from the WEDM monitor display screen and MRR was calculated from the relationship reported in Eq. (1).

$$MRR (\mathrm{mm}3/\mathrm{min})=\left[\frac{Ma-Mb}{Tm*\rho }\right]$$
(1)

where “Ma” and “Mb” denoted the mass before and after the machining cycle. “Tm” symbolized the cycle time, and “ρ” indicated the material density.

A surface texture meter (Surtronic 128) was used to assess the machined Ra at an evaluation length of 4 mm and a cut-off length of 0.8 mm. After measuring roughness at five distinct locations on the machined surface in terms of arithmetic average roughness, the standard deviation for all of the data was calculated for each experiment. Because the standard deviation in all of the roughness experimental data is quite small, the average value was presented here.

KW was measured using coordinate measuring equipment (Chen Wei CE-450DV). On the machined slot, three measurements were recorded for investigation purposes. A detailed statistical analysis was performed for deep insight to comprehend the influence of flushing characteristics on the said output responses. The process variables with their levels, output responses, and constant factors during machining are reported in Table 2. Figure 4 represents the current research plan and methodology.

Table 2 Process parameters and constant factors
Fig. 4
figure 4

Research plan and methodology

3 Results and discussions

The machining results were obtained by performing experiments following the Taguchi L18 array as mentioned in Table 3. The evaluation of output responses resulted in an increased MRR (21.99 mm3/min), along with reduced Ra (1.90 µm), and Kw (0.354 mm), respectively. Higher levels of “Pf” and “d” are observed to enhance the machining performance in terms of improved MRR and surface finish. The rationale of this improvement is the easy evacuation of debris particles from the working regime. The specific discussions about the study results are comprehensively elaborated in the forthcoming sections.

Table 3 Design of experiments along with output results

3.1 Analysis of parametric effects

Main effects plots are usually employed to visualize the direct parametric variations for output responses. Therefore, it is quite easy to optimize the process physics after a detailed understanding of the parametric trends. The details of the graphical illustrations for MRR, Ra, and KW are comprehensively discussed in the forthcoming sections.

3.1.1 Parametric trends analysis for material removal rate (MRR)

The analysis of parametric effects from Fig. 5 has indicated that the MRR was linearly enhanced by increasing the levels of Vs, Pf, and d, whereas Dn behaved inversely with it. This is due to more area of the heat-affected zone (HAZ) at increased Vs and d resulting in more melting and vaporization of debris. The dielectric flushing was improved by increasing the Pf, thus resulted in stable machining with minimal process fluctuations. The effects of each process variable on the set response are also explained onward in detail.

Fig. 5
figure 5

Graphical illustration to indicate the parametric influence of control variables for MRR

The Vs is in charge of keeping a safe distance among the two electrodes for uniform sparks discharges and avoiding short-circuiting for stable machining. The rise in Vs resulted in an acceptable quantity of discharge energy among the inter-electrodes gap, to promote the sufficiently melting and vaporization of work material. An increase in MRR from 17.2 mm3/min to 18.7 mm3/min was faced by increasing the Vs from level 1 (40 V) to level 2 (50 V) as evidenced in Fig. 5. It is because high discharge energy pulses were augmented by increasing the Vs in the machining regime required for the machining action to melt and vaporize the material. As a result, the intensity of sparks discharges is increased producing more debris; thus, recast layer appears on the machined surface as evidenced by the SEM image shown in Fig. 6. A higher Vs setting usually results in more electric pulses and more spark energy. The proper melting and vaporization of the workpiece material are ensured by the development of an acceptable quantity of spark energy in the workpiece electrode gap. As a result, the machining action is carried and the required results are obtained. More thermally affected region/HAZ is produced by increasing Vs; however, the density of sparks discharges required to erode the workpiece is consequently reduced and similar findings were reported by Patel Gowdru Chandrashekarappa et al. [18].

Fig. 6
figure 6

SEM image to indicate the formation of the recast layer on the machined workpiece surface for 15th Exp

Generally, two kinds of forces are produced during the dielectric flushing in EDM; one is the electro-erosive force which is generated because of the occurrence of discrete electric sparking, whereas the other force is produced due to the moving wire electrode because of injected dielectric through the flushing nozzles. The Pf plays an important role in influencing the machining productivity concerning MRR. A linear increase in MRR was observed from 16.2 mm3/min to 21.99 mm3/min by increasing the Pf from level 1 (4 kg/cm2) to level 3 (12 kg/cm2) as can be seen from Fig. 5. Actually, at 12 kg/cm2, the kinetic energy of the injected flushing dielectric is notably higher, so it applies strong electro-erosive erosion to enhance the removal of the machined material. This strong flushing leads to more debris evacuation on the workpiece surface as shown in SEM images in Fig. 6. Thus, the controlled flushing uniforms the electro-discharge erosion and it can further enhance the MRR by increasing the Pf or by using low viscosity dielectric say kerosene over deionized water [19, 20]. The increased Pf also enhances the cooling phenomenon just after the thermal erosion of the workpiece.

The flushing nozzle diameter also plays its part in influencing MRR. According to the equation of continuity for the fluids, the less is the orifice area, the more will be the flushing speed. Therefore, a linear decrease in MRR was obtained from 21.9 mm3/min to 16.2 mm3/min by increasing the Dn from level 1 (4 mm) to level 3 (8 mm). It strongly infers that the nozzle with a smaller diameter will tend to enhance more localized erosion of the workpiece material with more flushing speed thus more kinetic energy of the flushing dielectric. This reduction in the intensity of dielectric flushing caused more molten material redeposited on the machined surface, thus greater-sized globules of debris on the machined surface. The effect of nozzle orifice opening diameter on the flushing intensity can also be seen in Fig. 7 for controlled flushing.

Fig. 7
figure 7

Novel controlled flushing setup for WEDM to enhance the machinability

The controlled distance between the flushing nozzle and the workpiece is also an important aspect for machining performance investigation in terms of MRR. The “d” behaved linearly with MRR from level 1 (3 mm) to level 3 (24 mm) and tends to increase it from 16.2 mm3/min to 21.9 mm3/min. The rationale is the more area covered by the plasma pool consisting of electrons and ions thus produced more thermal damages on the work surface. However, an excessive increase in the electrodes gap caused the reduction in sparks intensity and thus reduces MRR. Therefore, the formation of minor redeposits on the machined surface is attributed to the reduction in plasma intensity as evidenced in the previous SEM image in Fig. 6.

3.1.2 Parametric trends analysis for surface roughness (Ra)

Surface roughness (Ra) usually denotes the measurement of surface discrepancies on the machined surface following the electro-sparks erosion. The Ra is caused by various factors like poor dielectric flushing, enhanced width of HAZ, increased pulse duration, or the greater intensity of spark discharges. The parametric trends from Fig. 8 indicated that Vs and Dn vary directly, whereas Pf and d behaved inversely with Ra. The effect of each control variable for Ra is comprehensively explored in the upcoming sections.

Fig. 8
figure 8

Graphical illustration to indicate the parametric influence of control variables for Ra

As Vs was increased from level 1 (40 V) to level 2 (50 V), a linear increase in Ra was observed, as indicated in Fig. 8. The rationale for this increase is the enhanced voltage gap which increases the HAZ, resulting in formation of more debris redeposition, craters, and micro-cracks. This is also occurred by the considerable heat flux intensity transfer to the working regime, which is the primary cause of material erosion in EDM. A linear decrease in Ra from 2.12 µm to 1.92 µm was observed by increasing the Pf from level 1 (4 kg/cm2) to level 3 (12 kg/cm2). The rationale of this happening is quite evident as the strong Pf promotes the rapid evacuation of the material, smaller craters, and surface asperities formed on the machined work surface as shown in the optical microscopic image in Fig. 10. The increased flushing pressure uniforms the electro-discharge erosion and removes the debris particles at a faster rate. The flushing action in WEDM is schematically demonstrated in Fig. 9.

Fig. 9
figure 9

Flushing action (a) interpole flushing mechanism, (b) holistic flushing control mechanism and its effects on machining (copyrighted and reprint permissions taken) [19]

The Ra deteriorated from 1.90 µm to 2.02 µm with the increase of Dn from 4 to 8 mm as evidenced in the main effects plot from Fig. 8. It is due to fact that the intensity of the dielectric fluid is reduced according to the basic liquid flow principle resulting in the poor evacuation of melted debris, thus increased the Ra on the machined surface. This effect has also been visualized in the optical microscopic image in Fig. 10. A controlled distance/gap is required among the tool electrodes for sufficient melting and evacuation of the melted material. Thus, the nozzle workpiece distance behaved inversely with the Ra. The Ra is reduced from 2.02 µm to 1.90 µm as d is increased from 3 to 24 mm. The said behavior is obvious because of the reduction in the intensity of the spark for the erosion of the workpiece material.

Fig. 10
figure 10

Micrograph to analysis the RLT of machined surface for (a) 5th experiment, and (b) 12th experiment

Surface topography plays a crucial role to investigate the machined surface quality. Therefore, the effects of process parameters on the workpiece surface are studied using SEM and optical microscopic images. The effects show that surface characteristics (redeposited debris, cracks, craters, micro-pores) are closely related to the discharge energy phenomenon (electro-sparks erosion) that occurred during the process (see Figs. 6 and 10). This phenomenon is determined by nozzle-workpiece gap value such as high discharge energy (DE) tending to remove the material with high temperature through rigorous melting and vaporization on a localized area. With each intense discharge, deeper craters are formed and the ridge-rich surface is generated. It has been observed that machined surfaces contained micro-pores, debris, and cracks craters due to successive discharges. The control over surface defects is very important to control internal crack propagation which is a potential cause of product failure.

During WEDM, cooling is essentially due to vaporization of dielectric fluid. However, there is a possibility of establishment of a vapor film on the wire and the workpiece that reduces the subsequent cooling and dryout condition as vapor film prohibits liquid to reach the wire and acts as an insulated layer. To increase cooling, vapor layer thickness should be minimized if cannot be eliminated. This may be achieved by increasing the pressure and velocity of dielectric through the nozzles. Therefore, higher mobility of lubrication is required to cool the interaction area for better flushing of debris [20]. As is evident from Fig. 9b, the erosion products produced by the discharge cannot be removed in time due to the lack of working fluid at lower Pf or high workpiece-nozzle gap, causing the inter-electrode erosion products to accumulate. The accumulation area is increased, the inter-electrode discharge state deteriorates, and the surface burn of the workpiece is severe. The micrographs, presented in Fig. 10, show surface morphology of cross-section representing the results of low discharge energy on the parameter’s combination, which leads towards decreasing the recast depth to fabricate accurate dimensions of profile and better surface characteristics [21]. As the Pf decreases in Fig. 10, the debris accumulates and makes a recast layer on the surface. Minimization of the distance between the nozzle and required geometry machining area helps in adequate melting at the surface and proper flushing of debris.

The micrographs are taken to analyze the recast layer thickness (RLT) formed at the machined surface for 5th experimental test Vs (40 V), Pf (8 kg/cm2), Dn (6 mm), and d (10 mm) and 12th experimental test Vs (50 V), Pf (4 kg/cm2), Dn (8 mm), and d (10 mm) as shown in Fig. 10a, b. Recast layer was measured at three different places on the machined surface and the average was considered the final result for investigation. Figure 10 depicts that minimum RLT was observed at Vs = 40 V, Pf = 8 kg/cm2, Dn = 6 mm, and d = 10 m. The reason is that the redeposition of debris is declined as the spark’s intensity was low, while the Pf was high. It was inferred that the maximum RLT was obtained at the maximum Vs (50 V), low level of Pf (4 kg/cm2), Dn (8 mm), and d (10 V). RLT was found maximum because the spark intensity was high at high Vs and flushing pressure was low due to which maximum debris was deposited at the machined surface.

Severe effects of high Vs are observed on the surface due to high pulse on time which prolongs the spark duration. High discharge energy causes more melting through deeper and wider craters. High crack density and melt redeposits are formed on the surface, which is an indicator of more discharge energy transfer. It is evident from the surface analysis that the electro-sparks erosion phenomenon drives the surface characteristics. The spark produced against Fig. 10a is more intense in comparison to the spark generated in Fig. 10b.

3.1.3 Parametric trends analysis for kerf width (KW)

Kerf width denotes the measurement of excessive material removed along the sides of the workpiece. Usually, the reduction in Kw is required as cannot be eliminated during electro-sparks erosion. The main effects plots for kerf width (Kw) are shown in Fig. 11 which demonstrates a direct linear relationship of all control variables with it. The effects of process parameters along with strong rationales for the set response are explained in the upcoming sections.

Fig. 11
figure 11

Graphical illustration to indicate the parametric influence of control variables for KW

A linear increase in the KW was observed as Vs was increased from level 1 (40 V) to level 2 (50 V) as obvious from Fig. 11. The rationale of this increase is the enhanced thermally affected zone caused by increasing the gap voltage which removes extra material from both sides of the machined workpiece. This results in an increased spark gap for the erosion of the work material from both sides during machining.

The analysis of graphical trends from Fig. 11 and the demonstration in Fig. 12 have resulted that an increase in the Pf from level 1(4 kg/cm2) to level 3 (12 kg/cm2) produces more KW from 0.354 mm to 0.366 mm on both sides of the workpiece. The reason is that the strong flushing leads to the removal of the debris particles at a faster rate; thus, more extra material is removed from both sides of the workpiece. Thus, KW is increased by increasing the Pf. The increase in nozzle size from 4 to 8 mm caused the increase of sparks gap among the two electrodes during machining. The enhancement in the spark gap increases the area of HAZ. Thus, the KW was increased by increasing the Dn. The results of graphical trends from Fig. 12 have proved that the large size nozzle (8 mm) will tend to produce a wider kerf (0.366 mm). Figure 14c produces the best results because kerf width is only 46 μm larger than the wire diameter (0.25 mm) with extremely smooth cut lines. The kerf width of 14a is smaller than b and d, but shows a lot of irregularities on the machined surface and should show deep craters and increased roughness.

Fig. 12
figure 12

Examination for the measurement of machined kerf after machining

The area of HAZ gets increased due to increased plasma energy by increasing the gap among the two electrodes up to a controlled threshold limit. This increased HAZ damages more to the sides of the machined surface resulting in increased sparks gap during machining. Thus, the KW is increased from 0.354 mm to 0.366 mm by increasing d from 3 to 24 mm as evidenced in Fig. 12. Essentially, the existence of higher discharge energy pulses at the workpiece surface deteriorates the profile of the machined surface, and enhancing pulse duration increases the energy content of the pulses at high servo voltage, which influences the machined surface, and results in larger kerf width.

3.2 Regression analysis

The key purpose of the regression analysis is the determination of the influencing control variables and their significance for output responses. There exist variations in actual and theoretical measurements. However, there exist standard deviations in the data. Thus, the regression-based numerical modeling is performed to cope with these variations by standardizing the data, determining the significance order of control variables, and the generation of the mathematical models for prediction as mentioned in Eqs. (2)–(4) for MRR, Ra, and KW. These regression equations may assist in the prediction of MRR, Ra, and KW.

$$\begin{aligned}MRR & =0.11851+0.001551Vs+0.001869Pf \\ & -0.005825Dn+0.000946d\end{aligned}$$
(2)
$$\begin{aligned}Ra&=1.7732+0.004222Vs-0.01063Pf\\&+0.02333Dn-0.001480d\end{aligned}$$
(3)
$$\begin{aligned}KW&=0.33607+0.000301Vs+0.000396Pf\\&+0.000396Dn+0.000302d\end{aligned}$$
(4)

3.2.1 Regression-based analysis of variance

The analysis of variance (ANOVA) approach is commonly used to determine the primary relevance of each control variable on the output response. It is a crucial technique for examining the significance of process factors by separating data observations into many responsible sources and assigning variation in components to control variables and noise [22]. Variance analysis was conducted at a confidence level of 95%. The parameters with a P-value less than 0.05 were designated as significant variables for a given response variable [23]. Table 4 shows the ANOVA’s comprehensive results data. The parametric importance may also be stated using F-value, where a larger F-value indicates that a process parameter is more relevant for a certain output response than other control variables [24]. It was found that the process variables like flushing nozzle diameter and nozzle workpiece distance influenced more for MRR, Ra, and Kw as followed by the flushing pressure and servo voltage.

Table 4 Detailed variance analysis

An in-depth analysis of the observations from Table 4 has inferred that all the control variables were found significant for output responses. However, the nozzle workpiece distance (d) influenced more (53.86%), followed by the nozzle diameter (42.56%), and flushing pressure (35.30%). The nozzle diameter (Dn) was found a highly significant control variable for both MRR and SR with percentage contribution of 34.50% and 42.56%, respectively. However, it influenced the least (3.24%) for KW. It is due to the fact that when nozzle orifice area is increased, more dielectric escapes from flushing nozzle, and the intensity of dielectric flushing reduces according to the equation of continuity in fluids. The consistent intensity of sparks discharges on target surface is also reduced because of increased nozzle orifice. Therefore, the rate of flow of dielectric on KW is less affected whereas the MRR and SR are more affected by Dn. The control variable Dn was found highly significant for MRR with a percentage contribution of 34.50% followed by d (26.02%), Vs (22.94%), and Pf (14.21%), respectively. Similarly, the top influencing variables for Ra include Dn (42.56%), Pf (35.30%), Vs (13.07%), and d (4.89%). The nozzle workpiece distance was found highly significant throughout the analysis with PCR of 53.86% and followed by Pf (19.49%), Vs (17.58%), and Dn (3.24%), respectively. The regression summary reported in Table 5 has confirmed the statistical significance of the current study and the related descriptive statistics are mentioned in Table 6.

Table 5 Summary of the proposed regression analysis
Table 6 Descriptive statistics of the regression analysis

3.2.2 Analysis of Pareto and normal charts

The strength of the parametric effects for a certain response measure can be predicted with the help of Pareto charts whereas the closeness of statistical results from the mean line values along with statistical deviations can be depicted in normal charts. The more significant process parameters for a specific response are obtained in the form of a pictorial representation as can be seen in Fig. 13.

Fig. 13
figure 13

Graphical illustration to show the Pareto and normal plots for (a) MRR, (b) Ra, and (c) KW

The analysis of statistical data observations from Fig. 13a resulted that Dn, d, and Vs are the top influencing variables for MRR. The normal plots also depicted the closeness of readings with the mean line which infers the statistical significance of the control variables for MRR. The analysis of observations from the Pareto charts in Fig. 13b has indicated that the Dn and Pf are highly influential for Ra. The nozzle workpiece was found highly influential process variable for Kw as shown in Fig. 13c. Minor statistical deviations were found for all three aforesaid output responses which reveal the statistical significance of this study.

3.3 Parametric optimization

3.3.1 Mono-objective optimization

The signal to noise (S/N ratio) ratio analysis was used to generate the optimal settings in this study, which used single response parametric optimization. It helps to attain optimal settings for performing the confirmatory experimentation concerning the research validation [24]. Table 7 shows the S/N ratio data. For MRR, the larger the better approach was used; however, for Ra and Kw, the smaller the better relationship was used. Equations (5) and (6) are the mathematical relationships in S/N ratio analysis.

Table 7 Detailed results for the signal to noise ratio
$$\eta ij=-10log[\frac{1}{n}\sum_{K=1}^{n}({Yij}^{2} )]$$
(5)
$$\eta ij=-10log[\frac{1}{n}\sum_{k=1}^{n}(\frac{1}{{Yij}^{2} })]$$
(6)

where Yij is the average output value and n denotes the number of completed repetitions. In Table 7, the process parameter with the greatest potential for influence is ranked first. Confirmation trials, the results of which are listed in Table 7, have also been used to verify the hypothesized best combination.

The results from Table 8 have highlighted the supremacy of flushing characteristics for MRR (9.877%), followed by Ra (7.163%), and Kw (4.425%), by performing confirmatory experiments with parametric combinations (Vs2, Pf3, Dn1, d3), (Vs1, Pf3, Dn1, d3), and (Vs1, Pf1, Dn1, d1), respectively.

Table 8 Detailed data for confirmatory experimentation

3.3.2 Gray rational analysis–based multi-objective optimization

Gray rational analysis (GRA) is an effective statistical technique for multi-objective optimization of conflicting responses. It can analyze the multiple variables simultaneously and reduce the deficiencies of the statistical analysis. Generally, the sequence of original response results is normalized between 0 and 1 by using three distinct normalizing relations such as (i) higher the better, (ii) nominal the best, and (iii) lower the better (Eqs. (7)–(9)) used depending upon the nature of desired response [25].

$$\mathrm{Higher\;the\;better} \quad {X}_{ij}=\frac{{Y}_{ij}-{\left({Y}_{ij}\right)}_{min}}{{({Y}_{ij})}_{max}-{({Y}_{ij})}_{min}}$$
(7)
$$\mathrm{Nominal\;the\;best} \quad {X}_{ij}=1-\frac{\left|{Y}_{ij}-Y\right|}{{\left({\beta }_{ij}\right)}_{max}-\beta }$$
(8)
$$\mathrm{Lower\;the\;better} \quad {X}_{ij}= \frac{{\left({Y}_{ij}\right)}_{max}-{Y}_{ij}}{{({Y}_{ij})}_{max}-{({Y}_{ij})}_{min}}$$
(9)

where \({X}_{ij}\) is the normalized measure of jth experiment in the ith sequence, while \({Y}_{ij}\) is the ith response value of the jth experiment, and \(Y\) is the targeted output measure. Higher the better function is desirable for MRR, while lower the better normalization relation is preferred in the case of Kw and Ra.

Gray relational coefficient (GRC) is used to determine the correlation between normalized and optimum response values. GRC was calculated by using Eq. (10):

$${\gamma }_{ij}=\frac{{(\Delta )}_{\mathrm{min}}+{\xi (\Delta )}_{\mathrm{max}}}{{\Delta }_{ij}+{\xi (\Delta )}_{\mathrm{max}}}$$
(10)

where \({\gamma }_{ij}\) is the GRC of the ith normalized measure of the jth experiment. \(\xi\) is the differentiating coefficient and generally its value is selected between 0 and 1. In current research work, the value of \(\xi\) is chosen 0.5. \({\Delta }_{\mathrm{min}}\) and \({\Delta }_{\mathrm{max}}\) are the minimum and maximum absolute deviations from the targeted value, while \({\Delta }_{ij}\) is the deviation sequence which determines the deviance of normalized measure from the ideal value of 1. These deviations are expressed as in Eqs. (11)–(13) [25]:

$${\Delta }_{\mathrm{max}}={\mathrm{max}}_{i}{\mathrm{max}}_{j}({y}_{i}^{o}-{y}_{ij})$$
(11)
$${\Delta }_{\mathrm{min}}={\mathrm{min}}_{i}{\mathrm{min}}_{j}({y}_{i}^{o}-{y}_{ij})$$
(12)
$${\Delta }_{ij}=({y}_{i}^{o}-{y}_{ij})$$
(13)

Gray rational grade (GRG) is the weighting sum of all GRC. It is calculated by using Eq. (14):

$${\delta }_{j}=\frac{1}{n}{\sum }_{i=1}^{n}{\gamma }_{ij}$$
(14)

where \({\delta }_{j}\) denotes the GRG of jth experiment and n represents the number of responses. The value of GRG varies from 1 to 0, while the highest GRG value infers the optimal set of process parameters for all responses simultaneously and ranked as 1st. Table 9 presents the gray relational analysis calculations for multi-objective optimization for conflicting responses.

Table 9 Multi-objective optimization using gray rational analysis

From Table 9, it is clear that the highest GRG value of experiment number 16 is 1 which ranked 1st. This depicts those optimum results of MRR, Ra, and Kw can be attained simultaneously at optimal parametric conditions of Vs = 50 V, Pf = 12 kg/cm2, Dn = 11 mm, and d = 24 mm.

To find the most significant process parameters, ANOVA is also performed for GRG values after the ranking. It can be noted from Table 10 that Vs, Pf, and Dn are significant for GRG, with a P-value less than 0.05. The percentage contribution for Dn is 76.85%, while for Vs and Pf it is 5.59% and 5.15%, respectively. The main effect plot for GRG is illustrated in Fig. 14. The response table (Table 11) shows the levels resulting in the highest GRG values. Vs, Dn, and d at level 1 while Pf at level 3 shows the highest GRG.

Table 10 ANOVA of GRG
Fig. 14
figure 14

Main effects plot for GRG

Table 11 Response table for GRG

4 Conclusions

The industry anticipates technological advancements for productivity improvement, and this can be accomplished by improving the machining performance in the areas where machinability challenges exist. The machinability and productivity of wire electric discharge machining (WEDM), which is a popular non-conventional cutting process, can be improved while having comparable surface integrity. Previously the non-conventional machining literature is focused on the machinability investigations of various industrial materials and process optimization. However, no extensive research on the study of flushing parameters optimization to improve machinability in non-conventional machining is known. In this research, WEDM of M42 HSS using controlled flushing is performed resulting in improved machinability in terms of material removal rate (MRR), surface roughness (Ra), and kerf width (KW). The conclusions drawn from the research include:

  • The flushing nozzle diameter also plays its part in influencing MRR. According to the equation of continuity for the fluids, the less is the orifice area, the more will be the flushing speed. Therefore, a linear decrease in MRR was obtained from 21.9 mm3/min to 16.2 mm3/min by increasing the Dn from level 1 (4 mm) to level 3 (8 mm).

  • Greater magnitudes of flushing pressure and nozzle diameter boost MRR and surface finish. All the control variables namely nozzle diameter, servo voltage, flushing pressure, and nozzle-workpiece distance showed linear effect with kerf width.

  • The topographical examination indicated that Pf causes the reduction in crater size (depth and width), and the redeposition of debris particles on the machined surface to enhance the MRR and surface finish.

  • Multi-response optimization was also performed and depicts the possibility of achieving optimized values of MRR, Ra, and, KW simultaneously. Mono-objective optimization by confirmatory experimentation provided a higher MRR (9.877%), along with least Ra (7.163%), and Kw (4.425%), at optimal settings (Vs2, Pf3, Dn1, d3), (Vs1, Pf3, Dn1, d3), and (Vs1, Pf1, Dn1, d1), respectively. The gray rational analysis–based multi-response optimization produced an optimal parametric setting for controlled lubrication-based machining as (Vs1, Pf3, Dn1, d1) optimizing all responses simultaneously.

  • The findings indicate that the nozzle diameter (76.85%) has a substantial influence on total machining performance. Nozzle diameter, nozzle-workpiece distance, servo voltage, and flushing pressure all had a substantial influence on MRR, with percentage contributions of 34.50%, 26.02%, 22.94%, and 14.21%, respectively. The processing variables for Ra followed the influential sequence as Dn (42.56%), Pf (35.30%), Vs (13.07%), and d (4.89%), correspondingly. The KW was highly affected by d (53.86%) followed by Pf (19.49%), Vs (17.58%), and Dn (3.24%), respectively.

  • The evaluation of output responses resulted in an increased MRR (21.99 mm3/min), along with reduced Ra (1.90 µm), and Kw (0.354 mm), respectively. Higher levels of “Pf” and “d” are observed to enhance the machining performance in terms of improved MRR and surface finish. The rationale of this improvement is the easy evacuation of debris particles from the working regime.

  • The flush-controlled machining improved work quality in terms of accurate production, increased productivity by lowering process time, and improved surface integrity of the machined piece thus can be a possible process advancement in the aerospace and automotive industries.