Voltage regulation method and device, voltage regulation circuit, equipment, storage medium and program product
Through the voltage regulation method of dual-core structure and asynchronous mode switching, the problem of unstable supply voltage under different battery voltages is solved, and the stable supply of load voltage and the normal operation of the circuit is achieved.
Patent Information
- Application Number
- CN202510553547.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2025-07-11
AI Technical Summary
The prior art is difficult to provide a stable supply voltage to the load under different battery voltages, resulting in the peak current of the boost circuit being too high, exceeding the overcurrent capability of the boost inductor, affecting the normal operation of the equipment.
The voltage regulation method with a dual-core structure is adopted. By controlling the asynchronous mode switching of the first phase voltage regulation branch and the second phase voltage regulation branch, the duty cycle is adjusted to switch the voltage regulation mode to ensure that the current fluctuation is small and the circuit is working normally.
Under different battery voltages, the power supply voltage required for the load can be stably provided, reducing sudden current changes, ensuring the normal operation of the circuit, and avoiding reducing equipment performance.
Smart Images

Figure CN120300993A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic circuits, and in particular, to a voltage regulation method, device, voltage regulation circuit, equipment, storage medium, and program product. Background Art
[0002] The battery in an electronic device is used to supply power to the load of the electronic device. Among them, the power supply voltage provided to the load cannot be lower than the preset load voltage threshold, otherwise the load cannot operate normally. Currently, in order to ensure the normal operation of the load, when the battery voltage is lower than the preset load voltage threshold, a boost circuit is used to boost the battery voltage to be close to the preset load voltage threshold and supply power to the load. However, in this solution, the peak current on the boost inductor in the boost circuit is instantaneously too high, exceeding the overcurrent capacity of the boost inductor, resulting in the boost circuit being unable to provide the boost capacity normally.
[0003] Therefore, the problem of how to provide the required power supply voltage for the load under different battery voltages needs to be solved urgently. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a voltage regulation method, device, voltage regulation circuit, equipment, storage medium, and program product that can provide the required power supply voltage for the load under different battery voltages.
[0005] In a first aspect, this application provides a voltage regulation method for a voltage regulation circuit. The voltage regulation circuit includes a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the voltage regulation circuit to the battery circuit is different in different voltage regulation modes; the method includes:
[0006] During the process of controlling the voltage regulation circuit to switch from the first voltage regulation mode to the second voltage regulation mode, control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle, where the first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode;
[0007] After switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle, control the second-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle.
[0008] Second aspect, the present application also provides a voltage regulating device. It is used for a voltage regulating circuit, the voltage regulating circuit includes a battery circuit and a voltage regulating circuit connected to each other, the voltage regulating circuit includes a first-phase voltage regulating branch and a second-phase voltage regulating branch, the voltage regulating circuit can operate in different voltage regulating modes, wherein, the voltage regulating ratio of the battery voltage output by the battery circuit by the voltage regulating circuit is different in different voltage regulating modes; the device includes:
[0009] A first switching module, configured to control the first-phase voltage regulating branch to switch from a first duty cycle to a second duty cycle during the process of controlling the voltage regulating circuit to switch from a first voltage regulating mode to a second voltage regulating mode, wherein, the first duty cycle is the duty cycle corresponding to the first voltage regulating mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulating mode;
[0010] A second switching module, configured to control the second-phase voltage regulating branch to switch from the first duty cycle to the second duty cycle after switching the first-phase voltage regulating branch from the first duty cycle to the second duty cycle.
[0011] Third aspect, the present application also provides a voltage regulating circuit, the voltage regulating circuit includes a controller and a battery circuit and a voltage regulating circuit connected to each other, the voltage regulating circuit includes a first-phase voltage regulating branch and a second-phase voltage regulating branch, the voltage regulating circuit can operate in different voltage regulating modes, wherein, the voltage regulating ratio of the battery voltage output by the battery circuit by the voltage regulating circuit is different in different voltage regulating modes; the controller is configured to execute the voltage regulating method as described in the first aspect.
[0012] Fourth aspect, the present application also provides an electronic device, including at least one voltage regulating circuit as described in the third aspect.
[0013] Fifth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0014] Sixth aspect, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0015] In the above voltage regulation method, device, voltage regulation circuit, equipment, storage medium, and program product, the voltage regulation method is used for a voltage regulation circuit. The voltage regulation circuit includes a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the voltage regulation circuit to the load is different in different voltage regulation modes. The method includes: during the process of controlling the voltage regulation circuit to switch from the first voltage regulation mode to the second voltage regulation mode, controlling the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle, where the first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode; after switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle, controlling the second-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle. In this way, not only can the battery voltage be regulated to the supply voltage required by the load through different voltage regulation modes when the voltage regulation circuit executes the voltage regulation method, but also during the mode switching process, since the first-phase voltage regulation branch and the second-phase voltage regulation branch are controlled to switch the duty cycle respectively to achieve the asynchronous mode switching of the two-phase branches, the connection between the first voltage regulation mode and the second voltage regulation mode is ensured, the current stress caused by mode switching is reduced, the current mutation in the voltage regulation circuit is reduced, and the current fluctuation is small, so as to ensure the normal operation of the voltage regulation circuit and continuously provide the required supply voltage for the load. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is an application environment diagram of the voltage regulation method in an embodiment;
[0018] Figure 2 It is a schematic flowchart of the voltage regulation method in an embodiment;
[0019] Figure 3 It is a schematic circuit structure diagram of the voltage regulation circuit in an embodiment;
[0020] Figure 4 It is a schematic waveform diagram of the control signal of the first-phase voltage regulation branch in an embodiment;
[0021] Figure 5 It is a schematic waveform diagram of the control signal of the second-phase voltage regulation branch in an embodiment;
[0022] Figure 6 Schematic diagram of circuit current in an embodiment
[0023] Figure 7 Schematic diagram of switching logic flow in an embodiment
[0024] Figure 8 Control block diagram of mode switching in an embodiment
[0025] Figure 9 Control block diagram of the voltage regulating circuit in CP mode in an embodiment
[0026] Figure 10 Control block diagram of the voltage regulating circuit in direct-through mode in an embodiment
[0027] Figure 11 Control block diagram of the voltage regulating circuit in CV mode in an embodiment
[0028] Figure 12 Control block diagram of mode switching in an embodiment
[0029] Figure 13 Control block diagram of mode switching in another embodiment
[0030] Figure 14 Structural block diagram of a voltage regulating device in an embodiment
[0031] Figure 15 Internal structure diagram of an electronic device in an embodiment Detailed implementation manners
[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0033] Current graphite anode batteries usually ensure that the minimum discharge voltage is above 3.2V. Given that various existing electronic devices are designed based on this standard, it is crucial to ensure that the operating voltage of the batteries configured in the electronic devices is not lower than 3.2V. However, with the development of technology, other types of batteries have also been continuously applied. For example, silicon anode batteries with higher energy density have gradually been widely used. However, although such silicon anode batteries have better performance, their discharge voltage range is relatively wide and can be as low as 2.7V or even 2.5V. Under such low voltage conditions, some devices may not be able to maintain normal operation.
[0034] To solve this problem, a battery system using a silicon anode material introduces a dual-core structure and reduces the voltage to an intermediate voltage through a buck converter. Considering that the intermediate voltage may be as low as 2.5V at most, a boost circuit is also needed to boost it to the standard level of 3V to meet the power supply requirements of the load in the electronic device. Specifically, when the intermediate voltage is higher than or equal to 3V, the boost circuit switches to the direct-through mode and supplies power directly without additional adjustment; conversely, if the intermediate voltage is lower than 3V, the circuit activates the boost function to ensure that the output voltage is stable at 3V. This mechanism effectively solves the challenge to device compatibility posed by the relatively low lower limit of the discharge voltage of the silicon anode battery.
[0035] However, when the electronic device is operating in high-load scenarios such as gaming and taking photos, the maximum current at the load end is greater than 10A. And as the battery terminal voltage further drops below 2.5V and transiently drops below 2V, at this time, the maximum average current passing through the boost inductor in the boost circuit can reach more than 15A. Considering the inductor current ripple, the peak current on the boost inductor will exceed 20A. Due to the limited space on the motherboard of the electronic device, the height of the boost inductor needs to be limited within 1mm. However, the current inductor process cannot achieve a current-carrying capacity of 20A at a height of 1mm. Therefore, the boost inductor is the biggest bottleneck restricting the normal operation of the boost circuit in the above solution.
[0036] Considering that if multiple associated boost circuits are used, the required number of circuit phases is too large, which will greatly increase the cost. Therefore, the current solution is to limit the frequency of the CPU, the screen brightness, the radio frequency performance, etc. of the electronic device under low battery power, thereby reducing the load current to reduce the inductor current. However, this will affect the normal use of the electronic device by the user under low battery power.
[0037] Therefore, the problem of how to provide the required power supply voltage for the load under different battery voltages needs to be solved urgently.
[0038] In view of this, embodiments of the present application provide a voltage regulation method, apparatus, voltage regulation circuit, device, storage medium, and program product. The voltage regulation method is used for a voltage regulation circuit. The voltage regulation circuit includes a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the battery circuit by the voltage regulation circuit is different in different voltage regulation modes. The method includes: during the process of controlling the voltage regulation circuit to switch from the first voltage regulation mode to the second voltage regulation mode, controlling the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle, where the first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode; after switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle, controlling the second-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle. In this way, not only can the battery voltage be adjusted to the supply voltage required by the load by using different voltage regulation modes when the voltage regulation circuit executes this voltage regulation method, but also during the mode switching process, since the first-phase voltage regulation branch and the second-phase voltage regulation branch are controlled to switch the duty cycle respectively to achieve the asynchronous mode switching of the two-phase branches, the connection between the first voltage regulation mode and the second voltage regulation mode is ensured, the current stress brought about by mode switching is reduced, the current mutation in the voltage regulation circuit is reduced, the current fluctuation is small, so as to ensure the normal operation of the voltage regulation circuit and continuously provide the required supply voltage for the load. And, it can be seen from this that when using this method for voltage regulation, there is no need to reduce the performance of the electronic device, and it will not affect the normal use of the functions of the electronic device under low power.
[0039] It should be noted that the voltage regulation method provided by the embodiments of the present application is used for a voltage regulation circuit. Exemplarily, as Figure 1 shown, the voltage regulation circuit includes a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the battery circuit by the voltage regulation circuit is different in different voltage regulation modes. Optionally, the first-phase voltage regulation branch is connected to the load that needs to be powered in the electronic device, and the output voltage of the voltage regulation circuit is used to supply power to the load. The load is various components in the electronic device, which are not specifically limited here. Optionally, the voltage regulation circuit includes a controller, and the controller is connected to the battery circuit and the voltage regulation circuit. The controller controls the mode of operation of the voltage regulation circuit based on the battery voltage and the output voltage of the voltage circuit. Specifically, the controller can execute this voltage regulation method.
[0040] Moreover, the voltage regulation circuit can be applied to an electronic device, and the battery circuit is also provided in the electronic device. Among them, the electronic device can be, but is not limited to, various personal computers, laptop computers, smartphones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. In the following, an example will be given with the method applied to a controller.
[0041] In an exemplary embodiment, as Figure 2 shown, a voltage regulation method for the above voltage regulation circuit is provided. The method includes the following steps:
[0042] Step 201: During the process of controlling the voltage regulation circuit to switch from the first voltage regulation mode to the second voltage regulation mode, control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle.
[0043] Among them, the duty cycle is the ratio of the high-level time to the entire cycle time of a pulse signal within one cycle. The high-level time is the time length of the pulse signal in the high-level state within one cycle, and the cycle time is the time interval of the pulse signal from one starting point to the next same starting point.
[0044] The first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode. That is, when the voltage regulation circuit operates in the first voltage regulation mode, the duty cycle of the voltage regulation circuit is the first duty cycle; when the voltage regulation circuit operates in the second voltage regulation mode, the duty cycle of the voltage regulation circuit is the second duty cycle.
[0045] In an alternative embodiment of the present application, the voltage regulation circuit includes a plurality of switching tubes, and the controller controls each switching tube to conduct or turn off based on a control signal. The control signal can be a pulse signal. Here, when the control signal is at a high level, the switching tube controlled by the control signal conducts, and when the control signal is at a low level, the switching tube controlled by the control signal turns off.
[0046] By adjusting the duty cycle of each switching tube, the voltage regulation circuit can be switched between different modes, so that the voltage regulation ratio of the voltage regulation circuit is different in different voltage regulation modes; that is, the voltage regulation ratio of the voltage regulation circuit to the battery voltage output by the battery circuit is different in different voltage regulation modes.
[0047] In an alternative embodiment of the present application, the voltage regulation circuit can operate in voltage regulation modes with multiple different voltage regulation ratios. According to the current battery voltage of the battery circuit and the output voltage currently provided by the voltage regulation circuit to the load, the voltage regulation mode of the voltage regulation circuit can be flexibly switched so that the output voltage of the voltage regulation circuit is within the target voltage range.
[0048] Optionally, the target voltage range includes a target voltage required for the load to operate, for example, the target voltage is 3.2V, and the target voltage range is between 3V and 3.4V, that is, near the target voltage to ensure that the load can operate normally based on the output voltage.
[0049] In the embodiment of the present application, considering that the difference between the first duty cycle and the second duty cycle may be too large during the mode switching process, resulting in a sudden change in the voltage before and after, and the stress of the inductor in the voltage regulation mode becomes larger, in order to ensure the normal operation of the voltage regulation circuit during the mode switching process, the voltage regulation circuit is divided into a first phase voltage regulation branch and a second phase voltage regulation branch. When the mode is switched, the first phase voltage regulation branch and the second phase voltage regulation branch are switched asynchronously to ensure the connection before and after the mode switching.
[0050] Therefore, the first phase voltage regulation branch is first switched from the first duty cycle to the second duty cycle. That is, the duty cycle of the control signal of the switch tube that needs to work in the first phase voltage regulation circuit is switched from the first duty cycle to the second duty cycle, so that the first phase voltage regulation branch completes the mode switching first.
[0051] Step 202: After the first phase voltage regulation branch is switched from the first duty cycle to the second duty cycle, the second phase voltage regulation branch is controlled to switch from the first duty cycle to the second duty cycle.
[0052] After the first-phase voltage regulation branch completes the mode switching, the first-phase voltage regulation branch is switched from the first duty cycle to the second duty cycle, that is, the duty cycle of the control signal of the switch tube that needs to work in the second-phase voltage regulation circuit is switched from the first duty cycle to the second duty cycle, so that the second-phase voltage regulation branch completes the mode switching immediately.
[0053] In an optional embodiment of the present application, the voltage regulation circuit can operate in multiple voltage regulation modes, for example, three or more. In this case, the first voltage regulation mode refers to the voltage regulation mode before switching, and the second voltage regulation mode refers to the voltage regulation mode after switching.
[0054] Optionally, the voltage regulation ratio of one of the first voltage regulation mode and the second voltage regulation mode is fixed, and the voltage regulation ratio of the other of the first voltage regulation mode and the second voltage regulation mode is dynamically adjustable. That is, the first duty cycle is fixed, and the second duty cycle is dynamically adjustable.
[0055] Optionally, when controlling the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle, controlling the first-phase voltage regulation branch to switch from the first duty cycle to the currently determined second duty cycle.
[0056] In the above voltage regulation method, during the process of controlling the voltage regulation circuit to switch from the first voltage regulation mode to the second voltage regulation mode, the first-phase voltage regulation branch is controlled to switch from the first duty cycle to the second duty cycle, where the first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode; after switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle, the second-phase voltage regulation branch is controlled to switch from the first duty cycle to the second duty cycle. In this way, not only can the battery voltage be regulated to the supply voltage required by the load through different voltage regulation modes when using this voltage regulation circuit to execute this voltage regulation method, but also during the mode switching process, since the first-phase voltage regulation branch and the second-phase voltage regulation branch are controlled to switch the duty cycle respectively to achieve the asynchronous mode switching of the two-phase branches, the connection between the first voltage regulation mode and the second voltage regulation mode is ensured, the current stress brought by the mode switching is reduced, the current mutation in the voltage regulation circuit is reduced, the current fluctuation is small, so as to ensure the normal operation of this voltage regulation circuit and continuously provide the required supply voltage for the load. And, it can be seen therefrom that when using this method for voltage regulation, there is no need to reduce the performance of the electronic device, and it will not affect the normal use of the functions of the electronic device under low battery power.
[0057] As mentioned above, the voltage regulation circuit includes a plurality of switching tubes. In addition, the voltage regulation circuit may also include components such as capacitors and inductors to support the voltage regulation circuit to operate in different voltage regulation modes. Exemplarily, as Figure 3 shows the circuit structure of a voltage regulation circuit, which shows the connection relationship between the voltage regulation circuit, the battery circuit and the load. It can be understood that Figure 3 is an exemplary implementation of the voltage regulation circuit.
[0058] Among them, Cin is the input capacitor and Cout is the output capacitor.
[0059] The voltage regulation circuit includes switching tubes Q1 to Q11, capacitors C1, C2, inductors L1 and L2. Optionally, Q1 to Q11 are N-type MOS transistors (Metal Oxide Semiconductor). The gates of Q1 to Q11 are all connected to the controller and operate based on control signals. Taking Q1 as an example, the source of Q1 is connected to the drain of Q2, and the drain of Q1 is connected to the battery circuit. C1 and C2 are energy storage capacitors.
[0060] According to Figure 3 it can be known that V2x can represent the battery voltage, and V1x can represent the output voltage of the voltage regulation circuit, that is, the supply voltage provided to the load.
[0061] Optionally, as Figure 3 shown, the battery circuit in the embodiment of the present application is a lithium battery with two battery cells connected in series, such as a silicon anode battery with two battery cells connected in series.
[0062] For ease of understanding, the following uses Figure 3 the voltage regulation circuit structure shown in the figure as an example to illustrate the working process and switching process of the voltage regulation circuit in each voltage regulation mode.
[0063] In an exemplary embodiment, different voltage regulation modes include a first fixed ratio mode, an adjustable ratio mode, and a second fixed ratio mode.
[0064] Among them, in the first fixed ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is 2:1. That is, the 2:1 CP (Charger pump) mode. In this mode, the relationship between the output voltage and the battery voltage is: V1x = V2x / 2.
[0065] In the second fixed ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is 1:1. That is, the BYPASS direct connection mode. In this mode, the relationship between the output voltage and the battery voltage is: V1x = V2x.
[0066] In the adjustable ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is in the range of 2:1 to 1:1. That is, the BUCK step-down mode. Among them, in this mode, the output voltage position of the voltage regulation circuit can be made near the target voltage, so it can also be considered as the CV mode (Constant Voltage Mode). In this mode, the relationship between the output voltage and the battery voltage is: V1x = V2x / 2 to V2x.
[0067] In an exemplary embodiment, when the voltage regulation circuit works in the first fixed ratio mode, the method further includes: in the first fixed ratio mode, controlling the voltage regulation circuit to alternately work between the first voltage regulation mode and the second voltage regulation mode; the working durations corresponding to the first voltage regulation mode and the second voltage regulation mode are the same.
[0068] Among them, in the first voltage regulation mode, the voltage regulation circuit charges the energy storage capacitor in the voltage regulation circuit using the battery voltage; in the second voltage regulation mode, the voltage regulation circuit discharges the energy storage capacitor to output the output voltage.
[0069] Specifically, within one working cycle, the voltage regulation circuit works in the first voltage regulation mode and the second voltage regulation mode for 50% each. The function of making the working durations corresponding to the first voltage regulation mode and the second voltage regulation mode the same is realized. Thus, the voltage regulation circuit switches between the first voltage regulation mode and the second voltage regulation mode to support the 2:1 CP mode.
[0070] Refer to Figure 3As shown, when the voltage regulating circuit operates in the 2:1 CP mode, the switching transistors Q9, Q10, and Q11 are always kept conducting, and Q1 to Q8 all operate in the PWM mode with a 50% duty cycle. If the voltage drop due to the on-resistance of the switching transistors is not considered, according to the circuit principle, V1x = 1 / 2 * battery voltage. In this mode, the circuit has two operating modes:
[0071] The first voltage regulating mode: The switching transistors Q1, Q3, Q6, and Q8 are conducting, and Q2, Q4, Q5, and Q7 are off. At this time, the current forms a loop through the conducting switching transistors and components such as inductors L1 and L2 to charge capacitors C1 and C2.
[0072] The second voltage regulating mode: The switching transistors Q1, Q3, Q6, and Q8 are off, and Q2, Q4, Q5, and Q7 are conducting. The current path in the circuit changes, and capacitors C1 and C2 are discharged.
[0073] Moreover, within a working cycle T, the time of operating in the first voltage regulating mode and the second voltage regulating mode each accounts for 50%. In this mode, the output voltage V1x is half of the battery terminal voltage, and the voltages across capacitor C1 (VC1) and capacitor C2 (VC2) are both equal to half of the battery voltage. At this time, the output voltage V1x = V2x / 2, VC1 = VC2 = Vin / 2.
[0074] In an exemplary embodiment, when the voltage regulating circuit operates in the adjustable ratio mode, the method further includes: controlling the first-phase voltage regulating branch and the second-phase voltage regulating branch to alternately operate in the adjustable ratio mode; wherein, the phase difference between the first-phase voltage regulating branch and the second-phase voltage regulating branch is 180°.
[0075] In an alternative embodiment of the present application, the process of controlling the first-phase voltage regulating branch to operate includes: controlling the first-phase voltage regulating branch to alternately operate between the third voltage regulating mode and the fourth voltage regulating mode; wherein, in the third voltage regulating mode, the first-phase voltage regulating branch charges the energy storage capacitor in the first-phase voltage regulating branch with the battery voltage and outputs the output voltage; in the fourth voltage regulating mode, the first-phase voltage regulating branch discharges the energy storage capacitor to output the output voltage.
[0076] In an alternative embodiment of the present application, the process of controlling the second-phase voltage regulating branch to operate includes: controlling the second-phase voltage regulating branch to alternately operate between the third voltage regulating mode and the fourth voltage regulating mode; wherein, in the third voltage regulating mode, the second-phase voltage regulating branch charges the energy storage capacitor in the second-phase voltage regulating branch with the battery voltage and outputs the output voltage; in the fourth voltage regulating mode, the second-phase voltage regulating branch discharges the energy storage capacitor to output the output voltage.
[0077] Exemplarily, referring to Figure 3As shown in the figure, the first-phase voltage regulation branch includes Q1 to Q4, C1, and L1; the second-phase voltage regulation branch includes Q5 to Q8, C2, and L2. When the topology is in the adjustable ratio mode, the switching transistors Q9, Q10, and Q11 always remain in the off state, and Q2 and Q6 are always in the on state. At this time, the voltage regulation circuit operates with two phases (the first-phase voltage regulation branch and the second-phase voltage regulation branch), and the working phases of the two phases differ by 180°.
[0078] During the operation of the first-phase voltage regulation branch, there are two modes:
[0079] The third voltage regulation mode: The switching transistors Q1 and Q3 are turned on, and Q4 is turned off. In this mode, the battery voltage is connected in series with the capacitor C1 to charge C1 and supply power to the output terminal together. According to the circuit principle, at this time, V2x - VC1 = V1x, and the voltage at the upper end of the inductor L1 is V2x.
[0080] The fourth voltage regulation mode: The switching transistors Q1 and Q3 are turned off, and Q4 is turned on. In this mode, the capacitor C1 supplies power to the output terminal through the inductor L1, and C1 discharges. At this time, the voltage at the upper end of the inductor L1 is VC1. It can be understood that according to the setting that the phase difference between the first-phase voltage regulation branch and the second-phase voltage regulation branch is 180°, the conduction states of the switching transistors of the second-phase voltage regulation branch can be determined at this time.
[0081] During the operation of the second-phase voltage regulation branch, there are also two modes:
[0082] The third voltage regulation mode: The switching transistors Q5 and Q7 are turned on, and Q8 is turned off. In this mode, the battery voltage is connected in series with the capacitor C2 to charge C2 and supply power to the output terminal together. According to the circuit principle, at this time, V2x - VC2 = V1x, and the voltage at the upper end of the inductor L2 is V2x.
[0083] The fourth voltage regulation mode: The switching transistors Q5 and Q7 are turned off, and Q8 is turned on. In this mode, the capacitor C2 supplies power to the output terminal through the inductor L2, and C2 discharges. At this time, the voltage at the upper end of the inductor L2 is VC2. It can be understood that according to the setting that the phase difference between the first-phase voltage regulation branch and the second-phase voltage regulation branch is 180°, the conduction states of the switching transistors of the first-phase voltage regulation branch can be determined at this time.
[0084] Assume that in a working cycle T of the topology, the duty cycles of the third voltage regulation mode and the fourth voltage regulation mode are D and (1 - D) respectively. Since the average value of the voltage VL across the inductor L1 in one cycle should be zero, according to the volt-second balance principle of the circuit, it can be obtained that: V1x = V2x * D + (V2x - V1x) * (1 - D) (0 < D < 1); further derivation gives: V1x = V2x / (2 - D) (0 < D < 1).
[0085] It can be seen therefrom that by changing the duty cycle D, the output voltage V1x can be varied between V2x / 2 and V2x, thereby realizing the voltage regulation function. Exemplarily, as Figure 4 shows the waveform of the control signal of the first-phase voltage regulation branch, Figure 5 shows the waveform of the control signal of the second-phase voltage regulation branch, and the phase difference between the two is 180°. In addition, as Figure 6 shows the current of this branch during the operation of the first-phase voltage regulation branch and the second-phase voltage regulation branch. It can be seen that the current passing through the inductor in the branch will not fluctuate excessively, and the circuit operates stably.
[0086] In an exemplary embodiment, when the voltage regulation circuit operates in the second fixed ratio mode, the output voltage of the voltage regulation circuit is equal to the battery voltage.
[0087] Referring to Figure 3 as shown, when the topology is in the through mode, the switching transistors Q1, Q2, Q3, Q5, Q6, Q7, Q9, Q10, Q11 are always kept conducting, and Q4 and Q8 are always kept non-conducting. If the voltage drop across the on-resistance of the switching transistors is not considered, according to the circuit principle, V1x = V2x can be obtained.
[0088] In summary, based on three different voltage regulation modes, voltage regulation can be achieved under different battery voltages to provide the required supply voltage for the load.
[0089] In an exemplary embodiment, during the discharge process of the battery circuit, the method further includes:
[0090] When the voltage regulation circuit operates in the first fixed ratio mode, if the output voltage of the voltage regulation circuit is less than the first preset output voltage, then control the voltage regulation circuit to switch from the first fixed ratio mode to the adjustable ratio mode.
[0091] When the voltage regulation circuit operates in the adjustable ratio mode, if the output voltage of the voltage regulation circuit is less than the second preset output voltage and the battery voltage is less than the first reference voltage, then control the voltage regulation circuit to switch from the adjustable ratio mode to the second fixed ratio mode.
[0092] During the charging process of the battery circuit, the method further includes:
[0093] When the voltage regulation circuit operates in the second fixed ratio mode, if the output voltage of the voltage regulation circuit is greater than the third preset output voltage or the output voltage of the voltage regulation circuit is greater than the second reference voltage, then control the voltage regulation circuit to switch from the second fixed ratio mode to the adjustable ratio mode.
[0094] When the voltage regulation circuit operates in the adjustable ratio mode, if the battery voltage is greater than the first preset constant voltage or the battery voltage is greater than the first preset battery voltage, the voltage regulation circuit is controlled to switch from the adjustable ratio mode to the first fixed ratio mode.
[0095] That is, the first preset output voltage V1x_set1, the second preset output voltage V1x_set2, the first reference voltage Vc1, the third preset output voltage V1x_set3, the second reference voltage Vc2, the first preset constant voltage Vh, the first preset battery voltage V2x_set1 and other judgment parameters are preset in the controller, and the controller can obtain the battery voltage and the output voltage of the adjustment circuit in real time. The battery voltage and the output voltage of the adjustment circuit are compared with the judgment parameters to determine whether to perform mode switching.
[0096] Exemplarily, as Figure 7 shown in the schematic diagram of the switching logic flow, the working principle of the voltage regulation circuit is as follows:
[0097] When the battery circuit of the electronic device uses a double-series lithium battery, when the battery circuit is discharging, the battery voltage is continuously decreasing. Assuming that the initial output voltage V1x is greater than the preset value V1x_set1, the circuit will operate in the CP mode, and at this time V1x = 0.5 * V2x.
[0098] When the battery voltage V1x is less than the preset value V1x_set1, the circuit will switch to the CV mode and enter the closed-loop state. Through dynamic regulation, V1x is kept at the constant voltage value cv_set.
[0099] When V1x is less than V1x_set2 and V2x is less than Vc1, the direct-through mode is entered, and at this time V1x = V2x.
[0100] When the battery is charging, the battery voltage is continuously increasing. Assuming that the initial battery voltage makes the circuit in the direct-through mode, when V1x > V1x_set3, or V1x > Vc2, it will switch to the CV mode at this time.
[0101] When V2x > Vh or V2x > V2x_set1, the circuit will switch from the CV mode to the CP mode.
[0102] In a possible implementation, V1X_set1 = 2.85V; Vcv_set = 3.6V; V2X_set1 = 6.4V; V1X_set2 = Vcv_set - 0.2V = 3.4V; Vc1 = 4.5V; Vc2 = 4.4V.
[0103] In addition, V1X_set3 = Vcv_set + 0.5V = 4.1V; Vh = 2 * Vcv_set + 0.1V. In this way, a part of fluctuating voltage is reserved to ensure the stability of mode switching.
[0104] It can be understood that for different types of battery circuits, each judgment parameter can be adjusted correspondingly without specific limitation, as long as the mode switching is performed based on the above switching logic.
[0105] In an alternative embodiment of the present application, referring to the above description, as Figure 7 shown, during the discharge process of the battery circuit, the voltage regulation mode of the voltage regulation circuit is switched in the order of the first fixed ratio mode, the adjustable ratio mode to the second fixed ratio mode. During the charging process of the battery circuit, the voltage regulation mode of the voltage regulation circuit is switched in the order of the second fixed ratio mode, the adjustable ratio mode to the first fixed ratio mode.
[0106] Among them, the voltage regulation ratios of the first fixed ratio mode, the adjustable ratio mode to the second fixed ratio mode increase in sequence. Therefore, based on this order for switching, situations such as voltage instability caused by the switching process of the voltage regulation mode can be avoided, ensuring the smoothness of mode switching.
[0107] As can be seen from the above, for the actual circuit, the next mode selection will be made according to the current values of V1x and V2x and the voltage regulation mode to which the current topology belongs. When the mode selection changes, there will be two intermediate states of mode switching. Therefore, it is necessary to separately process the states of the switching transistors during the intermediate states to reduce current impact and ripple. Referring to Figure 8 the shown mode switching control block diagram, it can be seen that for the switching between CP (the first fixed ratio mode) and the CV mode (the adjustable ratio mode), and for the switching between the CV mode (the adjustable ratio mode) and the direct connection mode (the second fixed ratio mode), separate processing is required to reduce current impact and ripple. In addition, exemplarily, as Figure 8 shown, the controller of the embodiment of the present application controls the mode switching of the voltage regulation circuit based on the control mode of the PID controller.
[0108] That is to say, in an alternative embodiment of the present application, during mode switching, when the first voltage regulation mode is the first fixed ratio mode, the second voltage regulation mode is the adjustable ratio mode; when the first voltage regulation mode is the adjustable ratio mode, the second voltage regulation mode is the second fixed ratio mode.
[0109] Specifically, the CP mode is voltage open-loop control, that is, the switching transistors all operate in the 50% PWM mode. In terms of voltage performance, V1x = 1 / 2 * V2x. When the battery voltage drops, V1x will follow and drop. And here, V1x and V2x show a proportional relationship, and the proportion is completely positively correlated with the duty cycle of PWM. The control block diagram of the voltage regulation circuit in the CP mode is as Figure 9 shown.
[0110] The direct-through mode is open-loop control, that is, the switching transistors all operate in the 100% PWM mode. In terms of voltage performance, V1x = V2x. When the battery voltage drops, V1x will follow and drop. The control block diagram of the voltage regulation circuit in the direct-through mode is as Figure 10 shown.
[0111] The CV mode is the closed-loop control of voltage. In an exemplary embodiment, the method further includes: when the voltage regulation circuit operates in the adjustable ratio mode (CV mode), based on the control mode of the proportional-integral controller, controlling the voltage regulation circuit to adjust the battery voltage to obtain the output voltage of the voltage regulation circuit.
[0112] As mentioned above, the controller controls the mode switching of the voltage regulation circuit based on the control mode of the PID controller. Among them, the core idea of the PID controller is to achieve precise control of the system through the combination of three control methods: proportional (P), integral (I), and derivative (D).
[0113] In the embodiment of the present application, during the process of the adjustment circuit operating in the adjustable ratio mode, the controller is a proportional-integral (PI) controller. In this way, combined with the integral process, the error can be eliminated, and the duty cycle corresponding to the current adjustable ratio mode can be calculated more accurately in real time, so as to provide the required voltage for the load.
[0114] In an exemplary embodiment, based on the control mode of the proportional-integral controller, controlling the voltage regulation circuit to adjust the battery voltage includes: determining the difference between the preset reference voltage and the output voltage of the current voltage regulation circuit; based on the control mode of the proportional-integral controller, determining the duty cycle corresponding to the current adjustable ratio mode according to the difference; adjusting the battery voltage according to the duty cycle corresponding to the current adjustable ratio mode.
[0115] Among them, a given preset reference voltage Vref is pre-configured in the controller. Optionally, Vref is between one-half of the maximum battery voltage and the maximum battery voltage, that is, Vref is fixed at any value between 0.5 * V2x and V2x. At this time, the controller will dynamically adjust the current PWM duty cycle based on the proportional-integral controller by combining the deviation Err between Vref and V1x, so that V1x gets as close as possible to Vref. The control block diagram of the voltage regulation circuit in the CV mode is as Figure 11 shown.
[0116] In the embodiments of the present application, for Figure 12 the process of switching from the first fixed ratio mode to the adjustable ratio mode shown, the loop switches from the state with a 50% duty cycle in the open loop to the closed loop state. The controller performs PID operation according to the deviation Err between Vref and V1x, so as to output the duty cycle corresponding to the adjustable ratio mode. There must be a deviation between the second duty cycle here and the duty cycle corresponding to the first fixed ratio mode, so there will be a sudden change in voltage, which will cause the stress of the inductor to increase.
[0117] In order to reduce the impact of the sudden change, in addition to the asynchronous switching of the first-phase voltage regulating branch and the second-phase voltage regulating branch mentioned above, in the embodiments of the present application, the operation mode of the switchable controller.
[0118] In an exemplary embodiment, controlling the first-phase voltage regulating branch to switch from the first duty cycle to the second duty cycle includes: controlling the first-phase voltage regulating branch to switch from the first duty cycle to the second duty cycle based on the control mode of the proportional controller.
[0119] In an exemplary embodiment, controlling the first-phase voltage regulating branch to switch from the first duty cycle to the second duty cycle includes: controlling the first-phase voltage regulating branch to switch from the first duty cycle to the second duty cycle based on the control mode of the proportional controller.
[0120] That is to say, during the switching process from the first fixed ratio mode to the adjustable ratio mode, the controller is a proportional controller (P controller). When the switching is completed and the voltage regulating circuit operates in the CV mode, the controller is replaced with the proportional-integral controller mentioned above.
[0121] In addition, for Figure 13 the switching process of switching from the adjustable ratio mode to the second fixed ratio mode shown, the loop will switch from the closed loop state to the direct connection state, and there is also an impact of sudden voltage change.
[0122] In the embodiments of the present application, in order to reduce the impact of the sudden change, during the switching process of switching from the adjustable ratio mode to the second fixed ratio mode, the controller also switches from the proportional-integral controller to the proportional controller, and controls the switching process based on the proportional controller. Optionally, when the switching is completed and the voltage regulating circuit operates in the direct connection mode, the PID controller is no longer used.
[0123] Exemplarily, in the case where the first voltage regulation mode is an adjustable ratio mode and the second voltage regulation mode is a second fixed ratio mode, controlling the switching of the duty ratio of the first-phase voltage regulation branch from a first duty ratio to a second duty ratio includes: controlling the duty ratio of the first-phase voltage regulation branch to switch from the first duty ratio to a candidate duty ratio, and then controlling the duty ratio of the first-phase voltage regulation branch to switch from the candidate duty ratio to the second duty ratio. Controlling the switching of the duty ratio of the second-phase voltage regulation branch from the first duty ratio to the second duty ratio includes: controlling the duty ratio of the second-phase voltage regulation branch to switch from the first duty ratio to a candidate duty ratio, and then controlling the duty ratio of the second-phase voltage regulation branch to switch from the candidate duty ratio to the second duty ratio.
[0124] Wherein, the difference between the candidate duty ratio and the duty ratio corresponding to the second fixed ratio mode is less than a preset difference threshold.
[0125] Specifically, the duty ratio corresponding to the second fixed ratio mode is 100%. To reduce the impact of mutations, for each phase voltage regulation branch, first adjust its duty ratio to be close to the 100% duty ratio, and then drive the switching tube to achieve the 100% duty ratio. In this way, through the intermediate buffer, the inductance stress is effectively reduced, ensuring the normal operation of the voltage regulation circuit.
[0126] Optionally, the candidate duty ratio is 90%.
[0127] In summary, in the embodiment of the present application, during the switching process from the CP mode to the CV mode, after the first-phase voltage regulation branch first realizes the switching from the fixed 50% duty ratio to the second duty ratio, then control the switching of the second-phase voltage regulation branch. The switching logic is the same as that of the first-phase voltage regulation branch, and the entire process can be completed in 3 to 4 control cycles, realizing the asynchronous switching of the two-phase voltage regulation branches. And during the switching process of a single voltage regulation branch, a pure P controller is adopted, removing the integral link. After the first-phase voltage regulation branch completes the switching, the working process of the first-phase voltage regulation branch in the adjustable ratio mode continues to adopt a PI controller to improve the closed-loop control effect, and the entire process can be completed in 3 to 4 control cycles. And, during the switching process from the CV mode to the direct connection mode, first the first-phase voltage regulation branch realizes the adjustment from the current duty ratio to a candidate duty ratio close to 100%, and then continue to directly drive the switching tube that needs to be turned on in the first-phase circuit with a high level to achieve a 100% duty ratio and realize the direct connection mode; then continue to control the switching of the second-phase voltage regulation branch. The switching logic is the same as that of the first-phase voltage regulation branch, and the entire process can be completed in 3 to 4 control cycles, also realizing the asynchronous switching of the two-phase voltage regulation branches. And for the switching process of the single-phase voltage regulation circuit, a pure P controller is adopted to reduce the integral influence during voltage fluctuation, and the entire process can be switched and completed in about 3 to 4 control cycles.
[0128] In this way, on the one hand, since the mode switching process is divided into asynchronous switching using a two-phase voltage regulation circuit, the connection between the two voltage regulation modes before and after is ensured, the current stress during the mode switching process is reduced, the current mutation is decreased, and the current fluctuation is small. On the other hand, in the controller design, the design of switching from a P controller to a PI controller and from a PI controller to a P controller is adopted, which takes into account the current fluctuation during the mode switching and at the same time ensures the control robustness in a single voltage regulation mode. Based on this, not only can the required supply voltage be provided for the load under different battery voltages based on each voltage regulation mode, but also the operation stability of the voltage regulation circuit during the mode switching process is ensured.
[0129] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least some of the steps or stages in other steps or other steps.
[0130] In an exemplary embodiment, a voltage regulation circuit is further provided. The voltage regulation circuit includes a controller, a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the battery circuit by the voltage regulation circuit is different in different voltage regulation modes; the controller is used to execute the voltage regulation method described in any of the above embodiments.
[0131] In an exemplary embodiment, the battery circuit includes at least two series-connected battery cells.
[0132] The solution provided by this voltage regulation circuit to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in the embodiments of the voltage regulation circuit can be referred to the limitations on the voltage regulation method in the above text, and will not be repeated here.
[0133] Based on the same inventive concept, an embodiment of the present application further provides a voltage regulation device for implementing the voltage regulation method involved above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the voltage regulation device provided below can refer to the limitations on the voltage regulation method in the foregoing, and will not be repeated here.
[0134] In an exemplary embodiment, as Figure 14 shown, a voltage regulation device 1400 is provided for a voltage regulation circuit. The voltage regulation circuit includes a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the voltage regulation circuit to the battery circuit is different in different voltage regulation modes; the device includes: a first switching module 1401 and a second switching module 1402, where:
[0135] The first switching module 1401 is configured to control the first-phase voltage regulation branch to switch from a first duty cycle to a second duty cycle during the process of controlling the voltage regulation circuit to switch from a first voltage regulation mode to a second voltage regulation mode, where the first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode;
[0136] The second switching module 1402 is configured to control the second-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle after the first-phase voltage regulation branch is switched from the first duty cycle to the second duty cycle.
[0137] In an alternative embodiment of the present application, the first switching module 1401 is specifically configured to: control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle based on the control mode of the proportional controller;
[0138] The second switching module 1402 is specifically configured to: control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle based on the control mode of the proportional controller.
[0139] In an alternative embodiment of the present application, different voltage regulation modes include a first fixed ratio mode, an adjustable ratio mode, and a second fixed ratio mode; among them, in the first fixed ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is 2:1; in the second fixed ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is 1:1; in the adjustable ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is in the ratio range of 2:1 to 1:1.
[0140] In an alternative embodiment of the present application, when the first voltage regulation mode is the first fixed ratio mode, the second voltage regulation mode is the adjustable ratio mode; when the first voltage regulation mode is the adjustable ratio mode, the second voltage regulation mode is the second fixed ratio mode.
[0141] In an alternative embodiment of the present application, the first switching module 1401 is specifically configured to: control the duty cycle of the first-phase voltage regulation branch to switch from the first duty cycle to the candidate duty cycle, and then control the duty cycle of the first-phase voltage regulation branch to switch from the candidate duty cycle to the second duty cycle; wherein, the difference between the candidate duty cycle and the duty cycle corresponding to the second fixed ratio mode is less than a preset difference threshold;
[0142] The second switching module 1402 is specifically configured to: control the duty cycle of the second-phase voltage regulation branch to switch from the first duty cycle to the candidate duty cycle, and then control the duty cycle of the second-phase voltage regulation branch to switch from the candidate duty cycle to the second duty cycle.
[0143] In an alternative embodiment of the present application, the device further includes an adjustment module, configured to: when the voltage regulation circuit operates in the adjustable ratio mode, based on the control mode of the proportional-integral controller, control the voltage regulation circuit to adjust the battery voltage to obtain the output voltage of the voltage regulation circuit.
[0144] In an alternative embodiment of the present application, the adjustment module is specifically configured to: determine the difference between the preset reference voltage and the output voltage of the current voltage regulation circuit; based on the control mode of the proportional-integral controller, determine the duty cycle currently corresponding to the adjustable ratio mode according to the difference; adjust the battery voltage according to the duty cycle currently corresponding to the adjustable ratio mode.
[0145] In an alternative embodiment of the present application, the device further includes a control module, configured to: during the discharge process of the battery circuit, switch the voltage regulation mode of the voltage regulation circuit in the order of the first fixed ratio mode, the adjustable ratio mode to the second fixed ratio mode; during the charging process of the battery circuit, switch the voltage regulation mode of the voltage regulation circuit in the order of the second fixed ratio mode, the adjustable ratio mode to the first fixed ratio mode.
[0146] In an alternative embodiment of the present application, during the discharge process of the battery circuit, the control module is specifically configured to: when the voltage regulation circuit operates in the first fixed ratio mode, if the output voltage of the voltage regulation circuit is less than the first preset output voltage, control the voltage regulation circuit to switch from the first fixed ratio mode to the adjustable ratio mode; when the voltage regulation circuit operates in the adjustable ratio mode, if the output voltage of the voltage regulation circuit is less than the second preset output voltage and the battery voltage is less than the first reference voltage, control the voltage regulation circuit to switch from the adjustable ratio mode to the second fixed ratio mode.
[0147] In an alternative embodiment of the present application, during the discharge process of the battery circuit, the control module is specifically configured to: when the voltage regulation circuit operates in the first fixed mode, during the charging process of the battery circuit, the control module is specifically configured to: when the voltage regulation circuit operates in the second fixed ratio mode, if the output voltage of the voltage regulation circuit is greater than the third preset output voltage or the output voltage of the voltage regulation circuit is greater than the second reference voltage, then control the voltage regulation circuit to switch from the second fixed ratio mode to the adjustable ratio mode; when the voltage regulation circuit operates in the adjustable ratio mode, if the battery voltage is greater than the first preset constant voltage or the battery voltage is greater than the first preset battery voltage, then control the voltage regulation circuit to switch from the adjustable ratio mode to the first fixed ratio mode.
[0148] In an alternative embodiment of the present application, the device further includes a first operation module, configured to: in the first fixed ratio mode, control the voltage regulation circuit to alternately operate between a first voltage regulation mode and a second voltage regulation mode; the working durations corresponding to the first voltage regulation mode and the second voltage regulation mode are the same; wherein, in the first voltage regulation mode, the voltage regulation circuit charges the energy storage capacitor in the voltage regulation circuit using the battery voltage; in the second voltage regulation mode, the voltage regulation circuit discharges the energy storage capacitor to output the output voltage.
[0149] In an alternative embodiment of the present application, the device further includes a second operation module, configured to: in the adjustable ratio mode, control the first-phase voltage regulation branch and the second-phase voltage regulation branch to alternately operate; wherein, the phase difference between the first-phase voltage regulation branch and the second-phase voltage regulation branch is 180°.
[0150] In an alternative embodiment of the present application, the second operation module is specifically configured to: control the first-phase voltage regulation branch or the second-phase voltage regulation branch to alternately operate between a third voltage regulation mode and a fourth voltage regulation mode; wherein, in the third voltage regulation mode, the first-phase voltage regulation branch or the second-phase voltage regulation branch charges the energy storage capacitor in the first-phase voltage regulation branch or the second-phase voltage regulation branch using the battery voltage and outputs the output voltage; in the fourth voltage regulation mode, the first-phase voltage regulation branch or the second-phase voltage regulation branch discharges the energy storage capacitor to output the output voltage.
[0151] Each module in the above voltage regulation device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.
[0152] In an exemplary embodiment, an electronic device is provided, and its internal structure diagram can be as Figure 15As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and external devices. The communication interface of the electronic device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a voltage regulation method. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.
[0153] Those skilled in the art can understand that Figure 15 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0154] In an exemplary embodiment, an electronic device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0155] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0156] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0157] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0158] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0159] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A voltage regulation method, characterized in that, For a voltage regulation circuit, the voltage regulation circuit includes a battery circuit and a voltage regulation circuit connected to each other. The voltage regulation circuit includes a first-phase voltage regulation branch and a second-phase voltage regulation branch. The voltage regulation circuit can operate in different voltage regulation modes. Among them, the voltage regulation ratio of the battery voltage output by the battery circuit by the voltage regulation circuit is different in different voltage regulation modes; the method includes: During the process of controlling the voltage regulation circuit to switch from the first voltage regulation mode to the second voltage regulation mode, control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle, where the first duty cycle is the duty cycle corresponding to the first voltage regulation mode, and the second duty cycle is the duty cycle corresponding to the second voltage regulation mode; After switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle, control the second-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle.
2. The method according to claim 1, wherein The control of switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle includes: Based on the control mode of the proportional controller, control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle; The control of switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle includes: Based on the control mode of the proportional controller, control the first-phase voltage regulation branch to switch from the first duty cycle to the second duty cycle.
3. The method according to claim 2, wherein The different voltage regulation modes include a first fixed ratio mode, an adjustable ratio mode, and a second fixed ratio mode; Among them, in the first fixed ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is 2:1; in the second fixed ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is 1:1; in the adjustable ratio mode, the ratio between the battery voltage and the output voltage of the voltage regulation circuit is in the ratio range of 2:1 to 1:
1.
4. The method according to claim 3, wherein When the first voltage regulation mode is the first fixed ratio mode, the second voltage regulation mode is the adjustable ratio mode; When the first voltage regulation mode is the adjustable ratio mode, the second voltage regulation mode is the second fixed ratio mode.
5. The method according to claim 4, wherein When the first voltage regulation mode is the adjustable ratio mode and the second voltage regulation mode is the second fixed ratio mode, the control of switching the first-phase voltage regulation branch from the first duty cycle to the second duty cycle includes: Control the duty cycle of the first-phase voltage regulation branch to switch from the first duty cycle to a candidate duty cycle, and then control the duty cycle of the first-phase voltage regulation branch to switch from the candidate duty cycle to the second duty cycle; wherein, the difference between the candidate duty cycle and the duty cycle corresponding to the second fixed ratio mode is less than a preset difference threshold; The control of switching the second-phase voltage regulation branch from the first duty cycle to the second duty cycle includes: Control the duty cycle of the second-phase voltage regulation branch to switch from the first duty cycle to a candidate duty cycle, and then control the duty cycle of the second-phase voltage regulation branch to switch from the candidate duty cycle to the second duty cycle.
6. The method according to claim 3, characterized in that The method further includes: When the voltage regulating circuit operates in the adjustable ratio mode, based on the control mode of the proportional-integral controller, controlling the voltage regulating circuit to regulate the battery voltage to obtain the output voltage of the voltage regulating circuit.
7. The method according to claim 5, wherein Controlling the voltage regulating circuit to regulate the battery voltage based on the control mode of the proportional-integral controller includes: Determining the difference between a preset reference voltage and the current output voltage of the voltage regulating circuit; Based on the control mode of the proportional-integral controller, determining the duty cycle corresponding to the current adjustable ratio mode according to the difference; Regulating the battery voltage according to the duty cycle corresponding to the current adjustable ratio mode.
8. The method according to claim 3, characterized in that, The method further includes: During the discharge process of the battery circuit, switching the voltage regulating mode of the voltage regulating circuit in the order of the first fixed ratio mode, the adjustable ratio mode to the second fixed ratio mode; During the charging process of the battery circuit, switching the voltage regulating mode of the voltage regulating circuit in the order of the second fixed ratio mode, the adjustable ratio mode to the first fixed ratio mode.
9. The method according to claim 8, wherein During the discharge process of the battery circuit, the method further includes: When the voltage regulating circuit operates in the first fixed ratio mode, if the output voltage of the voltage regulating circuit is less than the first preset output voltage, controlling the voltage regulating circuit to switch from the first fixed ratio mode to the adjustable ratio mode; When the voltage regulating circuit operates in the adjustable ratio mode, if the output voltage of the voltage regulating circuit is less than the second preset output voltage and the battery voltage is less than the first reference voltage, controlling the voltage regulating circuit to switch from the adjustable ratio mode to the second fixed ratio mode.
10. The method according to claim 8, wherein During the charging process of the battery circuit, the method further includes: When the voltage regulating circuit operates in the second fixed ratio mode, if the output voltage of the voltage regulating circuit is greater than the third preset output voltage or the output voltage of the voltage regulating circuit is greater than the second reference voltage, controlling the voltage regulating circuit to switch from the second fixed ratio mode to the adjustable ratio mode; When the voltage regulating circuit operates in the adjustable ratio mode, if the battery voltage is greater than the first preset constant voltage or the battery voltage is greater than the first preset battery voltage, controlling the voltage regulating circuit to switch from the adjustable ratio mode to the first fixed ratio mode.
11. The method according to claim 3, wherein The method further includes: In the first fixed ratio mode, controlling the voltage regulating circuit to alternately operate between a first voltage regulating mode and a second voltage regulating mode; the working durations corresponding to the first voltage regulating mode and the second voltage regulating mode are the same; Wherein, in the first voltage regulating mode, the voltage regulating circuit charges the energy storage capacitor in the voltage regulating circuit using the battery voltage; in the second voltage regulating mode, the voltage regulating circuit discharges the energy storage capacitor to output the output voltage.
12. The method according to claim 3, wherein The method further includes: In the adjustable ratio mode, controlling the first-phase voltage regulating branch and the second-phase voltage regulating branch to alternately operate; wherein, the phase difference between the first-phase voltage regulating branch and the second-phase voltage regulating branch is 180°.
13. The method according to claim 12, wherein The process of controlling the operation of the first-phase voltage regulating branch or the second-phase voltage regulating branch includes: Controlling the first-phase voltage regulating branch or the second-phase voltage regulating branch to alternately operate between a third voltage regulating mode and a fourth voltage regulating mode; Wherein, in the third voltage regulating mode, the first-phase voltage regulating branch or the second-phase voltage regulating branch charges the energy storage capacitor in the first-phase voltage regulating branch or the second-phase voltage regulating branch with the battery voltage and outputs the output voltage; in the fourth voltage regulating mode, the first-phase voltage regulating branch or the second-phase voltage regulating branch discharges the energy storage capacitor to output the output voltage.
14. A voltage regulating device, characterized in that, For a voltage regulating circuit, the voltage regulating circuit includes a battery circuit and a voltage regulating circuit connected to each other. The voltage regulating circuit includes a first-phase voltage regulating branch and a second-phase voltage regulating branch. The voltage regulating circuit can operate in different voltage regulating modes. Among them, the voltage regulating ratio of the battery voltage output by the battery circuit by the voltage regulating circuit is different in different voltage regulating modes; the device includes: A first switching module, configured to control the first-phase voltage regulating branch to switch from a first duty ratio to a second duty ratio during the process of controlling the voltage regulating circuit to switch from a first voltage regulating mode to a second voltage regulating mode, where the first duty ratio is the duty ratio corresponding to the first voltage regulating mode, and the second duty ratio is the duty ratio corresponding to the second voltage regulating mode; A second switching module, configured to control the second-phase voltage regulating branch to switch from the first duty ratio to the second duty ratio after switching the first-phase voltage regulating branch from the first duty ratio to the second duty ratio.
15. A voltage regulation circuit, characterized in that, The voltage regulating circuit includes a controller, a battery circuit and a voltage regulating circuit connected to each other. The voltage regulating circuit includes a first-phase voltage regulating branch and a second-phase voltage regulating branch. The voltage regulating circuit can operate in different voltage regulating modes. Among them, the voltage regulating ratio of the battery voltage output by the battery circuit by the voltage regulating circuit is different in different voltage regulating modes; the controller is configured to execute the voltage regulating method according to any one of claims 1 to 13.
16. The voltage regulation circuit according to claim 15, wherein The battery circuit includes at least two battery cells connected in series.
17. An electronic device, characterized in that, The electronic device includes at least one voltage regulating circuit according to any one of claims 15 to 16.
18. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.
19. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.