1 Introduction

The application of Carbon Fiber Reinforced Polymer (CFRP) composites is widespread in a variety of conventional and advanced sectors due to the demands of modern engineering and economic limitations [1]. High modulus and strength, low weight, resistance to high temperatures in conditions that oxidize, dimensional stability over a varied temperature, good X-ray penetrability, and sufficient electromagnetic shielding are just a few of the exceptional qualities of CFRP [2, 3]. CFRP finds widespread application in wind turbines, motorbikes, bicycles, sporting goods, electrical and home appliances, drones, healthcare, aviation, military, cars, and buildings [4,5,6].

Chinese manufacturers have developed a variant of wire-EDM called high-speed WEDM, which is widely used in die-making. According to reports, 85% of China domestic market uses HS-WEDM [7]. Molybdenum wire is typically employed in HS-WEDM and can be reused multiple times, distinguishing it from other WEDM that dispose of the wire after a single use (Brass wire) [7]. This feature makes HS-WEDM more cost-effective. Additionally, HS-WEDM is capable of machining thick workpieces and is easy to maintain due to its simple structure. The dimensional accuracies of the machined parts improve as the tension of the wire increases, as the wire tends to vibrate during WEDM [8]. The molybdenum wire has a higher tensile strength than other wires, therefore it can withstand more stress. Its high melting point resists heat load during machining, resulting in less wire breakage. According to a study by [9], molybdenum wire in HS-WEDM produces better surface integrity compared to brass wire when used on titanium alloy. Additionally, molybdenum wire has shown improvements in cutting speed and surface roughness compared to other wires. Cutting speed is influenced by the rate of material removal and is an essential factor of WEDM [10]. Various studies have been conducted on HS-WEDM for different materials. This research focuses on achieving high corner-cutting accuracy for thin-walled CFRP parts using HS-WEDM and previously succeeded WEDM applications incorporated into a CFRP part will be presented.

Cutting CFRP composite using WEDM is a challenging task because of the heterogeneous composition of CFRP, which includes carbon fibers within a resin matrix. CFRP exhibits high strength, stiffness, and thermal resistance, but also has low electrical conductivity and high anisotropy. These material characteristics significantly affect the machinability of CFRP with WEDM. Cutting CFRP with WEDM is particularly challenging when using standard wire. Thus, previous studies [11, 12] have investigated the feasibility of employing WEDM to machine unidirectional CFRP using brass wire coated by zinc. These tests revealed that the process factors and selected wire material were appropriate for effective machining of unidirectional CFRP composites. In another investigation, it was found that the material of the wire, specifically Topas wire, resulted in higher MRR compared to Compeed wire when cutting multidirectional CFRP composite laminates [13]. An alternative method to enhance the conductivity and cutting efficiency of CFRP with WEDM involves recommending the utilization of an assisted conductive layer. The effectiveness of these conductive layers was confirmed through a demonstration showing the successful elimination of uncut epoxy resin via wire electrode heating [14]. This approach not only reduces wire breakage but also increases cutting speed and improves surface quality [15]. Additionally, a sandwich technique assisted by titanium (Ti) was employed and enabled the production of polymer composite materials with complex surface profiles [16, 17]. Another technique for cutting CFRP is high-speed WEDM, which uses reusable reciprocating molybdenum wire. The feasibility of machining 1mm thin CFRP composites using a 2mm sandwich assisting electrode with HS-WEDM was investigated [18]. Also examined the impact of using a 3mm sandwich made of H13 steel and copper foil, as reported by [19]. The results indicated that cutting without sandwich-assisting electrodes led to deviations in the straightness of the cutting profile.

WEDM machining precision is divided into two categories: shape accuracy and precise positioning. Shape accuracy is primarily concerned with corner-machining precision and the straightness of the machined surface. Several factors, including wire vibration, dielectric fluid resistance, process parameters, machining speed, and others, can impact these accuracies. When cutting sharp corners at the tip, there is often a tendency for significant cutting errors to occur due to wire lag and other factors. However, positioning precision is based on both the accuracy of the mechanical movement and the accuracy of the initial positioning [20]. In WEDM, achieving accurate corners can be challenging due to wire breakage, deflection, vibration, and excessive discharge [21,22,23,24,25]. To address this issue, researchers have explored the optimization of process parameters including pulse-on time, pulse-off time, servo voltage, open voltage, wire tension, and dielectric pressure. Changes in the duration of the pulse-on, pulse-off, and discharge gap can have a notable impact on corner inaccuracies and the heat-affected zone [26]. Servo voltage and feed rate were identified as influential parameters, along with dielectric pressure and tension of wire [27]. Various corner angles were examined and highlighted the importance of pulse-on and wire tension in corner inaccuracy [20]. The influence of pulse-on, voltage, and feed rate were emphasized on corner errors in WEDM of Al6061 alloy [28]. Longer pulse-on time and higher discharge peak current lead to increased corner deformation in thin-walled Q235 steel, while longer pulse-off time reduces deformation [29]. An experimental investigation was conducted to examine how major process factors influence the thermal distortion behavior of thin-walled samples made of Inconel 718, AISIH13, and SKD11 materials [30, 31]. The factors influencing sharp corner errors were discussed in thin parts during WEDM [25]. It was observed that increasing pulse-on and pulse-off time increased corner inaccuracy, and increased wire feed improved corner inaccuracy for triangular cut profiles in aluminum composite mold material [32]. In other studies, [33, 34] they investigated the influence of process parameters and dielectric fluid conductivity on corner error and suggesting that low-conductivity dielectric fluid and optimized process parameters can minimize corner error and improve machining accuracy. Enhancing corner precision was achieved by managing jet flushing and implementing a corner compensation algorithm to modify the wire trajectory according to wire bending and lag [35]. A mathematical model was developed to calculate wire deflection and total machining error, considering the impacts of wire deflection, wire lag, and high discharge on corner precision [36]. A method for elliptic fitting was suggested to characterize the trajectory of the wire electrode center and the model validity was confirmed by assessing corner error at various angles [22]. Two practical approaches were proposed for enhancing corner accuracy in WEDM [37]. These methods involve adjusting the process parameters and adjusting the programmed wire trajectory. A trim-cutting strategy that can reduce corner errors by up to 97% [38]. This strategy includes a second cut with low-energy pulses and a suitable wire offset to remove any uncut material left by the initial rough cut. The study by [39, 40] investigates the use of a path modification strategy to improve corner accuracy in Monel 400 alloy and AISI D3 tool steel. They find that this strategy successfully improves corner accuracy. Another innovative technique is the powder mixed dielectric (PMD) technique, where abrasive powder particles are added to the dielectric fluid to enhance machining performance [41]. The effects of different types and concentrations of powder were examined on the corner accuracy of Ti6Al4V plates with a rectangular profile [42].

Multi-response optimization techniques are ways to determine the best configurations for process variables that impact many quality characteristics. These techniques help raise the effectiveness and performance of machining processes. Weightage principal component analysis (WPCA) in conjunction with GRA was used to optimize the four EDM process variables to minimize SR and maximize MRR for Inconel X-750 [43]. The optimization of milling parameters for graphene oxide-doped epoxy/CFRP composite was achieved through a novel hybridization technique that integrated CoCoSo and PCA [44]. To rank experiment data and determine the ideal parametric combination, the TOPSIS approach was also applied. RSM was utilized to generate experimental data to investigate the influence of four process factors included Pon, Poff, I, and wire feed on four performance measures MRR, kerf width, SR, and dimensional accuracy of created holes in Inconel 718 using WEDM [45]. Also, Desirability Function Approach (DFA) was applied to identify the optimal combination of the process factors. Six WEDM process parameters for aluminum metal matrix composite (Al/SiC p-MMC) were optimized using DFA [46]. The goal was to reduce the SR and increase the cutting speed. Additionally, it carried out studies utilizing a Box-Behnken design and fitted responses using quadratic regression models. Prediction models and use RSM and GA to optimize graphene oxide/CF machining performance. It considers various drilling parameters affecting the SR and thrust force of the drilled holes, including spindle speed, feed rate, diameter, and nanofiller content [47].

Based on the previous literature review, there exists a research gap concerning the investigation and optimization of machining sharp corners in thin-walled CFRP using HS-WEDM. This research seeks to study the influence of varied process parameters such as pulse-on, pulse-off duration, and input current, in conjunction with the thickness of CFRP plates, on corner inaccuracy in thin-walled CFRP composites. Furthermore, the study includes single- and multi-response analyses to optimize the process parameters of HS-WEDM. Experiments were carried out at four distinct corner angles: 30°, 60°, 90°, and 120° to validate the outcomes.

2 Experimentation

This section illustrates the material, experimental design, equipment and instruments, and the quantitative data acquisition procedures to provide the study objectives. According to the manufacturing company, Shenzhen Sunlike Electronics Co., Ltd., China manufactured the 3K CFRP composite utilized in this investigation [48], with a fiber volume proportion of approximately 60%. Table 1 illustrates the characteristics of the SYT45 3K CFRP composite used in this study. The 3K CFRP composite material samples were made by stacking layer upon layer of 0°/90° woven carbon fiber and epoxy resin to achieve the appropriate thickness. 3K denotes that each bundle contains 3000 filaments of carbon fiber. The samples were fabricated by applying pressure to the CFRP layers at a temperature of 125 °C in a cavity with an internal heater. The curing process lasted for 180 min and a forming pressure of 5 kg/cm2 was applied. A schematic diagram of the preparation procedure of the CFRP composite was illustrated in Fig. 1. The study utilized four flat matte sheet workpieces measuring 75 × 125mm each. These workpieces featured carbon fiber orientations of (0°/90°) with varied thicknesses of 0.5, 1.0, 1.5, and 2.0 mm.

Table 1 Properties of CFRP used in the study
Fig. 1
figure 1

Schematic diagram of the preparation procedure of CFRP composite

Esuntek EFH43F with CNC controller system model EFH-CC2.0 setup was used to cut thin CFRP plates, as shown in Fig. 2. Some of the features and specifications of the EFH43F model are surface finish: 1.0μm, machining precision: 0.012mm, cutting speed: Max = 180 mm2/min, largest workpiece size: 760 × 560 × 300mm, XYZ axle travel: 400 × 350 × 250 mm, cutting taper: Max =  ± 3°/80mm, and electrode wire size: Φ0.13-Φ0.20mm. A schematic diagram of the reciprocating WEDM was illustrated in Fig. 3. AutoCAD software was used to design the cutting shape. The experiment involved machining four corners with angles of 30°, 60°, 90°, and 120°, as shown in Figs. 4 and 5. The corner characteristic such as corner inaccuracy was considered as a response. The molybdenum cutting wire was inserted through a previously machined hole, which served as the starting point for the experiment. The machine table moved in the X and Y directions, following the specified program path, until all straight lines and corners of the first workpiece with a thickness of 0.5 mm were machined. The program then paused briefly to modify the setting parameters for the next experiment (experiment # two) on the same workpiece. This process was repeated four times for each workpiece.

Fig. 2
figure 2

Experimental setup for cutting thin CFRP plate

Fig. 3
figure 3

Schematic diagram of HS-WEDM

Fig. 4
figure 4

Schematic diagram for programmed wire trajectory of the four experiments in each workpiece

Fig. 5
figure 5

Machined workpiece

The optical OPTIKA microscope B600-MET ITALY was used in this study. The lens used to magnify the machined samples is LM Plain (10X/0.3). The microscope's camera captures images of each corner, which are then stored on an external memory card. Measurements on these images are performed using a specialized program called OPTIKA Vision. This program is an accessory provided by the same manufacturer of the microscope.

The process of preparing and carrying out experiments to test a hypothesis and get reliable results is known as the experimental design technique. Taguchi methodology was used in this work. The approach utilized for performing experiments, evaluating the outcomes, and optimization is illustrated in Fig. 6 through a flowchart. The most essential and influenced controllable factors that were considered in this work are Pon, Poff, I, and CFRP plate thickness (T). Each controllable factor has 4 levels. The specific Taguchi orthogonal array (OA) chosen from the standard OA is L16. The selected controllable parameters and their values that will be used in the experiment were chosen after reviewing some studies on HS-WEDM of CFRP that had been recognized. The following factors were kept constant throughout the tests: voltage is equal to 60 Volt, the head height is 220 mm, the max wire feed is 80 mm2/min, wire speed is (4 m/sec) coded in a machine is 2, molybdenum wire, diameter of wire (∅ = 0.18 mm), and the JR3A dielectric was mixed with water at the ratio of (1:40 ~ 50). Based on this, a total of 16 experiments were conducted, each with a unique combination of parameter levels, as shown in Table 2.

Fig. 6
figure 6

Experimentation methodology flow chart

Table 2 Taguchi L16 orthogonal array

The corner inaccuracy (CI) refers to the area that remains uncut or overcut between the actual profile and the desired programmed profile as shown in Fig. 7. Corner inaccuracy, or corner error, is an important factor in the HS-WEDM process when machining complex shapes. In this study, the outside corner inaccuracy angle refers to the inaccuracy that occurs when producing an interior shape in a CFRP sheet. Measurements of the corner inaccuracy in the sample area are shown in Figs. 8 and 9. To measure the corner inaccuracy area, images were captured using the Optika microscope and saved on external storage. The Optika Vision software was then used to place a real scale on the image. The image was then imported into SolidWorks software, where the actual angle was placed on the image and the corner inaccuracy area was measured. Table 3 presents the measurements of the corner inaccuracy for four different angles: 30°, 60°, 90°, and 120°.

Fig. 7
figure 7

Schematic diagram of corner inaccuracy

Fig. 8
figure 8

Sample of area CI measurement 30° and 60°

Fig. 9
figure 9

Sample of area CI measurement 90° and 120°

Table 3 Measurements of the corner inaccuracy for different angles: 30°, 60°, 90°, and 120°

3 Results and discussion

This section investigates and discusses the factors that influenced the corner characteristics. The Taguchi approach for single-response optimization and desirability function approach for multi-response were also examined and discussed. The data used in this section was illustrated in the previous Table 3. WEDM, like many other machining methods, cannot produce extremely sharp corners. The corner inaccuracy is affected by numerous parameters, including T, Pon, Poff, I, and wire electrode diameter (dw). Furthermore, the minimal size of the CI is affected by the angle of the corner, i.e., the amount of the dihedral angle created between each pair of adjacent machined surfaces. Note that, when the wire completes its intended trajectory without encountering any problems that prevent it from completing the path (perfectly machining), it should have the minimum CI. Consequently, as shown in Fig. 10, the minimum CI differs for angles 30°, 60°, 90°, and 120°. Furthermore, the largest minimum corner inaccuracy area (CIMin) was achieved at the smallest corner angle (i.e., \({CI}_{{min}_{{30}^{o}}}>{CI}_{{min}_{{60}^{o}}}>{CI}_{{min}_{{90}^{o}}}> {CI}_{{min}_{{120}^{o}}}\)). Based on geometrical calculation (using SolidWorks) for each angle, at diameter of the wire (ɸ = 0.18 mm), and average gap produced by the process parameters (S = 20 ~ 25 µm), the rest material of the corners is 0.02423mm2, 0.00685mm2, 0.0021mm2, and 0.000538mm2 for CI30o, CI60o, CI90o, and CI120o, respectively. The minimum corner radius can be performed as follows:

$$R_{{Min}} \ge S + \left( {\frac{{d_{w} }}{2}} \right)$$

where S is the gap wire (overcut) and dw is the wire diameter (0.18 mm).

Fig. 10
figure 10

Corners inaccuracy area for perfect machining of various corner angles 30°, 60°, 90°, and 120°

3.1 Effect of process parameters and CFRP thickness

Figures 11 and 12 display the main effect plot showing the impact of pulse-on duration and input current on corner inaccuracy (CI) across various corner angles (30°, 60°, 90°, and 120°). The results demonstrate that the corner inaccuracy initially decreases with an increase in pulse-on duration from 30µs to 40µs and input current from 2 to 3A. However, as both pulse-on duration and input current continue to increase, the corner inaccuracy subsequently increases.

Fig. 11
figure 11

Effect of pulse-on duration \(({P}_{on})\) on the CI of different corner angles

Fig. 12
figure 12

Effect of input current \((I)\) on the \(CI\) of different corner angles

Generally, the duration and intensity of discharge energy are influenced by the pulse-on duration and input current. Consequently, elevating the pulse-on duration and current leads to higher discharge energy, resulting in increased material removal due to the generation of intense heat. Also, it is affecting the wire vibration, which is the oscillation of the wire due to electrodynamic forces and thermal expansion. The wire vibration can cause the wire to deviate from the desired path and result in corner errors and angular errors [49, 50].

However, this study discovered that as the discharge energy rises due to increase in pulse-on (more than 40µs) and current (more than 3A), there is an increase in the amount of debris particles (matrix and carbon fiber evaporated) generated in the machining gap zone due to enhanced material removal. Some of these particles possibly solidify and accumulate (recast layer) in the machined gap area. The effect of the recast layer on the corner accuracy depends on the thickness of layer, hardness, and morphology. Consequently, a portion of the discharge energy is utilized to re-melt and vaporize these accumulated debris particles and recast layer, which reduces the actual energy that evaporates the raw material. This possibly increases wire deflection and vibration during machining, altering the effective gap width, and causing irregular discharge, which affects the corner accuracy [20, 26].

Wire deflection in WEDM is a phenomenon that impacts the precision and quality of the finished components. Wire deflection, also known as wire lag, occurs when the wire electrode bends or strays from its intended trajectory due to the forces applied by sparks, wire tension, and dielectric fluid. This deviation can lead to inaccuracies in the shape and dimensions of the workpiece, particularly in corners and curved sections. Various factors, including wire diameter, material of wire, feed rate, spark gap, input current, pulse duration, voltage, dielectric type, dielectric flow rate, and characteristics of the workpiece material, and thickness, can influence wire deflection [51,52,53].

The duration of the pulse-off period in WEDM denotes the time elapsed between current pulses. This duration influences the cooling and flushing effects of the dielectric fluid on both the wire and the CFRP plate. A shorter pulse-off duration results in more discharges occurring within a specific time, consequently increasing the material removal rate. Conversely, extending the pulse-off duration enhances dimensional accuracy by diminishing wire deflection and slowing the cutting speed [54,55,56]. This also results in more dispersed sparks. In Fig. 13, it can be seen that a high pulse-off duration at 25 ~ 30µs improves CI at corner angles of 30°, 60°, and 90°. However, for a corner angle of 120°, a lower pulse-off duration of 15µs achieved the best corner accuracy.

Fig. 13
figure 13

Effect of pulse-off duration \(({P}_{off})\) on the \(CI\) of different corner angles

As illustrated in Fig. 14, at a thickness of 0.5mm, excessive thermal deformation occurred due to excessive discharge at the thin wall (i.e., the small cross-section area of the specimen in which the charge is concentrated), resulting in increased error at the corner. Increasing the thickness of the CFRP to 1.0mm resulted in an enhancement of corner precision due to a larger exposed area to the discharge energy. However, increasing the CFRP plate thickness beyond 1.0mm led to a rise in corner inaccuracies, likely because of the expanded cut cross-section area, causing more matrix and fibers to evaporate during machining. This causes the wire to deviate from the desired path and result in corner errors and angular errors [57, 58].

Fig. 14
figure 14

Effect of CFRP thickness \((T)\) on the \(CI\) of different corner angles

The orientation of the fibers is of crucial importance for the material removal mechanism of CFRP composites during the WEDM process. These composites are typically bi- or multi-directional and are used in a wide variety of applications. Maintaining consistent cutting directions with fiber orientations can be a significant challenge when cutting complex shapes or corners in CFRP composites with unidirectional, multidirectional, or bidirectional carbon fibers. Changes in cutting direction based on fiber orientations can have either positive or negative effects on the cutting mechanism. For the purpose of this study, CFRP samples containing 0°/90° woven carbon fibres have been used. As shown in Fig. 5, the cutting process was designed to ensure that one of the two kerfs (kerfs that form a corner) was always oriented either vertically or horizontally. For corners of 30°, 60° and 120°, the other kerf is inclined at 30°/60° relative to the carbon fiber direction. This minimises the effect of changing cutting directions on these corners. The two cuts forming a 90° corner are parallel and perpendicular to the carbon direction.

3.2 Single response analysis

Taguchi analysis was used to obtain the near optimum combination from the visible parameter levels. Based on the analysis of the Taguchi S/N ratio of corner inaccuracy that illustrated in Table 4, the Percentage Contribution Ratio (PCR) indicates that the most influential process parameters are as follows: Pon (PCR = 43.3%), Poff (PCR = 20.07%), Pon (PCR = 29.67%), and input current (PCR = 24.61%) for angles 30°, 60°, 90°, and 120°, respectively. Also, CFRP thickness has the most significant impact on the corner inaccuracy, which has PCR equal to 30.34%, 46.73%, 33.54%, and 39.60% for corner angles 30°, 60°, 90°, and 120°, respectively. The PCR measures the ratio of factor delta to the total delta of all factors. Table 4 also illustrates the importance of the input parameters by ranking them. In addition, Fig. 15 illustrates the near optimum combinations resulting from Taguchi analysis for minimizing the corner inaccuracy. As indicated by the bold type in Table 4, the Taguchi optimal combination is determined from the maximum S/N ratio values of factor level. These combinations are not included in the OA that was illustrated in Table 2, so the predicted value (Taguchi) test of these combinations was processed. The predicted (calculated) value (Taguchi) of CI using the near-optimum combination can be calculated from Eq. (1).

$${\upeta }_{{\text{pred}}}={\upeta }_{{\text{m}}}+\sum_{{\text{i}}=1}^{{\text{n}}}({\upeta }_{{\text{i}}}-{\upeta }_{{\text{m}}})$$
(1)

where \({\upeta }_{{\text{m}}}\) is the total mean S/N, \(\sum_{{\text{i}}=1}^{{\text{n}}}({\upeta }_{{\text{i}}}-{\upeta }_{{\text{m}}})\) is all improvement (contribution) from all, \({\upeta }_{{\text{i}}}\) is the mean S/N for factors at designated optimal levels, and \({\text{n}}\) is the number of the main factors that affect the quality characteristics. As depicted in Fig. 15, the result of the predicted Taguchi values for the near optimum combinations (NOC) of CI for different corner angles were compared with the best CI values estimated from Table 3 (corner inaccuracy measurements).

Table 4 Taguchi responses tables for corner inaccuracy for different angles
Fig. 15
figure 15

\(CI\) for Taguchi predicted values Vs best CI estimated from Taguchi experimental design

3.3 Multi-response optimization

3.3.1 Modeling of CI using second-order polynomial regression

The polynomial regression models describe the correlation between \({\text{p}}\) input variables \({{\text{x}}}_{1}, \dots , {{\text{x}}}_{{\text{p}}}\) and a single output variable \({\text{y}}\) as illustrated in Eq. (2) [59].

$${\text{y}}={\upbeta }_{0}+\sum\nolimits_{{\text{j}}=1}^{{\text{p}}}{\upbeta }_{{\text{j}}}{{\text{x}}}_{{\text{j}}}+\sum\nolimits_{{\text{j}}<{\text{k}}}{\upbeta }_{{\text{jk}}}{{\text{x}}}_{{\text{j}}}{{\text{x}}}_{{\text{k}}}+\sum\nolimits_{{\text{j}}=1}^{{\text{p}}}{\upbeta }_{{\text{jj}}}{{\text{x}}}_{{\text{j}}}^{2}+\upvarepsilon$$
(2)

where β0 is an intercept, and βj, βjk, and βjj are regression coefficients related to the main effect, relations effect, and quadratic effect terms, respectively; in Eq. (2), the number of regression coefficients to be estimated by “p' = 1 + 2p + p(p-1)/2”, ε includes various sources of errors such as error of measurement for the dependent variable y, errors in specifying regression functions, and errors from excluding other input variables. The 2nd order polynomial modeling was implemented using Minitab software package V21.1 under consideration of forward information criteria with hierarchical model for the data shown in Table 3. The response equations were formulated for the CI of angles 30°, 60°, 90°, and 120°, as illustrated in Equs. (3, 4, 5, and 6). In this test, the adequacy measure R2 was suggested that the models were adequate and fit. The R2 values for CI30o, CI60o, CI90o, and CI120o are 87.36%, 91.73%, 93.10%, and 94.03%, respectively. Figure 16 depicts the actual value of responses and the predicted values estimated from the model to demonstrate the validity of these models. The average error of the models was estimated from the ANOVA for CI30o, CI60o, CI90o, and CI120o are 12.64%, 8.27%, 6.90%, and 5.97%, respectively, as shown in Tables 5 and 6. Also, F-values and contribution for model parameters were established.

Fig. 16
figure 16

The predicted values versus the experimental values for corner inaccuracy responses of the mathematical model

Table 5 ANOVA of corner inaccuracy models of corner angles 30° and 60°
Table 6 ANOVA of corner inaccuracy models of corner angles 90° and 120°
$$ \begin{aligned}CI_{{30^{o} }} & = 0.289~ + ~\left( {0.0044*T} \right)~ - ~\left( {0.00643*P_{{on}} } \right)~ - ~\left( {0.00663*P_{{off}} } \right)~ \\ &\quad- ~\left( {0.0528*I} \right)~ + ~\left( {0.000107*P_{{on}} ^{2} } \right)~ \\ &\quad+ ~\left( {0.0155*T*I} \right)~ + ~\left( {0.00192*P_{{off}} *I} \right)\end{aligned} $$
(3)
$$ \begin{aligned}CI_{{60^{o} }} ~ & = ~0.332~ + ~\left( {0.175*T} \right)~ - ~\left( {0.00818*P_{{on}} } \right)~ \\ & \quad + ~\left( {0.00631*P_{{off}} } \right)~ - ~\left( {0.1650*I} \right)~ + ~\left( {0.0477*T^{2} } \right)~ \\ & \quad + ~\left( {0.000039*P_{{on}} ^{2} } \right)~ + ~\left( {0.01048*I^{2} } \right)~ \\ & \quad + ~\left( {0.00023*T*P_{{on}} } \right)~ - ~\left( {0.01076*T*P_{{off}} } \right)~ \\ & \quad + ~\left( {0.00110*P_{{on}} *I} \right)~ + ~\left( {0.00201*P_{{off}} *I} \right)\end{aligned} $$
(4)
$$ \begin{aligned}CI_{{90^{o} }} ~& = ~0.464~ - ~\left( {0.089*T} \right)~ - ~\left( {0.02332*P_{{on}} } \right)~ + ~\left( {0.0048*P_{{off}} } \right)~\\ & \quad + ~\left( {0.0145*I} \right)~ + ~\left( {0.1348*T^{2} } \right)~ + ~\left( {0.000166*P_{{on}} ^{2} } \right)~ \\ & \quad + ~\left( {0.00135*T*P_{{on}} } \right)~ - ~\left( {0.01236*T*P_{{off}} } \right)~ \\ & \quad + ~\left( {0.000257*P_{{on}} *P_{{off}} } \right)~ + ~\left( {0.00010*P_{{on}} *I} \right)\end{aligned} $$
(5)
$$ \begin{aligned}CI_{{120^{o} }} ~ & = ~ - 0.018~ - ~\left( {0.002*T} \right)~ - ~\left( {0.00340*P_{{on}} } \right)~ \\ &\quad+ ~\left( {0.0301*P_{{off}} } \right)~ - ~\left( {0.1005*I} \right)~ + ~\left( {0.1299*T^{2} } \right)~ \\ &\quad- ~\left( {0.000465*P_{{off}} ^{2} } \right)~ + \left( {0.00730*I^{2} } \right)~ \\ &\quad- ~\left( {0.01293*T*P_{{off}} } \right)~ + ~\left( {0.00284*P_{{off}} *I} \right)\end{aligned} $$
(6)

3.3.2 Composite desirability method

The Taguchi method does not guarantee reaching the optimal solution, but rather seeks to find a solution that is near to the optimum for a single response. Moreover, different combinations of the parameters are required to achieve near-optimal conditions for each response. Additionally, the required parameters for making sharp corner angles with high precision for varied CFRP thicknesses cannot be determined. To address this issue of incompatible responses in Taguchi single-response, a multi-response optimization using Composite Desirability (CD) approach coupled with generalized reduced gradient were employed using MINITAB V21.1. The goals and constraints for each response were determined to precisely assess their impact on overall desirability. Table 7 shows the ranges and objectives of the input factors and response characteristics. The global composite desirability for overall responses for the Taguchi OA L16 was estimated and illustrated in Table 8. In the first step, individual desirability functions (di(ŷi)) must be created for each response (ŷi(k)) using the fitted models and establishing the optimization criteria. Global desirability values range from 0 to 1, where di(ŷi) = 0 represents an undesirable response and di(ŷi) = 1 represents an ideal response. The Derringer desirability function [60] allows analysts to create different functions based on their optimization criteria. These functions consider an acceptable range of response values, which is determined by the upper (Ui) and lower (Li) acceptable values. In this study, the goal is to reduce the corner inaccuracy at different angles. The equation for desirability dii) when it has to be minimized was illustrated by Eq. (7). After transforming the n variables (factor and response levels) into desirability functions, they are combined into a single function called the global Composite Desirability (CD) to determine the best joint responses using Eq. (8). The interaction effect of input parameters Pon, Poff, I, and T on the overall corner inaccuracy (i.e., composite desirability) was shown in Fig. 17.

$${d}_{i}\left({\widehat{y}}_{i}\left(x\right)\right)=\left[\begin{array}{cc}1& if\; {\widehat{y}}_{i}(x)<{L}_{i}\\ {\left(\frac{{U}_{i}-{\widehat{y}}_{i}\left(x\right)}{{U}_{i}-{L}_{i}}\right)}^{t}& if\; {L}_{i}\le {\widehat{y}}_{i}(x)\le {U}_{i}\\ 0& if\; {\widehat{y}}_{i}(x)>{U}_{i}\end{array}\right]$$
(7)
$$CD = \left( {d_{1}^{{r1}} \times d_{2}^{{r2}} \cdots \cdots \times d_{n}^{{rn}} } \right)^{{\frac{1}{{\sum r i}}}} = \left( {\prod\nolimits_{{i = 1}}^{n} {d_{i}^{{ri}} } } \right)^{{\frac{1}{{\sum r i}}}}$$
(8)

where t is the weight to determine how important is it for ŷi to be close to the minimum, ri is the importance of each variable relative to the others.

Table 7 Range of Input Variables and Responses for corner inaccuracy of angles 30°, 60°, 90°, 120° Simultaneously
Table 8 Composite desirability for the overall responses based on Taguchi OA
Fig. 17
figure 17

Effect of process parameters and CFRP thickness on the global composite desirability

The goal of optimization is to identify a favorable set of conditions that will meet all objectives. Figure 18 displays the maximum response value, optimal parameter values, and composite desirability values for CI30o, CI60o, CI90o, and CI120o simultaneously at T (1.0mm). Table 9 displays the predicted best process combinations for achieving optimal overall corner accuracy within the specified design space limitations across various CFRP plate thicknesses ranging from 0.5mm to 2.0mm. The optimal process combination for achieving desired responses within a specified CFRP thickness was selected based on the set of conditions with the highest global desirability value, using generalized reduced gradient (GRG) method. This selection aims to demonstrate the sensitivity of process parameters to variations in CFRP plate thickness. Note that, the HS-WEDM machine in this study has input current values are 2, 3, 4, 5A, no values can be selected within these values. The predicted improvement in corner accuracy was expressed as a percentage is shown in Fig. 19. This improvement is based on the composite desirability obtained from the optimal process combination presented in Table 9, compared to the composite desirability obtained from the OA experiments shown in Table 8, for different CFRP thicknesses of 0.5, 1.0, 1.5, and 2.0mm.

Fig. 18
figure 18

Optimal Solution for CI30o, CI60o, CI90o, and CI120o simultaneously at T = 1.0mm

Table 9 Set of Optimal Solutions for CI30o, CI60o, CI90o, and CI120o simultaneously at different thickness
Fig. 19
figure 19

Improvement using optimal process parameters at varied CFRP thicknesses

In order to improve corner accuracy for various CFRP thicknesses, the middle levels of the pulse-on time, which lasts between 40 and 45µs works best, as Table 9 and Fig. 17 show. In addition, thinner CFRP (0.5 to 1.0mm) requires a shortest pulse-off duration, while thicker plates (1.5 to 2.0mm) require a longer duration of pulse-off. For diverse CFRP thicknesses, input currents ranging from 2 to 4A are suitable. Higher input currents necessitate a lower pulse-off time, whereas lower input currents demand a long pulse-off duration to maintain precise corner angles, as depicted in Fig. 17. Notably, at varying input current and pulse-off time levels, the central region of the pulse-on time emerges as crucial for improving corner accuracy. Consequently, certain conflicting process parameters must be reconciled to achieve optimal corner accuracy. The ideal process combination is determined through compromise solutions. Table 9 offers an overview of this optimal combination for varied CFRP thicknesses using GRG optimization method.

4 Conclusions

This work presents, for the first time, an analysis of the corner inaccuracy for the cutting of thin-walled CFRP parts in the corner-cutting step. The fabrication of these parts is challenging work because of its poor stiffness and low electrical conductivity. To address these issues, an investigation of the use of HS-WEDM as a non-contact material removal process that is suitable for machining CFRP composite without the need for a metal-assisted electrode was conducted. A Taguchi analysis allows pointing out the effect of the HS-WEDM process parameters on the corner inaccuracy for the cut of thin-walled CFRP parts in the corner cutting step. Based on our findings, we conclude the following:

The most effective parameters on the corner inaccuracy of angle \({30}^{{\text{o}}}\) are pulse-on duration (PCR = 43.3%), followed by CFRP thickness (PCR = 30.34%). Also, CFRP thickness has the greatest influence on corner angles 60°, 90°, and 120° with PCR 46.73%, 33.54%, and 39.6%, respectively. As a result, the most effective parameter influencing corner inaccuracy with varied angles is thickness of CFRP.

Taguchi investigation has identified the near optimum combination for improving corner accuracy at varied corner angles. These combinations consist of T (1mm), Pon (40μs), and I (3A) for studied corner angles 30°, 60°, 90°, and 120°. The only factor that changes is the duration of the pulse-off, which is dependent on the corner angle. For a 30° corner angle, a pulse-off duration of 20μs is required, while for angles of 60° and 90°, the pulse-off durations increase to 25μs and 30μs, respectively. As a result, low pulse-off duration is particularly beneficial for small corner angles, as it prevents excessive buildup of debris in machining gap zone.

Composite desirability aims to find the optimal settings for the process parameters that maximize the overall desirability of the corner accuracy for varied angles. Therefore, to achieve accurate corners with different angles of thin walled CFRP, the optimal process parameters were determined: Pon (40µs), Poff (15µs), and I (4A) for CFRP thicknesses between 0.5 and 1.0mm, and Pon (45µs), Poff (30µs), and I (2A) for thicknesses between 1.25 and 2.0mm. The improvement occurred from optimization for CFRP thicknesses 0.5, 1.0, 1.5, and 2.0mm are 24.66%, 1.24%, 30%, and 31.27%, respectively.

5 Future work

This study investigates the corner accuracy of thin-walled CFRP composites through the application of an HS-WEDM process without the use of an assisted conductive material. The method effectively machining the CFRP material. Future research could involve examining corner accuracy using HS-WEDM of CFRP composites with varying thicknesses of assisted conductive material (assisted electrode) and comparing the outcomes with those of this study. Given the limited existing research on HS-WEDM of CFRP, further investigation is warranted to analyze how the direction of reciprocating wire motion affects cutting quality.