The invention provides an input undervoltage protecting circuit of a
switching power supply controller. The input undervoltage protecting circuit of the
switching power supply controller comprises a current detection circuit, a reference
voltage generating circuit, an undervoltage protecting
signal generating circuit and a pulse outputting
control circuit. The current detection circuit comprises a controller internal
resistor R2 and a controller
external resistor R1, and the resistance value of the R2 is far smaller than that of the R1. The reference
voltage generating circuit comprises an internal
resistor R3 and a
reference current source Iref, and the R3 and the R2 are resistors of the same type in the controller. The undervoltage protecting
signal generating circuit comprises a
comparator comp. A protecting point input
voltage Vin(p) meets the formula (please see the formula in the specification). When the input voltage Vin of a
switching power supply drops to be lower than the protecting point input voltage Vin(p), the output end UVP of the
comparator comp generates undervoltage protecting signals to control the pulse outputting
control circuit to
cut off pulse output of GATE pins of the controller. According to the input undervoltage protecting circuit of the switching power supply controller, the
peripheral circuits of the controller are simplified, the loss is small, meanwhile, the precision of input undervoltage protecting is high, and process bias is small. The invention further provides an input undervoltage protecting circuit with feed-forward compensation, the feed-forward compensation current Icom is in proportion to input voltages, the precision is high, and the process bias is small.