CN108594124A - A kind of detection method and electronic equipment of battery - Google Patents

A kind of detection method and electronic equipment of battery Download PDF

Info

Publication number
CN108594124A
CN108594124A CN201810291194.3A CN201810291194A CN108594124A CN 108594124 A CN108594124 A CN 108594124A CN 201810291194 A CN201810291194 A CN 201810291194A CN 108594124 A CN108594124 A CN 108594124A
Authority
CN
China
Prior art keywords
discharge capacity
battery
capacity
electronic equipment
net
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810291194.3A
Other languages
Chinese (zh)
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.)
Guangdong Xiaotiancai Technology Co Ltd
Original Assignee
Guangdong Xiaotiancai Technology 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 Guangdong Xiaotiancai Technology Co Ltd filed Critical Guangdong Xiaotiancai Technology Co Ltd
Priority to CN201810291194.3A priority Critical patent/CN108594124A/en
Publication of CN108594124A publication Critical patent/CN108594124A/en
Pending legal-status Critical Current

Links

Abstract

The present invention relates to technical field of electronic equipment, disclose a kind of detection method and electronic equipment of battery, including:When the battery of electronic equipment is discharged to zero power from Full Charge Capacity, the net discharge capacity of battery in this discharge process can be accurately got, by the way that currently net discharge capacity is made comparisons with the net discharge capacity of standard by battery, identifies the currently used service life of battery.It can be seen that, implement the embodiment of the present invention, the net discharge capacity of zero power can be discharged to from Full Charge Capacity by acquisition battery, detect the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensure battery long enough, to improve the usage experience of user.

Description

A kind of detection method and electronic equipment of battery
Technical field
The present invention relates to technical field of electronic equipment, and in particular to the detection method and electronics of a kind of battery are set It is standby.
Background technology
Currently, the electronic equipments such as smart mobile phone, study tablet are all to maintain to work normally by battery powered, however, The battery of electronic equipment internal resistance of cell after using after a period of time will increase, therefore battery capacity can reduce.Battery capacity Lower, the service life of battery is also shorter.When battery capacity reduce to a certain extent, battery will can not normal use, from And electronic equipment is caused also to can not work normally.
Invention content
The embodiment of the present invention discloses a kind of detection method and electronic equipment of battery, can detect making for battery With the service life, the case where avoiding electronic equipment from can not work normally.
First aspect of the embodiment of the present invention discloses a kind of detection method of battery, the method includes:
The battery for detecting electronic equipment discharges into the current net discharge capacity that zero power obtains from Full Charge Capacity, described current net Discharge capacity be the battery from Full Charge Capacity discharge into zero power during total discharge capacity and total charging capacity difference Absolute value;
The net discharge capacity of standard for comparing the current net discharge capacity and obtaining in advance, identifies that the current of the battery makes Use the service life.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the electricity of the detection electronic equipment Pond discharges into the current net discharge capacity that zero power obtains from Full Charge Capacity, including:
During the battery of the electronic equipment discharges into zero power from Full Charge Capacity, it is each to record the electronic equipment Sub- charging capacity when charging and electron discharge capacity when electric discharge every time;
The sum of all sub- charging capacitys are determined as total charging capacity, and the sum of all electron discharge capacity are determined as always putting Capacitance;
The absolute value of total discharge capacity and the difference of total charging capacity is determined as working as the electronic equipment Preceding net discharge capacity.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the electricity of the detection electronic equipment Before the current net discharge capacity that Full Charge Capacity discharges into that zero power obtains, the method further includes in pond:
The battery that continuous n times detect the electronic equipment is discharged to zero power from Full Charge Capacity, obtains N number of net discharge capacity;
The average value of N number of net discharge capacity is calculated, and the average value is determined as the net discharge capacity of standard.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described currently to put only Capacitance and the net discharge capacity of the standard obtained in advance, identify the currently used service life of the battery, including:
Obtain the net discharge capacity difference of the current net discharge capacity and the net discharge capacity of standard obtained in advance;
Calculate the absolute value of the net discharge capacity difference and the net discharge capacity ratio of the net discharge capacity of the standard;
Identify the currently used of the battery corresponding with the net discharge capacity ratio in preset battery life curve In the service life, what the battery life curve indicated is the relationship of net the discharge capacity ratio and battery life.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to calculate the net electric discharge appearance After measuring the absolute value of difference and the net discharge capacity ratio of the net discharge capacity of the standard, the method further includes:
Judge whether the net discharge capacity ratio is greater than or equal to default threshold value;
When the net discharge capacity ratio is greater than or equal to the default alert threshold, output shows that battery altering carries It wakes up.
Second aspect of the embodiment of the present invention discloses a kind of electronic equipment, including:
First detection unit, for detect the battery of the electronic equipment from Full Charge Capacity discharge into zero power obtain it is current Net discharge capacity, the current net discharge capacity be the battery from Full Charge Capacity discharge into zero power during total discharge capacity With the absolute value of the difference of total charging capacity;
Comparing unit identifies institute for the current net discharge capacity and the net discharge capacity of standard obtained in advance State the currently used service life of battery.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the first detection unit includes:
Subelement is recorded, for during the battery of the electronic equipment discharges into zero power from Full Charge Capacity, recording Sub- charging capacity when the electronic equipment charges every time and electron discharge capacity when electric discharge every time;
First determination subelement for the sum of all sub- charging capacitys to be determined as total charging capacity, and all sons is put The sum of capacitance is determined as total discharge capacity;
Second determination subelement, for determining the absolute value of total discharge capacity and the difference of total charging capacity For the current net discharge capacity of the electronic equipment.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the electronic equipment further includes:
Second detection unit, the battery for detecting the electronic equipment in the first detection unit discharge from Full Charge Capacity Before the current net discharge capacity obtained to zero power, the battery that continuous n times detect the electronic equipment is put from Full Charge Capacity Electricity obtains N number of net discharge capacity to zero power;
Computing unit, the average value for calculating N number of net discharge capacity;
Determination unit for the average value to be determined as the net discharge capacity of standard, and triggers the first detection unit The battery for executing the detection electronic equipment discharges into the current net discharge capacity that zero power obtains from Full Charge Capacity.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the comparing unit includes:
Subelement is obtained, is put with the net of the net discharge capacity of standard obtained in advance for obtaining the current net discharge capacity Capacitance difference;
Computation subunit, for calculating the net of the absolute value of the net discharge capacity difference and the net discharge capacity of the standard Discharge capacity ratio;
Identify subelement, it is corresponding with the net discharge capacity ratio described in preset battery life curve for identification In the currently used service life of battery, what the battery life curve indicated is the pass of net the discharge capacity ratio and battery life System.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the comparing unit further includes:
Judgment sub-unit, the absolute value for calculating the net discharge capacity difference in the computation subunit and the mark After the net discharge capacity ratio of accurate net discharge capacity, judge whether the net discharge capacity ratio is greater than or equal to default forecast Threshold value;
Subelement is exported, when the result for judging when the judgment sub-unit is is, output shows that battery altering is reminded.
The third aspect of the embodiment of the present invention discloses another electronic equipment, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the arbitrary of first aspect A kind of some or all of method step.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, the computer readable storage medium Store program code, wherein said program code includes the part or complete of any one method for executing first aspect The instruction of portion's step.
The 5th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine so that the computer executes some or all of any one method of first aspect step.
The aspect of the embodiment of the present invention the 6th disclose it is a kind of applying distribution platform, the application distribution platform is for publication calculating Machine program product, wherein when the computer program product is run on computers so that the computer executes first party Some or all of any one method in face step.
Compared with prior art, the embodiment of the present invention has the advantages that:
It, can be accurate when the battery of electronic equipment is discharged to zero power from Full Charge Capacity in the embodiment of the present invention The net discharge capacity for getting battery in this discharge process, by by battery currently net discharge capacity and the net discharge capacity of standard It makes comparisons, identifies the currently used service life of battery.As it can be seen that implement the embodiment of the present invention, it can be by obtaining battery from Full Charge Capacity It is discharged to the net discharge capacity of zero power, detects the currently used service life of battery, so that electronic equipment is in battery capacity abundance In the case of use, ensure battery long enough, to improve the usage experience of user.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of the detection method of battery disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the detection method of another battery disclosed by the embodiments of the present invention;
Fig. 3 is the battery of a kind of electronic equipment disclosed by the embodiments of the present invention from during Full Charge Capacity discharges into zero power Charge and discharge electrical schematic;
Fig. 4 is the flow diagram of the detection method of another battery disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that the term " comprising " and " having " in the embodiment of the present invention and attached drawing and their any changes Shape, it is intended that cover and non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or Equipment is not limited to the step of having listed or unit, but further includes the steps that optionally not listing or unit or optional Ground further includes for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention discloses a kind of detection method and electronic equipment of battery, can detect making for battery With the service life, it is ensured that electronic equipment works normally.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of flow signal of the detection method of battery disclosed by the embodiments of the present invention Figure.As shown in Figure 1, the detection method of the battery may comprise steps of:
101, the battery of electronic equipment detection electronic equipment discharges into the current net electric discharge that zero power obtains from Full Charge Capacity and holds Amount, the current net discharge capacity be battery from Full Charge Capacity discharge into zero power during total discharge capacity and total charging capacity The absolute value of difference.
In the embodiment of the present invention, electronic equipment can be smart mobile phone, tablet computer or wearable device (sports watch) Deng in this regard, the embodiment of the present invention does not limit.
In the embodiment of the present invention, the Full Charge Capacity of the battery of electronic equipment can be that battery is in full state, can also be For battery dump energy close to the state of preset upper limit value (such as residual power percentage is 100%), the zero power of battery can be with It is battery by the state of all electricity all discharge offs, can also be battery dump energy close to preset lower limiting value (as remaining Electricity percentage is state 0).There may be batteries to be charged and discharged friendship during battery discharges into zero power from Full Charge Capacity The case where for occurring, the case where being charged and discharged while occurring there may also be battery, there may also be the feelings that battery only discharges Condition, in this regard, the embodiment of the present invention does not limit.When battery is from during Full Charge Capacity discharges into zero power, when charging, Electronic equipment can record the sum of the charge capacity that battery charges every time and all charge capacities, and by the sum of the charge capacity It is determined as total charging capacity, when discharging, electronic equipment can calculate the discharge electricity amount and calculating that battery discharges every time The sum of all discharge electricity amounts, and the sum of the discharge electricity amount is determined as total discharge capacity.Battery discharges into zero power from Full Charge Capacity The current net discharge capacity obtained can be the absolute value of total discharge capacity and the difference of total charging capacity.
In the embodiment of the present invention, electronic equipment discharges into zero power in addition to that can detect the battery of electronic equipment from Full Charge Capacity The current net discharge capacity obtained can also detect the residue electricity of battery during battery discharges into zero power from Full Charge Capacity Amount, and prompt remaining battery to use duration to user.
As an alternative embodiment, the remaining capacity of electronic equipment detection battery may comprise steps of:
Electronic equipment detects the present discharge voltage and present discharge electric current of the battery of electronic equipment;
Electronic equipment is according to the discharge curve of preset battery and above-mentioned present discharge voltage and present discharge galvanometer Calculate the current residual electricity of battery;
The residue that current residual electricity is scaled battery by electronic equipment uses duration, and the residue is exported using duration It is shown on the screen of electronic equipment.
Wherein, implement this embodiment, it is current battery can be detected while detecting the remaining life of battery Remaining capacity, and can by the remaining capacity of battery residue using export display by way of duration, avoid electronics from setting Standby user guesses that the residue of battery uses duration according to battery dump energy percentage, gives user and more intuitively uses Experience.
102, the net discharge capacity of standard electronic equipment relatively more current net discharge capacity and obtained in advance, identifies working as battery Preceding service life.
In the embodiment of the present invention, the net discharge capacity of standard obtained in advance can be according to battery net discharge capacity meter early period It obtains, can also be to pre-deposit battery initial capacity in electronic equipment as the net discharge capacity of standard.
In the embodiment of the present invention, electronic equipment can compare the difference of current net discharge capacity and the net discharge capacity of standard, If the absolute value of the difference is bigger, it is believed that the capacity of battery is lower, and the service life of battery is also shorter.Currently put only The difference of capacitance and the net discharge capacity of standard can be proportionate with the currently used service life of battery, if the absolute value of the difference Excessive, the currently used service life of battery is too short, is unable to maintain that electronic equipment normal use.
In the method described in Fig. 1, electronic equipment can be discharged to the net of zero power by obtaining battery from Full Charge Capacity Discharge capacity detects the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensures Battery long enough, to improve the usage experience of user.In addition, implementing method described in Fig. 1, can detect Battery current remaining capacity is detected while the remaining life of battery, and the remaining capacity of battery can be passed through surplus The remaining mode using duration exports display, and the user of electronic equipment is avoided to guess battery according to battery dump energy percentage Residue uses duration, gives the more intuitive usage experience of user.
Embodiment two
Referring to Fig. 2, the flow that Fig. 2 is the detection method of another battery disclosed by the embodiments of the present invention is shown It is intended to.As shown in Fig. 2, the detection method of the battery may comprise steps of:
201, the battery of the continuous n times detection electronic equipment of electronic equipment is discharged to zero power from Full Charge Capacity, and acquisition is N number of to put only Capacitance.
In the embodiment of the present invention, N can be the number that user is voluntarily arranged, and can also be the preset number of electronic equipment, In this regard, the embodiment of the present invention does not limit.
It may comprise steps of as an alternative embodiment, electronic equipment obtains N number of net discharge capacity:
The battery of electronic equipment detection electronic equipment is discharged to the current number of zero power from Full Charge Capacity;
Whether number is more than N before electronic equipment judgement is deserved;
If it is not greater, electronic equipment preserves current net discharge capacity, and judge whether number is equal to N before deserving;
If be equal to, electronic equipment calculates the average value of all current net discharge capacities, and average value is determined as standard Net discharge capacity.
Wherein, implement this embodiment, the average value for the net discharge capacity that the initial n times of battery use can be calculated, and Using the average value as the net discharge capacity of standard, it is used for subsequent detection battery, improves detection battery Accuracy rate.
202, electronic equipment calculates the average value of N number of net discharge capacity, and the average value is determined as standard and is discharged only appearance Amount.
In the embodiment of the present invention, implement above-mentioned step 201~step 202, it can be with the battery of electronic equipment itself Average net discharge capacity is the net discharge capacity of standard, and the current net discharge capacity of subsequently relatively electronic equipment is made to discharge only with standard The result obtained when capacity is more accurate.
203, during the battery of electronic equipment discharges into zero power from Full Charge Capacity, electronic equipment records electronic equipment Electron discharge capacity when sub- charging capacity when charging and electric discharge every time every time.
In the embodiment of the present invention, may relate to during the battery of electronic equipment discharges into zero power from Full Charge Capacity to It is repeatedly charged and discharged, individually calculates the sub- charging capacity and electron discharge capacity during this.For example, the user of electronic equipment Can one side electron equipment battery charging, on one side use electronic equipment, at this point, the battery of electronic equipment just while charge while Electric discharge, electronic equipment just need to record electronic equipment charging capacity in above process and electron discharge capacity simultaneously.
204, the sum of all sub- charging capacitys are determined as total charging capacity by electronic equipment, and by all electron discharge capacity it Be determined as total discharge capacity.
205, the absolute value of total discharge capacity and the difference of total charging capacity is determined as working as electronic equipment by electronic equipment Preceding net discharge capacity.
Also referring to Fig. 3, Fig. 3 be electronic equipment battery from Full Charge Capacity discharge into zero power during charge and discharge Schematic diagram.Wherein, what is 1., 2., 3. and 4. indicated is the battery capacity of four different phases of battery.1. what is indicated be battery is full The state of electricity, such as the state that the residual power percentage of battery is 100%, under 1. this state, electronic equipment opens electricity Pond service life detection function, the first time electron discharge capacity of start recording battery, until battery discharge to state 2., 2. table What is shown is the state that the residual power percentage of battery is 30%, that is to say battery electricity after by first time electron discharge capacity The residual power percentage in pond reduces 70%;Battery starts to charge up the state until 3. at this time, and electronic equipment records battery First second son charging capacity and second of electron discharge capacity, what is 3. indicated is battery after carrying out first time charging in 2. state Residual power percentage be 70% state, that is to say battery pass through the first second son charging capacity and the second electron discharge capacity The residual power percentage of battery increases 40% later, battery during 2. charge to 3. there is also electric discharge phenomena, because This, electronic equipment should also record second of electron discharge electricity of battery during this.Later, 3. 4. battery is from being discharged to State, electronic equipment record to obtain third time electron discharge electricity, and what is 4. indicated is the shape that the residual power percentage of battery is 0 State that is to say that battery residual power percentage of battery after by third time electron discharge capacity reduces 70%, electric at this time Sub- equipment may be because not enough power supply and shut down.Electronic equipment is by first time electron discharge capacity, second of electron discharge capacity and The sum of electron discharge capacity is determined as total discharge capacity three times, and the first second son charging capacity is determined as total charging capacity.Finally, The absolute value of total discharge capacity and the difference of total charging capacity is determined as the current net discharge capacity of electronic equipment by electronic equipment.
In the embodiment of the present invention, implement above-mentioned step 203~step 205, can more accurately record electronic equipment Battery from Full Charge Capacity discharge into zero power during total charging capacity and total discharge capacity, to more accurately calculate Go out the current net discharge capacity of electronic equipment, improves the accuracy of battery detection.
206, the net discharge capacity of standard electronic equipment relatively more current net discharge capacity and obtained in advance, identifies working as battery Preceding service life.
In the method described in Fig. 2, electronic equipment can be discharged to the net of zero power by obtaining battery from Full Charge Capacity Discharge capacity detects the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensures Battery long enough, to improve the usage experience of user.In addition, implementing method described in Fig. 2, electricity can be calculated The average value for the net discharge capacity that the initial n times in pond use, and using the average value as the net discharge capacity of standard, it is used for subsequent detection Battery improves the accuracy rate of detection battery.In addition, implement method described in Fig. 2, it can be with electricity The average net discharge capacity of the sub- equipment battery of itself is the net discharge capacity of standard, makes subsequently to compare the current of electronic equipment and put only The result obtained when net with the standard discharge capacity of capacitance is more accurate.In addition, implement method described in Fig. 2, it can be more Accurately record electronic equipment battery from Full Charge Capacity discharge into zero power during total charging capacity and total discharge capacity, To more accurately calculate the current net discharge capacity of electronic equipment, the accuracy of battery detection is improved.
Embodiment three
Referring to Fig. 4, the flow that Fig. 4 is the detection method of another battery disclosed by the embodiments of the present invention is shown It is intended to.As shown in figure 4, the detection method of the battery may comprise steps of:
Step 401~step 405 is identical as step 201~step 205, and the following contents does not repeat.
406, the net discharge capacity difference of current net discharge capacity and the net discharge capacity of standard obtained in advance is obtained.
407, the net discharge capacity ratio of the absolute value and the net discharge capacity of standard of net discharge capacity difference is calculated.
As an alternative embodiment, following step after executing the step 407, can also be performed in electronic equipment Suddenly:
Electronic equipment judges whether net discharge capacity ratio is greater than or equal to default threshold value;
When net discharge capacity ratio is greater than or equal to default alert threshold, electronic equipment output shows that battery altering carries It wakes up.
Wherein, electronic equipment output shows that battery altering prompting can be by popping up prompting frame on the screen of the electronic device Mode realize, can also generate remaining battery service life report by way of push to electronic equipment so that electronics is set Standby user checks this report, electrolytic cell currently used service life.Implement this embodiment, the use of electronic equipment can be reminded Battery is timely replaced at family, avoid electronic equipment can not normal use so that reduce user usage experience.
408, the currently used service life of battery corresponding with net discharge capacity ratio in preset battery life curve is identified, What the battery life curve indicated is the relationship of net discharge capacity ratio and battery life.
In the embodiment of the present invention, battery life curve indicates the relationship that net discharge capacity ratio is inversely proportional with battery life, I.e. net discharge capacity ratio is bigger, and battery life is shorter;Net discharge capacity ratio is smaller, and battery life is longer.
In the embodiment of the present invention, implement above-mentioned step 406~step 408, it can be accurate by above-mentioned calculation The net discharge capacity ratio for calculating battery, to obtain the currently used service life of accurately battery.
In the method described in Fig. 4, electronic equipment can be discharged to the net of zero power by obtaining battery from Full Charge Capacity Discharge capacity detects the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensures Battery long enough, to improve the usage experience of user.In addition, implementing method described in Fig. 4, electricity can be reminded The user of sub- equipment timely replaces battery, avoid electronic equipment can not normal use so that reduce user usage experience. In addition, implementing method described in Fig. 4, the net discharge capacity ratio of battery can be accurately calculated by above-mentioned calculation Value, to obtain the currently used service life of accurately battery.
Example IV
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention.As shown in figure 5, The electronic equipment may include:
First detection unit 501, for detect the battery of electronic equipment from Full Charge Capacity discharge into zero power obtain it is current Net discharge capacity, the current net discharge capacity be battery from Full Charge Capacity discharge into zero power during total discharge capacity with always fill The absolute value of the difference of capacitance.
In the embodiment of the present invention, first detection unit 501 is discharged in addition to that can detect the battery of electronic equipment from Full Charge Capacity The current net discharge capacity obtained to zero power, can also detect battery during battery discharges into zero power from Full Charge Capacity Remaining capacity, and to user prompt remaining battery use duration.
As an alternative embodiment, the remaining capacity that first detection unit 501 detects battery may include:
Detect the present discharge voltage and present discharge electric current of the battery of electronic equipment;
According to the discharge curve of preset battery and above-mentioned present discharge voltage and present discharge Current calculation battery Current residual electricity;
The residue that current residual electricity is scaled to battery uses duration, and the residue is shown to electricity using duration output On the screen of sub- equipment.
Wherein, implement this embodiment, it is current battery can be detected while detecting the remaining life of battery Remaining capacity, and can by the remaining capacity of battery residue using export display by way of duration, avoid electronics from setting Standby user guesses that the residue of battery uses duration according to battery dump energy percentage, gives user and more intuitively uses Experience.
Comparing unit 502, for comparing current net discharge capacity that first detection unit 501 detects and in advance obtaining The net discharge capacity of standard identifies the currently used service life of battery.
As it can be seen that implementing electronic equipment described in Fig. 5, the net electric discharge of zero power is discharged to from Full Charge Capacity by acquisition battery Capacity detects the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensures battery Service life long enough, to improve the usage experience of user.In addition, implementing electronic equipment described in Fig. 5, can detect Battery current remaining capacity is detected while the remaining life of battery, and the remaining capacity of battery can be passed through surplus The remaining mode using duration exports display, and the user of electronic equipment is avoided to guess battery according to battery dump energy percentage Residue uses duration, gives the more intuitive usage experience of user.
Embodiment five
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.Wherein, Fig. 6 Shown in electronic equipment be that electronic equipment as shown in Figure 5 optimizes.Compared with electronic equipment shown in fig. 5, Fig. 6 Shown in electronic equipment can also include:
Second detection unit 503, the battery that electronic equipment is detected for continuous n times are discharged to zero power from Full Charge Capacity, obtain Obtain N number of net discharge capacity.
As an alternative embodiment, second detection unit 503 obtains N number of net discharge capacity may include:
The battery of detection electronic equipment is discharged to the current number of zero power from Full Charge Capacity;
Whether number is more than N before judgement is deserved;
If it is not greater, preserving current net discharge capacity, and judge whether number is equal to N before deserving;
If be equal to, the average value of all current net discharge capacities is calculated, and average value is determined as standard and is discharged only appearance Amount.
Wherein, implement this embodiment, the average value for the net discharge capacity that the initial n times of battery use can be calculated, and Using the average value as the net discharge capacity of standard, it is used for subsequent detection battery, improves detection battery Accuracy rate.
Computing unit 504, the average value for calculating N number of net discharge capacity that second detection unit 503 detects.
Determination unit 505 for 504 calculated average value of computing unit to be determined as the net discharge capacity of standard, and is touched The battery that hair first detection unit 501 executes detection electronic equipment discharges into the current net electric discharge appearance that zero power obtains from Full Charge Capacity Amount.
In the embodiment of the present invention, can only be discharged using the average net discharge capacity of the battery of electronic equipment itself as standard appearance Amount makes subsequently the result obtained when net with the standard discharge capacity of the current net discharge capacity of relatively electronic equipment more accurate.
As an alternative embodiment, in electronic equipment shown in Fig. 6, first detection unit 501 may include:
Subelement 5011 is recorded, for during the battery of electronic equipment discharges into zero power from Full Charge Capacity, recording Sub- charging capacity when electronic equipment charges every time and electron discharge capacity when electric discharge every time.
First determination subelement 5012 is determined as will record the sum of all sub- charging capacitys that subelement 5011 records Total charging capacity, and it is determined as total discharge capacity by the sum of all electron discharge capacity that subelement 5011 records are recorded.
Second determination subelement 5013, total discharge capacity for determining the first determination subelement 5012 are held with total charging The absolute value of the difference of amount is determined as the current net discharge capacity of electronic equipment.
Wherein, implement this embodiment, the battery that can more accurately record electronic equipment is discharged into from Full Charge Capacity Total charging capacity during zero power and total discharge capacity are put only to more accurately calculate the current of electronic equipment Capacitance improves the accuracy of battery detection.
As it can be seen that implementing electronic equipment described in Fig. 6, the net electric discharge of zero power is discharged to from Full Charge Capacity by acquisition battery Capacity detects the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensures battery Service life long enough, to improve the usage experience of user.In addition, implementing electronic equipment described in Fig. 6, electricity can be calculated The average value for the net discharge capacity that the initial n times in pond use, and using the average value as the net discharge capacity of standard, it is used for subsequent detection Battery improves the accuracy rate of detection battery.In addition, implement electronic equipment described in Fig. 6, it can be with Using the average net discharge capacity of the battery of electronic equipment itself as the net discharge capacity of standard, make subsequently to compare the current of electronic equipment The result obtained when net with the standard discharge capacity of net discharge capacity is more accurate.In addition, implement electronic equipment described in Fig. 6, Can more accurately record the battery of electronic equipment from Full Charge Capacity discharge into zero power during total charging capacity and total Discharge capacity improves battery detection to more accurately calculate the current net discharge capacity of electronic equipment Accuracy.
Embodiment six
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.Wherein, Fig. 7 Shown in electronic equipment be that electronic equipment as shown in Figure 6 optimizes.Compared with electronic equipment shown in fig. 6, Fig. 7 Shown in the comparing unit 502 of electronic equipment may include:
Subelement 5021 is obtained, is put with the net of the net discharge capacity of standard obtained in advance for obtaining current net discharge capacity Capacitance difference.
Computation subunit 5022, for calculating the absolute value and mark that obtain the net discharge capacity difference that subelement 5021 obtains The net discharge capacity ratio of accurate net discharge capacity.
Identify subelement 5023, it is calculated net with computation subunit 5022 in preset battery life curve for identification In the currently used service life of the corresponding battery of discharge capacity ratio, what battery life curve indicated is net discharge capacity ratio and battery The relationship in service life.
In the embodiment of the present invention, the net discharge capacity ratio of battery can be accurately calculated by above-mentioned calculation, To obtain the currently used service life of accurately battery.
As an alternative embodiment, comparing unit 502 can also include:
Judgment sub-unit 5024, the absolute value and standard for calculating net discharge capacity difference in computation subunit 5022 are net After the net discharge capacity ratio of discharge capacity, judge whether the calculated net discharge capacity ratio of computation subunit 5022 is more than Or equal to default threshold value.
Subelement 5025 is exported, when the result for judging when judgment sub-unit 5024 is is, output shows battery altering It reminds.
Wherein, implement this embodiment, the user of electronic equipment can be reminded timely to replace battery, electronics is avoided to set It is standby can not normal use so that reducing the usage experience of user.
As it can be seen that implementing electronic equipment described in Fig. 7, the net electric discharge of zero power is discharged to from Full Charge Capacity by acquisition battery Capacity detects the currently used service life of battery, so that electronic equipment uses in the case of battery capacity abundance, ensures battery Service life long enough, to improve the usage experience of user.In addition, implement electronic equipment described in Fig. 7, it can be by upper The net discharge capacity ratio that calculation accurately calculates battery is stated, to obtain the currently used service life of accurately battery. In addition, implementing electronic equipment described in Fig. 7, the user of electronic equipment can be reminded timely to replace battery, electronics is avoided to set It is standby can not normal use so that reducing the usage experience of user.
Embodiment seven
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.Such as Fig. 8 institutes Show, which may include:
It is stored with the memory 801 of executable program code;
The processor 802 coupled with memory 801;
Wherein, processor 802 calls the executable program code stored in memory 801, executes the above each method and implements Some or all of method in example step.
A kind of computer readable storage medium is also disclosed in the embodiment of the present invention, wherein computer-readable recording medium storage Program code, wherein program code includes for executing some or all of the method in above each method embodiment step Instruction.
A kind of computer program product is also disclosed in the embodiment of the present invention, wherein when computer program product on computers When operation so that computer executes some or all of the method in such as above each method embodiment step.
The embodiment of the present invention is also disclosed a kind of using distribution platform, wherein using distribution platform for issuing computer journey Sequence product, wherein when computer program product is run on computers so that computer executes such as the above each method embodiment In some or all of method step.
It should be understood that embodiment described in this description belongs to alternative embodiment, involved action and module are not Must be necessary to the present invention.In various embodiments of the present invention, it should be appreciated that size of the sequence numbers of the above procedures is not Mean the inevitable priority of execution sequence, the execution sequence of each process should be determined by its function and internal logic, without coping with this The implementation process of inventive embodiments constitutes any restriction.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can Any other computer-readable medium for carrying or storing data.
The above-mentioned unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can is located at a place, or may be distributed over multiple nets On network unit.Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, can also be Each unit physically exists alone, can also be during two or more units are integrated in one unit.Above-mentioned integrated unit Both the form that hardware may be used is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can be stored in a retrievable memory of computer.Based on this understanding, technical scheme of the present invention substantially or Person says all or part of of the part that contributes to existing technology or the technical solution, can be in the form of software products It embodies, which is stored in a memory, including several requests are with so that a computer is set Standby (can be personal computer, server or network equipment etc., can be specifically the processor in computer equipment) executes Some or all of each embodiment above method of present invention step.
The detection method and electronic equipment of a kind of battery disclosed by the embodiments of the present invention have been carried out in detail above Thin to introduce, principle and implementation of the present invention are described for specific case used herein, and above example is said The bright method and its core concept for being merely used to help understand the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of detection method of battery, which is characterized in that the method includes:
The battery for detecting electronic equipment discharges into the current net discharge capacity that zero power obtains, the current net electric discharge from Full Charge Capacity Capacity be the battery from Full Charge Capacity discharge into zero power during total discharge capacity and the difference of total charging capacity it is absolute Value;
The net discharge capacity of standard for comparing the current net discharge capacity and obtaining in advance, identifies the currently used longevity of the battery Life.
2. according to the method described in claim 1, it is characterized in that, the battery of the detection electronic equipment is discharged into from Full Charge Capacity The current net discharge capacity that zero power obtains, including:
During the battery of the electronic equipment discharges into zero power from Full Charge Capacity, records the electronic equipment and charge every time When sub- charging capacity and every time electric discharge when electron discharge capacity;
The sum of all sub- charging capacitys are determined as total charging capacity, and the sum of all electron discharge capacity are determined as always discharging and are held Amount;
The absolute value of total discharge capacity and the difference of total charging capacity is determined as the current net of the electronic equipment Discharge capacity.
3. method according to claim 1 or 2, which is characterized in that the battery of the detection electronic equipment is put from Full Charge Capacity Before the current net discharge capacity that electricity is obtained to zero power, the method further includes:
The battery that continuous n times detect the electronic equipment is discharged to zero power from Full Charge Capacity, obtains N number of net discharge capacity;
The average value of N number of net discharge capacity is calculated, and the average value is determined as the net discharge capacity of standard.
4. according to claims 1 to 3 any one of them method, which is characterized in that the current net discharge capacity With the net discharge capacity of standard obtained in advance, the currently used service life of the battery is identified, including:
Obtain the net discharge capacity difference of the current net discharge capacity and the net discharge capacity of standard obtained in advance;
Calculate the absolute value of the net discharge capacity difference and the net discharge capacity ratio of the net discharge capacity of the standard;
Identify the currently used service life of the battery corresponding with the net discharge capacity ratio in preset battery life curve, What the battery life curve indicated is the relationship of net the discharge capacity ratio and battery life.
5. according to the method described in claim 4, it is characterized in that, the absolute value for calculating the net discharge capacity difference with After the net discharge capacity ratio of the net discharge capacity of standard, the method further includes:
Judge whether the net discharge capacity ratio is greater than or equal to default threshold value;
When the net discharge capacity ratio is greater than or equal to the default alert threshold, output shows that battery altering is reminded.
6. a kind of electronic equipment, which is characterized in that including:
First detection unit current is put only for detect that the battery of the electronic equipment discharges into that zero power obtains from Full Charge Capacity Capacitance, the current net discharge capacity be the battery from Full Charge Capacity discharge into zero power during total discharge capacity with it is total The absolute value of the difference of charging capacity;
Comparing unit identifies the electricity for the current net discharge capacity and the net discharge capacity of standard obtained in advance The currently used service life in pond.
7. electronic equipment according to claim 6, which is characterized in that the first detection unit includes:
Subelement is recorded, for during the battery of the electronic equipment discharges into zero power from Full Charge Capacity, described in record Sub- charging capacity when electronic equipment charges every time and electron discharge capacity when electric discharge every time;
First determination subelement for the sum of all sub- charging capacitys to be determined as total charging capacity, and all electron discharges is held The sum of amount is determined as total discharge capacity;
Second determination subelement, for the absolute value of total discharge capacity and the difference of total charging capacity to be determined as institute State the current net discharge capacity of electronic equipment.
8. the electronic equipment described according to claim 6 or 7, which is characterized in that the electronic equipment further includes:
Second detection unit, the battery for detecting the electronic equipment in the first detection unit discharge into zero from Full Charge Capacity Before the current net discharge capacity that electricity obtains, the battery that continuous n times detect the electronic equipment is discharged to from Full Charge Capacity Zero power obtains N number of net discharge capacity;
Computing unit, the average value for calculating N number of net discharge capacity;
Determination unit for the average value to be determined as the net discharge capacity of standard, and triggers the first detection unit and executes The battery of the detection electronic equipment discharges into the current net discharge capacity that zero power obtains from Full Charge Capacity.
9. according to claim 6~8 any one of them electronic equipment, which is characterized in that the comparing unit includes:
Subelement is obtained, the net electric discharge for obtaining the current net discharge capacity and the net discharge capacity of standard obtained in advance is held Measure difference;
Computation subunit, the net electric discharge of absolute value and the net discharge capacity of the standard for calculating the net discharge capacity difference Capacity ratio;
Identify subelement, for identification the battery corresponding with the net discharge capacity ratio in preset battery life curve The currently used service life, what the battery life curve indicated is the relationship of net the discharge capacity ratio and battery life.
10. electronic equipment according to claim 9, which is characterized in that the comparing unit further includes:
Judgment sub-unit, the absolute value and the standard for calculating the net discharge capacity difference in the computation subunit are net After the net discharge capacity ratio of discharge capacity, judge whether the net discharge capacity ratio is greater than or equal to default forecast threshold Value;
Subelement is exported, when the result for judging when the judgment sub-unit is is, output shows that battery altering is reminded.
CN201810291194.3A 2018-04-03 2018-04-03 A kind of detection method and electronic equipment of battery Pending CN108594124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810291194.3A CN108594124A (en) 2018-04-03 2018-04-03 A kind of detection method and electronic equipment of battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810291194.3A CN108594124A (en) 2018-04-03 2018-04-03 A kind of detection method and electronic equipment of battery

Publications (1)

Publication Number Publication Date
CN108594124A true CN108594124A (en) 2018-09-28

Family

ID=63625198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810291194.3A Pending CN108594124A (en) 2018-04-03 2018-04-03 A kind of detection method and electronic equipment of battery

Country Status (1)

Country Link
CN (1) CN108594124A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109612702A (en) * 2018-12-13 2019-04-12 江苏省产品质量监督检验研究院 A kind of durability detection method of power construction connecting component
CN110673036A (en) * 2019-07-24 2020-01-10 广州中国科学院计算机网络信息中心 Vehicle fault early warning method and system based on OBD computing technology
CN111341477A (en) * 2020-03-31 2020-06-26 岭东核电有限公司 Nuclear power plant safety power supply renovation and maintenance method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862279A (en) * 2005-05-11 2006-11-15 孟贞生 Method for estimating aging rate and testing fault of battery and apparatus for managing and monitoring battery
CN101006354A (en) * 2004-08-17 2007-07-25 矢崎总业株式会社 Dischargeable capacitance determining method
CN101424725A (en) * 2007-10-31 2009-05-06 深圳富泰宏精密工业有限公司 Electric capacity estimation method and system for cell for mobile phone
CN102057289A (en) * 2008-07-02 2011-05-11 松下电器产业株式会社 Life span estimation method for a lead acid battery and a power supply system
CN102508170A (en) * 2011-11-09 2012-06-20 丁国营 Method for monitoring capacity of storage battery
CN103033752A (en) * 2011-09-30 2013-04-10 吴昌旭 Predication method and prolonging method for service life of electric vehicle battery
CN104597404A (en) * 2014-12-19 2015-05-06 深圳市科陆电子科技股份有限公司 Automatic marking method of actual battery capacity, SOC (state of charge) and SOH (state of health)
CN105305514A (en) * 2014-06-23 2016-02-03 中兴通讯股份有限公司 Method and device for charging battery
CN105527574A (en) * 2014-09-30 2016-04-27 百纳德(扬州)电能系统有限公司 Novel battery patrol instrument suitable for UPS
CN106124997A (en) * 2016-08-01 2016-11-16 深圳市电科电源股份有限公司 The high temperature service life method of testing of ferric phosphate lithium cell

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101006354A (en) * 2004-08-17 2007-07-25 矢崎总业株式会社 Dischargeable capacitance determining method
CN1862279A (en) * 2005-05-11 2006-11-15 孟贞生 Method for estimating aging rate and testing fault of battery and apparatus for managing and monitoring battery
CN101424725A (en) * 2007-10-31 2009-05-06 深圳富泰宏精密工业有限公司 Electric capacity estimation method and system for cell for mobile phone
CN102057289A (en) * 2008-07-02 2011-05-11 松下电器产业株式会社 Life span estimation method for a lead acid battery and a power supply system
CN103033752A (en) * 2011-09-30 2013-04-10 吴昌旭 Predication method and prolonging method for service life of electric vehicle battery
CN102508170A (en) * 2011-11-09 2012-06-20 丁国营 Method for monitoring capacity of storage battery
CN105305514A (en) * 2014-06-23 2016-02-03 中兴通讯股份有限公司 Method and device for charging battery
CN105527574A (en) * 2014-09-30 2016-04-27 百纳德(扬州)电能系统有限公司 Novel battery patrol instrument suitable for UPS
CN104597404A (en) * 2014-12-19 2015-05-06 深圳市科陆电子科技股份有限公司 Automatic marking method of actual battery capacity, SOC (state of charge) and SOH (state of health)
CN106124997A (en) * 2016-08-01 2016-11-16 深圳市电科电源股份有限公司 The high temperature service life method of testing of ferric phosphate lithium cell

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109612702A (en) * 2018-12-13 2019-04-12 江苏省产品质量监督检验研究院 A kind of durability detection method of power construction connecting component
CN109612702B (en) * 2018-12-13 2021-07-30 江苏省产品质量监督检验研究院 Durability detection method for electric power construction connecting part
CN110673036A (en) * 2019-07-24 2020-01-10 广州中国科学院计算机网络信息中心 Vehicle fault early warning method and system based on OBD computing technology
CN111341477A (en) * 2020-03-31 2020-06-26 岭东核电有限公司 Nuclear power plant safety power supply renovation and maintenance method and device

Similar Documents

Publication Publication Date Title
CN108594124A (en) A kind of detection method and electronic equipment of battery
CN104239195B (en) A kind of method and electronic equipment for handling electronic equipment power consumption
CN102520364B (en) Method utilizing battery voltage to display electric quantity
CN104158235B (en) A kind of battery charging control method, equipment and system
CN100446014C (en) Method and apparatus for use with a portable power source
CN104617615B (en) Charging method and electronic equipment
CN106058965A (en) Charging method and terminal
CN103517304A (en) Method and device for obtaining safe state of mobile terminal
CN106911156A (en) Battery management system
CN106844265A (en) The control method and mobile terminal of a kind of general-purpose serial bus USB interface
CN103460063A (en) Battery voltage measurement
CN107436418A (en) Method, terminal and the device of calibration battery electricity decay
CN107093776A (en) Auto-correction method and device, the battery and unmanned plane of battery
CN103837835A (en) Method and device for detecting capacity decreasing degree of mobile device battery
CN105590036B (en) A kind of automobile batteries management method, system and device
CN105898023A (en) Aging prompt method and system for battery of mobile phone
CN102269799B (en) Method and system for detecting capacity of secondary battery
CN106249168B (en) A kind of battery curve modification method and device
CN104166101B (en) A kind of method and device of Dynamic Announce battery capacity of mobile terminal
CN106714288A (en) Electric quantity processing method and apparatus, and terminal
CN106598816A (en) Terminal perception state control method and terminal perception state control device
CN106772069B (en) Method and device for detecting battery short circuit
CN110445210B (en) Charging method and device for electronic equipment, electronic equipment and storage medium
CN106058971B (en) A kind of charge protection method and mobile terminal
CN201174607Y (en) On-line detection and activation apparatus for accumulator

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