CN113779731B - Numerical control electric spark machine tool machining program generation method, device and storage medium - Google Patents

Numerical control electric spark machine tool machining program generation method, device and storage medium Download PDF

Info

Publication number
CN113779731B
CN113779731B CN202111093118.XA CN202111093118A CN113779731B CN 113779731 B CN113779731 B CN 113779731B CN 202111093118 A CN202111093118 A CN 202111093118A CN 113779731 B CN113779731 B CN 113779731B
Authority
CN
China
Prior art keywords
machining
electrode
processing
program
final
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111093118.XA
Other languages
Chinese (zh)
Other versions
CN113779731A (en
Inventor
成亚飞
郭小川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Moldbao Technology Co ltd
Original Assignee
Shenzhen Moldbao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Moldbao Technology Co ltd filed Critical Shenzhen Moldbao Technology Co ltd
Priority to CN202111093118.XA priority Critical patent/CN113779731B/en
Publication of CN113779731A publication Critical patent/CN113779731A/en
Application granted granted Critical
Publication of CN113779731B publication Critical patent/CN113779731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23HWORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
    • B23H1/00Electrical discharge machining, i.e. removing metal with a series of rapidly recurring electrical discharges between an electrode and a workpiece in the presence of a fluid dielectric
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23HWORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
    • B23H11/00Auxiliary apparatus or details, not otherwise provided for
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Abstract

The application provides a processing program generation method, a device and a storage medium of a numerical control electric spark machine tool, comprising the following steps: basic machining information of the simulation electrode is obtained, wherein the basic machining information comprises an external dimension, an actual gap, a machining position and a safe tool setting point position; and calculating a final machining position according to the actual gap, the machining position and the safe lower tool point position, and generating a machining program at least comprising the outline dimension of the simulation electrode and the final machining position. According to the application, the client can automatically calculate the final processing position according to the basic processing information imported by the user, and automatically generate the processing program containing the outline dimension of the simulation electrode and the final processing position, so that the user does not need to write the processing program, and the generation efficiency is greatly improved. And the final machining position is calculated according to the actual gap, the machining position and the safe tool setting position, so that the accuracy of the final machining position can be ensured, and the error probability of a machining program can be reduced.

Description

Numerical control electric spark machine tool machining program generation method, device and storage medium
Technical Field
The application relates to the technical field of numerical control equipment, in particular to a method and a device for generating a numerical control electric spark machine tool machining program and a storage medium.
Background
Currently, in the industry, electrode multi-axis machining programs of a numerical control electric spark machine (hereinafter referred to as "EDM machine") are often manually written by an EDM operator on an operation interface of the machine. When the processing information of the electrode and the workpiece cannot be seen on the operation interface, the written processing position mostly depends on feeling and experience, the processing program contains a plurality of information such as processing precision, processing position and the like, and the whole processing program is easy to be in error due to inaccurate information, so that the existing processing program generating method has the problems of low efficiency and easy error, and the processing quality of the electrode on the workpiece in the numerical control electric spark machine tool is influenced.
Accordingly, the prior art is in need of improvement.
Disclosure of Invention
The application mainly aims to provide a method, a device and a storage medium for generating a machining program of a numerical control electric discharge machine, so as to at least solve the technical problem that the machining program is easy to make mistakes.
In a first aspect of the present application, a method for generating a machining program for a numerical control electric discharge machine is provided, comprising the steps of:
basic processing information of the simulation electrode is obtained; the basic machining information comprises an outline dimension, an actual gap, a machining position and a safe tool setting point position;
calculating a final machining position according to the actual gap, the machining position and the safe tool setting position;
a machining program including at least the outline dimension of the dummy electrode and the final machining position is generated.
In a second aspect of the present application, an electronic device is provided, including a memory, a processor, and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is used for executing the computer program stored on the memory;
when the processor executes the computer program, the steps in the numerical control electric spark machine tool machining program generation method provided in the first aspect are realized.
In a third aspect of the present application, there is provided a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for generating a machining program for a numerical control electric discharge machine provided in the first aspect.
According to the numerical control electric spark machine tool machining program generation method, device and storage medium, basic machining information of the simulation electrode is obtained, the basic machining information comprises the outline dimension, the actual gap, the machining position and the safe tool setting point position, the final machining position is calculated according to the actual gap, the machining position and the safe tool setting point position, and the machining program at least comprising the outline dimension of the simulation electrode and the final machining position is generated. The user can automatically calculate the final machining position by importing relevant basic machining information, and automatically generate a machining program containing the outline dimension of the simulation electrode and the final machining position, so that the user does not need to write the machining program, and the generation efficiency is greatly improved. And the final machining position is calculated according to the actual gap, the machining position and the safe tool setting position, so that the accuracy of the final machining position can be ensured, and the error probability of a machining program can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
FIG. 1 is a flow chart of a method for generating a machining program for a numerical control electric discharge machine according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of a first display interface of a client according to the present application displaying a simulated electrode and a simulated workpiece;
FIG. 3 is a flowchart of a method for generating a machining program for a numerical control electric discharge machine according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of a second display interface in the client according to the present application;
FIG. 5 is a schematic diagram of a processing program generated in the present application;
fig. 6 is a schematic diagram of module connection of an electronic device according to a third embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It is noted that related terms such as "first," "second," and the like may be used to describe various components, but these terms are not limiting of the components. These terms are only used to distinguish one element from another element. For example, a first component could be termed a second component, and, similarly, a second component could be termed a first component, without departing from the scope of the present application. The term "and/or" refers to any one or more combinations of related items and descriptive items.
The numerical control electric spark machine tool machining program generation method can be applied to the existing software, namely, the secondary development of the software is realized, the applied software can be NX software (also called UG (Unigraphics, UG software), and the method has the advantages of simplicity in operation and low cost.
As shown in fig. 1, a first embodiment of the present application provides a method for generating a machining program of a numerical control electric discharge machine, which is applied to a client, and includes the following steps:
step S10, basic processing information of the analog electrode is obtained; the basic machining information comprises an outline dimension, an actual gap, a machining position and a safe tool setting point position;
in this embodiment, first, the user may open a client on the terminal (for example, open the NX software on the computer), and open the file information through the NX software, and then the simulation electrode 10 and the simulation workpiece 20 are displayed simultaneously in the first display interface 1 of the NX software. Wherein the simulation electrode 10 represents a figure corresponding to an actual electrode prepared by a user using drawing software on a terminal, and the simulation workpiece 20 represents a figure corresponding to an actual workpiece (such as a blank) prepared by a user using drawing software on a terminal, the figures constituting file information. In general, the file information may be a file with dwg suffix or a file with prt suffix. Then, an operation instruction (for example, a movement instruction of the user dragging the analog electrode 10 through a control pointer carried by the NX software) of the user is received in the first display interface 1, the operation instruction controls the analog electrode 10 to process the analog workpiece 20, and finally, a processing feature matched with the external dimension of the analog electrode 10 is generated on the analog workpiece 20, where the processing feature is, for example, a groove (the groove is matched with the external dimension of the analog electrode 10, for example, the analog electrode 10 is square, and then, the formed groove is also square).
Specifically, after the machining features are generated on the simulated workpiece 20, it indicates that the user has completed the machining process for the simulated workpiece 20 using the simulated electrode 10, the terminal may automatically acquire corresponding basic machining information according to the machining features. The basic machining information includes an external dimension including at least a length, a width, and a height of the simulation electrode 10, an actual gap representing an electrode gap of the simulation electrode 10, a machining position representing a coordinate value of the simulation electrode 10 when forming a machining feature on the simulation workpiece 20, and a safe tool-down point representing a coordinate value spaced from the machining position by a preset distance, which may be 1-5mm. Each piece of information in the basic processing information is automatically acquired by the client based on the acquisition function of the client.
Step S20, calculating a final machining position according to the actual gap, the machining position and the safe tool setting position;
in the present embodiment, after the actual gap, the machining position, and the safe tool setting position are obtained, since the simulation electrode 10 itself has the actual gap, and the safe tool setting position of the simulation electrode 10, the machining position is corrected to calculate the final machining position. Also, the above calculation process is automatically calculated by the client based on its own calculation function.
Step S30, generating a processing program at least comprising the outline dimension of the simulation electrode and the final processing position.
In the present embodiment, after the final machining position and the external dimensions of the dummy electrode 10 are obtained, a machining program including the external dimensions of the dummy electrode and the final machining position is generated based on a predetermined rule. The preset rule is a process of preprocessing the basic processing information obtained according to the client to form the code (it can be understood that the preset rule is a function of processing the basic processing information to form the code, which is built in the client), for example, the preset rule may be to encrypt the final processing position to convert the final processing position into the first code, encrypt the external dimension of the analog electrode 10 into the second code, and combine the first code and the second code into the processing program. For example, the final machining location is (12,11,13,14), the converted first code is 11AAXX; the external dimension of the analog electrode 10 is 10mm long, 5mm wide and 4mm high, and the converted second code is MNB; the generated machining program is 11AAXXMNB. When the numerical control electric spark machine receives the processing program, the processing program is decrypted based on a decryption algorithm corresponding to encryption processing pre-stored in the unlocking module so as to obtain a final processing position and an external dimension, and then the actual processing flow is correspondingly carried out according to the final processing position and the external dimension.
Therefore, a user can automatically calculate the final machining position by importing relevant basic machining information, and automatically generate a machining program containing the outline dimension of the simulation electrode and the final machining position, so that the user does not need to write the machining program, and the generation efficiency is greatly improved. And the final machining position is calculated according to the actual gap, the machining position and the safe tool setting position, so that the accuracy of the final machining position can be ensured, and the error probability of a machining program can be reduced.
Specifically, calculating the final machining position according to the actual gap, the machining position and the safe tool setting position includes: calculating a final machining position by using the first calculation formula, the second calculation formula and the third calculation formula; the first formula is x=x1+ [ (X2-X1)/(SQRT) [ (Y2-X1) + (Y2-Y1) and y+ (Z2-Z1) and the second formula is y=y1+ [ (Y2-Y1) and Y/SQRT [ (X2-X1) and the third formula is z=z1+ [ (Z2-Z1) =z1) [ (Z2-Z1) and Y/SQRT [ (X2-X1) and Y2-Y1). Wherein X is an X-axis coordinate value of a final machining position, gap represents an actual gap, X1 is an X-axis coordinate value of a machining position, Y1 is a Y-axis coordinate value of a machining position, Z1 is a Z-axis coordinate value of a machining position, X2 is an X-axis coordinate value of a safety tool setting point position, Y2 is a Y-axis coordinate value of a safety tool setting point position, and Z2 is a Z-axis coordinate value of a safety tool setting point position; y is the Y-axis coordinate value of the final processing position; z is a Z-axis coordinate value of a final machining position, SQRT represents a sign for square root calculation, and x represents a multiplication sign. Obviously, based on the consideration of the actual gap and the safe tool setting position of the analog electrode 10, the obtained coordinate values of each axis in the final machining position are more accurate relative to the coordinate values of each axis corresponding to the machining position, and the actual electrode is controlled to perform accurate machining on the actual workpiece when the electrode is applied to an electric spark numerical control machine tool.
In this embodiment, the machining position further includes a C-axis coordinate value, that is, the machining position includes a 4-axis coordinate value. For example, the machining positions are (X1, Y1, Z1, C1), the C-axis coordinate value of which is the rotation angle of the dummy spindle 30 (for example, when the C-axis coordinate value is 30 degrees, which means that the dummy spindle 30 is rotated +30 degrees from the initial position when the Z-axis direction is stationary), and the dummy spindle 30 is connected to the dummy electrode 10;
after the step of calculating the final machining position according to the actual gap, the machining position and the safe tool setting position, the method further comprises the steps of: obtaining correction information of the analog electrode according to the coordinate value of the C axis, wherein the correction information comprises an X axis correction value, a Y axis correction value and a Z axis correction value; the generating a machining program including at least the outline dimensions of the dummy electrode and the final machining position includes: a machining program including at least the external dimensions of the dummy electrode, the final machining position, and the correction information is generated.
Specifically, the mapping relationship between the correction information and the C-axis coordinate values (the mapping relationship may refer to table 1 below) is stored in the client, specifically, the number of the correction information is plural, the number of the C-axis coordinate values is plural, each correction information has a corresponding X-axis correction value, a Y-axis correction value, and a Z-axis correction value, and each correction information is matched with a corresponding C-axis coordinate value.
TABLE 1
C1 angle X correction Y correction Z correction
0 0.10 0.20 60.00
90 -0.20 0.10 60.00
180 -0.10 -0.20 60.00
270 0.20 -0.10 60.00
For example, when the obtained C-axis coordinate value is 90 degrees, the corresponding obtained correction information includes an X-axis correction value of-0.20 mm, a Y-axis correction value of 0.10mm, and a Z-axis correction value of 60mm. Accordingly, a machining program including at least the external dimension of the dummy electrode, the final machining position, and the correction information is generated. Specifically, the correction information may be encrypted to be converted into the third code, and a processing program including the first code, the second code, and the third code may be generated, thereby improving the security of the processing program during the transfer process.
In this embodiment, the basic processing information further includes a discharge area, an electrode material, and a discharge depth; after the step of obtaining the correction information of the analog electrode according to the coordinate value of the C axis, the method further comprises the following steps: obtaining processing conditions according to the actual gap, the discharge area, the electrode material and the discharge depth; the processing program for generating the correction information including at least the external dimension of the simulation electrode, the final processing position includes: a machining program including at least the external dimensions of the dummy electrode, the final machining position, the correction information, and the machining conditions is generated.
Referring to fig. 2, the discharge area represents the contact area between the dummy electrode 10 and the dummy workpiece 20, and the electrode material obtained may be carbon (the electrode material is the material identified by the client to the dummy electrode 10 in the first display interface), and the discharge depth represents the depth of the machined feature formed on the dummy workpiece 20. After the discharge area, the electrode material and the discharge depth are obtained, the three data are combined with the actual gap, that is, the three data are searched in a database of the client according to the four data as search conditions, so that corresponding processing conditions are obtained. And finally, generating a processing program at least comprising the outline dimension of the analog electrode, the final processing position, the correction information and the processing conditions, specifically, encrypting the processing conditions based on a preset rule to convert the processing conditions into a fourth code, and generating the processing program comprising the first code, the second code, the third code and the fourth code, thereby improving the safety of the processing program in the transferring process. The obtained matched machining conditions relate to the most important parts of electrode machining efficiency, machining precision and quality, so that the actual machining precision of a subsequently generated machining program when the machining program is applied to an actual machining process can be ensured.
Fig. 3 shows a method for generating a machining program of a numerical control electric discharge machine according to a second embodiment of the present application, where basic machining information further includes electrode roughness and machining surface roughness, that is, the client may also automatically obtain the electrode roughness and the machining surface roughness from the simulated electrode 10 and the simulated workpiece 20 located in the first display interface. The coarse precision of the electrode can be a coarse electrode or a fine electrode, when the coarse electrode discharges, the current can be amplified, the processing speed is high, but the processing surface is rough, and the requirement of a die cannot be met (copper common electric corrosion is consumed during discharge processing). The current of the refined electrode is smaller during processing, the processed die surface is smoother, and the patterns are smaller. And the machined surface roughness represents the surface roughness of the analog electrode 10. Specifically, the second embodiment defines a step of obtaining a processing condition according to an actual gap, a discharge area, an electrode material, and a discharge depth, which includes: step S301, a machining condition number is obtained according to the electrode material, the workpiece material and the discharge area, step S302, a starting discharge condition engineering number is obtained according to the machining condition number and the actual gap, and step S303, an ending discharge condition engineering number is obtained according to the machining condition number, the electrode coarse precision and the machining surface coarse degree. Specifically, in the second embodiment, the electrode material, the workpiece material, and the discharge area are searched in the database as search conditions, so as to obtain a processing condition number (a search result); and searching in a database by taking the actual gap and the searched processing condition number as search conditions to obtain a project number (a search result) of the condition for starting discharging; and searching in a database using the machining surface roughness, the electrode roughness precision and the searched machining condition number as search conditions to obtain a finished discharge condition engineering number (a search result). Thus, the three search results, namely the machining condition number, the project number of the condition for starting discharge and the project number of the condition for ending discharge are combined into the machining condition.
In this embodiment, after the step of obtaining the end discharge condition engineering number according to the machining condition number, the electrode roughness, and the machining surface roughness, the method further includes: step S304, a swinging mode and a processing method input by a user are obtained, and step S305, special parameters are obtained according to the swinging mode, the processing method, the discharge area, the electrode material and the discharge depth; the step of generating a machining program including at least the external dimensions, the final machining position, the correction information, and the machining conditions of the dummy electrode includes: step S306, a processing program containing at least the external dimension of the simulation electrode, the final processing position, the correction information, the processing condition and the special parameters is generated. Specifically, referring to fig. 4, a rocking mode and a machining method input by a user are received on a second display interface (one interface covering the first display interface), the rocking mode generally has square rocking or square running, the machining method generally has one-time machining or multiple-time machining, and after the rocking mode and the machining method are obtained, the rocking mode, the machining method, the discharge area, the electrode material and the discharge depth are searched in a database as search conditions, so as to obtain a specific parameter (a search result). The processing program at least comprising the outline dimension of the analog electrode, the final processing position, the correction information, the processing condition and the special parameter is generated, correspondingly, the special parameter can be encrypted based on the preset rule to be converted into the fifth code, and the processing program comprising the first code, the second code, the third code, the fourth code and the fifth code is generated, so that the safety of the processing program in the transferring process is improved. Referring to fig. 5, the finally generated machining program may refer to a first code, a second code, a third code M1, a fourth code M2 and a fifth code M3, where the fourth code M2 includes a code number M21 corresponding to a machining condition number, a code number M22 corresponding to a project number of a start discharge condition, and a code number M23 corresponding to a project number of an end discharge condition; the machining program may further include a sixth code M4 and a seventh code M5, wherein the sixth code M4 is a code corresponding to the machining method, and the seventh code M5 is a code corresponding to the wobble method. After generating the machining program, the client receives target address information input by a user and sends the generated machining program to the numerical control electric discharge machine corresponding to the target address information.
Fig. 6 shows an electronic device according to a third embodiment of the present application, which can be used to implement the method for generating a numerical control electric discharge machine machining program according to any of the foregoing embodiments. The electronic device includes:
memory 601, processor 602, bus 603, and a computer program stored on memory 601 and executable on processor 602, the memory 601 and processor 602 being connected by bus 603. When the processor 602 executes the computer program, the numerical control Electric Discharge Machine (EDM) machining program generating method in the foregoing embodiment is realized. Wherein the number of processors may be one or more.
The memory 601 may be a high-speed random access memory (RAM, random Access Memory) memory or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 601 is used for storing executable program codes and the processor 602 is coupled to the memory 601.
Further, the embodiment of the present application also provides a computer readable storage medium, which may be provided in the electronic device in each of the above embodiments, and the computer readable storage medium may be a memory.
The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of measuring bioelectrical impedance of a human body in the foregoing embodiment. Further, the computer-readable medium may be any medium capable of storing a program code, such as a usb (universal serial bus), a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a readable storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned readable storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A method for generating a machining program for a numerical control electric discharge machine, the method comprising:
basic processing information of the simulation electrode is obtained; the basic machining information comprises an overall dimension, an actual gap, a machining position and a safe tool setting point position;
calculating a final machining position by using the first calculation formula, the second calculation formula and the third calculation formula;
wherein, the first calculation formula is: x=x1+ [ (X2-X1) ×gap/SQRT [ (X2-X1) + (Y2-Y1) for x+ (Z2-Z1) for X is the X-axis coordinate value of the final machining position, gap is the actual gap, X1 is the X-axis coordinate value of the machining position, Y1 is the Y-axis coordinate value of the machining position, Z1 is the Z-axis coordinate value of the machining position, X2 is the X-axis coordinate value of the safety clearance point position, Y2 is the Y-axis coordinate value of the safety clearance point position, Z2 is the Z-axis coordinate value of the safety clearance point position;
the second calculation formula is as follows: y=y1+ [ (Y2-Y1) ×gap/SQRT [ (X2-X1) for + (Y2-Y1) for + (Z2-Z1) for Y is the Y-axis coordinate value of the final machining location;
the third calculation formula is as follows: Z=Z1+ [ (Z2-Z1)/(X2-X1) gap/SQRT [ (X2-X1) inclusive+ (Y2-Y1) inclusive+ (Z2-Z1) inclusive ], Z being the Z-axis coordinate value of the final machining location;
generating a machining program including at least the external dimensions of the dummy electrode and the final machining position.
2. The method of generating a machining program for a numerical control electric discharge machine according to claim 1, further comprising, before the step of acquiring basic machining information of the simulation electrode:
displaying a simulation electrode and a simulation workpiece in a first display interface of the terminal according to file information imported by a user;
and controlling the simulation electrode to process the simulation workpiece according to an operation instruction input by a user, wherein processing characteristics matched with the outline dimension of the simulation electrode are generated on the simulation workpiece.
3. The method of generating a machining program for a numerical control electric discharge machine according to claim 1, wherein the machining position further includes a C-axis coordinate value, the C-axis coordinate value being a rotation angle of a simulation spindle, the simulation spindle being connected to the simulation electrode;
after the step of calculating the final machining position according to the actual gap, the machining position and the safe tool setting position, the method further comprises the following steps:
obtaining correction information of the analog electrode according to the C-axis coordinate value, wherein the correction information comprises an X-axis correction value, a Y-axis correction value and a Z-axis correction value;
the step of generating a machining program including at least the external dimensions of the dummy electrode and the final machining position includes:
a machining program including at least the external dimensions, the final machining position, and the correction information of the dummy electrode is generated.
4. The method of generating a numerical control electric discharge machine tool machining program according to claim 3, wherein the basic machining information further includes a discharge area, an electrode material, and a discharge depth;
after the step of obtaining the correction information of the analog electrode according to the C-axis coordinate value, the method further comprises:
obtaining processing conditions according to the actual gap, the discharge area, the electrode material and the discharge depth;
the processing program for generating the correction information including at least the external dimension, the final processing position and the correction information of the simulation electrode includes:
a machining program including at least the external dimensions of the dummy electrode, the final machining position, correction information, and machining conditions is generated.
5. The method of generating a machining program for a numerical control electric discharge machine according to claim 4, wherein the basic machining information further includes an electrode roughness and a machining surface roughness;
the step of obtaining processing conditions according to the actual gap, the discharge area, the electrode material and the discharge depth comprises the following steps:
obtaining a machining condition number according to the electrode material, the workpiece material and the discharge area;
obtaining a project number of a condition for starting discharge according to the processing condition number and the actual gap;
obtaining an end discharge condition engineering number according to the machining condition number, the electrode coarse precision and the machining surface coarse degree;
wherein, the processing condition number, the starting discharge condition engineering number and the ending discharge condition engineering number form the processing condition.
6. The method of generating a machining program for a numerical control electric discharge machine according to claim 5, further comprising, after said step of obtaining an end discharge condition pattern based on said machining condition number, electrode roughness, and machining surface roughness:
acquiring a swinging mode and a processing method input by a user;
obtaining special parameters according to the swinging mode, the processing method, the discharge area, the electrode material and the discharge depth;
the processing program for generating the processing program including at least the external dimension of the simulation electrode, the final processing position, the correction information and the processing conditions includes:
generating a machining program containing at least the external dimensions of the simulation electrode, the final machining position, the correction information, the machining conditions and the special parameters.
7. The numerical control electric discharge machine machining program generation method according to any one of claims 1 to 6, further comprising the steps of:
receiving target address information input by a user;
and uploading the processing program to a numerical control electric spark machine tool corresponding to the target address information.
8. An electronic device is characterized by comprising a memory, a processor and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is used for executing the computer program stored on the memory;
the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 7.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202111093118.XA 2021-09-17 2021-09-17 Numerical control electric spark machine tool machining program generation method, device and storage medium Active CN113779731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111093118.XA CN113779731B (en) 2021-09-17 2021-09-17 Numerical control electric spark machine tool machining program generation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111093118.XA CN113779731B (en) 2021-09-17 2021-09-17 Numerical control electric spark machine tool machining program generation method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113779731A CN113779731A (en) 2021-12-10
CN113779731B true CN113779731B (en) 2023-08-11

Family

ID=78852185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111093118.XA Active CN113779731B (en) 2021-09-17 2021-09-17 Numerical control electric spark machine tool machining program generation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113779731B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114511051B (en) * 2022-01-18 2023-08-01 深圳模德宝科技有限公司 Data processing method, device, terminal and medium for electrode processing in numerical control lathe

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003291033A (en) * 2002-04-02 2003-10-14 Sodick Co Ltd Method for creating numerical control program and numerical control electrical discharge machining device
CN101308375A (en) * 2008-07-16 2008-11-19 四川普什宁江机床有限公司 Numerical control longitudinal cutting machine tool machining program simulated realization method and its system
JP2015188993A (en) * 2014-03-28 2015-11-02 三菱重工業株式会社 Gear processing evaluation method, gear, gear processing management device, and gear processing apparatus
CN109986152A (en) * 2017-12-29 2019-07-09 沈阳高精数控智能技术股份有限公司 Numerical control device and its control method for spark erosion equipment
CN110096033A (en) * 2019-05-09 2019-08-06 江苏南高智能装备创新中心有限公司 A method of check and correction numerical control program precision
CN111468794A (en) * 2020-05-21 2020-07-31 武汉益模科技股份有限公司 Method for generating program outside spark machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700478A (en) * 2014-11-26 2016-06-22 沈阳机床(集团)设计研究院有限公司上海分公司 System and method for generating processing control data of numerical control machine tool

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003291033A (en) * 2002-04-02 2003-10-14 Sodick Co Ltd Method for creating numerical control program and numerical control electrical discharge machining device
CN101308375A (en) * 2008-07-16 2008-11-19 四川普什宁江机床有限公司 Numerical control longitudinal cutting machine tool machining program simulated realization method and its system
JP2015188993A (en) * 2014-03-28 2015-11-02 三菱重工業株式会社 Gear processing evaluation method, gear, gear processing management device, and gear processing apparatus
CN109986152A (en) * 2017-12-29 2019-07-09 沈阳高精数控智能技术股份有限公司 Numerical control device and its control method for spark erosion equipment
CN110096033A (en) * 2019-05-09 2019-08-06 江苏南高智能装备创新中心有限公司 A method of check and correction numerical control program precision
CN111468794A (en) * 2020-05-21 2020-07-31 武汉益模科技股份有限公司 Method for generating program outside spark machine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电火花线切割机床运动控制系统研究;李朝辉;《中国优秀硕士学位论文全文数据库工程科技Ⅰ辑》(第1期);B022-701 *

Also Published As

Publication number Publication date
CN113779731A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN108907900B (en) A kind of solid end mill grooving method based on digital figure scanning
Werner Method for enhanced accuracy in machining curvilinear profiles on wire-cut electrical discharge machines
CN113779731B (en) Numerical control electric spark machine tool machining program generation method, device and storage medium
JP5436733B1 (en) Numerical control machining program creation device
JP2000112511A (en) Nc processing method for component during process
CN114918747B (en) Method and device for grinding rear cutter surface of three-edge milling cutter and computer equipment
Barari Inspection of the machined surfaces using manufacturing data
JP4431880B2 (en) NC post processor for multi-axis numerical controller
Guan et al. An improved positioning method for flank milling of S-shaped test piece
CN106017326B (en) Gantry drilling lathe positional accuracy evaluation method
Swornowski A new concept of continuous measurement and error correction in Coordinate Measuring Technique using a PC
CN112536643B (en) Machine health monitoring method and device and computer readable storage medium
CN110083870B (en) Method and device for evaluating abrasion of bottom edge of cylindrical vertical milling cutter and storage medium
CN113196193A (en) Method and apparatus for managing robot program
CN107914182A (en) CNC bloom presetting cutter methods
OuYang et al. Determining gouge-free ball-end mills for 3D surface machining from point cloud data
CN113649668B (en) Workpiece template point cloud generation method and device, computer and storage medium
CN114905341A (en) Method and device for grinding front face of three-edge milling cutter and computer equipment
JP2005202792A (en) Tool height calculation device, calculation method therefor, and program
JPH0981221A (en) Nc data preparing device and its correction data preparing method
JP5411657B2 (en) Machining simulation apparatus, machining simulation method, program, recording medium
EP1116078B1 (en) Process and system for working a workpiece through numerically controlled machine tools
CN115446674B (en) Method and device for grinding rear cutter surface of inner R milling cutter, numerical control machine and storage medium
JP2002005654A (en) Measuring method for error in tooth plane of bevel bear
CN115401536B (en) Reamer grinding method, reamer grinding device, numerical control machine, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant