MATLAB Answers

How do I import a motor dyno curve into Simscape?

1 view (last 30 days)
Max Keizer
Max Keizer on 28 Apr 2021
Commented: Yifeng Tang on 30 Apr 2021
I have been attempting to simulate the behaviour of a vehicle with a direct drive electric motor which I am currently designing.
As part of the design process, I have been provided with motor dyno curves by different suppliers, which I would like to simulate agianst a known drive cycle.
As a top level - could anyone reccomend the best way of importing this dyno curve data?
I am entirley new to driveline simulation, but have been following the Racing Lounge guides and documentation. If there are any other recommended guides, this would also be great!
Thanks,
Max

Answers (1)

Yifeng Tang
Yifeng Tang on 30 Apr 2021
Do you care about the electrical side of the motor (like current, voltage, etc), or you just need the motor as a source for mechanical power?
There are many pre-built motor blocks in Simscape Electrical add-on library that allow you to model the electrical-mechanical power conversion. If you plan to use those, you probably need to do a parameter estimation exercise so the model behaves like what the dyno curves describe. If the unknown parameter set is large, you may need help from the Simulink Design Optimization toolbox.
If it's just a source for mechanical power, a torque souce and a lookup table may be enough. You can place sensors to measure the shaft velocity, send it to the lookup table that contains the dyno curve info, and the table output would be the torque signal that can sent to the torque source.
So, the "best" way depends on what you want the model to do. More information on that would be helpful.
  1 Comment
Yifeng Tang
Yifeng Tang on 30 Apr 2021
If all you have is dyno curves, the second way may get you started faster.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!