CN115774197A - Battery cycle calibration method, system and storage medium - Google Patents
Battery cycle calibration method, system and storage medium Download PDFInfo
- Publication number
- CN115774197A CN115774197A CN202211531381.7A CN202211531381A CN115774197A CN 115774197 A CN115774197 A CN 115774197A CN 202211531381 A CN202211531381 A CN 202211531381A CN 115774197 A CN115774197 A CN 115774197A
- Authority
- CN
- China
- Prior art keywords
- battery
- time
- real
- electric quantity
- acquiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000007600 charging Methods 0.000 claims abstract description 59
- 238000007599 discharging Methods 0.000 claims abstract description 22
- 239000000446 fuel Substances 0.000 claims abstract description 16
- 238000004364 calculation method Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 22
- 238000011088 calibration curve Methods 0.000 claims description 14
- 230000001351 cycling effect Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 2
- 230000005611 electricity Effects 0.000 description 16
- 125000004122 cyclic group Chemical group 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010280 constant potential charging Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application relates to a battery cycle calibration method, a system and a storage medium, wherein the method comprises the following steps: acquiring the current battery state of a target battery in the intelligent terminal; in a charging state, acquiring the real-time current of a target battery, and judging whether the target battery is fully charged; if the target battery is full, acquiring the current actual capacity of the target battery based on a preset fuel gauge in the intelligent terminal, and calculating the battery health degree of the target battery; judging whether the health degree of the battery is greater than a preset health degree threshold value or not; if so, judging that the battery electric quantity calibration is finished; if the target battery is not fully charged, acquiring the real-time electric quantity of the target battery, acquiring a first electric quantity interval in which the real-time electric quantity is positioned, and executing a corresponding charging mode on the target battery; and if the current electric quantity is not greater than the health degree threshold, acquiring the current electric quantity of the target battery when the battery state is a discharging state, acquiring a second electric quantity interval in which the current electric quantity is positioned, and executing a corresponding discharging mode on the target battery. The method and the device have the effect of effectively improving the use experience of the user.
Description
Technical Field
The present disclosure relates to the field of battery technologies, and in particular, to a method and a system for calibrating battery cycle and a storage medium.
Background
With the rise of smart devices such as mobile phones, tablets or computers, batteries are also rapidly developing as energy storage tools for providing power for the smart devices.
At present, the intelligent equipment can normally be used for 3 to 4 years usually, but the battery of the intelligent equipment is normally used for two years, the cruising ability can be obviously reduced, the battery efficiency can be generally lost by about 20 percent at the moment, the available time of the battery electric quantity is only about 60 percent of the electric quantity when the battery is in a brand new state, namely, the phenomenon that the intelligent equipment is likely to need to be charged in less than half a day when being used is generated, the charging and discharging frequency of the battery is accelerated, the service life of the battery can be further obviously shortened, so the battery of the intelligent equipment is required to be replaced in time after the intelligent equipment is used for two years, and inconvenience caused when the performance of the battery is reduced and the intelligent equipment is used by a user is avoided.
In the prior art, when a worker replaces a battery of the intelligent device, the worker firstly opens a rear cover of the smart phone or the smart tablet, takes down an old battery, installs a new battery, and finally installs the rear cover, so that the battery can be replaced, and other parts of the intelligent device possibly have encrypted data and do not need to be replaced.
In view of the above-mentioned prior art, the applicant artificially embeds an electricity meter for estimating the battery capacity in each smart device, and if only the battery is replaced, since the battery capacity detected by the embedded electricity meter is the battery capacity of the old battery, the battery capacity detected by the electricity meter is inconsistent with the actual battery capacity of the new battery, thereby reducing the user experience after replacing the battery.
Content of application
In order to effectively improve the use experience of a user after the battery is replaced, the application provides a battery cycle calibration method, a system and a storage medium.
In a first aspect, the battery cycle calibration method provided by the present application adopts the following technical scheme:
a battery cycle calibration method, comprising:
acquiring the current battery state of a target battery in the intelligent terminal; the battery state comprises a charging state and a discharging state; in a charging state, acquiring the real-time current of the target battery, and judging whether the target battery is fully charged based on the real-time current;
if the target battery is fully charged, acquiring the current actual capacity of the target battery based on a preset fuel gauge in the intelligent terminal, and calculating the battery health degree of the target battery based on the current actual capacity and a preset standard capacity;
judging whether the health degree of the battery is greater than a preset health degree threshold value or not;
if the battery health degree is larger than the health degree threshold value, judging that the target battery health degree reaches a standard and finishing the calibration of the battery electric quantity;
if the target battery is not fully charged, acquiring the real-time electric quantity of the target battery, and acquiring a first electric quantity interval in which the real-time electric quantity is located based on a preset first electric quantity interval division rule;
executing a corresponding charging mode on the target battery based on the first electric quantity interval, acquiring the real-time current of the target battery in the charging state, and judging whether the target battery is fully charged based on the real-time current;
if the battery health degree is not greater than the health degree threshold value, acquiring the current electric quantity of the target battery when the battery state is a discharge state, and acquiring a second electric quantity interval in which the current electric quantity is located based on a preset second electric quantity interval division rule; and executing a corresponding discharging mode on the target battery based on the second electric quantity interval, executing the step of acquiring the real-time electric quantity of the target battery when the target battery is changed into a charging state after the discharging state of the target battery is finished, and acquiring a first electric quantity interval in which the real-time electric quantity is positioned based on a preset first electric quantity interval division rule.
By adopting the technical scheme, after the target battery is replaced, the battery electric quantity of the target battery is calibrated according to the cyclic charge and discharge of the target battery, when the battery electric quantity of the target battery is full and the battery health degree is greater than the health degree threshold value, the fact that the battery electric quantity calibration of the target battery is completed is indicated, namely the battery capacity detected by the fuel gauge is consistent with the actual battery capacity of a new battery, and the use experience of a user after the battery is replaced is effectively improved;
in the cyclic charge and discharge process of the target battery, under the condition that the target battery is in a charged state and is not fully charged, determining a first electric quantity interval according to the real-time electric quantity of the target battery, and executing a corresponding charging mode after determining the first electric quantity interval, so that the charging efficiency of the intelligent terminal is improved; similarly, when the battery electric quantity of the target battery is not calibrated, the target battery is discharged, namely when the target battery is in a discharge state, the second electric quantity interval is determined according to the current electric quantity of the target battery, and after the second electric quantity interval is determined, a corresponding discharge mode is executed, so that the discharge efficiency of the intelligent terminal is improved. Therefore, the charging efficiency and the discharging efficiency of the intelligent terminal are improved, the calibration time is effectively shortened, and the use experience of a user after the battery is replaced is further effectively improved.
Optionally, after the obtaining of the real-time power of the target battery, the method includes:
acquiring real-time display electric quantity detected by the electric quantity meter;
acquiring delay time when the real-time display electric quantity is consistent with the real-time electric quantity;
calculating a real-time calibration coefficient based on the delay time, and generating a calibration curve based on the real-time calibration coefficient;
judging whether the real-time calibration coefficient is 1 or not;
if the value is 1, the calibration is determined to be completed.
By adopting the technical scheme, when the charging state is realized, the real-time calibration coefficient is calculated based on the delay time, the calibration curve is generated, the user can visually see the calibration condition, the calibration is judged to be completed when the calibration coefficient is 1, the user can visually see whether the calibration is completed, and the use experience of the user is effectively improved.
Optionally, 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 comprises:
substituting the initial delay time and the real-time delay time into a preset calibration coefficient calculation formula to calculate to obtain a real-time calibration coefficient; the real-time calibration coefficient calculation formula is as follows:
wherein C is a calibration coefficient, and C 0 For an initial delay time, C n For real time delay time, C 0 Greater than 0 and C 0 Greater than C n 。
By adopting the technical scheme, the calibration coefficient calculation formula is used for calculating the real-time calibration coefficient, the real-time calibration coefficient is convenient for a user to see the calibration condition of the electric quantity of the battery in real time, and the use experience of the user is effectively improved.
Optionally, after the obtaining of the delay time when the real-time display power is consistent with the real-time power, the method further includes:
acquiring the current power consumption of the intelligent terminal;
judging whether the intelligent terminal has extra power consumption or not based on the current power consumption and preset standard power consumption;
if extra power consumption exists, acquiring background running applications of the intelligent terminal, and acquiring a hardware module used by each background running application;
removing preset white list hardware modules from the plurality of hardware modules to obtain a plurality of residual hardware modules;
and closing the background running application corresponding to the hardware module with the power consumption larger than the preset power consumption threshold.
By adopting the technical scheme, when the battery is in a charging state, if extra power consumption exists, in order to reduce the influence of the extra power consumption on the calibration coefficient, the background running application corresponding to the hardware module with the power consumption greater than the threshold value is closed, and the calibration efficiency is conveniently and effectively improved.
Optionally, after the closing the background running application corresponding to the hardware module corresponding to the power consumption greater than the preset power consumption threshold, the method includes:
acquiring the current white list power consumption of the intelligent terminal;
judging whether the intelligent terminal has additional white list power consumption or not based on the current white list power consumption and the standard power consumption;
if yes, acquiring standard delay time when the real-time display electric quantity is consistent with the real-time electric quantity;
calculating a time difference value based on the delay time and the standard delay time;
and calculating an influence coefficient based on the time difference value and the power consumption of the additional white list.
By adopting the technical scheme, the white list hardware module can possibly cause extra white list power consumption to the intelligent terminal, and when the extra white list power consumption exists, the influence coefficient is calculated, so that the influence of the extra white list power consumption on the calibration coefficient is favorably known by a user.
Optionally, the calculating an influence coefficient based on the time difference and the power consumption of the additional white list includes:
substituting the time difference value and the power consumption of the additional white list into a preset influence coefficient calculation formula to obtain an influence coefficient; the influence coefficient calculation formula is as follows:
wherein F is an influence coefficient, and T is 1 For a delay time, T 2 For standard latency, M is additional white list power consumption, T 1 Greater than T 2 And said M is greater than 0.
By adopting the technical scheme, the influence coefficient is obtained by calculation based on the influence coefficient calculation formula, so that the influence of the power consumption of the additional white list on the calibration coefficient can be conveniently known by a user.
Optionally, after the calculating the influence coefficient, the method includes:
calculating to obtain a new calibration coefficient based on the influence coefficient and the real-time calibration coefficient;
generating a new calibration curve based on the new calibration coefficient;
determining whether the new calibration coefficient is equal to the impact coefficient;
if so, the calibration is determined to be complete.
By adopting the technical scheme, after the influence coefficient is obtained through calculation, the new calibration coefficient is obtained through calculation, and the new calibration curve is generated, so that the user can visually know the calibration condition of the battery power when the extra white list power consumption exists, and the user use experience is further promoted.
In a second aspect, the present application provides a battery cycling calibration system, which adopts the following technical solution:
a battery cycle calibration system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein when the processor loads and executes the computer program, the battery cycle calibration method is adopted.
By adopting the technical scheme, the battery cycle calibration method generates a computer program, and the computer program is stored in the memory to be loaded and executed by the processor, so that the intelligent terminal is manufactured according to the memory and the processor, and the use is convenient.
In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, implements the above-described battery cycle calibration method.
By adopting the technical scheme, the battery cycle calibration method generates the computer program and stores the computer program in the computer readable storage medium so as to be loaded and executed by the processor, and the computer program can be conveniently read and stored through the computer readable storage medium.
In summary, the present application has at least one of the following beneficial technical effects:
1. after the target battery is replaced, the battery electric quantity of the target battery is calibrated according to the cyclic charge and discharge of the target battery, when the battery electric quantity of the target battery is full and the battery health degree is greater than the health degree threshold value, the fact that the battery electric quantity calibration of the target battery is completed is indicated, namely the battery capacity detected by the electric quantity meter is consistent with the actual battery capacity of a new battery, and the use experience of a user after the battery is replaced is effectively improved.
2. The white list hardware module may cause extra white list power consumption to the intelligent terminal, and when the extra white list power consumption exists, the influence coefficient is calculated, so that the influence of the extra white list power consumption on the calibration coefficient is favorably known by a user.
3. In a charging state, if extra power consumption exists, in order to reduce the influence of the extra power consumption on the calibration coefficient, the background running application corresponding to the hardware module with the power consumption greater than the threshold value is closed, and the calibration efficiency is effectively improved.
Drawings
Fig. 1 is a schematic flow chart of one implementation manner of a battery cycle calibration method according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of one implementation manner of a battery cycle calibration method according to an embodiment of the present application.
Fig. 3 is a schematic flowchart of one implementation manner of a battery cycle calibration method according to an embodiment of the present disclosure.
Fig. 4 is a schematic flowchart of one implementation manner of a battery cycle calibration method according to an embodiment of the present disclosure.
Fig. 5 is a schematic flowchart of one implementation manner of a battery cycle calibration method according to an embodiment of the present disclosure.
Detailed Description
The present application is described in further detail below with reference to fig. 1 to 5.
The embodiment of the application discloses a battery cycle calibration method.
Referring to fig. 1, a battery cycle calibration method includes the steps of:
s101, acquiring the current battery state of a target battery in the intelligent terminal; the battery state includes a charged state and a discharged state.
In this embodiment, the intelligent terminal may be a mobile phone, a tablet, a computer, or the like, the target battery refers to a new battery replaced by the intelligent terminal, and the current battery state of the target battery is obtained based on the intelligent terminal. Specifically, the intelligent terminal can monitor the charging state of the battery, namely, if a user inserts a charger, the charging state can be monitored by the intelligent terminal, and at the moment, the state of the battery can be judged to be the charging state; similarly, if the user pulls out the charger, the user can also be monitored by the intelligent terminal, and at the moment, the battery state can be judged to be a discharging state. The charging state refers to charging of the target battery through an external power supply, and the discharging state refers to power consumption of the target battery through application software preset by the intelligent terminal.
S102, acquiring the real-time current of the target battery in the charging state, and judging whether the target battery is fully charged or not based on the real-time current.
The real-time current of the target battery is the charging current, and in this embodiment, the charging current is obtained through a system-related file of the intelligent terminal, where the system-related file refers to a related file of an operating system of the intelligent terminal, that is, a file necessary for the operating system to operate, and the charging current, the charging voltage, and the like can be obtained from the system-related file.
In a specific implementation, the charging current is gradually reduced along with the increase of the electric quantity of the target battery when the target battery is about to be fully charged, and if the charging current is reduced to the cut-off current, the target battery is fully charged, and the charging is completed.
S103, if the target battery is fully charged, acquiring the current actual capacity of the target battery based on a preset fuel gauge in the intelligent terminal, and calculating the battery health degree of the target battery based on the current actual capacity and the preset standard capacity.
The fuel gauge is used for indicating the residual quantity of the rechargeable battery and the time for which the battery is continuously powered under specific working conditions, and the current actual capacity is the current real capacity of the battery and gradually decreases along with the time and the use condition. And calculating the battery health degree of the target battery according to the current actual capacity and the standard capacity, wherein the battery health degree is used for expressing the health degree of the target battery.
The battery health degree calculation formula is as follows:
H=C s /C j *100% where H is the cell health, C s To the current actual capacity, C j Is a standard capacity.
And S104, judging whether the battery health degree is greater than a preset health degree threshold value.
The target battery is a new battery, so the obtained battery health degree is greater than the health degree threshold value, and if the battery health degree is greater than the health degree threshold value, the battery electric quantity calibration of the target battery by the fuel gauge is completed; and if the battery health degree is not greater than the health degree threshold value, indicating that the battery electric quantity of the target battery is not calibrated by the fuel gauge.
And S105, if the battery health degree is larger than the health degree threshold value, judging that the target battery health degree reaches the standard and finishing the calibration of the battery electric quantity.
If the battery health degree of the target battery is calculated to be 98% through a battery health degree formula, the health degree threshold value is set to be 95%, and the battery health degree is greater than the health degree threshold value, so that the target battery health degree is judged to reach the standard and the battery electric quantity calibration is finished.
S106, if the target battery is not fully charged, acquiring the real-time electric quantity of the target battery, and acquiring a first electric quantity interval in which the real-time electric quantity is located based on a preset first electric quantity interval division rule.
The real-time electric quantity increases with the extension of the charging time, and in this embodiment, the real-time electric quantity is expressed in percentage, that is, after the real-time electric quantity is obtained, the real-time electric quantity needs to be divided by the standard capacity, and the obtained result is multiplied by 100%, and then the real-time electric quantity is displayed in percentage form, for example, 40%, 50%, and the like. The first electric quantity interval division rule is preset. Specifically, the first electric quantity interval division rule is 1, wherein 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 acquired real-time electric quantity is 55%, the first electric quantity interval in which the real-time electric quantity is located is a third interval.
S107, based on the first electric quantity interval, executing a corresponding charging mode on the target battery, acquiring real-time current of the target battery in a charging state, and judging whether the target battery is fully charged based on the real-time current.
For example, based on step S106, if the real-time electric quantity is in the first interval, a trickle charge charging mode is performed on the target battery; if the real-time electric quantity is in the second interval, executing a low-current pre-charging mode on the target battery at the moment; if the real-time electric quantity is in the third interval, a charging mode of constant-current quick charging is carried out on the target battery at the moment; if the real-time electric quantity is in the fourth interval, executing a constant-voltage charging mode on the target battery at the moment; and if the real-time electric quantity is in the fifth interval, judging that the target battery is completely charged at the moment, and suspending charging.
The trickle charge refers to that when the target battery is over-discharged, the trickle charge firstly carries out recovery charge so as to prevent the battery from being damaged by excessive current; the pre-charging means that the voltage of the battery is low at the moment, and the battery is charged by small current so as to prevent the battery from being damaged by overhigh current; the constant-current quick charging means that the battery is charged by constant current, so that the voltage of the battery is continuously increased; constant voltage charging refers to when the battery voltage reaches full charge, the charging current gradually decreases while the battery voltage is maintained at a preset full charge voltage and does not increase. The charging completion means that the charging is formally stopped when the charging current is reduced to the minimum cut-off current, and represents that the charging process is finished.
If the real-time electric quantity is in the fifth interval, executing step S102, at this time, determining that the battery is fully charged, and continuing to execute step S105, that is, if the battery health degree is greater than the health degree threshold, determining that the target battery health degree reaches the standard and the calibration of the battery electric quantity is finished.
And S108, if the battery health degree is not greater than the health degree threshold value, acquiring the current electric quantity of the target battery when the battery state is in a discharging state, and acquiring a second electric quantity interval in which the current electric quantity is located based on a preset second electric quantity interval division rule.
In step S104, if the battery health is not greater than the health threshold, it indicates that the battery power of the target battery is not calibrated by the fuel gauge. The second electric quantity interval division rule is preset. Specifically, the second electric quantity interval division rule is 1, and 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 acquired current electric quantity is 3%, the second electric quantity interval in which the current electric quantity is located is a second interval.
And S109, executing a corresponding discharging mode on the target battery based on the second electric quantity interval, after the discharging state of the target battery is finished and when the target battery is changed into the charging state, executing the steps of acquiring the real-time electric quantity of the target battery, and acquiring the first electric quantity interval in which the real-time electric quantity is located based on a preset first electric quantity interval division rule.
For example based on step S108, if the current electric quantity is in the first interval, a discharge mode of constant current rapid discharge is performed on the target battery at this time; if the current electric quantity is in the second interval, executing a constant-voltage discharging mode on the target battery at the moment; and if the current electric quantity is in the third interval, judging that the discharging of the target battery is finished.
The constant-current rapid discharge means that the electric quantity of the battery is rapidly exhausted by using the maximum current allowed by the performance of the battery; constant voltage discharge refers to a low battery voltage that discharges at a low current to prevent damage to the battery from excessive current.
If the current electric quantity of the target battery is in the third interval, the discharging is completed, the target battery needs to be charged, so that the target battery is in a charging state and the charging process is completed, and in the charging state, step S106 is executed.
The implementation principle of the embodiment is as follows: after the target battery is replaced, the battery power of the target battery is calibrated according to the cyclic charge and discharge of the target battery, when the battery power of the target battery is full and the battery health degree is greater than the health degree threshold value, the fact that the battery power calibration of the target battery is completed is indicated, namely the battery capacity detected by the fuel gauge is consistent with the actual battery capacity of a new battery, and the use experience of a user after the battery is replaced is effectively improved;
in the cyclic charge and discharge process of the target battery, under the condition that the target battery is in a charged state and is not fully charged, determining a first electric quantity interval according to the real-time electric quantity of the target battery, and executing a corresponding charging mode after determining the first electric quantity interval, so that the charging efficiency of the intelligent terminal is improved; similarly, when the battery electric quantity of the target battery is not calibrated, the target battery is discharged, namely when the target battery is in a discharging state, the second electric quantity interval is determined according to the current electric quantity of the target battery, and after the second electric quantity interval is determined, a corresponding discharging mode is executed, so that the discharging efficiency of the intelligent terminal is improved. Therefore, the charging efficiency and the discharging efficiency of the intelligent terminal are improved, the calibration time is effectively shortened, and the use experience of a user after the battery is replaced is further effectively improved.
After step S105 of the embodiment shown in fig. 1, in order to facilitate the user to visually see the calibration state, the calibration coefficient may be calculated by the delay time when the real-time display power detected by the fuel gauge is identical to the real-time power. Specifically, the embodiment shown in fig. 2 will be described in detail.
Referring to fig. 2, after acquiring the real-time power of the target battery, the method includes the following steps:
s201, acquiring real-time display electric quantity detected by the electric quantity meter.
In step S103, the electricity meter is used to indicate the remaining electricity quantity in the rechargeable battery, so that the electricity quantity can be displayed in real time through the electricity meter detection, it should be noted that the real-time displayed electricity quantity is the electricity quantity displayed on the intelligent terminal, the real-time displayed electricity quantity is the electricity quantity of the target battery detected by the electricity meter, and if the battery electricity quantity of the target battery is not calibrated, the real-time electricity quantity of the target battery, that is, the actual electricity quantity is different from the real-time displayed electricity quantity.
S202, obtaining delay time when the real-time display electric quantity is consistent with the real-time electric quantity.
The delay time elapses when the real-time display power amount is identical to the real-time power amount, for example, if the real-time display power amount is displayed on the smart terminal in a percentage manner, it is 40%. The actual percentage of the real-time electric quantity expressed in percentage is 60%, when the real-time display electric quantity is displayed from 40% to 60%, 60 seconds are needed, and then 60 seconds are the delay time.
And S203, calculating a real-time calibration coefficient based on the delay time, and generating a calibration curve based on the real-time calibration coefficient.
The real-time calibration coefficient is used for representing the calibration condition of the current fuel gauge on the battery capacity of the target battery, in this embodiment, the range of the real-time calibration coefficient is between 0 and 1, and when the real-time calibration coefficient is 0, it indicates that calibration is just started; when the real-time calibration coefficient is 1, the calibration is completed.
The calibration curve is used to indicate the change of the calibration coefficient along with the change of time, namely the calibration curve takes the calibration time as the x-axis and takes the calibration coefficient as the y-axis in the coordinate system.
And S204, judging whether the real-time calibration coefficient is 1.
And S205, if the value is 1, judging that the calibration is finished.
As shown in step S203, when the real-time calibration coefficient is 1, it indicates that the calibration is completed.
And if the real-time calibration coefficient is not 1, determining that the calibration is not completed.
According to the battery cycle calibration method provided by the embodiment, when the battery is in a charging state, the real-time calibration coefficient is calculated based on the delay time, the calibration curve is generated, the user can visually see the calibration condition, the calibration is judged to be completed when the calibration coefficient is 1, the user can visually see whether the calibration is completed, and the use experience of the user is effectively improved.
In step S203 of the embodiment shown in fig. 2, the calibration coefficient may be calculated by a calibration coefficient calculation formula. The details will be described with reference to the embodiments shown below.
The delay time comprises initial delay time and real-time delay time;
calculating a real-time calibration coefficient based on the delay time, comprising the steps of:
and substituting the initial delay time and the real-time delay time into a preset calibration coefficient calculation formula to calculate to obtain a real-time calibration coefficient.
The initial delay time refers to a delay time when the fuel gauge first calibrates the battery power of the target battery, and the real-time delay time refers to a delay time when the fuel gauge calibrates the battery power of the target battery after the first calibration.
The real-time calibration coefficient calculation formula is as follows:
wherein C is a calibration coefficient, C 0 As initial delay time, C n For real time delay time, C 0 Greater than 0 and C 0 Greater than C n 。
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 obtained
According to the battery cycle calibration method provided by the embodiment, the calibration coefficient calculation formula is used for calculating the real-time calibration coefficient, the real-time calibration coefficient is convenient for a user to see the calibration condition of the electric quantity of the battery in real time, and the use experience of the user is effectively improved.
After step S202 of the embodiment shown in fig. 2, it is first determined whether there is extra power consumption in the charging state, and if there is extra power consumption, the intelligent terminal application that generates extra power consumption is turned off. Specifically, the embodiment shown in fig. 3 will be described in detail.
Referring to fig. 3, after obtaining the delay time when the real-time display power is consistent with the real-time power, the method further includes the following steps:
and S301, acquiring the current power consumption of the intelligent terminal.
The current power consumption refers to the power consumption caused by an application or an operating system while in a charging state.
And S302, judging whether the intelligent terminal has extra power consumption or not based on the current power consumption and the preset standard power consumption.
The standard power consumption refers to the amount of power normally consumed by the running program of the background system in the target battery in the charging state. Extra power consumption = current power consumption — standard power consumption.
And S303, if extra power consumption exists, acquiring background running applications of the intelligent terminal, and acquiring a hardware module used by each background running application.
If the extra power consumption exists, the fact that the intelligent terminal possibly has the running background application is shown, and the background application can use a corresponding hardware module of the intelligent terminal in the running process, so that the power of the target battery can be consumed. For example, the map application consumes electric quantity by using the GPS module, the GPS module is a hardware module, and the hardware module further comprises a WIFI module, a screen display module, a data network module and the like.
If no extra power consumption exists, the current execution main body does not act.
S304, removing the preset white list hardware module from the plurality of hardware modules to obtain a plurality of residual hardware modules.
The white list hardware module is preset, that is, if a user needs to run an application in the background for a long time, in order to avoid closing the background application, the application of the background can be put into a white list, and at this time, the hardware module used by the application of the background is the white list hardware module. And removing the white list hardware module from the plurality of hardware modules to obtain the remaining hardware module.
And S305, closing the background running application corresponding to the hardware module with the power consumption larger than the preset power consumption threshold.
If the power consumption of the hardware module A in the rest hardware modules is larger than the power consumption threshold, the fact that the hardware module A influences the calibration coefficient and causes inaccuracy of the calibration coefficient is indicated, and at the moment, the background running application corresponding to the hardware module A is closed; and if the power consumption of the hardware module B is not greater than the power consumption threshold, the influence of the power consumption of the hardware module B on the calibration coefficient is small, and the background running application corresponding to the hardware module B does not need to be closed.
In the battery cycle calibration method provided by the embodiment, in the charging state, if extra power consumption exists, in order to reduce the influence of the extra power consumption on the calibration coefficient, the background running application corresponding to the hardware module with the power consumption greater than the power consumption threshold is closed, so that the calibration efficiency is effectively improved.
After step S305 of the embodiment shown in fig. 3, since the white-list hardware module may cause extra power consumption, the influence coefficient of the white-list hardware module on the calibration coefficient may be calculated. Specifically, the embodiment shown in fig. 4 will be described in detail.
Referring to fig. 4, after the background running application corresponding to the hardware module having the power consumption greater than the preset power consumption threshold is closed, the method includes the following steps:
s401, obtaining the current white list power consumption of the intelligent terminal.
The power consumption of the current white list is the power consumption of the target battery consumed by the white list hardware module, and the power consumption of the current white list is obtained through the fuel gauge.
And S402, judging whether the intelligent terminal has extra white list power consumption or not based on the current white list power consumption and the standard power consumption.
Extra white list power consumption = current white list power consumption — standard power consumption. The power consumption of the additional white list refers to the power consumed by the hardware module corresponding to the background application added to the white list by the user.
And S403, if the real-time display electric quantity is consistent with the real-time electric quantity, acquiring the standard delay time.
If the power consumption of the additional white list exists, it is indicated that the hardware module corresponding to the background application added to the white list by the user may affect the calibration coefficient, and at this time, the standard delay time when the real-time display power is consistent with the real-time power is obtained. The standard delay time refers to a normal delay time when the real-time display power is consistent with the real-time power when no additional white list power consumption exists.
If no additional white list power consumption exists, the current execution main body has no action.
And S404, calculating to obtain a time difference value based on the delay time and the standard delay time.
Time difference = delay time-standard delay time. For example, if the delay time when the extra white list power consumption exists is 60 seconds and the delay time when the extra white list power consumption does not exist is 40 seconds, the time difference is 60 seconds to 40 seconds =20 seconds.
And S405, calculating an influence coefficient based on the time difference and the power consumption of the additional white list.
And the influence coefficient is used for expressing the influence degree of the power consumption of the additional white list on the standard coefficient, and the influence coefficient is calculated based on the time difference value and the power consumption of the additional white list.
In the battery cycle calibration method provided by the embodiment, the white list hardware module may cause extra white list power consumption to the intelligent terminal, and when the extra white list power consumption exists, the influence coefficient is calculated, which is beneficial to enabling a user to know the influence of the extra white list power consumption on the calibration coefficient.
In step S405 of the embodiment shown in fig. 4, the influence coefficient may be calculated by an influence coefficient calculation formula. The details are explained in the following embodiments.
Calculating an influence coefficient based on the time difference and the power consumption of the additional white list, and comprising the following steps of:
and substituting the time difference value and the power consumption of the extra white list into a preset influence coefficient calculation formula to obtain the influence coefficient.
The influence coefficient calculation formula is preset, and in this embodiment, the value range of the influence coefficient is greater than 0 and less than 1.
The influence coefficient calculation formula is as follows:
wherein F is an influence coefficient, T 1 For delay time, T 2 For standard latency, M is the additional white list power consumption, T 1 Greater than T 2 And M is greater than 0.
For example, if the time difference is 20 seconds, the power consumption of the additional white list is 20mAh, and the delay time is 120 seconds, thenThe coefficient of influence is then 0.3.
According to the battery cycle calibration method provided by the embodiment, the influence coefficient is calculated based on the influence coefficient calculation formula, so that a user can know the influence of the power consumption of the extra white list on the calibration coefficient.
After step S405 of the embodiment shown in fig. 4, the influence coefficient is known, a new calibration coefficient may be calculated based on the influence coefficient and the real-time calibration coefficient, and a new calibration curve may be generated. Specifically, the embodiment shown in fig. 5 will be described in detail.
Referring to fig. 5, after the influence coefficient is calculated, the following steps are included:
and S501, calculating to obtain a new calibration coefficient based on the influence coefficient and the real-time calibration coefficient.
New calibration coefficients = influence coefficients real-time calibration coefficients. The new calibration factor is used to represent the calibration of the fuel gauge to the battery level of the target battery in the presence of the influence factor.
And S502, generating a new calibration curve based on the new calibration coefficient.
In the same way as step S203, the new calibration curve takes the calibration time as the x-axis and the new calibration coefficient as the y-axis in the coordinate system.
S503, judging whether the new calibration coefficient is equal to the influence coefficient.
And S504, if so, judging that the calibration is finished.
As shown in step S203, if the real-time calibration coefficient is 1, it indicates that the calibration is completed, and since the new calibration coefficient is the product of the influence coefficient and the real-time calibration coefficient, when the calibration is completed, the real-time calibration coefficient is 1, and at this time, the new calibration coefficient is equal to the influence coefficient.
And if the new calibration coefficient is not equal to the influence coefficient, determining that the calibration is not completed.
According to the battery cycle calibration method provided by the embodiment, after the influence coefficient is obtained through calculation, a new calibration coefficient is obtained through calculation, and a new calibration curve is generated, so that a user can visually know the calibration condition of the battery power when extra white list power consumption exists, and the use experience of the user is further improved.
The embodiment of the present application further discloses a battery cycle calibration system, which includes 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.
The battery cycle calibration method generates a computer program, and the computer program is stored in the memory to be loaded and executed by the processor, so that the intelligent terminal is manufactured according to the memory and the processor, and the use is convenient.
The embodiment of the application also discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the battery cycle calibration method in the above embodiment is adopted.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like, and the computer readable medium includes but is not limited to the above components.
The battery cycle calibration method in the above embodiment is stored in a computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on a processor to facilitate storage and application of the method.
The above are preferred embodiments of the present application, and the scope of protection of the present application is not limited thereto, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
Claims (9)
1. A method of battery cycle calibration, comprising:
acquiring the current battery state of a target battery in the intelligent terminal; the battery state comprises a charging state and a discharging state; in a charging state, acquiring the real-time current of the target battery, and judging whether the target battery is fully charged based on the real-time current;
if the target battery is fully charged, acquiring the current actual capacity of the target battery based on a preset fuel gauge in the intelligent terminal, and calculating the battery health degree of the target battery based on the current actual capacity and a preset standard capacity;
judging whether the health degree of the battery is greater than a preset health degree threshold value or not;
if the battery health degree is larger than the health degree threshold value, judging that the target battery health degree reaches a standard and finishing the calibration of the battery electric quantity;
if the target battery is not fully charged, acquiring the real-time electric quantity of the target battery, and acquiring a first electric quantity interval in which the real-time electric quantity is located based on a preset first electric quantity interval division rule;
executing a corresponding charging mode on the target battery based on the first electric quantity interval, acquiring real-time current of the target battery in a charging state, and judging whether the target battery is fully charged based on the real-time current;
if the battery health degree is not greater than the health degree threshold value, acquiring the current electric quantity of the target battery when the battery state is a discharge state, and acquiring a second electric quantity interval in which the current electric quantity is located based on a preset second electric quantity interval division rule; and executing a corresponding discharging mode on the target battery based on the second electric quantity interval, executing the step of acquiring the real-time electric quantity of the target battery when the target battery is changed into a charging state after the discharging state of the target battery is finished, and acquiring a first electric quantity interval in which the real-time electric quantity is positioned based on a preset first electric quantity interval division rule.
2. The method of claim 1, wherein after the obtaining the real-time charge of the target battery, the method comprises:
acquiring real-time display electric quantity detected by the electric quantity meter;
acquiring delay time when the real-time display electric quantity is consistent with the real-time electric quantity;
calculating a real-time calibration coefficient based on the delay time, and generating a calibration curve based on the real-time calibration coefficient;
judging whether the real-time calibration coefficient is 1 or not;
if the value is 1, the calibration is determined to be completed.
3. The battery cycle calibration method of claim 2, wherein the delay time comprises an initial delay time and a real-time delay time;
the calculating real-time calibration coefficients 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 to obtain a real-time calibration coefficient; the real-time calibration coefficient calculation formula is as follows:
wherein C is a calibration coefficient, C 0 For an initial delay time, C n For real time delay time, said C 0 Greater than 0 and C 0 Greater than C n 。
4. The method of claim 2, further comprising, after the obtaining the delay time when the real-time display power is consistent with the real-time power, the step of:
acquiring the current power consumption of the intelligent terminal;
judging whether the intelligent terminal has extra power consumption or not based on the current power consumption and preset standard power consumption;
if extra power consumption exists, acquiring background running applications of the intelligent terminal, and acquiring a hardware module used by each background running application;
removing preset white list hardware modules from the plurality of hardware modules to obtain a plurality of residual hardware modules;
and closing the background running application corresponding to the hardware module with the power consumption larger than the preset power consumption threshold.
5. The method of claim 4, wherein after the closing the background running application corresponding to the hardware module with the power consumption greater than the preset power consumption threshold, the method further comprises:
acquiring the current white list power consumption of the intelligent terminal;
judging whether the intelligent terminal has extra white list power consumption or not based on the current white list power consumption and the standard power consumption;
if yes, acquiring standard delay time when the real-time display electric quantity is consistent with the real-time electric quantity;
calculating a time difference value based on the delay time and the standard delay time;
and calculating an influence coefficient based on the time difference value and the power consumption of the additional white list.
6. The method of claim 5, wherein calculating an impact factor based on the time difference and the additional white list power consumption comprises:
substituting the time difference value and the power consumption of the additional white list into a preset influence coefficient calculation formula to obtain an influence coefficient;
the influence coefficient calculation formula is as follows:
wherein F is an influence coefficient, and T is 1 For a delay time, T 2 For standard latency, M is additional white list power consumption, T 1 Greater than T 2 And said M is greater than 0.
7. The method of claim 5, wherein after said calculating the influence coefficients, comprising:
calculating to obtain a new calibration coefficient based on the influence coefficient and the real-time calibration coefficient;
generating a new calibration curve based on the new calibration coefficient;
judging whether the new calibration coefficient is equal to the influence coefficient or not;
if so, the calibration is determined to be complete.
8. A battery cycling calibration system comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the method of any one of claims 1 to 7 is used when the computer program is loaded and executed by the processor.
9. A computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, carries out the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211531381.7A CN115774197A (en) | 2022-12-01 | 2022-12-01 | Battery cycle calibration method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211531381.7A CN115774197A (en) | 2022-12-01 | 2022-12-01 | Battery cycle calibration method, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115774197A true CN115774197A (en) | 2023-03-10 |
Family
ID=85390973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211531381.7A Pending CN115774197A (en) | 2022-12-01 | 2022-12-01 | Battery cycle calibration method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115774197A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117728074A (en) * | 2024-02-18 | 2024-03-19 | 珠海格力钛电器有限公司 | Control method and device for liquid cooling and temperature reduction of energy storage system |
CN117890813A (en) * | 2024-03-12 | 2024-04-16 | 江苏慕林智造科技股份有限公司 | Battery electric quantity detection method and detection system based on dynamic load condition |
-
2022
- 2022-12-01 CN CN202211531381.7A patent/CN115774197A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117728074A (en) * | 2024-02-18 | 2024-03-19 | 珠海格力钛电器有限公司 | Control method and device for liquid cooling and temperature reduction of energy storage system |
CN117728074B (en) * | 2024-02-18 | 2024-05-03 | 珠海格力钛电器有限公司 | Control method and device for liquid cooling and temperature reduction of energy storage system |
CN117890813A (en) * | 2024-03-12 | 2024-04-16 | 江苏慕林智造科技股份有限公司 | Battery electric quantity detection method and detection system based on dynamic load condition |
CN117890813B (en) * | 2024-03-12 | 2024-06-11 | 江苏慕林智造科技股份有限公司 | Battery electric quantity detection method and detection system based on dynamic load condition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115774197A (en) | Battery cycle calibration method, system and storage medium | |
CN103606716B (en) | A kind of charging method and device | |
CN107436418B (en) | Method, terminal and device for calibrating electric quantity attenuation of battery | |
CN109466372B (en) | Charging remaining time calculation method and device and storage medium | |
CN102854471B (en) | Battery meter metering method and measuring apparatus | |
CN113030742B (en) | Method, device and equipment for estimating battery capacity | |
JP6110771B2 (en) | Deterioration amount calculation device, deterioration amount calculation method, and program | |
TW200824169A (en) | Method for predicting remaining capacity of a battery | |
CN104698388A (en) | Method and device for detecting battery ageing of mobile terminal | |
CN106249168B (en) | A kind of battery curve modification method and device | |
JP2020092593A (en) | Method of predicting charging state of battery | |
CN111301219B (en) | Method, system, equipment and readable storage medium for controlling battery of electric vehicle | |
CN113484763B (en) | Method, device, equipment and storage medium for determining residual electric quantity of battery | |
CN112098864A (en) | Leakage current detection method and device, electronic equipment and storage medium | |
CN104749528B (en) | Dynamic lithium battery capacity determining methods | |
US20090197651A1 (en) | Wireless communication terminal and battery capacitance measuring method | |
CN111426960A (en) | Energy storage lithium battery charge state monitoring method and device | |
CN115808624A (en) | Battery health degree detection method, equipment and storage medium | |
CN116315207B (en) | Overvoltage early warning method, overvoltage early warning device and readable storage medium | |
CN112108400B (en) | Test method for predicting cycle performance of soft package battery | |
CN115575842A (en) | Battery management method, device, electronic equipment and storage medium | |
JP7435101B2 (en) | Estimation device, power storage device, estimation method, and computer program | |
CN115986874A (en) | Battery charging safety monitoring and early warning method and system | |
CN117233623A (en) | Battery SOC estimation method and device with end correction | |
JP2020532936A (en) | Charge control device, charge control method, program, control circuit and power storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |