Three-dimensional trajectory servo scanning machining method and device

By detecting the machining gap voltage value and the three-dimensional trajectory servo control strategy, calculating the electrode wear length and motion depth, and generating scanning machining commands, the instability and error problems caused by the side discharge of the tool electrode in three-dimensional EDM servo scanning machining are solved, achieving high-precision and high-efficiency machining results.

CN120002107BActive Publication Date: 2025-10-31TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411994526.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-10-31
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In 3D EDM servo scanning, the fluid flushing inside the tool electrode optimizes the chip removal state of the machining gap, causing the tool electrode tip to embed into the machining area and generate lateral discharge. This makes it difficult for a single axial servo motion to maintain the discharge gap at the electrode tip, and the servo scanning process is unstable. Furthermore, the change in the lateral discharge area of ​​the tool electrode affects the accuracy of the electrode wear length calculation, resulting in significant errors in machining depth and contour shape.

Method used

By detecting the average voltage value of the machining gap between the target tool electrode and the workpiece, motion signals are acquired based on a three-dimensional trajectory servo control strategy. The electrode wear length is calculated and the motion depth is determined. Scanning machining commands are generated, and the tool electrode is controlled to execute the commands to achieve automatic compensation for the wear at the end of the rotary tube electrode, thereby improving the accuracy of contour dimensions and depth, and effectively controlling the scanning layer thickness.

Benefits of technology

This technology improves the stability and accuracy of 3D servo scanning machining, increases machining efficiency, and solves the problems of machining instability and depth error caused by lateral wear of the tool electrode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120002107B_ABST
    Figure CN120002107B_ABST
Patent Text Reader

Abstract

This application relates to the field of special machining technology, and in particular to a three-dimensional trajectory servo scanning machining method and apparatus. The method includes: detecting the average voltage value of the machining gap between a target tool electrode and a target workpiece; acquiring the motion signal of the target tool electrode based on the average voltage value and a three-dimensional trajectory servo control strategy; calculating the electrode wear length of the target tool electrode and determining the motion depth of the target tool electrode; generating a scanning machining command for the target tool electrode based on the motion signal and motion depth, and controlling the target tool electrode to execute the scanning machining command to generate a three-dimensional scanning result of the target workpiece. This solves the problems in related technologies, such as the difficulty in maintaining the end discharge gap of the electrode with a single axial servo motion, the instability of the three-dimensional servo scanning machining process, the low accuracy of electrode wear length calculation, and significant errors in machining depth and contour shape.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of special processing technology, and in particular to a three-dimensional trajectory servo scanning processing method and apparatus. Background Technology

[0002] In electrical discharge machining (EDM), the method of compensating for tool electrode discharge loss directly affects machining efficiency and accuracy. Three-dimensional EDM servo scanning machining maintains the machining gap between the electrode bottom surface and the workpiece material at all times through high-speed servo motion of the electrode axis, thereby achieving automatic compensation for electrode wear length during machining and eliminating the cumbersome electrode wear measurement and calibration steps required in EDM cavity machining. Furthermore, it reduces error replication during machining through a layer depth constraint algorithm, achieving higher machining depth accuracy.

[0003] In related technologies, based on the boss distribution of each forming part in the same forming part of the mold, each forming part can be combined with a matching structure suitable for forming on a tool electrode. This allows for the determination of the total number of electrical discharge machining operations required by the tool electrode, the electrical discharge clearance, height, and number of electrode holes of the tool electrode used for electrical discharge machining, and the establishment of a three-dimensional electrode model based on the determined electrical discharge clearance, height, and number of electrode holes. Alternatively, in roughing, a large amount of cavity material can be quickly removed. In finishing, a method for servo-feeding maximum depth of each tool electrode is proposed, combined with low-voltage electrical contact closed-loop feedback of each layer's machining depth. A variable-speed servo scanning method is proposed to compensate for depth errors, thereby achieving high surface and dimensional accuracy forming processes using low discharge energy and thin layer thickness.

[0004] However, in related technologies, on the one hand, because the internal flushing fluid of the tool electrode optimizes the chip removal state of the machining gap, at the same scanning speed, the end of the tool electrode will be embedded in the machining area and cause lateral discharge, resulting in significant lateral electrode loss. This makes it difficult for a single axial servo motion to maintain the end discharge gap of the electrode, causing instability in the three-dimensional servo scanning machining process. On the other hand, because the lateral discharge area of ​​the tool electrode changes with the direction change of the scanning trajectory during servo scanning machining, it affects the accuracy of the electrode loss length calculation, causing significant machining depth error and contour shape error, which urgently needs improvement. Summary of the Invention

[0005] This application provides a three-dimensional trajectory servo scanning machining method and apparatus to solve the problems in related technologies, such as: because the fluid flushing inside the tool electrode optimizes the chip removal state of the machining gap, the end of the tool electrode will be embedded in the machining area and cause lateral discharge, resulting in significant electrode lateral loss. This makes it difficult for a single axial servo motion to maintain the end discharge gap of the electrode, causing instability in the three-dimensional servo scanning machining process; and because the lateral discharge area of ​​the tool electrode changes with the direction change of the scanning trajectory during servo scanning machining, it affects the accuracy of the electrode loss length calculation, resulting in significant errors in machining depth and contour shape.

[0006] The first aspect of this application provides a three-dimensional trajectory servo scanning machining method, comprising the following steps: detecting the average voltage value of the machining gap between a target tool electrode and a target workpiece; acquiring the motion signal of the target tool electrode based on the average voltage value and a three-dimensional trajectory servo control strategy of the target tool electrode; calculating the electrode wear length of the target tool electrode based on the average voltage value, and determining the motion depth of the target tool electrode based on the electrode wear length; generating a scanning machining command for the target tool electrode based on the motion signal and the motion depth, and controlling the target tool electrode to execute the scanning machining command to generate a three-dimensional scanning result of the target workpiece.

[0007] Optionally, in one embodiment of this application, the step of obtaining the motion signal of the target tool electrode based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode includes: obtaining the motion signal of the target tool electrode in the trajectory tangential direction feed and retraction at the interpolation point of the scan trajectory based on the average voltage value and the trajectory servo motion in the three-dimensional trajectory servo control strategy.

[0008] Optionally, in one embodiment of this application, the step of obtaining the motion signal of the target tool electrode based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode includes: obtaining the motion signal of the target tool electrode in the vertical direction of trajectory feed and retraction at the interpolation point of the scanning trajectory based on the average voltage value and the axial servo motion in the three-dimensional trajectory servo control strategy.

[0009] Optionally, in one embodiment of this application, the step of obtaining the motion signal of the target tool electrode based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode includes: obtaining the estimated side voltage of the side clearance in the machining gap and the estimated bottom voltage of the bottom clearance in the machining gap based on the average voltage value; determining the working state of the side clearance and the bottom clearance based on the estimated side voltage and the estimated bottom voltage respectively; when the working state of the side clearance and the bottom clearance is both in a short-circuit state, obtaining the trajectory servo retraction and axial servo retraction motion signals of the target tool electrode based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy; when the working state of the side clearance is in a short-circuit state... When both the side clearance and the bottom clearance are in a normal working state, the trajectory servo retraction and axial servo feed motion signals of the target tool electrode are obtained based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy. When both the side clearance and the bottom clearance are in an open circuit state, the axial servo feed motion signal of the target tool electrode is obtained based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy.

[0010] Optionally, in one embodiment of this application, before calculating the electrode loss length based on the statistical count and the electrode loss coefficient of the at least one voltage range, the method further includes: determining the electrode loss calculation error when calculating the electrode loss length; obtaining an objective function for the electrode loss coefficient based on the electrode loss calculation error; constructing a penalty function for the electrode loss coefficient based on the objective function; and calculating the electrode loss coefficient using the penalty function.

[0011] Optionally, in one embodiment of this application, the step of calculating the electrode wear length of the target tool electrode based on the average voltage value includes: dividing the average voltage value to generate multiple voltage intervals; obtaining the actual average voltage value of the machining gap in each voltage interval; counting the actual average voltage value to obtain the statistical frequency of the actual average voltage value; and calculating the electrode wear length based on the statistical frequency and the electrode wear coefficient of at least one voltage interval.

[0012] Optionally, in one embodiment of this application, determining the movement depth of the target tool electrode based on the electrode wear length includes: calculating the maximum feed movement depth of the target tool electrode based on the electrode wear length; determining whether the target movement depth of the target tool electrode is greater than the maximum feed movement depth; if the target movement depth is greater than the maximum feed movement depth, then determining the movement depth as the original movement depth based on the target movement depth; if the target movement depth is less than or equal to the maximum feed movement depth, then determining the movement depth as the target movement depth based on the target movement depth.

[0013] A second aspect of this application provides a three-dimensional trajectory servo scanning machining apparatus, comprising: a detection module for detecting the average voltage value of the machining gap between a target tool electrode and a target workpiece; an acquisition module for acquiring a motion signal of the target tool electrode based on the average voltage value and a three-dimensional trajectory servo control strategy of the target tool electrode; a first calculation module for calculating the electrode wear length of the target tool electrode based on the average voltage value and determining the motion depth of the target tool electrode based on the electrode wear length; and a first generation module for generating a scanning machining command for the target tool electrode based on the motion signal and the motion depth, and controlling the target tool electrode to execute the scanning machining command to generate a three-dimensional scanning result of the target workpiece.

[0014] Optionally, in one embodiment of this application, the acquisition module includes: a first acquisition unit, configured to acquire the motion signal of the target tool electrode feeding and retracting in the trajectory tangential direction at the interpolation point of the scanning trajectory based on the average voltage value and the trajectory servo motion in the three-dimensional trajectory servo control strategy.

[0015] Optionally, in one embodiment of this application, the acquisition module includes: a second acquisition unit, configured to acquire the motion signal of the target tool electrode performing vertical feed and retraction at the interpolation point of the scanning trajectory based on the average voltage value and the axial servo motion in the three-dimensional trajectory servo control strategy.

[0016] Optionally, in one embodiment of this application, the acquisition module includes: a first generation unit, configured to obtain an estimated value of the side voltage of the side gap in the machining gap and an estimated value of the bottom voltage of the bottom gap in the machining gap based on the average voltage value; a first determination unit, configured to determine the working states of the side gap and the bottom gap based on the estimated values ​​of the side voltage and the bottom voltage, respectively; a third acquisition unit, configured to, when the working states of the side gap and the bottom gap are both in a short-circuit state, acquire the trajectory servo retraction and axial servo retraction motion signals of the target tool electrode based on the estimated values ​​of the side voltage, the estimated values ​​of the bottom voltage, and the three-dimensional trajectory servo control strategy; and a fourth acquisition unit, configured to, when the working state of the side gap is in a short-circuit state and the working state of the bottom gap is in a short-circuit state, acquire the trajectory servo retraction and axial servo retraction motion signals of the target tool electrode. When the working state is normal, the fifth acquisition unit is used to acquire the trajectory servo retraction and axial servo feed motion signals of the target tool electrode based on the side voltage estimate, the bottom voltage estimate, and the three-dimensional trajectory servo control strategy. The sixth acquisition unit is used to acquire the axial servo feed motion signal of the target tool electrode when both the side clearance and the bottom clearance are in normal working states.

[0017] Optionally, in one embodiment of this application, the first calculation module includes: a division unit for dividing the average voltage value to generate multiple voltage intervals; a seventh acquisition unit for acquiring the actual average voltage value of the processing gap in each voltage interval; a statistics unit for counting the actual average voltage value to obtain the statistical frequency of the actual average voltage value; and a first calculation unit for calculating the electrode loss length based on the statistical frequency and the electrode loss coefficient of at least one voltage interval.

[0018] Optionally, in one embodiment of this application, the first calculation module further includes: a second determining unit, configured to determine an electrode loss calculation error when calculating the electrode loss length before calculating the electrode loss length based on the statistical count and the electrode loss coefficient of the at least one voltage range; a second generating unit, configured to obtain an objective function for the electrode loss coefficient based on the electrode loss calculation error; a constructing unit, configured to construct a penalty function for the electrode loss coefficient based on the objective function; and a second calculation unit, configured to calculate the electrode loss coefficient using the penalty function.

[0019] Optionally, in one embodiment of this application, the first calculation module includes: a third calculation unit, configured to calculate the maximum feed depth of the target tool electrode based on the electrode wear length; a judgment unit, configured to determine whether the target movement depth of the target tool electrode is greater than the maximum feed depth; a third determination unit, configured to determine the movement depth as the original movement depth based on the target movement depth when the target movement depth is greater than the maximum feed depth; and a fourth determination unit, configured to determine the movement depth as the target movement depth based on the target movement depth when the target movement depth is less than or equal to the maximum feed depth.

[0020] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the three-dimensional trajectory servo scanning machining method as described in the above embodiments.

[0021] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described three-dimensional trajectory servo scanning machining method.

[0022] A fifth aspect of this application provides a computer program product, including a computer program that, when executed, implements the three-dimensional trajectory servo scanning machining method described above.

[0023] This application embodiment can acquire the motion signal of the target tool electrode based on the average voltage value of the machining gap between the detected target tool electrode and the target workpiece and the three-dimensional trajectory servo control strategy. It then determines the motion depth of the target tool electrode by calculating the electrode wear length, and generates scanning machining commands for the target tool electrode based on the motion signal and motion depth, thereby obtaining the three-dimensional scanning result of the target workpiece. By achieving automatic compensation for the end wear of the rotary tube electrode, it improves the contour dimension accuracy and machining depth accuracy, effectively controls the scanning layer thickness, and maintains stability during machining, thus improving machining efficiency. This solves the problems in related technologies, where the tool electrode's internal flushing fluid optimizes the chip removal state of the machining gap, causing the tool electrode end to embed into the machining area and generate significant lateral electrode wear. This makes it difficult for a single axial servo motion to maintain the end discharge gap of the electrode, resulting in instability in the three-dimensional servo scanning machining process. Furthermore, the lateral discharge area of ​​the tool electrode changes with the direction of the scanning trajectory during servo scanning machining, affecting the accuracy of the electrode wear length calculation and leading to significant errors in machining depth and contour shape.

[0024] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0025] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0026] Figure 1 This is a flowchart of a three-dimensional trajectory servo scanning machining method according to an embodiment of this application;

[0027] Figure 2 This is a block diagram illustrating the control process of trajectory servo motion according to an embodiment of this application;

[0028] Figure 3 This is a block diagram illustrating the control process of axial servo motion according to an embodiment of this application;

[0029] Figure 4 This is a block diagram illustrating the matching control of trajectory servo motion and axial servo motion according to an embodiment of this application.

[0030] Figure 5 A block diagram illustrating the implementation process of the layer depth constraint method in a three-dimensional trajectory servo scanning electrical discharge machining method according to an embodiment of this application;

[0031] Figure 6 This is a block diagram illustrating a trajectory servo scanning machining process according to an embodiment of this application;

[0032] Figure 7 This is a block diagram of a three-dimensional trajectory servo scanning processing device provided according to an embodiment of this application;

[0033] Figure 8 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application. Detailed Implementation

[0034] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0035] The following describes a three-dimensional trajectory servo scanning processing method and apparatus according to embodiments of this application with reference to the accompanying drawings. To address the issues mentioned in the background art, where the internal flushing fluid of the tool electrode optimizes the chip removal state of the machining gap, causing the tool electrode tip to embed into the machining area and resulting in lateral discharge and significant electrode lateral loss, making it difficult for a single axial servo motion to maintain the electrode tip discharge gap, leading to instability in the 3D servo scanning machining process; and because the lateral discharge area of ​​the tool electrode changes with the direction of the scanning trajectory during servo scanning machining, affecting the accuracy of the electrode loss length calculation, resulting in significant machining depth and contour shape errors, this application provides a 3D trajectory servo scanning machining method. In this method, the motion signal of the target tool electrode can be obtained based on the average voltage value of the machining gap between the detected target tool electrode and the target workpiece and the 3D trajectory servo control strategy. The motion depth of the target tool electrode is determined by calculating the electrode loss length, and then a scanning machining command for the target tool electrode is generated based on the motion signal and motion depth, thereby obtaining the 3D scanning result of the target workpiece. By realizing automatic compensation for the end loss of the rotating tube electrode, the contour dimension accuracy and machining depth accuracy of the machining are improved. It can also effectively control the scanning layer thickness and maintain stability during the machining process, thereby improving machining efficiency. This solves the problems in related technologies, such as the tool electrode tip embedding into the machining area and causing lateral discharge due to the optimized chip removal state of the machining gap by the internal flushing fluid, resulting in significant lateral electrode wear. This makes it difficult for a single axial servo motion to maintain the end discharge gap of the electrode, causing instability in the three-dimensional servo scanning machining process. Furthermore, the lateral discharge area of ​​the tool electrode changes with the direction of the scanning trajectory during servo scanning machining, affecting the accuracy of the electrode wear length calculation and leading to significant errors in machining depth and contour shape.

[0036] Specifically, Figure 1 This is a flowchart of a three-dimensional trajectory servo scanning machining method provided according to an embodiment of this application.

[0037] like Figure 1 As shown, the three-dimensional trajectory servo scanning machining method includes the following steps:

[0038] In step S101, the average voltage value of the machining gap between the target tool electrode and the target workpiece is detected.

[0039] As one possible implementation, in this embodiment of the application, when a rotating target tool electrode with internal flushing fluid is used to process and remove target workpiece material layer by layer along a pre-planned scanning path, the average voltage value of the processing gap between the target tool electrode and the target workpiece can be detected first, and then the average voltage value of the processing gap can be controlled through a three-dimensional trajectory servo control strategy. The pre-planned scanning path can be set by those skilled in the art according to actual conditions, and this application does not impose specific limitations.

[0040] In step S102, the motion signal of the target tool electrode is acquired based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode.

[0041] It is understood that, in the embodiments of this application, the three-dimensional trajectory servo control strategy may include, but is not limited to, trajectory servo motion and axial servo motion, etc., and this application does not impose specific limitations.

[0042] As one possible approach, embodiments of this application can obtain the motion signal of the target tool electrode by using the average voltage value of the machining gap and the three-dimensional trajectory servo control strategy of the target tool electrode.

[0043] Optionally, in one embodiment of this application, the motion signal of the target tool electrode is obtained based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode, including: based on the average voltage value and the trajectory servo motion in the three-dimensional trajectory servo control strategy, the motion signal of the target tool electrode at the interpolation point of the scanning trajectory is obtained for tangential direction feed and retraction.

[0044] In some embodiments, the trajectory servo motion of this application can be understood as obtaining the motion signal of the target tool electrode in the tangential direction of the trajectory feed and retraction at the interpolation point of the scanning trajectory by using the average voltage value of the machining gap, thereby maintaining the voltage value of the side gap at the end of the target tool electrode within a certain range to compensate for the radial discharge loss at the end of the target tool electrode. This certain range can be set by those skilled in the art according to actual conditions, and this application does not impose specific limitations.

[0045] For example, an embodiment of this application provides a trajectory servo motion such as... Figure 2 As shown, its main content can be: at the interpolation points of the scanning trajectory The side clearance is obtained by detecting the average voltage value of the machining gap. The estimated voltage value is Furthermore, in the embodiments of this application when Greater than the preset side short circuit threshold At that time, the target tool electrode is controlled to move at a speed of magnitude within the scanning plane. Towards the next interpolation point of the scan trajectory Move forward; when Less than At that time, it is assumed that the side gap is in a short-circuit state, and the target tool electrode is controlled at a certain speed. Towards the previous interpolation point of the scan trajectory The device rapidly retracts to increase the side clearance. The pre-set side short-circuit threshold can be set by those skilled in the art according to actual conditions; this application does not impose specific limitations.

[0046] Optionally, in one embodiment of this application, the motion signal of the target tool electrode is obtained based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode, including: based on the average voltage value and the axial servo motion in the three-dimensional trajectory servo control strategy, the motion signal of the target tool electrode in the vertical direction of trajectory feed and retraction at the interpolation point of the scanning trajectory is obtained.

[0047] In some embodiments, the axial servo motion of this application can be understood as obtaining the motion signal of the target tool electrode in the vertical direction of the trajectory feed and retraction at the interpolation point of the scanning trajectory by using the average voltage value of the machining gap, thereby maintaining the voltage value of the bottom surface gap at the end of the target tool electrode within a certain range to compensate for the machining length loss at the end of the target tool electrode. This certain range can be set by those skilled in the art according to actual conditions, and this application does not impose specific limitations.

[0048] For example, an axial servo motion embodiment provided in this application is as follows: Figure 3 As shown, its main content can be: In the embodiments of this application, when the bottom surface gap... The estimated value Greater than the preset bottom surface open circuit threshold At that time, the target tool electrode is controlled to move at a velocity in a direction perpendicular to the trajectory plane. Rapid downward feed to reduce bottom clearance; when Less than the preset bottom short-circuit state threshold At that time, it is assumed that the bottom surface is in a short-circuit state, and the target tool electrode is controlled to move at a speed Quickly lift to increase the gap between the bottom surfaces; when Between and In between, control the target tool electrode at speed Slow feed is used to compensate for the discharge loss of the target tool electrode. The preset open-circuit threshold and short-circuit threshold for the bottom surface can be set by those skilled in the art according to actual conditions; this application does not impose specific limitations.

[0049] Optionally, in one embodiment of this application, the motion signal of the target tool electrode is obtained based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode, including: obtaining the estimated side voltage of the side gap in the machining gap and the estimated bottom voltage of the bottom gap in the machining gap based on the average voltage value; determining the working state of the side gap and the bottom gap based on the estimated side voltage and the estimated bottom voltage respectively; when the working state of the side gap and the bottom gap is both in a short-circuit state, obtaining the trajectory servo retraction and axial servo retraction motion signals of the target tool electrode based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy; when the working state of the side gap is short-circuit... Under the condition that the working state of both the side and bottom gaps is normal, the trajectory servo retraction and axial servo feed motion signals of the target tool electrode are obtained based on the side voltage estimate, bottom voltage estimate, and three-dimensional trajectory servo control strategy. Under the condition that the working states of both the side and bottom gaps are open circuit, the axial servo feed motion signal of the target tool electrode is obtained based on the side voltage estimate, bottom voltage estimate, and three-dimensional trajectory servo control strategy.

[0050] In some embodiments of this application, during the process of identifying the average voltage value in scanning processing, the three-dimensional trajectory servo control strategy can have four matched servo motion modes:

[0051] In the first embodiment of this application, when both the side clearance and the bottom clearance are in a short-circuit state, the target tool electrode is controlled to simultaneously perform trajectory servo retraction and axial servo retraction movements to quickly escape the short-circuit region.

[0052] In the second mode, when the side clearance is in a short-circuit state and the bottom clearance is in a normal state, the target tool electrode is controlled to perform trajectory servo retraction and axial servo feed movements to increase the side clearance while maintaining the bottom clearance.

[0053] In Mode 3, when both the side clearance and bottom clearance are in normal working condition, the target tool electrode is controlled to perform trajectory servo feed and axial servo feed at a preset rate. During the scanning machining feed, the discharge loss of the target tool electrode is compensated. When the target tool electrode reaches the maximum machining depth, the axial servo movement stops, and it remains at the target depth along the trajectory, achieving servo scanning machining across inclined surfaces and workpiece edges. The preset rate can be set by those skilled in the art according to actual conditions; this application does not impose specific limitations.

[0054] In Mode Four, when both the side clearance and bottom clearance are in an open-circuit state, the target tool electrode is controlled to enter a suitable electrical discharge machining distance at a pre-set open-circuit feed rate, thereby improving machining efficiency. The pre-set open-circuit feed rate can be set by those skilled in the art according to actual conditions, and this application does not impose specific limitations.

[0055] For example, this application provides a schematic diagram of the matching control of trajectory servo motion and axial servo motion, such as... Figure 4 As shown, its main content can be:

[0056] Mode 1, in this embodiment of the application, when a detection is made... When the side clearance and bottom clearance are in a short-circuit state, the embodiments of this application can control the target tool electrode to simultaneously perform trajectory servo retraction and axial servo retraction movements in order to quickly leave the short-circuit area.

[0057] Mode 2, in this embodiment of the application, when a detection is made... When the side clearance is in a short-circuit state and the bottom clearance is in a normal state, this embodiment of the application can control the target tool electrode to perform trajectory servo retraction and axial servo feed movements to increase the side clearance while maintaining the bottom clearance. During the trajectory retraction process, the target tool electrode is controlled to further eliminate any possible insufficient machining depth through axial servo movement, and the maximum machining depth is reached when the axial machining depth is reached. Subsequently, the axial servo is paused under the control of the layer depth constraint method to avoid overcutting and ensure the depth accuracy of the machining.

[0058] Mode 3, in this application embodiment, when a detection is made... When the side clearance and bottom clearance are in a normal state, this embodiment of the application can control the target tool electrode to perform trajectory servo feed and axial servo feed at a preset rate, compensating for the discharge loss of the target tool electrode during the scanning machining feed. Similar to mode two, this embodiment of the application will stop the axial servo movement when the target tool electrode has been machined to the maximum machining depth, and will remain at the target depth along the trajectory, realizing servo scanning machining with the scanning trajectory crossing the inclined plane and the edge of the workpiece.

[0059] Mode 4, in this embodiment of the application, when a detection is made... When the side clearance and bottom clearance are in an open-circuit state, the embodiments of this application can control the target tool electrode to enter a suitable electrical discharge machining distance at a preset open-circuit feed rate, thereby improving machining efficiency.

[0060] In step S103, the electrode loss length of the target tool electrode is calculated based on the average voltage value, and the movement depth of the target tool electrode is determined based on the electrode loss length.

[0061] As one possible approach, embodiments of this application can calculate the electrode loss length of the target tool electrode based on the average voltage value, thereby determining the movement depth of the target tool electrode.

[0062] Optionally, in one embodiment of this application, calculating the electrode loss length of the target tool electrode based on the average voltage value includes: dividing the average voltage value to generate multiple voltage intervals; obtaining the actual average voltage value of the machining gap in each voltage interval; statistically analyzing the actual average voltage value to obtain the statistical count of the actual average voltage value; and calculating the electrode loss length based on the statistical count and the electrode loss coefficient of at least one voltage interval.

[0063] In some embodiments, the main content of calculating the electrode wear length of the target tool electrode based on the average voltage value in this application embodiment may include: firstly, dividing the collected average voltage value into multiple voltage intervals, then counting the number of times the average voltage value of the machining gap is counted in each voltage interval, and then linearly calculating the electrode wear length of the target tool electrode according to the electrode wear coefficient of each voltage interval.

[0064] Furthermore, it should be noted that the average voltage value of the processing gap within the same voltage range in the embodiments of this application corresponds to the same electrode loss length.

[0065] For example, embodiments of this application can collect the average voltage value of the machining gap during the processing, and divide the collected average gap voltage into multiple voltage intervals, so that the number of times the average voltage value of the machining gap is counted in each voltage interval during the processing is 1. Then, the electrode loss length can be calculated, and the calculation formula can be, but is not limited to, expressed as:

[0066] ,

[0067] in, This represents the number of segments in the voltage range. The electrode loss coefficient reflects the average voltage across the machining gap. In the The electrode wear rate within a voltage range is related to processing conditions such as workpiece material, processing parameters, and fluid conditions.

[0068] Optionally, in one embodiment of this application, before calculating the electrode loss length based on the statistical number and the electrode loss coefficient of at least one voltage range, the method further includes: determining the electrode loss calculation error when calculating the electrode loss length; obtaining an objective function for the electrode loss coefficient based on the electrode loss calculation error; constructing a penalty function for the electrode loss coefficient based on the objective function; and calculating the electrode loss coefficient using the penalty function.

[0069] In some embodiments, before calculating the electrode loss length based on the statistical number and the electrode loss coefficient of at least one voltage range, the present application embodiments first determine the electrode loss calculation error when calculating the electrode loss length, and then obtain the objective function and penalty function of the electrode loss coefficient, thereby calculating the electrode loss coefficient.

[0070] It should be noted that the embodiments in this application are carried out under the same processing conditions. A preliminary scan of the machining process was conducted, and the electrode wear length of the target tool electrode was measured after each machining operation. Then, taking the minimum electrode loss calculation error as the objective function, the least squares method is used to construct a penalty function, and then the electrode loss coefficient is calculated.

[0071] The objective function can be expressed, but is not limited to, as follows:

[0072] ,

[0073] in, , .

[0074] Furthermore, the embodiments of this application take into account constraints. Construct the penalty function Solving the above equation and calculating the minimum value of the penalty function through numerical iteration yields the electrode loss coefficient that minimizes the calculation error of the electrode loss in the loss length calculation. The expression for the penalty function can be, but is not limited to, expressed as:

[0075] ,

[0076] Optionally, in one embodiment of this application, determining the movement depth of the target tool electrode based on the electrode wear length includes: calculating the maximum feed movement depth of the target tool electrode based on the electrode wear length; determining whether the target movement depth of the target tool electrode is greater than the maximum feed movement depth; if the target movement depth is greater than the maximum feed movement depth, then determining the movement depth as the original movement depth based on the target movement depth; if the target movement depth is less than or equal to the maximum feed movement depth, then determining the movement depth as the target movement depth based on the target movement depth.

[0077] As one possible implementation, the process of determining the movement depth of the target tool electrode in this embodiment can be as follows: In each servo control cycle, the maximum feed depth of the target tool electrode can be calculated in real time based on the electrode wear length. When the movement depth of the target tool electrode exceeds the maximum feed depth, the axial servo motion is paused to prevent overcutting, and only trajectory servo motion is performed until the next servo control cycle. When the target movement depth is less than or equal to the maximum feed depth, the movement depth is determined based on the target movement depth. This process is repeated until the end of the scanning trajectory is reached, completing the entire trajectory servo scanning machining process.

[0078] Specifically, such as Figure 5 As shown, in this embodiment of the application, the layer thickness is first preset before processing. With electrode loss coefficient Then, within each servo control cycle, the average voltage value of the machining gap obtained from the detection feedback is used. Update the statistics for the corresponding voltage range, based on the maximum feed depth. And compare it with the depth of motion of the target tool electrode: if the depth of motion of the target tool electrode is less than or equal to Then, the axial servo speed of the target tool electrode is calculated based on the machining gap condition. Trajectory servo motion speed of the target tool electrode And perform normal axial and trajectory servo motion according to the aforementioned gap servo motion process; conversely, if the movement depth of the target tool electrode is greater than If the axial servo motion stops immediately to prevent overcutting, only trajectory servo motion continues until the next servo control cycle. This cycle repeats until the end of the scanning trajectory is reached, completing the entire trajectory servo scanning machining process. The formula for calculating the maximum feed depth can be, but is not limited to, expressed as:

[0079] ,

[0080] in, The thickness of the layer.

[0081] Furthermore, in the embodiments of this application, after processing to the first... When the target tool electrode is in layers, the maximum axial feed depth is [not specified]. for:

[0082] ,

[0083] in, , , This represents the total length of electrode wear during this servo scan machining process.

[0084] In step S104, based on the motion signal and motion depth, a scanning machining command for the target tool electrode is generated, and the target tool electrode is controlled to execute the scanning machining command to generate a three-dimensional scanning result of the target workpiece.

[0085] In actual execution, the embodiments of this application can generate scanning processing instructions for the target tool electrode based on motion signals and motion depth, and control the target tool electrode to execute the scanning processing instructions, thereby obtaining the three-dimensional scanning results of the target workpiece.

[0086] The following is combined Figure 6 As shown, the working principle of the three-dimensional trajectory servo scanning processing method proposed in this application is introduced with a specific embodiment.

[0087] in, Figure 6 This is a block diagram illustrating a trajectory servo scanning machining process according to an embodiment of this application.

[0088] Example 1:

[0089] In this embodiment of the application, when a rotating target tool electrode with internal flushing fluid is used to process and remove the target workpiece material layer by layer along a pre-planned scanning path, the average voltage value of the processing gap between the target tool electrode and the target workpiece can be detected first. During the processing, the motion signal of the target tool electrode is controlled by a three-dimensional trajectory servo control strategy of the processing gap, and the electrode wear length of the target tool electrode is calculated based on the average voltage value of the processing gap. Then, the movement depth of the target tool electrode is determined, thereby generating a scanning processing command for the target tool electrode and controlling the target tool electrode to execute the scanning processing command to obtain the three-dimensional scanning result of the target workpiece.

[0090] According to the three-dimensional trajectory servo scanning machining method proposed in this application, the motion signal of the target tool electrode can be obtained based on the average voltage value of the machining gap between the detected target tool electrode and the target workpiece and the three-dimensional trajectory servo control strategy. The motion depth of the target tool electrode is determined by calculating the electrode wear length. Then, scanning machining instructions for the target tool electrode are generated based on the motion signal and motion depth, thereby obtaining the three-dimensional scanning result of the target workpiece. By realizing automatic compensation for the end wear of the rotary tube electrode, the contour dimension accuracy and machining depth accuracy of the machining are improved. It can also effectively control the scanning layer thickness and maintain stability during the machining process, thereby improving the machining efficiency. Thus, it solves the problems in related technologies, where the tool electrode end is embedded in the machining area due to the optimization of the chip removal state of the machining gap by the fluid in the tool electrode, resulting in side discharge and significant electrode lateral wear. This makes it difficult for a single axial servo motion to maintain the end discharge gap of the electrode, causing instability in the three-dimensional servo scanning machining process. Furthermore, the side discharge area of ​​the tool electrode changes with the direction change of the scanning trajectory during the servo scanning machining process, affecting the accuracy of the electrode wear length calculation and leading to significant machining depth and contour shape errors.

[0091] Next, the three-dimensional trajectory servo scanning processing apparatus proposed according to the embodiments of this application is described with reference to the accompanying drawings.

[0092] Figure 7 This is a block diagram of a three-dimensional trajectory servo scanning processing device provided according to an embodiment of this application.

[0093] like Figure 7 As shown, the three-dimensional trajectory servo scanning processing device 70 includes: a detection module 100, an acquisition module 200, a first calculation module 300, and a first generation module 400.

[0094] The detection module 100 is used to detect the average voltage value of the machining gap between the target tool electrode and the target workpiece.

[0095] The acquisition module 200 is used to acquire the motion signal of the target tool electrode based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode.

[0096] The first calculation module 300 is used to calculate the electrode loss length of the target tool electrode based on the average voltage value, and to determine the movement depth of the target tool electrode based on the electrode loss length.

[0097] The first generation module 400 is used to generate scanning machining instructions for the target tool electrode based on motion signals and motion depth, and control the target tool electrode to execute the scanning machining instructions to generate a three-dimensional scanning result of the target workpiece.

[0098] Optionally, in one embodiment of this application, the acquisition module 200 includes: a first acquisition unit.

[0099] The first acquisition unit is used to acquire the motion signal of the target tool electrode feeding and retracting in the tangential direction at the interpolation point of the scanning trajectory based on the average voltage value and the trajectory servo motion in the three-dimensional trajectory servo control strategy.

[0100] Optionally, in one embodiment of this application, the acquisition module 200 includes: a second acquisition unit.

[0101] The second acquisition unit is used to acquire the motion signal of the target tool electrode in the vertical direction of the trajectory feed and retraction at the interpolation point of the scanning trajectory based on the average voltage value and the axial servo motion in the three-dimensional trajectory servo control strategy.

[0102] Optionally, in one embodiment of this application, the acquisition module 200 includes: a first generation unit, a first determination unit, a third acquisition unit, a fourth acquisition unit, a fifth acquisition unit, and a sixth acquisition unit.

[0103] The first generation unit is used to obtain the estimated side voltage of the side gap in the machining gap and the estimated bottom voltage of the bottom gap in the machining gap based on the average voltage value.

[0104] The first determining unit is used to determine the working state of the side clearance and the bottom clearance based on the side voltage estimate and the bottom voltage estimate, respectively.

[0105] The third acquisition unit is used to acquire the trajectory servo retraction and axial servo retraction motion signals of the target tool electrode based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy when both the side gap and the bottom gap are in a short-circuit state.

[0106] The fourth acquisition unit is used to acquire the trajectory servo retraction and axial servo feed motion signals of the target tool electrode based on the side voltage estimate, bottom voltage estimate and three-dimensional trajectory servo control strategy when the side gap is in a short-circuit state and the bottom gap is in a normal state.

[0107] The fifth acquisition unit is used to acquire the trajectory servo feed and axial servo feed motion signals of the target tool electrode based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy, when both the side clearance and bottom clearance are in normal working condition.

[0108] The sixth acquisition unit is used to acquire the axial servo feed motion signal of the target tool electrode based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy when both the side clearance and the bottom clearance are in an open circuit state.

[0109] Optionally, in one embodiment of this application, the first calculation module 300 includes: a partitioning unit, a seventh acquisition unit, a statistics unit, and a first calculation unit.

[0110] The dividing unit is used to divide the average voltage value to generate multiple voltage ranges.

[0111] The seventh acquisition unit is used to acquire the actual average voltage value of the processing gap within each voltage range.

[0112] The statistical unit is used to count the actual average voltage value in order to obtain the statistical frequency of the actual average voltage value.

[0113] The first calculation unit is used to calculate the electrode loss length based on the statistical number and the electrode loss coefficient of at least one voltage range.

[0114] Optionally, in one embodiment of this application, the first calculation module 300 further includes: a second determining unit, a second generating unit, a constructing unit, and a second calculation unit.

[0115] The second determining unit is used to determine the electrode loss calculation error when calculating the electrode loss length before calculating the electrode loss length based on the statistical number and the electrode loss coefficient of at least one voltage range.

[0116] The second generation unit is used to obtain the objective function of the electrode loss coefficient based on the electrode loss calculation error.

[0117] The building block is used to construct a penalty function for the electrode loss coefficient based on the objective function.

[0118] The second calculation unit is used to calculate the electrode loss coefficient using a penalty function.

[0119] Optionally, in one embodiment of this application, the first calculation module 300 includes: a third calculation unit, a judgment unit, a third determination unit, and a fourth determination unit.

[0120] The third calculation unit is used to calculate the maximum feed depth of the target tool electrode based on the electrode wear length.

[0121] The judgment unit is used to determine whether the target motion depth of the target tool electrode is greater than the maximum feed motion depth.

[0122] The third determining unit is used to determine the original motion depth based on the target motion depth when the target motion depth is greater than the maximum feed motion depth.

[0123] The fourth determining unit is used to determine the motion depth as the target motion depth based on the target motion depth when the target motion depth is less than or equal to the maximum feed motion depth.

[0124] It should be noted that the foregoing explanation of the three-dimensional trajectory servo scanning machining method embodiment also applies to the three-dimensional trajectory servo scanning machining device of this embodiment, and will not be repeated here.

[0125] According to the three-dimensional trajectory servo scanning machining apparatus proposed in this application, the motion signal of the target tool electrode can be obtained based on the average voltage value of the machining gap between the detected target tool electrode and the target workpiece and the three-dimensional trajectory servo control strategy. The motion depth of the target tool electrode is determined by calculating the electrode wear length. Then, based on the motion signal and motion depth, a scanning machining command for the target tool electrode is generated, thereby obtaining the three-dimensional scanning result of the target workpiece. By realizing automatic compensation for the end wear of the rotating tube electrode, the machining contour dimension accuracy and machining depth accuracy are improved. The scanning layer thickness can also be effectively controlled and kept stable during machining, improving machining efficiency. This solves the problems in related technologies, where the tool electrode tip is embedded in the machining area due to the internal flushing fluid optimizing the chip removal state of the machining gap, resulting in significant lateral electrode wear. This makes it difficult for a single axial servo motion to maintain the end discharge gap of the electrode, causing instability in the three-dimensional servo scanning machining process. Furthermore, the lateral discharge area of ​​the tool electrode changes with the direction of the scanning trajectory during servo scanning machining, affecting the accuracy of the electrode wear length calculation and leading to significant errors in machining depth and contour shape.

[0126] Figure 8 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application. The electronic device may include:

[0127] The memory 801, the processor 802, and the computer program stored on the memory 801 and capable of running on the processor 802.

[0128] When the processor 802 executes the program, it implements the three-dimensional trajectory servo scanning machining method provided in the above embodiments.

[0129] Furthermore, electronic devices also include:

[0130] Communication interface 803 is used for communication between memory 801 and processor 802.

[0131] The memory 801 is used to store computer programs that can run on the processor 802.

[0132] The memory 801 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0133] If the memory 801, processor 802, and communication interface 803 are implemented independently, then the communication interface 803, memory 801, and processor 802 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized into address buses, data buses, control buses, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0134] Optionally, in a specific implementation, if the memory 801, processor 802, and communication interface 803 are integrated on a single chip, then the memory 801, processor 802, and communication interface 803 can communicate with each other through an internal interface.

[0135] The processor 802 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0136] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described three-dimensional trajectory servo scanning machining method.

[0137] This application also provides a computer program product, including a computer program that, when executed, implements the above-described three-dimensional trajectory servo scanning machining method.

[0138] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0139] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0140] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0141] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0142] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0143] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0144] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0145] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A three-dimensional trajectory servo scanning machining method, characterized in that, Includes the following steps: The average voltage value of the machining gap between the target tool electrode and the target workpiece is detected. Based on the average voltage value and the three-dimensional trajectory servo control strategy of the target tool electrode, the motion signal of the target tool electrode is obtained; The electrode loss length of the target tool electrode is calculated based on the average voltage value, and the movement depth of the target tool electrode is determined based on the electrode loss length. Based on the motion signal and the motion depth, a scanning machining command for the target tool electrode is generated, and the target tool electrode is controlled to execute the scanning machining command to generate a three-dimensional scanning result of the target workpiece; Wherein, determining the motion depth of the target tool electrode based on the electrode wear length includes: The maximum feed depth of the target tool electrode is calculated based on the electrode wear length. Determine whether the target motion depth of the target tool electrode is greater than the maximum feed motion depth; If the target motion depth is greater than the maximum feed motion depth, then the motion depth is determined as the original motion depth based on the target motion depth; If the target motion depth is less than or equal to the maximum feed motion depth, then the motion depth is determined as the target motion depth based on the target motion depth.

2. The method according to claim 1, characterized in that, The three-dimensional trajectory servo control strategy based on the average voltage value and the target tool electrode, which acquires the motion signal of the target tool electrode, includes: Based on the average voltage value and the trajectory servo motion in the three-dimensional trajectory servo control strategy, the motion signal of the target tool electrode in the trajectory tangential direction feed and retraction at the interpolation point of the scanning trajectory is obtained.

3. The method according to claim 1, characterized in that, The three-dimensional trajectory servo control strategy based on the average voltage value and the target tool electrode, which acquires the motion signal of the target tool electrode, includes: Based on the average voltage value and the axial servo motion in the three-dimensional trajectory servo control strategy, the motion signal of the target tool electrode in the vertical direction of trajectory feed and retraction at the interpolation point of the scanning trajectory is obtained.

4. The method according to claim 1, characterized in that, The three-dimensional trajectory servo control strategy based on the average voltage value and the target tool electrode, which acquires the motion signal of the target tool electrode, includes: Based on the average voltage value, the estimated side voltage of the side gap in the machining gap and the estimated bottom voltage of the bottom gap in the machining gap are obtained; The working states of the side clearance and the bottom clearance are determined based on the estimated side voltage and the estimated bottom voltage, respectively. When both the side gap and the bottom gap are in a short-circuit state, the trajectory servo retraction and axial servo retraction motion signals of the target tool electrode are obtained based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy. When the working state of the side gap is short-circuited and the working state of the bottom gap is normal, the trajectory servo retraction and axial servo feed motion signals of the target tool electrode are obtained based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy. When both the side clearance and the bottom clearance are in normal working condition, the trajectory servo feed and axial servo feed motion signals of the target tool electrode are obtained based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy. When both the side clearance and the bottom clearance are in an open-circuit state, the axial servo feed motion signal of the target tool electrode is obtained based on the estimated side voltage, the estimated bottom voltage, and the three-dimensional trajectory servo control strategy.

5. The method according to claim 1, characterized in that, The calculation of the electrode loss length of the target tool electrode based on the average voltage value includes: The average voltage value is divided to generate multiple voltage ranges; Obtain the actual average voltage value of the machining gap within each voltage range; The actual average voltage value is counted to obtain the statistical frequency of the actual average voltage value; The electrode loss length is calculated based on the statistical frequency and the electrode loss coefficient for at least one voltage range.

6. The method according to claim 5, characterized in that, Before calculating the electrode loss length based on the statistical frequency and the electrode loss coefficient of the at least one voltage range, the method further includes: Determine the electrode loss calculation error when calculating the electrode loss length; The objective function for obtaining the electrode loss coefficient is derived based on the electrode loss calculation error. A penalty function for the electrode loss coefficient is constructed based on the objective function; The electrode loss coefficient is calculated using the penalty function.

7. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the three-dimensional trajectory servo scanning machining method as described in any one of claims 1-6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the three-dimensional trajectory servo scanning machining method as described in any one of claims 1-6.

9. A computer program product, characterized in that, It includes a computer program, which, when executed, is used to implement the three-dimensional trajectory servo scanning machining method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Processing method of ferrous metal super-finishing surface

    CN102528077A

  • Three-dimensional cone interpolation method for electric sparkle forming processing

    CN103056460A