Patent ID: 10819219

Abstract:
Disclosed is a semiconductor device for switching power supply control including: a high voltage input starting terminal; a discharger; and an input state detection circuit that includes: a voltage divider; a peak hold circuit; a first comparator which detects generation of a plug removal state; a second comparator which detects generation of a brownout state; a timer circuit; and a control signal generation circuit which generates a signal to turn on the discharger or a signal to stop outputting of a switching control signal, Td1, Td2 and Td3 are set to have a relationship of Td1<Td2<Td3, Td1 being a delay time until the capacitor is discharged, Td2 being a delay time for determining the plug removal state, and Td3 being a delay time for determining the brownout state, and at least the delay time Td2 and the delay time Td3 are measured by a common timer circuit.