The speed of traditional switching equipment is too slow, and there will be wrong switching. This paper aims to design an accurate, stable and high-speed dual-power switching device. This paper describes a double AC220V automatic fast switching design, mainly including power conversion circuit, power failure detection circuit and power switch circuit. The design can quickly switch to the backup state after the main power failure, to ensure that the post-load equipment does not lose power. After the detection of the main power on, can automatically switch back to the main line power supply, keep the whole system stable power supply. The design is simple in structure, the switching time is less than 15ms, and can be widely used in all kinds of places.