Disclosure of Invention
The invention aims at overcoming the defects in the prior art and provides a soft start circuit of a switching power supply, which has the characteristics of simple structure and reliable performance.
In order to achieve the aim of the invention, the invention adopts the following technical scheme: the soft start circuit comprises a power output voltage Vout, the soft start circuit comprises a latch control circuit, a charging delay circuit and a logic control circuit which are mutually connected, the input end of the latch control circuit is connected with the output end of the logic control circuit, the output end of the latch control circuit is connected with the input end of the logic control circuit, the output end of the charging delay circuit is connected with the input end of the logic control circuit, the logic control circuit comprises a first comparator COMP1, a second comparator COMP2, a first NAND gate NAND1 and a second NAND gate NAND2, the output end of the first comparator COMP1 is connected with the input end of the second NAND gate NAND2, the output end of the second comparator COMP2 is connected with the input end of the first NAND gate NAND1, and the power output voltage Vout is used as the input voltage of the logic control circuit.
In addition, the invention also provides the following auxiliary technical scheme: the positive end and the negative end of the input of the second comparator COMP2 are respectively connected with the output voltage Vout of the switching power supply and the output voltage Vcharge of the charging delay circuit, the positive end of the input of the first comparator COMP1 is connected with the reference voltage Vref, and the negative end of the input of the first comparator COMP1 is connected with the positive end of the input of the second comparator COMP 2.
The output terminal of the first comparator COMP1 is simultaneously used as the input terminal of the latch control circuit.
The latch control circuit comprises a first PMOS transistor PM1, a first NMOS transistor NM1 and a second NMOS transistor NM2, wherein the source electrode of the first PMOS transistor PM1 is connected with a power end VDD, the drain electrode of the first PMOS transistor PM1 is connected with the drain electrode of the NMOS transistor NM1, the source electrode of the first NMOS transistor NM1 is connected with the drain electrode of the second NMOS transistor NM2, and the source electrode of the second NMOS transistor NM2 is grounded.
The latch control circuit further comprises an inverter INV, a first capacitor C1 and a first current source I1, wherein the drain electrode of the first PMOS transistor PM1 is connected with the input end of the inverter INV, one end of the first capacitor C1 is connected with the drain electrode of the first PMOS transistor PM1, and the other end is connected with the source electrode of the second NMOS transistor NM 2.
The output end of the first comparator COMP1 is connected to the gates of the first PMOS transistor PM1 and the first NMOS transistor NM1, respectively.
The charging delay circuit comprises a second PMOS transistor PM2 and a third NMOS transistor NM3, wherein the source electrode of the second PMOS transistor PM2 is connected with a power supply voltage VDD, the drain electrode of the second PMOS transistor PM2 is connected with the input negative terminal of the second comparator COMP2, the drain electrode of the third NMOS transistor NM3 is connected with the drain electrode of the second PMOS transistor PM2, the source electrode of the third NMOS transistor NM3 is grounded, and the grid electrodes of the second PMOS transistor PM2 and the third NMOS transistor NM3 are respectively connected with the input end of the inverter INV.
It further includes a second capacitor C2 and a second current source 12, one end of the second capacitor C2 is connected to the drain of the second PMOS transistor PM2, and the other end is grounded, and the second capacitor C2 is charged by the second current source I2.
The switching power supply system further comprises a feedback control and driving circuit and a driving tube DP, and the soft start circuit opens and closes the driving tube DP through the feedback control and driving circuit.
Compared with the prior art, the invention has the advantages that: the soft start function is realized by adopting a simple on-chip design mode, and no control signal is required to be provided outside the system or an additional clock signal is required to be generated. Meanwhile, the soft start function is realized by intermittently charging the output, and a large soft start charging capacitor is not needed, so that the soft start circuit can be completely placed in a chip for realization, the complexity of circuit design is obviously reduced, the integration level is improved, and the design cost is reduced.
Detailed Description
The technical scheme of the present invention is further described in non-limiting detail below with reference to the preferred embodiments and the accompanying drawings.
The switching power supply circuit shown in fig. 1 comprises a driving tube DP, a rectifying tube DN, an inductor L, a capacitor C, a feedback and driving circuit and a soft start circuit. The input end of the driving tube DP is connected with the power supply VDD, the output end of the driving tube DP is connected with the input end of the rectifier DN, the output end of the rectifier DN is grounded, and the control end of the driving tube DP and the control end of the rectifying tube DN are respectively connected with the feedback control and the driving circuit. The inductor L is arranged between the driving tube DP and the output voltage Vout of the switching power supply, and one end of the capacitor C is connected with the inductor L. The other end is grounded. The output voltage Vout of the power supply slowly rises under the action of the soft start circuit, so that the generation of large surge current in the starting stage of the switching power supply system is avoided, and the overshoot of the output voltage is caused.
As shown in fig. 2 and 3, a soft start circuit includes a latch control circuit 100, a charge delay circuit 200, and a logic control circuit 300, where the latch control circuit 100 and the logic control circuit 300 are respectively connected to the charge delay circuit 200, and the latch control circuit 100 is connected to the logic control circuit 300. An input end of the latch control circuit 100 is connected with an output end of the logic control circuit 300, an output end of the latch control circuit 100 is connected with an input end of the logic control circuit 300, and an output end of the charge delay circuit 200 is connected with an input end of the logic control circuit 300. The latch control circuit 100 has its input as the output signal latch_set of the logic control circuit 300 and its output as the input signal soft_start_en of the logic control circuit 300. The inputs of the logic control circuit 300 are the output voltage Vcharge of the charge delay circuit 200, the output voltage Vout of the switching power supply, the reference level Vref, and the signal soft_start_en output from the latch control circuit 100.
The latch control circuit 100 is configured to latch a state of enabling or disabling the soft start circuit, where the latch control circuit 100 includes a first PMOS transistor PM1, a first NMOS transistor NM1, a second NMOS transistor NM2, an inverter INV, a first capacitor C1, and a first current source I1, a source of the first PMOS transistor PM1 is connected to the power supply terminal VDD, a drain of the first PMOS transistor PM1 is connected to a drain of the first NMOS transistor NM1, a source of the first NMOS transistor NM1 is connected to a drain of the second NMOS transistor NM2, a source of the second NMOS transistor NM2 is grounded, and a drain of the first PMOS transistor PM1 is connected to the inverter INV. One end of the first capacitor C1 is connected to the drain of the first PMOS transistor PM1, and the other end is connected to the source of the second NMOS collective transistor NM 2. One end of a first current source I1 is connected with the drain electrode of the first PMOS transistor PM1, the other end of the first current source I1 is connected with the source electrode of the second NMOS transistor NM2, the first current source I1 pulls the initial voltage of the node 1 to a low level, the initial working state of the latch control circuit is determined, and the normal working of the switch power supply system during starting is ensured.
The logic control circuit 300 includes a first comparator COMP1, a second comparator COMP2, a first NAND gate NAND1, and a second NAND gate NAND2, where an input positive terminal of the second comparator COMP2 is a switching power supply output voltage Vout, an input negative terminal voltage of the second comparator COMP2 is an output voltage Vcharge of the charging delay circuit 200, an output terminal of the second comparator COMP2 is connected to the first NAND gate NAND1, and another input terminal of the first NAND gate NAND1 is connected to a gate of the first NMOS transistor NM 1. The input positive terminal voltage of the first comparator COMP1 is the reference voltage Vref, the input negative terminal of the first comparator COMP1 is connected to the input positive terminal of the second comparator COMP2, the output terminal is connected to the input terminal of the second NAND gate NAND2, and the other input terminal of the second NAND gate NAND2 is connected to the gates of the first PMOS transistor PM1 and the second NMOS transistor NM2, respectively.
The charging delay circuit 200 includes a second PMOS transistor PM2, a third NMOS transistor NM3, a second capacitor C2, and a second current source I2, where a source of the second PMOS transistor PM2 is connected to the power supply voltage VDD, a drain of the second PMOS transistor PM2 is connected to an input negative terminal of the second comparator COMP2, a drain of the third NMOS transistor NM3 is connected to a drain of the second PMOS transistor PM2, a source of the third NMOS transistor NM3 is grounded, and gates of the second PMOS transistor PM2 and the third NMOS transistor NM3 are respectively connected to an input terminal of the inverter INV. One end of the second capacitor C2 is connected with the drain electrode of the second PMOS transistor PM2, the other end of the second capacitor C2 is grounded, one end of the second current source I2 is connected with the power supply end VDD, and the other end of the second current source I2 is connected with the source electrode of the second PMOS transistor PM 2.
As shown in fig. 4, when the system starts to power up, the source of the first PMOS transistor PM1 is at a high voltage end, the first PMOS transistor PM1 is turned on, the first current source I1 pulls the initial voltage of the node 1 to a low level, the low level voltage sets the voltage of the signal soft_start_en to be high through the inverter INV, the gate of the first NMOS transistor NM1 is at a high level, the first NMOS transistor NM1 is turned on, the switching power supply output voltage Vout is smaller than the reference voltage Vref, the first comparator COMP1 outputs a high level, the gate of the second NMOS transistor NM2 is at a high level, the second NMOS transistor NM2 is turned on, the gate of the first PMOS transistor PM1 is also at a high level, the first PMOS transistor PM1 is turned off, so that the signal soft_start_en is kept at a high level, and the soft start function is turned on.
The voltage of the node 1 is low, the gate of the third NMOS transistor NM3 and the gate of the second PMOS transistor PM2 are low, so that the third NMOS transistor NM3 is turned off, the second PMOS transistor PM2 is turned on, the second current source I2 charges the second capacitor C2, the second comparator COMP2 inputs the negative voltage Vcharge to slowly rise, when the input positive power output voltage Vout is smaller than the input negative voltage Vcharge, the voltage of the node 2 outputted by the second comparator COMP2 is low, the voltage of the node 3 is high after passing through the first NAND gate NAND1, the voltage of the other input terminal latch_set of the second NAND gate NAND2 is also high, the signal Vdrive voltage after passing through the second NAND gate NAND2 is low, the driving transistor DP of the switching power supply is turned on after passing through the feedback control and the driving circuit, the power output voltage Vout is gradually raised, when the output voltage Vout is larger than the input negative voltage Vcharge, the voltage Vout is high, the voltage of the other node 2 is high after passing through the first NAND gate NAND1, the voltage Vout is high, the voltage of the other node is high, and the voltage of the other node is high when the voltage Vout is high, the voltage is high, and the voltage is turned off again, and the voltage of the other node is high, and the voltage is stopped when the voltage is high, the voltage is turned off, the voltage is 2, and the voltage is high, and the voltage is turned off. In the soft start process, the voltage Vout rises slowly, and surge current and voltage overshoot caused by sharp charging are avoided.
When the power output voltage Vout is charged, if the power output voltage Vout is higher than the reference voltage Vref, the output voltage of the first comparator COMP1 is at a low level, at this time, the first PMOS transistor PM1 is turned on, the second MOS transistor NM2 is turned off, the voltage of the node 1 is pulled up, the gate of the third MOS transistor NM3 and the second PMOS transistor PM2 are at a high level, the third MOS transistor NM3 is turned on, the second PMOS transistor PM2 is turned off, the second capacitor C2 stops charging, the voltage Vcharge is pulled down, the voltage at the node 1 position is set to be low by the signal soft_start_en output after the inverter INV is inverted, the gate of the first MOS transistor NM1 is at a low level, and the first MOS transistor NM1 is turned off. At this time, the first PMOS transistor PM1, the first MOS transistor NM1, the second MOS transistor NM2, the inverter INV, the first current source I1, and the first capacitor C1 form a latch, and since the first current source I1 is small and the first capacitor C1 is used as a voltage stabilizing capacitor, it is ensured that the node 1 is kept at a high level under a normal operating state of the switching power supply, and therefore, the signal soft_start_en is kept at a low level, which does not affect the normal operation of the system, so that the soft start is finished, and the switching power supply stably operates.
The invention has the advantages that the soft start function is realized by adopting a simple on-chip design mode, the control signal is not required to be provided outside the system, and the additional clock signal is not required to be generated, meanwhile, the method for intermittently charging the output end is adopted, and a large soft start charging capacitor is not required, so that the soft start circuit can be completely put into the chip for realization, the complexity of circuit design is obviously reduced, the resource is saved, the cost is lower, the circuit portability is high, and the practicability is strong.
It should be noted that the foregoing description of the preferred embodiments is merely illustrative of the technical concept and features of the present invention, and is not intended to limit the scope of the invention, as long as the scope of the invention is defined by the claims and their equivalents. All equivalent changes or modifications made in accordance with the spirit of the present invention should be construed to be included in the scope of the present invention.