ePWM block generate SPWM

5 ビュー (過去 30 日間)
MArtin
MArtin 2017 年 12 月 2 日
コメント済み: MArtin 2017 年 12 月 11 日
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".

回答 (1 件)

zhichuan wang
zhichuan wang 2017 年 12 月 4 日
Can you attach you model?
  3 件のコメント
zhichuan wang
zhichuan wang 2017 年 12 月 4 日
編集済み: zhichuan wang 2017 年 12 月 4 日
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 2017 年 12 月 11 日
Hi, Wang
Thanks for your help. I tackled the problem by referring to the Supports Examples of "Embedded Coder" .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTexas Instruments C2000 Processors についてさらに検索

Community Treasure Hunt

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

Start Hunting!