I have created a PMSM motor model and wanted to validate the motor that I created with the PMSM motor from simscape motor Blockset. Output Te,speed are different that I get
1 view (last 30 days)
Show older comments
File myFOC_13 is the simulink model.
There are two Motor Models, Topmost model is the created model and the model below is the Simscape model.
I have attached the simulink file (myFOC_13) and .m file for reference.
Figures Attached :
Iabc is shown, it is evident about the difference.
I appreciate a genuine help in figuring out the error.
0 Comments
Accepted Answer
Keyur Mistry
on 21 Jul 2021
To find out how the equations have been implemented for the motor block, use "Look Under Mask" option.
Right click on the block -> go to "Mask" option -> select "Look Under Mask" (Or select block and use short-cut "Ctrl+U")
If the motor equations are implemented exactly same then we do not expect the difference.
Please add comment if you have any specific query regarding implementation of the equation for the motor block.
2 Comments
Keyur Mistry
on 22 Jul 2021
I would like to know and understand the workflow you are following to create meshgrid (efficiency vs torque and speed). Please provide following information :-
- What variable values you are choosing to calculate efficiency?
- Are you using speed array or torque array output from a single simulation of the model? (If yes it should not be correct because speed array is speed w.r.t. time and torque array is torque w.r.t. time. Array will be of different size if sampling rate will be different for speed and torque)
- In the model Iq ref is constant hence motor will achieve only one speed. So to get different speeds do you change Iq ref? What different values of Iq ref have been choosen?
More Answers (0)
See Also
Categories
Find more on Permanent Magnet in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!