F28335 ePWM block duty cycle logic for SPWM wave

조회 수: 6 (최근 30일)
ashish ahir
ashish ahir 2015년 8월 3일
댓글: henda bouyahi 2017년 2월 18일
I want to generate SPWM wave with 20KHz switching frequency and 50Hz modulating signal frequency. I am using F28335 ePWM block in simulink to do that. That block has duty cycle as input parameter. For SPWM wave, duty cycle should continuously vary, in perticular pattern. can any one suggest some logic to do that.any general logic will help(other than simulink blocks) . p.s. need logic to vary duty cycle of ePWM block in simulink to get SPWM(sinusoidal PWM) signal on F28335 board. any general logic will also help.(other than simulink blocks)
  댓글 수: 2
Nadia Smith
Nadia Smith 2016년 12월 27일
I'm having the same issue. Were you able to get it working?
henda bouyahi
henda bouyahi 2017년 2월 18일
Me too, are you solve this working?

댓글을 달려면 로그인하십시오.

답변 (1개)

bharadwaj r
bharadwaj r 2015년 8월 17일
use the CMPA register in the ePWM module to change the duty cycle of the PWM

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by