Physics-Guided Multi-Source Fusion Geometric Error Compensation and Knowledge Distillation Verification Platform for Large CNC Machine Tools
Abstract
When verifying geometric-thermal coupling error compensation algorithms for large CNC machine tools on real equipment, there exist problems such as high experimental costs, difficulty in unifying working conditions, and unfair comparison of different compensation strategies. To solve these problems, this paper builds a physics-guided digital verification platform for multi-source fusion geometric error compensation and knowledge distillation. The platform first establishes a physical error model covering 21 geometric errors, Abbe/Bryan coupling effects and component-level dynamic thermal responses, which is used to generate geometric-thermal coupling error data with ground-truth labels under different working conditions. On this basis, multi-source sensor observations of encoders, gyroscopes and laser interferometers are simulated, and adaptive Kalman filtering based on innovation statistics is adopted to realize error state fusion and uncertainty estimation. For the model part, an LSTM teacher network with physical consistency constraints is trained, and then a lightweight student network is obtained through output and feature knowledge distillation. Closed-loop evaluation is carried out under unified execution constraints, combined with uncertainty gating and virtual CNC execution module. Test results show that the distilled student network has an RMSE of 65.851 μm, which is 74.5% lower than that without compensation, and close to 65.140 μm of PID; its P95 error is 120.819 μm; it has 2182 parameters, about 96.0% less than the physics-guided LSTM. This platform can be used for digital verification and performance reproduction of intelligent compensation algorithms for large CNC machine tools before engineering deployment. The involved methods of multi-source data fusion, deep learning modeling and knowledge distillation lightweighting are also specific applications of data science and intelligent computing in industrial scenarios.
References
- Mayr, J., Jedrzejewski, J., Uhlmann, E., et al. (2012). Thermal issues in machine tools.CIRP Annals, 61(2), 771-791. https://doi.org/10.1016/j.cirp.2012.05.008
- Li, Y., Zhao, W., Lan, S., et al. (2015). A review on spindle thermal error compensation in machine tools.International Journal of Machine Tools and Manufacture, 95, 20-38. https://doi.org/10.1016/j.ijmachtools.2015.04.008
- Ramesh, R., Mannan, M. A., & Poo, A. N. (2000). Error compensation in machine tools — a review: Part I: geometric, cutting-force induced and fixture-dependent errors.International Journal of Machine Tools and Manufacture, 40(9), 1235-1256. https://doi.org/10.1016/S0890-6955(00)00009-2
- Schwenke, H., Knapp, W., Haitjema, H., et al. (2008). Geometric error measurement and compensation of machines — an update.CIRP Annals, 57(2), 660-675. https://doi.org/10.1016/j.cirp.2008.09.008
- Sun, G., Han, B., Zhang, D., et al. (2025). Research progress on spatial error modeling and identification methods for CNC machine tools oriented to error compensation.Journal of Mechanical Engineering, 61(19), 202-228. https://doi.org/10.3901/JME.2025.19.202
- Huang, M., Niu, X., Niu, J., et al. (2024). Geometric error analysis and modeling of three-axis CNC machine tools.Journal of Tianjin University of Technology, 40(1), 22-29.
- Zhang, C. (2022).Research on on-line measurement and active compensation technology of geometric error for large-scale machine tools[Doctoral dissertation]. Tianjin University.
- Huang, Y. B., Fan, K. C., Lou, Z. F., et al. (2020). A novel modeling of volumetric errors of three-axis machine tools based on Abbe and Bryan principles.International Journal of Machine Tools and Manufacture, 151, 103527. https://doi.org/10.1016/j.ijmachtools.2020.103527
- Ma, C., Li, M., Liu, J., et al. (2025). Application research of thermal error compensation in digital twin system.Journal of Harbin University of Science and Technology, 30(1), 129-137. https://doi.org/10.15938/j.jhust.2025.01.013
- Mohamed, A. H., & Schwarz, K. P. (1999). Adaptive Kalman filtering for INS/GPS.Journal of Geodesy, 73(4), 193-203. https://doi.org/10.1007/s001900050236
- Limaverde Filho, J. O. A., Fortaleza, E. L. F., & Silva, J. G., et al. (2022). Adaptive Kalman filtering for closed-loop systems based on the observation vector covariance.International Journal of Control, 95(7), 1731-1746.
- Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory.Neural Computation, 9(8), 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735
- Zhao, X. R., Hu, Z. W., Tang, J., et al. (2025). Research on machine tool thermal error compensation based on an optimized LSTM model.Actuators, 14(12), 567. https://doi.org/10.3390/act14120567
- Yuan, Q., Ma, C., Liu, J., et al. (2022). Correlation analysis-based thermal error control with ITSA-GRU-A model and cloud-edge-physical collaboration framework.Advanced Engineering Informatics, 54, 101759. https://doi.org/10.1016/j.aei.2022.101759
- Raissi, M., Perdikaris, P., & Karniadakis, G. E. (2019). Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations.Journal of Computational Physics, 378, 686-707. https://doi.org/10.1016/j.jcp.2018.10.045
- Cuomo, S., Schiano Di Cola, V., Giampaolo, F., et al. (2022). Scientific machine learning through physics-informed neural networks: Where we are and what's next.Journal of Scientific Computing, 92, 88. https://doi.org/10.1007/s10915-022-01939-z
- Hinton, G., Vinyals, O., & Dean, J. (2015). Distilling the knowledge in a neural network [Preprint].arXiv. https://doi.org/10.48550/arXiv.1503.02531
- Gou, J., Yu, B., Maybank, S. J., et al. (2021). Knowledge distillation: A survey.International Journal of Computer Vision, 129(6), 1789-1819. https://doi.org/10.1007/s11263-021-01453-z
- Tao, F., Zhang, H., Liu, A., et al. (2019). Digital twin in industry: State-of-the-art.IEEE Transactions on Industrial Informatics, 15(4), 2405-2415. https://doi.org/10.1109/TII.2018.2873186
- Ji, S., Ni, H., Hu, T., et al. (2024). DT-CEPA: A digital twin-driven contour error prediction approach for machine tools based on hybrid modeling and sparse time series.Robotics and Computer-Integrated Manufacturing, 88, 102738. https://doi.org/10.1016/j.rcim.2024.102738