ePWM block generate SPWM

Hi,
I am trying to generate SPWM signal in DSPF28335 by the ePWM block. But the output signal always features a fixed pulse width which is equivalent to the "input port -> CMPA initial value".

Réponses (1)

zhichuan wang
zhichuan wang le 4 Déc 2017

0 votes

Can you attach you model?

3 commentaires

MArtin
MArtin le 4 Déc 2017
Here attached the simplified model.
zhichuan wang
zhichuan wang le 4 Déc 2017
Modifié(e) : zhichuan wang le 4 Déc 2017
I have never used the C280X ePWM block. Based on my experience, I recommend you change the value of Amplitude in SINE WAVE1 to an integer in [0 750]. And Bias is set at 750. Maybe it will work.
MArtin
MArtin le 11 Déc 2017
Hi, Wang
Thanks for your help. I tackled the problem by referring to the Supports Examples of "Embedded Coder" .

Connectez-vous pour commenter.

Catégories

En savoir plus sur DSP System Toolbox Supported Hardware dans Centre d'aide et File Exchange

Question posée :

le 2 Déc 2017

Commenté :

le 11 Déc 2017

Community Treasure Hunt

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

Start Hunting!