A switching circuit with the
circuit protection function comprises a current-limiting
resistor R1, a photoelectric coupler, a
resistor R2, a
resistor R3, a
triode, a
diode and a
relay. One end of the current-limiting resistor R1 is connected with input signals and the other end of the current-limiting resistor R1 is connected with one input end of the photoelectric coupler. One input end of the photoelectric coupler is connected with the current-limiting resistor R1, the other input end of the photoelectric coupler is grounded, one output end of the photoelectric coupler is connected with a power source Vcc through the resistor R2, and the other output end of the photoelectric coupler is connected with the base
electrode of the
triode. The collector
electrode of the
triode is connected with the positive
electrode of the
diode, the emitting electrode of the triode is grounded, and the resistor R3 is further connected between the base electrode and the emitting electrode of the triode. The negative electrode of the
diode is connected with the power source Vcc and a coil J of the
relay is connected with the diode in parallel. The triode is adopted for controlling the
relay to achieve the switching function, the
reverse current is prevented through the photoelectric coupler, the circuit is protected, the switching circuit with the
circuit protection function is obtained through less devices, and the circuit is easy to obtain and low in cost.