Regarding ePWM setttings in MATLAB Simulink for TMSF28335 DSP board

1 view (last 30 days)
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

Answers (4)

henda bouyahi
henda bouyahi on 1 Mar 2017
you can help me for this question if you resolve it

minzue93
minzue93 on 25 Mar 2019
Same problem here.
Did anyone solve this issue ?

Logeesan Arunachalam
Logeesan Arunachalam on 17 May 2019
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 Comments
minzue93
minzue93 on 17 May 2019
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
Logeesan Arunachalam on 13 Aug 2019
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.

Sign in to comment.


Logeesan Arunachalam
Logeesan Arunachalam on 20 May 2019
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!