Skip to main content
QUICK REVIEW

[Paper Review] Global Attention-based Encoder-Decoder LSTM Model for Temperature Prediction of Permanent Magnet Synchronous Motors

Jun Li, Thangarajah Akilan|arXiv (Cornell University)|Jul 30, 2022
Electric Motor Design and AnalysisEngineering7 citations
TL;DR

This paper proposes a global attention-based encoder-decoder LSTM model to predict the internal temperatures of permanent magnet synchronous motors (PMSMs) using external measurable inputs like current, voltage, and speed. The model achieves a state-of-the-art MSE of 1.72 and MAE of 5.34, outperforming baseline LSTMs and bidirectional models by up to 56% in MSE reduction through improved attention-driven sequence alignment.

ABSTRACT

Temperature monitoring is critical for electrical motors to determine if device protection measures should be executed. However, the complexity of the internal structure of Permanent Magnet Synchronous Motors (PMSM) makes the direct temperature measurement of the internal components difficult. This work pragmatically develops three deep learning models to estimate the PMSMs' internal temperature based on readily measurable external quantities. The proposed supervised learning models exploit Long Short-Term Memory (LSTM) modules, bidirectional LSTM, and attention mechanism to form encoder-decoder structures to predict simultaneously the temperatures of the stator winding, tooth, yoke, and permanent magnet. Experiments were conducted in an exhaustive manner on a benchmark dataset to verify the proposed models' performances. The comparative analysis shows that the proposed global attention-based encoder-decoder (EnDec) model provides a competitive overall performance of 1.72 Mean Squared Error (MSE) and 5.34 Mean Absolute Error (MAE).

Motivation & Objective

  • Address the challenge of predicting internal PMSM temperatures due to complex internal structures and limited sensor placement.
  • Develop data-driven deep learning models that estimate stator winding, tooth, yoke, and permanent magnet temperatures using only external electrical and mechanical inputs.
  • Improve prediction accuracy over traditional models by leveraging sequence modeling with attention mechanisms.
  • Systematically evaluate model variants including standard LSTM, bidirectional LSTM, and global attention-based encoder-decoder architectures.
  • Demonstrate superior performance and robustness for real-time thermal stress prediction in electric vehicle applications.

Proposed method

  • Design a sequence-to-sequence encoder-decoder LSTM architecture to map time-series inputs (voltage, current, speed, ambient and coolant temperatures) to multi-target temperature outputs.
  • Implement a bidirectional encoder-decoder LSTM to capture long-range dependencies in both forward and backward temporal directions.
  • Integrate a global attention mechanism into the decoder to dynamically weigh encoder states based on relevance to the current prediction step.
  • Train all models end-to-end using a benchmark dataset collected from a 52 kW PMSM with embedded thermocouples and dSPACE data acquisition.
  • Use mean squared error (MSE) and mean absolute error (MAE) as evaluation metrics across all target components.
  • Conduct ablation studies to isolate the impact of attention and bidirectional structures on performance and inference time.

Experimental results

Research questions

  • RQ1Can a global attention-based encoder-decoder LSTM model achieve superior temperature prediction accuracy for multiple PMSM components compared to standard and bidirectional LSTM baselines?
  • RQ2How does the attention mechanism improve prediction performance when there is unpredictable temporal lag between input and output signals?
  • RQ3What is the trade-off between model complexity, inference time, and prediction accuracy when adding bidirectional encoding and attention mechanisms?
  • RQ4To what extent does the proposed model outperform existing state-of-the-art models like TCN in multi-target PMSM temperature prediction?
  • RQ5Does the attention mechanism enhance robustness in the presence of heterogeneous and non-stationary thermal dynamics across PMSM components?

Key findings

  • The global attention-based encoder-decoder LSTM achieved the best overall performance with an MSE of 1.72 and MAE of 5.34 on the test set.
  • The attention mechanism improved prediction precision by approximately 31% in MSE compared to the standard encoder-decoder LSTM, despite adding only 400 parameters.
  • The bidirectional LSTM model, while having triple the parameters and 19 ms inference time per batch, underperformed with an MSE of 3.94 and MAE of 6.39.
  • The proposed model reduced MSE by 56% and MAE by 16% compared to the bidirectional LSTM model, demonstrating the effectiveness of attention over bidirectionality.
  • The model outperformed the TCN-based model from prior work by more than 43% in MSE and over 15% in MAE, establishing a new state-of-the-art for multi-target PMSM temperature prediction.
  • The attention mechanism effectively handled unpredictable temporal lags between input and output signals, improving alignment and prediction accuracy across all components.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.