Hi, I am trying to control a buck converter, I implemented voltage control method and designed it on paper first, checked the TF via matlab and everything seems accurate till now.
Now I try to simulate toe boost and the output voltage is the same as the input voltage and I am really puzzled, I checked the buck analog control demo and copy pasted some stuff from there and still I get the same output.
I am thinking maybe the issue is from the op amp circuit, but I dont know how to navigate that.
thanks
I attached the schematic, the output from the scope and the project.
First control project.plecs (23 KB)