Unexpected noise in output voltage for buck converter

1 view (last 30 days)
Hello! I'm trying to simulate the buck converter using statespace equations. I don't understand why the output voltage has a ripple in the second photo (uncompensated system) and then, in the first one there is no ripple (compensated system)
Vasilica Cioban
Vasilica Cioban on 4 Jul 2021
Edited: Vasilica Cioban on 4 Jul 2021
no, this isnt the problem. i tried to zoom in the both of them and the first one is just a line without any ripple

Sign in to comment.

Answers (1)

Pat Gipper
Pat Gipper on 6 Jul 2021
The Puse Generator has a period of 1/100000 seconds, which is injecting 100 KHz pulses into your system. The ripple is simply the response to those pulse. Try setting Period=10 and Amplitude=24 and you will get rid of the ripple.

Community Treasure Hunt

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

Start Hunting!