高速电主轴温度预测:融合Ansys仿真与TCN-gMLP算法

Temperature prediction of high-speed motorized spindles: fusing Ansys simulation with TCN-gMLP algorithm

  • 摘要: 热误差是高速电主轴系统加工精度损失的核心诱因,本质由主轴内部热状态动态变化所致。当前电主轴热特性研究主要面临两个问题,一是电主轴核心发热部件处于密闭结构,内部热状态无法通过传感器直接测量;二是电主轴多转速工况下的温度演化具有强非线性、强时空耦合特性,现有模型难以实现跨工况的时序泛化预测。为此,提出了一种高精度的电主轴温度预测模型,旨在精准预测不同转速下的内部温度变化。首先,基于仿真软件构建多工况电主轴温度场有限元仿真模型,在充分考虑了电主轴内部零件之间的热交换的情况下,获取了主轴内部关键部件的温度时序数据。其次,构建基于时序卷积网络(temporal convolutional network, TCN)与门控多层感知器(gated multi-layer perceptron, gMLP)的温度预测模型,其中TCN模块和gMLP模块分别提取时间特征与空间特征。最后,将该模型与长短期记忆网络(long short-term memory,LSTM)、门控循环单元(gate recurrent unit,GRU)、卷积神经网络-长短期记忆网络(convolutional neural network-long short-term memory,CNN-LSTM)、卷积门控循环单元(convolutional neural network-gated recurrent unit, CNN-GRU)、Transformer等主流时序预测模型进行对比,结果显示所提TCN-gMLP模型的预测精度显著优于对比模型,决定系数(R2)达99.98%,均方误差(mean squared error, MSE)为0.030 1,均方根误差(root mean squared error, RMSE)为0.036 3。

     

    Abstract: Thermal error, the primary cause of machining accuracy loss in high-speed motorized spindle systems, which is essentially caused by the dynamic variation of the spindle's internal thermal state. Current research on spindle thermal characteristics encounters two key problems. Firstly, the core heat-generating components are enclosed in a sealed structure, so the internal thermal state cannot be directly measured by sensors. Secondly, temperature evolution of the motorized spindle under multi-speed conditions presents strong nonlinearity and spatiotemporal coupling, and existing models fail to realize temporal generalization prediction across working conditions. To address this issue, a high-precision temperature prediction model for motorized spindles is proposed to accurately predict internal temperature changes at different rotational speeds. Firstly, a finite element simulation model of spindle temperature field under multiple working conditions is established by simulation software. With full consideration of heat exchange among internal spindle components, temporal temperature data of key internal parts are obtained. Then, a prediction model based on temporal convolutional network (TCN) and gated multi-layer perceptron (gMLP) is constructed, in which the TCN and gMLP modules extract temporal and spatial features respectively. Performance comparisons with mainstream time-series prediction models such as LSTM, GRU, CNN-LSTM, CNN-GRU, and Transformer show that the proposed TCN-gMLP model significantly outperforms the comparative models, with a coefficient of determination (R2) reaching 99.98%, a mean squared error (MSE) of 0.0301, and a root mean squared error (RMSE) of 0.0363.

     

/

返回文章
返回