ePWM block generate SPWM
2 次查看(过去 30 天)
显示 更早的评论
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".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170531/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170533/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170536/image.png)
0 个评论
回答(1 个)
zhichuan wang
2017-12-4
Can you attach you model?
3 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Texas Instruments C2000 Processors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!