Method and device for correcting health degree of battery, electronic equipment and storage medium

By using preset relationships in electronic devices to determine correction parameters and correct battery health, the problem of inaccurate battery health calculation in the prior art is solved, and the accuracy of battery health is improved.

CN119438898APending Publication Date: 2025-02-14BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310945757.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the prior art, the calculation of battery health is inaccurate, mainly due to the impact of shutdown voltage and errors during the calculation process, resulting in the inaccurate battery health calculated by the battery meter.

Method used

Through the preset relationship and the charge and discharge cycle number of the battery of the electronic device and the battery health to be corrected, the correction parameters can be determined. The correction parameters can be health compensation value or health adjustment coefficient, which can be used to correct the battery health to be corrected, and obtain More accurate battery health.

Benefits of technology

Improve the accuracy of battery health and reduce inaccurate calculations caused by errors. The corrected battery health is closer to the real health of the battery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119438898A_ABST
    Figure CN119438898A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for correcting the health degree of a battery, electronic equipment and a storage medium. The method comprises the steps that correction parameters are determined according to a preset relation and first parameters of a battery of the electronic equipment, the preset relation is used for representing the relation between the first parameters and the correction parameters, and the first parameters comprise at least one of the number of charge and discharge cycles and the health degree of the battery to be corrected; and correcting the health degree of the battery to be corrected according to the correction parameter to obtain the corrected health degree of the battery. According to the method, the correction parameter is determined according to the correlation between the accurate battery health degree of the battery and the number of charge and discharge cycles of the battery and / or the to-be-corrected battery health degree, the to-be-corrected battery health degree is corrected, the more accurate battery health degree is obtained, and the accuracy of the battery health degree is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of battery detection, and in particular to a method, device, electronic device and storage medium for correcting battery health. Background Art

[0002] As the use of electronic devices becomes more and more common, users are paying more and more attention to the battery usage of electronic devices. Battery health (State of Health, SOH) is an important indicator of the health status of the battery.

[0003] In the related art, the battery health calculated by the fuel gauge of the electronic device is used as the final battery health. However, due to the influence of factors such as the shutdown voltage and errors generated during the calculation process, the battery health calculated by the fuel gauge is inaccurate. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device and storage medium for correcting battery health.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for correcting battery health is provided, the method comprising:

[0006] Determining a correction parameter according to a preset relationship and a first parameter of a battery of the electronic device, wherein the preset relationship is used to characterize a relationship between the first parameter and the correction parameter, and the first parameter includes at least one of a number of charge and discharge cycles and a health status of the battery to be corrected;

[0007] The battery health to be corrected is corrected according to the correction parameter to obtain a corrected battery health.

[0008] In some embodiments, the step of correcting the battery health to be corrected according to the correction parameter to obtain the corrected battery health includes:

[0009] The correction parameter is a health compensation value, and the health compensation value is added to the battery health to be corrected to obtain the corrected battery health; or,

[0010] The correction parameter is a health adjustment coefficient, and the health adjustment coefficient is multiplied by the battery health to be corrected to obtain the corrected battery health.

[0011] In some embodiments, the process of obtaining the preset relationship includes:

[0012] Perform multiple charge and discharge cycles on the test battery to obtain multiple groups of test data, each group of test data corresponds to one charge and discharge cycle, each group of test data includes a reference correction parameter and a second parameter determined at the end of the charge and discharge cycle corresponding to the test data, the second parameter includes at least one of the health of the first test battery and the number of test charge and discharge cycles;

[0013] Surface fitting is performed based on the multiple groups of test data to obtain the preset relationship.

[0014] In some embodiments, the reference correction parameter is a reference health compensation value, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including:

[0015] For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, wherein the health of the second test battery is the ratio of the discharge capacity to the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use;

[0016] A difference between the second test battery health and the first test battery health is obtained as the reference health compensation value.

[0017] In some embodiments, the reference correction parameter is a reference health adjustment coefficient, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including:

[0018] For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, wherein the health of the second test battery is the ratio of the discharge capacity to the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use;

[0019] A ratio between the second test battery health and the first test battery health is obtained as the reference health adjustment coefficient.

[0020] In some embodiments, the battery parameters of the test battery are the same as the battery parameters of the battery in the electronic device, and the fuel gauge parameters of the test fuel gauge are the same as the fuel gauge parameters of the fuel gauge in the electronic device.

[0021] In some embodiments, the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, and the preset relationship is:

[0022] k=A1+B1x+C1y+D1+B2x 2 +C2y 2 +D2+Exy

[0023] Among them, k represents the correction parameter, x represents the number of charge and discharge cycles, y represents the battery health to be corrected, and A1, B1, C1, D1, B2, C2, D2 and E are preset constants.

[0024] In some embodiments, the electronic device includes a fuel gauge, and before determining the current correction parameter of the battery according to the preset relationship and the first parameter of the battery, the method further includes:

[0025] The number of charge and discharge cycles and the battery health to be corrected recorded by the fuel gauge are read.

[0026] According to a second aspect of an embodiment of the present disclosure, a device for correcting battery health is provided, the device comprising:

[0027] a correction parameter determination module, configured to determine the correction parameter according to a preset relationship and a first parameter of a battery of the electronic device, wherein the preset relationship is used to characterize the relationship between the first parameter and the correction parameter, and the first parameter includes at least one of the number of charge and discharge cycles and the health of the battery to be corrected;

[0028] The health correction module is configured to correct the battery health to be corrected according to the correction parameter to obtain a corrected battery health.

[0029] In some embodiments, the health correction module is configured to:

[0030] The correction parameter is a health compensation value, and the health compensation value is added to the battery health to be corrected to obtain the corrected battery health; or,

[0031] The correction parameter is a health adjustment coefficient, and the health adjustment coefficient is multiplied by the battery health to be corrected to obtain the corrected battery health.

[0032] In some embodiments, the process of obtaining the preset relationship includes:

[0033] Perform multiple charge and discharge cycles on the test battery to obtain multiple groups of test data, each group of test data corresponds to one charge and discharge cycle, each group of test data includes a reference correction parameter and a second parameter determined at the end of the charge and discharge cycle corresponding to the test data, the second parameter includes at least one of the health of the first test battery and the number of test charge and discharge cycles;

[0034] Surface fitting is performed based on the multiple groups of test data to obtain the preset relationship.

[0035] In some embodiments, the reference correction parameter is a reference health compensation value, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including:

[0036] For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, wherein the health of the second test battery is the ratio of the discharge capacity to the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use;

[0037] A difference between the second test battery health and the first test battery health is obtained as the reference health compensation value.

[0038] In some embodiments, the reference correction parameter is a reference health adjustment coefficient, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including:

[0039] For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, wherein the health of the second test battery is the ratio of the discharge capacity to the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use;

[0040] A ratio between the second test battery health and the first test battery health is obtained as the reference health adjustment coefficient.

[0041] In some embodiments, the battery parameters of the test battery are the same as the battery parameters of the battery in the electronic device, and the fuel gauge parameters of the test fuel gauge are the same as the fuel gauge parameters of the fuel gauge in the electronic device.

[0042] In some embodiments, the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, and the preset relationship is:

[0043] k=A1+B1x+C1y+D1+B2x 2 +C2y 2 +D2+Exy

[0044] Among them, k represents the correction parameter, x represents the number of charge and discharge cycles, y represents the battery health to be corrected, and A1, B1, C1, D1, B2, C2, D2 and E are preset constants.

[0045] In some embodiments, the apparatus further comprises:

[0046] The reading module is configured to read the charge and discharge cycle number and the battery health status to be corrected recorded by the fuel gauge.

[0047] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0048] processor;

[0049] a memory for storing processor-executable instructions;

[0050] The processor is configured to execute the method as described in the first aspect of the embodiment of the present disclosure.

[0051] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in the first aspect of the embodiment of the present disclosure.

[0052] The above method of the present disclosure has the following beneficial effects:

[0053] The method provided by the embodiment of the present disclosure takes into account the correlation between the accurate battery health of the battery and the number of charge and discharge cycles of the battery and / or the battery health to be corrected. Therefore, a correction parameter is determined according to a preset relationship and the number of charge and discharge cycles of the battery of the electronic device and / or the battery health to be corrected. The preset relationship is used to represent the correlation relationship. Then, the battery health to be corrected is corrected according to the correction parameter to obtain a corrected battery health. The corrected battery health is more accurate than the battery health to be corrected, thereby improving the accuracy of the battery health.

[0054] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0056] Figure 1 is a flow chart showing a method for correcting battery health according to an exemplary embodiment;

[0057] Figure 2 is a flow chart showing another method for correcting battery health according to an exemplary embodiment;

[0058] Figure 3 is a flow chart showing another method for correcting battery health according to an exemplary embodiment;

[0059] Figure 4 is a flow chart showing a process of obtaining a preset relationship according to an exemplary embodiment;

[0060] Figure 5 is a schematic diagram showing a preset relationship according to an exemplary embodiment;

[0061] Figure 6 is a flow chart showing another method for correcting battery health according to an exemplary embodiment;

[0062] Figure 7 is a block diagram of a device for processing executable code according to an exemplary embodiment;

[0063] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0064] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0065] Battery health is used to characterize the health status of the battery after multiple charge and discharge cycles. It is a performance indicator to measure the health level. There are many methods to calculate SOH, such as capacity calculation method, which is the ratio between the current available capacity Qaged and the initial capacity Qnew of the fresh battery, that is, SOH = Qaged / Qnew; internal resistance calculation method; and calculation using the number of charge and discharge cycles (Cycle Count).

[0066] In the related technology, the most commonly used method is the capacity calculation method, but the calculation of SOH using this method is not accurate. The reasons for the inaccuracy include: the fuel gauge calculates the battery capacity through iteration, there is a cumulative error, and the error gradually increases over time; the battery cell calculates the available capacity Qaged by discharging and integrating to 3.0V, while the terminal usually only discharges to the shutdown voltage (3.4V or 3.2V), so the calculated Qaged is actually smaller, resulting in inaccurate SOH.

[0067] When using the number of charge and discharge cycles for calculation, as the number of battery charge and discharge times increases, the number of charge and discharge cycles increases, and the SOH basically shows a downward trend (excluding abnormal jumps). However, since one charge and discharge cycle refers to the battery from fully charged to fully discharged, and the terminal generally cannot meet this condition, the number of charge and discharge cycles is also inaccurate. Therefore, the SOH calculated using the number of charge and discharge cycles will also have errors.

[0068] In addition, as the battery ages, the cumulative error of SOH will be further exacerbated.

[0069] In summary, the battery health of electronic devices needs to be compensated and corrected to make it closer to the actual health status of the battery. In related technologies, the battery capacity and battery internal resistance are used to collaboratively correct SOH, that is, SOH_Final = a*SOH_Q + (1-a)*SOH_R, where SOH_R is the health determined based on the battery internal resistance, SOH_Q is the health determined based on the battery capacity, and a is a preset parameter. Since SOH_Q itself is not calculated accurately, SOH_R uses a fuel gauge to detect the internal resistance, and the internal resistance itself is at the milliohm level. The online measurement calculation error is also large, so SOH_Final is also inaccurate and cannot reflect the true health of the battery.

[0070] In the disclosed embodiment, considering that there is a correlation between the accurate battery health of the battery and the number of charge and discharge cycles of the battery and / or the battery health to be corrected, the correlation is used to compensate and correct the battery health to obtain the accurate battery health.

[0071] The method for correcting battery health provided by the embodiment of the present disclosure is applied to an electronic device, which may be a mobile phone, a tablet computer, a laptop computer, a wearable device, or other device equipped with a battery.

[0072] Figure 1 is a flowchart of a method for correcting battery health according to an exemplary embodiment, which is executed by an electronic device, see Figure 1 , the method comprises the following steps:

[0073] Step S101, determining a correction parameter according to a preset relationship and a first parameter of a battery of the electronic device, wherein the preset relationship is used to characterize the relationship between the first parameter and the correction parameter, and the first parameter includes at least one of the number of charge and discharge cycles and the health of the battery to be corrected.

[0074] The preset relationship is pre-stored in the electronic device, and is used to characterize the relationship between the first parameter and the correction parameter. The preset relationship may be a formula or other forms. When the first parameter is determined, the correction parameter may be calculated according to the preset relationship, and the correction parameter is used to correct the battery health of the battery to obtain a more accurate battery health.

[0075] The first parameter is the number of charge and discharge cycles, or the first parameter is the battery health to be corrected, or the first parameter is the number of charge and discharge cycles and the battery health to be corrected. The number of charge and discharge cycles is the number of charge and discharge cycles completed by the battery; the battery health to be corrected is determined by the electronic device without considering the influence of errors or calculation deviations, for example, the battery health to be corrected is calculated using a capacity calculation method or calculated using the number of charge and discharge cycles.

[0076] Step S102, correcting the battery health to be corrected according to the correction parameter to obtain a corrected battery health.

[0077] The battery health to be corrected is a less accurate parameter. In order to obtain a more accurate battery health, the battery health to be corrected is corrected according to the correction parameter to obtain a corrected battery health. The corrected battery health takes into account the correlation between the accurate battery health and the number of charge and discharge cycles of the battery and / or the battery health to be corrected, and can more accurately represent the health status of the battery than the battery health to be corrected.

[0078] The method provided by the embodiment of the present disclosure takes into account the correlation between the accurate battery health of the battery and the number of charge and discharge cycles of the battery and / or the battery health to be corrected. Therefore, a correction parameter is determined according to a preset relationship and the number of charge and discharge cycles of the battery of the electronic device and / or the battery health to be corrected. The preset relationship is used to represent the correlation relationship. Then, the battery health to be corrected is corrected according to the correction parameter to obtain a corrected battery health. The corrected battery health is more accurate than the battery health to be corrected, thereby improving the accuracy of the battery health.

[0079] In some embodiments, the correction parameter may be a health compensation value or a health adjustment coefficient. Figure 2 and Figure 3 The illustrated embodiment illustrates both cases.

[0080] Figure 2 is a flowchart of a method for correcting battery health according to an exemplary embodiment, which is executed by an electronic device, see Figure 2 , the method comprises the following steps:

[0081] Step S201, reading the number of charge and discharge cycles recorded by the fuel gauge and the battery health to be corrected.

[0082] In an embodiment of the present disclosure, a fuel meter is installed in the electronic device. At the end of each charge and discharge cycle, the fuel meter adds 1 to the number of charge and discharge cycles to obtain the number of charge and discharge cycles of the battery, and calculates the battery health to be corrected based on the current battery capacity and initial capacity of the battery. The number of charge and discharge cycles and the battery health to be corrected are stored in the fuel meter. When the battery health needs to be corrected, the number of charge and discharge cycles and the battery health to be corrected are read from the fuel meter.

[0083] Step S202: determining a health compensation value according to a preset relationship and a first parameter of a battery of the electronic device.

[0084] The preset relationship is used to characterize the relationship between the first parameter and the health compensation value, the first parameter includes at least one of the number of charge and discharge cycles and the battery health to be corrected. The health compensation value is a determined value used to compensate for the battery health to be corrected.

[0085] In some embodiments, the first parameter includes the number of charge and discharge cycles, and the preset relationship is used to characterize the relationship between the number of charge and discharge cycles and the health compensation value. After the number of charge and discharge cycles is obtained, the health compensation value corresponding to the number of charge and discharge cycles is determined according to the preset relationship. For example, the preset relationship is in the form of a formula, and the number of charge and discharge cycles is substituted into the preset relationship to obtain the health compensation value.

[0086] In some embodiments, the first parameter includes the battery health to be corrected, and the preset relationship is used to characterize the relationship between the battery health to be corrected and the health compensation value. After the battery health to be corrected is obtained, the health compensation value corresponding to the battery health to be corrected is determined according to the preset relationship. For example, the preset relationship is in the form of a formula, and the battery health to be corrected is substituted into the preset relationship to obtain the health compensation value.

[0087] In some embodiments, the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, and the preset relationship is used to characterize the relationship between the number of charge and discharge cycles, the battery health to be corrected, and the health compensation value. After the number of charge and discharge cycles and the battery health to be corrected are obtained, the health compensation value corresponding to the number of charge and discharge cycles and the battery health to be corrected is determined according to the preset relationship. For example, the preset relationship is in the form of a formula, and the number of charge and discharge cycles and the battery health to be corrected are substituted into the preset relationship to obtain the health compensation value.

[0088] In some embodiments, when the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, the preset relationship may be:

[0089] k=A1+B1x+C1y+D1+B2x 2 +C2y 2 +D2+Exy

[0090] Among them, k represents the health compensation value, x represents the number of charge and discharge cycles, y represents the battery health to be corrected, and A1, B1, C1, D1, B2, C2, D2 and E are preset constants.

[0091] Step S203, adding the health compensation value to the battery health to be corrected to obtain a corrected battery health.

[0092] The battery health to be corrected is the same as the battery health to be corrected used in determining the health compensation value. The health compensation value is added to the battery health to be corrected, that is, the battery health to be corrected is compensated and corrected to obtain a more accurate corrected battery health.

[0093] For example, the corrected battery health SOH_final=SOH_record+ΔSOH, where SOH_record is the battery health to be corrected, and ΔSOH is the health compensation value.

[0094] In the disclosed embodiment, considering that there is a correlation between the accurate battery health of the battery and the number of charge and discharge cycles of the battery and / or the battery health to be corrected, the health compensation value is determined according to the preset relationship and the number of charge and discharge cycles of the battery of the electronic device and / or the battery health to be corrected, and then the health compensation value is added to the battery health to be corrected to obtain the corrected battery health. The corrected battery health is more accurate than the battery health to be corrected, thereby improving the accuracy of the battery health.

[0095] Figure 3 is a flowchart of another method for correcting battery health according to an exemplary embodiment, which is executed by an electronic device, see Figure 3 , the method comprises the following steps:

[0096] Step S301, reading the number of charge and discharge cycles recorded by the fuel gauge and the battery health to be corrected.

[0097] The implementation of step S301 refers to the above step S201 and will not be described in detail here.

[0098] Step S302: determining a health adjustment coefficient according to a preset relationship and a first parameter of a battery of the electronic device.

[0099] The preset relationship is used to characterize the relationship between the first parameter and the health adjustment coefficient, and the first parameter includes at least one of the number of charge and discharge cycles and the battery health to be corrected.

[0100] In some embodiments, the first parameter includes the number of charge and discharge cycles, and the preset relationship is used to characterize the relationship between the number of charge and discharge cycles and the health adjustment coefficient. After the number of charge and discharge cycles is obtained, the health adjustment coefficient corresponding to the number of charge and discharge cycles is determined according to the preset relationship. For example, the preset relationship is in the form of a formula, and the number of charge and discharge cycles is substituted into the preset relationship to obtain the health adjustment coefficient.

[0101] In some embodiments, the first parameter includes the battery health to be corrected, and the preset relationship is used to characterize the relationship between the battery health to be corrected and the health adjustment coefficient. After the battery health to be corrected is obtained, the health adjustment coefficient corresponding to the battery health to be corrected is determined according to the preset relationship. For example, if the preset relationship is in the form of a formula, the battery health to be corrected is substituted into the preset relationship to obtain the health adjustment coefficient.

[0102] In some embodiments, the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, and the preset relationship is used to characterize the relationship between the number of charge and discharge cycles, the battery health to be corrected, and the health adjustment coefficient. After the number of charge and discharge cycles and the battery health to be corrected are obtained, the health adjustment coefficient corresponding to the number of charge and discharge cycles and the battery health to be corrected is determined according to the preset relationship. For example, the preset relationship is in the form of a formula, and the number of charge and discharge cycles and the battery health to be corrected are substituted into the preset relationship to obtain the health adjustment coefficient.

[0103] In some embodiments, when the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, the preset relationship may be:

[0104] k=A1+B1x+C1y+D1+B2x 2 +C2y 2 +D2+Exy

[0105] Among them, k represents the health adjustment coefficient, x represents the number of charge and discharge cycles, y represents the battery health to be corrected, and A1, B1, C1, D1, B2, C2, D2 and E are preset constants.

[0106] It should be noted that the preset constant in the preset relationship when the correction parameter is the health adjustment coefficient is different from the preset constant in the preset relationship when the correction parameter is the health compensation value.

[0107] Step S303, multiplying the health adjustment coefficient by the battery health to be corrected to obtain a corrected battery health.

[0108] The battery health to be corrected is the same value as the battery health to be corrected used in determining the health adjustment coefficient. The health adjustment coefficient is multiplied by the battery health to be corrected, that is, the battery health to be corrected is adjusted to obtain a more accurate corrected battery health.

[0109] For example, the corrected battery health SOH_final=k×SOH_record, where SOH_record is the battery health to be corrected, and k is the health adjustment coefficient.

[0110] In the disclosed embodiment, considering that there is a correlation between the accurate battery health of the battery and the number of charge and discharge cycles of the battery and / or the battery health to be corrected, the health compensation value is determined according to the preset relationship and the number of charge and discharge cycles of the battery of the electronic device and / or the battery health to be corrected, and then the health adjustment coefficient is multiplied by the battery health to be corrected to obtain the corrected battery health. The corrected battery health is more accurate than the battery health to be corrected, thereby improving the accuracy of the battery health.

[0111] The preset relationship used in determining the correction parameter is pre-stored in the electronic device. The acquisition process of the preset relationship is as follows: Figure 4 The embodiment shown.

[0112] Figure 4 is a flowchart showing a process of obtaining a preset relationship according to an exemplary embodiment, see Figure 4 , the method comprises the following steps:

[0113] Step S401, performing multiple charge and discharge cycles on the test battery to obtain multiple groups of test data, each group of test data corresponds to one charge and discharge cycle, each group of test data includes a reference correction parameter and a second parameter determined at the end of the charge and discharge cycle corresponding to the test data, the second parameter includes at least one of the health of the first test battery and the number of test charge and discharge cycles.

[0114] The test battery is a battery used to obtain the preset relationship. When the test data is obtained by using the test battery, a set of test data is obtained each time a charge and discharge cycle is completed.

[0115] In some embodiments, when the reference correction parameter is a reference health compensation value, multiple charge and discharge cycles are performed on the test battery to obtain multiple sets of test data, including: for each charge and discharge cycle, when the test battery completes this charge and discharge cycle, the health of the second test battery is obtained, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge; the difference between the health of the second test battery and the health of the first test battery is obtained as the reference health compensation value. The health of the second test battery is the ratio between the discharge capacity and the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use.

[0116] For example, the health of the second test battery at the end of a certain charge and discharge cycle is determined using the following formula:

[0117] SOH_test=Q_test / Q_design*100

[0118] Among them, SOH_test is the second test battery health, Q_test is the discharge capacity, and Q_design is the initial capacity.

[0119] Optionally, the discharge capacity Q_test is obtained by integrating the discharge current I and the discharge time t recorded in this charge and discharge cycle.

[0120] The reference health compensation value is determined using the following formula:

[0121] △SOH=SOH_test-SOH_record

[0122] Among them, △SOH is the reference health compensation value, SOH_test is the second test battery health, and SOH_record is the first test battery health.

[0123] In some embodiments, when the reference correction parameter is a reference health adjustment coefficient, the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including: for each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtaining the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge; obtaining the ratio between the health of the second test battery and the health of the first test battery as the reference health adjustment coefficient.

[0124] In some embodiments, the battery parameters of the test battery are the same as the battery parameters of the battery in the electronic device, and the fuel gauge parameters of the test fuel gauge are the same as the fuel gauge parameters of the fuel gauge in the electronic device, that is, when determining the preset relationship, the test battery and the test fuel gauge used need to be the same as the battery and fuel gauge in the electronic device. For example, if the battery in the electronic device is a single battery, then the test battery is also a single battery; if the battery in the electronic device is two batteries connected in series, then the test battery is also two batteries connected in series; if the battery in the electronic device is two batteries connected in parallel, then the test battery is also two batteries connected in parallel.

[0125] Optionally, the test battery is subjected to a cycle test at room temperature (25°C) in a laboratory, and the test battery is charged according to the actual charging method of the battery in the electronic device, for example, the test battery is fast charged (Flash Fast Charging, FFC), and then discharged according to the standard discharge method, and the standard discharge method is discharged from 0.2C (discharge rate) to 3.0V. The above method is used to perform multiple charge and discharge cycles, for example, the number of charge and discharge cycles is 800, that is, 800 sets of test data are obtained.

[0126] Step S402, performing surface fitting based on multiple groups of test data to obtain a preset relationship.

[0127] After obtaining multiple sets of test data, surface fitting is performed based on the multiple sets of test data to obtain a preset relationship. For example, the number of charge and discharge cycles (Cycle Count), the battery health to be corrected (electricity gauge SOH) and the reference correction parameter (△SOH) are used as x, y and z for surface fitting, see Figure 5 The preset relationship obtained by surface fitting is shown in Figure 5 The diagrams on the left and right in the middle are views of the same preset relationship at different angles.

[0128] The method provided in the embodiment of the present disclosure adopts a test battery and a test fuel meter to obtain multiple groups of test data in order to obtain a preset relationship, and then performs surface fitting on the multiple groups of test data to obtain the preset relationship. Therefore, when determining the battery health, the correction parameter corresponding to the battery health to be corrected can be determined according to the preset relationship, so as to correct the battery health to be corrected and obtain a more accurate battery health.

[0129] Figure 6 is a flowchart of another method for correcting battery health according to an exemplary embodiment, which is executed by an electronic device, see Figure 6 , the method comprises the following steps:

[0130] Step S601, reading the number of charge and discharge cycles recorded by the fuel gauge and the battery health to be corrected.

[0131] Step S602, substituting the number of charge and discharge cycles and the battery health to be corrected into a preset relationship to obtain a correction parameter.

[0132] Step S603, correcting the battery health to be corrected according to the correction parameter to obtain a corrected battery health, and storing the corrected battery health to a corresponding location so that a corresponding battery aging strategy can be subsequently executed based on the corrected battery health.

[0133] The implementation method of the process of determining the corrected battery health in the embodiment of the present disclosure is shown in the above Figure 2 or Figure 3 The embodiments shown will not be described in detail here.

[0134] After obtaining the corrected battery health through correction, the electronic device stores the corrected battery health to a corresponding location, for example, the corresponding location may be a location in a memory of the electronic device. Then, the electronic device may obtain the stored corrected battery health and execute a corresponding battery aging strategy based on the corrected battery health, wherein the battery aging strategy refers to setting a suitable charging method for the battery according to the battery health.

[0135] The method provided by the embodiment of the present disclosure corrects the battery health to be corrected according to the correction parameter to obtain the corrected battery health, which is more accurate than the battery health to be corrected, improves the accuracy of the battery health, and is conducive to reducing the after-sales battery repair rate. In addition, a more appropriate battery aging strategy is implemented according to the more accurate battery health, which is conducive to extending the battery life.

[0136] Figure 7 is a block diagram of a device for processing executable code according to an exemplary embodiment, which is configured in an electronic device, see Figure 7 , the device comprises:

[0137] The correction parameter determination module 701 is configured to determine the correction parameter according to a preset relationship and a first parameter of a battery of the electronic device, wherein the preset relationship is used to characterize the relationship between the first parameter and the correction parameter, and the first parameter includes at least one of the number of charge and discharge cycles and the health of the battery to be corrected;

[0138] The health correction module 702 is configured to correct the battery health to be corrected according to the correction parameter to obtain the corrected battery health.

[0139] The device provided by the embodiment of the present disclosure takes into account the correlation between the accurate battery health of the battery and the number of charge and discharge cycles of the battery and / or the battery health to be corrected. Therefore, a correction parameter is determined according to a preset relationship and the number of charge and discharge cycles of the battery of the electronic device and / or the battery health to be corrected. The preset relationship is used to represent the correlation relationship. Then, the battery health to be corrected is corrected according to the correction parameter to obtain a corrected battery health. The corrected battery health is more accurate than the battery health to be corrected, thereby improving the accuracy of the battery health.

[0140] In some embodiments, the health correction module 702 is configured to:

[0141] The correction parameter is a health compensation value, and the health compensation value is added to the battery health to be corrected to obtain the corrected battery health; or,

[0142] The correction parameter is the health adjustment coefficient. The health adjustment coefficient is multiplied by the battery health to be corrected to obtain the corrected battery health.

[0143] In some embodiments, the process of obtaining the preset relationship includes:

[0144] Perform multiple charge and discharge cycles on the test battery to obtain multiple groups of test data, each group of test data corresponds to one charge and discharge cycle, each group of test data includes a reference correction parameter and a second parameter determined at the end of the charge and discharge cycle corresponding to the test data, and the second parameter includes at least one of the health of the first test battery and the number of test charge and discharge cycles;

[0145] Surface fitting is performed based on multiple groups of test data to obtain a preset relationship.

[0146] In some embodiments, the reference correction parameter is a reference health compensation value, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including:

[0147] For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, the health of the second test battery being the ratio of the discharge capacity to the initial capacity, the discharge capacity being the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity being the maximum capacity of the test battery when not in use;

[0148] The difference between the second test battery health and the first test battery health is obtained as a reference health compensation value.

[0149] In some embodiments, the reference correction parameter is a reference health adjustment coefficient, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple sets of test data, including:

[0150] For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, the health of the second test battery being the ratio of the discharge capacity to the initial capacity, the discharge capacity being the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity being the maximum capacity of the test battery when not in use;

[0151] A ratio between the second test battery health and the first test battery health is obtained as a reference health adjustment coefficient.

[0152] In some embodiments, the battery parameters of the test battery are the same as the battery parameters of the battery in the electronic device, and the fuel gauge parameters of the test fuel gauge are the same as the fuel gauge parameters of the fuel gauge in the electronic device.

[0153] In some embodiments, the first parameter includes the number of charge and discharge cycles and the battery health to be corrected, and the preset relationship is:

[0154] k=A1+B1x+C1y+D1+B2x 2 +C2y 2 +D2+Exy

[0155] Among them, k represents the correction parameter, x represents the number of charge and discharge cycles, y represents the battery health to be corrected, and A1, B1, C1, D1, B2, C2, D2 and E are preset constants.

[0156] In some embodiments, the apparatus further comprises:

[0157] The reading module is configured to read the number of charge and discharge cycles recorded by the fuel gauge and the battery health to be corrected.

[0158] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0159] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the method for correcting battery health in the above embodiment.

[0160] Figure 8 is a block diagram of an electronic device 800 according to an exemplary embodiment.

[0161] Reference Figure 8, the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0162] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0163] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0164] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0165] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0166] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0167] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0168] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0169] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0170] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0171] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0172] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method for correcting battery health in the above embodiment.

[0173] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0174] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for correcting battery health, characterized in that: The method comprises: Determining a correction parameter according to a preset relationship and a first parameter of a battery of the electronic device, wherein the preset relationship is used to characterize a relationship between the first parameter and the correction parameter, and the first parameter includes at least one of a number of charge and discharge cycles and a health status of the battery to be corrected; The battery health to be corrected is corrected according to the correction parameter to obtain a corrected battery health.

2. The method according to claim 1, characterized in that: The step of correcting the battery health to be corrected according to the correction parameter to obtain the corrected battery health includes: The correction parameter is a health compensation value, and the health compensation value is added to the battery health to be corrected to obtain the corrected battery health; or, The correction parameter is a health adjustment coefficient, and the health adjustment coefficient is multiplied by the battery health to be corrected to obtain the corrected battery health.

3. The method according to claim 2, characterized in that The process of obtaining the preset relationship includes: Perform multiple charge and discharge cycles on the test battery to obtain multiple groups of test data, each group of test data corresponds to one charge and discharge cycle, each group of test data includes a reference correction parameter and a second parameter determined at the end of the charge and discharge cycle corresponding to the test data, the second parameter includes at least one of the health of the first test battery and the number of test charge and discharge cycles; Surface fitting is performed based on the multiple groups of test data to obtain the preset relationship.

4. The method according to claim 3, characterized in that The reference correction parameter is a reference health compensation value, and the test battery is subjected to multiple charge and discharge cycles to obtain multiple groups of test data, including: For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, wherein the health of the second test battery is the ratio of the discharge capacity to the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use; A difference between the second test battery health and the first test battery health is obtained as the reference health compensation value.

5. The method according to claim 3, characterized in that: The reference correction parameter is a reference health adjustment coefficient. The test battery is subjected to multiple charge and discharge cycles to obtain multiple groups of test data, including: For each charge and discharge cycle, when the test battery completes this charge and discharge cycle, obtain the health of the second test battery, as well as the health of the first test battery and the number of test charge and discharge cycles recorded by the test fuel gauge, wherein the health of the second test battery is the ratio of the discharge capacity to the initial capacity, the discharge capacity is the discharge capacity of the test battery in this charge and discharge cycle, and the initial capacity is the maximum capacity of the test battery when it is not in use; A ratio between the second test battery health and the first test battery health is obtained as the reference health adjustment coefficient.

6. The method according to claim 4 or 5, characterized in that: The battery parameters of the test battery are the same as the battery parameters of the battery in the electronic device, and the fuel gauge parameters of the test fuel gauge are the same as the fuel gauge parameters of the fuel gauge in the electronic device.

7. The method according to any one of claims 1 to 5, characterized in that: The first parameter includes the number of charge and discharge cycles and the battery health to be corrected, and the preset relationship is: k=A1+B1x+C1y+D1+B2x 2 +C2y 2 +D2+Exy Among them, k represents the correction parameter, x represents the number of charge and discharge cycles, y represents the battery health to be corrected, and A1, B1, C1, D1, B2, C2, D2 and E are preset constants.

8. The method according to any one of claims 1 to 5, characterized in that The electronic device includes a fuel gauge, and before determining the current correction parameter of the battery according to the preset relationship and the first parameter of the battery, the method further includes: The number of charge and discharge cycles and the battery health to be corrected recorded by the fuel gauge are read.

9. A device for correcting battery health, characterized in that: The device comprises: a correction parameter determination module, configured to determine the correction parameter according to a preset relationship and a first parameter of a battery of the electronic device, wherein the preset relationship is used to characterize the relationship between the first parameter and the correction parameter, and the first parameter includes at least one of the number of charge and discharge cycles and the health of the battery to be corrected; The health correction module is configured to correct the battery health to be corrected according to the correction parameter to obtain a corrected battery health.

10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method as claimed in any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 8.