1 Introduction

Recently, due to the characteristics of low weight, saving material, compact structure, and good toughness, the thin-walled parts are increasingly used in the aerospace and precise instrument industry. Unfortunately, the fabrication of thin-walled part is a very challenging work due to its poor stiffness [1]. Specifically, it is difficult to fabricate thin-walled sharp-corner parts, using traditional machining methods, because of common machining deformation that reduces the form and dimensional accuracy of the parts [2]. Wire electrical discharge machining (WEDM) is a high-precision and non-contact machining method, which can process conductive materials of any hardness, without inducing cutting stress [3,4,5]. Thus, WEDM is an appropriate machining method for fabricating thin-walled sharp-corner part because of its specific material removing mechanism. However, according to our experimental data, there is an inevitable corner deformation during processing thin-walled sharp-corner part, and the direction of this corner deformation is closely related to the magnetism of the workpiece material. More specifically, as shown in Fig. 1, the direction of corner deformation of Q235 steel (magnetic materials) is opposite to that of 6061 Al alloy (non-magnetic material) under the same cutting path. The formation of this corner deformation may be caused by the induced magnetic field from the discharge current. Hence, this corner deformation is defined as electromagnetic deformation.

Fig. 1
figure 1

The physical map of corner deformation of Q235 steel and 6061 Al alloy

In addition, the WEDM process involves several physical fields, such as electric field, thermal field, electromagnetic field, flow field, and optics. The material removing process of WEDM is widely considered as thermal removing. A part of workpiece material may be heated to austenitizing temperature. Then, the strength of this part of workpiece material is significantly decreased. Under the induced magnetic field, the material with lower strength will be resulted in more obvious sharp-corner deformation.

Therefore, it can be said that the sharp-corner deformation is directly related to the induced magnetic field. Besides, the heating effect can promote the increase of the sharp-corner deformation.

As we know, cutting speed, surface quality, and geometrical accuracy are the three key indexes of WEDM characteristics. Thereinto, corner deformation is one of the main forms of workpiece geometrical accuracy. Besides, sharp corner is a common feature in the precision parts and components, such as precision mold, small module gear, clock, and robot. Investigating and reducing of the corner deformation of workpiece with sharp corner have good practical significance. For example, WEDM is a usual manufacturing method for small module gear in small batch and diversity product. Corner accuracy is the important technological index of small module gear which is a determining factor of transmission precision and service life. Hence, reducing the corner deformation of workpiece is helpful for increasing the usability of workpiece with sharp-corner and the promotion and application of WEDM in some precision manufacturing fields.

1.1 Literature review

1.1.1 Corner accuracy

Han F et al. [6] presented a simulation system for predicting the corner error considering wire deflection and vibration in WEDM, and it was proved that this simulation system is of high feasibility and precision. Chen et al. [7] focused on investigating the causes of corner error during different cutting paths, and the method of parameter optimization was used to obtain high corner accuracy. Abyar et al. [8] built a mathematical model for investigating the inaccuracy at small arced corners due to wire deflection, and it was proved that the proposed mathematic model could be utilized to predict and compensate wire deflection during machining small arced corner process. Chen et al. [9] developed a wire deflection model for forecasting the corner error in WEDM, and a new wire electrode and cut-back method based on wire deflection model were proposed to reduce the corner error. Chen et al. [10] designed a constant wire tension control system to improve corner error due to wire deflection, and it was pointed out that this system could decrease corner error by 15–35%. Abovementioned studies about corner accuracy mainly concentrated on corner error due to wire deflection and vibration, and they were significant to reveal the formation mechanism and reduce corner error. However, very few researches focusing on corner accuracy of thin-walled sharp-corner part resulted from induced magnetic field exist.

1.1.2 Magnetic field distribution

A considerable number of researches about magnetic field distribution have been carried out. Tomura et al. [11] built a two-dimensional model to obtain the magnetic field distribution, based on Poisson’s equation and taking into account electro-magnetic induction. It was noted that the force due to electromagnetic induction acting on the wire electrode was an attractive force when the workpiece material was magnetic. But, the force due to electromagnetic induction acting on the wire electrode was a repulsive force when the workpiece material was non-magnetic. Chen et al. [12] developed a three-dimensional finite element model for analyzing the magnetic flux density distribution and the force due to electromagnetic induction exerted on the wire electrode. It was pointed out that this force due to electromagnetic induction acting on the wire electrode could be approximate to a periodic trapezoidal impulsive force. Nani et al. [13] presented an ultrasonic-assisted method to reduce the impact of the induced electro-magnetic field on the machining characteristics. Experimental results showed that this method could improve the dimensional accuracy and surface quality of the workpiece. Based on the abovementioned studies about magnetic field distribution, it can be found that the induced magnetic field caused by discharge current has a great effect on the machining characteristics of WEDM, such as wire electrode vibration, workpiece geometric accuracy, and surface quality. Above previous researches contributed to understand how the induced magnetic field distribution affect the machining process of EDM/WEDM. However, very few researches about the influence of the induced magnetic field on the corner accuracy of thin-walled sharp-corner part exist.

1.1.3 Magnetic field-assisted method

Gholipoor et al. [14], Lin et al. [15,16,17], and Teimouri et al. [18] applied the method of magnetic field assisted to enhance the performance of EDM, and good improvements had been obtained in their researches, such as material removal rate and surface quality. Govindan et al. [19] pointed out that the magnetic field-assisted method could significantly restrain the expansion of the electron beam. Thus, the density of discharge energy could be raised so as to increase the volume of discharge crater in single pulse discharge process. Teimouri et al. [20, 21] came up with a method of rotational magnetic field assisted to enhance the debris expelling from the machining gap in EDM, and it was proved that the improvement of rotational magnetic field was more obvious than that of constant magnetic field. Heinz et al. [22] designed a new magnetic field device to assure that the Lorentz force, acting on debris, was vertical to the workpiece surface when the workpiece material was non-magnetic in EDM. Then, the material removal rate was increased by approximately 50% in single pulse discharge. Ming et al. [23] carried out a comparative study to evaluate the effect of magnetic field assisted on the energy efficiency and environmental impact. It was proved that the magnetic field-assisted method could increase energy utilization efficiency, material erosion efficiency, and material removal rate. Zhang et al. [24] adopted the magnetic field-assisted technology to reduce energy consumption and thermal deformation in WEDM. Zhang et al. [25] adopted the methods based on ultrasonic vibration and magnetic field to assist WEDM in improving its machining performance. It was concluded that this proposed hybrid approach could effectively increase the percentage of normal discharge state and improve the machining characteristics (including material removal rate, surface roughness, and surface crack density) when the process parameters were set within the appropriate range. Wang et al. [26] illustrated that the magnetic field-assisted method could make the distribution of discharge spark points more uniform in WEDM. Then, this method could reduce the probability of wire electrode breakage and improve machining characteristics. Chen et al. [27] proposed specific discharge energy and magnetic-assisted method for increasing the machining characteristics of WEDM; a good improvement for machining efficiency and surface quality had been obtained in their study. All the aforementioned studies prove that the magnetic field-assisted method could effectively improve the performance of EDM/WEDM. However, very few researches focusing on the effect of external magnetic field-assisted on corner deformation of thin-walled sharp-corner part exist.

1.2 Outline of our work

This paper aims to improve the corner accuracy of thin-walled sharp-corner part based on magnetic-assisted approach and parameter optimization. A coupled magnetic-mechanical model is established to clarify the function mechanism of the external magnetic field on the corner deformation. Besides, a confirmatory experimental study is carried out for verifying the theoretical influence rule of the external magnetic field on corner deformation. Moreover, a set of Taguchi experiment is implemented to analyze the effects of process parameters on the corner deformation. The numerical model of corner deformation is worked out to find the optimal process parameter combination for the minimum corner deformation.

2 The coupled magnetic-mechanical model

In this section, a coupled magnetic-mechanical model is built to describe how the external magnetic field affects the corner deformation. In addition, the influence trends of the external magnetic induction intensity on the magnetic field distribution and corner deformation are also investigated.

2.1 Without the external magnetic field assisted

The induced magnetic field caused by discharge current can be simplified as a two-dimensional problem because the workpiece thickness (1 mm) is negligible. Moreover, the magnetic field model follows the Poisson’s equation taking into account electro-magnetic induction (as shown in Eq. (1)), and the mechanical model is according to solid mechanics theory.

$$ -{J}_0+\sigma \frac{\partial {\mathbf{A}}_z}{\partial t}+\sigma \frac{\partial \varphi }{\partial z}=\frac{\partial }{\partial x}\left(\frac{1}{\mu_r{\mu}_0}\frac{\partial {\mathbf{A}}_z}{\partial x}\right)+\frac{\partial }{\partial y}\left(\frac{1}{\mu_r{\mu}_0}\frac{\partial {\mathbf{A}}_z}{\partial y}\right) $$
(1)

where J0 is the discharge current density which is equal to I(t)/π/r2, σ is the workpiece conductivity, φ is the induction electromotive force, μr is the relative magnetic permeability, μ0 is the vacuum permeability, and Az is the z-component of electro-magnetic vector potential. σ(∂Az/∂t+Φ/∂z) is induced eddy current density due to the changing magnetic field.

Because the external magnetic field can only affect the induced magnetic field when the workpiece material is magnetic, Q235 steel is chosen as the workpiece material in the coupled magnetic-mechanical model due to its good magnetism.

Based on previous researches [11, 28, 29] and our own experimental experience, the wave shape of the discharge current, during single pulse discharge, is similar to trapezoid, as shown in Fig. 2. The discharge current rises up to a peak value (I0) in a very short time (0–t1), then remains stable for a certain period of time (t1t2), and then drops rapidly to zero (t2t3). In other words, the wave shape of the discharge current, during single pulse discharge, includes a constant current component and a variant current component. The changed current will result in electromagnetic induction phenomenon. In addition, according to the collecting experiment for the wave shape of the discharge current during single pulse discharge, the rising time and dropping time are about 2 μs when the pulse on time is 8–20 μs.

Fig. 2
figure 2

The schematic diagram of the wave shape of the discharge current during single pulse discharge

Figure 3 suggests the configuration of the coupled magnetic-mechanical model which consists of workpiece, wire electrode, discharge gap, cutting kerf, and air. Alone, the relative magnetic permeability of the workpiece is 400, while the others’ are all zero. Besides, Table 1 represents the simulation parameters of the coupled magnetic-mechanical model. According to experimental measurement, the width of the cutting kerf is about 310 μm as the diameter of wire electrode is 250 μm. Then, the discharge gap is set as 30 μm in this coupled model.

Fig. 3
figure 3

The configuration of the coupled magnetic-mechanical model

Table 1 The simulation parameters of the coupled magnetic-mechanical model

Based on the above theoretical analysis, the coupled magnetic-mechanical model during single pulse discharge can be solved by the FEM numerical simulation software (COMSOL Multiphysics). Figure 4 illustrates the induced magnetic field distribution at the time point of 10 μs during single pulse discharge. It can be found that (1) the distribution of the induced magnetic field is not uniform, and the maximum induced magnetic induction intensity can be up to 1.08 T at the corner area; and (2) the direction of the magnetic force line in air region is anticlockwise. At the boundary area of the cutting kerf, the magnetic force line detoured around discharge gap rather than pass through it. In the cutting kerf region, the magnetic line force is approximately parallel to the y-axis and follows the positive direction. This fact is attributed to the electro-magnetic induction phenomenon, as the relative magnetic permeability of the workpiece is much higher than those of other areas. Besides, based on the induced magnetic field distribution, it is evident that the lower edge of the cutting kerf can be simplified to N pole, and the upper edge of the cutting kerf can be simplified to S pole. Then, the corner area is subject to the force whose direction is the same to y-axis negative direction.

Fig. 4
figure 4

The induced magnetic field distribution during single pulse discharge

Figure 5 exhibits the stress distribution and deformation of Q235 during single pulse discharge. The scale factor of deformation is 1.12 × 107. The maximum stress reaches 480 N/mm2 at the corner point, and the maximum deformation is 1.07 × 10−5 μm. In other words, the corner deformation resulted by single pulse discharge is very small. As we know, the period of single discharge process is of the order of 0.1–1 μs, so the discharge sparks affect each other. Then, it is very difficult to predict the exact value of corner deformation by simulation. However, the direction of corner deformation is the same to that in experiment. That is to say, this coupled magnetic-mechanical model can qualitatively clarify the forming cause of corner deformation.

Fig. 5
figure 5

The stress distribution and deformation of Q235 during single pulse discharge

2.2 With the external magnetic field assisted

Figure 6 suggests the schematic and physical map of the external magnetic field-assisted WEDM. Before we start this paper, we attempt to analyze the effect of the direction of the external magnetic field on the sharp-corner deformation. According to our experiment data, the external magnetic field can decrease the sharp-corner deformation only when the setting of the external magnetic field as Fig. 6. This device is composed of a DC electrical source, two solenoids, and iron cores. The principle of external magnetic field accords with the law of electromagnetic induction discovered by Faraday. The external magnetic induction intensity (B) between N pole and S pole is uniform because the two solenoids are the same and placed in parallel, and the supplying currents of two solenoids are in opposite directions. In addition, the external magnetic induction intensity is adjusted by supplying current, according to the relation shown in Table 2.

Fig. 6
figure 6

The schematic and physical map of the external magnetic field-assisted WEDM

Table 2 The relationship between the external magnetic induction intensity and supplying current

Based on the coupled magnetic-mechanical model, the magnetic field distribution and corner deformation under the external magnetic field assisted during single pulse discharge can be obtained through simulation method. Figures 7, 8, 9, and 10 depict the magnetic field distribution under the external magnetic field assisted during single pulse discharge. It can be observed that (1) the magnetic field distribution under the external magnetic field assisted is similar to that without the external magnetic-assisted approach. (2) Comparing with Fig. 4, it is evident that the external magnetic field can effectively improve the electromagnetic induction phenomenon caused by discharge current. (3) The improvement effect of the external magnetic field assisted has a positive relation with the external magnetic induction intensity. More specifically, the maximum magnetic induction intensities are 1.07 T, 1.06 T, 1.03 T, and 0.97 T at external magnetic induction intensity values of 0.05 T, 0.1 T, 0.2 T, and 0.3 T, respectively. This fact is attributed to the workpiece that can be magnetized by the external magnetic field due to ferromagnetism. Besides, the magnetization phenomenon can also affect the electromagnetic induction phenomenon caused by the discharge current. Then, the maximum magnetic induction intensity of workpiece decreases along with the external magnetic flux density.

Fig. 7
figure 7

The magnetic field distribution under 0.05 T magnetic field assisted

Fig. 8
figure 8

The magnetic field distribution under 0.1 T magnetic field assisted

Fig. 9
figure 9

The magnetic field distribution under 0.2 T magnetic field assisted

Figure 11 shows the stress distribution and corner deformation under the external magnetic field during single pulse discharge, and the scale factor of deformation is 1.12 × 107. It can be observed that (1) the maximum stress is obtained at the edge of the cutting kerf near wire electrode. This is inconsistent with the representation in Fig. 5. This fact is because the external magnetic field not only influences the magnetic field distribution but also applies a force on corner area. This force is actually the attractive force of the magnetic iron. (2) Figure 12 shows the influence trend of magnetic induction intensity on the maximum corner deformation. More specifically, the maximum corner deformations are 9.51 × 10−6 μm, 7.14 × 10−6 μm, 6.25 × 10−6 μm, and 8.93 × 10−6 μm when the external magnetic induction intensities are 0.05 T, 0.1 T, 0.2 T, and 0.3 T, respectively. In other words, the corner deformation firstly decreases and then increases along with the increasing of the external magnetic induction intensity. There is optimal external magnetic induction intensity between 0.2 and 0.3 T for acquiring the minimum corner deformation.

Fig. 10
figure 10

The magnetic field distribution under 0.3 T magnetic field assisted

Fig. 11
figure 11

The stress distribution and deformation under the external magnetic field during single pulse discharge

Fig. 12
figure 12

The influence trend of magnetic induction intensity on the maximum corner deformation

Fig. 13
figure 13

The sharp-corner deformation under three machining conditions

Fig. 14
figure 14

The physical map of 5-axis low-speed wire electrical discharge machine tool

Fig. 15
figure 15

The measurement drawing of corner deformation

Fig. 16
figure 16

The result of the main effect analysis of process parameters on the corner deformation

Fig. 17
figure 17

The residual graphs for corner deformation

Fig. 18
figure 18

The measurement drawing of corner deformation under the optimal process parameter combination

It can be concluded that the external magnetic field can effectively reduce the corner deformation through improving the magnetic field distribution. It should be noted though that this positive effect does not grow as the external magnetic induction intensity rises. For revealing this phenomenon, the sharp-corner deformation under three machining conditions had been simulated, as shown in Fig. 13. When the external magnetic field is not applied, there is an attractive force (F1) acting on the corner area caused by the induced magnetic field from discharge current, and its direction points to wire electrode. When the discharge current is zero, there is an attractive force (F2) acting on the corner area caused by the external magnetic field, and its direction is in the same with the negative y-axis. These two attractive forces (F1 and F2) can all exacerbate the sharp-corner deformation. Increasing the external magnetic field intensity can reduce the maximum magnetic field intensity and the attractive force (F1), but increase the attractive force (F2). Then, the sharp-corner deformation may firstly decrease and then increase with the increasing of the external magnetic induction intensity.

Consequently, there is optimal external magnetic induction intensity for acquiring the minimum corner deformation. However, it should be pointed out that the optimal external magnetic induction intensity cannot be solved out by the coupled magnetic-mechanical model during single pulse discharge, and the reason of this fact is as follows: (a) The number of discharge spark is extremely high. (b) The distribution of discharge spark points is very complex and random. (c) There is interaction effect between numerous discharge sparks. Hence, this model can only qualitatively clarify the function mechanism of the external magnetic field on the corner deformation.

Summarizing, it is proved that the external magnetic field can effectively improve the magnetic field distribution and decrease the corner deformation. Besides, there is optimal external magnetic induction intensity for acquiring the minimum corner deformation.

3 Verification for the coupled model

In this section, an experimental study is implemented to verify the theoretical influence rule of the external magnetic field on the corner deformation.

All experiments are conducted on our self-developed 5-axis low-speed wire electrical discharge machine tool whose physical map is represented in Fig. 14. This machine tool mainly consists of wire winding system, pulse power source (in milliseconds), CNC system, workbench, 5-axis motion platform, cooling system, et al. The wire electrode is 0.25 mm in diameter brass wire; the dielectric is deionized water. Besides, the Keyence digital microscope (VH-Z500R) is used as a measuring tool in this experiment, and the magnification is × 200. Moreover, Q235 steel is chosen as the workpiece material because of its good magnetic conductivity. The chemical compositions and ranges of Q235 are shown in Table 3. The physical and mechanical properties of Q235 are shown in Table 4.

Table 3 The chemical compositions and ranges (wt%) of Q235
Table 4 The physical and mechanical properties of Q235

Furthermore, according to our previous researches [12, 25] and experimental experience, four process parameters are selected as the variable factors, namely pulse on time (ton), pulse-off time (toff), discharge peak current (I), and the external magnetic induction intensity (B). Besides, other parameters are as shown in the following: gap voltage reference is 40 V, wire speed is 0.15 m/s, dielectric pressure is 1.0 MPa, wire tension is 15 N, corner cutting angle is 5°.

The design and results of the single factor experiment are listed in Table 5. Here, D represents corner deformation. Besides, Fig. 15 suggests the measurement drawing of corner deformation without and with the external magnetic field assisted.

Table 5 The design and results of the single factor experiment

From Table 5, it can be observed that (1) the external magnetic field can effectively reduce corner deformation. More specifically, the external magnetic field decreases the corner deformation from 100.6 to 60.2 μm. (2) Under constant other system parameters, the corner deformation decreases as the external magnetic induction intensity (B) increases up to the value of 0.25 T, followed by a rising path as the external magnetic induction intensity continues to increase. This observation is consistent with the influence as described by the coupled theoretical model. In other words, it is proved that the coupled magnetic-mechanical model is feasible and reliable.

4 The optimal process parameter combination for the minimum corner deformation

In this section, a group of Taguchi experiment is completed under the external magnetic-assisted approach for analyzing the influences of process parameters on the corner deformation and searching the optimal process parameter combination for the minimum corner deformation. The input parameters and their levels are listed in Table 6. The results of Taguchi experiment are indicated in Table 7.

Table 6 The input parameters and their levels of Taguchi experiment
Table 7 The results of Taguchi experiment

The method of main effect analysis is adopted to evaluate the influences of process parameters on the corner deformation. Figure 16 shows the results of the main effect analysis of process parameters on the corner deformation, and Table 8 suggests the response for main effect analysis. It can be found in the following that:

  1. a)

    With the increase of the external magnetic induction intensity, the corner deformation firstly rises and then drops down. This impact trend of the external magnetic induction intensity on the corner deformation corresponds with that in the single factor experiment.

  2. b)

    The deltas of discharge parameters rank from high to low as follows: pulse-on time, external magnetic induction intensity, discharge peak current, and pulse-off time.

  3. c)

    Corner deformation has a positive relation with discharge current. This fact can be explained by the coupled magnetic-mechanical model, the main reason of corner deformation is the induced magnetic field generated by discharge current, and the induced magnetic induction intensity rises with the increase of discharge peak current.

  4. d)

    Corner deformation increases with the increase of pulse-on time. This fact is due to that the discharge energy of the single discharge pulse has positive correlation with pulse-on time. As we know, the removing mechanism of workpiece material in WEDM is always considered as thermal corrosion. So much high thermal energy density causes the workpiece material to melt or even vaporize [30, 31]. Thermal energy can not only remove workpiece material but it can also reduce the mechanical strength of the corner area material. In other words, increasing discharge current means decreasing the mechanical strength of the corner area material so as to increase the corner deformation.

  5. e)

    Corner deformation reduces along with pulse-off time. On the one hand, the discharge energy of the single discharge pulse is inversely related to pulse-off time. On the other hand, the longer pulse-off time means the longer time for dielectric flushing without discharge spark. Then, the temperature of the corner area material can be fallen further. Namely, increasing pulse-off time can increase the mechanical strength of the corner area material in the discharge process.

Table 8 Response for main effect analysis

Besides, the function of corner deformation in relation to the process parameters is established using nonlinear regression model, as shown in Eq. (2). The residual graphs for corner deformation are indicated in Fig. 17. It can be found that the fitting residual for corner deformation obeys normal distribution well. The average relative error between experimental data and fitting data is less than 3.1%. Moreover, the optimal machining parameter combination can be found out from the range analysis method, as follows: the external magnetic induction intensity is 0.25 T, pulse on time is 8 μs, pulse-off time is 16 μs, and discharge peak current is 6 A. According to the numerical model, the predicted value of corner deformation is at 38.5 μm.

$$ {\displaystyle \begin{array}{l}D=53.6315-284.84B+657.71{B}^2+3.8071{T}_{on}\\ {}-0.9994\ast {T}_{off}+2.21I-5.9B{T}_{on}-0.597 BI\end{array}} $$
(2)

Furthermore, a verified experiment is carried out to evaluate the precision of the numerical model for corner deformation, and to obtain the minimal corner deformation. Figure 18 suggests the measurement drawing of corner deformation under the optimal process parameter combination. It can be seen that the corner deformation is decreased to as small as 34.3 μm. The relative error between predicted value and experimental data is 4.2 μm, which suggests that the proposed numerical model has high precision. This error is composed of model error and measuring error. All data show that the magnetic-assisted methods with parameter optimization can effectively improve the corner accuracy in WEDM.

5 Conclusions

The main purpose of this study is to improve the corner accuracy of thin-walled sharp-corner part through magnetic field-assisted WEDM and parameter optimization. From the above analysis, the following conclusions can be drawn:

  1. 1.

    The coupled magnetic-mechanical model demonstrates that the external magnetic-assisted method can effectively improve the magnetic field distribution and decrease the corner deformation. Moreover, the corner deformation firstly decreases and then increases with the increase of the induction intensity of the external magnetic field. There is an optimal value of the external magnetic induction intensity for acquiring smaller corner deformation.

  2. 2.

    The single factor experiment indicates that the theoretical influence rule of the external magnetic field-assisted method on corner deformation is in good agreement with the experimental data. The maximal reduction of corner deformation reaches 40% when the external magnetic induction intensity is set as 0.25 T.

  3. 3.

    Taguchi experiment results clarify that the corner deformation rises up with the increase of pulse on time and discharge peak current, and reduces along with pulse-off time. Moreover, the numerical model of corner deformation depending on process parameters is obtained with high precision. Then, the optimal process parameter combination is found out which can reduce corner deformation to as small as 34.3 μm.