Skip to content

An LPTN informed LSTM for real-time multi-temperature estimation in PMSMs

License

Notifications You must be signed in to change notification settings

Zirui24/lptn_informed_LSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 5, 2024
98e4566 · Jun 5, 2024

History

16 Commits
Jan 10, 2024
Jun 3, 2024
Jun 3, 2024
Jan 10, 2024
Jun 5, 2024

Repository files navigation

Temperature Estimation in PMSMs using LPTN-informed LSTM neural network

This repository contains the implementation and results of a LPTN-informed LSTM for multi-node temperature estimation in PMSMs.

The simulation for PE condition validation and the overall 23.8 hours dataset is available in this repository.

lptn_informed_LSTM.ipynb file will be uploaded once the manuscript is available in early access. In the interim, you can request a personal copy of the code file by emailing me directly or sending me a direct message.

random operation

Project Structure

  • \dataset: Temperature and operation states Dataset for the tested IPMSM.
  • \matlab_PEcondition: A simulation file using MATLAB\simulink to demonstrate the potentional limitation in third or high order LPTN global parameter identification
  • \python_LPTN_informed_LSTM: Script for training the LSTM model.
  • lstm_training.py: Script for training the LPTN-informed LSTM model.

Results

The project results include temperature estimations and errors for various components of the PMSM, along with operational parameters such as speed and torque over time. The results are visualized in two separate figures, each showing 10 subplots of temperature estimation results and errors with random operation and the Federal-Test-Procedure-75_driving_cycle (the driving cycle is not put in the manuscript).

random operation

*Fig.1 Temperature Estimation results under random operation.

federal Test Procedure 75 cycle

*Fig.2 Temperature Estimation results under Federal-Test-Procedure-75_driving cycle.

Speed and Torque Analysis

The first row of the subplot matrix represents the speed and torque of the PMSM over time. These operational parameters are crucial as they impact the thermal behavior of the motor.

Temperature Estimation

Subsequent rows show the actual and estimated temperatures for different components of the PMSM (bearing, rotor, active wind, etc.). The estimations are made using an LSTM network that has been trained and validated using K-fold cross-validation.

Estimation Error

The second column of the subplot matrix highlights the estimation error, which is the difference between the actual data and LSTM predictions. This error analysis is critical for understanding the model's accuracy and identifying areas for improvement.

Usage

To reproduce the results and visualizations, follow these steps:

  1. Every code is in lptn_informed_LSTM.ipynb including the third-order LPTN, definition and training of LPTN-informed LSTM, hyperparameter searching .
    • Ensure you have a suitable GPU (tested with RTX2060) to run the hyperparameter searching which at the end of this nootboke, and that the estimated runtime of approximately 11.5 hours is acceptable for your setup.
  2. The lptn_informed_LSTM.ipynb file will be uploaded once the manuscript is available in early access.

Contributing & Citing

Contributions to the project are welcome. Please ensure to follow the existing code structure and document any changes or additions clearly.

The lptn-informed LSTM is first introducted at (Early Access)

@ARTICLE{10547453,
  author={Liu, Zirui and Kong, Wubin and Fan, Xinggang and Li, Zimin and Peng, Kai and Qu, Ronghai},
  journal={IEEE Transactions on Power Electronics}, 
  title={Hybrid Thermal Modeling with LPTNInformed Neural Network for Multi-Node Temperature Estimation in PMSM}, 
  year={2024},
  volume={},
  number={},
  pages={1-12},
  keywords={Estimation;Parameter estimation;Temperature sensors;Mathematical models;Motors;Uncertainty;Long short term memory;Lumped-Parameter Thermal Network (LPTN);Long Short-Term Memory (LSTM);temperature estimation;parameter identification;PMSM},
  doi={10.1109/TPEL.2024.3409388}}

License

MIT License

Contact

For any queries or further discussion regarding the project, please open an issue in this repository or direct connect ziruiliu@hust.edu.cn.

About

An LPTN informed LSTM for real-time multi-temperature estimation in PMSMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published