Skip to content

Using OwnTech with Matlab


This wiki aims to help you using Simulink models to drive power converters. All the tutorials are made to be performed either on NUCLEO G474RE or on Owntech converters (the version is indicated for each tutorial). However it is possible to adapt the model presented to generate code to be run on other devices.

In order for you to understand how the models available here work, here is a list of tutorials focusing each on specific peripherals that are important to drive power converters.


These tutorials are more or less ranked by experience, if you don't understand a step in one of those check out the previous onesfor more details.

Getting started with Matlab and ST software

Generate a variable PWM with an HRTIM

Get voltage measures from ADC

Generate a sawtooth with a DAC