ePWM block generate SPWM

조회 수: 6 (최근 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 CenterFile Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!