Design and processing method of electrode
By automatically identifying the electrode types and characteristics and generating detection and processing programs, the problem of manual labeling and programming in the prior art is solved, and the accuracy of manual labeling and programming during electrode design and electric spark processing is not high, and the automation of electrode detection and electric spark processing is realized, improving processing efficiency and accuracy.
Patent Information
- Application Number
- CN202411535108.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, there are problems such as manual labeling errors, manual drawing recognition time, high programming time, and difficult detection, resulting in low processing efficiency and low accuracy.
By judging the electrode type, using three-dimensional model drawings to different colors on different electrode teeth, identify the characteristic information of the electrode teeth, generate detection and processing procedures, and realize the automation of electrode detection and electric spark processing.
The electrode design and electric spark processing process are automated, the workload and human error of the processing personnel are reduced, and the machining rate and processing accuracy of the machine are improved.
Smart Images

Figure CN119514947A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electrode design and processing, and in particular to a design and processing method for an electrode. Background Art
[0002] Manufacturers of connectors and connector products usually need to design multiple features on one electrode body when designing electrodes based on the shape, size and processing requirements of the workpiece, so as to complete the EDM of all features using one coordinate parameter and reduce the precision error caused by repeated positioning.
[0003] The design and processing flow of electrodes in the prior art is that the electrode designer first uses professional CAD software to design the electrode head, combines and arranges multiple electrode heads according to the planned layout, ensures that each electrode head can accurately reach its predetermined processing position, and manually marks the spacing between the electrode heads and the number of electrode heads; then the EDM processing personnel manually write the discharge program based on the manually marked information; finally, when performing electrode detection, the discharge position of the electrode is manually identified, and the position that needs to be detected is dotted. There are many defects in the electrode design and processing process using the above method: First, manual numbering is prone to errors, and for electrodes with many features, manual marking takes too much time. Second, EDM processing requires manual identification of drawings and filling in drawing information, and the time for manual programming greatly reduces the machine utilization rate. Third, for multi-tooth electrodes with complex structures, the workload of manual dot detection is too large, which greatly increases the difficulty of detection.
[0004] Based on the defects of the existing technology, there is an urgent need for an electrode design and processing method to realize the automation of electrode design and EDM process. Summary of the invention
[0005] The main purpose of the present invention is to provide a design and processing method for an electrode, so as to realize the automation of electrode design, electrode detection and electric spark machining process for workpiece machining.
[0006] The technical solution adopted by the present invention is: a design and processing method for an electrode, comprising: judging the electrode type; in a three-dimensional model drawing of the electrode, coloring electrode teeth with different processing gaps with different colors, identifying characteristic information of the electrode teeth according to the electrode type, and marking them on the drawing to form an electrode detection image file; taking points on the electrode detection image file, generating a detection program according to the characteristic information of each point, and driving a machine tool to detect the electrode according to the detection program; for electrodes that pass the detection, selecting the electrode teeth required for workpiece processing and arranging the processing sequence, generating a processing program according to the processing sequence, and driving the machine tool to use the electrode to process the workpiece.
[0007] According to the above technical solution, the method for determining the type of electrode includes: observing the inner contour of the electrode reference surface, and if the inner contour contains multiple heads, determining it to be a multi-tooth electrode; and further determining the type of the multi-tooth electrode.
[0008] According to the above technical scheme, the types of the multi-tooth electrode include a multi-tooth integrated electrode, a multi-tooth multi-body electrode, a multi-tooth spliced electrode and a step multi-tooth electrode; wherein, if the spacing between each group of teeth of the multi-tooth electrode is the same, it is judged to be a multi-tooth integrated electrode, otherwise it is a multi-tooth multi-body electrode, and the group of teeth includes multiple identical electrode teeth; if the characteristics of the same row of electrode teeth of the multi-tooth electrode are different, it is judged to be a multi-tooth spliced electrode; if the heights of the electrode tooth groups of the multi-tooth electrode are different, it is judged to be a step multi-tooth electrode.
[0009] According to the above technical solution, when identifying the characteristic information of electrode teeth with different colors, if the electrode teeth belong to a multi-tooth integrated electrode, it is only necessary to identify the group distance information of one electrode tooth group in the electrode.
[0010] According to the above technical solution, the characteristic information includes the number of teeth and tooth pitch of electrode teeth, the number of groups and group pitch of electrode tooth groups and the position of multi-tooth electrodes.
[0011] According to the above technical scheme, the point picking method includes a discharge surface point picking method and a coloring point picking method; the discharge surface point picking method includes identifying the discharge surface of the electrode and picking points on the discharge surface according to preset point picking rules; the coloring point picking method includes picking points in the corresponding colored area in the detection image of the electrode according to preset point picking rules.
[0012] According to the above technical solution, each color in the detection image file corresponds to a different electrode tooth tolerance.
[0013] The present invention also provides a device for designing and processing electrodes, including a computer program, an electrode and a machine tool, and the device is adapted to the above-mentioned method for designing and processing electrodes.
[0014] The present invention also provides a computer storage medium, which stores a computer program executable by a processor, and the computer program executes the above-mentioned electrode design and processing method.
[0015] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the electrode design and processing method as claimed above when executing the computer program.
[0016] The beneficial effects of the present invention are as follows: the present invention provides an electrode design and processing method, the electrode teeth of a multi-tooth electrode are colored to form a detection drawing containing electrode tooth features, points are taken from the detection drawing and a detection formula is generated for detection, and electrode teeth are selected and sorted during processing to generate a processing formula for processing. The present invention is different from the traditional method of manually marking information and the method of manually marking points for detection, and realizes the automation of electrode detection and EDM process for workpiece processing, while reducing the workload of processing personnel and human errors, and improving the machine utilization rate.
[0017] Furthermore, in the method of the present invention, the type of electrode is pre-determined. If the electrode tooth belongs to a multi-tooth integrated electrode, only the information of one electrode tooth group needs to be identified, thereby reducing the workload of the feature identification link.
[0018] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 is a flow chart of a method according to an embodiment of the present invention;
[0021] Figure 2 It is a functional illustration diagram of an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a multi-tooth electrode structure according to an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the structure of a multi-tooth integrated electrode according to an embodiment of the present invention;
[0024] Figure 5 It is a schematic diagram of the structure of multiple groups of teeth-in-one electrodes according to an embodiment of the present invention;
[0025] Figure 6 It is a schematic structural diagram of multiple groups of tooth multi-body electrodes according to an embodiment of the present invention;
[0026] Figure 7 It is a schematic structural diagram of multiple groups of multi-tooth multi-body electrodes according to an embodiment of the present invention;
[0027] Figure 8 It is a schematic structural diagram of a multi-tooth spliced electrode according to an embodiment of the present invention;
[0028] Fig. 9 Schematic diagram of the structure of a stepped multi-tooth electrode according to an embodiment of the present invention.
[0029] Reference numerals: 1. electrode base; 2. electrode teeth. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0031] It should be noted that the illustrations provided in the embodiments of the present invention are only used to illustrate the basic concept of the present invention in a schematic manner. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout type may also be more complicated.
[0032] In the present invention, it is also necessary to explain that, if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, if the terms "first" and "second" appear, they are only used for description and distinction purposes, and cannot be understood as indicating or implying relative importance.
[0033] Example 1
[0034] This embodiment provides a design and processing method for an electrode, such as Figure 1 and Figure 2 As shown, the steps include:
[0035] S1. Determine the type of electrode. Draw a three-dimensional model of the electrode through CAD to determine the type of electrode.
[0036] Specifically, first determine whether the electrode is a multi-tooth electrode. Observe the inner contour of the electrode reference surface. If the inner contour contains multiple heads, it is determined to be a multi-tooth electrode. The structure of the multi-tooth electrode is as follows: Figure 3 As shown, the electrode substrate 1 has electrode teeth 2, and the reference plane is the connection surface between the electrode substrate and the electrode teeth. Further, the type of the multi-tooth electrode is determined. If the spacing between each group of teeth of the multi-tooth electrode is the same, it is determined to be a multi-tooth integrated electrode or a multi-group tooth integrated electrode, wherein the structure of the multi-tooth integrated electrode is as follows: Figure 4 As shown, the structure of multiple sets of teeth integrated electrodes is as follows Figure 5If the spacing between each group of teeth of the multi-tooth electrode is different, it is judged to be a multi-group tooth multi-body electrode or a multi-group multi-tooth multi-body electrode, where the structure of the multi-tooth one-body electrode is as follows: Figure 6 As shown, the structure of multiple sets of teeth integrated electrodes is as follows Figure 7 As shown, the group of teeth is a collection of electrode teeth that express a processing feature together. If the features of the same row of electrode teeth of a multi-tooth electrode are different, it is judged to be a multi-tooth spliced electrode. The structure of the multi-tooth spliced electrode is as follows: Figure 8 If the Z-direction heights of the electrode tooth groups of the multi-tooth electrode are different, it is judged to be a step multi-tooth electrode. The structure of the step multi-tooth electrode is as follows: Fig. 9 shown.
[0037] S2. In the three-dimensional model drawing of the electrode, different colors are applied to the electrode teeth with different machining gaps, the characteristic information of the electrode teeth is identified, and the information is marked on the drawing as the electrode detection drawing file;
[0038] Specifically, each color is associated with not only the machining gap of the electrode teeth, that is, the spark position, but also the tolerance of the electrode teeth.
[0039] Specifically, the characteristic information of the electrode teeth includes the number of teeth, the tooth pitch, the number and group pitch of the electrode tooth groups, and the position of the multi-tooth electrode. The position of the electrode is a coordinate parameter when the electrode processes a workpiece, including three directions of X, Y, and Z. Preferably, if the electrode is a multi-tooth integrated electrode, only the group pitch of one electrode tooth group needs to be identified.
[0040] Specifically, the detection image marks the position on the electrode involved in the electrospark machining and the characteristic information of the electrode teeth.
[0041] S3. Pick points on the electrode detection image, extract feature information of each point, generate a detection program accordingly, and drive the machine tool to detect the electrode according to the detection program.
[0042] Specifically, the point-taking method includes a discharge surface point-taking method and a coloring point-taking method; wherein the discharge surface point-taking method includes, when the multi-tooth electrode contacts the workpiece to be processed, identifying the discharge surface of the multi-tooth electrode, and taking points on the discharge surface according to a preset point-taking rule, wherein the point-taking rule includes tooth skipping point-taking and first and last tooth point-taking. The coloring point-taking method includes taking points from different colored areas in the detection image file of the multi-tooth electrode, wherein the point-taking rule is determined according to actual needs.
[0043] S4. For electrodes that have passed the inspection, the electrode teeth required for workpiece processing are selected and arranged in a processing sequence. A processing program is generated according to the processing sequence, and the machine tool is driven to use the electrode to process the workpiece.
[0044] Specifically, electrode teeth with corresponding features are screened out according to the features of the workpiece to be processed, and the processing personnel select the electrodes corresponding to these electrode teeth from the electrode list, and further arrange the processing order of these electrode teeth according to the processing process, and then generate a processing program based on the processing order and the feature information of the electrode teeth.
[0045] Example 2
[0046] This embodiment provides a device for designing and processing electrodes, including a computer program, an electrode and a machine tool. The device executes the electrode design and processing method described in Embodiment 1.
[0047] When using this equipment, the processing personnel only need to select the electrodes corresponding to the electrode teeth required for processing according to the characteristics of the workpiece to be processed, and sort them. The other links are driven by computer programs to automate the electrodes and machine tools.
[0048] Specifically, the computer program completes the coloring and feature information recognition of the three-dimensional model drawing of the electrode, and marks the feature information on the drawing to form a detection drawing. Then, points are taken on the detection drawing, and a detection program is automatically generated to drive the machine tool for detection. Finally, a processing program is automatically generated according to the arrangement order provided by the processing personnel, and the machine tool is driven to complete the EDM of the workpiece.
[0049] Example 3
[0050] This embodiment provides a computer storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, CD, server, App application store, etc., on which a computer program is stored, and the program is executed by a processor to realize the corresponding function. The computer-readable storage medium of this embodiment realizes the design and processing method of the electrode in Example 1 when executed by the processor.
[0051] Example 4
[0052] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the electrode design and processing method described in Embodiment 1 are implemented.
[0053] In summary, the present invention provides a method for designing and processing an electrode, which colors and identifies features of electrode teeth of a multi-tooth electrode, automatically takes points to generate a detection formula for detection during detection, and automatically generates a processing formula after selecting and sorting discharge teeth for processing during processing. An automated process replaces traditional manual marking and manual dot detection, reduces the workload and human errors of processing personnel, and improves the utilization rate of the machine.
[0054] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.
[0055] The order of execution of each step in the above embodiment does not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0056] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims
1. A method for designing and processing an electrode, characterized in that: include: Determine the electrode type; In the 3D model drawing of the electrode, different colors are used for electrode teeth with different machining gaps, and the characteristic information of the electrode teeth is identified according to the electrode type, and the detection image file of the electrode is marked on the drawing; Pick points on the electrode detection image, generate a detection program according to the characteristic information of each point, and drive the machine tool to detect the electrode according to the detection program; For electrodes that have passed the inspection, the electrode teeth required for workpiece processing are selected and arranged in a processing order. A processing program is generated based on the processing order, and the machine tool is driven to use the electrode to process the workpiece.
2. The electrode design and processing method according to claim 1, characterized in that: The method for determining the type of electrode comprises: observing the inner contour of the electrode reference surface, and if the inner contour contains multiple heads, determining that it is a multi-tooth electrode; and further determining the type of the multi-tooth electrode.
3. The electrode design and processing method according to claim 2, characterized in that: The types of the multi-tooth electrode include a multi-tooth integrated electrode, a multi-tooth multi-body electrode, a multi-tooth spliced electrode and a step multi-tooth electrode; wherein, if the spacing between each group of teeth of the multi-tooth electrode is the same, it is judged to be a multi-tooth integrated electrode, otherwise it is a multi-tooth multi-body electrode; if the characteristics of the same row of electrode teeth of the multi-tooth electrode are different, it is judged to be a multi-tooth spliced electrode; if the heights of the electrode tooth groups of the multi-tooth electrode are different, it is judged to be a step multi-tooth electrode.
4. The electrode design and processing method according to claim 3, characterized in that: When identifying characteristic information of electrode teeth with different colors, if the electrode teeth belong to a multi-tooth integrated electrode, it is only necessary to identify the group distance information of one electrode tooth group in the electrode.
5. The electrode design and processing method according to claim 1, characterized in that: The characteristic information includes the number of teeth and tooth pitch of electrode teeth, the number of groups and group pitch of electrode tooth groups, and the position of multi-tooth electrodes.
6. The electrode design and processing method according to claim 1, characterized in that: The point taking method includes a discharge surface point taking method and a coloring point taking method; The discharge surface point selection method includes identifying the discharge surface of the electrode and selecting points on the discharge surface according to a preset point selection rule; The coloring point selection method includes selecting points in the corresponding coloring area in the electrode detection image file according to a preset point selection rule.
7. The electrode design and processing method according to claim 6, characterized in that: Each color in the test image corresponds to a different electrode tooth tolerance.
8. A device for designing and processing electrodes, comprising a computer program, an electrode and a machine tool, characterized in that: The device is adapted to the electrode design and processing method described in any one of claims 1 to 7.
9. A computer storage medium, characterized in that A computer program executable by a processor is stored therein, and the computer program executes the electrode design and processing method according to any one of claims 1 to 7.
10. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the electrode design and processing method according to any one of claims 1 to 7 when executing the computer program.