基于Modelica-LSTM双驱动的数字孪生机床热误差补偿模型构建

Construction of a dual-driven digital twin model for thermal error compensation of machine tools based on Modelica-LSTM

  • 摘要: 针对数控机床在高速、高负载运行中因热变形导致的热误差问题,提出一种基于Modelica多领域建模与长短期记忆网络(long short-term memory, LSTM)联合驱动的热误差补偿方法。通过Modelica构建机床机械、电气、热力学多物理场耦合的高保真数字孪生模型,结合LSTM对机理模型未覆盖的非线性动态误差进行数据驱动补偿。实验以五轴数控加工中心DMG MORI DMU 50为对象,在预热、阶梯加载及扰动工况下采集温度、振动和热误差数据,验证模型性能。结果表明,Modelica-LSTM双驱动模型相较于单一Modelica机理模型,均方根误差降低51.2%,补偿后误差波动幅度减少72%,在高温及动态工况下显著提升预测精度。该方法为高精密机床热误差补偿提供了物理与数据协同驱动的有效解决方案。

     

    Abstract: To address the thermal error problem caused by thermal deformation in CNC machine tools under high-speed and heavy-load operations, a thermal error compensation method integrating Modelica-based multi-domain modeling with long short-term memory (LSTM) network is proposed. A high-fidelity digital twin model coupling mechanical, electrical, and thermodynamic multi-physics fields is established using Modelica, while the LSTM network provides data-driven compensation for nonlinear dynamic errors uncovered by the physical mechanism model. Experiments were conducted on a DMG MORI DMU 50 five-axis machining center to validate model performance through data collection of temperature, vibration, and thermal errors under preheating, step loading, and disturbance conditions. Results demonstrate that compared with the pure Modelica mechanism model, the Modelica-LSTM model achieves 51.2% reduction in root mean square error and 72% decrease in error fluctuation amplitude after compensation, showing significant prediction accuracy improvement under high-temperature and dynamic conditions. This method provides an effective physics-data collaborative solution for thermal error compensation in high-precision machine tools.

     

/

返回文章
返回