Basic examples for ACG SDK on PLECS
Table of Contents
This page contains a few code examples that can be used to explore and test imperix’s automated code generation workflow using PLECS.
These examples are meant to be loaded on a B-Box RCP converter controller, possibly using a Plexim RT-Box as a HIL simulator for the plant. Both devices can be conveniently connected via a suitable hardware interface.
Additional code examples are provided in the different application notes.
Software resources
H-bridge converter
![Product notes > PN151: Basic examples using PLECS > image-20200806-140837.png H-bridge control algorithm](../wp-content/uploads/2021/03/image-56.png)
![Product notes > PN151: Basic examples using PLECS > image-20200806-140851.png H-bridge model](../wp-content/uploads/2021/03/image-57.png)
Single-phase inverter
![Product notes > PN151: Basic examples using PLECS > image-20200806-140916.png Single phase inverter control](../wp-content/uploads/2021/03/image-59.png)
![Product notes > PN151: Basic examples using PLECS > image-20200806-140924.png Single phase inverter model](../wp-content/uploads/2021/03/image-58.png)
Vector-controlled induction motor drive
![Product notes > PN151: Basic examples using PLECS > image-20200806-141101.png Induction machine vector control](../wp-content/uploads/2021/03/image-60.png)
![Product notes > PN151: Basic examples using PLECS > image-20200806-141115.png Induction machine drive model](../wp-content/uploads/2021/03/image-61.png)
Boost converter
![Product notes > PN151: Basic examples using PLECS > image-20200806-140711.png Boost converter control](../wp-content/uploads/2021/03/image-62.png)
![Product notes > PN151: Basic examples using PLECS > image-20200806-140752.png Boost converter model](../wp-content/uploads/2021/03/image-63.png)