Charging control method, electronic device, storage medium and program product

By using a dynamic voltage regulation control method, the charging strategy is adjusted according to the battery voltage and charging current, which solves the safety and lifespan problems caused by overvoltage charging and realizes battery safety, lifespan extension and capacity utilization.

CN121663728APending Publication Date: 2026-03-13HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing charging strategies, overvoltage charging may lead to battery swelling, combustion risk, and shortened battery life, and it is difficult to accurately utilize the available capacity of multi-cell batteries.

Method used

A dynamic voltage regulation control method is adopted to adjust the charging voltage value in real time according to the battery voltage and charging current, including voltage increase and stop conditions in constant voltage mode, to ensure battery safety and life.

Benefits of technology

It improves battery safety and lifespan, fully utilizes available battery capacity, adapts to state differences in multi-cell batteries, reduces costs, and extends service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121663728A_ABST
    Figure CN121663728A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a charging control method, electronic equipment, a storage medium and a program product, relates to the technical field of charging, and can improve the available capacity of a battery on the basis of improving the safety of the battery and prolonging the service life of the battery. The charging control method comprises the steps that when a battery is charged in a constant voltage mode with a first voltage value as a charging voltage value, if the battery voltage value is smaller than or equal to a first voltage threshold value and the charging current value is smaller than or equal to a first current threshold value, the charging voltage value is increased to a second voltage value, and the second voltage value is larger than the first voltage value; the first voltage threshold is smaller than the first voltage value; when the battery is charged in the constant voltage mode with the first voltage value as the charging voltage value, if a first condition is met, charging of the battery is stopped; and when the battery is charged in the constant voltage mode with the second voltage value as the charging voltage value, if a second condition is met, charging of the battery is stopped.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of charging technology, specifically to a charging control method, electronic device, storage medium, and program product. Background Technology

[0002] Some electronic devices are powered by batteries and require charging. However, current charging strategies, in order to utilize the battery's available capacity as much as possible, employ overvoltage charging. On the one hand, this may cause the battery to swell and even pose a risk of combustion, thus reducing battery safety. On the other hand, long-term use of overvoltage may accelerate the aging of the battery's internal chemicals, thereby reducing the battery's lifespan. Summary of the Invention

[0003] In view of this, this application provides a charging control method, electronic device, storage medium, and program product that can increase the usable capacity of a battery while improving battery safety and lifespan.

[0004] In a first aspect, embodiments of this application provide a charging control method, comprising: when charging a battery in a constant voltage mode with a first voltage value as the charging voltage value, if the battery voltage value is less than or equal to a first voltage threshold and the charging current value is less than or equal to a first current threshold, then increasing the charging voltage value to a second voltage value, wherein the second voltage value is greater than the first voltage value and the first voltage threshold is less than the first voltage value; when charging the battery in a constant voltage mode with the first voltage value as the charging voltage value, if a first condition is met, then stopping the charging of the battery; when charging the battery in a constant voltage mode with a second voltage value as the charging voltage value, if a second condition is met, then stopping the charging of the battery.

[0005] When charging the battery in constant-voltage mode with the first voltage value as the charging voltage, the charging voltage can be adjusted based on the battery voltage and charging current. In other words, a dynamic charging voltage is added to the last constant-voltage charging mode. The charging voltage is only increased when the battery voltage is still far from full charge and the charging speed is slow, to increase the charging speed and maximize the battery's usable capacity. When the battery is close to full charge or the charging current is sufficient for rapid charging, the first voltage value is maintained to prevent overcharging. In other words, during the last constant-voltage charging mode, the charging voltage can be dynamically adjusted based on the battery's real-time charging status, thereby improving battery safety and lifespan while fully utilizing its usable capacity.

[0006] In some possible implementations, satisfying the first condition includes satisfying either a first sub-condition or a second sub-condition; the first sub-condition includes: the battery voltage value is greater than or equal to a second voltage threshold, and the charging current value is less than or equal to a second current threshold; the second sub-condition includes: the battery voltage value is greater than or equal to a third voltage threshold; wherein the third voltage threshold is greater than the second voltage threshold.

[0007] In the second sub-condition, the battery is determined to be fully charged solely based on whether the battery voltage has reached a high value. In the first sub-condition, both the charging voltage and charging current are considered together to determine whether the battery is fully charged. Using data from different dimensions to determine whether the battery is fully charged can further prevent overcharging while increasing the usable battery capacity.

[0008] In some possible implementations, the second voltage threshold is less than the first voltage value, and the third voltage threshold is less than the first voltage value.

[0009] In some possible implementations, the first voltage threshold is equal to the second voltage threshold.

[0010] In some possible implementations, the first current threshold is equal to the second current threshold.

[0011] In some possible implementations, the second condition includes: the battery voltage value is greater than a fourth voltage threshold; wherein the fourth voltage threshold is greater than a first voltage threshold. A battery voltage value greater than the fourth threshold indicates that the battery is fully charged. When charging the battery in a constant voltage mode with the first voltage value as the charging voltage, if the battery is determined to be fully charged based on the battery voltage value, charging the battery is stopped.

[0012] In some possible implementations, the fourth voltage threshold is less than the first voltage value.

[0013] In some possible implementations, the second condition includes: the battery voltage value is greater than a fourth voltage threshold; wherein the fourth voltage threshold is greater than the first voltage threshold; and the fourth voltage threshold is equal to the third voltage threshold.

[0014] In some possible implementations, before charging the battery in a constant-voltage mode with a first voltage value as the charging voltage value, the method further includes: charging the battery in a constant-voltage mode with a third voltage value as the charging voltage value, where the third voltage value is less than a first voltage threshold; and when charging the battery in the constant-voltage mode with the third voltage value as the charging voltage value, if a third condition is met, then increasing the charging voltage value to the first voltage value. First, a larger current threshold is used as the condition for increasing the charging voltage value to the first voltage value, and then a smaller current threshold is used as a partial condition for further increasing the charging voltage value to a second voltage value, thereby more accurately determining whether to perform dynamic voltage regulation when approaching the full charge voltage.

[0015] In some possible implementations, the third condition includes: the charging current value is less than or equal to a third current threshold.

[0016] In some possible implementations, the first current threshold is less than the third current threshold.

[0017] In some possible implementations, the battery includes at least two cells connected in parallel, and the battery voltage value is the minimum cell voltage value among the at least two cells. Using the minimum cell voltage value as the battery voltage value to determine the charging strategy can ensure that none of the cells are overcharged.

[0018] For battery solutions with multiple cells connected in parallel, the dynamic voltage regulation scheme of this application is more suitable. This is because differences in the impedance and position of different cells can make it difficult to accurately predict the usable battery capacity. However, in this application, the charging strategy is determined by real-time battery voltage and charging current values, allowing for more accurate cell status determination and preventing overcharging of any cell. This application supports cell combinations of different systems, further reducing battery cost requirements, extending battery life, and improving battery safety. Furthermore, this application imposes fewer constraints on battery architecture, allowing for the selection of different sized battery combinations according to product form requirements, and enabling more flexible cell placement within the product.

[0019] In some possible implementations, the battery comprises at least two cells connected in parallel, and the charging current is the sum of the current values ​​of the at least two cells and the system current. During battery charging, in addition to the current supplying each cell, there is also a current supplying the system load. Therefore, to more accurately reflect all currents, the sum of the current values ​​of all cells and the system current supplying the system load is used as the charging current value, and the charging strategy is determined based on this charging current value during the charging process.

[0020] In some possible implementations, before charging the battery in constant voltage mode with a third voltage value as the charging voltage value, the process includes: charging the battery in constant current mode to bring the battery voltage value to a fourth voltage value, the fourth voltage value being less than the third voltage value; charging the battery in constant voltage mode with the fourth voltage value as the charging voltage value; and charging the battery in constant current mode to bring the battery voltage value to the third voltage value.

[0021] In some possible implementations, when charging the battery in constant voltage mode with a second voltage value as the charging voltage, the charging current is limited to be less than a fourth current threshold, which is greater than a first current threshold. Increasing the charging voltage value will inevitably lead to an increase in the charging current value. Therefore, in order to prevent overcharging caused by an excessively large charging current value, after increasing the charging voltage value, charging is limited to a smaller charging current value until the second condition is met, at which point charging of the battery is stopped.

[0022] In some possible implementations, when charging the battery in constant voltage mode with a first voltage value as the charging voltage, the charging current is limited to be less than a fifth current threshold, and the fifth current threshold is greater than the first current threshold. Increasing the charging voltage value will cause the charging current value to increase. To prevent overcharging due to excessive charging current, after increasing the charging voltage value to the first voltage value, charging is limited to a smaller charging current value until full charging is achieved and charging is stopped, or the charging voltage value is increased further when the conditions for dynamic voltage regulation are met.

[0023] In a second aspect, an electronic device is provided, comprising: a processor and a memory, the memory being used to store at least one instruction, which, when loaded and executed by the processor, causes the electronic device to perform the method described above.

[0024] Thirdly, a computer-readable storage medium is provided, including a program or instructions, wherein the above-described methods are executed when the program or instructions are run on a computer.

[0025] Fourthly, a computer program product is provided, which includes executable instructions that, when executed on a computer, cause the computer to perform the methods described above. Attached Figure Description

[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0027] Figure 1 This is a schematic diagram of a charging control process in related technologies;

[0028] Figure 2 This is a schematic diagram of battery cells connected in parallel;

[0029] Figure 3 This is a structural block diagram of an electronic device according to an embodiment of this application;

[0030] Figure 4This is a flowchart illustrating a charging control method according to an embodiment of this application;

[0031] Figure 5 This is a schematic diagram of the dynamically set charging voltage value in the embodiments of this application;

[0032] Figure 6 This is a flowchart illustrating another charging control method in an embodiment of this application;

[0033] Figure 7 This is a flowchart illustrating another charging control method in an embodiment of this application;

[0034] Figure 8 This is a schematic diagram of the structure of another electronic device in an embodiment of this application;

[0035] Figure 9 This is a schematic diagram of the charging voltage and charging current curves in two cases in the embodiments of this application. Detailed Implementation

[0036] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0037] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0038] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0039] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0040] Before describing the embodiments of this application, the relevant technologies and their technical problems will be explained first.

[0041] like Figure 1As shown, a typical charging strategy usually involves first charging with constant current (CC), for example, charging to 4.3V with CC, then charging with constant voltage (CV) at 4.3V. When the charging current drops to a set value, it is then charged with CC again to, for example, 4.378V, and then charged with CV at 4.378V. When the charging current drops to, for example, 5mA, charging stops, and the battery is considered fully charged. In the final CV charging stage, if the set charging voltage is too low, it may result in the battery's usable capacity not being fully utilized. However, if the set charging voltage is too high, i.e., overcharging, it may reduce battery safety and battery life.

[0042] In addition, such as Figure 2 As shown, electronic devices may require multi-cell batteries to meet power supply and battery life requirements. These multi-cell batteries can be connected in series or in parallel. In parallel connections, the different cell positions result in varying impedances for each cell. Due to space constraints in the overall stacking of electronic devices, a combination of a larger capacity cell and a smaller capacity cell may be used. The differences in impedance and other factors along the pathways of these parallel cells can easily lead to a loss of usable capacity. Furthermore, overvoltage charging can further reduce the safety and lifespan of some cells due to these impedance differences.

[0043] The embodiments of this application can solve the above-mentioned technical problems. The electronic devices involved in the embodiments of this application will be described below.

[0044] Figure 3 A schematic diagram of the structure of the electronic device 100 is shown.

[0045] Electronic device 100 may include processor 110, internal memory 121, charging management module 140, power management module 141, battery 142, etc.

[0046] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0047] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0048] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0049] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0050] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0051] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.

[0052] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0053] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.

[0054] The Universal Serial Bus (USB) interface 130 is an interface compliant with the USB standard specification, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0055] This application provides a charging control method that can be applied to the above-mentioned electronic device. The method includes:

[0056] Step 101: Charge the battery in constant voltage CV mode with a first voltage value, for example, 4.4V as the charging voltage value.

[0057] When charging the battery in constant voltage CV mode with a first voltage value of 4.4V as the charging voltage value, step 102 is executed to determine whether the battery voltage value is less than or equal to the first voltage threshold, for example, 4.39V, and the charging current value is less than or equal to the first current threshold, for example, 5mA. If so, step 103 is executed to increase the charging voltage value to the second voltage value, for example, 4.42V. That is, the battery is charged in constant voltage CV mode with a first voltage value, for example, 4.4V as the charging voltage value, wherein the second voltage value is greater than the first voltage value, and the first voltage threshold is less than the first voltage value.

[0058] When charging the battery in constant voltage CV mode with a first voltage value, such as 4.4V as the charging voltage value, that is, when it is determined in step 102 that the condition is not met, step 104 is executed to determine whether the first condition is met. If the first condition is met, step 105 is executed to stop charging the battery. If the first condition is not met, step 102 is executed again.

[0059] When charging the battery in constant voltage CV mode with a second voltage value, such as 4.42V as the charging voltage value, that is, after step 103, step 106 is executed to determine whether the second condition is met. For example, if it is determined to be no in step 102, then step 106 is executed. If yes, that is, if the second condition is met, then step 105 is executed to stop charging the battery. If no, that is, if the second condition is not met, then step 106 is executed.

[0060] In step 102, if the battery voltage is less than or equal to 4.39V, it indicates that the battery is still some distance from being fully charged. In this case, if the charging current is less than or equal to 5mA, the charging speed at the current current is slow. Therefore, to fully charge the battery as quickly as possible, the charging voltage can be increased. If the battery voltage is greater than 4.39V, it indicates that the battery is close to or may already be fully charged. Therefore, to prevent overcharging, there is no need to increase the charging voltage; simply proceed to step 104 to determine whether to stop charging. Similarly, if the charging current is greater than 5mA, it indicates that the charging speed at the current current is fast. Therefore, there is also no need to increase the charging voltage; simply proceed to step 104 to determine whether to stop charging. In steps 104 and 106, both the first and second conditions are for determining whether the battery is fully charged. The specific conditions will be explained in detail later.

[0061] like Figure 5As shown, if a fixed charging voltage of 4.4V is used in CV mode, the available capacity of the battery may not be fully utilized. If an overvoltage charging voltage is used, the battery safety and lifespan may be reduced. The dynamic charging voltage of 4.42V used in this embodiment can be used when needed to fully utilize the available capacity of the battery, while improving battery safety and lifespan.

[0062] The charging control method of this application embodiment, when charging the battery in a constant-voltage mode with a first voltage value as the charging voltage value, determines whether to increase the charging voltage value based on the battery voltage value and the charging current value. In other words, in the last constant-voltage charging mode, a dynamic charging voltage value is added. The charging voltage is only increased when it is determined that the battery voltage is still far from full charge and the charging speed is slow, in order to increase the charging speed and fully charge the battery's usable capacity as much as possible. When it is determined that the battery level is close to full charge or the charging current can charge at a relatively fast speed, the first voltage value is maintained to prevent overcharging. In other words, during the charging process of the last constant-voltage charging mode, the charging voltage value can be dynamically adjusted according to the real-time charging status of the battery, thereby improving battery safety and lifespan while fully utilizing the battery's usable capacity.

[0063] like Figure 6 As shown, in some embodiments, satisfying the first condition includes satisfying a first sub-condition or satisfying a second sub-condition; the first sub-condition includes: the battery voltage value is greater than or equal to a second voltage threshold, for example 4.39V, and the charging current value is less than or equal to a second current threshold, for example 5mA; the second sub-condition includes: the battery voltage value is greater than or equal to a third voltage threshold, for example 4.398V; wherein, the third voltage threshold is greater than the second voltage threshold.

[0064] Specifically, when charging the battery in constant voltage (CV) mode with a first voltage value, such as 4.4V, if the battery voltage is greater than or equal to a second voltage threshold, such as 4.39V, and the charging current is not greater than a second current threshold, such as 5mA, it indicates that the battery's usable capacity has been fully utilized, meaning the battery is fully charged, and charging stops. Similarly, if the battery voltage is greater than or equal to a third voltage threshold, such as 4.398V, it indicates that the battery is fully charged, and charging stops. The third voltage threshold in the second sub-condition is greater than the second voltage threshold in the first sub-condition. That is, in the second sub-condition, the determination of whether the battery is fully charged is based solely on whether the battery voltage has reached a high value, while in the first sub-condition, both the charging voltage and charging current are considered together to determine whether the battery is fully charged. Using data from different dimensions to determine whether the battery is fully charged can further prevent overcharging while improving the battery's usable capacity.

[0065] like Figure 6 As shown, in some embodiments, the second voltage threshold is less than the first voltage value, for example, the second voltage threshold of 4.39V is less than the first voltage value of 4.4V, and the third voltage threshold is less than the first voltage value, for example, the third voltage threshold of 4.398V is less than the first voltage value of 4.4V.

[0066] like Figure 6 As shown, in some embodiments, the first voltage threshold is equal to the second voltage threshold, for example, both are 4.39V. That is, in step 102, the decision to increase the charging voltage is based on whether the battery voltage reaches 4.39V, combined with the charging current value. Similarly, in step 104, the decision to stop charging is based on whether the battery voltage reaches 4.39V, combined with the charging current value.

[0067] like Figure 6 As shown, in some embodiments, the first current threshold is equal to the second current threshold, for example, both are 5mA. For example, the first sub-condition in step 104 is the same as the condition in step 102, that is, in step 102, if the condition is met, the charging voltage value is increased. After the charging voltage value is increased, the charging current value will increase. If the charging current value drops back to 5mA after the charging voltage value is increased, that is, the condition in step 102 is met again, then the battery is considered to be fully charged and charging can be stopped.

[0068] like Figure 6As shown, in some embodiments, the second condition includes: the battery voltage value is greater than a fourth voltage threshold, for example, 4.398V; wherein the fourth voltage threshold is greater than a first voltage threshold, for example, the fourth voltage threshold of 4.398V is greater than the first voltage threshold of 4.39V. A battery voltage value greater than the fourth threshold indicates that the battery is fully charged. When charging the battery in constant voltage CV mode with a first voltage value of 4.42V as the charging voltage value, if the battery is determined to be fully charged based on the battery voltage value, charging the battery is stopped.

[0069] like Figure 6 As shown, in some embodiments, the fourth voltage threshold is less than the first voltage value; for example, the fourth voltage threshold of 4.398V is less than the first voltage value of 4.4V.

[0070] like Figure 6 As shown, in some embodiments, the fourth voltage threshold is equal to the third voltage threshold, for example, both being 4.398V. That is, regardless of whether the charging voltage is 4.4V or the increased 4.42V, as long as the battery voltage reaches 4.398V, it indicates that the battery is fully charged, and therefore charging is stopped to prevent overcharging.

[0071] like Figure 6 As shown, in some embodiments, before charging the battery in constant voltage CV mode at a first voltage value, such as 4.4V, in step 101, the method further includes:

[0072] Step 201: Charge the battery in constant voltage CV mode with a third voltage value, for example, 4.378V as the charging voltage value. The third voltage value is less than the first voltage threshold, for example, the third voltage value of 4.378V is less than the first voltage threshold of 4.39V.

[0073] When charging the battery in constant voltage CV mode with a third voltage value, such as 4.378V, step 202 is executed to determine whether the third condition is met. If yes, that is, if the third condition is met, then step 203 is executed to increase the charging voltage value to the first voltage value, such as 4.4V, that is, step 101 is executed. If no, that is, if the third condition is not met, then step 201 is executed again.

[0074] like Figure 6 As shown, in some embodiments, the third condition includes: the charging current value is less than or equal to a third current threshold, such as 10mA.

[0075] like Figure 6As shown, in some embodiments, the first current threshold is less than the third current threshold; for example, the first current threshold of 5mA is less than the third current threshold of 10mA. For instance, when charging the battery in CV mode with a charging voltage of 4.378V, if the charging current is determined to be low based on the larger third current threshold, the charging voltage is increased. When charging the battery in CV mode with a charging voltage of 4.4V, if the battery voltage is less than or equal to the first voltage threshold, if the charging current is determined to be low based on the smaller first current threshold, the charging voltage is further increased. In other words, the larger current threshold is first used as the condition for increasing the charging voltage to 4.4V, and then the smaller current threshold is used as a partial condition for further increasing the charging voltage to 4.42V, thereby more accurately determining whether to perform dynamic voltage regulation when approaching the full charge voltage.

[0076] like Figure 6 As shown, in some embodiments, before charging the battery in constant voltage CV mode at a third voltage value, such as 4.378V, in step 201, the following steps are performed sequentially:

[0077] Step 301: Charge the battery in constant current CC mode until the battery voltage reaches the fourth voltage value, for example, 4.3V. The fourth voltage value is less than the third voltage value, for example, the fourth voltage value of 4.3V is less than the fourth voltage value of 4.378V.

[0078] Step 302: Charge the battery in constant voltage CV mode with a fourth voltage value, for example, 4.3V as the charging voltage value;

[0079] Step 303: Charge the battery in constant current CC mode until the battery voltage reaches the third voltage value, for example, 4.378V. Then, step 201 can be executed. The process from 301 to 105 above is the complete process of charging the battery.

[0080] like Figure 7 As shown, the above embodiments are described below in pseudocode form.

[0081] Step 102 determines whether |Vbat - Vcv| ≥ 10mV and I ≤ 5mA, where Vbat is the battery voltage, Vcv is the charging voltage, and I is the charging current. At this point, Vcv = 4.4V, |Vbat - Vcv| = |Vbat - 4.4V| ≥ 0.01V, meaning Vbat ≥ 4.41V or Vbat ≤ 4.39V. Since the charging voltage Vcv = 4.4V, it's impossible for Vbat ≥ 4.41V. Therefore, the voltage condition in step 102 is Vbat ≤ 4.39V. It is evident that... Figure 7 Step 102 and Figure 6 Step 102 in the text is essentially the same.

[0082] The first sub-condition in step 104 is [|Vbat-Vcv|≤10mV and I≤5mA], and the second sub-condition is [Vbat≥4.398V]. In step 104, the charging voltage Vcv=4.4V, |Vbat-Vcv|=|Vbat-4.4V|≤10mV, and 4.39V≤Vbat≤4.41V. In step 104, Vcv=4.41V, therefore Vbat≤4.41V is necessarily true. It is evident that the upper limit of the battery voltage value can be disregarded in the first sub-condition; only the lower limit needs to be considered. Figure 7 Step 104 and Figure 6 Step 104 in the previous section is essentially the same.

[0083] Step 106 determines whether the following conditions are met: |Vbat - Vcv| ≤ 10mV and I ≤ 5mA or |Vbat ≥ 4.398V. In step 106, the charging voltage Vcv = 4.42V, |Vbat - Vcv| = |Vbat - 4.42V| ≤ 10mV, and 4.41V ≤ Vbat ≤ 4.43V. If 4.41V ≤ Vbat ≤ 4.43V and I ≤ 5mA are satisfied, then Vbat ≥ 4.398V must be satisfied. Therefore, the condition 4.41V ≤ Vbat ≤ 4.43V and I ≤ 5mA can be ignored in step 106. Figure 7 Step 106 and Figure 6 Step 106 in the text is essentially the same.

[0084] like Figure 8 As shown, in some embodiments, the electronic device may include a TYPEC interface 11 for power input. It is understood that the TYPEC interface 11 may also be other types of interfaces; the TYPEC interface 11 is... Figure 3 The interface 130 is described in detail above. The electronic device may also include a charging module 12, which may include a charging chip and related circuitry for charging the battery. The charging module 12 can thus serve as a charging device for charging the battery. Figure 3 The charging management module 140 is described in detail in the relevant description. The electronic device may also include a control chip 13 for controlling the charging strategy; the control chip 13 can be used as... Figure 3The power management module in the device can be referred to in the relevant description. The electronic device may also include a first matching resistor 14 and a second matching resistor 15 for impedance matching. The battery may include at least two cells connected in parallel, such as a first cell 16 and a second cell 17 connected in parallel. The electronic device may also include a first fuel gauge 18 and a second fuel gauge 19. The first fuel gauge 18 is used to acquire the voltage and current of the first cell 16, and the second fuel gauge 19 is used to acquire the voltage and current of the second cell 17. The battery voltage and current information acquired by the first fuel gauge 18 and the second fuel gauge 19 is fed back to the control chip 13 so that the control chip 13 can control the battery charging process based on the feedback information. The execution subject of the charging control method in this embodiment can be the control chip 13. It can be understood that the execution subject of the charging control method in this embodiment can also be... Figure 3 The processor or power management module in the battery. In the charging control method, the battery voltage value is the smallest cell voltage value among at least two cells. During the charging process, in order to ensure that none of the cells are overcharged, the smallest cell voltage value is used as the battery voltage value to determine the charging strategy. For example, in step 104 or step 106, it is determined whether the battery voltage value is greater than 4.398V. If so, charging the battery is stopped. That is, it is determined whether the smallest cell voltage value among the first cell 16 and the second cell 17 is greater than 4.398V. If so, charging the battery is stopped to ensure that no cell is overcharged.

[0085] For battery solutions with multiple cells connected in parallel, the dynamic voltage regulation scheme of this application is more suitable. This is because differences in the impedance and position of different cells can make it difficult to accurately predict the usable battery capacity. However, in this application, the charging strategy is determined by real-time battery voltage and charging current values, allowing for more accurate cell status determination and preventing overcharging of any cell. This application supports cell combinations of different systems, further reducing battery cost requirements, extending battery life, and improving battery safety. Furthermore, this application imposes fewer constraints on battery architecture, allowing for the selection of different sized battery combinations according to product form requirements, and enabling more flexible cell placement within the product.

[0086] In some embodiments, the battery includes at least two cells connected in parallel, and the charging current value is the sum of the current values ​​of the at least two cells and the system current value. During battery charging, in addition to the current supplying power to each cell, there is also a current supplying power to the system load. Therefore, to more accurately reflect all currents, the sum of the current values ​​of all cells and the system current supplying power to the system load is used as the charging current value, and the charging strategy is determined based on this charging current value during the charging process.

[0087] In some embodiments, to further prevent overcharging of the battery, when charging the battery in constant voltage CV mode with a second voltage value, such as 4.42V, the charging current is limited to a fourth current threshold, such as 13mA, which is greater than the first current threshold. In step 103 above, increasing the charging voltage value inevitably leads to an increase in the charging current value. Therefore, to prevent overcharging caused by an excessively large charging current value, after increasing the charging voltage value, charging is limited to a smaller charging current value until the second condition is met, at which point charging of the battery stops.

[0088] In some embodiments, when charging the battery in constant voltage CV mode with a first voltage value, such as 4.4V, the charging current value is limited to be less than a fifth current threshold, which is, for example, 15mA. The fifth current threshold is greater than the first current threshold, and the fifth current value can be greater than the fourth current value. In step 203 above, increasing the charging voltage value will cause the charging current value to increase. In order to prevent overcharging caused by an excessively large charging current value, after increasing the charging voltage value to 4.4V, charging is limited to a smaller charging current value until full charging is achieved and charging stops, or the charging voltage value continues to be increased after the dynamic voltage regulation conditions are met.

[0089] In some embodiments, the condition for determining whether to stop charging the battery can be determined multiple times consecutively. If the condition is met multiple times consecutively, charging is stopped to avoid misjudgments caused by errors or other reasons. For example, in step 104, the condition is determined three times consecutively; only if all three conditions are met is step 105 executed to stop charging the battery. In step 106, the condition is determined three times consecutively; only if all three conditions are met is step 105 executed to stop charging the battery.

[0090] The charging control method of this application embodiment will be described below based on battery voltage and charging current curves under different conditions. Figure 9 As shown, the first case is Figure 6The charging process involves steps 104 and 105. Step 301 corresponds to time period t1, where the battery is charged in constant current CC mode, with a constant charging current and a gradually increasing charging voltage, followed by step 302. Step 302 corresponds to time period t2, where the charging voltage remains constant, and the battery is charged in constant voltage CV mode, with a gradually decreasing charging current, followed by step 303. Step 303 corresponds to time period t3, where the battery is charged in constant current CC mode, with a constant charging current and a gradually increasing charging voltage, followed by step 201. Step 201 corresponds to time period t4. The battery is charged in constant voltage CV mode, with the charging current gradually decreasing and the charging voltage remaining constant. Then, the charging voltage is increased, and step 101 is executed. Step 101 corresponds to time period t5. The battery is charged in constant voltage CV mode, with the charging voltage abruptly increasing at the beginning of time period t5 and then remaining constant. The charging current abruptly increases at the beginning of time period t5 and then gradually decreases. After steps 102 and 104, if the condition is met in step 104, step 105 is executed, stopping the battery charging. This completes the charging process. Figure 6 The voltage and current curves for the first case are shown. Figure 9 As shown, the second case is Figure 6 The charging process involves steps 102, 103, 106, and 105. Step 301 corresponds to time period t1, step 302 to time period t2, step 303 to time period t3, step 201 to time period t4, and step 101 to time period t5. Time periods t1 to t5 are the same as in the first case and will not be repeated here. Then, if step 102 is satisfied, the process proceeds to step 103, where the charging voltage is increased to 4.42V. This means the battery is charged in constant voltage (CV) mode with a charging voltage of 4.42V, corresponding to time period t6. At the beginning of time period t6, the charging voltage increases abruptly and then remains constant. At the beginning of time period t6, the charging current increases abruptly and then gradually decreases. Finally, if step 106 is satisfied, step 105 is executed, stopping the charging of the battery, thus completing the charging process. Figure 6 The voltage and current curves for the second case are shown. According to... Figure 6 It can be seen that in the final stage of battery charging, a constant voltage CV charging stage with an increased charging voltage will be dynamically adjusted according to the battery's charging status, so as to improve battery safety and lifespan while increasing the battery's usable capacity.

[0091] This application also provides an electronic device, including a processor and a memory. The memory stores at least one instruction, which, when loaded and executed by the processor, causes the electronic device to perform the method of any of the above embodiments. The specific process and principle of this method are the same as those in the above embodiments, and will not be repeated here. Specifically, this electronic device can perform the methods described above. Figure 3 or Figure 8 The electronic device shown.

[0092] The electronic devices involved in this application may be any product such as smart TVs, mobile phones, tablets, personal computers (PCs), personal digital assistants (PDAs), smartwatches, wearable electronic devices, augmented reality (AR) devices, virtual reality (VR) devices, in-vehicle devices, drone devices, smart cars, smart speakers, robots, smart glasses, etc.

[0093] This application embodiment improves the charging strategy, which can further increase the battery capacity and thus improve the battery life of electronic devices, such as wearable electronic devices. In order to minimize the size and adapt to changing conditions, the battery capacity and power consumption are not too large. Therefore, the increase in battery capacity will bring significant benefits to the standby battery life of the device, thereby improving the user experience.

[0094] This application also provides a computer-readable storage medium, including a program or instructions, wherein the methods in any of the above embodiments are executed when the program or instructions are run on a computer.

[0095] This application also provides a computer program product containing executable instructions that, when executed on a computer, cause the computer to perform the methods described in any of the above embodiments.

[0096] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive).

[0097] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0098] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A charging control method, characterized in that, include: When charging the battery in constant voltage mode with the first voltage value as the charging voltage value, if the battery voltage value is less than or equal to the first voltage threshold and the charging current value is less than or equal to the first current threshold, the charging voltage value is increased to the second voltage value, the second voltage value is greater than the first voltage value, and the first voltage threshold is less than the first voltage value. When charging the battery in a constant voltage mode with the first voltage value as the charging voltage value, if the first condition is met, the charging of the battery is stopped. When charging the battery in a constant voltage mode with the second voltage value as the charging voltage value, if the second condition is met, the charging of the battery is stopped.

2. The method according to claim 1, characterized in that, The first condition being met includes either meeting the first sub-condition or meeting the second sub-condition. The first sub-condition includes: the battery voltage value is greater than or equal to the second voltage threshold, and the charging current value is less than or equal to the second current threshold; The second sub-condition includes: the battery voltage value is greater than or equal to the third voltage threshold; The third voltage threshold is greater than the second voltage threshold.

3. The method according to claim 2, characterized in that, The second voltage threshold is less than the first voltage value, and the third voltage threshold is less than the first voltage value.

4. The method according to claim 2, characterized in that, The first voltage threshold is equal to the second voltage threshold.

5. The method according to claim 2, characterized in that, The first current threshold is equal to the second current threshold.

6. The method according to claim 1, characterized in that, The second condition includes: the battery voltage value is greater than the fourth voltage threshold; The fourth voltage threshold is greater than the first voltage threshold.

7. The method according to claim 6, characterized in that, The fourth voltage threshold is less than the first voltage value.

8. The method according to claim 2, characterized in that, The second condition includes: the battery voltage value is greater than the fourth voltage threshold; Wherein, the fourth voltage threshold is greater than the first voltage threshold; The fourth voltage threshold is equal to the third voltage threshold.

9. The method according to claim 1, characterized in that, Before charging the battery in constant voltage mode with the first voltage value as the charging voltage value, the method further includes: The battery is charged in a constant voltage mode with a third voltage value as the charging voltage value, wherein the third voltage value is less than the first voltage threshold. When charging the battery in a constant voltage mode with the third voltage value as the charging voltage value, if the third condition is met, the charging voltage value is increased to the first voltage value.

10. The method according to claim 9, characterized in that, The third condition includes: the charging current value is less than or equal to the third current threshold.

11. The method according to claim 10, characterized in that, The first current threshold is less than the third current threshold.

12. The method according to claim 1, characterized in that, The battery comprises at least two cells connected in parallel, and the battery voltage value is the smallest cell voltage value among the at least two cells.

13. The method according to claim 1, characterized in that, The battery includes at least two cells connected in parallel, and the charging current value is the sum of the current values ​​of the at least two cells and the system current value.

14. The method according to claim 9, characterized in that, Before charging the battery in constant voltage mode with the third voltage value as the charging voltage value, the following steps are performed sequentially: The battery is charged in constant current mode until the battery voltage reaches a fourth voltage value, which is less than the third voltage value; The battery is charged in a constant voltage mode with the fourth voltage value as the charging voltage value; The battery is charged in constant current mode until the battery voltage reaches the third voltage value.

15. The method according to claim 1, characterized in that, When charging the battery in constant voltage mode with the second voltage value as the charging voltage value, the charging current value is limited to be less than a fourth current threshold, and the fourth current threshold is greater than the first current threshold.

16. The method according to claim 9, characterized in that, When charging the battery in a constant voltage mode with the first voltage value as the charging voltage value, the charging current value is limited to be less than a fifth current threshold, and the fifth current threshold is greater than the first current threshold.

17. An electronic device, characterized in that, include: A processor and a memory, the memory being used to store at least one instruction that, when loaded and executed by the processor, causes the electronic device to perform the method as described in any one of claims 1 to 16.

18. A computer-readable storage medium, characterized in that, Includes a program or instructions that, when run on a computer, execute the method as described in any one of claims 1 to 16.

19. A computer program product, characterized in that, The computer program product includes executable instructions that, when executed on a computer, cause the computer to perform the method described in any one of claims 1 to 16.