Electrode configuration method and device, computer device and storage medium

By automatically matching the feature type and parameters of the workpiece to be processed, the precise configuration of electrode type and quantity is achieved, which solves the problems of human error and low efficiency in the existing electrode configuration method, and improves processing accuracy and production efficiency.

CN122634870APending Publication Date: 2026-08-25ZHUHAI GREE PRECISION MOLD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610743006.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-27
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

The existing electrode configuration method relies on manual experience, which leads to large human error, low standardization, and inability to accurately match electrode requirements, thus affecting processing accuracy and production efficiency.

Method used

By matching the feature type of the workpiece to be processed with the preset feature type library, the actual feature parameters are obtained, and the electrode type and quantity are automatically configured according to the target standard feature parameters. The preset feature type library and parameter matching library are used to realize the automated configuration of the electrodes.

Benefits of technology

It improves the accuracy of electrode configuration and production efficiency, reduces human error, and enhances processing precision and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122634870A_ABST
    Figure CN122634870A_ABST
Patent Text Reader

Abstract

The application discloses an electrode configuration method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a feature type of a workpiece to be processed, and judging whether the feature type of the workpiece to be processed matches a preset feature type in a preset feature type library; if the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library, acquiring an actual feature parameter of the workpiece to be processed; according to the actual feature parameter, confirming a target standard feature parameter matched with the actual feature parameter; and according to the target standard feature parameter, configuring an electrode type and an electrode quantity for the workpiece to be processed. The application can realize automatic configuration of electrodes, and manual configuration by workers is not needed, so that the machining precision is improved, and the production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of plastic mold technology, and in particular to an electrode configuration method, apparatus, computer equipment, and storage medium. Background Technology

[0002] In the field of electrical discharge machining (EDM) for plastic molds, electrode configuration is a core factor determining mold processing accuracy, production efficiency, and production costs, directly impacting mold processing quality and enterprise production benefits. As a core consumable in EDM, the rationality of electrode quantity configuration and the accuracy of type matching are key control points in the mold EDM process.

[0003] Existing electrode quantity and type configuration schemes largely rely on the manual experience of designers. Electrode configuration is completed by manually calculating the contact area between the workpiece and the electrode and manually referring to tables. This approach only allows for a rough judgment based on processing characteristics, resulting in a rather crude configuration method. This scheme has significant drawbacks: firstly, manual calculations are prone to human error and cannot accurately match the electrode requirements of different processing characteristics; secondly, manual configuration lacks unified standardized rules, and there is no precise basis for determining the setting of roughing and finishing electrodes. The configuration process is cumbersome, inefficient, and cannot meet the needs of high-efficiency mold processing.

[0004] Therefore, the existing electrode configuration methods are relatively crude and have a low degree of standardization, making it impossible to achieve precise configuration of the number and type of electrodes, and making it difficult to balance processing accuracy and production efficiency. Summary of the Invention

[0005] This invention provides an electrode configuration method, apparatus, computer device, and storage medium, aiming to solve the problems of low processing accuracy and production efficiency in current electrode configuration methods.

[0006] In a first aspect, embodiments of the present invention provide an electrode configuration method, the method comprising: Obtain the feature type of the workpiece to be processed, and determine whether the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library; If the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library, then the actual feature parameters of the workpiece to be processed are obtained; Based on the actual feature parameters, identify the target standard feature parameters that match the actual feature parameters; Configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard characteristic parameters.

[0007] Secondly, embodiments of the present invention also provide an electrode configuration device, the device comprising: The first acquisition unit is used to acquire the feature type of the workpiece to be processed and determine whether the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library. The second acquisition unit is used to acquire the actual feature parameters of the workpiece to be processed if the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library. The first confirmation unit is used to confirm the target standard feature parameters that match the actual feature parameters based on the actual feature parameters. The first configuration unit is used to configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard feature parameters.

[0008] Thirdly, embodiments of the present invention also provide a computer device, which includes a memory and a processor connected to the memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0009] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.

[0010] This invention provides an electrode configuration method, apparatus, computer device, and storage medium. The method includes: acquiring the feature type of a workpiece to be processed, and determining whether the feature type of the workpiece matches a preset feature type in a preset feature type library; if the feature type of the workpiece matches the preset feature type in the preset feature type library, acquiring the actual feature parameters of the workpiece; confirming a target standard feature parameter that matches the actual feature parameters based on the actual feature parameters; and configuring the electrode type and number of electrodes for the workpiece according to the target standard feature parameters. This invention can acquire the feature type of a workpiece to be processed, and when the type of the workpiece matches a preset feature type in the preset feature type library, acquire the actual feature parameters, acquire the target standard feature parameters based on the actual feature parameters, and then configure the electrode type and number of electrodes for the workpiece according to the target standard feature parameters. This enables automated electrode configuration, eliminating the need for manual configuration by operators, thus improving both processing accuracy and production efficiency. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart illustrating the electrode configuration method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the first sub-process of the electrode configuration method provided in the embodiment of the present invention; Figure 3 This is a schematic diagram of the second sub-process of the electrode configuration method provided in the embodiment of the present invention; Figure 4 This is a schematic diagram of the third sub-process of the electrode configuration method provided in the embodiment of the present invention; Figure 5 This is a schematic diagram of the fourth sub-process of the electrode configuration method provided in the embodiment of the present invention; Figure 6 This is a schematic diagram of the fifth sub-process of the electrode configuration method provided in the embodiment of the present invention; Figure 7 This is a schematic block diagram of an electrode configuration device provided in an embodiment of the present invention; Figure 8 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0014] It should be understood that, when used in this specification and the appended claims, the terms “comprising” and “including” indicate the presence of the described features, integrals, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, operations, elements, components and / or collections thereof.

[0015] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.

[0016] Please see Figure 1 , Figure 1This is a flowchart illustrating the electrode configuration method provided in an embodiment of the present invention. The electrode configuration method of this invention can be applied to computer equipment for the automated configuration of electrode type and quantity in electrical discharge machining (EDM) of plastic molds. It can accurately match electrode configuration schemes, reduce electrode wear, lower processing costs, and simultaneously improve the efficiency and accuracy of EDM of molds. Figure 1 As shown, the method includes steps S100 to S130.

[0017] S100: Obtain the feature type of the workpiece to be processed, and determine whether the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library.

[0018] In this embodiment of the invention, the preset feature type library is a standardized feature classification database specifically for electrical discharge machining of plastic molds. Its core function is to uniformly classify and standardize the electrical discharge features to be processed on the mold that are of different shapes and processing methods, thereby eliminating problems such as fuzzy classification, inconsistent standards, and large judgment deviations caused by manual judgment, and providing a standardized classification basis for the subsequent precise configuration of electrodes.

[0019] The preset feature type library is pre-stored in a dedicated data storage unit. Based on extensive verification of EDM working conditions for plastic molds, process optimization, and integration of industry standards, the library predefines and stores a variety of conventional preset feature types. The core features include rib type, side corner clearing type, bottom corner clearing type, and blind die type. These four preset feature types correspond to different EDM processing scenarios for different processing parts and different processing requirements of the mold, covering most of the conventional features of EDM for plastic molds and meeting the processing needs of mainstream plastic molds.

[0020] Among them, the rib type refers to the deep, narrow, long strip-shaped features in the cavity of a plastic mold used to form reinforcing ribs, supporting ribs, and heat dissipation ribs for plastic products. Because of their narrow width and large depth, these features cannot be formed by conventional cutting and need to be completed by electrical discharge machining.

[0021] Side corner clearing type refers to the corner position of the inner side wall of the mold cavity, where the rounded corner cannot be machined to the required position due to the radius limitation of the cutting tool itself. The remaining rounded corner needs to be removed by electrical discharge machining and the side wall feature to be machined is adjusted to the design angle (including right angle).

[0022] Bottom surface corner clearing type refers to the root position, bottom surface arc or acute angle position where the bottom surface of the mold cavity connects with the side wall. Conventional cutting machining cannot complete the root clearing and shaping, and the bottom surface corner clearing, arc surface shaping or acute angle trimming needs to be achieved by electrical discharge machining.

[0023] Blind machining refers to a closed, non-through recessed area in the mold cavity without any open openings. This area requires electrical discharge machining on all sides, and the machining space is limited and the machining difficulty is high. It is a feature to be machined that needs to be completed using a special electrode.

[0024] In addition, the preset feature type library is extensible. The preset feature types in the library can be supplemented, updated and optimized in real time according to the actual processing conditions, mold type iteration, and EDM process upgrades, so as to adapt to the electrode configuration requirements in different scenarios and improve the versatility of this method.

[0025] When performing electrode configuration, the first step is to perform a full-area scan and feature recognition on the 3D digital model of the workpiece to be processed, extracting the core attribute information of the parts to be processed. This core attribute information includes, but is not limited to, key parameters such as feature geometry, spatial location of the processing surface, EDM method, feature contour dimensions, and processing area constraints. After extraction, the feature attributes of the workpiece are compared one by one with the standard attributes of various preset feature types in a preset feature type library. Using a built-in attribute matching algorithm, it is determined whether the feature attributes of the workpiece match the standard attributes of a certain preset feature type. This completes the matching determination between the feature type of the workpiece and the preset feature types in the library, ultimately determining whether the feature type of the workpiece falls within the coverage of the preset feature type library, providing an accurate feature classification basis for subsequent steps.

[0026] In some embodiments, such as in embodiments of the present invention, as Figure 2 As shown, step S100 includes steps S101-S103.

[0027] S101, Obtain all preset feature types in the preset feature type library, wherein the preset feature types include rib type, side corner clearing type, bottom corner clearing type and blind type; S102, if the feature type of the workpiece to be processed is any one of the rib type, the side corner clearing type, the bottom corner clearing type, or the blind punching type, then it is confirmed that the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library; S103, if the feature type of the workpiece to be processed is not any one of the rib type, the side corner clearing type, the bottom corner clearing type, or the blind punching type, then obtain the multi-dimensional feature parameters manually input by the user.

[0028] In this embodiment of the invention, by retrieving all preset feature types in the preset feature type library step by step and performing matching judgments one by one, the accuracy and reliability of feature type recognition can be improved, matching errors caused by feature attribute confusion and classification deviation can be avoided, and the feature type judgment results can be ensured to fit the actual processing scenario.

[0029] If the feature type of the workpiece to be processed is any one of the following types: rib type, side corner clearing type, bottom corner clearing type, or blind type, then it can be confirmed that the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library.

[0030] For non-standard and irregularly shaped machining features that cannot match the above four preset feature types, a fallback mechanism is set up for users to manually input multi-dimensional feature parameters. Multi-dimensional feature parameters refer to a set of parameters that cover the core machining attributes of the part to be machined (including but not limited to feature thickness, tool diameter, discharge depth, and discharge count). This ensures that non-standard and irregularly shaped features can smoothly enter the subsequent electrode configuration process, avoids interruption of the configuration process, and improves the versatility and scenario adaptability of this method.

[0031] S110, if the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library, then the actual feature parameters of the workpiece to be processed are obtained.

[0032] In this embodiment of the invention, the actual feature parameters refer to the actual processing dimensions and processing conditions of the part to be processed on the workpiece. They can accurately characterize the physical properties and processing requirements of the feature to be processed. They are the core link connecting the type of feature to be processed and the target standard feature parameters, and also the basic data support for subsequent electrode configuration.

[0033] Obtaining actual feature parameters can eliminate the ambiguity and error of traditional manual parameter estimation. By accurately collecting real and effective actual feature parameters, reliable data can be provided for subsequent matching of target standard feature parameters and configuration of electrode type and quantity. This ensures that the electrode configuration scheme is fully adapted to the actual processing needs of the workpiece to be processed, and guarantees the accuracy and rationality of the electrode configuration.

[0034] In some embodiments, such as in embodiments of the present invention, as Figure 3 As shown, step S110 includes steps S111-S114.

[0035] S111, confirm the feature type of the workpiece to be processed; S112, if the feature type of the workpiece to be processed is the rib type, then obtain the thickness, discharge depth and discharge count of the workpiece to be processed; S113, if the feature type of the workpiece to be processed is the side corner clearing type, then obtain the tool diameter, discharge depth and discharge count of the workpiece to be processed; S114, if the feature type of the workpiece to be processed is the bottom corner clearing type or the blind punching type, then obtain the discharge depth and discharge count of the workpiece to be processed.

[0036] In this embodiment of the invention, the four different standard structural features identified above have significant differences in the applicable processing operation principle, the wear and tear pattern of the electrode during long-term use, and the overall processing and forming standard requirements in the actual EDM process. Based on this objective processing characteristic, differentiated parameter acquisition rules can be formulated to collect the corresponding exclusive actual feature parameters according to different feature types.

[0037] Among them, the thickness specifically refers to the overall lateral width of the part of the rib-type machining structure that directly participates in the EDM operation. This dimension is an important reference for determining the basic shape and specifications of the machining electrode.

[0038] The tool diameter specifically refers to the minimum outer diameter of the corner-clearing tool used in the rough machining stage before the side corner-clearing process. This value can intuitively reflect the amount of residual machining allowance at the side position.

[0039] Discharge depth specifically refers to the longitudinal depth of the workpiece structure to be processed, and also represents the effective height of the electrode extending into the workpiece to participate in the actual discharge processing. This parameter directly determines the overall amount of processing work.

[0040] The number of discharge cycles refers to the total number of discharge cycles that the machining electrode needs to complete for the same machining position before the entire set of electrical discharge machining processes is fully completed. It can intuitively reflect the overall machining workload and total electrode wear of the structure.

[0041] By collecting specific parameters through this categorized approach, we can fully match the unique processing and operational characteristics of each type of structure, ensuring that the collected parameters have strong relevance and practical reference value, thus paving the way for subsequent target completion.

[0042] S120, Based on the actual feature parameters, confirm the target standard feature parameters that match the actual feature parameters.

[0043] In this embodiment of the invention, the preset feature parameter matching library is a professional and standardized parameter database that integrates and summarizes massive amounts of on-site EDM working condition measurement data, long-term electrode wear tracking test data, and industry-standard mature processing technology experience. After systematic sorting and standardized integration, the database contains multiple sets of general standard feature parameters that have been optimized and improved through repeated on-site tests. Its core function is to build a bridge between the actual on-site measured processing parameters and the industry-standardized electrode configuration parameters. The target standard feature parameters refer to the standardized fixed parameters that are selected from the preset feature parameter matching library and can form a high degree of compatibility with the actual feature parameters collected on-site. They are also the most direct and core basis for subsequent electrode type classification and electrode quantity verification.

[0044] By relying on the actual characteristic parameters obtained from on-site measurements and matching and retrieving the corresponding target standard characteristic parameters, the reference standard for electrode configuration of the same type of mold processing structure in the entire industry can be fundamentally unified. This can eliminate the subjectivity and uncertainty brought about by manually arbitrarily determining configuration parameters, effectively ensuring that the final electrode configuration scheme remains consistent for processed workpieces of the same specification and structural form under different production sites and different operator working environments, and comprehensively improving the overall standardization and uniformity of electrode configuration work in the plastic mold EDM industry.

[0045] In some embodiments, such as in embodiments of the present invention, as Figure 4 As shown, step S120 includes steps S121-S122.

[0046] S121, Match the actual feature parameters with a preset feature parameter matching library, wherein the preset feature parameter matching library includes multiple standard feature parameters; S122, set the standard feature parameter that matches the actual feature parameter as the target standard feature parameter.

[0047] In this embodiment of the invention, all standard feature parameters included in the preset feature parameter matching library are classified, collected, and stored in a reasonable numerical range pattern. In the process of defining various numerical ranges, multiple influencing factors are fully considered, such as the normal dimensional tolerance range allowed by mold processing, the normal wear and tear range of electrodes of different materials during long-term use, and the established execution standards of various electrical discharge machining processes.

[0048] The actual feature parameters are compared with the standard parameters in the preset feature parameter matching library. As long as the specific value of the actual feature parameter falls within the value range corresponding to a certain set of standard feature parameters, the two sets of parameters can be determined to be matched. This range matching operation mode can fully accommodate normal situations such as minor dimensional deviations and small fluctuations in process operation that are unavoidable in the actual processing. It does not require the measured parameters to be completely consistent with the standard parameters. On the basis of strictly controlling the accuracy of electrode configuration, it effectively simplifies the overall parameter matching process, improves the overall efficiency of parameter matching operation, and can quickly and efficiently screen out target standard feature parameters that are highly compatible with the workpiece to be processed.

[0049] S130, Configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard characteristic parameters.

[0050] In this embodiment of the invention, the electrode type is the electrode category divided according to the different division of labor in the electrical discharge machining process. In actual processing and production, it is mainly divided into two categories: roughing electrodes and finishing electrodes. The number of electrodes refers to the total number of various functional electrodes required to complete all electrical discharge machining processes of all the structures to be processed on a single workpiece.

[0051] Among them, the roughing electrode is mainly used in the early stage of EDM. Its core function is to quickly remove excess machining allowance at the workpiece to be machined, minimize the overall machining time, and comprehensively improve the overall machining production efficiency of the mold. The finishing electrode is mainly used in the later stage of EDM. Its core function is to accurately adjust the shape and size of the machining structure, optimize the flatness of the machining surface, strictly control the machining accuracy of the finished product, and ensure that the final forming quality of the mold meets the design standards.

[0052] By referring to the established target standard characteristic parameters, rationally classifying electrode usage types and accurately determining the number of electrodes used, we can achieve the scientific allocation and optimal utilization of various electrode processing resources. On the one hand, this can effectively avoid various production problems such as forced suspension of processing steps, substandard mold processing accuracy, and unqualified finished product appearance quality due to insufficient electrode quantity. On the other hand, it can also prevent the blind allocation of a large number of redundant electrodes, which would lead to unnecessary consumption of electrode raw materials, increased material storage costs, and increased difficulty in on-site material management, thus avoiding resource waste. Ultimately, while ensuring mold processing efficiency and finished product processing quality, we can rationally control the overall production input cost.

[0053] In some embodiments, such as in embodiments of the present invention, as Figure 5 As shown, step S130 includes steps S131-S133.

[0054] S131, determine whether to configure a rough-machined electrode based on the electrode loss optimization rule; S132, if it is necessary to configure roughing electrodes, then configure the number of roughing electrodes for the workpiece to be processed and configure the number of fine electrodes for the workpiece to be processed according to the target standard feature parameters; S133, if no roughing electrode is required, then configure the number of fine electrodes for the workpiece to be processed according to the target standard characteristic parameters.

[0055] In this embodiment of the invention, the electrode wear optimization rule is a standardized electrode configuration judgment criterion formulated based on the actual wear variation law of electrodes of different materials in the electrical discharge machining process, combined with multiple core factors such as the size of the machining allowance, the length of the machining time, and the level of the discharge intensity for different structural features. The core function of this rule is to accurately determine whether it is necessary to equip roughing electrodes for various machining structures to participate in the early machining process.

[0056] The overall configuration process follows the logic of first determining the necessity of equipping roughing electrodes, and then determining the number of roughing electrodes and finishing electrodes to be used. This logical sequence is completely in line with the standard process flow of EDM for plastic molds from roughing to finishing. It also fits the actual wear characteristics of electrodes under different working conditions. This not only effectively simplifies the thinking logic of the overall electrode configuration and improves the overall execution efficiency of the configuration work, but also ensures that the final electrode configuration scheme is highly consistent with the actual processing and production conditions on site.

[0057] As shown in Tables 1 to 4 below, Table 1 is the standard feature parameter table for the rib type, Table 2 is the standard feature parameter table for the side corner clearing type, Table 3 is the standard feature parameter table for the bottom corner clearing type, and Table 4 is the standard feature parameter table for the blind type. In this table, the code is used to indicate the number of fine electrodes and the number of coarse electrodes. The number before J indicates the number of fine electrodes, and the number before C indicates the number of coarse electrodes. For example, the code 1J-0.10, 1C-0.30 indicates 1 fine electrode and 1 coarse electrode. Table 1 Table 2 Table 3 Table 4 In some embodiments, such as in embodiments of the present invention, as Figure 6 As shown, step S131 includes steps S1311-S1314.

[0058] S1311, Obtain the discharge depth of the workpiece to be processed; S1312, for workpieces whose feature type is the rib type, the side corner clearing type, or the bottom corner clearing type, if the discharge depth of the workpiece is less than or equal to the preset depth, then no roughing electrode is configured. S1313, for a workpiece whose feature type is the rib type and the side corner clearing type, if the discharge depth of the workpiece is greater than the preset depth, then a roughing electrode is configured. S1314, For workpieces with the characteristic type of the blind-machining type, a roughing electrode is configured by default.

[0059] In this embodiment of the invention, the discharge depth is a core evaluation index that can intuitively measure the overall machining allowance of the workpiece to be processed and the overall wear level of the electrode after it is put into use. The preset depth is a general critical depth value for electrical discharge machining determined after a large number of actual on-site processing tests and long-term production data statistical analysis. In this embodiment, the preset depth is uniformly set to 15mm.

[0060] When the actual discharge depth of the three conventional processing structures—rib type, side corner clearing type, and bottom corner clearing type—is less than or equal to the critical value of 15mm, it means that the overall processing allowance of this type of structure is relatively small, the degree of electrode loss during processing is low, and all processing steps can be completed smoothly in one go with only the fine-machining electrode. There is no need to equip an additional rough-machining electrode, which can effectively simplify the electrode types and reduce production costs.

[0061] When the actual discharge depth of the rib type and the side corner clearing type structure exceeds the critical value of 15mm, it means that the overall machining allowance of this type of structure is too large. Relying solely on the finishing electrode for a long time will cause serious electrode wear and a significant decrease in machining efficiency. Therefore, it is necessary to equip an additional roughing electrode to prioritize the removal of excess material.

[0062] Blind-type structures are inherently designed for omnidirectional electrical discharge machining within a fully enclosed environment. This results in greater operational difficulty, faster electrode wear, and a more complex overall process. Therefore, regardless of the actual depth of discharge, these structures are always equipped with roughing electrodes to ensure the smooth and orderly completion of the entire electrical discharge machining process.

[0063] The electrode configuration method disclosed in this invention can obtain the feature type of the workpiece to be processed, and when the type of the workpiece to be processed matches the preset feature type in the preset feature type library, obtain the actual feature parameters, obtain the target standard feature parameters according to the actual feature parameters, and then configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard feature parameters. This can realize automated electrode configuration without the need for manual configuration by staff, which not only improves the processing accuracy but also improves the production efficiency.

[0064] Figure 7 This is a schematic block diagram of an electrode configuration device 200 provided in an embodiment of the present invention. Figure 7 As shown, corresponding to the above electrode configuration method, the present invention also provides an electrode configuration apparatus 200. This electrode configuration apparatus 200 includes a unit for performing the above electrode configuration method. Specifically, please refer to... Figure 7 The electrode configuration device 200 includes a first acquisition unit 201, a second acquisition unit 202, a first confirmation unit 203, and a first configuration unit 204.

[0065] The first acquisition unit 201 is used to acquire the feature type of the workpiece to be processed and determine whether the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library. The second acquisition unit 202 is used to acquire the actual feature parameters of the workpiece to be processed if the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library. The first confirmation unit 203 is used to confirm the target standard feature parameters that match the actual feature parameters based on the actual feature parameters. The first configuration unit 204 is used to configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard feature parameters.

[0066] In some embodiments, such as this embodiment, the first acquisition unit 201 further includes a third acquisition unit, a first confirmation unit, and a fourth acquisition unit.

[0067] The third acquisition unit is used to acquire all preset feature types in the preset feature type library, wherein the preset feature types include rib type, side corner clearing type, bottom corner clearing type and blind type; The first confirmation unit is used to confirm that the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library if the feature type of the workpiece to be processed is any one of the rib type, the side corner clearing type, the bottom corner clearing type, or the blind punching type. The fourth acquisition unit is used to acquire the multi-dimensional feature parameters manually input by the user if the feature type of the workpiece to be processed is not any one of the rib type, the side corner clearing type, the bottom corner clearing type, or the blind punching type.

[0068] In some embodiments, such as this embodiment, the second acquisition unit includes a second confirmation unit, a fifth acquisition unit, a sixth acquisition unit, and a seventh acquisition unit.

[0069] The second confirmation unit is used to confirm the feature type of the workpiece to be processed. The fifth acquisition unit is used to acquire the thickness, discharge depth and discharge count of the workpiece if the feature type of the workpiece to be processed is the rib type. The sixth acquisition unit is used to acquire the tool diameter, discharge depth and discharge count of the workpiece if the feature type of the workpiece to be processed is the side corner clearing type. The seventh acquisition unit is used to acquire the discharge depth and discharge count of the workpiece if the feature type of the workpiece to be processed is the bottom corner clearing type or the blind punching type.

[0070] In some embodiments, such as this one, the first confirmation unit includes a first matching unit and a first setting unit.

[0071] The first matching unit is used to match the actual feature parameters with a preset feature parameter matching library, wherein the preset feature parameter matching library includes multiple standard feature parameters. The first setting unit is used to set the standard feature parameters that match the actual feature parameters as the target standard feature parameters.

[0072] In some embodiments, such as this one, the first configuration unit includes a first determination unit, a second configuration unit, and a third configuration unit.

[0073] The first judgment unit is used to determine whether to configure a roughing electrode based on the electrode loss optimization rule. The second configuration unit is used to configure the number of coarse electrodes for the workpiece to be processed and the number of fine electrodes for the workpiece to be processed according to the target standard feature parameters if coarse machining electrodes need to be configured. The third configuration unit is used to configure the number of fine electrodes for the workpiece to be processed according to the target standard characteristic parameters if no roughing electrode is required.

[0074] In some embodiments, such as this embodiment, the first determination unit includes an eighth acquisition unit, a fourth configuration unit, a fifth configuration unit, and a sixth configuration unit.

[0075] The eighth acquisition unit is used to acquire the discharge depth of the workpiece to be processed. The fourth configuration unit is used to configure no roughing electrode for workpieces whose feature type is the rib type, the side corner clearing type, or the bottom corner clearing type if the discharge depth of the workpiece is less than or equal to a preset depth. The fifth configuration unit is used to configure a roughing electrode for a workpiece whose feature type is the rib type and the side corner clearing type, if the discharge depth of the workpiece is greater than the preset depth. The sixth configuration unit is used to configure a roughing electrode by default for workpieces whose feature type is the blind-machining type.

[0076] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned electrode configuration device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0077] The aforementioned electrode configuration device can be implemented as a computer program, which can, for example... Figure 8 It runs on the computer device shown.

[0078] Please see Figure 8 , Figure 8 This is a schematic block diagram of a computer device provided in an embodiment of this application. It can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a smartphone, tablet, laptop, desktop computer, personal digital assistant, or wearable device. The server can be a standalone server or a server cluster composed of multiple servers.

[0079] See Figure 8 The computer device 300 includes a processor 302, a memory, and an interface 307 connected via a system bus 301. The memory may include a non-volatile storage medium 303 and internal memory 304.

[0080] The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, it causes the processor 302 to perform an electrode configuration method.

[0081] The processor 302 provides computing and control capabilities to support the operation of the entire computer device 300.

[0082] The internal memory 304 provides an environment for the execution of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute an electrode configuration method.

[0083] This interface 305 is used for communication with other devices. Those skilled in the art will understand that... Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 300 to which the present application is applied. The specific computer device 300 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0084] It should be understood that in the embodiments of this application, the processor 302 may be a central processing unit (CPU), or it may 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. The general-purpose processor may be a microprocessor or any conventional processor.

[0085] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0086] Therefore, the present invention also provides a storage medium. This storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program implements any embodiment of the electrode configuration method described above.

[0087] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0088] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. 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 implementations should not be considered beyond the scope of this invention.

[0089] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0090] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention 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.

[0091] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0093] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.

[0094] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An electrode configuration method, characterized in that, The method includes: Obtain the feature type of the workpiece to be processed, and determine whether the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library; If the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library, then the actual feature parameters of the workpiece to be processed are obtained; Based on the actual feature parameters, identify the target standard feature parameters that match the actual feature parameters; Configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard characteristic parameters.

2. The method according to claim 1, characterized in that, The step of determining whether the feature type of the workpiece to be processed matches the feature type in the preset feature type library includes: Obtain all preset feature types in the preset feature type library, wherein the preset feature types include rib type, side corner clearing type, bottom corner clearing type, and blind type; If the feature type of the workpiece to be processed is any one of the rib type, the side corner clearing type, the bottom corner clearing type, or the blind punching type, then it is confirmed that the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library.

3. The method according to claim 2, characterized in that, After the step of obtaining all preset feature types in the preset feature type library, the method further includes: If the feature type of the workpiece to be processed is not any of the rib type, the side corner clearing type, the bottom corner clearing type, or the blind printing type, then the multi-dimensional feature parameters manually input by the user are obtained.

4. The method according to claim 2, characterized in that, The step of obtaining the actual feature parameters of the workpiece to be processed includes: Confirm the feature type of the workpiece to be processed; If the feature type of the workpiece to be processed is the rib type, then obtain the thickness, discharge depth and discharge count of the workpiece to be processed; If the feature type of the workpiece to be processed is the side corner clearing type, then obtain the tool diameter, discharge depth and discharge count of the workpiece to be processed; If the feature type of the workpiece to be processed is the bottom corner clearing type or the blind punching type, then obtain the discharge depth and discharge count of the workpiece to be processed.

5. The method according to claim 1, characterized in that, The step of determining the target standard feature parameter that matches the actual feature parameter based on the actual feature parameter includes: The actual feature parameters are matched with a preset feature parameter matching library, wherein the preset feature parameter matching library includes multiple standard feature parameters; Set the standard feature parameters that match the actual feature parameters as the target standard feature parameters.

6. The method according to claim 1, characterized in that, The step of configuring the electrode type and number of electrodes for the workpiece to be processed according to the target standard feature parameters includes: Determine whether to configure a rough-machined electrode based on the electrode loss optimization rules; If roughing electrodes are required, then the number of roughing electrodes is configured for the workpiece to be processed, and the number of fine electrodes is configured for the workpiece to be processed according to the target standard characteristic parameters; If no roughing electrode is required, then the number of fine electrodes is configured for the workpiece to be processed according to the target standard characteristic parameters.

7. The method according to claim 6, characterized in that, The electrode loss optimization rules include: Obtain the discharge depth of the workpiece to be processed; For workpieces with the characteristic type of the rib type, the side corner clearing type, or the bottom corner clearing type, if the discharge depth of the workpiece is less than or equal to the preset depth, then no roughing electrode is configured. For workpieces with the characteristics of the rib type and the side corner clearing type, if the discharge depth of the workpiece is greater than the preset depth, then a roughing electrode is configured. For workpieces with the characteristic type described above as blind machining, a roughing electrode is configured by default.

8. An electrode configuration device, characterized in that, The device includes: The first acquisition unit is used to acquire the feature type of the workpiece to be processed and determine whether the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library. The second acquisition unit is used to acquire the actual feature parameters of the workpiece to be processed if the feature type of the workpiece to be processed matches the preset feature type in the preset feature type library. The first confirmation unit is used to confirm the target standard feature parameters that match the actual feature parameters based on the actual feature parameters. The first configuration unit is used to configure the electrode type and number of electrodes for the workpiece to be processed according to the target standard feature parameters.

9. A computer device, characterized in that, The computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to perform the steps of the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the steps of the method as described in any one of claims 1-7.