車床主傳動變速裝置設(shè)計
車床主傳動變速裝置設(shè)計,車床,傳動,變速裝置,設(shè)計
畢業(yè)(設(shè)計)論文
外 文 翻 譯
系 別 機(jī)電工程
專 業(yè) 機(jī)械設(shè)計制造及自動化
班 級 161003
學(xué)生姓名 尚曉東
學(xué) 號 103353
指導(dǎo)教師 李文燕
日 期 2014.2.1
Synthetic error modeling for NC machine tools based on intelligent technology
Xinhua Yao, Jianzhong Fu*, Yuetong Xu, Yong He
Abstract
The precision of machine tools is greatly constrained by errors either built into the machine tools or occurring on a periodic basis on account of temperature changes or variation in cutting forces, so it is essential to obtain these errors, and then eliminate or compensate for them. However, the interaction between many factors inducing errors, such as the heat source, thermal expansion coefficient, the machine system configuration and the running environment, creates complex behavior of a machine tool, and also makes synthetic error prediction difficult with traditional mathematics. Therefore, several modeling methods based on non-classical mathematics have been presented in recent years. The intelligent technology methods of neural network, support vector machines, Bayesian networks are the effective modeling and forecasting methods for machine errors. All these three methods were introduced in briefly in the paper, and the characteristics of them were discussed. A series of experiments were carried out to evaluate their merits and defects. Finally, some important conclusions about how to use these methods in different situations were provided. The works in this paper make a special summary of the error modeling with intelligent technology, and provide a useful guidance to further research on error compensation of NC machine tools.
Keywords: synthetic error modeling; neural network; support vector machines; Bayesian networks; intelligent technology
1. Introduction
Machine errors including cutting-force induced, fixture dependent and thermal errors, which we name synthetic error here to distinguish it from each kind of individual error, significantly affect the precision of machine tools, so it is essential to obtain these errors, and then eliminate or compensate for them[1]. In the prediction of machine errors, most current research has focused on arriving at a direct correlation between the monitoring parameters and error data obtained through experiments. Once a correlation is established, the model is then used to forecast the error under any other condition based on the monitoring data. [2] However, some difficulties have all along remained in modeling for the influence of properties of synthetic error. Since the accuracy of a machine tool is affected by the overall effect of the various error sources mentioned earlier, the error compensation system should take into consideration the interaction between these sources rather than consider each error in isolation[1]. This situation leads to two problems: one is that the synthetic error becomes a time-varying nonlinear and process, and the other is that the various interactions make it hard to understand the relationships among various factors. These problems affect the model accuracy directly, and limit the use of traditional fitting methods in modeling errors. Therefore, some modeling methods based on non-classical mathematics have been presented in recent years. The intelligent technology methods of neural network, support vector machines, Bayesian networks are the effective ones of them for synthetic errors. This paper seeks to present these intelligent technology methods in synthetic error modeling and is organized as follows: in the next section, some important work has been done in this field is introduced; In Section 3, the three modeling method based on neural network, support vector machines and Bayesian networks are introduced respectively; The comparison experiment is shown in Section 4 and the result is analyzed; Finally, some conclusions are presented in Section 5.
2. Previous Work
Various intelligence techniques have been employed in the modeling of machine errors in recent 15 years. Artificial neural network (ANN) is the most important one of them. Yang et al.[3] propose d a model articulation controller (CMAC) neural network to correlate machine thermal errors to temperature measurements through large amount of experiments and data analysis techniques. Chen[4] used a three-layer ANN with a supervised back propagation training algorithm and the ‘sigmoid’ activation function to map the calibrated thermal errors to the temperature measurements. However, the results were found to be unacceptable where input conditions were significantly different from the data set used to train the network. A neural network based on artificial resonance theory (ART-map) was used to predict and compensate the tool point errors of a 3-axis machining center by Mize and Ziegert[5] using discrete temperature readings from the machine's structure as input. Fu and Chen[6] presented an artificial neural network method which was combine with fuzzy logic to predict thermal error. A new method of principal component analysis was presented to identify the structure and parameters of the fuzzy model. Then, the artificial neural network method was used to overcome the problem which the fuzzy model could not resolve, because the effective data number was smaller than the consequence parameter number. Yang and Ni[7] used the dynamic neural network model to track nonlinear time-varying machine tool errors under various thermal conditions. Study has shown that the dynamic models have the advantage over static models in terms of model robustness to different working conditions, since the dynamics and the nonlinearity of the thermal-elastic process are captured using the temporal association networks.
Support vector machine (SVM) is another useful method to model errors in machine tools for its good performance in classification and regression. Ramesh et al.[8] developed a model using support vector machines to classify the error based on operating conditions. Once classified, the error was then predicted based on the temperature states. Lin et al.[9] presented a modeling methodology using the least squares support vector machine (LS-SVM) model to track nonlinear time varying spindle thermal error under certain conditions. Experiments on spindle thermal deformation were conducted to evaluate the model performance in terms of model estimation accuracy and robustness. The comparison has indicated that the LS-SVM performs better than other modeling methods, such as multivariable least squares regression analysis, in terms of model accuracy and robustness. Recently, He et al.[10] used SVM to predict the volumetric errors and also acquired high modeling accuracy.
Bayesian networks (BN) is a probabilistic representation for uncertain relationships and is useful for modeling real-world problems such as diagnosis, forecasting, manufacturing control, etc., wherein there exist multiple cause and effect dependency relations[11]. It is a relatively new technique for thermal errors modeling. Ramesh et al.[2] presented a hybrid SVM-BN model to account for the specific conditions inducing thermal errors. The experimental data was first classified using a BN model with a rule-based system. Once the classification had been effected, the error was predicted using a SVM model. Yao et al.[12] described causal relationships of factors inducing thermal deformation by graph theory and estimated the thermal error by Bayesian statistical techniques. Due to the effective combination of domain knowledge and sampled data, the BN method could adapt to the change of running state of machine, and obtain satisfactory prediction accuracy.
3. Intelligent Techniques for Synthetic Error Modeling
3.1. Artificial neural network
The artificial neural network is a kind of multiple nonlinear model in which the coefficients are called weights which are evaluated by training with an iterative technique called back-propagation. Thus, an ANN is appropriate for a system having a nonlinear relationship between multiple inputs and multiple outputs. There are three types of layer for the neural network, i.e. input layer, hidden layer, and output layer. For the synthetic error application, the input layer is designed to consist of sensor monitoring data such as temperature and force, and the output layer of the spindle errors. The hidden layers represent intermediate nodes, which are determined so that the neural model has the least errors. After the hidden layers are determined by testing the output layers, the output, y*, can be calculated as Eq.(1)[6].
Then, the fuzzy-neural network for spindle error y* can be constructed as Fig. 1. When the structure of the neural network is determined, some special data groups should be chosen to train this model. When the model precision is not enough, the fuzzy neural network should be trained a lot of times until the precision is satisfied.
3.2. Least squares support vector machine
SVM can be applied to regression by the introduction of an alternative loss function and the results appear to be very encouraging. In SVM, the basic idea is to map the data into a higher-dimensional feature space via a nonlinear mapping and then to do regression in this space. The optimization problem of the least squares support vector machine (LS-SVM) which is a modification of Vapnik SVM is formulated as Eq.(2)[13]:
Fig. 1. Structure of the fuzzy neural network
Then, optimization problem can be rewritten as
Finally, nonlinear function takes the form:
This LS-SVM regression leads to solving a set of linear equations, which is for many practitioners in different areas. Especially, the solution by solving a linear system is instead of quadratic programming. It can decrease the model algorithm complexity and shorten the computing time greatly.
3.3. Bayesian networks
A BN is a graphical model consisting of nodes which represent causes and effects in real-world situations and a set of edges each of which connects two nodes. If there exists a causal relationship between any two of the nodes, the edge would be directional leading from the cause variable to the effect variable. For such directed edges, the edge is said to be from parent to child. A BN is also called a ‘directed acyclic graph’ for this reason as all the edges of the graph point in a particular direction and there is no way to start from one node, travel along a set of directed edges in the proper direction and arrive at the same node.
A BN for a set of variables X={X1, ..., Xn} consists of a network S that encodes a set of conditional independence assertions about variables in X and a set P of local probability distributions associated with each variable[11]. Together, these components define the joint probability distribution for X.
For a joint probability distribution, from the chain rule of probability, we have Eq.(7)
Now, we assume that the number of nodes in a BN is n, the average number of parent nodes is m, and each variable owns k values on average. Then, the computation complexity of Eq.(9) is nkm, while it is kn1 to Eq.(7). Obviously, the time cost will decline by using Eq.(9) when m is far smaller than n. In general, the computation of a probability of a constructed model is known as probabilistic inference. In this section, probabilistic inference in BNs is described briefly. To a BN whose structure has been fixed, if there are N cases in sampled data, the inference can be calculated as follows[14]:
Especially, if there is only one variable Xi to be calculated, Eq.(10) can be simplified as
Fig.2. Synthetic error measurement
With the help of Bayesian statistics, prior knowledge of a domain can be combined well with sampled data. Accordingly, modeling of synthetic errors in machine tools will be implemented by two steps: (1) Construct network from prior knowledge. Here we should identify the factors that are of critical importance in inducing machine errors, analyze the interrelation among them, then describe all this information by building a directed acyclic graph, and finally assess prior probability of each variable in graph. (2) Conduct probabilities learning and inference in the network based on sampled data. The parameters of network will be refined, and the result of modeling can be calculated by probabilistic inference.
4. Experiment and Discussion
4.1. Experiment setup
Without loss of generality, this paper presents models for a high speed spindle of 10 KW. The models developed for this type of spindle are transferable to other spindles. The experimental setup that is used to measure synthetic error is shown in Fig. 2. Spindle error in radial and axial direction is respectively measured using two CCD laser displacement sensors (LK150H, KEYENCE), as shown in Fig. 2. To model and forecast synthetic error with three intelligent methods discussed above, there are three major factors inducing errors are taken into account:
1. he temperatures of several key parts of the machine tool and the entironment, which monitored by thermal sensors (OS18B20, DALLAS);
2. Volumetric error which measured by laser interferometer with vector diagonal step method;
3. Machining parameters including rotation speed of spindle and the feed rate.
4.2. Results and discussion
In experiments, temperatures are measured every 1 second during motion, using numerical thermal sensors that are attached to the spindle and other positions. The machine has been running for 2.5 hours and then stops to cool down for 2 hours. A set of data from displacement sensors is recorded for every 1 minute.
For models comparison, three models are built using the same model training data. The modeling results for axial deformation from three methods and the actual value of machine are shown in Fig.3, and the results for radial deformation are shown in Fig.4.
Furthermore, the modeling results are compared based on the mean absolute percentage error (MAPE) as defined below:
Where di is the modeling value, while is the actual value.
The comparison in MAPE and calculating time among the three methods are shown in Table 1. Results disclose that:
1. All these three intelligent technology methods give quite a good modeling accuracy in error prediction. The MAPE of LS-SVM, for comparison, is a little better than ANN and BN methods.
2. The LS-SVM model has distinct advantages over ANN and BN models in calculating time. The ANN model spends about 22 times as LS-SVM for it needs a relatively long time to train the network to achieve good prediction accuracy. The BN model calculates the probability of every error state by combining the experience and the sample data without network training, so it is faster than ANN and slower than LS-SVM method.
3. In terms of model’s understandability, the BN method describes causal relationships of factors inducing synthetic error by graph theory, so it helps users to gain understanding about a problem domain readily. Modeling with ANN or LS-SVM may need more professional knowledge.
Fig.3. Modeling comparison results in axial direction. (a) Deformation; (b) Residual error
Fig.4. Modeling comparison results in radial direction. (a) Deformation; (b) Residual error
To sum up the above arguments the LS-SVM model has comprehensive performance in forecast accuracy and calculating time, so it is extremely suitable for modeling synthetic error of NC machine tools on-line. Furthermore, taking the understandability of model into consideration, using the BN and LS-SVM methods together will be a perfect solution to modeling complex synthetic error behavior of a machine tool.
Table 1. Comparison of MAPE and calculating time among the three methods
5. Conclusion
This paper demonstrates three intelligent technology methods of artificial neural network, support vector machines and Bayesian networks to model and forecast synthetic errors of NC machine tools. The experiments were carried out to evaluate their merits and defects. The comparison result shows that all these three intellgent methods can work well in machine error modeling, how to use them depends on the requirements of the application. Especially, the LS-SVM model has comprehensive performance in high modeling accuracy and short calculating time, while BN model has better understandability than others. Therefore, using the BN and LS-SVM methods together may be a perfect solution to synthetic error modeling.
References
[1] Ramesh R, Mannan MA, Poo AN. Error compensation in machine tools - a review Part I: geometric, cutting-force induced and fixture dependent errors. Int. J. Machine Tools and Manuf. 2000; 40: 1235-1256.
[2] Ramesh R, Mannan MA, Poo AN, Keerthi SS. Thermal error measurement and modelling in machine tools. Part II. Hybrid Bayesian Network - support vector machine model. Int. J. Adv. Manuf. Tech.2003; 43: 405-419.
[3] Yang S, Yuan J, Ni J. The improvement of thermal error modeling and compensation on machine tools by CMAC neural network. Int. J. Machine Tools and Manuf. 1996; 36: 527-537.
[4] Chen JS. Fast calibration and modelling of thermally induced machine tool errors in real machining. Int. J. Machine Tools and Manuf. 1997; 37: 159-169.
[5] Mize CD, Ziegert JC. Neural network thermal error compensation of a machining center. Precision Engineering 2000; 24: 338-346.
[6] Fu JZ, Chen ZC. Research on modeling thermal dynamic errors of precision machine based on fuzzy logic and artificial neural network. J. Zhejiang Univ. (Eng. Sci.) 2004; 38: 742-746.
[7] Yang H, Ni J. Dynamic neural network modeling for nonlinear, nonstationary machine tool thermally induced error. Int. J. Adv. Manuf. Tech. 2005; 45: 455-465.
[8] Ramesh R, Mannan MA, Poo AN. Support vector machines model for classification of thermal error in machine tools. Int. J. Adv. Manuf. Tech.2002; 20: 114-120.
[9] LinWQ, Fu JZ, Chen ZC, Xu YZ. Modeling of NC Machine Tool Thermal Error Based on Adaptive Best-fitting WLS-SVM. J. Mechanical Engineering 2009; 45: 178-182.
[10] He ZY, Yao XH, Fu JZ, Chen ZC. Volumetric Error Prediction and Compensation of NC Machine Tool Based on Least Square Support Vector Machine. Adv. Sci. Letters. 2011; 4: 2066-2070.
[11] Heckerman D, Breese JS. Causal independence for probability assessment and inference using Bayesian networks. IEEE Trans. on Systems, Man, and Cybernetics-Part A: Systems and Humans 1996; 26: 826-831.
[12] Yao XH, Fu JZ, Chen ZC. Bayesian networks modeling for thermal error of numerical control machine tools. J. of Zhejiang Univ.: Sci. A 2008; 9: 1524-1530.
[13] Zhang MG, Li ZM, Li WH. Study on least squares support vector machines algorithm and its application. Proceedings of the 17th IEEE Int. Conf. on Tools with Artificial Intelligence, Washington, DC: IEEE Computer Society; 2005, p.1082-1085.
[14] Heckerman D. Bayesian networks for data mining. Data Mining and Knowledge Discovery 1997; 1: 79-119
基于智能技術(shù)的數(shù)控機(jī)床綜合誤差建模
姚新華,付建中,許粵通,雍禾
摘要
機(jī)床的精度在很大程度上受到錯誤或內(nèi)置到機(jī)床或發(fā)生在周期性基礎(chǔ)上約束帳戶的溫度變化或變化的切削力,所以它是必不可少的,以取得這些錯誤,然后消除或補(bǔ)償他們。然而,許多因素引起的誤差,如熱源,熱膨脹之間的相互作用系數(shù)時,機(jī)器的系統(tǒng)配置和運(yùn)行環(huán)境,創(chuàng)造了一種機(jī)床復(fù)雜的行為,并且還使得綜合誤差預(yù)測很難與傳統(tǒng)的數(shù)學(xué)。因此,一些建模方法基于非經(jīng)典數(shù)學(xué)已經(jīng)呈現(xiàn)在最近幾年。神經(jīng)網(wǎng)絡(luò)的智能化技術(shù)方法,支持向量機(jī),貝葉斯網(wǎng)絡(luò)是有效的建模和預(yù)測方法的機(jī)器誤差。所有這三種方法進(jìn)行了介紹在簡短的文件,并把它們的特點(diǎn)進(jìn)行了討論。一系列的實(shí)驗進(jìn)行了評價其優(yōu)點(diǎn)和缺陷。最后,提出了一些有關(guān)如何使用這些方法在不同情況下的重要結(jié)論。該在本文中做出的作品與智能技術(shù)的誤差建模中的一個特殊的總結(jié),并提供了有用的指導(dǎo)對數(shù)控機(jī)床誤差補(bǔ)償?shù)倪M(jìn)一步研究.
關(guān)鍵詞:合成誤差建模;神經(jīng)網(wǎng)絡(luò);支持向量機(jī);貝葉斯網(wǎng)絡(luò);智能技術(shù)
1 介紹
機(jī)器錯誤,包括切割力引起的, 夾具依賴性和熱誤差,這是我們的名字 這里綜合誤差從各種區(qū)別 個別錯誤,顯著影響精度 機(jī)床,所以它是必不可少的,以取得這些錯誤, 然后消除或補(bǔ)償他們[1]。在 機(jī)器誤差的預(yù)測,目前大多數(shù)的研究具有 專注于到達(dá)之間的直接關(guān)聯(lián) 通過獲得的監(jiān)測參數(shù)和錯誤數(shù)據(jù) 實(shí)驗。一旦相關(guān)性建立后,模型 然后用來預(yù)測下的任何其他誤差 基于所述監(jiān)測數(shù)據(jù)的條件[2]。
然而,一些困難一直保持在建模性能的合成的影響錯誤。由于機(jī)床的精度受到影響由于機(jī)床的精度受過程,另一個是不同的相互作用使其難以理解的關(guān)系各種因素之一。這些問題影響的模型直接精度,限制使用傳統(tǒng)的擬
收藏