MATLAB Examples

IPMSG Voltage Stabilization

This example shows how to control an Interior Permanent Magnet Synchronous Generator (IPMSG) based low voltage generator system for a hybrid electric vehicle (HEV). The Control subsystem includes a multi-rate PI-based cascade control structure which has an outer voltage-control loop and two inner current-control loops. The task scheduling in the Control subsystem is implemented as a Stateflow® state machine. The Scopes subsystem contains scopes that allow you to see the simulation results. An ideal angular velocity source, which represents a combustion engine, drives the IPMSG. The IPMSG supplies low-voltage power to loads R1 and R2. At t = 0.4 seconds, the switch closes, increasing the load.

Contents

Model

Simulation Results from Simscape Logging

The plots below shows how well the system maintains the requested DC voltage as the load changes.