Patent attributes
The power supply according to the present invention comprises a transformer, a power switch, a signal generating circuit, an on-time detection circuit, and a delay circuit. The transformer receives an input voltage and generates an output voltage. The power switch switches the transformer for regulating the output voltage. The signal generating circuit generates a switching signal for controlling switching of the power switch. The on-time detection circuit detects an on-time of the power switch and generates a short-circuit signal. The delay circuit counts to a first delay time or to a second delay time in response to a feedback signal of the power supply and the short-circuit signal to generate a turn off signal for controlling the signal generating circuit to latch the switching signal.