Charging equalization circuit, charging equalization method and electronic equipment
By designing a charging equalization circuit in electronic devices and using the output current control of the SC circuit and the BUCK circuit, the problem of unbalanced charging of the battery pack is solved, and the effect of quickly filling the battery pack is achieved.
Patent Information
- Application Number
- CN202411978801.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-05-09
AI Technical Summary
In electronic devices such as folding screen mobile phones, the charging time is long due to unbalanced charging of the battery pack, especially because the motherboard occupies space, resulting in a small charging current of the battery with a large rated power, which cannot be fully charged in time.
A charging equalization circuit is designed, including a fast charging SC circuit, a step-down BUCK circuit and a processor. By obtaining the current and power of each battery, controlling the output current of the SC circuit and the BUCK circuit, the charging current equalization of the battery pack is achieved.
By equalizing the charging current, the charging time is shortened, the battery pack is quickly fully charged, and the charging efficiency is improved.
Smart Images

Figure CN119966022A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging, and in particular to a charging equalization circuit, a charging equalization method and an electronic device. Background Art
[0002] At present, in electronic devices including foldable screen mobile phones, battery packs usually use multiple batteries in parallel. Due to the size limitation of electronic devices, battery packs usually include a battery with a large rated capacity and a battery with a small rated capacity. Since the motherboard occupies the area of the foldable screen, the battery with a small rated capacity will be installed close to the motherboard, and the battery with a large rated capacity will be installed away from the motherboard.
[0003] However, since the mainboard includes a charging chip, when the charging chip controls the switched capacitor DC-DC converter (SC) circuit (also called charge pump) to charge the battery pack, the input voltage of the two batteries is the same. Although the battery with a larger rated capacity has a larger rated capacity, it is far away from the mainboard and has a high line resistance. Therefore, the charging current of the battery with a larger rated capacity is small. In this way, during the fast charging process, when the battery with a smaller rated capacity is fully charged, the battery with a larger rated capacity is not fully charged yet. The voltages of the two batteries are different. Therefore, it is usually necessary to wait for the two batteries to charge and balance each other, and then charge for a period of time before the two batteries can be fully charged, resulting in a relatively long charging time. Summary of the invention
[0004] The embodiments of the present application provide a charging equalization circuit, a charging equalization method and an electronic device, which are used to equalize the charging current of a battery pack and reduce the charging time.
[0005] To achieve the purpose, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, a charge balancing circuit is provided, the charge balancing circuit comprising a fast charge SC circuit, a buck BUCK circuit and a processor, the processor being used to control the charge balancing circuit to balance the charging current of a battery pack; the battery pack comprising a first battery and a second battery, wherein the first battery and the second battery are connected in parallel, and a first rated power of the first battery is less than a second rated power of the second battery; the SC circuit and the BUCK circuit are respectively connected to the processor, the first battery and the second battery; a line resistance between the SC circuit and the first battery is less than a line resistance between the SC circuit and the second battery; a line resistance between the BUCK circuit and the first battery is greater than a line resistance between the BUCK circuit and the second battery; the processor is used to: obtain a first current and a first power of the first battery; obtain a second current and a second power of the second battery; and control an output current of the SC circuit and the BUCK circuit according to the first current, the first power, the second current and the second power.
[0007] In the above charging equalization circuit, since the first rated power of the first battery is less than the second rated power of the second battery, the line resistance between the SC circuit and the first battery is less than the line resistance between the SC circuit and the second battery; the line resistance between the BUCK circuit and the first battery is greater than the line resistance between the BUCK circuit and the second battery. Therefore, no matter the battery pack is charged only through the SC circuit or only through the BUCK circuit, the charging current of the first battery and the second battery will be unbalanced. The charging equalization circuit can control the output current of the SC circuit and the BUCK circuit according to the charging current and the power to be charged of the two batteries, so as to balance the charging current of the two batteries and reduce the charging time.
[0008] In an implementation manner of the first aspect, the SC circuit is connected to the positive electrode of the first battery and the positive electrode of the second battery respectively; the BUCK circuit is connected to the positive electrode of the first battery and the positive electrode of the second battery respectively; and the negative electrode of the first battery is connected to the negative electrode of the second battery.
[0009] In this implementation, the processor controls the first battery and the second battery to be charged synchronously through an SC circuit, thereby saving device costs.
[0010] In an implementation manner of the first aspect, the SC circuit includes a first SC circuit and a second SC circuit; the first SC circuit and the BUCK circuit are respectively connected to the positive electrode of the first battery; and the second SC circuit and the BUCK circuit are respectively connected to the positive electrode of the second battery.
[0011] In this implementation, the processor controls the first battery and the second battery to be charged independently through the first SC circuit and the second SC circuit respectively, and the charging processes of the first battery and the second battery do not affect each other.
[0012] In an implementation manner of the first aspect, the processor is further used to: after controlling the SC circuit to perform initial constant current charging of the battery pack, control the BUCK circuit to charge the battery pack.
[0013] In this implementation, since the current in the first constant current charging stage is generally large and the voltage is relatively small, it is suitable for fast charging. The processor controls the SC circuit to perform the first constant current charging of the battery pack, which can shorten the charging time. In the first constant current charging stage, the processor only charges the battery pack through the SC circuit. The charging current of the first battery is greater than the charging current of the second battery. After the first constant current charging stage, the charging currents of the two batteries are unbalanced. The line resistance between the BUCK circuit and the first battery is greater than the line resistance between the BUCK circuit and the second battery, and the charging current of the first battery is less than the charging current of the second battery. Therefore, the processor can balance the charging current of the first battery and the second battery when controlling the charging of the battery pack through the BUCK circuit. And after the first constant current charging stage, the currents of the first battery and the second battery are balanced, which can shorten the charging time without affecting the fast charging of the battery pack.
[0014] In an implementation manner of the first aspect, after the processor also controls the BUCK circuit to charge the battery pack, the output current of the SC circuit and the BUCK circuit is controlled according to the first current, the first power, the second current and the second power, including: when the current ratio of the second current to the first current is less than the ratio of the second amount to be charged of the second battery to the first amount to be charged of the first battery, the output current of the SC circuit is reduced and the output current of the BUCK circuit is increased; wherein the first amount to be charged is used to indicate the difference between the first rated power and the first power; the second amount to be charged is used to indicate the difference between the second rated power and the second power; when the current ratio is greater than the ratio of the amounts to be charged, the output current of the SC circuit is increased and the output current of the BUCK circuit is reduced.
[0015] When the current ratio of the second current to the first current is less than the ratio of the second amount to be charged of the second battery to the first amount to be charged of the first battery, it indicates that the charging rate of the first battery is greater than the charging rate of the second battery, and the charging rate of the second battery needs to be increased. When the current ratio is greater than the ratio of the amount to be charged, the charging rate of the first battery is less than the charging rate of the second battery, and the charging rate of the first battery needs to be increased.
[0016] In this implementation, when the current ratio of the second current to the first current is less than the ratio of the second amount to be charged of the second battery to the first amount to be charged of the first battery, since the charging current of the first battery is greater than the charging current of the second battery when the processor charges the battery pack through the SC circuit, and when the battery pack is charged through the BUCK circuit, since the charging current of the first battery is less than the charging current of the second battery, the processor reduces the current of the SC circuit and increases the current of the BUCK circuit, thereby achieving the purpose of increasing the charging rate of the second battery. When the current ratio is greater than the ratio of the amount to be charged, since the charging current of the first battery is greater than the charging current of the second battery when the processor charges the battery pack through the SC circuit, and when the battery pack is charged through the BUCK circuit, since the charging current of the first battery is less than the charging current of the second battery, the processor increases the current of the SC circuit and reduces the current of the BUCK circuit, thereby achieving the purpose of increasing the charging rate of the first battery.
[0017] In an implementation manner of the first aspect, the charging equalization circuit also includes a charging protocol chip, input ends of the SC circuit and the BUCK circuit are both connected to the output end of the power adapter, the charging protocol chip is used to communicate with the power adapter, and the processor is also used to: send a first control instruction to the power adapter through the charging protocol chip; the first control instruction is used to instruct to increase or decrease the output voltage of the power adapter.
[0018] In this implementation, according to the charging characteristics of the SC circuit and the BUCK circuit, the output current of the SC circuit is reduced and the output current of the BUCK circuit is increased, and the output current of the SC circuit is increased and the output current of the BUCK circuit is reduced, respectively, by only increasing or decreasing the output voltage of the power adapter, and the control method is simple.
[0019] In an implementable manner of the first aspect, reducing the output current of the SC circuit and increasing the output current of the BUCK circuit include: reducing the output current of the SC circuit by reducing the output voltage of the power adapter; and increasing the output current of the BUCK circuit after reducing the output current of the SC circuit; increasing the output current of the SC circuit and reducing the output current of the BUCK circuit include: increasing the output current of the SC circuit by increasing the output voltage of the power adapter; and reducing the output current of the BUCK circuit after increasing the output current of the SC circuit.
[0020] In this implementation, according to the charging characteristics of the SC circuit and the BUCK circuit, the output current of the SC circuit is reduced by reducing the output voltage of the power adapter, and after reducing the output current of the SC circuit, the output current of the BUCK circuit is increased; and the output current of the SC circuit is increased by increasing the output voltage of the power adapter, and after increasing the output current of the SC circuit, the output current of the BUCK circuit is reduced. The purpose of adjusting the output current of the SC circuit and the BUCK circuit can be achieved on the basis of only adjusting the output voltage of the power adapter, and the control method is simple.
[0021] In a second aspect, a charging balancing method is provided, which is used to control a fast charging SC circuit and a buck BUCK circuit to balance the charging current of a battery pack; the battery pack includes a first battery and a second battery, wherein the first battery and the second battery are connected in parallel, and the first rated power of the first battery is less than the second rated power of the second battery; the SC circuit and the BUCK circuit are respectively connected to the first battery and the second battery; the line resistance between the SC circuit and the first battery is less than the line resistance between the SC circuit and the second battery; the line resistance between the BUCK circuit and the first battery is greater than the line resistance between the BUCK circuit and the second battery; the first current and the first power of the first battery are obtained; the second current and the second power of the second battery are obtained; and the output current of the SC circuit and the BUCK circuit is controlled according to the first current, the first power, the second current and the second power.
[0022] In an implementation manner of the second aspect, the SC circuit is connected to the positive electrode of the first battery and the positive electrode of the second battery respectively; the BUCK circuit is connected to the positive electrode of the first battery and the positive electrode of the second battery respectively; and the negative electrode of the first battery is connected to the negative electrode of the second battery.
[0023] In an implementation manner of the second aspect, the SC circuit includes a first SC circuit and a second SC circuit; the first SC circuit and the BUCK circuit are respectively connected to the positive electrode of the first battery; and the second SC circuit and the BUCK circuit are respectively connected to the positive electrode of the second battery.
[0024] In an implementation manner of the second aspect, the method further includes: after controlling the SC circuit to perform constant current charging on the battery pack for the first time, controlling the BUCK circuit to charge the battery pack.
[0025] In an implementation manner of the second aspect, after the processor also controls the BUCK circuit to charge the battery pack, the output current of the SC circuit and the BUCK circuit is controlled according to the first current, the first power, the second current and the second power, including: when the current ratio of the second current to the first current is less than the ratio of the second amount to be charged of the second battery to the first amount to be charged of the first battery, the output current of the SC circuit is reduced, and the output current of the BUCK circuit is increased; wherein the first amount to be charged is used to indicate the difference between the first rated power and the first power; the second amount to be charged is used to indicate the difference between the second rated power and the second power; when the current ratio is greater than the ratio of the amounts to be charged, the output current of the SC circuit is increased, and the output current of the BUCK circuit is reduced.
[0026] In an implementation manner of the second aspect, the charging equalization circuit also includes a charging protocol chip, the input ends of the SC circuit and the BUCK circuit are both connected to the output end of the power adapter, the charging protocol chip is used to communicate with the power adapter, and the processor is also used to: send a first control instruction to the power adapter through the charging protocol chip; the first control instruction is used to instruct to increase or decrease the output voltage of the power adapter.
[0027] In an implementation manner of the second aspect, reducing the output current of the SC circuit and increasing the output current of the BUCK circuit include: reducing the output current of the SC circuit by reducing the output voltage of the power adapter; and increasing the output current of the BUCK circuit after reducing the output current of the SC circuit; increasing the output current of the SC circuit and reducing the output current of the BUCK circuit include: increasing the output current of the SC circuit by increasing the output voltage of the power adapter; and reducing the output current of the BUCK circuit after increasing the output current of the SC circuit.
[0028] In a third aspect, an electronic device is provided, comprising the charging equalization circuit as described in the first aspect and any embodiment thereof.
[0029] In a fourth aspect, an electronic device is provided, comprising a memory and one or more processors, wherein a computer program code is stored in the memory, and the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the charging equalization method as described in the second aspect and any embodiment thereof.
[0030] In a fifth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the charging equalization method as described in the second aspect and any embodiment thereof.
[0031] In a sixth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the charging equalization method as described in the second aspect and any embodiment thereof.
[0032] Among them, the technical effects brought about by the design methods of the second, third, fourth, fifth and sixth aspects can refer to the technical effects brought about by the different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A possible structural diagram of an electronic device provided in an embodiment of the present application;
[0034] Figure 2 A schematic diagram of a structure of a battery pack installed on the back of a display screen according to a related technology provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of a charging circuit structure including two SC circuits according to a related technology provided in an embodiment of the present application;
[0036] Figure 4 A schematic diagram of a charging circuit structure including an SC circuit according to a related technology provided in an embodiment of the present application;
[0037] Figure 5 A schematic diagram of a charging equalization circuit including an SC circuit provided in an embodiment of the present application;
[0038] Figure 6 A flow chart of a charging equalization method including two SC circuits provided in an embodiment of the present application;
[0039] Figure 7 A flow chart of a charging equalization method provided in an embodiment of the present application;
[0040] Figure 8 A schematic diagram of a fast charging process provided in an embodiment of the present application;
[0041] Fig. 9 A flowchart of a charging equalization method during fast charging provided in an embodiment of the present application;
[0042] Fig.10 A schematic diagram of a charging equalization circuit combining software and hardware provided in an embodiment of the present application;
[0043] Fig.11 A schematic diagram of the charging characteristics of an SC circuit and a BUCK circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. At the same time, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way for easy understanding. The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense, for example, it can refer to a physical direct connection, or it can refer to an indirect connection achieved by an electronic device, such as a connection achieved by a resistor, an inductor, a capacitor or other electronic devices.
[0045] Balanced charging is charging that balances battery characteristics. It means that during the use of the battery, the battery terminal voltage is unbalanced due to individual differences in batteries, temperature differences, etc. In order to avoid the deterioration of this imbalance trend, it is necessary to increase the charging voltage of the battery pack and activate the battery to achieve balanced characteristics of each battery in the battery pack and extend the battery life.
[0046] Charge pump (SC), also known as switched capacitor DC-DC converter (switch capacity voltage converter).
[0047] A DC step-down (BUCK) circuit, also known as a buck converter, is a single-tube non-isolated DC converter whose output voltage is less than the input voltage.
[0048] An embodiment of the present application provides an electronic device, which is an electronic device with a battery pack. The electronic device can be mobile or fixed. The electronic device can be deployed on land (for example, indoors or outdoors, handheld or vehicle-mounted, etc.), can be deployed on the water (for example, ships, etc.), and can also be deployed in the air (for example, airplanes, balloons, and satellites, etc.). The electronic device can be called user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, terminal agent or terminal device, etc. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a smart bracelet, a smart screen, a smart watch, a virtual reality (VR) device, an augmented reality (AR) device, a terminal in industrial control, a terminal in self-driving, a terminal in remote medical care, a terminal in smart grid, a terminal in transportation safety, a terminal in smart city, a terminal in smart home, etc. The embodiments of the present application do not limit the specific type and structure of the electronic device. A possible structure of the electronic device is described below.
[0049] Take the mobile phone as an example, Figure 1A possible structure of the electronic device 100 is shown. The electronic device 100 may include a processor 8, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a power management module 240, a battery pack 2, a charging equalization circuit 10, a wireless charging coil 242, a mobile communication module 250, a wireless communication module 260, an antenna 251, an antenna 261, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 3, and a subscriber identification module (SIM) card interface 295. Optionally, in some embodiments, an audio digital signal processor (ADSP) 243 is also included.
[0050] 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.
[0051] The processor 8 may include one or more processing units, for example, the processor 8 may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), an application processor (AP), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, and a neural-network processing unit (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. For example, the processor 8 may be an application processor AP. Alternatively, the processor 8 may be integrated in a system on chip (SoC). Alternatively, the processor 8 may be integrated in an integrated circuit (IC) chip. The processor 8 may include an analog front end (AFE) and a micro-controller unit (MCU) in an IC chip.
[0052] The processor 8 may also be provided with a memory for storing computer instructions and data. In some embodiments, the memory in the processor 8 is a cache memory. The memory may store computer instructions or data that have just been used or are cyclically used by the processor 8. If the processor 8 needs to use the computer instructions or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 8, and thus improves the efficiency of the system.
[0053] In some embodiments, the processor 8 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 USB interface, etc.
[0054] In some embodiments, the processor 8 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the present disclosure. The above-mentioned processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0055] ADSP 243 can be coupled with audio module 270 and sensor module 280, and ADSP 243 can be used to process audio signals and sensor data. When processor 8 is in sleep mode, ADSP 243 can still keep working, thereby reducing power consumption of electronic equipment.
[0056] In the embodiment of the present application, the processor 8, the ADSP 243 and the charge equalization circuit 10 can all be arranged on the mainboard 1. The processor 8 and the ADSP 243 are used to control the charge equalization circuit 10 to equalize the charging current of the battery pack 2. The difference is that when the processor 8 is in a dormant state, the processor 8 cannot control the charge equalization circuit 10 to equalize the charging current of the battery pack 2, while the ADSP 243 can still control the charge equalization circuit 10 to equalize the charging current of the battery pack 2.
[0057] 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 embodiment, or a combination of multiple interface connection methods.
[0058] The external memory interface 220 can be used to connect an external memory card, such as a micro SanDisk (Micro SD) card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 8 via the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0059] The internal memory 221 may be used to store computer executable program codes, which include computer instructions. The processor 8 executes the computer instructions stored in the internal memory 221 to execute various functional applications and data processing of the electronic device 100.
[0060] In the embodiment of the present application, when the computer instruction is executed by the processor 8, the electronic device 100 executes the charging equalization method in the embodiment of the present application.
[0061] In addition, the internal memory 221 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0062] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0063] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone interface 270D and the application processor.
[0064] The button 290 includes a power button, a volume button, etc. The button 290 may be a mechanical button. It may also be a touch button. The electronic device 100 may receive a button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 291 may generate a vibration prompt. The motor 291 may be used for an incoming call vibration prompt or for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate the charging status, the change in power, or may be used to indicate messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect a SIM card. The SIM card may be inserted into or removed from the SIM card interface 295 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support a Nano SIM card, a Micro SIM (MicZoSIM) card, a SIM card, etc. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0065] The electronic device 100 can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 3, and the application processor. The ISP is used to process the data fed back by the camera 293. In some embodiments, the ISP can be set in the camera 293. The camera 293 is used to capture a static image or a video. In some embodiments, the electronic device 100 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0066] The electronic device 100 can realize the display function through a GPU, a display screen 3, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 3 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 8 may include one or more GPUs, which execute computer instructions to generate or change display information.
[0067] The power management module 240 is used to receive charging input from a charger. The charger may be a wireless charger, such as a wireless charging base, other electronic devices 100 with reverse wireless charging function, etc. The power management module 240 may receive wireless charging input through a wireless charging coil 242 of the electronic device. The charger may also be a wired charger, for example, the power management module 240 may receive charging input from a wired charger through the USB interface 230. The power management module 240 is also called a charging chip.
[0068] The power management module 240 is used to connect to the battery pack 2. The power management module 240 receives input from the battery pack 2 and supplies power to the processor 8, the internal memory 221, the display screen 3, the camera 293, and the wireless communication module 260. The power management module 240 can also be used to monitor parameters such as the power of the battery pack 2, the number of cycles of the battery pack 2, and the health status (leakage, impedance) of the battery pack 2. In some other embodiments, the power management module 240 can also be set in the processor 8.
[0069] The wireless communication function of the electronic device 100 can be implemented through the antenna 251, the antenna 261, the mobile communication module 250, the wireless communication module 260, the modem processor, etc.
[0070] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The wireless communication module 260 can provide solutions for wireless communications 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 technology (NFC), infrared technology (IR), etc., applied to the electronic device 100.
[0071] In the related art, exemplary ones are shown in the attached Figure 2 As shown, the electronic device 100 includes a foldable display screen 3, and the foldable display screen 3 includes a first display screen 31 and a second display screen 32. The mainboard 1 and the first battery 21 are installed on the back of the first display screen 31. Only the second battery 22 is installed on the back of the second display screen 32. Generally, the size (including thickness, volume, area, etc.) of the first display screen 31 and the second display screen 32 are the same.
[0072] Assume that the volumes of the first display screen 31 and the second display screen 32 are both V. The second battery 22 usually occupies the entire volume of the second display screen 32. Therefore, the volume V2 of the second battery 22 is also V. On the back of the first display screen 31, since the main board 1 occupies a certain space, that is, a certain volume, the volume V1 of the first battery 21 < V. According to V2 = V and V1 < V, it can be known that the volume V1 of the first battery 21 is smaller than the volume V2 of the second battery 22. Since the larger the volume of the battery, the larger the rated capacity, and thus the larger the rated power, and the smaller the volume of the battery, the smaller the rated capacity, and thus the smaller the rated power. Therefore, the first rated power E 10 of the first battery 21 is less than the second rated power E 20 of the second battery 22.
[0073] When the SC circuit 4 and the BUCK circuit 5 are used to charge the battery pack 2, the SC circuit 4 can include one SC circuit 4, or can include two SC circuits 4, namely the first SC circuit 41 and the second SC circuit 42.
[0074] When the SC circuit includes two SC circuits 4, namely the first SC circuit 41 and the second SC circuit 42,示例性, as shown in the appendix Figure 3 , the input ends of the first SC circuit 41, the second SC circuit 42 and the BUCK circuit 5 are all connected to the charging port 6, and are charged by connecting to a power source through the charging port 6. The output end of the first SC circuit 41 is connected to the first battery 21 through a wire, and the line resistance between the first SC circuit 41 and the first battery 21 is R1. The output end of the second SC circuit 42 is connected to the second battery 22 through a wire, and the line resistance between the second SC circuit 42 and the second battery 22 is R2. Since both the first SC circuit 41 and the second SC circuit 42 are provided on the main board 1, the starting points of the lines are the same, and the first battery 21 is close to the main board 1 while the second battery 22 is far from the main board 1, resulting in the wire length L1 between the first SC circuit 41 and the first battery 21 being less than the wire length L2 between the second SC circuit 42 and the second battery 22. Therefore, the line resistance R1 between the first SC circuit 41 and the first battery 21 is less than the line resistance R2 between the second SC circuit 42 and the second battery 22. The output end of the BUCK circuit 5 is connected to the load 7, and the output end of the BUCK circuit 5 is also connected to the first battery 21 and the second battery 22 respectively through wires. The wire length L3 + L4 between the BUCK circuit 5 and the first battery 21 is greater than the wire length L3 between the BUCK circuit 5 and the second battery 22. Therefore, the line resistance between the BUCK circuit 5 and the first battery 21 is R3 + R4, and the line resistance between the BUCK circuit 5 and the second battery 22 is R3. That is to say, the line resistance R3 + R4 between the BUCK circuit 5 and the first battery 21 is greater than the line resistance R3 between the BUCK circuit 5 and the second battery 22.
[0075] Attached Figure 3 The circuit shown works as follows:
[0076] When the battery pack 2 is fast charged, the BUCK circuit 5 is disconnected, that is, the BUCK circuit 5 does not charge the battery pack 2, and the processor 8 controls the first SC circuit 41 and the second SC circuit 42 to charge the battery pack 2. Since the output voltages of the first SC circuit 41 and the second SC circuit 42 are the same, the line resistance R1 between the first SC circuit 41 and the first battery 21 is smaller than the line resistance R2 between the second SC circuit 42 and the second battery 22. Therefore, the charging current of the first battery 21 is greater than the charging current of the second battery 22.
[0077] When the battery pack 2 is slowly charged, the SC circuit 4 is disconnected, that is, the first SC circuit 41 and the second SC circuit 42 are disconnected, and the SC circuit 4 does not charge the battery pack 2. The processor 8 controls the BUCK circuit 5 to charge the battery pack 2. Since the line resistance R3+R4 between the BUCK circuit 5 and the first battery 21 is greater than the line resistance R3 between the BUCK circuit 5 and the second battery 22, the charging current of the first battery 21 is less than the charging current of the second battery 22.
[0078] When the SC circuit 4 includes one SC circuit, namely, the SC circuit 4, illustratively, as shown in the attached Figure 4As shown, the input ends of the SC circuit 4 and the BUCK circuit 5 are both connected to the charging port 6, and the power source is connected through the charging port 6 for charging. The output end of the SC circuit 4 is connected to the first battery 21 and the second battery 22 through a wire. Since the SC circuit 4 is located on the mainboard 1, the first battery 21 is close to the mainboard 1, and the second battery 22 is far away from the mainboard 1, the wire length L1 between the SC circuit 4 and the first battery 21 is less than the wire length L1+L2 between the SC circuit 4 and the second battery 22. Therefore, the line resistance between the SC circuit 4 and the first battery 21 is R1, and the line resistance between the SC circuit 4 and the second battery 22 is R1+R2, that is, the line resistance R1 between the SC circuit 4 and the first battery 21 is less than the line resistance R1+R2 between the SC circuit 4 and the second battery 22. The output end of the BUCK circuit 5 is connected to the load 7. The output end of the BUCK circuit 5 is also connected to the first battery 21 and the second battery 22 through wires. The wire length L2+L3 between the BUCK circuit 5 and the first battery 21 is greater than the wire length L3 between the BUCK circuit 5 and the second battery 22. Therefore, the line resistance between the BUCK circuit 5 and the first battery 21 is R2+R3, and the line resistance between the BUCK circuit 5 and the second battery 22 is R3. That is, the line resistance R2+R3 between the BUCK circuit 5 and the first battery 21 is greater than the line resistance R3 between the BUCK circuit 5 and the second battery 22.
[0079] Attached Figure 4 The circuit shown works as follows:
[0080] When the battery pack 2 is fast charged, the BUCK circuit 5 is disconnected, that is, the BUCK circuit 5 does not charge the battery pack 2, and the processor 8 controls the SC circuit 4 to charge the battery pack 2. Since the line resistance R1 between the SC circuit 4 and the first battery 21 is smaller than the line resistance R1+R2 between the SC circuit 4 and the second battery 22, the charging current of the first battery 21 is greater than the charging current of the second battery 22.
[0081] When the battery pack 2 is slowly charged, the SC circuit 4 is disconnected, that is, the SC circuit 4 does not charge the battery pack 2, and the processor 8 controls the BUCK circuit 5 to charge the battery pack 2. Since the line resistance R2+R3 between the BUCK circuit 5 and the first battery 21 is greater than the line resistance R3 between the BUCK circuit 5 and the second battery 22, the charging current of the first battery 21 is less than the charging current of the second battery 22.
[0082] By the attached Figure 3 and attached Figure 4It can be seen from the related technologies shown that: no matter fast charging or slow charging, due to the different line resistances between the SC circuit 4 and the first battery 21, the second battery 22, and the different line resistances between the BUCK circuit 5 and the first battery 21, the second battery 22, the processor 8 will charge the battery pack 2 through the SC circuit 4 or the BUCK circuit 5. The charging current of the first battery 21 and the second battery 22 are unbalanced. When one battery is fully charged, the other battery is not fully charged. It is necessary to wait for the two batteries to be charged and balanced, and then charge for a period of time before the two batteries can be completely charged, thereby extending the charging time.
[0083] To this end, a charging equalization circuit is provided in an embodiment of the present application. Based on the charging equalization circuit provided in the embodiment of the present application, the output current of the SC circuit and the BUCK circuit can be controlled according to the charging current and the amount of electricity to be charged of the two batteries, thereby balancing the charging current of the two batteries and reducing the charging time.
[0084] In the charging equalization circuit provided in the embodiment of the present application, the processor may be the processor 8 in the electronic device 100 , the charging equalization circuit may be the charging equalization circuit 10 in the electronic device 100 , and the battery pack may be the battery pack 2 in the electronic device 100 .
[0085] The embodiment of the present application takes the battery pack 2 including the first battery 21 and the second battery 22 as an example to specifically illustrate the charge equalization circuit 10 of the present application.
[0086] For example, as shown in the attached Figure 5 As shown, the charging equalization circuit 10 includes an SC circuit 4, a BUCK circuit 5 and a processor 8, and the processor 8 is used to control the charging equalization circuit 10 to balance the charging current of the battery pack 2; the battery pack 2 includes a first battery 21 and a second battery 22, wherein the first battery 21 and the second battery 22 are connected in parallel, and the first rated power E of the first battery 21 10 is less than the second rated capacity E of the second battery 22 20 SC circuit 4 and BUCK circuit 5 are respectively connected to processor 8, first battery 21 and second battery 22; the line resistance between SC circuit 4 and first battery 21 is less than the line resistance between SC circuit 4 and second battery 22; the line resistance between BUCK circuit 5 and first battery 21 is greater than the line resistance between BUCK circuit 5 and second battery 22; processor 8 is used to: obtain the first current I1 and the first electric quantity E of the first battery 21 11 ; Obtain the second current I2 and the second power E of the second battery 22 21 According to the first current I1, the first electric quantity E 11 , the second current I2 and the second electric quantity E 21 , controlling the output current of the SC circuit 4 and the BUCK circuit 5.
[0087] In a possible implementation, the processor 8 may be a system processor, such as an SCP, or an application processor, such as an AISP. The type of the processor 8 in the embodiment of the present application is not limited.
[0088] In a possible implementation, the first current I1 and the first charge E of the first battery 21 are 11 , the second current I2 and the second electric quantity E of the second battery 22 21 The acquisition can be performed by detecting the current and the power quantity through the power meter 11 (including the first power meter 111 and the second power meter 112), or by detecting the current through an ammeter and the power quantity through a power meter respectively. The method of detecting the current and the power quantity in the embodiment of the present application is not limited.
[0089] Attached Figure 5 The circuit shown works as follows:
[0090] Since the first rated capacity E of the first battery 21 10 is less than the second rated capacity E of the second battery 22 20 , the line resistance between the SC circuit 4 and the first battery 21 is smaller than the line resistance between the SC circuit 4 and the second battery 22, and the line resistance between the BUCK circuit 5 and the first battery 21 is larger than the line resistance between the BUCK circuit 5 and the second battery 22. It can be seen that: during fast charging, that is, when the processor 8 only charges the battery pack 2 through the SC circuit 4, the charging current of the first battery 21 is greater than the charging current of the second battery 22, and the charging currents of the two batteries are unbalanced. During slow charging, that is, when the processor 8 only charges the battery pack 2 through the BUCK circuit 5, the charging current of the first battery 21 is smaller than the charging current of the second battery 22, and the charging currents of the two batteries are unbalanced. Therefore, during the charging process, the processor 8 respectively obtains the first current I1 and the first charge E of the first battery 21. 11 , the second current I2 and the second electric quantity E of the second battery 22 21 , according to the first current I1 and the first electric quantity E 11 , the second current I2 and the second electric quantity E 21 , controlling the output current of the SC circuit 4 and the BUCK circuit 5, thereby balancing the charging currents of the two batteries.
[0091] The charging equalization circuit 10 provided in the embodiment of the present application can control the output current of the SC circuit 4 and the BUCK circuit 5 according to the charging current and the amount of electricity to be charged of the two batteries, thereby balancing the charging current of the two batteries and reducing the charging time.
[0092] For example, as shown in the attached Figure 5As shown, the SC circuit 4 is connected to the positive electrode of the first battery 21 and the positive electrode of the second battery 22 respectively; the BUCK circuit 5 is connected to the positive electrode of the first battery 21 and the positive electrode of the second battery 22 respectively; the negative electrode of the first battery 21 is connected to the negative electrode of the second battery 22.
[0093] When there is one SC circuit 4, the processor 8 controls the charging current of the first battery 21 and the second battery 22 simultaneously through one SC circuit 4. The output ends of the SC circuit 4 and the BUCK circuit 5 are respectively connected to the positive electrode of the first battery 21 and the positive electrode of the second battery 22, and the negative electrode of the first battery 21 is connected to the negative electrode of the second battery 22, indicating that the first battery 21 and the second battery 22 are connected in parallel, and the SC circuit 4 and the BUCK circuit 5 are respectively connected to the first battery 21, and the processor 8 controls the charging current of the first battery 21 through the SC circuit 4 and the BUCK circuit 5 respectively, and the SC circuit 4 and the BUCK circuit 5 are also respectively connected to the second battery 22, and the processor 8 also controls the charging current of the second battery 22 through the SC circuit 4 and the BUCK circuit 5 respectively. In the process of the processor 8 controlling the charging current of the first battery 21 and the second battery 22 simultaneously through one SC circuit 4, the device cost is saved, but the process of charging the first battery 21 and the second battery 22 through the SC circuit 4 is synchronous, so they cannot be charged independently.
[0094] In a possible implementation, there may be one or two SC circuits 4 , and the embodiment of the present application does not limit the number of SC circuits 4 .
[0095] For example, as shown in the attached Figure 6 As shown, the SC circuit 4 may further include a first SC circuit 41 and a second SC circuit 42. The first SC circuit 41 and the BUCK circuit 5 are respectively connected to the positive electrode of the first battery 21; the second SC circuit 42 and the BUCK circuit 5 are respectively connected to the positive electrode of the second battery 22.
[0096] When there are two SC circuits 4, the processor 8 controls the charging current of the first battery 21 and the second battery 22 respectively through the first SC circuit 41 and the second SC circuit 42. The first SC circuit 41 and the BUCK circuit 5 are respectively connected to the positive electrode of the first battery 21, and the second SC circuit 42 and the BUCK circuit 5 are respectively connected to the positive electrode of the second battery 22, indicating that the first SC circuit 41 and the BUCK circuit 5 are respectively connected to the first battery 21, and the processor 8 controls the charging current of the first battery 21 through the first SC circuit 41 and the BUCK circuit 5, and the second SC circuit 42 and the BUCK circuit 5 are also respectively connected to the second battery 22, and the processor 8 also controls the charging current of the second battery 22 through the second SC circuit 42 and the BUCK circuit 5. In the process of the processor 8 controlling the charging current of the first battery 21 and the second battery 22 respectively through the first SC circuit 41 and the second SC circuit 42, the process of charging the first battery 21 and the second battery 22 respectively through the first SC circuit 41 and the second SC circuit 42 is independent.
[0097] To solve the above problems, the embodiment of the present application also provides a charging balancing method, which can similarly control the output current of the SC circuit 4 and the BUCK circuit 5 according to the charging current and the amount of electricity to be charged of the two batteries, thereby balancing the charging current of the two batteries and reducing the charging time.
[0098] For example, as shown in the attached Figure 7 As shown, the charging equalization method is used to control the fast charging SC circuit 4 and the buck BUCK circuit 5 to balance the charging current of the battery pack 2; the battery pack 2 includes a first battery 21 and a second battery 22, wherein the first battery 21 and the second battery 22 are connected in parallel, and the first rated power E of the first battery 21 10 is less than the second rated capacity E of the second battery 22 20 ; The SC circuit 4 and the BUCK circuit 5 are connected to the first battery 21 and the second battery 22 respectively; the line resistance between the SC circuit 4 and the first battery 21 is less than the line resistance between the SC circuit 4 and the second battery 22; the line resistance between the BUCK circuit 5 and the first battery 21 is greater than the line resistance between the BUCK circuit 5 and the second battery 22. The charging equalization method may include steps S701-S703:
[0099] Step S701: the processor 8 obtains a first current I1 and a first charge E of the first battery 21. 11 .
[0100] The processor 8 obtains the first power E of the first battery 21. 11 The purpose is to obtain the first charge capacity E1 of the first battery 21, wherein the first charge capacity E1 = the first rated capacity E 10 -First Electricity E11 .
[0101] Step S702: the processor 8 obtains the second current I2 and the second power E of the second battery 22. 21 .
[0102] The processor 8 obtains the second power E of the second battery 22. 21 The purpose is to obtain the second charge capacity E2 of the second battery 22, wherein the second charge capacity E2 = the second rated capacity E 20 - Second power E 21 .
[0103] Step S703: the processor 8 calculates the current I1 and the first electric quantity E1 according to the first electric current I1 and the first electric quantity E1. 11 , the second current I2 and the second electric quantity E 21 , controlling the output current of the SC circuit 4 and the BUCK circuit 5.
[0104] Since the first rated capacity E of the first battery 21 10 is less than the second rated capacity E of the second battery 22 20 , the line resistance between the SC circuit 4 and the first battery 21 is less than the line resistance between the SC circuit 4 and the second battery 22, the line resistance between the BUCK circuit 5 and the first battery 21 is greater than the line resistance between the BUCK circuit 5 and the second battery 22, when the processor 8 charges the battery pack 2 only through the SC circuit 4, the charging current of the first battery 21 is greater than the charging current of the second battery 22, when the processor 8 charges the battery pack 2 only through the BUCK circuit 5, the charging current of the first battery 21 is less than the charging current of the second battery 22, that is, when the battery pack 2 is charged only through the SC circuit 4 or the BUCK circuit 5, the charging currents of the first battery 21 and the second battery 22 are always unbalanced, therefore, the processor 8 charges the battery pack 2 through the SC circuit 4 and the BUCK circuit 5 at the same time, to balance the charging currents of the first battery 21 and the second battery 22 in the battery pack 2, and according to the first current I1 of the first battery 21 and the first electric quantity E 11 and the second current I2 and the second electric quantity E of the second battery 22 21 , controlling the output current of the SC circuit 4 and the BUCK circuit 5.
[0105] The charging equalization method described in the above steps S701-S703 charges the battery pack 2 simultaneously through the SC circuit 4 and the BUCK circuit 5 to balance the charging current of the battery pack 2, and can control the output current of the SC circuit 4 and the BUCK circuit 5 according to the charging current and the amount of electricity to be charged of the two batteries, thereby balancing the charging current of the two batteries and reducing the charging time.
[0106] In a possible implementation, the first battery 21 and the second battery 22 may be lithium batteries or lead-acid batteries, and the embodiment of the present application does not limit the type of batteries.
[0107] Embodiments of the present application In the following embodiments, lithium batteries are taken as examples to illustrate the charge equalization method in the present application.
[0108] The charging process of the lithium battery battery pack 2 includes four stages: trickle charge (pre-charge), constant current (CC) charge, constant voltage (CV) charge and charge termination. In the fast charging process of the battery pack 2, the most effective methods are usually: constant current charge, constant voltage charge and trickle charge. However, for lithium-ion batteries used in electronic devices 100 such as mobile phones, the technical manual generally requires that the charging current and voltage of the lithium-ion battery be charged according to the standard of multiple constant current-constant voltage. For example, the technical manual of a lithium-ion battery has the following requirements:
[0109] 4.55C CCCV to 4.10V, (to 3.62C)
[0110] 3.62C CCCV to 4.20V, (to 2.72C)
[0111] 2.72C CCCV to 4.30V, (to 2C)
[0112] 2C CCCV to 4.40V, (to 1.5C)
[0113] 1.5C CCCV to 4.45V, (to 1.2C)
[0114] 1.2C CCCV to 4.48V, 0.536C cutoff
[0115] Among them, the C rate is the ratio of the current to the nominal capacity of the battery during charging and discharging. The requirements of the above technical manual for lithium-ion batteries are: in the first constant current and constant voltage stage, a current of 4.55C is used for constant current charging until the voltage reaches 4.1V and then a voltage of 4.1V is used for constant voltage charging. In the second constant current and constant voltage stage, after charging with a voltage of 4.1V to a current of 3.62C, a current of 3.62C is used for constant current charging until the voltage reaches 4.2V and then a voltage of 4.2V is used for constant voltage charging. In the third constant current and constant voltage stage, after charging with a voltage of 4.2V to a current of 2.72C, a current of 2.72C is used for constant current charging until the voltage reaches 4.3V and then a voltage of 4.3V is used for constant voltage charging. In the fourth constant current and constant voltage stage, after using a 4.3V voltage constant voltage to charge to a current of 2C, a 2C current is used for constant current charging, until the voltage reaches 4.4V and then a 4.4V voltage is used for constant voltage charging. In the fifth constant current and constant voltage stage, after using a 4.4V voltage constant voltage to charge to a current of 1.5C, a 1.5C current is used for constant current charging, until the voltage reaches 4.45V and then a 4.45V voltage is used for constant voltage charging. In the sixth constant current and constant voltage stage, after using a 4.45V voltage constant voltage to charge to a current of 1.2C, a 1.2C current is used for constant current charging, until the voltage reaches 4.48V and then a 4.48V voltage is used for constant voltage charging, and the charging is stopped after the 4.48V voltage constant voltage is charged to a current of 0.536C.
[0116] For example, as shown in the attached Figure 8 As shown, when the battery is fast charged, in the first constant current and constant voltage stage, during the first constant current charging, when the nominal capacity is 8000mAh, a current of 4.55C is used for constant current charging, and the current of constant current charging is 8000mAh*4.55C=36.4A. It can be seen that the current of the first constant current charging is large and the voltage is small. Since at this stage, the efficiency of charging the battery pack 2 through the BUCK circuit 5 is low and the heat is high, it is suitable for fast charging. Optionally, the BUCK circuit 5 can be turned off in the first constant current charging stage, and the battery pack 2 can be charged only through the SC circuit 4, and the BUCK circuit 5 can be turned on after the first constant current charging stage is over. In the last constant voltage charging stage, when the nominal capacity is 1000mAh, the cut-off current is 1000mAh*0.536C=5.36A, that is, when the current is 5.36A, the fast charging is ended. At this time, the battery pack 2 is only trickle charged through the BUCK circuit 5 to complete the last trickle charging stage. After the trickle charging is completed, the charging is stopped.
[0117] In a possible implementation, when charging the battery pack 2, during the first constant current charging, the battery pack 2 can be charged through the BUCK circuit 5, or the battery pack 2 can be charged without the BUCK circuit 5. The embodiment of the present application does not limit the charging method during the charging process.
[0118] In the following embodiments of the present application, the charging equalization circuit 10 of the present application is specifically described by taking the first constant current charging of the battery pack 2 without the BUCK circuit 5 as an example.
[0119] For example, as shown in the attached Fig. 9 As shown, in the charging equalization circuit 10, the processor 8 controls the charging equalization circuit 10 to equalize the charging current of the battery pack 2, including the following steps S901-S911:
[0120] Step S901, the processor 8 controls the battery pack 2 to enter the first constant current charging stage.
[0121] First, the processor 8 controls the battery pack 2 to enter the first constant current charging stage, that is, controls the battery pack 2 to perform fast charging.
[0122] In step S902 , the processor 8 controls the battery pack 2 to charge via the SC circuit 4 .
[0123] As attached Figure 7 As shown, the current in the first constant current charging stage is generally large and the voltage is relatively small. When the processor 8 charges the battery pack 2 through the BUCK circuit 5, the efficiency is low and the heat is large. Therefore, it is suitable to fast charge the battery pack through the SC circuit 4. After entering the first constant current charging stage in step S901, the processor 8 controls the SC circuit 4 to turn on and controls the battery pack 2 to charge through the SC circuit 4 to shorten the charging time.
[0124] In a possible implementation, the SC circuit 4 may include one SC circuit 4 , or may include two SC circuits 4 , namely a first SC circuit 41 and a second SC circuit 42 . The embodiment of the present application does not limit the number of the SC circuits 4 .
[0125] Step S903: the processor 8 controls the battery pack 2 to end the first constant current charging phase.
[0126] After the processor 8 controls the battery pack 2 to charge to the threshold voltage through the SC circuit 4 in step S902, the first constant current charging stage of the battery pack 2 is controlled to end. The threshold voltage is the voltage of constant voltage charging, which can be set according to actual needs. For example, it can be obtained by counting multiple voltages of the battery when entering constant voltage charging, such as counting the mean or median of multiple voltages when the first battery 21 or the second battery 22 enters constant voltage charging; it can also be set according to empirical values or voltage values in technical manuals.
[0127] In step S904 , the processor 8 further controls the battery pack 2 to charge via the BUCK circuit 5 .
[0128] After the processor 8 controls the battery pack 2 to complete the first constant current charging phase at step S903, as shown in the attached figure, Figure 7 As shown, at this time, the current of the battery pack 2 has been reduced and the voltage has been increased. 10 is less than the second rated capacity E of the second battery 22 20 , the line resistance between the SC circuit 4 and the first battery 21 is less than the line resistance between the SC circuit 4 and the second battery 22, the line resistance between the BUCK circuit 5 and the first battery 21 is greater than the line resistance between the BUCK circuit 5 and the second battery 22, in the first constant current charging stage, when the processor 8 charges the battery pack 2 only through the SC circuit 4, the charging current of the first battery 21 is greater than the charging current of the second battery 22, and after the first constant current charging stage, the charging currents of the two batteries are unbalanced. The line resistance between the BUCK circuit 5 and the first battery 21 is greater than the line resistance between the BUCK circuit 5 and the second battery 22, so the BUCK circuit 5 can be turned on, and when the processor 8 controls the charging of the battery pack 2 through the BUCK circuit 5, since the charging current of the first battery 21 is less than the charging current of the second battery 22, the charging currents of the first battery 21 and the second battery 22 can be balanced when the battery pack 2 is charged through the SC circuit 4. And after the first constant current charging stage, the currents of the first battery 21 and the second battery 22 are balanced, which can shorten the charging time without affecting the fast charging of the battery pack 2.
[0129] Step S905: the processor 8 obtains the first current I1 and the first power E of the first battery 21. 11 and the second current I2 and the second electric quantity E of the second battery 22 21 .
[0130] In step S904, after the processor 8 turns on the BUCK circuit 5, the first current I1 and the first charge E of the first battery 21 are obtained. 11 and the second current I2 and the second electric quantity E of the second battery 22 21 . Wherein, the first power E is obtained 11 and the second charge E 21 In order to obtain the first charge amount E1 of the first battery 21 and the second charge amount E2 of the second battery 22, the first charge amount E1 = the first rated charge E 10 -First Electricity E 11 , the second charge amount E2 = the second rated charge E 20 - Second power E 21 .
[0131] Step S906, the processor 8 determines whether I2 / I1 < E2 / E1, I2 / I1 > E2 / E1, or I2 / I1 = E2 / E1.
[0132] Among them, I2 / I1 = E2 / E1 indicates that the charging rates of the first battery 21 and the second battery 22 are the same, and there is no need to adjust the charging rates of the first battery 21 and the second battery 22. I2 / I1 < E2 / E1 indicates that the charging rate of the first battery 21 is greater than that of the second battery 22, and it is necessary to increase the charging rate of the second battery 22. I2 / I1 > E2 / E1 indicates that the charging rate of the first battery 21 is less than that of the second battery 22, and it is necessary to increase the charging rate of the first battery 21. If I2 / I1 < E2 / E1, then step S907 is executed. If I2 / I1 > E2 / E1, then step S908 is executed. If I2 / I1 = E2 / E1, then step S909 is executed.
[0133] Step S907, the processor 8 reduces the current of the SC circuit 4 and increases the current of the BUCK circuit 5.
[0134] In the case of I2 / I1 < E2 / E1, at this time, the charging rate of the first battery 21 is greater than that of the second battery 22, and it is necessary to increase the charging rate of the second battery 22. Since when the processor 8 charges the battery pack 2 through the SC circuit 4, the charging current of the first battery 21 is greater than that of the second battery 22, and when controlling the charging of the battery pack 2 through the BUCK circuit 5, the charging current of the first battery 21 is less than that of the second battery 22. Therefore, the processor 8 reduces the current of the SC circuit 4 and increases the current of the BUCK circuit 5 to achieve the purpose of reducing the charging rate of the first battery 21.
[0135] Step S908, the processor 8 increases the current of the SC circuit 4 and reduces the current of the BUCK circuit 5.
[0136] In the case of I2 / I1 > E2 / E1, at this time, the charging rate of the first battery 21 is less than that of the second battery 22, and it is necessary to increase the charging rate of the first battery 21. Since when the processor 8 charges the battery pack 2 through the SC circuit 4, the charging current of the first battery 21 is greater than that of the second battery 22, and when controlling the charging of the battery pack 2 through the BUCK circuit 5, the charging current of the first battery 21 is less than that of the second battery 22. Therefore, the processor 8 increases the current of the SC circuit 4 and reduces the current of the BUCK circuit 5 to achieve the purpose of increasing the charging rate of the first battery 21.
[0137] Step S909, the processor 8 does not adjust the currents of the SC circuit 4 and the BUCK circuit 5.
[0138] When I2 / I1=E2 / E1, the charging rates of the first battery 21 and the second battery 22 are the same, that is, the charging currents of the first battery 21 and the second battery 22 are balanced, so the processor 8 does not need to adjust the currents of the SC circuit 4 and the BUCK circuit 5.
[0139] In step S910, the processor 8 determines whether the charging of the battery pack 2 is completed.
[0140] After executing step S907, step S908 and step S909, the charging currents of the first battery 21 and the second battery 22 are balanced. At this time, it is determined whether the charging of the battery pack 2 is completed. If the charging is completed, step S911 is executed. If the charging is not completed, step S905 is executed again.
[0141] Step S911, charging of the battery pack 2 is completed.
[0142] When the battery pack 2 is in the final constant voltage charging stage, if the charging current of the battery pack 2 is reduced to the threshold current I term When the battery pack 2 is charged, the fast charging stage through the SC circuit 4+BUCK circuit 5 is first exited, that is, the SC circuit 4 is disconnected, and the battery pack 2 is charged only through the BUCK circuit 5 to complete the final trickle charging stage. After the trickle charging is completed, the charging is stopped.
[0143] Where, the threshold current I term The threshold current of the last constant voltage charging stage can be set according to actual needs. For example, it can be obtained by counting multiple currents when the battery enters the last constant voltage charging stage, such as counting the mean or median of multiple currents when the first battery 21 or the second battery 22 enters the last constant voltage charging stage; it can also be set according to an empirical value, such as 1A.
[0144] In the above steps S901-S911, the processor 8 controls the charging equalization circuit 10 to equalize the charging current of the battery pack 2. At the beginning of fast charging, i.e., the first constant current charging stage, the battery pack 2 is first fast charged with a large current through the SC circuit 4. After the first constant current charging stage, the BUCK circuit 5 is turned on on the basis of charging through the SC circuit 4. The battery pack 2 is charged through the BUCK circuit 5, and the first current I1 and the first charge E1 of the first battery 21 are detected. 11 and the second current I2 and the second electric quantity E of the second battery 22 21 , according to the charging current and the amount of electricity to be charged of the two batteries, the output current of the SC circuit and the BUCK circuit is controlled, so as to balance the charging current of the two batteries and reduce the charging time.
[0145] Furthermore, the process and the charging equalization method of the processor 8 in the embodiment of the present application controlling the charging equalization circuit 10 to equalize the charging current of the battery pack 2 can be implemented in software. The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture. The embodiment of the present application takes a software system with a layered architecture as an example. The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces.
[0146] Embodiments of the present invention In the following embodiments, a layered architecture is used Taking the system as an example, the software structure of the electronic device 100 is exemplarily described. Fig.10 As shown, The system is divided into four layers, from top to bottom: application layer, application framework layer, hardware abstraction layer and kernel layer.
[0147] The application layer may include a series of application packages. The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0148] The application framework layer may include a series of services corresponding to the application.
[0149] The hardware abstraction layer runs in user space, encapsulates kernel layer drivers, and provides a calling interface to the upper layer.
[0150] The kernel layer is the layer between hardware and software. The kernel layer contains at least a series of drivers, etc.
[0151] In the following embodiments of the present application, a software system of a layered architecture of an electronic device 100 is taken as an example to illustrate its charging equalization process.
[0152] In the embodiments of the present application, for example, as shown in the attached Fig.10 As shown, the core layer includes a charging control module, a charging protocol driver, a BUCK driver, a SC driver, and a fuel gauge driver. The charging control module is used to drive the charging work of the charging protocol driver, the BUCK driver, the SC driver, and the fuel gauge driver. The charging protocol driver is used to drive the charging protocol chip 9 to communicate with the charger 12. The BUCK driver is used to drive the BUCK circuit 5 to turn on and off. The SC driver is used to drive the SC circuit 4 to turn on and off. The fuel gauge driver is used to drive the fuel gauge 11 to collect the current and power of the battery pack 2. Specifically, the first fuel gauge 111 collects the first current I1 and the first power E1 of the first battery 21. 11The second electricity meter 112 collects the second current I2 and the second electricity E of the second battery 22. 21 .
[0153] First, the fuel gauge driver drives the first fuel gauge 111 and the second fuel gauge 112 to detect the first current I1 and the first power E of the first battery 21. 11 , the second current I2 and the second electric quantity E of the second battery 22 21 , and the first fuel gauge 111 and the second fuel gauge 112 detect the first current I1 and the first power E of the first battery 21 11 , the second current I2 and the second electric quantity E of the second battery 22 21 , is sent to the fuel gauge driver, which also sends the first current I1 and the first power E of the first battery 21 to the fuel gauge driver. 11 , the second current I2 and the second electric quantity E of the second battery 22 21 Sent to the charging control module.
[0154] Secondly, the charging control module receives the first current I1 and the first charge E of the first battery 21 driven by the fuel gauge. 11 , the second current I2 and the second electric quantity E of the second battery 22 21 After that, the first charge amount E1 of the first battery 21 and the second charge amount E2 of the second battery 22 are calculated, and the current ratio of the first current I1 of the first battery 21 and the second current I2 of the second battery 22 and the ratio of the first charge amount E1 of the first battery 21 to the second charge amount E2 of the second battery 22 are judged, and the judgment result is sent to the charging protocol driver, and the charging protocol driver sends the above judgment result to the charging protocol chip 9 in the hardware.
[0155] Finally, after receiving the above judgment result, the charging protocol chip 9 communicates with the charger 12 and sends a first control instruction to increase or decrease the output voltage of the charger 12 according to the above judgment result.
[0156] Specifically, in the embodiment of the present application, the charging protocol driver sends a first control instruction to the power adapter through the charging protocol chip 9; the first control instruction is used to instruct to increase or decrease the output voltage of the power adapter; the charging protocol chip is used to communicate with the power adapter, and the output end of the power adapter is used to connect the input end of the SC circuit 4 and the BUCK circuit 5. Among them, the power adapter includes a charger 12, and the charger 12 includes a charging port 6.
[0157] In a possible implementation, the charger 12 may be a wired charger or a wireless charger, and the embodiment of the present application does not limit the type of the charger 12 .
[0158] In the embodiment of the present application, the charging control module further sends a second control instruction to the SC circuit 4 and the BUCK circuit 5 according to the judgment result; the second control instruction is used to instruct the SC circuit 4 and the BUCK circuit 5 to turn on and off respectively. Specifically, the charging control module sends the second control instruction to the SC driver and the BUCK driver, and the SC driver and the BUCK driver drive the SC circuit 4 to turn on and off, and the BUCK circuit 5 to turn on and off respectively according to the second control instruction.
[0159] In the embodiment of the present application, the output current of the SC circuit 4 is reduced and the output current of the BUCK circuit 5 is increased, including:
[0160] The output current of the SC circuit 4 is reduced by reducing the output voltage of the power adapter; after reducing the output current of the SC circuit 4, the output current of the BUCK circuit 5 is increased;
[0161] Increasing the output current of the SC circuit 4 and reducing the output current of the BUCK circuit 5 includes:
[0162] The output current of the SC circuit 4 is increased by increasing the output voltage of the power adapter; after the output current of the SC circuit 4 is increased, the output current of the BUCK circuit 5 is reduced.
[0163] In a possible implementation, the BUCK circuit 5 may include a BUCK chip, or may not include a BUCK chip. The embodiment of the present application does not limit the type of the BUCK circuit 5 .
[0164] For example, see the attached Fig.11 In (a), when the battery pack 2 is charged only by the BUCK circuit 5, the charging characteristics of the BUCK circuit 5 are: V bus *I bus * Efficiency = V bat *I bat * Efficiency (where the efficiency is generally 80%-90%), that is, the input power of the BUCK circuit 5 is equal to the output power of the BUCK circuit 5, and the input power of the BUCK circuit 5 is the output power of the charger 12, the output power of the BUCK chip is the charging power of the battery pack 2, and the input and output voltage ratio of the BUCK circuit 5 is variable. Among them, V bus is the bus voltage, i.e., the input voltage of the BUCK circuit 5, I bus is the bus current, i.e. the input current of BUCK circuit 5, V bat is the charging voltage of the battery pack 2, i.e., the output voltage of the BUCK circuit 5, I bat is the charging current of the battery pack 2, i.e., the output current of the BUCK circuit 5. Fig.10 The charging control module controls the output voltage V of the charger 12 through the charging protocol chip 9bus That is, the bus voltage V bus , only affects the bus current I bus That is, the input current I of the BUCK circuit 5 bus For example, the maximum charging voltage of battery pack 2 can be set to V bat Due to the loss of line resistance, the charging voltage V bat The bus output voltage V bus low, while the maximum charging current of battery pack 2 is I bat and the maximum input current I of the BUCK circuit 5 bus_max It can also be set individually, so the maximum charging current I of battery pack 2 can be set in the register bat and the maximum input current I of the BUCK circuit 5 bus_max According to the charging characteristics of the BUCK circuit 5, that is, the output voltage V of the charger 12 bus If the change occurs within a certain range, it will not affect the maximum charging voltage V of battery pack 2 bat and the maximum charging current I bat , therefore, only the input current I of BUCK circuit 5 is affected bus For example, the input voltage V of the BUCK circuit 5 bus When the input current I of the BUCK circuit 5 decreases, bus Will automatically increase the input voltage V of the BUCK circuit 5 bus When the input current I of BUCK circuit 5 increases, bus will automatically decrease as long as the input current I bus The maximum current I of the BUCK circuit 5 input is not reached bus_max . The input current I of BUCK circuit 5 bus is the output current flowing through the BUCK circuit 5, so in essence, the output voltage V of the charger 12 is regulated. bus The output current of the BUCK circuit 5 can be adjusted. Since the maximum charging current I of the battery pack 2 can be set in the register bat and the maximum input current I of the BUCK circuit 5 bus_max Therefore, the maximum charging current I of battery pack 2 can be modified by bat and the maximum input current I of the BUCK circuit 5 bus_max To adjust the output current of the BUCK circuit 5.
[0165] In a possible implementation, the register may be a config register, and may not include a watchdog register. The embodiment of the present application does not limit the type of the register.
[0166] For example, see the attached Fig.11 In (b), when the battery pack 2 is charged only by the SC circuit 4, the charging characteristics of the SC circuit 4 are: the input and output voltages are in a fixed proportional relationship, and since the input power and the output power are basically unchanged, the input and output currents are in a fixed inverse proportional relationship. In the embodiment of the present application, the bus voltage is also the input voltage V of the SC circuit 4. bus , the bus current is also the input current I of SC circuit 4 bus , the output voltage of SC circuit 4 is the input voltage V of battery pack 2 bat , the output current of SC circuit 4 is the output current I of battery pack 2 bat For example, in a 2:1 voltage ratio SC circuit 4, V bus ~=2*V bat , I bus *2~=I bat , where V bus is the bus voltage, I bus is the bus current, V bat is the maximum charging voltage of battery pack 2, I bat is the maximum charging current of battery pack 2. Since the maximum charging voltage V bat is an inherent property of the battery, which remains unchanged, while V bus =2*V bat +V d , V d / R z ~=I bat , where R z is the total equivalent resistance of the SC circuit 4, V d is the voltage of SC circuit 4, V d The voltage of I bat and I bus The current size, therefore, adjusts the output voltage V of the charger 12 bus The output current I of the SC circuit 4 can be adjusted bat For details, see the attached Fig.10 The charging control module drives the charging protocol chip 9 to communicate with the charger 12 through the charging protocol, and sends a signal to the charger 12 to adjust the output voltage of the charger 12, that is, the bus voltage V bus The first control instruction is used to instruct to increase or decrease the output voltage of the charger 12. After receiving the first control instruction, the charger 12 adjusts the output voltage V bus , thereby adjusting the output current I of the SC circuit 4 bat .
[0167] In summary, when charging the battery pack 2 by controlling both the SC circuit 4 and the BUCK circuit 5 simultaneously, the output voltage V of the charger 12 can also be adjusted bus , thereby adjusting the output currents of the SC circuit 4 and the BUCK circuit 5.
[0168] Specifically, when the current ratio of the second current I2 to the first current I1 is less than the charge ratio of the second charge amount E2 to the first charge amount E1, that is, I2 / I1 < E2 / E1, the output current I of the SC circuit 4 is reduced sc , and the output current I of the BUCK circuit 5 is increased buck . Since adjusting the input voltage of the BUCK circuit 5 essentially adjusts the output current of the BUCK circuit 5, and adjusting the input voltage of the SC circuit 4 essentially adjusts the output voltage of the SC circuit 4, therefore, the output voltage V of the charger 12 can be first reduced bus to reduce the output current I of the SC circuit 4 sc . Also, since the SC circuit 4 and the BUCK circuit 5 are in parallel, reducing the output voltage V of the charger 12 bus reduces both the input voltage of the SC circuit 4 and the input voltage of the BUCK circuit 5, and the output current I of the SC circuit 4 sc + the output current I of the BUCK circuit buck = the input current I of the battery pack 2 bat . Therefore, after reducing the output current I of the SC circuit 4 sc , the output current I of the BUCK circuit is increased buck to charge the battery pack 2 at the maximum charging power.
[0169] When the current ratio of the second current I2 to the first current I1 is greater than the charge ratio of the second charge amount E2 to the first charge amount E1, that is, I2 / I1 > E2 / E1, the output current I of the SC circuit 4 is increased sc , and the output current I of the BUCK circuit 5 is reduced buck . Since adjusting the input voltage of the BUCK circuit 5 essentially adjusts the output current of the BUCK circuit 5, and adjusting the input voltage of the SC circuit 4 essentially adjusts the output voltage of the SC circuit 4, therefore, the output voltage V of the charger 12 can be first increased bus to increase the output current I of the SC circuit 4 sc . Also, since the SC circuit 4 and the BUCK circuit 5 are in parallel, increasing the output voltage V of the charger 12 bus increases both the input voltage of the SC circuit 4 and the input voltage of the BUCK circuit 5, and the output current I of the SC circuit 4 sc + the output current I of the BUCK circuit buck= Input current I of battery pack 2 bat Therefore, when increasing the output current I of the SC circuit 4 sc After that, reduce the output current I of the BUCK circuit buck , so that the battery pack 2 is kept charged at the maximum charging power.
[0170] For example, assuming the maximum bus current I bus_max is 8A, and the current I through the SC circuit 4 is sc is 7A, and the current I through the BUCK circuit 5 is buck 1A. The second charge capacity E2 of the second battery 22 = 4000mAh, the first charge capacity E1 of the first battery 21 = 2000mAh, the second current I2 of the second battery 22 = 4A, and the first current I1 of the first battery 21 = 4A. At this time, the second current I2 / the first current I1 (4A / 4A=1) < the second charge capacity E2 / the first charge capacity E1 (4000mAh / 2000mAh=2), so it is necessary to reduce the output current I of the SC circuit 4. sc , and increase the output current I of BUCK circuit 5 buck At this time, the current of the SC circuit 4 can be reduced to 6.5A, and the current of the BUCK circuit 5 can be increased to 1.5A. The charging control module drives the charging protocol chip 9 to communicate with the charger 12 through the charging protocol, and sends a signal to the charger 12 to adjust the output voltage of the charger 12, that is, the bus voltage V bus The first control instruction is used to instruct to increase or decrease the output voltage of the charger 12. After receiving the first control instruction, the charger 12 reduces the output voltage V bus , thereby reducing the output current I of the SC circuit 4 sc is 6.5A. When reducing the output current I sc Afterwards, the charging control module communicates with the BUCK driver and issues a third control instruction for modifying the register, wherein the third control instruction is used to instruct to increase the output current I of the BUCK circuit 5. buck After receiving the third control instruction, the BUCK driver modifies the parameters in the register and drives the BUCK circuit 5 to increase the output current I buck is 1.5A.
[0171] The charging equalization circuit, charging equalization method, and electronic device provided in the embodiments of the present application can control the output current of the SC circuit and the BUCK circuit according to the charging current and the amount of electricity to be charged of the two batteries, thereby balancing the charging current of the two batteries and reducing the charging time.
[0172] It is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example 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. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application. In this embodiment, the electronic device can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic, which is only a logical function division, and there may be other division methods in actual implementation.
[0173] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the method embodiment.
[0174] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the relevant method steps in the above method embodiment.
[0175] Among them, the electronic device, computer storage medium or computer program product provided in this application is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0176] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0177] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0178] The units described above as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, each functional unit in each embodiment of the present application may be integrated in a processing unit, or each unit may exist physically separately, or two or more units may be integrated in one unit. The functions of the above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.
[0179] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that makes the contribution or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0180] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A charging equalization circuit, characterized in that: The charging equalization circuit includes a fast charging SC circuit, a buck BUCK circuit and a processor, and the processor is used to control the charging equalization circuit to equalize the charging current of the battery pack; the battery pack includes a first battery and a second battery, wherein the first battery and the second battery are connected in parallel, and a first rated power of the first battery is less than a second rated power of the second battery; The SC circuit and the BUCK circuit are respectively connected to the processor, the first battery and the second battery; the line resistance between the SC circuit and the first battery is smaller than the line resistance between the SC circuit and the second battery; the line resistance between the BUCK circuit and the first battery is larger than the line resistance between the BUCK circuit and the second battery; The processor is used to: Acquire a first current and a first power of the first battery; Acquire a second current and a second power of the second battery; The output currents of the SC circuit and the BUCK circuit are controlled according to the first current, the first quantity, the second current, and the second quantity.
2. The charge equalization circuit according to claim 1, characterized in that: The SC circuit is connected to the positive electrode of the first battery and the positive electrode of the second battery respectively; the BUCK circuit is connected to the positive electrode of the first battery and the positive electrode of the second battery respectively; the negative electrode of the first battery is connected to the negative electrode of the second battery.
3. The charge equalization circuit according to claim 2, characterized in that: The SC circuit includes a first SC circuit and a second SC circuit; the first SC circuit and the BUCK circuit are respectively connected to the positive electrode of the first battery; the second SC circuit and the BUCK circuit are respectively connected to the positive electrode of the second battery.
4. The charging equalization circuit according to any one of claims 1 to 3, characterized in that: The processor is further configured to: After the SC circuit is controlled to perform constant current charging on the battery pack for the first time, the BUCK circuit is controlled to charge the battery pack.
5. The charge equalization circuit according to claim 4, characterized in that: After the processor further controls the BUCK circuit to charge the battery pack, controlling the output current of the SC circuit and the BUCK circuit according to the first current, the first power, the second current, and the second power includes: When the current ratio of the second current to the first current is less than the ratio of the second amount to be charged of the second battery to the first amount to be charged of the first battery, the output current of the SC circuit is reduced, and the output current of the BUCK circuit is increased; wherein the first amount to be charged is used to indicate the difference between the first rated amount of electricity and the first amount of electricity; and the second amount to be charged is used to indicate the difference between the second rated amount of electricity and the second amount of electricity; When the current ratio is greater than the to-be-charged amount ratio, the output current of the SC circuit is increased, and the output current of the BUCK circuit is decreased.
6. The charge equalization circuit according to claim 5, characterized in that: The charging equalization circuit further includes a charging protocol chip, the input ends of the SC circuit and the BUCK circuit are both connected to the output end of the power adapter, the charging protocol chip is used to communicate with the power adapter, and the processor is further used to: A first control instruction is sent to the power adapter through the charging protocol chip; the first control instruction is used to instruct to increase or decrease the output voltage of the power adapter.
7. The charge equalization circuit according to claim 6, characterized in that: The step of reducing the output current of the SC circuit and increasing the output current of the BUCK circuit includes: Reducing the output current of the SC circuit by reducing the output voltage of the power adapter; After reducing the output current of the SC circuit, increasing the output current of the BUCK circuit; The step of increasing the output current of the SC circuit and reducing the output current of the BUCK circuit includes: Increasing the output current of the SC circuit by increasing the output voltage of the power adapter; After the output current of the SC circuit is increased, the output current of the BUCK circuit is decreased.
8. A charging equalization method, characterized in that: Used to control the fast charge SC circuit and the buck BUCK circuit to balance the charging current of the battery pack; the battery pack includes a first battery and a second battery, wherein the first battery and the second battery are connected in parallel, and the first rated power of the first battery is less than the second rated power of the second battery; The SC circuit and the BUCK circuit are connected to the first battery and the second battery respectively; the line resistance between the SC circuit and the first battery is smaller than the line resistance between the SC circuit and the second battery; the line resistance between the BUCK circuit and the first battery is larger than the line resistance between the BUCK circuit and the second battery; Acquire a first current and a first power of the first battery; Acquire a second current and a second power of the second battery; The output currents of the SC circuit and the BUCK circuit are controlled according to the first current, the first quantity, the second current, and the second quantity.
9. The charging equalization method according to claim 8, characterized in that: The positive electrode of the first battery and the positive electrode of the second battery are both connected to the SC circuit; the positive electrode of the first battery and the positive electrode of the second battery are both connected to the BUCK circuit; the negative electrode of the first battery is connected to the negative electrode of the second battery.
10. The charging equalization method according to claim 9, characterized in that: The SC circuit includes a first SC circuit and a second SC circuit; the first SC circuit and the BUCK circuit are respectively connected to the positive electrode of the first battery; the second SC circuit and the BUCK circuit are respectively connected to the positive electrode of the second battery.
11. The charging equalization method according to any one of claims 8 to 10, characterized in that: The method further comprises: After the SC circuit is controlled to perform constant current charging on the battery pack for the first time, the BUCK circuit is controlled to charge the battery pack.
12. The charging equalization method according to claim 11, characterized in that: After the BUCK circuit is also controlled to charge the battery pack, the output current of the SC circuit and the BUCK circuit is controlled according to the first current, the first quantity, the second current, and the second quantity, including: When the current ratio of the second current to the first current is less than the ratio of the second amount to be charged of the second battery to the first amount to be charged of the first battery, the output current of the SC circuit is reduced, and the output current of the BUCK circuit is increased; wherein the first amount to be charged is used to indicate the difference between the first rated amount of electricity and the first amount of electricity; and the second amount to be charged is used to indicate the difference between the second rated amount of electricity and the second amount of electricity; When the current ratio is greater than the to-be-charged amount ratio, the output current of the SC circuit is increased, and the output current of the BUCK circuit is decreased.
13. The charging equalization method according to claim 12, characterized in that: The method further comprises: A first control instruction is sent to the power adapter through the charging protocol chip; the first control instruction is used to instruct to increase or decrease the output voltage of the power adapter; the charging protocol chip is used to communicate with the power adapter, and the output end of the power adapter is used to connect the input end of the SC circuit and the BUCK circuit.
14. The charging equalization method according to claim 13, characterized in that: The step of reducing the output current of the SC circuit and increasing the output current of the BUCK circuit includes: Reducing the output current of the SC circuit by reducing the output voltage of the power adapter; After reducing the output current of the SC circuit, increasing the output current of the BUCK circuit; The step of increasing the output current of the SC circuit and reducing the output current of the BUCK circuit includes: Increasing the output current of the SC circuit by increasing the output voltage of the power adapter; After the output current of the SC circuit is increased, the output current of the BUCK circuit is decreased.
15. An electronic device, characterized in that: The invention comprises a charge equalization circuit as claimed in any one of claims 1 to 7.
16. An electronic device, characterized in that: The electronic device comprises a memory and one or more processors, wherein the memory is used to store instructions executable by the one or more processors, wherein a computer program code is stored in the memory, and the computer program code comprises a computer instruction, and when the computer instruction is executed by the processor, the electronic device executes the charge equalization method according to any one of claims 8 to 14.
17. A computer-readable storage medium, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on the electronic device, the electronic device executes the charging equalization method according to any one of claims 8 to 14.
18. A computer program product, characterized in that When the computer program product runs on an electronic device, the electronic device executes the charging equalization method according to any one of claims 8 to 14.
Citation Information
Cited By
Battery pack balancing method and device, vehicle, medium and program product
CN120588866A