Battery cycle calibration method, system and storage medium

Through the cyclic charging and discharging calibration method, the problem of inaccurate detection of the battery after battery replacement is solved, the battery usage experience and efficiency are improved, and the battery health is ensured consistent.

CN115774197BActive Publication Date: 2025-09-02SHENZHEN AIXUN INTELLIGENT HARDWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211531381.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-01
Publication Date
2025-09-02
Estimated Expiration
2042-12-01

AI Technical Summary

Technical Problem

After replacing the battery of the smart device, the battery capacity detected by the built-in battery meter is inconsistent with the actual capacity of the new battery, resulting in a decrease in user experience and a shortened battery life.

Method used

By obtaining the battery status of the target battery, judging its charging and discharging state, and using the preset power interval division rules and calibration coefficient calculation formulas, cyclic charging and discharging calibration is performed to ensure that the battery health reaches the threshold.

Benefits of technology

It improves the user experience after battery replacement, enhances charging and discharging efficiency, reduces calibration time, and enhances the user's intuitive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115774197B_ABST
    Figure CN115774197B_ABST
Patent Text Reader

Abstract

The present application relates to a battery cycle calibration method, system and storage medium, the method comprising: obtaining the current battery status of a target battery located in a smart terminal; in the charging state, obtaining the real-time current of the target battery to determine whether the target battery is fully charged; if fully charged, obtaining the current actual capacity of the target battery based on a preset power meter in the smart terminal, and calculating the battery health of the target battery; determining whether the battery health is greater than a preset health threshold; if so, determining that the battery power calibration is complete; if not fully charged, obtaining the real-time power of the target battery, and obtaining the first power interval in which the real-time power is located, and executing a corresponding charging method on the target battery; if not greater than the health threshold, when the battery state is in the discharging state, obtaining the current power of the target battery, and obtaining the second power interval in which the current power is located, and executing a corresponding discharging method on the target battery. The present application has the effect of effectively improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery technology, and in particular to a battery cycle calibration method, system, and storage medium. Background Art

[0002] With the rise of smart devices such as mobile phones, tablets or computers, the battery industry, as an energy storage tool to provide power for smart devices, is also developing rapidly.

[0003] Currently, smart devices can usually be used for 3 to 4 years under normal circumstances. However, the battery life of smart devices will usually decrease significantly after two years of normal use. At this time, the battery efficiency will usually decrease by about 20%, and the available battery time is only about 60% of the battery's power when the battery is in a new state. In other words, the smart device may need to be charged after less than half a day of use. As the frequency of battery charging and discharging increases, the battery life will be further significantly shortened. Therefore, the battery of the smart device should be replaced in time after two years of use to reduce the inconvenience caused by the battery performance degradation when the user uses the smart device.

[0004] In the existing technology, when replacing the battery of a smart device, the staff first opens the back cover of the smartphone or smart tablet, removes the old battery, installs the new battery, and finally installs the back cover to replace the battery. Other components of the smart device may contain encrypted data and do not need to be replaced.

[0005] Regarding the above-mentioned prior art, the applicant believes that smart devices all have built-in fuel meters for estimating battery capacity. If only the battery is replaced, the battery capacity detected by the built-in fuel meter will be the battery capacity of the old battery, and the battery capacity detected by the fuel meter will be inconsistent with the actual battery capacity of the new battery, thereby reducing the user experience after replacing the battery.

[0006] Application Contents

[0007] In order to effectively improve the user experience after replacing the battery, the present application provides a battery cycle calibration method, system and storage medium.

[0008] In the first aspect, the present application provides a battery cycle calibration method using the following technical solutions:

[0009] A battery cycle calibration method, comprising:

[0010] Obtaining a current battery state of a target battery located in the smart terminal; the battery state includes a charging state and a discharging state; in the charging state, obtaining a real-time current of the target battery, and determining whether the target battery is fully charged based on the real-time current;

[0011] If the target battery is fully charged, obtaining the current actual capacity of the target battery based on a preset power meter in the smart terminal, and calculating the battery health of the target battery based on the current actual capacity and a preset standard capacity;

[0012] Determining whether the battery health is greater than a preset health threshold;

[0013] If the battery health is greater than the health threshold, it is determined that the target battery health meets the standard and the battery power calibration is completed;

[0014] If the target battery is not fully charged, obtain the real-time power level of the target battery, and obtain the first power level interval in which the real-time power level is located based on a preset first power level interval division rule;

[0015] Based on the first power range, executing a corresponding charging method for the target battery, and executing the steps of obtaining a real-time current of the target battery when in the charging state, and determining whether the target battery is fully charged based on the real-time current;

[0016] If the battery health is not greater than the health threshold, when the battery state is a discharge state, the current power of the target battery is obtained, and based on a preset second power interval division rule, the second power interval in which the current power is located is obtained; based on the second power interval, a corresponding discharge method is executed on the target battery. After the discharge state of the target battery ends and it is converted to a charging state, the steps of obtaining the real-time power of the target battery and obtaining the first power interval in which the real-time power is located are executed based on the preset first power interval division rule.

[0017] By adopting the above technical solution, after replacing the target battery, the battery capacity of the target battery is calibrated according to the cyclic charge and discharge of the target battery. When the battery capacity of the target battery is fully charged and the battery health is greater than the health threshold, it indicates that the battery capacity calibration of the target battery is complete, that is, the battery capacity detected by the fuel gauge is consistent with the actual battery capacity of the new battery, effectively improving the user experience after replacing the battery;

[0018] During the cyclic charge and discharge process of the target battery, when it is in the charging state and the target battery is not fully charged, the first power interval is determined based on the real-time power of the target battery, and after determining the first power interval, the corresponding charging method is executed, which is beneficial to improving the charging efficiency of the smart terminal. Similarly, when the battery power of the target battery is not calibrated, the target battery is discharged, that is, when the target battery is in the discharging state, the second power interval is determined based on the current power of the target battery, and after determining the second power interval, the corresponding discharge method is executed, which is beneficial to improving the discharge efficiency of the smart terminal. As a result, the charging and discharging efficiency of the smart terminal are both improved, the calibration time is effectively reduced, and the user experience after replacing the battery is further effectively improved.

[0019] Optionally, after obtaining the real-time power level of the target battery, the method further includes:

[0020] Obtaining the real-time displayed power detected by the power meter;

[0021] Obtaining a delay time when the real-time displayed power level is consistent with the real-time power level;

[0022] calculating a real-time calibration coefficient based on the delay time, and generating a calibration curve based on the real-time calibration coefficient;

[0023] Determining whether the real-time calibration coefficient is 1;

[0024] If it is 1, the calibration is determined to be completed.

[0025] By adopting the above technical solution, in the charging state, the real-time calibration coefficient is calculated based on the delay time and a calibration curve is generated, which is conducive to allowing the user to intuitively see the calibration status. When the calibration coefficient is 1, the calibration is determined to be completed, which makes it easier for the user to intuitively see whether the calibration is completed, effectively improving the user's usage experience.

[0026] Optionally, the delay time includes an initial delay time and a real-time delay time;

[0027] The calculating of the real-time calibration coefficient based on the delay time includes:

[0028] Substitute the initial delay time and the real-time delay time into a preset calibration coefficient calculation formula to obtain a real-time calibration coefficient; the real-time calibration coefficient calculation formula is:

[0029]

[0030] Wherein C is the calibration coefficient, C0 is the initial delay time, and C n is the real-time delay time, C0 is greater than 0 and C0 is greater than C n .

[0031] By adopting the above technical solution, the calibration coefficient calculation formula is used to calculate the real-time calibration coefficient. The real-time calibration coefficient makes it easy for users to see the calibration status of the battery power in real time, effectively improving the user experience.

[0032] Optionally, after obtaining the delay time when the real-time displayed power is consistent with the real-time power, the method further includes:

[0033] Obtaining the current power consumption of the smart terminal;

[0034] Based on the current power consumption and the preset standard power consumption, determining whether the smart terminal has excess power consumption;

[0035] If there is extra power consumption, obtaining background running applications of the smart terminal and obtaining hardware modules used by each of the background running applications;

[0036] Removing preset whitelist hardware modules from the plurality of hardware modules to obtain a plurality of remaining hardware modules;

[0037] The background running application corresponding to the hardware module corresponding to the power consumption greater than the preset power consumption threshold is closed.

[0038] By adopting the above technical solution, when in the charging state, if there is extra power consumption, in order to reduce the impact of the extra power consumption on the calibration coefficient, the background running applications corresponding to the hardware modules whose power consumption is greater than the power consumption threshold are closed, so as to effectively improve the calibration efficiency.

[0039] Optionally, after shutting down the background running application corresponding to the hardware module corresponding to the power consumption greater than the preset power consumption threshold, the method further includes:

[0040] Obtaining the current whitelist power consumption of the smart terminal;

[0041] Based on the current whitelist power consumption and the standard power consumption, determining whether the smart terminal has additional whitelist power consumption;

[0042] If so, obtain the standard delay time when the real-time displayed power is consistent with the real-time power;

[0043] Calculate a time difference based on the delay time and the standard delay time;

[0044] An influence coefficient is calculated based on the time difference and the additional whitelist power consumption.

[0045] By adopting the above technical solution, the whitelist hardware module may cause additional whitelist power consumption to the smart terminal. When there is additional whitelist power consumption, the impact coefficient is calculated, which helps users understand the impact of additional whitelist power consumption on the calibration coefficient.

[0046] Optionally, the calculating an influence coefficient based on the time difference and the additional whitelist power consumption includes:

[0047] Substitute the time difference and the additional whitelist power consumption into a preset influence coefficient calculation formula to obtain the influence coefficient; the influence coefficient calculation formula is:

[0048]

[0049] Wherein, F is the influence coefficient, T1 is the delay time, T2 is the standard delay time, M is the additional whitelist power consumption, T1 is greater than T2 and M is greater than 0.

[0050] By adopting the above technical solution, the influence coefficient is calculated based on the influence coefficient calculation formula, which is helpful for users to understand the influence of additional whitelist power consumption on the calibration coefficient.

[0051] Optionally, after the influence coefficient is obtained by calculation, the following steps are included:

[0052] Based on the influence coefficient and the real-time calibration coefficient, a new calibration coefficient is calculated;

[0053] generating a new calibration curve based on the new calibration coefficients;

[0054] determining whether the new calibration coefficient is equal to the influence coefficient;

[0055] If they are equal, the calibration is determined to be complete.

[0056] By adopting the above technical solution, after calculating the influence coefficient, the new calibration coefficient is calculated and a new calibration curve is generated, which helps users intuitively understand the calibration status of the battery power when there is additional whitelist power consumption, and further helps to improve the user experience.

[0057] In a second aspect, the present application provides a battery cycle calibration system that adopts the following technical solutions:

[0058] A battery cycle calibration system includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor loads and executes the computer program, the above-mentioned battery cycle calibration method is adopted.

[0059] By adopting the above technical solution, the above battery cycle calibration method is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby making an intelligent terminal based on the memory and the processor for easy use.

[0060] In a third aspect, the present application provides a computer-readable storage medium that employs the following technical solutions:

[0061] A computer-readable storage medium stores a computer program. When the computer program is loaded and executed by a processor, the battery cycle calibration method described above is adopted.

[0062] By adopting the above technical solution, the above battery cycle calibration method is generated into a computer program and stored in a computer-readable storage medium so that it can be loaded and executed by a processor. The computer-readable storage medium facilitates the reading and storage of the computer program.

[0063] In summary, this application has at least one of the following beneficial technical effects:

[0064] 1. After replacing the target battery, calibrate the target battery's battery capacity based on its charge and discharge cycles. When the target battery is fully charged and its battery health is greater than the health threshold, calibration is complete. This means the battery capacity detected by the fuel gauge is consistent with the actual capacity of the new battery, effectively improving the user experience after battery replacement.

[0065] 2. Whitelist hardware modules may cause additional whitelist power consumption on smart terminals. When additional whitelist power consumption exists, the impact coefficient is calculated to help users understand the impact of additional whitelist power consumption on the calibration coefficient.

[0066] 3. When charging, if there is extra power consumption, in order to reduce the impact of the extra power consumption on the calibration coefficient, the background running applications corresponding to the hardware modules with power consumption greater than the threshold will be closed to effectively improve the calibration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 This is a flow chart of one implementation of a battery cycle calibration method according to an embodiment of the present application.

[0068] Figure 2 This is a flow chart of one implementation of a battery cycle calibration method according to an embodiment of the present application.

[0069] Figure 3 This is a flow chart of one implementation of a battery cycle calibration method according to an embodiment of the present application.

[0070] Figure 4 This is a flow chart of one implementation of a battery cycle calibration method according to an embodiment of the present application.

[0071] Figure 5 This is a flow chart of one implementation of a battery cycle calibration method according to an embodiment of the present application. DETAILED DESCRIPTION

[0072] The following is combined with Figures 1 to 5 This application is described in further detail.

[0073] The embodiment of the present application discloses a battery cycle calibration method.

[0074] Reference Figure 1 , a battery cycle calibration method includes the following steps:

[0075] S101. Obtain the current battery status of a target battery in a smart terminal; the battery status includes a charging state and a discharging state.

[0076] In this embodiment, the smart terminal can be a mobile phone, tablet, or computer, etc. The target battery refers to a new battery replaced by the smart terminal, and the current battery status of the target battery is obtained based on the smart terminal. Specifically, the smart terminal can monitor the battery's charging status. That is, if the user plugs in a charger, the smart terminal can monitor it and determine that the battery is in a charging state. Similarly, if the user unplugs the charger, the smart terminal can also monitor it and determine that the battery is in a discharging state. The charging state refers to charging the target battery via an external power supply, and the discharging state refers to the power consumption of the target battery by various application software preset by the smart terminal.

[0077] S102 : In the charging state, obtain the real-time current of the target battery, and determine whether the target battery is fully charged based on the real-time current.

[0078] The real-time current of the target battery is the charging current, which is obtained through the system-related files of the smart terminal in this embodiment. The system-related files refer to the related files of the operating system of the smart terminal, that is, the files necessary for the operation of the operating system. The system-related files can obtain the charging current, charging voltage, etc.

[0079] In a specific implementation, when the target battery is about to be fully charged, the charging current will gradually decrease as the power level of the target battery increases. If the charging current drops to the cut-off current, it indicates that the target battery is fully charged and charging is completed.

[0080] S103: If the target battery is fully charged, obtain the current actual capacity of the target battery based on a preset power meter in the smart terminal, and calculate the battery health of the target battery based on the current actual capacity and a preset standard capacity.

[0081] A fuel gauge indicates the remaining charge in a rechargeable battery and how long it can continue to provide power under specific operating conditions. The actual capacity is the battery's current true capacity, which decreases over time and with usage. The battery health of a target battery can be calculated based on the actual capacity and the rated capacity. The battery health indicates the health of the target battery.

[0082] The battery health calculation formula is as follows:

[0083] H=C s / C j *100%, where H is the battery health, C is the battery health s is the current actual capacity, C j For standard capacity.

[0084] S104: Determine whether the battery health is greater than a preset health threshold.

[0085] Since the target battery is a new battery, the obtained battery health should be greater than the health threshold. If the battery health is greater than the health threshold, it indicates that the fuel gauge has completed the battery charge calibration of the target battery. If the battery health is not greater than the health threshold, it indicates that the fuel gauge has not completed the battery charge calibration of the target battery.

[0086] S105: If the battery health is greater than the health threshold, it is determined that the target battery health meets the standard and the battery power calibration is completed.

[0087] If the battery health of the target battery is calculated as 98% using the battery health formula, and the health threshold is set to 95%, since the battery health is greater than the health threshold, it is determined that the target battery health meets the standard and the battery power calibration is completed.

[0088] S106: If the target battery is not fully charged, obtain the real-time power level of the target battery, and based on a preset first power level interval division rule, obtain the first power level interval in which the real-time power level is located.

[0089] The real-time power level increases as the charging time increases. In this embodiment, the real-time power level is expressed as a percentage, that is, after obtaining the real-time power level, it is necessary to divide the real-time power level by the standard capacity and multiply the result by 100%. At this time, the real-time power level is displayed as a percentage, such as 40%, 50%, etc. The first power level interval division rule is preset. Specifically, the first power level interval division rule is: 1. The first interval is 0% to 1%; 2. The second interval is 1% to 10%; 3. The third interval is 10% to 90%; 4. The fourth interval is 90% to 99%; 5. The fifth interval is 99% to 100%. If the real-time power level obtained is 55%, the first power level interval in which the real-time power level is located is the third interval.

[0090] S107: Based on the first power range, a corresponding charging method is executed on the target battery, and when in the charging state, a real-time current of the target battery is obtained, and whether the target battery is fully charged is determined based on the real-time current.

[0091] Based on step S106, for example, if the real-time power level is in the first interval, the target battery is charged by trickle charging; if the real-time power level is in the second interval, the target battery is charged by low current pre-charging; if the real-time power level is in the third interval, the target battery is charged by constant current fast charging; if the real-time power level is in the fourth interval, the target battery is charged by constant voltage charging; if the real-time power level is in the fifth interval, it is determined that charging of the target battery is complete and charging is suspended.

[0092] Trickle charging involves performing a restorative charge on a target battery when it's over-discharged to prevent damage from excessive current. Pre-charging involves charging with a low current when the battery voltage is low to prevent damage from excessive current. Constant-current fast charging involves charging with a constant current to continuously increase the battery voltage. Constant-voltage charging involves gradually decreasing the charging current when the battery voltage reaches full charge, while maintaining the battery voltage at the preset full-charge voltage. Complete charging means officially stopping charging when the charging current drops to the minimum cutoff current, marking the end of the charging process.

[0093] If the real-time power level is in the fifth interval, step S102 is executed, at which time the battery is determined to be fully charged, and step S105 is continued to be executed, that is, if the battery health is greater than the health threshold, it is determined that the target battery health meets the standard and the battery power calibration is completed.

[0094] S108. If the battery health is not greater than the health threshold, when the battery state is in the discharge state, obtain the current power of the target battery, and based on a preset second power interval division rule, obtain the second power interval in which the current power is located.

[0095] As can be seen from step S104, if the battery health is not greater than the health threshold, it indicates that the fuel gauge has not completed the battery charge calibration of the target battery. The second power interval division rules are preset. Specifically, the second power interval division rules are as follows: 1. The first interval is 100% to 5%; 2. The second interval is 5% to 1%; 3. The third interval is 1% to 0%. If the current power level obtained is 3%, the second power interval in which the current power level is located is the second interval.

[0096] S109, based on the second power interval, executing a corresponding discharge method for the target battery, after the target battery completes the discharge state and changes to the charging state, executing the step of obtaining the real-time power of the target battery, and based on the preset first power interval division rule, obtaining the first power interval in which the real-time power is located.

[0097] Based on step S108, for example, if the current power level is in the first interval, a constant current rapid discharge method is performed on the target battery; if the current power level is in the second interval, a constant voltage discharge method is performed on the target battery; if the current power level is in the third interval, it is determined that the target battery is fully discharged.

[0098] Constant current rapid discharge means quickly depleting the battery power with the maximum current allowed by the battery performance; constant voltage discharge means discharging the battery with a small current when the battery voltage is low to prevent excessive current from damaging the battery.

[0099] If the current power level of the target battery is in the third interval, the discharge is completed and the target battery needs to be charged to put the target battery in the charging state and complete the charging process. In the charging state, step S106 is executed.

[0100] The implementation principle of this embodiment is as follows: after replacing the target battery, the battery capacity of the target battery is calibrated according to the cyclic charge and discharge of the target battery. When the battery capacity of the target battery is fully charged and the battery health is greater than the health threshold, it indicates that the battery capacity calibration of the target battery is complete, that is, the battery capacity detected by the fuel gauge is consistent with the actual battery capacity of the new battery, effectively improving the user experience after replacing the battery;

[0101] During the cyclic charge and discharge process of the target battery, when it is in the charging state and the target battery is not fully charged, the first power interval is determined based on the real-time power of the target battery, and after determining the first power interval, the corresponding charging method is executed, which is beneficial to improving the charging efficiency of the smart terminal. Similarly, when the battery power of the target battery is not calibrated, the target battery is discharged, that is, when the target battery is in the discharging state, the second power interval is determined based on the current power of the target battery, and after determining the second power interval, the corresponding discharge method is executed, which is beneficial to improving the discharge efficiency of the smart terminal. As a result, the charging and discharging efficiency of the smart terminal are both improved, the calibration time is effectively reduced, and the user experience after replacing the battery is further effectively improved.

[0102] exist Figure 1 After step S105 of the embodiment shown, in order to facilitate the user to intuitively see the calibration status, the calibration coefficient can be calculated by the delay time when the real-time displayed power detected by the power meter is consistent with the real-time power. Figure 2 The illustrated embodiment is described in detail.

[0103] Reference Figure 2 After obtaining the real-time power level of the target battery, the following steps are included:

[0104] S201: Obtain the real-time displayed power detected by the power meter.

[0105] It can be seen from step S103 that the fuel gauge is used to indicate the remaining power in the rechargeable battery, so the real-time displayed power can be detected by the fuel gauge. It should be noted that the real-time displayed power is the power displayed on the smart terminal, and the real-time displayed power is the power of the target battery detected by the fuel gauge. If the battery power of the target battery has not been calibrated, the real-time power of the target battery, that is, the actual power, will be different from the real-time displayed power.

[0106] S202: Obtain the delay time when the real-time displayed power level is consistent with the real-time power level.

[0107] When the real-time displayed power level matches the real-time power level, a delay time will pass. For example, if the real-time displayed power level is 40% in percentage on the smart terminal, and the actual percentage of the real-time power level is 60%, it will take 60 seconds for the real-time displayed power level to change from 40% to 60%. The 60 seconds is the delay time.

[0108] S203 : Calculate a real-time calibration coefficient based on the delay time, and generate a calibration curve based on the real-time calibration coefficient.

[0109] The real-time calibration coefficient is used to indicate the current calibration status of the fuel gauge for the battery charge of the target battery. In this embodiment, the real-time calibration coefficient ranges from 0 to 1. When the real-time calibration coefficient is 0, it indicates that the calibration has just begun; when the real-time calibration coefficient is 1, it indicates that the calibration is completed.

[0110] The calibration curve is used to represent the change of the calibration coefficient over time. That is, the calibration curve has the calibration time as the x-axis and the calibration coefficient as the y-axis in the coordinate system.

[0111] S204: Determine whether the real-time calibration coefficient is 1.

[0112] S205: If the value is 1, it is determined that the calibration is completed.

[0113] As can be seen from step S203, when the real-time calibration coefficient is 1, it indicates that the calibration is completed.

[0114] If the real-time calibration coefficient is not 1, it is determined that the calibration is not completed.

[0115] The battery cycle calibration method provided in this embodiment calculates the real-time calibration coefficient based on the delay time and generates a calibration curve when in the charging state, which is conducive to allowing the user to intuitively see the calibration status. When the calibration coefficient is 1, the calibration is determined to be completed, which makes it easy for the user to intuitively see whether the calibration is completed, effectively improving the user's usage experience.

[0116] exist Figure 2In step S203 of the illustrated embodiment, the calibration coefficient can be calculated using a calibration coefficient calculation formula, which is described in detail in the following embodiment.

[0117] The delay time includes the initial delay time and the real-time delay time;

[0118] Calculating the real-time calibration coefficient based on the delay time includes the following steps:

[0119] Substitute the initial delay time and the real-time delay time into the preset calibration coefficient calculation formula to calculate the real-time calibration coefficient.

[0120] The initial delay time refers to the delay time when the fuel gauge calibrates the battery capacity of the target battery for the first time, and the real-time delay time refers to the delay time when the fuel gauge calibrates the battery capacity of the target battery after the first calibration.

[0121] The real-time calibration coefficient calculation formula is:

[0122]

[0123] Where C is the calibration coefficient, C0 is the initial delay time, C n is the real-time delay time, C0 is greater than 0 and C0 is greater than C n .

[0124] For example, if the initial delay time is 80 seconds and the real-time delay time is 60 seconds, the real-time calibration coefficient is

[0125] In the battery cycle calibration method provided in this embodiment, the calibration coefficient calculation formula is used to calculate the real-time calibration coefficient. The real-time calibration coefficient facilitates the user to see the calibration status of the battery power in real time, effectively improving the user's usage experience.

[0126] exist Figure 2 After step S202 of the embodiment shown, in the charging state, it is necessary to first determine whether there is extra power consumption. If there is extra power consumption, the smart terminal application that causes the extra power consumption is closed. Figure 3 The illustrated embodiment is described in detail.

[0127] Reference Figure 3 After obtaining the delay time when the real-time displayed power is consistent with the real-time power, the following steps are also included:

[0128] S301: Obtain the current power consumption of the smart terminal.

[0129] Current power consumption refers to the power consumption caused by applications or the operating system when the device is charging.

[0130] S302: Based on the current power consumption and the preset standard power consumption, determine whether the smart terminal has extra power consumption.

[0131] Standard power consumption refers to the amount of power normally consumed by background system applications when the target battery is charging. Additional power consumption = current power consumption - standard power consumption.

[0132] S303: If there is extra power consumption, obtain the background running applications of the smart terminal and obtain the hardware modules used by each background running application.

[0133] If there is excessive power consumption, it indicates that the smart terminal may be running background applications. These applications utilize the corresponding hardware modules of the smart terminal during operation, which in turn consumes the target battery. For example, a map application consumes power by using the GPS module. The GPS module is a hardware module, which also includes the Wi-Fi module, screen display module, and data network module.

[0134] If there is no additional power consumption, the current execution subject does not take any action.

[0135] S304: Remove preset whitelist hardware modules from the plurality of hardware modules to obtain a plurality of remaining hardware modules.

[0136] Whitelisted hardware modules are pre-set. That is, if a user needs to run an app in the background for an extended period of time, they can place it on the whitelist to prevent it from being shut down. In this case, the hardware module used by the background app is also on the whitelist. In addition, whitelisted hardware modules also include system operating programs, such as the dialer and input method. The remaining hardware modules are the ones removed from the whitelisted hardware modules.

[0137] S305: Close the background running application corresponding to the hardware module corresponding to the power consumption greater than the preset power consumption threshold.

[0138] If the power consumption of hardware module A among the remaining hardware modules is greater than the power consumption threshold, it indicates that hardware module A will affect the calibration coefficient, resulting in inaccurate calibration coefficient. At this time, the background running application corresponding to hardware module A is closed; if the power consumption of hardware module B is not greater than the power consumption threshold, it indicates that the power consumption of hardware module B has little impact on the calibration coefficient, and there is no need to close the background running application corresponding to hardware module B.

[0139] The battery cycle calibration method provided in this embodiment, when in the charging state, if there is additional power consumption, in order to reduce the impact of the additional power consumption on the calibration coefficient, the background running application corresponding to the hardware module whose power consumption is greater than the power consumption threshold is closed, so as to effectively improve the calibration efficiency.

[0140] exist Figure 3 After step S305 of the illustrated embodiment, since the whitelist hardware module may cause additional power consumption, the influence coefficient of the whitelist hardware module on the calibration coefficient may be calculated. Figure 4 The illustrated embodiment is described in detail.

[0141] Reference Figure 4 After closing the background running application corresponding to the hardware module corresponding to the power consumption greater than the preset power consumption threshold, the following steps are included:

[0142] S401: Obtain the current whitelist power consumption of the smart terminal.

[0143] The current whitelist power consumption is the power of the target battery consumed by the whitelist hardware module, and the current whitelist power consumption is obtained through a power meter.

[0144] S402: Based on the current whitelist power consumption and the standard power consumption, determine whether the smart terminal has additional whitelist power consumption.

[0145] Additional whitelist power consumption = current whitelist power consumption - standard power consumption. Additional whitelist power consumption refers to the power consumed by the hardware modules corresponding to the background applications added to the whitelist by the user.

[0146] S403: If so, obtain the standard delay time when the real-time displayed power level is consistent with the real-time power level.

[0147] If there is additional whitelisted power consumption, it indicates that the hardware modules corresponding to the background applications added to the whitelist may affect the calibration coefficient. In this case, the standard delay time is obtained when the real-time displayed power level is consistent with the real-time power level. The standard delay time refers to the normal delay time when the real-time displayed power level is consistent with the real-time power level when there is no additional whitelisted power consumption.

[0148] If there is no additional whitelist power consumption, the current execution subject does not take any action.

[0149] S404: Calculate a time difference based on the delay time and the standard delay time.

[0150] Time difference = delay time - standard delay time. For example, if the delay time with extra whitelist power consumption is 60 seconds and the delay time without extra whitelist power consumption is 40 seconds, the time difference is 60 seconds - 40 seconds = 20 seconds.

[0151] S405: Calculate the impact coefficient based on the time difference and the additional whitelist power consumption.

[0152] The impact coefficient is used to indicate the degree of influence of the additional whitelist power consumption on the standard coefficient. The impact coefficient is calculated based on the time difference and the additional whitelist power consumption.

[0153] In the battery cycle calibration method provided in this embodiment, the whitelist hardware module may cause additional whitelist power consumption to the smart terminal. When there is additional whitelist power consumption, the impact coefficient is calculated, which helps users understand the impact of the additional whitelist power consumption on the calibration coefficient.

[0154] exist Figure 4 In step S405 of the illustrated embodiment, the influence coefficient can be calculated using an influence coefficient calculation formula, which is described in detail in the following embodiments.

[0155] Based on the time difference and the additional whitelist power consumption, the impact coefficient is calculated, including the following steps:

[0156] Substitute the time difference and the additional whitelist power consumption into the preset influence coefficient calculation formula to obtain the influence coefficient.

[0157] The calculation formula of the influence coefficient is preset. In this embodiment, the value range of the influence coefficient is greater than 0 and less than 1.

[0158] The influence coefficient calculation formula is:

[0159]

[0160] Where F is the impact coefficient, T1 is the delay time, T2 is the standard delay time, and M is the additional whitelist power consumption. T1 is greater than T2 and M is greater than 0.

[0161] For example, if the time difference is 20 seconds, the additional whitelist power consumption is 20mAh, and the delay time is 120 seconds, then At this time, the influence coefficient is 0.3.

[0162] In the battery cycle calibration method provided in this embodiment, the influence coefficient is calculated based on the influence coefficient calculation formula, which helps users understand the impact of additional whitelist power consumption on the calibration coefficient.

[0163] exist Figure 4 After step S405 of the embodiment shown, the influence coefficient is known, and a new calibration coefficient can be calculated based on the influence coefficient and the real-time calibration coefficient, and a new calibration curve can be generated. Figure 5 The illustrated embodiment is described in detail.

[0164] Reference Figure 5 , after calculating the influence coefficient, the following steps are included:

[0165] S501. Calculate a new calibration coefficient based on the influence coefficient and the real-time calibration coefficient.

[0166] New calibration coefficient = influence coefficient * real-time calibration coefficient. The new calibration coefficient is used to indicate the calibration status of the fuel gauge for the battery capacity of the target battery in the presence of the influence coefficient.

[0167] S502: Generate a new calibration curve based on the new calibration coefficient.

[0168] Similar to step S203 , the new calibration curve has the calibration time as the x-axis and the new calibration coefficient as the y-axis in the coordinate system.

[0169] S503: Determine whether the new calibration coefficient is equal to the influence coefficient.

[0170] S504: If they are equal, it is determined that the calibration is completed.

[0171] It can be seen from step S203 that if the real-time calibration coefficient is 1, it indicates that the calibration is completed. Since the new calibration coefficient is the product of the influence coefficient and the real-time calibration coefficient, if the calibration is completed, the real-time calibration coefficient is 1, and the new calibration coefficient is equal to the influence coefficient.

[0172] If the new calibration coefficient is not equal to the influence coefficient, the calibration is determined to be incomplete.

[0173] The battery cycle calibration method provided in this embodiment calculates the new calibration coefficient after calculating the influence coefficient and generates a new calibration curve, which helps users intuitively understand the calibration status of the battery power when there is additional whitelist power consumption, and further helps to improve the user experience.

[0174] An embodiment of the present application further discloses a battery cycle calibration system, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein when the processor executes the computer program, the battery cycle calibration method in the above embodiment is adopted.

[0175] By generating the above-mentioned battery cycle calibration method into a computer program and storing it in a memory so as to be loaded and executed by a processor, an intelligent terminal is manufactured based on the memory and the processor for easy use.

[0176] An embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the battery cycle calibration method in the above embodiment is adopted.

[0177] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that computer-readable medium includes but is not limited to the above-mentioned components.

[0178] Among them, the battery cycle calibration method in the above embodiment is stored in the computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on the processor to facilitate the storage and application of the above method.

[0179] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A battery cycle calibration method, characterized in that: include: Obtaining a current battery status of a target battery in a smart terminal; the battery status includes a charging status and a discharging status; In a charging state, obtaining a real-time current of the target battery, and determining whether the target battery is fully charged based on the real-time current; If the target battery is fully charged, obtaining the current actual capacity of the target battery based on a preset power meter in the smart terminal, and calculating the battery health of the target battery based on the current actual capacity and a preset standard capacity; Determining whether the battery health is greater than a preset health threshold; If the battery health is greater than the health threshold, it is determined that the target battery health meets the standard and the battery power calibration is completed; If the target battery is not fully charged, obtain the real-time power level of the target battery, and obtain the first power level interval in which the real-time power level is located based on a preset first power level interval division rule; Based on the first power range, executing a corresponding charging method for the target battery, and executing the steps of obtaining a real-time current of the target battery when in the charging state, and determining whether the target battery is fully charged based on the real-time current; If the battery health is not greater than the health threshold, when the battery state is in a discharging state, obtaining the current power level of the target battery, and obtaining the second power level interval in which the current power level is located based on a preset second power level interval division rule; Based on the second power interval, executing a corresponding discharge mode on the target battery; after the target battery completes the discharge state and changes to the charging state, executing the step of obtaining the real-time power of the target battery and obtaining the first power interval in which the real-time power falls based on the preset first power interval division rule; After obtaining the real-time power level of the target battery, the method further includes: Obtaining the real-time displayed power detected by the power meter; Obtaining a delay time when the real-time displayed power level is consistent with the real-time power level; calculating a real-time calibration coefficient based on the delay time, and generating a calibration curve based on the real-time calibration coefficient; Determining whether the real-time calibration coefficient is 1; If it is 1, the calibration is determined to be completed; After obtaining the delay time when the real-time displayed power is consistent with the real-time power, the method further includes: Obtaining the current power consumption of the smart terminal; Based on the current power consumption and the preset standard power consumption, determining whether the smart terminal has excess power consumption; If there is extra power consumption, obtaining background running applications of the smart terminal and obtaining hardware modules used by each of the background running applications; Removing preset whitelist hardware modules from the plurality of hardware modules to obtain a plurality of remaining hardware modules; shutting down background running applications corresponding to hardware modules corresponding to power consumption greater than a preset power consumption threshold; Obtaining the current whitelist power consumption of the smart terminal; Based on the current whitelist power consumption and the standard power consumption, determining whether the smart terminal has additional whitelist power consumption; If so, obtain the standard delay time when the real-time displayed power is consistent with the real-time power; Calculate a time difference based on the delay time and the standard delay time; An influence coefficient is calculated based on the time difference and the additional whitelist power consumption.

2. A battery cycle calibration method according to claim 1, characterized in that: The delay time includes an initial delay time and a real-time delay time; The calculating of the real-time calibration coefficient based on the delay time includes: Substituting the initial delay time and the real-time delay time into a preset calibration coefficient calculation formula to calculate a real-time calibration coefficient; The real-time calibration coefficient calculation formula is: Wherein C is the calibration coefficient, C0 is the initial delay time, and C n is the real-time delay time, C0 is greater than 0 and C0 is greater than C n .

3. A battery cycle calibration method according to claim 1, characterized in that: The calculating of the influence coefficient based on the time difference and the additional whitelist power consumption includes: Substituting the time difference and the additional whitelist power consumption into a preset influence coefficient calculation formula to obtain an influence coefficient; The influence coefficient calculation formula is: Wherein, F is the influence coefficient, T1 is the delay time, T2 is the standard delay time, M is the additional whitelist power consumption, T1 is greater than T2 and M is greater than 0.

4. A battery cycle calibration method according to claim 1, characterized in that: After the influence coefficient is obtained by the calculation, the following steps are included: Based on the influence coefficient and the real-time calibration coefficient, a new calibration coefficient is calculated; generating a new calibration curve based on the new calibration coefficients; determining whether the new calibration coefficient is equal to the influence coefficient; If they are equal, the calibration is determined to be complete.

5. A battery cycle calibration system comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the method according to any one of claims 1 to 4 is adopted.

6. A computer-readable storage medium storing a computer program, wherein: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 4 is adopted.

Citation Information

Patent Citations

  • Power battery SOC multi-dimensional calibration method

    CN112147513A

  • Battery health management method and battery health management device

    TWI784737B