Electronic – Why does the current rise and fall linearly in a DC-DC converter

dc/dc converterinductor

I don't understand why the current in a DC-DC converter rises and falls in a triangular waveform pattern. I think it has something to do with the energy in the magnetic field, but I don't know any equation to back this up.

enter image description here

When the switch turns on and off, the through the inductor changes in a square waveform between the current through the load and current through the switch. Therefore, where does the linearity come from, as shown in graphs like below?

enter image description here

Best Answer

Most real switching supplies will have a capacitor in parallel with the load:

schematic

simulate this circuit – Schematic created using CircuitLab

It is this capacitor that makes the voltage supplied to the load approximately constant even with the switching. In the periods where the switch is closed and the inductor is not supplying current to the load, the load draws current by discharging C1.

Also keep in mind, there is usually something regulating the duty cycle of the switch to keep the output voltage, and thus the voltage across C1, at some target.

The graph in your question it graphing current and voltage for the inductor, not the load. When the switch is closed, the voltage across the inductor is V1. When the switch is open, the voltage across the inductor is the output voltage, plus a little more to forward-bias D1, minus V1.

Either way, there's a constant voltage across the inductor in either state. A constant voltage across an inductor results in a linearly changing current, according to the definition of inductance:

$$ v(t) = L{\mathrm di \over \mathrm dt} $$