Battery management method, device and equipment and computer storage medium
By detecting the aging capacity and cumulative working time of the battery and performing capacity compensation, the frequent charging problems caused by aging of the battery are solved, keeping the battery life time consistent, alleviating the aging speed and improving user experience.
Patent Information
- Application Number
- CN202411425777.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-03
AI Technical Summary
The battery ages during use, resulting in a decrease in the ability to store charges, shorten the working time for full charges, and accelerates the aging of frequent charging. How to keep the battery working time consistent and avoid frequent charging to alleviate aging.
By checking whether the aging capacity of the battery meets the preset conditions, if it is satisfied, the actual capacity will be compensated based on the aging capacity and the initial capacity; if it is not satisfied, it will be judged whether the cumulative working time has reached the preset time. If it is reached, the aging capacity corresponding to the preset time and The initial capacity compensates for the actual capacity to ensure the consistent battery life time.
Maintain the actual capacity consistent during the battery life cycle, avoid frequent charging, alleviate the aging speed, and improve user experience.
Smart Images

Figure CN119253105A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a battery management method, device, equipment and computer storage medium. Background Art
[0002] The service life of a battery is usually 2 to 10 years. As the battery is used, it ages and its ability to store charge decreases, causing the actual capacity of the battery to decrease and the working time of a fully charged battery to continue to shorten. The continuous shortening of the battery's working time will lead to an increasing frequency of battery charging, which will accelerate battery aging. In view of this, how to keep the battery's working time basically consistent during the use of the battery, avoid frequent charging, and thus reduce the speed of battery aging has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0003] The purpose of this application is to provide a battery management method, device, equipment and computer storage medium, which can keep the battery working time basically consistent during the use of the battery, avoid frequent charging, and thus reduce the speed of battery aging.
[0004] To solve the above technical problems, the present application provides a battery management method, comprising:
[0005] Check whether the aging capacity of the battery meets the preset conditions;
[0006] If satisfied, the actual capacity of the battery is compensated according to the aging capacity of the battery and the preset initial capacity of the battery; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when it reaches the preset maximum cumulative working time;
[0007] If not, determining whether the cumulative working time of the battery reaches a preset cumulative working time;
[0008] If it is reached, the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity.
[0009] In some embodiments, the preset initial capacity of the battery is equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery.
[0010] In some embodiments, compensating the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery includes:
[0011] The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity of the battery.
[0012] In some embodiments, compensating the actual capacity of the battery according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity includes:
[0013] The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity corresponding to the preset accumulated working time.
[0014] In some embodiments, it also includes:
[0015] If the cumulative working time of the battery does not reach the preset cumulative working time, the cumulative working time of the battery is continuously counted until the cumulative working time of the battery reaches the preset cumulative working time, and the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0016] In some embodiments, the step of detecting whether the aging capacity of the battery meets a preset condition includes:
[0017] Determining whether the aging capacity of the battery conforms to the capacity aging trend of the battery;
[0018] If the aging capacity of the battery conforms to the capacity aging trend of the battery, then the aging capacity of the battery meets the preset condition;
[0019] If the aging capacity of the battery does not conform to the capacity aging trend of the battery, the aging capacity of the battery does not meet the preset condition.
[0020] In some embodiments, it also includes:
[0021] When the device is shut down or restarted, the accumulated working time and aging capacity of the battery are stored.
[0022] In order to solve the above technical problems, the present application also provides a battery management device, including:
[0023] A detection module, used to detect whether the aging capacity of the battery meets the preset conditions;
[0024] A first compensation module, configured to compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery if the conditions are met; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when it reaches a preset maximum cumulative working time;
[0025] A judging module, used for judging whether the accumulated working time of the battery reaches a preset accumulated working time if the condition is not satisfied;
[0026] The second compensation module is used to compensate the actual capacity of the battery according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity if the preset cumulative working time is reached.
[0027] In order to solve the above technical problems, the present application also provides a computer device, including:
[0028] Memory for storing computer programs;
[0029] A processor is used to implement the steps of the battery management method as described above when executing the computer program.
[0030] In order to solve the above technical problems, the present application also provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the battery management method as described above are implemented.
[0031] In order to solve the above technical problems, the present application also provides a computer program product, including a computer program / instructions, which implement the steps of the battery management method as described above when executed by a processor.
[0032] The battery management method provided in the present application includes: detecting whether the aging capacity of the battery meets a preset condition; if so, compensating the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when the preset maximum cumulative working time is reached; if not, judging whether the cumulative working time of the battery reaches the preset cumulative working time; if reached, compensating the actual capacity of the battery according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0033] It can be seen that the battery management method provided by the present application determines the initial capacity of the battery based on the full-charge capacity of the battery and the maximum aging capacity of the battery. The initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery, thus reserving part of the battery capacity for subsequent capacity compensation. The compensation for the aging capacity of the battery during actual use of the battery keeps the actual capacity of the battery consistent throughout the life cycle of the battery, keeps the battery usage time consistent, avoids the problem of frequent charging after long-term use of the battery, thereby alleviating the speed of battery aging and improving the user experience.
[0034] The battery management device, equipment and computer storage medium provided in this application all have the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the prior art and the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A schematic diagram of a battery management method provided in an embodiment of the present application;
[0037] Figure 2 A flowchart of a specific battery management method provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of a battery management device provided in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The core of this application is to provide a battery management method, device, equipment and computer storage medium, which can keep the battery working time basically consistent during the use of the battery, avoid frequent charging, and thus reduce the speed of battery aging.
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] Please refer to Figure 1 , Figure 1 A schematic diagram of a battery management method provided in an embodiment of the present application, refer to Figure 1 As shown, the method includes:
[0043] S101: Detect whether the aging capacity of the battery meets the preset conditions;
[0044] Aging capacity refers to the capacity of the battery that is reduced due to aging. The actual capacity of the battery can be obtained, and the aging capacity of the battery can be obtained by subtracting the full capacity of the battery from the actual capacity of the battery. During the use of the battery, the aging capacity of the battery is detected to see whether it meets the preset conditions. The preset conditions can be whether the aging capacity of the battery is legal, that is, whether it is normal.
[0045] In some embodiments, the step of detecting whether the aging capacity of the battery meets a preset condition includes:
[0046] Determining whether the aging capacity of the battery conforms to the capacity aging trend of the battery;
[0047] If the aging capacity of the battery conforms to the capacity aging trend of the battery, then the aging capacity of the battery meets the preset condition;
[0048] If the aging capacity of the battery does not conform to the capacity aging trend of the battery, the aging capacity of the battery does not meet the preset condition.
[0049] The method for judging whether the aging capacity of the battery conforms to the aging trend of the battery capacity may be: judging whether the aging capacity of the battery is on the variation curve of the aging capacity of the battery. The variation curve of the aging capacity of the battery is obtained by fitting based on a number of previously determined battery aging capacities. If the aging capacity of the battery is on the variation curve of the aging capacity, the aging capacity of the battery is normal; if the aging capacity of the battery is not on the variation curve of the aging capacity, the aging capacity of the battery is abnormal.
[0050] Another method for determining whether the battery aging capacity conforms to the battery capacity aging trend is to calculate the slope of the aging capacity change curve (a straight line in this case) based on the battery aging capacity and the last determined battery aging capacity, and determine whether the slope is consistent with the slope calculated previously. If they are consistent, the battery aging capacity is normal; if they are inconsistent, the battery aging capacity is abnormal, and there may be a jump in aging capacity.
[0051] S102: If satisfied, compensating the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when it reaches the preset maximum cumulative working time;
[0052] Perform an aging test on the battery in advance to obtain the maximum aging capacity of the battery, wherein the maximum aging capacity of the battery is the aging capacity of the battery when the battery reaches the preset maximum cumulative working time during the aging test.
[0053] For example, during the aging test of the battery, the cumulative working times of the battery are respectively recorded as T1, T2, and T3, where T1 < T2 < T3. When the cumulative working time of the battery is T1, the battery experiences 5% aging, that is, the aging capacity of the battery is 5%, and the aging capacity of this battery is recorded as C1. When the cumulative working time of the battery is T2, the battery experiences 10% aging, that is, the aging capacity of the battery is 10%, and the aging capacity of this battery is recorded as C2. When the cumulative working time of the battery is T3, the battery experiences 15% aging, that is, the aging capacity of the battery is 15%, and the aging capacity of this battery is recorded as C3. T3 is the preset maximum cumulative working time, and C3 is the maximum aging capacity of the battery obtained from the test.
[0054] Based on the full charge capacity of the battery and the maximum aging capacity of the battery, determine the preset initial capacity of the battery, and this preset initial capacity is less than or equal to the difference between the full charge capacity of the battery and the maximum aging capacity of the battery. The initial full charge capacity of the battery is 100%.
[0055] In some embodiments, the preset initial capacity of the battery is equal to the difference between the full charge capacity of the battery and the maximum aging capacity of the battery.
[0056] The full charge capacity of the battery is recorded as C0, and the maximum aging capacity of the battery obtained from the test is recorded as Cmax. Then the initial capacity of the battery is C0 - Cmax. Since the full charge capacity of the battery is 100%, the initial capacity of the battery is C0 - Cmax = 100% - Cmax.
[0057] If the aging capacity of the battery meets the preset conditions, then compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery. Use the compensated actual capacity of the battery as the full charge standard for battery charge and discharge management.
[0058] Among them, in some embodiments, compensating the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery includes:
[0059] Update the actual capacity of the battery to the sum of the preset initial capacity and the aging capacity of the battery.
[0060] Let the aging capacity of the battery be C, then the actual capacity of the updated battery is C0-Cmax+C. As the battery is used, it ages and has aging capacity, and the actual value of the full capacity of the battery has not reached the initial 100%. The aging capacity of the battery is C, then the value of the full capacity C0 of the battery is actually equal to 100%-C. The actual capacity of the updated battery is equal to 100%-C-Cmax+C=100%-Cmax, so the actual capacity of the battery is always maintained at 100%-Cmax during use. If the battery power is consumed by 100%-Cmax, it is considered that the battery power is exhausted and needs to be charged. If the battery charge reaches 100%-Cmax, it is considered that the battery power is fully charged. Therefore, within the service life of the battery, the battery usage time is always the time when the power is consumed by 100%-Cmax, so that the battery usage time can be kept consistent.
[0061] S103: If not satisfied, determining whether the accumulated working time of the battery reaches a preset accumulated working time;
[0062] S104: If reached, the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity.
[0063] If the aging capacity of the battery does not meet the preset condition, it is determined whether the cumulative working time of the battery reaches the preset cumulative working time, and when the cumulative working time of the battery reaches the preset cumulative working time, the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity. The working time of the battery stored last time can be obtained from the memory, and the working time of the battery stored last time and the working time of the battery this time are added to obtain the cumulative working time of the battery.
[0064] In addition to storing the working time of the battery, the memory can also store the aging capacity of the battery. When the device is shut down or restarted, the recorded cumulative working time and the aging capacity of the battery can be stored in the memory.
[0065] In some embodiments, compensating the actual capacity of the battery according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity includes:
[0066] The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity corresponding to the preset accumulated working time.
[0067] For example, when the cumulative working time of the battery reaches the preset cumulative working time T1, the actual capacity of the battery is updated to the sum of the preset initial capacity and C1, that is, the actual capacity of the battery is updated to C0-Cmax+C1. When the cumulative working time of the battery reaches the preset cumulative working time T2, the actual capacity of the battery is updated to the sum of the preset initial capacity and C2, that is, the actual capacity of the battery is updated to C0-Cmax+C2.
[0068] In some embodiments, it also includes:
[0069] If the cumulative working time of the battery does not reach the preset cumulative working time, the cumulative working time of the battery is continuously counted until the cumulative working time of the battery reaches the preset cumulative working time, and the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0070] When the cumulative operating time of the battery has not reached the preset cumulative operating time, this embodiment does not temporarily compensate the actual capacity of the battery, and continues to count the cumulative operating time of the battery until the cumulative operating time of the battery reaches the preset cumulative operating time, and then compensates the actual capacity of the battery according to the aging capacity corresponding to the preset cumulative operating time and the preset initial capacity.
[0071] For example, if the cumulative working time of the battery has not reached the preset cumulative working time T1, the actual capacity of the battery will not be compensated temporarily, and the cumulative working time of the battery will be continuously counted until the cumulative working time of the battery reaches the preset cumulative working time T1, at which time the actual capacity of the battery will be updated to the sum of the preset initial capacity and the aging capacity corresponding to the preset cumulative working time T1.
[0072] Alternatively, in some embodiments, when the cumulative operating time of the battery has not reached the preset cumulative operating time, the aging capacity of the battery can be periodically re-determined, and it can be determined whether the aging capacity of the battery meets the preset conditions. Until the aging capacity of the battery meets the preset conditions, the actual capacity of the battery is compensated according to the aging capacity of the battery and the preset initial capacity of the battery.
[0073] In some embodiments, it also includes:
[0074] An aging test is performed on the battery to determine the aging capacity corresponding to each preset cumulative working time; the aging capacity corresponding to the preset cumulative working time includes the maximum aging capacity of the battery.
[0075] The number of preset cumulative working hours can be set differently. For example, the number of preset cumulative working hours and the value of each preset cumulative time can be determined according to the service life of the battery. For example, if the service life of the battery is 3 years, the number of preset cumulative working times can be determined in units of years to be 3, namely 1 year, 2 years and 3 years.
[0076] refer to Figure 2 As shown, a specific implementation is described below:
[0077] Perform aging tests on the batteries equipped with the equipment to determine the aging capacity corresponding to the preset cumulative working time.
[0078] When the device starts, the initial capacity of the battery is set to the difference between the full-charge capacity of the battery and the maximum aging capacity obtained during the aging test. During the startup process, the aging capacity of the battery stored last time is obtained, and the actual capacity of the battery is updated to the difference between the initial capacity and the aging capacity of the battery.
[0079] The device starts the timing service, obtains the working time stored when the device was last shut down, and records the cumulative working time as the sum of the working time and the current working time.
[0080] During the operation of the equipment, the aging capacity of the battery is regularly checked to see if it is normal. If it is normal, the actual capacity of the battery is updated to the difference between the initial capacity and the aging capacity of the battery. If it is abnormal, it is determined whether the cumulative working time of the battery has reached the preset cumulative working time. If a preset cumulative working time has been reached, the actual capacity of the battery is updated to the sum of the initial capacity of the battery and the preset cumulative working time reached.
[0081] If the device is shut down or restarted, the recorded cumulative working time and aging capacity are stored in the memory so that the actual capacity of the battery can be determined the next time the device is started.
[0082] In summary, the battery management method provided by the present application determines the initial capacity of the battery based on the full-charge capacity of the battery and the maximum aging capacity of the battery. The initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery, thus reserving part of the battery capacity for subsequent capacity compensation. The compensation for the battery aging capacity during actual use of the battery ensures that the actual capacity of the battery remains consistent throughout the entire life cycle of the battery, and the battery usage time can remain consistent, avoiding the problem of frequent charging of the battery after long-term use, thereby alleviating the speed of battery aging and improving the user experience.
[0083] The present application also provides a battery management device, and the device described below can be referred to in correspondence with the method described above. Figure 3 , Figure 3A schematic diagram of a device provided in an embodiment of the present application, combined with Figure 3 As shown, the device comprises:
[0084] The detection module 10 is used to detect whether the aging capacity of the battery meets the preset conditions;
[0085] A first compensation module 20 is used to compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery if the conditions are met; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when it reaches a preset maximum cumulative working time;
[0086] A judging module 30, for judging whether the accumulated working time of the battery reaches a preset accumulated working time if the condition is not satisfied;
[0087] The second compensation module 40 is used to compensate the actual capacity of the battery according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity if the preset cumulative working time is reached.
[0088] Based on the above embodiment, as a specific implementation manner, the preset initial capacity of the battery is equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery.
[0089] Based on the above embodiment, as a specific implementation manner, the first compensation module 20 is specifically used for:
[0090] The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity of the battery.
[0091] Based on the above embodiment, as a specific implementation, the second compensation module 40 is specifically used for:
[0092] The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity corresponding to the preset accumulated working time.
[0093] Based on the above embodiment, as a specific implementation method, it also includes:
[0094] The third compensation module is used to continuously count the cumulative working time of the battery if the cumulative working time of the battery does not reach the preset cumulative working time, until the cumulative working time of the battery reaches the preset cumulative working time, and compensate the actual capacity of the battery according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0095] Based on the above embodiment, as a specific implementation, the detection module 10 includes:
[0096] A judging unit, used for judging whether the aging capacity of the battery conforms to the capacity aging trend of the battery;
[0097] a first determining unit, configured to determine that the aging capacity of the battery meets a preset condition if the aging capacity of the battery meets the capacity aging trend of the battery;
[0098] The second determining unit is configured to determine that the aging capacity of the battery does not meet a preset condition if the aging capacity of the battery does not meet the capacity aging trend of the battery.
[0099] In some embodiments, it also includes:
[0100] The storage module is used to store the accumulated working time and aging capacity of the battery when the device is shut down or restarted.
[0101] The present application also provides a computer device, referring to Figure 4 As shown, the device includes a memory 1 and a processor 2 .
[0102] Memory 1, used for storing computer programs;
[0103] Processor 2 is used to execute the computer program to implement the following steps:
[0104] Detect whether the aging capacity of the battery meets the preset conditions; if so, compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when the preset maximum cumulative working time is reached; if not, determine whether the cumulative working time of the battery reaches the preset cumulative working time; if so, compensate the actual capacity of the battery according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0105] For an introduction to the equipment provided in this application, please refer to the above method embodiments, and this application will not go into details here.
[0106] The present application also provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps can be implemented:
[0107] Detect whether the aging capacity of the battery meets the preset conditions; if so, compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when the preset maximum cumulative working time is reached; if not, determine whether the cumulative working time of the battery reaches the preset cumulative working time; if so, compensate the actual capacity of the battery according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0108] The computer storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0109] For an introduction to the computer storage medium provided in this application, please refer to the above method embodiment, and this application will not go into details here.
[0110] The present application also provides a computer program product, including a computer program / instruction, which implements the following steps when executed by a processor:
[0111] Detect whether the aging capacity of the battery meets the preset conditions; if so, compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery; the preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when the preset maximum cumulative working time is reached; if not, determine whether the cumulative working time of the battery reaches the preset cumulative working time; if so, compensate the actual capacity of the battery according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
[0112] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the devices, equipment, and computer storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0113] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0114] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0115] The battery management method, device, equipment and computer storage medium provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A battery management method, characterized in that: include: Check whether the aging capacity of the battery meets the preset conditions; If satisfied, compensating the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery; The preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when it reaches the preset maximum cumulative working time; If not, determining whether the cumulative working time of the battery reaches a preset cumulative working time; If it is reached, the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
2. The battery management method according to claim 1, characterized in that: The preset initial capacity of the battery is equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery.
3. The battery management method according to claim 1, characterized in that: The compensating the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery includes: The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity of the battery.
4. The battery management method according to claim 1, characterized in that: The compensating the actual capacity of the battery according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity comprises: The actual capacity of the battery is updated to the sum of the preset initial capacity and the aging capacity corresponding to the preset accumulated working time.
5. The battery management method according to claim 1, characterized in that: Also includes: If the cumulative working time of the battery does not reach the preset cumulative working time, the cumulative working time of the battery is continuously counted until the cumulative working time of the battery reaches the preset cumulative working time, and the actual capacity of the battery is compensated according to the aging capacity corresponding to the preset cumulative working time and the preset initial capacity.
6. The battery management method according to claim 1, characterized in that: The step of detecting whether the aging capacity of the battery meets a preset condition includes: Determining whether the aging capacity of the battery conforms to the capacity aging trend of the battery; If the aging capacity of the battery conforms to the capacity aging trend of the battery, then the aging capacity of the battery meets the preset condition; If the aging capacity of the battery does not conform to the capacity aging trend of the battery, the aging capacity of the battery does not meet the preset condition.
7. The battery management method according to claim 1, characterized in that: Also includes: When the device is shut down or restarted, the accumulated working time and aging capacity of the battery are stored.
8. A battery management device, characterized in that: include: A detection module, used to detect whether the aging capacity of the battery meets the preset conditions; A first compensation module, configured to compensate the actual capacity of the battery according to the aging capacity of the battery and the preset initial capacity of the battery if the conditions are met; The preset initial capacity is less than or equal to the difference between the full-charge capacity of the battery and the maximum aging capacity of the battery; the maximum aging capacity is the aging capacity of the battery when it reaches the preset maximum cumulative working time; A judging module, used for judging whether the accumulated working time of the battery reaches a preset accumulated working time if the condition is not satisfied; The second compensation module is used to compensate the actual capacity of the battery according to the aging capacity corresponding to the preset accumulated working time and the preset initial capacity if the preset cumulative working time is reached.
9. A computer device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the battery management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the battery management method according to any one of claims 1 to 7 are implemented.
