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?

조회 수: 2 (최근 30일)

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!

채택된 답변

Aabha
Aabha 2025년 2월 25일
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
Ramo
Ramo 2025년 3월 2일
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!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by