CN105467321B - The calculation method and battery system of the charging remaining time of battery - Google Patents
The calculation method and battery system of the charging remaining time of battery Download PDFInfo
- Publication number
- CN105467321B CN105467321B CN201410232723.4A CN201410232723A CN105467321B CN 105467321 B CN105467321 B CN 105467321B CN 201410232723 A CN201410232723 A CN 201410232723A CN 105467321 B CN105467321 B CN 105467321B
- Authority
- CN
- China
- Prior art keywords
- current
- charging
- battery
- electric current
- remaining time
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The invention discloses the calculation method of the charging remaining time of battery a kind of and a kind of battery systems, comprising the following steps: during charging the battery, the voltage of real-time sampling battery and the charging current of battery;Obtain the residual capacity of battery;When the current voltage of battery is less than predeterminated voltage, from it is N number of prestore selected in electric current one with the current charging current of battery closest to and be less than current charging current prestore adjacent current of the electric current as current charging current, and the charging remaining time of battery is calculated according to current charging current, adjacent current and residual capacity, wherein, N is positive integer;When current voltage is greater than or equal to predeterminated voltage, using preset time as charging remaining time.The calculation method of the charging remaining time can obtain remaining time of accurately charging as a result, while charging remaining time accurately can be shown to user, be convenient for user's reasonable arrangement routine matter, improve user's use feeling.
Description
Technical field
The present invention relates to battery technology field, in particular to calculation method, one kind of the charging remaining time of a kind of battery
Battery system.
Background technique
Along with the rapid development of electronics techniques, user requires the attachment of electronic product also higher and higher.For example,
The battery on power battery and mobile terminal on electric car, user need to know that battery carries out the primary electric discharge required time
And the time needed for carrying out primary charging, the display for remaining time of especially charging, the display of accurate remaining time of charging
Family reasonable arrangement routine matter can be used.
In the related technology battery charging remaining time calculated by simple formula and obtained, i.e., the residual capacity of battery divided by
The output electric current of charging unit obtains the time for needing to charge, wherein battery remaining power=total capacity-current capacities, and
In view of the loss in charging process, by the charging remaining time being calculated multiplied by fixed constant, for example, 1.1 or
1.2。
But the relevant technologies have the following disadvantages, one is the output electric current of charging unit will not be very stable, export electric current
Fluctuation will lead to charging remaining time jump;The second is charging remaining time multiplied by the bad determination of fixed constant, or
After battery is used for a long time, constant value is not applicable, and the calculating error for instead resulting in charging remaining time is bigger.Therefore, related skill
There are improved needs for the calculation method of the charging remaining time of battery in art.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, an object of the present invention is to provide one kind to accurately calculate the charging remaining time to battery
Battery charging remaining time calculation method.
It is another object of the present invention to propose a kind of battery system.
The calculation method of the charging remaining time for the battery that embodiment proposes according to an aspect of the present invention, including following step
It is rapid: during charging to the battery, the charging current of the voltage of battery described in real-time sampling and the battery;It obtains
The residual capacity of the battery;When the current voltage of the battery is less than predeterminated voltage, one is selected in electric current from N number of prestore
The closest and electric current that prestores less than the current charging current is currently filled as described with the current charging current of the battery
The adjacent current of electric current, and the electricity is calculated according to the current charging current, the adjacent current and the residual capacity
The charging remaining time in pond, wherein N is positive integer;When the current voltage is greater than or equal to the predeterminated voltage, will preset
Time is as the charging remaining time.
The calculation method of the charging remaining time of battery according to an embodiment of the present invention, when the current voltage of battery is less than in advance
If when voltage, from it is N number of prestore selected in electric current one with the current charging current of battery closest to and less than current charging current
Prestore adjacent current of the electric current as current charging current, and according to current charging current, adjacent current and residual capacity meter
It calculates the charging remaining time of battery, and when current voltage is greater than or equal to predeterminated voltage, it is remaining using preset time as charging
Time.The calculation method of the charging remaining time can obtain remaining time of accurately charging as a result, while can be remaining by charging
Temporally precise is shown to user, is convenient for user's reasonable arrangement routine matter, improves user's use feeling.
The battery system that embodiment proposes according to a further aspect of the invention, comprising: battery;Charging unit, for described
Battery charges;Memory N number of prestores electric current for storing, wherein N is positive integer;Battery manager, the cell tube
Reason device is connected with the memory and the battery respectively, during the charging unit charges to the battery,
The battery manager is for the voltage of battery and the charging current of the battery described in real-time sampling and obtains the battery
Residual capacity, when the current voltage be less than predeterminated voltage when, the battery manager from it is N number of prestore in electric current select one with
The current charging current of the battery is closest and prestores electric current as the current charging less than the current charging current
The adjacent current of electric current, and the battery is calculated according to the current charging current, the adjacent current and the residual capacity
Charging remaining time, and when the current voltage be greater than or equal to the predeterminated voltage when, the battery manager will be pre-
If the time is as the charging remaining time.
Battery system according to an embodiment of the present invention, when the current voltage of battery is less than predeterminated voltage, battery manager
One is selected to prestore electric current closest to and less than current charging current with the current charging current of battery in electric current from N number of prestore
Filling for battery is calculated as the adjacent current of current charging current, and according to current charging current, adjacent current and residual capacity
Electric remaining time, and when current voltage is greater than or equal to predeterminated voltage, battery manager is remaining using preset time as charging
Time.The battery system can obtain remaining time of accurately charging as a result, while charging remaining time being accurately shown to
User is convenient for user's reasonable arrangement routine matter, improves user's use feeling.
Detailed description of the invention
Fig. 1 is the flow chart according to the calculation method of the charging remaining time of the battery of the embodiment of the present invention;
Fig. 2 is the flow chart according to the calculation method of the charging remaining time of the battery of a specific embodiment of the invention;
Fig. 3 is the process according to the calculation method of the charging remaining time of the battery of another specific embodiment of the invention
Figure;And
Fig. 4 is the block diagram according to the battery system of the embodiment of the present invention;And
Fig. 5 is the block diagram according to the battery system of one embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
With reference to the accompanying drawings come describe the battery proposed according to embodiments of the present invention charging remaining time calculation method
And battery system.
Fig. 1 is the flow chart according to the calculation method of the charging remaining time of the battery of the embodiment of the present invention.Such as Fig. 1 institute
Show, the calculation method of the charging remaining time of the battery includes:
S1: during charging the battery, the voltage of real-time sampling battery and the charging current of battery.
S2: the residual capacity A of battery is obtained.
Wherein, the capacity number that residual capacity A can charge for needs.
S3: when the current voltage U of battery is less than predeterminated voltage, one is selected to work as in electric current with battery from N number of prestore
Preceding charging current I is closest and prestores adjacent current of the electric current as current charging current less than the current charging current I
Im, and according to the charging remaining time of current charging current I, adjacent current Im and residual capacity A calculating battery, wherein N is positive
Integer.
Wherein, N number of electric current that prestores is all different, and it is N number of it is different prestore electric current and can store in a certain order, example
It is such as stored by sequence from big to small, i.e., the 1st prestores electric current maximum ... ..., and n-th prestores electric current minimum.
It should be noted that current charging current I is identical as N number of one prestored in electric current.And current charging current I with
It is N number of when prestoring electric current and being all different, electric current can be prestored to N to be updated so as to current charging current I and N number of prestore in electric current
One is identical, and when current charging current I and it is updated it is N number of prestore still be all different in electric current when, charging can not be calculated
Remaining time continues the voltage and charging current that acquire battery.
Specifically, can from it is N number of prestore selected in electric current one with the current charging current I of battery closest to and less than working as
Preceding charging current I's prestores adjacent current Im of the electric current as current charging current, with N number of electric current that prestores by sorting from large to small
For, it is assumed that it is identical that current charging current I and N number of i-th prestored in electric current prestore electric current, then selects i+1 is a to prestore electricity
Stream is used as adjacent current Im.
Specifically, charging remaining time Tc can be calculated according to the following formula:
Wherein, Tc is the charging remaining time calculated, and A is residual capacity, and I is current charging current, Im is adjacent current,
A1 and a2 is constant and the sum of a1 and a2 are 1.
For example, it can be 0.2 that a1, which can be 0.8, a2, certainly, a1 and a2 are not limited to 0.8 in this example and 0.2, a1 and a2
Value can be adjusted according to the actual situation.
That is, remaining time Tc is equal to residual capacity A respectively multiplied by two coefficients a1 and a2, and respectively divided by current
After charging current I and adjacent current Im, then it is added.In other words, the residual capacity A of the first ratio is obtained divided by current charging current I
First time t1 out, the residual capacity A of the second ratio obtain the second time t2 divided by the adjacent current Im of current charging current again,
First time t1 is remaining charging time Tc plus the second time t2.
In this way, relative to the shakiness that electric current used by charging remaining time is charging unit output is calculated in the related technology
Fixed electric current, it is current charging current I and adjacent current that the embodiment of the present invention, which calculates electric current used by charging remaining time Tc,
Im can obtain stable current trend by above processing, to solve in the related technology because charging unit electric current is unstable
Caused by fixed the problem of the jump of charging remaining time.
In embodiments of the present invention, it after calculating remaining charging time Tc, can be shown in instrument or man-machine interface
The remaining charging time Tc of calculating is Tc with the remaining charging time for prompting user current.
In one embodiment of the invention, after sampling the current charging current I of battery, the charging of battery is remaining
The calculation method of time further include:
Judge that the charging current of the battery sampled prestores whether electric current is all different with N number of each of electric current that prestores;
If it is, judging whether to be updated N number of electric current that prestores according to the size of the charging current of the battery sampled and number.
Certainly, if the charging current of the battery sampled is identical as N number of one prestored in electric current, electric current is not prestored to N number of
It is updated.
That is, the charging current of battery is with time change, at this during charging the battery
In inventive embodiments, can according to real-time sampling to charging current N number of electric current that prestores is updated, in this way, as battery fills
The number of full electricity increases, and the charging remaining time of calculating will be more and more accurate, and accurate charging remaining time is shown to user,
Convenient for user's reasonable arrangement routine matter, user's use feeling is improved.
Specifically, in one embodiment of the invention, N number of electric current that prestores can be updated according to following methods: such as
Fruit multiple repairing weld to battery charging current Ia be greater than N number of maximum prestored in electric current prestore electric current, then multiple repairing weld is arrived
The charging current Ia of battery prestore electric current as N number of maximum prestored in electric current to be stored, and prestored N number of in electric current
Minimum prestore electric current removal;If multiple repairing weld to the charging current Ia of battery to be less than N number of minimum prestored in electric current pre-
Deposit electric current, then using multiple repairing weld to the charging current Ia of battery prestore electric current as N number of minimum prestored in electric current to carry out
Storage, and N number of maximum prestored in electric current is prestored into electric current removal;If the charging current Ia of the battery sampled at least once
It prestores electric current less than N number of maximum prestored in electric current and is greater than N number of minimum prestored in electric current and prestore electric current, then it will at least once
The charging current Ia of the battery sampled is stored, and can by it is N number of prestore in electric current with the battery that at least once samples
The maximum electric current that prestores of difference between charging current Ia removes.
Further, in one embodiment of the invention, if the charging current of collected battery is greater than N number of prestore
Maximum in electric current prestores the number of electric current and is less than N number of prestore in electric current most for the charging current of 1 or collected battery
The small number for prestoring electric current is 1, then keeps N number of electric current that prestores constant, i.e., be not updated to N number of electric current that prestores.
In addition, in one embodiment of the invention, when battery charges for the first time, store N number of from big to small or from small
To the charging current being arranged successively greatly to prestore electric current as N number of.That is, when charging the battery for the first time, it can
Any electric current is not prestored, but the different charging current of collected top n is directly stored and prestores electric current as N number of, and will
This collected sequential storage of N number of charging current from big to small or from small to large, storage it is full it is N number of prestore electric current after, if adopted
Sample is then updated N number of electric current that prestores according to collected charging current to new charging current.
N number of electric current that prestores is carried out according to the charging current sampled to sum up, being described in detail so that N is equal to 10 as an example
The method of update.When charging the battery for the first time, real-time collected charging current is stored, then will adopt in real time
The charging current collected is stored in N number of memory space in sequence, such as by descending sequential storage, the 1st is deposited
Storage maximum in storage space prestores electric current, and the 10th memory space storage minimum prestores electric current, different pre- at storage full 10
After depositing electric current, if collecting new charging current, handled according to following 3 kinds of situations:
1st kind of situation if collected charging current Ia is greater than 10 maximums prestored in electric current and prestores electric current, and is adopted
The number of the charging current Ia collected is greater than or equal to preset times M, i.e., if collecting the same charging current Ia for M times,
And Ia is greater than 10 maximums prestored in electric current and prestores electric current, then prestores electric current using collected charging current Ia as maximum
And it is stored in the 1st memory space, and the predetermined current stored before the 1st memory space is stored to the 2nd memory space, class
As, the electric current that prestores stored before the 2nd memory space to the 9th memory space is successively stored to the 3rd memory space
To the 10th memory space, and the electric current that prestores stored before minimum before is prestored electric current i.e. the 10th memory space is washed in a pan
It eliminates, the small electric current that prestores that electric current i.e. the 9th memory space stores before that prestores of second before prestores electric current as minimum;Such as
The number of the collected charging current Ia of fruit is less than preset times M, such as only samples 1 charging current Ia, then will not
Charging current Ia is stored, i.e., is not updated to N number of electric current that prestores.
2nd kind of situation, prestores if collected charging current Ia prestores electric current in N number of maximum prestored in electric current with minimum
Between electric current, even if only sampling 1 time, collected charging current Ia can also be stored in order, that is, be stored in only secondary
Electric current and the only secondary position prestored between electric current less than charging current Ia are prestored greater than charging current Ia, for example, charging electricity
Stream Ia be greater than the storage of the 9th memory space prestore electric current and less than the 8th memory space storage prestore electric current, then will charging
Electric current Ia is stored in above-mentioned two prestore between electric current.And it can be by N number of difference prestored in electric current between charging current Ia most
Big prestores electric current removal, in other words, maximum is prestored electric current or minimum prestores electric current and eliminates.For example, charging current Ia is stored
Electric current and when prestoring between electric current of the 8th memory space storage are prestored in the storage of the 9th memory space, it is assumed that charging current
The difference of Ia and the 10th memory space storage prestored between electric current is less than charging current Ia and the 1st memory space storage
The difference between electric current is prestored, then the electric current that prestores by the 1st memory space storage removes, and charging current Ia is stored in the 8th
A memory space, meanwhile, the electric current that prestores stored before the 8th memory space is deposited to the 7th memory space, similarly, general
The electric current that prestores stored before 2nd memory space to the 7th memory space is successively stored to the 1st memory space to the 6th
Memory space.
3rd kind of situation, similarly the 1st kind of situation, if collected charging current Ia is less than the minimum prestored in electric current
Electric current is prestored, and the number of collected charging current Ia is greater than or equal to preset times Q, i.e., if collected for Q times same
A charging current Ia, and the minimum that Ia is prestored in electric current less than 10 prestores electric current, then using collected charging current Ia as
It is the smallest to prestore electric current and be stored in the 10th memory space, and the predetermined current stored before the 10th memory space store to
9th memory space similarly successively stores the electric current that prestores stored before the 2nd memory space to the 9th memory space
To the 1st memory space to the 8th memory space, and stored before maximum before is prestored electric current i.e. the 1st memory space
The electric current that prestores eliminate, the electric current that prestores that before second largest stores before prestoring electric current i.e. the 2nd memory space becomes most
Big value;If the number of collected charging current Ia is less than preset times Q, such as only samples 1 charging current Ia,
Charging current Ia is not stored then, i.e., N number of electric current that prestores is not updated.
In this way, N number of electric current that prestores certainly, prestores the pre- of electric current with the variation real-time update of collected charging current
It deposits sequence and is not limited only to descending, the numerical value for prestoring electric current above is also not necessarily limited to numerical value 10 in this example.
In another embodiment of the present invention, when the current voltage of battery is less than predeterminated voltage, if current charging
Electric current I is equal to N number of minimum prestored in electric current and prestores electric current, then it is surplus to calculate charging according to current charging current I and residual capacity A
The remaining time.
It, can not be from N number of that is, if current charging current I is equal to N number of minimum prestored in electric current and prestores electric current
Prestore selected in electric current one with current charging current I closest to and be less than the adjacent current Im of current charging current I, i.e., it is adjacent
Electric current Im is invalid value, then the remaining time Tc that charges is equal to residual capacity divided by current charging current I.
In a specific embodiment of the invention, as shown in Fig. 2, to select one and battery in electric current from N number of prestore
Current charging current I is closest and prestores adjacent current Im of the electric current as current charging current less than current charging current I
For, when the current voltage of battery be less than predeterminated voltage when, battery charging remaining time calculation method the following steps are included:
S101: the charging current of battery is obtained in real time.
S102: judge that the charging current of the battery sampled prestores whether not each of electric current prestores electric current with N number of
It is identical.If so, thening follow the steps S103;If not, thening follow the steps S104.
S103: judge whether to carry out N number of electric current that prestores according to the size of the charging current of the battery sampled and number
It updates.
S104: judge whether current charging current I is equal to N number of minimum prestored in electric current and prestores electric current.If it is, holding
Row step S105;If not, thening follow the steps S106.
S105: charging remaining time is calculated according to current charging current I and residual capacity A.
S106: charging remaining time is calculated according to current charging current I, adjacent current Im and residual capacity A.
S4: when the current voltage U of battery is greater than or equal to predeterminated voltage, using preset time T f as when charging residue
Between.Wherein, predeterminated voltage is critical voltage when battery is fully charged fastly.
Wherein, in one embodiment of the invention, after using preset time T f as charging remaining time, further includes:
Countdown is carried out by preset time to show.Wherein, preset time T f can be obtained according to the material and its charging characteristic curve of battery.
That is, first determining whether the current voltage of battery reaches default electricity when starting to charge the battery
Pressure, if having reached predeterminated voltage, using preset time T f as charging remaining time, and electricity is given in Tf countdown at preset timed intervals
Pond is charged, while being carried out countdown on the display of instrument or human-computer interaction interface and being shown until charging terminates.If
Do not reach predeterminated voltage, then charging remaining time Tc is calculated according to step S3.
Further, in an embodiment of the invention, according to current charging current I, adjacent current Im and remaining appearance
After amount A calculates charging remaining time Tc, i.e. after step S3, the calculation method further include: judge calculated battery
Whether charging remaining time Tc is greater than preset time T f;If it is, using the charging remaining time Tc of calculated battery as
It charges remaining time, until current voltage U is greater than or equal to predeterminated voltage;If it is not, then charging remaining time is fixed as pre-
If time Tf, and control timer and start timing, until current voltage U is greater than or equal to predeterminated voltage.
Further, in one embodiment of the invention, when the charging remaining time Tc of calculated battery is greater than in advance
If when time Tf, if the difference of the charging remaining time Tc and preset time T f of calculated battery are greater than preset time threshold
Tm1 is then removed and N number of is prestored electric current;When the charging remaining time Tc of calculated battery is less than or equal to preset time T f, if
The timing time Tw of timer is greater than preset durations threshold value Tm2, then removes and N number of prestore electric current.Wherein, Tm1 and Tm2 can be equal
It is 60 minutes.
That is, preset time T f is made if the charging remaining time Tc calculated is less than or equal to preset time T f
It is shown for charging remaining time, meanwhile, control timer starts timing, when current voltage U reaches predeterminated voltage, control
Timer stops timing, and carries out countdown by preset time T f in instrument or human-computer interaction interface and show, meanwhile, obtain meter
When device timing time Tw, i.e. current voltage U is less than the duration of predeterminated voltage, if timing time Tw be greater than or equal to it is pre-
If duration threshold Tm2, then remove it is N number of prestore electric current, and when charging the battery next time, store again N number of pre-
Deposit electric current.If timing time Tw is less than preset durations threshold value Tm2, when charging the battery next time, directly press
This N number of electric current that prestores calculates charging remaining time, collects new charging current and is then updated to N number of electric current that prestores.It can be with
Understand, is preset when timing time Tw is greater than or equal to preset durations threshold value Tm2, or when timing time Tw is less than
When duration threshold Tm2, countdown is carried out by preset time T f in instrument or human-computer interaction interface and is shown.
If the charging remaining time Tc calculated is greater than preset time T f, continue to acquire current voltage and current charging electricity
Stream is updated N number of electric current that prestores according to the current charging current for continuing acquisition, while further judgement continuation is collected
Whether current voltage is greater than or equal to predeterminated voltage, if it is, obtaining the charging remaining time Tc and preset time T f calculated
Between time difference Tc-Tf, and using preset time T f as charging remaining time, while in instrument or human-computer interaction interface by
Preset time T f carries out countdown and shows;If time difference Tc-Tf is greater than or equal to preset time threshold Tm1, remove N number of pre-
Electric current is deposited, and when charging the battery next time, stores again and N number of prestore electric current.If time difference Tc-Tf is less than pre-
If time threshold Tm1, then when charging the battery next time, charging remaining time directly is calculated by this N number of electric current that prestores, is had
New charging current is then updated N number of electric current that prestores.Certainly, if the charging remaining time Tc calculated is greater than preset time
Tf, and when continuing collected current voltage and being less than predeterminated voltage, then follow the steps S3.It is understood that as time difference Tc-
When Tf is greater than or equal to preset time threshold Tm1, or when time difference Tc-Tf is less than preset time threshold Tm1, in instrument
Or countdown is carried out by preset time T f on human-computer interaction interface and is shown.
To sum up, since charge capacity is continuously increased, residual capacity A is gradually during charging the battery
Reduce, remaining charging time Tc also gradually decreases, loop to determine calculated battery charging remaining time whether be greater than it is default
Time and judge whether the current voltage of battery reaches predeterminated voltage.In this way, there are two kinds of situations:
1st kind of situation, during charging the battery, the current voltage U of battery is gradually increased, when charging is remaining
Between Tc be gradually reduced, when the charging remaining time Tc of calculating is reduced to less than or equal to preset time T f, but the current electricity of battery
When U being pressed to be less than predeterminated voltage, using preset time T f as charging remaining time, and the remaining charging time shown is preset time
Tf, while controlling timer and starting timing, wait the current voltage of battery to be greater than or equal to predeterminated voltage, when the current electricity of battery
Timing terminates when pressure is greater than or equal to predeterminated voltage, while the Tf at preset timed intervals on the display of instrument or human-computer interaction interface
Carry out countdown show until battery charging terminate, and obtain wait battery current voltage more than or equal to predeterminated voltage when
Between be duration T w.Further, if Tw is greater than or equal to preset durations threshold value Tm2, i.e., in certain error model
Other than enclosing, then remove it is N number of prestore electric current and the recordable duration is greater than or equal to the number of preset durations threshold value, and
When charging the battery next time, stores again and N number of prestore electric current;If Tw is less than preset durations threshold value Tm2, i.e.,
Within certain error range, then when charging the battery next time, charging residue directly is calculated by this N number of electric current that prestores
Time, and when having new renewable charging current in charging process, continue to update it is N number of prestore electric current, in this way, what is calculated is surplus
Remaining charging time Tc is more acurrate, and fully charged number is more, and the charging remaining time of calculating is more accurate.
2nd kind of situation, during charging the battery, the current voltage U of battery is gradually increased, when charging is remaining
Between Tc be gradually reduced, if calculated charging remaining time Tc is greater than or equal to preset time T f, but collected voltage is big
In or equal to predeterminated voltage, then countdown is carried out by preset time T f on the display of instrument or human-computer interaction interface and shown,
And obtain the time difference Tc-Tf between calculated charging remaining time Tc and preset time T f.Further, if the time difference
Tc-Tf is greater than or equal to preset time threshold Tm1, i.e., other than certain error range, then removes and N number of prestore electric current and can remember
Number of the time difference more than or equal to preset time threshold is recorded, and when charging the battery next time, is stored again N number of
Prestore electric current;If time difference Tc-Tf is less than preset time threshold Tm1 i.e. within certain error range, next time right
When battery is charged, charging remaining time directly is calculated by this N number of electric current that prestores, and have new may be updated in charging process
Charging current when, continue to update it is N number of prestore electric current, in this way, the remaining charging time Tc calculated more acurrate, fully charged number
More, the charging remaining time of calculating is more accurate.
Generally speaking, in another embodiment of the present invention, as shown in figure 3, the calculating of the charging remaining time of battery
Method specifically includes the following steps:
S201: the voltage and charging current of battery are obtained in real time.
S202: judge whether the current voltage U of battery is less than predeterminated voltage.If so, thening follow the steps S203;If
It is no, then follow the steps S213.
S203: calculating charging remaining time according to current charging current I, N number of electric current and residual capacity A of prestoring, or according to
Current charging current I and residual capacity A calculates charging remaining time.
S204: judge whether the charging remaining time Tc calculated is less than or equal to preset time T f.If it is, executing step
Rapid S205;If not, thening follow the steps S209.
S205: display preset time, and control timer and start timing.
S206: judge whether the current voltage of battery is less than predeterminated voltage.If it is, repeating step S206;Such as
Fruit is no, thens follow the steps S207.
S207: control timer terminates timing, and obtains timing time Tw, i.e. the current voltage of waiting battery is greater than or waits
It is duration T w in the time of predeterminated voltage.
S208: judge whether duration T w is greater than or equal to preset durations threshold value Tm2.If it is, executing step
Rapid S212;If not, thening follow the steps S213.
S209: continue to obtain current voltage and current charging current.
S210: judge whether the current voltage of battery is less than predeterminated voltage.If so, thening follow the steps S203;If not,
Then follow the steps S211.
S211: judge whether time difference Tc-Tf is greater than or equal to preset time threshold Tm1.If so, thening follow the steps
S212;If not, thening follow the steps S213.
S212: remove it is N number of prestores electric current, stored again when charging the battery next time it is N number of prestore electric current, continue
Execute step S213.
S213: using preset time T f as charging remaining time, by pre- on the display of instrument or human-computer interaction interface
It is shown if the time carries out countdown.
To sum up, the calculation method of the charging remaining time of battery according to an embodiment of the present invention, when the current voltage of battery
When less than predeterminated voltage, from it is N number of prestore selected in electric current one with the current charging current of battery closest to and less than currently filling
Electric current prestores adjacent current of the electric current as current charging current, and according to current charging current, adjacent current and residue
The charging remaining time of calculation of capacity battery, and when current voltage is greater than or equal to predeterminated voltage, using preset time as filling
Electric remaining time.The calculation method of the charging remaining time can obtain remaining time of accurately charging as a result, while will charging
Remaining time is accurately shown to user, is convenient for user's reasonable arrangement routine matter, improves user's use feeling.Also, phase
For calculating the unstable electric current that electric current used by charging remaining time is charging unit output, the present invention in the related technology
It is that current charging current is added with adjacent current by a certain percentage and is obtained that embodiment, which calculates electric current used by charging remaining time,
The electric current arrived can obtain stable current trend by above processing, to solve in the related technology because of charging unit electricity
Flow it is unstable caused by charge remaining time jump the problem of.In addition, during charging the battery, according to reality
When collected current charging current N number of electric current that prestores is updated, to be calculated as the fully charged number of battery increases
Charging remaining time will be more and more accurate.
Fig. 4 is the block diagram according to the battery system of the embodiment of the present invention.As shown in figure 4, the battery system includes:
Battery 10, charging unit 20, memory 30 and battery manager 40.Wherein.Charging unit 20 is for charging to battery 10;
Memory 30 N number of prestores electric current for storing, wherein N is positive integer.In a specific example of the invention, memory 30 can
Thinking EEPROM, (ElectrIaally Erasable Programmable Read-Only Memory, electric erazable programmable is only
Read memory).
As shown in figure 4, battery manager 40 is connected with memory 30 and battery 10 respectively, in charging unit 20 to battery 10
During being charged, battery manager 40 is for the voltage of real-time sampling battery and the charging current of battery and obtains battery
Residual capacity A, when current voltage U be less than predeterminated voltage when, battery manager 40 from it is N number of prestore in electric current select one with electricity
The current charging current I in pond is closest and prestores adjacent electricity of the electric current as current charging current less than current charging current I
Im is flowed, and calculates the charging remaining time Tc of battery according to current charging current I, adjacent current Im and residual capacity A, and work as
When current voltage U is greater than or equal to predeterminated voltage, battery manager 40 is using preset time T f as charging remaining time.
It should be noted that current charging current I is identical as N number of one prestored in electric current, with it is N number of prestore electric current by from
Arrive greatly for small sequence, it is assumed that it is identical that current charging current I and N number of i-th prestored in electric current prestore electric current, then selection i-th+
1 prestores electric current as adjacent current Im.And current charging current I and N number of when prestoring electric current and being all different, electricity can be prestored to N
Stream is updated so that current charging current I is identical as N number of one prestored in electric current, and as current charging current I and updates
Afterwards N number of prestores when being still all different in electric current, and battery manager 40 can not calculate charging remaining time, continue to acquire battery
Voltage and charging current.
Specifically, battery manager 40 can calculate charging remaining time Tc according to the following formula:
Wherein, Tc is the charging remaining time calculated, and A is residual capacity, and I is current charging current, Im is adjacent current,
A1 and a2 is constant and the sum of a1 and a2 are 1.
For example, it can be 0.2 that a1, which can be 0.8, a2, certainly, a1 and a2 are not limited to 0.8 in this example and 0.2, a1 and a2
Value can be adjusted according to the actual situation.
That is, remaining time Tc is equal to residual capacity A respectively multiplied by two coefficients a1 and a2, and respectively divided by current
After charging current I and adjacent current Im, then it is added.In other words, residual capacity A is obtained divided by the current charging current I of the first ratio
First time t1 out, residual capacity A obtain the second time t2 divided by the adjacent current Im of the current charging current of the second ratio again,
First time t1 is remaining charging time Tc plus the second time t2.
In this way, calculating electric current used by charging remaining time Tc is current charging current I and adjacent current Im by certain
Electric current obtained from ratio is added, so that the unstable electric current of charging unit output, obtains surely by above processing
Fixed charging current, solve in the related technology because charging unit electric current it is unstable caused by charge the jump of remaining time
Problem.
In an embodiment of the invention, as shown in figure 5, battery system further include: display 50 and timer 60.Its
In, display 50 is connected with battery manager 40, and display 50 is for showing charging remaining time;Timer 60 and battery management
Device 40 is connected, and timer 40 is for recording the time.Wherein, display 50 may be disposed on instrument or human-computer interaction interface.
Further, in an embodiment of the invention, after using preset time T f as charging remaining time, cell tube
Reason device 40 is also used to control display 50 and is shown by preset time progress countdown.
That is, battery manager 40 first determines whether battery when charging unit 20 starts to charge to battery 10
Current voltage whether reach predeterminated voltage, if having reached predeterminated voltage, using preset time T f as charging remaining time,
And during charging unit 20 is charged to battery 10, while battery manager 40 is also used to control instrument or human-computer interaction
Display 50 on interface carries out countdown by preset time and shows until charging terminates.If not reaching predeterminated voltage,
Charging remaining time Tc is calculated according to current charging current I, adjacent current Im and residual capacity A, is calculated in battery manager 40
Out after remaining charging time Tc, it can show that the remaining charging time is Tc, on the display 40 of instrument or man-machine interface to mention
Show that user is Tc in the current remaining charging time.
Wherein, it should be noted that residual capacity A is the capacity number for needing to charge;N number of electric current that prestores is all different, and N
It is a it is different prestore electric current and can store in memory 30 in a certain order, such as by being stored sequentially in from big to small
In N number of memory space of memory 30, i.e., it is that maximum prestores electric current that the 1st, which prestores electric current, is stored in the 1st memory space
Interior ... ..., it is that minimum prestores electric current that n-th, which prestores electric current, is stored in n-th memory space.
In one embodiment of the invention, after sampling the current charging current I of battery, battery manager 40 is also
For: judge that the charging current I of the battery sampled and memory 30 store it is N number of prestore each of electric current and prestore electric current be
It is no to be all different, if it is, battery manager 40 is according to the judgement of the size and number of the charging current of the battery sampled
It is no that N number of electric current that prestores is updated.Certainly, if the charging current of the battery sampled and N number of one prestored in electric current
Identical, then battery manager 40 is not updated N number of electric current that prestores.
That is, during charging unit 20 charges to battery 10, the charging current of battery be with when
Between change, in embodiments of the present invention, battery manager 40 can according to real-time sampling to charging current to N number of prestore electric current
It is updated, in this way, the charging remaining time of calculating will be more and more accurate as the fully charged number of battery increases, it will be accurate
Charging remaining time be shown to user, be convenient for user's reasonable arrangement routine matter, improve user's use feeling.
Specifically, in one embodiment of the invention, if the charging for the battery that 40 multiple repairing weld of battery manager arrives
Electric current Ia is greater than N number of maximum prestored in electric current and prestores electric current, then the charging for the battery that battery manager 40 arrives multiple repairing weld
Electric current Ia prestores electric current as N number of maximum prestored in electric current and stores to memory 30, and N number of prestores what memory 30 stored
Minimum in electric current prestores electric current removal;If the charging current Ia for the battery that 40 multiple repairing weld of battery manager arrives is less than N number of
It prestores the minimum in electric current and prestores electric current, then the charging current Ia for the battery that battery manager 40 arrives multiple repairing weld is as N number of
Prestore the minimum in electric current and prestore electric current the N number of maximum prestored in electric current for storing to memory 30, and memory 30 being stored
Prestore electric current removal;If the charging current Ia for the battery that battery manager 40 samples at least once prestores electric current less than N number of
In maximum prestore electric current and be greater than N number of minimum prestored in electric current prestore electric current, then battery manager 40 will be adopted at least once
Sample to the charging current Ia of battery stored, and by memory 30 store it is N number of prestore in electric current with sample at least once
To battery charging current Ia between difference it is maximum prestore electric current removal.
Further, in one embodiment of the invention, if the charging electricity of the collected battery of battery manager 40
Stream is 1 greater than the number that N number of maximum prestored in electric current prestores electric current or the charging current of collected battery is less than N number of pre-
Depositing the minimum in electric current and prestoring the number of electric current is 1, then keeps N number of electric current that prestores constant, i.e., do not carry out more to N number of electric current that prestores
Newly.
In addition, in one embodiment of the invention, when charging to battery 10 20 first time of charging unit, battery
Manager 40 stores N number of charging current being arranged successively from big to small or from small to large to memory 30 to prestore as N number of
Electric current.That is, memory 30 can not prestore any electric current, battery manager 40 when charging the battery for the first time
The different charging current of collected top n is directly stored to the memory space of memory 30, then will acquire this is N number of not
Same electric current stores in sequence, for example, the 1st memory space, which stores N number of maximum prestored in electric current, prestores electricity
Stream ... ..., n-th memory space stores N number of maximum prestored in electric current and prestores electric current, after the storage completely of N number of memory space, such as
Fruit battery manager 40 samples new charging current, then battery manager 40 is prestored according to collected charging current to N number of
Electric current is updated.
N number of electric current that prestores is carried out according to the charging current sampled to sum up, being described in detail so that N is equal to 10 as an example
The method of update.When charging to battery 10 20 first time of charging unit, battery manager will real-time collected charging
Electric current is simultaneously stored to memory 30, then real-time collected charging current is stored in the N number of of memory 30 in sequence
In memory space, such as by descending sequential storage, the 1st memory space stores 10 maximums prestored in electric current and prestores
Electric current ... ..., the 10th memory space store 10 maximums prestored in electric current and prestore electric current, and 10 memory space storages are full
Afterwards, if battery manager 40 collects new charging current, battery manager 40 will be according to following 3 kinds of situations to collected
Charging current is handled:
1st kind of situation, if battery manager 40 judges that collected charging current Ia is greater than 10 and prestores in electric current
Maximum prestores electric current, and the number of collected charging current Ia is greater than or equal to preset times M, i.e., if M times collects
The same charging current Ia, and Ia is greater than 10 maximums prestored in electric current and prestores electric current, then battery manager 40 will collect
Charging current Ia prestore electric current as maximum and be stored in the 1st memory space, and store before the 1st memory space
Predetermined current is stored to the 2nd memory space, similarly, pre- by storing before the 2nd memory space to the 9th memory space
It deposits electric current successively to store to the 3rd memory space to the 10th memory space, and minimum before is prestored into electric current i.e. the 10th
The 10th stored before memory space prestores electric current and eliminates, second before it is small prestore electric current i.e. the 9th memory space it
The 9th of preceding storage prestores electric current and prestores electric current as minimum;If battery manager 40 judges the collected charging current
The number of Ia is less than preset times M, such as only samples 1 charging current Ia, then does not store charging current Ia,
N number of electric current that prestores is not updated.
2nd kind of situation, if battery manager 40 judges that collected charging current Ia is pre- in N number of maximum prestored in electric current
It deposits electric current and minimum prestores between electric current, even if only sampling 1 time, collected charging current Ia can also be deposited in order
Storage is stored in the only secondary electric current that prestores more than or equal to charging current Ia and is less than charging current Ia with only secondary into memory 30
The position prestored between electric current, for example, charging current Ia be greater than the storage of the 9th memory space prestore electric current and less than the 8th
A memory space storage prestores electric current, then charging current Ia is stored in above-mentioned two prestore between electric current.And it can will be N number of pre-
It deposits the maximum electric current that prestores of the difference in electric current between charging current Ia to remove, in other words, maximum is prestored into electric current or minimum is pre-
Electric current is deposited to eliminate.For example, prestoring electric current and the 8th memory space for what charging current Ia was stored in the storage of the 9th memory space
When prestoring between electric current of storage, it is assumed that the difference between electric current that prestores of charging current Ia and the 10th memory space storage is less than
The difference of charging current Ia and the 1st memory space storage prestored between electric current, then by the 1st of the storage of the 1st memory space the
It is a to prestore electric current removal, charging current Ia is stored in the 8th memory space, meanwhile, and will be stored before the 8th memory space
The 8th prestore electric current and deposit to the 7th memory space, similarly, will be deposited before the 2nd memory space to the 7th memory space
The electric current that prestores of storage is successively stored to the 1st memory space to the 6th memory space.
3rd kind of situation, similarly the 1st kind of situation, if battery manager 40 judges collected charging current Ia less than 10
A minimum prestored in electric current prestores electric current, and the number of collected charging current Ia is equal to and is greater than or preset times Q, i.e.,
If Q times collects the same charging current Ia, and the minimum that Ia is prestored in electric current less than 10 prestores electric current, then battery management
Device 40 prestores electric current and is stored in the 10th memory space using collected charging current Ia as the smallest, and the 10th storage
The predetermined current stored before space is stored to the 9th memory space, similarly, the 2nd memory space is empty to the 9th storage
Between before the electric current that prestores that stores successively store to the 1st memory space to the 8th memory space, and maximum before is prestored
The electric current that prestores stored before the memory space of electric current i.e. the 1st is eliminated, and second largest electric current i.e. the 2nd that prestore before stores sky
Between before store prestore electric current as maximum value;If battery manager 40 judges the number of collected charging current Ia
Less than preset times Q, such as 1 charging current Ia is only sampled, then not stored charging current Ia, i.e., not to N
A electric current that prestores is updated.
In this way, N number of electric current that prestores is with the variation real-time update of collected charging current, certainly, prestoring for electric current is suitable
Sequence is not limited only to descending, and the numerical value for prestoring electric current above is also not necessarily limited to numerical value 10 in this example.
In another embodiment of the present invention, when the current voltage U of battery is less than predeterminated voltage, if currently filled
Electric current I is equal to N number of minimum prestored in electric current and prestores electric current, then battery manager 40 is according to current charging current I and residue
Capacity A calculates charging remaining time.
That is, if current charging current I, which is equal to N number of minimum prestored in electric current, prestores electric current, battery management
Device 40 can not from it is N number of prestore in electric current select one with current charging current I closest to and be less than current charging current I it is adjacent
Electric current Im, i.e. adjacent current Im are invalid value, then the remaining time Tc that charges is equal to residual capacity A divided by current charging current I.
Further, in an embodiment of the invention, according to current charging current I, adjacent current Im and remaining appearance
After the charging remaining time that amount A calculates battery, battery manager 40 is also used to: judging that the charging of calculated battery is remaining
Whether the time is greater than preset time T f;If it is, battery manager 40 is made with the charging remaining time Tc of calculated battery
For charge remaining time, until current voltage U be greater than or equal to predeterminated voltage;If it is not, then battery manager 40 is surplus by charging
The remaining time is fixed as preset time T f, and controls timer and start timing, until current voltage U is greater than or equal to default electricity
Pressure.
Further, in one embodiment of the invention, it is stated when the charging remaining time Tc of calculated battery is greater than
When preset time T f, if battery manager 40 judges the difference of the charging remaining time Tc and preset time T f of calculated battery
Greater than preset time threshold Tm1, then removes the N number of of the storage of memory 30 and prestore electric current;When the charging of calculated battery is remaining
When time Tc is less than or equal to preset time T f, if battery manager 40 judges that the timing time of timer 60 is greater than default continue
Time threshold Tm2 then removes the N number of of the storage of memory 30 and prestores electric current.Wherein, Tm1 and Tm2 can be 60 minutes.
That is, if the charging remaining time Tc that battery manager 40 calculates is less than or equal to preset time T f, electricity
Pool manager 40 controls display 50 and shows preset time T f, and controls timer 60 and start timing, reaches in current voltage
When predeterminated voltage, then charging unit 20 charge to battery 10,40 control instrument of battery manager or human-computer interaction circle
The display 50 in face carries out countdown by preset time T f and shows, meanwhile, when battery manager 40 obtains the timing of timer 60
Between Tw, i.e., current voltage be less than predeterminated voltage duration;If the timing time Tw of timer 60 is greater than or equal to default
Duration threshold Tm2, then battery manager 40 remove memory 30 store it is N number of prestore electric current, and one under charging unit 20
Secondary when charging to battery 10, battery manager 40 stores N number of electric current that prestores to memory 30 again.If the duration
Tw is less than preset durations threshold value Tm2, then charging unit 20 charges to battery 10 next time when, battery manager 40 is straight
It connects and stores N number of electric current that prestores by memory 30 and calculate charging remaining time, battery manager 40 collects new charging current then
N number of electric current that prestores is updated.It is understood that when timing time Tw is greater than or equal to preset durations threshold value Tm2
When, or when timing time Tw is less than preset durations threshold value Tm2, the equal control instrument of battery manager 40 or human-computer interaction
The display 50 at interface carries out countdown by preset time T f and shows.
If the charging remaining time Tc that battery manager 40 calculates is greater than preset time T f, battery manager 40 continues
Current voltage and current charging current are acquired, battery manager 40 prestores electricity to N number of according to the current charging current for continuing acquisition
Stream is updated, while further judging to continue whether collected current voltage is greater than or equal to predeterminated voltage, if it is,
Battery manager 40 obtain calculate charging remaining time Tc and preset time T f between time difference Tc-Tf, and will be default when
Between Tf as charging remaining time, charging unit 20 charged the battery, while battery manager 40 controls display
50, which carry out countdown by preset time T f, shows;If time difference Tc-Tf is greater than or equal to preset time threshold Tm1, battery
Manager 40 removes the N number of of the storage of memory 30 and prestores electric current, and when charging unit 20 charges to battery 10 next time,
Battery manager 40 stores N number of electric current that prestores to memory 30 again.If time difference Tc-Tf is less than preset durations threshold
Value Tm1, then charging unit 20 charges to battery 10 next time when, battery manager 40 directly presses this of the storage of memory 30
N number of electric current that prestores calculates charging remaining time, and battery manager 40 collects new charging current and then carries out to N number of electric current that prestores
It updates.Certainly, if the charging remaining time Tc calculated is greater than preset time T f, and continue collected current voltage and be less than in advance
If when voltage, then battery manager 40 calculates the charging of battery according to current charging current I, adjacent current Im and residual capacity A
Remaining time Tc.It is understood that when time difference Tc-Tf is greater than or equal to preset time threshold Tm1, or work as the time difference
When Tc-Tf is less than preset time threshold Tm1, pool manager 40 controls display 50 and is shown by preset time T f progress countdown
Show.
To sum up, since charge capacity is continuously increased, being remained during charging unit 20 charges to battery 10
Covolume amount A is gradually decreased, and remaining charging time Tc is also gradually decreased, and battery manager 40 loops to determine filling for calculated battery
Whether electric remaining time is greater than preset time and judges whether the current voltage of battery reaches predeterminated voltage.In this way, there are two
Kind situation:
1st kind of situation, during charging unit 20 charges to battery 10, the current voltage U of battery gradually increases
Greatly, charging remaining time Tc is gradually reduced, when the charging remaining time Tc that battery manager 40 calculates is reduced to less than or equal to
Preset time T f, but the current voltage of battery be less than predeterminated voltage when, battery manager 40 using preset time T f as charging remain
The remaining time, and the remaining charging time for controlling the display of display 50 is preset time T f, while battery manager 40 controls timing
Device 60 starts timing, waits the current voltage of battery to be greater than or equal to predeterminated voltage, when the current voltage of battery is greater than or equal to
When predeterminated voltage, battery manager 40, which controls timer 60, terminates timing, and charging unit 20 continues to charge the battery, simultaneously
Battery manager 40 controls display 50 and is shown by preset time T f progress countdown until battery charging terminates, and obtains waiting
The time that the current voltage of battery is greater than or equal to predeterminated voltage is duration T w.Further, if Tw is greater than or equal to
Preset durations threshold value Tm2, i.e., other than certain error range, then battery manager 40 removes the N that memory 30 stores
It is a to prestore electric current and can record number of the duration more than or equal to preset durations threshold value, and one under charging unit 20
Secondary when charging to battery 10, battery manager 40 stores N number of electric current that prestores to memory 30 again;If Tw is less than pre-
If duration threshold Tm2, i.e., within certain error range, then charging unit 20 next time charges to battery 10
When, battery manager 40 directly calculates charging remaining time, and charging process by this N number of electric current that prestores that memory 30 stores
In when having new renewable electric current, continue to update it is N number of prestore electric current, in this way, the remaining charging time Tc calculated is more acurrate, fill
The number of full electricity is more, and the charging remaining time of calculating is more accurate.
2nd kind of situation, during charging unit 20 charges to battery 10, the current voltage U of battery gradually increases
Greatly, charging remaining time Tc is gradually reduced, if calculated charging remaining time Tc is greater than or equal to preset time T f, but is adopted
The voltage collected is greater than or equal to predeterminated voltage, then charging unit 20 is charged the battery, while battery manager 40
Control preset time T f carries out countdown on display 50 and shows up to being full of, and battery manager 40 obtain it is calculated
Time difference Tc-Tf between charging remaining time Tc and preset time T f.Further, if time difference Tc-Tf is greater than or waits
In preset time threshold Tm1, i.e., other than certain error range, then battery manager 40 removes the N number of of the storage of memory 30
It prestores electric current and recordable time difference is greater than or equal to the number of preset time threshold, and in charging unit 20 next time to battery
10 when being charged, and battery manager 40 stores N number of electric current that prestores to memory 30 again;If time difference Tc-Tf is less than pre-
If time threshold Tm1, i.e., within certain error range, then charging unit 20 charges to battery 10 next time when, electricity
Pool manager 40 directly calculates charging remaining time by this N number of electric current that prestores that memory 30 stores, and has in charging process
When new renewable charging current, continue to update it is N number of prestore electric current, in this way, the remaining charging time Tc calculated is more acurrate, fill
The number of full electricity is more, and the charging remaining time of calculating is more accurate.
To sum up, battery system according to an embodiment of the present invention, when the current voltage of battery is less than predeterminated voltage, cell tube
Reason device selects one prestoring with the current charging current of battery closest to and less than current charging current from N number of prestore in electric current
Adjacent current of the electric current as current charging current, and battery is calculated according to current charging current, adjacent current and residual capacity
Charging remaining time, and when current voltage be greater than or equal to predeterminated voltage when, battery manager using preset time as charge
Remaining time.The battery system can obtain remaining time of accurately charging as a result, while charging remaining time accurately being shown
Show to user, is convenient for user's reasonable arrangement routine matter, improves user's use feeling.Also, it falls into a trap relative to the relevant technologies
The unstable electric current that electric current used by charging remaining time is charging unit output is calculated, it is surplus that the embodiment of the present invention calculates charging
Electric current used by the remaining time is electric current obtained from current charging current is added by a certain percentage with adjacent current, more than
Processing can obtain stable current trend, thus solve in the related technology because charging unit electric current it is unstable caused by fill
The problem of jump of electric remaining time.In addition, according to collecting in real time, current charging is electric during charging the battery
Stream is updated N number of electric current that prestores, so that the charging remaining time of calculating will be more next as the fully charged number of battery increases
It is more accurate.
In addition, the battery system can be used for electric vehicle, mobile phone, tablet computer etc. in the equipment of battery.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time
The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on the figure or
Positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must
There must be specific orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary
The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art
For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with
It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below "
One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (18)
1. the calculation method of the charging remaining time of battery a kind of, which comprises the following steps:
During charging to the battery, the charging current of the voltage of battery described in real-time sampling and the battery;
Obtain the residual capacity of the battery;
When the current voltage of the battery is less than predeterminated voltage, one is selected to work as in electric current with the battery from N number of prestore
Preceding charging current is closest and prestores adjacent electricity of the electric current as the current charging current less than the current charging current
When flowing, and calculating the charging residue of the battery according to the current charging current, the adjacent current and the residual capacity
Between, wherein N is positive integer;And
When the current voltage is greater than or equal to the predeterminated voltage, using preset time as the charging remaining time.
2. the calculation method of the charging remaining time of battery as described in claim 1, which is characterized in that further include:
Judge that whether the charging current of the battery sampled prestores electric current not phase with described N number of each of electric current that prestores
Together;
If it is, judging whether N number of to prestore to described according to the size of the charging current of the battery sampled and number
Electric current is updated.
3. the calculation method of the charging remaining time of battery as claimed in claim 2, which is characterized in that
If the same charging current that multiple repairing weld arrives, and the same charging current sampled would be greater than described N number of prestore in electric current
Maximum prestore electric current, then using the multiple repairing weld to same charging current it is pre- as N number of maximum prestored in electric current
Electric current is deposited to be stored, and N number of minimum prestored in electric current is prestored into electric current removal;
If the same charging current that multiple repairing weld arrives, and the same charging current sampled would be less than described N number of prestore in electric current
Minimum prestore electric current, then using the multiple repairing weld to same charging current it is pre- as N number of minimum prestored in electric current
Electric current is deposited to be stored, and N number of maximum prestored in electric current is prestored into electric current removal;
If the same charging current sampled at least once, and the same charging current sampled would be less than and described N number of would prestore electricity
Maximum in stream, which prestores electric current and is greater than N number of minimum prestored in electric current, prestores electric current, then samples described at least once
To same charging current stored, and by it is described it is N number of prestore in electric current with the same charging sampled at least once
The maximum electric current that prestores of difference between electric current removes.
4. the calculation method of the charging remaining time of battery as claimed in claim 2, which is characterized in that if collected institute
It is 1 or collected described that the charging current for stating battery, which is greater than N number of maximum prestored in electric current to prestore the number of electric current,
It is 1 that the charging current of battery, which is less than N number of minimum prestored in electric current to prestore the number of electric current, then keeps described and N number of prestore
Electric current is constant.
5. the calculation method of the charging remaining time of battery as described in claim 1, which is characterized in that when working as the battery
When preceding voltage is less than the predeterminated voltage, if the current charging current is equal to N number of minimum prestored in electric current and prestores
Electric current then calculates the charging remaining time according to the current charging current and the residual capacity.
6. battery as described in claim 1 charging remaining time calculation method, which is characterized in that according to the following formula with
And the current charging current, the adjacent current and the residual capacity calculate the charging remaining time of the battery:
Wherein, Tc is the charging remaining time of battery, and A is the residual capacity, and I is the current charging current, and Im is described
Adjacent current, a1 and a2 are constant and the sum of a1 and a2 are 1.
7. the calculation method of the charging remaining time of battery as described in claim 1, which is characterized in that calculating the electricity
After the charging remaining time in pond, further includes:
Judge whether the charging remaining time of the calculated battery is greater than the preset time;
If it is, using the charging remaining time of the calculated battery as charging remaining time, until the current electricity
Pressure is greater than or equal to the predeterminated voltage;
If it is not, then charging remaining time is fixed as the preset time, and controls timer and start timing, until described work as
Preceding voltage is greater than or equal to the predeterminated voltage.
8. the calculation method of the charging remaining time of battery as claimed in claim 7, which is characterized in that further include:
When the charging remaining time of the calculated battery being greater than the preset time, if the calculated battery
The difference for remaining time and the preset time of charging then is removed and described N number of prestores electric current greater than preset time threshold;
When the charging remaining time of the calculated battery being less than or equal to the preset time, if the meter of the timer
When the time be greater than preset durations threshold value, then remove and described N number of prestore electric current.
9. the calculation method of the charging remaining time such as battery of any of claims 1-8, which is characterized in that work as institute
When stating battery and charging for the first time, the N number of charging current being arranged successively from big to small or from small to large is stored using as described N number of pre-
Deposit electric current.
10. a kind of battery system characterized by comprising
Battery;
Charging unit, for charging to the battery;
Memory N number of prestores electric current for storing, wherein N is positive integer;
Battery manager, the battery manager are connected with the memory and the battery respectively, in the charging unit pair
During the battery is charged, voltage and the battery of the battery manager for battery described in real-time sampling
Charging current and the residual capacity for obtaining the battery, when the current voltage of the battery is less than predeterminated voltage, the battery
Manager from it is N number of prestore selected in electric current one with the current charging current of the battery closest to and less than the current charging
Electric current prestores adjacent current of the electric current as the current charging current, and according to the current charging current, described adjacent
Electric current and the residual capacity calculate the charging remaining time of the battery, and when the current voltage of the battery is greater than or waits
When the predeterminated voltage, the battery manager is using preset time as the charging remaining time.
11. battery system as claimed in claim 10, which is characterized in that the battery manager was also used to judge to sample
Whether described N number of each of electric current that prestores that the charging current of the battery and the memory store prestores electric current not phase
Together, if it is, the battery manager judges whether according to the size and number of the charging current of the battery sampled
N number of electric current that prestores is updated.
12. battery system as claimed in claim 11, which is characterized in that wherein,
If the same charging current that the battery manager multiple repairing weld arrives, and the same charging current sampled would be greater than described
N number of maximum prestored in electric current prestores electric current, then the same charging current that the battery manager arrives the multiple repairing weld is made
Electric current is prestored for N number of maximum prestored in electric current to store to the memory, and the memory is stored described N number of
It prestores the minimum in electric current and prestores electric current removal;
If the same charging current that the battery manager multiple repairing weld arrives, and the same charging current sampled would be less than described
N number of minimum prestored in electric current prestores electric current, then the same charging current that the battery manager arrives the multiple repairing weld is made
Electric current is prestored for N number of minimum prestored in electric current to store to the memory, and the memory is stored described N number of
It prestores the maximum in electric current and prestores electric current removal;
If the same charging current that the battery manager samples at least once, and the same charging current sampled would be less than
N number of maximum prestored in electric current, which prestores electric current and is greater than N number of minimum prestored in electric current, prestores electric current, then the electricity
The N that the same charging current sampled at least once is stored, and the memory is stored by pool manager
A difference prestored in electric current between the same charging current sampled at least once is maximum to prestore electric current removal.
13. battery system as claimed in claim 11, which is characterized in that if the collected electricity of the battery manager
It is 1 or the collected battery that the charging current in pond, which is greater than N number of maximum prestored in electric current to prestore the number of electric current,
Charging current to be less than N number of minimum prestored in electric current to prestore the number of electric current be 1, then keep described and N number of prestore electric current
It is constant.
14. battery system as claimed in claim 10, which is characterized in that
When the current voltage of the battery is less than the predeterminated voltage, if the current charging current is less than or equal to the N
A minimum prestored in electric current prestores electric current, then the battery manager is according to the current charging current and the residual capacity
Calculate the charging remaining time.
15. battery system as claimed in claim 10, which is characterized in that the battery manager is according to the following formula and institute
State the charging remaining time that current charging current, the adjacent current and the residual capacity calculate the battery:
Wherein, Tc is the charging remaining time of battery, and A is the residual capacity, and I is the current charging current, and Im is described
Adjacent current, a1 and a2 are constant and the sum of a1 and a2 are 1.
16. battery system as claimed in claim 10, which is characterized in that the charging remaining time for calculating the battery it
Afterwards, when the battery manager is also used to judge whether the charging remaining time of the calculated battery is greater than described default
Between;If it is, when the battery manager is using the charging remaining time of the calculated battery as charging residue
Between, until the current voltage is greater than or equal to the predeterminated voltage;If it is not, then when the battery manager will charge remaining
Between be fixed as the preset time, and control timer and start timing, until the current voltage be greater than or equal to it is described pre-
If voltage.
17. battery system as claimed in claim 16, which is characterized in that
When the charging remaining time of the calculated battery being greater than the preset time, if the battery manager judges
The charging remaining time of the calculated battery and the difference of the preset time are greater than preset time threshold, then deposit described in removing
The described of reservoir storage N number of prestores electric current;
When the charging remaining time of the calculated battery being less than or equal to the preset time, if the battery manager
Judge that the timing time of the timer is greater than preset durations threshold value, then removes the described N number of pre- of the memory storage
Deposit electric current.
18. the battery system as described in any one of claim 10-17, which is characterized in that in the charging unit first time
When charging to the battery, the battery manager is by N number of charging current being arranged successively from big to small or from small to large
It stores to the memory N number of to prestore electric current as described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410232723.4A CN105467321B (en) | 2014-05-29 | 2014-05-29 | The calculation method and battery system of the charging remaining time of battery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410232723.4A CN105467321B (en) | 2014-05-29 | 2014-05-29 | The calculation method and battery system of the charging remaining time of battery |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105467321A CN105467321A (en) | 2016-04-06 |
CN105467321B true CN105467321B (en) | 2019-03-26 |
Family
ID=55605237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410232723.4A Active CN105467321B (en) | 2014-05-29 | 2014-05-29 | The calculation method and battery system of the charging remaining time of battery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105467321B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107195999A (en) * | 2017-06-30 | 2017-09-22 | 昆山市富众网络科技有限公司 | A kind of charging equipment power consumption optimization method |
CN108693476B (en) * | 2018-04-02 | 2020-07-10 | 浙江南都电源动力股份有限公司 | Method, device and system for predicting remaining dischargeable time of battery at any multiplying power |
CN108896928B (en) * | 2018-07-20 | 2020-12-08 | 深圳市道通智能航空技术有限公司 | Estimation method and device of battery remaining time, battery cell, battery and aircraft |
CN108896927B (en) * | 2018-07-20 | 2020-10-13 | 深圳市道通智能航空技术有限公司 | Estimation method and device of remaining flight time of aircraft, battery and aircraft |
CN110729790B (en) * | 2019-10-28 | 2023-03-21 | Oppo广东移动通信有限公司 | Charging method and device, computer equipment and storage medium |
CN111422092B (en) * | 2020-04-17 | 2021-09-10 | 肇庆小鹏汽车有限公司 | Charging remaining time calculation method and device and storage medium |
CN112526346A (en) * | 2020-10-13 | 2021-03-19 | 长城汽车股份有限公司 | Method and device for determining residual charging time and automobile |
CN113517741A (en) * | 2021-07-17 | 2021-10-19 | 左点实业(湖北)有限公司 | Method and device for detecting charging remaining time |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1099192A (en) * | 1992-08-14 | 1995-02-22 | 沙特克实验室有限公司 | The charging method of battery and device |
CN1163677A (en) * | 1995-06-16 | 1997-10-29 | 急迫充电公司 | Charging device and charging system |
CN1755977A (en) * | 2004-09-29 | 2006-04-05 | 松下电动车辆能源股份有限公司 | Method for detecting state of secondary battery and device for detecting state of second battery |
EP1798100A2 (en) * | 2005-12-16 | 2007-06-20 | Hitachi Vehicle Energy, Ltd. | Battery management system |
CN101447688A (en) * | 2007-11-21 | 2009-06-03 | 株式会社日本自动车部品综合研究所 | Method and apparatus for detecting internal electric state of in-vehicle secondary battery |
CN102208701A (en) * | 2011-04-28 | 2011-10-05 | 湖南大学 | Dynamic charging method of power lithium battery |
CN102457070A (en) * | 2010-10-19 | 2012-05-16 | 财团法人联合船舶设计发展中心 | Active potential-equalizing charging method of battery pack |
CN102460898A (en) * | 2009-06-09 | 2012-05-16 | 斯堪尼亚商用车有限公司 | Charging duration determination |
CN102520364A (en) * | 2011-12-20 | 2012-06-27 | 广东欧珀移动通信有限公司 | Method utilizing battery voltage to display electric quantity |
-
2014
- 2014-05-29 CN CN201410232723.4A patent/CN105467321B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1099192A (en) * | 1992-08-14 | 1995-02-22 | 沙特克实验室有限公司 | The charging method of battery and device |
CN1163677A (en) * | 1995-06-16 | 1997-10-29 | 急迫充电公司 | Charging device and charging system |
CN1755977A (en) * | 2004-09-29 | 2006-04-05 | 松下电动车辆能源股份有限公司 | Method for detecting state of secondary battery and device for detecting state of second battery |
EP1798100A2 (en) * | 2005-12-16 | 2007-06-20 | Hitachi Vehicle Energy, Ltd. | Battery management system |
CN101447688A (en) * | 2007-11-21 | 2009-06-03 | 株式会社日本自动车部品综合研究所 | Method and apparatus for detecting internal electric state of in-vehicle secondary battery |
CN102460898A (en) * | 2009-06-09 | 2012-05-16 | 斯堪尼亚商用车有限公司 | Charging duration determination |
CN102457070A (en) * | 2010-10-19 | 2012-05-16 | 财团法人联合船舶设计发展中心 | Active potential-equalizing charging method of battery pack |
CN102208701A (en) * | 2011-04-28 | 2011-10-05 | 湖南大学 | Dynamic charging method of power lithium battery |
CN102520364A (en) * | 2011-12-20 | 2012-06-27 | 广东欧珀移动通信有限公司 | Method utilizing battery voltage to display electric quantity |
Also Published As
Publication number | Publication date |
---|---|
CN105467321A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105467321B (en) | The calculation method and battery system of the charging remaining time of battery | |
CN105823988B (en) | The method and apparatus of estimated battery state | |
CN107852011A (en) | Method and apparatus for optimizing fast battery charging | |
CN103918120B (en) | Lead accumulator system | |
CN107179512A (en) | Predict the method and device of battery life | |
CN110506214A (en) | The life diagnosis device of battery and the diagnosing method for service life of battery | |
WO2010079563A1 (en) | Battery set charging method and battery charging system | |
CN104656021B (en) | The predictor method and device of a kind of remaining battery capacity | |
CN107632272A (en) | A kind of electrokinetic cell electric discharge state-of-charge precise Estimation Method based on the prediction of battery core internal temperature | |
CN107315147A (en) | A kind of electrokinetic cell SOC dynamic estimation methods | |
CN108688504A (en) | Battery charging control method and device, automobile and computing equipment | |
CN107167739B (en) | A kind of power battery life-span prediction method | |
CN105993094A (en) | Device and method for controlling a plurality of cells of a battery | |
WO2008099298A1 (en) | Method and apparatus for determination of the state-of-charge (soc) of a rechargeable battery | |
CN109100655A (en) | A kind of data processing method and device of power battery | |
CN109839595A (en) | A kind of battery charge state based on charging voltage characteristics determines method and system | |
CN106646262A (en) | Power battery capacity estimation method, power battery capacity estimation system, and electric vehicle | |
CN104101837B (en) | A kind of on-line calculation method of the current total capacity of battery | |
CN108051755A (en) | Battery internal resistance acquisition method and device, battery management system and computer storage readable medium | |
CN107290686B (en) | Curve acquires metering method and device | |
CN109986997A (en) | A kind of power battery SOC prediction meanss, automobile and method | |
CN109975710A (en) | Calculate the calculation method and battery management system of vehicle battery charging time | |
CN113795761B (en) | Secondhand battery cell safe deposit | |
CN116670524A (en) | Method and device for determining state of charge (SOC) of battery pack | |
CN109444750A (en) | A kind of capacity of lead acid battery predictor method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |