Switching power supply protection circuit and power supply system
A switching power supply protection circuit includes a protection circuit, a switching circuit, a voltage feedback circuit, and a control circuit. The protection circuit is connected to the switching circuit, the voltage feedback circuit, and the control circuit, and controls output switch-on or output switch-off, controls switch-on or switch-off of the switching circuit, and controls the supply voltage. The switching circuit is connected to the control circuit and controls a working state of the control circuit. The voltage feedback circuit is connected to the control circuit and adjusts a control voltage and transmits the feedback voltage to the protection circuit. The control circuit is connected to a power supply and receives a voltage of the power supply for charging, provides a starting voltage for the protection circuit and controls the supply voltage according to the control voltage.
1 . A switching power supply protection circuit, comprising:
a protection circuit, a switching circuit, a voltage feedback circuit, and a control circuit;
wherein the protection circuit is respectively connected to the switching circuit, the voltage feedback circuit, and the control circuit, and is used to obtain a corresponding supply voltage based on a control voltage of the control circuit, control output switch-on or output switch-off based on the supply voltage, correspondingly control switch-on or switch-off of the switching circuit based on the output switch-on or the output switch-off, and control the supply voltage based on a feedback voltage of the voltage feedback circuit;
the switching circuit is connected to the control circuit and is used to control a working state of the control circuit, wherein the working state comprises working and stop-working;
the voltage feedback circuit is connected to the control circuit and is used to adjust the control voltage and transmit the feedback voltage to the protection circuit; and
the control circuit is connected to a power supply and is used to receive a voltage of the power supply for charging, provide a starting voltage for the protection circuit and control the supply voltage based on the control voltage.
2 . The switching power supply protection circuit according to claim 1 , wherein the protection circuit comprises a protection chip and a voltage-dividing circuit, and the protection chip is provided with a power pin, a compensation pin, a voltage feedback pin, a current sampling pin, and an output pin;
the power pin is connected to the control circuit, the compensation pin is connected to the voltage feedback circuit, the voltage feedback pin is connected to the voltage-dividing circuit, the current sampling pin is connected to the switching circuit, and the output pin is connected to the switching circuit; and
the voltage-dividing circuit is connected to the supply voltage and is used to control an input voltage of the voltage feedback pin based on the supply voltage.
3 . The switching power supply protection circuit according to claim 2 , wherein the voltage-dividing circuit comprises a first voltage-dividing resistance, a second voltage-dividing resistance, and a Zener diode;
a first end of the first voltage-dividing resistance is connected to a first end of the second voltage-dividing resistance, and a public connection point thereof is connected to the voltage feedback pin, and a second end of the first voltage-dividing resistance is grounded;
a second end of the second voltage-dividing resistance is connected to an anode of the Zener diode; and
a cathode of the Zener diode is connected to the supply voltage.
4 . The switching power supply protection circuit according to claim 2 , wherein the switching circuit comprises a switching tube, a first resistance, a second resistance, and a sampling resistance;
a gate of the switching tube is respectively connected to a first end of the first resistance and a first end of the second resistance, a source of the switching tube is respectively connected to the current sampling pin and a first end of the sampling resistance, and a drain of the switching tube is connected to the control circuit; and
a second end of the first resistance is connected to the output pin, a second end of the second resistance is grounded, and a second end of the sampling resistance is grounded.
5 . The switching power supply protection circuit according to claim 2 , wherein the protection circuit further comprises a capacitor connected between the compensation pin of the protection chip and the ground.
6 . The switching power supply protection circuit according to claim 1 , wherein the voltage feedback circuit comprises a third resistance, an optocoupler, and a closed-loop control circuit;
a first end of the third resistance is connected to the protection circuit, and a second end of the third resistance is connected to a collector of an input triode of the optocoupler;
an emitter of the input triode of the optocoupler is grounded, and an output diode of the optocoupler is connected to the closed-loop control circuit; and
the closed-loop control circuit is electrically connected to the control circuit.
7 . The switching power supply protection circuit according to claim 6 , wherein the closed-loop control circuit comprises a fourth resistance, a fifth resistance, a voltage regulator chip, a sixth resistance, a seventh resistance, an eighth resistance, and a first capacitance;
a first end of the fourth resistance is connected to the control voltage, and a second end of the fourth resistance is connected to a public connection point between a first end of the fifth resistance and an anode of the output diode of the optocoupler;
a second end of the fifth resistance is respectively connected to a first end of the voltage regulator chip and a cathode of the output diode of the optocoupler;
a second end of the voltage regulator chip is grounded, a third end of the voltage regulator chip is connected to a public connection point between a first end of the sixth resistance and a first end of the seventh resistance;
a second end of the sixth resistance is connected to the control voltage and a second end of the seventh resistance is grounded;
a first end of the eighth resistance is connected to a public connection point between the second end of the fifth resistance and the first end of the voltage regulator chip, and a second end of the eighth resistance is connected to the first end of the first capacitance; and
the second end of the first capacitance is connected to the third end of the voltage regulator chip, the first end of the sixth resistance, and the first end of the seventh resistance.
8 . The switching power supply protection circuit according to claim 1 , wherein the control circuit comprises a voltage circuit, a transformer, and an output circuit;
the voltage circuit is respectively connected to the power supply and a first input end of the transformer and is used to receive a voltage of the power supply for charging and provide the supply voltage for the protection circuit;
a second input end of the transformer is respectively connected to the switching circuit and the power supply, and an output end of the transformer is connected to the output circuit; and the output circuit is electrically connected to the voltage feedback circuit and is used to control the supply voltage based on the control voltage.
9 . The switching power supply protection circuit according to claim 8 , wherein the voltage circuit comprises a first supercapacitor and a first diode; the transformer comprises a first primary winding, a second primary winding, a first secondary winding, and a second secondary winding; the first input end is an input end of the first primary winding and comprises a first end and a second end, and the second input end is an input end of the second primary winding and comprises a third end and a fourth end; the output end comprises a first output end of the first secondary winding and a second output end of the second secondary winding; the output circuit comprises a first output circuit and a second output circuit;
a first end of the first supercapacitor is respectively connected to the power supply and a cathode of the first diode, and a second end of the first supercapacitor is grounded;
an anode of the first diode is connected to a fourth end of the second primary winding; the first end of the first primary winding is connected to the power supply, the second end of the first primary winding is connected to the switching circuit, and the third end of the second primary winding is grounded; and
the first output end of the first secondary winding is connected to the first output circuit, and the second output end of the second secondary winding is connected to the second output circuit.
10 . The switching power supply protection circuit according to claim 9 , wherein the first output circuit comprises a second diode and a second supercapacitor, wherein an anode of the second diode is connected to a fifth end of the first secondary winding, a cathode of the second diode is connected to an output voltage terminal, a first end of the second supercapacitor is connected to the cathode of the second diode, and a second end of the second supercapacitor is connected to a sixth end of the first secondary winding which is grounded.
11 . The switching power supply protection circuit according to claim 9 , wherein the second output circuit comprises a third diode and a third supercapacitor, wherein an anode of the third diode is connected to a seventh end of the second secondary winding, a cathode of the third diode is connected to an output voltage terminal, a first end of the third supercapacitor is connected to the cathode of the third diode and a second end of the third supercapacitor is connected to an eighth end of the second secondary winding which is grounded.
12 . The switching power supply protection circuit according to claim 9 , wherein the output voltage of the second output circuit is the control voltage, and wherein the control voltage is further configured to control the output voltage of the first output circuit and the supply voltage through the transformer.
13 . The switching power supply protection circuit according to claim 1 , further comprising a starting resistance, a protective resistance, a protective capacitance, and a protection diode;
a first end of the starting resistance is connected to the power supply and the control circuit, a second end of the starting resistance is respectively connected to the protection circuit and the control circuit;
a first end of the protective resistance is connected to the power supply, and a second end of the protective resistance is respectively connected to a second end of the protective capacitance and a cathode of the protection diode;
the second end of the protective capacitance is connected to a public connection point between the first end of the protective resistance and the power supply; and
an anode of the protection diode is connected to the switching circuit and the control circuit.
14 . The switching power supply protection circuit according to claim 13 , wherein the protection diode is further connected to a collector of a switching tube of the switching circuit and a second end of a first primary winding of a transformer of the control circuit.
15 . A power supply system, comprising the switching power supply protection circuit according to claim 1 .
16 . The switching power supply protection circuit of claim 1 , wherein the protection circuit is configured to switch off the output and correspondingly switch-off the switching circuit and the control circuit when the supply voltage reaches a first voltage value, and to restore operation of the switching circuit and the control circuit when the supply voltage drops to a second voltage value, the second voltage value being different from the first voltage value.
17 . A method for protecting a switching power supply, the switching power supply comprising a protection circuit connected to a switching circuit, a voltage feedback circuit, and a control circuit, the switching circuit connected to the control circuit, the voltage feedback circuit connected to the control circuit, and the control circuit connected to a power supply, the method comprising:
receiving, by the control circuit, a voltage of the power supply for charging;
providing, by the control circuit, a starting voltage to the protection circuit; and
controlling, by the control circuit, a supply voltage based on a control voltage of the control circuit;
controlling, by the switching circuit, a working state of the control circuit, wherein the working state comprises working and stop-working;
obtaining, by the protection circuit, the supply voltage based on the control voltage of the control circuit;
controlling, by the protection circuit, output switch-on or output switch-off based on the supply voltage and correspondingly controlling switch-on or switch-off of the switching circuit based on the output switch-on or the output switch-off;
controlling, by the protection circuit, the supply voltage based on a feedback voltage of the voltage feedback circuit.