Electrode machining program generation method and device, electronic equipment and storage medium

By analyzing the characteristic information of the electrode three-dimensional model and the processing strategy configuration table, the electrode processing program generation method is automatically determined, and an electrode processing program generation method that can solve the electrical problems in the existing technology is generated, realizing efficient and precise electrode processing without a lot of manual intervention.

CN120669640APending Publication Date: 2025-09-19深圳模德宝科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510613512.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Existing technologies require a lot of manual intervention when generating electrode machining programs, resulting in low efficiency and increased costs.

Method used

By obtaining the drawing file of the electrode 3D model, analyzing the electrode head feature information, and using the processing strategy configuration table to automatically determine the target processing strategy, including the processing object, process and tool, the processing program is generated.

Benefits of technology

It enables the generation of effective electrode processing programs without a lot of manual intervention, improves efficiency and precision, and reduces labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120669640A_ABST
    Figure CN120669640A_ABST
Patent Text Reader

Abstract

The invention discloses an electrode machining program generation method and device, electronic equipment and a storage medium, and relates to the technical field of electrode machining. According to the method, the electrode machining process is divided into a machining stage capable of fixing a machining strategy and a machining stage incapable of fixing the machining strategy; through the processing strategy configuration table, according to the processing stage that the electrode tip feature information is incapable of fixing the processing strategy, the processing strategy capable of coping with the electrode tip feature is flexibly selected, so that the processing strategy with effectiveness and performability is determined for the to-be-processed electrode, and based on the processing strategy, various parameters involved in the processing program are determined. And the determined machining program can safely and effectively cope with the electrode machining task. The process can be automatically realized, a large amount of labor cost is not required to be input for parameter correction or revision, and the degree of dependence of the processing program acquisition process on manual intervention is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrode processing, and in particular to a method, device, electronic equipment and storage medium for generating an electrode processing program. Background Art

[0002] Electrodes, as components in CNC machining, are widely used in various machining processes. For example, in EDM (Electro-Discharge Machining), the electrode is a key component that corresponds to the workpiece and is used for discharge machining. The electrode's shape, dimensional accuracy, and surface quality determine the corresponding characteristics of the machined workpiece.

[0003] With the continuous maturity of computer-aided design (CAD) and computer-aided manufacturing (CAM) technology, electrode manufacturing has entered a new stage. Now, the three-dimensional model of the electrode can be accurately designed through CAD software, and then CAM programming can be used to generate CNC programs / machining programs to drive CNC machine tools based on the programs to complete the processing of the electrodes.

[0004] However, when obtaining machining programs through CAM programming algorithms, a lot of manual intervention is still required to ensure the validity of various parameters in the machining programs. Summary of the Invention

[0005] The embodiments of the present invention provide a method, device, electronic device and storage medium for generating a machining program for an electrode, so as to solve the problem that a large amount of manual intervention is required when obtaining a machining program.

[0006] In a first aspect, a method for generating a processing program for an electrode is provided, the method comprising: obtaining a drawing file capable of representing a three-dimensional model of an electrode to be processed; parsing electrode head feature information of the electrode to be processed from the drawing file; for a first type of processing stage for which no preset fixed processing strategy exists, determining a target processing strategy for the first type of processing stage based on the electrode head feature information and a processing strategy configuration table; the target processing strategy includes a processing object, a processing process to be performed on the processing object, and a processing tool required for the processing process; the processing strategy configuration table includes numerical screening intervals for different feature parameters in the electrode head feature information, the processing process corresponding to each numerical screening interval, and the processing tool required for each processing process; generating a processing program based on all processing strategies determined for the electrode to be processed; wherein, all processing strategies include the target processing strategy and the preset fixed processing strategy for the second type of processing stage.

[0007] In some embodiments, the characteristic parameters of the electrode head include the area of ​​the steep region of the electrode head, the area of ​​the shallow region, the minimum inner corner radius of the steep region, the minimum inner corner radius of the shallow region and the minimum distance between the corresponding islands of different electrode heads; wherein, the shallow region is the region where the angle between the surface normal and the preset coordinate axis is less than the preset angle; the steep region is the region where the angle between the surface normal and the preset coordinate axis is greater than or equal to the preset angle; the preset coordinate axis is the coordinate axis of the base platform perpendicular to the electrode to be processed.

[0008] In some embodiments, the first type of processing stage includes a secondary roughing stage; the second type of processing stage includes a roughing stage; the processing strategy configuration table includes a first processing strategy configuration table and a second processing strategy configuration table; the target processing strategy of the first type of processing stage is determined according to the electrode head feature information and the processing strategy configuration table, including: determining the minimum value of the minimum inner corner radius of the steep area and the minimum inner corner radius of the shallow area; determining whether the electrode head needs secondary roughing according to the minimum value, the minimum distance and the diameter of the processing tool used in the roughing stage; if secondary roughing is required, judging the numerical value of twice the minimum value and the minimum distance; when the twice the minimum value is less than the minimum distance, According to the minimum value, the first processing strategy configuration table is searched to determine the first numerical screening interval in which the minimum value is located; wherein, the first processing strategy configuration table is the secondary roughing strategy configuration table corresponding to the minimum inner angle radius; the processing technology corresponding to the first numerical screening interval is determined as the processing technology that needs to be implemented on the electrode head in the secondary roughing stage; when the minimum distance is less than twice the minimum value, the second processing strategy configuration table is searched according to the minimum distance to determine the second numerical screening interval in which the minimum distance is located; wherein, the second processing strategy configuration table is the secondary roughing strategy configuration table corresponding to the minimum distance; the processing technology corresponding to the second numerical screening interval is determined as the processing technology that needs to be implemented on the electrode head in the secondary roughing stage.

[0009] In some embodiments, the method further includes: if secondary roughing is not required, determining the intermediate light processing process as the processing process that needs to be performed on the electrode head in the secondary roughing stage, and using the preset processing tool of the intermediate light processing process as the processing tool required for the processing process.

[0010] In some embodiments, the first type of processing stage includes an electrode head contour milling processing stage; the processing strategy configuration table includes a third processing strategy configuration table and a fourth processing strategy configuration table; the target processing strategy of the first type of processing stage is determined according to the electrode head feature information and the processing strategy configuration table, including: according to the area of ​​the shallow area, searching the third processing strategy configuration table to determine the third numerical screening interval in which the area of ​​the shallow area is located; wherein the third processing strategy configuration table is a contour milling strategy configuration table corresponding to the area of ​​the shallow area; the processing technology corresponding to the third numerical screening interval is used as the processing technology that needs to be implemented on the shallow area in the electrode head contour milling processing stage; according to the area of ​​the steep area, searching the fourth processing strategy configuration table to determine the fourth numerical screening interval in which the area of ​​the steep area is located; wherein the fourth processing strategy configuration table is a contour milling strategy configuration table corresponding to the area of ​​the steep area; the processing technology corresponding to the fourth numerical screening interval is used as the processing technology that needs to be implemented on the steep area in the electrode head contour milling processing stage.

[0011] In some embodiments, the first type of processing stage includes an electrode head root milling processing stage; the processing strategy configuration table includes a fifth processing strategy configuration table and a sixth processing strategy configuration table; the target processing strategy of the first type of processing stage is determined according to the electrode head feature information and the processing strategy configuration table, including: according to the minimum inner angle radius of the shallow area, searching the fifth processing strategy configuration table to determine the fifth numerical screening interval where the minimum inner angle radius of the shallow area is located; wherein the fifth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner angle radius of the shallow area; the processing technology corresponding to the fifth numerical screening interval is used as the processing technology that needs to be implemented on the shallow area in the electrode head root milling processing stage; according to the minimum inner angle radius of the steep area, searching the sixth processing strategy configuration table to determine the sixth numerical screening interval where the minimum inner angle radius of the steep area is located; wherein the sixth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner angle radius of the steep area; the processing technology corresponding to the sixth numerical screening interval is used as the processing technology that needs to be implemented on the steep area in the electrode head root milling processing stage.

[0012] In some embodiments, the method further includes: if there are processing objects involved in the first type of processing stage for which the processing technology and processing tools have not been determined, the processing strategy configuration task of the processing object is sent to a preset terminal, so that the user configures the processing technology that needs to be implemented in the first type of processing stage and the processing tools required for the processing technology for the processing object through the preset terminal; and updates the processing strategy configuration table according to the processing technology and processing tools configured by the user for the processing object.

[0013] In a second aspect, a device for generating a processing program for an electrode is provided, the device comprising: an acquisition module for acquiring a drawing file capable of representing a three-dimensional model of an electrode to be processed; a parsing module for parsing electrode head feature information of the electrode to be processed from the drawing file; a processing strategy determination module for determining, for a first type of processing stage for which no preset fixed processing strategy exists, a target processing strategy for the first type of processing stage according to the electrode head feature information and a processing strategy configuration table; the target processing strategy includes a processing object, a processing process to be performed on the processing object, and a processing tool required for the processing process; the processing strategy configuration table includes numerical screening intervals for different feature parameters in the electrode head feature information, the processing process corresponding to each numerical screening interval, and the processing tool required for each processing process; a program generation module for generating a processing program based on all processing strategies determined for the electrode to be processed; wherein, all processing strategies include the target processing strategy and the preset fixed processing strategy for the second type of processing stage.

[0014] In some embodiments, the characteristic parameters of the electrode head include the area of ​​the steep region of the electrode head, the area of ​​the shallow region, the minimum inner corner radius of the steep region, the minimum inner corner radius of the shallow region and the minimum distance between the corresponding islands of different electrode heads; wherein, the shallow region is the region where the angle between the surface normal and the preset coordinate axis is less than the preset angle; the steep region is the region where the angle between the surface normal and the preset coordinate axis is greater than or equal to the preset angle; the preset coordinate axis is the coordinate axis of the base platform perpendicular to the electrode to be processed.

[0015] In some embodiments, the first type of processing stage includes a secondary roughing stage; the second type of processing stage includes a roughing stage; the processing strategy configuration table includes a first processing strategy configuration table and a second processing strategy configuration table; the processing strategy determination module is used to: determine the minimum value of the minimum inner corner radius of the steep area and the minimum inner corner radius of the shallow area; determine whether the electrode head needs secondary roughing according to the minimum value, the minimum distance and the diameter of the processing tool used in the roughing stage; if secondary roughing is required, determine the numerical value of the double of the minimum value and the minimum distance; when the double of the minimum value is less than the minimum distance, find the first processing strategy according to the minimum value strategy configuration table to determine the first numerical screening interval in which the minimum value is located; wherein the first processing strategy configuration table is the secondary roughing strategy configuration table corresponding to the minimum inner angle radius; the processing technology corresponding to the first numerical screening interval is determined as the processing technology that needs to be implemented on the electrode head in the secondary roughing stage; when the minimum distance is less than twice the minimum value, the second processing strategy configuration table is searched according to the minimum distance to determine the second numerical screening interval in which the minimum distance is located; wherein the second processing strategy configuration table is the secondary roughing strategy configuration table corresponding to the minimum distance; the processing technology corresponding to the second numerical screening interval is determined as the processing technology that needs to be implemented on the electrode head in the secondary roughing stage.

[0016] In some embodiments, the processing strategy determination module is used to: if secondary roughing is not required, determine the intermediate light processing process as the processing process that needs to be performed on the electrode head in the secondary roughing stage, and use the preset processing tool of the intermediate light processing process as the processing tool required for the processing process.

[0017] In some embodiments, the first type of processing stage includes the electrode head contour milling processing stage; the processing strategy configuration table includes a third processing strategy configuration table and a fourth processing strategy configuration table; the processing strategy determination module is used to: according to the area of ​​the shallow area, search the third processing strategy configuration table to determine the third numerical screening interval of the shallow area area; wherein the third processing strategy configuration table is the contour milling strategy configuration table corresponding to the shallow area area; the processing technology corresponding to the third numerical screening interval is used as the processing technology that needs to be implemented on the shallow area in the electrode head contour milling processing stage; according to the area of ​​the steep area, search the fourth processing strategy configuration table to determine the fourth numerical screening interval of the steep area area; wherein the fourth processing strategy configuration table is the contour milling strategy configuration table corresponding to the steep area; the processing technology corresponding to the fourth numerical screening interval is used as the processing technology that needs to be implemented on the steep area in the electrode head contour milling processing stage.

[0018] In some embodiments, the first type of processing stage includes an electrode head root milling processing stage; the processing strategy configuration table includes a fifth processing strategy configuration table and a sixth processing strategy configuration table; the processing strategy determination module is used to: according to the minimum inner angle radius of the shallow area, search the fifth processing strategy configuration table to determine the fifth numerical screening interval where the minimum inner angle radius of the shallow area is located; wherein the fifth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner angle radius of the shallow area; the processing technology corresponding to the fifth numerical screening interval is used as the processing technology that needs to be implemented on the shallow area in the electrode head root milling processing stage; according to the minimum inner angle radius of the steep area, search the sixth processing strategy configuration table to determine the sixth numerical screening interval where the minimum inner angle radius of the steep area is located; wherein the sixth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner angle radius of the steep area; the processing technology corresponding to the sixth numerical screening interval is used as the processing technology that needs to be implemented on the steep area in the electrode head root milling processing stage.

[0019] In some embodiments, the processing strategy determination module is used to: if there are processing objects in the first type of processing stage for which the processing technology and processing tools have not been determined, the processing strategy configuration task of the processing object is sent to a preset terminal, so that the user can configure the processing technology that needs to be implemented in the first type of processing stage and the processing tools required for the processing technology for the processing object through the preset terminal; and update the processing strategy configuration table according to the processing technology and processing tools configured by the user for the processing object.

[0020] In a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for generating a machining program for an electrode as described in any one of the above embodiments is implemented.

[0021] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned electrode processing program generation method are implemented.

[0022] In one solution implemented by the above-mentioned electrode processing program generation method, device, electronic device and storage medium, the method presets a fixed processing strategy for the second type of processing stage in which the processing strategy can be fixed, and sets a processing strategy configuration table for the first type of processing stage in which the processing strategy cannot be fixed. When determining the processing strategy for the electrode to be processed, the processing strategy of the second type of processing stage can be directly determined, and the target processing strategy can be determined for each stage in the first type of processing stage based on the electrode head feature information and the processing strategy configuration table. In these processing strategies, the processing object, the real-time processing technology required for the processing object, and the processing tools required for each processing technology are characterized. The present application divides the electrode processing process into processing stages in which the processing strategy can be fixed and processing stages in which the processing strategy cannot be fixed; through the processing strategy configuration table, according to the actual characteristics of the electrode head, for the processing stage in which the processing strategy cannot be fixed, a processing strategy that can cope with the electrode head characteristics is flexibly selected, thereby determining an effective and executable processing strategy for the electrode to be processed. Based on these processing strategies, the various parameters involved in the processing program are determined so that the determined processing program can safely and effectively cope with the electrode processing task. This process can be achieved automatically, eliminating the need for large amounts of labor costs to correct or revise parameters, and reducing the degree of dependence of the machining program acquisition process on human intervention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 is a flow chart of a method for generating an electrode processing program according to an embodiment of the present application; Figure 2 is a schematic diagram of electrodes shown in an embodiment of the present application; Figure 3 is a schematic diagram of electrodes shown in another embodiment of the present application; Figure 4 is a flow chart of a method for generating a machining program for an electrode according to another embodiment of the present application; Figure 5 This is a schematic diagram showing a processing scenario according to an embodiment of the present application; Figure 6 is a schematic diagram showing a processing scenario according to another embodiment of the present application; Figure 7 is a schematic diagram of a processing scenario shown in another embodiment of the present application; Figure 8 is a schematic diagram of a processing scenario shown in another embodiment of the present application; Figure 9 is a schematic diagram of a processing scenario shown in another embodiment of the present application; Figure 10 is a flow chart of a method for generating a machining program for an electrode according to another embodiment of the present application; Figure 11 is a flow chart of a method for generating a machining program for an electrode according to another embodiment of the present application; Figure 12 is a schematic block diagram of a device for generating a processing program for an electrode according to another embodiment of the present application; Figure 13 It is a schematic block diagram of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0026] The electrode processing program generation method proposed in this application can be applied to the electrode processing scenario, and the electrode CAM programming is performed according to the electrode PRT drawing, so as to obtain the electrode processing program. The processing program can be understood as a series of instruction sets for guiding electrode processing and manufacturing. It is a CNC program (such as G code, M code, etc.), that is, a program that can be recognized and executed by a CNC machine tool. Electrode processing is achieved by executing the processing program. In this scenario, a client and a server can be set up. The client can communicate with the server through the network. The engineer can submit the electrode PRT drawing on the client, and the client uploads the electrode PRT drawing to the server. The server performs CAM programming based on the electrode PRT drawing. The generated processing program can be sent directly to the CNC machine tool or to the client.

[0027] The client may include, but is not limited to, various personal computers, laptops, smartphones, and tablet computers. The server may be implemented as an independent server or a server cluster consisting of multiple servers, which may be located in the cloud. The present invention will be described in detail below using specific embodiments.

[0028] Figure 1 FIG. 1 is a flow chart of a method for generating a processing program for an electrode according to an exemplary embodiment of the present application. Figure 1 As shown, the electrode processing program generation method may include the following steps: S101, obtaining a drawing file that can represent a three-dimensional model of an electrode to be processed.

[0029] For example, the execution entity of the embodiments of the present application may be the electrode processing program generation device proposed in the present application, a server equipped with the electrode processing program generation device, or an electronic device capable of executing the solution of the present embodiment, without limitation. This embodiment is described with the server capable of executing the solution of the present embodiment as the execution entity.

[0030] The server receives a drawing file uploaded by the user. This drawing file can be generated by an engineer using software with computer-aided design capabilities (such as 3D design software like CAD software). This drawing file can represent a 3D model of the electrode to be processed. The PRT drawing file mentioned above is one format of this drawing file.

[0031] S102, parsing the electrode head feature information of the electrode to be processed from the drawing file.

[0032] For example, after obtaining the drawing file, the server can parse the drawing file by calling the interface function of the three-dimensional design software. For example, the interface function is used to traverse the collection elements and topological structure of the model, identify the various structures of the electrode, such as the electrode head and the base, and extract the characteristic information of each structure. Alternatively, the API provided in the three-dimensional model processing library can be used to read, parse and extract features from the drawing file to obtain the electrode head characteristic information of the electrode to be processed. It should be noted that these are only two examples of the drawing file parsing method, and are not a limitation on the drawing file parsing method.

[0033] The electrode head characteristic information may include different types of characteristic parameters, for example, characteristic parameters representing the area, characteristic parameters representing the distance, or characteristic parameters representing the curvature, etc.

[0034] S103, for the first type of processing stage for which there is no preset fixed processing strategy, determine the target processing strategy for the first type of processing stage based on the electrode head feature information and the processing strategy configuration table; the target processing strategy includes the processing object, the processing technology that needs to be implemented on the processing object, and the processing tools required for the processing technology; the processing strategy configuration table includes the numerical screening intervals of different feature parameters in the electrode head feature information, the processing technology corresponding to each numerical screening interval, and the processing tools required for each processing technology.

[0035] For example, the electrode processing involves multiple processing stages, which can be pre-divided as needed. For ease of distinction, this embodiment describes the processing stage without a pre-set fixed processing strategy as the first processing stage, and the processing stage with a pre-set fixed processing strategy as the second processing stage.

[0036] The server may determine the processing strategy for each processing stage in turn. When a processing stage belongs to the second type of processing stage, the processing task of the stage may be carried out according to the fixed processing strategy pre-set for the processing stage.

[0037] For example, the second type of processing stage may include the roughing stage, the semi-finishing stage of the reference table, the overall finishing stage, etc. The processing technology implemented in the roughing stage may include top surface roughing, electrode head roughing, and base roughing; the processing technology implemented in the semi-finishing stage of the reference table may include: polishing the reference surface and polishing the side wall of the base, etc.; the processing technology implemented in the overall finishing stage may include: curved surface milling deburring, contour milling deburring and reference surface deburring, etc.

[0038] When a processing stage belongs to the first type of processing stage, the target processing strategy can be determined for the processing stage according to the electrode head feature information and the processing strategy configuration table.

[0039] For example, the second type of machining stages may include a secondary roughing stage performed after the roughing stage, an electrode tip semi-finishing stage, and the like.

[0040] Any machining strategy, such as the target machining strategy in the first machining phase or the fixed machining strategy in the second machining phase, includes a machining object, one or more machining processes to be performed on the machining object, and the machining tools required for each machining process. The machining object can be understood as the location to be machined.

[0041] The processing strategy configuration table includes numerical screening intervals for different characteristic parameters. The numerical screening intervals can be understood as numerical ranges. Multiple numerical screening intervals can be set for each type of characteristic parameter in the processing strategy configuration table. Each numerical screening interval corresponds to a group of processing processes, and each group of processing processes includes at least one processing process; each processing process corresponds to the processing tool required for the processing process.

[0042] In one example, the processing strategy configuration table can be pre-set by engineering personnel based on actual processing experience.

[0043] S104, generating a machining program according to all machining strategies determined for the electrode to be machined; wherein all machining strategies include target machining strategies and preset fixed machining strategies for the second machining stage.

[0044] For example, the server may determine, based on the processing strategy of each processing stage, cutting parameters (such as cutting speed, feed rate, cutting depth, etc.) and processing paths that are adapted to the processing strategy.

[0045] For example, cutting parameters may be preset for each machining stage or each machining process involved in the machining strategy configuration table, so that the cutting parameters may be automatically configured for the machining strategy when a machining program is generated.

[0046] Call software with computer-aided manufacturing functions (such as CAM software), and use the built-in algorithm of the software to calculate and generate the motion trajectory of the tool on the workpiece, that is, the processing path, according to the selected processing strategy and set cutting parameters.

[0047] After the machining path is generated, the machining path information is converted into a NC code format that can be recognized by a specific NC machine tool to generate the final machining program.

[0048] In one example, the machining program can be directly transmitted to a control system of a CNC machine tool, so that the control system controls the CNC machine tool to machine the workpiece based on the machining program to obtain an electrode of a desired shape.

[0049] In summary, the embodiment of the present application proposes a method for generating a processing program for an electrode. The method presets a fixed processing strategy for the second type of processing stage in which the processing strategy can be fixed, and sets a processing strategy configuration table for the first type of processing stage in which the processing strategy cannot be fixed. When determining the processing strategy for the electrode to be processed, the processing strategy for the second type of processing stage can be directly determined, and the target processing strategy can be determined for each stage in the first type of processing stage based on the electrode head feature information and the processing strategy configuration table. In these processing strategies, the processing object, the processing technology that requires real-time processing of the processing object, and the processing tools required for each processing technology are characterized. The present application splits the electrode processing process into processing stages in which the processing strategy can be fixed and processing stages in which the processing strategy cannot be fixed; through the processing strategy configuration table, according to the actual characteristics of the electrode head, for the processing stage in which the processing strategy cannot be fixed, a processing strategy that can cope with the electrode head characteristics is flexibly selected, thereby determining an effective and executable processing strategy for the electrode to be processed. Based on these processing strategies, the various parameters involved in the processing program are determined, so that the determined processing program can safely and effectively cope with the electrode processing task. This process can be achieved automatically, eliminating the need for large amounts of labor costs to correct or revise parameters, and reducing the degree of dependence of the machining program acquisition process on human intervention.

[0050] In one embodiment, the characteristic parameters of the electrode head may include but are not limited to the steep area of ​​the electrode head, the shallow area, the minimum inner corner radius of the steep area, the minimum inner corner radius of the shallow area and the minimum distance between corresponding islands of different electrode heads.

[0051] Among them, the electrode head can be understood through the following examples: In the field of electrospark machining, electrodes are used to process workpieces. The electrode and the workpiece serve as the two poles of the discharge circuit respectively. One end of the electrode is close to the workpiece. When the pulse voltage applied between the two poles reaches certain conditions, a discharge phenomenon will occur. The workpiece material near the electrode melts and vaporizes under the high temperature generated by the discharge, and then these melted and vaporized substances are taken away by the flushing and chip removal of the working fluid. This process is repeated so that the workpiece material is gradually removed according to the shape of the electrode, and finally a cavity and contour corresponding to the shape of the electrode are processed.

[0052] In this example, the end of the electrode that contacts the workpiece for discharge is the electrode head. In addition to the electrode head, the electrode can also include a reference platform, which is used to cooperate with the machine tool fixture to achieve accurate clamping and positioning of the electrode. Figure 2 As shown, Figure 2 The electrode head is located above the middle base. Figure 2 This is only an exemplary illustration of the electrodes and does not limit the number, shape, shape of the reference platform and other features of the electrode heads.

[0053] The island corresponding to the electrode head refers to the part of the electrode model that is surrounded by excess material during the electrode processing and needs to be retained as the electrode head. Figure 3 As shown, each electrode corresponds to an island.

[0054] The shallow area refers to the area where the angle between the surface normal and the preset coordinate axis is less than the preset angle; wherein the preset coordinate axis can be a coordinate axis perpendicular to the reference platform, such as Figure 3 The ZC axis in the coordinate system shown in .

[0055] The steep area refers to an area where the angle between the surface normal and the preset coordinate axis is greater than or equal to the preset angle.

[0056] For example, the angle between the surface normal and the ZC axis is less than 35 degrees, which is a shallow area, and vice versa, which is a steep area. It should be noted that the value of the preset angle can be set as needed and is not limited in this application.

[0057] like Figure 3 As shown in the figure, by judging the angle between the surface normal of each area on the island and the ZC axis, the steep area and the shallow area can be determined.

[0058] The minimum inner corner radius can also be understood as the minimum inner R angle, which can be used to measure the degree of curvature of an object. Specifically, it refers to the minimum arc radius formed by the inner edge of the electrode.

[0059] The minimum inner corner radius of the shallow area refers to the inner corner radius of the position with the largest curvature in the shallow area.

[0060] The minimum inner corner radius of a steep area refers to the inner corner radius of the position with the largest curvature in the steep area.

[0061] In one embodiment, the second type of processing stage may include a roughing stage, which can be understood as preliminary rough processing of the electrode blank or the electrode workpiece to be processed to remove surface impurities, irregular parts, excess materials, etc.

[0062] When a roughing stage is set in the second type of machining phase and a secondary roughing stage is set in the first type of machining phase, the target machining strategy for the secondary roughing stage can be determined through the following process: like Figure 4 As shown, the above step S103 of "determining the processing strategy of the first processing stage according to the electrode head characteristic information and the processing strategy configuration table" may include the following steps: S401 , determining the minimum value of the minimum inner corner radius of the steep area and the minimum inner corner radius of the shallow area.

[0063] For example, if the minimum inner corner radius of the shallow area is 0.69 mm and the minimum inner corner radius of the steep area is 0.78 mm, the determined minimum value is 0.69 mm.

[0064] S402 , determining whether the electrode tip needs secondary roughening based on the minimum value, the minimum distance, and the diameter of the machining tool used in the roughening stage.

[0065] For example, based on the minimum value, minimum distance and diameter of the machining tool used in the roughing stage, it is determined whether the machining in the roughing stage can cover all the machining surfaces. If not, it is confirmed that the electrode head needs secondary roughing. If it can cover all the machining surfaces, it is confirmed that the electrode head does not need secondary roughing.

[0066] For example, if the tool used in the roughing stage is D10 and its tool diameter is 10mm, the following method can be used to determine whether a second roughing is required: When the minimum distance>10mm, and the minimum If the diameter is >10mm, it is confirmed that the tool D10 can completely process the electrode tip and no secondary roughing is required.

[0067] When the minimum distance is less than 10 mm, and the minimum If the minimum distance is >10mm, it is confirmed that tool D10 cannot completely process the electrode head and secondary roughing is required; and the target processing strategy for the secondary roughing stage can be determined based on the minimum distance.

[0068] When the minimum distance>10mm, and the minimum If the minimum value is less than 10 mm, it is confirmed that the tool D10 cannot completely process the electrode head and secondary roughing is required. The target processing strategy for the secondary roughing stage can be determined based on the above minimum value.

[0069] When the minimum distance is less than 10 mm, and the minimum If the tool is less than 10mm, it is confirmed that the electrode tip cannot be fully machined by tool D10 and needs to be roughened twice, and the minimum value can be used. The parameter with the smallest value between the minimum distance and the target machining strategy in the secondary roughing stage is determined.

[0070] For example, if the tool used in the roughing stage is D10, the minimum inner corner radius between the shallow area and the steep area is 0.69 mm, and the minimum distance between the islands is 0.90 mm, Figure 5 As shown in the figure, the radius of tool D10 exceeds the minimum inner corner radius on the electrode head. Therefore, the electrode head cannot be completely processed using tool D10, and there will be residual allowance that has not been processed. A tool with a smaller radius is needed to perform secondary roughing on the electrode head, and the target processing strategy for the secondary roughing stage can be determined based on the minimum inner corner radius of 0.69 mm.

[0071] It should be noted that the above example is only an example for determining whether secondary roughening is required, and is not a limitation on the determination method.

[0072] S403: If secondary roughening is required, the numerical values ​​of twice the minimum value and the minimum distance are determined.

[0073] S404: When the double value of the minimum value is less than the minimum distance, search the first processing strategy configuration table according to the minimum value to determine the first numerical screening interval in which the minimum value is located; wherein the first processing strategy configuration table is a secondary roughing strategy configuration table corresponding to the minimum inner corner radius.

[0074] For example, the machining strategy configuration table can be divided into multiple sections based on the type of characteristic parameter. For example, the characteristic parameter involved in the first machining strategy configuration table is the minimum inner corner radius. For ease of distinction, the numerical range defined for the minimum inner corner radius is expressed as the first numerical screening interval.

[0075] After the judgment in the above step S403, when the double value of the minimum value is less than the minimum distance, the minimum inner corner radius represented by the minimum value (such as the minimum inner corner radius of a shallow area or the minimum inner corner radius of a steep area) is used to search the first processing strategy configuration table, and the first numerical screening interval in which the minimum value is located is determined from the first processing strategy configuration table.

[0076] S405 , determining the processing technology corresponding to the first numerical screening interval as the processing technology that needs to be performed on the electrode head in the secondary roughing stage.

[0077] For example, after determining the first numerical screening interval in which the minimum value is located, all processing techniques in the processing technique group corresponding to the first numerical screening interval may be determined as processing techniques that need to be performed on the electrode head in the secondary roughening stage.

[0078] Furthermore, the machining tools required for each machining process shown in the first machining strategy configuration table are used as the machining tools required for implementing the machining process in the secondary roughing stage.

[0079] S406, when the minimum distance is less than twice the minimum value, search the second processing strategy configuration table according to the minimum distance to determine the second numerical screening interval in which the minimum distance is located; wherein the second processing strategy configuration table is a secondary roughing strategy configuration table corresponding to the minimum distance.

[0080] For example, the characteristic parameter involved in the second processing strategy configuration table is the minimum distance between corresponding electrode islands. For ease of distinction, the numerical range divided by the minimum distance is expressed as the second numerical screening interval.

[0081] After the judgment in the above step S403, when the minimum distance is less than twice the minimum value, the second processing strategy configuration table is searched using the minimum distance, and the second value screening interval of the minimum distance is determined from the second processing strategy configuration table.

[0082] S407 , determining the processing technology corresponding to the second numerical screening interval as the processing technology that needs to be performed on the electrode head in the secondary roughening stage.

[0083] For example, after determining the second numerical screening interval in which the minimum distance is located, all the processing processes in the processing process group corresponding to the second numerical screening interval in the second processing strategy configuration table can be determined as the processing processes that need to be performed on the electrode head in the secondary roughing stage.

[0084] Furthermore, the machining tools configured for these machining processes in the second machining strategy configuration table are used as the machining tools required for implementing each machining process in the secondary roughing stage.

[0085] This embodiment analyzes and determines whether the roughing stage can achieve complete machining of the electrode head based on the diameter of the machining tool used in the roughing stage, the minimum inner corner radius of the steep area of ​​the electrode head, the minimum inner corner radius of the shallow area, and the minimum distance between islands. If not, it is determined that the electrode head portion needs to be subjected to secondary roughing. At the same time, based on the machining processes and machining tools configured for the minimum inner corner radius of different numerical ranges in the first machining strategy configuration table, and the machining processes and machining tools configured for the minimum distance of different numerical ranges in the second machining strategy configuration table, a machining process and machining tool that can be adapted to the electrode head characteristics of the electrode to be machined is determined for the secondary roughing stage to obtain a target machining strategy. Therefore, when a machining program is generated based on the determined target machining strategy, the programming parameters or machining parameters involved in the machining program can be adapted to the actual machining requirements of the electrode, thereby improving the effectiveness and feasibility of each parameter, thereby reducing the workload of manually adjusting parameters and reducing the dependence on manual intervention, thereby achieving flexible and intelligent configuration of the target machining strategy for the secondary roughing stage. Overall, the efficiency and accuracy of machining program generation are improved, manual intervention is reduced, and automated production is facilitated.

[0086] In one embodiment, when the electrode head does not require secondary roughening, the intermediate light processing process can be determined as the processing process that needs to be performed on the electrode head in the secondary roughening stage, and the preset processing tool of the intermediate light processing process can be used as the processing tool required for the processing process implemented in the secondary roughening stage.

[0087] For example, the medium-light processing technology can be iso-medium medium-light processing or other medium-light processing technology. The medium-light processing technology can be used to improve the surface quality of the electrode workpiece, reduce processing defects, and optimize the geometric accuracy of the workpiece.

[0088] Furthermore, machining strategy configuration information for when the electrode head does not require secondary roughing can also be added to the first machining strategy configuration table and the second machining strategy configuration table. For example, a mid-light machining process and the machining tools required for the mid-light machining process can be added to the first machining strategy configuration table and the second machining strategy configuration table for this situation.

[0089] In this way, when determining the target processing strategy for the secondary roughing stage, regardless of whether the electrode head needs secondary roughing, the processing technology and processing tools required to be implemented on the electrode head in the secondary roughing stage can be determined by looking up the first processing strategy configuration table or the second processing strategy configuration table.

[0090] For example, the first processing strategy configuration table may be shown in Table 1 below, and the second processing strategy configuration table may be shown in Table 2 below.

[0091] Table 1 First processing strategy configuration table As shown in Table 1, the first machining strategy configuration table sets four first numerical screening intervals corresponding to the minimum inner corner radius. Each first numerical screening interval corresponds to a machining process, and each machining process corresponds to a machining tool. It is worth noting that the division method of the first numerical screening intervals, the number of first numerical screening intervals, the machining process settings, and the machining tool settings shown in Table 1 are merely illustrative and do not limit the first machining strategy configuration table.

[0092] For example, when the minimum value between the minimum inner corner radius of the electrode to be processed in the shallow area and the minimum inner corner radius of the steep area is 0.90 mm, the minimum inner corner radius 0.90 mm represented by this minimum value can be used to look up the above Table 1. After looking up the table, it can be determined that the minimum inner corner radius of the shallow area is within the first numerical screening interval of "minimum value < 1 mm". Then the target processing strategy of the secondary roughing stage can be determined as follows: first use the D3 tool to perform secondary roughing on the electrode head part to quickly remove the excess residual allowance, such as Figure 6 As shown in the figure, the electrode head cannot be completely machined using the D3 tool with a diameter of 3 mm, and there is still a residual area. Therefore, after using the D3 tool to perform equal high-pressure polishing on the electrode head to improve the quality of the machined surface, the electrode head is repeatedly roughened using the D1 tool with a diameter of 1 mm, as shown in the figure. Figure 7 As shown, the D1 tool is able to fully machine the area with the smallest internal corner radius.

[0093] Table 2 Second processing strategy configuration table As shown in Table 2, the second machining strategy configuration table sets five second numerical screening intervals corresponding to the minimum island distance. Each second numerical screening interval corresponds to a machining process, and each machining process corresponds to a machining tool. It is worth noting that the division of the second numerical screening intervals, the number of second numerical screening intervals, the machining process settings, and the machining tool settings shown in Table 2 are merely illustrative and do not limit the second machining strategy configuration table.

[0094] For example, when the minimum island distance of the electrode to be processed is 0.90 mm, by looking up Table 2 above, it can be determined that the minimum island distance is within the second numerical screening range of "minimum island distance < 1 mm", then the target processing strategy for the secondary roughing stage can be determined as follows: first use the D3 tool to perform secondary roughing on the electrode head to quickly remove the excess residual allowance, and then Figure 8It can be seen that the tool D3 with a diameter of 3 mm failed to fully process the electrode head, and there is still a residual area between the two islands with the smallest distance. Therefore, after using the D3 tool to perform equal high-pressure roughing on the electrode head to improve the quality of the machined surface, the D0.8 tool with a diameter of 0.80 mm is used to repeat the secondary roughing of the electrode head, as shown in the figure. Figure 9 As shown, the D0.8 tool is able to fully machine the area between the two islands with the smallest distance.

[0095] It can be concluded from the above examples that in the embodiment of the present application, the processing technology and processing tools determined from the first processing strategy configuration table / the second processing strategy configuration table according to the characteristics of the electrode head can achieve complete processing of the electrode head including the narrow area in the secondary roughing stage, thereby ensuring the validity of each parameter in the generated processing program and reducing the workload of manual parameter adjustment.

[0096] In one embodiment, if the first type of machining stage includes an electrode tip contour milling stage, it is necessary to determine a target machining strategy without using the electrode tip contour milling stage.

[0097] Among them, the electrode head contour milling stage refers to the process of contour milling of the electrode head, which is used to remove excess material on the electrode blank.

[0098] The electrode tip contour milling process can be set after the secondary roughing process, and the electrode tip portion of the electrode workpiece that has completed the secondary roughing process is contour milled to remove excess material such as residue on the electrode tip.

[0099] Alternatively, the electrode tip contour milling process can also be set in the roughing process before the secondary roughing process. This application does not impose any restrictions.

[0100] like Figure 10 As shown, the above step S103 of "determining the target machining strategy for the first machining stage according to the electrode head feature information and the machining strategy configuration table" may include the following steps of determining the target machining strategy for the electrode head contour machining stage: S1001, according to the area of ​​the shallow area, search the third processing strategy configuration table to determine the third numerical screening interval in which the area of ​​the shallow area is located; wherein the third processing strategy configuration table is a contour milling strategy configuration table corresponding to the area of ​​the shallow area.

[0101] For example, the characteristic parameter in the third machining strategy configuration table is the area of ​​the shallows region. For ease of distinction, the numerical range defined for the shallows region is expressed as a third numerical screening interval. The third machining strategy configuration table is used to provide selectable machining strategies for contour milling in the shallows region.

[0102] The area of ​​the shallow area of ​​the electrode to be processed is used to search the third processing strategy configuration table, and the third numerical screening interval in which the area of ​​the shallow area is located is determined from multiple third numerical screening intervals in the third processing strategy configuration table; each processing process in the processing process group corresponding to the third numerical screening interval in the third processing strategy configuration table is used as the processing process corresponding to the third numerical screening interval.

[0103] S1002 , using the processing technology corresponding to the third numerical screening interval as the processing technology that needs to be implemented on the shallow area during the electrode tip contour milling processing stage.

[0104] For example, the processing technology corresponding to the third numerical screening interval determined in the above step S1001 is used as the processing technology that needs to be implemented on the shallow area during the electrode head contour milling processing stage; and the processing tools set for each processing technology in the third processing strategy configuration table are used as the processing tools required for implementing the processing technology.

[0105] S1003 , searching a fourth machining strategy configuration table based on the area of ​​the steep region to determine a fourth numerical screening interval in which the area of ​​the steep region is located; wherein the fourth machining strategy configuration table is a contour milling strategy configuration table corresponding to the area of ​​the steep region.

[0106] For example, the characteristic parameter in the fourth machining strategy configuration table is the area of ​​the steep region. For ease of distinction, the numerical range defined for the area of ​​the steep region is expressed as the fourth numerical screening interval. The fourth machining strategy configuration table is used to provide optional machining strategies for contour milling in steep regions.

[0107] The fourth processing strategy configuration table is searched using the area of ​​the steep region of the electrode to be processed, and the fourth numerical screening interval in which the area of ​​the steep region is located is determined from multiple fourth numerical screening intervals in the fourth processing strategy configuration table; in the fourth processing strategy configuration table, each processing process in the processing process group corresponding to the fourth numerical screening interval is used as the processing process corresponding to the fourth numerical screening interval.

[0108] S1004: Using the processing technology corresponding to the fourth numerical screening interval as the processing technology that needs to be implemented on the steep area during the electrode tip contour milling processing stage.

[0109] For example, the processing technology corresponding to the fourth numerical screening interval determined in the above step S1003 is used as the processing technology that needs to be implemented on the steep area in the electrode head contour milling processing stage; and the processing tools set for each processing technology in the fourth processing strategy configuration table are used as the processing tools required for implementing the processing technology.

[0110] For example, the third processing strategy configuration table may be shown in Table 3 below, and the fourth processing strategy configuration table may be shown in Table 4 below.

[0111] Table 3 The third processing strategy configuration table As shown in Table 3, the third machining strategy configuration table sets five third numerical screening intervals corresponding to the shallow area. Each third numerical screening interval corresponds to a machining process, and each machining process corresponds to a machining tool. It is worth noting that the division of the third numerical screening intervals, the number of third numerical screening intervals, the machining process settings, and the machining tool equipment shown in Table 3 are merely illustrative and do not limit the third machining strategy configuration table.

[0112] For example, if the shallow area of ​​the electrode to be processed is larger than 3000mm 2 When the electrode head contour milling process is in progress, the R3 ball cutter is used to perform regional contour milling on the shallow area. The specific processing technology implemented is: firstly perform parallel middle light processing on the shallow area, and then perform curved milling top surface processing on the shallow area.

[0113] Table 4 Configuration table of the fourth processing strategy As shown in Table 4, the fourth machining strategy configuration table sets five fourth numerical screening intervals corresponding to the steep area. Each fourth numerical screening interval corresponds to a machining process, and each machining process corresponds to a machining tool. It is worth noting that the division of the fourth numerical screening intervals, the number of fourth numerical screening intervals, the machining process settings, and the machining tool equipment shown in Table 4 are merely illustrative and do not limit the fourth machining strategy configuration table.

[0114] For example, if the steep area of ​​the electrode to be processed is 1500mm 2 ≤Area<3000mm 2 When the value is within the range of , the D4 round nose cutter can be used to perform deep profile milling on the steep area during the electrode head profile milling process, wherein the specific processing technology implemented can be: performing contour milling on the steep area.

[0115] During the electrode tip contour milling stage, this embodiment selects machining tools of different sizes from the third machining strategy configuration table based on the area of ​​the shallow region of the electrode to be machined. Simultaneously, different machining tools of different sizes are selected from the fourth machining strategy configuration table based on the area of ​​the steep region of the electrode to be machined. The larger the area, the larger the size of the selected machining tool. This improves machining efficiency during contour milling. Furthermore, this embodiment sets different types of contour milling processes for shallow and steep regions with different structural characteristics, thereby ensuring the feasibility of the determined target machining strategy and, in turn, the feasibility of the machining program generated based on the target machining strategy, reducing the probability of manual readjustment of machining program parameters.

[0116] In one embodiment, when the first type of machining stage includes an electrode tip root cleaning and milling machining stage, it is necessary to determine a target machining strategy for the electrode tip root cleaning and milling machining stage.

[0117] Among them, the electrode head root milling processing stage can be understood as: the process of fine-machining the local part of the electrode head, and removing residual waste from specific areas such as corners and grooves that have not been processed or not fully processed in the previous process.

[0118] like Figure 11 As shown, the above step S103 of "determining the target machining strategy for the first machining stage according to the electrode head characteristic information and the machining strategy configuration table" may include the following steps of determining the target machining strategy for the electrode head root cleaning and milling machining stage: S1101, according to the minimum inner corner radius of the shallow area, search the fifth processing strategy configuration table to determine the fifth numerical screening interval in which the minimum inner corner radius of the shallow area is located; wherein the fifth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner corner radius of the shallow area.

[0119] For example, the characteristic parameter in the fifth machining strategy configuration table is the minimum inner corner radius of the shallow area. For ease of distinction, the numerical range defined for the minimum inner corner radius of the shallow area is expressed as the fifth numerical screening interval. The fifth machining strategy configuration table is used to provide selectable machining strategies for root milling in the shallow area.

[0120] The minimum inner corner radius of the shallow area of ​​the electrode to be processed is used to search the fifth processing strategy configuration table, and the fifth numerical screening interval in which the minimum inner corner radius is located is determined from multiple fifth numerical screening intervals in the fifth processing strategy configuration table; each processing process in the processing process group corresponding to the fifth numerical screening interval in the fifth processing strategy configuration table is used as the processing process corresponding to the fifth numerical screening interval.

[0121] S1102 , using the processing technology corresponding to the fifth numerical screening interval as the processing technology that needs to be performed on the shallow area during the electrode tip root milling processing stage.

[0122] For example, the processing technology corresponding to the fifth numerical screening interval determined in the above step S1101 is used as the processing technology that needs to be implemented on the shallow area during the electrode head root milling processing stage; and the processing tools set for each processing technology in the fifth processing strategy configuration table are used as the processing tools required for implementing the processing technology.

[0123] S1103, according to the minimum inner corner radius of the steep area, search the sixth machining strategy configuration table to determine the sixth numerical screening interval in which the minimum inner corner radius of the steep area is located; wherein the sixth machining strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner corner radius of the steep area.

[0124] For example, the characteristic parameter in the sixth machining strategy configuration table is the minimum inner corner radius of steep areas. For ease of distinction, the numerical range defined for the minimum inner corner radius of steep areas is expressed as the sixth numerical screening interval. The sixth machining strategy configuration table is used to provide optional machining strategies for root milling in steep areas.

[0125] The minimum inner angle radius of the steep area of ​​the electrode to be processed is used to search the sixth processing strategy configuration table, and the sixth numerical screening interval in which the minimum inner angle radius of the steep area is located is determined from multiple sixth numerical screening intervals in the sixth processing strategy configuration table; in the sixth processing strategy configuration table, each processing process in the processing process group corresponding to the sixth numerical screening interval is used as the processing process corresponding to the sixth numerical screening interval.

[0126] S1104 , using the processing technology corresponding to the sixth numerical screening interval as the processing technology that needs to be performed on the steep area during the electrode tip root milling stage.

[0127] For example, the processing technology corresponding to the sixth numerical screening interval determined in the above step S1103 is used as the processing technology that needs to be implemented on the steep area during the electrode head root milling processing stage; and the processing tools set for each processing technology in the sixth processing strategy configuration table are used as the processing tools required for implementing the processing technology.

[0128] For example, the fifth processing strategy configuration table may be shown in Table 5 below, and the sixth processing strategy configuration table may be shown in Table 6 below.

[0129] Table 5 Fifth processing strategy configuration table As shown in Table 5, the fifth machining strategy configuration table sets four fifth numerical screening intervals corresponding to the minimum inner corner radius of the shallow area. Each fifth numerical screening interval corresponds to a machining process, and each machining process corresponds to a machining tool. It is worth noting that the division of the fifth numerical screening intervals, the number of fifth numerical screening intervals, the machining process settings, and the machining tool settings shown in Table 5 are merely illustrative and do not limit the fifth machining strategy configuration table.

[0130] For example, if the minimum inner corner radius of the electrode to be processed in the shallow area is 0.69mm, in the electrode head root milling stage, the minimum inner corner radius of the shallow area of ​​0.69mm can be used to look up Table 5. After looking up the table, it can be determined that the fifth numerical screening interval of the minimum inner corner radius of the shallow area is 0.5mm. If the minimum inner corner radius is <1mm, then during the electrode head root milling stage, an R1.5 ball cutter can be used to perform root milling on the shallow area to quickly remove the residual allowance, and specifically, curved surface corner cleaning can be performed; since the radius of the R1.5 ball cutter is larger than the minimum inner corner radius of the shallow area, the R1.5 ball cutter cannot enter the narrow area for processing, so a smaller tool (such as an R0.5 ball cutter) is required for root milling, that is, the R0.5 ball cutter is used to repeat the curved surface corner cleaning.

[0131] Table 6 Sixth processing strategy configuration table As shown in Table 6, the sixth machining strategy configuration table includes four sixth numerical screening intervals corresponding to the minimum inner corner radius of the steep area. Each sixth numerical screening interval corresponds to a machining process, and each machining process corresponds to a machining tool. It is worth noting that the division of the sixth numerical screening intervals, the number of sixth numerical screening intervals, the machining process settings, and the machining tool settings shown in Table 6 are merely illustrative and do not limit the sixth machining strategy configuration table.

[0132] For example, if the minimum inner corner radius of the electrode to be processed in the steep area is 0.78mm, after contour milling of the steep area (such as using a D4 tool for contour milling side processing), since the radius of the D4 tool is greater than the minimum inner corner radius of the steep area, the D4 tool cannot enter the narrow area for processing, so further root milling is required in the steep area.

[0133] During the electrode head root milling stage, the minimum inner corner radius of the steep area of ​​0.78mm can be used to look up Table 6. After looking up the table, it is determined that the sixth numerical screening interval of the minimum inner corner radius of the steep area is 0.5mm≤minimum inner corner radius<1mm. Therefore, during the electrode head root milling stage, the D2 round nose tool can be used to perform deep contour milling on the steep area (such as implementing a constant high definition angle processing process) to quickly remove the residual allowance, and then the D1 tool can be used to repeat the constant high definition angle to achieve complete root milling of the steep area.

[0134] Preferably, whether the steep area of ​​the electrode to be processed requires root milling can be determined based on the contour milling tool determined for the steep area during the electrode tip contour milling stage and the minimum inner corner radius of the steep area; and whether the shallow area of ​​the electrode to be processed requires root milling can be determined based on the contour milling tool determined for the shallow area during the electrode tip contour milling stage and the minimum inner corner radius of the shallow area. If the steep area of ​​the electrode to be processed requires root milling and / or the shallow area requires root milling, an electrode tip root milling stage is added to the electrode to be processed, and in this stage, the processing technology and processing tool to be implemented for the steep area are determined as needed; and / or in this stage, the processing technology and processing tool to be implemented for the shallow area are determined as needed.

[0135] In this embodiment, the machining tools and machining processes are selected based on the minimum inner angle radius of the steep area of ​​the electrode head for root milling of the steep area, and / or the machining tools and machining processes are selected based on the minimum inner angle radius of the shallow area of ​​the electrode head for root milling of the shallow area, so that when root milling is performed on areas with different structural features on the electrode head (such as steep areas with a larger angle between the regional surface normal and the reference table surface normal, and shallow areas with a smaller angle between the regional surface normal and the reference table surface normal), different types of machining processes are configured for areas with different structural features, and the machining tools are determined in combination with the maximum degree of bending in the area, so as to ensure that the configured machining processes and machining tools can complete the root milling of the area, and then ensure the feasibility and effectiveness of the machining program determined according to these machining processes and machining tools, reduce the probability of adjusting the machining program parameters, and thus reduce the degree of dependence on manual intervention.

[0136] In some embodiments, if there are processing objects involved in the first processing stage for which a processing technology and a processing tool have not yet been determined, the processing technology and a processing tool may be determined for the processing object through the following process: The processing strategy configuration task of the processing object is sent to the preset terminal, so that the user can configure the processing technology that needs to be implemented in the first type of processing stage and the processing tools required for the processing technology for the processing object through the preset terminal.

[0137] For example, after determining the target machining strategy for the first machining phase in step S103, a machining path can be generated based on the target machining strategy and simulated machining can be performed. This allows the tool's motion on the workpiece and the final machining results to be captured, thereby verifying the rationality and feasibility of the configured target machining strategy. If the machining path results in tool interference with the workpiece, inability to effectively remove stock, or substandard machining accuracy, the machining object involved in this situation can be considered the "machining object for which the machining process and tool have not yet been determined."

[0138] Alternatively, a special electrode processing position for which the server cannot automatically match a processing technology and a processing tool is regarded as the above-mentioned "processing object for which a processing technology and a processing tool have not been determined".

[0139] The server can create a new machining strategy configuration task for the machining object whose machining process and machining tool have not been determined, and issue the task to a designated CAM engineer. The engineer can perform CAM design based on experience and re-upload the machining process and machining tool configured for the machining object to the server.

[0140] Furthermore, the machining strategy configuration table can be updated according to the machining process and machining tools configured by the engineer for the machining object.

[0141] For example, the processing object is simulated using the processing technology and processing tools submitted by the engineer. After the simulation is successful, the feature information involved in the processing object, the processing technology and processing tools configured for the processing object are included in the server system as case data to improve the intelligent electrode processing database.

[0142] Preferably, when there are more than or equal to 3 similar case data, the server can automatically determine the processing technology and processing tools required for the processing object with certain characteristic information in the first type of processing stage based on these similar case data, and update the determined processing technology and processing tools to the processing strategy configuration table corresponding to the characteristic information.

[0143] This embodiment improves the target processing strategy determination process of the first type of processing stage. While relying on manual configuration of processing strategies for processing objects whose processing processes and processing tools have not been automatically determined, it further optimizes the processing strategy configuration table based on manual configuration information to continuously improve the processing strategy configuration table, thereby enhancing the processing program generation method proposed in the embodiment of this application's ability to cope with processing objects with different characteristics.

[0144] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean 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 the present invention.

[0145] In one embodiment, a device for generating a processing program for an electrode is provided, and the device for generating a processing program for an electrode corresponds one-to-one to the conversion method in the above embodiment. Figure 12 As shown, the electrode processing program generation device 1200 includes: an acquisition module 1201, an analysis module 1202, a processing strategy determination module 1203 and a program generation module 1204.

[0146] The acquisition module 1201 is used to acquire a drawing file that can represent the three-dimensional model of the electrode to be processed.

[0147] The parsing module 1202 is used to parse the electrode head feature information of the electrode to be processed from the drawing file.

[0148] The processing strategy determination module 1203 is used to determine the target processing strategy of the first type of processing stage for which there is no preset fixed processing strategy based on the electrode head characteristic information and the processing strategy configuration table; the target processing strategy includes the processing object, the processing process that needs to be implemented on the processing object, and the processing tools required for the processing process; the processing strategy configuration table includes the numerical screening intervals of different characteristic parameters in the electrode head characteristic information, the processing process corresponding to each numerical screening interval, and the processing tools required for each processing process.

[0149] The program generation module 1204 is used to generate a machining program according to all machining strategies determined for the electrode to be machined; wherein, all machining strategies include the target machining strategy and the preset fixed machining strategy of the second type of machining stage.

[0150] In some embodiments, the characteristic parameters of the electrode head include the area of ​​the steep region of the electrode head, the area of ​​the shallow region, the minimum inner corner radius of the steep region, the minimum inner corner radius of the shallow region and the minimum distance between the corresponding islands of different electrode heads; wherein, the shallow region is the region where the angle between the surface normal and the preset coordinate axis is less than the preset angle; the steep region is the region where the angle between the surface normal and the preset coordinate axis is greater than or equal to the preset angle; the preset coordinate axis is the coordinate axis of the base platform perpendicular to the electrode to be processed.

[0151] In some embodiments, the first type of processing stage includes a secondary roughing stage; the second type of processing stage includes a roughing stage; the processing strategy configuration table includes a first processing strategy configuration table and a second processing strategy configuration table; the processing strategy determination module is used to: determine the minimum value of the minimum inner corner radius of the steep area and the minimum inner corner radius of the shallow area; determine whether the electrode head needs secondary roughing according to the minimum value, the minimum distance and the diameter of the processing tool used in the roughing stage; if secondary roughing is required, determine the numerical value of the double of the minimum value and the minimum distance; when the double of the minimum value is less than the minimum distance, find the first processing strategy according to the minimum value strategy configuration table to determine the first numerical screening interval in which the minimum value is located; wherein the first processing strategy configuration table is the secondary roughing strategy configuration table corresponding to the minimum inner angle radius; the processing technology corresponding to the first numerical screening interval is determined as the processing technology that needs to be implemented on the electrode head in the secondary roughing stage; when the minimum distance is less than twice the minimum value, the second processing strategy configuration table is searched according to the minimum distance to determine the second numerical screening interval in which the minimum distance is located; wherein the second processing strategy configuration table is the secondary roughing strategy configuration table corresponding to the minimum distance; the processing technology corresponding to the second numerical screening interval is determined as the processing technology that needs to be implemented on the electrode head in the secondary roughing stage.

[0152] In some embodiments, the processing strategy determination module is used to: if secondary roughing is not required, determine the intermediate light processing process as the processing process that needs to be performed on the electrode head in the secondary roughing stage, and use the preset processing tool of the intermediate light processing process as the processing tool required for the processing process.

[0153] In some embodiments, the first type of processing stage includes the electrode head contour milling processing stage; the processing strategy configuration table includes a third processing strategy configuration table and a fourth processing strategy configuration table; the processing strategy determination module is used to: according to the area of ​​the shallow area, search the third processing strategy configuration table to determine the third numerical screening interval of the shallow area area; wherein the third processing strategy configuration table is the contour milling strategy configuration table corresponding to the shallow area area; the processing technology corresponding to the third numerical screening interval is used as the processing technology that needs to be implemented on the shallow area in the electrode head contour milling processing stage; according to the area of ​​the steep area, search the fourth processing strategy configuration table to determine the fourth numerical screening interval of the steep area area; wherein the fourth processing strategy configuration table is the contour milling strategy configuration table corresponding to the steep area; the processing technology corresponding to the fourth numerical screening interval is used as the processing technology that needs to be implemented on the steep area in the electrode head contour milling processing stage.

[0154] In some embodiments, the first type of processing stage includes an electrode head root milling processing stage; the processing strategy configuration table includes a fifth processing strategy configuration table and a sixth processing strategy configuration table; the processing strategy determination module is used to: according to the minimum inner angle radius of the shallow area, search the fifth processing strategy configuration table to determine the fifth numerical screening interval where the minimum inner angle radius of the shallow area is located; wherein the fifth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner angle radius of the shallow area; the processing technology corresponding to the fifth numerical screening interval is used as the processing technology that needs to be implemented on the shallow area in the electrode head root milling processing stage; according to the minimum inner angle radius of the steep area, search the sixth processing strategy configuration table to determine the sixth numerical screening interval where the minimum inner angle radius of the steep area is located; wherein the sixth processing strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner angle radius of the steep area; the processing technology corresponding to the sixth numerical screening interval is used as the processing technology that needs to be implemented on the steep area in the electrode head root milling processing stage.

[0155] In some embodiments, the processing strategy determination module is used to: if there are processing objects in the first type of processing stage for which the processing technology and processing tools have not been determined, the processing strategy configuration task of the processing object is sent to a preset terminal, so that the user can configure the processing technology that needs to be implemented in the first type of processing stage and the processing tools required for the processing technology for the processing object through the preset terminal; and update the processing strategy configuration table according to the processing technology and processing tools configured by the user for the processing object.

[0156] In summary, the electrode processing program generation device proposed in the embodiment of the present application presets a fixed processing strategy for the second type of processing stage in which the processing strategy can be fixed, and sets a processing strategy configuration table for the first type of processing stage in which the processing strategy cannot be fixed. When determining the processing strategy for the electrode to be processed, the processing strategy of the second type of processing stage can be directly determined, and the target processing strategy can be determined for each stage in the first type of processing stage based on the electrode head feature information and the processing strategy configuration table. In these processing strategies, the processing object, the real-time processing technology required for the processing object, and the processing tools required for each processing technology are characterized. The present application splits the electrode processing process into processing stages in which the processing strategy can be fixed and processing stages in which the processing strategy cannot be fixed; through the processing strategy configuration table, according to the actual characteristics of the electrode head, for the processing stage in which the processing strategy cannot be fixed, a processing strategy that can cope with the electrode head characteristics is flexibly selected, thereby determining an effective and executable processing strategy for the electrode to be processed. Based on these processing strategies, the various parameters involved in the processing program are determined, so that the determined processing program can safely and effectively cope with the electrode processing task. This process can be achieved automatically, eliminating the need for large amounts of labor costs to correct or revise parameters, and reducing the degree of dependence of the machining program acquisition process on human intervention.

[0157] The specific definition of the electrode processing program generation device can be found in the definition of the electrode processing program generation method above, and will not be repeated here. The various modules in the above-mentioned electrode processing program generation device can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0158] In one embodiment, Figure 13 As shown, an electronic device is provided, including: a memory 1301, a processor 1302, and a computer program stored in the memory 1301 and executable on the processor 1302. When the processor 1302 executes the computer program, a method for generating a processing program for an electrode as in any of the above embodiments is implemented.

[0159] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the file conversion method in the above embodiment is implemented, for example, S101-S104 shown in the figure, or Figure 4 、 Figure 10 、 Figure 11 Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the embodiment of the above-mentioned file conversion device are realized, for example, Figure 12The functions of the modules shown are not described here in detail to avoid repetition. The computer-readable storage medium may be non-volatile or volatile.

[0160] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0161] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by 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.

[0162] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A method for generating a machining program for an electrode, characterized in that: The method comprises: Obtaining a drawing file that can represent the three-dimensional model of the electrode to be processed; Analyzing the electrode head feature information of the electrode to be processed from the drawing file; For a first type of processing stage for which no preset fixed processing strategy exists, a target processing strategy for the first type of processing stage is determined based on the electrode head characteristic information and a processing strategy configuration table; the target processing strategy includes a processing object, a processing process to be performed on the processing object, and a processing tool required for the processing process; the processing strategy configuration table includes numerical screening intervals for different characteristic parameters in the electrode head characteristic information, the processing processes corresponding to each numerical screening interval, and the processing tools required for each processing process; A machining program is generated according to all machining strategies determined for the electrode to be machined; wherein, all machining strategies include the target machining strategy and a preset fixed machining strategy for the second type of machining stage.

2. The method according to claim 1, characterized in that The characteristic parameters of the electrode head include the area of ​​the steep region, the area of ​​the shallow region, the minimum inner corner radius of the steep region, the minimum inner corner radius of the shallow region, and the minimum distance between islands corresponding to different electrode heads; The shallow area is an area where the angle between the surface normal and the preset coordinate axis is less than a preset angle; The steep area is an area where the angle between the surface normal and the preset coordinate axis is greater than or equal to the preset angle; The preset coordinate axis is a coordinate axis perpendicular to the reference platform of the electrode to be processed.

3. The method according to claim 2, characterized in that The first type of processing stage includes a secondary roughing stage; the second type of processing stage includes a roughing stage; the processing strategy configuration table includes a first processing strategy configuration table and a second processing strategy configuration table; and determining a target processing strategy for the first type of processing stage based on the electrode head feature information and the processing strategy configuration table includes: determining a minimum value of a minimum inner corner radius of the steep area and a minimum inner corner radius of the shallow area; determining whether the electrode tip requires secondary roughing according to the minimum value, the minimum distance, and the diameter of a machining tool used in the roughing stage; If secondary roughening is required, the numerical values ​​of twice the minimum value and the minimum distance are determined; When the double value of the minimum value is less than the minimum distance, searching the first machining strategy configuration table according to the minimum value to determine the first numerical screening interval in which the minimum value is located; wherein the first machining strategy configuration table is a secondary roughing strategy configuration table corresponding to the minimum inner corner radius; determining the processing technology corresponding to the first numerical screening interval as the processing technology to be performed on the electrode head in the secondary roughing stage; When the minimum distance is less than twice the minimum value, searching the second machining strategy configuration table according to the minimum distance to determine the second numerical screening interval in which the minimum distance is located; wherein the second machining strategy configuration table is a secondary roughing strategy configuration table corresponding to the minimum distance; The processing technology corresponding to the second numerical screening interval is determined as the processing technology that needs to be performed on the electrode head in the secondary roughening stage.

4. The method according to claim 3, characterized in that The method further comprises: If secondary roughing is not required, the intermediate light processing technology is determined as the processing technology that needs to be performed on the electrode head in the secondary roughing stage, and the preset processing tool of the intermediate light processing technology is used as the processing tool required for the processing technology.

5. The method according to claim 2, characterized in that The first type of processing stage includes an electrode head contour milling processing stage; the processing strategy configuration table includes a third processing strategy configuration table and a fourth processing strategy configuration table; and determining a target processing strategy for the first type of processing stage according to the electrode head feature information and the processing strategy configuration table includes: According to the area of ​​the shallow area, searching the third processing strategy configuration table to determine the third numerical screening interval in which the area of ​​the shallow area is located; wherein the third processing strategy configuration table is a contour milling strategy configuration table corresponding to the area of ​​the shallow area; The processing technology corresponding to the third numerical screening interval is used as the processing technology to be performed on the shallow area during the electrode tip contour milling processing stage; According to the area of ​​the steep region, searching the fourth machining strategy configuration table to determine the fourth numerical screening interval in which the area of ​​the steep region is located; wherein the fourth machining strategy configuration table is a contour milling strategy configuration table corresponding to the area of ​​the steep region; The processing technology corresponding to the fourth numerical value screening interval is used as the processing technology that needs to be implemented on the steep area during the electrode head contour milling processing stage.

6. The method according to claim 2, characterized in that The first type of processing stage includes an electrode head root cleaning and milling processing stage; the processing strategy configuration table includes a fifth processing strategy configuration table and a sixth processing strategy configuration table; and determining a target processing strategy for the first type of processing stage according to the electrode head feature information and the processing strategy configuration table includes: According to the minimum inner corner radius of the shallow area, searching the fifth machining strategy configuration table to determine a fifth numerical screening interval in which the minimum inner corner radius of the shallow area lies; wherein the fifth machining strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner corner radius of the shallow area; The processing technology corresponding to the fifth numerical screening interval is used as the processing technology to be performed on the shallow area during the electrode tip root milling processing stage; According to the minimum inner corner radius of the steep area, searching the sixth machining strategy configuration table to determine a sixth numerical screening interval in which the minimum inner corner radius of the steep area is located; wherein the sixth machining strategy configuration table is a root milling strategy configuration table corresponding to the minimum inner corner radius of the steep area; The processing technology corresponding to the sixth numerical screening interval is used as the processing technology that needs to be implemented on the steep area during the electrode tip root milling stage.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: If there are any processing objects involved in the first processing stage for which a processing process and a processing tool have not yet been determined, a processing strategy configuration task for the processing object is sent to a preset terminal, so that a user can configure, through the preset terminal, a processing process to be implemented in the first processing stage and a processing tool required for the processing process for the processing object; The processing strategy configuration table is updated according to the processing technology and processing tool configured by the user for the processing object.

8. An electrode processing program generating device, characterized in that: The device comprises: An acquisition module is used to acquire a drawing file that can represent a three-dimensional model of the electrode to be processed; An analysis module, used for analyzing the electrode head feature information of the electrode to be processed from the drawing file; a machining strategy determination module for determining, for a first machining stage for which no preset fixed machining strategy exists, a target machining strategy for the first machining stage based on the electrode head characteristic information and a machining strategy configuration table; the target machining strategy including a machining object, a machining process to be performed on the machining object, and a machining tool required for the machining process; the machining strategy configuration table including numerical screening intervals for different characteristic parameters in the electrode head characteristic information, the machining processes corresponding to each numerical screening interval, and the machining tools required for each machining process; A program generation module is used to generate a machining program according to all machining strategies determined for the electrode to be machined; wherein, all machining strategies include the target machining strategy and the preset fixed machining strategy of the second type of machining stage.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the electrode machining program generation method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the electrode machining program generation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for realizing automatic identification of electrode body based on UGNX model analysis

    CN114742850A

  • File processing method and device, storage medium and electronic equipment

    CN115293829A

  • Data processing method and equipment automatically generated by part milling process and storage medium

    CN117583653A

  • Electrode program design method and device, electronic equipment and storage medium

    CN119292571A

  • Method and device for controlling a machine tool, in particular, a die-sink erosion machine

    US6556886B1