Switching power supply is mainly composed of power level and control circuit. The power level circuit includes EMI and input rectifier filter circuit, anti-shock converter circuit and output rectifier filter circuit. The control circuit includes UC3843 control circuit and voltage sampling feedback circuit.