The present application relates to a system, a method, and an article of manufacture for estimating a battery pack system state and model parameters using digital filtering techniques.
In the context of rechargeable battery pack technologies, it is desired in some applications to be able to estimate quantities that are descriptive of the present battery pack condition, but that may not be directly measured. Some of these quantities may change rapidly, such as the pack state-of-charge (SOC), which can traverse its entire range within minutes. Others may change very slowly, such as cell capacity, which might change as little as 20% in a decade or more of regular use. The quantities that tend to change quickly comprise the “state” of the system, and the quantities that tend to change slowly comprise the time varying “parameters” of the system.
In the context of the battery systems, particularly those that need to operate for long periods of time, as aggressively as possible without harming the battery life, for example, in Hybrid Electric Vehicles (HEVs), Battery Electric Vehicles (BEVs), laptop computer batteries, portable tool battery packs, and the like, it is desired that information regarding quickly varying parameters (e.g., SOC) be used to estimate how much battery energy is presently available to do work, and so forth. Further, it may be desirable to ascertain information regarding slowly varying parameters (e.g., total capacity) in order to keep the prior calculations precise over the lifetime of the pack, extending its useful service time, and help in determining the state-of-health (SOH) of the pack.
The inventor herein, however, has recognized that mathematical algorithms have been unable to provide a highly accurate estimate of an internal state and parameter of a battery because they are not sufficiently optimized for batteries having non-linear operational characteristics. Further, batteries generally have non-linear operational characteristics.
Accordingly, the inventor herein has recognized a need for a system and a method for more accurately determining an estimated battery state and parameter.
A method for determining an estimated combined battery state-parameter vector indicative of both a state and a parameter of a battery at a first predetermined time in accordance with an exemplary embodiment is provided. The method includes determining a first plurality of estimated augmented combined battery state-parameter vectors that are indicative of both a state and a parameter of the battery, a battery input noise, a sensor noise associated with a sensor measuring a battery output variable, an uncertainty of both the state and parameter of the battery, an uncertainty of the battery input noise, and an uncertainty of the sensor noise, at a second predetermined time prior to the first predetermined time. The method further includes determining a second plurality of predicted combined battery state-parameter vectors that are indicative of both the state and the parameter of the battery and an uncertainty of the both state and parameter of the battery at the first predetermined time based on the first plurality of estimated augmented combined battery state-parameter vectors. The method further includes determining a third plurality of predicted battery output vectors that are indicative of at least one output variable of the battery and an uncertainty of the output variable at the first predetermined time based on the first plurality of estimated augmented combined battery state-parameter vectors and the second plurality of predicted combined battery state-parameter vectors. The method further includes determining a first battery output vector having at least one measured value of the battery output variable. The method further includes determining a first estimated combined battery state-parameter vector indicative of both the state and the parameter of the battery at the first predetermined time based on the second plurality of predicted combined battery state-parameter vectors, the third plurality of predicted battery output vectors, and the first battery output vector.
A system for determining an estimated combined battery state-parameter vector indicative of both a state and a parameter of a battery at a first predetermined time in accordance with another exemplary embodiment is provided. The system includes a sensor configured to generate a first signal indicative of an output variable of the battery. The system further includes a computer operably coupled to the sensor. The computer is configured to determine a first plurality of estimated augmented combined battery state-parameter vectors that are indicative of both a state and a parameter of the battery, a battery input noise, a sensor noise associated with the sensor, an uncertainty of both the state and parameter of the battery, an uncertainty of the battery input noise, and an uncertainty of the sensor noise, at a second predetermined time prior to the first predetermined time. The computer is further configured to determine a second plurality of predicted combined battery state-parameter vectors that are indicative of both the state and the parameter of the battery and an uncertainty of both the state and parameter of the battery at the first predetermined time based on the first plurality of estimated augmented combined battery state-parameter vectors. The computer is further configured to determine a third plurality of predicted battery output vectors that are indicative of an at least one output variable of the battery and an uncertainty of the output variable at the first predetermined time based on the first plurality of estimated augmented combined battery state-parameter vectors and the second plurality of predicted combined battery state-parameter vectors. The computer is further configured to determine a first battery output vector based on the first signal. The computer is further configured to determine a first estimated combined battery state-parameter vector indicative of both the state and the parameter of the battery at the first predetermined time based on the second plurality of predicted combined battery state-parameter vectors, the third plurality of predicted battery output vectors, and the first battery output vector.
An article of manufacture in accordance with another exemplary embodiment is provided. The article of manufacture includes a computer storage medium having a computer program encoded therein for determining an estimated combined battery state-parameter vector indicative of a state and a parameter of a battery at a first predetermined time. The computer storage medium includes code for determining a first plurality of estimated augmented combined battery state-parameter vectors that are indicative of both a state and a parameter of the battery, a battery input noise, a sensor noise associated with a sensor measuring a battery output variable, an uncertainty of both the state and parameter of the battery, an uncertainty of the battery input noise, and an uncertainty of the sensor noise at a second predetermined time prior to the first predetermined time. The computer storage medium further includes code for determining a second plurality of predicted combined battery state-parameter vectors that are indicative of the state and the parameter of the battery and an uncertainty of both the state and parameter of the battery at the first predetermined time based on the first plurality of estimated augmented combined battery state-parameter vectors. The computer storage medium further includes code for determining a third plurality of predicted battery output vectors that are indicative of at least one output variable of the battery and of an uncertainty of the output variable at the first predetermined time based on the first plurality of estimated augmented combined battery state-parameter vectors and the second plurality of predicted combined battery state-parameter vectors. The computer storage medium further includes code for determining a first battery output vector having at least one measured value of the battery output variable. The computer storage medium further includes code for determining a first estimated combined battery state-parameter vector indicative of both the state and the parameter of the battery at the first predetermined time based on the second plurality of predicted combined battery state-parameter vectors, the third plurality of predicted battery output vectors, and the first battery output vector.
Other systems and/or methods according to the embodiments will become or are apparent to one with skill in the art upon review of the following drawings and detailed description. It is intended that all such additional systems and methods be within the scope of the present invention, and be protected by the accompanying claims.
Referring to
In the context of rechargeable battery pack technologies, it is desired in some applications to be able to estimate quantities that are descriptive of the present battery pack condition, but that may not be directly measured. Some of these quantities may change rapidly, such as the pack state-of-charge (SOC), which can traverse its entire range within minutes. Others may change very slowly, such as cell capacity, which might change as little as 20% in a decade or more of regular use. The quantities that tend to change quickly comprise the “state” of the system, and the quantities that tend to change slowly comprise the time varying “parameters” of the system.
In the context of the battery systems, particularly those that need to operate for long periods of time, as aggressively as possible without harming the battery life, for example, in Hybrid Electric Vehicles (HEVs), Battery Electric Vehicles (BEVs), laptop computer batteries, portable tool battery packs, and the like, it is desired that information regarding slowly varying parameters (e.g., total capacity) be available to determine pack health, and to assist in other calculations, including that of state-of-charge (SOC). Some exemplary parameters include, but are not limited to: cell capacity, resistance, polarization voltage time constant(s), polarization voltage blending factor(s), hysteresis blending factor(s), hysteresis rate constant(s), efficiency factor(s), and so forth.
An input variable is defined as a value of a battery input signal at a specific time. For example, an input variable can comprise one of a current entering the battery and a temperature of the battery. An output variable is defined as a value of a battery output signal at a specific time. For example, an output variable can comprise one of a battery output voltage and a battery pressure.
The system 10 includes one or more voltage sensors 20, a load circuit 26, and a computational unit such as a computer 28, and may also include one or more of a temperature sensor 22, and a current sensor 24.
The voltage sensor 20 is provided to generate a first output signal indicative of the voltage produced by one or more of the battery cells of the battery 12. The voltage sensor 20 is electrically coupled between the I/O interface 46 of the computer 28 and the battery 12. The voltage sensor 20 transfers the first output signal to the computer 28. For clarity of presentation, a single voltage sensor will be described herein. However, it should be noted that in an alternate embodiment of system 10 a plurality of voltage sensors (e.g., one voltage sensor per battery cell) are utilized in system 10.
The temperature sensor 22 is provided to generate a second output signal indicative of one or more temperatures of the battery 12. The temperature sensor 22 is disposed proximate the battery 12 and is electrically coupled to the I/O interface 46 of the computer 28. The temperature sensor 22 transfers the second output signal to the computer 28. For clarity of presentation, a single temperature sensor will be described herein. However, it should be noted that in an alternate embodiment of system 10 a plurality of temperature sensors (e.g., one temperature sensor per battery cell) are utilized in system 10.
The current sensor 24 is provided to generate a third output signal indicative of a current sourced or sunk by the battery cells of the battery 12. The current sensor 24 is electrically coupled between the battery 12 and the load circuit 26. The current sensor 24 is further electrically coupled to the I/O interface 46 of the computer 28. The current sensor 24 transfers the third output signal to the computer 28.
The load circuit 26 is electrically coupled to the current sensor 24 and sinks or sources a current from the battery 12. The load circuit 26 comprises any electrical device that can be electrically coupled to the battery 12.
The computer 28 is provided for determining an estimated combined battery state-parameter vector indicative of both a state and a parameter of a battery 12, as will be explained in greater detail below. The computer 28 includes a central processing unit (CPU) 40, a read-only memory (ROM) 44, a volatile memory such as a random access memory (RAM) 45 and an input/output (I/O) interface 46. The CPU 40 operably communicates with the ROM 44, the RAM 45, and the I/O interface 46. The CPU 40 includes a clock 42. The computer readable media including ROM 44 and RAM 46 may be implemented using any of a number of known memory devices such as PROMs, EPROMs, EEPROMS, flash memory or any other electric, magnetic, optical or combination memory device capable of storing data, some of which represent executable instructions used by the CPU 40.
For purposes of understanding, the notation utilized in the equations of the following methods will be described. The circumflex symbol indicates an estimated or predicted quantity (e.g., {circumflex over (x)} indicates an estimate of the true quantity x). The superscript symbol “−” indicates an a priori estimate (i.e., a prediction of a quantity's present value based on past data). The superscript symbol “+” indicates an a posteriori estimate (e.g., {circumflex over (x)}k+ is the estimate of true quantity x at time index k based on all measurements taken up to and including time k). The tilde symbol indicates the error of an estimated quantity (e.g., {tilde over (x)}k−=xk−{circumflex over (x)}k− and {tilde over (x)}k+=xk−{circumflex over (x)}k+). The symbol Σxy=E[xyT] indicates the correlation or cross correlation of the variables in its subscript (the quantities described herein are zero-mean, so the correlations are identical to covariances). The symbol Σx indicates the same quantity as Σxx. The superscript “T” is a matrix/vector transpose operator.
Before providing a detailed discussion of the methodologies for determining a battery parameter vector associated with the battery 12, a general overview will be provided.
A battery state vector may include, for example, a state of charge (SOC) value associated with the battery 12, a hysteresis voltage, or a polarization voltage. The SOC value is a value from 0-100 percent that indicates a present available capacity of the battery 12 that may be used to do work.
A mathematical model of battery cell behavior is used in the method to compute an estimate of the state vector of the battery 12. It is assumed that a mathematical model of the battery cell dynamics is known, and may be expressed using a discrete-time state-space model comprising a state equation and an output equation, as will be described below.
The state equation utilized to determine the state vector associated with the battery 12 is as follows: xk=f(xk−1,uk−1,wk−1,k−1) wherein,
An output vector associated with the battery 12 is determined utilizing the following equation: yk=h(xk,uk,vk,k) wherein,
The system state xk includes, at least, a minimum amount of information, together with the present input and a mathematical model of the cell, needed to predict the present output. For a cell 14, the state might include: SOC, polarization voltage levels with respect to different time constants, and hysteresis levels, for example. The system exogenous input uk includes at minimum the present cell current ik, and may, optionally, include cell temperature (unless temperature change is itself modeled in the state). The system parameters θk are the values that change only slowly with time, in such a way that they may not be directly determined with knowledge of the system measured input and output. These might include, but not be limited to: cell capacity, resistance, polarization voltage time constant(s), polarization voltage blending factor(s), hysteresis blending factor(s), hysteresis rate constant(s), efficiency factor(s), and so forth. The model output yk corresponds to physically measurable cell quantities or those directly computable from measured quantities at minimum for example, the cell voltage under load.
A mathematical model of parameter dynamics is also utilized. An exemplary model has the form:
θk+1=θk+rk
d
k
=g(xk, uk, θk)+ek.
The first equation states that the parameters θk are primarily constant, but that they may change slowly over time, in this instance, modeled by a “noise” process denoted, rk. The “output” dk is a function of the optimum parameter dynamics modeled by g(•,•,•) plus some estimation error ek. The optimum parameter dynamics g(•,•,•) being a function of the system state xk, an exogenous input uk, and the set of time varying parameters θk.
Referring to
At step 60, the computer 28 generates a battery input vector uk having at least one measured value of a battery input variable obtained at a first predetermined time.
At step 62, the computer 28 generates a battery output vector yk having at least one measured value of a battery output variable obtained at the first predetermined time.
At step 64, the computer 28 determines an estimated augmented combined battery state-parameter vector {circumflex over (X)}k−1a,+, indicative of both a state of the battery 12 and a parameter of the battery 12 at a second predetermined time prior to the first predetermined time, utilizing the equation: {circumflex over (X)}k−1a,+=[({circumflex over (X)}k−1+)T,(E[Wk−1])T,(E[vk−1])T]T where,
At step 66, the computer 28 determines an estimated augmented combined battery state-parameter vector covariance matrix Σ{tilde over (X)},k−1a,+ associated with the estimated augmented combined battery state-parameter vector, utilizing the equation:
Σ{tilde over (X)},k−1a,+=diag(Σ{tilde over (X)},k−1+,ΣW,Σv), where,
At step 68, the computer 28 determines a plurality of estimated augmented combined battery state-parameter vectors Xk−1a,+ each indicative of both a state of the battery 12 and a parameter of the battery 12 at the second predetermined time, utilizing the following equation: Xk−1a,+={{circumflex over (X)}k−1a,+,{circumflex over (X)}k−1a,++γ√{square root over (Σ{circumflex over (X)},k−1a,+)},{circumflex over (X)}k−1a,+−γ√{square root over (Σ{circumflex over (X)},k−1a,+)}}
At step 70, the computer 28 determines a plurality of predicted combined battery state-parameter vectors XkX,− each indicative of both a state of the battery 12 and a parameter of the battery 12 at the first predetermined time, utilizing the following equation: Xk,iX,−=F(Xk−1,iX,+,uk−1,Xk−1W,+,k−1), where
At step 72, the computer 28 determines a plurality of predicted battery output vectors Yk each indicative of outputs of the battery 12 at the first predetermined time, utilizing the following equation: Yk,i=h(Xk,iX,−,uk,Xk−1,iv,+,k), where
At step 74, the computer 28 determines a predicted combined battery state-parameter vector {circumflex over (X)}k− corresponding to the first predetermined time by calculating a weighted average of the plurality of predicted combined battery state-parameter vectors XkX,−, utilizing the following equation: {circumflex over (X)}k−=Σi=0pαi(m)Xk,iX,− where,
At step 76, the computer 28 determines a predicted combined battery state-parameter vector covariance matrix Σ{tilde over (X)},k−, utilizing the following equation:
Σ{tilde over (X)},k−=Σi=0pαi(c)(Xk,iX,−−{circumflex over (X)}k−)(Xk,iX,−−{circumflex over (X)}k−)T
At step 78, the computer 28 determines a predicted battery output vector ŷk indicative of outputs of the battery at the first predetermined time, utilizing the following equation: ŷk=Σi=0pαi(m)Yk,i.
At step 80, the computer 28 determines a predicted battery output vector covariance matrix Σ{tilde over (y)},k, utilizing the following equation:
Σ{tilde over (y)},k=Σi=0pαi(c)(Yk,i−ŷk)(Yk,i−ŷk)T.
At step 82, the computer 28 determines a predicted cross-covariance matrix Σ{tilde over (X)}{tilde over (y)},k−, utilizing the following equation: Σ{tilde over (X)}{tilde over (y)},k−=Σi=0pαi(c)(Xk,iX,−−{circumflex over (X)}k−)(Yk,i−ŷk)T.
At step 84, the computer 28 determines a gain matrix Lk, utilizing the following equation: Lk=Σ{tilde over (X)}{tilde over (y)},k−Σ{tilde over (y)},k−1.
At step 86, the computer 28 determines an estimated combined battery state-parameter vector {circumflex over (X)}k+, indicative of both the state of the battery 12 and the parameter of the battery 12 at the first predetermined time, utilizing the following equation:
{circumflex over (X)}
k
+
={circumflex over (X)}
k
−
+L
k
[y
k
−ŷ
k].
At step 88, the computer 28 determines an estimated combined battery state-parameter vector covariance matrix Σ{tilde over (X)},k+, associated with the estimated combined battery state-parameter vector, utilizing the following equation:
Σ{tilde over (X)},k+=Σ{tilde over (X)},k−−LkΣ{tilde over (y)},kLkT.
At step 90, the computer 28 selects new first and second predetermined times. After step 90, the method returns to step 60.
Referring to
At step 100, the computer 28 generates a battery input vector uk having at least one measured value of a battery input variable obtained at a first predetermined time.
At step 101, the computer 28 generates a battery output vector yk having at least one measured value of a battery output variable obtained at the first predetermined time.
At step 102, the computer 28 determines an estimated augmented combined battery state-parameter vector {circumflex over (X)}k−1a,+, indicative of both a state of the battery 12 and a parameter of the battery 12 at a second predetermined time prior to the first predetermined time, utilizing the equation:
{circumflex over (X)}
k−1
a,+=[({circumflex over (X)}k−1+)T,(E[Wk−1])T,(E[vk−1])T]T where,
At step 104, the computer 28 determines an estimated augmented combined battery state-parameter vector square-root covariance matrix S{tilde over (X)},k−1a,+ associated with the estimated augmented combined battery state-parameter vector, utilizing the equation:
S
{tilde over (X)},k−1
a,+=diag(S{tilde over (X)},k−1+,SW,Sv), where,
At step 106, the computer 28 determines a plurality of estimated augmented combined battery state-parameter vectors Xk−1a,+ each indicative of both a state and of a parameter of a battery 12 at the second predetermined time using the following equation:
X
k−1
a,+
={{circumflex over (X)}
k−1
a,+
,{circumflex over (X)}
k−1
a,+
+γS
{tilde over (X)},k−1
a,+
,{circumflex over (X)}
k−1
a,+
−γS
{tilde over (X)},k−1
a,+} where,
At step 108, the computer 28 determines a plurality of predicted combined battery state-parameter vectors XkX,− each indicative of both a state of the battery 12 and a parameter of the battery 12 at the first predetermined time, utilizing the following equation: Xk,iX,−=F(Xk−1,iX,+,uk−1,Xk−1,iW,+,k−1) where,
At step 110, the computer 28 determines a plurality of predicted battery output vectors Yk each indicative of outputs of the battery 12 at the first predetermined time, utilizing the following equation: Yk,i=h(Xk,iX,−,uk,Xk−1,iv,+,k) where,
At step 112, the computer 28 determines a predicted combined battery state-parameter vector {circumflex over (X)}k− corresponding to the first predetermined time by calculating a weighted average of the plurality of predicted combined battery state-parameter vectors XkX,−, utilizing the following equation: {circumflex over (X)}k−=Σi=0pαi(m)Xk,iX,− where,
At step 114, the computer 28 determines a predicted combined battery state-parameter vector square-root covariance matrix S{tilde over (X)},k−, utilizing the following equation:
S
{tilde over (X)},k
−
=qr
√{square root over (αi(c))}(Xk,(0:p)X,−−{circumflex over (X)}k−)T
At step 116, the computer 28 determines a predicted battery output vector ŷk indicative of outputs of the battery 12 at the first predetermined time, utilizing the following equation: ŷk=Σi=0pαi(m)Yk,i.
At step 118, the computer 28 determines a predicted battery output vector square-root covariance matrix S{tilde over (y)},k, utilizing the following equation:
S
{tilde over (y)},k
=qr
√{square root over (αi(c))}(Yk,(0:p)−ŷk)T
At step 120, the computer 28 determines a predicted cross-covariance matrix Σ{tilde over (X)}{tilde over (y)},k−, utilizing the following equation: Σ{tilde over (X)}{tilde over (y)},k−=Σi=0pαi(c)(Xk,iX,−−{circumflex over (X)}k−)(Yk,i−ŷk)T.
At step 122, the computer 28 determines a gain matrix Lk, utilizing the following equation: Lk=Σ{tilde over (x)}{tilde over (y)},k−(S{tilde over (y)},kT,S{tilde over (y)},k)−1.
At step 124, the computer 28 determines an estimated combined battery state-parameter vector {circumflex over (X)}k+, indicative of both the state of the battery 12 and the parameter of the battery 12 at the first predetermined time, utilizing the following equation:
{circumflex over (X)}
k
+
={circumflex over (X)}
k
−
+L
k
[y
k
−ŷ
k].
At step 126, the computer 28 determines an estimated combined battery state-parameter vector square-root covariance matrix S{tilde over (X)},k+, associated with the estimated combined battery state-parameter vector, utilizing the following equation:
S
{tilde over (X)},k
+=downdate{S{tilde over (X)},k−,LkS{tilde over (y)},k} where,
At step 128, the computer 28 selects new first and second predetermined times. After step 128, the method returns to step 100.
The system, method, and article of manufacture for determining an estimated combined battery state-parameter vector indicative of both a state and a parameter of a battery 12 provide a substantial advantage over other systems and methods. In particular, the system, method, and article of manufacture provide a technical effect of more accurately determining the combined battery state-parameter vector for a battery having non-linear operational characteristics.
The above-described methods can be embodied in the form of computer program code containing instructions embodied in tangible media, such as floppy diskettes, CD ROMs, hard drives, or any other computer-readable storage medium, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. The above-described methods can also be embodied in the form of computer program code, for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computer program code is loaded into an executed by a computer, the computer becomes an apparatus for practicing the methods. When implemented on a general-purpose microprocessor, the computer program code segments configure the microprocessor to create specific logic circuits.
While the invention is described with reference to the exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalent elements may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to the teachings of the invention to adapt to a particular situation without departing from the scope thereof. Therefore, is intended that the invention not be limited the embodiment disclosed for carrying out this invention, but that the invention includes all embodiments falling with the scope of the intended claims. Moreover, the use of the terms first, second, etc. does not denote any order of importance, but rather the terms first, second, etc. are used to distinguish one element from another.
This application is a divisional of copending U.S. patent application Ser. No. 11/350,418, filed on Feb. 9, 2006, the content of which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 11350418 | Feb 2006 | US |
Child | 12141020 | US |