Automated Code Generation


Programming the BoomBox

Discover the usual tools and software that are used with the BoomBox. Learn how you can save time during prototyping and development of your power converters. Select your preferred workflow in accordance to your project needs.

C/C++ programming Automated code generation (Simulink™) Remote control

Boost control converter in Simulink
Simulated converter model

Simulink™-based coding workflow for power electronics real-time control

In addition to the current C/C++ coding approach, the development of your complex control can now be easier (and quicker) thanks to Simulink™-based coding.

With BoomBox blockset for Simulink™, you can code your converter control within minutes. Relying on the capabilities of PLECS™ or SimPowerSystems™, you’ll be also able to run a realistic PC-based simulation of your converter along with its controller’s behaviour. Then, program your BoomBox controller in seconds (literally!) and start working on your real prototype, whether it has been assembled with imperix PowerTrench modules or any custom hardware.

Rely on BoomBox librairies

The BoomBox blockset for Simulink™ provides convenient access to all function librairies typically provided with the C/C++ coding workflow. Simply drop the interface blocks (such as analog inputs and PWM modulators) inside Simulink GUI, configure them, and start a realistic simulation of your converter and your controller.
Along with the libraries, the BoomBox alwary runs BoomBox OS that takes advantage of all hardware fratures that are embedded with the controller such as the overvalue protections and dedicated modulators.
As soon as you want start with prototyping, hit the Generate/Build* button inside Simulink. Without changing your model, the latter will be compiled and uploaded into the BoomBox controller.

* Requires MATLAB™ Coder, Simulink™ Coder and Embedded Coder toolboxes.

BoomBox blockset for Simulink

Your simulation, your rules!

Within Simulink envronment, you are free to draw your control scheme, relying on the BoomBox blockset libraires (sich as transformations, controllers, etc.) or simply re-use stantard Simulink™ blocks. On the simulation part, you can rely on your preferred simulation core: Simscape PowerSystems or PLECS.

PLECS simulation

PLECS power converter simulation

Simulated converter model

Simscape PowerSystems power converter simulation


Bridge the simulation and the real world

Within the a Simulink-based model, you are able to precisely simulate the power electronics part as well as the controller’s behiviour. Indeed, while simulating, the BoomBox blockset is actually modelling the actual delays of the BoomBox platfrom, including acquisition and modulation delays.
Such a high-fidelity model provides a seemless transition from the PC-based simulation to the actual converter behaviour, without the need to re-tune controllers on the real system.

Simulation and reality compared

Monitor and tune

The convenient datalogging mode embedded within the BoomBox control software shows you exactly what your code sees and does, at every sample. Combined with a transient generator, this helps you to apply transients to any user variable, in realtime, without editing your control code.
The datalogging can be triggered on any of the logged signals, enabling precise control of the transient instant with respect to another signal’s period, like grid voltage for example. Assessing frequency response of PID controllers and tuning them has never been so easy.

BoomBox control datalogging configuration

Easy to configure

Select up to 6 signals to be logged and start the data capture while your converter running. Data is automatically downloaded on your PC

Easy data export


For getting the most of your experimental results in a few seconds, simplx export your data to MATLAB™, Octave™ or Excel™.

Want to know more?

Feel free to get in touch with our technical or sales teams for all questions related to the BoomBox software package. Demos can be organized upon request.