An all-function safety plug comprises a phase pole, a zero pole, a ground pole, a zero sequence current mutual
inductor, a test loop, an amplifying circuit, a direct-current power supply, a controlled
silicon, and a release; the phase pole, the zero pole and the ground pole are provided with switches; the zero sequence current mutual
inductor is arranged between a
phase line and a zero line; a ground wire is connected with a static contact by a movable contact elastic trip; the zero sequence current mutual
inductor passes through the ground wire; the output end of the zero sequence current mutual inductor in the ground wire is connected with a
capacitor and a
resistor in parallel; one output end of a ground wire mutual inductor is connected with the triggering
electrode of another controlled
silicon, while the other output end of the ground wire mutual inductor is connected with the
cathode of a rectification circuit; and the
anode and the
cathode of the controlled
silicon is connected with the
anode and the
cathode of the rectification circuit. The plug has the advantages that by another controlled silicon, even if the ground wire is electrified unexpectedly under the condition that the controlled silicon between the
phase line and the zero line or the amplifying circuit are in failure, the power supply can still be immediately
cut off, thereby stably and reliably preventing the ground wire to be electrified, and ensuring the
personnel safety of users. Furthermore, the zero sequence mutual inductor between the
phase line and the zero line does not interfere with the zero sequence mutual inductor of the ground wire, so that the reliability is good. In addition, the cost is saved.