Voltage regulation circuit, circuit control method, chip and electronic equipment

By introducing an adjustable charge pump working mode into the voltage regulation circuit, the problem of the need for lower discharge voltage of silicon negative electrode batteries in the traditional mode is solved, and more efficient battery energy utilization and voltage conversion mode adjustment is achieved.

CN119472905APending Publication Date: 2025-02-18GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411604528.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

When the existing charge pumps operate in the traditional 2:1 ratio mode, they cannot meet the demand for a lower discharge voltage of the silicon negative electrode battery, resulting in low battery energy utilization and ineffective adjustment of the voltage conversion mode.

Method used

Provide a voltage regulation circuit, including a battery module, a power supply terminal and a voltage conversion module, supports the first working mode (the conversion ratio remains unchanged) and the second working mode (the conversion ratio is adjustable), and the total battery of the battery module is determined by the controller. Flexible voltage adjustment working mode.

Benefits of technology

It realizes the support of the battery module at lower voltage discharge, improves the battery energy utilization rate, and enhances the flexibility and accuracy of the operating mode adjustment of the voltage conversion module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119472905A_ABST
    Figure CN119472905A_ABST
Patent Text Reader

Abstract

The invention discloses a voltage regulation circuit, a circuit control method, a chip and electronic equipment, and belongs to the technical field of electronic circuits. The voltage regulation circuit includes: a battery module including at least two batteries connected in series; the power supply end is used for receiving power supply voltage input by the power supply device; the voltage conversion module is connected with the power supply end and the battery module, performs first conversion processing on the first voltage output by the battery module to obtain a second voltage, and outputs the second voltage to a load; or, performing second conversion processing on the power supply voltage to obtain a third voltage, and outputting the third voltage to the battery module. In the scheme, the voltage conversion module can work in the mode with the constant conversion proportion and the mode with the adjustable conversion proportion, the mode with the adjustable conversion proportion can enable the battery module to reach lower discharge voltage and enable the battery module to discharge more enduringly, and the requirement of the battery module for supporting lower voltage discharge is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic circuits, and in particular to a voltage regulating circuit, a circuit control method, a chip and an electronic device. Background Art

[0002] With the development of science and technology, various electronic devices have appeared in people's daily lives, and electronic devices are usually powered by batteries.

[0003] At present, in order to realize the conversion between the battery voltage and the power supply voltage for the load of the electronic device, a charge pump (CP) is usually used to realize the voltage conversion. Under normal circumstances, the ordinary CP will work at the traditional 2:1 ratio, and the ratio between the battery voltage and the power supply voltage for the load of the electronic device will be maintained at a fixed 2:1 ratio. However, since the battery set in the electronic device will be limited by the subsequent devices when supplying power to the load of the terminal, it is necessary to ensure that the voltage Vsys provided to the load is maintained within the required range. If the CP can only work at the traditional 2:1 ratio, the battery voltage needs to be maintained at least twice the lower limit of the required range of the voltage Vsys. If it is lower than twice the lower limit of the required range of the voltage Vsys, it will cause the situation that the Vsys requirement cannot be met, and the battery of the electronic device needs to be charged in advance, and the battery cannot reach a lower discharge voltage, resulting in a waste of power consumption. Summary of the invention

[0004] In order to solve the problems of related technologies, the battery is extended to support the demand for lower voltage discharge and improve the energy utilization rate of the battery by electronic devices. The embodiment of the present application provides a voltage regulation circuit, a circuit control method, a chip and an electronic device. The technical solution is as follows:

[0005] In one aspect, the present application provides a voltage regulation circuit, comprising:

[0006] A battery module comprising at least two batteries connected in series;

[0007] A power supply terminal, used for receiving a power supply voltage input by a power supply device;

[0008] a voltage conversion module, connected to the power supply end and the battery module, performing a first conversion process on a first voltage output by the battery module to obtain a second voltage, and outputting the second voltage to a load; or performing a second conversion process on the power supply voltage to obtain a third voltage, and outputting the third voltage to the battery module;

[0009] The working modes supported by the voltage conversion module include a first working mode and a second working mode. The first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable. The conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module.

[0010] In one aspect, the present application provides a circuit control method, which is applied to a controller of a voltage regulation circuit, wherein the voltage regulation circuit includes a controller, a battery module, a power supply end, and a voltage conversion module, wherein the battery module includes at least two batteries connected in series; the power supply end is used to receive a power supply voltage input by a power supply providing device; the voltage conversion module is connected to the power supply end and the battery module, performs a first conversion process on a first voltage output by the battery module to obtain a second voltage, and outputs the second voltage to a load; or performs a second conversion process on the power supply voltage to obtain a third voltage, and outputs the third voltage to the battery module; the method includes:

[0011] Acquiring a total battery voltage of the battery module;

[0012] controlling the voltage conversion module to operate in a target operating mode among supported operating modes according to the total battery voltage of the battery module;

[0013] Among them, the working modes supported by the voltage conversion module include a first working mode and a second working mode, the first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module.

[0014] In another aspect, the present application provides a chip, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program is executed by the processor to implement the circuit control method as described in one aspect above.

[0015] In another aspect, the present application provides an electronic device, which includes at least one voltage regulating circuit as described in one of the above aspects, or includes a chip as described in one of the above aspects.

[0016] In another aspect, the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the circuit control method as described in one aspect.

[0017] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the circuit control method as described in one aspect above.

[0018] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the circuit control method as described in one aspect above.

[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0020] The voltage regulation circuit of the present application includes: a battery module, a power supply end and a voltage conversion module. Among them, the battery module includes at least two batteries connected in series; the power supply end is used to receive the power supply voltage input by the power supply providing device; the voltage conversion module is connected to the power supply end and the battery module, performs a first conversion process on the first voltage output by the battery module to obtain a second voltage, and outputs the second voltage to the load; or, performs a second conversion process on the power supply voltage to obtain a third voltage, and outputs the third voltage to the battery module; in this scheme, the voltage conversion module can work in the target working mode in the supported working mode, and the working mode supported by the voltage conversion module includes a first working mode and a second working mode. The first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable. The conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module. That is, in addition to working in a mode in which the conversion ratio remains unchanged, the voltage conversion module can also work in a mode in which the conversion ratio is adjustable. The mode in which the conversion ratio can be adjusted can allow the battery module to reach a lower discharge voltage, allowing the battery module to discharge more persistently, expanding the demand for the battery module to support lower voltage discharge, so that the battery's electrical energy can be used more efficiently. Moreover, the working mode of the voltage conversion module can be flexibly adjusted according to the total battery voltage of the battery module, which also improves the accuracy and flexibility of controlling the working of the voltage conversion module. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a schematic structural diagram of an electronic device provided by an exemplary embodiment of the present application;

[0023] Figure 2 is a schematic structural diagram of an internal circuit of a foldable terminal involved in an exemplary embodiment of the present application;

[0024] Figure 3 is a schematic diagram of a voltage regulation circuit provided by an exemplary embodiment of the present application;

[0025] Figure 4 is a schematic diagram of a voltage regulation circuit provided by an exemplary embodiment of the present application;

[0026] Figure 5 An exemplary embodiment of the present application relates to Figure 4 A schematic diagram of switching the working mode of the voltage conversion module under different total battery voltages of the battery modules;

[0027] Figure 6 An exemplary embodiment of the present application relates to Figure 4 A schematic diagram of switching the working mode of the voltage conversion module under different total battery voltages of the battery modules;

[0028] Figure 7 is a circuit structure diagram of a voltage conversion module involved in an exemplary embodiment of the present application;

[0029] Figure 8 An exemplary embodiment of the present application relates to Figure 7 A schematic diagram of a circuit structure of another voltage conversion module;

[0030] Fig. 9 is a circuit structure diagram of a voltage regulating circuit involved in an exemplary embodiment of the present application;

[0031] Fig.10 is a method flow chart of a circuit control method provided by an exemplary embodiment of the present application;

[0032] Fig.11 It is a schematic diagram of a voltage regulating circuit in a mobile phone controlling the switching of the working mode of the CP during the charging process according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0033] 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 implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0034] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0035] The solution provided by the present application can be used in real-life scenarios where people use electronic devices for charging and discharging in daily life. To facilitate understanding, the application scenarios involved in the embodiments of the present application are first briefly introduced below.

[0036] With the development of science and technology, various electronic devices have appeared in people's daily lives. People can use electronic devices for work, entertainment, study, etc. When the power of electronic devices is low, they need to be charged. At present, in the process of charging or discharging electronic devices, in order to achieve the function of boosting or reducing voltage, charge pumps are used in electronic devices to achieve voltage conversion. For example, usually, a CP is set between the battery and the charging and discharging circuit in the electronic device. In the process of charging and discharging of the electronic device, the CP works together to provide power to the load of the terminal device or charge the battery.

[0037] Please refer to Figure 1 , which shows a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. Figure 1 As shown, the electronic device may include a processor 110 , an internal memory 121 , a charging management module 140 , a power management module 141 , and an energy storage module 142 .

[0038] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0039] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Exemplarily, the processor 110 can be a smart terminal CPU, such as a Snapdragon series processor, etc. In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0040] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0041] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger. The power management module 141 is connected to the energy storage module 142, and the charging management module 140 is connected to the processor 110 respectively. The power management module 141 is used to receive input from the energy storage module 142 and / or the charging management module 140, and to power the processor 110, the internal memory 121, etc. The energy storage module 142 is equivalent to a battery module, including batteries, batteries, etc. The power management module 141 includes the buck-boost conversion circuit provided in the subsequent application.

[0042] Although not shown, the electronic device may further include a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.

[0043] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0044] Optionally, the electronic devices may include but are not limited to wearable devices (such as bracelets, smart watches, smart glasses, etc.), mobile phones, tablet computers, laptop computers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) players, desktop computers, laptop computers, etc. The battery modules of the electronic devices may support wired charging or wireless charging.

[0045] Usually, the above Figure 1 The electronic device shown needs to be equipped with a corresponding operating system and run based on the operating system. For example, the operating system of the electronic device can be an Android system, an iOS system, a Linux system, etc.

[0046] Normally, one battery is sufficient in an electronic device, but as the physical form of electronic devices changes, most manufacturers have found it more cost-effective to use multiple batteries, and it is becoming more and more common to have multiple batteries to power electronic devices. For example, in a foldable terminal, when folded, the electronic device can display some daily information such as time on a small screen, and when opened, it can display the corresponding interface content on a larger display.

[0047] In this type of electronic device, the two parts of the foldable terminal are usually divided into a main board and a sub-board. The electronic device manufacturer will place a battery on the main board side and another battery on the sub-board side, and use different batteries as power supply in different usage scenarios. Take the foldable terminal as an example, please refer to Figure 2 , which shows a schematic diagram of the structure of an internal circuit of a foldable terminal involved in an exemplary embodiment of the present application. Figure 2 As shown, it includes a first battery 201, a second battery 202, a charge pump 203, a system power supply circuit 204, a fast charging circuit 205, and a USB interface 206.

[0048] exist Figure 2 In the embodiment, the first battery 201 and the second battery 202 are connected in series. Generally, the capacities of the two batteries can be the same or different. When the foldable terminal needs to use the power of the first battery 201 and the second battery 202 to power the system, the working mode of the charge pump 203 is controlled, so as to provide the load output voltage Vsys to the terminal device through the system power supply circuit 204.

[0049] In addition, the use of the Universal Serial Bus (USB) interface 206 and the fast charging circuit 205 can enable the foldable terminal to be connected to an external power source through a charger, and the power is supplied by the external power source. The power is transmitted through the fast charging circuit 205, and then the first battery 201 and the second battery 202 are charged.

[0050] Optional, in the above Figure 2 In the circuit shown, since the voltage Vsys of the foldable terminal using the battery to power the system is limited by the subsequent devices, the currently available Vsys voltage needs to be maintained in the range of 3.2V to 4.6V. Since the current bidirectional CP usually operates in a fixed 2:1 ratio mode, the sum of the two battery voltages needs to be maintained at 6.4V to 9.2V, which is no problem in the current graphite battery power supply system (the current graphite battery discharge voltage range is 3.4V to 4.5V).

[0051] With the advancement of battery technology, silicon negative electrode batteries have been used in most electronic devices. The current silicon negative electrode battery adds silicon material to the negative electrode material of the current graphite battery, which greatly improves the energy density of the battery. The actual results show that the discharge voltage range of the silicon negative electrode battery will further drop to 2.5V or even lower. Therefore, the solution using the above fixed 2:1 ratio mode can no longer meet the discharge voltage range of future silicon negative electrode batteries. How to balance the charge and discharge of these two batteries in this electronic device using two silicon negative electrode batteries of unequal capacity based on a charge pump with adjustable output voltage is an urgent problem to be solved.

[0052] In order to expand the battery support for lower voltage discharge requirements and improve the energy utilization of the battery by electronic devices, the present application provides a circuit control method, which can set the working mode of the charge pump to a fixed mode with a constant conversion ratio, and can also set the working mode of the charge pump to a mode with an adjustable conversion ratio, so that the adjustment of the battery module is more flexible and supports lower voltage discharge conditions.

[0053] Please refer to Figure 3 , which shows a schematic diagram of the structure of a voltage regulation circuit provided by an exemplary embodiment of the present application. Figure 3 As shown, the voltage regulation circuit includes: a battery module 301 , a power supply terminal 302 , and a voltage conversion module 303 .

[0054] Among them, the battery module 301 includes at least two batteries connected in series; the power supply end 302 is used to receive the power supply voltage input by the power supply providing device; the voltage conversion module 303 is connected to the power supply end 302 and the battery module 301, performs a first conversion process on the first voltage output by the battery module 301 to obtain a second voltage, and outputs the second voltage to the load; or, performs a second conversion process on the power supply voltage to obtain a third voltage, and outputs the third voltage to the battery module 301 to charge the battery module 301.

[0055] That is, in the voltage regulation circuit, the voltage conversion module 303 is still used to perform voltage step-up or step-down conversion. When discharging, the voltage conversion module 303 can perform a first conversion process on the first voltage output by the battery module 301 to obtain a second voltage, and provide the second voltage to the load through its connection with the load. When charging, the voltage conversion module 303 can perform a second conversion process on the power supply voltage provided by the power supply terminal 302 to obtain a third voltage, and provide the third voltage to the battery module 301 through its connection with the battery module 301, thereby realizing charging of the battery module 301.

[0056] Optionally, the operating modes supported by the voltage conversion module 303 in this scheme include a first operating mode and a second operating mode. The voltage conversion module 303 can operate in a target operating mode among the supported operating modes, and the target operating mode is determined based on the total battery voltage of the battery module 301. The first operating mode is a mode in which the conversion ratio of the voltage conversion module 303 remains unchanged, and the second operating mode is a mode in which the conversion ratio of the voltage conversion module 303 is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module 303.

[0057] For example, the voltage conversion module 303 may be a charge pump, and the conversion ratio is the ratio between the input voltage and the output voltage of the charge pump. In the conventional mode, the conversion ratio of the charge pump is usually a fixed mode of 2:1, and in the present solution, a second working mode is also provided for the voltage conversion module, and in the second working mode, the conversion ratio of the voltage conversion module 303 is adjustable. For example, in addition to 2:1, the conversion ratio of the charge pump may also be 3:2 or other ratios based on actual needs, which is adjustable, and the specific ratio value is not limited here.

[0058] In the above supported working modes, the target working mode of the voltage regulating circuit is determined according to the total battery voltage of the battery module 301. When the total battery voltage of the battery module 301 is currently within different ranges, the voltage conversion module 303 can be controlled to work in different target working modes to meet the requirement of lower voltage discharge of the battery module 301.

[0059] For example, the voltage conversion module 303 is also used to operate in the first working mode when the total battery voltage of the battery module is greater than or equal to the first voltage threshold; or, the voltage conversion module 303 is also used to operate in the second working mode when the total battery voltage of the battery module is less than the first voltage threshold. The first voltage threshold can be flexibly set by the developer. For example, the first voltage threshold is 6.8V, and the voltage conversion module can operate in the above-mentioned first working mode when the total battery voltage of the battery module is greater than or equal to 6.8V, and operate in the above-mentioned second working mode when the total battery voltage of the battery module is less than 6.8V.

[0060] In summary, the voltage regulation circuit of the present application includes: a battery module, a power supply end and a voltage conversion module. Among them, the battery module includes at least two batteries connected in series; the power supply end is used to receive the power supply voltage input by the power supply providing device; the voltage conversion module is used to perform a first conversion process on the first voltage output by the battery module to obtain a second voltage, and output the second voltage to the load; or, it is used to perform a second conversion process on the power supply voltage to obtain a third voltage, and output the third voltage to the battery module to charge the battery module; in this scheme, the voltage conversion module can work in a target working mode in the supported working mode, and the supported working modes include at least the first working mode and the second working mode. The first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module. That is, in addition to working in a mode where the conversion ratio remains unchanged, the voltage conversion module can also work in a mode where the conversion ratio is adjustable. The adjustable conversion ratio mode allows the battery module to reach a lower discharge voltage, allowing the battery module to discharge more sustainably, expanding the battery module's support for lower voltage discharge requirements, and making more efficient use of the battery's electrical energy. Moreover, the working mode of the voltage conversion module can be flexibly adjusted according to the total battery voltage of the battery module, which also improves the accuracy and flexibility of controlling the operation of the voltage conversion module.

[0061] In a possible implementation, the switching of the working mode of the voltage conversion module can be controlled by a controller. For example, please refer to Figure 4 , which shows a schematic diagram of the structure of a voltage regulation circuit provided by an exemplary embodiment of the present application. Figure 4 As shown, the voltage regulation circuit includes: a battery module 401 , a power supply terminal 402 , a controller 403 , and a voltage conversion module 404 .

[0062] The connection relationship between the battery module 401, the power supply terminal 402, and the voltage conversion module 404 is the same as above. Figure 3 The controller 403 is electrically connected to the battery module 401 , and the controller 403 is also electrically connected to the voltage conversion module 404 .

[0063] The controller 403 is used to obtain the total battery voltage of the battery module 401, and according to the total battery voltage of the battery module, control the voltage conversion module to switch to a target operation mode corresponding to the total battery voltage of the battery module.

[0064] For example, the number of at least two batteries connected in series in the battery module 401 is N, and the voltage of each battery is represented by Vbat1, Vbat2, ..., VbatN, respectively, and the total battery voltage of the battery module is represented by V 总To express, then, V 总 =Vbat1+Vbat2…+VbatN. The controller 403 generates a voltage according to V 总 The size of V controls the mode in which the voltage conversion module works. In one possible implementation, the developer can set the first voltage threshold. 总 When V is greater than or equal to the first voltage threshold, the operating mode of the control voltage conversion module 404 is the first operating mode. 总 When the voltage is less than the first voltage threshold, the operating mode of the control voltage conversion module 404 is the second operating mode.

[0065] Assuming the first voltage threshold is 6.8V, the first working mode is the conventional 2:1 ratio mode, and the conversion ratio of the second working mode is different from the conversion ratio of the first working mode. 总 When V is greater than or equal to 6.8 V, the controller 403 can control the voltage conversion module 404 to operate in the first operating mode, that is, the target operating mode is the first operating mode. 总 When the voltage is less than 6.8, the controller 403 may control the voltage conversion module 404 to operate in the second operating mode, that is, the target operating mode is the second operating mode.

[0066] In a possible implementation, the second working mode can be further divided into a first sub-mode and a second sub-mode according to the conversion ratio of the voltage conversion module, the first sub-mode being a mode in which the conversion ratio of the voltage conversion module is fixed, and the conversion ratio corresponding to the first sub-mode is different from the conversion ratio corresponding to the first working mode. The second sub-mode is a mode in which the conversion ratio of the voltage conversion module is not fixed, in which the conversion ratio of the voltage conversion module can be controlled to change continuously.

[0067] In this solution, the first sub-mode can be called a fixed special ratio mode, and the second sub-mode can be called a fixed output mode. Among them, although the conversion ratio of the first sub-mode is fixed, it is different from the conversion ratio of the first working mode. In the actual circuit, the conversion ratio of the first sub-mode can be flexibly set in advance by the developer.

[0068] For example, the first working mode is a traditional 2:1 ratio mode, and its conversion ratio is 2:1. The first sub-mode divided in the second working mode can be a fixed 3:2 ratio mode, and the conversion ratio of the first sub-mode is 3:2. Of course, it can also be set to other ratios (such as 3:5, 1:X, X:Y, etc.), where X and Y are both positive integers, that is, it can be any ratio other than 2:1.

[0069] Optionally, in the case of the above division into the first sub-mode and the second sub-mode, after obtaining the total battery voltage of the battery module 401, the controller 403 needs to compare it with the second voltage threshold in addition to comparing it with the above-mentioned first voltage threshold. The voltage conversion module 404 is also used to operate in the first sub-mode when the total battery voltage of the battery module is less than the first voltage threshold and greater than the second voltage threshold; the first voltage threshold is greater than the second voltage threshold; or, the voltage conversion module 404 is also used to operate in the second sub-mode when the total battery voltage of the battery module is less than or equal to the second voltage threshold.

[0070] Optionally, the controller 403 compares with the first voltage threshold or the second voltage threshold, that is, to determine the voltage range of the total battery voltage of the battery module 401, and then controls the target operating mode in which the voltage conversion module operates.

[0071] The first working mode is a traditional 2:1 ratio mode, and its conversion ratio is 2:1. The first sub-mode divided in the second working mode can be a fixed 3:2 ratio mode, and the second sub-mode is a fixed output mode. In order to achieve the fixed output mode, it is necessary to continuously change the conversion ratio of the voltage conversion module 404 to achieve a constant output voltage of the voltage conversion module 404. The battery module 401 is provided with two batteries (battery one Vbat1 and battery two Vbat2) connected in series, V 总 =Vbat1+Vbat2, the first voltage threshold is 6.8V, the second voltage threshold is 5V, the divided voltage intervals include a voltage interval corresponding to greater than or equal to 6.8V, a voltage interval corresponding to less than or equal to 5V, and a third voltage interval corresponding to a voltage interval greater than 5V and less than 6.8V.

[0072] If the controller obtains V 总 is greater than or equal to 6.8V, the voltage conversion module 404 needs to work in the traditional 2:1 ratio mode. 总 If the voltage is greater than 5V and less than 6.8V, the voltage conversion module 404 needs to switch modes from the fixed 2:1 ratio mode corresponding to the voltage higher than 6.8V to the fixed 3:2 ratio mode. 总 If the voltage is less than 5V, the working mode of the voltage conversion module 404 needs to be converted again to work in a fixed output mode.

[0073] Taking the discharge process as an example, the voltage conversion module 404 is used to perform a first conversion process on the first voltage output by the battery module 401 to obtain a second voltage, and output the second voltage to the load. Then, as the battery module 401 discharges, the first voltage will become smaller and smaller. Please refer to Figure 5, which shows that an exemplary embodiment of the present application involves Figure 4 A schematic diagram of the switching of the working mode of the voltage conversion module under different total battery voltages of the battery modules. Figure 5 As shown, as the battery discharges, the total battery voltage of the battery module continues to decrease, and the working mode of the voltage conversion module 404 is switched once when it is lower than 6.8V, and is switched again when it is lower than 5V. The total battery voltage of the corresponding battery module is in the above three voltage ranges, and the voltage conversion module works in the corresponding target working mode.

[0074] In one possible implementation, the voltage conversion module 404 is also used to operate in the second sub-mode when the total battery voltage of the battery module is less than the first voltage threshold and greater than the third voltage threshold, and the third voltage threshold is less than the first voltage threshold and greater than the second voltage threshold; the voltage conversion module 404 is also used to operate in the first sub-mode when the total battery voltage of the battery module is less than or equal to the third voltage threshold and greater than the second voltage threshold.

[0075] That is, the developer may also set a third voltage threshold, which is less than the first voltage threshold and greater than the second voltage threshold. In the above process of determining the target operating mode of the voltage conversion module based on the total battery voltage of the battery module, if the acquired total battery voltage of the battery module is less than the first voltage threshold and greater than the third voltage threshold, the target operating mode of the control voltage conversion module 404 is the second sub-mode; if the acquired total battery voltage of the battery module is less than or equal to the third voltage threshold and greater than the second voltage threshold, the target operating mode of the control voltage conversion module 404 is the first sub-mode.

[0076] Still taking the voltage conversion module 404 as an example, the multiple working modes include the traditional 2:1 ratio mode, the fixed 3:2 ratio mode and the fixed output mode, the first voltage threshold is set to 6.8V, the second voltage threshold is set to 5V, and the third voltage threshold is set to 6V. After the controller 403 obtains the total battery voltage of the battery module, if V 总 is greater than or equal to 6.8V, the voltage conversion module 404 needs to work in the traditional 2:1 ratio mode. 总 If the voltage is greater than 6V and less than 6.8V, the voltage conversion module 404 needs to switch modes from the fixed 2:1 ratio mode corresponding to the voltage higher than 6.8V to the fixed output mode. 总 If the voltage is greater than 5V and less than 6V, the voltage conversion module 404 needs to perform mode conversion again, switching from the previous fixed output mode to the fixed 3:2 ratio mode. 总If the voltage is less than 5V, the working mode of the voltage conversion module 404 needs to be converted again to work in a fixed output mode.

[0077] Taking the discharge process as an example, please refer to Figure 6 , which shows that an exemplary embodiment of the present application involves Figure 4 A schematic diagram of the switching of the working mode of the voltage conversion module under different total battery voltages of the battery modules. Figure 6 As shown, as the battery discharges, the total battery voltage of the battery module continues to decrease, and the working mode of the voltage conversion module 404 performs a mode switch when it is lower than 6.8V, performs a mode switch again when it is lower than 6V, and performs a mode switch again when it is lower than 5V. The total battery voltage of the corresponding battery module is in the above 4 voltage ranges, and the voltage conversion module operates in the corresponding target working mode.

[0078] It should be noted that the above Figure 5 and Figure 6 When the voltage conversion module operates in the second sub-mode, the value of the output voltage of the voltage conversion module is a constant voltage, and the value of 3.3V is exemplary, which is determined based on the constraint between the output voltage of the voltage conversion module and the input voltage of the voltage conversion module; for example, the constraint is as follows: 2*Vout>Vin. Wherein, Vout represents the output voltage of the voltage conversion module, and Vin represents the input voltage of the voltage conversion module.

[0079] Optional, Figure 5 and Figure 6 All of the examples are based on the discharge situation. When the voltage regulation circuit provides a supply voltage input by an external power supply through the power supply end, and the voltage conversion module converts the supply voltage, during the process of charging the first battery and the second battery, the working mode of the voltage conversion module is still determined based on the total battery voltage of the battery module, and the logic is the same as above, except that the input voltage of the voltage conversion module in the discharge situation is equivalent to the output voltage in the charging situation, and the output voltage of the voltage conversion module in the discharge situation is equivalent to the input voltage in the charging situation (i.e., reverse), which will not be repeated here.

[0080] In one possible implementation, the voltage conversion module 404 includes a first switch group, a second switch group, a target switch tube and a target inductor; the target switch tube is connected to the first switch group and the second switch group respectively, the target inductor is also connected to the first switch group and the second switch group respectively, and the target switch tube is connected in parallel with the target inductor; the voltage conversion module 404 is also used to turn on the target switch tube in the first working mode to short-circuit the target inductor; or, the voltage conversion module 404 is also used to turn off the target switch tube in the second working mode to turn on the target inductor; wherein, the target inductor is used to carry the voltage difference between the input voltage and the output voltage of the voltage conversion module when turned on.

[0081] That is, in the first working mode, the target switch tube is in the on state to short-circuit the target inductor; and in the second working mode, the target switch tube is in the off state to turn on the target inductor; wherein, the target inductor is used to carry the voltage difference between the input voltage and the output voltage of the voltage conversion module when it is turned on.

[0082] Please refer to Figure 7 , which shows a schematic diagram of the circuit structure of a voltage conversion module involved in an exemplary embodiment of the present application. It includes a first switch group 701, a second switch group 702, a target switch tube 703 and a target inductor 704; one port of the voltage conversion module is led out by the first switch group 701, and another port of the voltage conversion module is led out by the second switch group 702. The target switch tube 703 and the target inductor 704 are connected in parallel between the first switch group 701 and the second switch group 702. In actual operation, the voltage conversion module is bidirectional. If Figure 7 The current flows into the left port and flows out of the right port. Then, the left port is the input port and the right port is the output port. Figure 7 The current flows into the right port and flows out of the left port, so the right port is the input port and the left port is the output port.

[0083] In the above Figure 4 In the application Figure 7 In the circuit structure, when the voltage conversion module switches the above-mentioned various working modes, the target inductor can be short-circuited by controlling the target switch tube to be turned on, and the voltage conversion module will work in the first working mode; or, the target inductor can be turned on by controlling the target switch tube to be turned off, and the voltage conversion module will work in the second working mode.

[0084] In a possible implementation, the first switch group and the second switch group each include four switches and other paths. Figure 8 , which shows that an exemplary embodiment of the present application involves Figure 7A circuit structure diagram of another voltage conversion module is shown. Figure 8 As shown, it includes a first switch group 801, a second switch group 802, a target switch tube 803 and a target inductor 804; the first switch group 801 includes four switch tubes (S1, S2, S5, S6), S1, S2, S5, S6 are connected in series in sequence and form a ring structure, and a first port is led out between the connection line of S1 and S2 to connect the first capacitor C F1 , between the connection lines of S1 and S5, a second port is connected to the input capacitor C IN A third port is connected between the connection lines S5 and S6 to connect the second capacitor C F2 A fourth port and a fifth port are connected between the connection line of S2 and S6. The fourth port is connected to the first end of the target switch tube 803, and the fifth port is connected to the first end of the target inductor 804. Figure 8 In FIG. 8 , the target switch tube 803 is represented by S9.

[0085] The second switch group 802 includes four switch tubes (S3, S4, S7, S8), S3, S4, S7, S8 are also connected in series, but one end of S4 and S8 is grounded. A sixth port is drawn between the connection line of S3 and S4, connected to the first capacitor C F1 Connect to form a capacitor path, between the connection lines of S3 and S7, lead out a seventh port, connect the output capacitor C OUT The seventh port can also be connected to the second end of the target switch tube 803. Between the connection lines of S3 and S7, an eighth port is also led out. The eighth port is connected to the second end of the target inductor 804. Between the connection lines of S7 and S8, a ninth port is led out to connect to the second capacitor C F2 A capacitive path is formed.

[0086] exist Figure 8 In the structure, the input capacitor C IN The two ends of the lead voltage conversion module are used as the input end, and the output capacitor C OUT The two ends of the voltage conversion module are used as the output ends. Although they are derived from the input capacitor and the output capacitor, they are also bidirectional in actual work. If the current is from the output capacitor C OUT The input capacitor C IN The input capacitor C IN The two ends of the voltage conversion module become the output ends, and the output capacitor C OUT The two ends serve as the input ends of the voltage conversion module.

[0087] Optional, in the above Figure 7 or Figure 8In the structure shown, the controller controls the working mode of the voltage conversion module based on adjusting the duty ratio of each switch tube in the first switch group and the second switch group. That is, the voltage conversion module is also used to adjust the duty ratio of each switch tube in the first switch group and the second switch group so that the current conversion ratio of the voltage conversion module in the second working mode is different from the adjustment ratio in the first working mode.

[0088] For example, still taking the multiple working modes of the voltage conversion module 404 including the first working mode and the second working mode as an example, in the above Figure 8 In the embodiment, the switch tube S9 is normally open, S2 and S6 are normally closed, the switch tubes S1, S3, S4 and the target inductor L form a one-phase step-down circuit, and the switch tubes S5, S7, S8 and the target inductor L form another phase step-down circuit. The second working mode can be realized by controlling the on-off time of the switch tubes S1, S3, S4 and S5, S7, S8 by the controller. In the second working mode, when the input voltage changes within a certain range, the output voltage remains constant.

[0089] In the above-mentioned possible implementation, the second working mode is divided into a first sub-mode and a second sub-mode, the first sub-mode is a fixed 3:2 ratio mode, and the second sub-mode is a fixed output mode. When implementing these two modes, in the second sub-mode, the voltage conversion module will adjust the duty cycle D of each switch tube in real time according to the change of the output voltage or the input voltage, so as to achieve the constant output voltage of the voltage conversion module, which is a closed-loop working state. The first sub-mode can be regarded as a special case of the second sub-mode. When the voltage conversion module controls the duty cycle of each switch tube, it will make the voltage conversion module work in a fixed 3:2 ratio mode.

[0090] If it is necessary to work in the first working mode, such as the above-mentioned traditional 2:1 ratio mode, the target switch tube S9 is in a normally closed state. At this time, the target inductor is short-circuited, and the input-output forward 2:1 function is realized in the same way as the working principle of the traditional 2:1 ratio mode.

[0091] Optionally, the voltage conversion module may be a charge pump CP. In this solution, the charge pump CP may include three working modes. Moreover, the power supply end may be a charging and discharging circuit unit in an electronic device. Fig. 9 , which shows a circuit structure diagram of a voltage regulating circuit involved in an exemplary embodiment of the present application. Fig. 9 As shown, the charging and discharging circuit unit 901, the first battery 902, the second battery 903, and the charge pump CP 904 are included. The charging and discharging circuit unit 901 is Fig. 9In the manner shown, as a power supply end, a power supply voltage provided by an external power supply can be connected through a USB interface, and the charge pump CP 904 can, in a discharging state, perform a first transformation process on a first voltage outputted from the battery side to obtain a second voltage, and output the second voltage (i.e., Vsys in the figure) to the load; or, in a charging state, the charge pump CP 904 can perform a second transformation process on the power supply voltage to obtain a third voltage, and output the third voltage to the battery module to charge the two batteries.

[0092] Among them, the charge and discharge circuit 901 is composed of Fig. 9 The various electronic devices shown in the figure are composed of the voltage Vsys output by the circuit, which represents the voltage finally provided to the load for operation. The charge and discharge circuit can provide normal charge function and fast charge function, as well as the function of providing the load with the operating voltage.

[0093] In the above Fig. 9 In the case where the power supply end charges the first battery 902 and the second battery 903 through the USB interface, after the current is input by the charge and discharge circuit unit 901, a part of it can be provided to the load for power supply (i.e., Vsys in the figure), and the other part enters the charge pump CP, is converted by the charge pump CP, and is output to the first battery 902 and the second battery 903 for charging. The current flows as follows Fig. 9 When the first battery 902 and the second battery 903 discharge the load, the current flows out of the first battery 902 and the second battery 903, enters the charge pump CP, is converted by the charge pump CP, and outputs to the load to provide power to the load (i.e., Vsys in the figure). The current flows as shown in FIG. Fig. 9 The flow direction of charging current in is shown in FIG.

[0094] In the actual working process, the discharge state and discharge state inside the electronic device are usually switched automatically. For example, when the current provided by the USB is connected, since the load needs to extract a certain current as the load current, and the load current will fluctuate greatly under different working conditions, when the load current Iload is greater than the output current of the charge and discharge circuit unit 901, the CP will automatically switch the power supply direction from the charging state to the discharge state. When the load current Iload is less than the output current of the charge and discharge circuit unit 901, the CP will automatically switch the power supply direction from the discharge state to the charging state. In this process, the CP of this solution will also automatically switch to the reverse direction, and still determine its own working mode according to the above-mentioned total battery voltage based on the battery module. That is, in the discharge state, if the total battery voltage of the battery module is within 5V to 6.8V, it works in a fixed 2:3 ratio mode. In the charging state, if the total battery voltage of the battery module is within 5V to 6.8V, it will still work in a fixed 2:3 ratio mode, but it works in reverse. Other working modes are similar and will not be repeated here.

[0095] In summary, the voltage regulation circuit of the present application includes: a battery module, a power supply end and a voltage conversion module. Among them, the battery module includes at least two batteries connected in series; the power supply end is used to receive the power supply voltage input by the power supply providing device; the voltage conversion module is used to perform a first conversion process on the first voltage output by the battery module to obtain a second voltage, and output the second voltage to the load; or, it is used to perform a second conversion process on the power supply voltage to obtain a third voltage, and output the third voltage to the battery module to charge the battery module; in this scheme, the voltage conversion module can work in a target working mode in the supported working mode, and the supported working modes include at least the first working mode and the second working mode. The first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module. That is, in addition to working in a mode where the conversion ratio remains unchanged, the voltage conversion module can also work in a mode where the conversion ratio is adjustable. The adjustable conversion ratio mode allows the battery module to reach a lower discharge voltage, allowing the battery module to discharge more sustainably, expanding the battery module's support for lower voltage discharge requirements, and making more efficient use of the battery's electrical energy. Moreover, the working mode of the voltage conversion module can be flexibly adjusted according to the total battery voltage of the battery module, which also improves the accuracy and flexibility of controlling the operation of the voltage conversion module.

[0096] In addition, the charge and discharge state switching of the voltage conversion module in this solution does not require mode switching, and can achieve natural switching, which solves the problem of battery charge and discharge state switching caused by changes in the load current of the electronic device when it is used in the electronic device for charging, and prevents the occurrence of power-off restart problems caused by the increase of load Iload and the untimely switching of the battery from charging to discharging mode.

[0097] The following is a method embodiment of a circuit control method provided by the present application. For details not disclosed in the method embodiment, please refer to the contents of the voltage regulation circuit embodiment provided in the present application. Fig.10 , which shows a method flow chart of a circuit control method provided by an exemplary embodiment of the present application, such as Fig.10 As shown, the circuit control method can be applied to the controller of the voltage regulating circuit in each of the above embodiments. Fig.10 As shown, the circuit control method may include the following steps:

[0098] Step 1001, obtaining the total battery voltage of the battery module.

[0099] The structure of the voltage regulating circuit can refer to the description in the above embodiments, which will not be repeated here.

[0100] Step 1002, according to the total battery voltage of the battery module, control the voltage conversion module to operate in a target operating mode in the supported operating modes, wherein the supported operating modes include at least a first operating mode and a second operating mode, the first operating mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second operating mode is a mode in which the conversion ratio of the voltage conversion module is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module.

[0101] Optionally, in this solution, the controller controls the voltage conversion module to operate in a target operating mode in the supported operating modes based on the total battery voltage of the battery module obtained and in accordance with the corresponding control logic. The specific control logic has been described in the above embodiments and will not be repeated here.

[0102] Optionally, when the controller executes the target operating mode of controlling the voltage conversion module to operate in a supported operating mode according to the total battery voltage of the battery module, it can be as follows: when the total battery voltage of the battery module is greater than or equal to a first voltage threshold, the voltage conversion module is controlled to operate in the first operating mode; or, when the total battery voltage of the battery module is less than the first voltage threshold, the voltage conversion module is controlled to operate in the second operating mode.

[0103] Optionally, the second working mode also includes a first sub-mode and a second sub-mode;

[0104] The first sub-mode is a mode in which the conversion ratio of the voltage conversion module is fixed, and the conversion ratio corresponding to the first sub-mode is different from the conversion ratio corresponding to the first working mode;

[0105] The second sub-mode is a mode in which the conversion ratio of the voltage conversion module is not fixed. When the voltage conversion module is in the second sub-mode, the output voltage of the voltage conversion module is a constant voltage.

[0106] The controller may control the voltage conversion module to operate in the target operating mode in the supported operating modes according to the total battery voltage of the battery module as follows: when the total battery voltage of the battery module is less than the first voltage threshold and greater than the second voltage threshold, the voltage conversion module is controlled to operate in the first sub-mode; the first voltage threshold is greater than the second voltage threshold; or,

[0107] When the total battery voltage of the battery module is less than or equal to the second voltage threshold, the voltage conversion module is controlled to operate in the second sub-mode.

[0108] Optionally, the specific process of the controller controlling the voltage conversion module to operate in the target operating mode in the supported operating modes according to the total battery voltage of the battery module can also be as follows: when the total battery voltage of the battery module is less than the first voltage threshold and greater than the third voltage threshold, the voltage conversion module is controlled to operate in the second sub-mode, and the third voltage threshold is less than the first voltage threshold and greater than the second voltage threshold; when the total battery voltage of the battery module is less than or equal to the third voltage threshold and greater than the second voltage threshold, the voltage conversion module is controlled to operate in the first sub-mode.

[0109] Optionally, the value of the constant voltage is determined based on a constraint between the output voltage of the voltage conversion module and the input voltage of the voltage conversion module; the constraint includes at least a minimum ratio relationship between the output voltage and the input voltage of the voltage conversion module.

[0110] In summary, the voltage regulation circuit of the present application includes: a battery module, a power supply end and a voltage conversion module. Among them, the battery module includes at least two batteries connected in series; the power supply end is used to receive the power supply voltage input by the power supply providing device; the voltage conversion module is used to perform a first conversion process on the first voltage output by the battery module to obtain a second voltage, and output the second voltage to the load; or, it is used to perform a second conversion process on the power supply voltage to obtain a third voltage, and output the third voltage to the battery module to charge the battery module; in this scheme, the voltage conversion module can work in a target working mode in the supported working mode, and the supported working modes include at least the first working mode and the second working mode. The first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module. That is, in addition to working in a mode where the conversion ratio remains unchanged, the voltage conversion module can also work in a mode where the conversion ratio is adjustable. The adjustable conversion ratio mode allows the battery module to reach a lower discharge voltage, allowing the battery module to discharge more sustainably, expanding the battery module's support for lower voltage discharge requirements, and making more efficient use of the battery's electrical energy. Moreover, the working mode of the voltage conversion module can be flexibly adjusted according to the total battery voltage of the battery module, which also improves the accuracy and flexibility of controlling the operation of the voltage conversion module.

[0111] Optionally, an embodiment of the present application further provides an electronic device, which includes at least one voltage regulating circuit as shown in the above embodiments.

[0112] Optionally, taking the electronic device as a mobile phone as an example, the mobile phone includes the above Fig. 9The controller of the voltage regulation circuit shown can be a controller of a mobile phone. In a mobile phone with two batteries connected in series, the CP using this solution has three working modes, namely, the traditional 2:1 ratio mode, the fixed 3:2 ratio mode, and the fixed output mode. When the mobile phone is discharging through the battery, the first preset voltage threshold set in the mobile phone is 6.8V, and the second preset voltage threshold is 5V. Then, Vbat1 represents the battery voltage of the first battery, Vbat2 represents the battery voltage of the second battery, and Vbat represents the sum of the voltages of the first battery and the second battery. In the discharge state, if the terminal device obtains Vbat>6.8V, it is necessary to control the CP to work in the fixed 2:1 ratio mode at this time, and the power supply voltage Vsys provided to the load (ie, the operating system) is Vbat / 2. As the discharge continues, the total battery voltage of the battery module will continue to decrease. When the Vbat obtained by the mobile phone is greater than or equal to 5V and less than or equal to 6.8V, the CP performs a mode conversion from the fixed 2:1 ratio mode corresponding to the previous higher than 6.8V to the fixed 3:2 ratio mode. At this time, the power supply voltage Vsys provided to the load is Vbat*2 / 3. As the discharge continues, the total battery voltage of the battery module will continue to decrease. When the total battery voltage Vbat of the battery module obtained by the mobile phone is less than 5V, the CP switches the mode again and works in a fixed output mode. At this time, the CP outputs a fixed voltage of 3.3V (that is, the power supply voltage Vsys provided to the load is 3.3V). When the total battery voltage Vbat of the battery module is less than 5V, the CP maintains this working mode unchanged until the battery discharge is completed.

[0113] In terms of charging, the power supply voltage provided by the charger (power supply end) is converted into the load power supply voltage Vsys through the charge and discharge circuit unit. Vsys charges the dual batteries after the CP reverses. Fig.11 , which shows a schematic diagram of a voltage regulating circuit in a mobile phone according to an exemplary embodiment of the present application controlling the switching of the working mode of the CP during the charging process. Fig.11 As shown in the figure, when the total battery voltage Vbat of the battery module is Vbat=Vbat1+Vbat2<5V, CP works in the reverse fixed output mode, that is, the input voltage is constant and the output voltage is variable. At this time, CP realizes the small current charging of the dual batteries (when the battery voltage is extremely low, small current charging is required) until the total battery voltage Vbat of the battery module reaches 5V. Then CP switches the working mode to the fixed 3:2 ratio mode. At this time, CP adjusts the ratio of output voltage: input voltage to a fixed 2:3, which is also equivalent to the above Figure 5In the reverse direction, the charging and discharging circuit unit works in the constant current output mode, and the working current at both ends of CP is also 2:3 (that is, the battery charging current: the current flowing into the output end of CP is 2:3). Since a certain load current needs to be drawn from Vsys, and the load current will fluctuate greatly under different working conditions, when the load current Iload is greater than the output current of the charging and discharging circuit unit, CP will automatically switch the power supply direction from the charging state to the discharging state. This process does not require mode switching. Similarly, when the load current Iload decreases, CP will automatically switch from the discharging state to the charging state. When the battery voltage Vbat is charged to 6.8V, CP switches mode again and switches to a reverse working mode with a fixed ratio of 2:1. At this time, the voltage and current at both ends of CP are twice the relationship. According to the change of the load current Iload, CP can freely switch between the charging state and the discharging state.

[0114] Optionally, an embodiment of the present application further provides a chip, which includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the circuit control method in the above method embodiment.

[0115] Optionally, an embodiment of the present application further provides a computer-readable medium storing a computer program, wherein the computer program is executed by a processor to implement all or part of the steps performed by an electronic device in the circuit control method of each of the above embodiments.

[0116] It should be noted that: when the device provided in the above embodiment performs the control of the electronic device, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0117] 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.

[0118] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0119] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A voltage regulating circuit, characterized in that: include: A battery module comprising at least two batteries connected in series; A power supply terminal, used for receiving a power supply voltage input by a power supply device; a voltage conversion module, connected to the power supply end and the battery module, performing a first conversion process on a first voltage output by the battery module to obtain a second voltage, and outputting the second voltage to a load; or performing a second conversion process on the power supply voltage to obtain a third voltage, and outputting the third voltage to the battery module; The working modes supported by the voltage conversion module include a first working mode and a second working mode. The first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable. The conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module.

2. The voltage regulating circuit according to claim 1, characterized in that: The voltage conversion module operates in the first operating mode when the total battery voltage of the battery module is greater than or equal to the first voltage threshold; or, The voltage conversion module operates in the second operation mode when the total battery voltage of the battery module is less than the first voltage threshold.

3. The voltage regulating circuit according to claim 1, characterized in that: The second working mode also includes a first sub-mode and a second sub-mode; The first sub-mode is a mode in which the conversion ratio of the voltage conversion module is fixed, and the conversion ratio corresponding to the first sub-mode is different from the conversion ratio corresponding to the first working mode; The second sub-mode is a mode in which the conversion ratio of the voltage conversion module is not fixed. When the voltage conversion module is in the second sub-mode, the output voltage of the voltage conversion module is a constant voltage; The voltage conversion module operates in the first sub-mode when the total battery voltage of the battery module is less than a first voltage threshold and greater than a second voltage threshold; the first voltage threshold is greater than the second voltage threshold; or The voltage conversion module operates in the second sub-mode when the total battery voltage of the battery module is less than or equal to the second voltage threshold.

4. The voltage regulating circuit according to claim 3, characterized in that: The voltage conversion module is further configured to operate in the second sub-mode when the total battery voltage of the battery module is less than the first voltage threshold and greater than a third voltage threshold, and the third voltage threshold is less than the first voltage threshold and greater than the second voltage threshold; The voltage conversion module is further configured to operate in the first sub-mode when the total battery voltage of the battery module is less than or equal to the third voltage threshold and greater than the second voltage threshold.

5. The voltage regulating circuit according to claim 3, characterized in that: The value of the constant voltage is determined based on a constraint between the output voltage of the voltage conversion module and the input voltage of the voltage conversion module; the constraint includes at least a minimum ratio between the output voltage and the input voltage of the voltage conversion module.

6. The voltage regulating circuit according to any one of claims 1 to 5, characterized in that: The voltage conversion module includes a first switch group, a second switch group, a target switch tube and a target inductor; the target switch tube is connected to the first switch group and the second switch group respectively, the target inductor is also connected to the first switch group and the second switch group respectively, and the target switch tube is connected in parallel with the target inductor; In the first working mode, the target switch tube is in a conducting state to short-circuit the target inductor; or, In the second working mode, the target switch tube is in an off state to turn on the target inductor; wherein, when the target inductor is turned on, it is used to carry the voltage difference between the input voltage and the output voltage of the voltage conversion module.

7. The voltage regulating circuit according to claim 6, characterized in that: The voltage conversion module also adjusts the duty cycle of each switch tube in the first switch group and the second switch group so that the current conversion ratio of the voltage conversion module in the second working mode is different from the adjustment ratio in the first working mode.

8. The voltage regulating circuit according to any one of claims 1 to 5, characterized in that: The voltage regulation circuit also includes a controller; The controller is used to control the voltage conversion module to switch to a target operating mode corresponding to the total battery voltage of the battery module according to the total battery voltage of the battery module.

9. A circuit control method, characterized in that: A controller applied to a voltage regulation circuit, the voltage regulation circuit comprising a controller, a battery module, a power supply end and a voltage conversion module, the battery module comprising at least two batteries connected in series; the power supply end is used to receive a power supply voltage input by a power supply providing device; the voltage conversion module is connected to the power supply end and the battery module, performs a first conversion process on a first voltage output by the battery module to obtain a second voltage, and outputs the second voltage to a load; or performs a second conversion process on the power supply voltage to obtain a third voltage, and outputs the third voltage to the battery module; the method comprises: Acquiring a total battery voltage of the battery module; controlling the voltage conversion module to operate in a target operating mode among supported operating modes according to the total battery voltage of the battery module; Among them, the working modes supported by the voltage conversion module include a first working mode and a second working mode, the first working mode is a mode in which the conversion ratio of the voltage conversion module remains unchanged, and the second working mode is a mode in which the conversion ratio of the voltage conversion module is adjustable, and the conversion ratio is the ratio between the input voltage and the output voltage of the voltage conversion module.

10. The method according to claim 9, characterized in that The step of controlling the voltage conversion module to operate in a target operating mode among supported operating modes according to the total battery voltage of the battery module comprises: When the total battery voltage of the battery module is greater than or equal to the first voltage threshold, controlling the voltage conversion module to operate in the first operating mode; or, When the total battery voltage of the battery module is less than the first voltage threshold, the voltage conversion module is controlled to operate in the second operating mode.

11. The method according to claim 9, characterized in that The second working mode also includes a first sub-mode and a second sub-mode; The first sub-mode is a mode in which the conversion ratio of the voltage conversion module is fixed, and the conversion ratio corresponding to the first sub-mode is different from the conversion ratio corresponding to the first working mode; The second sub-mode is a mode in which the conversion ratio of the voltage conversion module is not fixed. When the voltage conversion module is in the second sub-mode, the output voltage of the voltage conversion module is a constant voltage; The step of controlling the voltage conversion module to operate in a target operating mode among supported operating modes according to the total battery voltage of the battery module comprises: When the total battery voltage of the battery module is less than a first voltage threshold and greater than a second voltage threshold, the voltage conversion module is controlled to operate in the first sub-mode; the first voltage threshold is greater than the second voltage threshold; or, When the total battery voltage of the battery module is less than or equal to the second voltage threshold, the voltage conversion module is controlled to operate in the second sub-mode.

12. The method according to claim 11, characterized in that The step of controlling the voltage conversion module to operate in a target operating mode among supported operating modes according to the total battery voltage of the battery module comprises: When the total battery voltage of the battery module is less than the first voltage threshold and greater than a third voltage threshold, controlling the voltage conversion module to operate in the second sub-mode, the third voltage threshold being less than the first voltage threshold and greater than the second voltage threshold; When the total battery voltage of the battery module is less than or equal to the third voltage threshold and greater than the second voltage threshold, the voltage conversion module is controlled to operate in the first sub-mode.

13. The method according to claim 11, characterized in that The value of the constant voltage is determined based on a constraint between the output voltage of the voltage conversion module and the input voltage of the voltage conversion module; the constraint includes at least a minimum ratio between the output voltage and the input voltage of the voltage conversion module.

14. A chip, characterized in that: The chip includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the circuit control method according to any one of claims 9 to 13.

15. An electronic device, characterized in that: The electronic device comprises at least one voltage regulating circuit as claimed in any one of claims 1 to 8, or comprises the chip as claimed in claim 14.

Citation Information

Cited By

  • Voltage regulation circuit, circuit control method, chip, and electronic device

    WO2026098278A1