Unexpected noise in output voltage for buck converter

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)

2 Comments

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)

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.

Categories

Products

Release

R2021a

Asked:

on 4 Jul 2021

Answered:

on 6 Jul 2021

Community Treasure Hunt

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

Start Hunting!