Electronic device, charging circuit, charging control method, and chip

By designing a charging circuit in the electronic device, using different currents to charge dual batteries or multiple batteries, respectively, solve the problem of charging speed and charging duration caused by inconsistent battery capacity, and realize the rapid charging of electronic equipment.

WO2025016175A1PCT designated stage expired Publication Date: 2025-01-23HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/102129
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-14
Filing Date
2024-06-27
Publication Date
2025-01-23

AI Technical Summary

Technical Problem

In dual-battery or multi-battery electronic devices, inconsistent battery capacity leads to limited charging speed and charging duration, especially when the battery capacity of the main and secondary boards is largely different.

Method used

Design a charging circuit, including a first voltage conversion circuit and a second voltage conversion circuit, to charge the first battery and the second battery respectively through different currents, and set overlapping working time in the charging circuit to adapt to the charging of different batteries. need.

Benefits of technology

The rapid charging of dual or multi -battery electronic equipment is realized, reducing the effects of inconsistent battery capacity on charging speed and charging duration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024102129_23012025_PF_FP_ABST
    Figure CN2024102129_23012025_PF_FP_ABST
Patent Text Reader

Abstract

Provided are an electronic device, a charging circuit, a charging control method, and a chip, which relate to the technical field of electronics. The charging circuit comprises a first voltage conversion circuit and a second voltage conversion circuit. An input terminal of the first voltage conversion circuit and an input terminal of the second voltage conversion circuit are coupled to a power supply terminal Vin; an output terminal Vbat1 of the first voltage conversion circuit is used for coupling a positive electrode of a first battery, a negative electrode of the first battery is coupled to a positive electrode of a second battery, and a negative electrode of the second battery is coupled to the ground; and an output terminal Vbat2 of the second voltage conversion circuit is used for coupling the positive electrode of the second battery. A first voltage conversion ratio of the first voltage conversion circuit is different from a second voltage conversion ratio of the second voltage circuit, and the working state of the first voltage conversion circuit and the working state of the second voltage conversion circuit have an overlapping time.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device, charging circuit, charging control method and chip

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on July 14, 2023, with application number 202310866593.9 and application name “Electronic device, charging circuit, charging control method and chip”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of electronic technology, and in particular to an electronic device, a charging circuit, a charging control method, and a chip. Background Art

[0003] With the rise of dual- and multi-battery electronic devices, fast charging of these devices will become increasingly common. Generally, charging dual or multi-batteries in series achieves better charging performance than charging in parallel. However, a prerequisite for series charging is that the battery capacities of the dual or multi-batteries must be similar. In some application scenarios, such as foldable devices, the capacities of the main and secondary batteries vary, sometimes significantly. Furthermore, when electronic devices are used for extended periods, inconsistent battery life degradation and varying power consumption by the foldable components can lead to inconsistent capacities between the main and secondary batteries. Consequently, charging speed is limited by the charging speed of the smaller batteries in the multi-battery system, impacting the overall charging speed and duration of the electronic device.

[0004] Summary of the Invention

[0005] Embodiments of the present application provide an electronic device, a charging circuit, a charging control method, and a chip, which can realize fast charging of electronic devices with dual batteries or multiple batteries.

[0006] In a first aspect, a charging circuit is provided. The charging circuit is applied to an electronic device and is used to charge a first battery and a second battery of the electronic device. The charging circuit includes a first voltage conversion circuit and a second voltage conversion circuit. Structurally, the input end of the first voltage conversion circuit and the input end of the second voltage conversion circuit are coupled to the power supply end Vin; the output end Vbat1 of the first voltage conversion circuit is used to couple to the positive pole of the first battery, the negative pole of the first battery is coupled to the positive pole of the second battery, and the negative pole of the second battery is coupled to ground; and the output end Vbat2 of the second voltage conversion circuit is used to couple to the positive pole of the second battery. The first voltage conversion ratio of the first voltage conversion circuit is different from the second voltage conversion ratio of the second voltage circuit, and the first voltage conversion circuit is used to output a first current to the first battery and the second battery in an operating state, and the second voltage conversion circuit is used to output a second current to the second battery in an operating state. The operating states of the first voltage conversion circuit and the second voltage conversion circuit overlap for a period of time. In this way, when the battery capacities of an electronic device with dual batteries or multiple batteries are inconsistent, the first battery and the second battery can be charged with a first current respectively through a first voltage conversion circuit, and the second battery can be charged simultaneously with a second current through a second voltage conversion circuit. In this way, the charging current of the first battery is the first current, and the charging current of the second rechargeable battery is the sum of the first current and the second current. In this way, while charging the first battery and the second battery at the same time, the first battery and the second battery can be charged respectively with different currents, reducing the impact of inconsistent battery capacities on charging speed and charging time in dual-battery or multi-battery scenarios, and realizing fast charging of electronic devices with dual batteries or multiple batteries.

[0007] In one possible implementation, the first voltage conversion ratio is smaller than the second voltage conversion ratio. Generally, because the series voltage of the first and second batteries is higher than the voltage of the second battery, and the input terminals of the first and second voltage conversion circuits are both coupled to the same power supply terminal Vin, the first voltage conversion ratio needs to be smaller than the second voltage conversion ratio to ensure that a higher voltage than the positive terminal of the second battery is provided to the positive terminal of the first battery.

[0008] In one possible implementation, the electronic device further includes a third battery, which is connected in parallel with the second battery, or in series between the negative electrode of the second battery and ground. In some examples, when more batteries are provided, the third battery is not limited to being connected in series or in parallel with the second battery.

[0009] In a possible implementation, the first voltage conversion circuit includes any one of the following: a direct charging circuit and a switched capacitor circuit.

[0010] In one possible implementation, the second voltage conversion circuit includes any of the following: a switched capacitor circuit and a buck circuit. Generally, compared to a buck circuit, a switched capacitor circuit (SC) has higher efficiency, so the voltage conversion circuit provided in the embodiments of the present application preferably uses an SC circuit.

[0011] In a possible implementation, the first voltage conversion ratio includes 2:2, and the second voltage conversion ratio includes 2:1; or, the first voltage conversion ratio includes 4:2, and the second voltage conversion ratio includes 4:1.

[0012] In one possible implementation, a backflow prevention circuit is further included, coupled to the power supply terminal. The backflow prevention circuit is also coupled to the input terminal of the first voltage conversion circuit and the input terminal of the second voltage conversion circuit. The backflow prevention circuit, when in operation, can be equivalent to a diode connected in series with the power supply terminal. In this way, based on the forward conduction function of the diode, the battery current can be prevented from flowing back to the power supply terminal through the charging circuit.

[0013] In a second aspect, a charging control method is provided for use in an electronic device. The electronic device includes a charging circuit, a first battery, and a second battery; the charging circuit includes a first voltage conversion circuit and a second voltage conversion circuit; the input end of the first voltage conversion circuit and the input end of the second voltage conversion circuit are coupled to a power supply end; the output end of the first voltage conversion circuit is coupled to the positive terminal of the first battery, the negative terminal of the first battery is coupled to the positive terminal of the second battery, and the negative terminal of the second battery is coupled to ground; and the output end of the second voltage conversion circuit is coupled to the positive terminal of the second battery.

[0014] The charging control method includes: obtaining electrical parameters of a first battery and an electrical parameter of a second battery; typically, the electrical parameters may include battery voltage, current, capacity, temperature, etc.; outputting a first control parameter to a first voltage conversion circuit based on the electrical parameters of the first battery and the electrical parameters of the second battery; outputting a second control parameter to a second voltage conversion circuit based on the electrical parameters of the first battery and the electrical parameters of the second battery; the first voltage conversion circuit outputting a first current to the first battery and the second battery; the second voltage conversion circuit outputting a second current to the second battery; the first voltage conversion ratio of the first voltage conversion circuit and the second voltage conversion ratio of the second voltage conversion circuit being different; and the operating states of the first voltage conversion circuit and the second voltage conversion circuit having overlapping time periods.

[0015] In a possible implementation, the method further includes: updating the first control parameter and / or the second control parameter when determining, based on the electrical parameters of the first battery and the electrical parameters of the second battery, that changes in the voltage of the first battery and the voltage of the second battery are not synchronized.

[0016] In one possible implementation, updating the first control parameter includes: when it is determined that the change slope of the voltage of the first battery is greater than the change slope of the voltage of the second battery, updating the first control parameter, wherein the updated first control parameter is used to control the first voltage conversion circuit to increase the equivalent impedance.

[0017] In one possible implementation, updating the second control parameter includes: when it is determined that the change slope of the voltage of the first battery is greater than the change slope of the voltage of the second battery, updating the second control parameter, wherein the updated second control parameter is used to control the second voltage conversion circuit to reduce the equivalent impedance.

[0018] In one possible implementation, updating the first control parameter includes: when it is determined that the change slope of the voltage of the first battery is less than the change slope of the voltage of the second battery, updating the first control parameter, wherein the updated first control parameter is used to control the first voltage conversion circuit to reduce the equivalent impedance.

[0019] In one possible implementation, updating the first control parameter includes: when it is determined that the change slope of the voltage of the first battery is less than the change slope of the voltage of the second battery, updating the second control parameter, wherein the updated second control parameter is used to control the second voltage conversion circuit to increase the equivalent impedance.

[0020] In a possible implementation, the method further includes: determining a third control parameter according to the electrical parameters of the first battery and the electrical parameters of the second battery, and outputting the third control parameter to the charger, where the third control parameter is used to control the electrical parameters output by the charger.

[0021] In one possible implementation, the method further includes: generating a fourth control parameter when determining that an electrical parameter of the first battery exceeds a first parameter threshold and / or an electrical parameter of the second battery exceeds a second parameter threshold; and outputting the fourth control parameter to the charger, where the fourth control parameter is used to control the charger to reduce the output electrical parameter.

[0022] In a third aspect, a charging control device is provided, which is applied to an electronic device, the electronic device including a charging circuit, a first battery and a second battery; the charging circuit including a first voltage conversion circuit and a second voltage conversion circuit; the input end of the first voltage conversion circuit and the input end of the second voltage conversion circuit are coupled to a power supply end; the output end of the first voltage conversion circuit is used to couple the positive pole of the first battery, the negative pole of the first battery is coupled to the positive pole of the second battery, and the negative pole of the second battery is coupled to the ground; the output end of the second voltage conversion circuit is used to couple the positive pole of the second battery. The charging control device includes: a detection circuit for obtaining electrical parameters of a first battery and electrical parameters of a second battery; a processing circuit for outputting a first control parameter to the first voltage conversion circuit according to the electrical parameters of the first battery and the electrical parameters of the second battery; and outputting a second control parameter to the second voltage conversion circuit according to the electrical parameters of the first battery and the electrical parameters of the second battery; a first voltage conversion ratio of the first voltage conversion circuit is different from a second voltage conversion ratio of the second voltage conversion circuit; the first voltage conversion circuit is configured to be in an operating state under the control of the first control parameter and output a first current to the first battery and the second battery; the second voltage conversion circuit is configured to be in an operating state under the control of the second control parameter and output a second current to the second battery; wherein the operating state of the first voltage conversion circuit and the operating state of the second voltage conversion circuit have overlapping time.

[0023] In a fourth aspect, a chip is provided, comprising a substrate and a charging circuit according to the first aspect and possible implementations thereof, fabricated on the substrate.

[0024] In a fifth aspect, a charging control device is provided for use with an electronic device. The electronic device is connected to a charger to form a charging system, and the charger is used to charge a battery of the electronic device. The charging control device includes a processor and a memory coupled to the processor. The memory stores program code, and the processor is configured to execute the program code in the memory to perform the charging control method of the second aspect and possible implementations thereof.

[0025] In a sixth aspect, an electronic device is provided, comprising the charging circuit of the first aspect and possible implementations thereof, and a first battery and a second battery connected to the charging circuit.

[0026] In a seventh aspect, an electronic device is provided, comprising the charging control device of the third aspect or the fifth aspect and possible implementations thereof, and a first battery and a second battery connected to the charging control device.

[0027] Among them, the technical problems solved by the second to seventh aspects and their possible implementation methods and the technical effects achieved can be referred to the description in the first aspect and its possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] FIG1 is a schematic structural diagram of a charging system provided in an embodiment of the present application;

[0029] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0030] FIG3 is a schematic structural diagram of an electronic device provided by another embodiment of the present application;

[0031] FIG4 is a schematic structural diagram of a USB interface provided in an embodiment of the present application;

[0032] FIG5 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application;

[0033] FIG6 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application;

[0034] FIG7 is a schematic structural diagram of an electronic device provided by another embodiment of the present application;

[0035] FIG8 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application;

[0036] FIG9A is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application;

[0037] FIG9B is a schematic structural diagram of an electronic device provided by another embodiment of the present application;

[0038] FIG10A is a schematic structural diagram of a charging circuit provided in an embodiment of the present application;

[0039] FIG10B is a schematic structural diagram of a charging circuit provided by another embodiment of the present application;

[0040] FIG10C is a schematic structural diagram of a charging circuit provided in yet another embodiment of the present application;

[0041] FIG10D is a schematic structural diagram of a charging circuit provided in yet another embodiment of the present application;

[0042] FIG11 is a schematic structural diagram of a charging circuit provided by another embodiment of the present application;

[0043] FIG12 is a schematic structural diagram of a charging circuit provided in yet another embodiment of the present application;

[0044] FIG13 is a flow chart of a charging control method provided in an embodiment of the present application;

[0045] FIG14 is a schematic structural diagram of a charging control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and its other forms, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open and inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" are intended to indicate that the specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present application. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.

[0047] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0048] When used to describe a three-port switch (also known as a switching device, such as a switch tube or a switching transistor), the "first end" and the "second end" may refer to the connection ends of the switch, respectively, and the "control end" may refer to the control end of the switch. For example, for a MOS (metal-oxide-semiconductor) tube, the control end may refer to the gate of the MOS tube, the first end may refer to the source of the MOS tube, and the second end may refer to the drain of the MOS tube, or the first end may refer to the drain of the MOS tube and the second end may refer to the source of the MOS tube. In the embodiments of the present application, each switch may include a switching transistor. However, in order to minimize the increase in internal resistance caused by the switches connected in series on the line, each switch may also include two or more switching transistors connected in parallel.

[0049] The technical solution in this application will be described below with reference to the accompanying drawings.

[0050] As shown in FIG1 , an embodiment of the present application provides a charging system comprising an electronic device 100 and a charger 200. Typically, the charger 200 includes a housing and a power conversion circuit mounted within the housing. The input side of the power conversion circuit is typically connected to a mains supply (e.g., 220V AC mains) via a plug provided on the housing, and the output side of the power conversion circuit is connected to the electronic device 100 via a plug 2000. Furthermore, the power conversion circuit is typically soldered to a printed circuit board (PCB) within the housing.

[0051] The charging circuit provided in the embodiments of the present application can be applied to electronic devices requiring battery charging, such as mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable electronic devices, and virtual reality devices. The embodiments of the present application do not impose any restrictions on this.

[0052] For example, FIG2 shows a schematic structural diagram of the electronic device 100 .

[0053] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a camera 193 and a display screen 194, etc.

[0054] It should be understood that the structure illustrated in the embodiments of the present invention 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0055] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), a microcontroller unit (MCU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0056] 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 (or adapter). In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also power the load circuit of the electronic device through the power management module 141. Specifically, as shown in Figure 2, the charging management module 140 is connected to the USB interface 130.

[0057] In order to achieve normal charging or fast charging of the battery, as shown in FIG3 , the charging management module 140 may include a charging circuit 143 for charging the battery. The power supply terminal Vin of the charging circuit 143 is connected to the USB interface 130, and the charging terminal Vbat of the charging circuit 143 is connected to the battery 142. For example, in some wireless charging embodiments, as shown in FIG2 , the power supply terminal Vin of the charging circuit 143 is specifically connected to the wireless charging coil 131 via a receive integrated circuit (Rx IC) 132. The processor 110 or the charging management module 140 can control the charging circuit 143 according to the charging protocol to convert the voltage of the power supply terminal Vin into a voltage Vbat near the battery voltage (usually 5V) and then charge the battery 142. As shown in FIG3 , the charging circuit 143 also includes a system voltage terminal Vsys, which is used to provide voltage to the load circuit Rload.

[0058] It should be noted that in order to enable the above-mentioned electronic device to be generally coupled to an external device (such as a charger, analog headphones, digital headphones, mobile storage devices, mobile terminals, etc.) through the USB interface 130. The above-mentioned USB interface 130 can be a Type-C interface. As shown in Figure 4, both the A side and the B side of the Type-C interface include two symmetrically arranged VBUS pins (for supplying USB voltage, pins 4 and pin 9), a CC pin (pin 5), a D+ pin (pin 6 on the A side and pin 7 on the B side), a D- pin (pin 7 on the A side and pin 6 on the B side) and an SBU pin (pin 8 is a spare pin, where the A side is marked as SBU1 and the B side is marked as SBU2). Typically, the power supply terminal Vin of the charging circuit 143 is coupled to the VBUS pin. When an external charger is connected through the USB interface 130, the electronic device can negotiate the charging voltage with the charger through a charging protocol based on pins such as the CC pin, the D+ pin and the D- pin. For example, for chargers that support the power delivery (PD) charging protocol, charging parameters are negotiated via the CC pin; for chargers that support the supercharger protocol (SCP), charging parameters are negotiated via the D+ and D- pins; and of course, for electronic devices that support wireless charging, charging parameters can also be negotiated with the charger based on the charging protocol via RxIC 132 and the wireless charging coil 131. Specifically, in the embodiments of the present application, the third control parameter and the fourth control parameter for controlling the charger can be transmitted.

[0059] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the load circuit Rload, including the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. In other embodiments, the power management module 141 may also be provided within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided within the same device.

[0060] The wireless communication function of the electronic device 100 can be implemented by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110. The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc., applied to the electronic device 100.

[0061] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 , and antenna 2 is coupled to wireless communication module 160 , so that electronic device 100 can communicate with the network and other devices through wireless communication technology.

[0062] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0063] The display screen 194 is used to display images, videos, etc.

[0064] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0065] The camera 193 is used to capture still images or videos.

[0066] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0067] The internal memory 121 may be used to store one or more computer programs, each of which includes instructions. The processor 110 may execute the instructions stored in the internal memory 121, thereby enabling the electronic device 100 to perform the methods provided in some embodiments of the present application, as well as various functional applications and data processing.

[0068] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0069] The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc. In addition, it may also include a fuel meter, an ammeter, a voltmeter, a temperature sensor, etc. for detecting the electrical parameters of the battery in the embodiments of the present application.

[0070] In addition, the electronic device may further include one or more components such as a button 190 , a motor 191 , an indicator 192 , and a subscriber identification module (SIM) card interface 195 , and the embodiment of the present application does not impose any limitation on this.

[0071] Typically, the charging circuit 143 shown in FIG3 above includes a direct charging circuit, a step-down circuit BUCK, a switched capacitor circuit (SC), etc.; it should be noted that the embodiments of the present application can be applied to electronic devices including dual batteries or multiple batteries, such as folding mobile phones, smart glasses, and wireless headphones. It can be understood that in electronic devices with dual batteries or multiple batteries, a battery for powering the part is distributed in different parts of the electronic device. For example, in a folding mobile phone, a battery can be correspondingly provided for each folding part.

[0072] 5 , an electronic device 100 is provided which may be a foldable mobile phone, wherein the foldable mobile phone is composed of two foldable parts (foldable part 1001 and foldable part 1002), wherein the folding part is mechanically connected in a hinge-like manner, and the two foldable parts connected by the hinge are provided with a battery and a functional circuit connected to the battery to realize the basic functions of the mobile phone. Specifically, as shown in Figure 5, the left foldable part 1001 includes a battery 142a and a functional circuit; the right foldable part 1002 includes a battery 142b and a functional circuit, wherein the functional circuit may include the above-mentioned processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, camera 193 and display screen 194, etc. One or more.

[0073] When charging an electronic device with two or more batteries, charging the two or more batteries in series can avoid excessive charging current compared to parallel charging, thereby achieving better charging performance. As shown in Figure 6 , the battery pack formed by connecting battery 142a and battery 142b in series can typically be connected between the charging terminal Vbat of the charging circuit 143 and ground GND for series charging. However, since the charging circuit provides a uniform charging current I to the first and second batteries via the charging terminal Vbat during series charging, a prerequisite for series charging is that the battery capacities of the two or more batteries must be similar. In some application scenarios, such as foldable devices, the battery capacities of the main and secondary boards may vary, even significantly. Furthermore, when an electronic device is used for a long time, inconsistent battery life degradation and different power consumption of the foldable components can lead to inconsistent battery capacities between the main and secondary boards. Consequently, the charging speed is limited by the charging speed of the smaller battery in the multi-battery system, affecting the overall charging speed and duration of the electronic device.

[0074] In order to achieve fast charging of electronic devices with dual batteries or multiple batteries, an embodiment of the present application provides a charging circuit 143. Referring to Figure 7, the charging circuit 143 is applied to the electronic device 100 to charge the first battery 142a and the second battery 142b of the electronic device 100.

[0075] Structurally, the charging circuit 143 includes a voltage conversion circuit TC1 and a voltage conversion circuit TC2. The input terminals of the voltage conversion circuit TC1 and the input terminals of the voltage conversion circuit TC2 are coupled to the power supply terminal Vin. The output terminal Vbat1 of the voltage conversion circuit TC1 is coupled to the positive terminal of the first battery 142a. The negative terminal of the first battery 142a is coupled to the positive terminal of the second battery, and the negative terminal of the second battery 142b is coupled to ground GND. The output terminal Vbat2 of the voltage conversion circuit TC2 is coupled to the positive terminal of the second battery 142b.

[0076] Among them, the first voltage conversion ratio of the voltage conversion circuit TC1 is different from the second voltage conversion ratio of the voltage conversion circuit TC2, and the voltage conversion circuit TC1 is used to output the first current I1 to the first battery 142a and the second battery 142b in the working state, and the voltage conversion circuit TC2 is used to output the second current I2 to the second battery 142b in the working state. There is an overlapping time between the working state of the voltage conversion circuit TC1 and the working state of the voltage conversion circuit TC2.

[0077] Based on the above-mentioned charging circuit 143, an embodiment of the present application further provides a charging control method, which is applied to a charging control device 400 as shown in FIG7 . As shown in FIG7 , the charging control method includes the following steps:

[0078] 101. The charging control device 400 obtains electrical parameters of a first battery and electrical parameters of a second battery.

[0079] Specifically, referring to FIG7 , the charging control device 400 includes a detection circuit 402 . The detection circuit 402 may include one or more detection subcircuits, each of which is configured to detect an electrical parameter of a battery. For example, the detection subcircuits may include one or more sensors such as a fuel gauge, an ammeter, a voltmeter, and a temperature sensor. The detection subcircuits may detect and obtain one or more of the following electrical parameters of the battery: charge, current, voltage, and temperature. In some examples, the detection circuit 402 may be implemented by one or more sensors in the sensor module 180 in FIG2 .

[0080] 102. The charging control device 400 outputs a first control parameter to the first voltage conversion circuit TC1 according to the electrical parameters of the first battery and the electrical parameters of the second battery.

[0081] 103. The charging control device outputs a second control parameter to the second voltage conversion circuit TC2 according to the electrical parameters of the first battery and the electrical parameters of the second battery.

[0082] Specifically, referring to FIG7 , the charging control device 400 includes a processing circuit 401. The processing circuit 401 can output a first control parameter to the voltage conversion circuit TC1 and a second control parameter to the voltage conversion circuit TC2 based on the electrical parameters of the first battery and the electrical parameters of the second battery. In some examples, the processing circuit 401 can be implemented by the AP in the processor 110 in FIG2 . The first voltage conversion ratio of the voltage conversion circuit TC1 is different from the second voltage conversion ratio of the voltage conversion circuit TC2. In an operating state, the voltage conversion circuit TC1 is configured to output a first current I1 to the first battery and the second battery under the control of the first control parameter. In an operating state, the voltage conversion circuit TC2 is configured to output a second current I2 to the second battery under the control of the second control parameter (such that a third current I3 flowing through the second battery = I1 + I2). The operating states of the voltage conversion circuit TC1 and the voltage conversion circuit TC2 overlap for a certain period of time.

[0083] It should be noted that, because the third current I3 is greater than the first current I1, the capacity of the second battery 142b is typically greater than that of the first battery 142a. Typically, in the charging state, the first and second batteries 142a, 142b can be connected in series via a switching circuit, with the larger-capacity second battery 142b connected to ground GND and the smaller-capacity first battery 142a connected to the voltage conversion circuit TC1. Furthermore, in the power supply state, the first and second batteries 142a, 142b can be connected to their respective functional circuits via the switching circuit. Furthermore, the first voltage conversion ratio is smaller than the second voltage conversion ratio. Typically, because the series voltage of the first and second batteries 142a, 142b is higher than the voltage of the second battery 142b, and the input terminals of the voltage conversion circuit TC1 and the voltage conversion circuit TC2 are both coupled to the same power supply terminal Vin, the first voltage conversion ratio must be smaller than the second voltage conversion ratio to ensure that the positive terminal of the first battery 142a is provided with a voltage higher than that of the positive terminal of the second battery 142b. In some examples, the first voltage conversion ratio includes 2:2, and the second voltage conversion ratio includes 2:1; or, the first voltage conversion ratio includes 4:2, and the second voltage conversion ratio includes 4:1.

[0084] In this way, when the battery capacities of an electronic device with dual batteries or multiple batteries are inconsistent, the first battery 142a and the second battery 142b can be charged with the first current I1 through the voltage conversion circuit TC1 respectively, and the second battery 142b can be charged with the second current I2 at the same time through the voltage conversion circuit TC2. In this way, the charging current of the first battery is the first current I1, and the charging current of the second rechargeable battery is the sum of the first current I1 and the second current I2. In this way, while charging the first battery 142a and the second battery 142b at the same time, the first battery 142a and the second battery 142b can be charged with different currents respectively, thereby reducing the impact of inconsistent battery capacities on charging speed and charging time in dual-battery or multi-battery scenarios, and realizing fast charging of electronic devices with dual batteries or multiple batteries.

[0085] In another example, as shown in Figure 8 , the electronic device 100 further includes a third battery 142c, which is connected in parallel with the second battery 142b. The difference between Figure 8 and Figure 7 is that the electronic device 100 includes three batteries: a first battery 142a, a second battery 142b, and a third battery 142c. The third battery 142c connected in parallel with the second battery 142b is equivalent to the second battery 142b in Figure 7 . In this case, voltage conversion circuit TC1 is configured to output a first current I1 when in operation, and voltage conversion circuit TC2 is configured to output a second current I2 when in operation. Since first battery 142a is connected in series to Vbat1, the charging current of first battery 142a is first current I1. Third battery 142c is connected in parallel with second battery 142b and then in series to Vbat2. Therefore, third current I3 flowing through second battery 142b and fourth current I4 flowing through third battery 142c satisfy the following equation: I3 + I4 = I1 + I2, where the currents of third current I3 and fourth current I4 are inversely proportional to the internal resistances of second battery 142b and third battery 142c. Therefore, in step 101, charging control device 400 also needs to obtain electrical parameters of third battery 142c. Then, charging control device 400 generates the aforementioned first and second control parameters based on the electrical parameters of the first, second, and third batteries.

[0086] Alternatively, as shown in FIG9A , the third battery 142c is connected in series between the negative terminal of the second battery 142b and ground GND. FIG9A differs from FIG7 in that the electronic device 100 includes three batteries: a first battery 142a, a second battery 142b, and a third battery 142c. The third battery 142c connected in series with the second battery 142b is equivalent to the second battery 142b in FIG7 . The voltage conversion circuit TC1 is configured to output a first current I1 when in operation, and the voltage conversion circuit TC2 is configured to output a second current I2 when in operation. Since the first battery 142a is connected in series with Vbat1, the charging current of the first battery 142a is the first current I1. Since the third battery 142c is connected in series with the second battery 142b and then with Vbat2, the third current I3 flowing through the second battery 142b is equal to the current flowing through the third battery 142c, satisfying the following equation: I3 = I1 + I2. Therefore, in step 101, the charging control device 400 also needs to obtain the electrical parameters of the third battery. Then, the charging control device 400 generates the first control parameter and the second control parameter according to the electrical parameters of the first battery, the electrical parameters of the second battery, and the electrical parameters of the third battery.

[0087] In addition, as shown in Figure 9B , the third battery 142c is connected in series between the negative terminal of the second battery 142b and ground GND. Figure 9B differs from Figure 7 in that the electronic device 100 includes three batteries: a first battery 142a, a second battery 142b, and a third battery 142c. The difference from Figure 9A is that the charging circuit further includes a voltage conversion circuit TC3. The input terminal of the voltage conversion circuit TC3 is coupled to the power supply terminal Vin, and the output terminal Vbat3 of the voltage conversion circuit TC3 is coupled to the positive terminal of the third battery 142c. The voltage conversion circuit TC1 is configured to output a first current I1 when in operation, the voltage conversion circuit TC2 is configured to output a second current I2 when in operation, and the voltage conversion circuit TC3 is configured to output a fourth current I4 when in operation. Since the first battery 142a is connected in series to Vbat1, the charging current of the first battery 142a is the first current I1. Since the second battery 142b is connected in series to Vbat2, the third current I3 flowing through the second battery 142b satisfies the following equation: I3 = I1 + I2. The third battery 142c is connected in series to Vbat3. Therefore, the fifth current I5 flowing through the third battery 142c satisfies the following equation: I5 = I4 + I3. Therefore, in step 101, the charging control device 400 also needs to obtain the electrical parameters of the third battery. Then, the charging control device 400 generates the first control parameter, the second control parameter, and the fifth control parameter for controlling the voltage conversion circuit TC3 based on the electrical parameters of the first battery, the second battery, and the third battery.

[0088] In some examples, in one possible implementation, the voltage conversion circuit TC1 includes any of the following: a direct charging circuit or a switched capacitor circuit. In another possible implementation, the voltage conversion circuit TC2 includes any of the following: a switched capacitor circuit or a step-down circuit. Generally, compared to the step-down circuit BUCK, the switched capacitor circuit SC has higher efficiency, so the voltage conversion circuit provided in the embodiments of the present application preferably uses an SC circuit. Referring to Figures 10A-10D , the specific structures of the four charging circuits 143 applied to Figures 7 and 8 are provided. As shown in FIG10A , the voltage conversion circuit TC1 can use a direct-charge circuit with a voltage conversion ratio of 2:2, and the voltage conversion circuit TC2 can use a SC with a voltage conversion ratio of 2:1. As shown in FIG10B , the voltage conversion circuit TC1 can use a SC with a voltage conversion ratio of 4:2, and the voltage conversion circuit TC2 can use a SC with a voltage conversion ratio of 4:1. As shown in FIG10C , the voltage conversion circuit TC1 can use a direct-charge circuit with a 2:2 ratio, and the voltage conversion circuit TC2 can use a buck circuit. As shown in FIG10D , the voltage conversion circuit TC1 can use a SC with a 4:2 ratio, and the voltage conversion circuit TC2 can use a buck circuit. The first current I1 output by the voltage conversion circuit TC1 (the second current I2 output by the voltage conversion circuit TC2) can be controlled by controlling the equivalent impedance of the voltage conversion circuit TC1 (the voltage conversion circuit TC2) using the first control signal (the second control signal). The control of the equivalent impedance of the voltage conversion circuit can specifically be the control of the impedance or on-duty cycle of the direct charging circuit; or the control of the switching frequency of the SC circuit, or the control of the output voltage or current of the buck. It is understood that when applied to the charging circuit 143 shown in Figure 9A, the voltage conversion circuit TC1 can adopt a voltage conversion ratio of 3:3, and the voltage conversion circuit TC2 can adopt a voltage conversion ratio of 3:2. When applied to the charging circuit 143 shown in Figure 9B, the voltage conversion circuit TC1 can adopt a voltage conversion ratio of 3:3, the voltage conversion circuit TC2 can adopt a voltage conversion ratio of 3:2, and the voltage conversion circuit TC3 can adopt a voltage conversion ratio of 3:1.

[0089] Specifically, referring to FIG. 11 , it is taken as an example that the voltage conversion circuit TC1 can adopt a direct charging circuit with a voltage conversion ratio of 2:2, and the voltage conversion circuit TC2 can adopt a SC with a voltage conversion ratio of 2:1.

[0090] As shown in Figure 11, TC1 includes a 2:2 direct charging circuit consisting of a switch Qb2 and a capacitor C2. The first end of switch Qb2 is coupled to the power supply terminal Vin, the second end of switch Qb2 is coupled to the output terminal Vbat1 of the voltage conversion circuit TC1, the first end of capacitor C2 is coupled to the output terminal Vbat1 of the voltage conversion circuit TC1, and the second end of capacitor C2 is coupled to ground GND. The 2:2 direct charging circuit can output the voltage input from the power supply terminal Vin to Vbat1, thereby charging the first battery 142a and the second battery 142b.

[0091] As shown in Figure 11, TC2 includes a switching circuit consisting of switches Q1-Q4 and a 2:1SC consisting of a flying capacitor Cfly and an output capacitor C3. Among them, the first end of Q1 is coupled to the power supply terminal Vin, the second end of Q1 is coupled to the first end of Q2, the second end of Q2 is coupled to the first end of Q3, the second end of Q3 is coupled to the first end of Q4, and the second end of Q4 is coupled to the ground GND. The first end of the flying capacitor Cfly is coupled to the first end of Q2, the second end of Cfly is coupled to the first end of Q4, the first end of the output capacitor C3 is coupled to the first end of Q3, and the second end of Cout is coupled to the ground GND. Among them, the first end of the output capacitor C3 is coupled to the output terminal Vbat2 of the voltage conversion circuit TC2. The 2:1SC can convert the voltage input by Vin into the voltage of Vbat2 at a fixed ratio and charge the second battery 142b.

[0092] In addition, FIG11 also shows an anti-backflow circuit 1431 coupled between the power supply terminal Vin and the first end of the switch Qb2 (and the first end of the switch Q1). The anti-backflow circuit 1431 is coupled to the power supply terminal Vin, and the anti-backflow circuit 1431 is also coupled to the input end of the voltage conversion circuit TC1 (the first end of the switch Qb2) and the input end of the voltage conversion circuit TC2 (the first end of the switch Q1). In the working state, the anti-backflow circuit 1431 can be equivalent to a diode connected in series to the power supply terminal Vin. In this way, based on the forward conduction current of the diode, the current of the battery can be prevented from flowing back to the power supply terminal through the charging circuit. For example, in FIG11, the anti-backflow circuit 1431 includes a switch Qb1, the first end of the switch Qb1 is connected to the power supply terminal Vin, and the second end of the switch Qb1 is connected to the first end of the switch Qb2 (and the first end of the switch Q1). In addition, it can also include a capacitor C1 connected between the switch Qb1 and the ground.

[0093] In order to control the charging circuit shown in FIG. 11 , the embodiment of the present application further provides a control timing sequence for each switch (switch on state during time periods T1 and T2 ), as shown in Table 1:

[0094] Table 1

[0095] As shown in Table 1, the first control signal can carry a control signal for Qb2. During the two phases T1 and T2 of a duty cycle, the first control signal can utilize a pulse width modulation (PWM) signal. Adjusting the on-duty cycle of the PWM signal can adjust the equivalent impedance of Qb2. For example, decreasing the on-duty cycle can increase the equivalent impedance of Qb2, thereby reducing the first current I1. Increasing the on-duty cycle can decrease the equivalent impedance of Qb2, thereby increasing the first current I1.

[0096] Taking the SC circuit shown in Figure 11 as an example, as shown in Table 1, Q1 and Q3 are simultaneously turned on during phase T1, while Q2 and Q4 are simultaneously turned on during phase T2. The control signals for Q1 and Q3 are complementary to those for Q2 and Q4. During a period T1 of a cycle, Q1 and Q3 are turned on, while Q2 and Q4 are turned off. This allows Cfly and C3 to be connected in series between Vin and GND, allowing the voltage input from Vin to charge Cfly and C3 simultaneously. During another period T2 of the cycle, Q1 and Q3 are turned off, while Q2 and Q4 are turned on. Cfly and C3 are connected in parallel, allowing Cfly to discharge into C3. This results in a 2:1 voltage conversion ratio. Of course, Figure 11 only uses a 2:1 step-down SC as an example. It is understood that other SC configurations, such as 3:1 or 4:1, can also be used to achieve voltage conversion ratios. As shown in Table 1, the above-mentioned second control signal can carry a control signal for Q1-Q4; specifically, the equivalent impedance of the SC can be adjusted by controlling the switching frequency of Q1-Q4. For example, when the switching frequency of Q1-Q4 is reduced, the conversion efficiency of the SC is reduced, which is equivalent to increasing the equivalent impedance of the SC, thereby reducing the second current I2; when the switching frequency of Q1-Q4 is increased, the conversion efficiency of the SC is increased, which is equivalent to reducing the equivalent impedance of the SC, thereby increasing the second current I2.

[0097] Specifically, referring to FIG12 , a voltage conversion circuit TC1 employs a 4:2 SC with a voltage conversion ratio, and a voltage conversion circuit TC2 employs a 4:1 SC. As shown in FIG12 , TC1 includes a switching circuit consisting of switches Q1-Q4, a flying capacitor Cfly1, and an output capacitor C2 forming a 4:2 SC. The first end of Q1 is coupled to the power supply terminal Vin, the second end of Q1 is coupled to the first end of Q2, the second end of Q2 is coupled to the first end of Q3, the second end of Q3 is coupled to the first end of Q4, and the second end of Q4 is coupled to ground GND. The first end of the flying capacitor Cfly1 is coupled to the first end of Q2, the second end of Cfly1 is coupled to the first end of Q4, the first end of the output capacitor C2 is coupled to the first end of Q3, and the second end of C2 is coupled to ground GND. The first end of the output capacitor C2 is coupled to the output terminal Vbat1 of the voltage conversion circuit TC1. The 4:2 SC can convert the voltage inputted by Vin to the voltage of Vbat1 at a fixed voltage conversion ratio, and charge the first battery 142a and the second battery 142b.

[0098] As shown in Figure 12 , TC2 includes a switching circuit consisting of switches Q1-Q8, and a 4:1 SC consisting of flying capacitors Cfly1 and Cfly2, output capacitors C2, and output capacitors C3. The connection relationship between switches Q1-Q4, flying capacitor Cfly1, and output capacitor C2 can be referred to the description of TC2 in Figure 11 above. The first end of Q5 is coupled to the second end of Q2, the second end of Q5 is coupled to the first end of Q6, the second end of Q6 is coupled to the first end of Q7, the second end of Q7 is coupled to the first end of Q8, and the second end of Q8 is coupled to ground GND. The first end of flying capacitor Cfly2 is coupled to the first end of Q6, the second end of Cfly2 is coupled to the first end of Q8, the first end of output capacitor C3 is coupled to the first end of Q7, and the second end of C3 is coupled to ground GND. The first end of output capacitor C3 is coupled to the output terminal Vbat2 of voltage conversion circuit TC2. The 4:1 SC can convert the voltage inputted by Vin to the voltage of Vbat2 at a fixed voltage conversion ratio, thereby charging the second battery 142b.

[0099] In addition, the charging circuit may further include a switch Qb2 and a capacitor C4, wherein a first end of the switch Qb2 is coupled to a first end of the Q5, a second end of the switch Qb2 is coupled to an output end Vbat1 of the voltage conversion circuit TC1, a first end of the capacitor C4 is coupled to the output end Vbat1 of the voltage conversion circuit TC1, and a second end of the capacitor C4 is coupled to ground GND. Switch Qb2 can further regulate the current output by TC1.

[0100] 12 also shows an anti-backflow circuit 1431 coupled between the power supply terminal Vin and the first terminal of the switch Q1. The function of the anti-backflow circuit 1431 is similar to that in FIG11 and will not be described again here.

[0101] In order to implement control of the charging circuit shown in FIG. 12 , the embodiment of the present application further provides a control timing sequence for each switch (switch on state during time periods T1 and T2 ), as shown in Table 2:

[0102] Table 2

[0103] As shown in Table 2, since the switching circuit composed of switches Q1-Q4, flying capacitor Cfly1, and output capacitor C2 can form a 4:2 voltage conversion ratio SC, and the switching circuit composed of switches Q4-Q8, flying capacitor Cfly2, and output capacitor C3 can form another 4:2 voltage conversion ratio SC, TC1 is equivalent to a 4:2 voltage conversion ratio SC, and TC2 is equivalent to cascading two 4:2 voltage conversion ratio SCs to form a 4:1 voltage conversion ratio SC. The operating principle of each 4:2 voltage conversion ratio SC is similar to the operating principle of TC2 in Figure 11 above and will not be repeated here.

[0104] In this way, the above-mentioned first control signal can carry control signals for Q1-Q4. Specifically, the equivalent impedance of the 4:2 SC can be adjusted by controlling the switching frequency of Q1-Q4. For example, when the switching frequency of Q1-Q4 is reduced, the conversion efficiency of the SC is reduced, which is equivalent to increasing the equivalent impedance of the SC, thereby reducing the first current I1. When the switching frequency of Q1-Q4 is increased, the conversion efficiency of the SC is increased, which is equivalent to reducing the equivalent impedance of the SC, thereby increasing the first current I1. The above-mentioned second control signal can carry control signals for Q5-Q8. Specifically, the equivalent impedance of the 4:1 SC can be adjusted by controlling the switching frequency of Q5-Q8. For example, when the switching frequency of Q5-Q8 is reduced, the conversion efficiency of the SC is reduced, which is equivalent to increasing the equivalent impedance of the SC, thereby reducing the second current I2. When the switching frequency of Q5-Q8 is increased, the conversion efficiency of the SC is increased, which is equivalent to reducing the equivalent impedance of the SC, thereby increasing the second current I2. As shown in Table 2, the control signals of Q1-Q4 and Q5-Q8 can be the same or complementary.

[0105] Based on the charging circuit shown in FIG7 , an embodiment of the present application further provides a charging control method, as shown in FIG13 , comprising the following steps:

[0106] 201. A charging control device obtains electrical parameters of a first battery and electrical parameters of a second battery.

[0107] For example, when charging of the first battery 142a and the second battery 142b begins, the processing circuit 401 of the charging control device 400 (e.g., an AP, an MCU, etc.) first detects the electrical parameters of the first battery 142a and the second battery 142b via connected sensors, and obtains the following electrical parameters of the first battery 142a and the second battery 142b: current, voltage, charge, and temperature. It should be noted that when applied to the charging circuit shown in Figures 8, 9A, or 9B, it is also necessary to obtain the electrical parameters of the third battery 142c.

[0108] 202. The charging control device 400 determines a first control parameter, a second control parameter, and a third control parameter according to electrical parameters of the first battery and electrical parameters of the second battery.

[0109] The third control parameter may be a control parameter for the charger. For example, the AP, MCU, etc. may determine the electrical parameters output by the charger at the start of charging based on the detected current electrical parameters of the first battery 142a and the second battery 142b, as well as pre-configured charging configuration parameters for the first battery 142a and the second battery 142b (e.g., the fully charged capacity, voltage, current, and current limiting voltage and current limiting temperature of the first battery 142a and the second battery 142b). The third control parameter is then output to the charger to control the electrical parameters output by the charger. It should be noted that when applied to the charging circuit shown in Figures 8, 9A, or 9B, the electrical parameters of the third battery 142c and the charging configuration parameters need to be referenced when generating the third control parameter in step 202.

[0110] 203. The charger adjusts the output electrical parameters according to the third control parameter.

[0111] For example, for the example shown in FIG10A , based on the third control parameter, the voltage provided by the charger to the power supply terminal Vin of the charging circuit 143 satisfies Vin=Vch+Vcl+Vx. For the example shown in FIG10C , based on the third control parameter, the voltage provided by the charger to the power supply terminal Vin of the charging circuit 143 satisfies Vin=(Vch+Vcl)*2+Vx, where Vch is the voltage of the first battery 142a; Vcl is the voltage of the second battery 142b; and Vx can be a relatively small voltage, for example, 100 mV. This ensures that there is a certain voltage difference between the voltage input at Vin and the sum of the voltages of the first battery 142a and the second battery 142b, thereby generating a charging current without causing excessive charging current. When applied to the charging circuit of FIG8 , Vcl can be the parallel voltage of the second battery 142b and the third battery 142b; when applied to the charging circuit of FIG9A , Vcl can be the series voltage of the second battery 142b and the third battery 142c. When applied to the charging circuit of FIG9B , if the voltage conversion circuit TC1 adopts a voltage conversion ratio of 3:3, the voltage conversion circuit TC2 adopts a voltage conversion ratio of 3:2, and the voltage conversion circuit TC3 adopts a voltage conversion ratio of 3:1, then according to the third control parameter, the voltage provided by the charger to the power supply terminal Vin of the charging circuit 143 satisfies Vin=Vch+Vcl+Vcl'+Vx, where Vch is the voltage of the first battery 142a; Vcl is the voltage of the second battery 142b; Vcl' is the voltage of the third battery 142c, and Vx can be a smaller voltage, for example, Vx can be 100mV.

[0112] 204 . The charging control device 400 controls the voltage conversion circuit TC1 and the voltage conversion circuit TC2 to enter a working state according to the first control parameter and the second control parameter.

[0113] Specifically, referring to the above example, the charging control device 400 outputs a first control parameter to the voltage conversion circuit TC1 and a second control parameter to the voltage conversion circuit TC2 based on the electrical parameters of the first battery 142a and the second battery 142b, respectively. It should be noted that, when applied to the charging circuits shown in Figures 8, 9A, and 9B, the generation of the first and second control parameters in step 202 also requires reference to the electrical parameters of the third battery 142c. Furthermore, when applied to the charging circuit shown in Figure 9B, the fifth control parameter for the voltage conversion circuit TC3 also needs to be generated based on the electrical parameters of the first, second, and third batteries 142a, 142b, and 142c.

[0114] 205. The charging control device 400 determines that an electrical parameter of the first battery exceeds a first parameter threshold, and / or an electrical parameter of the second battery exceeds a second parameter threshold.

[0115] Specifically, the charging control device 400 may continuously monitor the electrical parameters of the first battery 142a and the second battery 142b in the manner described in step 201. Specifically, these parameters may include Vch, Vcl, I1, and I3. Parameter thresholds may be set for Vch, Vcl, I1, and I3. If Vch, Vcl, I1, and I3 do not exceed the parameter thresholds, the process proceeds to step 206a. If any of these parameters exceeds the parameter threshold, the fourth control parameter is output to the charger, causing the charger to proceed to step 206b.

[0116] 206a. The charger continues to improve the electrical parameters output to the charging circuit according to the charging protocol.

[0117] For example, the charger may increase the output voltage in a certain step size according to the currently executed charging protocol, and the charging control device 400 periodically executes step 205 at a certain time interval, such as 100 ms, until the upper limit voltage specified in the charging protocol is reached.

[0118] 206b. The charger controls the charger to reduce the output electrical parameter according to the fourth control parameter.

[0119] For example, the charger can reduce the voltage or current output to the power supply terminal Vin. It should be noted that when applied to the charging circuit shown in Figure 8, it is also necessary to determine whether I4 exceeds the corresponding parameter threshold in step 205. When applied to the charging circuit shown in Figure 9B, it is also necessary to determine whether Vcl' and I5 exceed the corresponding parameter threshold in step 205. Among them, by controlling the electrical parameters output by the charger in steps 205-206b, the safety of charging of the electronic device can be ensured, and the electrical parameters provided by the charging circuit to each battery during the charging process can be guaranteed not to exceed the parameter threshold, thereby avoiding direct damage to the battery or affecting its service life.

[0120] After step 204, the method further includes:

[0121] 207. The charging control device 400 determines whether changes in the voltage of the first battery and the voltage of the second battery are synchronized based on the electrical parameters of the first battery and the electrical parameters of the second battery.

[0122] If they are synchronized, the voltage conversion circuit TC1 and the voltage conversion circuit TC2 are controlled respectively using the first control parameter and the second control parameter; if they are not synchronized, step 208 is executed. It should be noted that, when applied to FIG8 , step 207 specifically determines whether the change of the voltage of the first battery and the parallel voltage of the second battery and the third battery is synchronized based on the electrical parameters of the first battery, the electrical parameters of the second battery, and the electrical parameters of the third battery; when applied to FIG9A , step 207 specifically determines whether the change of the voltage of the first battery and the series voltage of the second battery and the third battery is synchronized based on the electrical parameters of the first battery, the electrical parameters of the second battery, and the electrical parameters of the third battery; when applied to FIG9B , step 207 specifically determines whether the change of the voltage of the first battery, the voltage of the second battery, and the voltage of the third battery is synchronized based on the electrical parameters of the first battery, the electrical parameters of the second battery, and the electrical parameters of the third battery.

[0123] 208 . The charging control device 400 updates the first control parameter and / or the second control parameter.

[0124] Specifically, the first control parameter and / or the second control parameter may be updated in the following manner.

[0125] Method 1: When it is determined that the slope of change of the voltage of the first battery is greater than the slope of change of the voltage of the second battery (i.e., the climbing speed of Vch is faster than that of Vcl), the first control parameter is updated, wherein the updated first control parameter is used to control the voltage conversion circuit TC1 to increase the equivalent impedance. Among them, the methods of increasing the equivalent impedance include but are not limited to: for the charging circuits in Figures 10A and 10C, the turn-on impedance of the 2:2 direct charging circuit can be increased or the turn-on duty cycle of the 2:2 direct charging circuit can be reduced; for the charging circuits in Figures 10B and 10D, the switching frequency of the 4:2SC can be adjusted to reduce the conversion efficiency.

[0126] Method 2: When it is determined that the slope of change of the voltage of the first battery is greater than the slope of change of the voltage of the second battery (i.e., the ramp rate of Vch is faster than that of Vcl), the second control parameter is updated. The updated second control parameter is used to control the voltage conversion circuit TC2 to reduce the equivalent impedance. Methods for reducing the equivalent impedance include, but are not limited to: for the charging circuits in Figures 10A and 10B , adjusting the switching frequency of the 2:1SC and 4:1SC circuits to improve conversion efficiency; for the charging circuits in Figures 10C and 10D , controlling the buck converter (BUCK) to increase output voltage or current.

[0127] Method 3: When it is determined that the slope of change of the voltage of the first battery is less than the slope of change of the voltage of the second battery (i.e., the ramp rate of Vch is slower than that of Vcl), the first control parameter is updated, wherein the updated first control parameter is used to control the voltage conversion circuit TC1 to reduce the equivalent impedance. Methods for reducing the equivalent impedance include, but are not limited to: for the charging circuits in Figures 10A and 10C, reducing the on-resistance of the 2:2 direct-charging circuit or increasing the on-duty cycle of the 2:2 direct-charging circuit; for the charging circuits in Figures 10B and 10D, adjusting the switching frequency of the 4:2SC to improve conversion efficiency.

[0128] Method 4: When it is determined that the slope of change of the first battery voltage is less than the slope of change of the second battery voltage (i.e., the ramp rate of Vch is slower than that of Vcl), the second control parameter is updated, wherein the updated second control parameter is used to control the voltage conversion circuit TC2 to increase the equivalent impedance. Methods for increasing the equivalent impedance include, but are not limited to: for the charging circuits in Figures 10A and 10B , adjusting the switching frequency of the 2:1SC and 4:1SC circuits to reduce conversion efficiency; for the charging circuits in Figures 10C and 10D , controlling the buck converter to reduce output voltage or current.

[0129] Furthermore, after the first control parameter and / or the second control parameter is updated, step 207 is continued.

[0130] It should be noted that, when applied to FIG8 , methods 1 to 4 specifically determine the relationship between the slope of change of the voltage of the first battery and the slope of change of the parallel voltage of the second battery and the third battery, and update the first control parameter or the second control parameter; when applied to FIG9A , methods 1 to 4 specifically determine the relationship between the slope of change of the voltage of the first battery and the slope of change of the series voltage of the second battery and the third battery, and update the first control parameter or the second control parameter. When applied to FIG9B , methods 1 to 4 specifically determine the slope of change of the voltage of the first battery, the slope of change of the voltage of the second battery, and the slope of change of the series voltage of the third battery, and update the first control parameter, the second control parameter, or the fifth control parameter.

[0131] It is understandable that, in order to achieve the above functions, the above-mentioned charging control device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm operations of the various examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0132] The embodiment of the present application can divide the functional modules of the charging control device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.

[0133] For example, when the functional modules are divided in an integrated manner, Figures 7-9B also illustrate a schematic structural diagram of a charging control device. The charging control device can be the electronic device itself, a chip or system-on-chip in the electronic device, or other combined devices or components that can implement the functions of the charging control device described above. The charging control device can be used to perform the functions of the charging control device involved in the above embodiments.

[0134] As a possible implementation, the charging control device 400 shown in Figures 7-9B includes: a processing circuit 401 and a detection circuit 402; the detection circuit 402 is used to execute steps 101 and 201; the processing circuit 401 is used to execute steps 102, 103, 202, 204, 205, 207 and 208.

[0135] Among them, all relevant contents of each operation involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0136] In this embodiment, the electronic device can be presented in the form of various functional modules divided in an integrated manner. The "module" here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, as shown in Figure 14, the charging control device 400 may include a processor 410 and a memory 420 coupled to the processor 410. The memory 420 stores program code, and the processor 410 is used to execute the program code in the memory to perform the above-mentioned charging control method.

[0137] 7-9B can be implemented by the processor 410 calling computer-executable instructions stored in the memory 420. In some examples, when applied to the electronic device 100, the processor 410 can be the processor 110 in FIG. 2.

[0138] Since the charging control device provided in this embodiment can execute the above-mentioned charging control method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be repeated here.

[0139] Optionally, an embodiment of the present application also provides a charging control device (for example, the charging control device may be a chip or a chip system). When the charging control device is a chip system, it may be composed of chips, or it may include chips and other discrete devices. The embodiment of the present application does not specifically limit this.

[0140] Optionally, an embodiment of the present application further provides a chip, comprising a substrate and a charging circuit fabricated on the substrate.

[0141] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). In the embodiment of the present application, the computer may include the aforementioned device.

[0142] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and implement other changes to the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0143] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A charging circuit, applied to an electronic device, for charging a first battery and a second battery of the electronic device, characterized in that: include: A first voltage conversion circuit and a second voltage conversion circuit; The input end of the first voltage conversion circuit and the input end of the second voltage conversion circuit are coupled to a power supply end; The output end of the first voltage conversion circuit is used to couple the positive electrode of the first battery, the negative electrode of the first battery is coupled to the positive electrode of the second battery, and the negative electrode of the second battery is coupled to the ground; The output end of the second voltage conversion circuit is used to couple the positive electrode of the second battery; Among them, the first voltage conversion ratio of the first voltage conversion circuit is different from the second voltage conversion ratio of the second voltage conversion circuit, and the first voltage conversion circuit is used to output a first current to the first battery and the second battery in a working state, and the second voltage conversion circuit is used to output a second current to the second battery in a working state, and there is an overlapping time between the working states of the first voltage conversion circuit and the second voltage conversion circuit.

2. The charging circuit according to claim 1, characterized in that: The first voltage conversion ratio is smaller than the second voltage conversion ratio.

3. The charging circuit according to claim 1 or 2, characterized in that: The electronic device further includes a third battery, which is connected in parallel with the second battery, or the third battery is connected in series between the negative electrode of the second battery and the ground.

4. The charging circuit according to any one of claims 1 to 3, characterized in that: The first voltage conversion circuit includes any one of the following: a direct charging circuit and a switched capacitor circuit.

5. The charging circuit according to any one of claims 1 to 4, characterized in that: The second voltage conversion circuit includes any one of the following: a switched capacitor circuit and a step-down circuit.

6. The charging circuit according to any one of claims 1 to 5, characterized in that: The first voltage conversion ratio includes 2:2, and the second voltage conversion ratio includes 2:1; Alternatively, the first voltage conversion ratio includes 4:2, and the second voltage conversion ratio includes 4:

1.

7. A charging control method, characterized in that: Applied to an electronic device, the electronic device comprises a charging circuit, a first battery and a second battery; the charging circuit comprises a first voltage conversion circuit and a second voltage conversion circuit; the input end of the first voltage conversion circuit and the input end of the second voltage conversion circuit are coupled to a power supply end; the output end of the first voltage conversion circuit is used to couple the positive electrode of the first battery, the negative electrode of the first battery is coupled to the positive electrode of the second battery, and the negative electrode of the second battery is coupled to the ground; the output end of the second voltage conversion circuit is used to couple the positive electrode of the second battery; The charging control method comprises: Acquiring electrical parameters of the first battery and electrical parameters of the second battery; Outputting a first control parameter to the first voltage conversion circuit according to an electrical parameter of the first battery and an electrical parameter of the second battery; outputting a second control parameter to the second voltage conversion circuit according to the electrical parameters of the first battery and the electrical parameters of the second battery; The first voltage conversion circuit outputs a first current to the first battery and the second battery; The second voltage conversion circuit outputs a second current to the second battery; Among them, a first voltage conversion ratio of the first voltage conversion circuit is different from a second voltage conversion ratio of the second voltage conversion circuit; and there is an overlapping time between the working state of the first voltage conversion circuit and the working state of the second voltage conversion circuit.

8. The charging control method according to claim 7, characterized in that: Also includes: When it is determined according to the electrical parameters of the first battery and the electrical parameters of the second battery that changes in the voltage of the first battery and the voltage of the second battery are not synchronized, the first control parameter and / or the second control parameter are updated.

9. The charging control method according to claim 8, characterized in that: The updating of the first control parameter specifically includes: When it is determined that the change slope of the voltage of the first battery is greater than the change slope of the voltage of the second battery, the first control parameter is updated, wherein the updated first control parameter is used to control the first voltage conversion circuit to increase the equivalent impedance.

10. The charging control method according to claim 8, characterized in that: The updating of the second control parameter specifically includes: When it is determined that the change slope of the voltage of the first battery is greater than the change slope of the voltage of the second battery, the second control parameter is updated, wherein the updated second control parameter is used to control the second voltage conversion circuit to reduce the equivalent impedance.

11. The charging control method according to claim 8, characterized in that: The updating of the first control parameter specifically includes: When it is determined that the change slope of the voltage of the first battery is smaller than the change slope of the voltage of the second battery, the first control parameter is updated, wherein the updated first control parameter is used to control the first voltage conversion circuit to reduce the equivalent impedance.

12. The charging control method according to claim 8, characterized in that: The updating of the first control parameter specifically includes: When it is determined that the change slope of the voltage of the first battery is smaller than the change slope of the voltage of the second battery, the second control parameter is updated, wherein the updated second control parameter is used to control the second voltage conversion circuit to increase the equivalent impedance.

13. A chip, characterized in that: The invention comprises a substrate and a charging circuit as claimed in any one of claims 1 to 6 manufactured on the substrate.

14. A charging control device, applied to an electronic device, wherein the electronic device is used to connect to a charger to form a charging system, and the charger is used to charge a battery of the electronic device; characterized in that: The charging control device includes: a processor and a memory coupled to the processor; The memory stores program codes, and the processor is used to execute the program codes in the memory to execute the charging control method according to any one of claims 7 to 12.

15. An electronic device, characterized in that: The invention comprises a charging circuit as claimed in any one of claims 1 to 6, and a first battery and a second battery, wherein the charging circuit connects the first battery and the second battery.

16. An electronic device, characterized in that: The invention comprises the charging control device as claimed in claim 14, and a first battery and a second battery, wherein the charging control device connects the first battery and the second battery.

Citation Information

Patent Citations

  • Electronic device, charging circuit, charging control method and chip

    CN117118006A

  • Dual-battery charging device and mobile terminal

    CN111864843A

  • Battery cell connection state switching method, power supply system and electronic equipment

    CN114094647A

  • Multi-battery power supply, charging and discharging method and electronic equipment

    CN114865755A

  • Charging circuit and electronic equipment

    CN114884157A