The calculation is 5 divided by 12, about 0.417. I’m using an ideal buck-converter example with 12 V at the input and 5 V at the output. The duty ratio is the fraction of a cycle for which the main switch is on. The division is easy; the reason the fraction belongs to the voltage is what I want to explain.
The inductor gives me a way into that question. During the ideal on interval it sees about 7 V, and during the off interval it sees about minus 5 V. In a steady repeating cycle, the increases and decreases in its current have to balance. That connects the fraction to a physical model, rather than leaving 0.417 as a number that appeared from a formula.
The part I want to understand is why this fraction belongs to the output voltage. I could memorise D = Vout/Vin, substitute the two numbers and move on. But then I wouldn't know which assumptions I was using, or why the answer might change when I look at the real converter.
I'm going back to the inductor. In the steady repeating ideal case, the current at the end of a cycle returns to where it began. If it kept increasing by a little every cycle, it wouldn't be a steady situation. The increase during the on interval therefore has to balance the decrease during the off interval. That gives me a way to connect the two sections without pretending that the load only receives power when the input switch is on.
The simplified inductor voltage during the on part is Vin minus Vout. During the off part, it is minus Vout. The average inductor voltage over the full cycle is zero in this steady ideal model. Writing the two contributions gives D(Vin − Vout) + (1 − D)(−Vout) = 0. Expanding it leaves D × Vin = Vout. The division is the last step, not the whole explanation.
I like this route because it gives me something to check. With 12 V in and 5 V out, the inductor sees about 7 V during the on interval and about −5 V during the off interval in the ideal model. The on interval is shorter, but its upward-driving voltage is larger. Those effects balance. I don't have to imagine the output voltage appearing just because the switch has been assigned a percentage.
For another calculation, if the desired output were 6 V from the same 12 V input, the ideal duty ratio would be one half. If it were 3 V, it would be one quarter. These aren't measurements from either module. They are small checks that help me see whether the relationship behaves in the direction I expect.
The word ideal is doing real work here. The diode does not have zero forward drop. A transistor is not a perfect zero-resistance switch. The inductor has resistance and other losses. Switching itself takes time. The exact behaviour also depends on the operating mode. If I leave all of that out when deriving a simple relationship, I can't act surprised when a physical board doesn't match every decimal place of the paper answer.
That doesn't make the basic equation useless. It makes it a starting model with a clearly described job. It helps estimate the duty ratio and understand how the output relates to the input in the case it describes. Then I need to see how the real controller and components behave around that case.
I also keep separating frequency from duty ratio. The frequency says how often the cycle repeats. The duty ratio says what fraction of each cycle is on. A duty ratio of about 0.417 is still that fraction whether I draw a long cycle or a much shorter one. The duration of the on interval changes with frequency, even though the fraction hasn't changed.
For example, a cycle lasting 10 microseconds would have about 4.17 microseconds on at this duty ratio. If the cycle lasted 5 microseconds, the on part would be about 2.08 microseconds. I used the on-time and cycle time to check the duty ratio. Writing the units is helping me avoid mixing a percentage with a time.
This is also where the inductor question returns. The current has more or less time to change during each interval depending on the frequency. So even if the ideal voltage ratio stays the same, the ripple calculation isn't finished. That's the next reason the switching frequency matters in the comparison.
The question I want to check with my mentor is where the assumptions in this derivation stop matching the converter I'm studying. I'd rather explain the small model properly than use a more complicated equation without understanding what changed. I can already see how much confusion comes from carrying an equation into a different situation and forgetting the conditions that came with it.
The duty equation is only one part of the model. The report also relates inductor ripple to inductance and switching frequency, and output-voltage ripple to capacitance and ESR. Those describe different consequences of the same switching process. Holding the voltage ratio fixed does not make the ripple independent of frequency, and choosing a capacitor means more than finding a capacitance number. The simple balance is useful because it gives the later equations a physical starting point.
There’s still only one very ordinary division at the end. But now the number tells me about two intervals, a changing current and a balance over a cycle. That’s a much more interesting answer than 0.417 on its own.