Closed Loop Control of Buck converter, ADC--> EPWM via F28027F?
Show older comments
I have been performing Closed loop control of buck converter.
I am doing an experiment ADC to EPWM in closed loop Via Texas development board. However, I have taken 5V from development board and given its output to ADC (A1) pin in board. Additionally, I have used Potentiometer knob 10K as varying the 5V input to output 2V or 2.5V. The ADC resolution is 12 which is 2^12.
i.e 5V = 4095
0V = 0
2.5V =2048
But when I turned knob to 50% the ADC reading should be 2048. But in my model it is been varying . No idea why its happening.?
Is it ground connection issue ? I dont have that issue because open loop it works correctly.
Here is the model for reference

Answers (1)
rahul
on 8 Jun 2026
0 votes
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!