Switching power supply circuit, method, device, equipment and medium for charging bootstrap capacitor
By using voltage detection modules and control modules in the switching power supply circuit, charging the bootstrap capacitors only when needed, solving the problem of high power consumption caused by frequent detection and charging during light loads, and improving efficiency.
Patent Information
- Application Number
- CN202111223032.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-10-20
AI Technical Summary
The prior art frequently detects and charges bootstrap capacitors at light loads, resulting in high power consumption problems.
A switching power supply circuit is designed to detect the bootstrap capacitor voltage when the first switch tube is closed through the voltage detection module, and control the opening and closing of the second switch tube based on the voltage threshold, and charge only when necessary to avoid uninterrupted detection. and charge.
It effectively reduces power consumption and charges only when the first switch tube needs to be turned on, improving efficiency at light loads.
Smart Images

Figure CN113937982B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of bootstrap capacitor charging, and in particular to a switching power supply circuit, method, device, equipment and medium for charging a bootstrap capacitor. Background Art
[0002] In the switching power supply circuit, a bootstrap capacitor is usually used to power the driving module of the switch tube. The bootstrap capacitor uses the characteristic that the voltage at both ends of the capacitor cannot change suddenly. When a certain voltage is maintained at both ends of the capacitor, the voltage at the negative end of the capacitor is increased, and the voltage at the positive end is still maintained at the original voltage difference at the negative end, which means that the voltage at the positive end is raised by the negative end. It is actually a positive feedback capacitor used to raise the power supply voltage. The bootstrap capacitor is a bootstrap circuit.
[0003] In order to improve the efficiency of the switching power supply under light load, the so-called pulse frequency modulation is used. For a long period of time, the high-side switch tube and the low-side switch tube are turned off at the same time. In this way, the charge on the bootstrap capacitor will continue to decrease due to leakage or the inherent static current of the circuit itself. In this way, there will be insufficient voltage to drive the high-side switch tube when it is needed to be turned on next time.
[0004] In order to ensure that the high-side switch tube has sufficient power to achieve driving, the existing technology generally uses two methods to charge the bootstrap capacitor. One is to continuously perform differential detection on the voltage across the bootstrap capacitor. Once the voltage on the bootstrap capacitor is detected to be lower than a certain threshold, the bootstrap capacitor is charged. The other is to continuously detect the voltage on the bootstrap capacitor. Once the voltage on the bootstrap capacitor is detected to be lower than a certain threshold, the low-side switch and the charging circuit are turned on to charge the bootstrap capacitor.
[0005] However, the above-mentioned charging method will result in frequent charging and uninterrupted detection by the voltage detection module. However, if the load is very light, such frequent charging is unnecessary. At the same time, frequent charging will bring additional power consumption. Summary of the invention
[0006] The present invention provides a switching power supply circuit, method, device, equipment and medium for charging a bootstrap capacitor to solve the problem of high power consumption caused by uninterrupted detection and charging.
[0007] According to a first aspect of the present invention, there is provided a switching power supply circuit capable of charging a bootstrap capacitor, comprising: a bootstrap capacitor, a control module, a first switch tube, a second switch tube, a voltage detection module, and a first driving module;
[0008] The first end of the bootstrap capacitor is directly or indirectly connected to the first driving module and connected to the power supply, the first end of the first switch tube is connected to the input power supply, the second end of the first switch tube is connected to the first end of the second switch tube and connected to the power output end via an inductor, the second end of the second switch tube is grounded, and the second end of the bootstrap capacitor is connected to the first end of the second switch tube; the control end of the first switch tube is connected to the control module via the first driving module to be controlled by the control module, the control end of the second switch tube is directly or indirectly connected to the control module, and the voltage detection module is also connected to the control module;
[0009] The voltage detection module is configured to detect the voltage across the bootstrap capacitor when the first switch tube is turned off and is about to be turned on, and feed back the voltage detection result to the control module;
[0010] The control module is used for:
[0011] Only when the first switch tube is turned off and the first switch tube is to be turned on, the second switch tube is controlled to be turned on and off based on the voltage across the bootstrap capacitor, so that the bootstrap capacitor is charged by the power supply when the second switch tube is turned on;
[0012] The first driving module is configured to drive the first switch tube to turn on in response to a first start signal sent by the control module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold.
[0013] Optionally, when the control module controls the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor, it is specifically used to:
[0014] If the voltage across the bootstrap capacitor is lower than the voltage threshold, intermittently turning on the second switch tube;
[0015] If the voltage across the bootstrap capacitor is not lower than the voltage threshold, the second switch tube is controlled to be in a closed state.
[0016] Optionally, when the control module intermittently turns on the second switch tube, it is specifically used to:
[0017] Turning on and off the second switch tube multiple times until the voltage across the bootstrap capacitor is no less than the voltage threshold;
[0018] Each time after the second switch tube is turned on, the first fixed time period is waited for, and then the second switch tube is turned off.
[0019] Each time after the second switch tube is turned off, the second fixed time period is waited for, and then the second switch tube is turned on.
[0020] Optionally, a current detection module is further included, the current detection module is directly or indirectly connected to the inductor, the current detection module is configured to detect the reverse current of the inductor when the first switch tube is turned off and the first switch tube is to be turned on, and obtain a corresponding current detection result, and the current detection module is connected to the control module to feed back the current detection result to the control module;
[0021] When the control module intermittently turns on the second switch tube, it is specifically used to:
[0022] Based on the reverse current of the inductor, the second switch tube is turned on intermittently.
[0023] Optionally, when the control module intermittently turns on the second switch tube based on the reverse current of the inductor, it is specifically used to:
[0024] Controlling the second switch tube to turn on;
[0025] When the reverse current increases due to the turning on of the second switch tube, if it is detected that the reverse current increases to a preset current threshold, the second switch tube is controlled to be turned off;
[0026] When the reverse current decreases due to the closing of the second switch tube, if it is detected that the inductor current decreases to match the zero point, the second switch tube is controlled to be turned on.
[0027] Optionally, it also includes a charging switch tube and a charging drive module;
[0028] The first end of the charging switch tube is connected to the power supply, the second end of the charging switch tube is connected to the first driving module and the first end of the bootstrap capacitor, and the control end of the charging switch tube is connected to the control module via the charging driving module to be controlled by the control module;
[0029] The bootstrap capacitor is configured to be able to be charged by the power supply when the second switch tube and the charging switch tube are both turned on;
[0030] The control module is also used for:
[0031] When the first switch tube is turned off and is about to be turned on, the charging drive module is used to control the charging switch tube to be in an on state, or: the state of the charging switch tube is controlled to be consistent with that of the second switch tube.
[0032] According to a second aspect of the present invention, a method for controlling charging of a bootstrap capacitor is provided.
[0033] A control module applied to a switching power supply circuit, wherein the switching power supply circuit further comprises: a bootstrap capacitor, a control module, a first switching tube, a second switching tube, a voltage detection module, and a first driving module;
[0034] The first end of the bootstrap capacitor is directly or indirectly connected to the first driving module and connected to the power supply, the first end of the first switch tube is connected to the input power supply, the second end of the first switch tube is connected to the first end of the second switch tube and connected to the power output end via an inductor, the second end of the second switch tube is grounded, and the second end of the bootstrap capacitor is connected to the first end of the second switch tube; the control end of the first switch tube is connected to the control module via the first driving module to be controlled by the control module, the control end of the second switch tube is directly or indirectly connected to the control module, and the voltage detection module is also connected to the control module;
[0035] The control method comprises:
[0036] Acquiring a voltage detection result from the voltage detection module, wherein the voltage detection result is formed when the first switch tube is turned off and the voltage detection module detects the voltage across the bootstrap capacitor when the first switch tube is turned on;
[0037] Only when the first switch tube is turned off and the first switch tube is to be turned on, the second switch tube is controlled to be turned on and off based on the voltage across the bootstrap capacitor, so that the bootstrap capacitor is charged by the power supply when the second switch tube is turned on;
[0038] When the voltage of the bootstrap capacitor is higher than a preset voltage threshold, a first turn-on signal for turning on the first switch tube is output to the first driving module, so that: the first driving module can drive the first switch tube to turn on in response to the first turn-on signal when the voltage of the bootstrap capacitor is higher than the preset voltage threshold.
[0039] According to a third aspect of the present invention, there is provided a bootstrap capacitor charging device, comprising:
[0040] an acquisition unit, configured to acquire a voltage detection result from the voltage detection module, wherein the voltage detection result is formed by the voltage detection module detecting the voltage across the bootstrap capacitor;
[0041] a first switch tube control unit, configured to output a first turn-on signal for turning on the first switch tube to the first driving module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold, so that: the first driving module can drive the first switch tube to turn on in response to the first turn-on signal when the voltage of the bootstrap capacitor is higher than the preset voltage threshold;
[0042] a second switch tube control unit, configured to control the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor when the first switch tube is turned off and the first switch tube is to be turned on; wherein the bootstrap capacitor is configured to be able to be charged by the power supply when the second switch tube is turned on;
[0043] A charging switch tube control unit is used to control the charging switch tube to be in an on state when the first switch tube is turned off and the first switch tube is to be turned on, or to control the state of the charging switch tube to be consistent with that of the second switch tube.
[0044] According to a fourth aspect of the present invention, there is provided an electronic device,
[0045] The memory is used to store codes;
[0046] The processor is used to execute the code in the memory to implement the method involved in the second aspect of the present invention.
[0047] According to a fifth aspect of the present invention, there is provided a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for controlling charging of the bootstrap capacitor according to the second aspect of the present invention.
[0048] The switching power supply circuit, method, device, equipment and medium for charging the bootstrap capacitor provided by the present invention, when the first switch tube is turned off and the first switch tube is to be turned on, the voltage detection module can detect the voltage detection result of the bootstrap capacitor, and the control module can control the opening and closing of the second switch tube based on the voltage detection result, thereby realizing the charging of the bootstrap capacitor. It can be seen that the present invention can charge the bootstrap capacitor only when the first switch tube needs to be turned on, avoiding high power consumption caused by uninterrupted detection and charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 FIG. 1 is a schematic diagram of a switching power supply circuit for charging a bootstrap capacitor according to an embodiment of the present invention. Figure 1 ;
[0051] Figure 2 Schematic diagram of the waveform of the switching power supply circuit for charging the bootstrap capacitor in one embodiment of the present invention Figure 1 ;
[0052] Figure 3 FIG. 1 is a schematic diagram of a switching power supply circuit for charging a bootstrap capacitor according to an embodiment of the present invention. Figure 2 ;
[0053] Figure 4 Schematic diagram of the waveform of the switching power supply circuit for charging the bootstrap capacitor in one embodiment of the present invention Figure 2 ;
[0054] Figure 5 FIG. 1 is a schematic diagram of a switching power supply circuit for charging a bootstrap capacitor according to an embodiment of the present invention. Figure 3 ;
[0055] Figure 6 FIG. 1 is a schematic diagram of a switching power supply circuit for charging a bootstrap capacitor according to an embodiment of the present invention. Figure 4 ;
[0056] Figure 7 FIG. 1 is a schematic diagram of a switching power supply circuit for charging a bootstrap capacitor according to an embodiment of the present invention. Figure 5 ;
[0057] Figure 8 is a schematic flow chart of a bootstrap capacitor charging method in one embodiment of the present invention;
[0058] Fig. 9 is a schematic structural diagram of a bootstrap capacitor charging device in one embodiment of the present invention;
[0059] Fig.10 It is a schematic diagram of the structure of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0062] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0063] Please refer to Figure 1 The present invention provides a switching power supply circuit capable of charging a bootstrap capacitor, comprising: a bootstrap capacitor 1, a control module 2, a first switch tube 3, a second switch tube 4, a voltage detection module 5, and a first driving module 6;
[0064] The first end of the bootstrap capacitor 1 is directly or indirectly connected to the power supply end of the first driving module 6 and is connected to the power supply (i.e. Figure 1 The first end of the first switch tube 3 is connected to the input power supply (ie Figure 1 The second end of the first switch tube 3 is connected to the first end of the second switch tube 4, and is connected to the output capacitor 8 through the inductor 7. The second end of the second switch tube 4 is grounded. The second end of the bootstrap capacitor 1 is connected to the first end of the second switch tube 4. The control end of the first switch tube 3 is connected to the control module 2 through the first driving module 6 to be controlled by the control module 2. The control end of the second switch tube 4 is directly or indirectly connected to the control module 2. The voltage detection module 5 is also connected to the control module 2.
[0065] The voltage detection module 5 is configured to detect the voltage across the bootstrap capacitor when the first switch tube is turned off and is about to be turned on, and feed back the voltage detection result to the control module 2;
[0066] For example, the voltage detection module 5 may start detection under the instruction of the control module 2 when the first switch tube is to be turned on, and stop detection under the instruction of the control module 2 after the first switch tube is successfully turned on. For another example: the voltage detection module 5 may also always detect and feedback, but the control module controls the opening and closing of the second switch tube based on the voltage detection result only when the first switch tube is to be turned on.
[0067] The control module 2 is used for:
[0068] When the first switch tube is turned off and the first switch tube is to be turned on, based on the voltage across the bootstrap capacitor, the second switch tube is controlled to be turned on and off, so that the bootstrap capacitor is charged by the power supply when the second switch tube is turned on;
[0069] The first driving module 6 is configured to drive the first switch tube to turn on in response to a first start signal sent by the control module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold;
[0070] The “when the first switch tube is to be turned on” can be understood as when the first switch tube is in a closed state but needs to be turned on, and specifically can refer to when the control module has not yet output the first turn-on signal but is about to output (or is understood as preparing to output) the first turn-on signal. In some other solutions, it can also refer to when the control module has output the corresponding first turn-on signal but the first driving module has not successfully driven the first switch tube to turn on;
[0071] The control module 2 can be understood as being used to control the on / off states of the first switch tube and the second switch tube by sending signals to the corresponding driving modules. Furthermore, any control module that can realize this function does not depart from the scope of the embodiment of the present invention.
[0072] The first switch tube 3 can be understood as any switch tube that can be driven by the first driving module under the control of the control module, and its type can be changed arbitrarily, for example, it can be an NMOS tube, it can also be a PMOS tube, it can be a field effect tube, it can also be a triode, no matter how it is changed, it does not depart from the scope of the embodiment of the present invention;
[0073] The second switch tube 4 can be understood as any switch tube that can be turned on and off under the control of the control module, and its type can be changed arbitrarily, for example, it can be an NMOS tube, it can also be a PMOS tube, it can be a field effect tube, it can also be a triode, no matter how it is changed, it does not depart from the scope of the embodiment of the present invention;
[0074] The first driving module 6 can be understood as being able to drive the first switch tube to turn on in response to the first start signal sent by the control module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold; furthermore, the bootstrap capacitor 1 can be connected to the power supply terminal of the first driving module (or other connection terminals such as the enable terminal that can determine whether the first driving module works or not);
[0075] The first driving module 6 can be understood as being used to respond to the corresponding signal sent by the control module, thereby turning on and off the first switch tube;
[0076] The power supply (i.e. Figure 1 The VDR in the figure can be understood as the voltage source used to charge the bootstrap capacitor, which can be taken from any other circuit position;
[0077] The voltage detection result can be understood as the voltage information of the current bootstrap capacitor detected by the voltage detection module; in some examples, the voltage detection result may refer to: whether the voltage of the bootstrap capacitor is higher (or lower) than the voltage threshold, and then, the control module can directly obtain the comparison result; in other examples, the voltage detection result may refer to: the specific value of the voltage of the bootstrap capacitor, and then, the control module can determine the relationship between the voltage detection result and the voltage threshold.
[0078] In one embodiment, please refer to Figure 2 , the inductance is a fixed value, such as 100uH, the output voltage is a fixed value, such as 5V, the first fixed duration (i.e. Figure 2 t in PD ) is a fixed value, for example, 0.5us, the inductor current will be set to -5V / 100uH*0.5us=-25mA; if the maximum charging current of the bootstrap capacitor charging circuit is not large enough, or the capacitance of the bootstrap capacitor is relatively large, or the voltage on the bootstrap capacitor has been set very low, then the first fixed time of 0.5us (i.e. Figure 2 t in PD ) cannot allow the bootstrap capacitor to be charged to exceed the UVLO (i.e., the voltage threshold), then the second switch tube will be turned off for a second fixed time (i.e. Figure 2 t in STOP ) time, the inductor current returns to 0, and waits for the second fixed time (i.e. Figure 2 t in STOP ) time is over, the second switch tube will be turned on again for the first fixed time (i.e. Figure 2 t in PD ) time, and so on until a first fixed time (i.e. Figure 2 t in PD ) time, the voltage on the bootstrap capacitor exceeds the voltage threshold (i.e. Figure 2 C BSTUVLO Threshold), then the first switch tube will be turned on (ie, turned on) to charge the inductor, thereby replenishing the output (eg, output capacitor 8) with charge to maintain the required output voltage.
[0079] In the above scheme, the intermittent opening method is adopted, and the reverse current of the inductor is relatively controlled and will not become very large. If the bootstrap capacitor of appropriate size is selected, it can generally ensure a t PD The bootstrap capacitor can be replenished with sufficient charge. The repeated charging as described above can ensure that it can work normally when a larger bootstrap capacitor is selected.
[0080] However, due to such repetition, it may also lead to: when using a larger bootstrap capacitor, it will take a longer time to replenish the bootstrap capacitor with sufficient charge, thus causing a larger output voltage ripple, because the high-side switch tube cannot be turned on in time to provide charge to the output. To solve this problem, the following will be combined with Figure 3 and Figure 4 , providing another way of intermittent control.
[0081] Please refer to Figure 3 , the switching power supply circuit capable of charging the bootstrap capacitor further comprises a current detection module 9, the current detection module 9 is directly or indirectly connected to the inductor 7, the current detection module 9 is configured to detect the reverse current of the inductor 7, and obtain a corresponding current detection result, the current detection module 9 is connected to the control module 2, so as to feed back the current detection result to the control module 2;
[0082] When the control module intermittently turns on the second switch tube, it is specifically used to:
[0083] Based on the reverse current of the inductor, the second switch tube is turned on intermittently.
[0084] The current detection result can be understood as any information that can reflect the inductor current, and the current detection module can be understood as any circuit that can obtain the current detection result;
[0085] In some examples, the current detection module can detect and determine whether the reverse current is higher than a preset current threshold, and use the determination result as the current detection result, thereby feeding back to the control module; in other examples, the current detection module can also detect a specific value of the inductor current, and then feed back the specific value as the current detection result to the control module, and the control module can determine whether the reverse current of the inductor is higher than the current threshold; regardless of the method used, as long as the second switch tube is turned off based on the current threshold, it does not depart from the scope of the embodiments of the present invention.
[0086] In one example, the current detection module can detect and determine whether the inductor current drops to match the zero point, and feed back the determination result to the control module. In another example, the current detection module can also detect the specific value to which the inductor current drops, and then feed back the specific value as the current detection result to the control module. The control module can determine whether the inductor current drops to match the zero point. Regardless of the method used, as long as the second switch tube is turned on based on the inductor current dropping to match the zero point, it does not depart from the scope of the embodiments of the present invention.
[0087] In a specific implementation manner, the current detection module can detect and determine whether the reverse current is higher than a preset current threshold and whether the inductor current drops to match the zero point, and use the determination result as the current detection result, thereby feeding back to the control module; and / or the current detection module detects and determines whether the reverse current is higher than a preset current threshold, and uses the determination result as the current detection result, thereby feeding back to the control module, the current detection module detects the specific value to which the inductor current drops, and then feeds back the specific value as the current detection result to the control module, and the control module can determine whether the inductor current drops to match the zero point; and / or the current detection module detects the specific value of the inductor current, and then feeds back the specific value as the current detection result to the control module, and the control module can determine whether the inductor current drops to match the zero point; Whether the reverse current is higher than the current threshold, the current detection module detects and determines whether the inductor current drops to match the zero point, and feeds back the judgment result to the control module, and thus feeds back to the control module; and / or the current detection module detects the specific value of the inductor current, and then feeds back the specific value as the current detection result to the control module, the control module can determine whether the reverse current of the inductor is higher than the current threshold, the current detection module detects the specific value to which the inductor current drops, and then feeds back the specific value as the current detection result to the control module, the control module can determine whether the inductor current drops to match the zero point. The above combination method does not depart from the scope of the embodiment of the present invention as long as the control of the second switch tube is achieved based on the current threshold and the inductor current drops to match the zero point.
[0088] In one embodiment, please refer to Figure 2 , charging the bootstrap capacitor is only performed when the first switch tube needs to be turned on next time; when the first switch tube needs to be turned on next time, the voltage detection module will first detect whether the voltage on the bootstrap capacitor is higher than the voltage threshold (i.e. Figure 2 C BST UVLO Threshold), if it is higher than the voltage threshold, the voltage detection module will detect the voltage result (i.e. Figure 2 C BST Voltage) is sent to the control module, and the control module sends a first start signal (i.e. Figure 2The first switch tube will be turned on normally. If the voltage of the bootstrap capacitor is lower than the voltage threshold, the second switch tube needs to be turned on first to charge the bootstrap capacitor. The voltage detection module sends the voltage detection result to the control module, and the control module sends a second start signal (i.e. Figure 2 The first switch tube can be turned on only after the voltage on the bootstrap capacitor is higher than the voltage threshold.
[0089] When the control module 2 controls the on and off of the second switch tube 4 based on the voltage across the bootstrap capacitor 1, it is specifically used to:
[0090] If the voltage across the bootstrap capacitor is lower than the voltage threshold, intermittently turning on the second switch tube;
[0091] If the voltage across the bootstrap capacitor is not lower than the voltage threshold, the first switch tube is controlled to be turned on, and the second switch tube is in a turned-off state.
[0092] The voltage threshold can be understood as the minimum voltage information that can enable the first driving module to turn on the first switch tube;
[0093] The intermittent opening can be understood as turning on the second switch tube after the second switch tube is turned off for a period of time, and then turning on the second switch tube after the second switch tube is turned off for a period of time. The period of time mentioned here can be a fixed time (such as Figure 2 ), or it can be unfixed (such as Figure 4 ). Figure 2 Taking the waveform shown as an example, when the control module intermittently turns on the second switch tube, it is specifically used to:
[0094] Turning on and off the second switch tube multiple times until the voltage across the bootstrap capacitor is no less than the voltage threshold;
[0095] Each time after the second switch tube is turned on, the first fixed time period is waited for, and then the second switch tube is turned off.
[0096] Each time after the second switch tube is turned off, the second fixed time period is waited for, and then the second switch tube is turned on.
[0097] In a specific embodiment, a certain charging time is fixed, and if the voltage on the bootstrap capacitor does not exceed the voltage threshold (i.e. Figure 2 Middle C BSTUVLO Threshold); after turning off the second switch tube for a period of time, continue to turn on the second switch tube, repeat this step (i.e., turn it on intermittently) until the voltage on the bootstrap capacitor (i.e., the voltage detection result, i.e., Figure 2 C BST Voltage) exceeds the voltage threshold, wherein, when the control module learns that the voltage of the bootstrap capacitor is higher than the voltage threshold, if the second switch tube is turned on, the control module will send the first turn-on signal only after the second switch tube is turned off.
[0098] For specific examples, please refer to Figure 4 , first turn on the second switch tube, if the reverse current of the inductor reaches the reverse current protection (that is, the preset current threshold, that is Figure 4 Before the Reverse Current Limit in the figure, the voltage on the bootstrap capacitor exceeds the voltage threshold (i.e. Figure 4 C BST UVLO Threshold), the first switch tube is turned on (i.e., turned on); if the reverse current of the inductor reaches the set protection value (i.e., the preset current threshold, i.e., Figure 4 After the ReverseCurrent Limit in the output, the voltage on the bootstrap capacitor has not exceeded the voltage threshold. Figure 4 C BST UVLOThreshold); turn off the first switch tube for a period of time until the inductor current returns to near zero (i.e. Figure 4 InductorCurrent0 in the output, continue to turn on the second switch tube again, and repeat this step until the voltage on the bootstrap capacitor exceeds the voltage threshold.
[0099] When the control module intermittently turns on the second switch tube based on the reverse current of the inductor, it is specifically used to:
[0100] Controlling the second switch tube to turn on;
[0101] When the reverse current increases due to the turning on of the second switch tube, if it is detected that the reverse current increases to a preset current threshold, the second switch tube is controlled to be turned off;
[0102] When the reverse current decreases due to the closing of the second switch tube, if it is detected that the inductor current decreases to match the zero point, the second switch tube is controlled to be turned on.
[0103] The zero point can be understood as the inductor current being zero; matching the zero point can be understood as being equal to zero or close to zero;
[0104] Among them, since the reverse current is a current lower than 0 (i.e., a negative value), the rise of the reverse current refers to the increase in the absolute value of the current value, which can also be understood as the difference between the current value of the reverse current and the zero point is getting bigger and bigger;
[0105] In one embodiment, the reverse current limit can be set to a fixed value, such as -200mA. In this way, under fixed conditions, such as an inductance of 100uH and an output voltage of 5V, the second switch tube can be turned on for a maximum of 4us. Compared with the 0.5us, 4us can replenish more charge to the bootstrap capacitor, so that the voltage on the bootstrap capacitor may be charged to a voltage exceeding the voltage threshold (i.e., Figure 4 C BST UVLO Threshold), if the reverse current protection value (that is, the preset current threshold, that is, Figure 4 If the voltage on the bootstrap capacitor is still insufficient (i.e., the first switch cannot be turned on) after the inductor current returns to zero (i.e., matches the zero point, that is, Figure 4 Inductor Current 0) in the circuit is used to charge the bootstrap capacitor.
[0106] In the above scheme, the bootstrap capacitor can be charged faster. At the same time, because the reverse current of the inductor is limited, there will be no reliability problem when using it.
[0107] In addition, the current detection module 9 can be configured to detect the reverse current of the inductor 7 when the first switch tube is turned off and the first switch tube is about to be turned on, and obtain the corresponding current detection result.
[0108] Please refer to Figure 5 The first end of the charging switch tube 11 is connected to the input power supply (i.e. Figure 5 The VDR in the charging switch tube, the second end of the charging switch tube is connected to the first driving module, and the control end of the charging switch tube is connected to the control module 2 via the charging driving module 10 to be controlled by the control module 2;
[0109] The bootstrap capacitor is configured to be able to be charged by the power supply when the second switch tube and the charging switch tube are both turned on;
[0110] The control module is also used for:
[0111] When the first switch tube is turned off and is about to be turned on, the charging switch tube is controlled to be in an on state, or: the state of the charging switch tube is controlled to be consistent with that of the second switch tube.
[0112] Please refer to Figure 6The first driving module includes: a first level converter 6 and a first amplifier 13, wherein the first end of the first amplifier is connected to the second end of the first level converter, and the second end of the first amplifier is connected to the first end of the first switch tube;
[0113] The charging driving module includes: a second level converter 10 and an inverter 12 , wherein a first end of the inverter 12 is connected to a second end of the second level converter 10 , and a second end of the inverter 12 is connected to a control end of the charging switch tube 11 .
[0114] Please refer to Figure 7 The circuit also includes: a second driving module, which may include a second amplifier 14 , a first end of the second amplifier 14 is connected to the control module 2 , and a second end of the second amplifier 14 is connected to the control end of the second switch tube 4 .
[0115] The three ports of the control module 2 are respectively connected to the second level converter, the first level converter and the third amplifier 14 to output signals for controlling the on / off of the charging switch tube 11 , the first switch tube 3 and the second switch tube 4 .
[0116] Please refer to Figure 7 The circuit includes: a third level converter 15; a first end of the third level converter 15 is connected to the first end of the bootstrap capacitor, a second end of the third level converter 15 is connected to the second end of the bootstrap capacitor, the first end of the third level converter 15 is also connected to the power supply VDR, the second end of the third level converter 15 is also connected to the ground, and the third end of the third level converter 15 is connected to the control module 2.
[0117] Please refer to Figure 8 The present invention provides a control method for charging a bootstrap capacitor, which is applied to a control module of a switching power supply circuit, comprising:
[0118] S1: Obtaining a voltage detection result from the voltage detection module;
[0119] S2: when the first switch tube is turned off and is about to be turned on, controlling the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor;
[0120] S3: When the voltage of the bootstrap capacitor is higher than a preset voltage threshold, an on signal for turning on the first switch tube is output to the first driving module, so that: the first driving module can drive the first switch tube to turn on in response to the first on signal when the voltage of the bootstrap capacitor is higher than the preset voltage threshold.
[0121] The voltage detection result is formed by the voltage detection module detecting the voltage across the bootstrap capacitor;
[0122] Step S2 includes:
[0123] S21: if the voltage across the bootstrap capacitor is lower than the voltage threshold, intermittently turning on the second switch tube;
[0124] S22: If the voltage across the bootstrap capacitor is not lower than the voltage threshold, control the first switch tube to be turned on, and the second switch tube to be turned off.
[0125] Optionally, step S21: when the control module intermittently turns on the second switch tube, it includes:
[0126] S211: turning on and off the second switch tube multiple times until the voltage across the bootstrap capacitor is no less than the voltage threshold;
[0127] S212: After each time the second switch tube is turned on, the first fixed time period is waited for, and then the second switch tube is turned off.
[0128] S213: After the second switch tube is turned off each time, wait for a second fixed time period, and then turn on the second switch tube.
[0129] Intermittently turning on the second switch tube includes:
[0130] S214: intermittently turning on the second switch tube based on the reverse current of the inductor.
[0131] Step S214 includes:
[0132] S2141: Control the second switch tube to turn on;
[0133] S2142: when the reverse current increases due to the turning on of the second switch tube, if it is detected that the reverse current increases to a preset current threshold, control the second switch tube to turn off;
[0134] S2143: When the reverse current decreases due to the closing of the second switch tube, if it is detected that the inductor current decreases to match the zero point, the second switch tube is controlled to be turned on.
[0135] Step S2 also includes:
[0136] S23: When the first switch tube is turned off and is about to be turned on, control the charging switch tube to be in an on state, or: control the state of the charging switch tube to be consistent with that of the second switch tube.
[0137] In summary, in the specific scheme of the present invention, the following positive effects can be achieved:
[0138] The switching power supply circuit designed by the present invention is capable of charging a bootstrap capacitor. When the first switch tube is turned off and the first switch tube is to be turned on, the voltage detection module can detect the voltage detection result of the bootstrap capacitor. The control module can control the turning on and off of the second switch tube based on the voltage detection result, thereby realizing the charging of the bootstrap capacitor. It can be seen that the present invention can charge the bootstrap capacitor only when the first switch tube needs to be turned on, avoiding high power consumption caused by uninterrupted detection and charging.
[0139] Please refer to Fig. 9 The present invention provides a bootstrap capacitor charging device 40, comprising:
[0140] An acquisition unit 41 is used to acquire a voltage detection result from the voltage detection module, where the voltage detection result is formed when the voltage detection module detects the voltage across the bootstrap capacitor;
[0141] A first switch control unit 42 is used to output a first turn-on signal for turning on the first switch to the first driving module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold, so that: the first driving module can drive the first switch to turn on in response to the first turn-on signal when the voltage of the bootstrap capacitor is higher than the preset voltage threshold;
[0142] A second switch tube control unit 43, configured to control the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor when the first switch tube is turned off and about to be turned on; wherein the bootstrap capacitor is configured to be able to be charged by the power supply end when the second switch tube is turned on;
[0143] Optionally, the first switch tube control unit 42 is specifically used for:
[0144] The first driving module is configured to drive the first switch tube to turn on in response to a first start signal sent by the control module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold.
[0145] Optionally, the second switch tube control unit 43 is specifically used to:
[0146] When the first switch tube is turned off and the first switch tube is to be turned on, the turning on and off of the second switch tube is controlled based on the voltage across the bootstrap capacitor; wherein the bootstrap capacitor is configured to be able to be charged by the power supply end when the second switch tube is turned on;
[0147] When the control module controls the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor, it is specifically used to:
[0148] If the voltage across the bootstrap capacitor is lower than the voltage threshold, intermittently turning on the second switch tube;
[0149] Turning on and off the second switch tube multiple times until the voltage across the bootstrap capacitor is no less than the voltage threshold;
[0150] Each time after the second switch tube is turned on, the first fixed time period is waited for, and then the second switch tube is turned off.
[0151] After the second switch tube is turned off each time, the second switch tube is turned on after waiting for a second fixed time period;
[0152] Based on the reverse current of the inductor, intermittently turning on the second switch tube;
[0153] Controlling the second switch tube to turn on;
[0154] When the reverse current increases due to the turning on of the second switch tube, if it is detected that the reverse current increases to a preset current threshold, the second switch tube is controlled to be turned off;
[0155] When the reverse current decreases due to the closing of the second switch tube, if it is detected that the inductor current decreases to match the zero point, the second switch tube is controlled to be turned on.
[0156] The second driving module is configured to drive the charging switch tube to turn on in response to a second start signal sent by the control module when the voltage of the bootstrap capacitor is lower than the voltage threshold.
[0157] Optionally, the bootstrap capacitor charging device also includes: a charging switch tube control unit 44, which is used to control the charging switch tube to be in an on state when the first switch tube is turned off and is about to be turned on, or: control the state of the charging switch tube to be consistent with the second switch tube.
[0158] Please refer to Fig.10 , an electronic device 50 is provided, comprising:
[0159] a processor 51; and
[0160] A memory 52, used to store executable instructions of the processor;
[0161] The processor 51 is configured to execute the above-mentioned method by executing the executable instructions.
[0162] The processor 51 can communicate with the memory 52 via a bus 53 .
[0163] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned method is implemented.
[0164] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A switching power supply circuit capable of charging a bootstrap capacitor, characterized in that: include: A bootstrap capacitor, a control module, a first switch tube, a second switch tube, a voltage detection module, and a first driving module; The first end of the bootstrap capacitor is directly or indirectly connected to the first driving module and connected to the power supply, the first end of the first switch tube is connected to the input power supply, the second end of the first switch tube is connected to the first end of the second switch tube and connected to the power output end via an inductor, the second end of the second switch tube is grounded, and the second end of the bootstrap capacitor is connected to the first end of the second switch tube; the control end of the first switch tube is connected to the control module via the first driving module to be controlled by the control module, the control end of the second switch tube is directly or indirectly connected to the control module, and the voltage detection module is also connected to the control module; The voltage detection module is configured to detect the voltage across the bootstrap capacitor when the first switch tube is turned off and is about to be turned on, and feed back the voltage detection result to the control module; The control module is used for: Only when the first switch tube is turned off and the first switch tube is to be turned on, the second switch tube is controlled to be turned on and off based on the voltage across the bootstrap capacitor, so that the bootstrap capacitor is charged by the power supply when the second switch tube is turned on; The first driving module is configured to drive the first switch tube to turn on in response to a first turn-on signal sent by the control module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold; When the control module controls the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor, it is specifically used to: If the voltage across the bootstrap capacitor is lower than the voltage threshold, intermittently turning on the second switch tube; If the voltage across the bootstrap capacitor is not lower than the voltage threshold, the second switch tube is controlled to be in a closed state. The device further comprises: a current detection module, the current detection module is directly or indirectly connected to the inductor, the current detection module is configured to detect the reverse current of the inductor when the first switch tube is turned off and the first switch tube is to be turned on, and obtain a corresponding current detection result, and the current detection module is connected to the control module to feed back the current detection result to the control module; When the control module intermittently turns on the second switch tube, it is specifically used to: intermittently turning on the second switch tube based on the reverse current of the inductor; When the control module intermittently turns on the second switch tube based on the reverse current of the inductor, it is specifically used to: Controlling the second switch tube to turn on; When the reverse current increases due to the turning on of the second switch tube, if it is detected that the reverse current increases to a preset current threshold, the second switch tube is controlled to be turned off; When the reverse current decreases due to the closing of the second switch tube, if it is detected that the inductor current decreases to match the zero point, the second switch tube is controlled to be turned on.
2. The switching power supply circuit capable of charging a bootstrap capacitor according to claim 1, characterized in that: When the control module intermittently turns on the second switch tube, it is specifically used to: Turning on and off the second switch tube multiple times until the voltage across the bootstrap capacitor is no less than the voltage threshold; Each time after the second switch tube is turned on, the first fixed time period is waited for, and then the second switch tube is turned off. Each time after the second switch tube is turned off, the second fixed time period is waited for, and then the second switch tube is turned on.
3. The switching power supply circuit capable of charging a bootstrap capacitor according to claim 1 or 2, characterized in that: It also includes a charging switch tube and a charging drive module; The first end of the charging switch tube is connected to the power supply, the second end of the charging switch tube is connected to the first driving module and the first end of the bootstrap capacitor, and the control end of the charging switch tube is connected to the control module via the charging driving module to be controlled by the control module; The bootstrap capacitor is configured to be able to be charged by the power supply when the second switch tube and the charging switch tube are both turned on; The control module is also used for: When the first switch tube is turned off and is about to be turned on, the charging drive module controls the charging switch tube to be in an on state, or controls the state of the charging switch tube to be consistent with that of the second switch tube.
4. A method for controlling charging of a bootstrap capacitor, characterized in that: A control module applied to a switching power supply circuit, wherein the switching power supply circuit further comprises: a bootstrap capacitor, a control module, a first switching tube, a second switching tube, a voltage detection module, and a first driving module; The first end of the bootstrap capacitor is directly or indirectly connected to the first driving module and connected to the power supply, the first end of the first switch tube is connected to the input power supply, the second end of the first switch tube is connected to the first end of the second switch tube and connected to the power output end via an inductor, the second end of the second switch tube is grounded, and the second end of the bootstrap capacitor is connected to the first end of the second switch tube; the control end of the first switch tube is connected to the control module via the first driving module to be controlled by the control module, the control end of the second switch tube is directly or indirectly connected to the control module, and the voltage detection module is also connected to the control module; The control method comprises: Acquiring a voltage detection result from the voltage detection module, wherein the voltage detection result is formed when the first switch tube is turned off and the voltage detection module detects the voltage across the bootstrap capacitor when the first switch tube is turned on; Only when the first switch tube is turned off and the first switch tube is to be turned on, the second switch tube is controlled to be turned on and off based on the voltage across the bootstrap capacitor, so that the bootstrap capacitor is charged by the power supply when the second switch tube is turned on; When the voltage of the bootstrap capacitor is higher than a preset voltage threshold, outputting a first turn-on signal for turning on the first switch tube to the first driving module, so that: when the voltage of the bootstrap capacitor is higher than the preset voltage threshold, the first driving module can drive the first switch tube to turn on in response to the first turn-on signal; Controlling the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor specifically includes: if the voltage across the bootstrap capacitor is lower than the voltage threshold, intermittently turning on the second switch tube; If the voltage across the bootstrap capacitor is not lower than the voltage threshold, controlling the second switch tube to be in a closed state; The switching power supply circuit further includes a current detection module, which is directly or indirectly connected to the inductor, and is configured to detect the reverse current of the inductor when the first switch tube is turned off and the first switch tube is about to be turned on, so as to obtain a corresponding current detection result, and the current detection module is connected to the control module to feed back the current detection result to the control module; When the second switch tube is turned on intermittently, the method specifically includes: intermittently turning on the second switch tube based on the reverse current of the inductor; When the control module intermittently turns on the second switch tube based on the reverse current of the inductor, it is specifically used to: Controlling the second switch tube to turn on; When the reverse current increases due to the turning on of the second switch tube, if it is detected that the reverse current increases to a preset current threshold, the second switch tube is controlled to be turned off; When the reverse current decreases due to the closing of the second switch tube, if it is detected that the inductor current decreases to match the zero point, the second switch tube is controlled to be turned on.
5. A bootstrap capacitor charging device, characterized in that: include: The switching power supply circuit capable of charging the bootstrap capacitor as claimed in claim 3; an acquisition unit, configured to acquire a voltage detection result from the voltage detection module, wherein the voltage detection result is formed by the voltage detection module detecting the voltage across the bootstrap capacitor; a first switch tube control unit, configured to output a first turn-on signal for turning on the first switch tube to the first driving module when the voltage of the bootstrap capacitor is higher than a preset voltage threshold, so that: the first driving module can drive the first switch tube to turn on in response to the first turn-on signal when the voltage of the bootstrap capacitor is higher than the preset voltage threshold; a second switch tube control unit, configured to control the turning on and off of the second switch tube based on the voltage across the bootstrap capacitor when the first switch tube is turned off and the first switch tube is to be turned on; wherein the bootstrap capacitor is configured to be able to be charged by the power supply when the second switch tube is turned on; A charging switch tube control unit is used to control the charging switch tube to be in an on state when the first switch tube is turned off and the first switch tube is to be turned on, or to control the state of the charging switch tube to be consistent with that of the second switch tube.
6. An electronic device, characterized in that: Including processor and memory, The memory is used to store codes; The processor is used to execute the code in the memory to implement the method according to claim 4.
7. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in claim 4 is implemented.
