CN108351386A - A kind of electricity value calculating method, electronic equipment and storage medium - Google Patents

A kind of electricity value calculating method, electronic equipment and storage medium Download PDF

Info

Publication number
CN108351386A
CN108351386A CN201680066771.8A CN201680066771A CN108351386A CN 108351386 A CN108351386 A CN 108351386A CN 201680066771 A CN201680066771 A CN 201680066771A CN 108351386 A CN108351386 A CN 108351386A
Authority
CN
China
Prior art keywords
model parameter
battery model
parameter list
growth rate
cycle number
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.)
Granted
Application number
CN201680066771.8A
Other languages
Chinese (zh)
Other versions
CN108351386B (en
Inventor
何泽瑞
张政学
柳晓见
陈登
陶翰文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108351386A publication Critical patent/CN108351386A/en
Application granted granted Critical
Publication of CN108351386B publication Critical patent/CN108351386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

A kind of electricity value calculating method, electronic equipment and storage medium, it is related to electronic technology field, it can be according to the practical degree of aging Auto-matching battery model parameter list of battery, to accurately calculate the charge value of battery according to the parameter in matched battery model parameter list.This method includes:N number of battery model parameter list is preserved in electronic equipment, N is the integer more than 1, and electronic equipment calculates the charge cycle number (301) of battery;According to charge cycle number, target battery model parameter table (302) is determined from N number of battery model parameter list;Also, the charge value (303) of battery is calculated according to target battery model parameter meter.

Description

A kind of electricity value calculating method, electronic equipment and storage medium Technical field
The present invention relates to electronic technology field more particularly to a kind of electricity value calculating methods, electronic equipment and storage medium.
Background technique
At present, using battery powered electronic equipment, the method combined is generally counted with Coulomb meter to calculate the current charge value of battery by the parameter in battery model parameter list, thus whether the parameter in used battery model ginseng table is accurate, is the key factor for determining charge value precision.Electronic equipment is usually only configured with a battery model parameter list when leaving the factory, this battery model parameter list is constructed for new battery.In the use process of electronic equipment, the problems such as battery is due to self attributes can slowly be lost in aging, the battery model parameter list configured when factory cannot match existing battery, so that the calculating that will lead to charge value deviates, phenomena such as battery " being not fully filled " occur.
A solution that the prior art uses for, after electronic equipment factory, reconstruct battery model parameter list stage by stage, and be pushed to user by way of online upgrading, user clicks manually upgrade after, battery model parameter list that could be new and old.
In fact, the degree of aging of battery be it is directly related with the usage degree of user, different user is different to the usage degree of electronic equipment, thus in the electronic equipment of different user battery degree of aging it is also different.If pushing the battery model parameter list of the same reconstruct in the same period, the poor compatibility of the battery model parameter list then pushed, it can not match with the degree of aging of battery in each electronic equipment, the current charge value of each battery thus can not be accurately calculated according to the battery model parameter list of push, so as to cannot be fully utilized newer battery, there is the problem of " being not fully filled " in older battery.
Summary of the invention
The embodiment of the present invention provides a kind of electricity value calculating method, electronic equipment and storage medium, it can be according to the practical degree of aging Auto-matching battery model parameter list of battery, to accurately calculate the charge value of battery according to the parameter in matched battery model parameter list.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of electricity value calculating method, it is applied to electronic equipment, N number of battery model parameter list is preserved in electronic equipment, N is the integer greater than 1, this method comprises: firstly, electronic equipment calculates the charge cycle number of battery.Then, electronic equipment determines target battery model parameter table according to charge cycle number from N number of battery model parameter list.Later, electronic equipment calculates the charge value of battery according to target battery model parameter meter.
In this way, electronic equipment can be by being able to reflect the charge cycle number of cell degradation degree, the target battery model parameter table that the determining degree of aging with battery matches, thus according to the parameter in matched target battery model parameter table, it is accurate to calculate the currently practical charge value having of battery.
In one possible implementation, it includes: to record the first charge value firstly, electronic equipment is when establishing connection with charger that electronic equipment, which calculates the charge cycle number of battery,.Then, electronic equipment records the second charge value when disconnecting with charger.When the second charge value is greater than the first charge value, the difference of the second charge value and the first charge value is added in charging total amount by electronic equipment.Then, electronic equipment calculates charge cycle number according to charging total amount.
Since the fully charged number of battery can be calculated according to charging total amount, and electricity could be discharged since battery is filled with after electricity, thus can indicate the charge cycle number of battery with the fully charged number of battery.
In one possible implementation, electronic equipment can be with according to the expression formula that charging total amount calculates charge cycle number are as follows: n=Total/100%, wherein n indicates that charge cycle number, Total indicate charging total amount, and quotient's operator is sought in "/" expression.
In one possible implementation, the corresponding charge cycle number reference interval of each battery model parameter list.Electronic equipment is according to charge cycle number, from determining that target battery model parameter table includes: the corresponding first battery model parameter list of the first charge cycle number reference interval where electronic equipment determines charge cycle number in N number of battery model parameter list, the first battery model parameter list is target battery model parameter table.
In this way, electronic equipment can be according to charge cycle number, the target battery model parameter table that quickly and intuitively the determining degree of aging with battery matches, so as to according to matched target battery mould Parameter in shape parameter table, the accurate charge value for calculating battery.
In one possible implementation, battery model parameter list further includes capacity growth rate reference value.This method further include: the capacity growth rate of electronic equipment calculating battery.At this time, electronic equipment is according to charge cycle number, determine that target battery model parameter table includes: electronic equipment according to charge cycle number, charge cycle number reference interval from N number of battery model parameter list, capacity growth rate and capacity growth rate reference value determine target battery model parameter table from N number of battery model parameter list.
In this way, electronic equipment can consider the charge cycle number and capacity growth rate that are able to reflect cell degradation degree simultaneously, the target battery model parameter table to match with the degree of aging of battery is more accurately determined.
In one possible implementation, when in the corresponding first battery model parameter list of the first charge cycle number reference interval where charge cycle number, when the absolute value of the difference of first capacity growth rate reference value and capacity growth rate is less than or equal to first threshold, electronic equipment determines that the first battery model parameter list is target battery model parameter table.
When the absolute value of the first capacity growth rate reference value and the difference of capacity growth rate is less than or equal to first threshold, it can illustrate that the corresponding first battery model parameter list of charge cycle number can be with the degree of aging accurate match of battery, thus electronic equipment can determine that the first battery model parameter list is target battery model parameter table.
In one possible implementation, when the absolute value of the first capacity growth rate reference value and the difference of capacity growth rate is greater than first threshold, and first capacity growth rate reference value be greater than capacity growth rate when, second battery model parameter list if it exists, the absolute value of the difference of the second capacity growth rate reference value and capacity growth rate in second battery model parameter list is less than or equal to first threshold, and second the corresponding second charge cycle number reference interval of battery model parameter list be greater than the first charge cycle number reference interval, then electronic equipment determines that the second battery model parameter list is target battery model parameter table.If it does not exist, it is determined that the first battery model parameter list is target battery model parameter table.
When the absolute value of the first capacity growth rate reference value and the difference of capacity growth rate is greater than first threshold, and the first capacity growth rate reference value is greater than capacity growth rate, illustrate capacity growth rate More much smaller than the capacity growth rate reference value in the first battery model parameter list, the practical degree of aging of battery degree of aging more corresponding than the first battery model parameter list is high.Thus, it is possible to the battery model parameter list with the degree of aging accurate match of battery, it may be possible to including the bigger corresponding battery model parameter list of charge cycle number reference interval of charge cycle number.
In one possible implementation, when electronic equipment determines that the second battery model parameter list is target battery model parameter table, this method further include: electronic equipment adjustment charging total amount and charging-discharging cycle number so that it is adjusted by charging-discharging cycle number in the corresponding second charge cycle number reference interval of the second battery model parameter list.
In one possible implementation, when the absolute value of the first capacity growth rate reference value and the difference of capacity growth rate is greater than first threshold, and first capacity growth rate reference value be less than capacity growth rate when, third battery model parameter list if it exists, the absolute value of the difference of third capacity growth rate reference value and capacity growth rate in third battery model parameter list is less than or equal to first threshold, and the corresponding third charge cycle number reference interval of third battery model parameter list is less than the first charge cycle number reference interval, then electronic equipment determines that third battery model parameter list is target battery model parameter table;If it does not exist, then electronic equipment determines that the first battery model parameter list is target battery model parameter table.
When the absolute value of the first capacity growth rate reference value and the difference of capacity growth rate is greater than first threshold, and first capacity growth rate reference value be less than capacity growth rate when, illustrate that capacity growth rate is more much larger than the capacity growth rate reference value in the first battery model parameter list, the practical degree of aging of battery degree of aging more corresponding than the first battery model parameter list is low.Thus, it is possible to the battery model parameter list with the degree of aging accurate match of battery, it may be possible to including the corresponding battery model parameter list of the smaller charge cycle number reference interval of charge cycle number.
In one possible implementation, when electronic equipment determines that third battery model parameter list is target battery model parameter table, this method further include: electronic equipment adjustment charging total amount and charging-discharging cycle number so that it is adjusted by charging-discharging cycle number in the corresponding third charge cycle number reference interval of third battery model parameter list.
In one possible implementation, electronic equipment calculate the capacity growth rate of battery include: record firstly, the first moment of electronic equipment during the charging process battery the first voltage value and First capacity count value of Coulomb meter.Secondly, at the second moment of electronic equipment during the charging process, record the second voltage value of battery and the second capacity count value of Coulomb meter.Then, electronic equipment calculates capacity growth rate according to the first voltage value, the first capacity count value, second voltage value and the second capacity count value.
In one possible implementation, electronic equipment calculates the expression formula of capacity growth rate are as follows:
R=(CC2-CC1)/(V2-V1) * 10.
Wherein, r indicates capacity growth rate, and CC2 indicates the second capacity count value, and CC1 indicates the first capacity count value, and V2 indicates second voltage value, and V1 indicates the first voltage value.
In one possible implementation, at the time of the first moment reached predeterminated voltage for the open-circuit voltage of battery, the first voltage value is predeterminated voltage;Second moment was the charge cutoff moment, and second voltage value is blanking voltage.Wherein, predeterminated voltage can be for the voltage value near blanking voltage, and the capacity growth rate for the battery for calculating acquisition in the voltage segment limit close to blanking voltage is more accurate.
In one possible implementation, this method further include: when this calculates the capacity growth rate obtained and the last difference for calculating the capacity growth rate obtained is greater than second threshold, charging total amount is reset.
Due to the increase of use time, the increase of charge cycle number, the capacity growth rate of battery is gradually reduced, when electronic equipment determines that this calculates the capacity growth rate of acquisition and the last difference for calculating the capacity growth rate obtained greater than second threshold, illustrate that the capacity growth rate of battery significantly increases, electronic equipment may replace one piece of new lower battery of battery or degree of aging, and the charging total amount and charge cycle number saved in electronic equipment, the corresponding parameter of used batteries used before being, thus electronic equipment needs to reset the charging total amount of preservation, and add up charging total amount again, to calculate the corresponding charge cycle number of battery after replacement according to again accumulative charging total amount.
In one possible implementation, electronic equipment is at the matching moment, and according to charge cycle number, target battery model parameter table is determined from N number of battery model parameter list.Wherein, the matching moment includes booting moment, shutdown moment or charge cutoff moment or the dormancy awakening of electronic equipment Moment.When electronic equipment is at booting moment, shutdown moment, charge cutoff moment or dormancy awakening moment, matches and switches load target battery model parameter table, the direct experience effect of user will not influence.
Second aspect, the present invention are that embodiment provides a kind of electronic equipment, N number of battery model parameter list are preserved in the electronic equipment, N is the integer greater than 1.The electronic equipment includes: the first computing unit, for calculating the charge cycle number of battery.Determination unit, for determining target battery model parameter table from N number of battery model parameter list according to charge cycle number.Second computing unit, for calculating the charge value of battery according to target battery model parameter meter.
In one possible implementation, determination unit is specifically used for: at the matching moment, according to charge cycle number, target battery model parameter table is determined from N number of battery model parameter list;Wherein, the matching moment includes the booting moment, shutdown moment or charge cutoff moment of electronic equipment.
In one possible implementation, the first computing unit is specifically used for: when establishing connection with charger, recording the first charge value;When disconnecting with charger, the second charge value is recorded;When the second charge value is greater than the first charge value, the difference of the second charge value and the first charge value is added in charging total amount;According to charging total amount, charge cycle number is calculated.
In one possible implementation, the corresponding charge cycle number reference interval of each battery model parameter list.Determination unit is specifically used for: determining the corresponding first battery model parameter list of the first charge cycle number reference interval where charge cycle number, the first battery model parameter list is target battery model parameter table.
In one possible implementation, the corresponding charge cycle number reference interval of each battery model parameter list, battery model parameter list further includes capacity growth rate reference value.Electronic equipment further include: third computing unit, for calculating the capacity growth rate of battery.Determination unit is specifically used for: according to charge cycle number, charge cycle number reference interval, capacity growth rate and capacity growth rate reference value determine target battery model parameter table from N number of battery model parameter list.
In one possible implementation, determination unit is specifically used for: determining the corresponding first battery model parameter list of the first charge cycle number reference interval where charge cycle number;When the capacity growth rate reference value in the first battery model parameter list, when being less than or equal to first threshold with the absolute value of the difference of capacity growth rate, determine that the first battery model parameter list is target battery mould Shape parameter table.
In one possible implementation, determination unit is also used to: when the first capacity growth rate reference value in the first battery model parameter list, it is greater than first threshold with the absolute value of the difference of capacity growth rate, and first capacity growth rate reference value be greater than capacity growth rate when, second battery model parameter list if it exists, the second capacity growth rate reference value that second battery model parameter list includes, it is less than or equal to first threshold with the absolute value of the difference of capacity growth rate, and second the corresponding second charge cycle number reference interval of battery model parameter list be greater than the first charge cycle number reference interval, then determine that the second battery model parameter list is target battery model parameter table.If it does not exist, it is determined that the first battery model parameter list is target battery model parameter table.
In one possible implementation, determination unit is also used to: when the first capacity growth rate reference value in the first battery model parameter list, it is greater than first threshold with the absolute value of the difference of capacity growth rate, and first capacity growth rate reference value be less than capacity growth rate when, third battery model parameter list if it exists, the third capacity growth rate reference value that third battery model parameter list includes, it is less than or equal to first threshold with the absolute value of the difference of capacity growth rate, and the corresponding third charge cycle number reference interval of third battery model parameter list is less than the first charge cycle number reference interval, then determine that third battery model parameter list is target battery model parameter table.If it does not exist, it is determined that the first battery model parameter list is target battery model parameter table.
In one possible implementation, third computing unit is specifically used for: the first moment during the charging process, records the first voltage value of battery and the first capacity count value of Coulomb meter;The second moment during the charging process records the second voltage value of battery and the second capacity count value of Coulomb meter;According to the first voltage value, the first capacity count value, second voltage value and the second capacity count value, capacity growth rate is calculated.
In one possible implementation, electronic equipment further include: processing unit, for the capacity growth rate when this calculating acquisition of the second computing unit, when the difference of the capacity growth rate obtained with last calculating is greater than second threshold, the total amount that will charge is reset.
Function performed by electronic equipment in above method embodiment may be implemented the embodiment of the invention provides a kind of electronic equipment in another aspect, and function can also execute corresponding software realization by hardware realization by hardware.Hardware or software include one or more above-mentioned functions Corresponding module.
In a kind of possible design, the structure of the electronic equipment includes processor, which is configured as the corresponding function for supporting the electronic equipment to execute in the above method.The electronic equipment further includes memory, which saves the necessary program instruction of the electronic equipment and data for coupling with processor.
In another aspect, for being stored as the computer software instructions of above-mentioned electronic equipments, it includes for executing program designed by above-mentioned aspect the embodiment of the invention provides a kind of computer storage medium.
Compared to the prior art, in scheme provided in an embodiment of the present invention, electronic equipment can be by being able to reflect the charge cycle number of cell degradation degree, the target battery model parameter table that the determining degree of aging with battery matches, it thus can be accurate to calculate the practical voltage value having of battery according to the parameter in matched target battery model parameter table.
In order to make it easy to understand, the exemplary explanation for giving part concept related to the present invention is for reference.It is as follows:
Open-circuit voltage (Open circuit voltage, OCV): end voltage of the battery under open-circuit condition.
The internal resistance of cell (Internal Resistance of the Battery, Rbatt): at work, electric current flows through the size of resistance suffered by inside battery to battery.
Battery capacity: the size of battery storage electricity, unit mAh.
Completely fill capacity (Full charge capacity, FCC): the size of storable electricity when battery is completely filled with.
Volume percent (Percent Capacity, PC): the practical capacity having of battery takes the percentage for filling capacity.
Charge value: the currently practical capacity having of battery takes the percentage for filling capacity, the i.e. current volume percent of battery.
Capacity growth rate: capacity growth rate indicates that during the charging process, battery increases unit voltage When, the capability value of corresponding increased battery.
The charge cutoff moment: when in battery charging process, electronic equipment determines that the capacity of battery reaches at the time of completely fill capacity.
Charge total amount: the accumulative charge volume of battery.
Fully charged: the accumulative charge volume of battery is every when increasing by 100%, corresponding primary fully charged process.
Electric discharge completely: the accumulated discharge amount of battery is every when increasing by 100%, corresponding primary complete discharge process.
Charge cycle: battery is from being completely filled with to complete electric discharge, then to the process being completely filled with.
Charge cycle number: the cycle-index of battery fully charged process and complete discharge process.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of mobile phone provided in an embodiment of the present invention;
Fig. 2 is that a kind of battery provided in an embodiment of the present invention completely fills capacity and accounts for and initially completely fills the percentage of capacity and the corresponding relationship of charge cycle number;
Fig. 3 is a kind of electricity value calculating method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram that battery model parameter list is determined according to charge cycle number provided in an embodiment of the present invention;
Fig. 5 is the calculation method flow chart of another charge value provided in an embodiment of the present invention;
Fig. 6 is a kind of method flow diagram of determining target battery model parameter table provided in an embodiment of the present invention;
Fig. 7 is the composition block diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 8 is the composition block diagram of another electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall within the protection scope of the present invention.
Electronic equipment involved in the embodiment of the present invention be use battery powered equipment, such as can be mobile phone, MP3, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), etc..By taking electronic equipment is mobile phone as an example, part-structure block diagram may refer to Fig. 1.With reference to Fig. 1, mobile phone 100 mainly may include: the components such as radio frequency (Radio Frequency, RF) circuit 110, memory 120, other input equipments 130, display screen 140, sensor 150, voicefrequency circuit 160, I/O subsystem 170, processor 180 and battery 190.It will be understood by those skilled in the art that handset structure shown in Fig. 1 does not constitute the restriction to mobile phone, it may include perhaps combining certain components than illustrating more or fewer components and perhaps splitting certain components or different component layouts.Skilled person is understood that display screen 140 belongs to user interface, and mobile phone 100 may include than diagram or less user interface.
Wherein, battery 190 is mainly used for all parts power supply of mobile phone.Battery can be logically contiguous by power-supply management system and processor 180, to realize the functions such as charging, electric discharge and power managed by power-supply management system.
Furthermore, processor 180 is the control centre of mobile phone 100, utilize the various pieces of various interfaces and connection whole mobile phone, by running or executing the software program and/or module that are stored in memory 120, and call the data being stored in memory 120, the various functions and processing data for executing mobile phone 100, to carry out integral monitoring to mobile phone.RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees.Memory 120 can be used for storing software program and module, and processor 180 is stored in the software program and module of memory 120 by operation, thereby executing the various function application and data processing of mobile phone 100.Other input equipments 130 can be used for receiving the number or character information of input, and generate the user setting and function control with mobile phone 100 Make related key signals input.Display screen 140 can be used for showing information input by user or be supplied to the information of user and the various menus of mobile phone 100, can also receive user's input.Mobile phone 100 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors.Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and mobile phone 100.I/O subsystem 170 is used to control the external equipment of input and output, may include other equipment input controller 171, sensor controller 172, display controller 173.
The general process of battery capacity value is calculated using battery powered electronic equipment are as follows: electronic equipment obtains the temperature of battery first, corresponding with the temperature in lookup battery model parameter list completely to fill capacity;Then the open-circuit voltage for obtaining battery, searches volume percent reference value corresponding with the open-circuit voltage in battery model parameter list;Later according to volume percent reference value and temperature, the corresponding internal resistance of cell in battery model parameter list is searched;Then according to the capacity count value for completely filling capacity, open-circuit voltage, volume percent reference value, the internal resistance of cell and Coulomb meter, the current practical charge value of electronic equipment is calculated.
It should be noted that, " charge value " of electricity value calculating method battery calculated provided in an embodiment of the present invention, it is the currently practical charge value having of battery, specifically can be the currently practical capacity having of battery takes the percentage for filling capacity, is not same parameters with volume percent reference value preset in battery model parameter list.
For in the prior art since battery model parameter list and cell degradation degree mismatch, the charge value of battery is caused to calculate the problem of inaccuracy, the embodiment of the present invention provides a kind of electricity value calculating method, it can be according to the charging-discharging cycle number for being able to reflect the practical degree of aging of battery, accurate match target battery model parameter table, so as to according to the parameter in matched target battery model parameter table, the accurate charge value for calculating battery.
Wherein, charge cycle number is used to indicate the cycle-index of the fully charged process of battery and complete discharge process namely the cycle charge-discharge number of battery.When the accumulative charge volume of battery is every increases by 100%, corresponding primary fully charged process;When the accumulated discharge amount of battery is every increases by 100%, corresponding primary complete discharge process.Since battery could only discharge after charging, thus charge cycle number actually corresponds to the fully charged number of battery.
Experiment measures at a certain temperature, certain size battery in actual use, battery completely fill capacity account for the corresponding relationship of the percentage and battery charge cycle number that initially completely fill capacity can be as Shown in Fig. 2.As shown in Figure 2, battery is longer using the time, and the charge cycle number of battery in actual use is bigger, and the degree of aging of battery is higher, fills the expiring of battery that capacity is also just smaller, and the size that battery completely fills capacity is that the essence of cell degradation degree embodies.As it can be seen that the size of the charge cycle number of battery in actual use can reflect the height of cell degradation degree.
The embodiment of the present invention provides a kind of electricity value calculating method, can be applied to use battery powered electronic equipment, and N number of battery model parameter list is preserved in the electronic equipment, and N is the integer greater than 1.Referring to Fig. 3, this method may include:
301, electronic equipment calculates the charge cycle number of battery.
Here charge cycle number refers to battery in actual use, calculates the charge cycle number obtained in real time.Since the charge cycle number of battery can be used for reflecting the degree of aging of battery, thus electronic equipment can calculate and save the charge cycle number of battery, using the reference factor as determining cell degradation degree.
302, electronic equipment determines target battery model parameter table according to charge cycle number from N number of battery model parameter list.
After calculating the charge cycle number for obtaining battery, electronic equipment can be according to charge cycle number, from N number of battery model parameter list that electronic equipment pre-saves, the battery model parameter list that the degree of aging for the battery that one is reflected with charge cycle number matches is determined, as target battery model parameter table.
303, electronic equipment calculates the charge value of battery according to target battery model parameter meter.
Here the charge value for calculating acquisition is the currently practical charge value having of battery, specifically can be the currently practical capacity having of battery and takes the percentage for filling capacity, the i.e. current volume percent of battery.Electronic equipment is according to charge cycle number, after the target battery model parameter table that the determining degree of aging with battery matches, the target battery model parameter table can be loaded automatically, thus according to the parameter in the target battery model parameter table of load, the accurate charge value for calculating battery.
Wherein, when the battery model parameter list difference that target battery model parameter table and electronic equipment originally used, electronic equipment loads target battery model parameter table, is equivalent to from the battery originally used Model parameter table is switched to new target battery model parameter table.
It should be noted that after determining target battery model parameter table, electronic equipment according to the parameter in target battery model parameter table calculate battery charge value process with it is consistent in the prior art, which is not described herein again.
In the electricity value calculating method that the above embodiment of the present invention provides, electronic equipment is according to the charge cycle number for being able to reflect cell degradation degree, the target battery model parameter table that the determining degree of aging with battery matches, it thus can be according to the parameter in the matched target battery model parameter table of institute, the accurate calculating currently practical charge value having of battery.
Wherein, in above-mentioned steps 301, the charge cycle number that electronic equipment calculates battery be can specifically include:
3011, electronic equipment records the first charge value when establishing connection with charger.
3012, electronic equipment records the second charge value when disconnecting with charger.
It should be noted that " establishing connection " and " disconnecting " in step 3011, refers in a charging process, electronic equipment is connected and disconnected from charger foundation and connect.
3013, when the second charge value is greater than the first charge value, the difference of the second charge value and the first charge value is added in charging total amount by electronic equipment.
3014, electronic equipment calculates charge cycle number according to charging total amount.
Since battery could only discharge after charging, thus charge cycle number actually corresponds to the full charge of number of battery.Above process 3011-3014 is actually the process for calculating the fully charged number of battery namely the process of counting cell charging periodicity.
In counting cell charging periodicity, electronic equipment can be with the charging total amount of cumulative statistics battery, charging total amount can be indicated by the volume percent of battery, the charging total amount of battery can be 0 when leaving the factory, whenever accumulative charging total amount reaches 100%, i.e. when the volume percent of accumulative charging reaches 100%, it is believed that battery completes primary fully charged process, so as to a corresponding charging-discharging cycle.Thus, by the charging total amount that will add up divided by 100%, Available charge cycle number.That is, electronic equipment can be with according to the expression formula that charging total amount calculates charge cycle number are as follows:
N=Total/100% formula one
In above-mentioned formula one, n indicates that charge cycle number, Total indicate charging total amount, and quotient's operator is sought in "/" expression.
Specifically, when electronic equipment establishes connection with charger in step 3011, the first charge value of record is Q if Total is the first numerical value before step 3011A, when electronic equipment disconnects in step 3012 with charger, the second charge value of record is QB, then work as QB> QAWhen, illustrate that battery has been filled with electricity QB-QA, thus the charging total amount Total+=Q of acquisition is calculated in step 3013B-QA, i.e., the charging total amount that acquisition is calculated in step 3013 is the first numerical value and (QB-QA) sum;Work as QB≤QAWhen, illustrate that battery is not filled with electricity, because without processing to charging total amount Total.Specifically, the first charge value and the second charge value can be indicated by the volume percent of battery, such as the first charge value can be 30%, and the second charge value can be 90%.
Specifically, in embodiments of the present invention, each battery model parameter list saved in electronic equipment can correspond to a charge cycle number reference interval, or a corresponding charge cycle number reference value.
Illustratively, when the corresponding charge cycle number reference interval of each battery model parameter list, the corresponding relationship of battery model parameter list and charge cycle number reference value be may refer to such as the following table 1.
Table 1
Charge cycle number reference interval Battery model parameter list
Charge cycle number reference interval 1 T1
Charge cycle number reference interval 2 T2
…… ……
Charge cycle number reference interval N-1 TN-1
Charge cycle number reference interval N TN
Illustratively, when the corresponding charge cycle number reference value of each battery model parameter list, the corresponding relationship of battery model parameter list and charge cycle number reference value be may refer to such as the following table 2.
Table 2
Charge cycle number reference value Battery model parameter list
Charge cycle number reference value 1 T1
Charge cycle number reference value 2 T2
…… ……
Charge cycle number reference value N-1 TN-1
Charge cycle number reference value N TN
Wherein, when the corresponding charge cycle number reference value of each battery model parameter list, the corresponding charge cycle number reference interval of each battery model parameter list can also be equivalent to.For example, in above-mentioned table 2, battery model parameter list T1Corresponding charge cycle number reference value 1, charge cycle number reference value 1 can be equivalent to section separation, battery model parameter list T1Can be equivalent to it is corresponding [charge cycle number reference value 1, charge cycle number reference value 2) this reference interval;Battery model parameter list TiCorresponding charge cycle number reference value i, charge cycle number reference value i can be equivalent to section separation, battery model parameter list TiCan be equivalent to it is corresponding [charge cycle number reference value i, charge cycle number reference value i+1) this reference interval, wherein i is the positive integer less than or equal to N.
Illustratively, when the corresponding charge cycle number parameter section of each battery model parameter list, the specific structure of battery model parameter list be may refer to such as the following table 3.Wherein, the unit of temperature can for DEG C, the unit for completely filling capacity, which for mAh, can open the unit of voltage, to be V, and the unit of the internal resistance of cell can be m Ω.
Table 3
As shown in Table 3, battery model parameter list can be used to indicate that temperature and completely fill capacity, the corresponding relationship between open-circuit voltage, temperature and volume percent reference value and temperature and the parameters such as volume percent reference value and the internal resistance of cell.
It should be noted that section mark is for identifying a section in table 3.Such as can be a specific section [100,200), be also possible to section separation 100.Several temperature (such as giving 5 temperature in table 2) are only gived in battery model parameter list shown in table 3 and completely fill the corresponding relationship of capacity.In fact, electronic equipment can obtain a continuous function curve according to several data groups provided in battery model parameter list, the corresponding relationship for characterizing different temperatures with completely filling capacity.Wherein, in the function curve the upper and lower boundary of temperature can be respectively 60 DEG C and -20℃。
When the corresponding charge cycle number reference interval of each battery model parameter list in electronic equipment, in above-mentioned steps 302, electronic equipment is according to charge cycle number, from N number of battery model parameter list, determines that target battery model parameter table can specifically include:
3021, electronic equipment determines the corresponding first battery model parameter list of the first charge cycle number reference interval where charge cycle number, and the first battery model parameter list is target battery model parameter table.
Due to the charge cycle number of battery in actual use, it is able to reflect the degree of aging of battery, thus electronic equipment can determine the corresponding first battery model parameter list of the first charge cycle number reference interval where charge cycle number, the target battery model parameter table as to match with the degree of aging of battery, so as to calculate the charge value of battery according to the parameter in matched target battery model parameter table.
Illustratively, when the standard configuration service life that certain battery provides is 500 charge cycles, table 2 is specifically as follows the form such as the following table 4.
Table 4
Charge cycle number reference interval Battery model parameter list
[0,500/N) T1
[500/N,2*500/N) T2
[2*500/N,3*500/N) T3
…… ……
[(N-2)*500/N,(N-1)*500/N) TN-1
[(N-1)*500/N,…) TN
For the corresponding relationship of charge cycle number reference interval and battery model parameter list shown in the table 4, electronic equipment determines that the process of the corresponding first battery model parameter list of the first charge cycle number reference interval where charge cycle number n can be as shown in Figure 4.
In this embodiment, electronic equipment can join according to charge cycle number, charge cycle number Between examination district and the corresponding relationship of battery model parameter list, the target battery model parameter table that quickly and intuitively the determining degree of aging with battery matches, so as to according to the parameter in matched target battery model parameter table, the accurate charge value for calculating battery.
Further, battery model parameter list can also include capacity growth rate reference value.Illustratively, the battery model parameter list including capacity growth rate reference value may refer to such as the following table 5.Wherein, the unit of capacity growth rate reference value can be mAh/0.1V.
Table 5
When battery model parameter list further includes capacity growth rate reference value, referring to Fig. 5, electricity value calculating method provided in an embodiment of the present invention can also include the following steps 304:
304, electronic equipment calculates the capacity growth rate of battery.
On the basis of step 304, electronic equipment determines that target battery model parameter table can specifically include from N number of battery model parameter list in step 302 according to charge cycle number:
3022, for electronic equipment according to charge cycle number, charge cycle number reference interval, capacity growth rate and capacity growth rate reference value determine target battery model parameter table from N number of battery model parameter list.
Wherein, capacity growth rate indicates during the charging process, when battery increases unit voltage, the capability value (the namely difference of Coulomb meter capacity count value) of corresponding increased battery.Under normal conditions, battery is longer using the time, and the internal resistance of cell is bigger, and for the capacity growth rate of battery with regard to smaller, the degree of aging of battery is also higher.Thus, the capacity growth rate of battery can be used for the degree of aging of reflection battery.Therefore, electronic equipment can consider the charge cycle number and capacity growth rate that are able to reflect cell degradation degree simultaneously, more accurately determine the target battery model parameter table to match with the degree of aging of battery.
Specifically, the capacity growth rate that electronic equipment in step 304, calculates battery may include:
3041, the first moment of electronic equipment during the charging process records the first voltage value of battery and the first capacity count value of Coulomb meter.
3042, the second moment of electronic equipment during the charging process records the second voltage value of battery and the second capacity count value of Coulomb meter.
3043, electronic equipment calculates capacity growth rate according to the first voltage value, the first capacity count value, second voltage value and the second capacity count value.
Specifically, when unit voltage is 0.1V, for electronic equipment according to the first count value and the second count value, the expression formula for calculating capacity growth rate can be with are as follows:
* 10 formula two of r=(CC2-CC1)/(V2-V1)
In above-mentioned formula two, r indicates capacity growth rate, and CC2 indicates the second capacity count value, and CC1 indicates the first capacity count value, and V2 indicates second voltage value, and V1 indicates the first voltage value.Wherein, the unit of the first capacity count value and the second capacity count value can be mAh, and the unit of the first voltage value and second voltage value can be V.
In one possible implementation, the first voltage value can be preset voltage value, at the time of the first moment can reach preset voltage value for the open-circuit voltage of battery;Second moment can be the charge cutoff moment, and second voltage value is blanking voltage.Wherein, at the charge cutoff moment, voltage possessed by battery is blanking voltage.Predeterminated voltage can be the voltage value near blanking voltage, and in the voltage segment limit close to blanking voltage, the capacity growth rate for calculating the battery of acquisition is more accurate.Illustratively, predeterminated voltage can be 4.2V, and blanking voltage can be 4.4V.
Wherein, the charge cutoff moment refers to, in battery charging process, electronic equipment determines that the capacity of battery reaches at the time of completely fill capacity.The charge cutoff moment of electronic equipment is not necessarily electronic equipment and at the time of charger disconnects, i.e. the charge cutoff moment of electronic equipment and charging stop timing is not identical concept.Specifically, the monitoring programme in electronic equipment can report charge cutoff message when battery charge cutoff, electronic equipment can determine that the moment is the charge cutoff moment.
Referring to Fig. 6, in above-mentioned steps 3022, electronic equipment is according to charge cycle number, charge cycle number reference interval, capacity growth rate and capacity growth rate reference value, determines that target battery model parameter table can specifically include following three kinds of situations from N number of battery model parameter list:
The first situation: the first charge cycle number reference interval where charge cycle number is corresponding In first battery model parameter list, the absolute value of the difference of the first capacity growth rate reference value and capacity growth rate is less than or equal to first threshold.In the case of this kind, step 3022 is specifically as follows following steps 401:
401, electronic equipment determines that the first battery model parameter list is target battery model parameter table.
When determining target battery model parameter table, electronic equipment can according to charge cycle number, this be able to reflect the parameter of cell degradation degree first, determines the corresponding first battery model parameter list of charge cycle number reference interval where charge cycle number.
For purposes of illustration only, the embodiment of the present invention is by with the N in table 1, for 5, the first battery model parameter list is the battery model parameter list T in table 13, battery model parameter list T3Corresponding charge cycle number reference interval is [200,300) to be illustrated for.
After determining the first battery model parameter list, when the first capacity growth rate reference value in the first battery model parameter list, when being less than or equal to first threshold with the absolute value for the difference for calculating the capacity growth rate obtained, it can illustrate that the corresponding first battery model parameter list of charge cycle number can be with the degree of aging accurate match of battery, thus electronic equipment can determine that the first battery model parameter list is target battery model parameter table.Wherein, the specific value of first threshold, which can according to need, is set, such as can be 5%.
When the absolute value of the first capacity growth rate reference value and the difference of capacity growth rate is greater than first threshold, it can be said that the charge cycle number of bright battery and the actual capacity growth rate of battery can not accurate match, target battery model parameter table can be determined according to the capacity growth rate of battery at this time.
Second situation: the absolute value of the difference of the first capacity growth rate reference value and capacity growth rate is greater than first threshold, and the first capacity growth rate reference value is greater than capacity growth rate.In the case of this kind, step 3022 is specifically as follows following steps 402:
402, the second battery model parameter list if it exists, the absolute value of the difference of the second capacity growth rate reference value and capacity growth rate that second battery model parameter list includes is less than or equal to first threshold, and second the corresponding second charge cycle number reference interval of battery model parameter list be greater than the first charge cycle number reference interval, then electronic equipment determines that the second battery model parameter list is target Battery model parameter list.
When the absolute value of the first capacity growth rate reference value and the difference for calculating the capacity growth rate obtained is greater than first threshold, and first capacity growth rate reference value be greater than capacity growth rate when, it can illustrate that capacity growth rate is more much smaller than the first capacity growth rate reference value, the practical degree of aging of battery degree of aging more corresponding than the first battery model parameter list is high.Thus, it is possible to the second battery model parameter list with the degree of aging accurate match of battery, it may be possible to the bigger battery model parameter list of charge cycle number in corresponding charge cycle number reference interval.
Therefore, electronic equipment can be from the charge cycle number in corresponding charge cycle number reference interval, in the bigger battery model parameter list of charge cycle number in charge cycle number reference interval more corresponding than the first battery model parameter list, a second battery model parameter list is determined whether there is, so that the absolute value of the difference of the second capacity growth rate reference value in the second battery model parameter list and capacity growth rate is less than or equal to first threshold.If it exists, then the second battery model parameter list is the target battery model parameter table for capableing of accurate match with the degree of aging of battery.Illustratively, as the battery model parameter list T that the first battery model parameter list is in table 13When, electronic equipment can sequentially determine battery model parameter list T3Battery model parameter list T later4And T5In, if there is the second battery model parameter list for meeting above-mentioned condition.
And, after determining that the second battery model parameter list is target battery model parameter table, the adjustable charging total amount of electronic equipment and charge cycle number, to adjust charge cycle number to the corresponding second charge cycle number reference interval of the second battery model parameter list, so that electronic equipment is subsequent quickly and accurately to determine target battery model parameter table according to charge cycle number adjusted.Specifically, if the corresponding second charge cycle number reference interval of the second battery model parameter list be [a, b), charge cycle number can be adjusted to boundary value a by electronic equipment, the arbitrary value that can also be adjusted to charge cycle number between (a, b).
When there is no the second battery model parameter list of the condition met in above-mentioned steps 402, can illustrate there is no than the first battery model parameter list more can accurate match battery degree of aging other battery model parameter lists, thus electronic equipment can execute above-mentioned steps 401, determine that the first battery model parameter list is target battery model parameter table.
The third situation: the first capacity growth rate reference value is absolute with the difference of capacity growth rate Value is greater than first threshold, and the first capacity growth rate reference value is less than capacity growth rate.In the case of this kind, step 3022 is specially following steps 403:
403, third battery model parameter list if it exists, the absolute value of the difference of third capacity growth rate reference value and capacity growth rate in third battery model parameter list is less than or equal to first threshold, and the corresponding third charge cycle number reference interval of third battery model parameter list is less than the first charge cycle number reference interval, it is determined that third battery model parameter list is target battery model parameter table.
When the absolute value of the first capacity growth rate reference value and the difference for calculating the capacity growth rate obtained is greater than first threshold, and first capacity growth rate reference value be less than capacity growth rate when, it can illustrate that capacity growth rate is more much larger than the first capacity growth rate reference value, the practical degree of aging of battery degree of aging more corresponding than the first battery model parameter list is low.Thus, it is possible to the third battery model parameter list with the degree of aging accurate match of battery, it may be possible to the smaller battery model parameter list of charge cycle number in corresponding charge cycle number reference interval.
Therefore, electronic equipment can be from the charge cycle number in corresponding charge cycle number reference interval, in the smaller battery model parameter list of charge cycle number in charge cycle number reference interval more corresponding than the first battery model parameter list, a third battery model parameter list is determined whether there is, so that the absolute value of the difference of the third capacity growth rate reference value in third battery model parameter list and capacity growth rate is less than or equal to first threshold.If it exists, then the third battery model parameter list is the target battery model parameter table for capableing of accurate match with the degree of aging of battery.Illustratively, as the battery model parameter list T that the first battery model parameter list is in table 13When, electronic equipment can sequentially determine battery model parameter list T3Battery model parameter list T before2And T1In, if there is the third battery model parameter list for meeting above-mentioned condition.
And, after determining that third battery model parameter list is target battery model parameter table, the adjustable charging total amount of electronic equipment and charge cycle number, to adjust charge cycle number to the corresponding third charge cycle number reference interval of third battery model parameter list, so that electronic equipment is subsequent quickly and accurately to determine target battery model parameter table according to charge cycle number adjusted.Specifically, if the corresponding second charge cycle number reference interval of the second battery model parameter list be [c, d), charge cycle number can be adjusted to boundary value c by electronic equipment, The arbitrary value that can be adjusted to charge cycle number between (c, d).
When there is no the third battery model parameter list of the condition met in above-mentioned steps 403, can illustrate there is no than the first battery model parameter list more can accurate match battery degree of aging other battery model parameter lists, thus electronic equipment can execute above-mentioned steps 401, determine that the first battery model parameter list is target battery model parameter table.
Further, after the above step 304, method provided in an embodiment of the present invention can also include:
305, when electronic equipment, this difference for calculating the capacity growth rate that the capacity growth rate obtained is obtained with last calculating is greater than second threshold, the total amount that will charge is reset.
Wherein, second threshold can be greater than first threshold, and the specific value of second threshold, which can be actually needed, to be set, such as second threshold can be 10%.Under normal conditions, with the increase of use time, the increase of charging-discharging cycle number, the capacity growth rate of battery is gradually reduced, when electronic equipment determines that this calculates the capacity growth rate of acquisition and the last difference for calculating the capacity growth rate obtained greater than second threshold, illustrate that the capacity growth rate of battery significantly increases, then electronic equipment may replace one piece of new battery, or the lower battery of degree of aging, and the charging total amount and charge cycle number currently saved in electronic equipment, the corresponding parameter of used batteries used before being, thus electronic equipment needs to reset the charging total amount of preservation, and add up charging total amount again, to according to again accumulative charging total amount, the corresponding charging-discharging cycle number of battery after calculating replacement.
Optionally, in above-mentioned steps 302, electronic equipment specifically, according to charge cycle number, can determine target battery model parameter table at the matching moment from N number of battery model parameter list.The specific time point at matching moment can be configured according to actual needs, so that electronic equipment will not influence the direct experience effect of user when the matching moment the upper battery model parameter list once loaded being switched to load target battery model parameter table.Optionally, the matching moment may include the booting moment, shutdown moment or charge cutoff moment of electronic equipment.
Furthermore, if the corresponding charge cycle number reference interval of the battery model parameter list currently loaded is [e, f), current charge cycle number is g, then when (g-f)/(f-e) is greater than third threshold value, it can illustrate charge cycle number and the matching status of battery model parameter list that currently loads numerous imbalances, electronic equipment may not matched for a long time and switch new target battery model parameter table, electronic equipment needs match new target battery model parameter table again as early as possible, so that the battery model parameter list of load is matched with the holding of the degree of aging of battery.At this point, the matching moment can also include the dormancy awakening moment of electronic equipment, so that electronic equipment can match new target battery model parameter table again at the dormancy awakening moment, and the direct experience effect of user will not influence.
Wherein, the specific value of third threshold value can be set according to actual needs, such as can be 30%.Illustratively, if the corresponding charge cycle number reference interval of the battery model parameter list currently loaded is [100,200), current charge cycle number is 240, then 240 and 200 difference is 40, [100,200) siding-to-siding block length is that the ratio of 200-100=100,40 and 100 is 40%, is greater than preset third threshold value 30%, thus at next dormancy awakening moment, electronic equipment can match again and load new target battery model parameter table.
In the electricity calculation method that the above embodiment of the present invention provides, electronic equipment combined charge periodicity and capacity growth rate, the target battery model parameter table to match with the degree of aging of battery can be more accurately determined, so as to accurately calculate the charge value of battery according to target battery model parameter table.
Another embodiment of the present invention additionally provides a kind of electronic equipment 700, and N number of battery model parameter list is preserved in the electronic equipment 700, and N is the integer greater than 1.Referring to Fig. 7, which may include: the first computing unit 701, determination unit 702, the second computing unit 703, third computing unit 704 and processing unit 705.Wherein, the first computing unit 701 can be used for, and calculate the charge cycle number of battery;Determination unit 702 can be used for, and according to charge cycle number, target battery model parameter table is determined from N number of battery model parameter list;Second computing unit 703 can be used for, and the charge value of battery is calculated according to target battery model parameter meter.
Further, third computing unit 704 can be used for executing the step 304 in Fig. 5, determine Unit 702 specifically can be used for executing the step 3022 in Fig. 5, and determination unit 702 can be also used for executing the step 401-403 in Fig. 6.In addition, the electronic equipment 700 in Fig. 7 can be used for executing any process in above method process, this will not be detailed here for the embodiment of the present invention.
Further, electronic equipment 700 in Fig. 7 is presented in the form of functional unit.Here " unit " can refer to application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), circuit, execute the processor and memory of one or more softwares or firmware program, integrated logic circuit and/or other device of above-mentioned function can be provided.In a simple embodiment, those skilled in the art is contemplated that the electronic equipment 700 in Fig. 7 can use form shown in Fig. 8.Each unit can be realized by the processor and memory of Fig. 8.
As shown in figure 8, electronic equipment 800 may include processor 801 and memory 802.Wherein, processor 801 may include one or more multi-core processors.Processor 801 specifically can be a general processor, specific integrated circuit or digital signal processor (Digital Signal Processing, DSP).Memory 802 can be the storage medium of non-transient, be coupled with processor 801, for saving different types of data.Memory 802 may include read-only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM) or the other kinds of dynamic memory that can store information and instruction, are also possible to magnetic disk storage.Memory 802 can be used for saving the instruction for realizing electricity value calculating method.When processor executes instruction, which makes electronic equipment 800 execute the correlation step in Fig. 3-Fig. 6.
Electronic equipment 800 can realize that embodiment according to the present invention executes one or more instructions and carries out charge value calculating to trigger.These instructions are storable in memory 802, may alternatively be integrated in the kernel of operating system or the plug-in unit of kernel.
The embodiment of the invention also provides a kind of computer storage mediums, and for being stored as the computer software instructions of electronic equipments shown in above-mentioned shown in Fig. 7 or Fig. 8, it includes for executing program designed by above method embodiment.By executing the program of storage, charge value calculating may be implemented.
Those of ordinary skill in the art should be recognized that all or part of subject matters of the application can be implemented in the software for combining hardware and/or firmware.For example, subject matter described herein can be implemented in the software that one or more processors execute.In an illustrative embodiments, the non-transitory computer-readable medium for being stored with computer executable instructions can be used to implement for subject matter described herein, at computer When reason device executes the computer executable instructions, which controls computer executed step.The example computer readable mediums for being adapted for carrying out subject matter described herein include non-transitory computer-readable medium, such as disk memory devices, chip memory devices, programmable logic device and specific integrated circuit.In addition, implementing the computer-readable medium of subject matter described herein can be located in individual equipment or computing platform, or can distribute in multiple equipment or computing platform.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although the present invention is described in detail referring to the foregoing embodiments, those skilled in the art should understand that: it is still possible to modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And these are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (22)

  1. A kind of electricity value calculating method is applied to electronic equipment, which is characterized in that N number of battery model parameter list is preserved in the electronic equipment, N is the integer greater than 1, which comprises
    Calculate the charge cycle number of battery;
    According to the charge cycle number, target battery model parameter table is determined from N number of battery model parameter list;
    The charge value of battery is calculated according to the target battery model parameter meter.
  2. The method according to claim 1, wherein it is described according to the charge cycle number, determine that target battery model parameter table includes: from N number of battery model parameter list
    At the matching moment, according to the charge cycle number, target battery model parameter table is determined from N number of battery model parameter list;Wherein, the matching moment includes the booting moment, shutdown moment or charge cutoff moment of the electronic equipment.
  3. Method according to claim 1 or 2, which is characterized in that it is described calculate battery charge cycle number include:
    When establishing connection with charger, the first charge value is recorded;
    When disconnecting with charger, the second charge value is recorded;
    When second charge value is greater than first charge value, the difference of second charge value and first charge value is added in charging total amount;
    According to the charging total amount, the charge cycle number is calculated.
  4. Method according to claim 1-3, which is characterized in that each corresponding charge cycle number reference interval of the battery model parameter list;It is described according to the charge cycle number, determine that target battery model parameter table includes: from N number of battery model parameter list
    Determine the corresponding first battery model parameter list of the first charge cycle number reference interval where the charge cycle number, the first battery model parameter list is the target battery model parameter table.
  5. Method according to claim 1-3, which is characterized in that each corresponding charge cycle number reference interval of the battery model parameter list;The battery model parameter list further includes capacity growth rate reference value;The method also includes:
    Calculate the capacity growth rate of battery;
    It is described according to the charge cycle number, determine that target battery model parameter table includes: from N number of battery model parameter list
    According to the charge cycle number, the charge cycle number reference interval, the capacity growth rate and the capacity growth rate reference value determine the target battery model parameter table from N number of battery model parameter list.
  6. According to the method for claim 5, it is characterized in that, it is described according to the charge cycle number, charge cycle number reference interval, the capacity growth rate and the capacity growth rate reference value determine that the target battery model parameter table includes: from N number of battery model parameter list
    When in the corresponding first battery model parameter list of the first charge cycle number reference interval where the charge cycle number, when the absolute value of the difference of first capacity growth rate reference value and the capacity growth rate is less than or equal to first threshold, determine that the first battery model parameter list is the target battery model parameter table.
  7. According to the method described in claim 6, it is characterized in that, the method also includes:
    When the absolute value of the first capacity growth rate reference value and the difference of the capacity growth rate is greater than first threshold, and the first capacity growth rate reference value is greater than the capacity growth rate,
    Second battery model parameter list if it exists, the absolute value of the difference of the second capacity growth rate reference value and the capacity growth rate in the second battery model parameter list is less than or equal to first threshold, and the corresponding second charge cycle number reference interval of the second battery model parameter list is greater than the first charge cycle number reference interval, it is determined that the second battery model parameter list is the target battery model parameter table;
    If it does not exist, it is determined that the first battery model parameter list is the target battery model parameter table.
  8. Method according to claim 6 or 7, which is characterized in that the method also includes:
    When the absolute value of the first capacity growth rate reference value and the difference of the capacity growth rate is greater than first threshold, and the first capacity growth rate reference value is less than the capacity growth rate,
    The absolute value of third battery model parameter list if it exists, the difference of third capacity growth rate reference value and the capacity growth rate in the third battery model parameter list is less than or equal to first Threshold value, and the corresponding third charge cycle number reference interval of the third battery model parameter list is less than the first charge cycle number reference interval, it is determined that the third battery model parameter list is the target battery model parameter table;
    If it does not exist, it is determined that the first battery model parameter list is the target battery model parameter table.
  9. According to the described in any item methods of claim 5-8, which is characterized in that it is described calculate battery capacity growth rate include:
    The first moment during the charging process records the first voltage value of battery and the first capacity count value of Coulomb meter;
    The second moment during the charging process records the second voltage value of battery and the second capacity count value of Coulomb meter;
    According to the first voltage value, the first capacity count value, the second voltage value and the second capacity count value, the capacity growth rate is calculated.
  10. According to the described in any item methods of claim 5-9, which is characterized in that the method also includes:
    When this calculates the capacity growth rate obtained and the last difference for calculating the capacity growth rate obtained is greater than second threshold, charging total amount is reset.
  11. A kind of electronic equipment, which is characterized in that N number of battery model parameter list is preserved in the electronic equipment, N is the integer greater than 1, and the electronic equipment includes:
    First computing unit, for calculating the charge cycle number of battery;
    Determination unit, for determining target battery model parameter table from N number of battery model parameter list according to the charge cycle number;
    Second computing unit, for calculating the charge value of battery according to the target battery model parameter meter.
  12. Electronic equipment according to claim 11, which is characterized in that the determination unit is specifically used for:
    At the matching moment, according to the charge cycle number, target battery model parameter table is determined from N number of battery model parameter list;Wherein, the matching moment includes the booting moment, shutdown moment or charge cutoff moment of the electronic equipment.
  13. Electronic equipment according to claim 11 or 12, which is characterized in that first computing unit is specifically used for:
    When establishing connection with charger, the first charge value is recorded;
    When disconnecting with charger, the second charge value is recorded;
    When second charge value is greater than first charge value, the difference of second charge value and first charge value is added in charging total amount;
    According to the charging total amount, the charge cycle number is calculated.
  14. The described in any item electronic equipments of 1-13 according to claim 1, which is characterized in that each corresponding charge cycle number reference interval of the battery model parameter list;The determination unit is specifically used for:
    Determine the corresponding first battery model parameter list of the first charge cycle number reference interval where the charge cycle number, the first battery model parameter list is the target battery model parameter table.
  15. The described in any item electronic equipments of 1-13 according to claim 1, which is characterized in that each corresponding charge cycle number reference interval of the battery model parameter list;The battery model parameter list further includes capacity growth rate reference value;The electronic equipment further include:
    Third computing unit, for calculating the capacity growth rate of battery;
    The determination unit is specifically used for:
    According to the charge cycle number, the charge cycle number reference interval, the capacity growth rate and the capacity growth rate reference value determine the target battery model parameter table from N number of battery model parameter list.
  16. Electronic equipment according to claim 15, which is characterized in that the determination unit is specifically used for:
    Determine the corresponding first battery model parameter list of the first charge cycle number reference interval where the charge cycle number;
    When the capacity growth rate reference value in the first battery model parameter list, when being less than or equal to first threshold with the absolute value of the difference of the capacity growth rate, determine that the first battery model parameter list is the target battery model parameter table.
  17. Electronic equipment according to claim 16, which is characterized in that described determining single Member is also used to:
    When the first capacity growth rate reference value in the first battery model parameter list, it is greater than first threshold with the absolute value of the difference of the capacity growth rate, and when the first capacity growth rate reference value is greater than the capacity growth rate,
    Second battery model parameter list if it exists, the second capacity growth rate reference value that the second battery model parameter list includes, it is less than or equal to first threshold with the absolute value of the difference of the capacity growth rate, and the corresponding second charge cycle number reference interval of the second battery model parameter list is greater than the first charge cycle number reference interval, it is determined that the second battery model parameter list is the target battery model parameter table;
    If it does not exist, it is determined that the first battery model parameter list is the target battery model parameter table.
  18. Electronic equipment according to claim 16 or 17, which is characterized in that the determination unit is also used to:
    When the first capacity growth rate reference value in the first battery model parameter list, it is greater than first threshold with the absolute value of the difference of the capacity growth rate, and when the first capacity growth rate reference value is less than the capacity growth rate,
    Third battery model parameter list if it exists, the third capacity growth rate reference value that the third battery model parameter list includes, it is less than or equal to first threshold with the absolute value of the difference of the capacity growth rate, and the corresponding third charge cycle number reference interval of the third battery model parameter list is less than the first charge cycle number reference interval, it is determined that the third battery model parameter list is the target battery model parameter table;
    If it does not exist, it is determined that the first battery model parameter list is the target battery model parameter table.
  19. The described in any item electronic equipments of 5-18 according to claim 1, which is characterized in that the third computing unit is specifically used for:
    The first moment during the charging process records the first voltage value of battery and the first capacity count value of Coulomb meter;
    The second moment during the charging process records the second voltage value of battery and the second capacity count value of Coulomb meter;
    According to the first voltage value, the first capacity count value, the second voltage value and the second capacity count value, the capacity growth rate is calculated.
  20. The described in any item electronic equipments of 5-19 according to claim 1, which is characterized in that the electronic equipment further include:
    Processing unit, for the capacity growth rate when this calculating acquisition of second computing unit, when the difference of the capacity growth rate obtained with last calculating is greater than second threshold, the total amount that will charge is reset.
  21. A kind of electronic equipment, it is characterized in that, including memory and processor, the processor is coupled with the memory, and the memory is for storing N number of battery model parameter list and computer executable program code, N is the integer greater than 1, said program code includes instruction, and when the processor executes described instruction, described instruction makes the electronic equipment execute -10 described in any item methods according to claim 1.
  22. A kind of computer readable storage medium storing one or more programs, which is characterized in that one or more of programs include instruction, and described instruction makes the electronic equipment execute the method described according to any of claims 1 to 10 when being executed by electronic equipment.
CN201680066771.8A 2016-10-14 2016-10-14 Electric quantity value calculation method, electronic equipment and storage medium Active CN108351386B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/102222 WO2018068329A1 (en) 2016-10-14 2016-10-14 Power capacity value calculation method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN108351386A true CN108351386A (en) 2018-07-31
CN108351386B CN108351386B (en) 2021-04-09

Family

ID=61905074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680066771.8A Active CN108351386B (en) 2016-10-14 2016-10-14 Electric quantity value calculation method, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108351386B (en)
WO (1) WO2018068329A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609188A (en) * 2019-09-25 2019-12-24 潍柴动力股份有限公司 Method, device and equipment for detecting aging of oil quantity metering unit
CN113162164A (en) * 2021-04-09 2021-07-23 Tcl通讯(宁波)有限公司 Battery electric quantity display method, terminal and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138175A1 (en) * 2008-12-02 2010-06-03 Broadcom Corporation Method for accurate battery run time estimation utilizing load-condition voltage
CN102306943A (en) * 2011-09-15 2012-01-04 河北工业大学 Lithium ion battery management system
CN102331560A (en) * 2011-05-16 2012-01-25 中国科学院上海微***与信息技术研究所 Method for estimating state of charge of nickel-metal hydride battery
CN103675702A (en) * 2013-12-04 2014-03-26 清华大学 Method for evaluating state of health battery in real time
CN103698714A (en) * 2014-01-02 2014-04-02 清华大学 Identifying method and system for battery capacity fading mechanism
CN103852727A (en) * 2014-02-14 2014-06-11 清华大学深圳研究生院 Method and device for estimating power battery charge state on line
WO2015031437A1 (en) * 2013-08-27 2015-03-05 The Regents Of The University Of Michigan On-board state of health monitoring of batteries using incremental capacity analysis
CN104991196A (en) * 2015-06-30 2015-10-21 上海斐讯数据通信技术有限公司 Battery power measurement method
CN105319507A (en) * 2014-06-05 2016-02-10 福特全球技术公司 Method and System for Estimating Battery Model Parameters
CN105334466A (en) * 2015-09-28 2016-02-17 Tcl移动通信科技(宁波)有限公司 Method for accurately displaying total battery electric quantity of mobile terminal and system thereof
CN105353313A (en) * 2015-09-28 2016-02-24 欣旺达电子股份有限公司 Estimation method of battery state of charge and estimation device of battery state of charge
CN105717455A (en) * 2016-01-30 2016-06-29 清华大学 Selection method for single battery SOC (State of Charge) and capacity estimation algorithm of battery pack

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138175A1 (en) * 2008-12-02 2010-06-03 Broadcom Corporation Method for accurate battery run time estimation utilizing load-condition voltage
CN102331560A (en) * 2011-05-16 2012-01-25 中国科学院上海微***与信息技术研究所 Method for estimating state of charge of nickel-metal hydride battery
CN102306943A (en) * 2011-09-15 2012-01-04 河北工业大学 Lithium ion battery management system
WO2015031437A1 (en) * 2013-08-27 2015-03-05 The Regents Of The University Of Michigan On-board state of health monitoring of batteries using incremental capacity analysis
CN103675702A (en) * 2013-12-04 2014-03-26 清华大学 Method for evaluating state of health battery in real time
CN103698714A (en) * 2014-01-02 2014-04-02 清华大学 Identifying method and system for battery capacity fading mechanism
CN103852727A (en) * 2014-02-14 2014-06-11 清华大学深圳研究生院 Method and device for estimating power battery charge state on line
CN105319507A (en) * 2014-06-05 2016-02-10 福特全球技术公司 Method and System for Estimating Battery Model Parameters
CN104991196A (en) * 2015-06-30 2015-10-21 上海斐讯数据通信技术有限公司 Battery power measurement method
CN105334466A (en) * 2015-09-28 2016-02-17 Tcl移动通信科技(宁波)有限公司 Method for accurately displaying total battery electric quantity of mobile terminal and system thereof
CN105353313A (en) * 2015-09-28 2016-02-24 欣旺达电子股份有限公司 Estimation method of battery state of charge and estimation device of battery state of charge
CN105717455A (en) * 2016-01-30 2016-06-29 清华大学 Selection method for single battery SOC (State of Charge) and capacity estimation algorithm of battery pack

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马泽宇等: "《基于容量增量分析的石墨负极磷酸铁锂电池SOC估算方法研究》", 《汽车工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609188A (en) * 2019-09-25 2019-12-24 潍柴动力股份有限公司 Method, device and equipment for detecting aging of oil quantity metering unit
CN113162164A (en) * 2021-04-09 2021-07-23 Tcl通讯(宁波)有限公司 Battery electric quantity display method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2018068329A1 (en) 2018-04-19
CN108351386B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN107436418B (en) Method, terminal and device for calibrating electric quantity attenuation of battery
WO2018129997A1 (en) Charging control method, charging control device and terminal
KR102414226B1 (en) Electronic device and method for controlling based on leakage state of battery in electronic device
US10424958B2 (en) Charging method and apparatus for rechargeable battery
CN106646256B (en) Battery capacity calculating method
CN106772091B (en) Method and device for updating battery capacity value and terminal
CN112540304B (en) Battery power management method, electronic device and computer storage medium
EP2851700A1 (en) Method and terminal for displaying capacity of battery
CN106574948B (en) A kind of electricity estimation method and terminal
WO2015078200A1 (en) Charging method and device
CN112858938B (en) Electric quantity calculation method and device, storage medium and electronic equipment
WO2022218046A1 (en) Battery charging method and electronic device
WO2019091163A1 (en) Battery equalization apparatus and method, and unmanned aerial machine
WO2024067388A1 (en) Method and system for estimating state of health of battery, and device and medium
CN110687458A (en) Terminal battery electric quantity determination method and device
CN104765396A (en) Mobile terminal based shutdown voltage dynamic adjusting method and system
CN109450013A (en) A kind of management method and device of base station battery
WO2020005196A1 (en) Battery state estimation
CN108351386A (en) A kind of electricity value calculating method, electronic equipment and storage medium
CN103700900B (en) Control method, device, system and the mobile terminal of mobile terminal charging
CN112698229B (en) Short-circuit current detection method and device, readable storage medium and electronic equipment
CN110244229A (en) Battery control method and electronic equipment
CN116111659A (en) Charging circuit, method, device, electronic equipment and medium
WO2021031779A1 (en) Charging method, terminal, and computer readable storage medium
WO2018049303A1 (en) Portable electronic device with accessible-charge indicator

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
GR01 Patent grant
GR01 Patent grant