Method and device for determining capacity fading value of battery and detection equipment

By acquiring and analyzing multiple battery data sets of lithium batteries and calculating their capacity attenuation values, the problem of poor prediction accuracy in the existing technology is solved, and more accurate battery life prediction and usage efficiency are achieved.

CN118534355APending Publication Date: 2024-08-23XIAN NOVASTAR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410765639.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When predicting the life of lithium batteries, the existing technology fails to effectively consider the impact of the external environment and usage scenarios on battery characteristics, resulting in poor prediction accuracy and requiring a large number of parameter inputs, making testing difficult and costly.

Method used

By obtaining multiple battery data sets of the battery to be tested, linear fitting is performed based on the actual full charge value to determine the capacity attenuation curve, and then the actual attenuation value is calculated to reflect the battery usage scenarios and user habits, and improve the accuracy of the capacity attenuation rate. .

Benefits of technology

It improves the accuracy of battery life prediction, reduces the number of parameter inputs, simplifies the difficulty of the algorithm, and improves prediction efficiency, allowing users to repair or replace batteries in a timely manner to avoid affecting use due to insufficient remaining capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534355A
    Figure CN118534355A
Patent Text Reader

Abstract

The invention is suitable for the technical field of batteries, and provides a method and device for determining the capacity attenuation value of a battery and detection equipment, and the method comprises the steps: obtaining a plurality of battery data sets of a to-be-detected battery, each battery data set comprises a plurality of actual full charge quantity values acquired at different acquisition moments; determining a first attenuation value corresponding to each battery data set according to the actual full charge value corresponding to each battery data set; and in response to the condition that at least one first attenuation value in the plurality of first attenuation values meets a first preset condition, setting the first attenuation value meeting the first preset condition as an actual attenuation value of the to-be-tested battery, the actual attenuation value being used for representing the attenuated capacity of the to-be-tested battery after being used for one day. According to the invention, the capacity attenuation value better conforming to the actual use scene of the battery and the use habit of the user can be obtained, and the accuracy of battery life prediction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of battery technology, and in particular, relates to a method, device and detection equipment for determining a capacity decay value of a battery. Background Art

[0002] With the rapid development of battery technology, lithium batteries (also known as lithium-ion batteries) have gradually become the main power source for electronic devices, electric vehicles, energy storage systems and other electrical equipment. However, as the number of charge and discharge cycles increases, the capacity of lithium batteries will decay, which poses a challenge to the reliability and safety of electrical equipment. Therefore, it is increasingly important to accurately predict the life of the battery.

[0003] In the related art, the life of lithium batteries is generally predicted using electrochemical models. This method predicts the life of the battery based on the electrochemical reaction inside the lithium battery, but does not consider the impact of the external environment and usage scenarios on the battery characteristics, and the prediction accuracy is poor. In addition, this method requires a large number of parameter inputs, making the test difficult and costly. Summary of the invention

[0004] The embodiments of the present application provide a method, device and detection equipment for determining the capacity decay value of a battery, which can obtain a capacity decay rate that is more in line with the actual usage scenarios of the battery and user usage habits, thereby improving the accuracy of battery life prediction.

[0005] In a first aspect, an embodiment of the present application provides a method for determining a capacity attenuation value of a battery, the method comprising: acquiring multiple battery data sets of a battery to be tested, wherein the multiple battery data sets each correspond to a different collection time period, and each battery data set includes multiple actual full charge values ​​collected at different collection times; determining a first attenuation value corresponding to each battery data set based on the actual full charge value corresponding to each of the multiple battery data sets; in response to at least one first attenuation value among the multiple first attenuation values ​​satisfying a first preset condition, setting the first attenuation value satisfying the first preset condition as the actual attenuation value of the battery to be tested, wherein the actual attenuation value is used to characterize the capacity of the battery to be tested that decays after one day of use.

[0006] In a possible implementation, the above-mentioned determining the first attenuation value corresponding to each battery data set according to the actual full charge capacity value corresponding to each of the multiple battery data sets includes: performing linear fitting on the multiple actual full charge capacity values ​​in the battery data set to obtain a capacity attenuation curve corresponding to the battery data set, the capacity attenuation curve being a curve of the actual full charge capacity value of the battery to be tested varying with time; and determining the first attenuation value corresponding to the battery data set according to the capacity attenuation curve.

[0007] In a possible implementation, in response to at least one first attenuation value among multiple first attenuation values ​​satisfying a first preset condition, setting the first attenuation value that satisfies the first preset condition as the actual attenuation value of the battery to be tested includes: selecting a battery data set from multiple battery data sets, determining the first attenuation value corresponding to the selected battery data set based on multiple actual full charge values ​​in the selected battery data set, and determining whether the first attenuation value corresponding to the selected battery data set satisfies the first preset condition; in response to the first attenuation value corresponding to the selected battery data set satisfying the first preset condition, setting the first attenuation value corresponding to the selected battery data set to the actual attenuation value.

[0008] In a possible implementation, the selecting a battery data set from a plurality of battery data sets includes: selecting a battery data set from a plurality of battery data sets in a preset order; wherein the preset order is an ascending order of collection durations corresponding to the battery data sets, and the collection duration is an interval between a start time of a collection time period corresponding to the battery data set and a current usage time of the battery to be tested.

[0009] In a possible implementation, after determining the first attenuation value corresponding to each battery data set according to the actual full charge capacity value corresponding to each of the multiple battery data sets, the method further includes: in response to each of the multiple first attenuation values ​​not satisfying the first preset condition, setting the second attenuation value to the actual attenuation value, wherein the second attenuation value is determined based on the current actual battery cell capacity and the initial battery cell capacity of the battery to be tested.

[0010] In a possible implementation, before setting the second attenuation value as the actual attenuation value, the method further includes: obtaining the current actual cell capacity of the battery to be tested; determining the cell capacity difference between the initial cell capacity and the actual cell capacity; using the ratio between the cell capacity difference and the initial cell capacity as the capacity attenuation ratio; and determining the ratio between the capacity attenuation ratio and the current number of days of use of the battery to be tested as the second attenuation value.

[0011] In a possible implementation manner, the first preset condition includes that the first attenuation value is less than a preset attenuation threshold.

[0012] In one possible implementation, after setting the actual attenuation value of the battery to be tested, the method also includes: obtaining the current actual cell capacity of the battery to be tested; determining the predicted attenuation capacity corresponding to the target usage days based on the actual cell capacity, the actual attenuation value and the target usage days; and determining the predicted remaining capacity of the battery to be tested after the target usage days based on the difference between the actual cell capacity and the predicted attenuation capacity.

[0013] In one possible implementation, after setting the actual attenuation value of the battery to be tested, the method also includes: obtaining the current actual cell capacity of the battery to be tested; determining the allowable attenuation capacity based on the difference between the actual cell capacity and a preset remaining capacity threshold; determining the predicted number of days of use of the battery to be tested based on the allowable attenuation capacity, the actual cell capacity and the actual attenuation value, wherein the predicted number of days of use is used to indicate the number of days it takes for the cell capacity of the battery to be tested to decay to the preset remaining capacity threshold.

[0014] In a possible implementation, after determining the predicted usage days of the battery to be tested based on the allowable attenuation capacity, the actual cell capacity and the actual attenuation value, the method further includes: when the difference between the usage days of the battery to be tested and the predicted usage days is less than or equal to a preset day threshold, outputting a prompt message, wherein the prompt message is used to prompt that the cell capacity of the battery to be tested is close to a preset remaining capacity threshold.

[0015] In a possible implementation, the battery to be tested is disposed in an electronic device, and the electronic device further includes a battery management module, which is connected to the battery to be tested; the step of obtaining multiple battery data sets of the battery to be tested includes: obtaining multiple battery data sets of the battery to be tested through the battery management module.

[0016] In a second aspect, an embodiment of the present application provides a device for determining a capacity decay value of a battery, the device comprising: a first acquisition module, a first determination module and a setting module, wherein the first acquisition module is used to acquire multiple battery data sets of a battery to be tested, wherein the multiple battery data sets each correspond to a different collection time period, and each battery data set includes multiple actual full charge values ​​collected at different collection times. The first determination module is used to determine the first decay value corresponding to each battery data set according to the actual full charge value corresponding to each of the multiple battery data sets. The setting module is used to set the first decay value that meets the first preset condition as the actual decay value of the battery to be tested in response to at least one first decay value among the multiple first decay values ​​meeting the first preset condition, and the actual decay value is used to characterize the capacity decayed by the battery to be tested after one day of use.

[0017] In a third aspect, an embodiment of the present application provides a detection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of a method for determining a capacity attenuation value of a battery as described in any one of the first aspects above are implemented.

[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for determining the capacity attenuation value of a battery described in any one of the first aspects above are implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a detection device, the detection device executes the method for determining the capacity attenuation value of a battery as described in any one of the first aspects above.

[0020] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0021] According to the method for determining the capacity decay value of a battery provided in an embodiment of the present application, when predicting the capacity decay of a battery, multiple battery data sets of the battery to be tested are obtained, and the first decay value corresponding to each battery data set is determined according to the actual full charge value corresponding to each of the multiple battery data sets, and then the actual decay value of the battery to be tested is determined according to the multiple first decay values. Since the variation pattern of the multiple actual full charge values ​​can reflect the actual use scenario of the battery to be tested and the user's usage habits, the first decay value of the battery to be tested is determined by using the multiple actual full charge values ​​collected at different collection times during the use of the battery to be tested, and then according to the first decay value, an actual decay value that is more in line with the actual use scenario of the battery to be tested and the user's usage habits can be obtained, thereby improving the accuracy of determining the daily decay rate of the battery to be tested. Moreover, this method does not require a large amount of parameter input, reduces the difficulty of the algorithm, and can improve the prediction efficiency of the battery decay rate.

[0022] Furthermore, based on the predicted actual attenuation value, the remaining life of the battery to be tested can be predicted more accurately, so that the user can repair or replace the battery to be tested in time to avoid affecting the user's normal use of battery equipment due to insufficient remaining capacity of the battery to be tested. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art 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 any creative work.

[0024] Figure 1 It is a schematic diagram of the implementation environment of the method for determining the capacity attenuation value of a battery provided in an embodiment of the present application;

[0025] Figure 2 The following is a flow chart of a method for determining the capacity attenuation value of a battery provided in an embodiment of the present application. Figure 1 ;

[0026] Figure 3 is a schematic diagram of a capacity decay curve provided in an embodiment of the present application;

[0027] Figure 4 The following is a flow chart of a method for determining the capacity attenuation value of a battery provided in an embodiment of the present application. Figure 2 ;

[0028] Figure 5 The following is a flow chart of a method for determining the capacity attenuation value of a battery provided in an embodiment of the present application. Figure 3 ;

[0029] Figure 6 The following is a flow chart of a method for determining the capacity attenuation value of a battery provided in an embodiment of the present application. Figure 4 ;

[0030] Figure 7 The following is a flow chart of a method for determining the capacity attenuation value of a battery provided in an embodiment of the present application. Figure 5 ;

[0031] Figure 8 The following is a flow chart of a method for determining the capacity attenuation value of a battery provided in an embodiment of the present application. Figure 6 ;

[0032] Fig. 9 It is a structural schematic diagram of a device for determining a capacity decay value of a battery provided in an embodiment of the present application;

[0033] Fig.10 It is a structural schematic diagram of a detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0035] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0036] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0037] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0038] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0039] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0040] With the rapid development of battery technology, lithium batteries have gradually become the main power source for electronic devices, electric vehicles, energy storage systems and other electrical equipment. However, as the number of charge and discharge cycles increases, the capacity of lithium batteries will decay, which poses a challenge to the reliability and safety of electrical equipment. Therefore, it is increasingly important to accurately predict the life of the battery.

[0041] At present, the main methods for predicting battery life are based on models (such as degradation mechanism models, equivalent circuit models, empirical decay models, and fusion models) and data-driven methods. However, these methods are based on the electrochemical reactions inside lithium batteries to predict battery life, without considering the impact of external environment and usage scenarios on battery characteristics, and the prediction accuracy is poor. In addition, this method requires a large number of parameter inputs, which makes testing difficult and costly.

[0042] In order to solve the above technical problems, an embodiment of the present application provides a method for determining the capacity decay value of a battery, which method may include: when predicting the capacity decay rate of a battery, obtaining multiple battery data sets of a battery to be tested, and determining the first decay value corresponding to each battery data set according to the actual full charge value corresponding to each of the multiple battery data sets, and then determining the actual decay value of the battery to be tested according to the multiple first decay values, and the actual decay value is used to characterize the capacity decayed by the battery to be tested after one day of use. Since the variation law of the actual full charge value can reflect the actual use scenario of the battery to be tested and the user's usage habits, the first decay value of the battery to be tested is determined by using the actual full charge value collected at different collection times during the use of the battery to be tested, and then according to the first decay value, an actual decay value that is more in line with the actual use scenario of the battery to be tested and the user's usage habits can be obtained, thereby improving the accuracy of determining the capacity decay rate of the battery to be tested.

[0043] Before introducing the method for determining the capacity attenuation value of a battery provided in an embodiment of the present application, the implementation environment of the present embodiment is schematically described below.

[0044] Figure 1 The following is a schematic diagram showing an implementation environment of a method for determining a capacity attenuation value of a battery provided in an embodiment of the present application. Figure 1 As shown, the implementation environment may include an electric device 10 and a detection device 20, wherein the electric device 10 includes a battery 11 and a battery management system (BMS) 12. The battery management system 12 is used to monitor and manage the status of the battery 11 in real time. Specifically, the battery management system 12 is used to collect battery data of the battery 11, and the battery data may include charging current, discharging current, cell voltage, state of charge (State of Charge, SOC for short, or remaining power), etc. The detection device 20 is connected to the battery management system 12 in communication, and the detection device 20 is used to obtain the battery data of the battery 11 to be evaluated from the battery management system 12, so as to determine the capacity decay value of the battery 11 according to the battery data of the battery 11, and then predict the cell capacity of the battery 11 based on the capacity decay value of the battery 11. In other words, the embodiment of the present application can predict the capacity decay value and battery life of the battery 11 in use in the electric device 10.

[0045] Exemplarily, the electric device 10 may be, for example, a terminal device (such as a mobile phone), a computer, a drone, an electric vehicle, an energy storage device, etc., and the present embodiment of the application does not impose any limitation on the specific type of the electric device 10. Exemplarily, the battery 11 may be a lithium-ion battery, such as a lithium iron phosphate battery, a ternary lithium battery, etc., that is, the present embodiment of the application may be applicable to different types of lithium batteries in various electric devices, and the present embodiment of the application does not impose any limitation on this.

[0046] The method for determining the capacity decay value of a battery provided in an embodiment of the present application is schematically described below in conjunction with the accompanying drawings.

[0047] See also Figure 2 , which shows a flow chart of a method for determining a capacity decay value of a battery provided in an embodiment of the present application. The method can be applied to a detection device. It should be understood that the detection device can be the detection device 20 provided in the aforementioned embodiment, and the present application does not limit this.

[0048] like Figure 2 As shown, the method for determining the capacity attenuation value of the battery includes the following steps 210 to 230.

[0049] Step 210 , obtaining a plurality of battery data sets of the battery to be tested, wherein the plurality of battery data sets correspond to different collection time periods, and each battery data set includes a plurality of actual full charge capacity values ​​collected at different collection times.

[0050] A battery data set refers to a collection of battery usage data of a battery to be tested. Different battery data sets correspond to different collection time periods, wherein the collection time period refers to a period of time in the past before the current usage time (such as the current day) of the battery to be tested. Exemplarily, when acquiring multiple battery data sets of a battery to be tested, the battery usage data of the battery to be tested for the past day, the battery usage data of the battery to be tested for the past 3 days, the battery usage data of the battery to be tested for the past 7 days, the battery usage data of the battery to be tested for the past 15 days, and the battery usage data of the battery to be tested for the past 30 days can be acquired.

[0051] Each battery data set may include multiple sets of battery usage data, and the collection time corresponding to each set of battery usage data in the multiple sets of battery usage data is different. The battery usage data is collected during the use of the battery to be tested, and reflects the battery status of the battery to be tested.

[0052] Exemplarily, a set of battery usage data may include at least one of actual state of charge and displayed state of charge, charge and discharge current, and cell voltage.

[0053] Among them, the actual state of charge refers to the actual remaining power of the battery to be tested at the current collection moment. The displayed state of charge refers to the remaining power displayed by the electrical device (such as a mobile phone) in which the battery to be tested is installed at the current collection moment. The displayed state of charge and the actual state of charge of the battery to be tested at the same collection moment may be the same or different. The displayed state of charge and the actual state of charge of the battery to be tested at the same collection moment are inconsistent, indicating that the cell capacity of the battery to be tested has decayed. For example, the displayed state of charge of the battery to be tested at the current collection moment is 100%, while the actual state of charge of the battery to be tested at the current collection moment is 80%.

[0054] The charge and discharge current refers to the current flowing through the battery under test at the current collection time, that is, the current flowing through the battery under test during the charging process or the discharging process, that is, the charge and discharge current is the charging current or the discharging current of the battery under test. In other words, at the current collection time, the battery under test is in the charging process, and the collected current is the charging current of the battery under test; at the current collection time, the battery under test is in the discharging process, and the collected current is the discharging current of the battery under test.

[0055] The cell voltage refers to the working voltage of the battery under test at the current acquisition moment, that is, the actual voltage of the battery under test during the discharge or charge process.

[0056] In some embodiments, step 210 may include: obtaining multiple battery data sets of the battery to be tested through a battery management module. Optionally, during the use of the battery to be tested, the detection device may obtain the battery usage data of the battery to be tested through the battery management module (also referred to as a battery management system) of the battery to be tested according to a preset collection cycle. Exemplarily, the preset collection cycle may be, for example, once every 5 seconds, or once every 15 seconds. The preset collection cycle may be set based on actual experience, and the embodiments of the present application do not specifically limit this.

[0057] Exemplarily, taking the preset collection cycle of collecting once every 5 seconds as an example, the process of acquiring the battery usage data of the battery to be tested is explained. The detection equipment is installed with a data collection program (i.e., the lower computer program). By running the data collection program, according to the preset collection cycle, the detection equipment obtains a set of battery usage data (i.e., actual state of charge, displayed state of charge, charge and discharge current, and cell voltage) of the battery to be tested through the battery management module every 5 seconds, and obtains multiple sets of battery usage data corresponding to different collection times. After collecting multiple sets of battery usage data of the battery to be tested, the multiple sets of battery usage data of the battery to be tested can be stored. Then, the battery data set of the battery to be tested can be obtained according to the collection time of each set of battery usage data. For example, the battery usage data of the battery to be tested in the past day is obtained, and a battery data set is obtained. For example, the battery usage data of the battery to be tested in the past 7 days is obtained, and another battery data set is obtained.

[0058] That is to say, during the use of the battery to be tested, the battery management module of the battery to be tested is used to obtain the battery usage data of the battery to be tested, so that the data obtained can reflect the actual battery status of the battery to be tested in the use scenario, and then based on the obtained battery usage data, the capacity attenuation value of the battery to be tested can be determined more accurately. In addition, there is no need to disassemble the battery to be tested, nor to turn off the electronic device, which will not affect the user's normal use of the electronic device and can also improve data collection efficiency.

[0059] In this embodiment, the above-mentioned actual full charge value refers to the actual cell capacity when the battery to be tested is in a fully charged state. Specifically, after obtaining multiple groups of battery usage data of the battery to be tested, it is determined whether the displayed state of charge in the battery usage data is a fully charged state of charge (i.e., 100%). If the displayed state of charge in the battery usage data is 100%, it means that the actual state of charge in the battery usage data is the actual full charge value of the battery to be tested, and the battery usage data is stored. Otherwise, it means that the actual state of charge in the group of battery usage data is not the actual full charge value of the battery to be tested, and the group of battery usage data is deleted, so that a battery data set including multiple actual full charge values ​​can be obtained.

[0060] For example, taking the battery data set including the battery usage data of the past 3 days as an example, all the battery usage data generated by the battery to be tested in the past 3 days are obtained, and the battery usage data showing that the charge state is not 100% in these battery usage data are deleted, and the actual full charge value of the battery to be tested each time it reaches the full charge state during the past 3 days is obtained, that is, the battery data set is obtained.

[0061] In some embodiments, after obtaining the battery usage data of the battery to be tested, the method may further include: obtaining the charge and discharge current and the cell voltage in the battery usage data; if the charge and discharge current meets the second preset condition, or the cell voltage meets the third preset condition, then determining the battery usage data as abnormal usage data, and deleting the abnormal usage data in the battery data set.

[0062] Exemplarily, the charge and discharge currents satisfying the second preset condition may be that the charge current is not within a preset charge current range, or that the discharge current is not within a preset discharge current range. The preset charge current range and the preset discharge current range are set according to the type of battery to be tested, and the present application embodiment does not limit this.

[0063] Exemplarily, the cell voltage satisfies the third preset condition when the cell voltage is not within a preset voltage range, wherein the preset voltage range is set according to the type of the battery to be tested, and the present embodiment of the application does not limit this.

[0064] In other words, after obtaining the battery usage data of the battery to be tested, it is determined whether the charge and discharge currents meet the second preset condition (that is, whether the charging current is within the preset charging current range, or whether the discharge current is within the preset discharge current range), and whether the battery cell voltage is within the preset voltage range; if the charge and discharge current meets the second preset condition, or the battery cell voltage is not within the preset voltage range, it means that the battery to be tested is in an abnormal state, and the battery usage data is abnormal usage data. At this time, the abnormal usage data is deleted, so as to avoid the abnormal usage data from interfering with the determination process of the capacity attenuation value, thereby improving the accuracy of determining the capacity attenuation value of the battery, and thereby improving the accuracy of battery life prediction.

[0065] Step 220 : determining a first attenuation value corresponding to each battery data set according to the actual full charge capacity value corresponding to each of the plurality of battery data sets.

[0066] In this embodiment, the multiple actual full charge values ​​have different corresponding collection times. For example, taking the battery data set including the battery usage data of the battery to be tested in the past day as an example, the battery data set may include the actual full charge value collected at 6:00, the actual full charge value collected at 14:00, and the actual full charge value collected at 20:00.

[0067] The daily attenuation value (or daily attenuation rate) of the battery is used to characterize the capacity of the battery that decays every day. The first attenuation value can be the daily attenuation value of the battery to be tested predicted based on multiple actual full charge capacity values ​​of the battery to be tested at different collection times.

[0068] In some examples, the step of determining the first attenuation value corresponding to each battery data set according to the actual full charge capacity values ​​corresponding to each of the multiple battery data sets may include: performing linear fitting on the multiple actual full charge capacity values ​​in the battery data set to obtain a capacity attenuation curve corresponding to the battery data set; and determining the first attenuation value corresponding to the battery data set according to the capacity attenuation curve. The capacity attenuation curve is a curve showing the actual full charge capacity value of the battery to be tested changing over time.

[0069] For example, taking the battery data of the past 30 days as an example, the actual full charge capacity of the electronic device from April 1 to April 30 is obtained, and multiple actual full charge capacity values ​​in the battery data set are linearly fitted to obtain the capacity decay curve corresponding to the battery data set, such as Figure 3 shown.

[0070] As a possible implementation manner, when determining the first attenuation value corresponding to the battery data set according to the capacity attenuation curve, the slope of the capacity attenuation curve may be determined as the first attenuation value corresponding to the battery data set.

[0071] In this embodiment, since the multiple actual full charge values ​​in the battery data set are collected during the use of the battery to be tested, the change pattern of the multiple actual full charge values ​​can reflect the actual use scenario of the battery to be tested and the user's usage habits. Therefore, the first attenuation value of the battery to be tested is determined by using the multiple actual full charge values ​​collected at different collection times during the use of the battery to be tested, and then based on the first attenuation value, the actual attenuation value of the battery to be tested is predicted to be more in line with the actual use scenario of the battery to be tested and the user's usage habits, which can improve the accuracy of the determination of the daily attenuation rate of the battery to be tested. In addition, the first attenuation value of the battery to be tested can be obtained by linearly fitting the multiple actual full charge values. The algorithm logic is simple and can improve the prediction efficiency.

[0072] Step 230: In response to at least one first attenuation value among the plurality of first attenuation values ​​satisfying a first preset condition, the first attenuation value satisfying the first preset condition is set as the actual attenuation value of the battery to be tested.

[0073] The actual attenuation value (i.e., the actual daily attenuation rate) is used to characterize the capacity of the battery under test that decays after one day of use. The actual attenuation value can be used to predict the battery capacity of the battery under test.

[0074] Specifically, after obtaining the first attenuation values ​​corresponding to each of the multiple battery data sets (i.e., multiple first attenuation values), it is determined whether there is a first attenuation value that satisfies the first preset condition among the multiple first attenuation values; if there is a first attenuation value that satisfies the first preset condition among the multiple first attenuation values, the first attenuation value that satisfies the first preset condition is set as the actual attenuation value of the battery to be tested.

[0075] Among them, the first preset condition is used to measure whether the first attenuation value is valid. Exemplarily, the first preset condition may include that the first attenuation value is less than a preset attenuation threshold. If the first attenuation value is less than the preset attenuation threshold, it means that the first attenuation value is valid. If the first attenuation value is greater than or equal to the preset attenuation threshold, it means that the first attenuation value is invalid. In this embodiment, by comparing the first attenuation value with the preset attenuation threshold, it can be determined whether the obtained first attenuation value is reasonable, which can improve the accuracy of the capacity attenuation value prediction.

[0076] Optionally, the preset attenuation threshold is greater than the second attenuation value of the battery to be tested. The second attenuation value is determined based on the actual current cell capacity and the initial cell capacity of the battery to be tested. Exemplarily, the preset attenuation threshold can be, for example, 0.1%. It should be noted that the preset attenuation threshold can be set according to the simulation test results, and the embodiment of the present application does not impose any limitation on the specific value of the preset attenuation threshold.

[0077] In some examples, if there is a first attenuation value that satisfies a first preset condition among the plurality of first attenuation values, the first attenuation value that satisfies the first preset condition is set as the actual attenuation value of the battery to be tested.

[0078] In other examples, if there are multiple first attenuation values ​​that meet the first preset condition, the first attenuation value corresponding to the target battery data set with the smallest collection time among the multiple target battery data sets is determined as the actual attenuation value of the battery to be tested.

[0079] For example, taking multiple battery data sets including a battery data set of the past 1 day, a battery data set of the past 3 days, a battery data set of the past 7 days, a battery data set of the past 15 days, and a battery data set of the past 30 days as an example, if the first attenuation value corresponding to the battery data set of the past 3 days meets the first preset condition, and the first attenuation value corresponding to the battery data set of the past 7 days also meets the first preset condition, then the first attenuation value corresponding to the battery data set of the past 3 days is determined as the actual attenuation value of the battery to be tested.

[0080] In some embodiments, Figure 4 As shown, step 230 may include the following steps:

[0081] Step 310, select a battery data set from multiple battery data sets, determine a first attenuation value corresponding to the selected battery data set based on multiple actual full charge capacity values ​​in the selected battery data set, and determine whether the first attenuation value corresponding to the selected battery data set meets a first preset condition.

[0082] Optionally, when selecting a battery data set from multiple battery data sets, the battery data set may be selected from the multiple battery data sets in a preset order, wherein the preset order is the order of the collection durations corresponding to the battery data sets from small to large, and the collection duration is the interval between the start time of the collection time period corresponding to the battery data set and the current usage time of the battery to be tested.

[0083] For example, taking multiple battery data sets including the battery data set of the past 1 day, the battery data set of the past 3 days, the battery data set of the past 7 days, the battery data set of the past 15 days and the battery data set of the past 30 days as an example, the preset order is to process the battery data set of the past 1 day, the battery data set of the past 3 days, the battery data set of the past 7 days, the battery data set of the past 15 days and the battery data set of the past 30 days in sequence.

[0084] Specifically, according to a preset order, a battery data set is selected from multiple battery data sets, and it is determined whether the first attenuation value corresponding to the battery data set is less than a preset attenuation threshold. If the first attenuation value corresponding to the battery data set is less than the preset attenuation threshold, it is determined that the first attenuation value corresponding to the battery data set meets the first preset condition; otherwise, it is determined that the first attenuation value corresponding to the battery data set does not meet the first preset condition, and the next battery data set is selected from multiple battery data sets according to the preset order, and it is determined whether the first attenuation value corresponding to the next battery data set is less than the preset attenuation threshold, until a first attenuation value that meets the first preset condition is determined or it is determined that the first attenuation values ​​corresponding to each battery data set do not meet the first preset condition.

[0085] Step 320 : In response to the first attenuation value corresponding to the selected battery data set satisfying a first preset condition, the first attenuation value corresponding to the selected battery data set is set as an actual attenuation value.

[0086] In the embodiment of the present application, the collection time period refers to a period of time in the past before the current usage time (such as the current day) of the battery to be tested. The shorter the interval between the start time of the collection time period and the current usage time of the battery to be tested (that is, the collection time corresponding to the battery data set), the more the actual full charge value in the battery data set can reflect the current attenuation of the battery to be tested. Therefore, according to a preset order, a battery data set is selected from multiple battery data sets, and a first attenuation value corresponding to the selected battery data set is determined, and it is determined whether the first attenuation value satisfies a first preset condition. Then, when the first attenuation value that satisfies the first preset condition is determined, the first attenuation value that satisfies the first preset condition is used as the actual attenuation value of the battery to be tested. This can more accurately predict the actual attenuation value of the battery to be tested, obtain a daily attenuation rate that is more in line with the actual usage scenario of the battery to be tested and the user's usage habits, and can improve the prediction efficiency.

[0087] In some embodiments, after step 220, the method may further include: in response to each of the multiple first attenuation values ​​not satisfying the first preset condition, setting the second attenuation value to the actual attenuation value, wherein the second attenuation value is determined based on the current actual cell capacity and the initial cell capacity of the battery to be tested.

[0088] In some scenarios, if the battery to be tested is used for a short time, the battery usage data obtained is relatively small (for example, only battery data sets of the past 1 day or the past 3 days are obtained). This may easily lead to the first attenuation value determined by the actual full charge value in each battery data set failing to meet the first preset condition. In this case, the second attenuation value (also called the basic daily attenuation rate) may be set to the actual attenuation value of the battery to be tested.

[0089] Optionally, before setting the second attenuation value as the actual attenuation value, the method may further include: obtaining the current actual cell capacity of the battery to be tested; determining the cell capacity difference between the initial cell capacity and the actual cell capacity; using the ratio between the cell capacity difference and the initial cell capacity as the capacity attenuation ratio; and determining the ratio between the capacity attenuation ratio and the current number of days of use of the battery to be tested as the second attenuation value.

[0090] The actual current cell capacity of the battery under test may be the actual full charge value of the battery under test collected during the current use time of the battery under test (such as the current day). The initial cell capacity may be the full charge of the battery under test when no attenuation occurs, that is, the rated cell capacity of the battery under test when it leaves the factory. The current number of days the battery under test has been in use refers to the total number of days the battery under test has been in use.

[0091] Exemplarily, the second attenuation value of the battery to be tested can be obtained by the following formula.

[0092] CFR 参考 =((Cap 额定 -Cap 实际 ) / Cap 额定 ) / N×100%

[0093] Among them, CFR 参考 Indicates the second attenuation value of the battery to be tested, Cap 额定 Indicates the initial cell capacity of the battery to be tested, Cap 实际 It indicates the actual cell capacity of the battery under test, and N indicates the current usage days of the battery under test.

[0094] In this embodiment, when there is no first attenuation value satisfying the first preset condition among the multiple first attenuation values, the second attenuation value is set to the actual attenuation value, which can improve the success rate of predicting the capacity attenuation value of the battery.

[0095] In some embodiments, after the actual attenuation value of the battery to be tested is determined, the battery life of the battery to be tested may be predicted based on the actual attenuation value of the battery to be tested.

[0096] In some examples, such as Figure 5 As shown, after determining the actual attenuation value of the battery to be tested, the method may further include the following steps:

[0097] Step 410, obtaining the actual cell capacity of the battery to be tested.

[0098] Step 420, determining the predicted attenuation capacity corresponding to the target usage days according to the actual cell capacity, the actual attenuation value and the target usage days.

[0099] Exemplarily, the predicted attenuation capacity corresponding to the target usage days can be obtained by the following formula.

[0100] Cap 预测 =CFR 实际 ×Cap 实际 ×n

[0101] Among them, Cap 预测 Indicates the predicted decay capacity of the battery under test, CFR 实际 Indicates the actual attenuation value of the battery under test, Cap 实际 It indicates the actual cell capacity of the battery under test, and n indicates the target usage days.

[0102] Step 430 , according to the difference between the actual cell capacity and the predicted attenuated capacity, the predicted remaining capacity of the battery to be tested after being used for the target number of days is determined.

[0103] In this embodiment, after determining the actual attenuation value of the battery to be tested, the predicted remaining capacity of the battery to be tested after the target number of days of use can be predicted based on the current actual cell capacity of the battery to be tested and the actual attenuation value of the battery to be tested, thereby more accurately predicting the remaining life of the battery to be tested. In this way, the user can promptly repair or replace the battery to be tested when the predicted remaining capacity of the battery to be tested cannot meet the demand, thereby avoiding the user's normal use of the battery equipment due to insufficient remaining capacity of the battery to be tested.

[0104] In other examples, such as Figure 6 As shown, after determining the actual attenuation value of the battery to be tested, the method may further include the following steps:

[0105] Step 510, obtaining the actual cell capacity of the battery to be tested.

[0106] Step 520: Determine the allowable attenuation capacity according to the difference between the actual cell capacity and the preset remaining capacity threshold.

[0107] The preset remaining capacity threshold may be a cell capacity set by the user for which a power warning is to be performed. For example, the preset remaining capacity threshold is 40%. It should be noted that the preset remaining capacity threshold may be set according to actual needs, and the embodiments of the present application do not specifically limit this.

[0108] Step 530, determining the predicted service life of the battery to be tested according to the allowable attenuation capacity, the actual cell capacity and the actual attenuation value.

[0109] The predicted usage days are used to indicate the number of days available for the battery cell capacity of the battery to be tested to decay from the current actual battery cell capacity to a preset remaining capacity threshold.

[0110] Exemplarily, the predicted service life of the battery to be tested can be obtained by the following formula.

[0111] T=((Cap 实际 -Cap 剩余 ) / Cap 实际 ) / CFR 实际

[0112] Where T represents the predicted usage days, CFR 实际 Indicates the actual attenuation value of the battery under test, Cap 实际 Indicates the actual cell capacity of the battery under test, Cap 剩余 Indicates the preset remaining capacity threshold.

[0113] In one possible implementation, after determining the predicted usage days of the battery to be tested, the method may further include: when the difference between the usage days of the battery to be tested and the predicted usage days is less than or equal to a preset day threshold, outputting a prompt message, wherein the prompt message is used to prompt that the cell capacity of the battery to be tested is close to a preset remaining capacity threshold.

[0114] The preset day threshold is used to determine whether the usage days of the battery to be tested are close to the predicted usage days. Exemplarily, the preset day threshold is 3 days. It should be noted that the preset day threshold can be set according to actual needs, and the embodiment of the present application does not specifically limit this.

[0115] Specifically, after obtaining the actual cell capacity of the battery to be tested, the number of days the battery to be tested is used is recorded until the difference between the number of days the battery to be tested is used and the predicted number of days is less than or equal to a preset threshold, and a prompt message is output.

[0116] In this embodiment, after determining the actual attenuation value of the battery to be tested, the predicted usage days of the battery to be tested can be predicted based on the current actual cell capacity of the battery to be tested, the preset remaining capacity threshold and the actual attenuation value of the battery to be tested. In this way, when the usage days of the battery to be tested are close to the predicted usage days, a prompt message can be output to prompt the user that the cell capacity of the battery to be tested is close to the preset remaining capacity threshold, so that the user can repair or replace the battery to be tested in time to avoid affecting the user's normal use of the battery equipment due to insufficient remaining capacity of the battery to be tested.

[0117] Combine the following Figure 7 , a specific example is used to schematically illustrate the method for determining the capacity decay value of the battery provided in an embodiment of the present application.

[0118] like Figure 7 As shown, the method includes the following steps 601-612.

[0119] Step 601 : obtaining a plurality of battery data sets of a battery to be tested, wherein the plurality of battery data sets correspond to different collection time periods.

[0120] Step 602 : selecting a battery data set from a plurality of battery data sets according to a preset order.

[0121] Step 603 , linear fitting is performed on multiple actual full charge capacity values ​​in the selected battery data set to obtain a capacity decay curve corresponding to the selected battery data set.

[0122] Step 604: Determine a first attenuation value corresponding to the selected battery data set according to the capacity attenuation curve.

[0123] Step 605 , determining whether the first attenuation value is less than a preset attenuation threshold value, if the first attenuation value is less than the preset attenuation threshold value, executing step 606 , otherwise, executing step 607 .

[0124] Step 606: Set the first attenuation value as the actual attenuation value of the battery to be tested.

[0125] Step 607 , determining whether all battery data sets have been traversed, if all battery data sets have been traversed, executing step 608 , otherwise, executing step 602 .

[0126] Step 608: setting the second attenuation value of the battery to be tested to the actual attenuation value of the battery to be tested.

[0127] Step 609 , determining the predicted service life of the battery to be tested according to the actual attenuation value, the preset remaining capacity threshold and the actual current cell capacity of the battery to be tested.

[0128] Step 610, after obtaining the actual cell capacity of the battery to be tested, start recording the number of days the battery to be tested has been used.

[0129] Step 611, determine whether the difference between the number of days the battery to be tested is used and the predicted number of days is less than or equal to a preset number of days threshold. If the difference between the number of days the battery to be tested is used and the predicted number of days is less than or equal to the preset number of days threshold, execute step 612; otherwise, execute step 610.

[0130] Step 612: output prompt information.

[0131] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0132] According to the method for determining the capacity decay value of a battery provided in an embodiment of the present application, when predicting the capacity decay value of a battery, multiple battery data sets of the battery to be tested are obtained, and multiple first decay values ​​corresponding to each battery data set are determined based on the actual full charge value corresponding to each battery data set in the multiple battery data sets, and then in response to at least one first decay value in the multiple first decay values ​​satisfying the first preset condition, the first decay value satisfying the first preset condition is set as the actual decay value of the battery to be tested. Since the variation pattern of multiple actual full charge values ​​can reflect the actual use scenario of the battery to be tested and the user's usage habits, the first decay value of the battery to be tested is determined by using multiple actual full charge values ​​collected at different collection times during the use of the battery to be tested, and then according to the first decay value, an actual decay value that is more in line with the actual use scenario of the battery to be tested and the user's usage habits can be obtained, thereby improving the accuracy of determining the capacity decay rate of the battery to be tested. In addition, this method does not require a large amount of parameter input, reduces the difficulty of the algorithm, and can improve the prediction efficiency of the battery decay rate.

[0133] Furthermore, based on the predicted actual attenuation value, the remaining life of the battery to be tested can be predicted more accurately, so that the user can repair or replace the battery to be tested in time to avoid affecting the user's normal use of battery equipment due to insufficient remaining capacity of the battery to be tested.

[0134] As in the above embodiment, the method for determining the capacity attenuation value of the battery provided in the embodiment of the present application can be used to determine the capacity attenuation value of the battery (i.e., the above actual attenuation value). In some embodiments, the method for determining the capacity attenuation value of the battery provided in the embodiment of the present application can also be used to determine the attenuation value of the number of charge and discharge times of the battery.

[0135] Combine the following Figure 8 , taking the capacity attenuation value as the attenuation value of the number of charge and discharge times as an example, the method for determining the capacity attenuation value of the battery provided in the embodiment of the present application is schematically described.

[0136] In some embodiments, Figure 8 As shown, the method for determining the capacity attenuation value of the battery includes the following steps:

[0137] Step 710, obtaining multiple battery data sets of the battery to be tested, wherein the multiple battery data sets each correspond to a different number of charge and discharge cycles of the battery to be tested, and each battery data set includes multiple actual capacity values, wherein an actual capacity value is the cell power value of the battery to be tested each time it is fully charged.

[0138] For example, the current number of charge and discharge cycles of the battery to be tested is 100 times, battery data set a is the battery data generated by the battery to be tested from the 81st charge and discharge cycle to the 100th charge and discharge cycle, battery data set b is the battery data generated by the battery to be tested from the 61st charge and discharge cycle to the 100th charge and discharge cycle, and battery data set c is the battery data generated by the battery to be tested from the 21st charge and discharge cycle to the 100th charge and discharge cycle.

[0139] Taking battery data set a as an example, battery data set a includes the full charge value (ie, actual capacity value) after each charge in the 81st to 100th charge and discharge cycles.

[0140] Specifically, the specific implementation method of obtaining multiple battery data sets of the battery to be tested can refer to the specific implementation method of step 210 in the above embodiment, and will not be repeated here to avoid repetition.

[0141] Step 720: Determine a third attenuation value corresponding to each battery data set according to the actual capacity values ​​corresponding to each of the multiple battery data sets.

[0142] The third attenuation value is used to characterize the capacity attenuated by the battery under test during one charge and discharge cycle.

[0143] In some examples, the step of determining the third attenuation value corresponding to each battery data set according to the actual capacity values ​​corresponding to each of the multiple battery data sets may include: performing linear fitting on the multiple actual capacity values ​​in the battery data set to obtain a capacity change curve corresponding to the battery data set; and determining the third attenuation value corresponding to the battery data set according to the capacity change curve corresponding to the battery data set. The capacity change curve is a curve showing the actual capacity value of the battery to be tested changing with the number of charge and discharge cycles.

[0144] Step 730: In response to at least one third attenuation value among the plurality of third attenuation values ​​satisfying a fourth preset condition, the third attenuation value satisfying the fourth preset condition is set as the charge and discharge times attenuation value of the battery to be tested.

[0145] The charge and discharge number decay value (i.e., charge and discharge number decay rate) is used to characterize the capacity decayed by the battery under test after one charge and discharge cycle. The battery capacity of the battery under test can be predicted by the charge and discharge number decay value.

[0146] The fourth preset condition is used to measure whether the third attenuation value is valid. Optionally, the fourth preset condition is that the third attenuation value is less than a preset threshold. Wherein, the preset threshold is greater than the fourth attenuation value of the battery to be tested. Wherein, the fourth attenuation value is determined based on the current number of charge and discharge cycles of the battery to be tested and the current cell capacity of the battery to be tested. Exemplarily, the preset threshold can be, for example, 0.1%. It should be noted that the preset threshold can be set according to the simulation test results, and the embodiment of the present application does not impose any limitation on the specific value of the preset threshold.

[0147] Exemplarily, a battery data set is selected from multiple battery data sets, and a third attenuation value corresponding to the selected battery data set is determined based on multiple actual capacity values ​​in the selected battery data set, and it is determined whether the third attenuation value corresponding to the selected battery data set satisfies a fourth preset condition, until a third attenuation value that satisfies the fourth preset condition is determined or the third attenuation values ​​corresponding to each battery data set do not satisfy the fourth preset condition.

[0148] Step 740: In response to each of the plurality of third attenuation values ​​not satisfying the fourth preset condition, the fourth attenuation value is set as the charge and discharge number attenuation value of the battery under test, wherein the fourth attenuation value is determined according to the current charge and discharge cycle number of the battery under test and the current cell capacity of the battery under test.

[0149] Optionally, when obtaining the fourth attenuation value of the battery to be tested, obtain the current cell capacity of the battery to be tested and the current number of charge and discharge cycles of the battery to be tested; determine the fourth attenuation value based on the current cell capacity of the battery to be tested, the current number of charge and discharge cycles of the battery to be tested, and the cell capacity of the battery to be tested after the first charge.

[0150] The current charge and discharge cycle number of the battery under test is the number of full charge and discharge processes that the battery under test has undergone. The current cell capacity of the battery under test is the cell capacity of the battery under test after the battery under test has been fully charged for the most recent time.

[0151] Exemplarily, the fourth attenuation value of the battery to be tested can be obtained by the following formula.

[0152] CFR2=(1-Cap M / Cap1) / (M-1)×100%

[0153] Among them, CFR2 represents the fourth attenuation value of the battery to be tested, Cap M It indicates the cell capacity of the battery under test after the Mth full charge (i.e. the current cell capacity of the battery under test), Cap1 indicates the cell capacity of the battery under test after the first full charge, and M indicates the current number of charge and discharge cycles of the battery under test.

[0154] In some examples, after determining the charge and discharge number attenuation value of the battery to be tested, the method may further include: obtaining the current cell capacity of the battery to be tested; and determining the predicted charge and discharge number of the battery to be tested based on the current cell capacity of the battery to be tested, a preset remaining capacity threshold and the charge and discharge number attenuation value.

[0155] The preset remaining capacity threshold may be a cell capacity set by the user for which a power warning is to be performed. For example, the preset remaining capacity threshold is 40%. It should be noted that the preset remaining capacity threshold may be set according to actual needs, and the embodiments of the present application do not specifically limit this.

[0156] The predicted charge and discharge times are used to indicate the number of charge and discharge cycles that the cell capacity of the battery to be tested will undergo when it decays from the current actual cell capacity to a preset remaining capacity threshold.

[0157] Exemplarily, the predicted charge and discharge times of the battery to be tested can be obtained by the following formula.

[0158] K=(1-Cap 剩余 / Cap M ) / CFR 次数

[0159] Among them, K represents the predicted charge and discharge times, CFR 次数 Indicates the charge and discharge times attenuation value of the battery under test, Cap M Indicates the battery capacity of the battery under test after the Mth full charge (i.e. the current battery capacity of the battery under test), Cap 剩余 Indicates the preset remaining capacity threshold.

[0160] In some examples, after determining the predicted charge and discharge times of the battery to be tested, the method may further include: when the difference between the charge and discharge cycle times of the battery to be tested and the predicted charge and discharge times is less than or equal to a preset number threshold, outputting a warning message, wherein the warning message is used to indicate that the cell capacity of the battery to be tested is close to a preset remaining capacity threshold.

[0161] The preset number threshold is used to determine whether the number of charge and discharge cycles of the battery to be tested is close to the predicted number of charge and discharge cycles. Exemplarily, the preset number threshold is 5 times. It should be noted that the preset number threshold can be set according to actual needs, and the embodiment of the present application does not specifically limit this.

[0162] Specifically, after obtaining the current cell capacity of the battery to be tested, the number of charge and discharge cycles of the battery to be tested is recorded, and when the difference between the number of charge and discharge cycles of the battery to be tested and the predicted number of charge and discharge cycles is less than or equal to a preset number threshold, a warning message is output.

[0163] According to the method for determining the capacity decay value of a battery provided in an embodiment of the present application, when predicting the capacity decay value of a battery, multiple battery data sets of the battery to be tested are obtained, and the third decay value corresponding to each battery data set is determined according to the actual capacity values ​​corresponding to each of the multiple battery data sets, and then in response to at least one of the multiple third decay values ​​satisfying the fourth preset condition, the third decay value satisfying the fourth preset condition is set as the decay value of the number of charge and discharge cycles of the battery to be tested. Since the variation law of multiple actual capacity values ​​can reflect the actual use scenario of the battery to be tested and the user's usage habits, the third decay value of the battery to be tested is determined by using multiple actual capacity values ​​corresponding to different charge and discharge cycle times of the battery to be tested during use, and then according to the third decay value, a charge and discharge number decay value that is more in line with the actual use scenario of the battery to be tested and the user's usage habits can be obtained, thereby improving the accuracy of determining the charge and discharge number decay value of the battery to be tested. Moreover, this method does not require a large amount of parameter input, reduces the difficulty of the algorithm, and can improve the prediction efficiency of the battery decay rate.

[0164] Furthermore, based on the predicted charge and discharge frequency attenuation value, the remaining life of the battery to be tested can be predicted more accurately, so that the user can repair or replace the battery to be tested in time to avoid affecting the user's normal use of battery equipment due to insufficient remaining capacity of the battery to be tested.

[0165] Corresponding to the method for determining the capacity decay value of the battery described in the above embodiment, Fig. 9 A structural block diagram of a device for determining a capacity decay value of a battery provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0166] See also Fig. 9 , the device 800 for determining the capacity decay value of the battery may include a first acquisition module 801, a first determination module 802 and a setting module 803. The first acquisition module 801 is used to acquire multiple battery data sets of the battery to be tested, wherein the collection time periods corresponding to the multiple battery data sets are different, and each battery data set includes multiple actual full charge values ​​collected at different collection times. The first determination module 802 is used to determine the first decay value corresponding to each battery data set according to the actual full charge value corresponding to each of the multiple battery data sets. The setting module 803 is used to set the first decay value that meets the first preset condition as the actual decay value of the battery to be tested in response to at least one first decay value among the multiple first decay values ​​meeting the first preset condition, wherein the actual decay value is used to characterize the capacity decayed by the battery to be tested after one day of use.

[0167] In some embodiments, the first determination module 802 is specifically used to: perform linear fitting on multiple actual full charge values ​​in the battery data set to obtain a capacity decay curve corresponding to the battery data set, where the capacity decay curve is a curve showing how the actual full charge value of the battery to be tested changes over time; and determine a first decay value corresponding to the battery data set based on the capacity decay curve.

[0168] In some embodiments, the setting module 803 is specifically used to: select a battery data set from multiple battery data sets, determine a first attenuation value corresponding to the selected battery data set based on multiple actual full charge values ​​in the selected battery data set, and determine whether the first attenuation value corresponding to the selected battery data set satisfies a first preset condition; in response to the first attenuation value corresponding to the selected battery data set satisfying the first preset condition, set the first attenuation value corresponding to the selected battery data set to the actual attenuation value.

[0169] In some embodiments, selecting a battery data set from multiple battery data sets includes: selecting a battery data set from multiple battery data sets in a preset order; wherein the preset order is the order of the collection time lengths corresponding to the battery data sets from small to large, and the collection time length is the interval between the start time of the collection time period corresponding to the battery data set and the current usage time of the battery to be tested.

[0170] In some embodiments, the setting module 803 is also used to set the second attenuation value to the actual attenuation value in response to each of the multiple first attenuation values ​​failing to meet the first preset condition, wherein the second attenuation value is determined based on the current actual cell capacity and initial cell capacity of the battery to be tested.

[0171] In some embodiments, the device 800 for determining the capacity decay value of the battery may include: a second acquisition module and a second determination module, wherein the second acquisition module is used to obtain the actual current cell capacity of the battery to be tested. The second determination module is used to determine the cell capacity difference between the initial cell capacity and the actual cell capacity; the ratio between the cell capacity difference and the initial cell capacity is used as the capacity decay ratio; and the ratio between the capacity decay ratio and the current number of days of use of the battery to be tested is determined as the second decay value.

[0172] In some embodiments, the first preset condition includes the first attenuation value being less than a preset attenuation threshold.

[0173] In some embodiments, the device 800 for determining the capacity decay value of the battery may include: a third acquisition module and a third determination module, wherein the third acquisition module is used to obtain the actual current cell capacity of the battery to be tested. The third determination module is used to determine the predicted decay capacity corresponding to the target usage days according to the actual cell capacity, the actual decay value and the target usage days; and to determine the predicted remaining capacity of the battery to be tested after the target usage days according to the difference between the actual cell capacity and the predicted decay capacity.

[0174] In some embodiments, the device 800 for determining the capacity decay value of the battery may include: a fourth acquisition module and a fourth determination module, wherein the fourth acquisition module is used to obtain the actual current cell capacity of the battery to be tested. The fourth determination module is used to determine the allowable decay capacity according to the difference between the actual cell capacity and the preset remaining capacity threshold; and to determine the predicted use days of the battery to be tested according to the allowable decay capacity, the actual cell capacity and the actual decay value, wherein the predicted use days are used to indicate the number of days it takes for the cell capacity of the battery to be tested to decay to the preset remaining capacity threshold.

[0175] In some embodiments, the device 800 for determining the capacity attenuation value of the battery may include: a prompt module, wherein the prompt module is used to output a prompt message when the difference between the number of days of use of the battery to be tested and the predicted number of days of use is less than or equal to a preset day threshold, and the prompt message is used to prompt that the cell capacity of the battery to be tested is close to a preset remaining capacity threshold.

[0176] In some embodiments, the battery to be tested is disposed in an electronic device, and the electronic device further includes a battery management module, which is connected to the battery to be tested; the first acquisition module 801 is specifically used to acquire multiple battery data sets of the battery to be tested through the battery management module.

[0177] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0178] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0179] See also Fig.10 , the present application embodiment also provides a detection device. Fig.10 As shown, the detection device 900 includes a processor 901, a memory 902, and a computer program stored in the memory 902 and executable on the processor 901. When the processor 901 executes the computer program, the steps in any of the above method embodiments are implemented.

[0180] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0181] An embodiment of the present application provides a computer program product. When the computer program product runs on a detection device, the detection device can implement the steps in the above-mentioned method embodiments when the computer program product is executed.

[0182] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present application implements all or part of the process in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes a computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code to the detection device. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk, etc. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0183] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0184] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0185] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are merely schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0186] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0187] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for determining a capacity attenuation value of a battery, characterized in that: The method comprises: Acquire multiple battery data sets of the battery to be tested, wherein the multiple battery data sets correspond to different collection time periods, and each of the battery data sets includes multiple actual full charge capacity values ​​collected at different collection times; Determine a first attenuation value corresponding to each of the battery data sets according to the actual full charge capacity values ​​corresponding to each of the multiple battery data sets; In response to at least one first attenuation value among multiple first attenuation values ​​satisfying a first preset condition, the first attenuation value satisfying the first preset condition is set as the actual attenuation value of the battery to be tested, wherein the actual attenuation value is used to characterize the capacity of the battery to be tested that decays after one day of use.

2. The method according to claim 1, characterized in that The determining, according to the actual full charge capacity values ​​corresponding to the multiple battery data sets, the first attenuation value corresponding to each of the battery data sets comprises: Performing linear fitting on multiple actual full charge capacity values ​​in the battery data set to obtain a capacity decay curve corresponding to the battery data set, wherein the capacity decay curve is a curve showing that the actual full charge capacity value of the battery to be tested changes over time; A first attenuation value corresponding to the battery data set is determined according to the capacity attenuation curve.

3. The method according to claim 1, characterized in that In response to at least one first attenuation value among the plurality of first attenuation values ​​satisfying a first preset condition, setting the first attenuation value satisfying the first preset condition as the actual attenuation value of the battery to be tested comprises: Selecting a battery data set from the multiple battery data sets, determining a first attenuation value corresponding to the selected battery data set according to multiple actual full charge capacity values ​​in the selected battery data set, and determining whether the first attenuation value corresponding to the selected battery data set meets the first preset condition; In response to the first attenuation value corresponding to the selected battery data set satisfying the first preset condition, the first attenuation value corresponding to the selected battery data set is set as the actual attenuation value.

4. The method according to claim 3, characterized in that The selecting a battery data set from the plurality of battery data sets comprises: A battery data set is selected from the multiple battery data sets in a preset order; wherein the preset order is the order of the collection durations corresponding to the battery data sets from small to large, and the collection duration is the interval between the start time of the collection time period corresponding to the battery data set and the current usage time of the battery to be tested.

5. The method according to claim 1, characterized in that After determining the first attenuation value corresponding to each of the battery data sets according to the actual full charge capacity values ​​corresponding to each of the plurality of battery data sets, the method further includes: In response to each of the multiple first attenuation values ​​not satisfying the first preset condition, the second attenuation value is set to the actual attenuation value, wherein the second attenuation value is determined based on the current actual cell capacity and initial cell capacity of the battery to be tested.

6. The method according to claim 5, characterized in that Before setting the second attenuation value to the actual attenuation value, the method further includes: Obtaining the actual current cell capacity of the battery to be tested; Determining a cell capacity difference between the initial cell capacity and the actual cell capacity; Taking the ratio between the cell capacity difference and the initial cell capacity as the capacity attenuation ratio; The ratio of the capacity decay ratio to the current usage days of the battery to be tested is determined as the second decay value.

7. The method according to any one of claims 1 to 6, characterized in that The first preset condition includes that the first attenuation value is less than a preset attenuation threshold.

8. The method according to any one of claims 1 to 6, characterized in that After setting the actual attenuation value of the battery to be tested, the method further includes: Obtaining the actual current cell capacity of the battery to be tested; Determine the predicted attenuation capacity corresponding to the target usage days according to the actual cell capacity, the actual attenuation value and the target usage days; The predicted remaining capacity of the battery to be tested after being used for the target number of days is determined according to the difference between the actual battery cell capacity and the predicted attenuated capacity.

9. The method according to any one of claims 1 to 6, characterized in that: After setting the actual attenuation value of the battery to be tested, the method further includes: Obtaining the actual current cell capacity of the battery to be tested; Determining the allowable attenuation capacity according to the difference between the actual battery cell capacity and a preset remaining capacity threshold; The predicted usage days of the battery to be tested are determined according to the allowed attenuation capacity, the actual battery cell capacity and the actual attenuation value, wherein the predicted usage days are used to indicate the number of days taken for the battery cell capacity of the battery to be tested to decay to the preset remaining capacity threshold.

10. The method according to claim 9, characterized in that After determining the predicted service life of the battery to be tested according to the allowable attenuation capacity, the actual cell capacity and the actual attenuation value, the method further includes: When the difference between the usage days of the battery to be tested and the predicted usage days is less than or equal to a preset day threshold, a prompt message is output, where the prompt message is used to prompt that the cell capacity of the battery to be tested is close to the preset remaining capacity threshold.

11. The method according to any one of claims 1 to 6, characterized in that: The battery to be tested is arranged in an electronic device, and the electronic device further comprises a battery management module, and the battery management module is connected to the battery to be tested; the step of obtaining a plurality of battery data sets of the battery to be tested comprises: A plurality of battery data sets of the battery to be tested are acquired through the battery management module.

12. A device for determining a capacity attenuation value of a battery, characterized in that: The device comprises: A first acquisition module is used to acquire multiple battery data sets of the battery to be tested, wherein the multiple battery data sets respectively correspond to different collection time periods, and each of the battery data sets includes multiple actual full charge capacity values ​​collected at different collection times; A first determination module, configured to determine a first attenuation value corresponding to each of the battery data sets according to the actual full charge capacity values ​​corresponding to each of the plurality of battery data sets; A setting module is configured to set a first attenuation value satisfying a first preset condition as an actual attenuation value of the battery to be tested in response to at least one first attenuation value among a plurality of first attenuation values ​​satisfying the first preset condition, wherein the actual attenuation value is used to characterize the capacity of the battery to be tested that decays after one day of use.

13. A detection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for determining the capacity decay value of the battery according to any one of claims 1 to 11 are implemented.

14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for determining the capacity decay value of a battery according to any one of claims 1 to 11 are implemented.