摘要 |
A power supply includes an input filter and a discharging device. The input filter includes a capacitor to which an AC power source is provided. The discharging device rectifies and samples the AC power source. The discharging device generates a reference voltage according to a peak voltage of a generated sampling signal, generates an AC power source cutoff detection signal according to a comparison signal generated by comparing the sampling signal and a reference voltage, and discharges the capacitor through a discharging register according to the AC power source cutoff detection signal.
|