Sparkle pattern generation method and device, computer readable storage medium and terminal equipment
By obtaining the target spark pattern generation task in the discharge machining control system and using the target discharge program, discharge machining is performed on multiple parts of the mold at the same time, which solves the low efficiency problem caused by multiple discharges in the existing technology and realizes the efficient generation of spark patterns in multiple parts of the mold.
Patent Information
- Application Number
- CN202211287049.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-10-20
AI Technical Summary
When machining molds using existing electrosparks, multiple discharges are required to form spark patterns with different roughness on different parts, resulting in low efficiency and limited production.
By obtaining the target spark pattern generation task in the discharge machining control system, searching and using the target discharge program, multiple parts of the mold are simultaneously discharged to generate different spark patterns.
The efficiency of spark pattern processing in multiple parts of the mold is improved, production time is shortened, and product output speed is increased.
Smart Images

Figure CN115570221B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of mold processing, and particularly relates to a spark pattern generation method and device, computer readable storage medium and terminal equipment. BACKGROUND
[0002] At present, when a mold is produced by using electric spark processing, a traditional electric discharge processing method can only form a spark pattern with a certain roughness at different parts of the mold. When different roughness spark patterns are required to be formed at multiple parts of the mold, the parts need to be processed by electric discharge multiple times separately. This method is not only inefficient, but also seriously affects the production of products. SUMMARY
[0003] Therefore, the embodiments of the present application provide a spark pattern generation method and device, computer readable storage medium and terminal equipment to solve the problem of low efficiency caused by multiple electric discharges in the prior art.
[0004] A first aspect of the embodiments of the present application provides a spark pattern generation method, which can include:
[0005] obtaining a target spark pattern generation task; wherein the target spark pattern generation task is a task of simultaneously generating different spark patterns at at least two parts of a mold;
[0006] finding a target electric discharge program in a preset electric discharge processing control system; wherein the target electric discharge program is an electric discharge program corresponding to the target spark pattern generation task, and is used to simultaneously perform electric discharge processing on the at least two parts of the mold to generate different spark patterns;
[0007] performing electric discharge processing on the mold by using the target electric discharge program.
[0008] In a specific implementation manner of the first aspect, the finding of the target electric discharge program in the preset electric discharge processing control system can include:
[0009] finding a target electric discharge processing template in the electric discharge processing control system; wherein the target electric discharge processing template is an electric discharge processing template corresponding to the target spark pattern generation task;
[0010] determining an electric discharge program in the target electric discharge processing template as the target electric discharge program.
[0011] In a specific implementation manner of the first aspect, before the finding of the target electric discharge program in the preset electric discharge processing control system, the method can further include:
[0012] generating the target electric discharge processing template in the electric discharge processing control system;
[0013] establishing a target electrical discharge machining condition corresponding to the target electrical discharge machining template;
[0014] generating the target electrical discharge program according to the target electrical discharge machining condition.
[0015] In an implementation form of the first aspect, the generating the target electrical discharge machining template in the electrical discharge machining control system can include:
[0016] determining a mold part identification code corresponding to each of the at least two parts of the mold;
[0017] determining a spark pattern identification code corresponding to each of the at least two parts of the mold;
[0018] determining a template name of the target electrical discharge machining template according to the mold part identification code and the spark pattern identification code.
[0019] In an implementation form of the first aspect, the establishing a target electrical discharge machining condition corresponding to the target electrical discharge machining template can include:
[0020] generating at least two electrical discharge machining projects in the target electrical discharge machining condition; wherein each of the electrical discharge machining projects corresponds to an electrical discharge machining condition of a spark pattern.
[0021] In an implementation form of the first aspect, the at least two parts of the mold include a side wall and a bottom;
[0022] In an implementation form of the first aspect, the using the target electrical discharge program to perform electrical discharge machining on the mold can include:
[0023] using the electrical discharge program to perform electrical discharge machining on the side wall and the bottom of the mold simultaneously to generate different spark patterns.
[0024] A second aspect of the embodiments of the present application provides a spark pattern generation device, which can include:
[0025] an acquisition module configured to acquire a target spark pattern generation task; wherein the target spark pattern generation task is a task of generating different spark patterns on at least two parts of a mold simultaneously;
[0026] a search module configured to search for a target electrical discharge program in a preset electrical discharge machining control system; wherein the target electrical discharge program is an electrical discharge program corresponding to the target spark pattern generation task, and is used to perform electrical discharge machining on the at least two parts of the mold simultaneously to generate different spark patterns;
[0027] an electrical discharge machining module configured to use the target electrical discharge program to perform electrical discharge machining on the mold.
[0028] In an implementation form of the second aspect, the searching module can include:
[0029] a template searching submodule configured to search for a target EDM template in the EDM control system, wherein the target EDM template is an EDM template corresponding to the target spark pattern generation task;
[0030] a program determining submodule configured to determine an EDM program in the target EDM template as the target EDM program.
[0031] In an implementation form of the second aspect, the spark pattern generation apparatus can further include:
[0032] a first generation module configured to generate the target EDM template in the EDM control system;
[0033] a second generation module configured to establish a target EDM condition corresponding to the target EDM template;
[0034] a third generation module configured to generate the target EDM program according to the target EDM condition.
[0035] In an implementation form of the second aspect, the first generation module can include:
[0036] a first determining submodule configured to determine a mold part identification code corresponding to each of the at least two parts of the mold;
[0037] a second determining submodule configured to determine a spark pattern identification code corresponding to each of the at least two parts of the mold;
[0038] a third determining submodule configured to determine a template name of the target EDM template according to the mold part identification code and the spark pattern identification code.
[0039] In an implementation form of the second aspect, the second generation module can include:
[0040] an engineering generation submodule configured to generate at least two EDM engineering in the target EDM condition, wherein each EDM engineering corresponds to an EDM condition of a spark pattern.
[0041] In an implementation form of the second aspect, the at least two parts of the mold include a side wall and a bottom; and the EDM module can include:
[0042] a processing submodule configured to use the EDM program to simultaneously perform EDM on the side wall and the bottom of the mold to generate different spark patterns.
[0043] The third aspect of the embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of any of the spark pattern generation methods.
[0044] The fourth aspect of the embodiment of the present application provides a terminal device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of any of the spark pattern generation methods when executing the computer program.
[0045] The fifth aspect of the embodiment of the present application provides a computer program product, which, when executed on a terminal device, causes the terminal device to perform the steps of any of the spark pattern generation methods.
[0046] Compared with the prior art, the embodiment of the present application has the beneficial effects that: the discharge machining control system in the embodiment of the present application acquires a target spark pattern generation task; the target spark pattern generation task is a task of simultaneously generating different spark patterns for at least two parts of a mold; a target discharge program is searched in a preset discharge machining control system; the target discharge program is a discharge program corresponding to the target spark pattern generation task, and is used to simultaneously perform discharge machining on the at least two parts of the mold to generate different spark patterns; and the target discharge program is used to perform discharge machining on the mold. Through the present application, when different spark patterns of multiple parts of a mold are simultaneously generated, the multiple parts do not need to be separately machined by multiple times of discharge, so that the machining efficiency is improved and the product output speed is accelerated. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0048] Figure 1 A schematic flow chart for setting the discharge machining control system in the embodiment of the present application;
[0049] Figure 2 A schematic flow chart for searching the target discharge program in the preset discharge machining control system;
[0050] Figure 3 A part engineering drawing of the discharge machining control system in the embodiment of the present application;
[0051] Figure 4An embodiment flow chart of a spark pattern generation method in the embodiments of the present application;
[0052] Figure 5 An embodiment structure diagram of a spark pattern generation device in the embodiments of the present application;
[0053] Figure 6 A schematic block diagram of a terminal device in the embodiments of the present application. DETAILED DESCRIPTION
[0054] In order to make the objectives, characteristics and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the embodiments described below are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0055] It should be understood that, when used in the specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0056] It should also be understood that the terms used in the present application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the present application specification and the appended claims, unless otherwise clearly indicated by the context, the singular forms "a", "an" and "the" are intended to include the plural forms as well.
[0057] It should be further understood that the term "and / or" used in the present application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0058] As used in the present application specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be interpreted as meaning "upon determining" or "in response to determining" or "upon detecting [a described condition or event]" or "in response to detecting [a described condition or event]", depending on the context.
[0059] In addition, in the description of the present application, the terms "first", "second", "third", etc. are only used for differentiation in description, and cannot be understood as indicating or implying relative importance.
[0060] Referring to Figure 1 In the embodiment of the present application, the setting of the electrical discharge machining control system can include:
[0061] In step S101, a target electrical discharge machining template is generated in the electrical discharge machining control system.
[0062] In a specific implementation manner of the embodiment of the present application, the electrical discharge machining control system can be any one of the existing numerical control spark machine systems, including but not limited to the Modul system, the FANUC system, the SINUMERIK system, the MITSUBISHI system, the HEIDENHAIN system, the Bosch Rexroth system, the NUM system, the FAGOR system, and the MAZAK system, and the embodiment of the present application does not make specific limitation thereto.
[0063] Taking the Modul system as an example, the target electrical discharge machining template can include information such as an electrode machining area, an electrode material, a workpiece material, an external size, an actual gap, and a machining position, so as to ensure the stability of the machining process and the yield. Meanwhile, the machining efficiency can be further improved by establishing a machining template library and saving it in the Modul system. The machining template library is used to save the machining templates of the past completed machining, and when the same mold needs to be machined again, the machining template library can be directly selected.
[0064] In another specific implementation manner of the embodiment of the present application, the machining template library can also be saved in a server, and the Modul system can search for the corresponding machining template in the server through networking. This manner can save the storage space of the Modul system and improve the running speed of the Modul system.
[0065] As Figure 2 shown, step S101 can specifically include the following processes:
[0066] In step S1011, mold part identification codes corresponding to at least two parts of the mold are determined.
[0067] In a specific implementation manner of the embodiment of the present application, since the simultaneous machining parts are different, the mold parts need to be distinguished in the Modul system. The capital English letters can be used to represent the mold part identification codes, for example, Z is used to represent the bottom and R is used to represent the side wall. Other ways can also be used to represent the mold parts, and the embodiment of the present application does not make specific limitation thereto.
[0068] Step S1012, determine the spark pattern identification code corresponding to at least two parts of the mold respectively.
[0069] In a specific implementation manner of the embodiment of the present application, since the generated spark patterns are different, it is necessary to distinguish the spark patterns in the mold cloud system, and the VDI surface standard can be used to represent the spark pattern identification code. VDI is a standard requirement for mold surface skin pattern level (product skin surface roughness). Different sizes, depths and densities of electric spark particles form different VDI, representing different surface roughness. For example, 21 represents a VDI of 21 spark pattern, and 30 represents a VDI of 30 spark pattern. Other ways can also be used to represent the spark pattern, which is not specifically limited in the embodiment of the present application.
[0070] Step S1013, determine the template name of the target EDM template according to the mold part identification code and the spark pattern identification code.
[0071] In a specific implementation manner of the embodiment of the present application, in order to facilitate the user to use the EDM template again in the future, and in order to intuitively obtain the processing result of the target EDM template, the mold part identification code and the spark pattern identification code can be combined as the template name of the target EDM template. For example, Z21_R30 represents that the VDI of 21 spark pattern is used at the bottom, and the VDI of 30 spark pattern is used at the sidewall. Other ways can also be used to name the target EDM template, which is not specifically limited in the embodiment of the present application.
[0072] Step S102, establish the target EDM condition corresponding to the target EDM template.
[0073] The target EDM condition at least contains two EDM projects, and each EDM project corresponds to the EDM condition of one spark pattern.
[0074] In a specific implementation manner of the embodiment of the present application, the setting of the EDM condition directly affects various process indexes of processing, and the selection of the suitable EDM condition is to achieve the requirements of the predetermined processing size and surface roughness. Therefore, the number of electrodes, electrode loss, working fluid treatment, processing surface roughness requirement, electrode scaling amount, processing area, processing depth and other factors need to be considered. Therefore, the user needs to input the above information into the mold cloud system before processing, and the mold cloud system adjusts the electrode workpiece according to the above information, thereby improving the stability and efficiency of the EDM work.
[0075] In a specific implementation manner of the embodiment of the present application, the information related to the EDM project number is displayed on the display screen of the terminal device to inform which part is currently being subjected to the EDM or whether the EDM work is completed. Since the EDM is a single-sided discharge, a number of EDM projects corresponding to the parts subjected to the EDM are established. As shown in FIG. 8, C001 represents the VDI surface of R30, and C002 represents the VDI surface of Z21. Whether the surfaces are formed can be clearly seen on the display screen of the EDM system. For example, STEP0 represents that the VDI surface of Z21 is formed, and STEPXH003-0.01STEPYH033-0.01 represents that the VDI surface of R30 is formed. Figure 3
[0076] In step S103, the target EDM program is generated according to the target EDM condition.
[0077] In the conventional EDM process, the number of EDM programs is determined by the EDM condition. That is, at least two EDM programs are required to generate different spark patterns for at least two parts. However, in a specific implementation manner of the embodiment of the present application, the EDM programs can be combined into one by the mold cloud system while maintaining the effect unchanged, thereby meeting the requirement that the swing amount and the spark pattern between the parts can not be distinguished during the EDM.
[0078] As shown in FIG. 8, an embodiment of the spark pattern generation method in the embodiment of the present application can include the following steps. Figure 4
[0079] In step S401, the target spark pattern generation task is acquired.
[0080] The target spark pattern generation task is a task of simultaneously generating different spark patterns for at least two parts of a mold.
[0081] In a specific implementation manner of the embodiment of the present application, the user inputs the target spark pattern generation task into the mold cloud system. The target spark pattern task can be changed according to the actual requirement. Alternatively, the mold cloud system can set up a spark pattern task library to store the completed spark pattern tasks. When the user needs to perform the same spark pattern generation task again, the user can directly select the spark pattern task from the spark pattern task library, thereby reducing the operation amount of the user and improving the work efficiency.
[0082] In another specific implementation manner of the embodiment of the present application, the spark pattern task library can be stored in a server. The user can search for the required spark pattern task in the server through the terminal device in a networked manner. This manner not only saves the storage space of the mold cloud system, but also connects the mold cloud systems in multiple terminal devices.
[0083] Step S402, searching for a target discharge program in a preset discharge machining control system.
[0084] The target discharge program is a discharge program corresponding to the target spark pattern generation task, and is used to simultaneously perform discharge machining on at least two parts of the mold to generate different spark patterns.
[0085] In a specific implementation manner of the embodiment of the present application, a target discharge machining template corresponding to the target spark pattern generation task can be searched for in the discharge machining control system, and then a discharge program in the target discharge machining template is determined as the target discharge program.
[0086] In another specific implementation manner of the embodiment of the present application, if no discharge machining template is set in advance, the discharge machining template can also be set on site, and only steps S101 to S103 need to be performed. After the setting is completed, the mold cloud system can generate corresponding discharge machining conditions and the target discharge program based on the current discharge machining template, and the user can also select whether to save the discharge machining template this time, so as to perform the same spark pattern generation task again in the future.
[0087] Step S403, performing discharge machining on the mold using the target discharge program.
[0088] In a specific implementation manner of the embodiment of the present application, the at least two parts of the mold can include a side wall and a bottom, and the discharge program is used to simultaneously perform discharge machining on the side wall and the bottom of the mold to generate different spark patterns.
[0089] In a specific implementation manner of the embodiment of the present application, the mold cloud system automatically matches and brings out corresponding discharge machining conditions, the terminal device adjusts the discharge workpiece and the mold according to the discharge machining conditions, and after the adjustment is completed, discharge machining is started to realize the generation of different spark patterns of the side wall and the bottom using the same program.
[0090] In summary, the embodiment of the present application obtains a target spark pattern generation task, wherein the target spark pattern generation task is a task of simultaneously generating different spark patterns of at least two parts of a mold; searches for a target discharge program in a preset discharge machining control system, wherein the target discharge program is a discharge program corresponding to the target spark pattern generation task, and is used to simultaneously perform discharge machining on the at least two parts of the mold to generate different spark patterns; and uses the target discharge program to perform discharge machining on the mold. In the embodiment of the present application, when different spark patterns of multiple parts of the mold are simultaneously generated, the parts do not need to be separately machined multiple times, thereby improving the machining efficiency and accelerating the product output speed.
[0091] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0092] A spark pattern generation method corresponding to the above embodiment, Figure 5 An embodiment structure diagram of a spark pattern generation device provided by the embodiments of the present application is shown.
[0093] In the present embodiment, a spark pattern generation device can include:
[0094] The acquisition module 501 is configured to acquire a target spark pattern generation task; wherein the target spark pattern generation task is a task of simultaneously generating different spark patterns on at least two parts of a mold;
[0095] The search module 502 is configured to search for a target discharge program in a preset discharge machining control system; wherein the target discharge program is a discharge program corresponding to the target spark pattern generation task, and is used to simultaneously perform discharge machining on at least two parts of the mold to generate different spark patterns;
[0096] The discharge machining module 503 is configured to perform discharge machining on the mold using the target discharge program.
[0097] In a specific implementation manner of the embodiments of the present application, the search module can include:
[0098] The template search sub-module is configured to search for a target discharge machining template in the discharge machining control system; wherein the target discharge machining template is a discharge machining template corresponding to the target spark pattern generation task;
[0099] The program determination sub-module is configured to determine a discharge program in the target discharge machining template as the target discharge program.
[0100] In a specific implementation manner of the embodiments of the present application, the spark pattern generation device can further include:
[0101] The first generation module is configured to generate the target discharge machining template in the discharge machining control system;
[0102] The second generation module is configured to establish a target discharge machining condition corresponding to the target discharge machining template;
[0103] The third generation module is configured to generate the target discharge program according to the target discharge machining condition.
[0104] In a specific implementation manner of the embodiments of the present application, the first generation module can include:
[0105] a first determining sub-module, configured to determine a mold part identification code corresponding to at least two parts of the mold respectively;
[0106] a second determining sub-module, configured to determine a spark pattern identification code corresponding to the at least two parts of the mold respectively;
[0107] a third determining sub-module, configured to determine a template name of the target electro-discharge machining template according to the mold part identification code and the spark pattern identification code.
[0108] In a specific implementation manner of the embodiment of the present application, the second generating module can include:
[0109] an engineering generating sub-module, configured to generate at least two electro-discharge machining engineering in the target electro-discharge machining condition; wherein each electro-discharge machining engineering corresponds to the electro-discharge machining condition of one spark pattern.
[0110] In a specific implementation manner of the embodiment of the present application, the at least two parts of the mold include a side wall and a bottom; and the electro-discharge machining module can include:
[0111] a machining sub-module, configured to use the electro-discharge program to simultaneously perform electro-discharge machining on the side wall and the bottom of the mold to generate different spark patterns.
[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described apparatuses and modules can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein.
[0113] In the foregoing embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can refer to the relevant description of other embodiments.
[0114] Figure 6 A schematic block diagram of a terminal device is shown, and only parts related to the embodiments of the present application are shown for the convenience of description.
[0115] As shown in Figure 6 the terminal device 6 of the embodiment includes a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. The processor 60 implements the steps in the foregoing spark pattern generation method embodiments when executing the computer program 62, such as steps S401 to S403 as shown. Figure 4 Alternatively, the processor 60 implements the functions of the modules / units in the foregoing apparatus embodiments when executing the computer program 62, such as the functions of the modules / units in the terminal device 6 as shown. Figure 5The functions of the illustrated modules 501-503.
[0116] By way of example, the computer program 62 can be segmented into one or more modules / units stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules / units can be a series of computer program instruction segments capable of accomplishing a specific function, which are used to describe the execution process of the computer program 62 in the terminal device 6.
[0117] Those skilled in the art can understand that, Figure 6 The terminal device 6 is merely an example and does not constitute a limitation on the terminal device 6, and can include more or fewer components than illustrated, or combine certain components, or different components, for example, the terminal device 6 can also include an input / output device, a network access device, a bus, etc.
[0118] The processor 60 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0119] The memory 61 can be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 can also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 61 can include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used to store the computer program and other programs and data required by the terminal device 6. The memory 61 can also be used to temporarily store data that has been output or will be output.
[0120] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be realized in the form of hardware or software. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0121] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.
[0122] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0123] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / terminal device and method can be implemented in other ways. For example, the apparatus / terminal device embodiments described above are only schematic, and the division of the modules or units is only a logical function division, and there can be another division in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0124] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0125] In addition, each of the function units in each of the embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.
[0126] The integrated module / unit, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be implemented by a computer program instructing related hardware to complete, and the computer program can be stored in a computer readable storage medium. When the processor executes the computer program, the steps of each method embodiment described above can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer readable storage medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable storage medium does not include electric carrier signals and telecommunication signals.
[0127] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A spark pattern generating method characterized by, The method comprises the following steps: obtaining a target spark line generation task; wherein the target spark line generation task is a task of simultaneously generating different spark lines on at least two parts of a mold; finding a target EDM template in a preset EDM control system; wherein the target EDM template is an EDM template corresponding to the target spark line generation task; determining an EDM program in the target EDM template as a target EDM program; wherein the target EDM program is an EDM program corresponding to the target spark line generation task, and is used for simultaneously performing EDM on at least two parts of the mold to generate different spark lines; performing EDM on the mold by using the target EDM program; the generation process of the target EDM program comprises the following steps: generating the target EDM template in the EDM control system: determining mold part identification codes corresponding to the at least two parts of the mold respectively; determining spark line identification codes corresponding to the at least two parts of the mold respectively; determining a template name of the target EDM template according to the mold part identification codes and the spark line identification codes; establishing a target EDM condition corresponding to the target EDM template; generating the target EDM program according to the target EDM condition.
2. The spark pattern generating method according to claim 1, characterized by, The establishment of the target EDM condition corresponding to the target EDM template comprises the following steps: generating at least two EDM projects in the target EDM condition; wherein each EDM project corresponds to an EDM condition of a spark line.
3. The spark pattern generating method according to any one of claims 1 to 2, characterized by, The at least two parts of the mold comprise a side wall and a bottom; The EDM on the mold by using the target EDM program comprises the following steps: simultaneously performing EDM on the side wall and the bottom of the mold by using the target EDM program to generate different spark lines.
4. A spark pattern generating device characterized by comprising: The method comprises the following steps: an obtaining module is configured to obtain a target spark line generation task; wherein the target spark line generation task is a task of simultaneously generating different spark lines on at least two parts of a mold; a finding module is configured to find a target EDM template in a preset EDM control system; wherein the target EDM template is an EDM template corresponding to the target spark line generation task; and an EDM program in the target EDM template is determined as a target EDM program; wherein the target EDM program is an EDM program corresponding to the target spark line generation task, and is used for simultaneously performing EDM on at least two parts of the mold to generate different spark lines; an EDM module is configured to perform EDM on the mold by using the target EDM program; a first generating module is configured to generate the target EDM template in the EDM control system: determine mold part identification codes corresponding to the at least two parts of the mold respectively; determine spark line identification codes corresponding to the at least two parts of the mold respectively; and determine a template name of the target EDM template according to the mold part identification codes and the spark line identification codes; a second generating module is configured to establish a target EDM condition corresponding to the target EDM template; A third generating module is configured to generate the target discharge program according to the target discharge machining condition.
5. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 4. The computer program, when executed by a processor, implements the steps of the spark pattern generating method according to any one of claims 1 to 3.
6. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor, when executing the computer program, implements the steps of the spark pattern generating method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Electric spark machining method and system
CN103418864A
Out-machine form generation method of electrical discharge machine
CN111468794A