Three-Phase PMSM Drive

This example shows a Permanent Magnet Synchronous Machine (PMSM) and inverter sized for use in a typical hybrid vehicle. Here the inverter is connected directly to the vehicle battery, but often there is also a DC-DC converter stage in between. The model can be used to design the PMSM controller, selecting architecture and gains to achieve desired performance. To check the timing of IGBT turn-on and turn-off, the IGBT devices can be directly replaced by the more detailed N-Channel IGBT block. For complete vehicle modeling, the Servomotor block can be used to abstract the PMSM, inverter and controller with an energy-based model. The Gmin resistor provides a very small conductance to ground that improves the numerical properties of the model when using a variable-step solver.