A power supply device has first and second terminals, a transformer, a
switching element and an auxiliary power supply element. The first and
second terminals receive input power having an input voltage. The
transformer has a primary winding and a secondary winding. The primary
winding has a pair of winding terminals. One of the pair of winding
terminals is connected to the first terminal. The switching element is
connected between the second terminal and the other of the pair of
winding terminals of the primary winding. The auxiliary power supply
element feeds electric power to the transformer when the input voltage
decreases to or less than a predetermined value. The auxiliary power
supply element has a capacitor and a second switching element for storing
energy from the primary winding into the first capacitor during a normal
operation of the power supply device.