Charging and discharging method, device, equipment and storage medium

By acquiring the number of charge/discharge cycles and preset capacity of the battery, the charge/discharge capacity is dynamically adjusted to solve the battery damage problem caused by constant current charging and discharging, thereby extending battery life and slowing down capacity decay.

CN116454433BActive Publication Date: 2026-07-10NATIONZ TECH INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NATIONZ TECH INC
Filing Date
2023-05-23
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing constant current charging and discharging methods can easily lead to overcharging or over-discharging of the battery, which can damage battery life and safety. Furthermore, improper charging and discharging settings can accelerate battery capacity degradation.

Method used

By acquiring the number of charge-discharge cycles and the preset charge-discharge capacity of the battery, the new charge-discharge capacity is dynamically adjusted based on their relationship. The target charge-discharge capacity is determined in response to the difference meeting the preset conditions, thereby realizing dynamic adjustment of charge-discharge processing.

Benefits of technology

Dynamically adjust the charging and discharging capacity to extend battery life and slow down the rate of battery capacity decay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116454433B_ABST
    Figure CN116454433B_ABST
Patent Text Reader

Abstract

The application discloses a charging and discharging method, device, equipment and storage medium. The charging and discharging method comprises the following steps: obtaining the charging and discharging times of a battery and a preset charging and discharging capacity; determining a new charging and discharging capacity based on the relationship between the charging and discharging times and the charging and discharging capacity; in response to the difference between the new charging and discharging capacity and the preset charging and discharging capacity meeting a preset condition, determining that the new charging and discharging capacity is a target charging and discharging capacity; and performing charging and discharging processing on the battery according to the target charging and discharging capacity. The above scheme can dynamically adjust the charging and discharging capacity, improve the service life of the battery, and slow down the capacity attenuation speed of the battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery charging and discharging, and in particular to a charging and discharging method, apparatus, device, and storage medium. Background Technology

[0002] In battery charging and discharging technology, the earliest method was constant current charging and discharging, which maintains a constant charging and discharging current. However, constant current charging and discharging can lead to overcharging or over-discharging, damaging battery life and safety. Therefore, new charging and discharging methods, such as charge / discharge capacity, were proposed. Charge capacity refers to automatically stopping charging when the battery reaches a certain charge level, preventing damage from overcharging. Discharge capacity refers to automatically stopping discharging when the battery reaches a certain discharge level, preventing damage from over-discharging. Currently, in these methods, the charge / discharge capacity is fixed. Setting the charge capacity too high or the discharge capacity too low can lead to rapid battery capacity degradation. Summary of the Invention

[0003] This application provides at least one charging / discharging method, apparatus, device, and storage medium.

[0004] This application provides a charging and discharging method including: acquiring the number of charge and discharge cycles of a battery and a preset charge and discharge capacity; determining a new charge and discharge capacity based on the relationship between the number of charge and discharge cycles and the charge and discharge capacity; determining the new charge and discharge capacity as a target charge and discharge capacity in response to the difference between the new charge and discharge capacity and the preset charge and discharge capacity satisfying a preset condition; and performing charge and discharge processing on the battery according to the target charge and discharge capacity.

[0005] This application provides a charging and discharging device, including: an acquisition module, a first determination module, a second determination module, and a charging and discharging module; the acquisition module is used to acquire the number of charge and discharge cycles of a battery and a preset charge and discharge capacity; the first determination module is used to determine a new charge and discharge capacity based on the relationship between the number of charge and discharge cycles and the charge and discharge capacity; the second determination module is used to determine the new charge and discharge capacity as a target charge and discharge capacity in response to the difference between the new charge and discharge capacity and the preset charge and discharge capacity satisfying a preset condition; the charging and discharging module is used to charge and discharge the battery according to the target charge and discharge capacity.

[0006] This application provides an electronic device, including a memory and a processor, wherein the processor is used to execute program instructions stored in the memory to implement the above-described charging and discharging method.

[0007] This application provides a computer-readable storage medium storing program instructions thereon, which, when executed by a processor, implement the above-described charging and discharging method.

[0008] The above scheme first obtains the number of charge-discharge cycles and the preset charge-discharge capacity of the battery. It then dynamically adjusts the new charge-discharge capacity based on the relationship between the obtained charge-discharge cycles and the charge-discharge capacity. In response to the difference between the new charge-discharge capacity and the obtained preset charge-discharge capacity meeting a preset condition, the new charge-discharge capacity is dynamically adjusted to the target charge-discharge capacity. Then, the battery is charged and discharged according to the target charge-discharge capacity. This dynamic adjustment of the charge-discharge capacity can improve the battery's lifespan and slow down the rate of battery capacity decay.

[0009] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application. Attached Figure Description

[0010] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0011] Figure 1 This is a schematic flowchart of an embodiment of the charging and discharging method of this application;

[0012] Figure 2 This is a schematic diagram illustrating the capacity decay variation in one embodiment of the charging and discharging method of this application;

[0013] Figure 3 This is a schematic diagram illustrating the capacity decay variation law in another embodiment of the charging and discharging method of this application;

[0014] Figure 4 This is a schematic flowchart of another embodiment of the charging and discharging method of this application;

[0015] Figure 5 This is a schematic diagram of the structure of an embodiment of the charging and discharging device of this application;

[0016] Figure 6 This is a schematic diagram of the structure of an embodiment of the electronic device of this application;

[0017] Figure 7 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of this application. Detailed Implementation

[0018] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0019] In the following description, specific details such as particular system architectures, interfaces, and technologies are presented for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.

[0020] In this document, the term "and / or" 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, and B existing alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this document means two or more. Moreover, the term "at least one" in this document means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0021] In this application, the entity executing the charging and discharging method described herein can be a charging and discharging device. For example, the charging and discharging device can be a charging and discharging apparatus, an electrical appliance, a vehicle, a terminal device, a server, or other processing equipment. The terminal device can be a carrier device, a mobile robot, user equipment (UE), a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, etc. In some possible implementations, the charging and discharging method can be implemented by a processor calling computer-readable instructions stored in memory.

[0022] Please see Figure 1 , Figure 1 This is a schematic flowchart of an embodiment of the charging and discharging method of this application. Figure 1 As shown, the charging and discharging method provided in this embodiment may include the following steps:

[0023] Step S11: Obtain the number of charge / discharge cycles and the preset charge / discharge capacity of the battery.

[0024] The execution device for the charging and discharging method in this embodiment is a charging and discharging device, such as a charging device or an electrical device. For example, the charging device can be a charging pile, and the electrical device can be a vehicle. In other embodiments, the execution device can also be a terminal device that establishes a communication connection with the charging and discharging device. The number of charging and discharging cycles n can be the sum of the number of charging cycles and the number of discharging cycles in some embodiments, or it can be either the number of charging cycles or the number of discharging cycles in some embodiments. The preset charge / discharge capacity SOC can be the full charge capacity set for the battery, or the full discharge capacity set for the battery. In some application scenarios, the preset charge capacity SOC is the full charge capacity set for the battery. If the full charge capacity is 80% of the total capacity SOC0, it means that charging stops when the battery capacity reaches 80% of the total capacity SOC0. In some application scenarios, the preset discharge capacity SOC is the full discharge capacity set for the battery. If the full discharge capacity is 20% of the total capacity SOC0, it means that discharging stops when the battery capacity drops to 20% of the total capacity SOC0.

[0025] For example, the preset charge / discharge capacity SOC can be 100%, 90%, 80%, 70%, 60%, 50%, 40%, 30%, 20%, 10%, or 0% of the battery's total capacity SOC0. The preset charge / discharge capacity SOC can also be SOC1, SOC2, SOC3, SOC4, or SOC5. No specific requirements are placed on the preset charge / discharge capacity SOC here. It can be considered that the preset charge / discharge capacity is obtained by reserving a portion of the battery's total capacity SOC0. Assuming that 10% of the battery's total capacity SOC0 is reserved for charging capacity, then the preset charge / discharge capacity SOC is: SOC = 100%SOC0 - 10%SOC0 = 90%SOC0, which means the preset charge / discharge capacity is 90%SOC0. Assuming that 20% of the battery discharge capacity is reserved on the total battery capacity SOC0, the preset discharge capacity SOC is: SOC = 0% SOC0 + 20% SOC0 = 20% SOC0, which means the preset discharge capacity is 20% SOC0.

[0026] Step S12: Determine the new charge / discharge capacity based on the relationship between the number of charge / discharge cycles and the charge / discharge capacity.

[0027] The new charge / discharge capacity SOC2 can be obtained based on the relationship between the number of charge / discharge cycles and the charge / discharge capacity. The new charge capacity can be obtained based on the relationship between the number of charge / discharge cycles and the charge capacity, representing the battery's full charge capacity. The new discharge capacity can be obtained based on the relationship between the number of charge / discharge cycles and the discharge capacity, representing the battery's full discharge capacity.

[0028] In some application scenarios, a correlation between the number of charge / discharge cycles and the charge / discharge capacity can be established in advance. Therefore, the charge / discharge capacity corresponding to the number of charge / discharge cycles can be determined through this correlation. For example, the new charge capacity can be dynamically adjusted based on the obtained relationship between the number of charge / discharge cycles and the charge capacity. First, the number of charge / discharge cycles n of the battery is determined. Then, based on the correlation between the number of charge / discharge cycles n and the charge capacity, the charge capacity corresponding to the number of charge / discharge cycles n is determined. The new charge capacity SOC2 is then the charge capacity corresponding to the number of charge / discharge cycles n. For example, the new discharge capacity can be dynamically adjusted based on the obtained relationship between the number of charge / discharge cycles and the discharge capacity. First, the number of charge / discharge cycles n of the battery is determined. Then, based on the correlation between the number of charge / discharge cycles n and the discharge capacity, the discharge capacity corresponding to the number of charge / discharge cycles n is determined. The new discharge capacity SOC2 is then the discharge capacity corresponding to the number of charge / discharge cycles n.

[0029] Step S13: In response to the fact that the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets the preset condition, the new charge / discharge capacity is determined as the target charge / discharge capacity.

[0030] The preset conditions refer to whether the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets the preset criteria. These conditions can be preset by the user or pre-defined. The target charge / discharge capacity can be either the target charging capacity or the target discharging capacity.

[0031] In some application scenarios, a correlation can be established in advance between the difference between the new charge / discharge capacity and a preset charge / discharge capacity. A correlation can also be established between the difference between the new charge / discharge capacity and the preset charge / discharge capacity and preset conditions. Therefore, this correlation can be used to determine the difference between the corresponding new charge / discharge capacity and the preset charge / discharge capacity. This correlation can also be used to determine whether the corresponding preset conditions are met. For example, in response to the difference between the new charge / discharge capacity and the obtained preset charge / discharge capacity meeting the preset conditions, the new charge / discharge capacity is dynamically adjusted to the target charge / discharge capacity. When the battery's preset charge / discharge capacity SOC is SOC1, in response to the difference D between the new charge / discharge capacity SOC2 and the preset charge / discharge capacity SOC1 meeting the preset conditions, the new charge / discharge capacity SOC2 is determined to be the target charge / discharge capacity. The new charge / discharge capacity is then dynamically adjusted to the target charge / discharge capacity, at which point the target charge / discharge capacity is SOC2.

[0032] Step S14: Perform charge and discharge processing on the battery according to the target charge and discharge capacity.

[0033] Charging and discharging a battery can be done by charging the battery or by discharging the battery.

[0034] In some application scenarios, battery charging and discharging can be performed using either the charging capacity or the discharging capacity. For example, by responding to a preset condition that the difference between the new charging / discharging capacity and the acquired preset charging / discharging capacity meets a preset condition, the new charging / discharging capacity is dynamically adjusted to a target charging / discharging capacity. If the battery's preset charging / discharging capacity (SOC) is SOC1, and the difference D between the new charging / discharging capacity (SOC2) and the preset charging / discharging capacity (SOC1) meets a preset condition, the new charging / discharging capacity (SOC2) is determined to be the target charging / discharging capacity. The new charging / discharging capacity is then dynamically adjusted to the target charging / discharging capacity, which is now SOC2. The battery is then charged and discharged using the dynamically adjusted target charging / discharging capacity (SOC2).

[0035] The above scheme first obtains the number of charge-discharge cycles and the preset charge-discharge capacity of the battery. It then dynamically adjusts the new charge-discharge capacity based on the relationship between the obtained charge-discharge cycles and the charge-discharge capacity. In response to the difference between the new charge-discharge capacity and the obtained preset charge-discharge capacity meeting a preset condition, the new charge-discharge capacity is dynamically adjusted to the target charge-discharge capacity. Then, the battery is charged and discharged according to the target charge-discharge capacity. This dynamic adjustment of the charge-discharge capacity can improve the battery's lifespan and slow down the rate of battery capacity decay.

[0036] In some embodiments, the charging and discharging method may further include the following step 23: in response to the fact that the difference between the new charging and discharging capacity and the preset charging and discharging capacity does not meet the preset condition, the preset charging and discharging capacity is determined as the target charging and discharging capacity.

[0037] In some application scenarios, a correlation can be established in advance between the difference between the new charge / discharge capacity and the preset charge / discharge capacity. A correlation can also be established between the difference between the new charge / discharge capacity and the preset charge / discharge capacity and preset conditions. Therefore, this correlation can be used to determine the difference between the corresponding new charge / discharge capacity and the preset charge / discharge capacity. This correlation can also be used to determine whether the corresponding preset conditions are met. For example, in response to the difference between the new charge / discharge capacity and the preset charge / discharge capacity not meeting the preset conditions, the preset charge / discharge capacity is determined to be the target charge / discharge capacity. When the battery's preset charge / discharge capacity SOC is SOC1, in response to the difference D between the new charge / discharge capacity SOC2 and the preset charge / discharge capacity SOC1 not meeting the preset conditions, the preset charge / discharge capacity SOC1 is determined to be the target charge / discharge capacity. The preset charge / discharge capacity is dynamically adjusted to the target charge / discharge capacity, at which point the target charge / discharge capacity is SOC1.

[0038] In some embodiments, step S12 may include the following steps: First, obtaining the capacity decay change pattern corresponding to the battery. The capacity decay change pattern represents the relationship between the number of charge / discharge cycles and the charge / discharge capacity. Next, based on the capacity decay change pattern, determining the new charge / discharge capacity corresponding to the number of charge / discharge cycles.

[0039] In some applications, a correlation can be established beforehand between the number of charge / discharge cycles and the total charge / discharge capacity. This correlation represents the capacity decay pattern. For example, this capacity decay pattern can be determined experimentally. Figure 2 The law 'a' in the middle follows a sublinear decay, and the corresponding capacity decay change law can be referred to formula (1):

[0040] y = -1E-07×n 3 +5E-05×n 2 -0.0156×n+100.07

[0041] Equation (1);

[0042] Where y represents the capacity retention rate, E represents scientific notation, and n represents the number of charge-discharge cycles, values ​​such as -1, 0.7, 3, 0.5, 2, 0.0156, and 100.07 are determined experimentally. The capacity retention rate represents the ratio between the charged / discharged capacity and the total charged / discharged capacity. For example, the capacity retention rate during charging is used to represent the ratio between the charged capacity and the total charged capacity; for instance, if the capacity retention rate is 90%, the preset SOC (State of Charge) is 90% SOC0. Similarly, the capacity retention rate during discharging is used to represent the ratio between the discharged capacity and the total charged capacity; for instance, if the capacity retention rate is 20%, the preset SOC (State of Charge) is 20% SOC0.

[0043] The law governing capacity decay can be determined experimentally. Figure 3 For the law b, the corresponding capacity decay change law can be referred to formula (2):

[0044] y = -0.0004 × n 2 + 0.1026×n + 97.504 formula (2);

[0045] Where y represents the capacity retention rate and n represents the number of charge-discharge cycles, the values ​​of -0.0004, 2, 0.1026, and 97.504 were determined experimentally. The relationship between the capacity retention rate and the charge / discharge capacity is as described above and will not be repeated here.

[0046] In some application scenarios, another way to determine whether the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets the preset conditions is to first determine the new capacity retention rate based on the number of cycles, and then determine whether the difference between the capacity retention rate corresponding to the preset charge / discharge capacity and the new capacity retention rate meets the preset conditions. If the result is that the difference between the two capacity retention rates meets the preset conditions, then it is determined that the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets the preset conditions.

[0047] In some embodiments, different batteries exhibit different capacity decay patterns. In some applications, this difference in capacity decay patterns can be understood as the different depths of discharge of different batteries, thus leading to different capacity decay patterns. In other applications, this difference in capacity decay patterns can be understood as the different materials used in different batteries resulting in different capacity decay patterns. For example, the capacity decay pattern can be described using... Figure 2 It can also be expressed as, Figure 3 This indicates that, based on the capacity decay pattern, the new charge / discharge capacity SOC2 corresponding to the number of charge / discharge cycles n is determined. In some application scenarios, such as... Figure 2 As shown, different battery materials result in different capacity decay patterns. These decay patterns can be sublinear, linear, or superlinear. In some applications, such as... Figure 3 As shown, for sublinearly degraded battery cells, the capacity decay pattern differs at different depths of discharge, resulting in different cycle lives. Depth of discharge refers to the percentage of rated capacity removed from the battery. Different batteries exhibit different capacity decay patterns; for example, a 100% depth of discharge corresponds to a full discharge, an 80% depth of discharge corresponds to 80% discharge, or a 30% depth of discharge corresponds to 30% discharge.

[0048] In some embodiments, the preset condition may be that the difference between the new charge / discharge capacity and the preset charge / discharge capacity is greater than or equal to a preset difference. The preset condition can be considered as the difference between the new charge / discharge capacity and the historical charge / discharge capacity corresponding to the preset charge / discharge capacity being greater than or equal to a preset difference. For example, the preset difference may be D, such as D being 2% SOC.

[0049] As mentioned above, another way to determine whether the difference between the new charge / discharge capacity and the historical charge / discharge capacity corresponding to the preset charge / discharge capacity meets the preset condition is to determine whether the difference between the capacity retention rate corresponding to the preset charge / discharge capacity and the new capacity retention rate meets the preset condition. A way to determine whether two capacity retention rates meet the preset condition is to determine whether the difference between the two capacity retention rates is greater than or equal to the retention rate difference. Continuing the previous example, if the preset difference is 2% SOC0, the retention rate difference can be 2%. In some application scenarios, a correlation can be established in advance between the difference between the new charge capacity and the historical charge capacity corresponding to the preset charge capacity and the preset difference, or a correlation can be established in advance between the difference between the new discharge capacity and the historical discharge capacity corresponding to the preset discharge capacity and the preset difference. For example, the preset condition can be that the difference X between the new charge capacity SOC2 and the historical charge capacity SOC1 corresponding to the preset charge capacity is greater than or equal to the preset difference D. Alternatively, the difference X between the new discharge capacity SOC2 and the historical discharge capacity SOC1 corresponding to the preset discharge capacity can be greater than or equal to the preset difference D.

[0050] Specifically, assuming the battery has been charged and discharged n times, based on the capacity decay law, a new charging capacity SOC2 corresponding to the number of charge and discharge times n is determined. With a preset charging capacity SOC of SOC1 and SOC1 = 90% SOC0, if the difference D between the new charging capacity SOC2 and the historical charging capacity corresponding to the preset charging capacity SOC1 satisfies a preset condition, the step of determining the new charging capacity as the target charging capacity is executed. The preset condition can be that the difference X between the new charging capacity SOC2 and the historical charging capacity corresponding to the preset charging capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target charging capacity to the new charging capacity SOC2, that is, SOC2 = SOC1 + 2% SOC0 = 92% SOC0. At this time, the new charging capacity SOC2 is determined as the target charging capacity, and the target charging capacity is 92% SOC0.

[0051] Specifically, assuming the battery has been charged and discharged n times, based on the capacity decay law, a new discharge capacity SOC2 corresponding to the number of charge and discharge cycles n is determined. With a preset discharge capacity SOC1 and SOC1 = 20% SOC0, if the difference D between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 satisfies a preset condition, the step of determining the new discharge capacity as the target discharge capacity is executed. The preset condition can be that the difference X between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target discharge capacity to the new discharge capacity SOC2, that is, SOC2 = SOC1 - 2% SOC0 = 18% SOC0. At this time, the new discharge capacity SOC2 is determined as the target discharge capacity, and the target discharge capacity is 18% SOC0.

[0052] Specifically, assuming the battery has been charged and discharged a certain number of times (n), based on the capacity decay law, a new charging capacity (SOC2) corresponding to the number of charge and discharge times (n) is determined. With a preset charging capacity (SOC) of SOC1 and SOC1 = 90% of SOC0, if the difference D between the new charging capacity (SOC2) and the historical charging capacity corresponding to the preset charging capacity (SOC1) does not meet a preset condition, the step of determining the preset charging capacity as the target charging capacity is executed. The preset condition can be that the difference X between the new charging capacity (SOC2) and the historical charging capacity corresponding to the preset charging capacity (SOC1) is greater than or equal to a preset difference of 2% of SOC0. The above step can be to update the target charging capacity to the preset charging capacity (SOC1), that is, SOC1 = 90% of SOC0. At this time, the preset charging capacity (SOC1) is determined as the target charging capacity, and the target charging capacity is 90% of SOC0.

[0053] Specifically, assuming the battery has been charged and discharged n times, based on the capacity decay law, a new discharge capacity SOC2 corresponding to the number of charge and discharge cycles n is determined. With a preset discharge capacity SOC1 and SOC1 = 20% SOC0, if the difference D between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 does not meet a preset condition, the step of determining the new discharge capacity as the target discharge capacity is executed. The preset condition can be that the difference X between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target discharge capacity to the preset discharge capacity SOC1, i.e., SOC1 = 20% SOC0. At this point, the preset discharge capacity SOC1 is determined as the target discharge capacity, and the target discharge capacity is 20% SOC0.

[0054] In some embodiments, the charging and discharging method may further include the following steps: the charging and discharging process is a charging process, the preset charging and discharging capacity is a preset charging capacity, the new charging and discharging capacity is a new charging capacity, and the new charging capacity is greater than the preset charging capacity. That is, as the number of charging times increases, the target charging capacity may increase, for example, the target charging capacity may increase from 90% SOC to 92% SOC.

[0055] In some embodiments, the charging and discharging method may further include the following steps: the charging and discharging process is a discharging process, the preset charging and discharging capacity is a preset discharging capacity, the new charging and discharging capacity is a new discharging capacity, and the preset discharging capacity is greater than the new discharging capacity. That is, as the number of discharges increases, the target discharging capacity may decrease, for example, the target discharging capacity may decrease from 20% SOC to 18% SOC.

[0056] Please see Figure 4 , Figure 4 This is a schematic flowchart of another embodiment of the charging and discharging method of this application.

[0057] like Figure 4 As shown, the charging and discharging method provided in this embodiment may include the following steps:

[0058] Step S21: Obtain the number of charge / discharge cycles and the preset charge / discharge capacity of the battery.

[0059] As mentioned above, it will not be repeated here.

[0060] Step S22: Determine the new charge / discharge capacity based on the relationship between the number of charge / discharge cycles and the charge / discharge capacity.

[0061] The new charge / discharge capacity SOC2 can be obtained based on the relationship between the number of charge / discharge cycles and the charge / discharge capacity. The new charge capacity can be obtained based on the relationship between the number of charge / discharge cycles and the charge capacity, representing the battery's full charge capacity. The new discharge capacity can be obtained based on the relationship between the number of charge / discharge cycles and the discharge capacity, representing the battery's full discharge capacity.

[0062] In some application scenarios, a correlation between the number of charge / discharge cycles and the charge / discharge capacity can be established in advance. Therefore, this correlation can be used to determine the charge / discharge capacity corresponding to the number of charge / discharge cycles. For example, the new charge / discharge capacity can be dynamically adjusted based on the obtained relationship between the number of charge / discharge cycles and the charge / discharge capacity. First, the number of charge / discharge cycles, n, is determined. Then, based on the correlation between the number of charge / discharge cycles, n, and the charge / discharge capacity, the charge / discharge capacity corresponding to the number of charge / discharge cycles, n, is determined. Finally, the new charge / discharge capacity, SOC2, is the charge / discharge capacity corresponding to the number of charge / discharge cycles, n.

[0063] Step S23: In response to the fact that the difference between the new charge / discharge capacity and the preset charge / discharge capacity does not meet the preset condition, the preset charge / discharge capacity is determined as the target charge / discharge capacity.

[0064] The preset conditions refer to whether the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets the preset conditions. These conditions can be preset according to user needs or pre-defined.

[0065] In some application scenarios, a correlation can be established in advance between the difference between the new charge / discharge capacity and the preset charge / discharge capacity. A correlation can also be established between the difference between the new charge / discharge capacity and the preset charge / discharge capacity and preset conditions. Therefore, this correlation can be used to determine the difference between the corresponding new charge / discharge capacity and the preset charge / discharge capacity. This correlation can also be used to determine whether the corresponding preset conditions are met. For example, in response to the difference between the new charge / discharge capacity and the obtained preset charge / discharge capacity not meeting the preset conditions, the preset charge / discharge capacity is dynamically adjusted to the target charge / discharge capacity. When the battery's preset charge / discharge capacity SOC is SOC1, in response to the difference D between the new charge / discharge capacity SOC2 and the preset charge / discharge capacity SOC1 not meeting the preset conditions, the preset charge / discharge capacity SOC1 is determined to be the target charge / discharge capacity. The preset charge / discharge capacity is dynamically adjusted to the target charge / discharge capacity, at which point the target charge / discharge capacity is SOC1.

[0066] Step S24: Perform charge and discharge treatment on the battery according to the target charge and discharge capacity.

[0067] Charging and discharging a battery can be done by charging the battery or by discharging the battery.

[0068] In some application scenarios, battery charging and discharging can be performed using either the charging capacity or the discharging capacity. For example, in response to a difference between the new charging / discharging capacity and the acquired preset charging / discharging capacity not meeting a preset condition, the preset charging / discharging capacity is dynamically adjusted to a target charging / discharging capacity. When the battery's preset charging / discharging capacity SOC is SOC1, in response to a difference D between the new charging / discharging capacity SOC2 and the preset charging / discharging capacity SOC1 not meeting a preset condition, the preset charging / discharging capacity SOC1 is determined to be the target charging / discharging capacity. The preset charging / discharging capacity is then dynamically adjusted to the target charging / discharging capacity, at which point the target charging / discharging capacity is SOC1. The battery is then charged and discharged using the dynamically adjusted target charging / discharging capacity SOC1.

[0069] In some embodiments, step S14 may include the following steps: First, obtaining the target temperature of the battery. Second, determining the target charge / discharge cutoff voltage of the battery based on the target charge / discharge capacity and the target temperature. Then, charging and discharging the battery according to the target charge / discharge cutoff voltage and the target charge / discharge capacity.

[0070] The target charge / discharge cutoff voltage can be either the target charge cutoff voltage U_EOC or the target discharge cutoff voltage U_EOD. The target charge cutoff voltage is the voltage at which the battery is fully charged, meaning the highest operating voltage at which the battery should not be charged further during charging. The target discharge cutoff voltage is the voltage at which the battery is fully discharged, meaning the lowest operating voltage at which the battery should not be discharged further during discharging.

[0071] In some application scenarios, a correlation can be established between the target charging capacity, target temperature, and target charging cut-off voltage. In other application scenarios, a correlation can be established between the target discharging capacity, target temperature, and target discharging cut-off voltage. In some application scenarios, the target temperature can be the current temperature of the battery cell during charging and discharging, or it can be the ambient temperature at which the battery operates. For example, the target temperature can be -10 degrees Celsius, 10 degrees Celsius, 30 degrees Celsius, or 60 degrees Celsius. In this embodiment, the target charging cut-off voltage can be dynamically adjusted based on the target charging capacity and target temperature. Then, the battery is charged based on the target charging cut-off voltage and target charging capacity. The target discharging cut-off voltage can be dynamically adjusted based on the target discharging capacity and target temperature. Then, the battery is discharged based on the target discharging cut-off voltage and target discharging capacity.

[0072] In some embodiments, the target charge / discharge cutoff voltage of the battery is determined based on the target charge / discharge capacity and the target temperature. This step may include the following steps: selecting, from a plurality of initial open-circuit voltages and a plurality of initial charge / discharge impedances, an initial open-circuit voltage and an initial charging impedance corresponding to the target charge / discharge capacity and the target temperature, respectively, as the target open-circuit voltage and the target charge / discharge impedance; and determining the target charge / discharge cutoff voltage based on the target open-circuit voltage and the target charge / discharge impedance.

[0073] The initial open-circuit voltage refers to the battery's terminal voltage in the open-circuit state. In this embodiment, the target open-circuit voltage OCV can be dynamically adjusted according to the target temperature T and the target charge / discharge capacity. The initial charge / discharge impedance R refers to the resistance encountered by the current as it flows through the battery during charging and discharging. The target charge / discharge impedance can be either the target charging impedance R_CC or the target discharging impedance R_DC. In this embodiment, both the target charging impedance R_CC and the target discharging impedance R_DC can be dynamically adjusted according to the target temperature and the preset charge / discharge capacity.

[0074] In some application scenarios, multiple relationships can be pre-established between temperature, target charge / discharge capacity, and target open-circuit voltage, or between temperature, target charge / discharge capacity, and target charge / discharge impedance. Therefore, the corresponding target open-circuit voltage and target charge / discharge impedance can be determined through these relationships. For example, when the target temperature is T1 and the target charge / discharge capacity (SOC) is SOC1, the target open-circuit voltage is OCV(SOC1,T1), the target charging impedance is R_CC(SOC1,T1), and the target charging cut-off voltage can be U_EOC_1. When the target temperature is T1 and the target discharge capacity is SOC1, the target open-circuit voltage is OCV(SOC1,T1), the target discharge impedance is R_DC(SOC1,T1), and the target discharge cut-off voltage can be U_EOD_1. When the target temperature is T2 and the target charge capacity (SOC) is SOC2, the target open-circuit voltage is OCV(SOC2,T2), the target charging impedance is R_CC(SOC2,T2), and the target charging cut-off voltage can be U_EOC_2. When the target temperature is T2 and the target discharge capacity (SOC) is SOC2, the target open-circuit voltage is OCV(SOC2,T2), the target discharge impedance is R_DC(SOC2,T2), and the target discharge cut-off voltage can be U_EOD_2.

[0075] In some application scenarios, open-circuit voltage testing can pre-establish correlations between multiple temperatures, multiple target charge / discharge capacities, and the initial open-circuit voltage. Therefore, a first test result can be obtained from these correlations. In some application scenarios, charge / discharge testing can pre-establish correlations between multiple temperatures, multiple target charge / discharge capacities, and the initial charge / discharge impedance. Therefore, a second test result can be obtained from these correlations. For example, the first test result includes the initial open-circuit voltage corresponding to different maximum charge / discharge capacities at various temperatures; the initial open-circuit voltage can be A01 or A02. In some application scenarios, at the same temperature, the magnitude of the initial open-circuit voltage is positively correlated with the magnitude of the maximum charge / discharge capacity. In some application scenarios, at the same temperature, the magnitude of the initial open-circuit voltage is positively correlated with the magnitude of the minimum target discharge capacity. In some application scenarios, at the same maximum target charge / discharge capacity, the magnitude of the initial open-circuit voltage is negatively correlated with the temperature. In some application scenarios, at the same minimum target discharge capacity, the magnitude of the initial open-circuit voltage is positively correlated with the temperature. The second test results include the initial charge / discharge impedance corresponding to different charge / discharge capacities at various temperatures. The initial charging impedance can be B01 or B02, and the initial discharge impedance can be B11 or B12. In some application scenarios, at the same temperature, the magnitude of the initial charging impedance is positively correlated with the maximum target charge capacity. In some application scenarios, at the same temperature, the magnitude of the initial discharge impedance is negatively correlated with the minimum target discharge capacity. In some application scenarios, for the same maximum target charge capacity, the magnitude of the initial charging impedance is negatively correlated with the temperature. In some application scenarios, for the same minimum target discharge capacity, the magnitude of the initial discharge impedance is negatively correlated with the temperature. Then, from several initial open-circuit voltages and several initial charge / discharge impedances, the initial open-circuit voltage and initial charge / discharge impedance corresponding to the preset target charge / discharge capacity and target temperature are selected as the target open-circuit voltage OCV and the target charge / discharge impedance R. The target charge / discharge impedance R can be the target charging impedance R_CC or the target discharge impedance R_DC. Then, query the first test result and the second test result to determine the initial open circuit voltage and initial charge / discharge impedance corresponding to the preset target charge / discharge capacity and target temperature, which are used as the target open circuit voltage OCV, the target charging impedance R_CC, and the target discharging impedance R_DC.

[0076] For example, the table below could be the first test result of the open-circuit voltage test and the second test result of the charge-discharge test.

[0077]

[0078] Based on this, the target charge / discharge cutoff voltage is determined according to the target open-circuit voltage and the target charge / discharge impedance.

[0079] In some applications, a pre-established correlation can be established between the target open-circuit voltage, the target charging impedance, and the target charging cut-off voltage. Therefore, the target charging cut-off voltage can be determined using this correlation. For example, this correlation can be achieved by obtaining the product between the target charging impedance and the preset charging cut-off current, and then summing this product with the target open-circuit voltage as the target charging cut-off voltage.

[0080] Specifically, during battery charging, the target charging cutoff voltage U_EOC is dynamically adjusted based on the target open-circuit voltage OCV and the target charging impedance R_CC. The process of obtaining the product between the target charging impedance and the preset charging cutoff current, and summing this product with the target open-circuit voltage as the target charging cutoff voltage, can be referenced in formula (3):

[0081] OCV(SOC,T) + I_EOC×R_CC(SOC,T) = U_EOC formula (3);

[0082] Where OCV(SOC,T) is the target open-circuit voltage, I_EOC is the preset charging cut-off current, R_CC(SOC,T) is the target charging impedance, and U_EOC is the target charging cut-off voltage. The preset charging cut-off current can be the value at which charging is stopped when the charging current reaches a certain value. For example, I_EOC, the preset charging cut-off current, can be the average of the maximum allowable value and the minimum allowable value of the charging cut-off current.

[0083] Specifically, assuming the battery has been charged and discharged n times, based on the capacity decay law, a new charging capacity SOC2 corresponding to the number of charge and discharge times n is determined. With a preset charging capacity SOC of SOC1 and SOC1 = 90% SOC0, if the difference D between the new charging capacity SOC2 and the historical charging capacity corresponding to the preset charging capacity SOC1 satisfies a preset condition, the step of determining the new charging capacity as the target charging capacity is executed. The preset condition can be that the difference X between the new charging capacity SOC2 and the historical charging capacity corresponding to the preset charging capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target charging capacity to the new charging capacity SOC2, that is, SOC2 = SOC1 + 2% SOC0 = 92% SOC0. At this time, the new charging capacity SOC2 is determined as the target charging capacity, and the target charging capacity is 92% SOC0. At this time, the target open-circuit voltage OCV(SOC2,T) and the target charging impedance R_CC(SOC2,T) corresponding to the target charging capacity SOC2 are dynamically adjusted to the target charging cutoff voltage. The dynamically adjusted target charging cutoff voltage can then be calculated using formula (3). For example, the target charging cutoff voltage is U_EOC=OCV(SOC2,T)+I_EOC×R_CC(SOC2,T).

[0084] This can be considered as dynamically adjusting the target charging capacity to achieve a dynamically adjusted target charging cutoff voltage. The target charging capacity is also dynamically adjusted by reserving charging capacity. Then, the battery is charged according to the target charging capacity and the target charging cutoff voltage. By dynamically adjusting the target charging capacity and the target charging cutoff voltage, the battery's cycle life can be extended, and the rate of battery capacity degradation can be slowed down.

[0085] Specifically, assuming the determined number of charge-discharge cycles for the battery is n, based on the capacity decay law, a new charging capacity SOC2 corresponding to the number of charge-discharge cycles n is determined. With a preset charging capacity SOC of SOC1 and SOC1 = 90% SOC0, if the difference D between the new charging capacity SOC2 and the historical charging capacity corresponding to the preset charging capacity SOC1 does not meet a preset condition, the step of determining the preset charging capacity as the target charging capacity is executed. The preset condition can be that the difference X between the new charging capacity SOC2 and the historical charging capacity corresponding to the preset charging capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target charging capacity to the preset charging capacity SOC1, that is, SOC1 = 90% SOC0. At this time, the preset charging capacity SOC1 is determined as the target charging capacity, and the target charging capacity is 90% SOC0. At this time, the target open-circuit voltage OCV(SOC1,T) and the target charging impedance R_CC(SOC1,T) corresponding to the target charging capacity SOC1 are dynamically adjusted to the target charging cutoff voltage. The dynamically adjusted target charging cutoff voltage can then be calculated using formula (3). For example, the target charging cutoff voltage is U_EOC=OCV(SOC1,T)+I_EOC×R_CC(SOC1,T).

[0086] This can be considered as dynamically adjusting the target charging capacity to achieve a dynamically adjusted target charging cutoff voltage. The target charging capacity is also dynamically adjusted by reserving charging capacity. Then, the battery is charged according to the target charging capacity and the target charging cutoff voltage. By dynamically adjusting the target charging capacity and the target charging cutoff voltage, the battery's cycle life can be extended, and the rate of battery capacity degradation can be slowed down.

[0087] In some applications, a correlation can be established in advance between the target open-circuit voltage and the target discharge impedance to dynamically adjust the target discharge cutoff voltage. Therefore, the target discharge cutoff voltage can be determined through this correlation. For example, this correlation can be the product of the target discharge impedance and the preset discharge cutoff current, with the difference between the product and the target open-circuit voltage used as the target discharge cutoff voltage.

[0088] Specifically, during battery discharge, the target discharge cutoff voltage U_EOD is dynamically adjusted based on the target open-circuit voltage OCV(SOC,T) and the target discharge impedance R_DC(SOC,T). The process of obtaining the product between the target discharge impedance and the preset discharge cutoff current, and using the difference between this product and the target open-circuit voltage as the target discharge cutoff voltage, can be referenced in formula (4):

[0089] OCV(SOC,T)- I_EOD× R_DC(SOC,T) = U_EOD formula (4);

[0090] Where OCV(SOC,T) is the target open-circuit voltage, I_EOD is the preset discharge cutoff current, R_DC(SOC,T) is the target discharge impedance, and U_EOD is the target discharge cutoff voltage. The preset discharge cutoff current can be the value at which the battery is cut off from discharge when the discharge current reaches a certain value. I_EOD, the preset discharge cutoff current, can be the average of the maximum allowable discharge cutoff current I_Dsg_Max and the minimum allowable discharge cutoff current I_Dsg_Min, that is, I_EOD = (I_Dsg_Max + I_Dsg_Min) ÷ 2.

[0091] Specifically, assuming the battery has been charged and discharged n times, based on the capacity decay law, a new discharge capacity SOC2 corresponding to the number of charge and discharge times n is determined. With a preset discharge capacity SOC1 and SOC1 = 20% SOC0, if the difference D between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 satisfies a preset condition, the step of determining the new discharge capacity as the target discharge capacity is executed. The preset condition can be that the difference X between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target discharge capacity to the new discharge capacity SOC2, that is, SOC2 = SOC1 - 2% SOC0 = 18% SOC0. At this time, the new discharge capacity SOC2 is determined as the target discharge capacity, and the target discharge capacity is 18% SOC0. At this time, the target open-circuit voltage OCV(SOC2,T) and the target discharge impedance R_DC(SOC2,T) corresponding to the target discharge capacity SOC2 are dynamically adjusted to the target discharge cutoff voltage. The dynamically adjusted target discharge cutoff voltage can then be calculated using formula (4). For example, the target discharge cutoff voltage is U_EOD=OCV(SOC2,T)+I_EOD×R_DC(SOC2,T).

[0092] This can be considered as dynamically adjusting the target discharge capacity to achieve a dynamically adjusted target discharge cutoff voltage. The target discharge capacity is also dynamically adjusted by reserving discharge capacity. Then, the battery is discharged according to the target discharge capacity and the target discharge cutoff voltage. By dynamically adjusting the target discharge capacity and the target discharge cutoff voltage, the battery's cycle life can be extended, and the rate of battery capacity decay can be slowed down.

[0093] Specifically, assuming the battery has been charged and discharged n times, based on the capacity decay law, a new discharge capacity SOC2 corresponding to the number of charge and discharge times n is determined. With a preset discharge capacity SOC1 and SOC1 = 20% SOC0, if the difference D between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 does not meet a preset condition, the step of determining the new discharge capacity as the target discharge capacity is executed. The preset condition can be that the difference X between the new discharge capacity SOC2 and the historical discharge capacity corresponding to the preset discharge capacity SOC1 is greater than or equal to a preset difference of 2% SOC0. The above step can be to update the target discharge capacity to the preset discharge capacity SOC1, that is, SOC1 = 20% SOC0. At this time, the preset discharge capacity SOC1 is determined as the target discharge capacity, and the target discharge capacity is 20% SOC0. At this time, the target open-circuit voltage OCV(SOC1,T) and the target discharge impedance R_DC(SOC1,T) corresponding to the target discharge capacity SOC1 are dynamically adjusted to the target discharge cutoff voltage. The dynamically adjusted target discharge cutoff voltage can then be calculated using formula (4). For example, the target discharge cutoff voltage is U_EOD=OCV(SOC1,T)+I_EOD×R_DC(SOC1,T).

[0094] This can be considered as dynamically adjusting the target discharge capacity to achieve a dynamically adjusted target discharge cutoff voltage. The target discharge capacity is also dynamically adjusted by reserving discharge capacity. Then, the battery is discharged according to the target discharge capacity and the target discharge cutoff voltage. By dynamically adjusting the target discharge capacity and the target discharge cutoff voltage, the battery's cycle life can be extended, and the rate of battery capacity decay can be slowed down.

[0095] The above scheme first obtains the number of charge-discharge cycles and the preset charge-discharge capacity of the battery. It then dynamically adjusts the new charge-discharge capacity based on the relationship between the obtained charge-discharge cycles and the charge-discharge capacity. In response to the difference between the new charge-discharge capacity and the obtained preset charge-discharge capacity meeting a preset condition, the new charge-discharge capacity is dynamically adjusted to the target charge-discharge capacity. The battery is then charged and discharged according to the target charge-discharge capacity. This dynamic adjustment of the charge-discharge capacity improves the battery's lifespan and slows down the rate of battery capacity decay.

[0096] Please see Figure 5 , Figure 5This is a schematic diagram of the structure of an embodiment of the charging and discharging device of this application. The charging and discharging device 30 includes a working parameter acquisition module 31, a first determination module 32, a second determination module 33, and a charging and discharging module 34; the acquisition module 31 is used to acquire the number of charge and discharge cycles of the battery and a preset charge and discharge capacity; the first determination module 32 is used to determine a new charge and discharge capacity based on the relationship between the number of charge and discharge cycles and the charge and discharge capacity; the second determination module 33 is used to determine the new charge and discharge capacity as the target charge and discharge capacity in response to the difference between the new charge and discharge capacity and the preset charge and discharge capacity satisfying a preset condition; the charging and discharging module 34 is used to charge and discharge the battery according to the target charge and discharge capacity.

[0097] The above scheme first obtains the number of charge-discharge cycles and the preset charge-discharge capacity of the battery. It then dynamically adjusts the new charge-discharge capacity based on the relationship between the obtained charge-discharge cycles and the charge-discharge capacity. In response to the difference between the new charge-discharge capacity and the obtained preset charge-discharge capacity meeting a preset condition, the new charge-discharge capacity is dynamically adjusted to the target charge-discharge capacity. The battery is then charged and discharged according to the target charge-discharge capacity. This dynamic adjustment of the charge-discharge capacity improves the battery's lifespan and slows down the rate of battery capacity decay.

[0098] The functions of each module can be found in the charging and discharging method implementation examples, and will not be repeated here.

[0099] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an embodiment of the electronic device of this application. The electronic device 40 includes a memory 41 and a processor 42. The processor 42 is used to execute program instructions stored in the memory 41 to implement the steps in any of the above-described charging and discharging method embodiments. In a specific implementation scenario, the electronic device 40 may include, but is not limited to: electrical equipment, charging and discharging equipment, microcomputer, server. In addition, the electronic device 40 may also include carrier devices such as laptops and tablets, which are not limited here.

[0100] Specifically, processor 42 controls itself and memory 41 to implement the steps in any of the above-described charging and discharging method embodiments. Processor 42 can also be referred to as a CPU (Central Processing Unit). Processor 42 may be an integrated circuit chip with signal processing capabilities. Processor 42 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor. Furthermore, processor 42 can be implemented using integrated circuit chips.

[0101] The above scheme first obtains the number of charge-discharge cycles and the preset charge-discharge capacity of the battery. It then dynamically adjusts the new charge-discharge capacity based on the relationship between the obtained charge-discharge cycles and the charge-discharge capacity. In response to the difference between the new charge-discharge capacity and the obtained preset charge-discharge capacity meeting a preset condition, the new charge-discharge capacity is dynamically adjusted to the target charge-discharge capacity. The battery is then charged and discharged according to the target charge-discharge capacity. This dynamic adjustment of the charge-discharge capacity improves the battery's lifespan and slows down the rate of battery capacity decay.

[0102] Please see Figure 7 , Figure 7 This is a schematic diagram of a computer-readable storage medium according to an embodiment of the present application. The computer-readable storage medium 50 stores program instructions 51 thereon, which, when executed by a processor, implement the steps in any of the above-described charging and discharging method embodiments.

[0103] The above scheme first obtains the number of charge-discharge cycles and the preset charge-discharge capacity of the battery. It then dynamically adjusts the new charge-discharge capacity based on the relationship between the obtained charge-discharge cycles and the charge-discharge capacity. In response to the difference between the new charge-discharge capacity and the obtained preset charge-discharge capacity meeting a preset condition, the new charge-discharge capacity is dynamically adjusted to the target charge-discharge capacity. The battery is then charged and discharged according to the target charge-discharge capacity. This dynamic adjustment of the charge-discharge capacity improves the battery's lifespan and slows down the rate of battery capacity decay.

[0104] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0105] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.

[0106] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, units or components may be combined or integrated into another system, or some features may be ignored or not executed. In another image location, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0107] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A charging and discharging method, characterized in that, include: The battery charge / discharge cycles and preset charge / discharge capacity are obtained, wherein the preset charge / discharge capacity is obtained by reserving the total battery capacity. Based on the relationship between the number of charge / discharge cycles and the charge / discharge capacity, a new charge / discharge capacity is determined, including: obtaining the capacity decay change pattern corresponding to the battery, wherein the capacity decay change pattern is used to represent the relationship between the number of charge / discharge cycles and the charge / discharge capacity; and determining a new charge / discharge capacity corresponding to the number of charge / discharge cycles based on the capacity decay change pattern. In response to the fact that the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets a preset condition, the new charge / discharge capacity is determined as the target charge / discharge capacity. The preset condition includes that the difference between the new charge / discharge capacity and the preset charge / discharge capacity is greater than or equal to a preset difference. The battery is charged and discharged according to the target charge / discharge capacity, including: obtaining the target temperature of the battery; determining the target charge / discharge cutoff voltage of the battery based on the target charge / discharge capacity and the target temperature; and charging and discharging the battery according to the target charge / discharge cutoff voltage and the target charge / discharge capacity. Wherein, the charging and discharging process is a charging process, the preset charging and discharging capacity is a preset charging capacity, the new charging and discharging capacity is a new charging capacity, and the new charging capacity is greater than the preset charging capacity; or, the charging and discharging process is a discharging process, the preset charging and discharging capacity is a preset discharging capacity, the new charging and discharging capacity is a new discharging capacity, and the preset discharging capacity is greater than the new discharging capacity.

2. The method according to claim 1, characterized in that, The method further includes: In response to the fact that the difference between the new charge / discharge capacity and the preset charge / discharge capacity does not meet the preset condition, the preset charge / discharge capacity is determined to be the target charge / discharge capacity.

3. The method according to claim 1 or 2, characterized in that, Different batteries exhibit different patterns of capacity decay.

4. The method according to claim 1, characterized in that, Determining the target charge / discharge cutoff voltage of the battery based on the target charge / discharge capacity and the target temperature includes: From a number of initial open-circuit voltages and a number of initial charge-discharge impedances, select the initial open-circuit voltage and initial charging impedance corresponding to the target charge-discharge capacity and the target temperature, respectively, as the target open-circuit voltage and the target charge-discharge impedance; The target charge / discharge cutoff voltage is determined based on the target open-circuit voltage and the target charge / discharge impedance.

5. A charging and discharging device, characterized in that, include: The acquisition module is used to acquire the number of charge and discharge cycles of the battery and the preset charge and discharge capacity, wherein the preset charge and discharge capacity is obtained by reserving the total battery capacity. The first determining module is used to determine a new charge / discharge capacity based on the relationship between the number of charge / discharge cycles and the charge / discharge capacity, including: obtaining the capacity decay change law corresponding to the battery, the capacity decay change law being used to represent the relationship between the number of charge / discharge cycles and the charge / discharge capacity; and determining a new charge / discharge capacity corresponding to the number of charge / discharge cycles based on the capacity decay change law. The second determining module is used to determine the new charge / discharge capacity as the target charge / discharge capacity in response to the fact that the difference between the new charge / discharge capacity and the preset charge / discharge capacity meets a preset condition. The preset condition includes that the difference between the new charge / discharge capacity and the preset charge / discharge capacity is greater than or equal to a preset difference. A charge / discharge module is used to charge and discharge the battery according to the target charge / discharge capacity, including: obtaining the target temperature of the battery; determining the target charge / discharge cutoff voltage of the battery based on the target charge / discharge capacity and the target temperature; and charging and discharging the battery according to the target charge / discharge cutoff voltage and the target charge / discharge capacity. Wherein, the charging and discharging process is a charging process, the preset charging and discharging capacity is a preset charging capacity, the new charging and discharging capacity is a new charging capacity, and the new charging capacity is greater than the preset charging capacity; or, the charging and discharging process is a discharging process, the preset charging and discharging capacity is a preset discharging capacity, the new charging and discharging capacity is a new discharging capacity, and the preset discharging capacity is greater than the new discharging capacity.

6. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to perform the charging and discharging method as described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, include: The system contains a program file that, when executed by a processor, is used to implement the charging and discharging method as described in any one of claims 1-4.