Forward-looking prediction method of machine tool temperature rise and spindle thermal error based on speed zone division

Through the forward prediction method of machine tool temperature rise and spindle thermal error based on the division of speed zones, combined with the unscented Kalman filter algorithm, the model parameters are dynamically adjusted, which solves the problem of real-time and low accuracy of online compensation technology for CNC machine tools, and achieves variable Accurate prediction at rpm.

CN118092313BActive Publication Date: 2024-08-27SOUTHWEST JIAOTONG UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410217711.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-08-27
Estimated Expiration
2044-02-28

AI Technical Summary

Technical Problem

The existing CNC machine tool online compensation technology has low real-time performance and accuracy, making it difficult to effectively monitor and predict machine tool temperature rise and spindle thermal errors, resulting in reduced machining accuracy.

Method used

A forward-looking prediction method for machine tool temperature rise and spindle thermal error based on rotational speed area division is used to establish a typical rotational speed model by dividing the spindle rotational speed into multiple regions. Combined with the unscented Kalman filter algorithm, the model parameters are dynamically adjusted to achieve real-time temperature control. l and thermal error prediction.

Benefits of technology

It improves the real-time and accuracy of the online compensation technology, can effectively respond to speed changes, realizes forward prediction of machine tool temperature rise and spindle thermal error under variable speed, and ensures the real-time and accuracy of the prediction model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118092313B
    Figure CN118092313B
Patent Text Reader

Abstract

The present invention discloses a forward-looking prediction method for machine tool temperature rise and spindle thermal error based on speed region division, comprising the following steps: S1, dividing the spindle speed into multiple speed regions; S2, establishing a machine tool temperature rise model and a spindle thermal error model at a typical speed; S3, combining the models with an unscented Kalman filter algorithm to establish a prediction model; S4, setting an initial training time and a speed monitoring cycle, and training the prediction model; S5, predicting the data in the next speed monitoring cycle, and establishing a model update criterion; S6, updating the temperature rise model parameters and the thermal error model parameters, and predicting the data in the next speed monitoring cycle; S7, predicting the subsequent temperature rise and spindle thermal error change trends. The present invention ensures the real-time and accuracy of the prediction model, thereby realizing the forward-looking prediction of the machine tool temperature rise and spindle thermal error under variable speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of error measurement and identification of numerically controlled machine tools, and in particular to a method for predicting machine tool temperature rise and spindle thermal errors based on rotation speed region division. Background Art

[0002] Thermal error is one of the main reasons that affect machine tool accuracy. As the core component of CNC machine tools, the spindle will generate a lot of heat energy when it rotates at high speed, causing deformation of machine tool parts and resulting in processing errors. Compensating for thermal errors through CNC machine tool error compensation technology can effectively improve machine tool processing accuracy and reduce economic losses caused by processing errors.

[0003] Due to the complexity of machine tool temperature rise and spindle thermal error, there are nonlinearities and interactions between machine tool temperature rise and spindle thermal error. It usually takes a long time to monitor and identify the errors, and it is difficult to accurately model machine tool temperature rise and spindle thermal error. In addition, it is difficult to ensure real-time communication in the current machine tool CNC system. Therefore, the real-time and accuracy of CNC machine tool real-time online compensation technology needs to be further improved. Summary of the invention

[0004] In order to solve the problems of low real-time and accuracy of existing real-time online compensation technology for machine tools, the present invention proposes a forward-looking prediction method for machine tool temperature rise and spindle thermal error based on speed zone division. When the speed changes, the temperature rise and spindle thermal error prediction model can be adjusted in time to make the model adapt to the temperature rise and thermal error prediction under different speeds, and complete the prediction of machine tool temperature rise and spindle thermal error under the entire variable working condition. The prediction results are used to realize real-time compensation of the workpiece, which can improve the real-time and accuracy of the online compensation technology and solve the above-mentioned problems.

[0005] The present invention discloses a method for predicting machine tool temperature rise and spindle thermal error based on speed region division, comprising the following steps:

[0006] S1. According to the maximum spindle speed, the spindle speed is divided into multiple speed ranges, and a typical speed in each speed range is selected;

[0007] S2. Measure the complete machine tool temperature rise and spindle thermal error data from cold machine to thermal equilibrium corresponding to each typical speed, and establish a machine tool temperature rise model and a spindle thermal error model for typical speeds respectively;

[0008] S3, combining the machine tool temperature rise model and the spindle thermal error model at a typical speed with the unscented Kalman filter algorithm, respectively, to establish a machine tool temperature rise prediction model and a spindle thermal error prediction model based on speed region division;

[0009] S4, setting the initial training time and speed monitoring cycle, reading the machine tool spindle speed at the beginning of the initial training time, determining the speed area corresponding to the spindle speed, obtaining the machine tool temperature rise and spindle thermal error prediction model parameters of the typical speed in the corresponding speed area, training the machine tool temperature rise prediction model and the spindle thermal error prediction model using the data obtained during the initial training time, and determining the machine tool temperature rise model parameters and the spindle thermal error model parameters at the end of the initial training time;

[0010] S5. Using the initial parameters and the measurement data within the initial training time, the machine tool temperature rise prediction model and the spindle thermal error prediction model are used to predict the machine tool temperature rise data and the spindle thermal error data within the next speed monitoring cycle, and a model update criterion is established to update the machine tool temperature rise prediction model and the spindle thermal error model;

[0011] S6. Update the temperature rise model parameters and the thermal error model parameters according to the model update criteria established in S5, and predict the temperature rise data and the thermal error data in the next speed monitoring cycle;

[0012] S7. Repeat S6 to predict the subsequent temperature rise and the change trend of the spindle thermal error.

[0013] Preferably, the S1 comprises the following steps:

[0014] S11, according to the maximum spindle speed n, the spindle speed is divided into m speed ranges, the speed 0 to n1 is the first range, the speed n1 to n2 is the second range, ..., n m-1 ~n m is the mth region;

[0015] S12, select the maximum speed in each speed area as the typical speed in the area, the typical speed of the first area is n1, the typical speed of the second area is n2, ..., the typical speed of the mth area is n m .

[0016] Preferably, S2 comprises the following steps:

[0017] S21. Measure the complete temperature rise data and thermal error data from cold machine to thermal equilibrium for each typical speed;

[0018] S22. Based on the temperature rise data, an exponential machine tool temperature rise model based on speed region division is established:

[0019]

[0020] Among them, T k is the temperature at time k, T k-1 is the temperature at time k-1, T Sis the temperature when steady state is reached, t is the time variable, λ is the time constant, and different λ corresponds to the typical speed in different speed ranges;

[0021] S23. Establish a spindle thermal error model in the form of an exponential based on the speed region division according to the thermal error data:

[0022]

[0023] Among them, x k is the thermal error at time k, x k-1 is the thermal error at time k-1, x0 is the thermal error of the spindle at the starting time, and x S It is the thermal error when the spindle reaches thermal equilibrium.

[0024] Preferably, the machine tool temperature rise prediction model based on speed region division in S3 is:

[0025]

[0026] The prediction model of spindle thermal error based on speed area division is:

[0027]

[0028] Among them, w k is the process noise, f(x k-1 ) indicates that the state quantity at time k-1 is transformed by function f to express the state quantity at time k.

[0029] Preferably, S4 comprises the following steps:

[0030] S41, set initial training time T w and the speed monitoring period Δt;

[0031] S42, at the beginning of the initial training time, read the machine tool spindle speed n i , determine the speed range corresponding to the spindle speed, and obtain the machine tool temperature rise model parameter λ of the typical speed in this speed range ni and the spindle thermal error model parameter λ ni ;

[0032] S43, using the data obtained in S42 to train the machine tool temperature rise prediction model and the spindle thermal error prediction model, and determining the machine tool temperature rise model parameter T at the end of the initial training time S And the spindle thermal error model parameters x0, x S .

[0033] Preferably, S5 comprises the following steps:

[0034] S51, using the model parameters and initial time T obtained in S43w The measured data in the machine tool are combined with the machine tool temperature rise prediction model and the spindle thermal error prediction model to predict the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and the actual machine tool temperature rise and spindle thermal error data are recorded in real time;

[0035] S52, when at the speed monitoring point T w +Δt, a model updating criterion is proposed to update the machine tool temperature rise prediction model and the spindle thermal error prediction model.

[0036] Preferably, the model updating criterion in S52 is as follows:

[0037] Read the spindle speed n w , determine whether the spindle speed changes;

[0038] A. If the spindle speed does not change, use the unscented Kalman filter algorithm and combine the measurement data of the previous speed monitoring cycle to recalculate the temperature rise model parameter T S and the spindle thermal error model parameters x0 and x S ;

[0039] Determine the residual r between the actual measured value and the predicted value k Whether the absolute value of changes, if the residual r k The absolute value of decreases, then the temperature rise model parameter T is updated. S and the spindle thermal error model parameters x0 and x S ; If the residual r k If the absolute value of becomes larger, the original model parameters are maintained, and the prediction of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle is continued, and the actual measurement data is recorded in real time;

[0040] B. When the spindle speed changes to n w1 , but the speed range has not changed, repeat the update steps in A to update the model parameters, and after updating the parameters, continue to complete the prediction of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and record the actual measurement data in real time;

[0041] C. When the spindle speed changes to n w2 , and the speed range changes to n j-1 <n w2 <n j , reselect the representative speed n j The corresponding model parameter λn j , and uses the unscented Kalman filter algorithm to combine the measurement data in the previous speed monitoring cycle to update the model. After the update is completed, the prediction of machine tool temperature rise and spindle thermal error in the next speed monitoring cycle continues.

[0042] Preferably, S6 comprises the following steps:

[0043] At each subsequent speed monitoring point T w +iΔt, combined with T w +(i-1)Δt~T w +iΔt time, and use the update criteria to update the model coefficients. w +iΔt~T w +(i+1)Δt time, and the temperature rise and thermal error data are forward-lookingly predicted.

[0044] Preferably, the S7 comprises the following steps:

[0045] Repeat S6 continuously. When the speed keeps changing, use the speed division area to dynamically adjust the machine tool temperature rise prediction model and thermal error prediction model according to the change of the spindle speed and the data in the previous speed monitoring cycle. Predict the change trend of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and then realize the forward prediction of the machine tool temperature rise and spindle thermal error under variable speed.

[0046] Beneficial effects of the present invention:

[0047] When the speed keeps changing, by dividing the speed zone, the temperature rise prediction model can be dynamically adjusted according to the real-time changes of the spindle speed, and the changing trend of the subsequent temperature rise and spindle thermal error can be predicted. It can effectively cope with the situation of frequent changes in speed, ensure the real-time and accuracy of the prediction model, and thus realize the forward-looking prediction of machine tool temperature rise and spindle thermal error under variable speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of a method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to an embodiment of the present invention;

[0049] Figure 2 This is a schematic diagram of the prediction result of the temperature rise of a machine tool according to an embodiment of the present invention;

[0050] Figure 3 A schematic diagram of residuals of a temperature rise prediction result of a machine tool according to an embodiment of the present invention;

[0051] Figure 4 It is a schematic diagram of the prediction result of the z-axis thermal error according to an embodiment of the present invention;

[0052] Figure 5 Schematic diagram of the residual of the z-axis thermal error prediction result of an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and examples.

[0054] The embodiment of the present application discloses a method for predicting the temperature rise of a machine tool and the thermal error of a spindle based on the speed zone division. The method flow is as follows: Figure 1 As shown;

[0055] Take a CNC machine tool as an example to illustrate this method. This example uses the thermal error prediction of the z-axis direction to illustrate the thermal error prediction under complex working conditions. In the embodiment, 29 temperature sensors are used to measure the main heat source and secondary heat source of the machine tool. The temperature point data collected by the T1, T4, T12, and T22 temperature sensors are selected to illustrate the temperature rise prediction effect under complex working conditions. The working conditions are 1-1.5-2-2.5-3-3.5-4-4.5, and each speed runs for half an hour.

[0056] In one embodiment, the steps include:

[0057] S1. According to the maximum spindle speed, the spindle speed is divided into multiple speed ranges, and a typical speed in each speed range is selected;

[0058] S11, according to the maximum spindle speed of 6000 rpm, the spindle speed is divided into three speed ranges, the speed of 0-2000 rpm is the first range, the speed of 2000-4000 rpm is the second range, and the speed of 4000-6000 rpm is the third range;

[0059] S12, selecting the maximum speed in each speed range as the typical speed in the range, the typical speed in the first range is 2000 rpm, the typical speed in the second range is 4000 rpm, and the typical speed in the third range is 6000 rpm.

[0060] S2. According to the working condition data corresponding to the typical speed, a machine tool temperature rise model and a spindle thermal error model at a typical speed are established;

[0061] S21. Measure the complete temperature rise data and thermal error data from cold machine to thermal equilibrium for each typical speed;

[0062] S22. Based on the temperature rise data, an exponential machine tool temperature rise model based on speed region division is established:

[0063]

[0064] Among them, T k is the temperature at time k, T k-1 is the temperature at time k-1, T S is the temperature when steady state is reached, t is the time variable, λ is the time constant, and different λ corresponds to the typical speed in different speed ranges. The different values ​​of λ are shown in Table 1 and Table 2:

[0065] Table 1: λ corresponding to different speed ranges and temperature points

[0066]

[0067] Table 2: λ corresponding to thermal error model in different speed ranges

[0068] Speed 2000 4000 6000 Z-axis 0.0018 0.0032 0.0059

[0069] S23. Establish a spindle thermal error model in the form of an exponential based on the speed region division according to the thermal error data:

[0070]

[0071] Among them, x k is the thermal error at time k, x k-1 is the thermal error at time k-1, x0 is the thermal error of the spindle at the starting time, and x S is the thermal error when the spindle reaches thermal equilibrium;

[0072] S3, combining the machine tool temperature rise model and the spindle thermal error model at a typical speed with the unscented Kalman filter algorithm, respectively, to establish a machine tool temperature rise prediction model and a spindle thermal error prediction model based on speed region division;

[0073] The corresponding model parameters are used in each speed range to combine the machine tool temperature rise model with the unscented Kalman filter. The machine tool temperature rise prediction model based on speed range division is established as follows:

[0074]

[0075] The corresponding model parameters are used in each speed range to combine the spindle thermal error model with the unscented Kalman filter. The spindle thermal error prediction model based on speed range division is established as follows:

[0076]

[0077] Among them, w k is the process noise, f(x k-1 ) indicates that the state quantity at time k-1 is transformed by function f to express the state quantity at time k.

[0078] S4, setting an initial training time and a speed monitoring cycle, using the data obtained during the initial training time to train the machine tool temperature rise prediction model and the spindle thermal error prediction model, and determining the temperature rise model parameters and the thermal error model parameters at the end of the initial training time;

[0079] S41. Set the initial training time to T w =15min, the speed monitoring period is Δt=10min;

[0080] S42, at the beginning of the initial training time, read the machine tool spindle speed as n i =1000rpm, it is determined that the speed range corresponding to the spindle speed is the first range, and the machine tool temperature rise model parameter of the typical speed in this speed range is the T1 temperature point model coefficient λ 2000 =-0.0008989, T4 temperature point model coefficient λ 2000 =-0.0008756, T12 temperature point model coefficient λ 2000 =-0.0009258, T22 temperature point model coefficient λ 2000 =-0.0009882; the spindle thermal error model parameter is λ 2000 =0.0018;

[0081] S43, using the data obtained in S42 to train the machine tool temperature rise prediction model and the spindle thermal error prediction model, and determining the machine tool temperature rise model parameter T at the end of the initial training time S And the spindle thermal error model parameters x0, x S .

[0082] S5. Using the model parameters in the initial training time and the measured data in the initial training time, the machine tool temperature rise prediction model and the spindle thermal error prediction model are used to predict the machine tool temperature rise data and the spindle thermal error data in the next speed monitoring cycle, and a model update criterion is established to update the machine tool temperature rise prediction model and the spindle thermal error model;

[0083] S51, using the model parameters and initial time T obtained in S43 w =Measurement data within a 15-minute period, use the machine tool temperature rise prediction model and the spindle thermal error prediction model to predict the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and record the actual machine tool temperature rise and spindle thermal error data in real time;

[0084] S52, when at the speed monitoring point T w +Δt=25min, the model update criteria are proposed to update the machine tool temperature rise prediction model and the spindle thermal error prediction model. The updated model is used in combination with the measurement data within 10min to measure the temperature rise and thermal error data within the 25-35min period of the speed monitoring cycle, and the actual temperature rise and thermal error data within the 25-35min period are recorded in real time.

[0085] The model updating criteria are as follows:

[0086] Read the spindle speed n w , determine whether the spindle speed changes;

[0087] A. If the spindle speed does not change, use the unscented Kalman filter algorithm and combine the measurement data of the previous speed monitoring cycle to recalculate the temperature rise model parameter T S and the spindle thermal error model parameters x0 and x S ;

[0088] Determine the residual r between the actual measured value and the predicted value k Whether the absolute value of changes, if the residual r k The absolute value of decreases, then the temperature rise model parameter T is updated. S and the spindle thermal error model parameters x0 and x S ; If the residual r k If the absolute value of becomes larger, the original model parameters are maintained, and the prediction of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle is continued, and the actual measurement data is recorded in real time;

[0089] B. When the spindle speed changes to n w1 , but the speed range has not changed, repeat the update steps in A to update the model parameters, and after updating the parameters, continue to complete the prediction of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and record the actual measurement data in real time;

[0090] C. When the spindle speed changes to n w2 , and the speed range changes to n j-1 <n w2 <n j , reselect the representative speed n j The corresponding model parameter λn j , and uses the unscented Kalman filter algorithm to combine the measurement data in the previous speed monitoring cycle to update the model. After the update is completed, the prediction of machine tool temperature rise and spindle thermal error in the next speed monitoring cycle continues.

[0091] S6. Update the temperature rise model parameters and the thermal error model parameters according to the model update criteria established in S5, and predict the temperature rise data and the thermal error data in the next speed monitoring cycle;

[0092] At each subsequent speed monitoring point 15+10i, the actual measurement data from 15+10*(i-1) to 15+10i are combined and the model coefficients are updated using the update criterion to make a forward-looking prediction of the temperature rise and thermal error data from 15+10i to 15+10*(i+1).

[0093] S7. Repeat S6 continuously. When the speed keeps changing, use the speed to divide the area. According to the change of the spindle speed and combined with the data in the previous speed monitoring cycle, dynamically adjust the machine tool temperature rise prediction model and the thermal error prediction model to predict the change trend of the machine tool temperature rise and the spindle thermal error in the next speed monitoring cycle, thereby realizing the forward prediction of the machine tool temperature rise and the spindle thermal error under variable speed.

[0094] In one embodiment, the T1, T4, T12, and T22 temperature sensors are used to collect data to illustrate the temperature rise prediction effect under complex working conditions. The results are as follows: Figure 2 , Figure 3 As shown, the maximum absolute errors of temperature points T1, T4, T12, and T22 are 0.356 degrees Celsius, 0.414 degrees Celsius, 0.284 degrees Celsius, and 0.452 degrees Celsius; the thermal error prediction is based on the thermal error in the z-axis direction to illustrate the thermal error prediction effect under complex working conditions. The results are as follows Figure 4 , Figure 5 As shown, the maximum absolute error in the z-axis direction is 1.809 microns. The results show that the method of the embodiment of the present application can achieve forward prediction of machine tool temperature and spindle thermal error under variable speed based on speed region division.

[0095] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A forward-looking prediction method for machine tool temperature rise and spindle thermal error based on speed zone division, characterized in that: The following steps are involved: S1. Divide the spindle speed into multiple speed ranges and select a typical speed in each speed range; S2. According to the working condition data corresponding to the typical speed, a machine tool temperature rise model and a spindle thermal error model at a typical speed are established; S3, combining the machine tool temperature rise model and the spindle thermal error model at a typical speed with the unscented Kalman filter algorithm, respectively, to establish a machine tool temperature rise prediction model and a spindle thermal error prediction model based on speed region division; S4, setting an initial training time and a speed monitoring cycle, and using the data obtained during the initial training time to train the machine tool temperature rise prediction model and the spindle thermal error prediction model; S5, predicting the machine tool temperature rise data and the spindle thermal error data in the next speed monitoring cycle, establishing a model update criterion, and updating the machine tool temperature rise prediction model and the spindle thermal error model; S6. Update the temperature rise model parameters and the thermal error model parameters according to the model update criteria established in S5, and predict the temperature rise data and the thermal error data in the next speed monitoring cycle; S7. Repeat S6 to predict the subsequent temperature rise and the change trend of the spindle thermal error.

2. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 1 is characterized in that: The S1 comprises the following steps: S11, according to the maximum spindle speed n, the spindle speed is divided into m speed ranges, the speed 0 to n1 is the first range, the speed n1 to n2 is the second range, ..., n m-1 ~n m is the mth region; S12, select the maximum speed in each speed area as the typical speed in the area, the typical speed of the first area is n1, the typical speed of the second area is n2, ..., the typical speed of the mth area is n m .

3. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 2 is characterized in that: The S2 comprises the following steps: S21. Measure the complete temperature rise data and thermal error data from cold machine to thermal equilibrium for each typical speed; S22. Based on the temperature rise data, an exponential machine tool temperature rise model based on speed region division is established: Among them, T k is the temperature at time k, T k-1 is the temperature at time k-1, T S is the temperature when steady state is reached, t is the time variable, λ is the time constant, and different λ corresponds to the typical speed in different speed ranges; S23. Establish a spindle thermal error model in the form of an exponential based on the speed region division according to the thermal error data: Among them, x k is the thermal error at time k, x k-1 is the thermal error at time k-1, x0 is the thermal error of the spindle at the starting time, and x S It is the thermal error when the spindle reaches thermal equilibrium.

4. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 3 is characterized in that: The machine tool temperature rise prediction model based on speed region division in S3 is: The prediction model of spindle thermal error based on speed area division is: Among them, w k is the process noise, f(x k-1 ) indicates that the state quantity at time k-1 is transformed by function f to express the state quantity at time k.

5. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 4 is characterized in that: The S4 comprises the following steps: S41, set initial training time T W and the speed monitoring period Δt; S42, at the beginning of the initial training time, read the machine tool spindle speed n i , determine the speed range corresponding to the spindle speed, and obtain the machine tool temperature rise model parameter λ of the typical speed in this speed range ni and the spindle thermal error model parameter λ ni ; S43, using the data obtained in S42 to train the machine tool temperature rise prediction model and the spindle thermal error prediction model, and determining the machine tool temperature rise model parameter T at the end of the initial training time S And the spindle thermal error model parameters x0, x S .

6. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 5 is characterized in that: The S5 comprises the following steps: S51, using the model parameters and initial time T obtained in S43 w The measured data in the machine tool are combined with the machine tool temperature rise prediction model and the spindle thermal error prediction model to predict the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and the actual machine tool temperature rise and spindle thermal error data are recorded in real time; S52, when at the speed monitoring point T w +Δt, a model updating criterion is proposed to update the machine tool temperature rise prediction model and the spindle thermal error prediction model.

7. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 6 is characterized in that: The model updating criteria in S52 are as follows: Read the spindle speed n w , determine whether the spindle speed changes; A. If the spindle speed does not change, use the unscented Kalman filter algorithm and combine the measurement data of the previous speed monitoring cycle to recalculate the temperature rise model parameter T S and the spindle thermal error model parameters x0 and x S ; Determine the residual r between the actual measured value and the predicted value k Whether the absolute value of changes, if the residual r k The absolute value of decreases, then the temperature rise model parameter T is updated. S and the spindle thermal error model parameters x0 and x S ; If the residual r k If the absolute value of becomes larger, the original model parameters are maintained, and the prediction of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle is continued, and the actual measurement data is recorded in real time; B. When the spindle speed changes to n w1 , but the speed range has not changed, repeat the update steps in A to update the model parameters, and after updating the parameters, continue to complete the prediction of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and record the actual measurement data in real time; C. When the spindle speed changes to n w2 , and the speed range changes to n j-1 <n w2 <n j , reselect the representative speed n j The corresponding model parameter λn j , and uses the unscented Kalman filter algorithm to combine the measurement data in the previous speed monitoring cycle to update the model. After the update is completed, the prediction of machine tool temperature rise and spindle thermal error in the next speed monitoring cycle continues.

8. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 7 is characterized in that: The S6 comprises the following steps: At each subsequent speed monitoring point T w +iΔt, combined with T w +(i-1)Δt~T w +iΔt time, and use the update criteria to update the model coefficients. w +iΔt~T w +(i+1)Δt time, and the temperature rise and thermal error data are forward-lookingly predicted.

9. The method for predicting machine tool temperature rise and spindle thermal error based on speed zone division according to claim 8, characterized in that: The S7 comprises the following steps: Repeat S6 continuously. When the speed keeps changing, use the speed division area to dynamically adjust the machine tool temperature rise prediction model and thermal error prediction model according to the change of the spindle speed and the data in the previous speed monitoring cycle. Predict the change trend of the machine tool temperature rise and spindle thermal error in the next speed monitoring cycle, and then realize the forward prediction of the machine tool temperature rise and spindle thermal error under variable speed.

Citation Information

Patent Citations

  • Intelligent thermal error compensation method for numerical control machine tool

    CN113219901A

  • Machine tool spindle thermal error rapid identification method based on temperature sensitive points

    CN114004044A

  • Machine tool spindle thermal error rapid identification method based on unscented Kalman filtering algorithm

    CN114021368A

  • Integrated photonic optical gyroscope optimized for autonomous ground and aerial vehicles

    CN114731367A

  • Machine tool spindle time-varying thermal error model online evolution method based on long and short term memory network

    CN115951633A