How TI c2000 ePWM block can be configured?

38 visualizzazioni (ultimi 30 giorni)
Abirami Shree R.B
Abirami Shree R.B il 1 Nov 2022
Risposto: Geetla Sindhu il 7 Nov 2022
How to configure the switching frequency using ePWM block?
First I've set the ePWMLink TBPRD to ePWM1 and got the switching frequency as 2kHz
Then changed ePWMLink TBPRD to Not Link and set Timer Period as 60000 ( By calculation Fpwm = Fclk / (2* TBPRD), decided Fpwm as 10kHz)
In both the cases I'm getting Switching frequency as 2kHz. How ePWMLink TBPRD works and how can I get the desired Switching frequency?
And also how to configure ePWMA and ePWMB?

Risposte (1)

Geetla Sindhu
Geetla Sindhu il 7 Nov 2022
Hello Abirami,
I understand that you are trying to achieve desired switching frequency using TI C2000 ePWM block in Simulink.
In order to configure the switching frequency of ePWM block, first we need to consider the counting mode depending on the application.
  • Up or down count (i.e., saw-tooth carrier signal) mode for DC/DC conversion applications.
  • Up-down count (i.e., triangular carrier signal) mode for DC/AC conversion applications.
The TBPRD calculation for a switching frequency of 10KHz is as shown below for both the counting modes.
You can also refer to the “ePWMA and ePWMB” section of the documentation Generate enhanced Pulse Width Modulated (ePWM) waveforms - Simulink (mathworks.com) for more information regarding ePWM block.
Thank you.

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by