The spindle is a critical component that significantly influences the performance of machine tools. In motorized spindles, heat generation from both the bearings and built-in motor leads to thermal deformation of structural components, which, in turn, affects machining accuracy. This study investigates the thermo-mechanical behavior of motorized spindles under various operational conditions, with the aim of accurately predicting thermally induced axial deformation and determining optimal temperature sensor placement. To achieve this, temperature rise and deformation data were simultaneously collected using appropriate data acquisition systems across varying spindle speeds. A correlation analysis confirmed a strong positive relationship exceeding 97.5% between temperature rise at all sensor locations and axial thermal deformation. Multivariate regression analysis was then applied to identify optimal combinations of sensor data for accurate deformation prediction. Additionally, a finite element (FE) thermal–mechanical model was developed to simulate spindle behavior, with the results validated against experimental measurements and regression model predictions. The four-variable regression model and FE simulation achieved Root Mean Square Errors (RMSEs) of 0.84 µm and 0.82 µm, respectively, both demonstrating close agreement with experimental data and effectively capturing the trend of thermal deformation over time under different operating conditions. Finally, an optimal sensor configuration was identified that minimizes pre-diction error while reducing the number of required sensors. Overall, the proposed methodology offers valuable insights for optimizing spindle design to enhance thermal–mechanical performance.
The application of digital twin (DT) technology to intelligent machining shows promise, but its effectiveness in predicting vibration and assessing surface quality has not been thoroughly validated for widespread industrial use. This study presents a physics-informed predictive digital twin framework operating in an offline or near-real-time predictive configuration for vibration prediction and surface roughness modeling in milling processes. Impact hammer testing was conducted to extract the dominant modal properties of the spindle–tool assembly, which were embedded into a Simulink-based dynamic framework to predict tool vibration under varying cutting conditions. Full-immersion slot milling experiments on AL6061 were performed for validation. Within all datasets, including training phase and validation phase, the predicted vibration amplitudes exhibit a coefficient of determination with measured values. The overall MAPE and RMSE are about 10.39% and 0.234, respectively. Power-law regression-based surface roughness prediction models were subsequently established using cutting parameters and both measured and DT-predicted vibration features through logarithmic transformation and least-squares fitting. The results show that the roughness prediction model using vibration features predicted by the digital twin model achieved a correlation coefficient of approximately , with MAPE = 9.57% and RMSE = 0.16 μm, which is comparable to the predictive model based on experimentally measured vibration. These results indicate that, within the investigated machining conditions, the digital twin can provide vibration features suitable for surface roughness prediction, demonstrating its potential as a virtual sensing approach. This work advances digital twin applications from process monitoring toward predictive, quality-oriented machining systems and provides a foundation for adaptive parameter updating in intelligent manufacturing environments.