The invention provides an output
voltage detection circuit. The output
voltage detection circuit comprises a
flyback transformer, a discharging detection circuit, a
pulse generator, a RS trigger and an output
voltage detection circuit, wherein the discharging detection circuit comprises a first
comparator, the first
comparator is used for sampling to acquire a voltage when a secondary winding is discharged and comparing the voltage with a first reference voltage, the
pulse generator is used for generating a pulse
signal according to a comparison result of the
comparator and a periodic drivingsignal, the RS trigger is used for outputting a level
signal of indicating whether discharging of the secondary winding is ended or not according to the pulse
signal, the output voltage detection circuit comprises a second comparator, a
delay circuit and a D trigger, the second comparator is used for sampling a voltage when the secondary winding is discharged and comparing the voltage with a second reference voltage, the
delay circuit is used for delaying an output of the second comparator, and the D trigger is used for locking an output signal of the
delay circuit according to the level signal, indicating the discharging ending of the secondary winding, output from the RS trigger and outputting a voltage, acquired by sampling, of the
flyback transformer after
delay time and before
delay time of the delay circuit. By the output voltage detection circuit, the output voltage state can be detected after the secondary winding is approximate to complete discharging.