An inductor is connected in series with a diode and capacitor (a resistor is shown parallel to the capacitor, representing the circuit's load). A relay is used to momentarily shunt the inductor, so that it stores up energy. When the relay is switched OFF, the inductor must dump its energy through the diode and into the capacitor. The capacitor cannot discharge back through the diode, so it accumulates an increasing voltage.