Main Content

Power Electronics Templates for Simulink Real-Time

The Power Electronics Templates package on MathWorks Github contains models of power electronics components for hardware-in-the-loop testing with Simulink® Real-Time™. The templates are generated with HDL Coder™ and are ready to run on the Speedgoat IO334 FPGA I/O module with IO334-21 plug-in.

The following templates are included:

  • Permanent magnet synchronous motor (PMSM) with 2-level inverter

  • Permanent magnet synchronous motor (PMSM) with NPC inverter

  • Induction motor with 2-level inverter

The templates are designed to be customizable and extendable, HDL Coder is required for design customizations:

  • All HDL compatible source blocks used to synthesize bitstream files are included for reference, which can be found in the lib directory;

  • Scripts for setting up "HDL workflow advisor" are included for each template.

External Websites