Error compensation device and error compensation method for numerical control system

Through the laser dry measuring instrument monitoring and error calculation module, combined with historical data prediction, the error impact problem of the CNC system during dual-channel processing is solved, accurate error compensation and parameter adjustment are achieved, and the accuracy and processing efficiency of the workpiece are improved.

CN118689163BActive Publication Date: 2024-11-29HUAZHONG CNC (NANJING) RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411183717.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-29
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

The existing CNC system error compensation equipment cannot effectively calculate the impact of error between channels during dual-channel processing, resulting in reduced workpiece accuracy and lack of error prediction steps, so the parameters cannot be adjusted in advance.

Method used

Use laser dry measuring instrument to monitor the motion trajectory of the machine tool, calculate the actual error amount and mutual influence error amount of single and dual channels, and make predictions based on historical data, plan and adjust processing parameters in advance, and achieve accurate compensation through the error compensation calculation module and prediction module. .

Benefits of technology

It significantly improves the accuracy and processing quality of the workpiece, reduces the scrap rate, and ensures the efficiency and stability of the processing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689163B_ABST
    Figure CN118689163B_ABST
Patent Text Reader

Abstract

The present invention discloses an error compensation device and an error compensation method for a numerical control system, the method comprising the following steps: the workpiece is first processed by channel a of the numerical control system, after channel a has been processed for a period of time, channel b is added to process simultaneously with channel a, finally channel a stops processing, and channel b processes the workpiece alone, a laser dry meter is used to monitor the motion trajectory of the machine tool during the processing; the actual error amount of channel a processing, the actual error amount of channel b processing, the error amount of influence of channel a on channel b, and the error amount of influence of channel b on channel a are calculated according to the detected error data; the corresponding compensation amount is calculated according to the error amount. In dual-channel numerical control processing, the present invention also counts the mutual influence between the dual channels into the error as an error calculation, so that the error calculation is more accurate, and it also has the function of error prediction, which is convenient for making parameter adjustment planning in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of numerical control system compensation systems, and in particular to an error compensation device and an error compensation method for a numerical control system. Background Art

[0002] CNC system is a computer-controlled manufacturing technology used to automate and accurately control the machining process of machine tools. It uses pre-written program instructions to accurately control various actions and processing parameters on the machine tool to complete complex processing tasks. However, when the CNC system controls machine tool processing, errors usually occur due to mechanical factors, environmental factors, tool wear, and material properties. In order to deal with these errors, error compensation is required;

[0003] However, the existing error compensation equipment usually directly measures the machining error when performing dual-channel machining, without calculating the machining error between the dual channels. The error between the channels will also cause an error that affects the accuracy of the workpiece. At the same time, the traditional error compensation equipment does not have an error prediction step. Therefore, an error compensation device and an error compensation method for a CNC system are proposed.

[0004] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention

[0005] In view of the problems in the related art, the present invention proposes an error compensation device and an error compensation method for a numerical control system to overcome the above technical problems existing in the existing related art.

[0006] To this end, the specific technical solution adopted by the present invention is as follows:

[0007] An error compensation device and an error compensation method for a numerical control system, the method comprising the following steps:

[0008] S1. The workpiece is first processed by channel a of the CNC system. After a period of processing by channel a, channel b is added to process simultaneously with channel a. Finally, channel a stops processing and the workpiece is processed by channel b alone. A laser interferometer is used to monitor the motion trajectory of the machine tool during processing.

[0009] S2. Calculate the actual error amount of channel a processing, the actual error amount of channel b processing, the error amount of channel a affecting channel b, and the error amount of channel b affecting channel a according to the detected error data;

[0010] S3, calculating the corresponding compensation amount according to the error amount, taking the compensation amount as the output parameter, and realizing the adjustment of the processing parameters;

[0011] S4. Predict system errors based on historical data and make advance plans to adjust parameters.

[0012] As a preferred embodiment, the workpiece is first processed by channel a of the numerical control system. After channel a processes the workpiece for a period of time, channel b is added to process the workpiece simultaneously with channel a. Finally, channel a stops processing and the workpiece is processed by channel b alone. Using a laser interferometer to monitor the motion trajectory of the machine tool during processing includes the following steps:

[0013] S11. Fix the workpiece on the workbench of the CNC machine tool, ensure the position and clamping stability of the workpiece, set the zero coordinate and machining origin of the workpiece, and perform preliminary tool setting and alignment operations;

[0014] S12, start channel a to start processing the workpiece, monitor the motion trajectory of the machine tool in real time through the laser interferometer, and record the motion error data;

[0015] S13, start channel b, and channels a and b process the workpiece at the same time, monitor the motion trajectory of the machine tool in real time through the laser interferometer, and record the motion error data;

[0016] S14, channel a stops processing the workpiece, channel b processes the workpiece alone, and the motion trajectory of the machine tool is monitored in real time through the laser interferometer to record the motion error data.

[0017] Real-time monitoring of the laser interferometer can capture the tiny displacement and error of the machine tool during the processing process, thereby providing accurate error data.

[0018] As a preferred embodiment, the actual error amount of channel a processing, the actual error amount of channel b processing, and the error amount of channel a affecting channel b, and the error amount of channel b affecting channel a are calculated based on the detected error data, including the following steps:

[0019] S21, when channel a processes the workpiece, the actual error amount of channel a processing is calculated according to the error data during the monitoring of channel a processing;

[0020] S22, when the b channel processes the workpiece, the actual error amount of the a channel processing is calculated according to the error data of the b channel processing process;

[0021] S23, when channel a and channel b process the workpiece simultaneously, the error amount of influence of channel a on channel b and the error amount of influence of channel b on channel a are calculated based on the error data monitored during the processing of channel a and channel b.

[0022] When channel a and channel b are processed at the same time, the channels will affect each other, thus causing processing errors.

[0023] As a preferred embodiment, the corresponding compensation amount is calculated according to the error amount, and the compensation amount is used as an output parameter to adjust the processing parameters, which includes the following steps:

[0024] S31, calculate the compensation amount by obtaining the actual error amount of channel a processing, the specific formula is:

[0025] ;

[0026] in, is the error amount of channel a, is the actual position measured, is the desired position;

[0027] ;

[0028] in, Is the proportional coefficient, when processing channel a, the compensation amount is applied ;

[0029] S32, calculating the compensation amount by obtaining the sum of the actual processing errors of channel a and channel b, the specific formula is:

[0030] ;

[0031] ;

[0032] in, is the error amount of channel a affected by channel b, is the error when channel a is processed simultaneously with channel b. is the error when channel a is processed alone, is the error amount of channel b affected by channel a, is the error when channel b is processed simultaneously with channel a, is the error when channel b is processed alone;

[0033] ;

[0034] ;

[0035] When performing dual-channel processing, is the proportionality coefficient, They are the compensation amounts for channel a and channel b respectively. When dual channels are processed, the compensation amounts are applied to both channels.

[0036] S33, calculating the compensation amount by obtaining the actual error amount of the b channel processing, the specific formula is:

[0037] ;

[0038] in, is the compensation amount of b channel processing, is the actual position measured, is the desired position;

[0039] ;

[0040] in, Is the proportional coefficient, when processing the b channel, the compensation amount is applied .

[0041] The calculation of compensation can correct position errors and inter-channel influences during the machining process, thereby significantly improving the accuracy and overall quality of the machined parts.

[0042] As a preferred implementation, the prediction of possible errors in the system based on historical data and the advance planning of parameter adjustment include the following steps:

[0043] S41, when channel a is processed separately, based on the known error data of channel a, the error of channel a in the future processing time is predicted, and the parameters are adjusted in advance;

[0044] S42, when dual channels are processing simultaneously, based on known dual channel error data, predict the errors of the dual channels in the future processing time, and plan and adjust parameters in advance;

[0045] S43, when channel b is processed separately, based on the known error data of channel b, the error of channel b in the future processing time is predicted, and the parameters are adjusted in advance.

[0046] As a preferred embodiment, when the a channel is processed separately, based on the known error data of the a channel, the error of the a channel in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps:

[0047] S411, preprocessing the collected data, including data cleaning, removing outliers, and data conversion;

[0048] Data cleaning and removal of outliers can ensure the accuracy and reliability of the data set and reduce prediction bias caused by data errors or anomalies.

[0049] S412. Select a time series model for prediction, and use historical data to train the selected model to verify the prediction ability of the model. Use the trained model to predict the error, predict the error amount in the future, and convert the error amount into compensation amount to adjust the parameter planning during channel a processing.

[0050] As a preferred embodiment, when the dual channels are processed simultaneously, based on the known error data of the dual channels, the error of the dual channels in the future processing time is predicted, and the parameters are adjusted in advance by planning, including the following steps:

[0051] S421, preprocessing the data collected from the dual channels, including data cleaning, removing abnormal values, and data conversion;

[0052] S422. Select a time series model for prediction, and use historical data to train the selected model to verify the prediction ability of the model. Use the trained model to predict the error, predict the error amount in the future, and convert the error amount into compensation amount to adjust the parameter planning during dual-channel processing.

[0053] As a preferred embodiment, when the b channel is processed separately, based on the known error data of the b channel, the error of the b channel in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps:

[0054] S431, preprocessing the data collected from channel b, including data cleaning, removing outliers, and data conversion;

[0055] S432. Select a time series model for prediction, and use historical data to train the selected model to verify the model's prediction ability. Use the trained model to predict errors, predict the amount of error in the future, and convert the error amount into a compensation amount to adjust the parameter planning during channel b processing.

[0056] Using the same method can enable the model to obtain more accurate and stable prediction results in different stages of application, thereby improving the accuracy and reliability of the prediction.

[0057] As a preferred embodiment, an error compensation device for a numerical control system includes the following modules: an error detection module, an error and compensation calculation module, a compensation execution module, an error and compensation prediction module, and a data display module, wherein the error detection module, the error and compensation calculation module, the compensation execution module, the error and compensation prediction module, and the data display module are sequentially connected in communication:

[0058] The error detection module uses a laser dry detector to monitor the motion trajectory of the machine tool during the processing process and monitor the actual error of the workpiece when processing different channels;

[0059] The error and compensation calculation module analyzes and calculates the detected error data, generates a compensation amount and transmits the compensation amount to the compensation execution module;

[0060] The compensation execution module receives data from the error and compensation calculation module and the error and compensation prediction module, outputs numerical control instructions, and performs parameter adjustment;

[0061] The error and compensation prediction module predicts the error for a period of time in the future based on known error data and makes parameter adjustments;

[0062] The data display module displays dual-channel processing parameters, error parameters, and compensation parameters, and is used to check the compensation status of the CNC machine tool at any time.

[0063] In complex processing environments, error compensation equipment can adjust parameters according to actual conditions to cope with changes in processing parameters or environmental fluctuations, ensuring stable processing quality.

[0064] The beneficial effects of the present invention are:

[0065] 1. The present invention calculates the errors of the single channel and the dual channel respectively and converts the error amount into the compensation amount. The system can more accurately capture and quantify the errors that may exist in the processing process. When the dual channels are processed, the mutual influence error of the dual channel processing is directly calculated, thereby calculating the mutual influence between the dual channels within the error range, so that when performing dual channel processing, the error calculation result is more accurate, thereby making the workpiece precision higher;

[0066] 2. The present invention predicts the error data of the channel in the future and plans and adjusts the parameters in advance. The system can adjust and optimize the processing parameters in advance. At the same time, planning and adjusting parameters in advance can not only effectively reduce the processing error, but also ensure that the workpiece maintains high quality throughout the entire production process, improve the processing efficiency of the workpiece, and reduce the scrap rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0068] Figure 1 The present invention is a flowchart of an error compensation device and an error compensation method for a numerical control system according to an embodiment of the present invention.

[0069] Figure 2 is a block diagram of a numerical control system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0070] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0071] According to an embodiment of the present invention, an error compensation device and an error compensation method for a numerical control system are provided.

[0072] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1-Figure 2 As shown, according to an embodiment of the present invention, an error compensation method for an error compensation device for a numerical control system comprises the following steps:

[0073] S1. The workpiece is first processed by channel a of the CNC system. After a period of processing by channel a, channel b is added to process simultaneously with channel a. Finally, channel a stops processing and the workpiece is processed by channel b alone. A laser interferometer is used to monitor the motion trajectory of the machine tool during processing.

[0074] Furthermore, the workpiece is first processed by channel a of the numerical control system. After channel a processes the workpiece for a period of time, channel b is added to process the workpiece simultaneously with channel a. Finally, channel a stops processing and the workpiece is processed by channel b alone. Using a laser interferometer to monitor the motion trajectory of the machine tool during the processing includes the following steps:

[0075] S11. Fix the workpiece on the workbench of the CNC machine tool, ensure the position and clamping stability of the workpiece, set the zero coordinate and machining origin of the workpiece, and perform preliminary tool setting and alignment operations;

[0076] S12, start channel a to start processing the workpiece, monitor the motion trajectory of the machine tool in real time through the laser interferometer, and record the motion error data;

[0077] S13, start channel b, and channels a and b process the workpiece at the same time, monitor the motion trajectory of the machine tool in real time through the laser interferometer, and record the motion error data;

[0078] S14, channel a stops processing the workpiece, channel b processes the workpiece alone, and the motion trajectory of the machine tool is monitored in real time through the laser interferometer to record the motion error data.

[0079] It should be noted that the workpiece is first processed through channel a, then processed through channel a and channel b simultaneously, and finally processed through channel b. By recording these motion error data, the impact of multi-channel processing on machine tool accuracy and efficiency can be evaluated, which also helps to optimize the strategy and parameter settings of multi-channel processing;

[0080] S2. Calculate the actual error amount of channel a processing, the actual error amount of channel b processing, the error amount of channel a affecting channel b, and the error amount of channel b affecting channel a according to the detected error data;

[0081] Furthermore, the actual error amount of channel a processing, the actual error amount of channel b processing, and the error amount of influence of channel a on channel b, and the error amount of influence of channel b on channel a are calculated according to the detected error data, including the following steps:

[0082] S21, when channel a processes the workpiece, the actual error amount of channel a processing is calculated according to the error data during the monitoring of channel a processing;

[0083] S22, when the b channel processes the workpiece, the actual error amount of the a channel processing is calculated according to the error data of the b channel processing process;

[0084] S23, when channel a and channel b process the workpiece simultaneously, the error amount of influence of channel a on channel b and the error amount of influence of channel b on channel a are calculated based on the error data monitored during the processing of channel a and channel b.

[0085] It should be noted that when channel a and channel b are processed at the same time, by calculating the influencing errors X1 and Y1, the degree of influence of one channel on the processing accuracy of another channel can be clearly determined, so that the processing strategy can be adjusted accordingly;

[0086] S3, calculating the corresponding compensation amount according to the error amount, taking the compensation amount as the output parameter, and realizing the adjustment of the processing parameters;

[0087] Furthermore, the corresponding compensation amount is calculated according to the error amount, and the compensation amount is used as an output parameter to adjust the processing parameters, which includes the following steps:

[0088] S31, calculate the compensation amount by obtaining the actual error amount of channel a processing, the specific formula is:

[0089] ;

[0090] in, is the error amount of channel a, is the actual position measured, is the desired position;

[0091] ;

[0092] in, Is the proportional coefficient, when processing channel a, the compensation amount is applied ;

[0093] S32, calculating the compensation amount by obtaining the sum of the actual processing errors of channel a and channel b, the specific formula is:

[0094] ;

[0095] ;

[0096] in, is the error amount of channel a affected by channel b, is the error when channel a is processed simultaneously with channel b. is the error when channel a is processed alone, is the error amount of channel b affected by channel a, is the error when channel b is processed simultaneously with channel a, is the error when channel b is processed alone;

[0097] ;

[0098] ;

[0099] When performing dual-channel processing, is the proportionality coefficient, They are the compensation amounts for channel a and channel b respectively. When dual channels are processed, the compensation amounts are applied to both channels.

[0100] S33, calculating the compensation amount by obtaining the actual error amount of the b channel processing, the specific formula is:

[0101] ;

[0102] in, is the compensation amount of b channel processing, is the actual position measured, is the desired position;

[0103] ;

[0104] in, Is the proportional coefficient, when processing the b channel, the compensation amount is applied .

[0105] It should be noted that the proportionality coefficient usually refers to the proportional relationship between the compensation amount calculated based on the error amount and the actual error that needs to be compensated. The specific proportionality coefficient can be determined according to the specific CNC machining system, machining conditions and workpiece requirements;

[0106] S4. Predict system errors based on historical data and make advance plans to adjust parameters.

[0107] Furthermore, the error of the prediction system based on historical data and the advance planning and parameter adjustment include the following steps:

[0108] S41, when channel a is processed separately, based on the known error data of channel a, the error of channel a in the future processing time is predicted, and the parameters are adjusted in advance;

[0109] When the a channel is processed separately, based on the known error data of the a channel, the error of the a channel in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps:

[0110] Further, S411, preprocessing the collected data, including data cleaning, removing outliers, and data conversion;

[0111] S412. Select a time series model for prediction, and use historical data to train the selected model to verify the prediction ability of the model. Use the trained model to predict the error, predict the error amount in the future, and convert the error amount into compensation amount to adjust the parameter planning during channel a processing.

[0112] It should be noted that the time series model is particularly suitable for capturing the trend and periodicity of data changes over time, so it is very effective for predicting the dual-channel machining error. By converting the predicted error amount into the compensation amount, the parameters of channel a processing can be accurately adjusted, thereby reducing the error in the future machining process;

[0113] S42, when dual channels are processing simultaneously, based on known dual channel error data, predict the errors of the dual channels in the future processing time, and plan and adjust parameters in advance;

[0114] When the dual channels are processed simultaneously, based on the known error data of the dual channels, the error of the dual channels in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps:

[0115] S421, preprocessing the data collected from the dual channels, including data cleaning, removing abnormal values, and data conversion;

[0116] S422, selecting a time series model for prediction, and using historical data to train the selected model to verify the prediction ability of the model, using the trained model to predict the error, predict the error amount in the future, and convert the error amount into a compensation amount, and adjust the parameter planning during dual-channel processing;

[0117] It should be noted that the error prediction in the three stages is the same method. The unified prediction method can ensure the consistency of error evaluation and processing in different processing stages. The unified prediction method simplifies the data processing process and model application, and reduces the complex management requirements for different prediction models and processing strategies.

[0118] S43, when channel b is processed separately, based on the known error data of channel b, the error of channel b in the future processing time is predicted, and the parameters are adjusted in advance.

[0119] It should be noted that channel a, dual channels, and channel b are processed in different time periods. The error prediction of channel a is carried out during the processing time of channel a alone, the error prediction of dual channels is carried out during the processing time of dual channels, and the error prediction of channel b is carried out during the processing time of channel b alone.

[0120] Furthermore, when the b channel is processed separately, based on the known error data of the b channel, the error of the b channel in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps:

[0121] S431, preprocessing the data collected from channel b, including data cleaning, removing outliers, and data conversion;

[0122] S432. Select a time series model for prediction, and use historical data to train the selected model to verify the model's prediction ability. Use the trained model to predict errors, predict the amount of error in the future, and convert the error amount into a compensation amount to adjust the parameter planning during channel b processing.

[0123] It should be noted that the workpiece processing steps are divided into three parts, and separate error predictions are performed for the three steps, so that when processing in the three stages, advance planning and prediction of errors can be performed, so that the workpiece can maintain high-precision and high-efficiency processing throughout the entire processing process.

[0124] An error compensation device for a numerical control system comprises the following modules: an error detection module, an error and compensation calculation module, a compensation execution module, an error and compensation prediction module, and a data display module, wherein the error detection module, the error and compensation calculation module, the compensation execution module, the error and compensation prediction module, and the data display module are sequentially connected in communication:

[0125] The error detection module uses a laser dry detector to monitor the motion trajectory of the machine tool during the processing process and monitor the actual error of the workpiece when processing different channels;

[0126] The error and compensation calculation module analyzes and calculates the detected error data, generates a compensation amount and transmits the compensation amount to the compensation execution module;

[0127] The compensation execution module receives data from the error and compensation calculation module and the error and compensation prediction module, outputs numerical control instructions, and performs parameter adjustment;

[0128] The error and compensation prediction module predicts the error for a period of time in the future based on known error data and makes parameter adjustments;

[0129] The data display module displays dual-channel processing parameters, error parameters, and compensation parameters, and is used to check the compensation status of the CNC machine tool at any time.

[0130] It should be noted that the error compensation equipment can predict and monitor the error conditions during the processing, and take corresponding compensation measures to adjust the processing parameters for the errors that occur, so as to minimize the errors and ensure the accuracy and consistency of product processing.

[0131] 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 principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An error compensation method for an error compensation device for a numerical control system, characterized in that: The method comprises the following steps: S1. The workpiece is first processed by channel a of the CNC system. After a period of processing by channel a, channel b is added to process simultaneously with channel a. Finally, channel a stops processing and the workpiece is processed by channel b alone. A laser interferometer is used to monitor the motion trajectory of the machine tool during processing. S2. Calculate the actual error amount of channel a processing, the actual error amount of channel b processing, the error amount of channel a affecting channel b, and the error amount of channel b affecting channel a according to the detected error data; S3, calculating the corresponding compensation amount according to the error amount, taking the compensation amount as the output parameter, and realizing the adjustment of the processing parameters; S31, calculate the compensation amount by obtaining the actual error amount of channel a processing, the specific formula is: ; in, is the error amount of channel a, is the actual position measured, is the desired position; ; in, Is the proportional coefficient, when processing channel a, the compensation amount is applied ; S32, calculating the compensation amount by obtaining the sum of the actual processing errors of channel a and channel b, the specific formula is: ; ; in, is the error amount of channel a affected by channel b, is the error when channel a is processed simultaneously with channel b, is the error when channel a is processed alone, is the error amount of channel b affected by channel a, is the error when channel b is processed simultaneously with channel a, is the error when channel b is processed alone; ; ; When performing dual-channel processing, is the proportionality coefficient, They are the compensation amounts for channel a and channel b respectively. When dual channels are processed, the compensation amounts are applied to both channels. S33, calculating the compensation amount by obtaining the actual error amount of the b channel processing, the specific formula is: ; in, is the compensation amount of b channel processing, is the actual position measured, is the desired position; ; in, Is the proportional coefficient, when processing the b channel, the compensation amount is applied ; S4. Predict system errors based on historical data and make advance plans to adjust parameters.

2. The error compensation method of the error compensation device for a numerical control system according to claim 1, characterized in that: The workpiece is first processed by channel a of the numerical control system. After channel a processes the workpiece for a period of time, channel b joins in and processes the workpiece simultaneously with channel a. Finally, channel a stops processing and the workpiece is processed by channel b alone. Using a laser interferometer to monitor the motion trajectory of the machine tool during the processing includes the following steps: S11. Fix the workpiece on the workbench of the CNC machine tool, ensure the position and clamping stability of the workpiece, set the zero coordinate and machining origin of the workpiece, and perform preliminary tool setting and alignment operations; S12, start channel a to start processing the workpiece, monitor the motion trajectory of the machine tool in real time through the laser interferometer, and record the motion error data; S13, start channel b, and channels a and b process the workpiece at the same time, monitor the motion trajectory of the machine tool in real time through the laser interferometer, and record the motion error data; S14, channel a stops processing the workpiece, channel b processes the workpiece alone, and the motion trajectory of the machine tool is monitored in real time through the laser interferometer to record the motion error data.

3. The error compensation method of the error compensation device for a numerical control system according to claim 1, characterized in that: The method of calculating the actual error amount of processing of channel a, the actual error amount of processing of channel b, and the error amount of influence of channel a on channel b, and the error amount of influence of channel b on channel a according to the detected error data comprises the following steps: S21, when channel a is processing the workpiece, the actual error amount of channel a processing is calculated according to the error data of channel a processing; S22, when the b channel is processing the workpiece, the actual error amount of the a channel processing is calculated according to the error data of the b channel processing process; S23, when channel a and channel b process the workpiece simultaneously, the error amount of influence of channel a on channel b and the error amount of influence of channel b on channel a are calculated based on the error data monitored during the processing of channel a and channel b.

4. The error compensation method of the error compensation device for a numerical control system according to claim 1, characterized in that: The error prediction system according to historical data and the adjustment parameters of advance planning include the following steps: S41, when channel a is processed separately, based on the known error data of channel a, the error of channel a in the future processing time is predicted, and the parameters are adjusted in advance; S42, when dual channels are processing simultaneously, based on known dual channel error data, predict the errors of the dual channels in the future processing time, and plan and adjust parameters in advance; S43, when channel b is processed separately, based on the known error data of channel b, the error of channel b in the future processing time is predicted, and the parameters are adjusted in advance.

5. The error compensation method of the error compensation device for a numerical control system according to claim 4, characterized in that: When the a channel is processed separately, based on the known error data of the a channel, the error of the a channel in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps: S411, preprocessing the collected data, including data cleaning, removing outliers, and data conversion; S412. Select a time series model for prediction, and use historical data to train the selected model to verify the prediction ability of the model. Use the trained model to predict the error, predict the error amount in the future, and convert the error amount into compensation amount to adjust the parameter planning during channel a processing.

6. The error compensation method of the error compensation device for a numerical control system according to claim 4, characterized in that: When the dual channels are processed simultaneously, based on the known error data of the dual channels, the error of the dual channels in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps: S421, preprocessing the data collected from the dual channels, including data cleaning, removing abnormal values, and data conversion; S422. Select a time series model for prediction, and use historical data to train the selected model to verify the prediction ability of the model. Use the trained model to predict the error, predict the error amount in the future, and convert the error amount into compensation amount to adjust the parameter planning during dual-channel processing.

7. The error compensation method of the error compensation device for a numerical control system according to claim 4, characterized in that: When the b channel is processed separately, based on the known error data of the b channel, the error of the b channel in the future processing time is predicted, and the parameters are adjusted in advance, including the following steps: S431, preprocessing the data collected from channel b, including data cleaning, removing outliers, and data conversion; S432. Select a time series model for prediction, and use historical data to train the selected model to verify the model's prediction ability. Use the trained model to predict errors, predict the amount of error in the future, and convert the error amount into a compensation amount to adjust the parameter planning during channel b processing.

8. An error compensation device for a numerical control system, the device adopts the error compensation method as claimed in claim 1, characterized in that: The following modules are included: an error detection module, an error and compensation calculation module, a compensation execution module, an error and compensation prediction module, and a data display module. The error detection module, the error and compensation calculation module, the compensation execution module, the error and compensation prediction module, and the data display module are sequentially connected in communication: The error detection module uses a laser interferometer to monitor the motion trajectory of the machine tool during the processing and monitor the actual error of the workpiece when processing different channels; The error and compensation calculation module analyzes and calculates the detected error data, generates a compensation amount and transmits the compensation amount to the compensation execution module; The compensation execution module receives data from the error and compensation calculation module and the error and compensation prediction module, outputs numerical control instructions, and performs parameter adjustment; The error and compensation prediction module predicts the error for a period of time in the future based on known error data and makes parameter adjustments; The data display module displays dual-channel processing parameters, error parameters, and compensation parameters, and is used to check the compensation status of the CNC machine tool at any time.

Citation Information

Patent Citations

  • Method for compensating numerical control machine processing dynamic error based on instruction sequence analysis

    CN102004466A

  • Method and device for contour machining radius error compensation control of numerical control machine tool

    CN103135498A