Electrode control method and device of electrode library, computer equipment and storage medium
By judging the interference between parts and electrodes in the electrode library and identifying available and unavailable electrodes, the problem of reduced workpiece processing efficiency caused by product changes is solved, and more efficient electric spark processing is achieved.
Patent Information
- Application Number
- CN202510598144.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, the electrode changes caused by product changes and the workpiece processing efficiency is reduced.
By obtaining the modifier pattern and electrode position information before the modifier is not modified, the parts and electrode interference judgment are made, the available electrodes are identified and unavailable, the available electrodes are controlled to continue processing, and the unavailable electrodes are prohibited from processing.
Improve the processing efficiency of the workpiece during the electric spark processing process, and avoid wasting time waiting for the unavailable electrode to be prepared.
Smart Images

Figure CN120382204A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical discharge machining of workpieces, and particularly to an electrode control method, device, computer device and storage medium for an electrode library. Background Art
[0002] Currently, during the electrical discharge machining process of a workpiece, the process has been arranged and dispatched, and the current progress status is the electrical discharge machining state. Due to product changes, the workpiece has been modified. There is interference between the modified workpiece and the original electrode. At this time, only the current dispatch of the workpiece can be cancelled, and after the electrode without interference is ready, the dispatch can be carried out again for the electrical discharge machining of the workpiece, reducing the machining efficiency of the workpiece. Summary of the Invention
[0003] Embodiments of the present invention provide an electrode control method, device, computer device and storage medium for an electrode library to solve the problem of reduced machining efficiency of workpieces with electrode changes caused by product changes in the prior art.
[0004] In one embodiment, an electrode control method for an electrode library is provided, including: Obtaining a modified drawing of a part to be machined and determining the position information of the part in the modified drawing; Obtaining the electrode position information for machining and matching the part before the part is modified; Based on the position information of the part and the electrode position information, performing an interference judgment between the part and the electrode to obtain an interference judgment result between the part and the electrode; When the interference judgment result is that there is no interference between the part and the electrode, the electrode is not prohibited from discharging for machining the part; when the interference judgment result is that there is interference between the part and the electrode, determining the electrode number with interference, and modifying the corresponding electrode state to prohibited from discharging according to the electrode number when calling the interface; Prohibiting the electrode with interference from discharging for machining the part, and controlling the electrode without interference to discharge for machining the part.
[0005] In one embodiment, the electrode control method further includes: When the interference judgment result is that there is interference between the part and the electrode, obtaining the thickness and interference part level of the interference part between the part and the electrode. When the interference part level is within a preset level range and the thickness of the interference part is less than or equal to the preset thickness threshold at the interference part level, controlling the electrode with interference to discharge for machining the part.
[0006] In one embodiment, the electrode control method further includes: After modifying the corresponding electrode status to prohibited from discharging according to the electrode number, generate an electrode removal instruction for the manipulator, and control the manipulator to remove the electrode with the prohibited from discharging status from the electrode library.
[0007] In one embodiment, before performing the interference judgment between the part and the electrode, it further includes: Obtain the original drawing file and the modified die drawing file of the part to be processed. According to the original drawing file and the modified die drawing file, determine the different surfaces of the part, mark the modified die positions in the modified die drawing file according to the different surfaces, generate a bill of materials, and trigger the modified die application task for the part; When the status of the modified die application task is approved, start the UG software module to perform the interference judgment between the part and the electrode, and obtain the interference judgment result between the part and the electrode.
[0008] In one embodiment, determine the electrode numbers with interference, which are used to modify the corresponding electrode status to prohibited from discharging according to the electrode numbers when calling the interface, and prohibit machining discharge for the part. Specifically, it includes: Obtain the electrode numbers with interference, and each machining area divided for the part to be processed and the corresponding area category; Judge whether the area category of the machining area of the electrode with the electrode number with interference on the part is a preset key attention area or an area prone to interference; When it is determined that the area category of the machining area of the electrode with the electrode number with interference on the part is a preset area category, modify the corresponding electrode status to prohibited from discharging according to the electrode number.
[0009] The preset area category includes: a preset key attention area or an area prone to interference.
[0010] In one embodiment, it further includes: When it is determined that the area category of the machining area of the electrode with the electrode number with interference on the part is not a preset key attention area and not an area prone to interference, maintain the electrode status of the part as allowed to discharge.
[0011] In one embodiment, provide an electrode control device for an electrode library, including: A workpiece information acquisition module, configured to acquire the modified die drawing file of the part to be processed and determine the position information of the part in the modified die drawing file; An electrode information acquisition module, configured to acquire the electrode position information for machining matching of the part to be processed before die modification; An interference judgment module, configured to perform an interference judgment between the part and the electrode according to the position information of the part and the electrode position information, and obtain an interference judgment result between the part and the electrode; A discharge prohibition discrimination module, configured to, when the interference judgment result is that there is no interference between the part and the electrode, not prohibit the electrode from performing machining discharge on the part; when the interference judgment result is that there is interference between the part and the electrode, determine the electrode number with interference, and be used to modify the corresponding electrode state to prohibited discharge according to the electrode number when calling the interface; A control module, configured to prohibit the electrode with interference from performing machining discharge on the part, and control the electrode without interference to perform machining discharge on the part.
[0012] In one embodiment, the control module is further configured to generate an electrode removal instruction for the manipulator after modifying the corresponding electrode state to prohibited discharge according to the electrode number, and control the manipulator to remove the electrode with the prohibited discharge state from the electrode library.
[0013] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electrode control method of the above electrode library is implemented.
[0014] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the electrode control method of the above electrode library is implemented.
[0015] The above electrode control method, device, computer device and storage medium of the electrode library obtain the position information of the part in the modified die drawing and the electrode position information for machining and matching the part before die modification, perform an interference judgment between the part and the electrode, and obtain an interference judgment result between the part and the electrode; when the result is that there is no interference between the part and the electrode, the electrode is not prohibited from performing machining discharge on the part; when the result is that there is interference between the part and the electrode, determine the electrode number with interference, and be used to modify the corresponding electrode state to prohibited discharge according to the electrode number when calling the interface; prohibit the electrode with interference from performing machining discharge on the part, and control the electrode without interference to perform machining discharge on the part. In the discharge machining process after workpiece die modification, the present invention accurately judges and identifies the available and unavailable states of each electrode through interference judgment, and continues to perform discharge machining on the workpiece with the available electrodes, without having to wait for another part of the electrodes to be ready before machining, greatly improving the machining efficiency of the workpiece. Description of the Drawings
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0017] Figure 1 It is a schematic diagram of an application environment of an electrode control method for an electrode library in an embodiment of the present invention; Figure 2 It is a flowchart of an electrode control method for an electrode library in an embodiment of the present invention; Figure 3 It is a schematic diagram of an electrode control device for an electrode library in an embodiment of the present invention; Figure 4 It is a schematic diagram of a computer device in an embodiment of the present invention. Detailed implementation manners
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.
[0019] The electrode control method for the electrode library provided by the embodiments of the present invention can be applied to the application environment as shown in Figure 1 Specifically, the electrode control method is applied to the electrode discharge control system for workpiece electrical discharge machining. The electrode discharge control system includes a client and a server as shown in Figure 1 The client and the server communicate through a network to implement the electrode discharge machining control of the electrode library. Among them, the client, also known as the user side, refers to a program that provides local services for the client corresponding to the server. The client can be installed on, but not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices. The server can be implemented by an independent server or a server cluster composed of multiple servers.
[0020] In one embodiment, as shown in Figure 2 A method for controlling an electrode of an electrode library is provided. Taking the method applied to the server in Figure 1 as an example, the method includes the following steps: S201. Obtain the modified die drawing of the part to be machined and determine the position information of the part in the modified die drawing; Among them, the modified die drawing refers to the drawing of the part to be processed after the result change. By reading the modified die drawing, the position information of the part after die modification can be determined, such as the coordinate information of each surface.
[0021] S202. Obtain the electrode position information for machining and matching the part to be processed before die modification; Among them, before die modification, the process of the part to be processed has been arranged and dispatched, and each electrode for electrical discharge machining has been prepared in the electrode library. Therefore, the position information of each electrode during the machining process is known.
[0022] S203. According to the position information of the part and the electrode position information, perform an interference judgment between the part and the electrode to obtain an interference judgment result between the part and the electrode; Among them, performing an interference judgment between the part and the electrode according to the position information of the part and the electrode position information specifically includes: performing a comparison operation on the position information of the part obtained from the modified die drawing and the electrode position information, and performing an interference check between each electrode position and the modified die drawing; for example, the check function module of UG software can be used to check all the surfaces of the electrode and all the surfaces of the part in the modified die drawing.
[0023] S204. When the interference judgment result is that there is no interference between the part and the electrode, do not prohibit the electrode from performing machining discharge on the part; when the interference judgment result is that there is interference between the part and the electrode, determine the electrode number with interference, and use it to modify the corresponding electrode state to prohibited discharge when calling the interface; Among them, when the interference judgment result between the part and the electrode is that there is no interference, a dialog box for displaying that there cannot be interference or a dialog box for displaying only surface or edge interference is popped up to indicate simple interference; that is, simple interference is also a special case of no interference. When the interference judgment result between the part and the electrode is that there is interference, the system interface for modifying the electrode is called, and the state attribute of the electrode with the corresponding electrode number with interference is modified to prohibited discharge, and the state attribute of the electrode with the electrode number without interference is not modified.
[0024] S205. Prohibit the electrode with interference from performing machining discharge on the part, and control the electrode without interference to perform machining discharge on the part.
[0025] Among them, by generating a control instruction, the electrode with the electrode state of prohibited discharge can be prohibited from performing machining discharge on the part, and the electrode with the electrode state of allowed discharge can be controlled to perform machining discharge on the part.
[0026] The electrode control method of the electrode library in this embodiment obtains the position information of the part in the modified die drawing and the electrode position information for machining and matching the part before modification, performs interference judgment between the part and the electrode, and obtains the interference judgment result between the part and the electrode. When the result is that there is no interference between the part and the electrode, the electrode is not prohibited from machining and discharging the part. When the result is that there is interference between the part and the electrode, the electrode number with interference is determined, which is used to modify the corresponding electrode state to prohibited discharge according to the electrode number when calling the interface. The electrode with interference is prohibited from machining and discharging the part, and the electrode without interference is controlled to machine and discharge the part. In the discharge machining process after the workpiece die is modified, the present invention accurately judges and identifies the available and unavailable states of each electrode through interference judgment, and the available electrodes continue to perform discharge machining on the workpiece without having to wait for another part of the electrodes to be ready for machining, greatly improving the machining efficiency of the workpiece.
[0027] In one embodiment, the electrode control method further includes: When the interference judgment result is that there is interference between the part and the electrode, obtain the thickness and interference part level of the interference part between the part and the electrode. When the interference part level is within the preset level range and the thickness of the interference part is less than or equal to the preset thickness threshold under the interference part level, control the electrode with interference to machine and discharge the part.
[0028] Among them, the interference part level is used to characterize the importance of the part where the interference occurs, and the level of the interference part level is determined according to whether the part is in the core position, important position, or general position of the mold. For different interference part levels, preset thickness thresholds corresponding to the interference part levels are set. For example, when the interference part level is level one, it means the part is in the core position of the mold, and the preset thickness threshold set can be the first threshold; when the interference part level is level two, it means the part is in the important position of the mold, and the preset thickness threshold set can be the second threshold; when the interference part level is level three, it means the part is in the general position of the mold, and the preset thickness threshold set can be the third threshold; among them, the first threshold is less than the second threshold, and the second threshold is less than the third threshold. Exemplarily, the first threshold can be 3 microns, the second threshold can be 5 microns, and the third threshold can be 10 microns; these thresholds can be modified and adjusted according to the actual situation or experience.
[0029] In this embodiment, when it is judged that there is interference, by combining the thickness of the interference part and the interference part level, when the interference part level is within the preset level range and the thickness of the interference part is less than or equal to the preset thickness threshold under the interference part level, even if there is interference between the electrode and the part, it can be considered within the acceptable range, and the electrode can be allowed to continue discharging the part.
[0030] In one embodiment, the electrode control method further includes: After modifying the corresponding electrode state to prohibited from discharging according to the electrode number, an electrode removal instruction for the manipulator is generated to control the manipulator to remove the electrode with the prohibited from discharging state from the electrode library.
[0031] Among them, communication can be carried out between the control server and the manipulator. The control server generates an electrode removal instruction for the manipulator, sends the instruction to the manipulator, and the manipulator executes the instruction to remove the electrode with the prohibited from discharging state from the electrode library.
[0032] The electrode control method of the electrode library in this embodiment accurately judges and identifies the available state and unavailable state of each electrode through interference judgment, controls the manipulator to remove the electrodes in the unavailable state from the electrode library, so that the electrodes in the available state can continue to perform electrical discharge machining on the workpiece, greatly improving the machining efficiency of the workpiece.
[0033] In one embodiment, before performing the interference judgment between the part and the electrode, it further includes: S301, obtaining the original drawing file and the modified die drawing file of the part to be machined, determining the different surfaces of the part according to the original drawing file and the modified die drawing file, marking the modified die positions in the modified die drawing file according to the different surfaces, generating a bill of materials, and triggering the modified die application task of the part; S302, when the status of the modified die application task is approved, starting the UG software module to perform the interference judgment between the part and the electrode to obtain the interference judgment result between the part and the electrode.
[0034] Among them, the bill of materials refers to the modified die drawing file that marks the modified die positions of the part; the modified die application task refers to the application task of replacing the original drawing file of the part with the modified die drawing file for machining. For example, setting the name of the review node of this task as the first-level review to indicate the importance of the review; setting the status of this task as the to-be-reviewed status, setting the review content of this task as the generated modified die drawing file; only when the status of this task changes from the to-be-reviewed status to the approved status, the UG software module is triggered to perform the interference judgment between the part and the electrode.
[0035] The electrode control method of the electrode library in this embodiment generates a modified die application task containing the modified die drawing file, and only starts the UG software module to perform the interference judgment between the part and the electrode after the status of this task changes from the to-be-reviewed status to the approved status, and then obtains the interference judgment result between the part and the electrode; it can avoid performing interference checks on the electrodes of the modified die drawing files that do not meet the requirements, and only perform interference checks on the electrodes of the modified die drawing files that meet the requirements, further improving the interference check and machining efficiency of the workpiece.
[0036] In one embodiment, the electrode numbers with interference are determined, and when the interface is called, the corresponding electrode states are modified to prohibited discharge according to the electrode numbers, so as to prohibit machining discharge of the part. Specifically, it includes: S401, obtain the electrode numbers with interference, as well as each machining area divided for the part to be machined and the corresponding area category; Among them, each machining area divided for the part to be machined and the corresponding area category can be determined according to preset requirements. For example, when the preset requirements include the historical interference areas between parts of the same type as this part and electrodes, the areas prone to interference of the current part can be determined, and the category is suspected interference category; the remaining areas on the current part excluding the areas prone to interference are safe areas, and the category is non-interference category.
[0037] S402, judge whether the area category of the machining area of the electrode with the determined interference electrode number on the part is a preset area category; Among them, after obtaining the interference judgment result of interference between the part and the electrode, it can be determined whether the area category of the machining area of the electrode with the determined interference electrode number on the part is a preset key attention area or an area prone to interference according to whether the interference area between the part and the electrode indicated by the interference judgment result is within the preset key attention area or the area prone to interference.
[0038] S403, when it is determined that the area category of the machining area of the electrode with the determined interference electrode number on the part is a preset area category, modify the corresponding electrode state to prohibited discharge according to the electrode number.
[0039] Among them, when the interference area between the part and the electrode indicated by the interference judgment result is within the preset area, it is considered that the area category of the machining area of the electrode with the determined interference electrode number on the part is a preset area category, and the electrode state of the corresponding electrode can be modified to prohibited discharge.
[0040] The electrode control method of the electrode library in this embodiment divides the areas on the part into areas prone to interference and non-prone to interference, and further judges in combination with the areas on the part after obtaining the interference judgment result to determine the credibility of the current interference judgment result. Only when the interference area shown by the interference judgment result coincides with the area prone to interference of the part, the current interference judgment result is recognized, and the electrode state of the corresponding electrode is modified to prohibited discharge, further improving the reliability of interference judgment.
[0041] In one embodiment, the preset area category includes: a preset key attention area or an area prone to interference.
[0042] Among them, when the interference area between the part and the electrode indicated by the interference judgment result is within the preset key attention area or the area prone to interference, it is considered that the area category of the machining area of the electrode with the electrode number where interference exists on the part is the preset area category, and the electrode state of the corresponding electrode can be modified to prohibit discharge.
[0043] For the electrode control method of the electrode library in this embodiment, only when the interference area shown by the interference judgment result coincides with the area prone to interference or the key attention area of the part, the current interference judgment result is recognized, and the electrode state of the corresponding electrode is modified to prohibit discharge, further improving the reliability of the interference judgment.
[0044] In one embodiment, it further includes: When it is determined that the area category of the machining area of the electrode with the electrode number where interference exists on the part is not the preset key attention area and is not the area prone to interference, the electrode state of the part is maintained as allowing discharge.
[0045] Among them, the areas on the part are divided into three categories, namely the key attention area, the area prone to interference, and the non-key attention area. The key attention area is a preset area where interference may occur for the current part. The area prone to interference is the area where the current part is historically prone to interference. The non-key attention area is the remaining area on the part excluding the key attention area and the area prone to interference. When the area category of the machining area of the electrode with the electrode number where interference exists on the part is in the non-key attention area, it is determined that it is a misjudgment of interference, and the electrode state of the part is maintained as allowing discharge.
[0046] For the electrode control method of the electrode library in this embodiment, when the interference judgment result is that there is interference between the part and the electrode, by comparing again whether the area category of the machining area of the electrode with the electrode number where interference exists on the part is in the key attention area or the area prone to interference, it is possible to prevent misjudgment of the interference between the part and the electrode. When it is determined that it is a misjudgment, the electrode state of the part is maintained as allowing discharge, improving the accuracy of the discharge machining.
[0047] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0048] In one embodiment, an electrode control device for an electrode library is provided. The electrode control device for the electrode library corresponds one-to-one to the electrode control method of the electrode library in the above embodiment. As Figure 3As shown in the figure, the electrode control device includes a workpiece information acquisition module 31, an electrode information acquisition module 32, an interference judgment module 33, a discharge prohibition discrimination module 34, and a control module 35. The detailed description of each functional module is as follows: The workpiece information acquisition module 31 is used to acquire the modified die drawing of the part to be processed and determine the position information of the part in the modified die drawing; The electrode information acquisition module 32 is used to acquire the electrode position information for machining and matching the part before the die modification of the part to be processed; The interference judgment module 33 is used to perform interference judgment between the part and the electrode according to the position information of the part and the electrode position information, and obtain the interference judgment result between the part and the electrode; The discharge prohibition discrimination module 34 is used to, when the interference judgment result is that there is no interference between the part and the electrode, not prohibit the electrode from discharging for machining the part; when the interference judgment result is that there is interference between the part and the electrode, determine the electrode number with interference, and modify the corresponding electrode state to discharge prohibition according to the electrode number when calling the interface; The control module 35 is used to prohibit the electrode with interference from discharging for machining the part, and control the electrode without interference to discharge for machining the part.
[0049] In one embodiment, the control module is further used to generate an electrode extraction instruction for the manipulator after modifying the corresponding electrode state to discharge prohibition according to the electrode number, and control the manipulator to extract the electrode with the discharge-prohibited state from the electrode library.
[0050] In one embodiment, the electrode control device further includes: The modified die application task module is used to acquire the original drawing and the modified die drawing of the part to be processed, determine the different surfaces of the part according to the original drawing and the modified die drawing, mark the modified positions in the modified die drawing according to the different surfaces, generate a bill of materials, and trigger the modified die application task of the part; The calling module is used to, when the status of the modified die application task is approved, start the UG software module to perform interference judgment between the part and the electrode, and obtain the interference judgment result between the part and the electrode.
[0051] In one embodiment, the discharge prohibition discrimination module includes: The information acquisition sub-module is used to acquire the electrode number with interference, and each machining area divided for the part to be processed and the corresponding area category; The judgment sub-module is used to judge whether the area category of the machining area of the electrode with the interference electrode number on the part is a preset key attention area or an area prone to interference; The state modification submodule is used to modify the corresponding electrode state to prohibit discharge according to the electrode number when it is determined that the area category of the processing area of the electrode with the interference electrode number on the part is a preset area category.
[0052] In one embodiment, the preset area categories include: preset key focus areas or areas prone to interference.
[0053] In one embodiment, the discharge prohibition determination module further includes: The control submodule is used to maintain the electrode state of the part to allow discharge when the area category of the processing area of the electrode with the electrode number that is determined to have interference on the part is not a preset key focus area and is not an area prone to interference.
[0054] For the specific definition of the electrode control device of the electrode library, please refer to the definition of the electrode control method of the electrode library above, which will not be repeated here. The various modules in the electrode control device of the electrode library can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0055] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store workpiece information and electrode information. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an electrode control method for an electrode library is implemented.
[0056] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electrode control method of the electrode library in the above embodiment is implemented, for example Figure 2 Alternatively, when the processor executes the computer program, the functions of each module / unit in the embodiment of the electrode control device are realized, for example, Figure 3The electrode control function shown will not be elaborated here to avoid repetition.
[0057] In one embodiment, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, it implements the electrode control method of the electrode library in the above embodiment. For example Figure 2 S201 - S205 shown will not be elaborated here to avoid repetition. Alternatively, when the computer program is executed by a processor, it implements the functions of each module / unit in the above embodiment of the electrode control device. For example Figure 3 The electrode control function shown will not be elaborated here to avoid repetition.
[0058] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it may include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application may include non-volatile and / or volatile memories. Non-volatile memories may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0059] Those skilled in the art can clearly understand that for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to 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.
[0060] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention 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 perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. An electrode control method for an electrode library, characterized in that, The electrode control method includes: Obtain the modified drawing of the part to be processed, and determine the position information of the part in the modified drawing; Obtain the electrode position information for machining and matching the part before the modification of the part to be processed; Based on the position information of the part and the electrode position information, perform an interference judgment between the part and the electrode to obtain an interference judgment result of the part and the electrode; When the interference judgment result is that there is no interference between the part and the electrode, the electrode is not prohibited from performing machining discharge on the part; when the interference judgment result is that there is interference between the part and the electrode, determine the electrode number with interference, which is used to modify the corresponding electrode state to prohibited discharge according to the electrode number when calling the interface; Prohibit the electrode with interference from performing machining discharge on the part, and control the electrode without interference to perform machining discharge on the part.
2. The electrode control method according to claim 1, wherein The electrode control method further includes: When the interference judgment result is that there is interference between the part and the electrode, obtain the thickness and interference part level of the interference part between the part and the electrode. When the interference part level is within the preset level range and the thickness of the interference part is less than or equal to the preset thickness threshold under the interference part level, control the electrode with interference to perform machining discharge on the part.
3. The electrode control method according to claim 1, wherein The electrode control method further includes: After modifying the corresponding electrode state to prohibited discharge according to the electrode number, generate an electrode removal instruction for the manipulator, and control the manipulator to remove the electrode with the prohibited discharge state from the electrode library.
4. The electrode control method according to claim 1, characterized in that, Before performing the interference judgment between the part and the electrode, it further includes: Obtain the original drawing and modified drawing of the part to be processed. According to the original drawing and modified drawing, determine the different surfaces of the part, mark the modification position in the modified drawing according to the different surfaces, generate a bill of materials, and trigger the modification application task of the part; When the status of the modification application task is approved, start the UG software module to perform the interference judgment between the part and the electrode to obtain the interference judgment result of the part and the electrode.
5. The electrode control method according to claim 1, characterized in that, Determine the electrode number with interference, which is used to modify the corresponding electrode state to prohibited discharge according to the electrode number when calling the interface, and prohibit machining discharge on the part. Specifically, it includes: Obtain the electrode number with interference, and each machining area divided for the part to be processed and the corresponding area category; Judge whether the area category of the machining area of the electrode with the electrode number with interference on the part is a preset area category; When it is determined that the area category of the machining area of the electrode with the electrode number with interference on the part is a preset area category, modify the corresponding electrode state to prohibited discharge according to the electrode number; The preset area category includes: a preset key attention area or an area prone to interference.
6. The electrode control method according to claim 5, characterized in that, It further includes: When it is determined that the area category of the machining area of the electrode with the electrode number with interference on the part is not a preset key attention area and is not an area prone to interference, maintain the electrode state of the part as allowed discharge.
7. An electrode control device for an electrode library, characterized in that, The electrode control device includes: The workpiece information acquisition module is used to acquire the modified die drawing of the part to be processed and determine the position information of the part in the modified die drawing; The electrode information acquisition module is used to acquire the electrode position information for machining and matching the part before the die modification of the part to be processed; The interference judgment module is used to perform interference judgment between the part and the electrode according to the position information of the part and the electrode position information, and obtain the interference judgment result between the part and the electrode; The discharge prohibition discrimination module is used to, when the interference judgment result is that there is no interference between the part and the electrode, not prohibit the electrode from discharging for machining the part; when the interference judgment result is that there is interference between the part and the electrode, determine the electrode number with interference, and is used to modify the corresponding electrode state to discharge prohibited according to the electrode number when calling the interface; The control module is used to prohibit the electrode with interference from discharging for machining the part, and control the electrode without interference to discharge for machining the part.
8. The electrode control device according to claim 7, wherein, The control module is further used to generate an electrode removal instruction for the manipulator and control the manipulator to remove the electrode with the discharge prohibited state from the electrode library after modifying the corresponding electrode state to discharge prohibited according to the electrode number.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the electrode control method according to any one of claims 1 to 6.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the electrode control method according to any one of claims 1 to 6.