hi all,
i'm having some trouble simulating a PID controller for buck converter.
From what ive read, we can find the gains of the P, I and D terms by manual tuning. Initially, this means setting Ki and Kd = 0, and increasing Kp until we see some oscillations. however, no matter what i set the Kp value to be, i cannot seem to get any sustained oscillation.
Out of sheer frustration, i also just tested random gain values for the other parameters, but it made no difference in my measurement "Vprobe" As you can see in the following waveforms, the "Vprobe" waveform never reaches 2.4 (my desired setpoint value). it is almost as if my controller is doing nothing at all.
Here is an example waveform and my schematic that i've attempted.
schmatic:
waveforms:
if anybody has some insight on what might be going on here, it would be greatly appreciated.
-TIA
Edit: please note that the waveforms is for Kp = 1000, Ki = Kd = 0. In this case, i think what i expect to happen is that i get oscillations in my measurement Vprobe.
i'm having some trouble simulating a PID controller for buck converter.
From what ive read, we can find the gains of the P, I and D terms by manual tuning. Initially, this means setting Ki and Kd = 0, and increasing Kp until we see some oscillations. however, no matter what i set the Kp value to be, i cannot seem to get any sustained oscillation.
Out of sheer frustration, i also just tested random gain values for the other parameters, but it made no difference in my measurement "Vprobe" As you can see in the following waveforms, the "Vprobe" waveform never reaches 2.4 (my desired setpoint value). it is almost as if my controller is doing nothing at all.
Here is an example waveform and my schematic that i've attempted.
schmatic:

waveforms:

if anybody has some insight on what might be going on here, it would be greatly appreciated.
-TIA
Edit: please note that the waveforms is for Kp = 1000, Ki = Kd = 0. In this case, i think what i expect to happen is that i get oscillations in my measurement Vprobe.
Last edited: