Closed Loop Control of Buck converter, ADC--> EPWM via F28027F?

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)

Reason:
The 3.3 V onboard supply shows an oscillation of about 40 mV.
Poor or insufficient decoupling capacitor near the MCU or regulator can cause oscillation
Solution:
  1. Solder a 2.2uF or 22uF cap in between 3.3V and Gnd

Asked:

on 21 May 2026

Answered:

on 8 Jun 2026

Community Treasure Hunt

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

Start Hunting!