CN110457846B - Electric spark machining parameter generation method and device, electronic equipment and storage medium - Google Patents

Electric spark machining parameter generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110457846B
CN110457846B CN201910762550.XA CN201910762550A CN110457846B CN 110457846 B CN110457846 B CN 110457846B CN 201910762550 A CN201910762550 A CN 201910762550A CN 110457846 B CN110457846 B CN 110457846B
Authority
CN
China
Prior art keywords
dimensional model
processing
determining
electrode
parameters
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
CN201910762550.XA
Other languages
Chinese (zh)
Other versions
CN110457846A (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.)
Guangdong Shangding Intelligent Equipment Co ltd
Original Assignee
Guangdong Shangding Intelligent Equipment 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 Guangdong Shangding Intelligent Equipment Co ltd filed Critical Guangdong Shangding Intelligent Equipment Co ltd
Priority to CN201910762550.XA priority Critical patent/CN110457846B/en
Publication of CN110457846A publication Critical patent/CN110457846A/en
Application granted granted Critical
Publication of CN110457846B publication Critical patent/CN110457846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Abstract

The application provides a method, a device, electronic equipment and a storage medium for generating electric spark machining parameters, wherein the method comprises the steps of obtaining an electrode three-dimensional model, a workpiece three-dimensional model, a machining starting point and a machining end point; controlling the electrode three-dimensional model and the workpiece three-dimensional model to move relatively along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete the process simulation of electric spark processing; and determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model.

Description

Electric spark machining parameter generation method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of electric spark machining, in particular to an electric spark machining parameter generation method, an electric spark machining parameter generation device, electronic equipment and a storage medium.
Background
The electric discharge machining is a method of machining a workpiece by an electric erosion action of a pulse discharge between an electrode and the workpiece in a certain medium. When electric spark processing is carried out, the electrode and the workpiece are respectively connected with two poles of a pulse power supply and immersed in working fluid or the working fluid is charged into a discharge gap. And the electrode is controlled to feed the workpiece through the automatic gap control system, and when the gap between the electrode and the workpiece reaches a certain distance, the pulse voltage applied to the electrode and the workpiece breaks down the working solution to generate spark discharge.
At present, the electrode shape, the type and the size of the electrode to be processed in the conventional electric spark processing are different and almost no electrode is the same, so that most of the processing parameters of the electric spark processing need to be manually modified, and the processing parameters are modified according to the experience of operators, so that the processing parameters of an electric spark processing machine tool are inaccurate and the processing time cannot be predicted.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for generating electric spark machining parameters, electronic equipment and a storage medium, which are used for solving the problem of inaccurate machining parameters of the conventional electric spark machining.
In order to achieve the above purpose, the present application provides the following technical solutions:
first aspect: the application provides a method for generating electric spark machining parameters, which comprises the following steps: acquiring an electrode three-dimensional model, a workpiece three-dimensional model, a processing starting point and a processing end point; controlling the electrode three-dimensional model and the workpiece three-dimensional model to move relatively along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete the process simulation of electric spark processing; and determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model.
In the scheme, the electric spark machining process is simulated through the three-dimensional model, the machining parameters of the electric spark machining are determined according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model, the problems of inaccurate artificial prediction of the machining parameters and low precision in the prior art are solved, the electric spark machining process is simulated through the three-dimensional pattern, and the machining parameters of the electric spark machining are determined according to the parameters of the intersecting part, so that the whole machining process is always in an optimal parameter state.
In an optional implementation manner of the first aspect, the determining the machining parameter of the electric spark machining according to the intersecting part parameter of the electrode three-dimensional model and the workpiece three-dimensional model includes: calculating the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting; and determining at least one of current, high voltage, low voltage, clearance, cutter lifting speed, cutter lifting acceleration and working hours in the processing parameters according to the contact area.
In the above designed implementation mode, according to the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting, at least one of current, high voltage, low voltage, clearance, cutter lifting speed, cutter lifting acceleration and working hours in the processing parameters is determined according to the contact area, so that the whole processing process is always in an optimal parameter state, and the accuracy of the processing parameters of electric spark processing is improved.
In an optional implementation manner of the first aspect, the calculating a contact area after the electrode three-dimensional model intersects with the workpiece three-dimensional model includes: calculating the sum of the surface area of the electrode three-dimensional model and the surface area of the workpiece three-dimensional model, and marking the sum as a first surface area; calculating the surface area of the complex body which is intersected with the workpiece three-dimensional model according to the electrode three-dimensional model, and marking the surface area as a second surface area; and determining the difference between the first surface area and the second surface area as the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting.
In the designed embodiment, the contact area is determined according to the difference between the surface areas before and after the electrode three-dimensional model and the workpiece three-dimensional model, so that the contact area data is more accurate, and the obtained processing parameters are more accurate.
In an optional implementation manner of the first aspect, before the determining the current in the processing parameter according to the contact area, the method further includes: acquiring electrode materials, workpiece materials and electrode scaling amounts; the determining the current in the processing parameter according to the contact area comprises: determining a corresponding maximum current per unit area according to the electrode material and the workpiece material; determining a maximum processing current in the processing parameters according to the electrode scaling amount; if the product of the contact area and the maximum current per unit area is larger than the maximum processing current, determining the current in the processing parameter as the maximum processing current; and if the product of the contact area and the maximum current in unit area is not more than the maximum processing current, determining that the current in the processing parameter is the product of the contact area and the maximum current in unit area.
In the embodiment of the design, the current is determined according to the contact area, so that the accuracy of the processing parameters is improved.
In an optional implementation manner of the first aspect, the determining the machining parameter of the electric spark machining according to the intersecting part parameter of the electrode three-dimensional model and the workpiece three-dimensional model further includes: and determining the corresponding polarity in the processing parameters according to the electrode three-dimensional model and the electrode material.
In an optional implementation manner of the first aspect, the determining at least one of the current, the high voltage, the low voltage, the gap, the tool lifting speed, the tool lifting acceleration, and the man-hour in the machining parameters according to the contact area includes: inquiring preset corresponding relation data of the high pressure and the contact area according to the contact area, and determining the corresponding high pressure in the processing parameters; inquiring preset corresponding relation data of low pressure and contact area according to the contact area, and determining corresponding low pressure in the processing parameters; inquiring corresponding relation data of a preset gap and a contact area according to the contact area, and determining a corresponding gap in the processing parameters; inquiring preset corresponding relation data of the cutter lifting speed and the contact area according to the contact area, and determining the corresponding cutter lifting speed in the processing parameters; inquiring preset corresponding relation data of the cutter lifting acceleration and the contact area according to the contact area, and determining the corresponding cutter lifting acceleration in the processing parameters; and inquiring corresponding relation data of preset working hours and contact areas according to the contact areas, and determining the corresponding working hours in the processing parameters.
In the embodiment of the design, the processing parameters corresponding to different contact areas preset in the database are queried according to the contact areas, so that the optimal processing parameters can be determined more conveniently and rapidly, and the accuracy is improved.
In an optional implementation manner of the first aspect, the determining the machining parameter of the electric spark machining according to the intersecting part parameter of the electrode three-dimensional model and the workpiece three-dimensional model includes: according to the corresponding relation data of the preset current and the processing speed, determining the processing speed corresponding to the current; calculating the machining volume of the electrode three-dimensional model intersected with the workpiece three-dimensional model; determining corresponding processing time according to the processing volume and the processing speed; determining a final machining volume according to the electrode three-dimensional model, the workpiece three-dimensional model, the machining starting point and the machining end point; the processing volume is zero at the processing start point and is the final processing volume at the processing end point; and accumulating the corresponding machining time in the process from zero to the final machining volume to obtain the machining completion time of the electric spark machining.
In the above-designed embodiment, the machining time required for the electric discharge machining may also be predicted in advance.
In an alternative embodiment of the first aspect, the calculating the machining volume after the electrode three-dimensional model intersects the workpiece three-dimensional model includes: calculating the sum of the volume of the electrode three-dimensional model and the volume of the workpiece three-dimensional model, and marking the sum as a first volume; calculating the volume of the complex body which is intersected with the three-dimensional model of the workpiece according to the three-dimensional model of the electrode, and marking the volume as a second volume; the difference between the first volume and the second volume is determined as a machining volume after the electrode three-dimensional model intersects the workpiece three-dimensional model.
In the designed embodiment, the processing volume is determined according to the difference between the volumes before and after the electrode three-dimensional model and the workpiece three-dimensional model, so that the processing volume data is more accurate, and the obtained processing completion time is more accurate.
In an optional implementation manner of the first aspect, the determining the machining parameter of the electric spark machining according to the intersecting part parameter of the electrode three-dimensional model and the workpiece three-dimensional model includes: calculating the projection area of the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model on a plane; wherein the plane is perpendicular to the processing track and passes through the processing end point; calculating the distance between the current processing point and the processing starting point of the intersection part; determining a depth-to-diameter ratio according to the ratio of the distance to the projection area; determining at least one of pulse width, pulse rest and liquid flushing mode in the processing parameters according to the depth-to-diameter ratio; and determining the cutter lifting height in the processing parameters according to the product of the distance and the projection area.
In the embodiment of the design, part of the processing parameters are determined according to the projection area and the processing distance, so that the processing parameter data are more accurate.
In an optional implementation manner of the first aspect, the determining at least one of a pulse width, a pulse rest and a flushing mode of the processing parameter according to the depth-to-diameter ratio includes: inquiring corresponding relation data of preset pulse width and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse width in the processing parameters; inquiring corresponding relation data of preset pulse rest and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse rest in the processing parameters; inquiring corresponding relation data of a preset flushing mode and a preset depth-diameter ratio according to the depth-diameter ratio, and determining a corresponding flushing mode in the processing parameters; the determining the height of the cutter lifting in the processing parameters according to the product of the distance and the projection area comprises the following steps: and inquiring corresponding relation data of the preset distance and the product of the projection area and the cutter lifting height according to the product of the distance and the projection area, and determining the corresponding cutter lifting height in the processing parameters.
In an optional implementation manner of the first aspect, the determining the machining parameter of the electric spark machining according to the intersecting part parameter of the electrode three-dimensional model and the workpiece three-dimensional model includes: and in the process of the electrode three-dimensional model from the processing starting point to the processing end point, obtaining and storing all processing parameters of the electric spark processing according to the intersection part parameters of the electrode three-dimensional model and the workpiece three-dimensional model.
In the designed embodiment, all machining parameters of the electric spark machining can be obtained through the machining parameters determined by the parameters of the intersecting part in the process from the machining starting point to the machining end point, so that the electric spark machining is correspondingly controlled, the whole machining process is always in an optimal parameter state, the parameters do not need to be manually modified, the requirements on personnel are low, and the electric spark machining experience is hardly needed.
Second aspect: the application provides an electric spark machining parameter generating device, which comprises: the model acquisition module is used for acquiring an electrode three-dimensional model, a workpiece three-dimensional model, a processing starting point and a processing end point; the process simulation module is used for controlling the electrode three-dimensional model and the workpiece three-dimensional model to relatively move along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete process simulation of electric spark processing; and the parameter generation module is used for determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model.
In the designed implementation mode, the electric spark machining process is simulated through the three-dimensional model, the machining parameters of the electric spark machining are determined according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model, the problems of inaccurate artificial prediction of the machining parameters and low precision in the prior art are solved, the electric spark machining process is simulated through the three-dimensional pattern, and the machining parameters of the electric spark machining are determined according to the parameters of the intersecting part, so that the whole machining process is always in an optimal parameter state.
Third aspect: the application also provides an electronic device, comprising: a processor, a memory coupled to the processor, the memory storing a computer program that when executed by the computing device, the processor executes to perform the method of the first aspect, any of the alternative implementations of the first aspect.
Fourth aspect: the present application provides a non-transitory readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect, any optional implementation of the first aspect.
Fifth aspect: the present application provides a computer program product which, when run on a computer, causes the computer to perform the method as described in any of the alternative implementations of the first aspect.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first flowchart of an electrical discharge machining parameter generation method according to a first embodiment of the present application;
FIG. 2 is a second flowchart of the method for generating electrical discharge machining parameters according to the first embodiment of the present application;
FIG. 3 is a third flowchart of a method for generating electrical discharge machining parameters according to the first embodiment of the present application;
FIG. 4 is a fourth flowchart of a method for generating electrical discharge machining parameters according to the first embodiment of the present application;
FIG. 5 is a fifth flowchart of an electric discharge machining parameter generating method according to the first embodiment of the present application;
FIG. 6 is a sixth flowchart of a method for generating electrical discharge machining parameters according to the first embodiment of the present application;
FIG. 7 is a schematic structural diagram of an electrical discharge machining parameter generating apparatus according to a second embodiment of the present application;
Fig. 8 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
First embodiment
As shown in fig. 1, the application provides a method for generating electric spark machining parameters, which specifically comprises the following steps:
step S100, acquiring an electrode three-dimensional model, a workpiece three-dimensional model, a processing starting point and a processing end point;
step 200, controlling the electrode three-dimensional model and the workpiece three-dimensional model to move relatively along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete the process simulation of electric spark processing;
and step S300, determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model.
In step S100, the electrode three-dimensional model, the workpiece three-dimensional model, the processing start point and the processing end point may be modeled according to the sizes of the electrode and the workpiece for actual electric discharge machining, so as to obtain the corresponding electrode three-dimensional model and workpiece three-dimensional model. The machining start point and the machining end point of the electric discharge machining can be obtained in accordance with the actual electric discharge machining requirements. In practical application, the three-dimensional model and the processing requirement directly sent by a user can be obtained, so that the electrode three-dimensional model, the workpiece three-dimensional model, the processing starting point and the processing end point are obtained. Of course, a corresponding three-dimensional model can be generated according to the actual sizes of the electrode to be processed by electric spark and the workpiece, and then a processing starting point and a processing end point can be obtained according to processing requirements. Since the machining is not started in the moving process when the electrode three-dimensional model and the workpiece three-dimensional model are not contacted, the machining parameters are meaningless, and the machining starting point in the embodiment is a coordinate point when the electrode three-dimensional model and the workpiece three-dimensional model are initially contacted. Correspondingly, the machining end point refers to a coordinate point of the end point when the electrode three-dimensional model performs electric spark machining on the workpiece three-dimensional model to finally meet the machining requirement.
In step S200, according to the processing track formed by the processing start point and the processing end point, the electrode three-dimensional model and the workpiece three-dimensional model are controlled to relatively move along the processing track so as to complete the process simulation of electric spark processing. The embodiment of the application simulates the whole electric spark machining process by using a three-dimensional pattern through a computer, and controls the relative movement of the electrode three-dimensional model and the workpiece three-dimensional model to move from a machining start point to a machining end point, thereby completing the electric spark machining process simulation. It should be noted that, the relative movement of the electrode three-dimensional model and the workpiece three-dimensional model may be that the workpiece three-dimensional model is stationary, and the electrode three-dimensional model is moved; the electrode three-dimensional model can be fixed and the workpiece three-dimensional model can be moved; of course, the electrode three-dimensional model and the workpiece three-dimensional model can be moved simultaneously. In practical applications, the workpiece is typically held stationary and the electrode is moved.
In step S300, processing parameters of the electric discharge processing are determined according to parameters of an intersecting portion of the electrode three-dimensional model and the workpiece three-dimensional model. Specifically, the main processing parameters in the electric discharge machining are as follows: current, pulse width, pulse rest width, high voltage and low voltage in high and low voltage combination, gap between electrode and workpiece, knife lifting height, knife lifting speed, knife lifting acceleration, working hours, liquid flushing mode, polarity and the like. Man-hours are the time of each discharge of the electrode. The liquid flushing mode specifically comprises a soaking mode, a liquid flushing mode and a soaking and liquid flushing mode. The polarities include positive and negative polarities. These machining parameters are common machining parameters in electric discharge machining, which are not explained here too much and which need to be set during machining. As the electrode three-dimensional model moves from the machining start point to the machining end point, the electrode three-dimensional model gradually advances into the workpiece three-dimensional model, and the machining parameters in electric spark machining are closely related to the size and shape of the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model.
In the prior art, the machining parameters are set by artificial experience, but the embodiment of the application is determined by adopting the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model, and the machining parameters of the electric spark machining are determined according to the parameters of the intersecting part by simulating the electric spark machining process through the three-dimensional pattern, so that the problems of inaccurate artificial prediction of the machining parameters and low precision in the prior art are solved, and the whole machining process can be always in an optimal parameter state.
In an alternative implementation manner of this embodiment, determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model in step S300, as shown in fig. 2, specifically includes:
step S310, calculating the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting;
step S320, determining at least one of current, high voltage, low voltage, gap, cutter lifting speed, cutter lifting acceleration and man-hour in the processing parameters according to the contact area.
The foregoing description of step S300 has explained that the machining parameters of the electric discharge machining are determined based on the parameters of the intersecting portions of the electrode three-dimensional model and the workpiece three-dimensional model. In step S310, the contact area between the electrode three-dimensional model and the workpiece three-dimensional model after intersection is determined according to the parameters of the intersection portion between the electrode three-dimensional model and the workpiece three-dimensional model. At least one of the current, high voltage, low voltage, clearance, cutter lifting speed, cutter lifting acceleration and man-hour of the machining parameters can then be determined based on the contact area. The parameters are related to the contact area between the electrode three-dimensional model and the workpiece three-dimensional model, and because the principle of actual electric spark machining is electric discharge for electric erosion, the contact area between the electrode three-dimensional model and the workpiece three-dimensional model is obviously related to parameters such as current, voltage and the like.
In an alternative implementation manner of this embodiment, the calculating, in step S310, the contact area after the electrode three-dimensional model intersects with the workpiece three-dimensional model, as shown in fig. 3, specifically includes:
s311, calculating the sum of the surface area of the electrode three-dimensional model and the surface area of the workpiece three-dimensional model, and marking the sum as a first surface area;
s312, calculating the surface area of the complex body which is intersected with the workpiece three-dimensional model according to the electrode three-dimensional model, and marking the surface area as a second surface area;
s313, determining the difference between the first surface area and the second surface area as the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting.
Specifically, there are various algorithms for determining the contact area, and the present embodiment adopts the algorithm that gives consideration to both the calculation speed and the accuracy of the result as described above to determine the contact area. In the application, for the convenience of calculation and the quick acquisition of high-accuracy processing parameters, the intersecting of the electrode and the workpiece is approximately regarded as forming a combination, and the discharge working area of the electrode and the workpiece during electric spark processing is regarded as the contact area.
The corresponding surface area S can be obtained from the three-dimensional model of the electrode before contact, or before processing d According to the surface area S of the three-dimensional model of the workpiece g Contact area S at this time J Zero. The electrode three-dimensional model and the workpiece three-dimensional model are obtained after intersecting along the set processing track relative motionThree-dimensional graph of complex as volume S of new graph t This can calculate S from the corresponding three-dimensional pattern t . Then after crossing, electric spark machining is started, contact area S J =S d+ S g -S t
In an alternative implementation of the present embodiment, before the determining the current in the processing parameter according to the contact area, the method further includes:
acquiring electrode materials, workpiece materials and electrode scaling amounts;
the determining the current in the processing parameter according to the contact area comprises:
determining a corresponding maximum current per unit area according to the electrode material and the workpiece material; determining a maximum processing current in the processing parameters according to the electrode scaling amount;
if the product of the contact area and the maximum current per unit area is larger than the maximum processing current, determining the current in the processing parameter as the maximum processing current;
and if the product of the contact area and the maximum current in unit area is not more than the maximum processing current, determining that the current in the processing parameter is the product of the contact area and the maximum current in unit area.
After the contact area is obtained in step S310, embodiments of the present application may determine the current in the processing parameters according to the contact area. Specifically, because the material characteristics of different electrode materials and different workpiece materials are different, the corresponding upper limits of the bearing currents are different, the embodiment of the application can determine the corresponding maximum current in unit area according to the electrode materials and the workpiece materials, and in practical application, a database can be queried according to the obtained electrode materials and the workpiece materials, and the maximum current in unit area corresponding to the different electrode materials and the different workpiece materials is stored in the database. The maximum processing current in the processing parameter is also determined according to the electrode scaling, and the electrode scaling is a term of the prior art, which is not explained herein too much, for example, a database may be queried according to the obtained electrode scaling, and the database stores the maximum processing currents corresponding to different electrode scaling.
In practical application, the maximum current J per unit area of the conductor can be known according to the given materials of the electrode and the workpiece, and the maximum processing current A used in the current processing can be known according to the electrode scaling quantity given by a user max . The electrode scaling is proportional to the current, and the maximum current corresponding to different electrode scaling can be measured through a processing test. If the contact area S J Product S of maximum current J per unit area J * J is greater than the maximum processing current A max Determining the current A in the processing parameters as the maximum processing current A max The method comprises the steps of carrying out a first treatment on the surface of the If the contact area S J Product S of maximum current J per unit area J * J is not greater than the maximum processing current A max Determining the current A in the processing parameter as the product S of the contact area and the maximum current per unit area J * J. That is, if S J *J≤A max When the current a=s J * J; when S is J *J>A max When the current a=a max
In an optional implementation manner of this embodiment, the determining the machining parameter of the electric spark machining according to the parameter of the intersecting portion of the electrode three-dimensional model and the workpiece three-dimensional model further includes: and determining the corresponding polarity in the processing parameters according to the electrode three-dimensional model and the electrode material. In practical applications, the choice of polarity is mainly related to the electrode and the material. After the electrode three-dimensional model and electrode material are obtained, the polarity in the machining parameters of the electric discharge machining can be determined according to the electrode and the electrode material.
In an optional implementation manner of this embodiment, the determining at least one of the high pressure, the low pressure, the gap, the tool lifting speed, the tool lifting acceleration, and the man-hour of the machining parameters according to the contact area includes: inquiring preset corresponding relation data of the high pressure and the contact area according to the contact area, and determining the corresponding high pressure in the processing parameters; inquiring preset corresponding relation data of low pressure and contact area according to the contact area, and determining corresponding low pressure in the processing parameters; inquiring corresponding relation data of a preset gap and a contact area according to the contact area, and determining a corresponding gap in the processing parameters; inquiring preset corresponding relation data of the cutter lifting speed and the contact area according to the contact area, and determining the corresponding cutter lifting speed in the processing parameters; inquiring preset corresponding relation data of the cutter lifting acceleration and the contact area according to the contact area, and determining the corresponding cutter lifting acceleration in the processing parameters; and inquiring corresponding relation data of preset working hours and contact areas according to the contact areas, and determining the corresponding working hours in the processing parameters.
Specifically, after the contact area is calculated in the foregoing steps, a database may be queried, where the database stores relationship data of corresponding part of the processing parameters for different contact areas. In practical application, the database stores a preset high-voltage relation table corresponding to different contact areas, so that the database can be queried after the contact area is calculated, and the high-voltage corresponding to the current contact area is obtained. Because the electrode and the workpiece have small distance during processing, a capacitor is formed between the electrode and the workpiece, and in order to ensure that the processing is stable and the processing surface is uniform and fine, the smaller the charge quantity between the electrode and the workpiece is, the more beneficial is, and meanwhile, the processing efficiency is considered, because a certain high voltage is beneficial to improving the processing efficiency. Can be measured through processing tests, and various contact areas S J Corresponding optimum high voltage V H When the contact area is too large, the high voltage must be turned off. Similarly, the database stores a low-voltage relation table corresponding to different preset contact areas, namely different contact areas S J Corresponding optimum low pressure V L
The database also stores gaps T corresponding to different contact areas W Relation table of (a) gap T W With contact area S J Associated with contact area S J The larger the gap T W The larger the setting, the more advantageous and workable. The database also stores a relation table of the knife lifting speeds corresponding to different contact areas, and the contact area S is provided with suction force in the knife lifting process due to the small distance between the electrode and the workpiece J The larger the size of the container,the greater the suction. The database also stores the knife lifting acceleration A corresponding to different contact areas CC Relation table of (a) knife lifting acceleration A CC With contact area S J Inversely proportional. Contact area S J Smaller the blade lifting acceleration A CC The larger should be set. The database also stores a relation table of working hours T corresponding to different contact areas, wherein the working hours refer to the time of each discharge of the electrode. Working time T and contact area S J Associated with contact area S J The larger the man-hour T is, the larger it is.
In an alternative implementation manner of this embodiment, step S300 determines the machining parameters of the electric spark machining according to the parameters of the intersecting portion of the electrode three-dimensional model and the workpiece three-dimensional model, as shown in fig. 4, and further includes:
step S330, according to the corresponding relation data of the preset current and the processing speed, determining the processing speed corresponding to the current;
step S340, calculating a machining volume after the electrode three-dimensional model and the workpiece three-dimensional model are intersected;
Step S350, determining corresponding processing time according to the processing volume and the processing speed;
step S360, determining a final processing volume according to the electrode three-dimensional model, the workpiece three-dimensional model, the processing starting point and the processing end point;
step S370, the processing volume is zero at the processing starting point, and the processing volume is the final processing volume at the processing end point; and accumulating the corresponding machining time in the process from zero to the final machining volume to obtain the machining completion time of the electric spark machining.
In this embodiment, the machining completion time of the electric spark machining may be further predicted, specifically, in step S320, the current in the machining parameters may be determined, and then a database is queried according to the current, where the database stores preset correspondence data between the current and the machining speed, so as to obtain the machining speed corresponding to the current. The unit of processing speed may be volume per second, i.e. how much volume per second can be processed at the present current. And then, obtaining corresponding processing time according to the change of the processing volume after the current electrode three-dimensional model and the workpiece three-dimensional model are intersected. And finally, accumulating all time spent in the process from zero when machining is started to the final machining volume when machining is finished to obtain the machining completion time of electric spark machining, so that an operator can predict the required machining time during actual electric spark machining.
Specifically, the machining starting point is a point when the electrode three-dimensional model and the workpiece three-dimensional model are initially contacted, and the machining end point is a final machining point of an intersection part when the electrode three-dimensional model and the workpiece three-dimensional model finish electric spark machining. And determining the final machining volume, namely the final volume of the electrode to be machined on the workpiece, according to the electrode three-dimensional model, the workpiece three-dimensional model, the machining starting point and the machining end point. The processing volume of the present embodiment is zero at the processing start point and is the final processing volume at the processing end point; and accumulating all the machining time in the process to obtain the machining completion time of electric spark machining.
In an alternative implementation of the present embodiment, the calculating the processing volume after the electrode three-dimensional model intersects with the workpiece three-dimensional model in step S340, as shown in fig. 5, includes:
s341, calculating the sum of the volume of the electrode three-dimensional model and the volume of the workpiece three-dimensional model, and marking the sum as a first volume;
s342, calculating the volume of the complex body which is intersected with the three-dimensional model of the workpiece according to the three-dimensional model of the electrode, and marking the volume as a second volume;
s343, determining the difference between the first volume and the second volume as a processing volume after the electrode three-dimensional model and the workpiece three-dimensional model intersect.
Specifically, the volume V of the non-intersecting front electrode can be determined from the electrode three-dimensional model and the workpiece three-dimensional model d Volume V of the workpiece before being non-intersected g . The electrode and the workpiece relatively move along a set processing track, and the integral three-dimensional graph of the complex obtained after intersection is taken as the volume V of a new graph t . Then the electrode is three-dimensionalProcessing volume V after intersecting model and workpiece three-dimensional model is V= (V) d +V g )-V t . It should be noted that, because there is a certain gap between the electrode and the workpiece, it can be ignored, and in this application, for the convenience of calculation and for quickly obtaining high accuracy processing parameters, the electrode and the workpiece are approximately regarded as forming a complex after intersecting, and then the processing volume is determined according to the volume difference before and after intersecting.
To facilitate an understanding of this embodiment, the entire process may be divided into several stages, as illustrated below, although this is not necessarily the case in practice. The intersection volume V was 0 before the electrode was not contacted with the process. When the electrode contacts the machining to a certain depth, the machining volume V 1 =(V d +V g )-(V t +V o ) The method comprises the steps of carrying out a first treatment on the surface of the The depth of contact between the electrode and the workpiece is deeper than the machining volume V 2 =(V d +V g )-(V t +V 1 ) The method comprises the steps of carrying out a first treatment on the surface of the Further penetration of the depth of contact into the working volume V 3 =(V d +V g )-(V t +V 2 ) The method comprises the steps of carrying out a first treatment on the surface of the Further penetration of the depth of contact into the working volume V 4 =(V d +V g )-(V t +V 3 ) The method comprises the steps of carrying out a first treatment on the surface of the Analogize to final stage process volume V Terminal (A) =(V d +V g )-(V t +V (terminal-1) ). Since the intersection volume V of each stage is known and the current a corresponding to that stage is also known, the processing speed corresponding to each current has been obtained. The processing time required for this stage can be obtained. And then accumulating all the processing time in the whole processing advancing stage, so that the time required by the whole processing can be predicted.
In an alternative implementation of the present embodiment, determining, in step S300, the machining parameters of the electric spark machining according to the parameters of the intersecting portion of the electrode three-dimensional model and the workpiece three-dimensional model, as shown in fig. 6, includes:
s381, calculating the projection area of the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model on a plane; wherein the plane is perpendicular to the processing track and passes through the processing end point;
s382, calculating the distance between the current machining point of the intersection part and the machining starting point;
s383, determining the depth-to-diameter ratio according to the ratio of the distance to the projection area; determining at least one of pulse width, pulse rest and liquid flushing mode in the processing parameters according to the depth-to-diameter ratio; and determining the cutter lifting height in the processing parameters according to the product of the distance and the projection area.
Specifically, the electrode and the workpiece move along a set processing track, and after intersecting, the intersecting part is used as a new pattern. A line segment is formed between the processing start point and the processing end point, and a plane is formed between the processing end point and the processing end point, so that the plane is perpendicular to the line segment of the processing track. Then, calculating the projection area S of the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model on the plane T . S with respect to projected area T The calculation can be performed in various ways, and can be performed according to the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model. The electrode and the workpiece move along a set track, and when the coordinate point at the moment of intersection of the two models is marked as P 0 (X 0 ,Y 0 ,Z 0 ) I.e. the processing start point. Then follow the current processing point P after the two models are intersected t (X t ,Y t ,Z t ) The distance D between two points can be calculated, and the calculation of the distance between two points is known in the art and will not be described here.
Then, according to the distance D and the projection area S T Is determined by the ratio of (D) to (e), and epsilon=d/S T . In this embodiment, at least one of a pulse width, a pulse rest and a flushing mode of the processing parameters is determined according to the depth-to-diameter ratio. The embodiment can also be based on the distance D and the projection area S T Product D.times.S T Determining the cutter lifting height H in the processing parameters, wherein the cutter lifting heights H and D are equal to S T Association, d.s T The greater the lift height H, the greater.
In an optional implementation manner of this embodiment, the determining the height of the tool lifting in the machining parameter according to the product of the distance and the projected area includes: and inquiring corresponding relation data of the preset distance and the product of the projection area and the cutter lifting height according to the product of the distance and the projection area, and determining the corresponding cutter lifting height in the processing parameters.
After the product of the distance and the projection area is calculated in the steps, a database can be queried, and the database stores corresponding relation data of products of different distances and projection areas and the cutter lifting height. In practical application, the database stores a relation table of corresponding relation data of the product of the preset distance and the projection area and the lifting height, so that the embodiment can query the database after calculating the contact area, thereby obtaining the current lifting height.
In an optional implementation manner of this embodiment, the determining at least one of a pulse width, a pulse rest and a flushing manner of the processing parameter according to the depth-to-diameter ratio includes: inquiring corresponding relation data of preset pulse width and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse width in the processing parameters; inquiring corresponding relation data of preset pulse rest and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse rest in the processing parameters; and inquiring corresponding relation data of a preset flushing mode and the depth-diameter ratio according to the depth-diameter ratio, and determining the corresponding flushing mode in the processing parameters.
After the depth-diameter ratio epsilon is calculated in the steps, a database can be queried, and the database stores corresponding relation data of different depth-diameter ratios and pulse widths. In practical application, the database stores a relation table of preset corresponding relation data of different depth-diameter ratios and pulse widths, so that the embodiment can query the database after calculating the depth-diameter ratio, thereby obtaining the current pulse width. The pulse width ONTime is associated with a depth-to-diameter ratio ε, and the greater the depth-to-diameter ratio ε, the smaller the pulse width ONTime. The pulse width ONTime corresponding to various aspect ratios ε can be measured by a process test and stored in a database.
After the depth-diameter ratio epsilon is calculated in the previous step, a database can be queried, and the database stores corresponding relation data of different depth-diameter ratios and pulse rest. In practical application, the database stores a relation table of preset corresponding relation data of different depth-diameter ratios and pulse rest, so that the embodiment can query the database after calculating the depth-diameter ratio, thereby obtaining the current pulse rest. The pulse rest OFFTime is associated with a depth-to-diameter ratio epsilon, the greater the depth-to-diameter ratio epsilon, the smaller the pulse rest OFFTime. The pulse rest OFFTime corresponding to various depth-to-diameter ratios epsilon can be measured through machining tests and stored in a database.
After the depth-diameter ratio epsilon is calculated in the steps, a database can be queried, and the database stores corresponding relation data of different depth-diameter ratios and liquid flushing modes. In practical application, the database stores a relation table of preset corresponding relation data of different depth-diameter ratios and the liquid flushing modes, so that the database can be queried after the depth-diameter ratio is calculated, and the current liquid flushing mode is obtained. The flushing modes corresponding to various depth-to-diameter ratios epsilon can be measured through machining tests and stored in a database. Generally, when the depth-to-diameter ratio epsilon is smaller than a first threshold value, a soaking mode is adopted for flushing; when the depth-to-diameter ratio epsilon is higher than a first threshold value and lower than a second threshold value, the liquid flushing mode adopts a soaking and liquid flushing mode; when the depth-to-diameter ratio epsilon is higher than a second threshold value, adopting a flushing mode; wherein the first threshold is less than the second threshold. In this case, the obtained processing effect is better.
In an alternative implementation of the present embodiment, the determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model includes: and in the process of the electrode three-dimensional model from the processing starting point to the processing end point, obtaining and storing all processing parameters of the electric spark processing according to the intersection part parameters of the electrode three-dimensional model and the workpiece three-dimensional model.
Specifically, the embodiment simulates the whole process from the beginning to the completion of the electric spark machining by using a three-dimensional model, and stores all machining parameters in the process from zero to the maximum machining volume according to the intersecting part, so that an operator can correspondingly set the machining parameters of a machine tool when carrying out electric spark machining in practice, and compared with manual experience setting and rough setting, the electric spark machining method is more accurate. According to the embodiment of the application, the machining process of electric spark machining is simulated through the three-dimensional model, the machining parameters of electric spark machining are determined according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model, the problems of inaccurate artificial prediction machining parameters and low precision in the prior art are solved, the machining parameters of electric spark machining are determined according to the parameters of the intersecting part through the three-dimensional pattern simulation of the electric spark machining process, and the whole machining process is always in an optimal parameter state.
According to the embodiment of the application, the contact area, the projection area, the intersection volume, the cavity depth, the depth-diameter ratio and the like of each stage in the whole processing advancing process of the electrode and the workpiece in the electric spark machining can be simulated through the computer three-dimensional graph, so that the processing parameters required by each stage and the estimated processing time required by each stage can be calculated and matched; the electrode characteristics of each stage in the whole processing process are simulated by a computer through a three-dimensional pattern, and processing parameters are matched from a database according to the characteristics of each stage, so that the whole processing process is always in an optimal parameter state. And the parameters do not need to be manually modified, the requirements on personnel are low, and the electric spark machining experience is hardly needed. The processing time that is approximately required can also be predicted in advance.
Second embodiment
Fig. 7 shows a schematic block diagram of an electrical discharge machining parameter generating apparatus according to the present application, and it should be understood that the apparatus corresponds to the method embodiment of fig. 1 to 6, and is capable of performing the steps involved in the method of the first embodiment, and specific functions of the apparatus may be referred to the above description, and detailed descriptions thereof are omitted herein as appropriate to avoid redundancy. The device includes at least one software functional module that can be stored in memory in the form of software or firmware (firmware) or cured in an Operating System (OS) of the device. Specifically, the device comprises:
a model acquisition module 410, configured to acquire an electrode three-dimensional model, a workpiece three-dimensional model, a processing start point, and a processing end point;
the process simulation module 420 is configured to control the electrode three-dimensional model and the workpiece three-dimensional model to relatively move along the processing track according to the processing track formed by the processing start point and the processing end point so as to complete process simulation of electric spark processing;
and a parameter generation module 430, configured to determine a machining parameter of the electric discharge machining according to an intersection parameter of the electrode three-dimensional model and the workpiece three-dimensional model.
The device designed by the embodiment is characterized in that an electrode three-dimensional model, a workpiece three-dimensional model, a processing starting point and a processing end point are obtained; controlling the electrode three-dimensional model and the workpiece three-dimensional model to move relatively along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete the process simulation of electric spark processing; determining machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model; the three-dimensional model is used for simulating the machining process of electric spark machining, the machining parameters of electric spark machining are determined according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model, the problems of inaccurate artificial prediction machining parameters and low precision in the prior art are solved, the three-dimensional pattern is used for simulating the machining process of electric spark machining, and the machining parameters of electric spark machining are determined according to the parameters of the intersecting part, so that the whole machining process is always in an optimal parameter state.
In an alternative implementation manner of this embodiment, the parameter generating module 430 includes:
the contact area calculation unit is used for calculating the contact area of the electrode three-dimensional model after intersecting with the workpiece three-dimensional model;
and the first parameter determining unit is used for determining at least one of current, high voltage, low voltage, clearance, cutter lifting speed, cutter lifting acceleration and working hours in the processing parameters according to the contact area.
In an alternative implementation manner of the present embodiment, the contact area calculating unit is specifically configured to calculate a sum of a surface area of the electrode three-dimensional model and a surface area of the workpiece three-dimensional model, and record the sum as a first surface area; the surface area of the complex which is intersected with the workpiece three-dimensional model according to the electrode three-dimensional model is calculated and is recorded as a second surface area; and the method is also used for determining the difference between the first surface area and the second surface area as the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting.
In an alternative implementation of the present embodiment, before the determining the current in the processing parameter according to the contact area, the method further includes: acquiring electrode materials, workpiece materials and electrode scaling amounts; the first parameter determining unit is further used for determining the corresponding maximum current per unit area according to the electrode material and the workpiece material; determining a maximum processing current in the processing parameters according to the electrode scaling amount; if the product of the contact area and the maximum current per unit area is larger than the maximum processing current, determining the current in the processing parameter as the maximum processing current; and if the product of the contact area and the maximum current in unit area is not more than the maximum processing current, determining that the current in the processing parameter is the product of the contact area and the maximum current in unit area.
In an alternative implementation manner of this embodiment, the parameter generation module 430 is further configured to determine a corresponding polarity in the processing parameter according to the electrode three-dimensional model and the electrode material.
In an optional implementation manner of this embodiment, the first parameter determining unit is further configured to query preset correspondence data between high pressure and contact area according to the contact area, and determine a corresponding high pressure in the processing parameters; inquiring preset corresponding relation data of low pressure and contact area according to the contact area, and determining corresponding low pressure in the processing parameters; inquiring corresponding relation data of a preset gap and a contact area according to the contact area, and determining a corresponding gap in the processing parameters; inquiring preset corresponding relation data of the cutter lifting speed and the contact area according to the contact area, and determining the corresponding cutter lifting speed in the processing parameters; inquiring preset corresponding relation data of the cutter lifting acceleration and the contact area according to the contact area, and determining the corresponding cutter lifting acceleration in the processing parameters; and inquiring corresponding relation data of preset working hours and contact areas according to the contact areas, and determining the corresponding working hours in the processing parameters.
In an alternative implementation manner of this embodiment, the parameter generating module 430 includes: a processing completion time calculation unit; the processing completion time calculation unit is used for inquiring preset corresponding relation data of the current and the processing speed according to the current and determining the processing speed corresponding to the current; calculating the machining volume of the electrode three-dimensional model intersected with the workpiece three-dimensional model; determining corresponding processing time according to the processing volume and the processing speed; determining a final machining volume according to the electrode three-dimensional model, the workpiece three-dimensional model, the machining starting point and the machining end point; the processing volume is zero at the processing start point and is the final processing volume at the processing end point; and accumulating the corresponding machining time in the process from zero to the final machining volume to obtain the machining completion time of the electric spark machining.
In an alternative implementation manner of this embodiment, the processing completion time calculation unit is further configured to calculate a sum of a volume of the electrode three-dimensional model and a volume of the workpiece three-dimensional model, and record the sum as a first volume; calculating the volume of the complex body which is intersected with the three-dimensional model of the workpiece according to the three-dimensional model of the electrode, and marking the volume as a second volume; the difference between the first volume and the second volume is determined as a machining volume after the electrode three-dimensional model intersects the workpiece three-dimensional model.
In an alternative implementation manner of this embodiment, the parameter generating module 430 includes:
the depth-to-diameter ratio calculation unit is used for calculating the projection area of the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model on a plane; wherein the plane is perpendicular to the processing track and passes through the processing end point; calculating the distance between the current processing point and the processing starting point of the intersection part; determining a depth-to-diameter ratio according to the ratio of the distance to the projection area;
the second parameter determining unit is used for determining at least one of pulse width, pulse rest and liquid flushing mode in the processing parameters according to the depth-to-diameter ratio; and the tool lifting height in the processing parameters is determined according to the product of the distance and the projection area.
In an optional implementation manner of this embodiment, the second parameter determining unit is specifically configured to query, according to the depth-to-diameter ratio, correspondence data between preset pulse widths and depth-to-diameter ratios, and determine corresponding pulse widths in the processing parameters; inquiring corresponding relation data of preset pulse rest and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse rest in the processing parameters; inquiring corresponding relation data of a preset flushing mode and a preset depth-diameter ratio according to the depth-diameter ratio, and determining a corresponding flushing mode in the processing parameters; and inquiring corresponding relation data of the preset distance and the product of the projection area and the cutter lifting height according to the product of the distance and the projection area, and determining the corresponding cutter lifting height in the processing parameters.
In an alternative implementation manner of this embodiment, the parameter generating module 430 is specifically configured to obtain and store all machining parameters of the electric spark machining according to parameters of an intersecting portion of the electrode three-dimensional model and the workpiece three-dimensional model during the process from the machining start point to the machining end point of the electrode three-dimensional model.
Third embodiment
As shown in fig. 8, the present application provides an electronic apparatus 5 including: processor 501 and memory 502, the processor 501 and memory 502 being interconnected and in communication with each other by a communication bus 503 and/or other form of connection mechanism (not shown), the memory 502 storing a computer program executable by the processor 501, which when run by a computing device, the processor 501 executes to perform the method in any of the alternative implementations of the first embodiment.
The present application provides a non-transitory storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first embodiment, any of the alternative implementations of the first embodiment.
The storage medium may be implemented by any type of volatile or nonvolatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
The present application provides a computer program product which, when run on a computer, causes the computer to perform the method in the first embodiment, any of the alternative implementations of the first embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method of generating electrical discharge machining parameters, comprising:
acquiring an electrode three-dimensional model, a workpiece three-dimensional model, a processing starting point and a processing end point;
controlling the electrode three-dimensional model and the workpiece three-dimensional model to move relatively along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete the process simulation of electric spark processing;
determining machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model;
the determining the machining parameters of the electric spark machining according to the parameters of the intersecting part of the electrode three-dimensional model and the workpiece three-dimensional model comprises the following steps:
calculating the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting;
determining at least one of current, high voltage, low voltage, clearance, cutter lifting speed, cutter lifting acceleration and working hours in the processing parameters according to the contact area;
The determining at least one of the current, the high voltage, the low voltage, the gap, the cutter lifting speed, the cutter lifting acceleration and the working hour in the processing parameters according to the contact area comprises the following steps:
inquiring preset corresponding relation data of the high pressure and the contact area according to the contact area, and determining the corresponding high pressure in the processing parameters;
inquiring preset corresponding relation data of low pressure and contact area according to the contact area, and determining corresponding low pressure in the processing parameters;
inquiring corresponding relation data of a preset gap and a contact area according to the contact area, and determining a corresponding gap in the processing parameters;
inquiring preset corresponding relation data of the cutter lifting speed and the contact area according to the contact area, and determining the corresponding cutter lifting speed in the processing parameters;
inquiring preset corresponding relation data of the cutter lifting acceleration and the contact area according to the contact area, and determining the corresponding cutter lifting acceleration in the processing parameters;
and inquiring corresponding relation data of preset working hours and contact areas according to the contact areas, and determining the corresponding working hours in the processing parameters.
2. The method of claim 1, wherein the calculating the contact area of the electrode three-dimensional model after intersecting the workpiece three-dimensional model comprises:
Calculating the sum of the surface area of the electrode three-dimensional model and the surface area of the workpiece three-dimensional model, and marking the sum as a first surface area;
calculating the surface area of the complex body which is intersected with the workpiece three-dimensional model according to the electrode three-dimensional model, and marking the surface area as a second surface area;
and determining the difference between the first surface area and the second surface area as the contact area of the electrode three-dimensional model and the workpiece three-dimensional model after intersecting.
3. The method of claim 1, further comprising, prior to said determining the current in the process parameter from the contact area:
acquiring electrode materials, workpiece materials and electrode scaling amounts;
the determining the current in the processing parameter according to the contact area comprises:
determining a corresponding maximum current per unit area according to the electrode material and the workpiece material; determining a maximum processing current in the processing parameters according to the electrode scaling amount;
if the product of the contact area and the maximum current per unit area is larger than the maximum processing current, determining the current in the processing parameter as the maximum processing current;
and if the product of the contact area and the maximum current in unit area is not more than the maximum processing current, determining that the current in the processing parameter is the product of the contact area and the maximum current in unit area.
4. The method of claim 3, wherein said determining the machining parameters of the electrical discharge machining based on the parameters of the intersection of the electrode three-dimensional model and the workpiece three-dimensional model further comprises:
and determining the corresponding polarity in the processing parameters according to the electrode three-dimensional model and the electrode material.
5. The method of claim 1, wherein said determining the machining parameters of the electrical discharge machining based on the parameters of the intersection of the electrode three-dimensional model and the workpiece three-dimensional model further comprises:
according to the corresponding relation data of the preset current and the processing speed, determining the processing speed corresponding to the current;
calculating the machining volume of the electrode three-dimensional model intersected with the workpiece three-dimensional model;
determining corresponding processing time according to the processing volume and the processing speed;
determining a final machining volume according to the electrode three-dimensional model, the workpiece three-dimensional model, the machining starting point and the machining end point;
the processing volume is zero at the processing start point and is the final processing volume at the processing end point; and accumulating the corresponding machining time in the process from zero to the final machining volume to obtain the machining completion time of the electric spark machining.
6. The method of claim 5, wherein the calculating the machining volume after the electrode three-dimensional model intersects the workpiece three-dimensional model comprises:
calculating the sum of the volume of the electrode three-dimensional model and the volume of the workpiece three-dimensional model, and marking the sum as a first volume;
calculating the volume of the complex body which is intersected with the three-dimensional model of the workpiece according to the three-dimensional model of the electrode, and marking the volume as a second volume;
the difference between the first volume and the second volume is determined as a machining volume after the electrode three-dimensional model intersects the workpiece three-dimensional model.
7. The method of claim 1, wherein said determining the machining parameters of the electrical discharge machining based on the intersection parameters of the electrode three-dimensional model and the workpiece three-dimensional model comprises:
calculating the projection area of the intersection part of the electrode three-dimensional model and the workpiece three-dimensional model on a plane; wherein the plane is perpendicular to the processing track and passes through the processing end point;
calculating the distance between the current processing point and the processing starting point of the intersection part;
determining a depth-to-diameter ratio according to the ratio of the distance to the projection area;
determining at least one of pulse width, pulse rest and liquid flushing mode in the processing parameters according to the depth-to-diameter ratio;
And determining the cutter lifting height in the processing parameters according to the product of the distance and the projection area.
8. The method of claim 7, wherein said determining at least one of pulse width, pulse rest and flushing mode of said process parameters from said aspect ratio comprises:
inquiring corresponding relation data of preset pulse width and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse width in the processing parameters;
inquiring corresponding relation data of preset pulse rest and depth-diameter ratio according to the depth-diameter ratio, and determining corresponding pulse rest in the processing parameters;
inquiring corresponding relation data of a preset flushing mode and a preset depth-diameter ratio according to the depth-diameter ratio, and determining a corresponding flushing mode in the processing parameters;
the determining the height of the cutter lifting in the processing parameters according to the product of the distance and the projection area comprises the following steps:
and inquiring corresponding relation data of the preset distance and the product of the projection area and the cutter lifting height according to the product of the distance and the projection area, and determining the corresponding cutter lifting height in the processing parameters.
9. The method of claim 1, wherein said determining the machining parameters of the electrical discharge machining based on the intersection parameters of the electrode three-dimensional model and the workpiece three-dimensional model comprises:
And in the process of the electrode three-dimensional model from the processing starting point to the processing end point, obtaining and storing all processing parameters of the electric spark processing according to the intersection part parameters of the electrode three-dimensional model and the workpiece three-dimensional model.
10. An electrical discharge machining parameter generating apparatus, comprising:
the model acquisition module is used for acquiring an electrode three-dimensional model, a workpiece three-dimensional model, a processing starting point and a processing end point;
the process simulation module is used for controlling the electrode three-dimensional model and the workpiece three-dimensional model to relatively move along the processing track according to the processing track formed by the processing starting point and the processing end point so as to complete process simulation of electric spark processing;
the parameter generation module is used for determining the machining parameters of the electric spark machining according to the intersection part parameters of the electrode three-dimensional model and the workpiece three-dimensional model;
the parameter generation module comprises:
the contact area calculation unit is used for calculating the contact area of the electrode three-dimensional model after intersecting with the workpiece three-dimensional model;
a first parameter determining unit, configured to determine at least one of a current, a high voltage, a low voltage, a gap, a tool lifting speed, a tool lifting acceleration, and man-hour in the machining parameters according to the contact area;
The first parameter determining unit is further configured to:
inquiring preset corresponding relation data of the high pressure and the contact area according to the contact area, and determining the corresponding high pressure in the processing parameters; inquiring preset corresponding relation data of low pressure and contact area according to the contact area, and determining corresponding low pressure in the processing parameters; inquiring corresponding relation data of a preset gap and a contact area according to the contact area, and determining a corresponding gap in the processing parameters; inquiring preset corresponding relation data of the cutter lifting speed and the contact area according to the contact area, and determining the corresponding cutter lifting speed in the processing parameters; inquiring preset corresponding relation data of the cutter lifting acceleration and the contact area according to the contact area, and determining the corresponding cutter lifting acceleration in the processing parameters; and inquiring corresponding relation data of preset working hours and contact areas according to the contact areas, and determining the corresponding working hours in the processing parameters.
11. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the method of any one of claims 1 to 9 when executing the computer program.
12. A non-transitory readable storage medium having stored thereon a computer program, which when executed by a processor implements the method of any of claims 1 to 9.
CN201910762550.XA 2019-08-16 2019-08-16 Electric spark machining parameter generation method and device, electronic equipment and storage medium Active CN110457846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910762550.XA CN110457846B (en) 2019-08-16 2019-08-16 Electric spark machining parameter generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910762550.XA CN110457846B (en) 2019-08-16 2019-08-16 Electric spark machining parameter generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110457846A CN110457846A (en) 2019-11-15
CN110457846B true CN110457846B (en) 2023-08-18

Family

ID=68487423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910762550.XA Active CN110457846B (en) 2019-08-16 2019-08-16 Electric spark machining parameter generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110457846B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11904399B2 (en) * 2020-11-30 2024-02-20 Metal Industries Research & Development Centre Online prediction method of tool-electrode consumption and prediction method of machining accuracy
CN113042500A (en) * 2021-03-11 2021-06-29 深圳模德宝科技有限公司 Electrode recovery method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101693313A (en) * 2009-10-20 2010-04-14 清华大学 Electric spark and electrolysis combined milling machining method of micro three-dimensional structure
JP2010194639A (en) * 2009-02-24 2010-09-09 Sodick Co Ltd Design method for tool electrode of die sinking electrical discharge machining
CN108765351A (en) * 2018-05-31 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010194639A (en) * 2009-02-24 2010-09-09 Sodick Co Ltd Design method for tool electrode of die sinking electrical discharge machining
CN101693313A (en) * 2009-10-20 2010-04-14 清华大学 Electric spark and electrolysis combined milling machining method of micro three-dimensional structure
CN108765351A (en) * 2018-05-31 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
模具型腔三维曲面的电火花套型加工;徐盛林等;《制造技术与机床》;20070930(第09期);全文 *

Also Published As

Publication number Publication date
CN110457846A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN110457846B (en) Electric spark machining parameter generation method and device, electronic equipment and storage medium
CN101893873B (en) Method and device for generating control data for controlling cutter arranged on machine tool
CN108581108B (en) A kind of electric discharging machining electrode dressing method in place
CN101284322A (en) Controller for wire-cut electrical discharge machines
Zhao et al. A CAD/CAM system for micro-ED-milling of small 3D freeform cavity
JP4334481B2 (en) EDM machine
Heo et al. Virtual EDM simulator: Three-dimensional geometric simulation of micro-EDM milling processes
CN112784217A (en) Industrial equipment utilization rate statistical method and device, computer equipment and storage medium
Wang et al. Real-time vision-assisted electrochemical machining with constant inter-electrode gap
CN103111764A (en) Method for rapidly positioning laser cut part
Wang et al. Computer aided contouring operation for traveling wire electric discharge machining (EDM)
US20070239311A1 (en) A Method for Under-sizing Electrodes for Polygonal Orbit Electric Discharge Machining
US8999136B2 (en) Method for compensating a wear of an electrode
JP2022001381A (en) Systems and methods for compensating for spring back of structures formed through incremental sheet forming
US6907311B2 (en) Electrical discharge machining apparatus and electrical discharge machining simulator
CN111347109B (en) Method and processing unit for an electric discharge machine
CN106975809B (en) Process time prediction meanss
CN110442998B (en) Building information model segmentation method, device, system and storage medium
US20230347430A1 (en) Automated iterative electrode fabrication for pulsed electrochemical machining
JP2023518642A (en) Dental machining system for predicting machining times for manufacturing dental restorations/instruments
JP4678711B2 (en) Die-sinker EDM
CN116033991A (en) Learning device, electric discharge machine, and learning method
JP5311965B2 (en) Processing system
JP4498722B2 (en) Electric discharge machining method and electric discharge machining apparatus
KR100738344B1 (en) Cnc small hole electric discharge machine which can monitor the whole state of processing by inputting cad data

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