CN103176132B - The evaluation method of battery electric quantity and terminal device - Google Patents

The evaluation method of battery electric quantity and terminal device Download PDF

Info

Publication number
CN103176132B
CN103176132B CN201110436267.1A CN201110436267A CN103176132B CN 103176132 B CN103176132 B CN 103176132B CN 201110436267 A CN201110436267 A CN 201110436267A CN 103176132 B CN103176132 B CN 103176132B
Authority
CN
China
Prior art keywords
voltage
cell voltage
mapping
battery electric
sampled
Prior art date
Application number
CN201110436267.1A
Other languages
Chinese (zh)
Other versions
CN103176132A (en
Inventor
贾民虎
刘溪阳
薛坤
Original Assignee
联芯科技有限公司
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 联芯科技有限公司 filed Critical 联芯科技有限公司
Priority to CN201110436267.1A priority Critical patent/CN103176132B/en
Publication of CN103176132A publication Critical patent/CN103176132A/en
Application granted granted Critical
Publication of CN103176132B publication Critical patent/CN103176132B/en

Links

Abstract

The present invention relates to terminal device, disclose a kind of evaluation method and terminal device of battery electric quantity.In the present invention, by before the mapping table cell voltage sampled being substituted into cell voltage and the battery electric quantity obtained according to battery discharge curve figure, first voltage compensation is carried out to the cell voltage sampled, cell voltage after described voltage compensation is substituted into the mapping table of described cell voltage and battery electric quantity, obtain corresponding battery electric quantity and show.Because to power consumption, compared with heavy load, because discharge capacity is comparatively large, voltage drop that is that cause compensates, the voltage after making it compensate can match with the voltage of standard discharge curve, avoids the larger problem of electricity display error in detecting voltage method.Thus system works and stand-by time can be extended.And, based on be still detecting voltage ratio juris, without the need to carrying out current sense, thus the program can be realized when not increasing hardware cost, i.e. low in hardware cost.

Description

The evaluation method of battery electric quantity and terminal device

Technical field

The present invention relates to terminal device, the battery electric quantity estimation technique particularly in terminal device.

Background technology

At present for battery powered system, maximum challenge is the working time of battery.Usually, electronic system design personnel are primarily focused on and improve DC (direct current)/DC power supply conversion efficiency, reduction system power dissipation and expand battery capacity, extend the working time of battery with this, and often ignore the accuracy problem with power supply conversion efficiency and battery capacity monitoring cell electricity quantity meter of equal importance.If the error range of monitoring cell electricity quantity meter is ± 10%, so just have be equivalent to 10% battery capacity or lost working time.Accurate electric quantity metering can make handheld device make full use of its battery, extends System production time and stand-by time, improves customer satisfaction.

In some mobile phone, require that battery electric quantity display precision is 1%, and several battery compartment numbers of difference only display in the past, this has higher requirement to battery management undoubtedly.Have special chip accurately to show battery electric quantity on the market at present, but consider the factors such as cost, most of mobile phone still uses multiple power source managing chip (PMU) to manage battery, calculates battery electric quantity by detecting voltage method.

The available power of battery has funtcional relationship to its velocity of discharge (relevant with load), working temperature, degree of aging and self-discharge characteristics.In addition, traditional monitoring cell electricity quantity meter also requires to be fully charged battery and completely to discharge to upgrade battery capacity, but this seldom occurs in real world applications, thus causes larger measuring error.Therefore, within the battery operation cycle, accurately predicting battery remaining power and working time is difficult to.

Solution main in the prior art comprises:

(1) detecting voltage method.The theory that detecting voltage method is followed is: in discharge process, and cell voltage can reduce gradually with the passage of electricity.Discharge curve as shown in Figure 1.

(2) current sense method.Perform the coulombmeter algorithm based on current integration by special circuit, thus accurately calculate discharge electricity amount.

(3) electric current and voltage combined techniques.Calculate the full power consumption of battery by voltage detection method under open circuit situation, current method is used for calculating discharge electricity amount, and these two kinds of methods combining get up to solve the electricity display problem under the problem and different power consumption current conditions that battery self-characteristic introduces.

Consider the factor such as cost and pcb board (printed-wiring board (PWB)) area to be detected, scheme (2), (3) are applied less in field of mobile phones, and the main detecting voltage method that uses carrys out estimating battery electricity.And current detecting voltage method major defect to be electricity display error comparatively large, the impact especially by power consumption electric current is comparatively serious.

Summary of the invention

The object of the present invention is to provide a kind of evaluation method and terminal device of battery electric quantity, make terminal device when not increasing hardware cost, higher battery electric quantity display precision can be had, avoid under heavy load working condition, easily allow system enter the situation of low electricity or directly shutdown, thus system works and stand-by time can be extended.

For solving the problems of the technologies described above, embodiments of the present invention provide a kind of evaluation method of battery electric quantity, comprise following steps:

The mapping table of cell voltage under normalized current and battery electric quantity is preserved in advance in terminal device; Wherein, described normalized current is the working current of system when entering holding state but do not enter sleep state;

When estimating battery electric quantity, sampling battery voltage;

According to current loading condition, voltage compensation is carried out to the described cell voltage sampled;

Cell voltage after described voltage compensation is substituted in the mapping table of described cell voltage and battery electric quantity, obtain corresponding battery electric quantity;

The battery electric quantity obtained described in display.

Embodiments of the present invention additionally provide a kind of terminal device, comprise:

Voltage electricity corresponding relation preserves module, for preserving the mapping table of cell voltage under normalized current and battery electric quantity; Wherein, described normalized current is the working current of system when entering holding state but do not enter sleep state;

Sampling module, for when estimating battery electric quantity, sampling battery voltage;

Compensating module, for carrying out voltage compensation according to current loading condition to the cell voltage that described sampling module samples;

Modular converter, for being substituted in the mapping table of described cell voltage and battery electric quantity by the cell voltage after described voltage compensation, obtains corresponding battery electric quantity;

Display module, for showing the battery electric quantity that described modular converter obtains.

Embodiment of the present invention in terms of existing technologies, by before the mapping table cell voltage sampled being substituted into cell voltage and the battery electric quantity obtained according to battery discharge curve figure, first voltage compensation is carried out to the cell voltage sampled, cell voltage after described voltage compensation is substituted in the mapping table of described cell voltage and battery electric quantity, obtain corresponding battery electric quantity and show.Because to power consumption, compared with heavy load, because discharge capacity is comparatively large, voltage drop that is that cause compensates, the voltage after making it compensate can match with the voltage of standard discharge curve, avoids the larger problem of electricity display error in detecting voltage method.Therefore, higher battery electric quantity display precision can be had according to the battery electric quantity that the cell voltage after voltage compensation obtains, avoid under heavy load working condition, easily allow system enter the situation of low electricity or directly shutdown, thus system works and stand-by time can be extended.And, based on be still detecting voltage ratio juris, without the need to carrying out current sense, thus the program can be realized when not increasing hardware cost, i.e. low in hardware cost.

Preferably, carry out, in the step of voltage compensation, comprising following sub-step: prestore the first mapping table according to current loading condition to the described cell voltage sampled, described first mapping table is the pressure drop of each load corresponding under each voltage section; According to the voltage section residing for the described cell voltage sampled, search described first mapping table, obtain pressure drop corresponding under present load; By the pressure drop of the described correspondence found, as the voltage needing to compensate, voltage compensation is carried out to the described cell voltage sampled.The first mapping table obtained in experimentally data is accurately in situation, can bucking voltage preferably, makes the magnitude of voltage after compensation can the discharge curve data of match-on criterion electric current.

Preferably, carry out in the step of voltage compensation according to current loading condition to the described cell voltage sampled, comprise following sub-step: prestore the second mapping table, described second mapping table is the pressure drop of pressure reduction corresponding under each voltage section of the double magnitude of voltage sampled; The pressure reduction of the cell voltage that the cell voltage sampled described in calculating and last time sample; According to the pressure reduction of described calculating, search described second mapping table, obtain pressure drop corresponding under the voltage section residing for the described cell voltage sampled; By the pressure drop of the described correspondence found, as the voltage needing to compensate, voltage compensation is carried out to the described cell voltage sampled.When there being larger pressure drop by this compensation mechanism, can ensure that the magnitude of voltage after compensating can the discharge curve data of match-on criterion electric current further

Preferably, calculating sampling to cell voltage with on once sample the pressure reduction of cell voltage time, first carry out data smoothing process to the described cell voltage sampled and the last cell voltage sampled, the described pressure reduction of calculating is the pressure reduction of the cell voltage that the adjacent double sampling after data smoothing process arrives.Due to when working current instability, sampled voltage fluctuation is very large, and it is very large to carry out voltage compensation difficulty.Therefore by effectively can suppress the shake of sampled voltage to the smoothing process of data.

Accompanying drawing explanation

Fig. 1 is battery discharge curve figure of the prior art;

Fig. 2 is the evaluation method process flow diagram of the battery electric quantity according to first embodiment of the invention;

Fig. 3 is the evaluation method process flow diagram of the battery electric quantity according to second embodiment of the invention;

Fig. 4 is according to each voltage curve schematic diagram in second embodiment of the invention;

Fig. 5 is the evaluation method process flow diagram of the battery electric quantity according to third embodiment of the invention;

Fig. 6 is the terminal device structural representation according to four embodiment of the invention.

Embodiment

For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.But, persons of ordinary skill in the art may appreciate that in each embodiment of the present invention, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following embodiment and amendment, each claim of the application technical scheme required for protection also can be realized.

First embodiment of the present invention relates to a kind of evaluation method of battery electric quantity.Idiographic flow as shown in Figure 2.

In step 210, in advance according to the relation of the cell voltage under normalized current and battery electric quantity, draw battery discharge curve figure, and by the mapping table of the cell voltage under the normalized current that obtains according to this battery discharge curve figure and battery electric quantity, be kept in terminal device.Wherein, described normalized current is the working current of system when entering holding state but do not enter sleep state, does not namely carry out any business, closes working current when display screen, closed communication function.

Specifically, under normalized current, the full battery of charging is discharged with described normalized current, till battery electric quantity has consumed.During described battery discharge, periodically cell voltage is sampled.Wherein, the sampling period of voltage can be 30 seconds, and preserved sample voltage data.According to the battery voltage data that described periodic samples arrives, draw described battery discharge curve figure, so just can determine the transformational relation of the voltage-capacity of standard.The mapping table obtaining cell voltage under normalized current and battery electric quantity according to battery discharge curve figure belongs to the known technology of this area, does not repeat them here.

When estimating battery electric quantity, enter step 220.In a step 220, cell voltage is sampled.The voltage sampled is the digital voltage after analog to digital conversion.

Then, in step 230, according to current loading condition, voltage compensation is carried out to the described cell voltage sampled.Due to for terminal device, increase load and can introduce a pressure drop, its pressure drop difference under different voltage condition.This phenomenon can be learnt by battery discharge curve, and namely under same charge condition, discharge current is larger, and sampled voltage is less.Therefore, in the present embodiment, voltage compensation mechanism is added for different loads (such as communication function, Presentation Function etc.).

In the present embodiment, according to the first mapping table prestored, voltage compensation is carried out.Specifically, prestore the first mapping table, this first mapping table is the pressure drop (as shown in table 1) of each load corresponding under each voltage section, matrix data in table 1 is obtained by test, each behavior one voltage section in table 1, row expression as " 4200 " place is greater than 4100mV and is less than or equal to the voltage section of 4200mV, and the row expression at " 4100 " place is greater than 3900mV and is less than or equal to the voltage section of 4100mV, the like.

Voltage (mV) Display apparatus module Sound module Camera module Communication module Modulator-demodular unit 4200 4100 ΔV1 ΔV2 3900 3800 3700 3600 3500

Table 1

In this step, the voltage section residing for the cell voltage sampled, searches this first mapping table, obtains pressure drop corresponding under present load.Such as, whether terminal device is in running order by power-consuming hardware main in acquisition system, learn and currently also open display apparatus module and camera module, and be in " 3900mV to 4100mV " this voltage section by the voltage that ADC (analog to digital converter) samples, then can find in described table 1, pressure drop corresponding under present load is Δ V1 and Δ V2.Then, by the pressure drop of the described correspondence found, as the voltage needing to compensate, voltage compensation is carried out to the described cell voltage sampled.Such as the cell voltage sampled is V, then the cell voltage V ' after voltage compensation=V+ Δ V1+ Δ V2.That is, the load voltage compensation matrix that introducing one is as shown in table 1 in the present embodiment, for the load that power consumption is larger, in different cell voltage situation, calculates its pressure drop.

Then, in step 240, the cell voltage after voltage compensation is substituted in the mapping table of cell voltage and the battery electric quantity preserved in advance, obtain corresponding battery electric quantity.

Then, in step 250, terminal device shows the battery electric quantity obtained, and this step is same as the prior art, does not repeat them here.

It will be understood by those skilled in the art that, when discharge current is constant, cell voltage and electricity have one-to-one relationship, namely can determine its relation by the discharge curve of a certain steady current, as shown in Figure 1.And under real conditions, only in low-power consumption standby state, just substantially meet the constant condition of discharge current, but in more existing systems, after system enters low-power consumption, software cannot sampling battery voltage, only have when system enters normal operating conditions, just can sampling battery voltage.In normal operation, discharge current is not invariable, and in fact, along with the change of business, discharge current fluctuation can be larger, thus it is larger to cause sampled voltage to fluctuate.

And in the present embodiment, because to power consumption, compared with heavy load, because discharge capacity is comparatively large, voltage drop that is that cause compensates, voltage after making it compensate can match with the voltage of standard discharge curve, avoids the larger problem of electricity display error in detecting voltage method.Therefore, higher battery electric quantity display precision can be had according to the battery electric quantity that the cell voltage after voltage compensation obtains, avoid under heavy load working condition, easily allow system enter the situation of low electricity or directly shutdown, thus system works and stand-by time can be extended.And, based on be still detecting voltage ratio juris, without the need to carrying out current sense, thus the program can be realized when not increasing hardware cost, i.e. low in hardware cost.

Second embodiment of the present invention relates to a kind of evaluation method of battery electric quantity.Second embodiment is roughly the same with the first embodiment, key distinction part is: in the first embodiment, terminal device is when carrying out voltage compensation, whether in running order according to power-consuming hardware main in system, pressure drop corresponding search present load in the first mapping table under.And in second embodiment of the invention, needing to prestore the second mapping table, the second mapping table is the pressure drop of pressure reduction corresponding under each voltage section of the double magnitude of voltage sampled.Terminal device is when carrying out voltage compensation, calculate the pressure reduction of the cell voltage that adjacent double sampling arrives, according to the pressure reduction of described calculating, search described second mapping table, obtain pressure drop corresponding under the voltage section residing for the described cell voltage sampled, and the pressure drop of correspondence that will find, as the voltage needing to compensate.

Specifically, as shown in Figure 3, step 310 and step 320 are identical with step 220 with step 210 respectively, do not repeat them here.

In a step 330, terminal device carries out data smoothing process to the cell voltage sampled.Due in discharge process, sampled voltage curve is not steadily smooth, but there is moment large discharge current fluctuation interference, and curve shows as the curve shake in a segment limit.Such actual samples curve is unfavorable for late time data analysis, affects the transformational relation of voltage-capacity.Therefore need the large discharge current fluctuation of these moments of filtering to carry out smooth curve, in the present embodiment, adopt weighted mean algorithm to carry out level and smooth sampled data.

Specifically, weighted average method is that the one of mean value method is improved, if in measuring process, need the special measured value paying attention to certain one-phase (such as current generation), and take into account the measured value considering other stages (such as passing by the stage) again.Can by reducing the shake of sampled data to the smoothing process of sampled data.Because sampled voltage is constantly change, therefore it is not a definite value, but shakes within the specific limits.Therefore the fluctuation in the present embodiment by adopting Weighted Average Algorithm to remove sampled data, its basic thought is that current output valve Y is not only relevant with present sample data, and simultaneously also relevant with a front N-1 sampled data, correlativity weighting coefficient represents, X irepresent sampled data.Arthmetic statement is as follows:

Y = Σ i = 1 N ( ϵ i X i ) = ϵ 1 X 1 + ϵ 2 X 2 + ϵ 3 X 3 + . . . + ϵ N X N

Wherein: ε 1, ε 2, ε 3... ε nfor weighting coefficient; And ε 1+ ε 2+ ε 3+ ...+ε n=1.

In practice, the algorithmic formula after general use distortion describes:

Y = ϵ 1 X 1 + ϵ 2 X 2 + ϵ 3 X 3 + . . . + ϵ N X N ϵ

Wherein ε 1+ ε 2+ ε 3+ ...+ε n=ε, and ε=2 a.

In the present embodiment, get a=4, ε 1=6, ε 2=4, ε 3=3, ε 4=3.Certainly, in actual applications, these parameters can be revised according to real needs (such as the factor such as smooth effect, operand), not enumerate at this.By the smoothing processing of data, the fluctuating range of sampled data can be made to reduce, have good inhibitory mutagenesis sampled value simultaneously, this inhibition can prevent sampled voltage to suddenly change the impact brought.

Then, in step 340 and 350, calculate the pressure reduction of the cell voltage that the adjacent double sampling after data smoothing process arrives, the second mapping table is searched according to the pressure reduction of described calculating, obtain pressure drop corresponding under the voltage section residing for the cell voltage sampled, and in this, as needing the voltage compensated to carry out voltage compensation.

Specifically, due to numerous outer be located at different conditions under the factor such as the current fluctuation that causes all difficulty is added to voltage compensation, when working current instability, sampled voltage fluctuation is very large, and it is larger to carry out voltage compensation difficulty.Above-mentioned curve smoothing algorithm effectively can suppress the shake of sampled voltage, but when there being larger pressure drop, also needs to utilize a kind of curve simulation mechanism to make up this defect.Curve simulation mechanism based on battery in same charge situation, discharge current is different, the characteristic that the voltage presented is different, in the situation that pressure drop is large, according to the pressure reduction of twice measured value in front and back, determine the discharge curve that current voltage is corresponding, after discharge curve is determined, the relation of voltage and electricity just determines.That is, for a system, the discharge current I of existence 0, I 1..., I n, then corresponding n+1 bar discharge curve, the also corresponding corresponding relation of n+1 kind voltage and electricity, by surveying battery, can obtain I-V-C (current-voltage-electricity) matrix table.If the voltage of one-shot measurement and the discharge curve of correspondence thereof are benchmark in the past, the voltage of the current voltage that records and front one-shot measurement pressure reduction, by the comparison to I-V-C matrix, just can determine corresponding discharge curve, thus from matrix, find corresponding electricity.In theory, the I vector of I-V-C matrix typing is more, and the electricity of acquisition more approaches actual value.In reality, because of different voltage sections same curves be also different in pressure drop, need the dimension V of an increase voltage section d, the V that namely during actual operation, inquiry is four-dimensional d-I-V-C matrix, it is more that computing consumes cpu resource, therefore, present embodiment proposes the curve simulation mechanism implementation more simplified on this basis, namely with reference discharge curve for reference, by the voltage transitions after level and smooth in reference discharge curve territory, and the corresponding relation of voltage corresponding to basis of reference discharge curve and electricity, obtain charge value.Specific implementation is as follows:

Prestore second mapping table as shown in table 2, in table 2, every a line represents a voltage section (row as " 4200 " place represents and is greater than 4100mV and is less than or equal to the voltage section of 4200mV, the row expression at " 4100 " place is greater than 3900mV and is less than or equal to the voltage section of 4100mV, the like); Voltage compensation value when each is classified as same pressure drop under different voltage section in table 2.Such as time in the voltage section of 3700mV to 3800mV, when the magnitude of voltage of continuous sampling differs 10mV after level and smooth, then checking in bucking voltage from table 2 is Δ V, then the voltage V obtained after level and smooth should be modified to V '=V+ Δ V after compensation.The problem that can effectively suppress change in pressure drop larger like this.

Voltage pressure drop (mV) 5 10 15 20 25 4200 4100 3900 3800 ΔV 3700 3600 3500

Table 2

Generally speaking, " curve simulation mechanism " is supplementing the voltage compensation mechanism of specific transactions.Because system cannot obtain current charge/discharge stream, I-V-C matrix table cannot be obtained, after therefore judging Δ I by instantaneous pressure drop (i.e. the pressure reduction of the magnitude of voltage of continuous 2 samplings), the second mapping table as shown in table 2 can be obtained.Under different current battery level, identical " instantaneous pressure drop " corresponding different Δ I, the magnitude of voltage therefore compensated is also different.

In step 360, the cell voltage after voltage compensation is substituted in pre-rendered battery discharge curve figure, obtain corresponding battery electric quantity.Afterwards, in step 370, terminal device shows the battery electric quantity obtained.Step 360 and step 370 are identical with step 250 with step 240 respectively.

Fig. 4 is each voltage curve adopting curve simulation mechanism in present embodiment, and wherein, curve a is the curve of original sampling data, and curve b is the curve after voltage compensation, and curve c is level and smooth simulation curve.In x=55 to x=90 this section of interval, because pressure drop is comparatively large, simulation curve therefore can be adopted here to go to replace (substituting with the straight line of certain slope).

It is worth mentioning that, system needs to determine initial cells electricity after starting, and the initial value of battery electric quantity decides follow-up electricity displayed value, therefore seems particularly important.When system just starts, the peripheral hardware of equipment powers on successively, and therefore power consumption current fluctuation is very large, and it is very large that this just causes sampled voltage to fluctuate, and data can find to average to sampled point during this period of time by experiment, and the curve of its sampled voltage is smoother, shake less.Start period in system, can improve the sampling period, the such as sampling period was 1 second.In smart mobile phone, because equipment is more, system start-up time is longer, than the system start-up time if any 30 seconds.That is, in the system start-up time in 30 seconds, the sampling period can be set to for 1 second.

X=0 to x=55 in Fig. 4 this section of interval is exactly sampled voltage during system startup, and can find that the fluctuation of this segment data is comparatively large, when reason is system startup, electric current instability caused.Therefore adopt mean algorithm to remove level and smooth this section of curve here, diagram smooth effect is obvious.

Third embodiment of the invention relates to a kind of evaluation method of battery electric quantity, combines in present embodiment to the voltage compensation mode in the first and second embodiments.Namely, when carrying out voltage compensation, first carrying out primary voltage compensation according to the first mapping table, then, then carrying out secondary voltage compensation according to the second mapping table, as shown in Figure 5.

Specifically, prestore the first mapping table and the second mapping table, wherein, the first mapping table is the pressure drop of each load corresponding under each voltage section; Second mapping table is the pressure drop of pressure reduction corresponding under each voltage section of the double magnitude of voltage sampled.

When carrying out voltage compensation, the voltage section residing for the cell voltage sampled, searches described first mapping table, pressure drop corresponding under obtaining present load; By the pressure drop of the described correspondence found, need the voltage compensated as first time, first time voltage compensation is carried out to the described cell voltage sampled.

Then, after the cell voltage obtained after described first time voltage compensation carries out data smoothing process, pressure reduction is calculated to the cell voltage after described first time voltage compensation and the last cell voltage sampled; According to the pressure reduction of described calculating, search described second mapping table, pressure drop corresponding under obtaining residing voltage section, and this pressure drop is needed the voltage of compensation as second time, second time voltage compensation is carried out to the described cell voltage sampled.

In the present embodiment, the magnitude of voltage after twice compensation is substituted into battery discharge curve figure, obtain corresponding battery electric quantity and show.

It should be noted that, above the step of various method divide, just in order to be described clearly, a step can be merged into when realizing or some step is split, be decomposed into multiple step, as long as comprise identical logical relation, all in the protection domain of this patent; To adding inessential amendment in algorithm or in flow process or introducing inessential design, but the core design not changing its algorithm and flow process is all in the protection domain of this patent.

Four embodiment of the invention relates to a kind of terminal device, as shown in Figure 6, comprises:

Voltage electricity corresponding relation preserves module, for preserving the mapping table of cell voltage under normalized current and battery electric quantity; Wherein, described normalized current is the working current of system when entering holding state but do not enter sleep state.

Sampling module, for when estimating battery electric quantity, sampling battery voltage.

Compensating module, for carrying out voltage compensation according to current loading condition to the cell voltage that described sampling module samples.

Modular converter, for being substituted in the mapping table of described cell voltage and battery electric quantity by the cell voltage after described voltage compensation, obtains corresponding battery electric quantity.

Display module, for showing the battery electric quantity that described modular converter obtains.

Compensating module comprises following submodule:

First sub module stored, for storing the first mapping table, described first mapping table is the pressure drop of each load corresponding under each voltage section.

First searches submodule, for the voltage section residing for the cell voltage that samples described in basis, searches described first mapping table, obtains pressure drop corresponding under present load.

First compensates submodule, for searching the pressure drop of the correspondence that submodule finds by described first, as the voltage needing to compensate, carries out voltage compensation to the described cell voltage sampled.

Be not difficult to find, present embodiment is the system embodiment corresponding with the first embodiment, and present embodiment can be worked in coordination with the first embodiment and be implemented.The relevant technical details mentioned in first embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the first embodiment.

It is worth mentioning that, each module involved in present embodiment is logic module, and in actual applications, a logical block can be a physical location, also can be a part for a physical location, can also realize with the combination of multiple physical location.In addition, in order to outstanding innovative part of the present invention, the unit not too close with solving technical matters relation proposed by the invention is not introduced in present embodiment, but this does not show the unit that there is not other in present embodiment.

Fifth embodiment of the invention relates to a kind of terminal device.5th embodiment is roughly the same with the 4th embodiment, and key distinction part is: in the 4th embodiment, and compensating module carries out voltage compensation according to the first mapping table.And in fifth embodiment of the invention, compensating module carries out voltage compensation according to the second mapping table.

Specifically, compensating module comprises following submodule:

Second sub module stored, for storing the second mapping table, described second mapping table is the pressure drop of pressure reduction corresponding under each voltage section of the double magnitude of voltage sampled.

Calculating sub module, for calculating the pressure reduction of cell voltage that described sampling module samples and the last cell voltage sampled.

Second searches submodule, for the pressure reduction calculated according to described calculating sub module, searches described second mapping table, obtains pressure drop corresponding under the voltage section residing for the described cell voltage sampled.

Second compensates submodule, for searching the pressure drop of the correspondence that submodule finds by described second, as the voltage needing to compensate, carries out voltage compensation to the described cell voltage sampled.

It is worth mentioning that, described calculating sub module can comprise following subelement:

Smoothing processing subelement, for carrying out data smoothing process to the described cell voltage sampled and the last cell voltage sampled;

The described pressure reduction that described calculating sub module calculates is the pressure reduction of the cell voltage that the adjacent double sampling after data smoothing process arrives.

Be not difficult to find, present embodiment is the system embodiment corresponding with the second embodiment.Because the second embodiment and present embodiment are mutually corresponding, therefore present embodiment can be worked in coordination with the second embodiment and be implemented.The relevant technical details mentioned in second embodiment is still effective in the present embodiment, and the technique effect that can reach in this second embodiment can realize in the present embodiment too, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the second embodiment.

Sixth embodiment of the invention relates to a kind of terminal device.Present embodiment combines two kinds of voltage compensation modes in the 4th and the 5th embodiment, and namely compensating module is after carrying out voltage compensation according to the first mapping table, also needs again to carry out voltage compensation according to the second mapping table.

Be not difficult to find, present embodiment is the system embodiment corresponding with the 3rd embodiment.Because the 3rd embodiment is mutually corresponding with present embodiment, therefore present embodiment can be worked in coordination with the 3rd embodiment and be implemented.The relevant technical details mentioned in 3rd embodiment is still effective in the present embodiment, and the technique effect that can reach in the third embodiment can realize in the present embodiment too, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the 3rd embodiment.

Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiments of the invention, and in actual applications, various change can be done to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (4)

1. an evaluation method for battery electric quantity, is characterized in that, comprises following steps:
In terminal device, preserve the mapping table of cell voltage under normalized current and battery electric quantity in advance, wherein, described normalized current is the working current of system when entering holding state but do not enter sleep state;
When estimating battery electric quantity, sampling battery voltage;
According to current loading condition, voltage compensation is carried out to the described cell voltage sampled;
Cell voltage after described voltage compensation is substituted in the mapping table of described cell voltage and battery electric quantity, obtain corresponding battery electric quantity;
The battery electric quantity obtained described in display,
Wherein, describedly carry out, in the step of voltage compensation, comprising following sub-step to the described cell voltage sampled according to current loading condition:
Prestore the first mapping table and the second mapping table, wherein, the first mapping table is the pressure drop of each load corresponding under each voltage section; Second mapping table is the pressure drop of pressure reduction corresponding under each voltage section of the double magnitude of voltage sampled;
According to the voltage section residing for the described cell voltage sampled, search described first mapping table, pressure drop corresponding under obtaining present load;
By the pressure drop of the described correspondence found, need the voltage compensated as first time, first time voltage compensation is carried out to the described cell voltage sampled;
After the cell voltage obtained after described first time voltage compensation carries out data smoothing process, pressure reduction is calculated to the cell voltage after described first time voltage compensation and the last cell voltage sampled;
According to the pressure reduction of described calculating, search described second mapping table, pressure drop corresponding under obtaining residing voltage section, and this pressure drop is needed the voltage of compensation as second time, second time voltage compensation is carried out to the described cell voltage sampled.
2. the evaluation method of battery electric quantity according to claim 1, is characterized in that the mapping table of cell voltage under described normalized current and battery electric quantity, obtains in the following manner:
The full battery of charging is discharged with described normalized current, till battery electric quantity has consumed;
During described battery discharge, periodically cell voltage is sampled;
According to the battery voltage data that described periodic samples arrives, draw battery discharge curve figure;
According to described battery discharge curve figure, obtain the mapping table of cell voltage under described normalized current and battery electric quantity.
3. the evaluation method of battery electric quantity according to claim 2, is characterized in that, the described cycle is 30 seconds.
4. a terminal device, is characterized in that, comprises:
Voltage electricity corresponding relation preserves module, for preserving the mapping table of cell voltage under normalized current and battery electric quantity; Wherein, described normalized current is the working current of system when entering holding state but do not enter sleep state;
Sampling module, for when estimating battery electric quantity, sampling battery voltage;
Compensating module, for carrying out voltage compensation according to current loading condition to the cell voltage that described sampling module samples;
Modular converter, for being substituted in the mapping table of described cell voltage and battery electric quantity by the cell voltage after described voltage compensation, obtains corresponding battery electric quantity;
Display module, for showing the battery electric quantity that described modular converter obtains,
Wherein, described compensating module comprises following submodule:
First sub module stored, for storing the first mapping table, described first mapping table is the pressure drop of each load corresponding under each voltage section;
First searches submodule, for the voltage section residing for the cell voltage that samples described in basis, searches described first mapping table, obtains pressure drop corresponding under present load;
First compensates submodule, for searching the pressure drop of the correspondence that submodule finds by described first, as the voltage needing to compensate, carries out voltage compensation to the described cell voltage sampled;
Second sub module stored, for storing the second mapping table, described second mapping table is the pressure drop of pressure reduction corresponding under each voltage section of the double magnitude of voltage sampled;
Calculating sub module, for calculating the pressure reduction of cell voltage that described sampling module samples and the last cell voltage sampled, described calculating sub module comprises smoothing processing subelement, for carrying out data smoothing process to the described cell voltage sampled and the last cell voltage sampled, the described pressure reduction that described calculating sub module calculates is the pressure reduction of the cell voltage that the adjacent double sampling after data smoothing process arrives;
Second searches submodule, for the pressure reduction calculated according to described calculating sub module, searches described second mapping table, obtains pressure drop corresponding under the voltage section residing for the described cell voltage sampled;
Second compensates submodule, for searching the pressure drop of the correspondence that submodule finds by described second, as the voltage needing to compensate, carries out voltage compensation to the described cell voltage sampled.
CN201110436267.1A 2011-12-22 2011-12-22 The evaluation method of battery electric quantity and terminal device CN103176132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110436267.1A CN103176132B (en) 2011-12-22 2011-12-22 The evaluation method of battery electric quantity and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110436267.1A CN103176132B (en) 2011-12-22 2011-12-22 The evaluation method of battery electric quantity and terminal device

Publications (2)

Publication Number Publication Date
CN103176132A CN103176132A (en) 2013-06-26
CN103176132B true CN103176132B (en) 2015-08-12

Family

ID=48636119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110436267.1A CN103176132B (en) 2011-12-22 2011-12-22 The evaluation method of battery electric quantity and terminal device

Country Status (1)

Country Link
CN (1) CN103176132B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301499B (en) * 2013-07-15 2017-12-15 腾讯科技(深圳)有限公司 Battery capacity of mobile terminal log analysis methodology, device, platform and mobile terminal
CN103792490B (en) * 2013-11-22 2016-08-17 广州视源电子科技股份有限公司 The method measured and calculate system battery electricity
CN103792489B (en) * 2013-11-22 2017-03-22 广州视源电子科技股份有限公司 Improved method for measuring and calculating system battery electricity quantity
CN103969595A (en) * 2014-05-23 2014-08-06 开曼群岛威睿电通股份有限公司 Electric quantity detecting device and method
CN105866688A (en) * 2015-12-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method of measuring mobile communication terminal equipment cell capacity and system thereof
CN106026220B (en) * 2016-05-05 2019-07-05 Oppo广东移动通信有限公司 It is a kind of charge sampled voltage compensation method and mobile terminal
CN106772091B (en) * 2016-12-30 2020-02-14 Oppo广东移动通信有限公司 Method and device for updating battery capacity value and terminal
CN106646263A (en) * 2017-01-16 2017-05-10 珠海市魅族科技有限公司 Electric quantity metering method and electric quantity metering device
TWI629849B (en) * 2017-01-17 2018-07-11 盈正豫順電子股份有限公司 Battery state detection method and system thereof
CN107817859A (en) * 2017-10-30 2018-03-20 深圳市道通智能航空技术有限公司 A kind of cell voltage filtering method and device
CN107831445A (en) * 2017-10-30 2018-03-23 深圳市道通智能航空技术有限公司 A kind of method and apparatus for obtaining battery dump energy
CN108008183A (en) * 2017-11-28 2018-05-08 深圳市路畅科技股份有限公司 A kind of quantity measuring method, system, equipment and computer-readable storage medium
CN108549029A (en) * 2018-01-19 2018-09-18 昆山国显光电有限公司 Detection method, device and the terminal of battery capacity

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0512711A2 (en) * 1991-05-07 1992-11-11 Matsushita Electric Industrial Co., Ltd. Device for measuring the quantity of electricity stored in a battery
CN1641372A (en) * 2004-01-02 2005-07-20 明基电通股份有限公司 Mobile electronic device cell volume compensating device and method
CN1889736A (en) * 2006-08-08 2007-01-03 北京天碁科技有限公司 Method for measuring mobile communication terminal battery electricity quantity
CN1979942A (en) * 2005-11-30 2007-06-13 比亚迪股份有限公司 Display circuit for residual electricity quantity of secondary cell
CN101126796A (en) * 2007-10-12 2008-02-20 深圳华为通信技术有限公司 Battery electric quantity detecting method and device
CN101153894A (en) * 2006-09-26 2008-04-02 鸿富锦精密工业(深圳)有限公司 Electricity quantity detecting method, electricity quantity detecting system and electronic equipment using the same method
CN101728588A (en) * 2008-10-10 2010-06-09 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and method for determining battery electric quantity thereof
CN101806867A (en) * 2010-03-12 2010-08-18 中兴通讯股份有限公司 Method and device for measuring electric quantity of mobile phone battery

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004301784A (en) * 2003-03-31 2004-10-28 Yazaki Corp Dischargeable capacity estimating method and device for battery

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0512711A2 (en) * 1991-05-07 1992-11-11 Matsushita Electric Industrial Co., Ltd. Device for measuring the quantity of electricity stored in a battery
CN1641372A (en) * 2004-01-02 2005-07-20 明基电通股份有限公司 Mobile electronic device cell volume compensating device and method
CN1979942A (en) * 2005-11-30 2007-06-13 比亚迪股份有限公司 Display circuit for residual electricity quantity of secondary cell
CN1889736A (en) * 2006-08-08 2007-01-03 北京天碁科技有限公司 Method for measuring mobile communication terminal battery electricity quantity
CN101153894A (en) * 2006-09-26 2008-04-02 鸿富锦精密工业(深圳)有限公司 Electricity quantity detecting method, electricity quantity detecting system and electronic equipment using the same method
CN101126796A (en) * 2007-10-12 2008-02-20 深圳华为通信技术有限公司 Battery electric quantity detecting method and device
CN101728588A (en) * 2008-10-10 2010-06-09 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and method for determining battery electric quantity thereof
CN101806867A (en) * 2010-03-12 2010-08-18 中兴通讯股份有限公司 Method and device for measuring electric quantity of mobile phone battery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电动车辆电池电量检测仪的设计;文明等;《工业仪表与自动化装置》;20071231(第3期);第21-22、37页 *

Also Published As

Publication number Publication date
CN103176132A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
Zheng et al. Investigating the error sources of the online state of charge estimation methods for lithium-ion batteries in electric vehicles
Weng et al. A unified open-circuit-voltage model of lithium-ion batteries for state-of-charge estimation and state-of-health monitoring
Hu et al. Co-estimation of state of charge and state of health for lithium-ion batteries based on fractional-order calculus
Olivares et al. Particle-filtering-based prognosis framework for energy storage devices with a statistical characterization of state-of-health regeneration phenomena
Ungurean et al. Battery state of health estimation: a structured review of models, methods and commercial devices
Andre et al. Characterization of high-power lithium-ion batteries by electrochemical impedance spectroscopy. II: Modelling
Noureddine et al. A preliminary study of the impact of software engineering on greenit
CN103017290B (en) Air-conditioning electric energy management method
US20150241940A1 (en) Enclosure power controller
CN102230953B (en) Method for predicting left capacity and health status of storage battery
KR101284776B1 (en) Apparatus and methods for adaptive thread scheduling on asymmetric multiprocessor
CN102062841B (en) Estimation method and system of state of charge (SOC) of power battery
Manenti et al. A new BMS architecture based on cell redundancy
EP1231476B1 (en) Method and apparatus for determining the state of health of a battery
KR20140106436A (en) Battery state of charge tracking, equivalent circuit selection and benchmarking
Sharifi et al. Accurate direct and indirect on-chip temperature sensing for efficient dynamic thermal management
Chen et al. Accurate electrical battery model capable of predicting runtime and IV performance
Wang et al. A new node voltage stability index based on local voltage phasors
Rao et al. Estimating the saddle-node bifurcation point of static power systems using the holomorphic embedding method
Greene et al. Sensitivity of the loading margin to voltage collapse with respect to arbitrary parameters
US8538484B2 (en) Providing a user with feedback regarding power consumption in battery-operated electronic devices
Witkowski et al. Practical power consumption estimation for real life HPC applications
CN101097248B (en) Enhanced-accuracy battery capacity prediction
Xiao et al. A universal state-of-charge algorithm for batteries
US8181051B2 (en) Electronic apparatus and method of conserving energy

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
TR01 Transfer of patent right

Effective date of registration: 20170418

Address after: 201206 Shanghai, China (Shanghai) free trade zone, the moon Road, No. 3, building fourth, room B412, level 1258

Patentee after: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Address before: 201206 Pudong New Area Mingyue Road, Shanghai, No. 1258

Patentee before: Leadcore Technology Co., Ltd.

TR01 Transfer of patent right