Electrode design method and device applied to electric spark machining of complex shape parts
By designing a compensation electrode, calculating the intersection loss rate and the distance to generate the electrode compensation depth, the problem of reduced accuracy caused by electrode wear was solved, and the electrode processing accuracy was improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN UNIV
- Filing Date
- 2023-04-28
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, electrode wear leads to reduced machining accuracy when machining complex-shaped parts.
By designing the compensation electrode, the pre-processed surface shape of the target electrode is obtained, the total number of tangents and the intersection position are determined, the loss rate and the shortest distance are calculated, the electrode compensation depth is generated, and the shape of the compensation electrode is formed.
This improves the precision of electrode machining, ensuring that the electrode shape after wear approaches the pre-machined surface of the target electrode, thus maintaining machining accuracy.
Smart Images

Figure CN116372289B_ABST
Abstract
Description
Technical Field
[0001] This application relates to micro-electrical discharge machining technology, and in particular to an electrode design method and apparatus for electrical discharge machining of complex-shaped parts. Background Technology
[0002] Electrical discharge machining (EDM) is the mainstream method for machining difficult-to-cut metal materials. Its processing principle is based on pulsed spark discharge between the electrode and the workpiece. The high temperature generated by the electric spark locally and instantaneously corrodes the metal to achieve the processing method required for the size, shape and surface quality of the workpiece.
[0003] To achieve high-precision machining of difficult-to-machine metal parts, existing technologies involve designing electrodes with the same shape as the workpiece to be machined, thereby improving machining accuracy. However, the electrodes are affected by the skin effect during machining, resulting in different wear rates and degrees of wear in different areas.
[0004] As processing becomes more advanced and precision increases, electrodes become prone to wear and reduced processing accuracy. Summary of the Invention
[0005] In view of the aforementioned problems, this application is proposed to provide an electrode design method for electrical discharge machining of complex-shaped parts that overcomes or at least partially solves the aforementioned problems, comprising:
[0006] Obtain the pre-processed surface shape of the target electrode;
[0007] The total number of tangents covering the pre-processed surface of the target electrode is determined based on the shape of the pre-processed surface of the target electrode;
[0008] Obtain the intersection point of adjacent tangents, and determine the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface;
[0009] The electrode compensation depth corresponding to the intersection point is generated based on the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface;
[0010] The shape of the compensation electrode is generated based on the electrode compensation depth corresponding to the intersection position.
[0011] Furthermore, the step of obtaining the pre-processed surface shape of the target electrode includes:
[0012] Obtain the pre-machined surface shape of the part to be processed;
[0013] The pre-processed surface shape of the target electrode is generated based on the pre-processed surface shape of the part to be processed.
[0014] Further, the step of determining the total number of tangents covering the pre-machined surface of the target electrode based on the shape of the pre-machined surface of the target electrode includes:
[0015] To obtain the required machining accuracy of the part to be processed;
[0016] The total number of tangents is generated based on the required processing precision.
[0017] The pre-processed surface of the target electrode is covered by tangents based on the total number of tangents; wherein all tangents intersect sequentially and completely cover the pre-processed surface of the target electrode.
[0018] Further, the steps of obtaining the intersection point of adjacent tangents and determining the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface include:
[0019] Find the intersection point of adjacent tangents;
[0020] The shortest distance from the intersection point of the adjacent tangents to the pre-processed surface is determined based on the intersection point of the adjacent tangents.
[0021] Obtain the overall loss rate of the target electrode;
[0022] A loss rate corresponding to the intersection point is generated based on the shortest distance from the intersection point to the pre-processed surface and the overall loss rate.
[0023] Further, the step of generating the electrode compensation depth corresponding to the intersection point based on the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface includes:
[0024] The electrode compensation depth at the intersection point is generated by multiplying the shortest distance from the intersection point to the pre-processed surface by the loss rate corresponding to the intersection point.
[0025] Further, the step of generating the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position includes:
[0026] The electrode compensation depth at all intersection points is obtained sequentially.
[0027] Based on the compensation depth of all the intersections, determine the corresponding positions of all the intersections after compensation;
[0028] The shape of the compensation electrode is generated based on the corresponding positions after compensation of all the intersection points.
[0029] Further, the step of generating the shape of the compensation electrode based on the corresponding positions after compensation of all the intersection points includes:
[0030] By sequentially connecting the corresponding positions of all the intersection points after compensation, the shape of the compensation electrode is generated, wherein the compensation depth is set on the side of the compensation electrode that is worn during processing.
[0031] This invention discloses an electrode design apparatus for designing compensation electrodes. The apparatus includes the following components:
[0032] The shape acquisition module is used to acquire the pre-processed curved surface shape of the target electrode;
[0033] A tangent wrapping module is used to determine the total number of tangents covering the pre-processed surface of the target electrode based on the shape of the pre-processed surface of the target electrode;
[0034] The loss rate acquisition module is used to acquire the intersection position of adjacent tangents, and determine the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface;
[0035] The compensation depth generation module is used to generate an electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface;
[0036] A shape output module is used to generate the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position.
[0037] This invention discloses 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 program, it implements the steps of the electrode design method for electrical discharge machining of complex-shaped parts as described above.
[0038] This invention discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the electrode design method described above for electrical discharge machining of complex-shaped parts.
[0039] This application has the following advantages:
[0040] In the embodiments of this application, in contrast to the problems of electrode wear and reduced machining accuracy in the prior art, the following approach is adopted: "Obtain the pre-processed surface shape of the target electrode; determine the total number of tangents covering the pre-processed surface of the target electrode based on the pre-processed surface shape of the target electrode; obtain the intersection position of adjacent tangents, and determine the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; generate the electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; generate the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position." By designing the compensation depth at each intersection position, the electrode wear is gradually approached by the pre-processed surface shape of the target electrode, thereby improving the machining accuracy of the electrode. Attached Figure Description
[0041] To more clearly illustrate the technical solution of this application, the drawings used in the description of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a flowchart of an electrode design method for electrical discharge machining of complex-shaped parts, provided in one embodiment of this application;
[0043] Figure 2 This is a schematic diagram of an unprocessed compensation electrode provided in one embodiment of this application.
[0044] Figure 3 This is a schematic diagram of a compensation electrode processing according to an embodiment of this application.
[0045] Figure 4 This is a schematic diagram showing the completed fabrication of a compensation electrode according to an embodiment of this application.
[0046] Figure 5 This is a schematic diagram of a compensation electrode provided in an embodiment of this application.
[0047] Figure 6 This is a block diagram of an electrode design device provided in one embodiment of this application.
[0048] Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.
[0049] The reference numerals in the accompanying drawings are as follows:
[0050] 1. Compensating electrode; 2. Part to be processed; 3. Electrode wear; 4. Shortest distance from the intersection point to the pre-processed surface. Detailed Implementation
[0051] To make the objectives, features, and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0052] Through analysis of existing technologies, the inventors discovered that in the prior art, when machining metal parts that are difficult to cut and have complex shapes, the electrodes are generally designed to have the same shape as the parts. However, the electrodes are subject to wear during machining, which can easily cause changes in the shape of the electrodes and reduce the machining accuracy of the parts.
[0053] Reference Figure 1 This application illustrates an electrode design method for electrical discharge machining of complex-shaped parts, according to an embodiment of the present application. The method includes:
[0054] S1. Obtain the pre-processed surface shape of the target electrode;
[0055] S2. Determine the total number of tangents covering the pre-processed surface of the target electrode based on the shape of the pre-processed surface of the target electrode;
[0056] S3. Obtain the intersection position of adjacent tangents, and determine the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface;
[0057] S4. Generate an electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface;
[0058] S5. Generate the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position.
[0059] In the embodiments of this application, in contrast to the problems of electrode wear and reduced machining accuracy in the prior art, the following approach is adopted: "Obtain the pre-processed surface shape of the target electrode; determine the total number of tangents covering the pre-processed surface of the target electrode based on the pre-processed surface shape of the target electrode; obtain the intersection position of adjacent tangents, and determine the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; generate the electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; generate the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position." By designing the compensation depth at each intersection position, the electrode wear is gradually approached by the pre-processed surface shape of the target electrode, thereby improving the machining accuracy of the electrode.
[0060] The electrode design method for electrical discharge machining of complex-shaped parts, as described below, will be further explained in this exemplary embodiment.
[0061] In the embodiments of this application, the above steps are all performed by software simulation or software calculation. The software device includes ANSYS simulation or other devices that can implement this method. Simulation and design through software devices can make design and calculation more convenient, with higher accuracy and ease.
[0062] In the embodiments of this application, as in step S1, the pre-processed surface shape of the target electrode is obtained. The pre-processed surface shape of the target electrode is the same as the pre-processed surface shape of the part 2 to be processed, which is intended to facilitate the processing of metal parts that are difficult to cut and have complex shapes. The compensation electrode 1 of this application is disposed on the side that is worn during the processing of the compensation electrode 1. This side is in contact with the part 2 to be processed. The working fluid is broken down by the pulse voltage applied to the two electrodes, generating a spark discharge. A large amount of heat energy is instantaneously concentrated in the micro-channel of the discharge, with the temperature reaching over 10,000 degrees Celsius and the pressure also changing drastically. This causes a small amount of metal material on the local working surface to melt and vaporize immediately, and then explode and splash into the working fluid, where it quickly condenses to form solid metal particles, which are carried away by the working fluid.
[0063] Furthermore, step S1 above also includes:
[0064] Step S11: Obtain the pre-processed surface shape of the part to be processed 2; wherein, the surface shape of the part to be processed 2 is simulated by the above software.
[0065] Step S12: Generate the pre-processed surface shape of the target electrode based on the pre-processed surface shape of the part to be processed 2; wherein the pre-processed surface shape of the target electrode is the same as the pre-processed surface shape of the part to be processed 2.
[0066] In the embodiments of this application, as in step S2, the total number of tangents covering the pre-processed surface of the target electrode is determined based on the shape of the pre-processed surface of the target electrode; if the tangents completely cover the electrode, it means that the shape of the pre-processed surface of the target electrode is the envelope of all the tangents, and the pattern formed by the sequential intersection of all the tangents is similar to the shape of the pre-processed surface of the target electrode, so that the shape of the compensation electrode 1 set next is similar to the shape of the pre-processed surface of the target electrode.
[0067] Furthermore, step S2 above also includes:
[0068] S21. Obtain the required machining accuracy of the part to be processed 2. The required surface fineness of the part to be processed 2 is different, and different precision electrical discharge machining can be selected. If the surface of the part to be processed 2 is complex, then fine machining is selected, otherwise rough machining is selected.
[0069] S22. Generate the total number of tangents according to the required processing precision; if fine machining is selected, the number of tangents ranges from 500 to 1000; if rough machining is selected, the number of tangents ranges from 200 to 500.
[0070] S23. Cover the pre-processed surface of the target electrode with tangents according to the total amount of tangents; wherein, all tangents intersect sequentially and completely cover the pre-processed surface of the target electrode, and the tangents are evenly distributed to each protrusion on the pre-processed surface of the target electrode. It should be noted that the protrusions are all the protrusions on the side where the compensation depth needs to be set, excluding protrusions in the opposite direction.
[0071] In the embodiments of this application, as in step S3, the intersection point of adjacent tangents is obtained, and the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface are determined; all tangents intersect sequentially, such that there is one and only one intersection point between each pair of tangents, and the shortest distance from the intersection point to the pre-processed surface can be calculated by the ANSYS simulation software described above.
[0072] Furthermore, step S3 above also includes:
[0073] Step S31: Obtain the intersection point of adjacent tangents;
[0074] Step S32: Determine the shortest distance from the intersection point of the adjacent tangents to the pre-processed surface based on the intersection point of the adjacent tangents;
[0075] Step S33: Obtain the overall loss rate of the target electrode; the overall loss rate is calculated as follows: Under the same usage environment, by measuring the weights m1 and m2 of the tool electrode before and after operation, the difference between the values is calculated to obtain the loss weight of the electrode, and the time t for this weight loss is recorded. The density ρ of the electrode is measured by an instrument. The formula for calculating the overall loss rate is:
[0076]
[0077] Furthermore, electrode loss is affected by the skin effect. The greater the protrusion amplitude on the pre-machined surface of the target electrode, the smaller the angle between the tangents after being covered by the same number of tangents, the greater the influence of the skin effect, the higher the current density in that region, and the greater the electrode loss. Conversely, the smaller the protrusion amplitude on the pre-machined surface of the target electrode, the larger the angle between the tangents after being covered by the same number of tangents, the less the influence of the skin effect, the lower the current density in that region, and the lower the electrode loss. In other words, the greater the electrode loss, the greater the loss rate; and the smaller the electrode loss, the smaller the loss rate.
[0078] Furthermore, due to the skin effect, the smaller the distance from the intersection point to the pre-processed surface, the greater the electrode loss; conversely, the greater the distance from the intersection point to the pre-processed surface, the smaller the electrode loss.
[0079] Step S34: Generate a loss rate corresponding to the intersection point based on the shortest distance from the intersection point to the pre-machined surface and the overall loss rate. The loss rate is affected by the angle between the tangents and the distance from the intersection point to the pre-machined surface, and the angle between the tangents further affects the distance from the intersection point at that angle to the pre-machined surface. Therefore, the distance from the intersection point at that angle to the pre-machined surface can be calculated using the angle between the tangents.
[0080] Furthermore, by inputting the data of the shortest distance from the intersection point to the pre-processed surface and the overall loss rate into the software, the loss rate at each intersection point can be directly calculated by the ANSYS simulation software. This method is simple and not prone to errors.
[0081] In the embodiments of this application, reference is made to Figure 5 The diagram shows a compensation electrode. As in step S4, the electrode compensation depth corresponding to the intersection position is generated based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface. The original distance and loss rate can be used to calculate the compensation depth of the point. By setting the compensation depth for each intersection, the shape of the electrode after wear is the final required shape.
[0082] Furthermore, step S4 above also includes:
[0083] Step S41: Generate the electrode compensation depth at the intersection point by multiplying the shortest distance from the intersection point to the pre-processed surface and the loss rate corresponding to the intersection point.
[0084] The electrode compensation depth at each intersection point can be easily designed using the above method, which is less prone to errors and ensures the accuracy of electrode processing.
[0085] In the embodiments of this application, such as step S5, the shape of the compensation electrode 1 is generated according to the electrode compensation depth corresponding to the intersection position. The tangent completely covers the electrode, which means that the pre-processed surface shape of the target electrode is the envelope of all the tangents. The pattern formed by the sequential intersection of all the tangents is similar to the pre-processed surface shape of the target electrode. Even if the compensation depth is added to each intersection, the shape formed is similar to the pre-processed surface shape of the target electrode.
[0086] Furthermore, step S5 above also includes:
[0087] Step S51: Sequentially obtain the electrode compensation depth at all intersection points; the compensation depth at each intersection point needs to be calculated separately.
[0088] Step S52: Determine the corresponding position of all the intersection points after compensation based on the compensation depth of all the intersection points; wherein, the direction of the intersection point compensation is along the straight line connecting the intersection point position to the shortest distance line of the pre-processed surface.
[0089] Step S53: Generate the shape of the compensation electrode 1 based on the corresponding positions after compensation of all the intersection points.
[0090] Furthermore, step S53 above also includes:
[0091] Step S531: Sequentially connect the corresponding positions of all the intersection points after compensation to generate the shape of the compensation electrode 1. (Refer to...) Figures 2-4 This paper illustrates how the shape of a compensation electrode changes as machining progresses. A target compensation electrode 1 is generated based on the final shape of the compensation electrode 1. As machining continues and progresses, the shape of the target compensation electrode 1 tends to match the pre-machined surface shape of the part to be machined 2. The compensation depth offsets the wear of the motor during machining, ensuring that the motor does not deform during machining and thus does not affect machining accuracy.
[0092] In the embodiments of this application, the workpiece to be processed is mounted on a machine tool, and the compensation electrode 1 is clamped on the machine tool spindle. The compensation electrode 1 is connected to the positive terminal of a high-frequency pulse power supply, and the workpiece to be processed is connected to the negative terminal of the high-frequency pulse power supply. The workpiece to be processed and the compensation electrode 1 can be immersed in spark oil to maintain the stability of the EDM process. The machining parameters of the compensation electrode 1, such as machining depth and machining accuracy, are set on the EDM machine tool to generate a machining program and start machining.
[0093] It should be noted that, without conflict, the embodiments and features in the embodiments of this application can be combined with each other. This application solves the problem of electrode wear and reduced processing accuracy by covering the pre-processed curved surface of the target electrode with tangents and setting a compensation depth at the intersection of each tangent. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0094] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0095] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0096] In the embodiments of this application, reference is made to Figure 6 The diagram illustrates a block diagram of an electrode design device according to an embodiment of this application, which specifically includes the following modules:
[0097] The shape acquisition module is used to acquire the pre-processed curved surface shape of the target electrode;
[0098] A tangent wrapping module is used to determine the total number of tangents covering the pre-processed surface of the target electrode based on the shape of the pre-processed surface of the target electrode;
[0099] The loss rate acquisition module is used to acquire the intersection position of adjacent tangents, and determine the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface;
[0100] The compensation depth generation module is used to generate an electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface;
[0101] A shape output module is used to generate the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position.
[0102] In embodiments of this application, the shape acquisition module includes:
[0103] The part shape acquisition module is used to acquire the pre-processed curved surface shape of the part to be processed;
[0104] The target electrode shape generation module is used to generate the pre-processed surface shape of the target electrode based on the pre-processed surface shape of the part to be processed.
[0105] In embodiments of this application, the tangent wrapping module includes:
[0106] The accuracy acquisition module is used to acquire the machining accuracy of the part to be processed;
[0107] The total quantity acquisition module is used to generate the total quantity of the tangents based on the required processing precision.
[0108] The covering module is used to cover the pre-processed surface of the target electrode with tangents according to the total number of tangents; wherein all tangents intersect sequentially and completely cover the pre-processed surface of the target electrode.
[0109] In embodiments of this application, the loss rate acquisition module includes:
[0110] The location acquisition module is used to obtain the intersection point of adjacent tangents;
[0111] The distance acquisition module is used to determine the shortest distance from the intersection point of the adjacent tangents to the pre-processed surface based on the intersection point of the adjacent tangents.
[0112] The overall loss rate acquisition module is used to acquire the overall loss rate of the target electrode;
[0113] The intersection loss rate acquisition module is used to generate a loss rate corresponding to the intersection position based on the shortest distance from the intersection position to the pre-processed surface and the overall loss rate.
[0114] In embodiments of this application, the compensation depth generation module includes:
[0115] The compensation depth generation module is used to generate the electrode compensation depth at the intersection point by multiplying the shortest distance from the intersection point to the pre-processed surface by the loss rate corresponding to the intersection point.
[0116] In embodiments of this application, the shape output module includes:
[0117] The compensation depth summary module is used to sequentially obtain the electrode compensation depth at all intersection points;
[0118] The compensation position generation module is used to determine the corresponding position of all the intersection points after compensation based on the compensation depth of all the intersection points;
[0119] The compensation electrode shape generation module is used to generate the shape of the compensation electrode based on the corresponding positions after compensation of all the intersection points.
[0120] In embodiments of this application, the compensation electrode shape generation module includes:
[0121] The compensation electrode shape output module is used to sequentially connect all the corresponding positions after the intersection points are compensated to generate the shape of the compensation electrode, wherein the compensation depth is set on the side of the compensation electrode that is worn during processing.
[0122] Reference Figure 7 This application illustrates a computer device for an electrode design method applied to electrical discharge machining of complex-shaped parts, which may specifically include the following:
[0123] The computer device 12 described above is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, memory 28, and a bus 18 connecting different system components (including memory 28 and processing unit 16).
[0124] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Audio / Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0125] Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0126] Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as a "hard disk drive"). Figure 3Not shown, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42 configured to perform the functions of the embodiments of this application.
[0127] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory. Such program modules 42 include—but are not limited to—an operating system, one or more application programs, other program modules 42, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of this application.
[0128] Computer device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, camera, etc.), and with one or more devices that enable an operator to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through I / O interface 22. Furthermore, computer device 12 can also communicate with one or more networks (e.g., local area network (LAN)), wide area network (WAN), and / or public networks (e.g., the Internet) via network adapter 20. Figure 3 As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that, although... Figure 3 Not shown, it can be combined with computer device 12 to use other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing unit 16, external disk drive array, RAID system, tape drive and data backup storage system 34, etc.
[0129] The processing unit 16 executes various functional applications and data processing by running programs stored in memory 28, such as implementing an electrode design method for electrical discharge machining of complex-shaped parts provided in the embodiments of this application.
[0130] That is, when the processing unit 16 executes the above program, it performs the following: obtaining the shape of the pre-processed surface of the target electrode; determining the total number of tangents covering the pre-processed surface of the target electrode based on the shape of the pre-processed surface of the target electrode; obtaining the intersection position of adjacent tangents, and determining the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; generating the electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; and generating the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position.
[0131] In the embodiments of this application, this application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements an electrode design method for electrical discharge machining of complex-shaped parts as provided in all embodiments of this application.
[0132] That is, when the program is executed by the processor, it performs the following: obtaining the pre-processed surface shape of the target electrode; determining the total number of tangents covering the pre-processed surface of the target electrode based on the pre-processed surface shape of the target electrode; obtaining the intersection position of adjacent tangents, and determining the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; generating the electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; and generating the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position.
[0133] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0134] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0135] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the operator's computer, partially on the operator's computer, as a standalone software package, partially on the operator's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the operator's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider). The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably.
[0136] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0137] Finally, it should be noted that in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0138] The above provides a detailed description of an electrode design method and apparatus for electrical discharge machining of complex-shaped parts. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An electrode design method for use in electrical discharge machining of complex-shaped parts, characterized in that, include: Obtain the pre-processed surface shape of the target electrode; The total number of tangents covering the pre-processed surface of the target electrode is determined based on the shape of the pre-processed surface of the target electrode; Obtain the intersection point of adjacent tangents, and determine the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface; The electrode compensation depth corresponding to the intersection point is generated by multiplying the loss rate corresponding to the intersection point position and the shortest distance from the intersection point position to the pre-processed surface. The shape of the compensation electrode is generated based on the electrode compensation depth corresponding to the intersection position.
2. The electrode design method according to claim 1, characterized in that, The steps for obtaining the pre-machined surface shape of the target electrode include: Obtain the pre-machined surface shape of the part to be processed; The pre-processed surface shape of the target electrode is generated based on the pre-processed surface shape of the part to be processed.
3. The electrode design method according to claim 1, characterized in that, The step of determining the total number of tangents covering the pre-machined surface of the target electrode based on the shape of the pre-machined surface of the target electrode includes: To obtain the required machining accuracy of the part to be processed; The total number of tangents is generated based on the required processing precision. The pre-processed surface of the target electrode is covered by tangents based on the total number of tangents; wherein all tangents intersect sequentially and completely cover the pre-processed surface of the target electrode.
4. The electrode design method according to claim 1, characterized in that, The steps of obtaining the intersection point of adjacent tangents and determining the loss rate corresponding to the intersection point and the shortest distance from the intersection point to the pre-processed surface include: Find the intersection point of adjacent tangents; The shortest distance from the intersection point of the adjacent tangents to the pre-processed surface is determined based on the intersection point of the adjacent tangents. Obtain the overall loss rate of the target electrode; A loss rate corresponding to the intersection point is generated based on the shortest distance from the intersection point to the pre-processed surface and the overall loss rate.
5. The electrode design method according to claim 1, characterized in that, The step of generating the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position includes: The electrode compensation depth at all intersection points is obtained sequentially. Based on the compensation depth of all the intersections, determine the corresponding positions of all the intersections after compensation; The shape of the compensation electrode is generated based on the corresponding positions after compensation of all the intersection points.
6. The electrode design method according to claim 5, characterized in that, The step of generating the shape of the compensation electrode based on the corresponding positions after compensation of all the intersection points includes: By sequentially connecting the corresponding positions of all the intersection points after compensation, the shape of the compensation electrode is generated, wherein the compensation depth is set on the side of the compensation electrode that is worn during processing.
7. An electrode design device, characterized in that, The device used in the design of compensation electrodes includes the following components: The shape acquisition module is used to acquire the pre-processed curved surface shape of the target electrode; A tangent wrapping module is used to determine the total number of tangents covering the pre-processed surface of the target electrode based on the shape of the pre-processed surface of the target electrode; The loss rate acquisition module is used to acquire the intersection position of adjacent tangents, and determine the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; The compensation depth generation module is used to generate an electrode compensation depth corresponding to the intersection position based on the loss rate corresponding to the intersection position and the shortest distance from the intersection position to the pre-processed surface; A shape output module is used to generate the shape of the compensation electrode based on the electrode compensation depth corresponding to the intersection position.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Electrode loss real-time compensation method based on spark discharge rate
CN104646774A
Laminated fitting preparing method for three-dimensional microelectrode
CN105537703A
Cathode profile design and digital correction method for blade precision electrolysis
CN111069722A