1 Introduction

In order to improve the performance of aerospace parts, more and more types of materials with high-temperature mechanical properties are widely applied, such as nickel-based superalloys, metal matrix composites, and intermetallic alloys [1]. However, conventional methods are difficult to process these materials due to their high hardness and strength, causing long time and high costs. To overcome this issue, electrical arc machining (EAM) was proposed and utilized as a highly efficient technique for the removal of electro-conductive materials [2], particularly those that were challenging to cut. Compared to traditional cutting processes, EAM offers several advantages, including a significantly higher material removal rate (MRR) and lower costs. Within the realm of arc-based machining, researchers have proposed various methods, including arc dimensional machining (ADM) [3], high-speed electro erosion milling [4], blasting erosion arc machining (BEAM) [5], electrochemical arc machining [6], and electrical discharge and arc compound machining [7]. These techniques have found applications in the manufacturing of aerospace components such as bladed blisks [4] and turbine disks [8].

The surface machined by EAM is composed of overlapping craters, directly affecting the surface quality. Deep erosion craters are prone to be produced under the unsatisfactory discharge conditions such as long term stable arc and short circuit, resulting in uneven surfaces. The surface processed by negative polarity BEAM has a surface roughness Ra of 274 μm [9]. During short electrical arc machining (SEAM) of Inconel 718 using graphite electrodes, the surface roughness Sa increases with increasing voltage, and when the voltage is 30 V, Sa reaches 112.21 μm [10]. Therefore, the surface quality processed after EAM is frequently inferior and with the potential to improve. One of the critical factors in enhancing the surface quality is effectively controlling the arc plasma during machining.

In EAM, to timely drive away or even break the stable arc, two arc breaking mechanisms, namely the mechanical motion arc breaking mechanism and hydrodynamic arc breaking mechanism, have been employed to effectively move the arc plasma [11]. However, when only relying on mechanical motion arc breaking mechanism [12], limitations in MRR and high tool wear ratio (TWR) were observed. This is due to the fact that high-speed gap flushing not only drives the arc plasma but also facilitates the expulsion of molten metal [13]. Some researchers have enhanced the hydrodynamic arc breaking mechanism by increasing the fluid pressure, improving the performance of EAM. Guo et al. [14] showed that MRR and surface quality were improved with the increasing fluid pressure during the electrical discharge milling process of graphite on titanium alloy TC4. Li et al. [15] found that the surface machined by SEAM became comparatively flatter with the increasing flushing flow rate, and the thickness of the recast layer decreased. It can be clearly seen that the fluid field plays a critical role in the hydrodynamic arc breaking mechanism, further making a significant impact on surface quality. Gu et al. [11] optimized the fluid field to control the arc plasma more homogeneously, avoiding the deep craters in the center of the machined surface. In fact, the capability to control arc plasma is not sufficient enough when using only one of the above two mechanisms in the actual processing procedure. Therefore, a compound arc breaking mechanism, combining hydrodynamic arc breaking with mechanical motion arc breaking, has been widely adopted as the plasma control mechanism in arc machining, such as BEAM [16].

Multiple sloped surfaces are encountered frequently in 3-axis milling. Some researches have indicated that the relative angle between the electrode and workpiece can have a significant impact on the machining process. Nakano et al. [17] conducted dry electric discharge milling and pointed out that the different angle orientations of the electrodes and workpiece affected the flow velocity of the gas medium, and the gas leak caused a reduction in MRR. Fujiki et al. [18] found that the increase in the tilt angle of the electrode led to a decrease in MRR and an increase in TWR due to the leakage of working fluid. To address the problem, a path planning strategy was proposed based on electrode-workpiece orientation, which avoided leakage of working fluid and enhanced the performance of EDM milling [19]. Undoubtedly, the machining performance is significantly influenced by the relative angle between the electrode and the workpiece. In 3-axis arc milling, the relative inclination angle can be an expanding gap between the tool and the workpiece surfaces. This leads to significant decompression of the working fluid pressure, as depicted in Fig. 1.

Fig. 1
figure 1

Schematic of decompression in bevels machining

Aiming at improving the quality of sloped surfaces in BEAM, this paper aims to investigate the influence of slope angles on surface quality through a series of experiments. Subsequently, an analysis and simulation-based approach is employed to elucidate the reasons behind the deterioration of surface quality. Additionally, the impact of a magnetic field on boosting debris expulsion and plasma control is proved. Finally, experimental validation is conducted to ascertain the efficacy of magnetic field assistance in improving surface quality.

2 Experimental and simulation setup

2.1 Experimental setup

A series of BEAM experiments were conducted using a custom-built BEAM machine to investigate the impact of slope angle on machining outcomes. Inconel 718 bevels with angles of 0°, 20°, 40°, and 70° were selected to perform BEAM machining experiments, as shown in Fig. 2. An adjustable tilting platform determines the position of bevels. The machining feature for all conditions is a single groove with a cutting depth of 3 mm and a length of 40 mm. After machining, the machined surface and its metallograph after grinding and corrosion are observed by a confocal microscope (Keyence VHX-6000), and the drawtube is adjusted to be sideling to fit the morphology of bevels, as shown in Fig. 2c. The machined surface roughness is also measured by that, and the cutoff wavelength of S-filter and L-filter is 80 μm and 20 mm. Additionally, the micromorphology is observed by a scanning electron microscope (Tescan VEGA-3).

Fig. 2
figure 2

Experimental setup a custom-built BEAM machine and schematic of bevels machining, b scene of BEAM in action, c observation process of morphology

Efficiency-first parameters combination is selected to conduct the BEAM experiments, including a current of 650 A, pulse duration of 5.5 ms, and pulse interval of 3 ms. The workpiece is Inconel 718, and the electrode is graphite with multiple flushing holes. Machining experiments adopt the workpiece positive polarity. Other experimental conditions are presented in Table 1. In the case of magnetic-assisted BEAM, a uniform horizontal magnetic field, spanning the entire machining area, was generated using two permanent magnets. Considering that the magnetic field strength is positively related to the control ability of the plasma deflection, the maximum magnetic field available to the device (200 mT) was applied to the bevel machining experiments to better compensate for the loss of the flow field. To analyze the variation in discharge conditions with different angles, the current and voltage waveforms were recorded using an oscilloscope.

Table 1 Experimental conditions
Fig. 3
figure 3

Simulation model and its boundary conditions

2.2 Simulation model

2.2.1 Simulation model establishing

In BEAM milling, the products are processed by the multi-hole electrode in layer milling. High-speed internal flushing ensures the effect of the hydrodynamic arc breaking mechanism and the debris evacuation, relative to the surface quality. To investigate the influence of slope angles on surface quality, the flow field and particles in the discharge gap are simulated, and the schematic of the simulation model is shown in Fig. 3.

In this research, the diameter and the length of the electrode are 14 mm and 30 mm, respectively. Four flushing holes with a 3 mm diameter are used to realize internal flushing. The rotation speed of the electrode is 1 200 r/min. The discharge gap between the electrode and the workpiece is 0.5 mm, and the flushing fluid thickness is set to the same as that. Meanwhile, considering the electrode wear, the chamfer of the discharge area is set to 0.5 mm.

This simulation is conducted by COMSOL multiphysics and the model is dissected 197 063 grid units. Firstly, the frozen rotor solver is used to calculate the influence of electrode rotation on the flow field. Based on this, the transient flow field is solved. Then, the movement of the particles under the flushing is solved by the particle tracking module. Moreover, when analyzing the particle motion under magnetic field assisted BEAM (M-BEAM), the electric field of the discharge gap should also be solved to calculate the Lorentz force.

2.2.2 Simulation assumption

The flow field in the discharge gap is turbulent and complex, so to simplify the calculation process, the following assumptions are proposed.

  1. (i)

    The working fluid is considered to be incompressible water at room temperature, regardless of any other added components.

  2. (ii)

    The effect of bubbles on the flow field is neglected.

  3. (iii)

    Only the single coupling effect of the flow field and the electric field on the particle are considered.

2.2.3 Governing equations

  1. (i)

    Flow field

The Reynolds number is calculated to be over 4 000, and the flow field is estimated to be turbulent flow. Turbulent flow presents a wide range of flow scales, containing interacting irregular vortices. Its velocity and pressure at any point of the flow field in the flow process vary with time. Therefore, the flow state of the working fluid is described by the k-ɛ turbulence model, and the transport equation for the turbulent kinetic energy and the turbulent dissipation rate are shown as Eqs. (1)–(2) [20, 21].

$$ \rho \left( {{\varvec{u}} \cdot \nabla } \right)k = \nabla \left[ {\left( {\mu + \frac{{\mu_{{\text{t}}} }}{{\sigma_{k} }}} \right)\nabla k} \right] + P_{k} - \rho \varepsilon , $$
(1)
$$ \rho \left( {{\varvec{u}} \cdot \nabla } \right)\varepsilon = \nabla \left[ {\left( {\mu + \frac{{\mu_{{\text{t}}} }}{{\sigma_{\varepsilon } }}} \right)\nabla \varepsilon } \right] + C_{\varepsilon 1} \frac{\varepsilon }{k}P_{k} - C_{\varepsilon 2} \rho \frac{{\varepsilon^{2} }}{k}, $$
(2)

where ρ, μ, and u are the density, the dynamic viscosity, and the velocity matrix of the working fluid, respectively; k is the turbulent kinetic energy; ε is the turbulent dissipation rate; σk and σε are the Prandtl number of the turbulent kinetic energy and the turbulent dissipation rate, respectively; and Cε1 and Cε2 are the constants. The turbulent viscosity μt is expressed as Eq. (3). The production term Pk is expressed as Eq. (4) [22].

$$ \mu_{{\text{t}}} = \rho C_{\mu } \frac{{k^{2} }}{\varepsilon }, $$
(3)
$$ P_{k} = \mu_{{\text{t}}} \left[ {\nabla {\varvec{u}}:\left( {\nabla {\varvec{u}} + \left( {\nabla {\varvec{u}}} \right)^{{\text{T}}} } \right)} \right]. $$
(4)
  1. (ii)

    Particle tracking

The movement of the particles is calculated by Newton’s second law, as shown in Eq. (5).

$$ m_{{\text{p}}} \frac{{{\text{d}}v}}{{{\text{d}}t}} = F_{{\text{t}}} , $$
(5)

where mp is the particle mass; v is the particle velocity; t is time; Ft is the external force, and in this research, the external forces are fluid drag force and Lorentz force.

  1. (iii)

    Electric field

The magnetic field impacts the trajectory of charged particles by the Lorentz force, which is calculated by

$$ F_{{\text{m}}} = qv \times B, $$
(6)

where q is the particle charge, which is calculated through the current density of the electric field. The electric field of the discharge gap is calculated by Ohm’s law, as shown in Eqs. (7) and (8). B is the magnetic strength.

$$ J = \sigma E, $$
(7)
$$ E = - \nabla V, $$
(8)

where J is the current density; σ is the conductivity; E is the electric field; and V is the electric potential.

2.2.4 Boundary conditions

  1. (i)

    Flow field

The solution domain for the flow field simulation is the fluid inside the electrode and the discharge zone. It involves three kinds of boundaries, including flushing inlet, flushing outlet, and wall boundary. The flushing inlet is the top surface of the nozzle where the working fluid flushes into the electrode and it is set to mass flow as 0.5 kg/s, which is acquired from the flow meter in the actual machining process. The flushing outlet is the area around the discharge area and its reference pressure is set to 0 MPa [16]. Other boundaries are set to the wall boundary condition with no slip. Considering the effect of surface roughness on the fluid flow, the surface roughness of the wall boundaries is set in the simulation model. Specifically, the roughness of the electrode wall and the workpiece wall is set to 6.4 μm and the measured value, respectively.

  1. (ii)

    Electric field

The solution domain for the electric field is the discharge zone. It also involves three kinds of boundaries, including terminal boundary, ground boundary, and electric insulation boundary. In the actual machining process, the workpiece and electrode are connected to the positive and negative pole of the power supply which is output at a constant current of 650 A. Therefore, the fluid boundary in contact with the workpiece surface is set to the terminal of 650 A; the fluid boundary in contact with the electrode is set to ground; and the other boundaries are set to electric insulation.

  1. (iii)

    Particle tracking

The solution domain for the particle tracking is the discharge zone. The particle inlet is the front area of the discharge zone, where the discharge and material removal mainly occur. Considering that the debris is carried away by flushing, the outlet is the same as the flushing outlet, while others are set to diffuse scattering. The debris produced by BEAM are mostly nearly spherical particles with an average diameter of 100 μm [16]. According to the particle volume and MRR, the particle number produced during a pulse period is 2 520. Neglecting the different particle production rates at different locations, the particle release is assumed to be the same homogeneous rate for every 0.5 ms 210 until the pulse duration ends [23]. Additionally, the charge of particles is calculated according its position and volume.

3 Impact of slope angles on the surface quality

3.1 Experimental results of bevel machining with BEAM

Figure 4 depicts the surface topography obtained from BEAM under different machining angles. In the case of planar machining, a relatively uniform surface is achieved, exhibiting fewer anomalous discharge traces and deep craters. However, as the machining angle increases, distinct changes in surface characteristics are observed. Specifically, on the 20° bevel surface, some deep craters become apparent. On the 40° bevel surface, plowed grooves along the electrode rotation direction start to emerge. The surface quality is most compromised on the surface of the 70° bevel, exhibiting numerous deep grooves and over-burned traces. These observations suggest that as the machining angle increases, the arc plasma becomes increasingly difficult to break or even deflect due to losing the control ability. Consequently, the high energy is concentrated on a narrow localized area, leading to surface over-burning. In addition, the scale of the four images is different. On the one hand, as shown in Fig. 1, as the machining angle increases, the width of the machining zone becomes shorter for the same cut depth. The different scales of the images are attempted to represent the difference in the size of the machining area. On the other hand, the increased machining angle causes greater undulation of the machined surface, which makes it difficult for the microscope to focus on a large scale. Therefore, the observable area is reduced accordingly.

Fig. 4
figure 4

Surface topography with different machining angles

Based on voltage and current waveforms, the influence of the slope angle on the discharge state is further revealed. In addition to open circuit, four distinct discharge types can be identified in BEAM: short circuit, stable arc, disturbed arc, and broken arc. The voltage and current schematics of these four discharge types are shown in Fig. 5a. Short circuit occurs when the positive and negative poles have direct contact, causing a very low voltage and high current. Stable arc is manifested by the voltage dropping from the open voltage value to the holding voltage value after the breakdown, while the current increases to and maintains the setting value simultaneously, lasting a full pulse duration. In BEAM, both short circuit and stable arc are considered detrimental and undesirable, because the thermal energy from the two discharges are concentrated on the workpiece surface. In particular, it is crucial to avoid short circuits because its extremely high energy may destroy the workpiece. By employing arc breaking methods, the arc plasma can be disturbed or even broken. When the arc plasma is disturbed, it becomes unstable and the waveform fluctuates, resulting in a rise in voltage and a fall in current. Further, when the disturbance aggravates, the plasma channel is hard to maintain and broken, which characterizes the voltage and the current return to the open voltage value and zero, respectively. Effective arc disturbance facilitates the timely dispersal of arc plasma heat, thereby protecting the surface from over-burning. Consequently, the presence of disturbed arc and broken arc is desirable in BEAM and contributes to the improvement of surface quality.

Fig. 5
figure 5

Schematic of typical discharge waveforms and their proportions

Through the collected waveforms, the proportion of discharge types at different machining angles is counted, as shown in Fig. 5b. When the angle between the electrode and workpiece surfaces is 0° and 20°, the desirable discharge accounts for 76.67% and 74.80%, respectively, with the short circuit being rarely detected. This shows rarely stable arc exists and results in a relatively flat surface. However, as the angle increases to 40°, short circuit starts to appear, and the proportion of desirable arcs decreases to 57.89%. Corresponding to the machined surface topography, it indicates that the effect of hydrodynamic force weakens and the mechanical motion arc breaking dominates. The situation worsens at 70°, where the proportion of desirable discharges drops to only 22.67%, while the ratios of stable arc and short circuits increase rapidly to 59.13% and 18.20%, respectively, causing the worst and over burned surface. It is evident that as the slope angle increases, the percentage of undesirable discharges significantly rises, indicating a substantial reduction of plasma control capability. Especially, as Fig. 5c shows, the discharge types at 0° are dominated by broken arc and disturbed arc, while at 70° stable arc dominates.

3.2 Simulation of gap flow field and debris expelling in BEAM

Since BEAM employs the compound arc breaking mechanism to regulate the behavior of the arc plasma and the mechanical motion generated by electrode rotation remains insensitive to slope angles, the reduction of plasma control effectiveness is primarily attributed to the weakening of the hydrodynamic arc breaking effect. To investigate the influences of slope angles on hydrodynamic force, simulations were conducted to analyze the flow field under different machining angles, as illustrated in Fig. 6. When the slope angle is 70°, no flushing enters the discharge area. Based on this, if the angle continues to increase, the flushing still does not enter the discharge zone. Therefore, the results with 70° can represent the case where no flushing enters the discharge gap.

Fig. 6
figure 6

Flow field simulation under different machining angles

Previous studies have suggested that maintaining a flushing velocity over 10.5 m/s can effectively control the arc plasma and is crucial for achieving a smooth surface [24]. Consequently, regions where the flushing velocity falls within this range are considered effective flushing areas. The flow field simulation on the machined surface is analyzed, and the ratio of the effective flushing area to the total discharge area and the maximum flushing velocity are statistically calculated, as shown in Fig. 7. In the case of planar machining, the ratio of the effective flushing area exceeds 90%, indicating powerful hydrodynamic force and effective plasma control. For 20° bevel machining, the effective flushing area drops below 80%, resulting in the stabilization of stable arc and the appearance of deep craters. Even worse, as the machining angle increases to 40°, over half of the machining area experiences ineffective flushing. Consequently, mechanical motion arc machining becomes predominant, leading to the formation of deep grooves along the direction of electrode rotation. This is because arc plasma keeps burning without extinction under the mechanical motion arc breaking mechanism [25]. Notably, at a machining angle of 70°, almost no direct flushing enters the discharge area, resulting in the ratio of broken arc being only 5.47%.

Fig. 7
figure 7

a Effective flushing ratio and maximum flushing velocity, b simulation results of the effective flow field

The weakening of the flushing effect in large machining angles is correlative to the reduction of the working fluid flow into the discharge gap. As shown in Fig. 6, when the machining angle increases, the discharge area becomes smaller and hard to provide the same back pressure to all the flushing holes, causing the flushing holes gradually exposed to the non-discharge area with low resistance. The exposed flushing holes make the work fluid incline to flow directly out of the non-discharge area rather than into the discharge area. Therefore, all the flushing enters the discharge area in planar machining, but with the increasing slope angles, less working fluid entering the discharge gap leads to less effective flushing. Until the machining angle is 70°, all the working fluid flows to the non-discharge area and nearly loses the ability to control the arc plasma. Meanwhile, it is easy to observe that the center of the discharge area exists zone that does not meet the criteria for effective flushing. This causes the stable arc to be prone to form in the discharge area center and damages the workpiece surface, which is consistent with research in Ref. [11]. Additionally, the large machining angle results in a significant loss of flushing velocity, thereby limiting arc plasma deflection and impeding deflection response.

In addition to its impact on plasma control, flushing also plays a crucial role in debris evacuation, which significantly affects surface quality. To evaluate the debris expelling effects at different machining angles, particle tracking simulations were conducted. During the pulse duration, the high pressure of the plasma hinders the penetration of flushing, resulting in a gradual increase in the number of particles. On the contrary, in the pulse interval, the particle number decreases rapidly due to the effective flushing into the molten pool, as shown in Fig. 8. As shown in Fig. 4, the flow field between electrodes becomes smaller as the machining angle increases. Since it is difficult for fluid to enter the plasma during the pulse duration, the particles move only by the initial velocity of the explosion, which is independent of the angle. The smaller range of discharge gap makes it relatively easy for the debris to leave, so the particle accumulation rate at a large angle is lower during the pulse.

Fig. 8
figure 8

Number of residual particles in the discharge gap

However, during the pulse interval, as the machining angle increases, the effective flushing effect is significantly weak, hence it is difficult to carry the particles away and make them accumulate [26]. That may lead to a short circuit or secondary discharge in the next pulse, causing damage to the machined area. When the machining angle is below 20°, no particles are residual in the discharge gap after a complete discharge period. Consequently, no short circuit occurs in this case. However, at a 40° machining angle, short circuit and the deep craters produced by secondary discharge begin to appear because the debris is starting to accumulate. Particularly, with a machining angle of 70°, the reduction in residual particle number is not evident during the pulse interval. The accumulation of a significant number of particles leads to a sharp increase in the proportion of short circuits, also accelerating the deterioration of the surface quality.

Therefore, the impact of slope angles on the surface quality can be explained by the increasing machining angle making less working fluid flush into the discharge gap and resulting in a lower effective flushing ratio. The decrease in effective flushing leads to a weakening in plasma control, increasing the occurrence of undesirable discharges. Additionally, weakened flushing causes the accumulation of residual particles and further exacerbates the deterioration of the machined surface. These factors highlight the importance of plasma control and maintain effective debris expelling to achieve high-quality surfaces in sloped surface machining. Exploring alternative energy fields to compensate for the fluid flushing and thus enhance arc plasma control and debris removal becomes a promising avenue.

4 Enhancement of surface quality with magnetic field

4.1 Principle of magnetic field assisted BEAM (M-BEAM)

The addition of a magnetic field in BEAM has the potential to enhance machining performance due to the electromagnetic force that can be exerted on moving charged objects, including electrons, ions, and generated debris. The schematic diagram of M-BEAM is presented in Fig. 9. The magnetic field plays a dual role in M-BEAM. Firstly, it promotes the directional motion of the charged particles composing the arc plasma and thereby deflects the arc at an earlier stage and a longer distance [27]. By combining the electromagnetic force and the hydrodynamic force, the plasma control effect is strengthened. Secondly, the magnetic field drives the discharged molten metal during the pulse duration. Consequently, most molten metal is propelled by the magnetic field during the pulse duration and the residual part is subsequently evacuated through high-speed flushing. This sequential interaction of the magnetic field and flow field allows for effective impact on both the arc plasma and debris, without any conflict. Therefore, the magnetic field is selected to serve as a complement to compensate for the loss of flushing efficiency. This will be further illustrated through an analysis of discharge conditions and simulations of debris evacuation.

Fig. 9
figure 9

Schematic of magnetic field assisted BEAM

4.2 Behavior of arc plasma and debris in M-BEAM

In the previous study, it was found magnetic field deflected the arc plasma timelier than the other two arc breaking mechanisms because it directly acted on the charged particles making up the plasma. Larger magnetic field strength results in longer arc plasma deflection and higher debris movement speed [27]. The plasma behavior of the discharge in the air is captured by a high-speed camera under a 200 mT magnetic field, as shown in Fig. 10. The arc plasma deflects at 0.35 ms after breakdown and the deflection is over 10 mm at 3.0 ms. The arc plasma movement speeds are calculated by the post-processing software PCC CD image of a high-speed camera, which are 35.16 m/s, 55.32 m/s, and 78.12 m/s at 0.5 ms, 0.75 ms, and 1.0 ms after breakdown, respectively. The arc plasma moves with nearly uniform acceleration because of the constant electromagnetic force. Meanwhile, the arc plasma movement speed at 1.0 ms is aready much higher than the maximum flushing speed (37.4 m/s from the simulation). It indicates that the arc plasma is powerfully controlled even if only driven by the magnetic field, which significantly disperses the thermal effect of the plasma and would protect the workpiece from overburning. In addition, a mass of molten metal is significantly observed to be expelled from the molten pool, favoring the reduction of residual debris in the discharge gap.

Fig. 10
figure 10

Control effect of magnetic field on arc plasma and molten metal

To investigate the effectiveness of the magnetic field in debris evacuation, a particle tracking simulation model considering the electromagnetic force was developed. The results, displayed in Fig. 11, demonstrate the impact of the magnetic field on the number of residual particles. The hydrodynamic force is an external and passive force for arc plasma and molten metal, while the electromagnetic force is internal and active. Thus, different from the flow field which struggles to penetrate the high-pressure plasma and effectively carry away debris during the pulse duration, the magnetic field actively drives the charged debris away from the machining gap. When the machining angle is large, the magnetic field still promotes the debris expelling despite the loss of effective flushing. As a result, the accumulation rate of particles decreases significantly when the magnetic field is applied. Specifically, for machining angles of 20°, 40°, and 70°, the accumulation rates decrease from 350.18, 342.18, and 281.27 per microsecond to 162.73, 174.73, and 126.18 per microsecond, respectively. This reduction in debris accumulation leads to nearly half the number of residual particles compared to traditional BEAM at the end of the pulse duration. Further, during the pulse interval, the presence of the magnetic field results in a lower number of particles in the discharge gap compared to situations without a magnetic field, even when flushing is weakened due to large slope angles. M-BEAM facilitates a continuous process in which debris is expelled throughout the entire discharge pulse. The number of residual particles under M-BEAM is only 51.35% and 40.78% of that observed on surfaces with a 40° and 70° machining angle, respectively, compared to traditional BEAM. Therefore, the effect of the magnetic field on arc plasma control and debris expelling would improve the discharge condition, which was also proved by the experiments in Refs. [28, 29].

Fig. 11
figure 11

Number of residual particles in the discharge gap in M-BEAM

4.3 Experimental results of bevels machining with M-BEAM

To investigate the influence of the magnetic field on the discharge condition, the waveforms in M-BEAM were analyzed and the statistical distribution of each discharge type was presented in Fig. 12. In the case of planar machining, the proportion of desirable discharge increased by 8.81% compared to traditional BEAM. Moreover, the magnetic field improves the desirable discharge ratio by more than 10% for machining bevels at all angles. When the slope angle is below 40°, the desirable discharge accounts for more than 70% of the total discharges. This demonstrates the effectiveness of the magnetic field in promoting desirable discharges. Furthermore, even in situations where the flow field cannot effectively flush into the discharge gap, the magnetic field still contributes to a desirable discharge rate of 34.29%. This indicates that the magnetic field plays a crucial role in improving discharge characteristics, even when flushing is hindered. The increase in desirable discharge has several positive effects on the machining process. Firstly, it leads to a more efficient dispersion of the heat generated by the arc plasma. This results in shallower and larger craters, ultimately leading to a flatter machined surface. Additionally, the reduction in residual debris decreases the probability of short circuits occurring. With a machining angle of 40°, short circuits are nearly non-existent, and their occurrence probability decreases to 11.43% in 70° bevel machining. This reduction in short circuit probability helps protect the machined surface from damage. However, the improvement of desirable discharge decreases with increasing machining angle. From 20° to 70°, the increase in the proportion of desirable discharge reduces from 16.63% to 11.62%. This indicates the indispensable of the flow field, and the magnetic field is an effective complement to it rather than a substitute.

Fig. 12
figure 12

Proportion of different discharge types in M-BEAM

The introduction of M-BEAM has led to a notable improvement in the quality of the machined surfaces, as shown in Fig. 13. For machining angles lower than 40°, the machined surfaces appear relatively smooth due to the sustained high desirable discharge rate. In comparison to traditional BEAM, the surface with a 20° angle no longer exhibits large and deep craters, which means that the arc plasma is timely deflected and broken. Similarly, on the 40° angle bevels, the long and deep ravines are wider and shallower, indicating that the magnetic field improves the control effect of arc plasma and the mechanical motion arc breaking mechanism does not dominate. Furthermore, the undulation on the 70° angle surface becomes smaller, resulting in a more uniform appearance, demonstrating the benefit of reducing the short circuit. The positive impact of M-BEAM on surface quality is further supported by the reduction in surface roughness (Sa) observed across all machined bevels. With the assistance of the magnetic field, the surface roughness is reduced by more than 15 μm compared to traditional BEAM when machining bevels. However, when the machining angle is 70°, even though the magnetic field improves discharge condition, the surface roughness is still unsatisfactory, reaching over 100 μm. It suggests that the bevels with an angle over 40° should be avoided when designing the machining trajectories.

Fig. 13
figure 13

a Topography of machined surface in M-BEAM, b comparison of surface roughness with and without magnetic field

Except for the planar and 70° beveled surface, the micro surface quality of bevels with 20° and 40° angles are further analyzed. The metallographic analysis of the cross-sectional surface and the recast layer thickness is presented in Fig. 14. When machining bevels with traditional BEAM, the loss of effective flushing hinders the expulsion of molten metal, resulting in a thick and detrimental recast layer. Meanwhile, a thick recast layer frequently accompanies cracks, mitigating the connection with subsequent finishing machining processes. In contrast, the magnetic field in M-BEAM disperses the arc’s energy and pushes the molten metal away, leading to a thinner recast layer. Compared with traditional BEAM, the recast layer thickness under M-BEAM is reduced by 74.12% and 64.78% for 20°and 40° bevels, respectively.

Fig. 14
figure 14

Metallographic photographs of machined surfaces

Furthermore, the metallography of the side wall is observed in Fig. 15. Compared with Fig. 14, the recast layer of the side wall is thicker than that of the machined surface for all the same conditions, due to the weaker flushing effect in the side discharge gap. The insufficient flow field hardly flushes away the molten metal and debris, causing the side wall with thick recast layer and attached debris when the magnetic field is not applied. The effect of the magnetic field on reducing the recast layer is still evident, keeping it around 20 μm at both 20° and 40° bevels.

Fig. 15
figure 15

Metallographic photographs of side walls

The surface micromorphology is examined using scanning electron microscopy (SEM), as shown in Fig. 16. In traditional BEAM, undesirable phenomena such as molten metal accumulation, debris attachment, and micro cracks are observed on the machined surface and become more severe as the slope angle increases. This also reflects the molten metal is expelled insufficiently with the gradual loss of flow field. Conversely, in M-BEAM, the surface is smoother and the occurrence of these undesirable phenomena is noticeably reduced. This can be attributed to the more effective expulsion of molten metal facilitated by the magnetic field.

Fig. 16
figure 16

Machined surfaces observed by SEM

5 Conclusions

In this research, the influence of slope angle on surface quality is studied through the simulation of flow field and particle tracking, pointing out that the deterioration of surface quality with increasing machining angle is due to the gradual loss of effective scouring. After applying the magnetic field, both the arc plasma control and debris expelling are enhanced, improving the discharge condition and thus achieving a better surface. Based on the results obtained from experiments and simulations, the following conclusions can be drawn.

  1. (i)

    The decrease in effective flushing, leading to a weakening of arc plasma control and the accumulation of residual particles, and then resulting in increasing undesirable discharge ratio, is identified as the main reason for the decrease in surface quality when machining sloped surfaces.

  2. (ii)

    The application of a magnetic field in M-BEAM effectively controls the arc plasma and reduces residual particles accumulation by more than 50% compared to traditional BEAM, increasing the proportion of desirable discharge by more than 10% for all bevels and significantly reducing the proportion of short circuit.

  3. (iii)

    The sloped surface quality indicated that M-BEAM could offer a more uniform and smoother surface with smaller surface roughness, thinner recast layer, and less quantity of debris and microcracks. To acquire a satisfactory surface, the machining angle should be lower than 40° when designing the machining trajectory.