Regarding ePWM setttings in MATLAB Simulink for TMSF28335 DSP board

2 次查看(过去 30 天)
I am working on DSP F28335, with simulink (MATLAB 2013b). I am stuck with how to configure ePWM(5 AND 6) in MATLAB. When I generate PWM signals using ePWM(1-4), the outputs can be read on the oscilloscope. But this is not the case with ePWM(5-6). What essential steps should i take in MATLAB simulink in order to fix it?
Regards
Mayank

回答(4 个)

henda bouyahi
henda bouyahi 2017-3-1
you can help me for this question if you resolve it

minzue93
minzue93 2019-3-25
Same problem here.
Did anyone solve this issue ?

Logeesan Arunachalam
Hi Mayank,
Can you guide me how to generate PWM using ePWM 1- 4. I have been struck for almost 2 weeks. I tried different simulink models, but nothing successful.
Thanks in advance.
  2 个评论
minzue93
minzue93 2019-5-17
I hope this helps you, check the snapshots for the simulink model and parameters settings.
For the value shown as 15000, it is obtained by (150MHz/10kHz) where 10 kHz is the switching frequency and 150MHz is a fixed value for the dsp. The constant (0.35) is considered as an input DC signal, however, it can be replaced also by an AC sine input signal with the same settings. The snapshot shows using ePWM1. The same procedure is applicable for the other PWMs by selecting the ePWM number as presented in the second snapshot as "Module".
1.bmp
2.bmp
3.bmp
4.bmp
5.bmp
6.bmp
Logeesan Arunachalam
Hi Minzue,
I am able to generate the PWM signal. I want to know how to set duty cycle and systemclock period. Also explain to replacing constant value with AC sine value. What does (u*15000/2) represents.

请先登录,再进行评论。


Logeesan Arunachalam
Greetings minzue93,
Thanks for your guidance. Keep the good work. It worked.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by