How to add a constant load or run at full load in openExample('mcb/DualMotorDynoExample','supportingFile','mcb_pmsm_foc_f28379d_dyno.slx')?
Show older comments
How to add a constant load or run at full load in openExample('mcb/DualMotorDynoExample','supportingFile','mcb_pmsm_foc_f28379d_dyno.slx')? Now that there is a physical motor, how to add a constant load or run it at full load on the motor?
Answers (1)
Yoshi Minagawa
on 20 Oct 2025
1 vote
Hi Xin Jian,
I checked the model, and it looks like the Surface Mount PMSM block is being used for the motor. For the Surface Mount PMSM block, if you set the "Mechanical input configuration" parameter to "Torque," you can input an external torque through the block’s input port.
By applying any desired torque (such as a constant torque or a specific load torque) through this port, you can run the corresponding simulation.

Categories
Find more on Motor Drives in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!