For a buck converter, I'm having a hard time conceptually understanding what is happening.
Here's my thought process: When the switch is closed, their is a positive voltage across the inductor equal to Vin - Vout. At this point there is a positive rate of change of current through the inductor.
This is the part I can't reconcile:
When the switch is closed, the rate of change of the current through the inductor is negative. We know from the state equation of an inductor (V = L di/dt) that if we have a negative rate of change for the current, than the voltage across the inductor must be negative as well. This is also corroborated by the fact that the average voltage across the inductor must be 0. So if the voltage across the inductor is positive when the switch is closed, it must be negative when the switch is open.
Keeping our same convention as before, this would imply that, at this point, there is a higher voltage at Vout than there is at Vin (making the voltage drop across the inductor negative).
I know this isn't right because if it were, our buck circuit would act more like a boost circuit - creating larger voltages at the output than input. Further, I know that, for a buck, Vout/Vin = Duty Cycle = ton/ton+toff, but my math below, given the assumptions discussed above, don't yield this result.
My math clearly has a backwards sign, which suggests that the polarity across the inductor is positive when the switch is open. I'm having a hard time intuitively reconciling these things.
Can someone help me understand what I'm missing conceptually?