Generating ePWM from TI card

조회 수: 28 (최근 30일)
Mehmet Tugberk Turkoglu
Mehmet Tugberk Turkoglu 2023년 7월 24일
댓글: Darshan Pandit 2023년 7월 31일
I'm trying to generate an ePWM, from simulink to external oscilloscope. I have LAUNCHXL-F28379D TI card. I will use Vdd voltage (3.3V or 5V for adc input) for ADC input. How should i connect ePWM and ADC blocks to generate PWM from this buck converter. I tried many configurations but I couldn't. Would you help me?

채택된 답변

Darshan Pandit
Darshan Pandit 2023년 7월 24일
Hi Mehmet,
I've answered a similar question in the first post below. Request you to kindly go through it.
Also, you have a hybrid model of plant and control system. PWM requires the model to be prepared for code generation. This needs separation betwen plant and controller. You may refer to that in fourth link mentioned below.
There are also more ways of getting things done. One of them is external mode. Refer to last three links, if you'd like to explore more on this.
For more details for ePWM block, see:
  1. https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/880817/launchxl-f28379d-how-to-implement-space-vector-generator-to-epwm-module-using-simulink
  2. https://in.mathworks.com/matlabcentral/answers/438952-how-does-the-ti-c2000-epwm-block-work
  3. https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/ref/c280xc2802xc2803xc2805xc2806xc2833xc2834xf28m3xf2807xf2837xdf2837xsf2838xf28004xf28002xf28003xepwm.html?s_tid=doc_ta
For more details for DC DC Buck converter design using ePWM blocks, see:
  1. https://in.mathworks.com/help/ti-c2000/ug/dc-dc-buck-converter.html
  2. https://in.mathworks.com/company/events/webinars/upcoming/modeling-and-generating-code-for-a-dc-dc-buck-converter-4123100.html
Using external mode:
  1. https://in.mathworks.com/help/ti-c2000/ug/signal-monitoring-paramter-tune-xcp-on-serial.html
  2. https://in.mathworks.com/help/ti-c2000/ug/code-verification-externalmode.html
  3. https://in.mathworks.com/matlabcentral/answers/751504-overview-executing-ti-c2000-simulink-models-in-external-mode
Hope this helps.
Have a good day.
  댓글 수: 14
Mehmet Tugberk Turkoglu
Mehmet Tugberk Turkoglu 2023년 7월 31일
편집: Mehmet Tugberk Turkoglu 2023년 7월 31일
Thank you so much Mr. Pandit. I did your suggestion now. I want to show you my problem with pictures. I am just moving jumpers from voltage divider circuit to potentiometer's legs. Width, lenght ex. are not changing.
Darshan Pandit
Darshan Pandit 2023년 7월 31일
Great. Please click here and contact us with these and more details so our team can help you out. Mention this thread to speed up the process.
Hope this helps.
Have a good day.

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

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by