Is there a way how to optimize the PMSM Motor Block and the PMSM Field-Oriented Control using real current and voltage signal data from a real machine?

3 visualizzazioni (ultimi 30 giorni)

I've been working on a Matlab Simscape (Using PMSM Drive, see the following model: https://de.mathworks.com/help/releases/R2024b/sps/ug/three-phase-pmsm-drive.html). And since I ve got now real signal data for the current and the voltage, I am looking for a way how to Update the PMSM Motor Block and also the PMSM Field-Oriented Control using the real signal data that I have, with the goal to generate similar / exact same simulation data as the real one. I have found out that I can use the Parameter estimator, but I only found an example for a DC-Motor for the parameter tuning: https://de.mathworks.com/videos/estimating-parameters-of-a-dc-motor-68856.html I'd appreciate any help, hint or comment if someone is familiar with comparing real vs. simulation data and updating the simulation data.

Thanks a lot in advance!

Risposta accettata

Aabha
Aabha il 25 Feb 2025
Hi,
The parameters for the PMSM Drive model can be tuned according to real-time data using the “Parameter Estimator” interface. The following steps can be followed to achieve this:
  1. Open the “Parameter Estimator” in the Simulink toolstrip. Click on “Select Parameters” and add the model parameters that need to be adjusted.
  2. Click on “New Experiment” and set up the experiment by adding the output signals, initial states and parameters.
  3. Once all the data is configured, click on “Estimate”. This will run the Simulink model multiple times and adjust the values of selected parameters to tune them according to real-time data.
Alternatively, the “Motor Control Blockset, has “Parameter Estimation Blocks” that can be used to tune these parameters. Please refer to the following documentation to understand how parameters can be estimated on Real-Time Systems.
I hope this helps.
  1 Commento
Ramo
Ramo il 2 Mar 2025
Hi Aabha,
thank a lot for your huge help! I could add the parmeter of the motor and the FOC Block successfully.
And since I will still going to get the real measured current and voltrage signal data, do you know if I have to import the data into the MATLAB Workspace as numerical matrix? In order to be able to tune these selected signals and parameters based on the real measured ones?
I am still struggling on how to import the real measured data to the parameter estimator correctly to be able to compare the measured and actual data form the model?
Thanks a lot in advance for the great help and all the detailed Hints!

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by