MATLAB Examples

IPMSM Torque Control in a Series-Parallel HEV

This example shows a simplified series-parallel hybrid electric vehicle (HEV). An interior permanent magnet synchronous machine (IPMSM) and an internal combustion engine (ICE) provide the vehicle propulsion. The ICE also uses electric generator to recharge the high-voltage battery during driving. The vehicle transmission and differential are implemented using a fixed-ratio gear-reduction model. The Vehicle Controller subsystem converts the driver inputs into torque commands. The vehicle control strategy is implemented as a Stateflow® state machine. The ICE Controller subsystem controls the torque of the combustion engine. The Generator Controller subsystem controls the torque of the electric generator. The Drive Controller subsystem controls the torque of the IPMSM. The Scopes subsystem contains scopes that allow you to see the simulation results.



Electric Drive Subsystem

Simulation Results from Simscape Logging

The plot below shows the requested and measured torque for the test, as well as the phase currents in the electric drive.