Regarding ePWM setttings in MATLAB Simulink for TMSF28335 DSP board

조회 수: 1 (최근 30일)
mayank jain
mayank jain 2016년 7월 27일
댓글: Logeesan Arunachalam 2019년 8월 13일
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
Logeesan Arunachalam 2019년 5월 17일
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
Logeesan Arunachalam 2019년 8월 13일
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
Logeesan Arunachalam 2019년 5월 20일
Greetings minzue93,
Thanks for your guidance. Keep the good work. It worked.

카테고리

Help CenterFile Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by