Power supply circuit and battery management chip
By designing the dynamic voltage adjustment module in the power supply circuit, the power supply module is controlled to output different voltages, which solves the problem of inapplicable DFVS technology in small chips, and achieves low power consumption and efficient power management.
Patent Information
- Application Number
- CN202411097509.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2025-02-11
AI Technical Summary
The existing dynamic voltage frequency adjustment technology (DFVS technology) is not suitable for small chips with small computing volume and high power consumption requirements. It is mainly due to the inability to effectively predict load demand and hard switch response. It is high power consumption, high complexity and area. Big problem.
A power supply circuit is designed, including a first power supply module, a second power supply module and a dynamic voltage adjustment module. The dynamic voltage adjustment module receives load signals and controls the power supply module to output different voltages to meet load requirements, reducing hardware structure and power consumption. .
It realizes dynamic adjustment of voltage frequency on small chips, reduces power consumption, reduces circuit complexity and area, and adapts to the high power consumption requirements of small chips.
Smart Images

Figure CN119420140A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to power supply technology, and in particular to a power supply circuit and a battery management chip. Background Art
[0002] Dynamic voltage and frequency scaling (DFVS) is a commonly used power management method in large-scale computing-intensive chips. The implementation of DFVS is based on the power supply circuit, which collects current load data through some means and predicts the load demand in the next period. The frequency and power supply of the power supply circuit are adjusted according to the predicted load demand, thereby achieving dynamic control and optimization of the overall system power consumption.
[0003] However, DFVS technology is not suitable for some small chips with small computing volume and high power consumption requirements. The specific reason is that such small chips may not be able to predict the load demand of the next period due to the small computing volume, or even if they can predict the load demand of the next period, there is still the problem of high power consumption caused by predicting the load demand. In addition, when DFVS technology performs dynamic voltage and frequency adjustment, the power supply circuit responds in a hard switch manner. This circuit architecture that performs dynamic voltage and frequency adjustment with hard switch response has the problems of high power consumption, high complexity and large area. This circuit architecture cannot be adapted to small chips.
[0004] Therefore, for some small chips with small computing volume and high power consumption requirements, how to achieve dynamic voltage and frequency adjustment of the power supply circuit is still an urgent problem to be solved. Summary of the invention
[0005] The present application provides a power supply circuit and a battery management chip to solve the problem of how to achieve dynamic voltage and frequency adjustment of the power supply circuit for some small chips with small computing volume and high power consumption requirements.
[0006] On the one hand, the present application provides a power supply circuit, including: a first power supply module, a second power supply module and a dynamic voltage adjustment module; the first power supply module and the second power supply module are both signal-connected to the dynamic voltage adjustment module;
[0007] The dynamic voltage adjustment module is used to control the first power supply module to output the first voltage to the first load when receiving the waiting-to-connect signal of the first load, and control the output of the second power supply module to gradually enter a high-impedance state;
[0008] The dynamic voltage adjustment module is also used to control the second power supply module to output a second voltage to the second load when receiving a waiting-to-connect signal of the second load, and control the output of the first power supply module to gradually enter a high-impedance state;
[0009] wherein the first voltage is greater than the second voltage;
[0010] The required energy of the first load is greater than or equal to the preset required energy;
[0011] The energy required by the second load is less than the preset required energy.
[0012] In one embodiment, the dynamic voltage adjustment module includes: an up counter, a down counter and a data selector;
[0013] The up-counter and the down-counter are both connected to the data selector signal;
[0014] The data selector comprises a first output terminal and a second output terminal, wherein the first output terminal is signal-connected to the first power supply module, and the second output terminal is signal-connected to the second power supply module;
[0015] When receiving the waiting-to-connect signal of the first load, the up counter is used to continuously output the code value to the first output end until the output voltage of the first power supply module is the first voltage; the down counter is used to continuously output the code value to the second output end until the output of the second power supply module gradually enters a high impedance state;
[0016] When receiving the access signal of the second load, the up counter is used to continuously output the code value to the second output end until the output voltage of the second power supply module is the second voltage; the down counter is used to continuously output the code value to the first output end until the output of the first power supply module gradually enters a high impedance state.
[0017] In one embodiment, upon receiving a voltage increase signal from the first power supply module, the add counter is used to continuously output a code value to the first output end until the output voltage of the first power supply module is increased to a first target voltage;
[0018] When receiving the voltage increase signal of the second power supply module, the add counter is used to continuously output the code value to the second output end until the output voltage of the second power supply module is increased to the second target voltage.
[0019] In one embodiment, upon receiving a voltage reduction signal from the first power supply module, the down counter is used to continuously output a code value to the first output terminal until the output voltage of the first power supply module drops to a third target voltage;
[0020] When receiving the voltage reduction signal of the second power supply module, the down counter is used to continuously output the code value to the second output end until the output voltage of the second power supply module drops to a fourth target voltage.
[0021] In one embodiment, the first power supply module includes: a first resistor matrix, a first operational amplifier and a first metal oxide semiconductor field effect MOS tube;
[0022] One end of the first resistor matrix is grounded, and an input of the first resistor matrix is signal-connected to the first output end;
[0023] The negative input terminal of the first operational amplifier is connected to the output of the first resistor matrix, the positive input terminal is used to input a first reference voltage, and the output terminal is connected to the gate of the first MOS transistor;
[0024] The source of the first MOS tube is used to connect to an external voltage, and the drain is connected to the other end of the first resistor matrix;
[0025] The first resistor matrix is also used to output the first voltage.
[0026] In one embodiment, the second power supply module includes: a second resistor matrix, a second operational amplifier and a second MOS tube;
[0027] One end of the second resistor matrix is grounded, and an input of the second resistor matrix is signal-connected to the second output end;
[0028] The positive input terminal of the second operational amplifier is connected to the output of the second resistor matrix, the negative input terminal is used to input a second reference voltage, and the output terminal is connected to the gate of the second MOS tube;
[0029] The drain of the second MOS tube is used to connect to an external voltage, and the source is connected to the other end of the second resistor matrix;
[0030] The second resistor matrix is also used to output the second voltage.
[0031] In one embodiment, the first power supply module further includes a first compensation network; the second power supply module further includes a second compensation network;
[0032] The input end of the first compensation network is connected to the output of the first operational amplifier, and the output end is connected to the gate of the first MOS transistor, or the output end is connected to the drain of the first MOS transistor;
[0033] The input end of the second compensation network is connected to the output of the second operational amplifier, and the output end is connected to the gate of the second MOS tube, or the output end is connected to the source of the second MOS tube.
[0034] In one embodiment, the device further comprises: a voltage output circuit, wherein an input of the voltage output circuit is connected to an output of the first power supply module and an output of the second power supply module;
[0035] The output of the voltage output circuit is used to connect a load.
[0036] In one embodiment, the voltage output circuit includes: a capacitor, a first switch and a second switch;
[0037] One plate of the capacitor is grounded, the other plate is connected to the output of the first power supply module and the output of the second power supply module, and the other plate is also connected to one end of the first switch and one end of the second switch;
[0038] The other end of the first switch is connected to the first load;
[0039] The other end of the second switch is connected to the second load.
[0040] In a second aspect, the present application provides a battery management chip, comprising a power supply circuit as described in the first aspect.
[0041] In a third aspect, the present application provides a power supply control method, which is applied to a dynamic voltage adjustment module in the power supply circuit as described in the first aspect, and the method includes:
[0042] When receiving a waiting-to-connect signal of the first load, controlling the first power supply module to output a first voltage to the first load;
[0043] When receiving a waiting-to-connect signal from the second load, controlling the first power supply module to output a second voltage to the second load;
[0044] wherein the first voltage is greater than the second voltage;
[0045] The required energy of the first load is greater than or equal to the preset required energy;
[0046] The energy required by the second load is less than the preset required energy.
[0047] In one embodiment, the dynamic voltage adjustment module in the power supply circuit includes: an up counter, a down counter and a data selector; the data selector includes a first output end and a second output end, the first output end is connected to the first power supply module, and the second output end is connected to the second power supply module;
[0048] The method further comprises:
[0049] When receiving the waiting-to-connect signal of the first load, the up counter continuously outputs code values to the first output end until the output voltage of the first power supply module is the first voltage; the down counter continuously outputs code values to the second output end until the output of the second power supply module gradually enters a high impedance state;
[0050] When receiving a waiting-to-connect signal from the second load, the down counter continuously outputs code values to the second output end until the output voltage of the second power supply module is the second voltage; the down counter is used to continuously output code values to the first output end until the output of the first power supply module gradually enters a high-impedance state.
[0051] In one embodiment, the method further comprises:
[0052] When receiving the voltage increase signal of the first power supply module, the add counter continuously outputs the code value to the first output end until the output voltage of the first power supply module is increased to the first target voltage;
[0053] When receiving the voltage increase signal of the second power supply module, the add counter continuously outputs the code value to the second output terminal until the output voltage of the second power supply module is increased to the second target voltage;
[0054] When receiving the voltage reduction signal of the first power supply module, the down counter continuously outputs the code value to the first output terminal until the output voltage of the first power supply module drops to a third target voltage;
[0055] When receiving the voltage reduction signal from the second power supply module, the down counter continues to output code values to the second output terminal until the output voltage of the second power supply module drops to a fourth target voltage.
[0056] In summary, the power supply circuit provided by the embodiment of the present application includes a first power supply module, a second power supply module and a dynamic voltage adjustment module. The first power supply module and the second power supply module are both connected to the dynamic voltage adjustment module signal. The dynamic voltage adjustment module is used to control the first power supply module to output a first voltage to the first load when receiving a waiting-to-connect signal of the first load, and to control the output of the second power supply module to gradually enter a high-impedance state. The dynamic voltage adjustment module is also used to control the second power supply module to output a second voltage to the second load when receiving a waiting-to-connect signal of the second load, and to control the output of the first power supply module to gradually enter a high-impedance state. Wherein, the first voltage is greater than the second voltage. The required energy of the first load is greater than or equal to the preset required energy. The required energy of the second load is less than the preset required energy.
[0057] That is to say, only two power supply modules and one dynamic voltage adjustment module are designed on the chip, and the prediction module used to predict load needs is externalized, thereby reducing the area of the power supply architecture. In addition, when the load demand is large, the dynamic voltage adjustment module controls the first power supply module to output a larger voltage to the load, and when the load demand is small, the dynamic voltage adjustment module controls the second power supply module to output a smaller voltage to the load. Different from the traditional hard switch response method, controlling different voltage outputs through the dynamic voltage adjustment module reduces the hardware structure, further reduces power consumption, and is more suitable for small chips. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0059] Figure 1 A schematic diagram of a power supply circuit provided for one embodiment of the present application;
[0060] Figure 2 A schematic diagram of a power supply circuit provided for another embodiment of the present application;
[0061] Figure 3 A schematic diagram of a dynamic voltage adjustment module in a power supply circuit provided in one embodiment of the present application;
[0062] Figure 4 A schematic diagram of a first power supply module in a power supply circuit provided in one embodiment of the present application;
[0063] Figure 5 A schematic diagram of a partial structure of a power supply circuit provided in an embodiment of the present application;
[0064] Figure 6 A schematic diagram of a second power supply module in a power supply circuit provided in one embodiment of the present application;
[0065] Figure 7 A flowchart of a power supply control method provided for one embodiment of the present application.
[0066] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0067] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0068] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0069] First, the terms involved in this application are explained:
[0070] High impedance state: refers to an output state of a circuit, which is neither high level nor low level. In circuit analysis, high impedance state can be understood as an open circuit state, which means that the circuit resistance is very large.
[0071] Dynamic voltage and frequency scaling (DFVS) is a commonly used power management method in large-scale computing-intensive chips. The implementation of DFVS is based on the power supply circuit, which collects current load data through some means and predicts the load demand in the next period. The frequency and power supply of the power supply circuit are adjusted according to the predicted load demand, thereby achieving dynamic control and optimization of the overall system power consumption.
[0072] It should be noted that for the circuit with constant voltage output, when the load connected to the back end is very small, the current flowing through the load is very large, and the power consumed is relatively large. At this time, the load connected to the back end is called heavy load, and the conversion efficiency at this time is relatively high. The main power consumption of the power supply is on the load at the back end. When the connected load is large, the current flowing through the load is very small, and the power consumed is relatively small. At this time, the load connected to the back end is called light load, and the conversion efficiency at this time is relatively low. The working idea of DFVS technology is: under light load, the power supply circuit operates at a lower frequency and a corresponding lower voltage, which can reduce the power consumption of the system. Under heavy load, that is, when high-speed calculation is required, the voltage and operating frequency of the power supply circuit are increased. In this way, the system power consumption can be optimized by switching voltage and frequency.
[0073] However, DFVS technology is not suitable for some small chips with small computing volume and high power consumption requirements. The specific reason is that such small chips may not be able to predict the load demand of the next period due to the small computing volume, or even if they can predict the load demand of the next period, there is still the problem of high power consumption caused by predicting the load demand. In addition, when DFVS technology performs dynamic voltage and frequency adjustment, the power supply circuit responds in a hard switch manner. This circuit architecture that performs dynamic voltage and frequency adjustment with hard switch response has the problems of high power consumption, high complexity and large area. This circuit architecture cannot be adapted to small chips.
[0074] Therefore, for some small chips with small computing volume and high power consumption requirements, how to achieve dynamic voltage and frequency adjustment of the power supply circuit is still an urgent problem to be solved.
[0075] Based on this, the present application provides a power supply circuit and a battery management chip. The power supply circuit includes a first power supply module, a second power supply module and a dynamic voltage adjustment module. The first power supply module and the second power supply module are both connected to the dynamic voltage adjustment module signal. The dynamic voltage adjustment module is used to control the first power supply module to output a first voltage to the first load when receiving a waiting-to-connect signal of the first load, and to control the output of the second power supply module to gradually enter a high-impedance state. The dynamic voltage adjustment module is also used to control the second power supply module to output a second voltage to the second load when receiving a waiting-to-connect signal of the second load, and to control the output of the first power supply module to gradually enter a high-impedance state. Wherein, the first voltage is greater than the second voltage. The required energy of the first load is greater than or equal to the preset required energy. The required energy of the second load is less than the preset required energy.
[0076] That is to say, only two power supply modules and one dynamic voltage adjustment module are designed on the chip, and the prediction module used to predict load needs is externalized, thereby reducing the area of the power supply architecture. In addition, when the load demand is large, the dynamic voltage adjustment module controls the first power supply module to output a larger voltage to the load, and when the load demand is small, the dynamic voltage adjustment module controls the second power supply module to output a smaller voltage to the load. Different from the traditional hard switch response method, controlling different voltage outputs through the dynamic voltage adjustment module reduces the hardware structure, further reduces power consumption, and is more suitable for small chips.
[0077] See also Figure 1 An embodiment of the present application provides a power supply circuit 10, which includes: a first power supply module 100, a second power supply module 200 and a dynamic voltage adjustment module 300. The first power supply module 100 is signal-connected to the dynamic voltage adjustment module 300, and the second power supply module 200 is signal-connected to the dynamic voltage adjustment module 300.
[0078] The first power supply module 100 is used to connect to a first load and supply power to the first load. The second power supply module 200 is used to connect to a second load and supply power to the second load. The energy required by the first load is greater than or equal to the preset required energy, and the energy required by the second load is less than the preset required energy. In other words, the first load is a large load (heavy load), which represents that the power supply circuit 10 operates in a high-performance mode, and correspondingly, the first power supply module 100 can be understood as a high-performance power supply module. In other words, the second load is a small load (light load), which represents that the power supply circuit 10 operates in a low-performance mode (or sleep mode), and correspondingly, the second power supply module 200 can be understood as a low-power power supply module.
[0079] The power supply circuit 10 is also used to receive a load access prediction signal, and the load access prediction signal is used to predict the load to be connected. The load access prediction signal includes a first load to be connected signal and a second load to be connected signal.
[0080] The dynamic voltage adjustment module 300 is used to control the first power supply module 100 to output a first voltage to the first load when receiving a signal to be connected to the first load, and to control the output of the second power supply module 200 to gradually enter a high impedance state. The dynamic voltage adjustment module 300 is also used to control the second power supply module 200 to output a second voltage to the second load when receiving a signal to be connected to the second load, and to control the output of the first power supply module 100 to gradually enter a high impedance state. The first voltage is greater than the second voltage.
[0081] Specifically, when the dynamic voltage adjustment module 300 receives the waiting signal of the first load, it controls the output voltage of the first power supply module 100 to increase, and at the same time gradually puts the second power supply module 200 into a high configuration until the second power supply module 200 is completely turned off. After the first load is connected to the power supply circuit 10, the first load is powered by the first power supply module 100. The first power supply module 100 has excellent transient response characteristics to meet load requirements.
[0082] When the load needs to be switched, that is, there is no high current load demand, and the first load needs to be replaced by the second load, the dynamic voltage adjustment module 300 receives the waiting signal of the second load. At this time, the dynamic voltage adjustment module 300 controls the first power supply module 100 not to shut down immediately, but to slowly reduce the voltage output by the first power supply module 100, and wake up the second power supply module 200 at the same time. In this way, during the voltage adjustment process, the switching between the first power supply module 100 and the second power supply module 200 is smooth, and gradually returns to a stable power supply state responsible by the second power supply module 200. The first power supply module 100 is controlled by the dynamic voltage adjustment module 300, and will gradually enter a high-impedance state, and then completely shut down to reduce its own consumption.
[0083] When controlling the switching of the first power supply module 100 and the second power supply module 200, the dynamic voltage adjustment module 300 is used to determine the smooth change of the voltage, thereby avoiding the instability caused by voltage mutations and minimizing the power consumption loss during the switching of the power supply modules. Compared with the traditional digital control voltage hard switching adjustment method, this embodiment adopts an analog control method to minimize the power consumption loss during the voltage adjustment process by soft switching, resulting in smaller output voltage ripple and higher robustness. In addition, the soft switching method also saves output capacitance, reduces the temperature rise of the power supply circuit 10, prolongs the standby time of the power supply circuit 10, optimizes the user experience, and makes the power supply circuit 10 more competitive.
[0084] Optional, see Figure 2 The power supply circuit 10 further includes a voltage output circuit 400. The input of the voltage output circuit 400 is connected to the output of the first power supply module 100 and the output of the second power supply module 200. The output of the voltage output circuit 400 is used to connect a load.
[0085] The voltage output circuit includes a capacitor 410 (C), a first switch 420 (S1) and a second switch 430 (S2). One plate of the capacitor 410 is grounded, the other plate is connected to the output of the first power supply module 100 and the output of the second power supply module 200, and the other plate is also connected to one end of the first switch 420 and the second switch 430. The other end of the first switch 420 is connected to the first load, and the other end of the second switch 430 is connected to the second load. When the dynamic voltage adjustment module 300 controls the first power supply module 100 to output the first voltage to the first load, the first switch 420 is closed. When the dynamic voltage adjustment module 300 controls the second power supply module 200 to output the second voltage to the second load, the second switch 430 is closed.
[0086] In summary, the power supply circuit 10 provided in this embodiment includes a first power supply module 100, a second power supply module 200 and a dynamic voltage adjustment module 300. The first power supply module 100 and the second power supply module 200 are both connected to the dynamic voltage adjustment module 300 by signal. The dynamic voltage adjustment module 300 is used to control the first power supply module 100 to output a first voltage to the first load when receiving a waiting-to-connect signal of the first load, and to control the output of the second power supply module 200 to gradually enter a high-impedance state. The dynamic voltage adjustment module 300 is also used to control the second power supply module 200 to output a second voltage to the second load when receiving a waiting-to-connect signal of the second load, and to control the output of the first power supply module 100 to gradually enter a high-impedance state. Among them, the first voltage is greater than the second voltage. The required energy of the first load is greater than or equal to the preset required energy. The required energy of the second load is less than the preset required energy.
[0087] That is to say, only two power supply modules and one dynamic voltage adjustment module are designed on the chip, and the prediction module used to predict the load needs is externalized, thereby reducing the area of the power supply architecture. In addition, when the load demand is large, the dynamic voltage adjustment module 300 controls the first power supply module 100 to output a larger voltage to the load, and when the load demand is small, the dynamic voltage adjustment module 300 controls the second power supply module 200 to output a smaller voltage to the load. Different from the traditional hard switch response method, controlling different voltage outputs through the dynamic voltage adjustment module 300 reduces the hardware structure, further reduces power consumption, and is more suitable for small chips.
[0088] See also Figure 3 In some embodiments, the dynamic voltage adjustment module 300 includes: an up counter 310, a down counter 320, and a data selector 330. The up counter 310 and the down counter 320 are both connected to the data selector 330 by signals.
[0089] Among them, the data selector 330 includes a first output end (a port for outputting the A1 signal shown in the figure) and a second output end (a port for outputting the A2 signal shown in the figure), wherein the first output end is signal-connected to the first power supply module 100, and the second output end is signal-connected to the second power supply module 200.
[0090] When receiving the waiting-to-connect signal of the first load, the add-on counter 310 is used to continuously output the code value to the first output end until the output voltage of the first power supply module 100 reaches the first voltage. Figure 3As shown, the add-on counter 310 outputs a code value to the A1 signal, and the first power supply module 100 adjusts its own resistance according to the A1 signal to change its own output voltage. The add-on counter 310 may need to output the code value to the first output terminal multiple times before the first power supply module 100 changes its own output voltage to the first voltage. In other words, the process of increasing the output voltage of the first power supply module 100 to the first voltage is not completed instantly, but the voltage is increased by changing its own output voltage step by step.
[0091] At this time, if the second power supply module 200 has an output voltage, the down counter 320 is used to continuously output the code value to the second output terminal, so that the A2 signal changes. Through the change of the A2 signal, the second power supply module 200 increases its own resistance according to the A2 signal to change its own output voltage until the output gradually enters a high impedance state.
[0092] When receiving the waiting-to-connect signal of the second load, the add-on counter 310 is used to continuously output the code value to the second output end until the output voltage of the second power supply module 200 is increased to the second voltage. Figure 3 As shown, the add-on counter 310 outputs a code value to the A2 signal, and the second power supply module 200 adjusts its own resistance according to the A2 signal to change its own output voltage. The add-on counter 310 may need to output the code value to the second output terminal multiple times before the second power supply module 200 changes its own output voltage to the second voltage. In other words, the process of increasing the output voltage of the second power supply module 200 to the second voltage is not completed instantly, but the voltage is increased by changing its own output voltage step by step.
[0093] At this time, if the first power supply module 100 has an output voltage, the down counter 320 is used to continuously output code values to the first output terminal, so that the A1 signal changes. Through the change of the A1 signal, the first power supply module 100 increases its own resistance according to the A1 signal to change its own output voltage until the output gradually enters a high impedance state.
[0094] When controlling the switching of the first power supply module 100 and the second power supply module 200, the voltage is smoothly changed by the up counter 310, the down counter 320 and the data selector 330 in the dynamic voltage adjustment module 300, so as to avoid the instability caused by the voltage mutation, and at the same time, minimize the power consumption loss during the switching process of the power supply module. Compared with the traditional digital control voltage hard switching adjustment method, this embodiment adopts an analog control method to minimize the power consumption loss during the voltage adjustment process by soft switching.
[0095] In some embodiments, upon receiving a voltage increase signal from the first power supply module 100, the add-counter 310 is used to continuously output code values to the first output terminal until the output voltage of the first power supply module 100 is increased to the first target voltage. Upon receiving a voltage increase signal from the second power supply module 200, the add-counter 310 is used to continuously output code values to the second output terminal until the output voltage of the second power supply module 200 is increased to the second target voltage.
[0096] That is, during the power supply of the first power supply module 100, if you want to further increase the output voltage of the first power supply module 100, send a voltage increase signal to the dynamic voltage adjustment module 300. Correspondingly, the add counter 310 continues to output code values to the first output terminal until the output voltage of the first power supply module 100 is increased to the first target voltage. The first target voltage can be the voltage specified by the voltage increase signal. At this time, the voltage increase of the first power supply module 100 is also gradually increased to avoid the instability caused by voltage mutations, and to minimize the power consumption loss during the voltage adjustment process in a soft switching manner.
[0097] That is, during the power supply of the second power supply module 200, if you want to further increase the output voltage of the second power supply module 200, send a voltage increase signal to the dynamic voltage adjustment module 300. Correspondingly, the add counter 310 continues to output code values to the second output terminal until the output voltage of the second power supply module 200 is increased to the second target voltage. The second target voltage can be the voltage specified by the voltage increase signal. At this time, the voltage increase of the second power supply module 200 is also gradually increased to avoid the instability caused by voltage mutations, and to minimize the power consumption loss during the voltage adjustment process in a soft switching manner. It should be noted that the voltage output by the second power supply module 200 is lower than the first voltage.
[0098] In some embodiments, upon receiving a voltage reduction signal from the first power supply module 100, the down counter 320 is used to continuously output code values to the first output terminal until the output voltage of the first power supply module 100 drops to a third target voltage. Upon receiving a voltage reduction signal from the second power supply module 200, the down counter 320 is used to continuously output code values to the second output terminal until the output voltage of the second power supply module 200 drops to a fourth target voltage.
[0099] That is, during the power supply of the first power supply module 100, if you want to further reduce the output voltage of the first power supply module 100, send a voltage reduction signal to the dynamic voltage adjustment module 300. Correspondingly, the down counter 320 continues to output code values to the first output terminal until the output voltage of the first power supply module 100 is reduced to the third target voltage. The third target voltage can be the voltage specified by the voltage reduction signal. At this time, the voltage reduction of the first power supply module 100 is also gradually reduced to avoid the instability caused by voltage mutations, and to minimize the power consumption loss during the voltage adjustment process in a soft switching manner.
[0100] That is, during the power supply of the second power supply module 200, if you want to further reduce the output voltage of the second power supply module 200, send a voltage reduction signal to the dynamic voltage adjustment module 300. Correspondingly, the subtraction counter 320 continues to output code values to the second output terminal until the output voltage of the second power supply module 200 is reduced to a fourth target voltage. The fourth target voltage can be the voltage specified by the voltage reduction signal. At this time, the voltage reduction of the second power supply module 200 is also gradually reduced to avoid the instability caused by voltage mutations, and to maximize the reduction of power consumption losses in the voltage adjustment process in a soft switching manner. It should be noted that the voltage output by the second power supply module 200 is lower than the first voltage.
[0101] See also Figure 4 In some embodiments, the first power supply module 100 includes: a first resistor matrix 110, a first operational amplifier 120, and a first metal-oxide-semiconductor field effect transistor (MOS transistor for short) 130. The first MOS transistor 130 is Figure 4 M1 shown.
[0102] One end of the first resistor matrix 110 is grounded, and the input of the first resistor matrix 110 is connected to the first output terminal signal. The first resistor matrix 110 is also used to output the first voltage (VOUT). The negative input terminal of the first op amp 120 is connected to the output of the first resistor matrix 110, the positive input terminal is used to input the first reference voltage (Vref), and the output terminal is connected to the gate of the first MOS transistor 130. The source of the first MOS transistor 130 is used to connect the external voltage (VDD), and the drain is connected to the other end of the first resistor matrix 110. The first MOS transistor 130 can be a P-MOS transistor.
[0103] See also Figure 5, the first resistor matrix 110 includes a plurality of resistors, and the A1 signal output by the data selector 330 adjusts its own resistance. Specifically, the A1 signal (CTRL_CODE) controls the conduction and disconnection of the resistor switch connected in parallel with the resistor, thereby adjusting the access of the plurality of resistors to achieve the effect of adjusting its own resistance. The positive input terminal of the first op amp 120 is set with the first reference voltage, and the voltage input at the negative input terminal is the voltage output by the first resistor matrix 110. The first op amp 120 outputs a signal to the first MOS tube 130 to control the conduction and disconnection of the first MOS tube 130. When the first resistor matrix 110 increases its own resistance, the voltage output to the first op amp 120 decreases, and correspondingly, the voltage output by the first resistor matrix 110 gradually decreases. When the first resistor matrix 110 reduces its own resistance, the voltage output to the first op amp 120 increases, and correspondingly, the voltage output by the first resistor matrix 110 gradually increases.
[0104] Optional, such as Figure 4 As shown, the first power supply module 100 further includes a first compensation network 140, the input end of the first compensation network 140 is connected to the output of the first op amp 120, the output end is connected to the gate of the first MOS transistor 130, or the output end is connected to the drain of the first MOS transistor 130. The first compensation network 140 can enhance the stability and transient response capability of the first power supply module 100.
[0105] See also Figure 6 In some embodiments, the second power supply module 200 includes: a second resistor matrix 210, a second operational amplifier 220, and a second MOS transistor 230. The second MOS transistor 230 is as follows: Figure 6 M1 shown.
[0106] One end of the second resistor matrix 210 is grounded, the input of the second resistor matrix 210 is signal-connected to the second output end, and the second resistor matrix 210 is also used to output the second voltage (VOUT). The positive input end of the second op amp 220 is connected to the output of the second resistor matrix 210, the negative input end is used to input the second reference voltage (Vref), and the output end is connected to the gate of the second MOS transistor 230. The drain of the second MOS transistor 230 is used to connect to the external voltage (VDD), and the source is connected to the other end of the second resistor matrix 210.
[0107] See also Figure 5, the second resistor matrix 210 includes a plurality of resistors, and the A2 signal output by the data selector 330 adjusts its own resistance. Specifically, the A2 signal (CTRL_CODE) controls the conduction and disconnection of the resistor switch connected in parallel with the resistor, thereby adjusting the access of the plurality of resistors to achieve the effect of adjusting the self-resistance. The positive input terminal of the second amplifier 220 is set with the second reference voltage, and the voltage input at the negative input terminal is the voltage output by the second resistor matrix 210. The second amplifier 220 outputs a signal to the second MOS tube 230 to control the conduction and disconnection of the second MOS tube 230. When the second resistor matrix 210 increases its own resistance, the voltage output to the second amplifier 220 decreases, and correspondingly, the voltage output by the second resistor matrix 210 gradually decreases. When the second resistor matrix 210 reduces its own resistance, the voltage output to the second amplifier 220 increases, and correspondingly, the voltage output by the second resistor matrix 210 gradually increases.
[0108] Optional, such as Figure 6 As shown, the second power supply module 200 further includes a second compensation network 240, the input end of the second compensation network 240 is connected to the output of the second op amp 220, the output end is connected to the gate of the second MOS transistor 230, or the output end is connected to the source of the second MOS transistor 230. The second compensation network 240 can enhance the stability and transient response capability of the second power supply module 200.
[0109] It should be noted that the power supply circuit 10 provided in any of the above embodiments can be applied to a battery management chip, a control unit (Micro Control Unit, MCU for short), a wireless charging chip, etc.
[0110] An embodiment of the present application further provides a battery management chip, which includes the power supply circuit 10 provided in any of the above embodiments.
[0111] See also Figure 7 An embodiment of the present application also provides a power supply control method, which is applied to the dynamic voltage adjustment module in the power supply circuit provided in any of the above embodiments.
[0112] The power supply control method comprises:
[0113] S701, when receiving a waiting-to-connect signal from a first load, controlling the first power supply module to output a first voltage to the first load, and controlling the output of the second power supply module to gradually enter a high-impedance state; the required energy of the first load is greater than or equal to a preset required energy.
[0114] S702, when receiving the waiting-to-connect signal of the second load, controlling the first power supply module to output a second voltage to the second load, and controlling the output of the first power supply module to gradually enter a high-impedance state; wherein the first voltage is greater than the second voltage; and the required energy of the second load is less than the preset required energy.
[0115] For the relevant description of step S701 and step S702, reference may be made to the relevant description of the dynamic voltage adjustment module in the above embodiment, which will not be repeated here.
[0116] In some embodiments, the dynamic voltage adjustment module in the power supply circuit includes: an up counter, a down counter and a data selector; the data selector includes a first output end and a second output end, the first output end is connected to the first power supply module, and the second output end is connected to the second power supply module. The power supply control method also includes:
[0117] Step 1: When receiving the waiting-to-connect signal of the first load, the adding counter continuously outputs the code value to the first output end until the output voltage of the first power supply module is the first voltage; the subtracting counter continuously outputs the code value to the second output end until the output of the second power supply module gradually enters a high-impedance state.
[0118] Step two, when receiving the waiting-to-connect signal of the second load, the down counter continuously outputs the code value to the second output end until the output voltage of the second power supply module is the second voltage; the down counter is used to continuously output the code value to the first output end until the output of the first power supply module gradually enters a high-impedance state.
[0119] For the description of step 1 and step 2, reference may be made to the related description of the add counter, the subtract counter and the data selector in the above embodiment, which will not be repeated here.
[0120] In some embodiments, the power supply control method further includes:
[0121] Step 1: upon receiving the voltage increase signal of the first power supply module, the add counter continuously outputs code values to the first output terminal until the output voltage of the first power supply module is increased to the first target voltage.
[0122] Step 2: upon receiving the voltage increase signal from the second power supply module, the add counter continuously outputs code values to the second output terminal until the output voltage of the second power supply module is increased to the second target voltage.
[0123] Step three: upon receiving the voltage reduction signal from the first power supply module, the down counter continues to output code values to the first output terminal until the output voltage of the first power supply module drops to a third target voltage.
[0124] Step 4: upon receiving the voltage reduction signal from the second power supply module, the down counter continues to output code values to the second output terminal until the output voltage of the second power supply module drops to a fourth target voltage.
[0125] For the relevant descriptions of steps 1 to 4, reference can be made to the relevant descriptions of the add counter, the subtract counter and the data selector in the above embodiment, which will not be repeated here.
[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0127] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0128] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A power supply circuit, characterized in that: include: A first power supply module, a second power supply module and a dynamic voltage adjustment module; the first power supply module and the second power supply module are both electrically connected to the dynamic voltage adjustment module; The dynamic voltage adjustment module is used to control the first power supply module to output the first voltage to the first load when receiving the waiting-to-connect signal of the first load, and control the output of the second power supply module to gradually enter a high-impedance state; The dynamic voltage adjustment module is also used to control the second power supply module to output a second voltage to the second load when receiving a waiting-to-connect signal of the second load, and control the output of the first power supply module to gradually enter a high-impedance state; wherein the first voltage is greater than the second voltage; The required energy of the first load is greater than or equal to the preset required energy; The energy required by the second load is less than the preset required energy.
2. The power supply circuit according to claim 1, characterized in that: The dynamic voltage adjustment module includes: an up counter, a down counter and a data selector; The up-counter and the down-counter are both connected to the data selector signal; The data selector comprises a first output terminal and a second output terminal, wherein the first output terminal is signal-connected to the first power supply module, and the second output terminal is signal-connected to the second power supply module; When receiving the waiting-to-connect signal of the first load, the up counter is used to continuously output the code value to the first output end until the output voltage of the first power supply module is the first voltage; the down counter is used to continuously output the code value to the second output end until the output of the second power supply module gradually enters a high impedance state; When receiving the access signal of the second load, the up counter is used to continuously output the code value to the second output end until the output voltage of the second power supply module is the second voltage; the down counter is used to continuously output the code value to the first output end until the output of the first power supply module gradually enters a high impedance state.
3. The power supply circuit according to claim 2, characterized in that: When receiving a voltage increase signal from the first power supply module, the add counter is used to continuously output code values to the first output terminal until the output voltage of the first power supply module is increased to a first target voltage; When receiving the voltage increase signal of the second power supply module, the add counter is used to continuously output the code value to the second output end until the output voltage of the second power supply module is increased to the second target voltage.
4. The power supply circuit according to claim 2, characterized in that: When receiving the voltage reduction signal of the first power supply module, the down counter is used to continuously output the code value to the first output end until the output voltage of the first power supply module drops to a third target voltage; When receiving the voltage reduction signal of the second power supply module, the down counter is used to continuously output the code value to the second output end until the output voltage of the second power supply module drops to a fourth target voltage.
5. The power supply circuit according to any one of claims 2 to 4, characterized in that: The first power supply module includes: a first resistor matrix, a first operational amplifier and a first metal oxide semiconductor field effect MOS tube; One end of the first resistor matrix is grounded, and an input of the first resistor matrix is signal-connected to the first output end; The negative input terminal of the first operational amplifier is connected to the output of the first resistor matrix, the positive input terminal is used to input a first reference voltage, and the output terminal is connected to the gate of the first MOS transistor; The source of the first MOS tube is used to connect to an external voltage, and the drain is connected to the other end of the first resistor matrix; The first resistor matrix is also used to output the first voltage.
6. The power supply circuit according to claim 5, characterized in that: The second power supply module includes: a second resistor matrix, a second operational amplifier and a second MOS tube; One end of the second resistor matrix is grounded, and an input of the second resistor matrix is signal-connected to the second output end; The positive input terminal of the second operational amplifier is connected to the output of the second resistor matrix, the negative input terminal is used to input a second reference voltage, and the output terminal is connected to the gate of the second MOS transistor; The drain of the second MOS tube is used to connect to an external voltage, and the source is connected to the other end of the second resistor matrix; The second resistor matrix is also used to output the second voltage.
7. The power supply circuit according to claim 6, characterized in that: The first power supply module further includes a first compensation network; the second power supply module further includes a second compensation network; The input end of the first compensation network is connected to the output of the first operational amplifier, and the output end is connected to the gate of the first MOS transistor, or the output end is connected to the drain of the first MOS transistor; The input end of the second compensation network is connected to the output of the second operational amplifier, and the output end is connected to the gate of the second MOS tube, or the output end is connected to the source of the second MOS tube.
8. The power supply circuit according to claim 1, characterized in that: Also includes: A voltage output circuit, wherein an input of the voltage output circuit is connected to an output of the first power supply module and an output of the second power supply module; The output of the voltage output circuit is used to connect a load.
9. The power supply circuit according to claim 8, characterized in that: The voltage output circuit includes: a capacitor, a first switch and a second switch; One plate of the capacitor is grounded, the other plate is connected to the output of the first power supply module and the output of the second power supply module, and the other plate is also connected to one end of the first switch and one end of the second switch; The other end of the first switch is connected to the first load; The other end of the second switch is connected to the second load.
10. A battery management chip, characterized in that: The invention comprises the power supply circuit according to any one of claims 1 to 9.