Skip to main content
Log in

Robust modeling method for thermal error of CNC machine tools based on random forest algorithm

  • Published:
Journal of Intelligent Manufacturing Aims and scope Submit manuscript

Abstract

Thermal error of machine tools has a huge influence on the accuracy of the workpiece. However, the nonlinearity of the thermal error limits the accuracy and robustness of the prediction model. With the rapid advancement in artificial intelligence, this paper presents a novel thermal error modeling method based on random forest. The model’s hyper-parameters are easy to be optimized by grid searching method integrating with cross validation. The temperature features are measured as the model input. Based on the out-of-bag data generated during modeling process, the proposed model itself can simultaneously evaluate the temperature feature importance through comparing the decrease in model’s the prediction accuracy after randomly shuffling the value of the target feature. Moreover, to enhance the model performance and reduce the measurement and computational cost, the method of selecting key temperature points are presented to exclude the redundant features through iteratively eliminating the least important feature and comparing the prediction accuracy under different feature combinations. Furthermore, the hysteresis effect between temperature and deformation is also considered. The method of determining the time lag is proposed through permuting the original time series of the target feature while keeping the remainder constant and comparing the resultant relative importance. A thermal error experiment validates the accuracy and robustness of the proposed model which can continuously maintain the prediction accuracy of over 90% in spite of varying operation conditions. Compared to conventional machine learning methods, the proposed model requires less training data, enables faster and more intuitive parameter tuning, achieves higher prediction accuracy, and has stronger robustness.

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

Similar content being viewed by others

References

Download references

Acknowledgements

This work is financially supported by the National Key R&D Program of China (Grant No. 2018YFB1701204).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhengchun Du.

Additional information

Publisher's Note

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

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhu, M., Yang, Y., Feng, X. et al. Robust modeling method for thermal error of CNC machine tools based on random forest algorithm. J Intell Manuf 34, 2013–2026 (2023). https://doi.org/10.1007/s10845-021-01894-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10845-021-01894-w

Keywords

Navigation