Multi-axis linkage control method and system of wire cut electrical discharge machining tool and readable medium
By using the neural network model and compensation algorithm based on the back-propagation algorithm in wire-cut EDM machines, high-precision and high-efficiency control in multi-axis linkage control is achieved, solving the problem of insufficient error compensation in traditional methods.
Patent Information
- Application Number
- CN202410911228.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Wire-cut electric discharge machine tools lack a real-time error compensation mechanism during multi-axis linkage machining, resulting in insufficient motion coordination and difficulty in achieving high-precision and high-efficiency machining.
A neural network model based on the back propagation algorithm is used for multi-axis motion prediction and adjustment, and combined with real-time monitoring and compensation algorithms, control instructions are generated and adjusted to achieve error compensation.
It achieves high-precision and high-efficiency control of wire-cut electric discharge machine tools in the multi-axis linkage control process. Through the adaptive adjustment of the neural network model and the real-time error compensation of the compensation algorithm, the processing accuracy and efficiency are improved.
Smart Images

Figure CN118768664A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cutting machine tool control, and in particular to a multi-axis linkage control method, system and readable medium for an electric spark wire cutting machine tool. Background Art
[0002] Wire EDM is a high-precision processing equipment, widely used in high-end manufacturing fields such as mold manufacturing, aerospace, etc. With the increase in the complexity of workpieces, wire EDM needs to have multi-axis linkage control capabilities to achieve high-precision processing of complex surfaces. However, traditional multi-axis linkage control methods have shortcomings in processing complex geometric shapes and real-time error compensation, and it is difficult to meet the needs of high-precision and high-efficiency processing. Specifically, in the multi-axis linkage processing process, due to the lack of motion coordination between the axes and the lack of an effective real-time error compensation mechanism, it is difficult to make timely adjustments when errors occur during the processing process, affecting the quality of the final workpiece. Summary of the invention
[0003] The invention provides a multi-axis linkage control method, system and readable medium of an electric spark wire cutting machine tool to solve the technical problem that the electric spark wire cutting machine tool lacks a real-time error compensation mechanism during multi-axis linkage processing.
[0004] The technical solution of the present invention to solve the above technical problems is as follows: On the one hand, a multi-axis linkage control method for a wire-cut electric discharge machine tool is provided, the control method comprising the following steps: Get the target position information and current position information of multiple axes; The motion of each axis is predicted and adjusted by a neural network model based on a back propagation algorithm, wherein the input of the neural network model includes the target position, the current position information and the historical motion data; Generate multi-axis linkage control instructions based on the prediction results and send them to the drive devices of each axis; The actual motion trajectory of each axis is monitored in real time. If trajectory deviation is detected, the control command is adjusted using a compensation algorithm.
[0005] On the other hand, a multi-axis linkage control system for a wire-cut electric discharge machine tool is provided, the control system comprising: A multi-axis linkage controller is used to receive target position and current position information, and generate multi-axis linkage control instructions based on a neural network model of a back-propagation algorithm; Photoelectric encoder, used to obtain the current position information of each axis; CNC system, used to obtain target position information of each axis; A multi-axis driving device, used to receive control instructions and drive each axis to move; The monitoring module is used to monitor the actual motion trajectory of each axis in real time and perform error compensation.
[0006] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the multi-axis linkage control method of the electric spark wire cutting machine tool as described above is implemented.
[0007] The beneficial effects of the present invention are: The present invention realizes high-precision and high-efficiency control of wire-cut EDM in the process of multi-axis linkage control by combining neural network model and compensation algorithm. The introduction of neural network model enables the system to adaptively adjust the motion trajectory of each axis, predict and deal with potential errors; while the compensation algorithm provides strong guarantee in real-time error compensation, ensuring that the motion trajectory of each axis is as close to the target trajectory as possible, thereby improving the processing accuracy.
[0008] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A flowchart of a multi-axis linkage control method in one embodiment of the present invention; Figure 2 is a flow chart of an implementation of a compensation algorithm in one embodiment of the present invention; Figure 3 A flowchart of obtaining axis information in one embodiment of the present invention; Figure 4 A flowchart of axis information prediction in one embodiment of the present invention; Figure 5 A control instruction transmission process in an embodiment of the present invention; Figure 6 A schematic diagram of a method for obtaining information of multiple axes in one embodiment of the present invention; Figure 7 This is a structural diagram of a multi-axis linkage control system in one embodiment of the present invention; In the accompanying drawings, the components represented by the reference numerals are listed as follows: 1. CNC system; 11. Photoelectric encoder; 2. Data processing module; 3. Multi-axis linkage controller; 31. Dynamic compensation module; 4. Multi-axis drive device; 5. Monitoring module. DETAILED DESCRIPTION
[0010] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0011] The present invention provides the following preferred embodiments: Example 1
[0012] In order to solve the problems of unstable precision, slow response speed and lack of effective real-time error compensation mechanism in the multi-axis linkage control process of electric spark wire cutting machine tools, this embodiment further optimizes and refines the technical features of the multi-axis linkage control method, and realizes high-precision, high-efficiency, stable and reliable multi-axis linkage control by combining the predictive ability of the neural network model based on the back propagation algorithm and the mechanism of real-time error detection and compensation.
[0013] like Figure 1 As shown, the control method includes the following steps: S100, obtaining target position information and current position information of multiple axes.
[0014] S200, predicting and adjusting the movement of each axis through a neural network model based on a back propagation algorithm, wherein the input of the neural network model includes a target position, current position information, and historical movement data.
[0015] S300, generating a multi-axis linkage control instruction based on the prediction result, and sending it to the drive device of each axis.
[0016] S400, monitor the actual motion trajectory of each axis in real time, and if a trajectory deviation is detected, adjust the control instruction using a compensation algorithm.
[0017] Specifically, the multi-axis linkage control method of the wire EDM machine tool of this embodiment first involves the step of obtaining the target position information and current position information of multiple axes. In practical applications, this information can be collected in real time by high-precision measuring equipment such as photoelectric encoders and laser displacement sensors. It should be understood that the target position information is usually provided by the CNC system, while the current position information is the actual position of each axis of the machine tool obtained in real time by the measuring device.
[0018] Furthermore, this embodiment uses a neural network model based on a back-propagation algorithm to predict and adjust the motion of each axis. The input of the neural network model includes not only the target position and current position information, but also historical motion data. By analyzing these data, the neural network can predict the optimal motion trajectory of each axis and adjust the control parameters according to the prediction results. It should be noted that the training process of the neural network model requires a large amount of historical data, which is input into the model after pre-processing, and the network weights are optimized through the back-propagation algorithm to improve the prediction accuracy of the model.
[0019] In this embodiment, the multi-axis linkage control instructions generated based on the prediction results of the neural network model are sent to the drive devices of each axis in real time. The generation and sending process of the control instructions requires precise timing control to ensure the coordination and accuracy of the movement of each axis. The control instructions usually include speed and position instructions, which need to be adjusted according to the output of the neural network model to optimize the motion trajectory of each axis.
[0020] Furthermore, by comparing with the target position information, the deviation of the motion trajectory can be detected in real time. Once the deviation is detected, the present embodiment uses a compensation algorithm to adjust the control instruction to reduce the error. The compensation algorithm can be varied, but its core goal is to dynamically adjust the control parameters according to the difference between the actual trajectory and the target trajectory so that each axis of the machine tool tends to move toward the target trajectory.
[0021] Through the multi-axis linkage control method of this embodiment, the wire EDM machine tool can achieve high-precision multi-axis linkage control during the processing. This control method can not only effectively cope with the complex dynamic changes in the multi-axis linkage control, but also make timely adjustments when the trajectory deviation is detected, thereby ensuring the processing quality and efficiency.
[0022] Furthermore, a compensation algorithm is introduced in this embodiment, which can more flexibly deal with different types of trajectory deviations and improve the accuracy and response speed of compensation. It is understandable that the application of the compensation algorithm requires real-time calculation of the trajectory deviation and its rate of change, and adjustment of the control instructions in each control cycle. Through the real-time monitoring system, the actual motion data of each axis is continuously fed back to the controller and compared with the target data to calculate the latest trajectory deviation. After these data are processed by the compensation algorithm, new control instructions are generated and sent to the drive device to drive each axis to make corresponding motion adjustments.
[0023] Furthermore, the neural network model and compensation algorithm in this embodiment have good scalability and adaptability. By regularly updating the training data of the neural network model and adjusting the parameters of the compensation algorithm, the control performance can be continuously optimized to adapt to different processing requirements and working conditions. This adaptive control method is not only suitable for wire-cut EDM machines, but can also be promoted and applied to other mechanical equipment that requires high-precision multi-axis linkage control.
[0024] It is important to understand that in the specific implementation process, the hardware selection of the control system, the optimization of the software algorithm, and the coordination between the modules can all affect the final control effect. Therefore, high-precision, low-latency sensors and drivers should be selected to significantly improve the response speed and control accuracy of the system; and at the software level, by optimizing the computational efficiency of the neural network model and compensation algorithm, the system latency can be reduced and the real-time control capability can be improved.
[0025] Through the implementation of this embodiment, the wire-cut electric discharge machine tool can maintain high-precision motion control in a complex processing environment, significantly improve processing quality and efficiency, and meet the needs of high-precision processing. Example 2
[0026] In order to solve the problem of real-time error compensation in multi-axis linkage control of wire-cut EDM machines, this embodiment further optimizes and refines the steps of adjusting the control instructions using the compensation algorithm. Through detailed trajectory deviation detection, calculation of trajectory deviation change rate, application of nonlinear adaptive compensation algorithm, generation and sending of compensation control instructions, and repeated monitoring and adjustment, more accurate and efficient multi-axis linkage control is achieved.
[0027] like Figure 2 As shown, adjusting the control instruction using the compensation algorithm includes the following steps: S401, real-time acquisition of the actual motion trajectory data and target motion trajectory data of each axis, and calculation of trajectory deviation, expressed as follows: , Among them, e(t) is the trajectory deviation, xtarget(t) is the target position, and xactual(t) is the actual position.
[0028] S402, perform time differentiation on the trajectory deviation and calculate its rate of change, which is expressed by the formula: .
[0029] S403, according to the detected trajectory deviation and change rate, the control adjustment amount is calculated using a compensation algorithm, and the formula is expressed as: , Among them, α, β, and γ are nonlinear compensation coefficients.
[0030] S404. Adjust the current control instruction according to the control adjustment amount, and send the adjusted control instruction to the driving device of each axis to instruct each axis to perform corresponding motion adjustment.
[0031] S405 , repeatedly adjusting the control instruction by using the compensation algorithm to dynamically adjust the control instruction.
[0032] In this embodiment, the actual motion trajectory data and target motion trajectory data of each axis are first obtained in real time. This step uses high-precision sensors, such as photoelectric encoders and laser displacement sensors, to collect the current position data of each axis. It should be understood that the target motion trajectory data is usually provided by the CNC system and stored in the controller as reference data.
[0033] Furthermore, the trajectory deviation is obtained by calculating the difference between the target position and the actual position. It can be understood that by calculating the trajectory deviation in real time, the motion error of each axis can be accurately understood, providing basic data for the subsequent compensation algorithm.
[0034] Furthermore, after obtaining the trajectory deviation, it is necessary to perform time differentiation on it and calculate the rate of change of the trajectory deviation. The implementation of this step depends on high-frequency data sampling and real-time computing capabilities. By calculating the rate of change of the trajectory deviation, the trend of the error can be predicted, thereby providing more dynamic information for the compensation algorithm.
[0035] Furthermore, the control adjustment amount is calculated using a compensation algorithm based on the detected trajectory deviation and its rate of change. It should be understood that by introducing the nonlinear term βe² and the dynamic term γde / dt, the compensation algorithm can more flexibly adapt to different types of errors and improve the compensation accuracy.
[0036] Furthermore, after obtaining the control adjustment amount, an adjusted control instruction is generated. This step realizes precise control of each axis by real-time calculation and dynamic adjustment of control parameters.
[0037] Furthermore, the adjusted control instructions are sent to the drive devices of each axis. It should be understood that after receiving the adjusted control instructions, the drive devices will immediately perform corresponding motion adjustments to correct the actual motion trajectory.
[0038] Furthermore, in order to ensure the accuracy of multi-axis linkage control, continuous monitoring and adjustment are required. By repeating the above steps, the new trajectory deviation and change rate are calculated in real time, and the compensation algorithm is applied to dynamically adjust the control instructions to ensure that each axis moves according to the target trajectory.
[0039] Furthermore, in order to further improve the accuracy and response speed of the compensation algorithm, a dynamic update mechanism of the compensation coefficient is also introduced in this embodiment. The performance of the compensation algorithm is regularly evaluated according to the actual processing effect. If it is detected that the compensation effect is not ideal, the compensation coefficients α, β and γ can be dynamically updated through an adaptive adjustment method.
[0040] Through the multi-axis linkage control method of this embodiment, the wire EDM machine tool can achieve high-precision error compensation during the processing, significantly improving the processing quality and efficiency. The application of the adaptive compensation algorithm enables the control system to flexibly respond to different types of errors and ensure the stability and accuracy of the movement of each axis by dynamically adjusting the control instructions.
[0041] The benefit of this embodiment is that, by introducing a neural network model and a compensation algorithm, an efficient multi-axis linkage control method is provided, which is suitable for wire-cut EDM machines and other mechanical equipment that require high-precision control. This method not only improves machining accuracy and efficiency, but also has good scalability and adaptability, and can continuously optimize control performance to meet different machining requirements. Example 3
[0042] In order to solve the problem of obtaining accurate target position information and current position information in real time in multi-axis linkage control of wire EDM, this embodiment further optimizes and refines the steps of obtaining target position and current position information of multiple axes. The accuracy and real-time nature of the data are ensured by starting the numerical control system and the multi-axis linkage controller, obtaining the target position information from the numerical control system, obtaining the current position information through multi-sensor fusion, and synchronizing the data acquisition time.
[0043] like Figure 3 As shown, obtaining the target position and current position information of multiple axes includes the following steps: S101. Start the CNC system and multi-axis linkage controller, ensure that all hardware and software components operate normally, and input the machining path and target position information through the human-machine interface (HMI) or load it from the predefined program.
[0044] S102, acquiring target position information of each axis from the numerical control system, including target coordinates and posture information, and storing the target position information in a cache of the controller.
[0045] S103, obtaining the current position information of each axis in real time through the photoelectric encoder, including the current position and real-time coordinates, and performing multi-sensor fusion using the laser displacement sensor and the acceleration sensor.
[0046] S104, synchronizing the acquisition time of the target position information and the current position information to reduce data errors, and transmitting the synchronized data to the multi-axis linkage controller.
[0047] In this embodiment, the numerical control system and the multi-axis linkage controller are first started to ensure that all hardware and software components are operating normally. This includes checking and initializing each sensor, drive device, and each module inside the controller. The operator can easily set and adjust the processing path parameters by inputting the processing path and target position information through the human-machine interface (HMI) or loading it from a predefined program. It should be understood that the design of the human-machine interface (HMI) should be simple and easy to use, so that the operator can quickly input and modify the processing parameters. At the same time, the system should have abnormality detection and alarm functions to ensure the safety of equipment operation.
[0048] Furthermore, the target position information of each axis, including the target coordinates and posture information, is obtained from the CNC system. This information is generated by the CNC program and transmitted to the multi-axis linkage controller through the interface. It can be understood that the accuracy and update frequency of the target position information directly affect the performance of the control system, so the CNC system should have high-precision interpolation function and fast data transmission capability. After the target position information is transmitted to the controller, it is stored in the controller's cache for subsequent processing and calculation.
[0049] Furthermore, the current position information of each axis, including the current position and real-time coordinates, is obtained in real time through the photoelectric encoder. Photoelectric encoders are widely used in position measurement due to their high precision and high resolution. In addition, multi-sensor fusion is performed using laser displacement sensors and accelerometers to improve the accuracy and reliability of position information. It should be understood that sensor fusion technology can compensate for the shortcomings of a single sensor and improve measurement accuracy and anti-interference capabilities by combining data from multiple sensors. For example, laser displacement sensors can provide high-precision displacement measurements, while accelerometers can detect dynamic changes in motion. The combination of the two can achieve more accurate position information acquisition.
[0050] Furthermore, the acquisition time of the target position information and the current position information is synchronized. Data synchronization is achieved through high-precision clocks and synchronization algorithms to reduce data errors caused by differences in acquisition time. The synchronized data is transmitted to the multi-axis linkage controller for real-time control and adjustment. It should be understood that the real-time and stability of data transmission directly affect the performance of the control system. Therefore, during the data transmission process, necessary anti-interference measures and data verification mechanisms should be taken to ensure the integrity and accuracy of the data.
[0051] Through the implementation of this embodiment, the wire-cut EDM machine tool can maintain high-precision motion control in a complex processing environment. The application of multi-sensor fusion technology enables the system to obtain accurate position information of each axis in real time, providing reliable data support for subsequent control and adjustment. At the same time, the optimization of data synchronization and transmission mechanism ensures the timeliness and accuracy of control instructions, significantly improving the response speed and control accuracy of the system.
[0052] The benefit of this embodiment is that, through systematic steps and high-precision sensor fusion, the target position information and current position information of the EDM wire cutting machine tool in the multi-axis linkage control process are efficiently obtained. By starting the numerical control system and the multi-axis linkage controller, obtaining the target position information from the numerical control system, obtaining the current position information through multi-sensor fusion such as photoelectric encoders and laser displacement sensors, and synchronizing the data acquisition time, the accuracy and real-time nature of the data are ensured. This not only improves the processing accuracy and efficiency, but also enhances the reliability and stability of the system. Example 4
[0053] In order to solve the problem of high-precision prediction and adjustment of the motion of each axis in the multi-axis linkage control of the wire EDM machine, this embodiment further optimizes and refines the application steps of the neural network model based on the back propagation algorithm. The accuracy and stability of the system are ensured by data normalization, construction of the neural network model, training of the neural network model, and application of the model for motion prediction and adjustment.
[0054] like Figure 4 As shown, predicting and adjusting the motion of each axis through a neural network model based on a back propagation algorithm includes the following steps: S201, normalize the historical motion data, target position information and current position information to meet the input requirements of the neural network model, check the consistency and integrity of the data, and remove outliers and noise.
[0055] S202, constructing a neural network model of a multi-layer perceptron, including an input layer, multiple hidden layers and an output layer, wherein the input nodes of the input layer are target position information, current position and historical motion data.
[0056] S203, using a large amount of historical motion data to train the neural network model, and using a back propagation algorithm to optimize the weights and biases of the model until the model error converges.
[0057] S204, inputting the target position information and the current position information into the neural network model, predicting the motion trajectory of each axis through the neural network model, and generating an adjustment amount according to the prediction result.
[0058] In this embodiment, the historical motion data, target position information and current position information are first normalized. This step is to adapt to the input requirements of the neural network model so that the data can be calculated and processed within the same scale range. Specifically, the normalization process includes linear transformation of each data point so that its value is between 0 and 1. In addition, the consistency and integrity of the data need to be checked to remove outliers and noise. It can be understood that the training efficiency and prediction accuracy of the neural network model can be improved through data preprocessing.
[0059] Furthermore, a multi-layer perceptron neural network model is constructed, including an input layer, multiple hidden layers, and an output layer. The input nodes of the input layer are the target position information, current position, and historical motion data. The hidden layer implements complex nonlinear mapping through several neuron nodes and activation functions, and the output layer is used to generate prediction results. It should be understood that the number of hidden layers and the number of neurons in each layer have an important impact on the performance of the model, and the optimal structure should be determined through experiments and verification.
[0060] Furthermore, in the process of training the neural network model using a large amount of historical motion data, the back propagation algorithm is used to optimize the weights and biases of the model. The back propagation algorithm calculates the gradient of the loss function and adjusts the weights and biases layer by layer to gradually reduce the model error until convergence. In this process, cross-validation and early stopping techniques are needed to prevent overfitting and improve the generalization ability of the model. It is understandable that the training of the model requires a lot of computing resources, so high-performance computing equipment and optimized training algorithms should be used.
[0061] Furthermore, after the model training is completed, the target position information and the current position information are input into the neural network model, and the motion trajectory of each axis is predicted by the model, and the adjustment amount is generated according to the prediction result. Specifically, the input layer receives the target position information and the current position information, and after nonlinear mapping of multiple hidden layers, the output layer generates the predicted motion trajectory adjustment amount. The adjustment amount is used to correct the current control instruction to ensure that each axis moves according to the predetermined trajectory. It should be understood that the neural network model can learn and capture complex motion patterns, thereby providing high-precision motion prediction and adjustment.
[0062] The benefit of this embodiment is that by introducing a neural network model based on the back propagation algorithm, high-precision prediction and adjustment of the motion of each axis of the wire EDM machine tool is achieved. Data normalization and outlier removal improve the training efficiency and prediction accuracy of the model; the neural network model with a multi-layer perceptron structure can capture complex nonlinear relationships and provide accurate motion trajectory prediction; the optimization of the back propagation algorithm enables the model to have good adaptability and generalization capabilities. Through continuous online updates and adaptive adjustments, the model can adapt to different processing requirements and working conditions, ensuring the stability and reliability of the system.
[0063] Through the application of this embodiment, the wire EDM machine tool can achieve high-precision multi-axis linkage control in a complex processing environment, significantly improving the processing quality and efficiency. The introduction of the neural network model not only improves the prediction and adjustment capabilities of the system, but also has good scalability and adaptability, and can meet different types of processing requirements. This intelligent control method is not only suitable for wire EDM machines, but can also be promoted and applied to other mechanical equipment that requires high-precision, multi-axis linkage control, and has broad application prospects and economic value. Example 5
[0064] In order to solve the problem of generating and sending multi-axis linkage control instructions based on prediction results in multi-axis linkage control of wire-cut electric discharge machines, this embodiment further optimizes and refines the relevant steps. By calculating the speed instructions and position instructions of each axis, optimizing the generated control instructions, and sending the optimized control instructions through the control bus, smooth movement and high-precision control of each axis can be achieved.
[0065] refer to Figure 5 As shown, the steps of generating a multi-axis linkage control instruction based on the prediction result and sending it to the driving device of each axis include: S301, according to the prediction results, calculate the speed command and position command of each axis and combine them with the processing path requirements to generate a multi-axis linkage control command, including the target speed and target position of each axis.
[0066] S302: Optimize the generated control instructions and apply constraints, where the constraints include speed limit and acceleration limit.
[0067] S303, sending the optimized control instructions to the drive devices of each axis through the control bus, and the drive devices execute corresponding motion operations after receiving the control instructions.
[0068] In this embodiment, the speed command and position command of each axis are first calculated according to the prediction results of the neural network model. Specifically, based on the predicted motion trajectory and combined with the processing path requirements, multi-axis linkage control instructions are generated, including the target speed and target position of each axis. It should be understood that the calculation of speed command and position command must take into account the complexity of the processing path and the dynamic characteristics of the equipment to ensure that each axis can accurately track the target trajectory during movement.
[0069] Furthermore, the generated control instructions are optimized. The optimization process includes applying speed limits and acceleration limits to ensure smooth motion of each axis and reduce vibration and shock. Speed limits and acceleration limits are intended to prevent each axis from exceeding physical limits, thereby protecting equipment and workpieces. It can be understood that by introducing these constraints, the robustness and stability of the control system can be improved, and mechanical shock and wear caused by excessive speed or acceleration can be avoided.
[0070] Furthermore, the optimized control instructions are sent to the drive devices of each axis through the control bus. In this process, common industrial control buses include CAN bus, EtherCAT bus and Profibus bus, which have high-speed transmission and anti-interference capabilities, and can ensure the real-time and accuracy of control instructions. It should be understood that the real-time performance and data transmission reliability of the control bus directly affect the performance of the control system, so the requirements and application scenarios of the equipment should be fully considered when selecting and configuring the bus.
[0071] Furthermore, after receiving the control command, the drive device performs the corresponding motion operation. The drive device usually includes a servo motor and a driver, which drives each axis to move along a predetermined trajectory by receiving and parsing the control command. It should be understood that the dynamic response performance and control accuracy of the drive device directly affect the overall performance of the system, so high-performance servo motors and drivers should be selected, and precise parameter debugging and optimization should be performed.
[0072] Furthermore, the present embodiment can also introduce adaptive control technology to further improve control accuracy and system stability by real-time monitoring and adjusting control parameters. For example, the control model can be updated online using real-time feedback data to adjust control parameters to adapt to different working conditions and processing requirements. In addition, the control instruction generation and optimization algorithm can be continuously optimized in combination with feedback information in actual processing to improve the system's adaptive ability and intelligence level.
[0073] Through the implementation of this embodiment, the wire-cut EDM machine tool can achieve high-precision multi-axis linkage control in a complex processing environment. By generating speed instructions and position instructions based on the prediction results of the neural network model, the motion trajectory of each axis is ensured to be accurately controllable; the control instructions are optimized to reduce vibration and impact, and protect equipment and workpieces; control instructions are sent through a high-speed and reliable control bus to ensure real-time and accuracy; and high-performance drive devices ensure the accurate execution of control instructions. These measures comprehensively improve the control accuracy and processing quality of the system.
[0074] The benefit of this embodiment is that high-precision, multi-axis linkage control of the wire EDM machine tool is achieved through a systematic control instruction generation and optimization method. The control instruction generation based on the prediction results is combined with the processing path requirements to ensure the accuracy of the movement of each axis; the control instructions are optimized, and speed and acceleration limits are applied to improve the stability and robustness of the system; through a high-speed and reliable control bus and a high-performance drive device, the real-time transmission and accurate execution of the control instructions are ensured. Through these technical means, the processing efficiency and quality of the wire EDM machine tool are significantly improved to meet the needs of high-precision processing.
[0075] In addition, the control method of this embodiment has good scalability and adaptability, can adapt to different processing scenarios and working conditions, and has broad application prospects and economic value. By continuously optimizing the control algorithm and introducing intelligent technology, the performance of the system can be further improved to meet increasingly complex processing needs. Example 6
[0076] In order to solve the problem of obtaining the target position information and current position information of multiple axes in the multi-axis linkage control of the electric spark wire cutting machine, this embodiment further optimizes and refines the relevant steps, obtains the current position information of each axis through the photoelectric encoder, and obtains the target position information of each axis through the numerical control system, so as to achieve high-precision control and operation.
[0077] like Figure 6 As shown, the method for obtaining target position information and current position information of multiple axes includes: Obtain the current position information of each axis through the photoelectric encoder; The target position information of each axis is obtained through the CNC system.
[0078] In this embodiment, the current position information of each axis is first obtained through a photoelectric encoder. The photoelectric encoder is a key component for high-precision position measurement, and its working principle is to convert mechanical displacement into electrical signal output through photoelectric conversion. Specifically, the photoelectric encoder is composed of a rotating shaft, a grating disk, a light source and a photodetector. When the rotating shaft drives the grating disk to rotate, the engraved lines on the grating disk modulate the light signal emitted by the light source into a pulse signal, which is received and converted into an electrical signal by the photoelectric detector, thereby reflecting the position change of the axis. It should be understood that the resolution and accuracy of the photoelectric encoder directly affect the accuracy of the position measurement, so a photoelectric encoder with high resolution and high stability should be selected to meet the needs of high-precision control of wire-cut EDM machines.
[0079] Furthermore, the target position information of each axis is obtained through the numerical control system. The numerical control system (CNC) is the core control unit of the machine tool, and its functions include processing path planning, interpolation calculation, motion control and feedback adjustment. The numerical control system calculates the target position information of each axis according to the pre-written processing program, including the target coordinates and posture information, and transmits this information to the multi-axis linkage controller. It should be understood that the accuracy and real-time performance of the numerical control system directly affect the accuracy of the target position information, so the numerical control system should have high-precision interpolation function and fast data processing capabilities. In addition, the numerical control system should have good anti-interference ability and stability to ensure that it can still work reliably in complex processing environments.
[0080] Furthermore, in order to achieve high-precision multi-axis linkage control, this embodiment adopts multi-sensor fusion technology, which ensures accurate acquisition of current position information and target position information through the coordinated work of photoelectric encoders and numerical control systems. The core of multi-sensor fusion technology is to combine data from multiple sensors to improve measurement accuracy and reliability. Specifically, the photoelectric encoder provides high-precision position feedback, while the numerical control system provides target position information. The combination of the two can achieve precise motion control and adjustment.
[0081] Furthermore, in the process of data acquisition, the problem of data synchronization must also be considered. In order to reduce the data error caused by the difference in acquisition time, this embodiment uses a high-precision clock and synchronization algorithm to synchronize the current position information and the target position information. The synchronized data is transmitted to the multi-axis linkage controller for real-time control and adjustment. It can be understood that the accuracy and stability of data synchronization directly affect the performance of the control system. Therefore, during the data transmission and processing process, necessary anti-interference measures and data verification mechanisms should be taken to ensure the integrity and accuracy of the data.
[0082] The benefit of this embodiment is that, through the combination of the photoelectric encoder and the numerical control system, the target position information and current position information of multiple axes of the wire EDM machine tool can be efficiently obtained. The photoelectric encoder provides high-precision position feedback, and the numerical control system provides accurate target position information. The combination of the two ensures accurate control and adjustment of each axis. Through multi-sensor fusion technology and data synchronization processing, the measurement accuracy and real-time performance of the system are improved, and the processing quality and efficiency are significantly improved. Example 7
[0083] In order to solve the problem of high-precision calibration of the drive devices of each axis in the multi-axis linkage control process of the wire EDM machine tool, this embodiment further optimizes and refines the output layer structure based on the neural network model and introduces the step of drive device calibration. By accurately outputting the prediction results and calibrating the drive devices of each axis, a control effect with higher precision and stability can be achieved.
[0084] Specifically, the output node of the output layer is the prediction result; the control method also includes the step of calibrating the driving device of each axis.
[0085] In this embodiment, the output layer structure of the neural network model is first optimized so that its output nodes directly reflect the prediction results of each axis. Specifically, each node of the output layer corresponds to the predicted motion trajectory information of an axis, including parameters such as position, speed and acceleration. It should be understood that after the neural network model undergoes complex nonlinear calculations of the multi-layer perceptron, the prediction results of the output layer must have a high degree of accuracy and stability to ensure the effectiveness of subsequent control instructions.
[0086] Furthermore, the drive device of each axis is calibrated. Drive device calibration is an important step to ensure the accuracy of the control system, which usually includes zero calibration, gain calibration and dynamic response calibration. Through calibration, the errors and drifts generated by the drive device during long-term operation can be compensated to ensure that each axis can move accurately according to the control instructions. Specifically, zero calibration is used to determine the initial position of each axis, gain calibration is used to adjust the output power of the drive device to make it consistent with the control instruction, and dynamic response calibration is used to optimize the response speed and accuracy of the drive device.
[0087] Furthermore, in actual implementation, zero calibration is first performed. Each axis is moved to a preset zero position through the control system, and the position feedback information at this time is recorded. It should be understood that the accuracy of zero calibration directly affects the benchmark of subsequent motion control, so a high-precision position sensor, such as a photoelectric encoder or a laser rangefinder, should be used to ensure the accuracy of zero calibration.
[0088] Furthermore, gain calibration is performed next. The purpose of gain calibration is to adjust the output characteristics of the drive device to be consistent with the command signal of the control system. By adjusting the gain parameters of the driver, each axis can produce a consistent motion response when receiving the same control command. It can be understood that gain calibration needs to take into account the nonlinear characteristics and load changes of the drive device, so multiple calibrations should be performed under different load conditions to ensure the reliability of the calibration results.
[0089] Furthermore, dynamic response calibration is finally performed. Dynamic response calibration mainly targets the response speed and accuracy of the drive device. By adjusting the dynamic parameters of the drive, such as velocity loop gain, position loop gain and acceleration parameters, it can respond to control instructions quickly and accurately under different motion states. It should be understood that dynamic response calibration not only involves the drive device itself, but also needs to be combined with the dynamic characteristics of the entire control system, including the real-time performance of the control algorithm and the delay of data transmission.
[0090] Furthermore, this embodiment can also introduce intelligent calibration technology, and automatically adjust calibration parameters by real-time monitoring of the working status and feedback information of the drive device to improve the efficiency and accuracy of calibration. For example, a machine learning algorithm is used to analyze historical calibration data and real-time operation data, predict possible errors and drifts, and automatically adjust calibration parameters to ensure the stability and accuracy of the system during long-term operation.
[0091] The benefit of this embodiment is that by optimizing the output layer structure of the neural network model, the prediction results are made more accurate and stable, providing a reliable basis for the generation of subsequent control instructions; by accurately calibrating the drive devices of each axis, the errors and drifts of the drive devices are compensated to ensure that each axis can move accurately according to the predetermined control instructions; the introduction of intelligent calibration technology improves the efficiency and accuracy of calibration, and further enhances the stability and robustness of the system. Example 8
[0092] In order to solve the problem of high-precision control of electric spark wire cutting machine tools in multi-axis linkage control systems, this embodiment further optimizes and refines the various components of the multi-axis linkage control system, and generates high-precision multi-axis linkage control instructions through the neural network model of the back propagation algorithm to ensure precise movement of each axis and real-time error compensation.
[0093] like Figure 7 As shown, the control system includes: The multi-axis linkage controller 3 is used to receive target position and current position information, and generate multi-axis linkage control instructions based on the neural network model of the back propagation algorithm.
[0094] The photoelectric encoder 11 is used to obtain the current position information of each axis.
[0095] The numerical control system 1 is used to obtain target position information of each axis.
[0096] The multi-axis driving device 4 is used to receive control instructions and drive each axis to move.
[0097] The monitoring module 5 is used to monitor the actual motion trajectory of each axis in real time and perform error compensation.
[0098] In this embodiment, the multi-axis linkage controller 3 is used to receive the target position and current position information of each axis, and generate multi-axis linkage control instructions based on the neural network model of the back propagation algorithm. Specifically, after the controller receives the target position information from the numerical control system 1 and the current position information from the photoelectric encoder 11, it processes and calculates through the neural network model, and outputs the speed instruction and position instruction of each axis. It should be understood that the training and optimization of the neural network model is crucial. Through a large amount of training data and iterative optimization, the prediction accuracy and robustness of the model can be improved to ensure that the generated control instructions can accurately guide the movement of each axis.
[0099] Furthermore, the photoelectric encoder 11 is used to obtain the current position information of each axis. The photoelectric encoder 11 is a high-precision position measurement device that converts mechanical displacement into electrical signal output through photoelectric conversion technology. The selection of the photoelectric encoder 11 should take into account its resolution, accuracy and stability to ensure that accurate position information can be provided in various working environments. In order to improve the measurement accuracy, a high-resolution incremental photoelectric encoder 11 is used in this embodiment, and a high-precision signal processing module is used to reduce signal noise and errors and improve the reliability of position feedback.
[0100] Furthermore, the numerical control system 1 is responsible for obtaining the target position information of each axis. The numerical control system 1 calculates the target position of each axis through the pre-written processing program, and transmits this information to the multi-axis linkage controller 3. The key to the numerical control system 1 lies in its computing power and real-time performance. Through efficient interpolation algorithms and data processing capabilities, it can generate accurate target position information. It should be understood that the numerical control system 1 is not just a simple position information provider, it also has path planning and optimization functions, and can dynamically adjust the motion trajectory of each axis according to the processing requirements to ensure the efficiency and accuracy of the processing process.
[0101] Furthermore, the multi-axis drive device 4 is used to receive control instructions and drive each axis to move. The drive device is usually composed of a servo motor and a driver, and its performance directly affects the control accuracy and response speed of the system. In order to achieve high-precision control, this embodiment uses a high-performance servo motor and a digital driver, and through fine parameter debugging and calibration, ensures that the drive device can respond to control instructions quickly and accurately. It can be understood that the calibration process of the drive device includes zero calibration, gain calibration and dynamic response calibration. Through these calibration steps, the error and drift of the drive device during long-term operation are compensated to ensure the precise movement of each axis.
[0102] Furthermore, the monitoring module 5 is used to monitor the actual motion trajectory of each axis in real time and perform error compensation. The design of the monitoring module 5 is based on multi-sensor fusion technology, and the motion state of each axis is monitored in real time by comprehensively analyzing the data of the photoelectric encoder 11, the servo motor feedback and the external sensor. It should be understood that error compensation is a dynamic adjustment process. By comparing the actual trajectory and the target trajectory, the error is calculated and the control instruction is adjusted in real time to reduce motion deviation and improve processing accuracy. In order to improve the effect of error compensation, adaptive control algorithms and machine learning techniques are introduced in this embodiment to improve the system's adaptability and compensation accuracy through real-time learning and adjustment.
[0103] Furthermore, this embodiment can also introduce an intelligent diagnosis and maintenance module to monitor the system operation status in real time, predict possible faults and anomalies, and perform maintenance and adjustments in advance to ensure the long-term stable operation of the system. The intelligent diagnosis module analyzes sensor data and historical operation records, identifies potential problems, and provides maintenance suggestions, effectively reducing equipment downtime and maintenance costs.
[0104] The benefit of this embodiment is that high-precision multi-axis linkage control of the wire-cut electric discharge machine tool is achieved through the optimized design of the multi-axis linkage controller 3, the photoelectric encoder 11, the numerical control system 1, the multi-axis drive device 4 and the monitoring module 5. The neural network model of the back propagation algorithm provides accurate control instructions, the photoelectric encoder 11 and the numerical control system 1 provide accurate position information, the multi-axis drive device 4 ensures the accurate execution of the control instructions, and the monitoring module 5 realizes real-time error compensation and adaptive adjustment. These technical means comprehensively improve the control accuracy and stability of the system. Example 9
[0105] In order to solve the problem of real-time adjustment of control instructions and processing and analyzing motion data during multi-axis linkage control of the wire EDM machine, this embodiment further optimizes and refines the structure of the multi-axis linkage control system to achieve higher-precision control and data processing.
[0106] like Figure 7As shown, the multi-axis linkage controller 3 includes a dynamic compensation module 31 for adjusting the control instructions in real time according to the trajectory deviation.
[0107] The system also includes a data processing module 2 for processing and analyzing the motion data of each axis.
[0108] In this embodiment, the dynamic compensation module 31 of the multi-axis linkage controller 3 is used to adjust the control instructions in real time according to the trajectory deviation. Specifically, the dynamic compensation module 31 monitors the actual motion trajectory of each axis in real time, compares it with the predetermined trajectory, and calculates the trajectory deviation. Based on the trajectory deviation, the dynamic compensation module 31 uses an adaptive control algorithm to generate corresponding compensation control instructions to adjust the motion trajectory of each axis to make it as close to the target trajectory as possible. It should be understood that the adaptive control algorithm can be a combination of multiple control strategies, such as PID control, fuzzy control and neural network control, to achieve a more accurate trajectory compensation effect.
[0109] Furthermore, in order to ensure the real-time and accuracy of trajectory compensation, the dynamic compensation module 31 in this embodiment adopts a high-speed data processing chip and an efficient compensation algorithm. Through parallel processing technology and optimized data processing flow, the dynamic compensation module 31 can complete the trajectory deviation calculation and compensation instruction generation in a very short time, ensuring the real-time performance of the control system. It can be understood that the performance of the dynamic compensation module 31 directly affects the response speed and control accuracy of the system, so a high-performance processor and an optimized control algorithm should be selected to ensure that high-precision control can still be achieved under complex processing conditions.
[0110] Furthermore, the data processing module 2 is used to process and analyze the motion data of each axis. The design of the data processing module 2 is based on big data analysis and machine learning technology. By collecting, storing, processing and analyzing the motion data of each axis, the motion patterns and abnormal conditions are identified. Specifically, the data processing module 2 includes a data acquisition unit, a data storage unit, a data analysis unit and a data visualization unit. The data acquisition unit is responsible for real-time collection of the motion data of each axis, including parameters such as position, speed, acceleration and current; the data storage unit uses high-capacity and high-speed storage devices, such as solid-state drives or memory databases, to ensure fast storage and access to data; the data analysis unit uses machine learning algorithms and big data analysis technology to identify patterns and anomalies in the data, and provide support for system optimization and maintenance; the data visualization unit displays the data analysis results through a graphical interface, which is convenient for operators to monitor and adjust.
[0111] Furthermore, in order to improve the efficiency and accuracy of data processing, the data processing module 2 in this embodiment can adopt a distributed computing architecture and cloud computing technology. By allocating data processing tasks to multiple computing nodes, computing resources can be fully utilized to achieve rapid processing and analysis of large-scale data. It should be understood that the application of distributed computing architecture and cloud computing technology can significantly improve the scalability and flexibility of the data processing module 2 and adapt to processing tasks of different scales and complexities.
[0112] The benefit of this embodiment is that high-precision multi-axis linkage control and data processing of the wire-cut EDM machine tool are realized by introducing the dynamic compensation module 31 and the data processing module 2. The dynamic compensation module 31 adjusts the control instructions in real time according to the trajectory deviation to ensure the accuracy of the movement of each axis; the data processing module 2 processes and analyzes the movement data of each axis to provide valuable operating status information and maintenance suggestions. Example 10
[0113] This embodiment further optimizes and refines the computer program design of the control system. The program is stored in a computer-readable storage medium, and when the processor executes the program, high-precision multi-axis linkage control of the wire-cut electric discharge machine tool is achieved.
[0114] Specifically, the computer program of this embodiment is based on a neural network model and generates multi-axis linkage control instructions through a back propagation algorithm. Specifically, the program first initializes the parameters of the neural network model, and trains the model through a training data set so that the model can accurately predict the motion trajectory of each axis. The input layer of the neural network model receives the target position and current position information of each axis, and after multiple layers of nonlinear processing, the output layer generates control instructions for each axis. It should be understood that the model training process requires a large amount of high-quality training data and multiple iterative optimizations to improve the prediction accuracy and robustness of the model.
[0115] The benefit of this embodiment is that by optimizing the computer program design, high-precision multi-axis linkage control of the electric spark wire cutting machine tool is realized. The neural network model provides accurate control instructions, and the dynamic compensation module realizes real-time trajectory deviation compensation. Through this embodiment, the electric spark wire cutting machine tool has high-precision multi-axis linkage control capabilities.
[0116] The beneficial effects of the present invention are specifically embodied in that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-axis linkage control method for a wire-cut electric discharge machine tool, characterized in that: The control method comprises the following steps: Get the target position information and current position information of multiple axes; The motion of each axis is predicted and adjusted by a neural network model based on a back propagation algorithm, wherein the input of the neural network model includes the target position, the current position information and the historical motion data; Generate multi-axis linkage control instructions based on the prediction results and send them to the drive devices of each axis; The actual motion trajectory of each axis is monitored in real time. If trajectory deviation is detected, the control command is adjusted using a compensation algorithm.
2. The multi-axis linkage control method of the wire-cut electric discharge machine tool according to claim 1, characterized in that: The use of a compensation algorithm to adjust the control instruction comprises the following steps: The actual motion trajectory data and target motion trajectory data of each axis are acquired in real time, and the trajectory deviation is calculated. The formula is: , Among them, e(t) is the trajectory deviation, xtarget(t) is the target position, and xactual(t) is the actual position; The trajectory deviation is differentiated in time to calculate its rate of change, which is expressed by the formula: ; According to the detected trajectory deviation and the change rate, the control adjustment amount is calculated using the compensation algorithm, and the formula is expressed as: , Among them, α, β, and γ are nonlinear compensation coefficients respectively; According to the control adjustment amount, the current control instruction is adjusted, and the adjusted control instruction is sent to the drive device of each axis to instruct each axis to perform corresponding motion adjustment; Repeat the step of adjusting the control instruction using the compensation algorithm to dynamically adjust the control instruction.
3. The multi-axis linkage control method of the wire-cut electric discharge machine tool according to claim 1, characterized in that: The acquisition of target positions and current position information of multiple axes comprises the following steps: Start the CNC system and multi-axis linkage controller, ensure that all hardware and software components are operating normally, and enter or load machining paths and target position information from predefined programs through the human-machine interface (HMI); Acquire the target position information of each axis from the numerical control system, including target coordinates and posture information, and store the target position information in a cache of the controller; The current position information of each axis is obtained in real time through the photoelectric encoder, including the current position and real-time coordinates, and multi-sensor fusion is performed using laser displacement sensors and acceleration sensors; The acquisition time of the target position information and the current position information is synchronized to reduce data errors, and the synchronized data is transmitted to the multi-axis linkage controller.
4. The multi-axis linkage control method of the wire-cut electric discharge machine tool according to claim 1, characterized in that: The prediction and adjustment of the motion of each axis by a neural network model based on a back propagation algorithm comprises the following steps: Normalizing the historical motion data, the target location information, and the current location information, checking the consistency and integrity of the data, and removing outliers and noise; Constructing a neural network model of a multilayer perceptron, including an input layer, a plurality of hidden layers and an output layer, wherein the input nodes of the input layer are the target position information, the current position and the historical motion data; Using a large amount of the historical motion data to train the neural network model, and using a back propagation algorithm to optimize the weights and biases of the model until the model error converges; The target position information and the current position information are input into the neural network model, the motion trajectory of each axis is predicted by the neural network model, and the adjustment amount is generated according to the prediction result.
5. The multi-axis linkage control method of the wire-cut electric discharge machine tool according to claim 4, characterized in that: The step of generating a multi-axis linkage control instruction based on the prediction result and sending it to the driving device of each axis includes: According to the prediction results, the speed command and position command of each axis are calculated and combined with the processing path requirements to generate a multi-axis linkage control command, including the target speed and target position of each axis; Optimizing the generated control instructions and applying constraints, the constraints including speed limits and acceleration limits; The optimized control instructions are sent to the drive devices of each axis through the control bus, and the drive devices perform corresponding motion operations after receiving the control instructions.
6. The multi-axis linkage control method of wire-cut electric discharge machine tool according to claim 1, characterized in that: The method for obtaining target position information and current position information of multiple axes includes: Acquiring the current position information of each axis through a photoelectric encoder; The target position information of each axis is obtained through the numerical control system.
7. The multi-axis linkage control method of the wire-cut electric discharge machine tool according to claim 4, characterized in that: The output node of the output layer is the prediction result; the control method also includes the step of calibrating the driving device of each axis.
8. A multi-axis linkage control system for an electric spark wire cutting machine tool, characterized in that: The control system comprises: A multi-axis linkage controller is used to receive target position and current position information, and generate multi-axis linkage control instructions based on a neural network model of a back-propagation algorithm; Photoelectric encoder, used to obtain the current position information of each axis; CNC system, used to obtain target position information of each axis; A multi-axis driving device, used to receive control instructions and drive each axis to move; The monitoring module is used to monitor the actual motion trajectory of each axis in real time and perform error compensation.
9. The multi-axis linkage control system of the wire-cut electric discharge machine tool according to claim 8, characterized in that: The multi-axis linkage controller includes a dynamic compensation module for adjusting control instructions in real time according to trajectory deviations; The system also includes a data processing module for processing and analyzing the motion data of each axis.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the multi-axis linkage control method for a wire electric discharge machine tool as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Eight-axis linkage control system and method for flying probe tester
CN119556630A
Transform network-based goods stacking track prediction and control method for clamping and holding vehicle
CN119960438A
Special material machining control method and system for electric spark machine tool
CN120920830A
A special material processing control method and system for an electric spark machine tool
CN120920830B
Cutting trajectory planning method and device and computer readable storage medium
CN121704334A
