The invention relates generally to electronic circuits and, more specifically, to a system and method for sensing battery capacity.
Portable electronic devices are powered by batteries that generate a voltage based on chemical reactions. As a battery provides power to the portable electronic device, the capacity of the battery to provide the power becomes diminished. Some portable electronic devices provide indications of remaining battery capacity, such that the user of the portable electronic device is provided with notice of the remaining battery capacity. However, such battery sense systems can often be inaccurate and/or can include additional circuit components that can be expensive, bulky, and/or inefficient with respect to power draw.
One embodiment of the invention includes a battery sense system. The system includes a temperature sensor configured to measure a temperature of a battery and a memory configured to store predetermined data associated with steady-state and transient behaviors of the battery relative to a depth of discharge (DOD) of the battery. The system also includes a controller configured to measure a voltage of the battery and to calculate a state of charge (SOC) of the battery based on the voltage, the predetermined data, and the temperature.
Another embodiment of the invention method for calculating an SOC of a battery. The method includes modeling the battery as a dynamic battery model comprising a steady-state circuit portion and a transient circuit portion to determine predetermined data associated with steady-state and transient behaviors of the battery relative to a DOD of the battery. The method also includes determining a temperature of the battery, measuring a voltage of the battery, and accessing the predetermined data from a memory. The method further includes calculating the SOC of the battery based on the voltage, the predetermined data, and the temperature.
Yet another embodiment of the invention includes a battery sense system. The system includes a temperature sensor configured to measure a temperature of a battery and a memory configured to store predetermined data associated with steady-state and transient behaviors of the battery relative to a DOD of the battery. The system also includes a controller configured to obtain samples of a voltage of the battery at each of a plurality of sampling intervals, to estimate a corresponding current generated by the battery at a given sampling interval based on the voltage at a respective one of the sampling intervals, the predetermined data, and the temperature. The controller is also configured to calculate an SOC of the battery based on based on the current through the battery at the respective one of the sampling intervals and based on the DOD of the battery at an immediately preceding sampling interval.
The invention relates generally to electronic circuits and, more specifically, to a system and method for sensing battery capacity. A battery sense system can include a temperature sensor that measures a temperature of the battery. The temperature is provided to a battery sense controller that is configured to measure a voltage of the battery and to calculate a state of charge (SOC) of the battery based on the voltage, the temperature, and based on predetermined data associated with steady-state and transient behavior of the battery. The predetermined data can be stored in a memory, which can be accessed by the battery sense controller at each of a plurality of sampling intervals, such that the SOC of the battery can likewise be determined at each of the sampling intervals.
As described herein, the SOC of a battery is sometimes used to indicate how much available charge remains in the battery. The depth of discharge (DOD) of the battery can refer to how much the battery has discharged, and can be defined as a present remaining integrated charge Q divided by a maximum total zero-current charge QMAX of the battery. The DOD of the battery is related to the SOC by the equation DOD+SOC=1, and is usually utilized to obtain a computation of the remaining run-time of a device powered by the battery. Therefore, as described herein, the SOC and DOD can generally be described in an interchangeable manner based on the inversely proportional relationship between SOC and DOD with respect to one.
The predetermined data can be generated offline and can correspond to the particular battery chemistry of the battery being sensed, such as at a time prior to manufacture of the battery, based on modeling the battery as a dynamic battery model and performing a series of tests on a corresponding test battery. As an example, the dynamic battery model can be configured to include a steady-state circuit portion and a transient circuit portion that each includes at least one RC network. For example, an RC network of the steady-state circuit portion can include a series-connected resistor and capacitor, and an RC network of the transient circuit portion can include a parallel-connected resistor and capacitor. The values of the resistors and capacitors in each of the respective static and transient circuit portions can be determined by applying a predetermined load to the corresponding test battery, determining a change in voltage relative to a responsive current, and removing the load to determine a voltage response. Furthermore, the values of resistance of the battery and the voltage of the steady-state circuit portion of the dynamic battery model can be temperature dependent, and can thus likewise be determined on the test battery and included in the predetermined data.
The battery sense controller can thus perform a series of calculations based on the voltage, the predetermined data, and the temperature of the battery to determine the SOC of the battery. Specifically, the battery sense controller can iteratively calculate a current of the battery at each of a plurality of sampling intervals based on the voltage at the respective sampling intervals and the DOD of the previous sampling period. The current can then be used to calculate a current SOC of the battery. Accordingly, the battery sense controller can continue to calculate new values for the SOC of the battery based on prior calculations and current measurements of both voltage and temperature.
The battery sense system 10 includes a temperature sensor 16 that is configured to provide a temperature signal TEMP to the battery sense controller 12. The temperature signal TEMP can be a signal associated with an actual temperature of the battery 14, such as based on an external sensor coupled directly to the battery 14, or can be a measure of an ambient temperature of an area surrounding the battery. As an example, the temperature signal TEMP can be a digital signal, such as provided by an analog-to-digital converter (ADC) that can be part of the temperature sensor 16. The battery sense system 10 also includes a memory 18 that is configured to store battery model data 20 and previous battery data 22. The battery model data 20 includes steady-state behavior data 24 corresponding to steady-state behavior parameters of the battery 14 and transient behavior data 26 corresponding to transient behavior parameters of the battery 14. As described in greater detail below, the steady-state behavior data 24 and the transient behavior data 26 can include data regarding a dynamic battery model having values that are dependent on the DOD of the battery 14.
The battery model data 20 can be generated offline, such as at a time prior to manufacture of the battery 14, by conducting tests on a test battery (not shown) having substantially the same chemistry as the battery 14. The characteristics of a given battery, as dependent on DOD, are generally applicable to all batteries having a particular chemistry. For example, a comparison of an open circuit voltage VOC of a given battery relative to a DOD for four different batteries, each having the same chemistry, from four different manufacturers shows that the open circuit voltages VOC of each of the batteries do not differ by more than approximately 5 millivolts, so the same database can be used for all batteries of the same chemistry (e.g., lithium ion). Thus, the battery model data 20 can correspond to data associated with a battery of substantially the same chemistry as the battery 14, such that the battery model data 20 can be implemented to provide an accurate calculation of the SOC of the battery 14. Accordingly, the battery sense controller 12 can implement the battery model data 20, provided from the memory 18 via a signal DATAMODEL, to calculate the SOC of the battery 14.
The previous battery data 22 is a set of data corresponding to prior calculations of data regarding the battery 14. As an example, the previous battery data 22 can include a previously calculated DOD of the battery 14, a previously measured voltage VBAT, and a previously estimated battery current. In the example of
As described above, the battery model data 20 can be generated for the battery 14 based on modeling the battery 14 as a dynamic battery model.
The dynamic battery model 50 includes a steady-state circuit portion 52 and a transient circuit portion 54 that are each configured as RC networks. Specifically, the steady-state circuit portion 52 includes a resistor RSER and a capacitor CSER that are arranged in series and the transient circuit portion 54 includes a resistor RPAR and a capacitor CPAR that are arranged in parallel. While the example of
The dynamic battery model 50 can be used to build a table of predetermined data associated with steady-state and transient behaviors of the battery 14, such as included in the battery model data 20 in the example of
The graph 100 demonstrates the voltage V(t) of the dynamic battery model 50 plotted as a function of time. In performing tests on the test battery, a predetermined load can be applied to and removed from the test battery at specific DOD intervals of the test battery. The voltage response of the test battery can thus be monitored to ascertain the values for the open-circuit voltage VOC, the capacitance CSER, the resistance RSER, the capacitance CPAR, and the resistance RPAR at each of the DOD intervals. Specifically, at a time T0, there is no load applied to the test battery, such that the voltage V(t) has a value V0 that remains substantially constant.
Subsequent to the time T0, at a time T1, the predetermined load is applied to the test battery, such that a known current I(t) flows from the test battery. In response, the voltage V(t) begins to reduce from the magnitude V0 at the time T1 to a magnitude V1 at a time T2, at which time the predetermined load is removed from the test battery. The region of time between the times T1 and T2 of the graph 100 can thus define a high-frequency region 102 of the voltage V(t), which can thus identify parameters of the test battery during a given DOD interval X of the high-frequency region 102. As an example, the value of the resistor RSER can be identified based on a change in the voltage V(t) relative to the change in current I(t), such that:
RSER(X)=dV(t)/dI(t) Equation 1
Thus, the value of the resistor RPAR can be ascertained as follows:
RPAR(X)=RBAT(X)−RSER(X) Equation 2
In addition, for a given DOD interval, the open circuit voltage VOC across the capacitor CSER can be determined based on the voltage V(t) and the as follows:
VOC(X)=V(t)−VRC(X)=I(t)*RBAT(X) Equation 3
After the time T2, upon the predetermined load being removed from the test battery, the voltage V(t) relaxes, and thus increases from the magnitude of V1 to a magnitude of V2 in the example of
CPAR(X)=dV(t)/dt Equation 4
Upon ascertaining the values for the open-circuit voltage VOC, the resistance RSER, the capacitance CPAR, and the resistance RPAR at each of the DOD intervals, the values for the capacitance CSER can be determined based on the number Y of DOD intervals for which the test battery was tested. Specifically, for the DOD interval X, the values for the capacitance CSER can be determined as follows:
The initial experimentation to ascertain values for the open-circuit voltage VOC, the capacitance CSER, the resistance RSER, the capacitance CPAR, and the resistance RPAR at each of the predetermined DOD values of the battery 14 can be conducted at a predetermined “room” temperature. Thus, based on the temperature dependence of both the resistance and the voltage of the dynamic battery model 50, the experimentation using the test battery in building the battery model data 20 based on the dynamic battery model 50 can also incorporate temperature components. Specifically, as temperature will affect the resistors RSER and RBAT and the capacitors CSER and CPAR substantially equally, ratios of the magnitudes of the resistors RSER and RBAT and the capacitors CSER and CPAR can be developed and incorporated as part of the battery model data 20. Specifically, the ratios at each DOD interval X can be defined as follows:
RATIO1(X)=RSER(X)/RPAR(X) Equation 6
RATIO2(X)=CSER(X)/CPAR(X) Equation 7
In addition, based on temperature experimentation on the test battery, a set of factors for calculating the open-circuit voltage VOC and the battery resistance RBAT based on temperature can be determined specifically, the set of DOD dependent variables can allow temperature dependent calculation of the open-circuit voltage VOC and the battery resistance RBAT based on the following equations:
VOC(X)=OCV_A(X)+OCV_B(X)*T Equation 8
RBAT(X)=R_A(X)(R_B(X)*(10*T−250)) Equation 9
The table 150 includes a first column 152 that demonstrates a set of DOD values for which a given set of the battery model data 20 is ascertained from the test battery and the dynamic battery model 50. In the example of
Referring back to the example of
Upon obtaining the values for the battery model data 20 at the DOD(k−1), the battery sense controller 12 can implement Equations 6 and 9 above to obtain actual values for the modeled resistance RSER and RPAR of the battery 14 based on the temperature T. Specifically, using Equation 9, the battery sense controller 12 can calculate the total resistance of the battery RBAT as adjusted for temperature. Then, using the temperature adjusted resistance value of the battery RBAT, the battery sense controller 12 can implement Equation 6 as follows:
RBAT=RSER+RPAR=RPAR+RPAR*RATIO1 Equation 10
Therefore, the battery sense controller 12 can calculate the modeled resistance RSER and RPAR of the battery 14 as follows:
RPAR=RBAT/(1+RATIO1) Equation 11
RSER=RBAT−RPAR Equation 12
As described above, the battery sense controller 12 can obtain values for the open-circuit voltage VOC and the capacitance CSER for every one of the DOD values X based on Equations 3 and 5, respectively. Thus, the battery sense controller 12 can likewise determine the values of the open-circuit voltage VOC and the capacitance CSER based on linear interpolation of the values at each of DOD(X) and DOD(X+1) between which DOD(k−1) resides. The battery sense controller 12 can then calculate the value of the capacitance CPAR as follows:
CPAR=CSER/RATIO2 Equation 13
The battery sense controller 12 can then use the values calculated for the resistances RSER and RPAR, the capacitance CPAR, and the open-circuit voltage VOC to estimate the current IEST(k). Specifically, the battery sense controller 12 can use the values calculated for the resistances RSER and RPAR and the capacitance CPAR to calculate a set of coefficients for estimating the current IEST(k). The coefficients can be defined as follows:
The battery sense controller 12 can then calculate the voltage VRC across the resistor RSER and the transient circuit portion 54 based on the open-circuit voltage VOC for the given sample (k), as follows:
VRC(k)=VBAT(k)−VOC(k) Equation 17
To obtain the open-circuit voltage VOC(k), the battery sense controller can implement the values of the previously calculated open-circuit voltage VOC(k−1) and the previously estimated current IEST(k−1), stored in the previous battery data 22, as follows:
VOC(k)=IEST(k−1)*Ts*CSER(k)+VOC(k−1) Equation 18
The open-circuit voltage VOC(k) can also be adjusted for temperature using Equation 8 described above. Therefore, the battery sense controller 12 can estimate the current IEST(k) generated by the battery 14 as follows:
IEST(k)=P0*VRC(k)+P1*VRC(k−1)+P2*IEST(k−1) Equation 19
Upon estimating the current IEST(k) generated by the battery 14, the battery sense controller 12 can also calculate the SOC of the battery 14 at the sample time (k). Specifically, the battery sense controller 12 can implement the previous value of the DOD(k−1) and the previously estimated current IEST(k−1), as follows:
DOD(k)=DOD(k−1)−IEST(k−1)*Ts/QMAX Equation 20
SOC(k)=1−DOD(k) Equation 21
The SOC(k) can then be provided to an indicator (not shown) that provides an indication of the SOC of the battery 14 to a user of the associated portable electronic device. The values of the DOD(k), the open-circuit voltage VOC(k), and the estimated current IEST(k) can then be provided to the memory 18 via the signal DATABAT to be stored as the previous battery data 22, such that the battery sense controller 12 can recursively calculate the SOC of the battery at a future sampling time (k+1). In addition, the resistance base variable R_A can be updated in the memory 18 to account for changes in the battery resistance RBAT as the battery 14 ages.
Therefore, the SOC of the battery 14 can be accurately calculated based on the voltage VBAT and the temperature T of the battery 14. Such a manner of battery sensing is thus more accurate than a typical voltage correlation battery sensing method because the battery sensing described herein accounts for an IR drop effect on the voltage VBAT while current flows through the load. In addition, the manner of battery sensing described herein is also more cost effective and efficient than a typical coulomb counting battery sensing method because the battery sensing described herein does not require an additional current sensor to calculate the SOC of the battery 14. Accordingly, the battery sensing methodology described herein is more accurate, cost effective, and efficient than typical battery sensing methodologies.
In view of the foregoing structural and functional features described above, a methodology in accordance with various aspects of the invention will be better appreciated with reference to
At 204, a temperature of the battery is determined. The temperature can be determined based on a temperature sensor that monitors the temperature of the battery or an ambient temperature of the battery environment. At 206, a voltage of the battery is measured. At 208, the predetermined data is accessed from a memory. The predetermined data can also include previously calculated battery data, including a previously calculated DOD and estimated current. At 210, the SOC of the battery is calculated based on the voltage, the predetermined data, and the temperature. The calculation of the SOC can be based on the Equations described above.
What have been described above are examples of the invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the invention, but one of ordinary skill in the art will recognize that many further combinations and permutations of the invention are possible. Accordingly, the invention is intended to embrace all such alterations, modifications, and variations that fall within the scope of this application, including the appended claims.
This application is a divisional of U.S. Nonprovisional patent application Ser. No. 12/960,856 (U.S. Pat. No. 9,201,121), which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
6094033 | Ding et al. | Jul 2000 | A |
6789026 | Barsukov et al. | Sep 2004 | B2 |
6832171 | Barsoukov | Dec 2004 | B2 |
6892148 | Barsukov et al. | May 2005 | B2 |
7518339 | Schoch | Apr 2009 | B2 |
7595643 | Klang | Sep 2009 | B2 |
9201121 | Barsukov et al. | Dec 2015 | B2 |
20040220758 | Barsukov | Nov 2004 | A1 |
20090248334 | Sans et al. | Oct 2009 | A1 |
20100066377 | Schoch et al. | Mar 2010 | A1 |
Number | Date | Country |
---|---|---|
1987508 | Jun 2007 | CN |
101144850 | Mar 2008 | CN |
2004311257 | Nov 2004 | JP |
2006516326 | Jun 2006 | JP |
20077278851 | Oct 2007 | JP |
4032854 | Jan 2008 | JP |
2009236919 | Oct 2009 | JP |
2010500539 | Jan 2010 | JP |
1020030013215 | Feb 2003 | KR |
100911317 | Jul 2009 | KR |
Entry |
---|
Peter Andersson, Parameterization of a 14.5 Ah LiFePO4-battery cell, Aug. 23, 2009, Department of Energy and Environment, Division of Electrical Engineering, Chalmers University of Technology, 70 pages. |
Search Report for PCT Application No. PCT/US2011/63483, dated Jul. 23, 2012 (2 pages). |
Office Action for Japanese Patent Application No. 2013-543259, dated Sep. 21, 2016 (3 pages). |
JP2009236919, English Machine Translation (12 pages). |
JP2006516326, English Machine Translation (12 pages). |
JP2010500539, English Machine Translation (8 pages). |
Notification of First Office Action for Chinese Patent Application No. 201510318868.0, dated Jun. 27, 2017 (4 pages). |
Peter Andersson, “Parameterization of a 14.5 Ah LiFeP04-Battery Cell”, Master's Thesis in the Master Degree Programme, Electric Power Engineering, Aug. 2009 (pp. 5-32). |
Number | Date | Country | |
---|---|---|---|
20160116543 A1 | Apr 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12960856 | Dec 2010 | US |
Child | 14930612 | US |