Generating ePWM from TI card

28 次查看(过去 30 天)
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
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 Control

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by