Under-voltage protection circuit of switching power supply, power supply system and under-voltage protection method
By designing the under-voltage protection circuit of the current processing, comparison, timing, falling edge acquisition and operation modules in the switching power supply, and combining the input voltage and the falling edge signal of the start signal, the misjudgment of the under-voltage protection of the switching power supply when switching the load state is solved. problem, achieving stable operation and rapid response of the system.
Patent Information
- Application Number
- CN202410874386.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-02
AI Technical Summary
When the existing switching power supply rapidly switches from the load state to the no-load state, the undervoltage protection signal is prone to misjudgment, causing the system to shut down, and it does not respond quickly when the load is stabilized and cannot recover quickly.
An undervoltage protection circuit including a current processing module, a comparison module, a timing module, a falling edge acquisition module and an operation module is designed. By obtaining the input voltage value of the chip and comparing it with the reference voltage value, combined with the turn-on signal of the main switch tube The falling edge sampling signal is subjected to logical operations to generate an accurate undervoltage protection signal.
This circuit can accurately determine whether the input voltage is in an undervoltage state when the load state jumps to the no-load state, avoiding misjudgments, ensuring that the system enters standby mode normally, avoiding unnecessary shutdowns, and improving response speed when the load is stabilized. .
Smart Images

Figure CN118739199A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the technical field of switching power supplies, and in particular to an undervoltage protection circuit, a power supply system and an undervoltage protection method of a switching power supply. Background Art
[0002] With the rapid development of electronic information technology, flyback switching power supplies, as a switching power supply that uses a flyback high-frequency transformer to isolate the input and output circuits, have been increasingly used in daily equipment. In order to ensure that the system will not be damaged when the AC input voltage is lower than the normal voltage, an undervoltage protection scheme needs to be set. The relevant undervoltage protection scheme is to sample the input voltage through the auxiliary winding and convert it into current, then convert the current into voltage, and compare the voltage with the reference voltage. When the voltage is less than the reference voltage, the timer starts timing and when the timing reaches the detection time, the output is a high-level undervoltage protection signal; when the voltage is not less than the reference voltage, the timer does not work and outputs a low-level undervoltage protection signal. The undervoltage protection signal is used to determine whether the AC input voltage is too low. When the undervoltage protection signal is at a high level, the system is shut down; when the undervoltage protection signal is at a low level, it does not affect the system operation.
[0003] In the above scheme, when the system is working under normal AC input voltage and switches rapidly from a stable load state to a no-load state, the output feedback signal of the system will quickly change to an extremely low value, and then it is necessary to wait for the circuit loop to be established before returning to normal. Among them, the circuit loop response requires a certain time, which is the standby time. During the standby time, the switch signal of the switch tube in the circuit remains low. If the standby time exceeds the detection time of the undervoltage protection, the auxiliary winding cannot sample the input voltage when the switch tube is turned off, resulting in the output undervoltage protection signal being a high level, thereby causing a misjudgment operation on the AC input voltage.
[0004] At present, the related technology avoids the above situation by extending the detection time of undervoltage protection. However, this solution cannot respond quickly when the load is stable, and once the peripheral parameters of the system change and the circuit loop response time becomes longer, it will still cause an erroneous judgment signal to appear, causing the system to shut down. Summary of the invention
[0005] In view of the above defects or deficiencies in the prior art, it is desirable to provide an undervoltage protection circuit, a power supply system and an undervoltage protection method for a switching power supply.
[0006] In a first aspect, the present application provides an undervoltage protection circuit for a switching power supply, wherein the undervoltage protection circuit for the switching power supply comprises: a current processing module, a comparison module, a timing module, a falling edge acquisition module and a calculation module;
[0007] The input end of the current processing module is connected to the detection pin of the chip, the output end of the current processing module is connected to the first input end of the comparison module, the output end of the comparison module is connected to the input end of the timing module, the output end of the timing module is connected to the first end of the operation module, the input end of the falling edge acquisition module is connected to the main switch tube of the chip; the output end of the falling edge acquisition module is connected to the second end of the operation module;
[0008] The current processing module is used to obtain the input voltage value of the chip and send it to the comparison module;
[0009] The comparison module is used to compare the input voltage value with the reference voltage value, generate a first signal according to the comparison result and send it to the timing module; the reference voltage value is stored at the second input terminal of the comparison module;
[0010] The timing module is used to respond to the first signal, determine whether to perform a timing operation according to the first signal, generate a second signal and send it to the operation module;
[0011] The falling edge acquisition module is used to detect the falling edge of the switch tube start signal of the main switch tube, obtain the falling edge sampling signal and send it to the operation module;
[0012] The operation module is used to perform a logic operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal.
[0013] In one embodiment, the operation module includes: a first inverter, a second inverter, a first NAND gate and a second NAND gate; the output end of the falling edge acquisition module is connected to the input end of the first inverter, the output end of the first inverter is connected to the first input end of the first NAND gate, the second input end of the first NAND gate is connected to the output end of the second NAND gate, the output end of the first NAND gate is connected to the first input end of the second NAND gate, the second input end of the second NAND gate is connected to the output end of the timing module, the output end of the second NAND gate is also connected to the input end of the second inverter, and the output end of the second inverter outputs the undervoltage protection signal.
[0014] In one embodiment, the falling edge acquisition module is further used for:
[0015] When it is detected that the switch tube start signal is at a high level, a low level falling edge sampling signal is generated; or when it is detected that the falling edge of the switch tube start signal arrives, a high level falling edge sampling signal is generated.
[0016] In one embodiment, the computing module is further used for:
[0017] When the input voltage value is not less than the reference voltage value, a low-level second signal is obtained, and when the system exits the standby mode, the low-level falling edge sampling signal is obtained; according to the low-level second signal and the low-level falling edge sampling signal, a low-level undervoltage protection signal is obtained; or,
[0018] When the input voltage value is less than the reference voltage value, a high-level second signal is obtained, and when the system exits the standby mode, the high-level falling edge sampling signal is obtained; based on the high-level second signal and the high-level falling edge sampling signal, a high-level undervoltage protection signal is obtained.
[0019] In one embodiment, the timing module is further used for:
[0020] When the first signal is at a high level, the second signal at a low level is generated; the first signal is at a high level when the comparison module determines that the input voltage value is not less than the reference voltage value; or,
[0021] When the first signal is at a low level, a timing operation is performed and when the time reaches a preset detection time, the high level second signal is generated; the first signal is at a low level when the comparison module determines that the input voltage value is less than the reference voltage value.
[0022] In one embodiment, the falling edge acquisition module includes: a first switch tube, a second switch tube, a resistor, a capacitor, a Schmitt trigger, and a first NOR gate;
[0023] The drain of the first switch tube is connected to the power supply end of the chip, the source of the first switch tube is connected to one end of the resistor, the other end of the resistor is respectively connected to the drain of the second switch tube and the input end of the Schmitt trigger, the input end of the Schmitt trigger is also connected to one end of the capacitor, the output end of the Schmitt trigger is connected to the first input end of the first NOR gate, the main switch tube is respectively connected to the gate of the first switch tube, the gate of the second switch tube, and the second input end of the first NOR gate, the other end of the capacitor and the source of the second switch tube are grounded, and the output end of the first NOR gate is connected to the input end of the first inverter.
[0024] In one embodiment, the falling edge acquisition module includes: a current mirror, a third inverter, a first NOR gate, a second NOR gate, a first switch tube, a second switch tube, a capacitor, and a Schmitt trigger;
[0025] The main switch tube is connected to the input end of the third inverter, the output end of the third inverter is connected to the first input end of the first NOR gate, the second input end of the first NOR gate is connected to the output end of the second NOR gate, the output end of the first NOR gate is connected to the first input end of the second NOR gate, the second input end of the second NOR gate is connected to the output end of the Schmitt trigger, the output end of the first NOR gate is respectively connected to the gate of the first switch tube and the gate of the second switch tube, the input end of the current mirror is connected to the power supply end, and the output end of the current mirror is connected to the drain of the first switch tube; the source of the first switch tube is respectively connected to the drain of the second switch tube, one end of the capacitor, and the input end of the Schmitt trigger, the source of the second switch tube and the other end of the capacitor are grounded, and the output end of the second NOR gate is connected to the input end of the first inverter.
[0026] In one embodiment, the current mirror includes: a third switch tube and a fourth switch tube, the drain of the third switch tube is respectively connected to the power supply end and the drain of the fourth switch tube, the gate of the third switch tube is connected to the gate of the fourth switch tube, the source of the third switch tube, the gate of the third switch tube, and the gate of the fourth switch tube are respectively connected to the second input end of the comparison module, and the source of the fourth switch tube is connected to the drain of the first switch tube.
[0027] In a second aspect, the present application provides a power supply system, comprising an undervoltage protection circuit of a switching power supply as described in the first aspect above.
[0028] In a third aspect, the present application provides an undervoltage protection method, the method comprising:
[0029] The current processing module obtains the input voltage value of the chip and sends it to the comparison module;
[0030] The comparison module compares the input voltage value with the reference voltage value, generates a first signal according to the comparison result, and sends the first signal to the timing module;
[0031] The timing module responds to the first signal, determines whether to perform a timing operation according to the first signal, generates a second signal and sends it to the operation module;
[0032] The falling edge acquisition module detects the falling edge of the switch-on signal of the main switch in the chip, obtains the corresponding falling edge sampling signal and sends it to the operation module;
[0033] The operation module performs a logic operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal.
[0034] The embodiment of the present application provides an undervoltage protection circuit of a switching power supply, a power supply system and an undervoltage protection method. The undervoltage protection circuit of the switching power supply includes: a current processing module, a comparison module, a timing module, a falling edge acquisition module and an operation module. The input end of the current processing module is connected to the detection pin of the chip, the output end of the current processing module is connected to the first input end of the comparison module, the output end of the comparison module is connected to the input end of the timing module, the output end of the timing module is connected to the first end of the operation module, the input end of the falling edge acquisition module is connected to the main switch tube of the chip, and the output end of the falling edge acquisition module is connected to the second end of the operation module; the current processing module is used to obtain the input voltage value of the chip and send it to the comparison module, the comparison module is used to compare the input voltage value with the reference voltage value, generate a first signal according to the comparison result and send it to the timing module; the timing module is used to respond to the first signal, determine whether to perform a timing operation according to the first signal, generate a second signal and send it to the operation module; the falling edge acquisition module is used to detect the falling edge in the switch tube start signal of the main switch tube, obtain the falling edge sampling signal and send it to the operation module; the operation module is used to perform a logical operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal. Compared with the prior art, the undervoltage protection circuit can compare the input voltage value with the reference voltage value after obtaining the input voltage value of the chip, so that the timing module generates a second signal according to the comparison result, and provides data guidance information for the subsequent judgment of whether undervoltage protection occurs. The falling edge of the switch-on signal of the main switch tube is detected by the falling edge acquisition module to obtain a falling edge sampling signal. Therefore, while considering the second signal, the falling edge sampling signal in the switch-on signal of the main switch tube is also fully considered, and the undervoltage protection signal is generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and being able to ensure that the system enters the standby mode normally when jumping from the load state to the no-load state, without the occurrence of an erroneous undervoltage protection signal, resulting in the system shutting down. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0036] Figure 1 A flow chart of an undervoltage protection method in the related art provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of the structure of an undervoltage protection circuit of a switching power supply provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of the overall circuit structure of a switching power supply provided in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of the structure of an undervoltage protection circuit of a switching power supply provided in an embodiment of the present application;
[0040] Figure 5 A schematic diagram of the structure of a falling edge acquisition module provided in an embodiment of the present application;
[0041] Figure 6 A schematic diagram of the structure of a falling edge acquisition module provided in another embodiment of the present application;
[0042] Figure 7 A schematic diagram of a flow chart of an undervoltage protection method provided in an embodiment of the present application;
[0043] Figure 8 A schematic diagram of a flow chart of an undervoltage protection method provided by another embodiment of the present application;
[0044] Fig. 9 A schematic diagram of a waveform corresponding to a load jump when the input voltage value provided in the embodiment of the present application is in a normal state;
[0045] Fig.10 A schematic diagram of the waveform corresponding to the load jump when the input voltage value provided in the embodiment of the present application is in an undervoltage state.
[0046] Description of reference numerals:
[0047] Current processing module-10; comparison module-20; timing module-30; falling edge acquisition module-40; operation module-50; detection pin-51; primary side part-60; secondary side part-70; auxiliary part-80. DETAILED DESCRIPTION
[0048] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0049] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0050] Understandable, see Figure 1As shown, the undervoltage protection scheme of the related technology is to first obtain the AC voltage, and sample the input voltage through the auxiliary winding, convert the input voltage into current, and then input the current into the current-to-voltage module inside the system to convert the current into a certain proportion of voltage, and then input the voltage into the voltage comparator, compare it with the reference voltage, and obtain a comparison result, and then send the comparison result to the timing module. If the comparison result is that the voltage is less than the reference voltage, the timer starts timing and when the timing reaches the detection time, the output is a high-level undervoltage protection signal to control the shutdown system, that is, the system stops working; if the comparison result is that the voltage is not less than the reference voltage, the output is a low-level undervoltage protection signal, and the control system works normally.
[0051] The defect of the above scheme is that when the system is working under normal AC input voltage and switches rapidly from a stable load state to a no-load state, the output feedback signal of the system will quickly change to an extremely low value, and then it is necessary to wait for the circuit loop to be established before returning to normal. Among them, the circuit loop response requires a certain time, which is the standby time. During the standby time, the switch signal of the switch tube in the circuit remains low. If the standby time exceeds the detection time of the undervoltage protection, the auxiliary winding cannot sample the input voltage when the switch tube is turned off, resulting in the output undervoltage protection signal being a high level, thereby causing a misjudgment operation on the AC input voltage.
[0052] At present, the related technology avoids the above situation by extending the detection time of undervoltage protection. However, this solution cannot respond quickly when the load is stable, and once the peripheral parameters of the system change and the circuit loop response time becomes longer, it will still cause an erroneous judgment signal to appear, causing the system to shut down.
[0053] Based on the above defects, the present application provides an undervoltage protection circuit for a switching power supply. Compared with the prior art, the undervoltage protection circuit can compare the input voltage value with the reference voltage value after obtaining the input voltage value of the chip, so that the timing module generates a second signal according to the comparison result, and provides data guidance information for the subsequent judgment of whether undervoltage protection occurs. The falling edge acquisition module detects the falling edge in the switch-on signal of the main switch tube to obtain the falling edge sampling signal, so that while considering the second signal, the falling edge sampling signal in the switch-on signal of the main switch tube is also fully considered, and the undervoltage protection signal is generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and can ensure that when the system jumps from a load state to a no-load state, it enters the standby mode normally, and no erroneous undervoltage protection signal occurs, resulting in system shutdown.
[0054] See also Figure 2 As shown, Figure 2A schematic diagram of the structure of the undervoltage protection circuit of the switching power supply provided in the embodiment of the present application. The undervoltage protection circuit of the switching power supply includes: a current processing module 10, a comparison module 20, a timing module 30, a falling edge acquisition module 40 and an operation module 50. The input end of the current processing module 10 is connected to the detection pin 51 of the chip, the output end of the current processing module 10 is connected to the first input end of the comparison module 20, the output end of the comparison module 20 is connected to the input end of the timing module 30, the output end of the timing module 30 is connected to the first end of the operation module 50, the input end of the falling edge acquisition module 40 is connected to the main switch tube of the chip; the output end of the falling edge acquisition module 40 is connected to the second end of the operation module 50. Among them, the main switch tube of the above-mentioned chip is connected at Figure 2 Not shown.
[0055] The current processing module 10 is used to obtain the input voltage value of the chip and send it to the comparison module 20; the comparison module 20 is used to compare the input voltage value with the reference voltage value, generate a first signal according to the comparison result and send it to the timing module 30; the reference voltage value is stored at the second input end of the comparison module; the timing module 30 is used to respond to the first signal, determine whether to perform a timing operation according to the first signal, generate a second signal and send it to the operation module 50; the falling edge acquisition module 40 is used to detect the falling edge in the switch tube turn-on signal of the main switch tube, obtain the falling edge sampling signal and send it to the operation module 50; the operation module 50 is used to perform a logical operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal.
[0056] It should be noted that the undervoltage protection circuit provided in the embodiment of the present application can be applied to a switching power supply system, for example, it can be applied to a flyback converter (Flyback Converter), and it can also be applied to a forward converter. The flyback converter is widely used in AC / DC and DC / DC conversion, and provides insulation isolation between the input stage and the output stage. Among them, the above chip can be a processor chip, a sensor chip, a storage chip, a communication chip or a control chip.
[0057] See also Figure 3 As shown, Figure 3 The schematic diagram of the overall circuit of the switching power supply provided in the embodiment of the present application includes a primary side part 60, a secondary side part 70 and an auxiliary side part 80. The primary side part 60 includes a primary winding Np, a primary switch tube Q1, and a primary control circuit. The primary control circuit includes a chip, a phototransistor I1B, a capacitor C5, and a sampling resistor R CS, sampling resistor R5 and capacitor C6. The opposite-name end of the primary winding Np is connected to the input voltage end, the same-name end of the primary winding Np is connected to the drain of the main switch tube Q1, and the two ends of the primary winding Np are connected to the RCD peak absorption circuit. The RCD peak absorption circuit includes R1, C1 and D1. The source of the main switch tube Q1 is connected through the primary sampling resistor R CS The gate of the main switch tube Q1 is connected to the DRV pin of the chip in the primary control circuit, and the input voltage terminal Vbulk is connected to the VDD pin of the chip through the current limiting resistor R0. The input voltage terminal Vbulk is used to provide a startup voltage to the chip.
[0058] The secondary part 70 includes a secondary winding Ns, an output rectifier tube D2, a sampling resistor R2 and a light emitting diode I1A. The opposite-name end of the secondary winding Ns is grounded, and the same-name end of the secondary winding Ns is connected to the anode of the output rectifier tube D2. The cathode of the output rectifier tube D2 is respectively connected to the sampling resistor R2, the output capacitor C2, the sampling resistor R3 and the output voltage terminal Vout. The output capacitor C2 is used to stabilize the Vout voltage of the output voltage terminal. The output voltage terminal Vout is connected to the input terminal of TL431 through the sampling resistor R3 and the sampling resistor R4, and the output terminal of TL431 is connected to the light emitting diode I1A. The output current of TL431 is fed back to the FB pin of the primary chip through the optocoupler composed of the light emitting diode I1A and the primary phototransistor I1B.
[0059] The auxiliary part 80 includes an auxiliary winding Na, a diode D3, a capacitor C4, a sampling resistor R H And the sampling resistor R L , the opposite end of the auxiliary winding Na is grounded, and the same end of the auxiliary winding Na is connected to the sampling resistor R H One end of the sampling resistor R H The other end is connected to the sampling resistor R L One end of the primary chip is connected to the ZCD pin, and the sampling resistor R L The other end of is grounded and connected to one end of capacitor C4, the same-name end of the auxiliary winding Na is also connected to the anode of diode D3, and the cathode of diode D3 is connected to the VDD pin of the chip.
[0060] It can be understood that the above chip is a primary chip, and the ZCD pin of the above primary chip is a detection pin for detecting the input voltage value. The VDD pin of the primary chip is the input pin of the power supply, and the FB pin is a feedback pin for adjusting the stability of the output voltage. By controlling the FB pin, the output voltage can be adjusted and stabilized to ensure the normal operation of the system. The CS pin is used to connect the chip to an external circuit or component, transmit signals and power, and complete the function of the chip. The GND pin is the ground pin of the chip, which is used to connect to the ground wire of the device, and is used to connect the circuit of the chip to the ground wire of the device to ensure the stability and safety of the circuit. For example, when the CS pin is at a high level, the chip is in an idle state and does not communicate with external devices. When the CS pin is at a low level, the chip establishes a connection with an external device and performs data transmission.
[0061] Specifically, when the main switch tube Q1 in the circuit is turned on, the Vbulk terminal is used to provide a startup voltage to the chip. The voltage value corresponding to the same-name terminal of the auxiliary winding Na can be determined according to the provided startup voltage value by the following formula, where the same-name terminal of the auxiliary winding Na can be referred to Figure 3 Point A on the diagram shows:
[0062] V A = -Vbulk*Na / Np;
[0063] Among them, Vbulk is the starting voltage value, Na is the number of turns of the auxiliary winding, and Np is the number of turns of the primary winding.
[0064] Taking the detection pin ZCD of the chip as an example, after obtaining the voltage value corresponding to the same-name end of the auxiliary winding Na, the current value input to the detection pin ZCD is obtained according to the voltage value corresponding to the same-name end of the auxiliary winding Na and the sampling resistance value, which is expressed by the following formula:
[0065]
[0066] Where Vbulk is the starting voltage value, Na is the number of turns of the auxiliary winding, Np is the number of turns of the primary winding, R H is the sampling resistor value, I ZCD is the current value input to the detection pin ZCD.
[0067] The current processing module may include a resistor R ZCD After obtaining the current value input to the detection pin ZCD, the current value input to the detection pin ZCD is reduced by the current processing module according to the ratio K to obtain the reduced current value, and the reduced current value and the resistance value R are used to calculate the current value. ZCD Calculate and get the chip input voltage value Vsense, which can be expressed by the following formula:
[0068]
[0069] Among them, R ZCD is the resistance value inside the current processing module, K is the proportionality coefficient, 0 <k<1,R H is the sampling resistance value, and Vbulk is the starting voltage value.
[0070] It should be noted that by reducing the current value input to the detection pin ZCD according to the ratio K, the reduced current value can reduce the power consumption of the internal circuit. ZCD , Na, and Np are all fixed values, and the startup voltage value Vbulk is a variable value. Therefore, there is a linear relationship between the input voltage value Vsense and the startup voltage value Vbulk, so that the current processing module obtains the input voltage value of the chip and sends it to the comparison module 20.
[0071] Optional, see Figure 4 , the first input terminal of the comparison module 20 can be a positive terminal, and the second input terminal can be a negative terminal. The positive terminal of the comparison module 20 is used to receive the input voltage value Vsense sent by the current processing module 10. After obtaining the input voltage value Vsense of the chip, the input voltage value Vsense can be compared with the reference voltage value Vref stored at the negative terminal to obtain a comparison result, which is used to characterize whether the input voltage value Vsense is less than the reference voltage value Vref. The size of the reference voltage value Vref can be customized according to actual needs.
[0072] When the comparison result indicates that the input voltage value Vsense is less than the reference voltage value Vref, a low-level first signal Vcomp is generated, indicating that the input voltage value Vsense is too low; when the comparison result indicates that the input voltage value Vsense is not less than the reference voltage value Vref, a high-level first signal Vcomp is generated, indicating that the input voltage value Vsense is normal. The low level and high level of the first signal Vcomp indicate the working state of the first signal Vcomp. When the first signal Vcomp is at a low level, it indicates that the working state of the first signal Vcomp is "0", and it is in an invalid state at this time; when the first signal Vcomp is at a high level, it indicates that the working state of the first signal Vcomp is "1", and it is in a valid state at this time.
[0073] It should be noted that, due to fluctuations in the power grid during operation, the power supply system may be unstable during operation. If the first signal Vcomp output by the comparison module is used as the final undervoltage protection signal, the power supply system may be shut down directly when there is an accidental fluctuation in the power grid. Therefore, it is necessary to set a timing module 30 to further determine whether the input voltage value Vsense is in an undervoltage state, and the first signal Vcomp needs to be sent to the timing module 30.
[0074] In this embodiment, the input voltage value is compared with the reference voltage value through the comparison module, so that the first signal can be generated in a coarse-grained manner, providing good data guidance information for subsequent determination of whether the input voltage value is in an undervoltage state.
[0075] Optionally, the timing module 30 may include a timer, which is used to: receive and respond to the first signal, determine whether to perform the timing operation according to the first signal, and generate a second signal, which may include two working states: high level and low level, the high level is "1", and the low level is "0". When the first signal Vcomp is at a high level, the timer is turned off and a low-level second signal Timeout is generated; when the first signal Vcomp is at a low level, the timer is started and starts timing, and when the time reaches a preset detection time, a high-level second signal Timeout is generated. The detection time can be customized according to actual needs, for example, it can be 40ms-80ms.
[0076] It is understandable that when the system jumps from a stable load state to a no-load state, the system will enter the standby mode. After entering the standby mode, the main switch tube Q1 has no switching action, and its switch driving end does not output a waveform. When the main switch tube Q1 is not turned on, it is impossible to sample the input voltage value, that is, the input voltage value Vsense is always zero, and the corresponding first signal Vcomp is a low level. If the second signal Timeout is used as a criterion for judging whether the input voltage value is too low, when the timing is started and the time reaches the preset detection time, the corresponding second signal Timeout is output as a high level, and the system will shut down directly, so that when the system jumps from a stable load state to a no-load state, the system will misjudge the input voltage value, and an erroneous judgment signal will appear, causing the system to shut down.
[0077] In order to avoid the above situation, in this embodiment, a falling edge acquisition module is provided to detect the falling edge in the switch-on signal of the main switch tube, thereby obtaining the falling edge sampling signal delay and sending it to the operation module, so that the operation module performs a logical operation according to the second signal Timeout and the falling edge sampling signal delay to obtain the final undervoltage protection signal Vbrown. The final undervoltage protection signal Vbrown is used to determine whether the input voltage value Vsense is in an undervoltage state. When the undervoltage protection signal Vbrown is at a high level, it indicates that when the input voltage value Vsense is in an undervoltage state, in order to prevent the system from being damaged, it is necessary to control the shutdown of the system; when the undervoltage protection signal Vbrown is at a low level, it indicates that when the input voltage value Vsense is judged to be in a normal state, the control system operates normally.
[0078] The falling edge acquisition module is further used to generate a low-level falling edge sampling signal when the switch tube start signal is detected to be at a high level; and to generate a high-level falling edge sampling signal when the falling edge of the switch tube start signal is detected to arrive.
[0079] It should be noted that the above-mentioned falling edge sampling signal delay is a delay signal of the falling edge of the opening signal (Gate_on) of the main switch tube. When the main switch tube Q1 in the above circuit is turned on, the corresponding switch tube opening signal Gate_on is high level, and the corresponding falling edge sampling signal delay is low level; when the falling edge of the main switch tube Q1 arrives, it indicates that the main switch tube Q1 will be turned off, and the corresponding falling edge sampling signal delay is high level. When the system is in a stable load state, the main switch tube Q1 is turned on, the corresponding switch tube opening signal Gate_on is high level, and the corresponding falling edge sampling signal delay is low level; when the system is in a no-load state, the system will enter the standby mode. After entering the standby mode, the main switch tube Q1 has no switching action, the main switch tube Q1 is not turned on, and the input voltage value cannot be sampled, that is, the input voltage value Vsense is always zero. When the system exits the standby mode, the system will detect that a switching signal is provided to the main switch tube, and the input voltage value Vsense is sampled when the main switch tube is turned on. Therefore, the system can wait for the switch tube start signal Gate_on again in the standby mode, and then it can normally determine whether Vsense is in an under-voltage state. In this embodiment, due to the introduction of the falling edge sampling signal delay signal, the falling edge of the switch tube start signal of the main switch tube can be accurately detected, which can solve the problem of the system misjudging whether Vsense is in an under-voltage state in the standby mode.
[0080] In this embodiment, the operation module may be provided with at least one logic operation unit. After obtaining the second signal Timeout and the falling edge sampling signal delay, the logic operation unit in the operation module may perform a logic operation on the second signal Timeout and the falling edge sampling signal delay to obtain the undervoltage protection signal Vbrown. Since the undervoltage protection signal Vbrown is a combination of the second signal Timeout and the falling edge sampling signal delay in the switch-on signal of the main switch tube, it can solve the problem of system shutdown due to erroneous judgment when the system jumps from a stable load to no-load and the loop response time is long.
[0081] The undervoltage protection circuit of the switching power supply provided in the embodiment of the present application comprises: a current processing module, a comparison module, a timing module, a falling edge acquisition module and an operation module, wherein the input end of the current processing module is connected to the detection pin of the chip, the output end of the current processing module is connected to the first input end of the comparison module, the output end of the comparison module is connected to the input end of the timing module, the output end of the timing module is connected to the first end of the operation module, the input end of the falling edge acquisition module is connected to the main switch tube of the chip, and the output end of the falling edge acquisition module is connected to the second end of the operation module; the current processing module is used to obtain the input voltage value of the chip and send it to the comparison module, the comparison module is used to compare the input voltage value with the reference voltage value, generate a first signal according to the comparison result and send it to the timing module; the timing module is used to respond to the first signal, determine whether to perform the timing operation according to the first signal, generate a second signal and send it to the operation module; the falling edge acquisition module is used to detect the falling edge in the switch tube start signal of the main switch tube, obtain the falling edge sampling signal and send it to the operation module; the operation module is used to perform a logical operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal. Compared with the prior art, the undervoltage protection circuit can compare the input voltage value with the reference voltage value after obtaining the input voltage value of the chip, so that the timing module generates a second signal according to the comparison result, and provides data guidance information for the subsequent judgment of whether undervoltage protection occurs. The falling edge of the switch-on signal of the main switch tube is detected by the falling edge acquisition module to obtain a falling edge sampling signal. Therefore, while considering the second signal, the falling edge sampling signal in the switch-on signal of the main switch tube is also fully considered, and the undervoltage protection signal is generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and being able to ensure that the system enters the standby mode normally when jumping from the load state to the no-load state, without the occurrence of an erroneous undervoltage protection signal, resulting in the system shutting down.
[0082] In one embodiment, see Figure 4As shown, the above-mentioned operation module includes: a first inverter INV1, a second inverter INV2, a first NAND gate NAD1 and a second NAND gate NAD2; the output end of the falling edge acquisition module is connected to the input end of the first inverter INV1, the output end of the first inverter INV1 is connected to the first input end of the first NAND gate NAD1, the second input end of the first NAND gate NAD1 is connected to the output end of the second NAND gate NAD2, the output end of the first NAND gate NAD1 is connected to the first input end of the second NAND gate NAD2, the second input end of the second NAND gate NAD2 is connected to the output end of the timing module, the output end of the second NAND gate NAD2 is also connected to the input end of the second inverter INV2, and the output end of the second inverter INV2 outputs an undervoltage protection signal.
[0083] It should be noted that the above-mentioned operation module can be an inverting latch structure composed of two NAND gates and two inverters, also known as an RS latch structure. The RS latch structure consists of two cross-connected gate circuits, wherein the output of each gate circuit is connected to the input of another gate circuit. The two inverters are respectively the first inverter INV1 and the second inverter INV2, and the two NAND gates are respectively the first NAND gate NAD1 and the second NAND gate NAD2. The inverter is used to invert the input signal so that the output signal presents a phase opposite to the input signal. The NAND gate is used to combine the AND gate and the NOT gate, first performing an AND operation and then performing a NOT operation. The NAND gate outputs a high level when one or more of the input terminals are at a low level; the output is low only when all inputs are at a high level.
[0084] The above RS latch structure includes two input terminals (S and R), an output terminal (Q) and a complementary output terminal (Q'). Its core principle is to lock the output terminal into two states by controlling the input terminal, one of which is "0" and the other is "1". When the R (reset) input is 1, Q (output) is 0, and Q' (inverted output) is 1; when the S (set) input is 1, Q is 1, and Q' (inverted output) is 0. When the inputs R and S are both 0, the inverting latch will retain the previous output state, that is, the outputs Q and Q' will not change to the previous output state respectively. When the inputs R and S are both 1, the latch will be in an unstable state and its output state will be uncertain.
[0085] In this embodiment, the operation module performs logical operation on the second signal Timeout and the falling edge sampling signal delay, so as to accurately obtain the undervoltage protection signal Vbrown, thereby solving the problem of system shutdown due to erroneous judgment when the system jumps from stable load to no-load and the loop response time is long.
[0086] In one embodiment, see Figure 5As shown, the falling edge acquisition module includes: a first switch tube PM1, a second switch tube NM1, a resistor R0, a capacitor C0, a Schmitt trigger schmitt, and a first NOR gate NOR1.
[0087] The drain of the first switch tube PM1 is connected to the power supply terminal VCC of the chip, the source of the first switch tube PM1 is connected to one end of the resistor R0, the other end of the resistor R0 is respectively connected to the drain of the second switch tube NM1 and the input end of the Schmitt trigger schmitt, the input end of the Schmitt trigger schmitt is also connected to one end of the capacitor C0, the output end of the Schmitt trigger schmitt is connected to the first input end of the first NOR gate NOR1, the main switch tube is respectively connected to the gate of the first switch tube PM1, the gate of the second switch tube NM1, and the second input end of the first NOR gate NOR1, the other end of the capacitor C0 and the source of the second switch tube NM1 are grounded, and the output end of the first NOR gate NOR1 is connected to the input end of the first inverter.
[0088] It should be noted that the above-mentioned Schmitt trigger generally has two stable states, but unlike general triggers, the Schmitt trigger adopts a potential triggering method, and its state is maintained by the input signal potential. For input signals with two different change directions of negative decreasing and positive increasing, the Schmitt trigger has different threshold voltages. When the input voltage is higher than the positive threshold voltage, the output is a high level; when the input voltage is lower than the negative threshold voltage, the output is a low level; when the input is between the positive and negative threshold voltages, the output does not change, that is, the threshold voltage corresponding to the output flipping from a high potential to a low potential, or from a low potential to a high potential is different. The NOR gate is a logic operation gate. When all inputs are 0, the output is 1; when any input is 1, the output is 0. The above-mentioned capacitor C0 is an energy storage element used to store charge and has an impedance effect on alternating current. The resistor R0 has a current limiting function.
[0089] Specifically, when the switch-on signal Gate_on of the main switch is at a high level, the output falling edge sampling signal delay is at a low level; when the falling edge of the switch-on signal Gate_on of the main switch arrives, the output falling edge sampling signal delay is at a high level.
[0090] When the first switch tube PM1 is turned on, the voltage VCC charges the capacitor C0 after passing through the current limiting resistor R0 to achieve the purpose of voltage stabilization. After a period of time, the voltage on the capacitor C0 is greater than the upper threshold voltage of the Schmitt trigger schmitt and then flips to a high level, that is, the output is a high level, and then it is logically operated with the high-level switch tube opening signal Gate_on through the first NOR gate NOR1 to obtain a low-level falling edge sampling signal delay. Therefore, when the switch tube opening signal Gate_on is a high level, the corresponding output falling edge sampling signal delay is a low level. Similarly, when the falling edge of the switch tube opening signal Gate_on arrives, the corresponding output falling edge sampling signal delay is a high level. Among them, the high-level pulse time of the falling edge sampling signal delay can be determined by the capacitance value of the jump capacitor C0 or the resistance value of the current limiting resistor R0.
[0091] In one embodiment, see Figure 6 As shown, the falling edge acquisition module includes: a current mirror, a third inverter INV3, a first NOR gate NOR1, a second NOR gate NOR2, a first switch tube PM1, a second switch tube NM1, a capacitor C0, and a Schmitt trigger schmitt;
[0092] The main switch tube is connected to the input end of the third inverter INV3, the output end of the third inverter INV3 is connected to the first input end of the first NOR gate NOR1, the second input end of the first NOR gate NOR1 is connected to the output end of the second NOR gate NOR2, the output end of the first NOR gate NOR1 is connected to the first input end of the second NOR gate NOR2, the second input end of the second NOR gate NOR2 is connected to the output end of the Schmitt trigger schmitt, the output end of the first NOR gate NOR1 is respectively connected to the gate of the first switch tube PM1 and the gate of the second switch tube NM1, the input end of the current mirror is connected to the power supply end VCC, and the output end of the current mirror is connected to the drain of the first switch tube PM1; the source of the first switch tube PM1 is respectively connected to the drain of the second switch tube NM1, one end of the capacitor C0, and the input end of the Schmitt trigger schmitt, the source of the second switch tube schmitt NM1 and the other end of the capacitor C0 are grounded, and the output end of the second NOR gate NOR2 is connected to the input end of the first inverter.
[0093] It should be noted that the above current mirror can be composed of an NPN transistor and a PNP transistor. The emitter of the NPN transistor is connected to the base of the PNP transistor. In this way, the base currents of the two transistors can be equal, thereby achieving current proportional amplification.
[0094] The current mirror includes: a third switch tube PM3 and a fourth switch tube PM4, the drain of the third switch tube PM3 is respectively connected to the power supply terminal VCC and the drain of the fourth switch tube PM4, the gate of the third switch tube PM3 is connected to the gate of the fourth switch tube PM4, the source of the third switch tube PM3, the gate of the third switch tube PM3, and the gate of the fourth switch tube PM4 are respectively connected to the second input terminal of the comparison module, and the source of the fourth switch tube PM4 is connected to the drain of the first switch tube PM1.
[0095] Specifically, the second input terminal in the comparison module stores a reference voltage, and the reference current IREF can be obtained according to the reference voltage VREF. When the system changes from a stable load state to a no-load state, the switch tube on signal Gate_on changes from a high level to a low level, the output of the third inverter INV3 is a high level, the output of the first NOR gate NOR1 is a low level, and the output falling edge sampling signal delay is a high level. The reference current IREF passes through the current mirror formed by the third switch tube PM3 and the fourth switch tube PM4, and the third switch tube PM3 copies the reference current to the fourth switch tube PM4 in a certain proportion. When the first switch tube PM1 is turned on, the current copied to the fourth switch tube PM4 will charge the capacitor C0. After a period of time, the voltage on the capacitor C0 is greater than the upper threshold voltage of the Schmitt trigger schmitt and flips to a high level, that is, the output is a high level, and then it and the output result of the first NAND gate NOR1 are logically operated together through the second NOR gate NOR2, and the output falling edge sampling signal delay is a low level. Therefore, when the switch tube opening signal Gate_on is a high level, the corresponding output falling edge sampling signal delay is a low level. Similarly, when the falling edge of the switch tube opening signal Gate_on arrives, the corresponding output falling edge sampling signal delay is a high level. Among them, the high-level pulse time of the falling edge sampling signal delay can be determined by adjusting the capacitance value of the capacitor C0, the reference current value IREF or the proportional coefficient of the current mirror.
[0096] In this embodiment, by setting up a falling edge acquisition module, the falling edge in the switch tube start signal of the main switch tube can be accurately detected, thereby determining the pulse state of the falling edge sampling signal, so as to generate a corresponding undervoltage protection signal based on the falling edge sampling signal and the second signal, thereby solving the problem of system shutdown due to false judgment when the system jumps from stable load to no-load and the loop response time is long.
[0097] In one embodiment, the above-mentioned operation module is further used for:
[0098] When the input voltage value is not less than the reference voltage value, a low-level second signal is obtained, and when the system exits the standby mode, a low-level falling edge sampling signal is obtained; a low-level undervoltage protection signal is obtained according to the low-level second signal and the low-level falling edge sampling signal; or,
[0099] When the input voltage value is less than the reference voltage value, a high-level second signal is obtained, and when the system exits the standby mode, a high-level falling edge sampling signal is obtained; based on the high-level second signal and the high-level falling edge sampling signal, a high-level undervoltage protection signal is obtained.
[0100] As an implementable method, when the input voltage value is not less than the reference voltage value, it indicates that the input voltage value is in a normal state. When the system exits the standby mode, the switch tube start signal Gate_on is high, and the corresponding falling edge sampling signal delay is low. The auxiliary winding can be sampled normally. At this time, the input voltage value Vsense is normal, the first signal Vcomp output by the comparison module is high, and the timer in the timing module stops working, then the corresponding output second signal Timeout becomes low. The low-level falling edge signal delay and the low-level second signal Timeout are logically operated through the operation module to obtain the undervoltage protection signal Vbrown as a low level. Among them, the final output undervoltage protection signal Vbrown is obtained by logically combining the timing module output signal Timeout and the falling edge sampling signal delay of the switch tube conduction signal. The two signals need to be high at the same time for the Vbrown signal to be high. In this working state, the Vbrown signal is always low, and it is correct to judge that the input voltage value is in a normal state.
[0101] As another possible implementation, when the input voltage value is less than the reference voltage value, it indicates that the input voltage value is in an undervoltage state. When the system exits the standby mode, since the input voltage value is less than the reference voltage value, the input voltage value Vsense is too low. At this time, the first signal Vcomp output by the comparison module is low level. When the timer starts timing and reaches the preset detection time, the corresponding output second signal Timeout becomes high level. When the falling edge of the switch tube turn-on signal Gate_on arrives, the corresponding falling edge sampling signal delay is high level. The high level falling edge signal delay and the high level second signal Timeout are logically operated through the operation module to obtain the undervoltage protection signal Vbrown as high level. In this working state, the Vbrown signal is high level, and the judgment that the input voltage value is in an undervoltage state is correct.
[0102] In this embodiment, by obtaining the falling edge sampling signal in the switch tube start signal of the main switch tube and combining it with the second signal, an undervoltage protection signal can be generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and ensuring that the system enters the standby mode normally when jumping from the load state to the no-load state, without the occurrence of an erroneous undervoltage protection signal, which would cause the system to shut down.
[0103] On the other hand, an embodiment of the present application provides a power supply system, which includes the undervoltage protection circuit of the switching power supply provided in the above embodiment.
[0104] Specifically, the power supply system may further include other chips, which may be processor chips, sensor chips, storage chips, communication chips or control chips for realizing functions such as computing, storage, communication, sensing and control.
[0105] Exemplarily, when the chip is a central processing unit chip, the logical operation can perform calculation and control tasks; when the chip is a graphics processing unit chip, the logical operation can process graphics data; it may also include a storage circuit for storing data required for computer operation, for example, when the chip is a random access memory chip, the storage circuit is used to temporarily store data required for computer operation; when the chip is a read-only memory chip, the storage circuit is used to store fixed programs and data; it may also include an analog conversion circuit for converting physical quantities into electrical signals or digital signals, for example, when the chip is a sound sensor chip, the analog conversion circuit is used to convert sound signals into electrical signals, and when the chip is a photoelectric sensor chip, the analog conversion circuit is used to convert optical signals into electrical signals; it may also include a communication circuit for realizing communication and connection between devices, for example, when the chip is a wireless communication chip, the communication circuit is used to realize wireless network connection.
[0106] The power supply system provided in this embodiment includes the undervoltage protection circuit of the above-mentioned switching power supply. The undervoltage protection circuit of the switching power supply can compare the input voltage value with the reference voltage value after obtaining the input voltage value of the chip, so that the timing module generates a second signal according to the comparison result, provides data guidance information for subsequent judgment of whether undervoltage protection occurs, and detects the falling edge in the switch-on signal of the main switch tube through the falling edge acquisition module to obtain a falling edge sampling signal. Therefore, while considering the second signal, the falling edge sampling signal in the switch-on signal of the main switch tube is also fully considered, and the undervoltage protection signal is generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and can ensure that when the system jumps from a load state to a no-load state, it enters the standby mode normally, and no erroneous undervoltage protection signal occurs, resulting in system shutdown.
[0107] On the other hand, the embodiment of the present application also provides an undervoltage protection method. The undervoltage protection circuit applied to the switching power supply provided in the above embodiment, Figure 7 FIG. 2 is a flow chart of the undervoltage protection method according to an embodiment of the present application. Figure 7 As shown, the method includes:
[0108] S101 . The current processing module obtains the input voltage value of the chip and sends it to the comparison module.
[0109] S102: The comparison module compares the input voltage value with the reference voltage value, generates a first signal according to the comparison result, and sends the first signal to the timing module.
[0110] S103: The timing module responds to the first signal, determines whether to perform a timing operation according to the first signal, generates a second signal and sends it to the operation module.
[0111] S104, the falling edge acquisition module detects the falling edge of the switch-on signal of the main switch in the chip, obtains the corresponding falling edge sampling signal and sends it to the operation module.
[0112] S105 , the operation module performs a logic operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal.
[0113] Specifically, the undervoltage protection circuit of the switching power supply includes a current processing module, a comparison module, a timing module, a falling edge acquisition module and a calculation module. Different modules perform different functions.
[0114] Please attend Figure 8 As shown, when the main switch tube Q1 is turned on, the Vbulk end of the circuit provides a startup voltage to the chip, and the voltage value corresponding to the same-name end of the auxiliary winding is obtained based on the number of turns of the auxiliary winding and the number of turns of the primary winding. The voltage value is optimized and converted by the current processing module to obtain the corresponding input voltage value Vsense and send it to the comparison module, and the input voltage value Vsense is compared with the reference voltage value Vref by the comparison module, and a first signal Vcomp is obtained according to the comparison result, and then the first signal Vcomp is sent to the timing module, which receives and responds to the first signal Vcomp, determines whether to perform a timing operation according to the high and low level states of the first signal, and generates a second signal Timeout.
[0115] When the first signal Vcomp is at a low level, the timer starts timing and when the time reaches the detection time, the generated second signal Timeout is at a high level. When the first signal Vcomp is at a high level, the timer stops timing and the generated second signal Timeout is at a low level.
[0116] The falling edge acquisition module can detect the falling edge of the switch tube start signal Gate_on. When the switch tube start signal Gate_on is detected to be high, the generated falling edge sampling signal delay is low and sent to the operation module; when the falling edge of the switch tube start signal Gate_on is detected, the generated falling edge sampling signal delay is high and sent to the operation module. The operation module determines the corresponding undervoltage protection signal Vbrown according to the high and low level states of the second signal Vcomp and the high and low level states of the falling edge sampling signal delay.
[0117] As a possible way, please participate Fig. 9 As shown, Fig. 9 The waveform diagram corresponding to the load jump when the input voltage value provided in the embodiment of the present application is in a normal state. When the input voltage value is not less than the reference voltage value, it indicates that the input voltage value is in a normal state. When the system jumps from a stable load state to a no-load state, that is, when the system is in standby mode, the main switch tube is in an off state, then the corresponding switch tube opening signal Gate_on is low level, the first signal Vcomp output by the comparison module remains low level, and the timer in the timing module starts timing. When the preset detection time is reached, the corresponding output second signal Timeout becomes high level. When the system exits the standby mode, the switch tube opening signal Gate_on is high level, the corresponding falling edge sampling signal delay is low level, and the auxiliary winding can be sampled normally. At this time, the input voltage value Vsense is normal, the first signal Vcomp output by the comparison module is high level, and the timer in the timing module stops working, then the corresponding output second signal Timeout becomes low level. The low level falling edge signal delay and the low level second signal Timeout are logically operated through the operation module to obtain the undervoltage protection signal Vbrown as a low level. The final output signal Vbrown is obtained by logically combining the output signal Timeout of the timing module and the falling edge sampling signal delay of the switch tube conduction signal. The Vbrown signal will be high only when both signals are high at the same time. In this working state, the Vbrown signal is always low, and it is correct to judge that the input voltage value is in a normal state.
[0118] As another possible approach, please visit Fig.10 As shown, Fig.10The waveform diagram corresponding to the load jump when the input voltage value provided in the embodiment of the present application is in an undervoltage state. When the input voltage value is less than the reference voltage value, it indicates that the input voltage value is in an undervoltage state. When the system jumps from a stable load state to a no-load state, that is, when the system is in standby mode, the main switch tube is in an off state, then the corresponding switch tube opening signal Gate_on is low, the first signal Vcomp output by the comparison module remains low, and the timer in the timing module starts timing. When the preset detection time is reached, the corresponding output second signal Timeout becomes high. When the system exits the standby mode, since the input voltage value is less than the reference voltage value, the input voltage value Vsense is too low. At this time, the first signal Vcomp output by the comparison module is low, and the timer starts timing and reaches the preset detection time, the output corresponding to the output second signal Timeout becomes high. When the falling edge of the switch tube opening signal Gate_on arrives, the corresponding falling edge sampling signal delay is high, and the high-level falling edge signal delay and the high-level second signal Timeout are logically operated through the operation module to obtain the undervoltage protection signal Vbrown as a high level. The final output signal Vbrown is obtained by logically combining the output signal Timeout of the timing module and the falling edge sampling signal delay of the switch tube conduction signal. The two signals need to be high at the same time for the Vbrown signal to be high. In this working state, the Vbrown signal is high, and the judgment that the input voltage value is in an undervoltage state is correct.
[0119] The undervoltage protection method provided in the embodiment of the present application can compare the input voltage value with the reference voltage value after obtaining the input voltage value of the chip, so that the timing module generates a second signal according to the comparison result, and provides data guidance information for the subsequent judgment of whether undervoltage protection occurs, and detects the falling edge in the switch-on signal of the main switch tube through the falling edge acquisition module to obtain a falling edge sampling signal, so that while considering the second signal, the falling edge sampling signal in the switch-on signal of the main switch tube is also fully considered, and the undervoltage protection signal is generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and can ensure that when the system jumps from a load state to a no-load state, it enters the standby mode normally, and no erroneous undervoltage protection signal occurs, resulting in a system shutdown.
[0120] It should be noted that although the operations of the method of the present invention are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0121] In summary, the undervoltage protection circuit, power supply system and undervoltage protection method of the switching power supply provided by the embodiment of the present application include: a current processing module, a comparison module, a timing module, a falling edge acquisition module and an operation module, the input end of the current processing module is connected to the detection pin of the chip, the output end of the current processing module is connected to the first input end of the comparison module, the output end of the comparison module is connected to the input end of the timing module, the output end of the timing module is connected to the first end of the operation module, the input end of the falling edge acquisition module is connected to the main switch tube of the chip, and the output end of the falling edge acquisition module is connected to the second end of the operation module; the current processing module is used to obtain the input voltage value of the chip and send it to the comparison module, the comparison module is used to compare the input voltage value with the reference voltage value, generate a first signal according to the comparison result and send it to the timing module; the timing module is used to respond to the first signal, determine whether to perform the timing operation according to the first signal, generate a second signal and send it to the operation module; the falling edge acquisition module is used to detect the falling edge in the switch tube turn-on signal of the main switch tube, obtain the falling edge sampling signal and send it to the operation module; the operation module is used to perform a logical operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal. Compared with the prior art, the undervoltage protection circuit can compare the input voltage value with the reference voltage value after obtaining the input voltage value of the chip, so that the timing module generates a second signal according to the comparison result, and provides data guidance information for the subsequent judgment of whether undervoltage protection occurs. The falling edge of the switch-on signal of the main switch tube is detected by the falling edge acquisition module to obtain a falling edge sampling signal. Therefore, while considering the second signal, the falling edge sampling signal in the switch-on signal of the main switch tube is also fully considered, and the undervoltage protection signal is generated more comprehensively, thereby accurately determining whether the input voltage value of the chip is in an undervoltage state or a normal state, and being able to ensure that the system enters the standby mode normally when jumping from the load state to the no-load state, without the occurrence of an erroneous undervoltage protection signal, resulting in the system shutting down.
[0122] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.
Claims
1. An undervoltage protection circuit for a switching power supply, characterized in that: The undervoltage protection circuit of the switching power supply comprises: a current processing module, a comparison module, a timing module, a falling edge acquisition module and a calculation module; The input end of the current processing module is connected to the detection pin of the chip, the output end of the current processing module is connected to the first input end of the comparison module, the output end of the comparison module is connected to the input end of the timing module, the output end of the timing module is connected to the first end of the operation module, the input end of the falling edge acquisition module is connected to the main switch tube of the chip; the output end of the falling edge acquisition module is connected to the second end of the operation module; The current processing module is used to obtain the input voltage value of the chip and send it to the comparison module; The comparison module is used to compare the input voltage value with the reference voltage value, generate a first signal according to the comparison result and send it to the timing module; the reference voltage value is stored at the second input terminal of the comparison module; The timing module is used to respond to the first signal, determine whether to perform a timing operation according to the first signal, generate a second signal and send it to the operation module; The falling edge acquisition module is used to detect the falling edge of the switch tube start signal of the main switch tube, obtain the falling edge sampling signal and send it to the operation module; The operation module is used to perform a logic operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal.
2. The undervoltage protection circuit of the switching power supply according to claim 1, characterized in that: The operation module includes: a first inverter, a second inverter, a first NAND gate and a second NAND gate; the output end of the falling edge acquisition module is connected to the input end of the first inverter, the output end of the first inverter is connected to the first input end of the first NAND gate, the second input end of the first NAND gate is connected to the output end of the second NAND gate, the output end of the first NAND gate is connected to the first input end of the second NAND gate, the second input end of the second NAND gate is connected to the output end of the timing module, the output end of the second NAND gate is also connected to the input end of the second inverter, and the output end of the second inverter outputs the undervoltage protection signal.
3. The undervoltage protection circuit of the switching power supply according to claim 1, characterized in that: The falling edge acquisition module is also used for: When it is detected that the switch tube start signal is at a high level, a low level falling edge sampling signal is generated; or when it is detected that the falling edge of the switch tube start signal arrives, a high level falling edge sampling signal is generated.
4. The undervoltage protection circuit of the switching power supply according to claim 3, wherein the operation module is further used for: When the input voltage value is not less than the reference voltage value, a low-level second signal is obtained, and when the system exits the standby mode, the low-level falling edge sampling signal is obtained; according to the low-level second signal and the low-level falling edge sampling signal, a low-level undervoltage protection signal is obtained; or, When the input voltage value is less than the reference voltage value, a high-level second signal is obtained, and when the system exits the standby mode, the high-level falling edge sampling signal is obtained; based on the high-level second signal and the high-level falling edge sampling signal, a high-level undervoltage protection signal is obtained.
5. The undervoltage protection circuit of the switching power supply according to claim 4, wherein the timing module is further used for: When the first signal is at a high level, the second signal at a low level is generated; the first signal is at a high level when the comparison module determines that the input voltage value is not less than the reference voltage value; or, When the first signal is at a low level, a timing operation is performed and when the time reaches a preset detection time, the high level second signal is generated; the first signal is at a low level when the comparison module determines that the input voltage value is less than the reference voltage value.
6. The undervoltage protection circuit of the switching power supply according to claim 2, characterized in that: The falling edge acquisition module includes: a first switch tube, a second switch tube, a resistor, a capacitor, a Schmitt trigger, and a first NOR gate; The drain of the first switch tube is connected to the power supply end of the chip, the source of the first switch tube is connected to one end of the resistor, the other end of the resistor is respectively connected to the drain of the second switch tube and the input end of the Schmitt trigger, the input end of the Schmitt trigger is also connected to one end of the capacitor, the output end of the Schmitt trigger is connected to the first input end of the first NOR gate, the main switch tube is respectively connected to the gate of the first switch tube, the gate of the second switch tube, and the second input end of the first NOR gate, the other end of the capacitor and the source of the second switch tube are grounded, and the output end of the first NOR gate is connected to the input end of the first inverter.
7. The undervoltage protection circuit of the switching power supply according to claim 2, characterized in that: The falling edge acquisition module includes: a current mirror, a third inverter, a first NOR gate, a second NOR gate, a first switch tube, a second switch tube, a capacitor, and a Schmitt trigger; The main switch tube is connected to the input end of the third inverter, the output end of the third inverter is connected to the first input end of the first NOR gate, the second input end of the first NOR gate is connected to the output end of the second NOR gate, the output end of the first NOR gate is connected to the first input end of the second NOR gate, the second input end of the second NOR gate is connected to the output end of the Schmitt trigger, the output end of the first NOR gate is respectively connected to the gate of the first switch tube and the gate of the second switch tube, the input end of the current mirror is connected to the power supply end, and the output end of the current mirror is connected to the drain of the first switch tube; the source of the first switch tube is respectively connected to the drain of the second switch tube, one end of the capacitor, and the input end of the Schmitt trigger, the source of the second switch tube and the other end of the capacitor are grounded, and the output end of the second NOR gate is connected to the input end of the first inverter.
8. The undervoltage protection circuit of the switching power supply according to claim 7, wherein the current mirror comprises: a third switch tube and a fourth switch tube, wherein the drain of the third switch tube is respectively connected to the power supply end and the drain of the fourth switch tube, the gate of the third switch tube is connected to the gate of the fourth switch tube, the source of the third switch tube, the gate of the third switch tube, and the gate of the fourth switch tube are respectively connected to the second input end of the comparison module, and the source of the fourth switch tube is connected to the drain of the first switch tube.
9. A power supply system, characterized in that: The power supply system comprises an undervoltage protection circuit of a switching power supply as described in any one of claims 1 to 8 above.
10. An undervoltage protection method, characterized in that: An undervoltage protection circuit for a switching power supply according to any one of claims 1 to 8, wherein the undervoltage protection method comprises: The current processing module obtains the input voltage value of the chip and sends it to the comparison module; The comparison module compares the input voltage value with the reference voltage value, generates a first signal according to the comparison result, and sends the first signal to the timing module; The timing module responds to the first signal, determines whether to perform a timing operation according to the first signal, generates a second signal and sends it to the operation module; The falling edge acquisition module detects the falling edge of the switch-on signal of the main switch in the chip, obtains the corresponding falling edge sampling signal and sends it to the operation module; The operation module performs a logic operation on the second signal and the falling edge sampling signal to generate an undervoltage protection signal.
Citation Information
Patent Citations
Sampling circuit and overvoltage and under-voltage protection control circuit
CN105610129A
Undervoltage detection circuit of power tube gate-source voltage suitable for DC-CD converter
CN110208673A
Self-adaptive synchronous rectification chip
CN114079369A
Bridge arm fault adaptive detection protection method
CN114389444A
Double-loop standby control circuit and switching power supply
CN114844323A
