Azzera filtri
Azzera filtri

How to deploy a three-level SVPWM module to a DSP using the C2000 Microcontroller Blockset toolbox?SVPWM does not output the duty cycle but rather a series of pulses.

5 visualizzazioni (ultimi 30 giorni)
Hello everyone, sorry to bother you.
How to deploy a three-level SVPWM module to a DSP using the C2000 Microcontroller Blockset toolbox?SVPWM does not output the duty cycle but rather a series of pulses.So, since the SVPWM module can only output a series of pulses rather than a duty cycle, how should I combine it with ePWM to generate code and control my three-level device?
SVPWM:
C2000 block (TI)

Risposte (1)

Kothuri
Kothuri il 21 Giu 2024
Hi duoke,
To combine the output of SVPWM module with the ePWM, you can calculate the duty cycle of the pulses generated by SVPWM and then feed it to the ePWM block.
Else, you can give the output of SVPWM block to the ePWM block by setting "Specify CMPA via" option to "Input port". As a result the corresponding port Wx (x represents A, B, C, or D) appears on the ePWM block to which we connect the output of the SVPWM.
In this way you can combine the output of SVPWM with ePWM to control three-level device.
Below documentation gives info about CMPx parameter of ePWM block

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by