Skip to main content
Intended for healthcare professionals
Restricted access
Research article
First published online April 9, 2026

Dynamic thermal error modelling and real-time compensation of high-speed electric spindle based on BKA optimised deep neural network

Abstract

Thermal error is a critical factor limiting the machining precision of high-speed motorised spindles, posing an urgent demand for high-performance prediction models. To address the deficiencies of traditional methods in handling multi-heat-source coupling and nonlinear mapping, this study proposes a BKA-DNN model. First, the thermal network method is employed to optimise 10 temperature measurement points into four sensitive ones, simplifying the input dimension while retaining key thermal information. Then, the Black-winged Kite Algorithm (BKA) is introduced to optimise the Deep Neural Network (DNN), balancing global exploration and local exploitation to overcome the DNN’s tendency to fall into local minima. Experimental results show that the BKA-DNN achieves prediction accuracies of 95.38% and 96.13% at 4000 and 8000 r/min, respectively, outperforming SSA-DNN by 2.21%–2.38% and traditional DNN by 11.64%–13.53%. This robust approach provides a reliable solution for thermal error prediction, effectively enhancing the stability and precision of high-speed spindle systems and supporting high-precision manufacturing in fields such as semiconductor and aerospace engineering.

Get full access to this article

View all access and purchase options for this article.

Data availability statement

The data are contained within the article.

References

1. Li Z, Zhu W. Research progress on thermal error compensation and structure optimisation of high-speed spindles. J Harbin Inst Technol 2023; 28(06): 13–23. https://doi.org/10.15938/j.jhust.2023.06.002
2. Grama SN, Mathur A, Badhe AN, et al. A model-based cooling strategy for motorized spindle to reduce thermal errors. Int J Mach Tools Manuf 2018; 132: 3–16. https://doi.org/10.1016/j.ijmachtools.2018.04.004
3. Guo L. Research on modeling thermal error of CNC machine tool spindle based on QGA algorithm optimized support vector machine regression. Aerosp Precis Manuf Technol 2023; 59(04): 40–44.
4. Wan S, Xu P, Wang K, et al. Estimation of distributed thermal boundary based on fuzzy clustering of temperature observable points. Int J Heat Mass Transf 2020; 147: 118920. https://doi.org/10.1016/j.ijheatmasstransfer.2019.118920
5. Yang H, Xiang S, Liu L, et al. Online compensation for CNC machine thermal error based on optimal weights-based combined modeling. Trans Chin Soc Agric Mach 2012; 43(5): 216–221.
6. Huang Z, Liu Y, Deng T, et al. Thermal error modeling method of five-axis numerical control machine tool. China Mech Eng 2020; 31(13): 1529–1538.
7. Li Y, Zhao W, Wu W, et al. Boundary conditions optimization of spindle thermal error analysis and thermal key points selection based on inverse heat conduction. Int J Adv Manuf Technol 2017; 90(9–12): 2803–2812.
8. Chen M, Zhuang W, Deng S, et al. Thermal analysis of the triple-phase asynchronous motor-reducer coupling system by thermal network method. Proc Inst Mech Eng D J Automobile Eng 2020; 234(12): 2851–2861. https://doi.org/10.1177/0954407020916991
9. Fei W, Narsilio GA. Estimation of thermal conductivity of cemented sands using thermal network models. J Rock Mech Geotechnical Eng 2022; 14(1): 210–218. https://doi.org/10.1016/j.jrmge.2021.08.008
10. Su C, Chen W. An optimized thermal network model to evaluate the thermal behavior on motorized spindle considering lubricating oil and contact factors. Proc Inst Mech Eng C J Mech Eng Sci 2022; 236: 7484–7499.
11. Gao Z, Qi X, Chang L, et al. Thermal structure coupling calculation of electric spindle based on thermal network method. Mod Manuf Eng 2021; (06): 75–82. https://doi.org/10.16731/j.cnki.1671-3133.2021.06.013
12. Xiang Z, Liu Y, Zhao W. Deep neural networks-based assessment of voltage sag risks. Elect Eng 2024; (18): 105–107. https://doi.org/10.19768/j.cnki.dgjs.2024.18.029
13. Sharma SD, Sharma S, Singh R, et al. Deep recurrent neural network assisted stress detection system for working professionals. Appl Sci 2022; 12(17): 8678. https://doi.org/10.3390/app12178678
14. Lan P, Xia K, Pan Y, et al. An improved equilibrium optimizer algorithm and its application in LSTM neural network. Symmetry 2021; 13: 1706.
15. Huang S, Jiang C, Tian Z, et al. Optimization of precision molding process parameters of viscoelastic materials based on BP neural network improved by genetic algorithm. Materials Today Communications 2023; 35: 106149. https://doi.org/10.1016/j.mtcomm.2023.106149
16. Zhang H. Research on thermal error modeling of machining center spindle based on improved RBF network. Tech Autom Appl 2019; 38(01): 60–64.
17. Ma J, Hao Z, Sun W. Enhancing sparrow search algorithm via multi-strategies for continuous optimization problems. Inf Process Manag 2022; 59(2): 102854. https://doi.org/10.1016/j.ipm.2021.102854
18. Li K-Y, Maurya SN, Lee YH, et al. Thermal deformation and economic analysis of a multiobject cooling system for spindles with varied coolant volume control. Int J Adv Manuf Technol 2023; 126: 1807–1825. https://doi.org/10.1007/s00170-023-10988-z
19. Maurya SN, Li K-Y, Luo W-J, et al. Effect of coolant temperature on the thermal compensation of a machine tool. Machines 2022; 10(12). 1201. https://doi.org/10.3390/machines10121201
20. Hsieh MC, Maurya SN, Luo WJ, et al. Coolant volume prediction for spindle cooler with adaptive neuro-Fuzzy inference system control method. Sens Mater 2022; 34(6). 2447–2466. https://doi.org/10.18494/sam3794
21. Huang W, Lu L, Xu S. Short-term power load forecasting based on black-winged kite optimised long and short-term memory networks. Mod Ind Econ Inf 2025; 15(03): 272–273. https://doi.org/10.16525/j.cnki.14-1362/n.2025.03.089
22. Xu T, Lv H, Lin S, et al. A fault diagnosis method based on improved parallel convolutional neural network for rolling bearing. Proc Inst Mech Eng G J Aerosp Eng 2023; 237(12): 2759–2771. https://doi.org/10.1177/09544100231158421
23. Yang J, Shi H, Feng B, et al. Thermal error modeling and compensation for a high-speed motorized spindle. Int J Adv Manuf Technol 2015; 77(5–8): 1005–1017.
24. Lu Z, Yan Y, Wang SH. CMB-net: a deep convolutional neural network for diagnosis of cerebral microbleeds. Multimed Tools Appl 2022; 81: 19195–19214. https://doi.org/10.1007/s11042-021-10566-z