CN105425166A - Battery power detecting method and battery power detecting device - Google Patents
Battery power detecting method and battery power detecting device Download PDFInfo
- Publication number
- CN105425166A CN105425166A CN201511030373.4A CN201511030373A CN105425166A CN 105425166 A CN105425166 A CN 105425166A CN 201511030373 A CN201511030373 A CN 201511030373A CN 105425166 A CN105425166 A CN 105425166A
- Authority
- CN
- China
- Prior art keywords
- charge level
- battery charge
- voltage
- battery
- monitoring voltage
- 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
Links
- 238000000034 method Methods 0.000 title abstract description 23
- 238000012544 monitoring process Methods 0.000 claims description 152
- 238000003860 storage Methods 0.000 claims description 50
- 238000001514 detection method Methods 0.000 claims description 46
- 230000005611 electricity Effects 0.000 claims description 39
- 238000005516 engineering process Methods 0.000 description 9
- 238000005259 measurement Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 239000000872 buffer Substances 0.000 description 3
- 230000014759 maintenance of location Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000012536 storage buffer Substances 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16533—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
- G01R19/16538—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
- G01R19/16542—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies for batteries
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
- G01R31/3835—Arrangements for monitoring battery or accumulator variables, e.g. SoC involving only voltage measurements
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a battery power detecting method and a battery power detecting device. The battery power detecting method comprises the steps of detecting output voltages of a battery in fixed periods and storing the output voltage; when a requires for acquiring the battery power is received, calculating one or a plurality of monitored voltages according a plurality of newly stored output voltages; and determining a battery power grade according to the one or the plurality of monitored voltages. The battery power detecting method and the battery power detecting device provided by the invention can improve accuracy in detecting an actual battery power level.
Description
Technical field
The present invention relates to cell art, particularly relate to a kind of battery electricity detection method and device.
Background technology
Battery or rechargeable battery are widely used in actual life, particularly in the epoch that portable electric appts is more and more popularized, portable equipment is more and more personalized, diversified, these portable equipments are all by powered battery, for the serious consequence such as communicating interrupt, loss of data that the in use power-off suddenly of prevention mancarried electronic aid causes, need the remaining battery power accurately grasping electronic equipment.
The measuring method of common battery electric quantity detects the output voltage at battery two ends, namely concludes that current residual electricity is in certain level when output voltage reaches a certain threshold value.But because output voltage can change to some extent with actual conditions such as the change of the actual loading of external circuits, disturbing signals, the dump energy level adopting this measuring method to detect gained is inaccurate.
Summary of the invention
The technical matters that the present invention solves is to provide method and the device of the detection of a kind of battery electric quantity, to improve the accuracy detecting battery charge level.
For solving the problems of the technologies described above, a kind of method that the embodiment of the present invention provides battery electric quantity to detect, described method comprises:
Detect the output voltage of battery with the fixed cycle and store;
When receiving the request obtaining battery electric quantity, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage;
Determine to export battery charge level according to described one or more monitoring voltage.
Alternatively, described multiple output voltage values according to up-to-date storage calculate monitoring voltage, comprising:
According to battery charge level from height to low order, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, it is corresponding with battery charge level that described target voltage detects number of times;
If attempt taking out successfully, then carry out the calculating of described monitoring voltage;
If attempt taking out unsuccessfully, then continue to detect number of times according to the target voltage that next lower battery charge level is corresponding and attempt, until travel through whole described battery charge level.
Alternatively, described according to described one or more monitoring voltage determine export battery charge level, comprising:
Judge described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
When described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determine that the battery charge level of described current trial is described output battery charge level;
When described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then continue calculate described monitoring voltage according to next lower battery charge level and do to judge, until travel through whole described battery charge level.
Alternatively, described multiple output voltage values according to up-to-date storage calculate monitoring voltage, comprising:
According to battery charge level from low paramount order, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, it is corresponding with battery charge level that described target voltage detects number of times;
If attempt taking out successfully, then carry out the calculating of described monitoring voltage;
If attempt taking out unsuccessfully, then continue to detect number of times according to the target voltage that next higher battery charge level is corresponding and attempt, until travel through whole described battery charge level.
Alternatively, described according to described one or more monitoring voltage determine export battery charge level, comprising:
Judge described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
When described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determine that the battery charge level of described current trial is described output battery charge level;
When described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then proceed the judgement of the described detection voltage of next higher charge level, until travel through whole described battery charge level.
Alternatively, the calculating carrying out described monitoring voltage described in comprises: calculate the mean value that described target voltage detects the output voltage values of time several up-to-date storage, and using described mean value as described monitoring voltage.
Alternatively, the target voltage detection number of times that lower battery charge level is corresponding, is greater than target voltage corresponding to higher battery charge level and detects number of times.
Alternatively, described battery electricity detection method, also comprises: according to described output battery charge level determination battery electric quantity.
The embodiment of the present invention also provides a kind of battery electric quantity checking device, comprising:
Output voltage detecting unit, is suitable for detecting the output voltage of battery with the fixed cycle and storing;
Monitoring voltage computing unit, be suitable for when receiving the request obtaining battery electric quantity, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage;
Battery charge level determining unit, is suitable for determining to export battery charge level according to described one or more monitoring voltage.
Alternatively, described monitoring voltage computing unit comprises:
First output voltage values obtains subelement, is suitable for according to battery charge level from height to low order, attempts successively taking out the output voltage values that target voltage detects time several up-to-date storage, and it is corresponding with current battery charge level that described target voltage detects number of times;
First monitoring voltage computation subunit, is suitable for, when attempting taking out successfully, carrying out the calculating of described monitoring voltage;
First output voltage values circulation obtains subelement, be suitable for when attempting taking out unsuccessfully, control described first output voltage values acquisition subelement continuation to attempt, until travel through whole described battery charge level according to the target voltage detection number of times that next lower battery charge level is corresponding.
Alternatively, described battery charge level determining unit, comprising:
First judging unit, is suitable for judging described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
First exports battery charge level determination subelement, is suitable for when described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determines that the battery charge level of described current trial is described output battery charge level;
First cycle control subelement, be suitable for when described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then control the judgement that described monitoring voltage computing unit, the first judging unit and the first output battery charge level determination subelement proceed the described monitoring voltage of next lower charge level, until travel through whole described battery charge level.
Alternatively, described monitoring voltage computing unit comprises:
Second output voltage values acquisition subelement, be suitable for, according to from battery charge level from low paramount order, attempting successively taking out the output voltage values that target voltage detects time several up-to-date storage, described target voltage detection number of times is corresponding with current battery charge level;
Second monitoring voltage computation subunit, is suitable for when attempting taking out successfully, then carrying out the calculating of described monitoring voltage;
Second output voltage values circulation obtains subelement, be suitable for when attempting taking out unsuccessfully, control described second output voltage values acquisition subelement continuation to attempt, until travel through whole described battery charge level according to the target voltage detection number of times that next higher battery charge level is corresponding.
Alternatively, described battery charge level determining unit, comprising:
Second judging unit, is suitable for judging described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
Second exports battery charge level determination subelement, is suitable for when described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determines that the battery charge level of described current trial is described output battery charge level;
Second cycle control subelement, be suitable for when described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then control the judgement that described monitoring voltage computing unit, the first judging unit and the first output battery charge level determination subelement proceed the described monitoring voltage of next higher charge level, until travel through whole described battery charge level.
Alternatively, the calculating carrying out described monitoring voltage described in comprises: calculate the mean value that described target voltage detects the output voltage values of time several up-to-date storage, and using described mean value as described monitoring voltage.
Alternatively, the target voltage detection number of times that lower battery charge level is corresponding, is greater than target voltage corresponding to higher battery charge level and detects number of times.
Alternatively, described battery electric quantity checking device, also comprises: battery electric quantity determining unit, is suitable for according to described output battery charge level determination battery electric quantity.
Compared with prior art, the technical scheme of the embodiment of the present invention has following beneficial effect:
The technical scheme of the embodiment of the present invention detects the output voltage of battery with the fixed cycle and stores, when receiving the request obtaining charge value, multiple output voltage values according to up-to-date storage calculate one or more monitoring voltage, determine to export battery charge level according to described one or more monitoring voltage again, the method of single measurement output voltage is adopted compared to existing technology, the load of external circuits change or exist the situations such as undesired signal affect the change of single output voltage values time, the technical scheme of the embodiment of the present invention battery electric quantity corresponding to the output battery charge level determined according to one or more monitoring voltage, and described monitoring voltage is calculated by multiple output voltage values of up-to-date storage to obtain, thus make to detect the battery electric quantity that obtains more close to the battery dump energy of reality, and then improve the accuracy detecting battery charge level.
Further, because when battery is in lower electricity, output voltage change frequency is larger, the technical scheme of the embodiment of the present invention detects number of times by the target voltage that the battery charge level of the lower electricity of setting is corresponding, be greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding, thus the battery charge level that the described monitoring voltage calculated by multiple output voltage is determined is more accurate.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of battery electricity detection method in the embodiment of the present invention;
Fig. 2 is the process flow diagram of the another kind of battery electricity detection method in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of battery electric quantity checking device in the embodiment of the present invention;
Fig. 4 is the structural representation of the another kind of battery electric quantity checking device in the embodiment of the present invention.
Embodiment
As background technology sayed, the measuring method of common battery electric quantity detects the output voltage at battery two ends, namely concludes that current residual electricity is in certain level when output voltage reaches a certain threshold value.But because output voltage can change to some extent with actual conditions such as the change of the actual loading of external circuits, disturbing signals, the dump energy level adopting this measuring method to detect gained is inaccurate.
The technical scheme of the embodiment of the present invention detects the output voltage of battery with the fixed cycle and stores, when receiving the request obtaining charge value, multiple output voltage values according to up-to-date storage calculate one or more monitoring voltage, determine to export battery charge level according to described one or more monitoring voltage again, the method of single measurement output voltage is adopted compared to existing technology, the load of external circuits change or exist the situations such as undesired signal affect the change of single output voltage values time, the technical scheme of the embodiment of the present invention battery electric quantity corresponding to the output battery charge level determined according to one or more monitoring voltage, and described monitoring voltage is calculated by multiple output voltage values of up-to-date storage to obtain, thus make to detect the battery electric quantity that obtains more close to the battery dump energy of reality, and then improve the accuracy detecting battery charge level.
For enabling above-mentioned purpose of the present invention, characteristic sum beneficial effect more becomes apparent, and is described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of a kind of battery electricity detection method in the embodiment of the present invention.Please refer to shown in Fig. 1, below the step of battery electricity detection method is described in detail.
Step S101: detect the output voltage of battery with the fixed cycle and store.
In concrete enforcement, the described fixed cycle can carry out different settings as required, detects the output voltage of one-shot battery, then stored by the output voltage at every turn detected at interval of regular time.
In concrete enforcement, for the storage unit storing output voltage, the output voltage number that it stores can be set, such as can arrange one and store Buffer Pool, up-to-date 20 output voltages obtained of fixed storage, when detection obtains the 21st output voltage, abandon the output voltage that first of oldest stored stores, by that analogy, described storage Buffer Pool can be made thus can to store 20 up-to-date output voltages.
Step S102: when receiving the request obtaining charge value, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage.
In concrete enforcement, multiple different battery charge level can be preset, the battery electric quantity scope that each battery charge level is corresponding different, and the concrete number setting multiple output voltages that each battery charge level needs detect, be referred to herein as target voltage and detect number of times.Such as, preset 5 described battery charge level, be respectively 100% charge level level, 80% charge level level, 60% charge level level, 40% charge level level, 20% charge level level.In one embodiment, the target voltage of each battery charge level detects number of times can be identical, and it is 5 that the target voltage that such as setting each battery charge level needs to detect detects number of times.In another embodiment, the target voltage detection number of times setting each battery charge level can be different, such as supposing that the target voltage of 100% charge level level detects number of times is 3, it is 4 that the target voltage of 80% charge level level detects number of times, it is 5 that the target voltage of 60% charge level level detects number of times, it is that to detect number of times be 7 for the target voltage of 6,20% charge level level that the target voltage of 40% charge level level detects number of times.
In concrete enforcement, can attempt taking out the output voltage values that target voltage detects time several up-to-date storage in each grade successively according to fixing hierarchal order, it is corresponding with current trial grade that described target voltage detects number of times, then the output voltage values of taking-up is used for the calculating of monitoring voltage.
In one embodiment of this invention, according to battery charge level from height to low order, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, it is corresponding with battery charge level that described target voltage detects number of times;
If attempt taking out successfully, then carry out the calculating of described monitoring voltage;
If attempt taking out unsuccessfully, then continue to detect number of times according to the target voltage that next lower battery charge level is corresponding and attempt, until travel through whole described battery charge level.
In concrete enforcement, when carrying out the calculating of described monitoring voltage, calculate the mean value that described target voltage detects the output voltage values of time several up-to-date storage, and using described mean value as described monitoring voltage.
In another embodiment of the invention, can according to the order from the paramount battery charge level of low battery charge level, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, it is corresponding with battery charge level that described target voltage detects number of times;
If attempt taking out successfully, then carry out the calculating of described monitoring voltage;
If attempt taking out unsuccessfully, then continue to detect number of times according to the target voltage that next higher battery charge level is corresponding and attempt, until travel through whole described battery charge level.
Be described by a kind of embodiment of an example to step S102 below.
Such as, default battery charge level is 5 grades, it is 3 that the target voltage of 100% charge level level detects number of times, it is 4 that the target voltage of 80% charge level level detects number of times, it is 5 that the target voltage of 60% charge level level detects number of times, it is that to detect number of times be 7 for the target voltage of 6,20% charge level level that the target voltage of 40% charge level level detects number of times.For convenience of implementing, the storage Buffer Pool storing output voltage values can be set and can store at most 7 output voltage values.
When receiving the request obtaining charge value, which rank of in the 5 grades of battery charge level preset of unknown current battery charge, then according to the order from 100% charge level level to 20% charge level level, attempt getting described target voltage in each battery charge level successively and detect time several output voltage, if attempt taking out successfully, then carry out the calculating of monitoring voltage, if attempt taking out unsuccessfully, then continue to attempt detecting number of times according to the target voltage that next lower charge level is corresponding and take out multiple output voltage.
Suppose the output voltage values first attempting taking-up 3 up-to-date storages in 100% charge level level, if attempt taking out successfully, then carry out the calculating of described monitoring voltage; If attempt taking out unsuccessfully, such as to store in the buffer zone of output voltage values less than 3 output voltage values, then continue to attempt, until travel through whole described battery charge level, in this example because the target voltage of lower charge level detects number of times comparatively greatly, can continue to attempt.
Or, in another example, also can according to the order from 20% charge level level to 100% charge level level, attempt getting described target voltage in each battery charge level successively and detect time several output voltage, if attempt taking out successfully, then carry out the calculating of monitoring voltage, if attempt taking out unsuccessfully, then continue to attempt detecting number of times according to the target voltage that next lower charge level is corresponding and take out multiple output voltage.More specifically, suppose the output voltage values first attempting taking-up 7 up-to-date storages in 20% charge level level, if attempt taking out successfully, then carry out the calculating of described monitoring voltage; If attempt taking out unsuccessfully, such as storing less than 7 output voltage values in the buffer zone of output voltage values, then continue to attempt higher lower level, is also 40% charge level level, namely attempt the output voltage values of taking-up 6 up-to-date storages, until traversal all batteries charge level.
It is pointed out that in other embodiments of the invention, each default battery charge level is set requires that the described target voltage detection number of times detected can be identical or different, does not limit at this.
It is pointed out that in other embodiments that we are bright, the battery charge level number preset can be arranged as required, does not limit at this equally.
For making result of implementation more accurate, in one embodiment of the invention, the target voltage that the battery charge level of lower electricity is corresponding detects number of times, is greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding.Such as, the target voltage that 80% charge level level requires detects the target voltage detection number of times that number of times is greater than 100% charge level level requirement, the target voltage that 60% charge level level requires detects the target voltage detection number of times that number of times is greater than 80% charge level level requirement, by that analogy.The hypothesis of upper example just meets this set, it is 3 that the target voltage of 100% charge level level detects number of times, it is 4 that the target voltage of 80% charge level level detects number of times, it is 5 that the target voltage of 60% charge level level detects number of times, it is that to detect number of times be 7 for the target voltage of 6,20% charge level level that the target voltage of 40% charge level level detects number of times.
Step S103: determine to export battery charge level according to described one or more monitoring voltage.
In concrete enforcement, determine to export battery charge level according to the described monitoring voltage that step S102 calculates, refer to which grade from the battery charge level preset, determine that the electricity of present battery is actual is in.And each default battery charge level is provided with corresponding range of voltage values, such as: the corresponding 5V-4.5V of 100% charge level level, the corresponding 4.5V-4V of 80% charge level level, the corresponding 4V-3.5V of 80% charge level level, the corresponding 3.5V-3V of 600% charge level level, the corresponding 3V-2.5V of 40% charge level level, the corresponding 2.5V-2V of 20% charge level level.
In one embodiment of this invention, in step S102 according to from high battery charge level to the order of low battery charge level, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, then this step S103 determines to export battery charge level, can as follows:
Judge described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
When described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determine that the battery charge level of described current trial is described output battery charge level;
When described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then continue calculate described monitoring voltage according to next lower battery charge level and do to judge, until travel through whole described battery charge level.
The example continued in integrating step S102 is described.
In step s 102, suppose after described current trial grade (100% charge level level) successful experiment takes out 3 output voltage values, calculating the monitoring voltage that the mean value of 3 output voltage values obtains described current trial grade is 4.6V, then determine that described current trial grade i.e. 100% charge level level is described output battery charge level; Otherwise, suppose that the monitoring voltage that 100% charge level level calculates is 4.3V, can be determined it not at the range of voltage values 5V-4.5V that current trial grade (100% charge level level) is corresponding, then proceed the judgement of the described monitoring voltage of next lower charge level (80% charge level level), namely 4 output voltage values of the up-to-date storage attempting taking-up 80% charge level level correspondence are continued, and to calculate monitoring voltage be 4.2V, then determine that described current trial grade i.e. 80% charge level level is described output battery charge level.In another embodiment of the invention, traveled through all battery charge level and all can not determine described output battery charge level, then can show battery electric quantity too low.
It should be noted that, it will be understood by those skilled in the art in step S102 according to the order from the paramount charge level of low charge level carry out trial take out output voltage calculate time, this step S103 carries out the embodiment of the determination of described output battery charge level, does not repeat them here.
The embodiment of the present invention is by detecting the output voltage of battery with the fixed cycle and storing, when receiving the request obtaining charge value, multiple output voltage values according to up-to-date storage calculate one or more monitoring voltage, determine to export battery charge level according to described one or more monitoring voltage again, the method of single measurement output voltage is adopted compared to existing technology, the load of external circuits change or exist the situations such as undesired signal affect the change of single output voltage values time, the technical scheme of the embodiment of the present invention battery electric quantity corresponding to the output battery charge level determined according to one or more monitoring voltage, and described monitoring voltage is calculated by multiple output voltage values of up-to-date storage to obtain, thus make to detect the battery electric quantity that obtains more close to the battery dump energy of reality, and then improve the accuracy detecting battery charge level.
Further, because when battery is in lower electricity, output voltage change frequency is larger, the technical scheme of the embodiment of the present invention detects number of times by the target voltage that the battery charge level of the lower electricity of setting is corresponding, be greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding, thus the battery charge level that the described monitoring voltage calculated by multiple output voltage is determined is more accurate.
Fig. 2 is the process flow diagram of a kind of battery electricity detection method in the embodiment of the present invention.Battery electricity detection method as shown in Figure 2 can comprise the following steps:
Step S201: detect the output voltage of battery with the fixed cycle and store;
Step S202: when receiving the request obtaining battery electric quantity, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage;
Step S203: determine to export battery charge level according to described one or more monitoring voltage
Step S204: according to described output battery charge level determination battery electric quantity.
In the present embodiment, step S201 with reference to the explanation of step S101 in Fig. 1 to step S103, can not repeat them here to the explanation of step 203.
In the present embodiment, can be different from description battery electric quantity when describing described output charge level, such as, describing mode is: be followed successively by one-level, secondary, three grades, level Four and Pyatyi from higher charge level to lower charge level, the corresponding 100% charge level level of one-level, the corresponding 80% charge level level of secondary, three grades of correspondence 60% charge level levels, the corresponding 40% charge level levels of level Four, the corresponding 40% charge level level of Pyatyi, so implementation step S204 is according to described output battery charge level determination battery electric quantity.Such as described output battery electric quantity is secondary, so determines that battery electric quantity is 80%.It will be appreciated by those skilled in the art that this is relevant with the form finally exporting battery electric quantity, do not repeat them here.
The embodiment of the present invention is by detecting the output voltage of battery with the fixed cycle and storing, when receiving the request obtaining charge value, multiple output voltage values according to up-to-date storage calculate one or more monitoring voltage, determine to export battery charge level according to described one or more monitoring voltage again, the method of single measurement output voltage is adopted compared to existing technology, the load of external circuits change or exist the situations such as undesired signal affect the change of single output voltage values time, the technical scheme of the embodiment of the present invention battery electric quantity corresponding to the output battery charge level determined according to one or more monitoring voltage, and described monitoring voltage is calculated by multiple output voltage values of up-to-date storage to obtain, thus make to detect the battery electric quantity that obtains more close to the battery dump energy of reality, and then improve the accuracy detecting battery charge level.
Further, because when battery is in lower electricity, output voltage change frequency is larger, the technical scheme of the embodiment of the present invention detects number of times by the target voltage that the battery charge level of the lower electricity of setting is corresponding, be greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding, thus the battery charge level that the described monitoring voltage calculated by multiple output voltage is determined is more accurate.
Fig. 3 is the structural representation of a kind of battery electric quantity checking device in the embodiment of the present invention.Battery electric quantity checking device 30 as shown in Figure 3, can comprise: output voltage detecting unit 301, monitoring voltage computing unit 302 and battery charge level determining unit 304.Wherein:
Described output voltage detecting unit 301, is suitable for detecting the output voltage of battery with the fixed cycle and storing;
Described monitoring voltage computing unit 302, be suitable for when receiving the request obtaining battery electric quantity, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage;
Described battery charge level determining unit 303, is suitable for determining to export battery charge level according to described one or more monitoring voltage.
In concrete enforcement, the target voltage that described in can arranging, the battery charge level of lower electricity is corresponding detects number of times, is greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding.
In concrete enforcement, can according to described output battery charge level determination battery electric quantity.
In one embodiment of this invention, described monitoring voltage computing unit 302 can comprise:
First output voltage values obtains subelement, is suitable for according to battery charge level from height to low order, attempts successively taking out the output voltage values that target voltage detects time several up-to-date storage, and it is corresponding with current battery charge level that described target voltage detects number of times;
First monitoring voltage computation subunit, is suitable for, when attempting taking out successfully, carrying out the calculating of described monitoring voltage;
First output voltage values circulation obtains subelement, be suitable for when attempting taking out unsuccessfully, control described first output voltage values acquisition subelement continuation to attempt, until travel through whole described battery charge level according to the target voltage detection number of times that next lower battery charge level is corresponding.
Described battery charge level determining unit 303 can comprise:
First judgment sub-unit, is suitable for judging described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
First exports battery charge level determination subelement, is suitable for when described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determines that the battery charge level of described current trial is described output battery charge level;
First cycle control subelement, be suitable for when described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then control the judgement that described monitoring voltage computing unit, the first judging unit and the first output battery charge level determination subelement proceed the described monitoring voltage of next lower charge level, until travel through whole described battery charge level.
In another embodiment of the invention, described monitoring voltage computing unit 302 can also comprise:
Second output voltage values acquisition subelement, be suitable for, according to from battery charge level from low paramount order, attempting successively taking out the output voltage values that target voltage detects time several up-to-date storage, described target voltage detection number of times is corresponding with current battery charge level;
Second monitoring voltage computation subunit, is suitable for when attempting taking out successfully, then carrying out the calculating of described monitoring voltage;
Second output voltage values circulation obtains subelement, be suitable for when attempting taking out unsuccessfully, control described second output voltage values acquisition subelement continuation to attempt, until travel through whole described battery charge level according to the target voltage detection number of times that next higher battery charge level is corresponding.
Described battery charge level determining unit 303, can also comprise:
Second judging unit, is suitable for judging described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
Second exports battery charge level determination subelement, is suitable for when described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determines that the battery charge level of described current trial is described output battery charge level;
Second cycle control subelement, be suitable for when described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then control the judgement that described monitoring voltage computing unit, the first judging unit and the first output battery charge level determination subelement proceed the described monitoring voltage of next higher charge level, until travel through whole described battery charge level.
In concrete enforcement, described in carry out described monitoring voltage calculating comprise: calculate the mean value that described target voltage detects the output voltage values of time several up-to-date storage, and using described mean value as described monitoring voltage.
In concrete enforcement, the target voltage detection number of times that lower battery charge level is corresponding, is greater than target voltage corresponding to higher battery charge level and detects number of times.
The embodiment of the present invention is by detecting the output voltage of battery with the fixed cycle and storing, when receiving the request obtaining charge value, multiple output voltage values according to up-to-date storage calculate one or more monitoring voltage, determine to export battery charge level according to described one or more monitoring voltage again, the method of single measurement output voltage is adopted compared to existing technology, the load of external circuits change or exist the situations such as undesired signal affect the change of single output voltage values time, the technical scheme of the embodiment of the present invention battery electric quantity corresponding to the output battery charge level determined according to one or more monitoring voltage, and described monitoring voltage is calculated by multiple output voltage values of up-to-date storage to obtain, thus make to detect the battery electric quantity that obtains more close to the battery dump energy of reality, and then improve the accuracy detecting battery charge level.
Further, because when battery is in lower electricity, output voltage change frequency is larger, the technical scheme of the embodiment of the present invention detects number of times by the target voltage that the battery charge level of the lower electricity of setting is corresponding, be greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding, thus the battery charge level that the described monitoring voltage calculated by multiple output voltage is determined is more accurate.
Fig. 4 is the structural representation of the another kind of battery electric quantity checking device in the embodiment of the present invention, battery electric quantity checking device 40 as shown in Figure 4, can comprise: output voltage detecting unit 401, monitoring voltage computing unit 402, battery charge level determining unit 403 and battery electric quantity determining unit 404.Wherein:
Described output voltage detecting unit 401, monitoring voltage computing unit 402 and battery charge level determining unit 404 may correspond to the description with reference to output voltage detecting unit 301, monitoring voltage computing unit 302 and battery charge level determining unit 304 described in Fig. 3, do not repeat them here.
Described battery electric quantity determining unit 404, is suitable for according to described output battery charge level determination battery electric quantity.
The embodiment of the present invention is by detecting the output voltage of battery with the fixed cycle and storing, when receiving the request obtaining charge value, multiple output voltage values according to up-to-date storage calculate one or more monitoring voltage, determine to export battery charge level according to described one or more monitoring voltage again, the method of single measurement output voltage is adopted compared to existing technology, the load of external circuits change or exist the situations such as undesired signal affect the change of single output voltage values time, the technical scheme of the embodiment of the present invention battery electric quantity corresponding to the output battery charge level determined according to one or more monitoring voltage, and described monitoring voltage is calculated by multiple output voltage values of up-to-date storage to obtain, thus make to detect the battery electric quantity that obtains more close to the battery dump energy of reality, and then improve the accuracy detecting battery charge level.
Further, because when battery is in lower electricity, output voltage change frequency is larger, the technical scheme of the embodiment of the present invention detects number of times by the target voltage that the battery charge level of the lower electricity of setting is corresponding, be greater than the target voltage detection number of times that the battery charge level of higher electricity is corresponding, thus the battery charge level that the described monitoring voltage calculated by multiple output voltage is determined is more accurate.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Done detailed introduction to the method and system of the embodiment of the present invention above, the present invention is not limited to this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.
Claims (16)
1. a battery electricity detection method, is characterized in that, comprising:
Detect the output voltage of battery with the fixed cycle and store;
When receiving the request obtaining battery electric quantity, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage;
Determine to export battery charge level according to described one or more monitoring voltage.
2. battery electricity detection method according to claim 1, is characterized in that, described multiple output voltage values according to up-to-date storage calculate monitoring voltage, comprising:
According to battery charge level from height to low order, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, it is corresponding with battery charge level that described target voltage detects number of times;
If attempt taking out successfully, then carry out the calculating of described monitoring voltage;
If attempt taking out unsuccessfully, then continue to detect number of times according to the target voltage that next lower battery charge level is corresponding and attempt, until travel through whole described battery charge level.
3. battery electricity detection method according to claim 2, is characterized in that, described according to described one or more monitoring voltage determine export battery charge level, comprising:
Judge described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
When described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determine that the battery charge level of described current trial is described output battery charge level;
When described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then continue calculate described monitoring voltage according to next lower battery charge level and do to judge, until travel through whole described battery charge level.
4. battery electricity detection method according to claim 1, is characterized in that, described multiple output voltage values according to up-to-date storage calculate monitoring voltage, comprising:
According to battery charge level from low paramount order, attempt successively taking out the output voltage values that target voltage detects time several up-to-date storage, it is corresponding with battery charge level that described target voltage detects number of times;
If attempt taking out successfully, then carry out the calculating of described monitoring voltage;
If attempt taking out unsuccessfully, then continue to detect number of times according to the target voltage that next higher battery charge level is corresponding and attempt, until travel through whole described battery charge level.
5. battery electricity detection method according to claim 4, is characterized in that, described according to described one or more monitoring voltage determine export battery charge level, comprising:
Judge described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
When described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determine that the battery charge level of described current trial is described output battery charge level;
When described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then proceed the judgement of the described detection voltage of next higher charge level, until travel through whole described battery charge level.
6. the battery electricity detection method according to any one of claim 2 to 5, it is characterized in that, the described calculating carrying out described monitoring voltage comprises: calculate the mean value that described target voltage detects the output voltage values of time several up-to-date storage, and using described mean value as described monitoring voltage.
7. the battery electricity detection method according to any one of claim 2 to 5, is characterized in that, the target voltage detection number of times that lower battery charge level is corresponding, is greater than target voltage corresponding to higher battery charge level and detects number of times.
8. battery electricity detection method according to any one of claim 1 to 5, is characterized in that, also comprises: according to described output battery charge level determination battery electric quantity.
9. a battery electric quantity checking device, is characterized in that, comprising:
Output voltage detecting unit, is suitable for detecting the output voltage of battery with the fixed cycle and storing;
Monitoring voltage computing unit, be suitable for when receiving the request obtaining battery electric quantity, the multiple output voltages according to up-to-date storage calculate one or more monitoring voltage;
Battery charge level determining unit, is suitable for determining to export battery charge level according to described one or more monitoring voltage.
10. battery electric quantity checking device according to claim 9, is characterized in that, described monitoring voltage computing unit comprises:
First output voltage values obtains subelement, is suitable for according to battery charge level from height to low order, attempts successively taking out the output voltage values that target voltage detects time several up-to-date storage, and it is corresponding with current battery charge level that described target voltage detects number of times;
First monitoring voltage computation subunit, is suitable for, when attempting taking out successfully, carrying out the calculating of described monitoring voltage;
First output voltage values circulation obtains subelement, be suitable for when attempting taking out unsuccessfully, control described first output voltage values acquisition subelement continuation to attempt, until travel through whole described battery charge level according to the target voltage detection number of times that next lower battery charge level is corresponding.
11. battery electric quantity checking devices according to claim 10, is characterized in that, described battery charge level determining unit, comprising:
First judging unit, is suitable for judging described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
First exports battery charge level determination subelement, is suitable for when described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determines that the battery charge level of described current trial is described output battery charge level;
First cycle control subelement, be suitable for when described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then control the judgement that described monitoring voltage computing unit, the first judging unit and the first output battery charge level determination subelement proceed the described monitoring voltage of next lower charge level, until travel through whole described battery charge level.
12. battery electric quantity checking devices according to claim 9, is characterized in that, described monitoring voltage computing unit comprises:
Second output voltage values acquisition subelement, be suitable for, according to from battery charge level from low paramount order, attempting successively taking out the output voltage values that target voltage detects time several up-to-date storage, described target voltage detection number of times is corresponding with current battery charge level;
Second monitoring voltage computation subunit, is suitable for when attempting taking out successfully, then carrying out the calculating of described monitoring voltage;
Second output voltage values circulation obtains subelement, be suitable for when attempting taking out unsuccessfully, control described second output voltage values acquisition subelement continuation to attempt, until travel through whole described battery charge level according to the target voltage detection number of times that next higher battery charge level is corresponding.
13. battery electric quantity checking devices according to claim 12, is characterized in that, described battery charge level determining unit, comprising:
Second judging unit, is suitable for judging described monitoring voltage whether within the range of voltage values corresponding to the battery charge level of current trial;
Second exports battery charge level determination subelement, is suitable for when described monitoring voltage is within the range of voltage values corresponding to the battery charge level of current trial, determines that the battery charge level of described current trial is described output battery charge level;
Second cycle control subelement, be suitable for when described monitoring voltage is not within the range of voltage values corresponding to the battery charge level of current trial, then control the judgement that described monitoring voltage computing unit, the first judging unit and the first output battery charge level determination subelement proceed the described monitoring voltage of next higher charge level, until travel through whole described battery charge level.
14. according to claim 10 to the battery electric quantity checking device described in 13 any one, it is characterized in that, the described calculating carrying out described monitoring voltage comprises: calculate the mean value that described target voltage detects the output voltage values of time several up-to-date storage, and using described mean value as described monitoring voltage.
15., according to claim 10 to the battery electric quantity checking device described in 13 any one, is characterized in that, the target voltage detection number of times that lower battery charge level is corresponding, are greater than target voltage corresponding to higher battery charge level and detect number of times.
16. battery electric quantity checking devices according to any one of claim 9 to 13, is characterized in that, also comprise: battery electric quantity determining unit, be suitable for according to described output battery charge level determination battery electric quantity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030373.4A CN105425166B (en) | 2015-12-31 | 2015-12-31 | Battery electric quantity detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030373.4A CN105425166B (en) | 2015-12-31 | 2015-12-31 | Battery electric quantity detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105425166A true CN105425166A (en) | 2016-03-23 |
CN105425166B CN105425166B (en) | 2020-08-28 |
Family
ID=55503497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511030373.4A Active CN105425166B (en) | 2015-12-31 | 2015-12-31 | Battery electric quantity detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105425166B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371323A (en) * | 2016-08-17 | 2017-02-01 | 西安交通大学 | Cloud sensor for built-in energy conservation module |
CN109683097A (en) * | 2018-12-21 | 2019-04-26 | 广东浪潮大数据研究有限公司 | A kind of BBU capacity method of calibration, device and relevant device |
CN110632522A (en) * | 2019-10-09 | 2019-12-31 | 赣州得辉达科技有限公司 | Sound box electric quantity display method |
CN114819539A (en) * | 2022-04-06 | 2022-07-29 | 安徽碳鑫科技有限公司 | Detection system of fine coal gasification coal type based on data analysis |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101728588A (en) * | 2008-10-10 | 2010-06-09 | 鸿富锦精密工业(深圳)有限公司 | Wireless communication terminal and method for determining battery electric quantity thereof |
CN102298119A (en) * | 2011-05-24 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Device and method for displaying battery power |
CN102680897A (en) * | 2011-03-15 | 2012-09-19 | 联芯科技有限公司 | Battery capacity management method and device |
CN102914744A (en) * | 2012-06-29 | 2013-02-06 | 惠州Tcl移动通信有限公司 | Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power |
CN102946479A (en) * | 2012-11-02 | 2013-02-27 | 惠州Tcl移动通信有限公司 | Method for mobile terminal to update electric quantity of battery and mobile terminal |
CN103064025A (en) * | 2011-10-19 | 2013-04-24 | 北京谊安医疗系统股份有限公司 | Battery electric quantity detection method and device using the same |
CN103913705A (en) * | 2012-12-31 | 2014-07-09 | 比亚迪股份有限公司 | Calculation method and device for battery electricity quantity of battery system |
CN105021962A (en) * | 2015-07-22 | 2015-11-04 | 杰华特微电子(杭州)有限公司 | Battery electric quantity indication setting method and circuit |
-
2015
- 2015-12-31 CN CN201511030373.4A patent/CN105425166B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101728588A (en) * | 2008-10-10 | 2010-06-09 | 鸿富锦精密工业(深圳)有限公司 | Wireless communication terminal and method for determining battery electric quantity thereof |
CN102680897A (en) * | 2011-03-15 | 2012-09-19 | 联芯科技有限公司 | Battery capacity management method and device |
CN102298119A (en) * | 2011-05-24 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Device and method for displaying battery power |
CN103064025A (en) * | 2011-10-19 | 2013-04-24 | 北京谊安医疗系统股份有限公司 | Battery electric quantity detection method and device using the same |
CN102914744A (en) * | 2012-06-29 | 2013-02-06 | 惠州Tcl移动通信有限公司 | Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power |
CN102946479A (en) * | 2012-11-02 | 2013-02-27 | 惠州Tcl移动通信有限公司 | Method for mobile terminal to update electric quantity of battery and mobile terminal |
CN103913705A (en) * | 2012-12-31 | 2014-07-09 | 比亚迪股份有限公司 | Calculation method and device for battery electricity quantity of battery system |
CN105021962A (en) * | 2015-07-22 | 2015-11-04 | 杰华特微电子(杭州)有限公司 | Battery electric quantity indication setting method and circuit |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371323A (en) * | 2016-08-17 | 2017-02-01 | 西安交通大学 | Cloud sensor for built-in energy conservation module |
CN109683097A (en) * | 2018-12-21 | 2019-04-26 | 广东浪潮大数据研究有限公司 | A kind of BBU capacity method of calibration, device and relevant device |
CN110632522A (en) * | 2019-10-09 | 2019-12-31 | 赣州得辉达科技有限公司 | Sound box electric quantity display method |
CN110632522B (en) * | 2019-10-09 | 2022-06-24 | 赣州得辉达科技有限公司 | Sound box electric quantity display method |
CN114819539A (en) * | 2022-04-06 | 2022-07-29 | 安徽碳鑫科技有限公司 | Detection system of fine coal gasification coal type based on data analysis |
Also Published As
Publication number | Publication date |
---|---|
CN105425166B (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102225667B1 (en) | Method and apparatus for estimating state of battery | |
KR102343967B1 (en) | Method and apparatus for estimating state of battery | |
CN113359043B (en) | Method, device and equipment for detecting self-discharge current of battery cell and computer storage medium | |
WO2018059074A1 (en) | Detection method and device for micro short circuit of battery | |
EP3171187B1 (en) | Battery state detection device, secondary battery system, program product, and battery state detection method | |
EP3171186B1 (en) | Battery state detection device, secondary battery system, program product, and battery state detection method | |
US10444296B2 (en) | Control device, control method, and recording medium | |
CN103682498A (en) | Charging method and electronic device | |
US20150042267A1 (en) | System and Method for Controlling a Battery | |
JP5400724B2 (en) | Smart battery device, method for charging battery pack of smart battery device, and method for approximating ATTF in smart battery device | |
WO2015196641A1 (en) | Battery charging method and device, and computer storage medium | |
CN102540092A (en) | Method and device for monitoring the maximum available capacity of battery | |
CN105425166A (en) | Battery power detecting method and battery power detecting device | |
TWI528043B (en) | Battery SOC/SOH estimation circuit | |
CN112448434A (en) | Charging control method and charging control device | |
CN102879743A (en) | Real-time analysis and calculation method of remaining power value of lithium-ion battery | |
CN110687458A (en) | Terminal battery electric quantity determination method and device | |
EP4519703A1 (en) | Apparatus and method for battery soc estimation | |
KR101745633B1 (en) | Apparatus for Cell Balancing by Connecting Reference Battery in Consecutive Order and Method thereof | |
US10371755B2 (en) | Reported state-of-charge scaling | |
US20170254853A1 (en) | Information processing device, information processing method, and recording medium | |
KR101175369B1 (en) | Apparatus and Methode of measuring charges in a battery | |
JP2018044927A (en) | Detection device, detection method, power storage system, and program | |
CN115327391B (en) | Detection method and device based on echelon battery utilization | |
CN107370859A (en) | Method of testing, test device and the storage device of the voltameter of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |