Method and device for optimization of die-sinking electrical discharge machining

The method optimizes die-sinking EDM by calculating electrode wear and determining the machining order to reduce costs and improve efficiency in die-sinking EDM processes.

JP2024159722APending Publication Date: 2024-11-08GF MACHINING SOLUTIONS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024072272
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-04-26
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Die-sinking electrical discharge machining is inefficient due to the reliance on operator expertise for determining the number of electrodes, leading to increased costs and time due to electrode wear and replacement, without adequate optimization.

Method used

A method and system for optimizing the number of electrodes required in die-sinking EDM by calculating cumulative wear and determining the machining order to minimize electrode usage and improve productivity.

Benefits of technology

Reduces production costs and time by automating the determination of electrode numbers, minimizing waste and optimizing machining processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024159722000001_ABST
    Figure 2024159722000001_ABST
Patent Text Reader

Abstract

To provide a method for optimization of an electrical discharge machining process.SOLUTION: A method for optimization of an electrical discharge machining process for eroding a workpiece by an electrode attached to an electrical discharge machine tool, where multiple electrodes are required to form multiple cavities on the workpiece, comprises: a. defining a target related to the machining priority; b. obtaining cavity specification data defining the geometries of the cavities and the number of the cavities; c. obtaining at least one machining setting including machining parameters applied for machining the cavities; d. defining at least one machining sequence describing the order of machining the multiple cavities; e. calculating cumulative wear of the electrode caused by machining the cavities; and f. determining the number of the electrodes required for machining the multiple cavities based on the cumulative wear of the electrode.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention relates in particular to a method for the optimization of die sinking EDM processes by pre-calculating the number of electrodes required for machining, and furthermore to a method for optimizing the machining sequence with regard to this number of electrodes.

[0002] 2. Background of the Invention Die sinking EDM is a process applicable to machining hard materials. Die sinking EDM machines are widely known for the manufacture and application of moulds, cavities with complex shapes that are very difficult to machine by conventional machining processes.

[0003] However, a drawback of such a process is that the die-sinking process is relatively slow. To increase production efficiency, automation plays an important role. Therefore, like many other types of machine tools, EDM machines are typically equipped with some automation algorithms to optimize the process.

[0004] Typically, multiple shaped electrodes are required to obtain the desired cavity for manufacturing one part. Additionally, the machining process for manufacturing one part includes different machining steps, such as rough machining, semi-finishing machining, and finishing machining, to achieve high surface quality. Usually, different electrode categories are used for different machining steps. Additionally, in most applications, one electrode for one machining step is not enough. Therefore, multiple electrodes with the same shape may be required for one machining step.

[0005] US6521856 discloses a method and apparatus for controlling multiple machining processes in a die sinking erosion machine with multiple identical or different electrodes. The machining sequence of the machining processes is automatically determined based on predefined criteria input by a user. In this method, the number of electrodes to be used is predefined, and the machining sequence is optimized based on the predefined number of tool electrodes.

[0006] However, for multi-cavity machining processes, the number of electrodes used in the machining process also plays an important role in considering the production quality and costs. Multi-cavity machining in die-sinking EDM is challenging in that it relies on expert know-how for the selection of the number of electrodes used and the sequence of these electrodes to achieve not only the required geometry but also the surface quality. Electrical discharge machining (EDM) uses electrical discharges to remove material from the workpiece. As a result, some material is also removed from the tool electrode, which is called "electrode wear". This is a drawback of the EDM process. To reduce the negative impact on the part quality, electrodes with high wear caused by machining can be replaced by new electrodes. However, this increases the machining costs as well as the machining time for electrode replacement. Therefore, there is a need to further optimize this parameter, i.e. the number of tool electrodes required to machine a part.

[0007] Up until now, the operator has primarily determined the number of tool electrodes, particularly based on his own experience. The step of determining this parameter therefore relies heavily on the operator's expertise and experimental tests, but such systems offer only limited optimization possibilities due to the large number of options. Furthermore, a safety margin is usually added to guarantee the quality of the machined parts. This can sometimes result in the waste of tool electrodes and, as a result, in unnecessary costs.

[0008] Summary of the Invention It is an object of the present invention to provide a method for optimizing an electric discharge machining process with increased productivity. Furthermore, it is an object of the present invention to provide an optimized method for calculating the number of electrodes of an electric discharge machining process. In particular, it is an object of the present invention to provide a method for optimizing an electric discharge machining process with reduced production costs. Furthermore, it is an object of the present invention to provide an apparatus adapted to increase the productivity of an electric discharge machining process.

[0009] According to the invention, these objects are achieved by means of the features of the independent claims. Additionally, further preferred embodiments follow in the dependent claims and the description.

[0010] In order to achieve the above object, according to the present invention, there is provided a method for optimizing an electric discharge machining process for eroding a workpiece by an electrode attached to an electric discharge machining machine, in which multiple electrodes are required to form multiple cavities on the workpiece, the method comprising the steps of: defining a goal regarding machining priorities, in particular the machining priorities being selected from a group including machining quality, machining time and machining cost; obtaining, by a processing unit, cavity specification data defining the geometry of the cavities and the number of cavities in order to calculate the material volume to be removed from the workpiece to form the cavities; obtaining, by a processing unit, at least one machining setting including machining parameters to be applied to machine the cavities; defining at least one machining sequence describing the order in which the multiple cavities are machined; calculating, based on the obtained cavity specification data, the machining sequence and the machining setting by the processing unit, the accumulated wear of the electrode caused by machining the cavities; and determining, by the processing unit, the number of electrodes required to machine the multiple cavities based on the calculated accumulated wear of the electrode to reach the goal.

[0011] Typically, in an EDM machining process, at least two machining stages, including rough machining and finishing, are required to achieve reasonable quality. For shapes that require multiple machining, i.e., for multi-cavity cavities, at least three machining stages, including rough machining, semi-finishing machining, and finishing machining, are required. To complete, the current system can manage up to five machining stages, including rough machining, three semi-finishing machining stages, and finishing machining. The geometry of the electrode is defined from the geometry of the cavity. Therefore, all electrodes used in different machining stages have very similar geometries, but not exactly the same geometries due to different undersize specifications. However, the type of electrode can be changed to machine the cavity in different machining stages to achieve different goals. Within the same machining stage, electrodes with the same geometry are applied, but the number of electrodes should be determined. Furthermore, the number of electrodes for different machining stages can be changed as well. For example, in rough machining, the largest volume of material is removed but high surface roughness is required, whereas in finishing machining, the smallest volume of material is removed but low surface roughness is required. Therefore, it is difficult to manually estimate the number of electrodes required. A method for calculating this number by a processing unit can provide optimal results, which can improve processing efficiency and reduce costs.

[0012] Preferably, the number of electrodes required for each machining stage is determined. In rough machining, electrodes of a first type are applied. The number of electrodes of the first type is determined accordingly. In semi-finish machining, electrodes of a second type are applied. The number of electrodes of the second type is determined accordingly. In finish machining, electrodes of a third type are applied. The number of electrodes of the third type is determined accordingly.

[0013] Before machining can begin, a machining preparation stage is necessary. In this stage, the material of the workpiece is selected and the shape of the cavity to be formed on the workpiece is designed. From the cavity to be machined, the shape of the electrode is defined and designed and the material of the electrode is selected. The cavity geometry is usually designed by using a computer-aided design (CAD) program and presented as a 3D model. From this model, cavity specification data can be derived. Preferably, this cavity specification data is derived automatically by a processing unit. This processing unit is a computer located outside the machine tool. Alternatively, the processing unit is integrated in the machine tool.

[0014] In many machining processes, it is difficult to meet all the requirements. Therefore, the target can be defined by selecting a priority criterion from a group including machining quality and / or machining time and / or machining cost. Machining quality mainly concerns the quality of the manufactured part and is dependent on the amount of machining wear. Machining quality includes, for example, the roughness of the manufactured part and the accuracy of the shape of the machined cavity. Usually, the desired roughness can be given by the user. Machining cost includes, for example, the material cost of the electrodes, which is directly dependent on the number of electrodes. The number of electrodes must be determined to reach the target. By selecting the priority criterion, the system generates the machining settings that are applied to machine. For example, if machining speed is selected as a priority, this automatically suggests more electrode wear. For example, for a roughness selected and defined as target, the number of electrodes is calculated so that the machined part can reach this roughness. The target is manually entered into the processing unit by the operator. The processing unit then creates the machining program.

[0015] Moreover, the machining parameters may vary even during the same machining stage to obtain optimal machining conditions. Therefore, different machining settings are defined, including the machining parameters. Each machining setting includes a different set of machining parameters, and a step of machining one cavity may require one or more machining settings. Typically, the electrical signal applied for machining consists of a train of electrical pulses applied in a rectangular or sinusoidal wave, and the important parameters defining these pulses are the delay time between each pulse, the duration of the pulse, and the applied current. In addition to these parameters, the voltage between the electrode and the workpiece is included in the machining setting, since it is a parameter that mainly affects the wear of the electrode.

[0016] The machining sequence defines in what order the cavities should be machined. Typically, the cavities are machined consecutively. For example, if N cavities are to be formed on a workpiece, in an ascending machining sequence the cavities are machined from cavity 1 to cavity N. In a descending machining sequence the cavities are machined from cavity N to cavity 1. However, it is also possible to machine the cavities in a non-sequential order. For example, the cavities can be ranked based on a defined criterion. The machining sequence is defined according to the ranking of the cavities. One machining step denotes one loop of the machining process in which all cavities from 1 to N or from N to 1 are machined.

[0017] In the preparation stage, a machining program is generated, which contains all the data for machining one or more cavities with different shapes. Each different shape can be machined several times. Machining one cavity several times is known as multi-cavity machining. The machining program is, for example, a CAM program. All the required information required for calculating the number of electrodes can be extracted from the machining program by the processing unit, which uses the cavity specification data, machining sequence, machining settings, etc. as input for the calculation. However, this does not exclude that all or part of this information is entered by the operator. For example, the machining sequence can also be selected by the operator from several predefined machining sequences.

[0018] To be able to machine the workpiece, the number of electrodes required and the machining sequence must be specified as well. The method of the present invention provides a method for automatically calculating the volume of material removed by each machining setting and the wear amount of each machining setting on the electrodes to provide the optimal number of electrodes. Thus, maximum productivity for achieving the required part specifications can be achieved. Additionally, this method has the advantage of minimizing the cost for electrodes, the carbon footprint for electrode material, and the energy consumption associated with this manufacturing process.

[0019] Based on the method according to the invention, a software tool can be provided that allows the operator to determine, in a preparation stage, the optimum number of tool electrodes required to machine a defined number of cavities in a fully automated process.

[0020] One of the important factors affecting the number of electrodes is the amount of wear of the electrode caused by machining, especially the cumulative amount of wear of the electrode caused by machining multiple cavities. This cumulative wear is determined by the steps of calculating the linear wear of the electrode for machining one cavity and calculating the cumulative wear by summing the calculated linear wear of the electrode caused by machining multiple cavities machined by the same electrode. For example, the total number of cavities to be machined is N, and the machining order of the cavities is ascending, i.e., the order of 1, 2 ... N-1 and N. In the first step, the linear wear of the electrode caused by machining one single cavity is calculated. This calculation of the linear wear is performed for each of the N cavities. In the second step, the cumulative wear of the electrode caused by machining multiple cavities is calculated. The cumulative wear of the electrode for machining the first cavity is equal to the linear wear of the electrode caused by machining the first cavity. The cumulative wear of the electrode for machining the second cavity is the sum of the linear wear of the electrode caused by machining the first cavity and the linear wear of the electrode caused by machining the second cavity. The cumulative wear of the electrode for machining the last cavity N is the sum of the linear wear of the electrode caused by machining the cavity with the number N and the cumulative wear of the electrode caused by machining the cavity with the number N-1.

[0021] In one variant, multiple machining settings are defined for machining one cavity in one machining stage, and the electrode wear for one cavity is calculated taking into account the one or more machining settings. Each machining stage may include one or more machining steps. In each machining step, one or more machining settings may be applied for machining multiple cavities, in particular all cavities are machined by the same machining settings within one machining step.

[0022] When two or more machining settings are applied for machining, the machining of one cavity is done by each setting, which means that the first cavity is machined by applying different machining settings in succession, and then the second cavity is machined by applying the machining settings in succession again. Therefore, the linear wear of the electrode caused by machining each cavity needs to be calculated by considering all the machining settings.

[0023] The linear wear volume of the electrode, WLseq, is calculated for each setting taking into account the volume of the part to be removed. This calculation is as follows: WVs [mm 3 The volumetric wear amount with the setting of is given by the following formula: WVs = Kws × VRs (Kws is the electrode wear rate [%] (specified) and VRs is the set volume removal amount [mm 3 ]) It can be calculated by using The linear wear amount [mm] according to the set WLs is calculated using the following formula: WLs=WVs / Spr(Spr is frontal projected area [mm 2 ]) It can be calculated by using

[0024] If a machining step contains multiple machining settings, the linear wear of one cavity is the sum of the linear wear of each machining setting for this cavity, i.e.,

number

[0025] The cumulative wear (TWc) is the sum of the electrode wear caused by machining multiple cavities.

[0026] The accumulated wear is a representative value of the geometric error on each cavity. If the accumulated wear exceeds the set limit value, it means that the required cavity depth does not reach the allowable deviation. Therefore, all cavities have to be machined again, but with a new electrode, since the previous electrode has been used up. The calculation step, including the calculation of the accumulated wear, is repeated for all cavities with a new electrode. If the accumulated wear for one cavity still exceeds the limit value, the application of a new electrode is required, so the number of electrodes has to be increased again. This repetition must be performed until the accumulated wear for all cavities is below the limit value.

[0027] The limit value can be determined based on the goals regarding the machining priority: if you choose to work with speed priority, it is observed that it is logical to make the limit value higher than if you choose low wear priority, since this means that you are not looking for the same final accuracy.

[0028] In this regard, speed is a priority, which translates into lower costs as fewer electrodes are required for production and shorter processing times are required.

[0029] The calculation process can calculate the number of electrodes for all combinations of processing priorities that suggest suitable variations and / or suitable ranges of variations to the user.

[0030] In one variant, upper and lower limits are defined. The upper limit means that the electrode wear may become too important and generate too many deformations that should be compensated for with the next electrode and machining step, amplifying the deformations themselves. If the upper limit is exceeded, even within one machining step, a new electrode must be applied immediately for machining the next cavity. This means that the number of electrodes must be increased and that the calculation of the accumulated electrode wear for the next cavity should be made taking into account the application of the new electrode.

[0031] If only the lower limit is exceeded, the current electrode can still be used until the end of the current machining step. For the next machining step a new electrode should be applied. In particular, the lower and upper limits are defined based on the workpiece material and / or the machining settings and / or the machining sequence.

[0032] When the accumulated wear of the cavity exceeds a limit value, the number of electrodes is increased.

[0033] If the accumulated wear of one cavity exceeds the upper limit, the number of electrodes is increased before calculating the wear of the next cavity, which means that the wear is too large for the next cavity and new electrodes should be applied immediately.

[0034] When the last machining step is completed and the accumulated wear of all cavities is below the limit value, the current number of electrodes is the final result.

[0035] Based on this calculation, it is possible to determine when the electrodes must be replaced and how much machining can be performed with each electrode.

[0036] In a preferred variant, the method further comprises the step of obtaining data defining machining stages, and for each machining stage the number of electrodes required is determined, where the machining stages are one or more of the following: rough machining, semi-finishing machining, and finishing machining.

[0037] In a preferred variant, the machining time is determined based on the calculated accumulated wear. The calculated machining time for the first cavity is the reference machining time since it is the only cavity that starts with the complete material to be removed and with a new electrode. For all other cavities the material to be removed is less due to the wear of the electrode. In particular, the start and end points of the machining are determined. These start and end points refer to temporal points in the machining or to positioned points on the machining path. This makes it possible to know which settings have been completely or partially affected by the wear or operation or not at all. For each cavity it is possible to compare the remaining amount of material to be removed with respect to the reference and, by extension, the required machining time. From the sum of all machining times per cavity it is possible to calculate the machining times for rough, semi-finish and finish machining, the sum of these times giving the total machining time.

[0038] Preferably, the determined number of electrodes is transferred to a machining process for preparing the required electrodes. Typically, these electrodes are machined by a machine tool, for example a milling machine. If the number of tool electrodes could be directly transferred to the milling machine, then a precise number of tool electrodes could be manufactured. This allows for a further increase in the automation of the machining and for the optimization of material costs.

[0039] A method for machining a part by EDM includes the following steps: designing a cavity and an electrode using CAD by a first processing unit, calculating the number of electrodes by a second processing unit, receiving the calculated number of electrodes by a third processing unit, machining the electrodes by a first machine tool, and machining the part with the electrodes by a second machine tool. The first machine tool is a machine tool for milling the electrodes. The second machine tool is an EDM machine tool.

[0040] In accordance with the present invention, a system for machining a part by EDM is provided. The system includes a first processing unit, a second processing unit, a third processing unit, a first machine tool, and a second machine tool. The first processing unit is configured to design a cavity and an electrode using CAD. The second processing unit is configured to calculate a number of electrodes. The third processing unit is configured to receive the calculated number of electrodes. The first machine tool is configured to machine the electrodes. The second machine tool is configured to machine the part by applying the electrodes.

[0041] Preferably, the first processing unit, the second processing unit and the third processing unit are computer or control units of the machine tool, which may be external devices or may be integrated in the machine tool.

[0042] In a preferred variant, the first machine tool is a milling machine and the second machine tool is an EDM machine.

[0043] A more specific description of the present invention will now be given, in which several embodiments are described, which will be explained in detail with reference to the accompanying drawings. [Brief description of the drawings]

[0044] [Figure 1] FIG. 1 illustrates a workpiece having multiple cavities. [Diagram 2] FIG. 2 shows a flow chart of the method. [Diagram 3] FIG. 4 is a schematic diagram showing a first example of a processing order. [Figure 4a] FIG. 13 illustrates the calculation of the number of electrodes for a first example of a machining sequence. [Figure 4b] FIG. 13 illustrates the calculation of the number of electrodes for a first example of a machining sequence. [Diagram 5] FIG. 11 is a schematic diagram showing a second example of the processing order. [Figure 6a]FIG. 13 illustrates the calculation of the number of electrodes for a second example of a machining sequence. [Figure 6b] FIG. 13 illustrates the calculation of the number of electrodes for a second example of a machining sequence. [Figure 7] FIG. 13 is a diagram showing a characteristic curve of a limit value.

[0045] Exemplary embodiments FIG. 1 shows a model of a final part 2 having ten cavities, designated by the references C1 to C10. All cavities have the same geometry. The geometry of the cavities depicted in FIG. 1 is only a simplification and should not be understood as a limitation of the applicability of the method. The method of the invention is applicable to machine cavities of any shape. One electrode 1 required to form the cavities is also shown here. Model specification data can be extracted from the model.

[0046] In this example, the step of machining all the cavities requires three machining stages, including rough machining, semi-finishing machining, and finishing machining. In each machining stage, the machining process is divided into multiple machining steps. In each machining stage, all the cavities are machined sequentially and consecutively based on the selected machining order by one electrode by applying one or more machining settings, for example, from cavity 1 to cavity 10, or from cavity 10 to cavity 1. In each machining step, a new electrode is applied. The number of electrodes defines the number of machining steps.

[0047] For machining, the workpiece is mounted on a pallet which is clamped on the table of a machine tool, not shown in the figures. The method of the present invention is applicable to any die sinking EDM.

[0048] FIG. 2 shows a flow chart of the steps of calculating the number of electrodes required for one machining step. In a first step S11, the method is started. The following steps are performed for each cavity to be machined in this machining step. For the sake of clarity, these steps are explained with one example, where 10 cavities need to be machined and the machining sequence is defined in ascending order, i.e. from cavity 1 to cavity 10. In step S12, the linear wear of the electrodes for one cavity is calculated, for example by applying the machining settings of the fifth cavity C5. In step S13, the cumulative wear of the electrodes is calculated, for example the cumulative wear of the electrodes for cavity C5 is calculated by summing the linear wear of the electrodes for the machining of the four preceding cavities C1-C5. In step S15, the cumulative wear of the cavity is compared with an upper limit value. If the cumulative wear of the cavity is greater than or equal to the upper limit value, the method proceeds to step S16. If the accumulated wear amount of the cavity is less than the upper limit value, the method proceeds to step S17. In step S16, the parameter "tool change" is set to 1 because the electrode wear amount is excessively large and the electrode needs to be replaced to machine the next cavity. For example, if the accumulated wear amount of cavity C5 is greater than the upper limit value, the electrode needs to be replaced to machine cavity C6. The parameter "tool change" is applied to temporarily store the information that the tool electrode should be replaced to machine the next cavity. In step S17, the determined accumulated wear amount is compared with the lower limit value. If the accumulated wear amount of a cavity, for example cavity C5, is greater than or equal to the lower limit value, the method proceeds to step S18. If the accumulated wear amount of a cavity, for example C5, is less than the lower limit value, the method proceeds to step S19. In step S18, the parameter "tool addition" is set to 1. Because, one electrode should be added after the end of this machining step, for example, if the accumulated wear amount of cavity C5 is greater than the lower limit, a new electrode should be added after machining the last cavity in the machining stage, i.e., C10.The parameter "tool addition" is applied to temporarily store the information that the tool electrode should be replaced for the next machining step. In step S19, it is checked whether the current machining step is completed. For example, if the current cavity is C5, the machining step is not yet completed. If the current machining step is not completed, the method proceeds to step S20, where the value of the parameter "tool change" is checked. If this value is 1, step S22 is performed. If this value is 0, step S23 is performed. In step S22, the number of tool electrodes is increased by 1, and both the parameters "tool change" and "tool addition" are reset to 0. If the machining step is completed, for example, if the current cavity is the last cavity C10 of the current machining step, step S21 is performed. In this step, it is checked whether the accumulated wear amount of all cavities is smaller than the upper limit value and smaller than the lower limit value. If it is false, the currently determined number of electrodes becomes the final result of this machining step, as shown in step S24. Step S22 is performed if the accumulated wear amount of one cavity is greater than the upper limit, i.e., the parameter "change tool" is 1, or if the accumulated wear amount of one cavity is less than the upper limit but greater than the lower limit, i.e., the parameter "add tool" is 1. S23 indicates that a calculation loop including steps S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22 should be performed for the next cavity.

[0049] If the accumulated wear of a cavity is greater than the upper limit and this cavity is not the last cavity of the current machining step, for example, for cavity C7 shown in FIG. 6a, steps S16, S19, S20 and S22 are performed. If the cavity is the last cavity and the accumulated wear of this cavity is greater than the upper limit, steps S16, S19, S21 and S22 are performed. If the accumulated wear of a cavity is less than the upper limit but greater than the lower limit, for example, for cavity C10 shown in FIG. 4a, steps S18, S19, S21 and S22 are performed. Figures 4a and 4b show an embodiment of the calculation of the number of electrodes. In this example, the number of electrodes required for the first machining stage, i.e. rough machining, is determined. Additionally, a so-called "alternate full" machining sequence is selected. This means that in the first machining step, the cavities are machined in ascending order from cavities C1 to C10. In the second machining step, ten cavities are machined in descending order from cavities C10 to C1. The machining sequence is shown in the Machining sequence column. The column "WE" shows the calculated cumulative wear of the tool electrodes, which is compared with the limit value. The calculation starts with the assumption of the use of one electrode to machine the ten cavities. As can be seen, the cumulative wear of the last cavity C10 is greater than the limit value. This means that the use of one electrode is not enough to achieve the required performance. Therefore, a second electrode needs to be added. So the number of electrodes is increased from one to two. The calculation of the cumulative wear is repeated under the assumption that a new electrode has been applied. The result of this calculation is shown in Figure 4b. The remaining volume of material to be removed in machining step 2 is different from that in machining step 1, because part of the material has already been removed in machining step 1. Machining step 1 starts with the full material. The remaining volume of material to be removed in processing step 1 depends on the accumulated wear volumes calculated in processing step 1. It can be seen that all accumulated wear volumes are below the limit value after the second processing step, which means that the calculation loop can be stopped without the need for additional electrodes.Finally, the number of electrodes required for the first stage, i.e. rough machining, is two, which is sufficient to achieve the required performance.

[0050] FIG. 3 is an illustration of the first machining stage, i.e. rough machining. As outlined above, two machining stages are necessary since the final result of the determined number of electrodes is two. In these machining stages, three machining settings are applied, indicated by the symbols MS1, MS2, MS3. Each cavity should be machined for each setting. For example, in the first machining step, the first electrode is applied. The first cavity is machined by applying the three settings in succession. Then, the second cavity is also machined by applying the three settings in succession again. This machining continues in this order until all ten cavities are machined by the first electrode. If a second machining step is necessary, after finishing the cavity C10 in the first machining step, the first electrode is replaced by the second electrode. Machining starts with the cavity C10 by applying all three machining settings and continues with the cavity C9 by applying all three machining settings. In this example, the same processing settings are applied to the first and second processing steps, however, it is not excluded to change the processing settings in the second processing step.

[0051] 6a, 6b show another embodiment in which upper and lower limit values ​​are predefined. If the accumulated wear exceeds the upper limit value, instead of at the end of one machining step, a new electrode is introduced immediately to machine the next cavity. As shown in FIG. 6a, the accumulated wear for cavity C7 exceeds the upper limit value, so a new electrode is needed to machine the next cavity C8. Additionally, after the first machining step, a new electrode is applied to ensure the surface quality. This calculation is repeated again. As shown in FIG. 6b, the accumulated wear for all cavities is below both limit values. Therefore, there is no need to add any further electrodes. The calculation loop can be stopped. Finally, the calculated number of electrodes required in this example is three. However, it is possible to continue machining with the second electrode in the second machining step.

[0052] Figure 5 shows the machining process of this example. The same machining sequence as shown in Figures 4a, 4b and 3 is also applied in this example. In the first machining step, machining is started with a first electrode to machine cavities C1-C7. After machining cavity C7, a second electrode is applied to machine cavities C8-C10. In the second machining step, machining is started with a third electrode.

[0053] Figure 7 shows several characteristic curves of the lower limit depending on the roughness for different machining stages. Usually the roughness is defined in the machining setup. The characteristic curve denoted by LimP1 is the calculated lower limit for rough machining. The characteristic curves denoted by LimP2, LimP3 and LimP4 are the calculated lower limit for different semi-finishing machining. The characteristic curve denoted by LimP5 is the calculated lower limit for finishing machining. The lower limit not only depends on the required roughness and the machining stage, but also on the material of the electrode. The example shown in Figure 7 is for electrode / part material of copper / steel.

[0054] The upper limit is the lower limit multiplied by a coefficient that depends on the processing stage. [Explanation of symbols]

[0055] 1 electrode 2 Final parts 3 Cavity

Claims

1. 1. A method for optimizing an electrical discharge machining process for eroding a workpiece by an electrode (1) mounted on an electrical discharge machining machine, in which multiple electrodes are required to form multiple cavities on the workpiece, the method comprising the following steps: a. defining a goal with respect to a processing priority, in particular said processing priority being selected from the group comprising at least one of the following: processing quality and processing time; b. obtaining, by a processing unit, cavity specification data defining a cavity geometry and a number of cavities to calculate a volume of material to be removed from said workpiece to form said cavities; c. obtaining, by the processing unit, at least one processing setting including processing parameters to be applied to process the cavity; d. defining at least one machining sequence describing the order in which the plurality of cavities are machined; e. calculating an accumulated wear amount of an electrode caused by machining the cavity based on the acquired cavity specification data, the acquired machining settings, and the machining sequence defined by the processing unit; and f) determining, by said processing unit, a number of electrodes required to machine said plurality of cavities based on a calculated cumulative wear of said electrodes to reach a target.

2. The step of determining the cumulative wear amount of each cavity includes the following steps: a. calculating the linear wear of the electrode caused by machining one cavity; and b) calculating the accumulated wear by summing calculated linear wear of the electrode caused by machining multiple cavities machined by the same electrode.

3. The method of claim 1 or 2, further comprising the step of comparing the accumulated wear amount with a limit value and increasing the number of electrodes if the accumulated wear amount exceeds the limit value.

4. The method of claim 3 , wherein the limit value is determined based on a goal regarding the processing priority.

5. The method according to claim 3 or 4, wherein the limit values ​​include a lower limit value and an upper limit value.

6. The method of claim 5 , wherein if the accumulated wear amount of one cavity exceeds the upper limit, the number of electrodes is increased before calculating the wear amount of the next cavity.

7. The method according to any one of claims 1 to 6, further comprising a step of determining a machining time based on the accumulated wear amount, in particular a step of determining a start point and an end point for using each electrode.

8. 8. The method according to claim 1, wherein the determined number of electrodes is transferred to a machining process for preparing the required electrodes.

9. 9. The method according to claim 1, wherein for each processing step, electrodes of a defined type are applied and the number of electrodes of this type is determined.

10. 1. A method for machining a part by EDM, the method comprising the steps of: a. designing a cavity and an electrode using CAD by a first processing unit; b. calculating, by a second processing unit, the number of electrodes according to any one of claims 1 to 8; c. receiving, by a third processing unit, the calculated number of electrodes; d. machining said electrode by a first machine tool, in particular a milling machine; e) machining said part by applying said electrode by a second machine tool, in particular an EDM machine.

11. 1. A system for machining a part by EDM, the system comprising: a. a first processing unit configured to design cavities and electrodes using CAD; b. A second processing unit configured to calculate the number of electrodes according to any one of claims 1 to 9; c. a third processing unit configured to receive the calculated number of electrodes; d. a first machine tool configured to machine the electrode; e. a second machine tool configured to machine the part by applying the electrode.