A decoupling modeling method for thermally induced positioning error of feed axis
By establishing the initial temperature, thermal drift and thermal expansion error model, the thermally induced positioning error of the linear feed axis is decoupled, the thermally induced positioning error problem of the linear feed axis caused by cold and heat sources is solved, and the positioning accuracy and precision of precision machining are improved. The prediction accuracy of the model reduces the cost of data collection and the difficulty of model maintenance.
Patent Information
- Application Number
- CN202410689797.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-05-30
AI Technical Summary
The thermally induced positioning error caused by the action of cold and heat sources during the high-speed movement of the linear feed axis is large, which affects the positioning accuracy. Especially in the fully closed-loop system, the thermal deformation of the grating ruler causes the thermally induced positioning error to be significant, reaching the initial positioning error number. times the level, seriously affecting the positioning accuracy of precision equipment.
By conducting initial positioning error tests on the Z-axis full stroke under different initial temperatures, we established an initial temperature-initial positioning error data set, calculated the thermal expansion coefficient and true standard temperature, and established an initial temperature error prediction model; we obtained the thermal drift error under different working conditions. Based on the data, a thermal drift error prediction model of the Gaussian process regression model GPR was established; the temperature data of the grating scale was collected, a thermal expansion error model was established, and a thermally induced positioning error model of the fully closed-loop linear feed axis was comprehensively established to conduct model performance analysis and prediction.
Significantly improves the positioning accuracy of machine tools in precision machining, decouples thermal error sources step by step, can more accurately simulate and predict positioning errors caused by temperature changes, reduces data collection costs and model maintenance difficulties, and improves accuracy in rapid changes. Practicality and economics in industrial settings.
Smart Images

Figure CN118260890B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of error analysis, and in particular relates to a decoupling modeling method for thermally induced positioning errors of a feed shaft. Background Art
[0002] The linear feed shaft is mainly composed of motors, ball screws, couplings, linear rails, bearings, and support seats, and is used to drive the equipment to make linear motion. During the high-speed motion of the linear feed shaft, the bearings, guide rails and other components will form a local heat source due to frictional heat generation, and the rotating parts such as the screw will form a cold source due to the enhanced convection heat exchange between the surface and the air. Under the action of such cold and heat sources, the linear feed shaft components with different thermal expansion coefficients and constraints will produce uncoordinated thermal deformation, forming thermal errors, and affecting the positioning accuracy of the linear feed shaft.
[0003] To meet this challenge, a fully closed-loop linear feed axis is used, which uses a grating ruler to feedback the actual position in real time to avoid the influence of thermal deformation of the transmission components on the positioning accuracy, and significantly reduces the level of thermally induced positioning error compared to a semi-closed-loop linear feed axis. However, since the grating ruler used in the linear feed axis of precision equipment and the mounting structure of the grating ruler will still produce thermal deformation, the thermally induced positioning error of the fully closed-loop linear feed axis is still quite significant - often reaching a level several times its initial positioning error, which is a serious problem for precision equipment. Summary of the invention
[0004] The purpose of the present application is to provide a decoupling modeling method for thermally induced positioning errors of a feed shaft, so as to solve the problem of large thermally induced positioning errors of existing linear feed shafts.
[0005] The technical solution of the present application is: a feed axis thermally induced positioning error decoupling modeling method, comprising:
[0006] Conduct Z-axis full stroke initial positioning error tests at different initial temperatures, obtain test data and establish an initial temperature-initial positioning error data set, calculate the thermal expansion coefficient and true standard temperature, and then establish an initial temperature error prediction model based on the correlation coefficient and true standard temperature, and calculate the initial positioning error based on the initial temperature error prediction model;
[0007] Obtain the temperature of the workbench, bed and scale shell under different working conditions, conduct thermal drift error decoupling tests under different feed speed conditions, obtain test data and establish a data set of workbench temperature rise, bed and scale shell temperature rise-scale shell rigid point thermal drift error, and then establish a thermal drift error prediction model based on the Gaussian process regression model GPR;
[0008] The scale shell temperature of the grating ruler at different time nodes is collected. A sample is created for the scale shell temperature at each time node. The temperature rise difference between the samples is used as the temperature rise rate to establish the scale shell temperature rise and scale shell temperature rate-thermal expansion error data sets. Based on the scale shell temperature rise and scale shell temperature rate-thermal expansion error data sets, a multi-input and multi-output thermal expansion error prediction model is established.
[0009] A comprehensive model of thermally induced positioning error of a fully closed-loop linear feed axis is established based on the initial temperature error prediction model, thermal drift error prediction model and thermal expansion error prediction model. The performance analysis and prediction of the thermally induced positioning error model are carried out to determine whether the prediction results meet the expected effects. If so, the modeling is completed.
[0010] Preferably, the specific method for establishing the initial temperature error prediction model includes:
[0011] Conduct a full-closed-loop linear feed axis thermal-induced positioning error experiment to obtain the full-closed-loop linear feed axis initial positioning error data at different initial ambient temperatures;
[0012] Calculate the strong linear relationship between the initial temperature positioning error term and temperature, and divide the absolute error value by the corresponding moving distance to obtain The position-related positioning error in units is used to calibrate the thermal expansion coefficient of the real grating ruler and the true standard temperature of the environment;
[0013] Calculate the difference between the thermal expansion coefficient of the real grating scale and the ambient temperature and the true standard temperature, and decouple the initial positioning error. The calculation formula is:
[0014]
[0015] in, Expressed as the initial positioning error of the current ambient temperature, It is expressed as the thermal expansion coefficient of the real grating ruler, T is the ambient temperature, Expressed as true standard temperature;
[0016] Determine whether the initial positioning error meets the set error requirement. If so, complete the modeling.
[0017] Preferably, the specific method for obtaining the initial positioning error data of the full-closed-loop linear feed axis at different initial ambient temperatures is:
[0018] When measuring the initial positioning error, set the measuring points at equal intervals, let the feed axis pass through each measuring point at a uniform speed, and stay at each measuring point for a set time to trigger the laser interferometer measurement unit to sample the positioning error;
[0019] The full stroke is reciprocated for multiple times, and multiple groups of positioning errors are measured, and the average value is taken as the actual positioning error;
[0020] Laser interferometer products are used to test the actual positioning error under different ambient temperatures.
[0021] Preferably, the specific method for establishing the thermal drift error prediction model includes:
[0022] Define the binary input kernel function DI;
[0023] Obtain the workbench temperature and bed-grating scale shell temperature point data at different working nodes;
[0024] The Gaussian process regression model GPR is trained by combining the asynchronous differentiated temperature sensitive points TSP to output the thermal drift error prediction model DI-GPR.
[0025] Preferably, the binary input kernel function adopts a Gaussian kernel function, which is expressed as:
[0026] ; is the signal standard deviation, and There are m temperature inputs from the workbench and n temperature inputs from the bed. and They are the distance scale of the workbench temperature data and the distance scale of the bed temperature data respectively.
[0027] Preferably, the binary input kernel function divides the input data into different categories, and sets a priori Gaussian distribution reflecting the characteristics of the input data for the Gaussian process regression model GPR. The priori Gaussian distribution is expressed as:
[0028] ;
[0029] In the formula The form is:
[0030] .
[0031] Preferably, the specific method for obtaining the workbench temperature and the bed-grating scale housing temperature point data includes:
[0032] Through the temperature sensor, based on the four-wire thermal resistor loop, the temperature-resistance-voltage physical quantity conversion is completed, and the current linearly related to the temperature value is transmitted to the NI acquisition unit of the workbench by current conditioning;
[0033] The temperatures of the mounting nuts and sliders on the workbench, the front bearing seat mounting platform on the bed and next to the rear bearing seat, and the grating scale housing fastening screws are used as inputs to the thermal drift error prediction model.
[0034] Preferably, the specific design method of the Gaussian process regression model GPR is based on adaptive correlation analysis of asynchronously differentiated temperature sensitive points, specifically including:
[0035] Selecting m first temperature variables of the structure where the reading head is located and n second temperature variables of the structure where the grating ruler is located;
[0036] Set m first temperature variables , set a single ;
[0037] Train the Gaussian process regression model GPR;
[0038] Determine m Is there one Greater than others , if so, remove the i-th one of the m first temperature variables, that is, m=m-1;
[0039] Set a single value for the m first temperature variables , set n second temperature variables ; , , All are intermediate parameters, i represents The position among the m first temperature variables, j represents Position among the n second temperature variables;
[0040] Train the Gaussian process regression model GPR again;
[0041] Determine n Is there one Greater than others , if yes, remove the jth one of the n second temperature variables, that is, n=n-1;
[0042] Determine whether m and n have changed. If so, repeat the process of the first temperature variable and the second temperature variable. , The size of is judged until m and n do not change;
[0043] Set a single value for the m first temperature variables , set a single , and train the Gaussian process regression model GPR, and output the thermal drift error prediction model DI-GPR.
[0044] Preferably, the method for establishing the thermal expansion error prediction model comprises:
[0045] Based on the assumption that the error term is normally distributed, the maximum likelihood method is used to estimate the linear relationship between multiple outputs and multiple input variables, and the thermal expansion error prediction model of the full-closed-loop linear feed axis is output.
[0046] Preferably, the method for estimating the linear relationship between the multiple outputs and the multiple input variables comprises:
[0047] Define m inputs and d outputs;
[0048] The thermal expansion error prediction model is established based on the multi-output linear regression model, which is expressed as:
[0049] ;
[0050] ;
[0051] ;
[0052] ;
[0053] ;
[0054] in, Expressed as error term It conforms to the multidimensional normal distribution. y is the model prediction variable, that is, n thermal expansion error samples, each sample contains d thermal expansion errors at different locations; x is the model input variable, that is, n observed temperature samples, each temperature sample contains the temperature of m measuring points; ε is the model prediction deviation, and its nth row [ε d1 ,ε d2 , …, ε dn ] represents the deviation of the nth prediction, d different positions correspond to d deviations, and all deviations of the nth prediction conform to the d-dimensional normal distribution with an expectation of 0. Σ represents the variance of the multidimensional normal distribution MN.
[0055] The feed axis thermally induced positioning error decoupling modeling method of the present application significantly improves the positioning accuracy of machine tools in precision machining. By decoupling various thermal error sources in steps, it allows more accurate simulation and prediction of positioning errors caused by temperature changes. It can effectively distinguish and process temperature data from different parts. It can more effectively extract useful information from limited data and improve the accuracy of the prediction model through this information. This method not only reduces the cost and effort of data collection, but also makes the model easier to update and maintain, thereby improving the practicality and economic benefits in a rapidly changing industrial environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.
[0057] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present invention;
[0058] Figure 2 It is a schematic diagram of positioning error measurement and measurement during a thermal engine process according to an embodiment of the present invention;
[0059] Figure 3 Schematic diagram of full-stroke positioning error curve of the Z axis at different temperatures in an embodiment of the present invention;
[0060] Figure 4 A schematic diagram of a Z-axis initial temperature error curve obtained by linear interpolation according to an embodiment of the present invention;
[0061] Figure 5 Schematic diagram of the relationship between the Z-axis initial position correlation error and temperature in an embodiment of the present invention;
[0062] Figure 6 It is a schematic diagram of the test results of thermally induced positioning error under a 7m / min uniform feeding condition in a constant temperature environment according to an embodiment of the present invention;
[0063] Figure 7 It is a schematic diagram of the test results of thermally induced positioning error under a 5m / min uniform feeding condition under a constant temperature environment of an embodiment of the present invention;
[0064] Figure 8 It is a schematic diagram of the test results of thermally induced positioning error under a constant speed feeding condition of 3m / min in a constant temperature environment according to an embodiment of the present invention;
[0065] Fig. 9 Schematic diagram of full-stroke thermal expansion error under different working conditions of an embodiment of the present invention;
[0066] Fig.10 Schematic diagram of thermal drift error of 236mm coordinates under different working conditions of an embodiment of the present invention;
[0067] Fig.11 It is a schematic diagram of the implementation principle of the DI-GPR modeling method for thermal drift error prediction model combined with asynchronous differentiated TSP optimization according to an embodiment of the present invention;
[0068] Fig.12 It is a schematic diagram of the effect of the thermal drift error prediction model DI-GPR of an embodiment of the present invention predicting the thermal drift error TDE test set of 5m / min working condition;
[0069] Fig.13 It is a schematic diagram of the effect of the linear regression model MOLR with multiple outputs in an embodiment of the present invention predicting the thermal expansion error TEE test set of 5m / min working condition;
[0070] Fig.14This is a schematic diagram of the effect of the 5-input full-closed-loop linear feed axis thermally induced positioning error comprehensive model CCM-MOLR-DI-GPR of an embodiment of the present invention on predicting the comprehensive thermally induced positioning error test set under 5m / min working conditions. DETAILED DESCRIPTION
[0071] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0072] A feed axis thermally induced positioning error decoupling modeling method is proposed, and a full-closed-loop linear feed axis thermally induced positioning error decoupling modeling is performed based on the CCM-MOLR-DI-GPR algorithm.
[0073] To verify the effectiveness of the present invention, a full-closed-loop linear feed axis thermal positioning error experiment was conducted. On the Z axis of a precision horizontal boring and milling machining center, a PT100-based temperature acquisition hardware system was used to record the temperature data in the experiment in real time, complete the temperature-resistance-voltage physical quantity conversion, and use the current conditioning module to transmit the current linearly related to the temperature value into the NI acquisition system. The PT100 temperature acquisition hardware system is equipped with a PT100 temperature sensor. The PT100 temperature sensor body adopts a magnetic suction design and can be adsorbed on a static magnetic structure.
[0074] The laser interferometer used to test the positioning error is the XL80 product of Renishaw. It has high-speed measurement performance and sufficient measurement accuracy - the resolution is 0.001μm and the positioning accuracy is 0.5μm. After many preliminary experiments, it is concluded that the appropriate stop time for sampling at each measuring point is 3s, the appropriate measurement speed during measurement is 5m / min, the appropriate value of the overtravel is 1mm, and 11 points are measured at equal intervals of 50mm throughout the entire stroke. The schematic diagram of the positioning error measurement and the measurement during the heat machine process is shown in the figure. Figure 2 shown.
[0075] The specific steps include:
[0076] 1. Fully closed-loop linear feed axis initial positioning error test and modeling:
[0077] 1.1. Test of initial positioning error of feed axis equipped with precision glass grating ruler:
[0078] The full-closed-loop linear feed axis thermal positioning error experiment was carried out. The initial positioning error of the Z-axis full stroke was tested at different initial temperatures. The results are as follows: Figure 3As shown in the figure, it can be seen that at low temperatures, the positioning error is a negative value, that is, the actual moving distance of the workbench is always lower than the accurate value; at high temperatures, the positioning error is a positive value, that is, the actual moving distance of the workbench is always higher than the accurate value - it can be predicted that at a temperature between 20.18℃ and 24.9℃, the positioning error will approach zero.
[0079] 1.2. Decoupling modeling of initial positioning error of full closed-loop linear feed axis:
[0080] right Figure 3 By linearly interpolating the positioning error curve, we can obtain Figure 4 The positioning error curve shown can be regarded as the uniform thermal deformation of the grating ruler under a uniform initial temperature field. This thermal deformation is linearly related to the deviation of the initial temperature from the standard temperature of the grating ruler, so it is called the initial temperature error.
[0081] In order to show the relevance of the grating scale position, the absolute value of the initial temperature error is divided by the corresponding moving distance to obtain the position-related positioning error in μm / m, and the thermal expansion coefficient of the real grating scale is calibrated with the true standard temperature;
[0082] Calculate the difference between the thermal expansion coefficient of the real grating scale and the ambient temperature and the true standard temperature, and decouple the initial positioning error. The calculation formula is:
[0083]
[0084] in, Expressed as the initial positioning error of the current ambient temperature, It is expressed as the thermal expansion coefficient of the real grating ruler, T is the ambient temperature, Indicates true standard temperature.
[0085] Determine whether the initial positioning error meets the set error requirement. If so, complete the modeling.
[0086] Preferably, the specific method for obtaining the initial positioning error data of the full-closed-loop linear feed axis at different initial ambient temperatures is:
[0087] When measuring the initial positioning error, set the measuring points at equal intervals, let the feed axis pass through each measuring point at a uniform speed, and stay at each measuring point for a sufficient time to trigger the laser interferometer measurement unit to sample the positioning error;
[0088] The full stroke is reciprocated for multiple times, and multiple groups of positioning errors are measured, and the average value is taken as the actual positioning error;
[0089] Laser interferometer products are used to test the actual positioning error under different ambient temperatures.
[0090] Preferably, the specific determination method for setting the error requirement is: the initial positioning error is made into a scatter plot related to temperature, such as Figure 5 As shown in the figure, the full stroke position-related errors of the Z axis at each initial temperature are roughly distributed on a straight line - linear interpolation is performed on each data point, and the slope of the fitting line, that is, the difference between the current temperature and the true standard temperature is 7.7204μm / (m℃), which is very close to the thermal expansion coefficient of the HEIDENHAIN grating ruler 8μm / (m℃). It can be seen that in the initial state, the grating ruler is basically in a fully uniform thermal deformation state. The temperature corresponding to the intersection of the fitting line and the 0 error horizontal line is the "true standard temperature" of the Z axis, that is, when running at this temperature, the temperature-related thermal positioning error of the feed axis is 0.
[0091] The law of the initial error term of the thermally induced positioning error of the fully closed-loop feed axis shows that when the feed axis starts working at different initial temperatures, the accurate initial positioning error can be directly calculated based on the thermal expansion coefficient of the grating scale and the difference between the current temperature and the true standard temperature. So far, the predictive modeling analysis of the initial temperature error in the thermally induced positioning error of the fully closed-loop linear feed axis has been completed.
[0092] 2. Conduct thermally induced positioning error characteristic testing and modeling under hot conditions:
[0093] Thermally induced positioning errors include thermal expansion errors and thermal drift errors.
[0094] 2.1. Decoupling test of thermal expansion error and thermal drift error under different feed speed conditions:
[0095] Under the condition of stable and controllable ambient temperature, Z-axis thermal test experiments were carried out for three different feed speed conditions of 7m / min, 5m / min and 3m / min; the total duration of the three conditions was 630min, 630min and 600min respectively, and the results are shown in Figures 6, 7 and 8. It can be seen from the figure that the positions are far away from each other during the thermal process, that is, the grating ruler has undergone thermal expansion deformation, and the deformation is positively correlated with the feed speed; at the same time, each position has synchronous thermal drift. It can be foreseen that if the grating ruler does not undergo thermal expansion deformation, the positioning error curves of each position will overlap and become a thermal drift curve.
[0096] The difference between the positioning error curves at 500mm and 0mm coordinate positions is the thermal expansion error of the full stroke of 500mm during the warm-up process. By interpolating the positioning error curves at 200mm and 250mm coordinate positions, the thermal drift error of the rigid fixed point of the grating ruler can be obtained. Figure 6 , Figure 7 , Figure 8 Data processing and analysis can obtain thermal expansion error and thermal drift error as follows: Fig. 9 , Fig.10As shown, the temperature rise of the workbench, the temperature rise of the bed and the scale shell - the thermal drift error data set of the scale shell rigidity point are finally obtained.
[0097] 2.2. Study on the decoupling modeling method of thermal drift error term:
[0098] 2.2.1. Design of binary input (DI) kernel function:
[0099] A Gaussian process is represented by its expected function E\left [ {f\left ( {x} \right )} \right ] and covariance function Uniquely determine that the covariance x and are any two different observed values of a random variable. In particular, the covariance function of a Gaussian process is its kernel function, which determines the properties of a Gaussian process. For a Gaussian process \left [ {f\left ( {x} \right ),x\in {R}^{d}} \right ] , let E\left [ {f\left ( {x} \right )} \right ]=m\left ( {x} \right ) ,have:
[0100] ;
[0101] In the formula, the kernel function Plays a role in measuring different variables x The "distance" or "difference" between them. Different kernel functions have different measurement methods. The most commonly used kernel function is the Gaussian kernel function, which is in the form of:
[0102]
[0103] In the formula and are the signal standard deviation and feature distance scale, respectively, which are the parameters that determine the properties of the kernel function; is a vector The square of the bi-norm of , so the Gaussian kernel function is also called the square exponential kernel function. Based on the most commonly used Gaussian kernel function, the designed binary input (DichotomicInputs, DI) kernel function is as follows:
[0104] ;
[0105] In the formula and There are m temperature inputs from the workbench and n temperature inputs from the bed. and are the distance scales of the table temperature data and the bed temperature data, respectively. In particular, the kernel function divides all inputs into two categories and uses two distance scales Any one-to-one correspondence therewith is regarded as a feature of the present invention.
[0106] 2.2.2. Obtain the workbench temperature and bed-grating scale shell temperature point data, specifically:
[0107] Through the temperature sensor, based on the four-wire thermal resistor loop, the temperature-resistance-voltage physical quantity conversion is completed, and the current linearly related to the temperature value is transmitted to the NI acquisition unit of the workbench by current conditioning;
[0108] The temperatures of the mounting nuts and sliders on the workbench, the front bearing seat mounting platform on the bed and next to the rear bearing seat, and the grating scale housing fastening screws are used as inputs to the thermal drift error prediction model.
[0109] 2.2.3. Training and prediction methods of Gaussian process regression model GPR:
[0110] After completing the GP assumption for the error term of the linear regression model and determining the form of its kernel function, a priori Gaussian distribution is obtained, which is:
[0111] ;
[0112] In the formula The form is:
[0113] ;
[0114] so, It is a Gaussian process regression model GPR.
[0115] 1) Training method of Gaussian process regression model GPR:
[0116] In the model Once established, it also contains the unknown coefficient vector , Noise Variance and kernel function Unknown parameters in and These unknown quantities can be “trained” using known data sets.
[0117] The above unknown parameters can be estimated by using the fitrgp() function of MATLAB, thereby completing the training of the Gaussian process regression model GPR. fitrgp() determines the maximum likelihood estimation , , and Specifically, first , and As known parameters, , and then use the latter as a known parameter to estimate the first three parameters.
[0118] 2) Prediction method of Gaussian process regression model GPR:
[0119] After training, the prior distribution Becomes known. For new data sets , the following joint distribution is also known:
[0120] ;
[0121] Therefore, you can use The prior distribution and the joint distribution are given by predict , specifically to find the following conditional probability distribution:
[0122] ;
[0123] Finally, the Gaussian process regression model GPR is used to Predicted for:
[0124]
[0125] It can be seen that the Gaussian process regression model GPR prediction The training dataset was used Therefore, in general, the Gaussian process regression model GPR has a higher fitting performance than the linear regression model itself.
[0126] 2.2.4 Adaptive correlation analysis of temperature sensitive points TSP based on asynchronous differentiation:
[0127] A different characteristic distance scale is applied to each temperature sensitive point (TSP), that is, the Gaussian process regression model GPR adaptive correlation analysis (Automatic Relevance Determination, ARD) function is carried out - through the training of the Gaussian process regression model GPR, the characteristic distance scale related to each input is obtained; when the characteristic distance scale of an input is too large, it means that only when the input changes significantly will the output change, so the input is a quantity that is not very relevant to the output and can be eliminated. The detailed implementation principle route is as follows Fig.11 shown.
[0128] Preferably, the adaptive correlation analysis method specifically includes:
[0129] Selecting m first temperature variables of the structure where the reading head is located and n second temperature variables of the structure where the grating ruler is located;
[0130] Set m first temperature variables , set a single ;
[0131] Train the Gaussian process regression model GPR;
[0132] Determine m Is there one Greater than others , if so, remove the i-th one of the m first temperature variables, that is, m=m-1;
[0133] Set a single value for the m first temperature variables , set n second temperature variables ; , , All are intermediate parameters, i represents The position among the m first temperature variables, j represents Position among the n second temperature variables;
[0134] Train the Gaussian process regression model GPR again;
[0135] Determine n Is there one Greater than others , if yes, remove the jth one of the n second temperature variables, that is, n=n-1;
[0136] Determine whether m and n have changed. If so, repeat the process of the first temperature variable and the second temperature variable. , The size of is judged until m and n do not change;
[0137] Set a single value for the m first temperature variables , set a single , and train the Gaussian process regression model GPR, and output the thermal drift error prediction model DI-GPR.
[0138] 2.3. Combine the asynchronous differentiated temperature sensitive point TSP to train the Gaussian process regression model GPR, output the thermal drift error prediction model DI-GPR, and perform the performance analysis of the thermal drift error prediction model DI-GPR of the linear feed axis:
[0139] Specifically, five temperatures are collected as model inputs: two on the workbench, each near the mounting nut and slider, two on the bed, near the front bearing seat and on the bed next to the rear bearing seat, and one on the grating scale housing, next to the second fastening screw. The error of the coordinate of 236mm is used as the thermal drift error term for modeling. The training set is the data obtained from the 3m / min and 7m / min working conditions test, and the test set is the data from the 5m / min working condition. The test results are as follows: Fig.12 As shown in the figure, the performance evaluation index RMSE of the model is 0.7546, and the prediction effect can meet the accuracy requirements. If it does not meet the requirements, modify different feed speeds and reacquire different test data until the prediction effect meets the accuracy requirements.
[0140] 3. Research on decoupling modeling method of thermal expansion error term:
[0141] From the experimental research part, it can be seen that under the same working conditions, the thermal expansion error term of the thermally induced positioning error is linearly correlated with the temperature rise of the grating scale shell, and the correlation coefficient is a thermal expansion coefficient, so a linear regression model can be used for modeling.
[0142] The specific method is as follows: based on the assumption that the error term is normally distributed, the maximum likelihood method is used to estimate the linear relationship between multiple outputs and multiple input variables, and a thermal expansion error prediction model for a fully closed-loop linear feed axis is output.
[0143] 3.1. Research on thermal expansion error modeling of linear feed axis based on MOLR:
[0144] The Multiple-Output Linear Regression (MOLR) model is the same as the ordinary single-output linear regression model. Based on the assumption that the error term is normally distributed, the maximum likelihood method is used to estimate the linear relationship between the output and multiple input variables, and obtain constant coefficients related to the input variables and constant bias related to the output. The thermal expansion error prediction model MOLR with m inputs and d outputs is as follows:
[0145] ;
[0146] ;
[0147] ;
[0148] ;
[0149] ;
[0150] in, Expressed as error term It conforms to the multidimensional normal distribution. y is the model prediction variable, that is, n thermal expansion error samples, each sample contains d thermal expansion errors at different locations; x is the model input variable, that is, n observed temperature samples, each temperature sample contains the temperature of m measuring points; ε is the model prediction deviation, and its nth row [ε d1 ,ε d2 , …, ε dn ] represents the deviation of the nth prediction, d different positions correspond to d deviations, all deviations of the nth prediction conform to the d-dimensional normal distribution with an expected value of 0, and Σ represents the variance of the multiple normal distribution (MN).
[0151] The variable of temperature rise rate is introduced into the temperature-error data set. Each sample is separated by 10 minutes, and the temperature rise difference between samples is used as the temperature rise rate. Theoretically, after the temperature rise of the grating scale shell and the temperature rise rate are used as the model input, the resulting model should be nonlinear.
[0152] Use MOLR for regression modeling. Similarly, use the data of 3m / min and 7m / min working conditions as training sets to predict the 5m / min working condition. The results are as follows Fig.13 As shown, it can be seen that its prediction accuracy is relatively high, and the RMSE is already lower than 0.3μm.
[0153] 4. According to the comprehensive model of thermally induced positioning error of the fully closed-loop linear feed axis CCM-MOLR-DI-GPR, the performance analysis of the comprehensive thermally induced positioning error model is carried out:
[0154] Will Fig.12 The results of DI-GPR shown are similar to Fig.13 By adding the MOLR prediction results shown in the figure, we can get the comprehensive thermal positioning error predicted by the comprehensive model CCM-MOLR-DI-GPR of thermal positioning error of the full closed-loop linear feed axis. Similarly, using the 3m / min and 7m / min working conditions as the training set and the 5m / min working condition as the test set, the prediction effect of the comprehensive model CCM-MOLR-DI-GPR of thermal positioning error of the full closed-loop linear feed axis is shown in Fig.14 If the prediction result is in line with the expected effect, then re-collect the data and make predictions again until the prediction result is in line with the expected effect.
[0155] Finally, it should be noted that: the drawings of the embodiments disclosed in the present invention only involve structures related to the embodiments disclosed in the present invention, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other;
[0156] Finally: 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 feed axis thermally induced positioning error decoupling modeling method, characterized in that: include: Conduct Z-axis full stroke initial positioning error tests at different initial temperatures, obtain test data and establish an initial temperature-initial positioning error data set, calculate the thermal expansion coefficient and true standard temperature, and then establish an initial temperature error prediction model based on the correlation coefficient and true standard temperature, and calculate the initial positioning error based on the initial temperature error prediction model; Obtain the temperature of the workbench, bed and scale shell under different working conditions, conduct thermal drift error decoupling tests under different feed speed conditions, obtain test data and establish a data set of workbench temperature rise, bed and scale shell temperature rise-scale shell rigid point thermal drift error, and then establish a thermal drift error prediction model DI-GPR based on the Gaussian process regression model GPR; The scale shell temperature of the grating ruler at different time nodes is collected. A sample is created for the scale shell temperature at each time node. The temperature rise difference between the samples is used as the temperature rise rate to establish the scale shell temperature rise and scale shell temperature rate-thermal expansion error data sets. Based on the scale shell temperature rise and scale shell temperature rate-thermal expansion error data sets, a multi-input and multi-output thermal expansion error prediction model is established. A comprehensive model of thermally induced positioning error of a fully closed-loop linear feed axis is established based on the initial temperature error prediction model, the thermal drift error prediction model and the thermal expansion error prediction model. The performance analysis and prediction of the thermally induced positioning error model are performed to determine whether the prediction results meet the expected results. If so, the modeling is completed. The specific method for establishing the initial temperature error prediction model includes: Conduct a full-closed-loop linear feed axis thermal-induced positioning error experiment to obtain the full-closed-loop linear feed axis initial positioning error data at different initial ambient temperatures; Calculate the strong linear relationship between the initial temperature positioning error term and temperature, divide the absolute error value by the corresponding moving distance, obtain the position-related positioning error in μm / m, and calibrate the thermal expansion coefficient of the real grating scale with the true standard temperature of the environment; Calculate the difference between the thermal expansion coefficient of the real grating scale and the ambient temperature and the true standard temperature, and decouple the initial positioning error. The calculation formula is: e ITE =a T *(TT e ) Among them, ε ITE Expressed as the initial positioning error of the current ambient temperature, α T It is the thermal expansion coefficient of the real grating scale, T is the ambient temperature, T e Expressed as true standard temperature; Determine whether the initial positioning error meets the set error requirement. If so, complete the modeling; The specific method for establishing the thermal drift error prediction model includes: Define the binary input kernel function DI; Obtain the workbench temperature and bed-grating scale shell temperature point data at different working nodes; Combined with the asynchronous differentiated temperature sensitive point TSP, the Gaussian process regression model GPR is trained to output the thermal drift error prediction model DI-GPR; The method for establishing the thermal expansion error prediction model includes: Based on the assumption that the error term is normally distributed, the maximum likelihood method is used to estimate the linear relationship between multiple outputs and multiple input variables, and the thermal expansion error prediction model of the full-closed-loop linear feed axis is output.
2. The feed shaft thermally induced positioning error decoupling modeling method according to claim 1, characterized in that: The specific method for obtaining the initial positioning error data of the full-closed-loop linear feed axis at different initial ambient temperatures is as follows: When measuring the initial positioning error, set the measuring points at equal intervals, let the feed axis pass through each measuring point at a uniform speed, and stay at each measuring point for a set time to trigger the laser interferometer measurement unit to sample the positioning error; The full stroke is reciprocated for multiple times, and multiple groups of positioning errors are measured, and the average value is taken as the actual positioning error; Laser interferometer products are used to test the actual positioning error under different ambient temperatures.
3. The feed shaft thermally induced positioning error decoupling modeling method according to claim 1, characterized in that: The binary input kernel function adopts a Gaussian kernel function, which is expressed as: In the formula, σ f is the signal standard deviation, x m and x n are respectively m temperature inputs from the workbench and n temperature inputs from the bed, σ lm and σ ln They are the distance scale of the workbench temperature data and the distance scale of the bed temperature data respectively.
4. The feed shaft thermally induced positioning error decoupling modeling method according to claim 3, characterized in that: The binary input kernel function divides the input data into different categories, and sets a priori Gaussian distribution reflecting the characteristics of the input data for the Gaussian process regression model GPR. The priori Gaussian distribution is expressed as: f(x)~N(0,K(x,x)); Where K(x, x) is in the form of:
5. The feed shaft thermally induced positioning error decoupling modeling method according to claim 1, characterized in that: The specific method for obtaining the workbench temperature and the bed-grating scale shell temperature point data includes: Through the temperature sensor, based on the four-wire thermal resistor loop, the temperature-resistance-voltage physical quantity conversion is completed, and the current linearly related to the temperature value is transmitted to the NI acquisition unit of the workbench through current conditioning; The temperatures of the mounting nuts and sliders on the workbench, the front bearing seat mounting platform on the bed and next to the rear bearing seat, and the grating scale housing fastening screws are used as inputs to the thermal drift error prediction model.
6. The feed shaft thermally induced positioning error decoupling modeling method according to claim 1, characterized in that: The specific design method of the Gaussian process regression model GPR is based on adaptive correlation analysis of asynchronously differentiated temperature sensitive points, specifically including: Select m first temperature variables σ1 of the structure where the reading head is located and n second temperature variables σ2 of the structure where the grating ruler is located; Set m σ for m first temperature variables σ1 li , set a single σ for n second temperature variables σ2 ln ; Train the Gaussian process regression model GPR; Determine whether there is a σ among m σ1 li is greater than other σ1. If so, the i-th one among the m first temperature variables σ1 is eliminated, that is, m = m-1; Set a single σ for the m first temperature variables σ1 im , set n σ for n second temperature variables σ2 li ; σ lm , σ lj , σ ln All are intermediate parameters, i represents σ li The position of m first temperature variables σ1, j represents σ lj Position among the n second temperature variables σ2; Train the Gaussian process regression model GPR again; Determine whether there is a σ among n σ2 lj is greater than other σ2. If so, the jth one among the n second temperature variables σ2 is eliminated, that is, n = n-1; Determine whether m and n have changed. If so, repeat the steps of σ in the first temperature variable σ1 and the second temperature variable σ2. li , σ lj The size of is judged until m and n do not change; Set a single σ for the m first temperature variables σ1 lm , set a single σ for n second temperature variables σ2 ln , and train the Gaussian process regression model GPR, and output the thermal drift error prediction model DI-GPR.
7. The feed shaft thermally induced positioning error decoupling modeling method according to claim 1, characterized in that: The method for estimating the linear relationship between the plurality of outputs and the plurality of input variables comprises: Define m inputs and d outputs; The thermal expansion error prediction model is established based on the multi-output linear regression model, which is expressed as: y d =x m+1 ·b+e d ; Among them, ε d =MN(0,∑) represents the error term ε d It conforms to the multidimensional normal distribution, y is the model prediction variable, that is, n samples of thermal expansion error terms, each sample contains thermal expansion errors at d different locations; x is the model input variable, that is, n observed temperature samples, each temperature sample contains the temperatures of m measuring points; ε is the model prediction deviation, and its nth row [εd1, εd2, …, εdn] represents the deviation of the nth prediction, d different locations correspond to d deviations, and all deviations of n predictions conform to the d-dimensional normal distribution with an expectation of 0, and ∑ represents the variance of the multidimensional normal distribution MN.
Citation Information
Patent Citations
Modeling and compensation method of radial thermal drift error of spindle of horizontal numerically-controlled machine tool
CN107942934A
Comprehensive error modeling method and system for hydrostatic pressure lead screw feeding system
CN117709203A
Cited By
Machine tool feed shaft thermal error mechanism modeling method capable of automatically identifying parameters on line
CN121069894A
