You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Power Electronics Templates for Simulink Real-Time
This package 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.
Getting Started
- Open the project file slrt_power_electronics_templates.prj
- Explore templates directory for the desired template
Examples
To learn how to use power electronics template to do permanent magnet synchronous machine field-oriented control and use App Designer application to control simulation, see Examples.
MathWorks Products (https://www.mathworks.com)
Requires MATLAB® release R2022b or newer
For design customizations, the following products are also required:
- HDL Coder™
- Motor Control Blockset® for PMSM and induction motor HDL compatible models
Before proceeding, ensure that the below products are installed:
- Speedgoat I/O Blockset
- Speedgoat HDL Coder Integration Packages
Community Support
Copyright 2022 The MathWorks, Inc.
Cite As
Diego Kuratli (2026). Power Electronics Templates for Simulink Real-Time (https://github.com/mathworks/slrt-power-electronics-templates/releases/tag/1.0.2), GitHub. Retrieved .
General Information
- Version 1.0.2.0 (23.2 MB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with R2022b and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.2.0 | See release notes for this release on GitHub: https://github.com/mathworks/slrt-power-electronics-templates/releases/tag/1.0.2 |
||
| 1.0.1 | See release notes for this release on GitHub: https://github.com/mathworks/slrt-power-electronics-templates/releases/tag/1.0.1 |
||
| 1.0 |
