FOC Motor control of an Electric Vehicle

The application note describes the emulation of the car's physics with a load motor and the implementation of the car motor speed controller

Updated 6 Jan 2022

In this example, a reduced-scale electric vehicle testbench is implemented by applying common motor control techniques to two connected motor drive systems. In that system, one motor represents the vehicle powertrain, whereas the other produces the resistive force that the moving vehicle is subject to.
The vehicle powertrain is tested using the standardized WLTP speed profile shown below, that the speed controller has to follow. This realistic test challenges the speed controller in various speed and acceleration ranges. In addition, it allows computing the total electric consumption of the vehicle and the amount of energy recovered during regenerative braking.

Cite As

Imperix application note AN011.

MATLAB Release Compatibility
Created with R2016a
Compatible with R2016a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!