Linear cutting discharge machining equipment and method for different workpiece heights

By automatically adjusting the parameters of the wire EDM equipment, the problem of machining instability caused by changes in workpiece height and shape was solved, achieving efficient and precise machining results.

CN121447154APending Publication Date: 2026-02-03陈顺同 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411217381.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-08-02
Filing Date
2024-09-02
Publication Date
2026-02-03

AI Technical Summary

Technical Problem

In existing technologies, when performing precision machining on workpieces of different heights and shapes, manual adjustment of machining parameters is required, resulting in high labor costs, long processing time, and low efficiency.

Method used

The wire EDM equipment is used, and the machining parameters are detected in real time by the machining detection device. The workpiece height is automatically adjusted by the discharge parameter surface model, and the machining feed rate is automatically adjusted by the wire electrode feed rate surface model, thereby controlling the wire electrode length and feed rate.

Benefits of technology

It improves processing accuracy and efficiency, enhances processing stability and quality, and reduces the need for manual adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121447154A_ABST
    Figure CN121447154A_ABST
Patent Text Reader

Abstract

The invention relates to wire cutting discharge machining equipment and method for different workpiece heights. The equipment comprises a wire electrode, a machining detection device and a controller. The wire electrode has an electrode length and is used for machining a workpiece, the machining detection device is used for detecting and capturing a machining parameter set when the wire electrode machines the workpiece, the machining parameter set comprises a discharge frequency, a working voltage and a discharge parameter, and the discharge parameter corresponds to a material removal amount. The controller is used for calculating the height of the workpiece according to the discharge frequency and the working voltage and calculating the machining feed rate according to the height of the workpiece and the material removal amount, and the controller adjusts the electrode length of the wire electrode to the height of the workpiece and controls the wire electrode to machine the workpiece at the machining feed rate; therefore, the electrode length and the machining feeding rate can be automatically adjusted according to different workpiece heights, and the stability and the machining quality are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical discharge machining, and more particularly to a wire EDM (Electrical Discharge Machining) apparatus and method capable of automatically adjusting the electrode length and machining feed rate for different workpiece heights. Background Technology

[0002] In recent years, advancements in semiconductor, electronics, and mechanical technologies have driven product miniaturization and precision. In aerospace, automotive, medical, and electronics fields, miniature products are typically manufactured using high-precision molds. Generally, high-precision molds are made from materials with high hardness and strength, such as SKD-11. Due to their high mechanical strength and complex design, high-precision molds are usually machined using CNC wire EDM machines.

[0003] In typical machining processes, workpieces or molds usually undergo a roughing process to remove a large amount of unnecessary material, followed by finishing machining to reshape them to the target design structure. However, with the miniaturization and increasing complexity of products, workpieces may have varying heights and shapes. Using the same discharge parameters and feed rate for different workpiece heights and shapes can lead to over-machining, reducing machining stability and quality, or insufficient machining energy, increasing machining time. Therefore, machining parameters should be adjusted in real-time according to the workpiece's height and shape at different locations. In current technologies, finishing machining of workpieces with different heights and shapes still relies mainly on manual adjustment of machining parameters through multiple fine-tuning processes, which not only increases labor and time costs but also reduces machining efficiency.

[0004] Therefore, it is necessary to develop a new type of electrical discharge machining equipment to solve the problems of previous technologies. Summary of the Invention

[0005] In view of this, the purpose of the present invention is to provide a wire EDM (Electrical Discharge Machining) device and method for different workpiece heights, which can automatically adjust the electrode length and machining feed rate for different workpiece heights, improve stability and machining quality, and effectively solve the defects of the prior art.

[0006] To achieve the above objectives, the present invention discloses a wire electrical discharge machining (EDM) device for workpieces of different heights, characterized in that it comprises:

[0007] A single electrode, having one electrode length and used to process one workpiece;

[0008] A processing detection device is used to detect and acquire a set of processing parameters when the wire electrode processes the workpiece, wherein the set of processing parameters includes a discharge frequency, an operating voltage, and a discharge parameter, and the discharge parameter corresponds to a material removal amount; and

[0009] A controller is connected to the wire electrode and the processing detection device. The controller is used to calculate a workpiece height based on the discharge frequency and the operating voltage, and to calculate a processing feed rate based on the workpiece height and the amount of material removed. The controller is used to adjust the electrode length of the wire electrode to the workpiece height and control the wire electrode to process the workpiece at the processing feed rate.

[0010] The controller calculates the workpiece height using the following formula:

[0011]

[0012] Among them, H h f is the workpiece height. Norm The discharge frequency is 0V, the operating voltage is 0V, and Z0,X is the discharge frequency. B ,X C ,X D ,Y B ,Y C ,Y D and XY H It is a constant.

[0013] The controller calculates the machining feed rate according to the following formula:

[0014]

[0015] Where F is the processing feed rate, SR is the material removal amount, F z0 ,F XY ,F XC and F YC It is a constant.

[0016] The device further includes a fixed electrode head and a movable electrode head that are respectively fixed to both ends of the wire electrode and connected to the controller. The controller is used to control the movable electrode head to adjust the electrode length of the wire electrode.

[0017] The workpiece has a bottom surface and a top surface, the fixed electrode head and the movable electrode head are positioned corresponding to the bottom surface and the top surface respectively, and the top surface has a shape of at least one of a plane, an inclined plane, a curved surface and a stepped shape.

[0018] A wire EDM method for different workpiece heights is also disclosed, characterized by comprising the following steps:

[0019] A processing detection device detects and captures a set of processing parameters when a workpiece is processed by a wire electrode, wherein the set of processing parameters includes a discharge frequency, a working voltage and a discharge parameter, and the discharge parameter corresponds to a material removal amount.

[0020] A controller calculates the workpiece height based on the discharge frequency and the operating voltage.

[0021] The controller calculates a machining feed rate based on the workpiece height and the amount of material removed; and

[0022] The controller adjusts the length of one electrode of the wire electrode to the height of the workpiece and controls the wire electrode to process the workpiece at the machining feed rate.

[0023] In the step where the controller calculates the workpiece height based on the discharge frequency and the operating voltage, the controller calculates the machining feed rate according to the following formula:

[0024]

[0025] Among them, H h f is the workpiece height. Norm The discharge frequency is 0V, the operating voltage is 0V, and Z0,X is the discharge frequency. B ,X C ,X D ,Y B ,Y C ,Y D and XY H It is a constant.

[0026] 8. The wire EDM method as described in claim 6, characterized in that, in the step of the controller calculating the feed rate based on the workpiece height and the amount of material removed, the controller calculates the feed rate according to the following formula:

[0027]

[0028] Where F is the processing feed rate, SR is the material removal amount, F z0 ,F XY ,F XC and F YC It is a constant.

[0029] This includes the following steps:

[0030] A fixed electrode head and a movable electrode head are respectively used to fix the two ends of the wire electrode, and the fixed electrode head and the movable electrode head are respectively positioned to face a bottom surface and a top surface of the workpiece for processing the workpiece;

[0031] Furthermore, in the step of adjusting the electrode length of the wire electrode by the controller, the following is further described:

[0032] The controller controls the movement of the movable electrode head to adjust the length of the wire electrode.

[0033] The top surface has at least one of the following shapes: planar, inclined, curved, and stepped.

[0034] In summary, the wire EDM equipment and method of the present invention can detect the machining parameters of the electrode in real time through the machining detection device, automatically detect the workpiece height through the discharge parameter surface model, and automatically adjust to the correct machining feed rate through the wire electrode feed rate surface model, and provide real-time feedback to adjust the length and feed rate of the wire electrode, so as to completely remove the roughing residue for workpieces of different heights, thereby improving machining accuracy and efficiency, as well as enhancing stability and machining quality. Attached Figure Description

[0035] Figure 1 A functional block diagram of a wire electrical discharge machining apparatus according to a specific embodiment of the present invention is shown.

[0036] Figure 2 A schematic diagram of the structure of a wire electrode and a workpiece according to a specific embodiment of the present invention is shown.

[0037] Figure 3 According to Figure 2 A schematic diagram of the wire electrode and the workpiece from another perspective.

[0038] Figure 4A A schematic diagram of a structure showing a wire electrode machining the workpiece at a first position according to a specific embodiment of the present invention is shown.

[0039] Figure 4B According to Figure 4A A schematic diagram of the structure in which the wire electrode is used to process the workpiece at the second position.

[0040] Figure 5 A flowchart illustrating the steps of a discharge machining method according to a specific embodiment of the present invention is shown.

[0041] Figure 6 A flowchart illustrating the steps of a discharge machining method according to a specific embodiment of the present invention is shown. Detailed Implementation

[0042] To make the advantages, spirit, and features of the present invention more easily and clearly understood, detailed descriptions and discussions will follow with reference to specific embodiments and the accompanying drawings. It is important to note that these specific embodiments are merely representative examples of the present invention, and the specific methods, apparatuses, conditions, materials, etc., exemplified are not intended to limit the present invention or the corresponding specific embodiments. Furthermore, the devices in the figures are only used to illustrate their relative positions and are not drawn to scale; this is to be stated beforehand.

[0043] The wire EDM equipment of the present invention for different workpiece heights is applied to the precision or finishing stage. It can be applied not only to the second finishing process after the first rough cutting of the workpiece, but also to precision machining that requires high precision.

[0044] Please refer to the following: Figure 1 , Figure 2 as well as Figure 3 . Figure 1 A functional block diagram of an electrical discharge machining apparatus 1 according to a specific embodiment of the present invention is shown. Figure 2 A schematic diagram of the structure of the wire electrode 11 and the workpiece 5 according to a specific embodiment of the present invention is shown, and Figure 2 The system is the perspective of the XZ plane. Figure 3 According to Figure 2 A schematic diagram of the wire electrode 11 and the workpiece 5 from another perspective, and Figure 3 The system is a viewpoint in the XY plane. For example... Figure 1 As shown, the electrical discharge machining apparatus 1 of this specific embodiment includes a wire electrode 11, a machining detection device 12, and a controller 13. The machining detection device 12 is connected to the wire electrode 11, and the controller 13 is connected to both the wire electrode 11 and the machining detection device 12.

[0045] In this specific embodiment, the wire electrode 11 is used to process a workpiece 5. For example... Figure 2 and Figure 3 As shown, workpiece 5 includes a bottom surface 51, a top surface 52, and a side surface 53 disposed between the bottom surface 51 and the top surface 52, wherein the side surface 53 is a machined surface, and the distance between the bottom surface 51 and the top surface 52 is the workpiece height (H). h In this specific embodiment, the electrical discharge machining (EDM) apparatus 1 includes a fixed electrode head 111 and a movable electrode head 112. The fixed electrode head 111 and the movable electrode head 112 are arranged perpendicularly to each other along the Z-axis, and the wire electrode 11 is disposed between the fixed electrode head 111 and the movable electrode head 112, with the distance between the fixed electrode head 111 and the movable electrode head 112 being the electrode length of the wire electrode 11. Further, the positions of the fixed electrode head 111 and the movable electrode head 112 correspond to the bottom surface 51 and the top surface 52 of the workpiece 5, respectively, while the wire electrode 11 is disposed on the side surface 53 of the workpiece 5 and moves along the direction of the arrow in the figure to perform machining.

[0046] In practice, the fixed electrode head 111 and the movable electrode head 112 can be wire feeders / winders, and the wire electrode 11 can continuously move (feeding and winding) to process the workpiece 5, but are not limited to this. The fixed electrode head 111 and the movable electrode head 112 can also be components with clamping mechanisms to clamp and fix the wire electrode 11. Furthermore, the movable electrode head 112 can move vertically up and down along the Z-axis to adjust the distance between the fixed electrode head 111 and the movable electrode head 112, that is, to adjust the electrode length of the wire electrode 11. The wire electrode 11 and the workpiece 5 can be connected to power supplies of different polarities, and there is a discharge gap between the wire electrode 11 and the workpiece 5. When the wire electrode 11 moves close to the workpiece 5 to the discharge gap, the wire electrode 11 will discharge and generate sparks, and the high temperature generated by the sparks will melt the workpiece 5, thereby achieving electrical discharge machining. Figure 3 As shown, after the workpiece 5 is rough-machined, its surface will contain rough-cut residue T. The wire electrode 11 can move in the direction of the arrow to remove the rough-cut residue T, thereby performing finishing machining.

[0047] In this specific embodiment, the processing detection device 12 is used to detect and acquire a set of processing parameters when the wire electrode 11 processes the workpiece 5. In practice, the processing detection device 12 may be a signal acquisition chip and electrically connected to the wire electrode 11. The processing detection device 12 can detect the processing status of the wire electrode 11 in real time and acquire the processing parameters between the wire electrode 11 and the workpiece 5. The set of processing parameters may include discharge frequency, operating voltage, and discharge parameters, wherein the discharge parameters may include at least one of arc discharge frequency, short-circuit discharge frequency, processing time, processing coordinates, processing current, and wire electrode feed rate.

[0048] In this specific embodiment, the electrical discharge machining (EDM) apparatus 1 may include a database 14 connected to the machining detection device 12, used to store the machining parameter sets detected and captured by the machining detection device 12. In practice, the database 14 may be a hard drive, a portable hard drive, a cloud hard drive, or other device with data storage capabilities. Further, the database 14 may store a plurality of historical machining parameter sets. The historical machining parameter sets may be machining parameters measured in practice, experimentally, and in design. Each historical machining parameter set may include the aforementioned discharge frequency, working voltage, workpiece height, and discharge parameters, and the discharge parameters may correspond to a material removal amount. In addition, the EDM apparatus 1 may further include an analysis unit (not shown) connected to the database 14. The analysis unit is used to generate a discharge parameter surface model and a linear feed rate surface model based on the historical machining parameter sets and through machine learning or algorithms, and the discharge parameter surface model and linear feed rate surface model generated by the analysis unit may be stored in the database 14.

[0049] In this specific embodiment, the discharge parameter surface model includes the following formula:

[0050]

[0051] Among them, H h f is the workpiece height. Norm The discharge frequency is 0V, and the operating voltage is 0V. Z0,X B ,X C ,X D ,Y B ,Y C ,Y D and XY H It is a constant and can be defined by the designer or user.

[0052] The linear feed rate surface model includes the following formulas:

[0053]

[0054] Where F is the processing feed rate and SR is the material removal amount. z0 ,F XY ,F XC and F YC It is a constant and can be defined by the designer or user.

[0055] In this specific embodiment, the controller 13 connects the wire electrode 11, the machining detection device 12, and the database 14. The controller 13 calculates the workpiece height of the workpiece 5 based on the discharge frequency, operating voltage, and discharge parameter surface model measured by the machining detection device 12, and calculates the machining feed rate based on the material removal amount, workpiece height, and wire electrode feed rate surface model corresponding to the discharge parameters measured by the machining detection device 12. In practice, when the wire electrode 1 processes the workpiece 5, the machining detection device 12 continuously acquires and updates the machining parameter set. The controller 13 can calculate the current workpiece height of the workpiece 5 based on the latest discharge frequency and operating voltage, and determine the current roughing residue based on the material removal amount corresponding to the latest discharge parameters, thereby calculating an appropriate machining feed rate. Furthermore, the controller 13 can connect to and control the movable electrode head 112. After the controller 13 calculates the workpiece height of the workpiece 5 based on the discharge frequency, working voltage and discharge parameter surface model measured by the processing detection device 12, the controller 13 can adjust the movable electrode head 112 and adjust the electrode length of the wire electrode 5 to the workpiece height for processing.

[0056] Please refer to the following: Figure 1 , Figure 4A and Figure 4B . Figure 4A A schematic diagram of a wire electrode 11 machining the workpiece 5 at a first position is shown according to a specific embodiment of the present invention. Figure 4B According to Figure 4A A schematic diagram of the structure in which the wire electrode 11 processes the workpiece 5 at the second position. (See attached diagram.) Figure 4A As shown, when the wire electrode 1 is machining the workpiece 5 at the first position, the machining detection device 12 can instantly capture the discharge frequency (f) of the wire electrode 1. Norm 1) Operating voltage (OV1) and discharge parameters (P1). At this time, the controller 13 can determine the discharge frequency (f) based on the operating voltage (OV1) and discharge parameters (P1). Norm 1) The workpiece height (H) of workpiece 5 is calculated using the working voltage (OV1) and the discharge parameters stored in database 14 based on the surface model. h 1), and the controller 13 controls the movable electrode head 112 to move to adjust the electrode length of the wire electrode 5 to the workpiece height (H). h 1). Next, the controller 13 can determine the corresponding material removal amount (SR1) based on the discharge parameters (P1), and based on the workpiece height (H) h 1) The material removal amount (SR1) and the linear electrode feed rate surface model are used to calculate the machining feed rate (F1). Finally, the controller 13 controls the linear electrode 11 to machine the workpiece 5 at the machining feed rate (F1).

[0057] like Figure 4B As shown, when the wire electrode 1 processes the workpiece 5 at the second position, the discharge frequency of the wire electrode 1 changes due to the change in the height of the workpiece 5. At this time, the processing detection device 12 can instantly capture the discharge frequency (f) of the wire electrode 1. Norm 2) Operating voltage (0V2) and discharge parameters (P2). At this time, the controller 13 can determine the discharge frequency (f) based on the operating voltage (0V2) and discharge parameters (P2). Norm 2) The working voltage (0V2) and discharge parameters were used to recalculate the workpiece height (H) of workpiece 5 using the surface model. h 2), and the controller 13 controls the movable electrode head 112 to move to adjust the electrode length of the wire electrode 5 to the workpiece height (H). h 2). Next, the controller 13 can determine the corresponding material removal amount (SR2) based on the discharge parameter (P2), and based on the workpiece height (H) h 2) The material removal amount (SR2) and the linear feed rate surface model are used to calculate the machining feed rate (F2). Finally, the controller 13 controls the linear electrode 11 to process the workpiece 5 at the machining feed rate (F2). In this specific embodiment, the top surface 52 of the workpiece 5 is stepped, but in practice it is not limited to this. The shape of the top surface of the workpiece can also be a plane, an inclined plane, a curved surface, etc.

[0058] It is worth noting that in this specific embodiment, the height of workpiece 5 and the amount of roughing residue to be processed on workpiece 5 are both changed. Therefore, the controller 13 will recalculate the workpiece height and processing feed rate, but this is not the only practical application. In one specific embodiment, the overall workpiece height is consistent, and different positions contain different amounts of roughing residue. In this case, the processing parameter set acquired by the processing detection device includes the same discharge frequency and operating voltage, as well as a plurality of different discharge parameters. When the wire electrode processes the workpiece, the controller will fix the electrode length of the wire electrode and adjust the processing feed rate according to different processing positions. In another specific embodiment, the amount of roughing residue on the workpiece is consistent, and different positions contain different workpiece heights. In this case, the processing parameter set acquired by the processing detection device includes the same discharge parameters, as well as a plurality of different discharge frequencies and operating voltages. When the wire electrode processes the workpiece, the controller will fix the processing feed rate and adjust the electrode length of the wire electrode according to different processing positions.

[0059] Therefore, the electrical discharge machining equipment of the present invention can detect the machining parameters of the electrode in real time through the machining detection device, automatically detect the workpiece height through the discharge parameter surface model, and automatically adjust to the correct machining feed rate through the linear electrode feed rate surface model, and provide real-time feedback to adjust the length and feed rate of the linear electrode, so as to completely remove the roughing residue for workpieces of different heights, thereby improving machining accuracy and machining efficiency, as well as enhancing stability and machining quality.

[0060] Please see Figure 5 . Figure 5 A flowchart illustrating the steps of a discharge machining method according to a specific embodiment of the present invention is shown. Figure 5 The steps can be done through Figure 1 This is achieved using electrical discharge machining equipment 1. For example... Figure 5 As shown, in this specific embodiment, the electrical discharge machining method includes the following steps: Step S1: The machining detection device 12 detects and acquires a set of machining parameters when the wire electrode 11 is machining a workpiece 5, wherein the set of machining parameters includes the discharge frequency, working voltage, and discharge parameters, and the discharge parameters correspond to a material removal amount; Step S2: The controller 13 calculates the workpiece height of the workpiece 5 based on the discharge frequency and working voltage; Step S3: The controller 13 calculates the machining feed rate based on the workpiece height and material removal amount; and Step S4: The controller 13 adjusts the electrode length of the wire electrode 5 to the workpiece height and controls the wire electrode 5 to machine the workpiece 5 at the machining feed rate. In practice, in step S2, the controller 13 can calculate the workpiece height of the workpiece 5 based on the discharge frequency, working voltage, and the formula of the aforementioned discharge parameter surface model. Furthermore, in step S3, the controller 13 calculates the machining feed rate based on the workpiece height, material removal amount, and the formula of the aforementioned wire electrode feed rate surface model.

[0061] Please see Figure 6 . Figure 6 A flowchart illustrating the steps of a discharge machining method according to a specific embodiment of the present invention is shown. Figure 6 The steps can be done through Figure 1 The electrical discharge machining equipment 1 is used to achieve this, and can provide Figure 5 Further steps. For example... Figure 6 As shown, the electrical discharge machining method further includes the following steps: Step S5: A fixed electrode head 111 and a movable electrode head 112 are respectively set to fix the two ends of the wire electrode 11, and the fixed electrode head 111 and the movable electrode head 112 are respectively set to correspond to the bottom surface 51 and the top surface 52 of the workpiece 5 to process the workpiece 5. Furthermore, in... Figure 5 In step S4, the controller 13 adjusts the electrode length of the wire electrode 11, and further includes: Step S41: The controller 13 controls the movable electrode head 112 to move to adjust the electrode length of the wire electrode 5.

[0062] In summary, the electrical discharge machining equipment of the present invention can detect the machining parameters of the electrode in real time through the machining detection device, automatically detect the workpiece height through the discharge parameter surface model, and automatically adjust to the correct machining feed rate through the linear electrode feed rate surface model. It also provides real-time feedback to adjust the length and feed rate of the linear electrode, so as to completely remove the roughing residue for workpieces of different heights, thereby improving machining accuracy and efficiency, as well as enhancing stability and machining quality.

[0063] The detailed description of the preferred embodiments above is intended to more clearly illustrate the features and spirit of the present invention, and is not intended to limit the scope of the invention to the preferred embodiments disclosed above. Rather, the aim is to cover various modifications and equivalent arrangements within the scope of the patent claims made by this invention. Therefore, the scope of the patent claims made by this invention should be interpreted in the broadest possible sense based on the foregoing description, so as to cover all possible modifications and equivalent arrangements.

Claims

1. A wire electrical discharge machining (EDM) device for workpieces of different heights, characterized in that... Include: A single electrode, having one electrode length and used to process one workpiece; A processing detection device is used to detect and capture a set of processing parameters when the wire electrode processes the workpiece, wherein the set of processing parameters includes a discharge frequency, a working voltage and a discharge parameter, and the discharge parameter corresponds to a material removal amount. as well as A controller is connected to the wire electrode and the processing detection device. The controller is used to calculate a workpiece height based on the discharge frequency and the operating voltage, and to calculate a processing feed rate based on the workpiece height and the amount of material removed. The controller is used to adjust the electrode length of the wire electrode to the workpiece height and control the wire electrode to process the workpiece at the processing feed rate.

2. The wire EDM (Electrical Discharge Machining) equipment as described in claim 1, characterized in that, The controller calculates the workpiece height using the following formula: Among them, H h f is the workpiece height. Norm The discharge frequency is 0V, the operating voltage is 0V, and Z0,X is the discharge frequency. B ,X C ,X D ,Y B ,Y C ,Y D and XY H It is a constant.

3. The wire EDM (Electrical Discharge Machining) equipment as described in claim 1, characterized in that, The controller calculates the machining feed rate according to the following formula: Where F is the processing feed rate, SR is the material removal amount, F z0 ,F XY ,F XC and F YC It is a constant.

4. The wire EDM (Electrical Discharge Machining) equipment as described in claim 1, characterized in that, It further includes a fixed electrode head and a movable electrode head that respectively fix the two ends of the wire electrode and are connected to the controller. The controller is used to control the movable electrode head to adjust the electrode length of the wire electrode.

5. The wire EDM (Electrical Discharge Machining) equipment as described in claim 4, characterized in that, The workpiece has a bottom surface and a top surface, the fixed electrode head and the movable electrode head are positioned corresponding to the bottom surface and the top surface respectively, and the top surface has a shape of at least one of a plane, an inclined plane, a curved surface and a stepped shape.

6. A wire electrical discharge machining method for workpieces of different heights, characterized in that... Includes the following steps: A processing detection device detects and captures a set of processing parameters when a workpiece is processed by a wire electrode, wherein the set of processing parameters includes a discharge frequency, a working voltage and a discharge parameter, and the discharge parameter corresponds to a material removal amount. A controller calculates the workpiece height based on the discharge frequency and the operating voltage. The controller calculates a machining feed rate based on the workpiece height and the amount of material removed; and The controller adjusts the length of one electrode of the wire electrode to the height of the workpiece and controls the wire electrode to process the workpiece at the machining feed rate.

7. The wire electrical discharge machining method as described in claim 6, characterized in that, In the step where the controller calculates the workpiece height based on the discharge frequency and the operating voltage, the controller calculates the machining feed rate according to the following formula: Among them, H h f is the workpiece height. Norm The discharge frequency is 0V, the operating voltage is 0V, and Z0,X is the discharge frequency. B ,X C ,X D ,Y B ,Y C ,Y D and XY H It is a constant.

8. The wire electrical discharge machining method as described in claim 6, characterized in that, In the step where the controller calculates the machining feed rate based on the workpiece height and the amount of material removed, the controller calculates the machining feed rate according to the following formula: Where F is the processing feed rate, SR is the material removal amount, F z0 ,F XY ,F XC and F YC It is a constant.

9. The wire electrical discharge machining method as described in claim 6, characterized in that, Includes the following steps: A fixed electrode head and a movable electrode head are respectively used to fix the two ends of the wire electrode, and the fixed electrode head and the movable electrode head are respectively positioned to face a bottom surface and a top surface of the workpiece for processing the workpiece; Furthermore, in the step of adjusting the electrode length of the wire electrode by the controller, the following is further described: The controller controls the movement of the movable electrode head to adjust the length of the wire electrode.

10. The wire electrical discharge machining method as described in claim 9, characterized in that, The top surface has at least one of the following shapes: planar, inclined, curved, and stepped.