Electrode discharge machining method, device, and readable storage medium
By acquiring electrode association information and borrowing/copying information, replaceable electrodes can be identified and idle electrodes can be utilized, thus solving the problem of electrode resource waste on intelligent production lines and achieving effective resource utilization and improved production efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2026-03-24
AI Technical Summary
On intelligent production lines, robotic arms cannot identify idle electrodes, leading to resource waste, increased processing costs, and reduced production efficiency.
By acquiring electrode association information and borrowing/copying information of the workpiece, alternative electrodes can be identified and idle electrodes can be utilized, avoiding the need to manufacture additional new electrodes.
This has enabled the effective use of resources, reduced resource waste and costs, and improved production efficiency.
Smart Images

Figure CN117381081B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of machining technology, and in particular relates to an electrode discharge machining method, apparatus and readable storage medium. Background Technology
[0002] Electrical discharge machining (EDM) typically involves multiple discharge steps. Each step requires the electrode to be used to etch the workpiece, removing or processing the material from the workpiece surface. This allows for the control of the workpiece shape and machining accuracy.
[0003] Currently, in actual production environments, electrodes with the same physical properties as those required for the current discharge process exist. However, because the robotic arms on the intelligent production line lack the ability to identify these electrodes and determine their idle status, the current process cannot directly utilize these existing electrodes, resulting in resource waste. Furthermore, the intelligent production line replicates electrodes of the same properties for the current process, processes these replicated electrodes, and then uses them for the current process, thereby increasing processing costs and reducing production efficiency. Summary of the Invention
[0004] This application provides an electrode discharge processing method, apparatus, and readable storage medium, which reduces the processing cost of electrodes required for the discharge process and improves production efficiency.
[0005] In a first aspect, embodiments of this application provide an electrode discharge processing method, including:
[0006] Obtain electrode association information and borrowing / copying information of the first electrode required for the workpiece in the first process; wherein, the electrode association information includes the copying relationship between different electrodes in different processes; the borrowing / copying information of the first electrode is used to indicate the copying relationship between the first electrode and the alternative electrode of the first electrode;
[0007] Based on the electrode association information and the borrowing and copying information of the first electrode, determine the replaceable electrodes of the first electrode, and determine whether there are any idle electrodes among the replaceable electrodes of the first electrode.
[0008] If it is determined that there is a spare electrode among the alternative electrodes of the first electrode, then a second electrode is selected from the spare electrodes and used as the first electrode.
[0009] Optionally, the borrowed copy information of the first electrode includes at least one of the following:
[0010] Direct borrowing; the direct borrowing is used to indicate that there is a direct replication relationship between the alternative electrode of the first electrode and the first electrode;
[0011] Parallel borrowing; the parallel borrowing is used to indicate that there is a parallel replication relationship between the alternative electrode of the first electrode and the first electrode;
[0012] Indirect borrowing; the indirect borrowing is used to indicate that there is an indirect copying relationship between the alternative electrode of the first electrode and the first electrode.
[0013] Optionally, obtain borrowing and copying information for the first electrode required for the workpiece in the first process, including:
[0014] Display the electrode settings page, which includes multiple options for borrowing and copying information;
[0015] Obtain the borrowing and copying information of the first electrode of the workpiece under the first process, input by the user.
[0016] Optionally, the method further includes:
[0017] The electrode borrowing page is displayed, which is used by the user to set the replication relationship between the first electrode and other electrodes of the workpiece to be processed in the first process;
[0018] Obtain the borrowing information entered by the user on the electrode borrowing page. The borrowing information includes the source workpiece, the source process of the source workpiece, the third electrode under the source process, the workpiece to be processed, and the first process.
[0019] The system receives a copy operation from the user, which is used to generate attribute information of the first electrode of the workpiece to be processed in the first process based on the attribute information of the third electrode of the source workpiece in the source process.
[0020] In response to the user's copy operation, a copy relationship is established between the third electrode and the first electrode, and stored in the electrode association information.
[0021] Optionally, the attribute information includes copy precision and copy quantity.
[0022] Optionally, determining the second electrode among the idle electrodes to be used as the first electrode includes:
[0023] Display machine task page, the machine task page including the idle electrodes;
[0024] Obtain the second electrode selected by the user from the available electrodes.
[0025] Optionally, the method further includes:
[0026] If it is determined that there is no idle electrode among the replaceable electrodes of the first electrode, or if it is determined that there is no replaceable electrode for the first electrode, then a new electrode is copied and processed according to the electrode association information and used as the first electrode.
[0027] Secondly, embodiments of this application provide an electrode discharge machining apparatus, comprising:
[0028] The information acquisition module is used to acquire electrode association information and borrowing and copying information of the first electrode required by the workpiece in the first process; wherein, the electrode association information includes the copying relationship between different electrodes in different processes; the borrowing and copying information of the first electrode is used to indicate the copying relationship between the first electrode and the alternative electrode of the first electrode.
[0029] The first electrode determination module is used to determine the replaceable electrode of the first electrode based on the electrode association information and the borrowing and copying information of the first electrode, and to determine whether there is an idle electrode among the replaceable electrodes of the first electrode.
[0030] The second electrode determination module is used to determine a second electrode from among the available electrodes of the first electrode and use it as the first electrode if it is determined that there is an available electrode among the available alternative electrodes of the first electrode.
[0031] Optionally, the borrowed copy information of the first electrode includes at least one of the following:
[0032] Direct borrowing; the direct borrowing is used to indicate that there is a direct replication relationship between the alternative electrode of the first electrode and the first electrode;
[0033] Parallel borrowing; the parallel borrowing is used to indicate that there is a parallel replication relationship between the alternative electrode of the first electrode and the first electrode;
[0034] Indirect borrowing; the indirect borrowing is used to indicate that there is an indirect copying relationship between the alternative electrode of the first electrode and the first electrode.
[0035] Optionally, a display module may also be included;
[0036] The display module is used to display the electrode settings page, which includes multiple options for borrowing and copying information;
[0037] The information acquisition module is used to acquire user-inputted information regarding the borrowing and copying of the first electrode of the workpiece in the first process.
[0038] Optionally, a display module may also be included;
[0039] The display module is used to display the electrode borrowing page, which is used by the user to set the replication relationship between the first electrode and other electrodes of the workpiece to be processed in the first process.
[0040] The information acquisition module is also used to acquire the borrowing information entered by the user on the electrode borrowing page. The borrowing information includes the source workpiece, the source process of the source workpiece, the third electrode under the source process, the workpiece to be processed, and the first process.
[0041] The user operation receiving module is used to receive the user's copy operation, which is used to generate the attribute information of the first electrode of the workpiece to be processed in the first process based on the attribute information of the third electrode of the source workpiece in the source process.
[0042] The user operation processing module is used to respond to the user's copy operation, establish a copy relationship between the third electrode and the first electrode, and store it in the electrode association information.
[0043] Optionally, the attribute information includes copy precision and copy quantity.
[0044] Optionally, a display module may also be included;
[0045] A display module is used to display a machine task page, the machine task page including the idle electrodes;
[0046] An electrode acquisition module is used to acquire the second electrode selected by the user from the available electrodes.
[0047] Optionally, a processing module may also be included, which is used for:
[0048] If it is determined that there is no idle electrode among the replaceable electrodes of the first electrode, or if it is determined that there is no replaceable electrode for the first electrode, then a new electrode is copied and processed according to the electrode association information and used as the first electrode.
[0049] Thirdly, embodiments of this application provide an electrode discharge processing apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect above.
[0050] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.
[0051] The electrode discharge machining method provided in this application acquires electrode association information and borrowing / copying information of the first electrode required for the workpiece in the first process. The electrode association information includes the copying relationship between different electrodes in different processes, and the borrowing / copying information of the first electrode indicates the copying relationship between the first electrode and its alternative electrodes. Based on the electrode association information and the borrowing / copying information of the first electrode, alternative electrodes for the first electrode are determined, and it is determined whether there are any idle electrodes among the alternative electrodes. If an idle electrode is determined, a second electrode is selected from the idle electrodes and used as the first electrode. By determining alternative electrodes for the first electrode through electrode association information and the borrowing / copying information of the first electrode, and using idle alternative electrodes as the first electrode, efficient resource utilization can be achieved, reducing resource waste and cost expenditure. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a flowchart of an electrode discharge machining method provided in an embodiment of this application;
[0054] Figure 2 This is a schematic diagram of an electrode setting interface provided in an embodiment of this application;
[0055] Figure 3A and Figure 3B These are a set of schematic diagrams of the machine task interface provided in the embodiments of this application;
[0056] Figure 4A and Figure 4B These are a set of schematic diagrams of the electrode borrowing interface provided in the embodiments of this application;
[0057] Figure 5 This is a schematic diagram of an electrode discharge machining apparatus provided in an embodiment of this application;
[0058] Figure 6 This is a schematic diagram of an electrode discharge machining device provided in an embodiment of this application. Detailed Implementation
[0059] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0060] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0061] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0062] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0063] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0064] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0065] Please see Figure 1 , Figure 1This is a flowchart of an electrode discharge machining method provided in an embodiment of this application. The electrode discharge machining method provided in this embodiment can be executed by an electrode discharge machining apparatus or an electrode discharge machining device. Exemplarily, this application uses an electrode discharge machining apparatus as an example for illustration. Figure 1 As shown, the electrode discharge processing method provided in this embodiment may include:
[0066] S101. Obtain electrode association information and borrowing / copying information of the first electrode required for the workpiece in the first process. The electrode association information includes the copying relationship between different electrodes in different processes. The borrowing / copying information of the first electrode is used to indicate the copying relationship between the first electrode and a substitute electrode.
[0067] In this context, "work-in-progress" refers to objects or raw materials that require a series of processing steps and can be represented by a product number and a part number. A product refers to the final product or finished product formed after a series of processing, transformations, or assemblies. Examples include electronic devices and automobiles. A workpiece refers to a part within a product, such as a metal mold or a bearing. For example, if an automobile is a product with product number S1001, and a bearing is a workpiece within the automobile with part number 101, then the bearing can be considered a work-in-progress and represented by S1001_101.
[0068] It should be noted that this embodiment does not limit the type and characteristics of the workpiece to be processed.
[0069] Specifically, users of the electrode discharge machining apparatus (which may be referred to as users) can import and / or set up replication relationships between different electrodes in different processes in advance. These replication relationships can be written into the electrode association information, and then the electrode discharge machining apparatus can obtain the electrode association information.
[0070] The replication relationship is used to associate electrodes with the same physical attributes under different processes. Electrode attributes can include material, gap, positioning, process, and process formula, etc. The physical attributes of the electrode refer to its own physical properties. The replication relationship can include information such as the source electrode identifier, the source process identifier of the source workpiece, the first process identifier of the workpiece to be processed, the first electrode identifier, and the electrode name. This indicates that the first electrode required for the first process of the workpiece to be processed has the same physical attributes as the source electrode under the source process of the source workpiece. Generating the first electrode based on the source electrode is mainly a complete replication method, meaning that the first electrode truly generates a copy identical to the source electrode by replicating all the physical attribute characteristics of the source electrode. Thus, a replication relationship is established between the source electrode and the first electrode, indicating that the source electrode and the first electrode can be used interchangeably. It should be noted that the electrode name of the source electrode and the electrode name of the first electrode can be the same or different.
[0071] It should be noted that in the electrode association information, the same electrode in the same process can be used as the source electrode or the first electrode in different replication relationships. For example, electrode B is generated by replicating electrode A, and electrode C is generated by replicating electrode B. Electrode B is used as the first electrode in the replication relationship with electrode A, but as the source electrode in the replication relationship with electrode C.
[0072] Furthermore, the replication relationships between different electrodes in different processes can be categorized into direct replication relationships, parallel replication relationships, and indirect replication relationships. Direct replication refers to a direct replication operation between two electrodes. Parallel replication refers to a situation where there is no direct replication operation between multiple electrodes, but each electrode has replication operations with the same source electrode. Indirect replication relationships can include parallel replication relationships, and can also indicate that there is no direct replication operation between two electrodes, but the replication operations between the two electrodes can form a chain structure.
[0073] For example, in the first process, there is an electrode A, and the physical properties of electrode A are the same as those of electrode B required in the second process, electrode C required in the third process, and electrode D required in the fourth process.
[0074] In one example, electrode B is generated by copying electrode A, electrode C is generated by copying electrode A, and electrode D is generated by copying electrode A. Then, direct copying relationships are established between electrode A and electrode B, electrode A and electrode C, and electrode A and electrode D. Parallel copying relationships are established between electrode B and electrode C, electrode C and electrode D, and electrode B and electrode D.
[0075] In another example, electrode B is generated by copying electrode A, electrode C is generated by copying electrode B, and electrode D is generated by copying electrode C. Then, direct copying relationships are established between electrode A and electrode B, electrode B and electrode C, and electrode C and electrode D, while indirect copying relationships are established between electrode A and electrode C, electrode A and electrode D, and electrode B and electrode D.
[0076] Optionally, in one implementation, the electrode association information includes only direct copy relationships.
[0077] In this implementation, when a new electrode needs to be generated, only a direct copy operation is required, and the established direct copy relationship is written into the electrode association information. Other copy relationships do not need to be considered, simplifying the data model and making the operation more straightforward. Based on this electrode association information, electrodes with parallel and indirect copy relationships can be derived.
[0078] Optionally, in another implementation, the replication relationship also includes identification information for distinguishing different replication relationships. The electrode association information may include any one or more replication relationships among direct replication relationship, parallel replication relationship, and indirect replication relationship.
[0079] In this implementation, new identification information is added to distinguish different replication relationships. After a new electrode is generated through replication, the established direct replication relationship, as well as the parallel replication relationship and indirect replication relationship that can be obtained based on the current electrode association information, need to be written into the electrode association information respectively. This makes the data model more complete and allows for querying based on replication relationships, thus improving the flexibility of data querying.
[0080] Optionally, in one implementation, electrode association information is obtained based on a copy relationship pre-imported by the user.
[0081] In this implementation, users can import multiple sets of replication relationships at once, simplifying the operation and reducing time consumption. Simultaneously, users can centrally manage and maintain the pre-set replication relationship table, improving operational efficiency.
[0082] Alternatively, in another implementation, electrode association information can be obtained based on the copy relationship set by the user as needed.
[0083] In this implementation, users can set the replication relationship between electrodes according to their own needs, which improves flexibility and freedom.
[0084] Alternatively, in another implementation, electrode association information is obtained based on the copy relationships that are pre-imported and set on demand by the user.
[0085] In this implementation, the pre-imported copy relationships can provide basic copy relationship settings, while the on-demand setting method can supplement these settings according to specific needs, thereby meeting more complex use cases and better meeting actual requirements.
[0086] In the first process of processing the workpiece, a first electrode is required to process it. The borrowing and replication information of the first electrode can be set by the user, which indicates the replication relationship between the first electrode and its alternative electrodes, improving flexibility and freedom.
[0087] Optionally, the borrowed copy information of the first electrode includes at least one of the following:
[0088] Direct borrowing, direct borrowing is used to indicate that there is a direct copying relationship between the alternative electrode of the first electrode and the first electrode.
[0089] Parallel borrowing indicates that the alternative electrode of the first electrode is a parallel copy of the first electrode.
[0090] Indirect borrowing, indirect borrowing is used to indicate that there is an indirect copying relationship between the alternative electrode of the first electrode and the first electrode.
[0091] In other words, direct borrowing, parallel borrowing, and indirect borrowing correspond to a replication relationship between the first electrode and a substitute electrode, and the borrowing replication information of the first electrode may include at least one of them. Based on the borrowing replication information of the first electrode, a substitute electrode with a corresponding replication relationship with the first electrode can be determined, thus improving query efficiency.
[0092] For example, the borrowed copy information of the first electrode can be direct borrowing or parallel borrowing or copying, and can include direct borrowing and parallel borrowing, indicating that there is a direct copying relationship or a parallel copying relationship between the alternative electrode of the first electrode and the first electrode. The borrowed copy information of the first electrode can also be direct or indirect borrowing and copying, and can include direct borrowing, parallel borrowing and indirect borrowing, indicating that there is a direct copying relationship or an indirect copying relationship between the alternative electrode of the first electrode and the first electrode.
[0093] Optionally, obtain borrowing and copying information for the first electrode required for the workpiece in the first process, including:
[0094] Displays the electrode settings page, which includes several options for borrowing and copying information.
[0095] Obtain user-inputted information regarding the borrowing and copying of the first electrode of the workpiece in the first process.
[0096] This embodiment does not limit the specific content and layout of the electrode settings interface. For example, Figure 2 This is a schematic diagram of an electrode setting interface provided in an embodiment of this application. For example... Figure 2 As shown, in the electrode setting interface 20, three options for borrowing and copying electrode information are provided to the user. If the user selects radio button 21, "Direct Borrowing" is obtained as the borrowing and copying information. If the user selects radio button 22, "Direct Borrowing or Parallel Borrowing or Copying" is obtained as the borrowing and copying information. If the user selects radio button 23, "Direct or Indirect Borrowing and Copying" is obtained as the borrowing and copying information.
[0097] Optionally, the user can determine the borrowing and copying information of the first electrode of the workpiece in the first process based on certain rules. (Still using...) Figure 2As an example, since direct or indirect borrowing and copying includes direct borrowing, parallel borrowing, and indirect borrowing, to maximize the identification of alternative electrodes for the first electrode, the user can directly select direct or indirect borrowing and copying as the borrowing and copying information. If the first electrode has specific limitations that require ensuring its homology with its alternative electrodes, the user needs to select direct borrowing, parallel borrowing, or copying as the borrowing and copying information. If it is known that the first electrode has an electrode with which it has a direct copying operation, to save time and improve query efficiency, the user can choose direct borrowing as the borrowing and copying information.
[0098] S102. Based on the electrode association information and the borrowing and copying information of the first electrode, determine the replaceable electrodes of the first electrode, and determine whether there are any idle electrodes among the replaceable electrodes of the first electrode.
[0099] Specifically, the electrode discharge machining apparatus can, based on the first process identifier and electrode name or first electrode identifier, and according to the borrowing and copying information of the first electrode, query the electrode association information to find a list of alternative electrodes for the first electrode, and further determine whether there are any idle electrodes available for use in the list of alternative electrodes. Through the borrowing and copying information set by the user, all alternative electrodes that currently have a corresponding copying relationship with the first electrode can be identified. Simultaneously, considering the idle status of the alternative electrodes, it ensures that the alternative electrodes can be used directly, thus improving production efficiency.
[0100] S103. If it is determined that there is an empty electrode among the alternative electrodes of the first electrode, then the second electrode is determined from the empty electrodes and used as the first electrode.
[0101] Optionally, determining the second electrode among the idle electrodes for use as the first electrode includes:
[0102] The machine task page is displayed, which includes available electrodes.
[0103] Get the second electrode selected by the user from the available electrodes.
[0104] This embodiment does not limit the specific content and layout of the machine task interface. For example, Figure 3A and Figure 3B These are a set of schematic diagrams of the machine task interface provided in the embodiments of this application. For example... Figure 3AAs shown, in the machine task interface 30, the current machine is EDM01, the machine task name is S1003_103_EDM_T, and it can also include an optional electrode area 31 and a selected electrode area 32. The electrodes included in the optional electrode area 31 are the alternative electrodes of the first electrode in the idle state. If the user selects the checkboxes 33 and 35, that is, selects the coarse type S1001_101_T1 and the fine type S1002_101_T1 from the idle electrodes.
[0105] like Figure 3B As shown, after the user selects checkboxes 33 and 35, the electrode-related information corresponding to checkboxes 33 and 35 in the selectable electrode area 31 is moved to the selected electrode area 32, while the electrode information corresponding to checkbox 34 remains in the selectable electrode area 31. The user can click the "Generate Program" button 36 to continue the current task.
[0106] Once it is determined that there is an idle electrode among the alternative electrodes for the first electrode, the user can select a second electrode from the idle electrodes as a replacement for the first electrode. This improves flexibility and freedom, and eliminates the need to manufacture new electrodes, saving time and production costs, and improving resource utilization and production efficiency.
[0107] Optionally, the electrode discharge machining method provided in this embodiment may further include:
[0108] The electrode borrowing page is displayed, which is used by users to set the replication relationship between the first electrode and other electrodes of the workpiece in the first process.
[0109] Obtain the borrowing information entered by the user on the electrode borrowing page. The borrowing information includes the source workpiece, the source process of the source workpiece, the third electrode under the source process, the workpiece to be processed, and the first process.
[0110] The system receives a copy operation from the user. This copy operation is used to generate the attribute information of the first electrode of the workpiece to be processed in the first process, based on the attribute information of the third electrode of the source workpiece in the source process.
[0111] In response to the user's copy operation, a copy relationship is established between the third electrode and the first electrode and stored in the electrode association information.
[0112] This embodiment does not limit the specific content and layout of the electrode borrowing interface. For example, Figure 4A and Figure 4B These are schematic diagrams of the electrode borrowing interface provided in the embodiments of this application. For example... Figure 4AAs shown, in the electrode borrowing interface 40, the source product's product number is S1001, part number is 101, and process is EDM_T, indicating that the source processed item is S1001_101. The source process identifier can be S1001_101_EDM_T. The source product electrode list 41 includes two electrodes, named T1 and T2, with identifiers S1001_101_T1 and S1001_101_T2, respectively. The new product's product number is S1003, part number is 103, and process is EDM_T, indicating that the item to be processed is S1003_103. The first process identifier can be S1003_103_EDM_T. The new product electrode list 42 includes two electrodes, named E1 and E2, with identifiers S1003_103_E1 and S1003_103_E2, respectively. The type and status of both electrodes are "uploaded".
[0113] The workpiece S1003_103, in the first process, needs a first electrode with the same physical attributes as the T1 electrode of the source workpiece S1001_101. Therefore, the T1 electrode of the source workpiece S1001_101 in the source process can be used as the third electrode, identified as S1001_101_T1. The user selects the checkbox 44 based on the determined third electrode, then clicks the copy button 43, and enters the attribute information of the first electrode of the workpiece in the first process in the pop-up window as needed. The electrode discharge machining device responds to the user's copy operation, copies and generates the corresponding first electrode, thereby establishing a direct copy relationship between the third electrode and the first electrode. It also stores the third electrode identifier S1001_101_T1, the source process identifier S1001_101_EDM_T of the source workpiece, the first process identifier S1003_103_EDM_T of the workpiece, the first electrode identifier S1003_103_T1, and the electrode name T1 in the electrode association information. For example... Figure 4B As shown, a new electrode named T1 is added to the electrode list 42 of the new product, with the type and status being "copy". It should be noted that in this example, the workpiece S1003_103 does not have an electrode named T1 in the first process; therefore, the name of the first electrode can be the same as the name of the third electrode, both being T1. For example, in another example, the workpiece S1003_103 already has an electrode named T1 in the first process. In this case, the name of the first electrode is different from the name of the third electrode; for example, the name of the first electrode could be T2.
[0114] By adopting a complete replication method, the first electrode of the workpiece to be processed is generated in the first process through the user's replication operation on the electrode borrowing page. The replication relationship between the first electrode and other electrodes is established. When the workpiece needs to use the first electrode, other electrodes that have a replication relationship with the first electrode can be borrowed as the first electrode, thereby improving resource utilization and production efficiency.
[0115] Optional, the attribute information includes copy precision and copy quantity.
[0116] Specifically, the first process of the workpiece may require the use of multiple first electrodes of different roughing and finishing types. Therefore, in order to meet processing requirements, when performing electrode replication operations in the first process of the workpiece, the number of roughing electrodes and the number of finishing electrodes to be replicated can be selected as needed.
[0117] Optionally, the electrode discharge machining method provided in this embodiment may further include:
[0118] If it is determined that there is no idle electrode among the replaceable electrodes of the first electrode, or if it is determined that there is no replaceable electrode for the first electrode, then a new electrode is copied and processed according to the electrode association information and used as the first electrode.
[0119] In other words, when the first process of the workpiece cannot utilize other electrodes as the first electrode, a new electrode is generated through complete replication to serve as the first electrode. By obtaining a new electrode through replication, the production process can continue even if the original first electrode has no substitute, ensuring the continuity and stability of production.
[0120] As can be seen, the electrode discharge machining method provided in this embodiment acquires electrode association information and borrowing / copying information of the first electrode required for the workpiece in the first process. The electrode association information includes the copying relationship between different electrodes in different processes, and the borrowing / copying information of the first electrode indicates the copying relationship between the first electrode and its alternative electrodes. Based on the electrode association information and the borrowing / copying information of the first electrode, alternative electrodes for the first electrode are determined, and it is determined whether there are any idle electrodes among the alternative electrodes. If an idle electrode is determined, a second electrode is selected from the idle electrodes and used as the first electrode. By determining alternative electrodes for the first electrode through electrode association information and the borrowing / copying information of the first electrode, and using idle alternative electrodes as the first electrode, efficient resource utilization can be achieved. Furthermore, when there are idle alternative electrodes for the first electrode, there is no need to manufacture new electrodes, saving time and production costs and improving production efficiency.
[0121] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0122] Figure 5 This illustration shows a schematic diagram of an electrode discharge machining apparatus provided in an embodiment of this application, including modules for performing various operations. Figure 1 For ease of explanation, only the parts of the steps in the corresponding embodiments are shown in relation to the embodiments of this application.
[0123] Reference Figure 5 The electrode discharge machining apparatus provided in this embodiment includes:
[0124] The information acquisition module 51 is used to acquire electrode association information and borrowing and copying information of the first electrode required by the workpiece in the first process; wherein, the electrode association information includes the copying relationship between different electrodes in different processes; the borrowing and copying information of the first electrode is used to indicate the copying relationship between the first electrode and the alternative electrode of the first electrode.
[0125] The first electrode determination module 52 is used to determine the replaceable electrode of the first electrode based on the electrode association information and the borrowing and copying information of the first electrode, and to determine whether there is an idle electrode among the replaceable electrodes of the first electrode.
[0126] The second electrode determination module 53 is used to determine a second electrode from the available electrodes as the first electrode if it is determined that there is an available electrode among the alternative electrodes of the first electrode.
[0127] Optionally, the borrowed copy information of the first electrode includes at least one of the following:
[0128] Direct borrowing; the direct borrowing is used to indicate that there is a direct replication relationship between the alternative electrode of the first electrode and the first electrode;
[0129] Parallel borrowing; the parallel borrowing is used to indicate that there is a parallel replication relationship between the alternative electrode of the first electrode and the first electrode;
[0130] Indirect borrowing; the indirect borrowing is used to indicate that there is an indirect copying relationship between the alternative electrode of the first electrode and the first electrode.
[0131] Optionally, a display module may also be included;
[0132] The display module is used to display the electrode settings page, which includes multiple options for borrowing and copying information;
[0133] The information acquisition module 51 is used to acquire user-inputted information regarding the borrowing and copying of the first electrode of the workpiece in the first process.
[0134] Optionally, a display module may also be included;
[0135] The display module is used to display the electrode borrowing page, which is used by the user to set the replication relationship between the first electrode and other electrodes of the workpiece to be processed in the first process.
[0136] The information acquisition module 51 is also used to acquire the borrowing information entered by the user on the electrode borrowing page, the borrowing information including the source workpiece, the source process of the source workpiece, the third electrode under the source process, the workpiece to be processed, and the first process;
[0137] The user operation receiving module is used to receive the user's copy operation, which is used to generate the attribute information of the first electrode of the workpiece to be processed in the first process based on the attribute information of the third electrode of the source workpiece in the source process.
[0138] The user operation processing module is used to respond to the user's copy operation, establish a copy relationship between the third electrode and the first electrode, and store it in the electrode association information.
[0139] Optionally, the attribute information includes copy precision and copy quantity.
[0140] Optionally, a display module may also be included;
[0141] A display module is used to display a machine task page, the machine task page including the idle electrodes;
[0142] An electrode acquisition module is used to acquire the second electrode selected by the user from the available electrodes.
[0143] Optionally, a processing module may also be included, which is used for:
[0144] If it is determined that there is no idle electrode among the replaceable electrodes of the first electrode, or if it is determined that there is no replaceable electrode for the first electrode, then a new electrode is copied and processed according to the electrode association information and used as the first electrode.
[0145] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0147] Figure 6 This is a schematic diagram of an electrode discharge machining apparatus provided in an embodiment of this application. Figure 6 As shown, the electrode discharge processing apparatus includes: at least one processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, it implements the steps in any of the above-described method embodiments.
[0148] The processor referred to can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0149] The term "memory" can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0150] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0151] This application provides a computer program product that, when run on an electrode discharge machining device, enables the electrode discharge machining device to perform the steps described in the above-described method embodiments.
[0152] Those skilled in the art will understand that if the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0153] Those skilled in the art will understand that the descriptions of each embodiment in the above embodiments have different focuses, and for parts not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0154] Those skilled in the art will understand that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0155] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. An electrode discharge machining method, characterized in that, include: Obtain electrode association information and borrowing / copying information of the first electrode required for the workpiece in the first process; wherein, the electrode association information includes the copying relationship between different electrodes of different workpieces in different processes based on the copying operation; the borrowing / copying information of the first electrode is used to indicate the copying relationship between the first electrode and the alternative electrode of the first electrode. Based on the electrode association information and the borrowing and copying information of the first electrode, determine the replaceable electrodes of the first electrode, and determine whether there are any idle electrodes among the replaceable electrodes of the first electrode. If it is determined that there is a free electrode among the alternative electrodes of the first electrode, then a second electrode is selected from the free electrodes and used as the first electrode.
2. The method as described in claim 1, characterized in that, The borrowed copy information of the first electrode includes at least one of the following: Direct borrowing; the direct borrowing is used to indicate that there is a direct replication relationship between the alternative electrode of the first electrode and the first electrode; Parallel borrowing; The parallel borrowing is used to indicate that there is a parallel replication relationship between the alternative electrode of the first electrode and the first electrode. Indirect borrowing; The indirect borrowing is used to indicate that there is an indirect replication relationship between the alternative electrode of the first electrode and the first electrode.
3. The method as described in claim 1 or 2, characterized in that, Obtain the borrowing and copying information of the first electrode required for the workpiece in the first process, including: Display the electrode settings page, which includes multiple options for borrowing and copying information; Obtain the borrowing and copying information of the first electrode of the workpiece under the first process, input by the user.
4. The method as described in claim 1 or 2, characterized in that, The method further includes: The electrode borrowing page is displayed, which is used by the user to set the replication relationship between the first electrode and other electrodes of the workpiece to be processed in the first process; Obtain the borrowing information entered by the user on the electrode borrowing page. The borrowing information includes the source workpiece, the source process of the source workpiece, the third electrode under the source process, the workpiece to be processed, and the first process. The system receives a copy operation from the user, which is used to generate attribute information of the first electrode of the workpiece to be processed in the first process based on the attribute information of the third electrode of the source workpiece in the source process. In response to the user's copy operation, a copy relationship is established between the third electrode and the first electrode, and stored in the electrode association information.
5. The method as described in claim 4, characterized in that, The attribute information includes the copy precision and the number of copies.
6. The method as described in claim 1 or 2, characterized in that, The step of determining the second electrode among the idle electrodes to be used as the first electrode includes: Display machine task page, the machine task page including the idle electrodes; Obtain the second electrode selected by the user from the available electrodes.
7. The method as described in claim 1 or 2, characterized in that, The method further includes: If it is determined that there is no idle electrode among the replaceable electrodes of the first electrode, or if it is determined that there is no replaceable electrode for the first electrode, then a new electrode is copied and processed according to the electrode association information and used as the first electrode.
8. An electrode discharge machining apparatus, characterized in that, include: The information acquisition module is used to acquire electrode association information and borrowing and copying information of the first electrode required by the workpiece in the first process; wherein, the electrode association information includes the copying relationship between different electrodes of different workpieces in different processes based on the copying operation; the borrowing and copying information of the first electrode is used to indicate the copying relationship between the first electrode and the alternative electrode of the first electrode. The first electrode determination module is used to determine the replaceable electrode of the first electrode based on the electrode association information and the borrowing and copying information of the first electrode, and to determine whether there is an idle electrode among the replaceable electrodes of the first electrode. The second electrode determination module is used to determine a second electrode from among the available electrodes of the first electrode and use it as the first electrode if it is determined that there is an available electrode among the available alternative electrodes of the first electrode.
9. An electrode discharge machining apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Electric spark machining machine tool and production line comprising same
CN109746532A
Multi-electrode efficient machining method
CN113245649A