A Comprehensive Prediction and Compensation Method of Spindle Thermal Error for a CNC Grinding Machine

Yun Zhang,Zhanguang Liu,Qingyu Liu,Dong Wang,Xuekun Li
DOI: https://doi.org/10.1016/j.dte.2024.100012
2024-01-01
Abstract:The thermal effect caused by the spindle system is a critical factor that has an impact on the accuracy of the computer numerical control (CNC) internal grinder. It is meaningful to obtain the spindle thermal error compensation for shortening the heating time and further improving the processing efficiency. This paper proposed a prediction and compensation method for spindle thermal error. First, a thermal error model for prediction on the basis of gated recurrent unit (GRU) was built. Meanwhile, improved Monte Carlo cross-validation was introduced to enhance the model’s generalizability. Extra trees (ETs) and recursive feature elimination with cross-validation (RFECV) were further used for the selection of the optimal set of temperature-sensitive points. Moreover, an all-zero dataset was utilized to expand the training datasets and improve the prediction accuracy. Finally, the applicability of the proposed method was verified by performing 5 contrast experiments and a real-time compensation experiment. It was found that the residual displacement error was less than 3.4 μm after compensation. This result demonstrates that the proposed prediction and compensation method for the spindle thermal error is effective and has certain practical significance.
What problem does this paper attempt to address?