The function of the inductor in a boost converter [duplicate]

Above is a circuit from a text acts as a boost-converter.

It is doubling the voltage. I guess it is doing by choosing a larger C1 than C2?

The text says the average voltage across L is zero. And switch has %50 duty cycle.

What is the need/function of the inductor in this circuit?

And what should the capacitors capacitances be relative to eachother for Vout = 2*Vin.

edit: Buck example:

Edit: This question might be overlapping the so-called duplicate one(from 2013) but actually it is different. Circuits are different. I'm trying to understand in this particular question how the voltage is doubled or halved as well as the need for caps. How does the inductor doubles the output is something unique here imao. I still didnt get any satisfactory answer to this question. There was actually one but the user deleted his answer.

marked as duplicate by Dmitry Grigoryev, PeterJ, Bence Kaulics, Tut, Andy akaJun 6 '16 at 14:19

• Your other question today answers this one quite nicely. – Brian Drummond Jun 6 '16 at 11:53
• I think you'll find that's best described as a boost converter (the clue is the fact that the output voltage is higher than the input!) – Neil_UK Jun 6 '16 at 11:54
• @BrianDrummond What is the job of L here? It doesnt drop voltage in average so why not to use just a wire? is there a way to write a mathematical equation to see it more clear? – user16307 Jun 6 '16 at 11:56
• @Neil_UK i corrected it thnx – user16307 Jun 6 '16 at 12:02
• @user16307 to be absolutely fair you asked about a buck converter not a boost converter but the principle is the same - energy is stored in the inductor in one half cycle and passed to the output in the next half cycle. – Andy aka Jun 6 '16 at 14:23

it could be easier f you break it into sub-circuits (the source in the pic is a DC source ):

Assuming The capacitor and inductor are not charged initially

(1) switch/transistor is ON , Diode is OFF,

inductor is being charged , diode is reverse bias


(2) switch/transistor is OFF , Diode is ON ,

 inductor is discharging and charging capacitor diode is forward bias


(3) switch/transistor is OFF , Diode is OFF,

  capacitor is discharging through the load


During (1) Vsource = L di/dt = L Idc/ton

               ton: turn on time


During (2) Energy stored in inductor = Energy transferred to Capacito

                           E= 1/2 L I^2


Combining (1) and (2)

                   E= 1/2L * (Vsource* ton)^2


Output voltage stabilizes when the energy transferred from inductor to capacitor = energy transferred from Capacitor to Load :

                      E= Vo^2*T / RL