Abstract: A high-voltage power supply circuit consisting of an amplifier, a sine wave generating circuit, an AC/DC converter, a microcontroller, a transformer, a rectifier diode, a filter capacitor, a first switch, and a second switch, in which the execution of the control program of the microcontroller controls the setting of the frequency of the sine wave signal, the start of the sine wave signal, the end of the sine wave signal, and the opening or closing of the relay switches; in which the sine wave signal from the sine wave generating circuit is amplified by an amplifier, boosted by a transformer, then rectified by a rectifier diode, and then filtered by a filter capacitor for output, or for feeding back to a negative terminal of the amplifier for comparison with the voltage at its positive terminal so as to stabilize the output voltage; and in which the execution of the control program of the microcontroller can also control the filter capacitor to discharge the voltage and the transformer to prevent damage to th