Life Prediction Model of Machine Tool based on Deep Learning

2021-04-21 02:47:02HEJiaweiZHAOChendiGAORuiyuLIUXuehuiWANGXue

HE Jiawei, ZHAO Chendi, GAO Ruiyu, LIU Xuehui, WANG Xue

(School of Information Engineering, China University of Geosciences, Beijing 100083, China)

Abstract:In view of the shortage of traditional life prediction methods for machine tools, such as low accuracy of life prediction and few samples basis attributes, a life prediction model of machine tools combined with machine tool attributes is proposed. The life prediction model of machine tool adopts KL dispersion distribution theory, uses modal superposition method to carry out machine tool life analysis, calculates the theoretical life of machine tool, and then carries on the simulation, obtains the machine tool life prediction value. Compared with the traditional method of machine tool life prediction, the model is based on the application life fatigue damage model, which superimposes the service times and maintenance cycle of the machine tool, derives the influence factor of machine tool life, and obtains the linear relationship between the influence factor of machine tool life and the life of machine tool. The influence factor of machine tool life is introduced as the life prediction parameter of machine tool. The data transformation relationship of HT300 parts is constructed. The original part data is enhanced. The effective training set is obtained. The life prediction model of machine tool based on deep learning is completed. The quantitative analysis of machine tool life is carried out. The experiment of machine tool life prediction using training data set proves the validity of the model. Regression test was carried out on the training data set to reflect the robustness of the model. The prediction accuracy of the model is further verified by Weibull test.

Keywords: life prediction model; machine tool; KL divergence; metamorphic relation; data enhancement

1 Introduction

The life prediction of machine tools is an important research direction in the field of machine tool life research, which is of great value for machine tool failure analysis[1]. One of the characteristics of the machine tool is that thecomposition of parts and the service life of machine tool largely depend on the loss of internal parts. Therefore, the failure rate analysis of parts can effectively help to predict the life of machine tools.

The life prediction of the machine tool breaks the traditional method of analyzing the life of the machine tool from the overall inspection of the machine tool. The fatigue damage of the basic parts in the process of using the machine tool, and the influence of the repair of the parts during the maintenance of the machine tool on the life of the machine tool are considered. It is suitable for the stage cycle use and high stress level of machine tool life assessment. On the traditional damage mechanics model, combined with the macro damage theory and the micro damage theory, the damage factor in the damage mechanics model is used to measure the construction damage rate (M23). Considering the superposition of fatigue damage of machine parts is a non-linear relationship, and the damage of multiple components are different between the sum of load fatigue damage and the sum of total repair effect. We select the two mainly attributes of machine tool usage and machine maintenance cycle which affect the machine life to construct a linear relationship between machine tool usage times and maintenance cycle machine tool life, so as to avoid the difference of nonlinear relationship caused by too many attributes of machine tool life. In addition, the theoretical calculation of machine tool can be combined with Tensorflow to facilitate fatigue damage calculation.

In this paper, particle swarm optimization (PSO) is used to analyze the failure probability distribution of machine tools, a complete life prediction model of machine tools is established. The specific contents include: 1) the life prediction of the machine tool is completed comprehensively by analyzing the damage factor of machine parts and design failure rate with the parameters of service times and maintenance cycle; 2) the data of HT300 parts are enhanced by data enhancement method to ensure the diversity of data and the robustness of the model; 3) the accuracy of the model is tested by Weibull test, the accuracy and rationality of the model are further guaranteed.

2 Modal method selection

At present, machine tools are developing towards multi performance and long life. In the field of research, traditional fatigue life prediction methods are usually used to estimate the fatigue life of machine tools with different fatigue cumulative damage methods, such as Miner rule, modified Miner rule, bilinear theory and Corten Dolan nonlinear cumulative damage theory, etc[2]. In the process of experiment, it is difficult to get enough life data of machine tool in effective time to verify the degradation failure process of machine tool performance, which results in waste of test equipment, test pieces and materials. In addition, traditional method of machine tool life prediction contain strictly requirements on the parameters of degradation model. In the actual test, many collected data are not ideal, which makes the degradation model can not be identified[3], the deployment of reliability assessment work (M28). In the industrial production process[4], the main methods of estimation include data statistics method, accuracy decline size evaluation, computer machine load and so on[5]. The method of machine tool life prediction has the defects of internal parts detection components and stress concentration[6]. The relatively mature solution is to use the scale data set to cover, and a variety of machine tool data integration is the major demand of machine tool life prediction method.

In this paper, the life prediction model of machine tool is mainly based on the analysis of the damage of parts, and the failure rate of parts is used to complete the prediction of machine tool life. However, the data samples of most parts are insufficient, which can not meet the demand of data diversity[7]. In order to solve the problem of insufficient data samples, we use the method of data amplification to expand the original sample data to meet the data diversity. Because we select the influence attribute as machine tool usage times and machine maintenance cycle, we analyze the usage times and maintenance cycle, and get the data set from the transformation relationship. Among them, the transformation method includes equivalent transformation and no equivalent transformation. The data obtained by equivalent transformation is used to enhance the robustness of the model, and the data obtained by non equivalent transformation is used to generate special data samples to meet the data diversity.

In order to avoid the difference of nonlinear relationship caused by too many attributes of machine tool life, this paper combines the influence of machine tool usage times and machine maintenance cycle on the failure rate of internal parts to detect the failure probability of machine tool. However, the theory of quantitative evaluation of technical results is not mature enough, the detection of machine tool objects is limited. Therefore, we use Weibull distribution method to test the model results. The test results show that HT300 data obtained by data amplification can train a more robust life prediction model.

Fatigue damage[8]is a common quantitative evaluation of machine tool life. Based on the application life fatigue damage model, this paper analyzes the service life of machine tools by the usage times and maintenance periods of machine tools, and verifies the influence rules of machine tool service times and maintenance cycles on the service life of machine tools from the test, and puts forward the life prediction model of machine tools based on deep learning.

3 Establishment of life prediction model for machine tools

In the process of establishing the life prediction model of machine tool, the influence sample set sare recorded by(xi,yi) (i=1,2,3, …,n),which are represent byzi.

Assuming that there is a correlation betweenx,yandz, and a correlation model is established.

z=k1x+k2y+c+ε

(1)

Among them:k1,k2is the influence coefficient;xis the usage times;yis the maintenance interval;zis the influence factor of machine tool life obtained from the conversion of service times and maintenance cycle;cis the regression coefficient;εis the error rate.

(2)

In order to minimize the error, letε=0, To make Derivation betweenk1,k2andc.

(3)

By solving the appeal equation, we can get the estimated values ofk1,k2andcas follows:

(4)

(5)

(6)

Obtainzaboutxandy, the linear regression equation was as follow:

(7)

In order to get the number of machine tool usedxand machine maintenance cycleyinfluence factors of machine tool life on machine tool lifez, after the influence coefficient of the life can be obtainedLon the influence factors of machine tool lifezrelational data.

Because the relation ofLandz, the service life of the machine tool will change with the usage times.zis the influence factor, which affects the life of the machine toolxand maintenance cycley. KL divergence[8]is generally used to measure the similarity of the two distributions.

(8)

At last, we can get the relation as follows:

logpθ(z(i))=KL(qφ(L|z(i))pθ(L|z(i)))+L(θ,φ;z(i))

(9)

Because KL divergence is not negative. Therefore logpθ(z(i))≥L(θ,φ;z(i)).L(θ,φ;z(i)) is the variational lower bound of the log likelihood function.

BecauseL(θ,φ;z(i)is influenced byφ, Monte Carlo method is used to estimate the expectationL(θ,φ;z(i)) as the following:

L(θ,φ;z(i))=-KL(qφ(L|z(i))||pθ(L))+Eqφ(L|z(i)|L)

(10)

Finally, the algorithm is started,

(11)

AboutL(θ,φ;z(i)), we can see that it′s a function aboutzandL, which need to know about the influence factor of machine tool lifezand machine lifeLto verify it.

4 Experimental sample construction

4.1 Sample source

In this paper, the data set (MT) of HT300[9]is selected as the experimental data set. HT300 part style is shown in Figure 1. In this study, there are 1 000 sample data in the data set, and each sample data includes three elements: the usage times (T), the maintenance period (P) and the service life (s). Through three elements, parts are divided into non durable parts, ordinary parts and durable parts.

Figure 1 HT300 part style

4.2 Transformation method

In order to facilitate the description of transmutation relations, five more explicit criteria[10]are put forward for the construction of transformational relations, namely, the principle of correctness, the principle of easy generation, the principle of complex priority, the principle of priority selection and the principle of wide application.

Combined with the above-mentioned transformation construction principle and considering the characteristics of our expected life prediction model, the following transformation relationship is constructed.

MT1Linear translation. For each sample attribute value in each training sample setxilinear translation is donef(xi)=xi+bi,bi≠0. Besides, each attribute value of the sample to be classified is linearly shifted.

MT2Full sample replication. All the data samples in the data set are copied once, so that the training sample set capacity is changed fromnbecoming 2n。

MT3Partial sample removal. The data in the data sample set are sorted from short to long according to the life times, and the former is removed 10%. After that, the sample size is changed fromnto 0.8n.

MT4Partial sample replication. The data in the data sample set is sorted from the short to the long according to the life times, and the data in the middle is sorted from the short to the long 80%. Select from the data ofm,m≤0.8n, putm, One copy data ofn, the data is added to the training sample set so that the sample size is changed fromnchanging ton+m.

4.3 Sample validity analysis

For the samples obtained by the transformation relation, as the transformation relationship including equivalent transformation and non-equivalent transformation[11], the data obtained by the non-equivalent transformation may be quite different from the original data. In order to ensure the accuracy of the model, we need to screen out the data samples that are too different from the original data.

In this paper, the number of machine tool use and machine maintenance cycle are selected as the two influence attributes of machine tool life prediction. Therefore, in order to remove the data samples with strong or weak expressive force, we choose to use the stress characterization method to filter the data through the stress size of the data. The smaller the stress, the less the availability of the data.

For the damage of basic parts of components, we detect the maximum number of cycles of HT300 under different stresses, and get Figure 2.

Figure 2 Maximum number of cycles of HT300 under different stresses

It can be found that the stress of the amplified data obtained by the transformation relationship will gradually decrease with the increase of the number of transformation. In this paper, the data of high stress with low number of transformation cycles are selected as the experimental data samples and recorded asMHData set.

4.4 Scalable analysis of experimental samples

Because HT300 parts are widely used in different parts of machine tools, and the effect of the parts in different parts and the wear degree in the use process are different. In order to accurately measure the use of HT300 in various parts of the machine tool, we collate the use of HT300 parts in various parts of the machine tool. Through fault analysis[12], the difference performance of HT300 parts in use and the failure rate of HT300 parts in different positions of the machine tool are obtained. Finally, the failure rate of HT300 parts in each position of the machine tool is obtained. It is found that when the failure rate is less than (1/106H), the data expansibility of the part is stronger. The application failure rate of HT300 parts in different parts is shown in Table 1.

Table 1 Reliability data of lifting threshold

5 Model experiment

5.1 Experimental methods

We use gradient descent method to complete the data processing process. The operation flow of the experiment is as follows:

1) After the completion of the machine tool life prediction model, using the established machine tool life prediction model to MH, the data set was preprocessed, and the service timesTand maintenance cyclesof HT300 machine tool parts were processedz=k1x+k2y+c+ε. The function transformation is used to obtain a machine tool life influence factorφwith respect to the service times and maintenance cycle of machine parts.

2) RefineMH. The data set is refined from the original three elements: the usage times of partsT, the maintenance cycleP, and the service lifesof parts, and a two-element data group composed of machine tool life influence factorφand part service lifesis obtainedMH′.

3) RefineMH′. The algorithm is generated into the KL divergence model. The correlation index between the influence factor of machine tool life and the service lifesof parts is obtained to judge the correlation.

4) RefineMH′. The correlation index is obtained by corresponding correlation functionL(θ,φ;z(i)).

5) After getting the model function, theMHk,k=1,2,3,4 andMH, the data set is put into the model to get the correlation index, and the prediction accuracy is obtained by regression analysis.

5.2 Experimental results

Through experiments, we get the correlation function of the modelL(θ,φ;z(i)). According to the size of the data value, it can be divided into three categories: low accuracy, ordinary accuracy and high accuracy. Table 2 shows the experimental results.

Table 2 Prediction results of metamorphosis data

5.3 Regression equation test

At first, we find a set of data to test our regression equation. Firstly, we analyze the existing application life fatigue damage model.

f1(z)=263.908-15.682 5ln(z+78.288 8)

(11)

According to our regression equation

(12)

In the case of only two influencing factors, the results are as follows:

f2(z)=281.3-0.000 31z5+0.045z4-2.4z3+57z2-610z

(13)

When there is no linear relationship or other relationship between the two variables, it is assumed thatngroups of test values are givenSSTexpress,SST=SSA+SSE;SSArepresents the sum of squares of inter group dispersion,SSEdenotes the sum of squares of deviation within the group, and the expression is as follows:

(14)

(15)

F=(SSR/dfR)/(SSE/dfE)

(16)

Among dfT=dfR+dfE=N-1; dfR=1 (number of independent variables).

Significant levelα. According to the actual situation,F>F1-α(dfR, dfE) is considered that the fitting curve of two variables is significant, otherwise the fitting curve is meaningless.

Data analysis software SSPs was used to conduct multiple linear regression analysis on machine tool data[13], and the model summary table was obtained, as shown in Table 3.

Table 3 Durbin Watson coefficient table

The value of R-square is 25.1%, which means that the number of failures and the number of use of the independent variable can explain 25.1% of the life change of the machine tool. It can be seen that the change of service life is determined by the number of failures and the number of service times to the first degree. The random fluctuation of actual data is affected more, so the problems to be considered will also increase. However, for the collection of actual data, the failure rate of machine tool components is different. Therefore, we choose service life and correlation factors as independent variables and other influencing factors as control variables.

For the independence of samples, as shown across the Durbin Watson statistics in Table 3, the Durbin Watson coefficient is between 1.799 and 2.0, which indicates that the relationship between samples is approximately independent, and there is only slight autocorrelation, that is, there is a very small amount of similarity between the characteristics of samples.

6 Analysis of experimental results

The reliability evaluation of the data includes the analysis of the model summary table, coefficient table and residual histogram data of the fixture, which is elaborated from three aspects: whether the sample is independent, whether there are multiple collinearity and whether the residual presents normal distribution.

In order to reflect the reliability of the model, the significance of the influencing factors of usage times was as follows 0.768>0.5. The results show that the influence factor on the fixture life is more significant, followed by the non standardized regression coefficient -0.304<0. It can be concluded that: The service life of the fixture is negatively affected by the service times. The significance of the number of failures is 0.22<0.5. The results show that the number of times of use can significantly affect the service life. Secondly, the non-standardized regression coefficient is -105.457<0, it can be concluded that the number of failures is negatively related to the service life of the machine tool.

Regression analysis requires that variables should be independent of each other, and whether there is a strong correlation between the two variables is used to judge whether the variables can be used as influencing factors at the same time, so as to avoid invalid repetition. The VIF is 1.356, which is far less than 5, indicating that there is no multicollinearity between dependent variables, so the number of service times and failure times can be used as the influencing factors of service life.

The residual histogram of regression function is analyzed. If the residual value of the model does not meet the normal distribution, as shown in the regression diagram, the residual value does not match the normal distribution. The service life of the machine tool changes by 25.1%, and the service life of the machine tool is determined by the number of failures and service times, so whether the residual conforms to the normal distribution can be considered as part of the consideration.

Figure 3 Residual histogram of regression function

Use Minitab software to generate Weibull distribution model and exponential distribution model for the service life data of machine parts. According to the diagram,Pin the exponential distribution probability diagram and Weibull distribution probability diagram is greater than 0.05, and the inspection is passed. It is concluded that the service life of machine tool obeys exponential distribution and Weibull distribution.

Figure 4 Weibull distribution probability diagram

Figure 5 Exponential distribution probability diagram

7 Summary and discussion

According to the conclusion of the application life fatigue damage model, the fatigue accumulation and fatigue damage of machine tools are analyzed. Through the analysis of the service times and maintenance cycle of the machine tool, the influence factor of the machine tool life is derived, and the correlation between the influence factor of the machine tool life and the life of the machine tool is obtained. Based on KL divergence model[14], the life prediction model is established.

The life prediction model of machine tool based on deep learning is developed. The correlation between the influence factors of machine tool life and machine tool life is tested by function regression. The experimental data set of HT300 was trained to get enough data. Weibull distribution model is used to evaluate the reliability of the machine tool life prediction model, and the normalized service life prediction value of the machine tool is calculated. A set of life prediction model of machine tool from design to establishment and then to verification has been completed.

Because the model is only analyzed from the two attributes of machine tool usage times and maintenance cycle, the prediction results will have certain errors, and there are still some defects in the accurate life prediction of precision instruments. In the future, we will combine other attributes of the machine tool to predict and analyze the life of the machine tool, optimize and improve the life prediction model of the machine tool with nonlinear relationship and other related attributes, so as to further improve the robustness of the model.


登录APP查看全文