The invention relates to the technical field of power supply detection, in particular to a power switch state detection circuit for a
floating ground wire BUCK type switch power supply. The
floating ground wire BUCK type switch power supply comprises a power supply body VIN1, a power supply body VIN2, a switch S1, a switch S2, a
diode D1, a
diode D2, a power tube N1, a
Schottky diode SD1, an
inductor L1, a PWM control and power tube
driving circuit, a first ground wire and a second ground wire. The power switch state detection circuit comprises an NMOS tube N2, a
resistor R3, a sampling hold circuit, a
negative power supply generating circuit and a
voltage comparator. According to the power switch state detection circuit, the switch state is detected only in the
conduction time period of the power tube, the leakage current of the diodes is small in the switch state detection time period, the detection resistance can be selected to be large, so that the
power loss of the resistors is reduced, the working efficiency of a
system is improved, meanwhile, the leakage current does not change along with the
voltage of the power supply of the
system, and the
system does not generate errorsalong with the change of the
voltage of the power supply.