It is known that inductors resist a change in current. So, my question is that in a buck converter, what prevents the output voltage from going all the way up due to inductor resisting a current change when there is a load transient? For example, when you go from 3A to 0A. I understand there is some voltage regulation going on, but the inductor still has to discharge all those energy right?
Edit: An additional question question. Right now, I see that the main functions of the output capactiors are:
supply current when load increase to prevent voltage undershoot
takes energy when load decreases to prevent voltage overshoot
filters the AC output voltage ripple due switching
Did I miss anything? I am trying to put all the parts in a switching regulator together.