Skip to main content
Log in

A spindle thermal error modeling based on 1DCNN-GRU-Attention architecture under controlled ambient temperature and active cooling

  • ORIGINAL ARTICLE
  • Published:
The International Journal of Advanced Manufacturing Technology Aims and scope Submit manuscript

Abstract

Ambient temperature control and active internal cooling can effectively reduce the impact of spindle thermal error. At the same time, the residual spindle thermal error fluctuates violently, which makes it difficult to predict the thermal error accurately. To combat this issue, experiments to identify the spindle thermal error with constant and variable spindle speed spectrums were designed. A deep learning model is proposed for thermal error prediction, wherein speed parameter is incorporated as an input variable alongside temperature variables. The proposed model adopts a 1D convolutional neural network-gated recurrent unit-attention (1DCNN-GRU-Attention) architecture. Within this model, the 1DCNN module is responsible for managing the highly collinear input data and extracting spatial information, followed by the GRU module which extracts temporal information. Furthermore, the attention mechanism of the model can re-weight the learned features. Ultimately, the regression layer is responsible for predicting thermal error. To verify the proposed model’s effectiveness, it was compared against seven other thermal error prediction models. The experimental results revealed that the convolutional module of the proposed model is highly effective and can replace the traditional temperature-sensitive point selection (TPS) method. Under multiple coupled factors, the proposed method achieved a prediction accuracy of 81.53%, with root-mean-square error (RMSE) lower than the traditional method by 40%.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16

Similar content being viewed by others

Data availability

Not applicable.

Code availability

Not applicable.

References

  1. Li Y, Yu M, Bai Y, Hou Z, Wu W (2021) A review of thermal error modeling methods for machine tools. Appl Sci 11:5216. https://doi.org/10.3390/app11115216

    Article  Google Scholar 

  2. Li Y, Zhao W, Lan S, Ni J, Wu W, Lu B (2015) A review on spindle thermal error compensation in machine tools. Int J Mach Tools Manuf 95:20–38. https://doi.org/10.1016/j.ijmachtools.2015.04.008

    Article  Google Scholar 

  3. Sun L, Ren M, Hong H, Yin Y (2016) Thermal error reduction based on thermodynamics structure optimization method for an ultra-precision machine tool. Int J Adv Manuf Technol 88:1267–1277. https://doi.org/10.1007/s00170-016-8868-x

    Article  Google Scholar 

  4. Than V-T, Wang C-C, Ngo T-T, Guo G-L (2022) Applying rapid heating for controlling thermal displacement of CNC lathe. Arch Mech Eng:519–539. https://doi.org/10.24425/ame.2022.140420

  5. Chengyang W, Sitong X, Wansheng X (2021) Spindle thermal error prediction approach based on thermal infrared images: a deep learning method. J Manuf Syst 59:67–80. https://doi.org/10.1016/j.jmsy.2021.01.013

    Article  Google Scholar 

  6. Peng J, Yin M, Cao L, Liao Q, Wang L, Yin G (2022) Study on the spindle axial thermal error of a five-axis machining center considering the thermal bending effect. Precis Eng 75:210–226. https://doi.org/10.1016/j.precisioneng.2022.02.009

    Article  Google Scholar 

  7. Fu G, Zhou L, Zheng Y, Lu C, Wang X, Xie L (2022) Improved unscented Kalman filter algorithm-based rapid identification of thermal errors of machine tool spindle for shortening thermal equilibrium time. Measurement 195:111121. https://doi.org/10.1016/j.measurement.2022.111121

    Article  Google Scholar 

  8. Liu H, Miao EM, Wei XY, Zhuang XD (2017) Robust modeling method for thermal error of CNC machine tools based on ridge regression algorithm. Int J Mach Tools Manuf 113:35–48. https://doi.org/10.1016/j.ijmachtools.2016.11.001

    Article  Google Scholar 

  9. Li Z, Wang Q, Zhu B, Wang B, Zhu W, Dai Y (2022) Thermal error modeling of high-speed electric spindle based on Aquila Optimizer optimized least squares support vector machine. Case Stud Thermal Eng 39. https://doi.org/10.1016/j.csite.2022.102432

  10. Li Z, Zhu B, Dai Y, Zhu W, Wang Q, Wang B (2021) Research on thermal error modeling of motorized spindle based on BP neural network optimized by Beetle Antennae Search Algorithm. Machines 9:286. https://doi.org/10.3390/machines9110286

    Article  Google Scholar 

  11. Liu J, Ma C, Gui H, Wang S (2021) Thermally-induced error compensation of spindle system based on long short term memory neural networks. Applied Soft Computing 102:107094. https://doi.org/10.1016/j.asoc.2021.107094

    Article  Google Scholar 

  12. Liu Z, Yang B, Ma C, Wang S, Yang Y (2020) Thermal error modeling of gear hobbing machine based on IGWO-GRNN. Int J Adv Manuf Technol 106:5001–5016. https://doi.org/10.1007/s00170-020-04957-z

    Article  Google Scholar 

  13. Kizaki T, Tsujimura S, Marukawa Y, Morimoto S, Kobayashi H (2021) Robust and accurate prediction of thermal error of machining centers under operations with cutting fluid supply. CIRP Ann 70:325–328. https://doi.org/10.1016/j.cirp.2021.04.074

    Article  Google Scholar 

  14. Zimmermann N, Mayr J, Wegener K (2022) Statistical analysis of self-optimizing thermal error compensation models for machine tools. Special Interest Group Meeting on Thermal Issues, ETH, Zurich, Switzerland

    Google Scholar 

  15. Li G, Tang X, Li Z, Xu K, Li C (2022) The temperature-sensitive point screening for spindle thermal error modeling based on IBGOA-feature selection. Precis Eng 73:140–152. https://doi.org/10.1016/j.precisioneng.2021.08.021

    Article  Google Scholar 

  16. Wei X, Gao F, Zhang J, Wang Y (2016) Thermal error compensation of CNC machine based on data-driven, 2016 IEEE International Conference on Cloud Computing and Big Data Analysis (ICCCBDA) 2016:421–424. https://doi.org/10.1109/ICCCBDA.2016.7529594

  17. Yang J, Shi H, Feng B, Zhao L, Ma C, Mei X (2014) Applying neural network based on fuzzy cluster pre-processing to thermal error modeling for coordinate boring machine. Procedia CIRP 17:698–703. https://doi.org/10.1016/j.procir.2014.01.080

    Article  Google Scholar 

  18. Zhou Z, Hu J, Liu Q, Lou P, Yan J, Hu J, Gui L (2019) The selection of key temperature measurement points for thermal error modeling of heavy-duty computer numerical control machine tools with density peaks clustering. Adv Mech Eng 11. https://doi.org/10.1177/1687814019839513

  19. Zhu M, Yang Y, Feng X, Du Z, Yang J (2022) Robust modeling method for thermal error of CNC machine tools based on random forest algorithm. J Intell Manuf:1–14. https://doi.org/10.1007/s10845-021-01894-w

  20. Kumar S, Srinivasu DS (2022) Optimal number of thermal hotspots selection on motorized milling spindle to predict its thermal deformation. Mater Today: Proc 62:3376–3385. https://doi.org/10.1016/j.matpr.2022.04.267

    Article  Google Scholar 

  21. Xiang S, Yao X, Du Z, Yang J (2018) Dynamic linearization modeling approach for spindle thermal errors of machine tools. Mechatronics 53:215–228. https://doi.org/10.1016/j.mechatronics.2018.06.018

    Article  Google Scholar 

  22. Chuo YS, Lee JW, Mun CH, Noh IW, Rezvani S, Kim DC, Lee J, Lee SW, Park SS (2022) Artificial intelligence enabled smart machining and machine tools. J Mech Sci Technol 36:1–23. https://doi.org/10.1007/s12206-021-1201-0

    Article  Google Scholar 

  23. Ma C, Gui H, Liu J (2021) Self learning-empowered thermal error control method of precision machine tools based on digital twin. J Intell Manuf 34:695–717. https://doi.org/10.1007/s10845-021-01821-z

    Article  Google Scholar 

  24. Chen Y, Chen J, Xu G (2021) A data-driven model for thermal error prediction considering thermoelasticity with gated recurrent unit attention. Measurement 184:109891. https://doi.org/10.1016/j.measurement.2021.109891

    Article  Google Scholar 

  25. Liu J, Ma C, Gui H, Wang S (2022) Transfer learning-based thermal error prediction and control with deep residual LSTM network. Knowledge-Based Syst 237:107704. https://doi.org/10.1016/j.knosys.2021.107704

    Article  Google Scholar 

  26. ISO 230–3 (2020) Test code for machine tools part 3: determination of thermal effects. Int Organ Stand, Geneva, Switzerland

  27. Fu G, Tao C, Xie Y, Lu C, Gao H (2021) Temperature-sensitive point selection for thermal error modeling of machine tool spindle by considering heat source regions. Int J Adv Manuf Technol 112:2447–2460. https://doi.org/10.1007/s00170-020-06417-0

    Article  Google Scholar 

  28. Liang YC, Li WD, Lou P, Hu JM (2022) Thermal error prediction for heavy-duty CNC machines enabled by long short-term memory networks and fog-cloud architecture. J Manuf Syst 62:950–963. https://doi.org/10.1016/j.jmsy.2020.10.008

    Article  Google Scholar 

  29. LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521:436–444. https://doi.org/10.1038/nature14539

    Article  Google Scholar 

  30. Du L, Lv F, Li R, Li B (2021) Thermal error compensation method for CNC machine tools based on deep convolution neural network. J Phys: Conf Ser 1948:012165. https://doi.org/10.1088/1742-6596/1948/1/012165

    Article  Google Scholar 

  31. Huang S, Tang J, Dai J, Wang Y (2019) Signal status recognition based on 1DCNN and its feature extraction mechanism analysis. Sensors (Basel) 19:2018. https://doi.org/10.3390/s19092018

    Article  Google Scholar 

  32. Cho K, Van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y (2014) Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078. https://doi.org/10.48550/arXiv.1406.1078

  33. Liu J, Gui H, Ma C (2021) Digital twin system of thermal error control for a large-size gear profile grinder enabled by gated recurrent unit. J Ambient Intell Humaniz Comput 14:1269–1295. https://doi.org/10.1007/s12652-021-03378-4

    Article  Google Scholar 

  34. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I (2017) Attention is all you need. Adv Neural Inf Process Syst, 2017:5998–6008. https://doi.org/10.48550/arXiv.1706.03762

Download references

Funding

This work was supported by the Ministry of Science and Technology (No. 2018YFB1306802) and the National Natural Science Foundation of China (Nos. 51975344 and 52075337).

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design. Material preparation, data collection, and analysis were performed by Guangjie Jia, Xu Zhang, and Nuodi Huang. The first draft of the manuscript was written by Guangjie Jia, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Nuodi Huang.

Ethics declarations

Ethics approval

Not applicable.

Consent to participate

Not applicable.

Consent for publication

Not applicable.

Conflict of interest

The authors declare no competing interests.

Additional information

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Jia, G., Zhang, X., Wang, X. et al. A spindle thermal error modeling based on 1DCNN-GRU-Attention architecture under controlled ambient temperature and active cooling. Int J Adv Manuf Technol 127, 1525–1539 (2023). https://doi.org/10.1007/s00170-023-11616-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00170-023-11616-6

Keywords

Navigation