A switching power supply includes a main switching element that is connected to a primary coil of a transformer and switches a main current ON/OFF, and a secondary switching element connected in parallel to the main switching element and that has a lower power capacity than the main switching element. The switching power supply also includes a control circuit that controls these switching elements. The control circuit includes: a main driver circuit that generates, in accordance with a control signal generated according to an output voltage from a secondary coil of the transformer, a main drive signal for switching the main switching element ON/OFF; a secondary driver circuit that generates a secondary drive signal for switching the secondary switching element ON/OFF according to the control signal; and an enable control circuit that deactivates the main driver circuit when a power consumption of a load is less than a threshold value.
A switching power-supply circuit includes a transformer, a first switching element, a first rectifying/smoothing circuit generating a first output voltage by rectifying and smoothing the output of a first secondary winding, a second rectifying/smoothing circuit generating a second output voltage by rectifying and smoothing the output of a second secondary winding, a first feedback circuit generating a feedback signal according to the first output voltage, and a first switching control circuit. When the voltage of the second secondary winding is greater than the second output voltage and the second output voltage is less than the voltage of a reference-voltage circuit, a second rectifier circuit turns on a rectifier switch element, and stabilizes the second output voltage by controlling the number of pulses per unit time in a pulse current flowing through the second rectifier circuit.