$V_{in}$
SW
D
L
C
R
$i_L$
$t$
ON
OFF
$v_L = L \frac{di_L}{dt}$