CN105700475A - Data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature - Google Patents
Data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature Download PDFInfo
- Publication number
- CN105700475A CN105700475A CN201610256897.3A CN201610256897A CN105700475A CN 105700475 A CN105700475 A CN 105700475A CN 201610256897 A CN201610256897 A CN 201610256897A CN 105700475 A CN105700475 A CN 105700475A
- Authority
- CN
- China
- Prior art keywords
- value
- temperature
- machine tool
- equation
- thermal error
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 29
- 238000012417 linear regression Methods 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 12
- 238000006243 chemical reaction Methods 0.000 claims abstract description 7
- 238000000034 method Methods 0.000 claims description 22
- 239000011159 matrix material Substances 0.000 claims description 13
- 238000004458 analytical method Methods 0.000 claims description 12
- 230000001186 cumulative effect Effects 0.000 claims description 10
- 230000007613 environmental effect Effects 0.000 claims description 8
- 238000010606 normalization Methods 0.000 claims description 7
- 239000011541 reaction mixture Substances 0.000 claims description 6
- 239000000203 mixture Substances 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims 1
- 230000008878 coupling Effects 0.000 abstract description 6
- 238000010168 coupling process Methods 0.000 abstract description 6
- 238000005859 coupling reaction Methods 0.000 abstract description 6
- 238000002474 experimental method Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 238000003754 machining Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001808 coupling effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
- G05B19/4086—Coordinate conversions; Other special calculations
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35356—Data handling
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Automatic Control Of Machine Tools (AREA)
Abstract
The invention discloses a data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature. The data processing method comprises the steps that 1. a modeling temperature independent variable Xk is extracted; 2. standardized processing is performed on the Xk, and an expression of a main component Zk is obtained through standardized temperature independent variable Xk* conversion; 3. previous p main components are extracted for participating in modeling; 4. standardized processing is performed on spindle thermal deformation quantity Sj, and standardized thermal deformation quantity Sj* and a multivariate linear regression equation between the previous p main components are established; 5. the Sj* and the regression equation between the previous p main components are converted into an equation of the Sj* and the Xk*; and 6. the regression equation of the Sj* and the Xk* is converted into an equation of the Sj and the Xk, and a thermal error compensation model is established; and the prediction performance of the thermal error model is further analyzed. Influence of coupling performance between the temperature independent variables on distortion of a model independent variable estimation value can be suppressed so that the data processing method has high prediction precision and prediction robustness.
Description
Technical Field
The invention relates to a data processing method for machine tool robust thermal error compensation, in particular to a data processing method for compensating and predicting a machine tool thermal error in a large-range environment temperature.
Background
The numerical control machine tool is important equipment in the manufacturing field, and the processing performance of the numerical control machine tool is one of main marks of the development level of the national manufacturing industry. In the machining process of the numerical control machine tool, due to thermal errors caused by unbalanced temperature rise of all parts of the machine tool, the relative correct position between the cutter and the workpiece is changed, and the machining errors of the workpiece are caused. According to statistics, the thermal error of the numerical control machine tool accounts for about 40-70% of the total error of the machine tool. The processing method of modeling the thermal error data of the numerical control machine tool and compensating in advance through the numerical control system is an effective and economic means for improving the machining precision of the machine tool.
The most commonly adopted method for processing the thermal error data of the machine tool at present is a multiple linear regression based on the least square principle. The method is based on the analysis principle of minimum sum of squared residuals, the established model has high linear fitting accuracy, and the algorithm is easy to realize, so that the method is commonly used for modeling and processing the thermal error data of the machine tool. However, due to the complex non-linear and time-varying characteristics of the machine tool temperature, the machine tool temperature field has different characteristics under different environmental temperature conditions, which mainly show the difference of the coupling among the heat sources of the machine tool, and the larger the difference of the environmental temperatures is, the larger the difference of the coupling of the machine tool temperature field is. Therefore, when the temperature of the environment where the machine tool is located changes greatly, the coupling degree between the temperature sensors changes greatly, which causes distortion of the least square estimation value of each variable in the multiple regression model, which is a disadvantage of the multiple linear regression processing method.
In 2011, mianmao et al proposed a method for processing machine thermal error data by using a time series modeling technique (see the literature, "research on thermal error time series modeling technique for precision data machine tool", from 2011 national precision engineering academy). The method has the advantages that the temperature lag term is incorporated into the thermal error model, so that the linear fitting accuracy of the model is obviously improved, but the method is also limited to the application in a small-range environment temperature range. When the temperature change of the environment where the numerical control machine tool is located is large, the coupling performance among the temperature sensors can have more serious influence on the time series model than the multiple linear regression, and the prediction robustness performance of the thermal error prediction model is seriously reduced.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a data processing method for realizing the robust thermal error compensation of a machine tool in a large range of environmental temperatures. Because the data processing method adopts principal components of the element independent variables to replace the independent variables to establish the thermal error model, and the covariance among the principal components is zero, which means that the principal components are not related to each other, the data processing method provided by the invention well inhibits the influence of the coupling among the temperature independent variables on the distortion of the estimation value of the model independent variables, thereby ensuring the high prediction accuracy and the prediction robustness of the thermal error model established by the data processing method provided by the invention under the condition of a large range of environment and having important practical engineering application.
The invention provides a data processing method for machine tool robustness thermal error compensation in a large range of environment temperature, which comprises the following steps:
a data processing method for realizing robust thermal error compensation of a machine tool in a wide range of environmental temperatures is characterized by comprising the following steps of:
the method comprises the following steps: obtaining a temperature variable DeltaT of a machine tooliAnd amount of thermal deformation of spindle SjWherein i is 1, 2, …, m.
The m refers to the number of temperature variables. J is the axial direction of the main shaft of the machine tool, and j is X, Y and/or Z. X, Y, Z respectively represent the X-axis of the machine tool spindle, the Y-axis of the spindle, and the Z-axis of the spindle.
By temperature variation Δ TiAnd amount of thermal deformation of spindle SjObtaining the independent temperature variable Xk,k=1,2,…,n。
The temperature independent variable XkTo build a thermal error compensation model. N is the number of temperature independent variables, and n is less than or equal to m.
Step two: for the temperature independent variable X obtained in the step onekCarrying out standardization treatment to obtain a standardized temperature independent variable Xk *。
And from a normalized temperature independent variable Xk *Converted to obtain a principal component ZkIs described in (1).
The principal component ZkRefers to the independent variable X of the temperature by orthogonal transformationk *And a set of variables obtained after conversion is not linearly related.
Step three: from principal component Z obtained in step twokThe first p principal components Z are extracted1,Z2,…,ZpAnd p is less than or equal to n for the next thermal error modeling.
Step four: for the heat deformation quantity S of the main shaft in the step onejPerforming standardization process to obtain standard thermal deformation Sj *。
And to the normalized heat distortion amount Sj *And the principal component Z for thermal error modeling obtained in step 31,Z2,…,ZpPerforming multiple linear regression analysis to obtain Sj *With respect to Z1,Z2,…,ZpEquation of (2)
Step five: s obtained in the fourth stepj *With respect to Z1,Z2,…,ZpIs converted into Sj *With respect to Xk *The expression equation of (1).
Step six: s obtained in the fifth stepj *With respect to Xk *Is converted into SjWith respect to XkIs the expression equation ofjWith respect to XkThe expression equation of (a) is the thermal error model.
Further, the thermal error model established in step six, namely SjWith respect to XkThe expression equation of (a) analyzes the predicted performance of the thermal error model.
Wherein, the first step specifically comprises the following steps:
1.1 increment Δ T by temperature value of temperature sensoriFor temperature variation, Δ T is calculated according to the correlation coefficient equation (1)iAmount of thermal deformation S from the main shaftjThe value of the correlation coefficient therebetween.
In the formula (1), rijIs DeltaTiAnd SjValue of the correlation coefficient between, T (Δ T)i) Is DeltaTiLength of (1), Δ TiqIs DeltaTiThe value of the q-th value in the sequence,is DeltaTiAverage of the sequences, SiqIs SjThe value of the q-th value in the sequence,is SjAverage of the sequences. Temperature variable Δ TiIs collected from the machine tool in operation by a temperature sensor. Temperature variable Δ TiLength of sequence and amount of thermal deformation SjThe sequences are of the same length.
1.2 extracting n temperature variables with the maximum relational numerical values in the step 1.1 as temperature independent variables Xk. The temperature independent variable XkUsed to model thermal errors. The value of n is not more than m.
Wherein, the second step specifically comprises the following steps:
2.1 for the extracted temperature independent variable X, using equation (2)kPerforming standardization treatment to obtain a standardized temperature independent variable Xk *。
In the formula (2), Xkq *Is Xk *Value qth in the sequence, XkqIs XkThe value of the q-th value in the sequence,is XkAverage of the sequences, t (X)k *) Is Xk *The length of the sequence.
2.2 calculating the correlation coefficient value between any two normalized temperature independent variables by using the correlation coefficient formula (1) in the step 1.1 to obtain a correlation matrix R of the normalized temperature independent variablesn×n(3) Specifically, the following is made.
In the formula (3), rabDenotes the normalized temperature independent variable Xa *And Xb *The correlation coefficient value of (a).
2.3 from the formula Rn×nu and λ, where u ═ λ u holds, are eigenvectors and eigenvalues of the correlation matrix R, respectively, and the correlation matrix R is obtainedn×nCharacteristic vector u ofkAnd a characteristic value lambdakWherein k is 1, 2, …, n.
2.4 normalized temperature independent variable X obtained according to step 2k *And a feature vector ukThe normalized temperature independent variable X is obtained from the formula (4)k *And a feature vector ukPrincipal component Z of the compositionkThe expression of (c) is specifically:
in the formula (4), Var (Z)k)=λk,Cov(Zi,Zj) 0(i ≠ j), i.e. there is no correlation between the principal components.
Wherein, the third step specifically comprises:
let the first p principal components Z1,Z2,…,ZpHas a cumulative variance contribution rate of VccpP is less than or equal to n, let the cumulative variance contribution rate VccpNot less than 85%, calculating the value of p, and determining the specific principal component Z according to the value of p1,Z2,…,ZpExtracted for further thermal error modeling. Wherein the cumulative variance contribution rate Vcc of the first p principal componentspThe formula of (1) is:
wherein, the fourth step specifically comprises:
4.1 thermal deformation amount S of spindle by using equation (6)jPerforming standardization process to obtain standardized heat distortion Sj *。
In the formula (6), Sjq *Is Sj *The qth value in the sequence, SjqIs SjThe value of the q-th value in the sequence,is SjAverage of the sequences, t (S)j *) Is Sj *The length of the sequence.
4.2 pairs of normalized Heat distortion amount Sj *And a principal component Z participating in thermal error modeling1,Z2,…,ZpPerforming least squares-based multiple linear regression analysis to obtain Sj *With respect to Z1,Z2,…,ZpIs expressed as equation (7). Obtaining regression coefficient estimated value of each element in the model by utilizing multiple linear regression analysis based on least square principleSj *With respect to Z1,Z2,…,ZpEquation of expression (2)And regression coefficient estimation valueRespectively as follows:
wherein, the fifth step specifically comprises:
using the principal component Z obtained in step twokThe expression of (A) is to obtain the step fourTo Sj *With respect to Z1,Z2,…,ZpEquation of (2)Conversion to Sj *With respect to Xk *(k is 1, 2, …, n) expression equationSj *With respect to Xk*Equation of (2)The method comprises the following specific steps:
in the formula (9), the reaction mixture is,
wherein, the sixth step specifically includes:
to temperature independent variable XkFormula X for normalizationkq *And the amount of thermal deformation S to the spindlejNormalized formula Sjq *S from step fivej *With respect to Xk *Equation of expression (c) transforms SjWith respect to XkAnd (4) completing the establishment of a thermal error prediction model according to the expression equation (10). Wherein S isjWith respect to XkEquation (10) is:
in the formula (11), the reaction mixture is,is SjThe discrete standard deviation of the sequence is determined,is XkDiscrete standard deviation of sequences.
After completing step six:
inputting the temperature independent variable value measured in the next experiment into a thermal error prediction model (10) to obtain a predicted value of the thermal deformationAccording toAnd a measured value S of the amount of thermal deformationjAnd calculating to obtain a residual value and a residual standard difference value, obtaining the prediction performance of the prediction model (10), and finally finishing the data processing of the thermal error compensation of the machine tool. Wherein the residual meansAnd SjThe calculation formula of the difference value of (2) and the residual standard deviation is shown in formula (13).
In formula (13), SD is the residual standard deviation, SjqIs SjThe value of the q-th value in the sequence,is composed ofThe qth value in the sequence, t (S)j) Is SjOrThe length of the sequence. SjLength of sequence andthe sequences are of the same length.
Compared with the prior art, the invention has the following benefits: the method for establishing the regression model by using the principal components of the original variables to replace the original variables effectively avoids the coupling effect among the temperature independent variables, has better prediction precision and robustness on the condition of large-range environmental temperature, and provides a good data processing idea for the thermal error compensation application of the numerical control machine.
Drawings
FIG. 1 is a flow chart of a data processing method for robust thermal error compensation of a machine tool for a wide range of ambient temperatures according to the present invention.
FIG. 2 shows 10 temperature variation data obtained from a Leaderway-V450 numerical control machine experiment.
FIG. 3 shows Z-axis thermal deformation data obtained from a Leaderway-V450 numerical control machine tool experiment.
FIG. 4 shows the measured thermal error, predicted thermal error and residual data at an initial ambient temperature of 9.19 deg.C, 19.94 deg.C and 29.19 deg.C, respectively, and a spindle speed of 4000 rpm.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific examples.
Referring to fig. 1, a data processing method for realizing robust thermal error compensation of a machine tool in a wide range of environmental temperatures comprises the following steps:
the method comprises the following steps: obtaining a temperature variable DeltaT of a machine tooliAnd amount of thermal deformation of spindle SjWherein i is 1, 2, …, m.
The m refers to the number of temperature variables. J is the axial direction of the main shaft of the machine tool, and j is X, Y and/or Z. X, Y, Z respectively represent the X-axis of the machine tool spindle, the Y-axis of the spindle, and the Z-axis of the spindle.
By temperature variation Δ TiAnd amount of thermal deformation of spindle SjObtaining the independent temperature variable Xk,k=1,2,…,n。
The temperature independent variable XkTo build a thermal error compensation model. N is the number of temperature independent variables, and n is less than or equal to m.
Step two: for the temperature independent variable X obtained in the step onekCarrying out standardization treatment to obtain a standardized temperature independent variable Xk *。
And from a normalized temperature independent variable Xk *Converted to obtain a principal component ZkIs described in (1).
The principal component ZkRefers to the independent variable X of the temperature by orthogonal transformationk *And a set of variables obtained after conversion is not linearly related.
Step three: from principal component Z obtained in step twokThe first p principal components Z are extracted1,Z2,…,ZpAnd p is less than or equal to n for the next thermal error modeling.
Step four: for the heat deformation quantity S of the main shaft in the step onejGo on markStandardized processing to obtain standardized heat distortion Sj *。
And to the normalized heat distortion amount Sj *And the principal component Z for thermal error modeling obtained in step 31,Z2,…,ZpPerforming multiple linear regression analysis to obtain Sj *With respect to Z1,Z2,…,ZpEquation of (2)
Step five: s obtained in the fourth stepj *With respect to Z1,Z2,…,ZpIs converted into Sj *With respect to Xk *The expression equation of (1).
Step six: s obtained in the fifth stepj *With respect to Xk *Is converted into SjWith respect to XkIs the expression equation ofjWith respect to XkThe expression equation of (a) is the thermal error model.
Further, the step one specifically includes:
1.1 obtaining the temperature variable DeltaT of the machine tooliAnd amount of thermal deformation of spindle SjCalculating the temperature variable DeltaTiAnd amount of thermal deformation of spindle SjThe value of the correlation coefficient therebetween. The correlation coefficient formula (1) is as follows:
in the formula (1), rijIs DeltaTiAnd SjValue of the correlation coefficient between, T (Δ T)i) Is DeltaTiLength of (1), Δ TiqIs DeltaTiThe value of the q-th value in the sequence,is DeltaTiAverage of the sequences, SiqIs SjThe value of the q-th value in the sequence,is SjAverage of the sequences. Temperature variable Δ TiIs collected from the machine tool in operation by a temperature sensor. Temperature variable Δ TiLength of sequence and amount of thermal deformation SjThe sequences are of the same length.
1.2 extracting n temperature variables with the maximum relational numerical values in the step 1.1 as temperature independent variables Xk. The temperature independent variable XkUsed to model thermal errors. N is not more than m, and the preferable scheme is that the value of n is 2-4.
3. The data processing method for robust thermal error compensation of a machine tool for achieving wide range of ambient temperatures according to claim 1, wherein the second step is specifically:
2.1 pairs of the temperature independent variable X obtained in step onekCarrying out standardization treatment to obtain a standardized temperature independent variable Xk *. To temperature independent variable XkThe equation (2) for the normalization is as follows:
in the formula (2), Xkq *Is Xk *Value qth in the sequence, XkqIs XkThe value of the q-th value in the sequence,is XkAverage of the sequences, t (X)k *) Is Xk *The length of the sequence.
2.2 calculating the correlation coefficient value between any two normalized temperature independent variables by using the correlation coefficient formula (1) in the step one to obtain a correlation matrix R of the normalized temperature independent variablesn×n(3) Specifically, the following is made.
In the correlation matrix Rn×n(3) In, rabDenotes the normalized temperature independent variable Xa *And Xb *The correlation coefficient value of (a).
2.3 from the formula Rn×nu and λ, where u is λ u, are each a correlation matrix Rn×nThe eigenvectors and eigenvalues of (2) to obtain a correlation matrix Rn×nCharacteristic vector u ofkAnd a characteristic value lambdakWherein k is 1, 2, …, n.
2.4 normalized temperature independent variable X obtained according to step 2k *And a feature vector ukObtaining the independent variable X from the normalized temperaturek *And a feature vector ukPrincipal component Z of the compositionkThe expression of (c) is specifically:
in the principal component ZkIn the expression of (A), Var (Z)k)=λk,Cov(Zi,Zj) 0(i ≠ j), i.e. there is no correlation between the principal components.
Further, the third step specifically includes: let the first p principal components Z1,Z2,…,ZpHas a cumulative variance contribution rate of VccpP is less than or equal to n, let the cumulative variance contribution rate VccpNot less than 85%, calculating the value of p, and determining the specific principal component Z according to the value of p1,Z2,…,ZpExtracted for further thermal error modeling. Wherein,cumulative variance contribution rate Vcc of the first p principal componentspThe formula of (1) is:
further, the fourth step specifically includes:
4.1 Heat distortion amount S of spindle in the first stepjPerforming standardization process to obtain standardized heat distortion Sj *. Amount of thermal deformation S to the main shaftjEquation (6) for normalization is:
in the formula (6), Sjq *Is Sj *The qth value in the sequence, SjqIs SjThe value of the q-th value in the sequence,is SjAverage of the sequences, t (S)j *) Is Sj *The length of the sequence.
4.2 pairs of normalized HeatAmount of deformation Sj *And principal component Z for thermal error modeling1,Z2,…,ZpPerforming least squares-based multiple linear regression analysis to obtain Sj *With respect to Z1,Z2,…,ZpEquation (7). Obtaining regression coefficient estimated value of each element in the model by utilizing multiple linear regression analysis based on least square principleSj *With respect to Z1,Z2,…,ZpEquation of expression (2)And regression coefficient estimation valueRespectively as follows:
further, the step five specifically means: using the principal component Z obtained in step twokS obtained in step fourj *With respect to Z1,Z2,…,ZpEquation of (2)Conversion to Sj *With respect to Xk *Equation of (2)Sj *With respect to Xk *Equation of (2)The method comprises the following specific steps:
in the formula (9), the reaction mixture is,
further, the sixth step specifically includes: by means of independent variable X of temperaturekFormula X for normalizationkq *And the amount of thermal deformation S to the spindlejNormalized formula Sjq *S from step fivej *With respect to Xk *Equation of expression (c) transforms SjWith respect to XkAnd (4) completing the establishment of a thermal error prediction model according to the expression equation (10). Wherein S isjWith respect to XkEquation (10) is:
in the formula (11), the reaction mixture is,is SjThe discrete standard deviation of the sequence is determined,is XkDiscrete standard deviation of sequences.
Referring to fig. 1, further, the real-time detected temperature value is substituted into the thermal error model (10) to predict and analyze the thermal error of the spindle of the machine tool. Specifically, during prediction pre-analysis, the temperature independent variable value obtained by real-time measurement is input into the thermal error model (10) to obtain the real-time thermal deformation predicted valueAccording toAnd a measured value S of the amount of thermal deformationjAnd calculating to obtain a residual value and a residual standard difference value, obtaining the prediction performance of the prediction model (10), and finally finishing the data processing of the thermal error compensation of the machine tool. Wherein the residual meansAnd SjThe residual standard deviation is calculated as shown in equation (13):
in formula (13), SD is the residual standard deviation, SjqIs SjThe value of the q-th value in the sequence,is composed ofThe qth value in the sequence, t (S)j) Is SjOrThe length of the sequence. SjLength of sequence andthe sequences are of the same length.
In order to more clearly understand the data processing method of the present invention, the following description is further provided with reference to specific embodiments.
The data processing method provided by the invention is applied to the thermal error experimental data of the leader way-V450 type numerical control machine tool.
Fig. 2 is 10 temperature variable data obtained by a leadersway-V450 numerical control machine tool experiment, and fig. 3 is main shaft Z thermal deformation data obtained by the leadersway-V450 numerical control machine tool experiment. During experimental measurement, the initial environment temperature of the machine tool is 9.25 ℃, and the main shaft idles at a constant rotating speed of 4000 rpm.
The first step is as follows: calculating the temperature variable DeltaT according to equation (1)iZ-direction thermal error S from main axiszThe value of the correlation coefficient therebetween.
TABLE 1 Δ TiAnd SzValue of correlation coefficient therebetween
ΔT1 | ΔT2 | ΔT3 | ΔT4 | ΔT5 | ΔT6 | ΔT7 | ΔT8 | ΔT9 | ΔT10 | |
riz | 0.90 | 0.88 | 0.85 | 0.89 | 0.96 | 0.81 | 0.86 | 0.68 | 0.81 | 0.74 |
Selecting the two temperature variables with the largest correlation coefficient as the temperature independent variables of the thermal error modeling, namely X1=ΔT1,X2=ΔT5I.e., n is 2.
The second step is that: to X1,X2Performing standardization treatment to obtain standardized temperature variable X1 *,X2 *Of the correlation matrix R2×2And eigenvalues and eigenvectors of the matrix.
TABLE 2 eigenvalues and eigenvectors
Characteristic value | Feature vector |
λ1=1.9265 | u1=[0.7071 0.7071] |
λ2=0.0735 | u2=[0.7071 -0.7071] |
Thus, the main component Z was obtained1,Z2Is described in (1).
The third step: calculating Z1,Z2The cumulative variance contribution of (2), known as Z1Reaches 96%, so that the main component participating in the thermal error modeling is Z1。
The fourth step: the thermal deformation S of the spindle is determined by the formula (6)zPerforming standardization processing to obtain standardized heat distortion Sz *Establishing Sz *And Z1Is Sz *=0.5841Z1。
The fifth step: will Sz *And Z1Is converted into Sz *With respect to X1 *And X2 *Is S ofz *=0.4130X1 *+0.4130X2 *。
And a sixth step: will Sz *With respect to X1 *And X2 *Is converted into SzWith respect to X1And X2Is S ofz=11.8384+1.5252X1+1.9669X2And finishing the establishment of the thermal error prediction model.
The seventh step: and predicting the Z thermal error of the machine tool main shaft in different running states. Fig. 4 shows a thermal error measurement value 1, a thermal error prediction value 1, and a residual 1 at an initial ambient temperature of 9.19 ℃ and a spindle rotation speed of 4000rpm, a thermal error measurement value 2, a thermal error prediction value 2, and a residual 2 at an initial ambient temperature of 19.94 ℃ and a spindle rotation speed of 4000rpm, and a thermal error measurement value 3, a thermal error prediction value 3, and a residual 3 at an initial ambient temperature of 29.19 ℃ and a spindle rotation speed of 4000 rpm. Meanwhile, the residual standard differences of the prediction model are calculated to be 4.89 μm, 3.78 μm and 4.95 μm respectively. As can be seen from fig. 4, the residual value and the residual standard deviation of the model are kept within a small range no matter the initial environment temperature of the machine tool, so the thermal error data processing method described in this patent has high accuracy and robustness.
Claims (9)
1. A data processing method for realizing robust thermal error compensation of a machine tool in a wide range of environmental temperatures is characterized by comprising the following steps of:
the method comprises the following steps: obtaining a temperature variable DeltaT of a machine tooliAnd amount of thermal deformation of spindle SjWherein i is 1, 2, …, m;
the m refers to the number of temperature variables; j is the axial direction of the machine tool spindle, and j is X, Y and/or Z; x, Y, Z respectively representing the X-axis direction of the main shaft of the machine tool, the Y-axis direction of the main shaft and the Z-axis direction of the main shaft;
from temperatureDegree variable Delta TiAnd amount of thermal deformation of spindle SjObtaining the independent temperature variable Xk,k=1,2,…,n;
The temperature independent variable XkTo build a thermal error compensation model; n is the number of temperature independent variables, and n is less than or equal to m;
step two: for the temperature independent variable X obtained in the step onekCarrying out standardization treatment to obtain a standardized temperature independent variable Xk *;
And from a normalized temperature independent variable Xk *Converted to obtain a principal component ZkThe expression of (1);
the principal component ZkRefers to the independent variable X of the temperature by orthogonal transformationk *A group of variables obtained after conversion, wherein the group of variables are not linearly related;
step three: from principal component Z obtained in step twokThe first p principal components Z are extracted1,Z2,…,ZpP is less than or equal to n and is used for modeling the thermal error of the next step;
step four: for the heat deformation quantity S of the main shaft in the step onejPerforming standardization process to obtain standard thermal deformation Sj *;
And to the normalized heat distortion amount Sj *And the principal component Z for thermal error modeling obtained in step 31,Z2,…,ZpPerforming multiple linear regression analysis to obtain Sj *With respect to Z1,Z2,…,ZpEquation of (2)
Step five: s obtained in the fourth stepj *With respect to Z1,Z2,…,ZpIs converted into Sj *With respect to Xk *The expression equation of (1);
step six: s obtained in the fifth stepj *With respect to Xk *Equation transformation of expression (c)Is SjWith respect to XkIs the expression equation ofjWith respect to XkThe expression equation of (a) is the thermal error model.
2. The data processing method for robust thermal error compensation of a machine tool for a wide range of ambient temperatures according to claim 1, wherein the first step is specifically:
step 1.1 obtaining the temperature variable Delta T of the machine tooliAnd amount of thermal deformation of spindle SjCalculating the temperature variable DeltaTiAnd amount of thermal deformation of spindle SjThe value of the correlation coefficient therebetween; the correlation coefficient formula (1) is as follows:
in the formula (1), rijIs DeltaTiAnd SjValue of the correlation coefficient between, T (Δ T)i) Is DeltaTiLength of (1), Δ TiqIs DeltaTiThe value of the q-th value in the sequence,is DeltaTiAverage of the sequences, SjqIs SjThe value of the q-th value in the sequence,is SjThe average of the sequences; temperature variable Δ TiCollected from the machine tool in running state by the temperature sensor; temperature variable Δ TiLength of sequence and amount of thermal deformation SjThe length of the sequences is the same;
step 1.2, extracting n temperature variables with the maximum relational numerical values in step 1.1 as temperature independent variables Xk(ii) a The temperature independent variable XkUsed for establishing a thermal error model; the n is not more than m.
3. The data processing method for robust thermal error compensation of a machine tool for achieving wide range of ambient temperatures according to claim 1, wherein the second step is specifically:
step 2.1 for the temperature independent variable X obtained in step onekCarrying out standardization treatment to obtain a standardized temperature independent variable Xk *(ii) a To temperature independent variable XkThe equation (2) for the normalization is as follows:
in the formula (2), Xkq *Is Xk *Value qth in the sequence, XkqIs XkThe value of the q-th value in the sequence,is XkAverage of the sequences, t (X)k *) Is Xk *The length of the sequence;
step 2.2 calculating the correlation coefficient value between any two normalized temperature independent variables by using the correlation coefficient formula (1) in the step one to obtain a correlation matrix R of the normalized temperature independent variablesn×n(3) Concretely, the following steps are carried out;
in the correlation matrix Rn×n(3) In, rabDenotes the normalized temperature independent variable Xa *And Xb *The correlation coefficient value of (a);
step 2.3 by letting the relation Rn×nu and λ, where u is λ u, are each a correlation matrix Rn×nThe eigenvectors and eigenvalues of (2) to obtain a correlation matrix Rn×nCharacteristic vector u ofkAnd a characteristic value lambdakWherein k is 1, 2, …, n;
step 2.4 normalized temperature independent variable X obtained from step 2k *And a feature vector ukTo obtainFrom a normalized temperature independent variable Xk *And a feature vector ukPrincipal component Z of the compositionkThe expression of (c) is specifically:
in the principal component ZkIn the expression of (A), Var (Z)k)=λk,Cov(Zi,Zj) 0(i ≠ j), i.e. there is no correlation between the principal components.
4. The data processing method for robust thermal error compensation of a machine tool for achieving a wide range of ambient temperatures according to claim 1, wherein the third step is specifically: let the first p principal components Z1,Z2,…,ZpHas a cumulative variance contribution rate of VccpP is less than or equal to n, let the cumulative variance contribution rate VccpNot less than 85%, calculating the value of p, and determining the specific principal component Z according to the value of p1,Z2,…,ZpExtracting for next thermal error modeling; wherein the cumulative variance contribution rate Vcc of the first p principal componentspThe formula of (1) is:
5. the data processing method for robust thermal error compensation of a machine tool for achieving a wide range of ambient temperatures according to claim 1, wherein said step four specifically comprises:
step 4.1 Heat distortion amount S of spindle in step onejPerforming standardization process to obtain standardized heat distortion Sj *(ii) a Amount of thermal deformation S to the main shaftjEquation (6) for normalization is:
in the formula (6), Sjq *Is Sj *The qth value in the sequence, SjqIs SjThe value of the q-th value in the sequence,is SjAverage of the sequences, t (S)j *) Is Sj *The length of the sequence.
Step 4.2 for the normalized Heat distortion Sj *And principal component Z for thermal error modeling1,Z2,…,ZpPerforming least squares-based multiple linear regression analysis to obtain Sj *With respect to Z1,Z2,…,ZpExpression of (4) equation (7); obtaining regression coefficient estimated value of each element in the model by utilizing multiple linear regression analysis based on least square principleSj *With respect to Z1,Z2,…,ZpEquation of expression (2)And regression coefficient estimation valueRespectively as follows:
6. machine tool for achieving a wide range of ambient temperatures according to claim 1The data processing method for robust thermal error compensation is characterized in that the fifth step specifically includes: using the principal component Z obtained in step twokS obtained in step fourj *With respect to Z1,Z2,…,ZpEquation of (2)Conversion to Sj *With respect to Xk *Equation of (2)Sj *With respect to Xk *Equation of (2)(9) The method comprises the following specific steps:
in the formula (9), the reaction mixture is,
7. the data processing method for robust thermal error compensation of a machine tool for achieving a wide range of ambient temperatures according to claim 1, wherein the sixth step is specifically as follows: by means of independent variable X of temperaturekFormula X for normalizationkq *And the amount of thermal deformation S to the spindlejNormalized formula Sjq *S from step fivej *With respect to Xk *Equation of expression (c) transforms SjWith respect to XkThe expression equation (10) of (a), completing the establishment of a thermal error prediction model; wherein S isjWith respect to XkEquation (10) is:
in the formula (11), the reaction mixture is,is SjThe discrete standard deviation of the sequence is determined,is XkDiscrete standard deviation of sequences.
8. The model application method of the data processing method for realizing the robust thermal error compensation of the machine tool in the wide range of environmental temperatures according to claim 1 is characterized in that the thermal error of the spindle of the machine tool is predicted and analyzed by substituting the real-time detected temperature value into the thermal error model.
9. The method of claim 8, wherein the predictive pre-analysis is performed by inputting the temperature independent variable measured in real time into the thermal error model to obtain the predicted value of thermal deformation in real timeAccording toAnd a measured value S of the amount of thermal deformationjCalculating to obtain a residual value and a residual standard difference value, obtaining the prediction performance of the prediction model, and finally finishing the data processing of the thermal error compensation of the machine tool; wherein the residual meansAnd SjThe residual standard deviation is calculated as shown in equation (13):
in formula (13), SD is the residual standard deviation, SjqIs SjThe value of the q-th value in the sequence,is composed ofThe qth value in the sequence, t (S)j) Is SjOrThe length of the sequence; sjLength of sequence andthe sequences are of the same length.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610256897.3A CN105700475A (en) | 2016-04-20 | 2016-04-20 | Data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610256897.3A CN105700475A (en) | 2016-04-20 | 2016-04-20 | Data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105700475A true CN105700475A (en) | 2016-06-22 |
Family
ID=56217380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610256897.3A Pending CN105700475A (en) | 2016-04-20 | 2016-04-20 | Data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105700475A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109571898A (en) * | 2018-11-28 | 2019-04-05 | 宁波安信数控技术有限公司 | A kind of manipulator of injection machine precision compensation system and method |
CN112147951A (en) * | 2020-09-28 | 2020-12-29 | 沈机(上海)智能系统研发设计有限公司 | Thermal error compensation method for machining equipment, device, system, medium and terminal thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751002A (en) * | 2008-12-16 | 2010-06-23 | 上海电气集团股份有限公司 | Temperature compensation system and compensation method used for large-size numerical control machine |
CN102122146A (en) * | 2011-01-06 | 2011-07-13 | 上海交通大学 | Thermal-error real-time compensation system for high-speed precise machining and compensation method thereof |
US20110232120A1 (en) * | 2010-03-25 | 2011-09-29 | Tuellmann Udo | Methods and apparatus for compensating temperature-dependent changes of positions on machine tools |
CN102736558A (en) * | 2011-04-07 | 2012-10-17 | 姚晓栋 | Numerical control machine tool thermal error real-time compensation modeling method based on time series algorithm |
CN102736557A (en) * | 2011-04-07 | 2012-10-17 | 杨建国 | Numerical control machine tool error real-time compensation system based on virtual instrument |
-
2016
- 2016-04-20 CN CN201610256897.3A patent/CN105700475A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751002A (en) * | 2008-12-16 | 2010-06-23 | 上海电气集团股份有限公司 | Temperature compensation system and compensation method used for large-size numerical control machine |
US20110232120A1 (en) * | 2010-03-25 | 2011-09-29 | Tuellmann Udo | Methods and apparatus for compensating temperature-dependent changes of positions on machine tools |
CN102122146A (en) * | 2011-01-06 | 2011-07-13 | 上海交通大学 | Thermal-error real-time compensation system for high-speed precise machining and compensation method thereof |
CN102736558A (en) * | 2011-04-07 | 2012-10-17 | 姚晓栋 | Numerical control machine tool thermal error real-time compensation modeling method based on time series algorithm |
CN102736557A (en) * | 2011-04-07 | 2012-10-17 | 杨建国 | Numerical control machine tool error real-time compensation system based on virtual instrument |
Non-Patent Citations (1)
Title |
---|
ENMING MIAO, ETC: "Study on the effects of changes in temperature-sensitive points on thermal error compensation model for CNC machine tool", 《INTERNATIONAL JOURNAL OF MACHINE TOOLS & MANUFACTURE》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109571898A (en) * | 2018-11-28 | 2019-04-05 | 宁波安信数控技术有限公司 | A kind of manipulator of injection machine precision compensation system and method |
CN109571898B (en) * | 2018-11-28 | 2020-03-20 | 宁波安信数控技术有限公司 | Precision compensation system and method for manipulator of injection molding machine |
CN112147951A (en) * | 2020-09-28 | 2020-12-29 | 沈机(上海)智能系统研发设计有限公司 | Thermal error compensation method for machining equipment, device, system, medium and terminal thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105759719B (en) | A kind of numerical control machining tool heat error prediction technique and system splitting model based on unbiased esti-mator | |
US11294353B2 (en) | Spindle thermal error compensation method insensitive to cooling system disturbance | |
CN108803520B (en) | Dynamic process monitoring method based on variable nonlinear autocorrelation rejection | |
CN104914723B (en) | Industrial process soft-measuring modeling method based on coorinated training partial least square model | |
CN108445867B (en) | non-Gaussian process monitoring method based on distributed ICR model | |
CN104699050A (en) | Leaf-shred preparation segment on-line monitoring and fault diagnosing method for cigarette filament treatment driven by data | |
CN108536127B (en) | A kind of model mismatch diagnostic method of the multivariable control system of data-driven | |
CN106680012A (en) | Fault detection method and fault diagnosis method for the non-stationary process of large coal-fired generator set | |
CN104698976A (en) | Deep diagnosis method for predicting performance degradation of control model | |
CN105700475A (en) | Data processing method for realizing machine tool robustness thermal error compensation of wide-range environment temperature | |
CN110942258B (en) | Performance-driven industrial process anomaly monitoring method | |
CN112318511A (en) | Mechanical arm trajectory tracking control method based on data driving | |
CN107272640A (en) | A kind of modeling quality control method and system based on model predictive controller | |
Feng et al. | Independent component analysis based on data‐driven reconstruction of multi‐fault diagnosis | |
CN105158147A (en) | Device and method for testing aging of sealing ring material | |
CN101320258A (en) | Two-stage virtual measurement method | |
CN114967592B (en) | Self-adaptive selection method for machine tool thermal error temperature sensitive point | |
CN108415372B (en) | Thermal error compensation method for precision machine tool | |
CN106569982A (en) | GPR online soft measurement method and system with singular point detection compensation function | |
CN114136538B (en) | Temperature modeling method for pressure sensor calibration device based on random variation decibel leaf learning | |
CN103406364B (en) | Method for predicting thickness of hot-rolled strip steel on basis of improved partial robust M-regression algorithm | |
CN114995338A (en) | Industrial process micro-fault detection method based on normative variable analysis and JS divergence fusion | |
CN114895627A (en) | Thermal error compensation method for regional machine tool | |
CN104199296A (en) | Linear regression performance evaluation method with forgetting factor | |
CN114707424A (en) | Chemical process soft measurement method based on mass correlation slow characteristic analysis algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160622 |
|
RJ01 | Rejection of invention patent application after publication |