Portions of the disclosure of this patent document contain material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure as it appears in the Patent and Trademark Office file or records, but otherwise reserves all copyright rights whatsoever.
1. Field of the Invention
The present invention relates to the implementation of a method and apparatus for estimating battery charge power and discharge power.
2. Background Art
A number of high-performance battery applications require precise real-time estimates of the power available to be sourced by the battery pack. For example, in Hybrid Electric . Vehicles (HEVs) and Battery Electric Vehicles (BEVs), the vehicle controller requires continuous up-to-date information from the Battery Management System (BMS) regarding the power that may be supplied to the electric motor from the battery pack, and power that may be supplied to the pack via regenerative braking or by active recharging via the motor. One current technique in the art, called the HPPC (Hybrid Pulse Power Characterization) method, performs this task of estimation by using the voltage limits to calculate the maximum charge and discharge limits. As described in the PNGV (Partnership for New Generation Vehicles) Battery Test Manual, Revision 3, February 2001, published by the Idaho National Engineering and Environmental Laboratory of the U.S. Department of Energy, the HPPC method estimates maximum cell power by considering only operational design limits on voltage. It does not consider design limits on current, power, or the battery state-of-charge (SOC). Also the method produces a crude prediction for horizon Δt. Each cell in the battery pack is modeled by the approximate relationship
vk(t)=OCV (zk(t))−R×ik(t) (1)
where OCV (zk(t)) is the open-circuit-voltage of cell k at its present state-of-charge zk(t) and R is a constant representing the cell's internal resistance. Different values of R may be used for charge and discharge currents, if desired, and are denoted as Rchg and Rdis, respectively.
Since the design limits vmin≦vk (t)≦vmax must be enforced, the maximum discharge current may be calculated as constrained by voltage, as shown below
The maximum magnitude charge current may be similarly calculated based on voltage. Note, however, that charge current is assumed negative in sign by convention employed in the present invention (although the opposite convention may be used with minor modifications to the method), so that maximum-magnitude current is a minimum in the signed sense. It is
Pack power is then calculated as
This prior art charge calculation method is limited in several respects. First, as noted above, the method does not use operational design limits on SOC, maximum current, or maximum power in the computation. More importantly, the cell model used is too primitive to give precise results. Overly optimistic or pessimistic values could be generated, either posing a safety or battery-health hazard or causing inefficient battery use.
What is desired is a new method and appartus for battery charge estimation based on a better cell model. Such a cell model would be combined with a maximum-power algorithm that uses the cell model to give better power prediction. The new method would also take in operational design limits such as SOC, current, and power.
The present invention relates to a method and an apparatus for estimating discharge and charge power of battery applications, including battery packs used in Hybrid Electric Vehicles (HEV) and Electric Vehicles (EV). One embodiment is a charge prediction method that incorporates voltage, state-of-charge, power, and current design constraints, works for a user-specified prediction horizon Δt, and is more robust and precise than the state of the art. The embodiment has the option of allowing different modeling parameters during battery operation to accommodate highly dynamic batteries used in Hybrid Electric Vehicles (HEV) and Electric Vehicles (EV) where such previous implementations were difficult.
An embodiment of the present invention calculates maximum charge/discharge power by calculating the maximum charge/discharge current using any combination of four primary limits:
1. state-of-charge (SOC) limits
2. voltage limits
3. current limits
4. power limits
In one embodiment, the minimum absolute charge/discharge current value from the calculations using state-of-charge (SOC), voltage, and current limits is then chosen to obtain the maximum absolute charge/discharge power. In one embodiment, the maximum absolute charge/discharge power is checked to ensure it is within the power limits. In one embodiment, the maximum absolute charge/discharge power is calculated in a way as to not violate any combination of the limits that may be used.
Prior methods do not use SOC limits in their estimation of maximum charge/discharge power. The present invention incorporates the SOC of the battery cell or battery pack to estimate the maximum charge/discharge current. The estimation explicitly includes a user-defined time horizon Δt. In one embodiment, the SOC is obtained by using a Kalman filter. The SOC that is produced by Kalman filtering also yields an estimate of the uncertainty value, which can be used in the maximum charge/discharge calculation to yield a confidence level of the maximum charge/discharge current estimate.
Methods of the present invention improve upon prior art estimation of power based on voltage limits. In the present invention, voltage limits are used to calculate the maximum charge/discharge current in a way that includes a user-defined time horizon Δt. Two primary cell model embodiments are in the present invention for the calculation of maximum charge/discharge power based on voltage limits. The first is a simple cell model that uses a Taylor-series expansion to linearize the equation involved. The second is a more complex and accurate cell model that models cell dynamics in discrete-time state-space form. The cell model can incorporate a variety of inputs such as temperature, resistance, capacity, etc. One advantage of using model-based approach is that the same cell model may be used in both Kalman filtering to produce the SOC and the estimation of maximum charge/discharge current based on voltage limits.
Embodiments of the present invention also include methods of charge estimation based on any combination of the voltage, current, power, or SOC limits described above. For example, charge estimation can be based on voltage limits only, or combined with current limits, SOC limits and/or power limits.
Embodiments of the present invention are directed to a power estimating apparatus that takes in data measurements from the battery such as current, voltage, temperature, and feeding such measurements to an arithmetic circuit, which includes calculation means that performs the calculation methods disclosed in the present invention to estimate the absolute maximum charge or discharge power.
These and other features, aspects and advantages of the present invention will become better understood with regard to the following description, appended claims and accompanying drawings where:
Embodiments of the present invention relate to battery charge estimation for any battery-powered application. In one embodiment, the estimator method and apparatus find the maximum absolute battery charge and/or discharge power (based on present battery pack conditions) that may be maintained for Δt seconds without violating pre-set limits on cell voltage, state-of-charge, power, or current.
In step 10, the maximum discharge current is calculated based on pre-set limits on state-of-charge. The estimation explicitly includes a user-defined time horizon Δt. In one embodiment, the SOC is obtained by using a Kalman filtering method. The SOC that is produced by Kalman filtering also yields an estimate of the uncertainty value, which can be used in the maximum charge/discharge calculation to yield a confidence level of the maximum charge/discharge current estimation. In another embodiment, a simple state-of-charge is used. Step 10 is further described in the section titled “Calculation Based on State-of-Charge (SOC) Limits.”
The maximum discharge current is calculated based on pre-set limits on voltage in step 12. The present invention has two main cell model embodiments for the calculation of maximum charge/discharge power based on voltage limits, although it is understood that other cell models could be used. Both overcome the limitation of prior art discharge estimation methods of giving a crude prediction of time horizon Δt. The first is a simple cell model that uses a Taylor-series expansion to linearize the equation involved. The second is a more complex and accurate cell model that models cell dynamics in discrete-time state-space form. The cell model can incorporate a variety of inputs such as temperature, resistance, capacity, etc. The two cell models are further described in the section titled “Calculation Based on Voltage Limits.”
Then in step 14, the maximum discharge current is calculated based on pre-set limits on current. In step 16, the minimum of the three calculated current values from steps 10, 12, and 14 is chosen. It is understood that the execution order of steps 10, 12, 14 is interchangeable. It is further understood that any combination of steps 10, 12, and 14 may be omitted, if desired, in an implementation. Using the chosen discharge current value, step 18 calculates the maximum discharge power. The calculated pack power may be further refined in order to not violate individual cell or battery pack power design limits.
It is noted that modifications may be made to the method embodiments as shown in
One embodiment of the present invention estimates the maximum absolute charge and/or discharge power of a battery pack. The battery pack may be, for example, a battery pack used in a hybrid electric vehicle or an electric vehicle. The embodiment makes a number of denotations and limits, including:
Modifications can be made in alternate embodiments. For example, any particular limit may be removed if desired by replacing its value by ±∝, as appropriate. As an another example, limits such as vmax, vmin, zmax, zmin, imax, imin, pmax, pmin may furthermore be functions of temperature and other factors pertaining to the present battery pack operating condition. In one embodiment, it is assumed that the discharge current and power have positive sign and the charge current and power have negative sign. Those skilled in the art will recognize that other sign conventions may be used, and that the description of the present invention can be adapted to these conventions in a forthright manner.
In one embodiment, the model used for predicting charge assumes that the battery pack comprises ns cell modules connected in series, where each cell module comprises np individual cells connected in parallel and ns≧1, np≧1. Other configurations are possible and are accommodated by slight modifications to the method as described.
1 Calculation Based on State-of-Charge (SOC) Limits
As shown in steps 10 and 20 of
zk(t+Δt)=zk(t)−(ηiΔt/C)ik, (4)
where zk(t) is the present SOC for cell k, zk(t+Δt) is the predicted SOC Δt seconds into the future, C is the cell capacity in ampere-seconds, and ηi is the Coulombic efficiency factor at current level ik. Here, for simplicity of presentation, it is assumed that ηi=1 for discharge currents and ηi=η≦1 for charge currents.
If there are design limits on SOC such that zmin≦zk(t)≦zmax for all cells in the pack, then current ik can be computed such that these limits are not exceeded. Simple algebra gives limits based on the SOC of each cell:
The pack maximum absolute currents—based only on cell SOC—are then
This method assumes that there is a valid SOC estimate available for every cell in the pack. If this is not the case, then an approximate remedy would be to calculate
where z(t) is the pack SOC.
In one embodiment of the present invention, the power predictive method can take into account more information than simply the cell SOC. For example, a Kalman filter can be used as a method to estimate all the cell SOCs in a pack. Besides giving the SOC, Kalman filtering yields estimates of the uncertainty of the SOC estimate itself. A method of using Kalman filter to estimate SOC is described in commonly assigned U.S. Pat. No. 6,534,954, hereby incorporated by reference.
Let the uncertainty have Gaussian distribution with standard deviation, as estimated by the Kalman filter, be denoted as σz. Then, the method yields a 95.5% confidence that the true SOC is within the estimate ±2σz and a 99.7% confidence that the true SOC is within the estimate ±3σz.
This information can be incorporated into the estimate of maximum current based on SOC to have very high confidence that SOC design limits will not be violated. This is done as (assuming a 3σz confidence interval):
2 Calculation Based on Voltage Limits
Besides taking SOC limits into account, embodiments of the present invention correct a limitation in the prior art HPPC method for applying voltage limits (steps 12 and 22 of
To overcome this problem, an embodiment of the present invention uses the following cell model:
vk(t+Δt)=OCV(zk(t+Δt))−R×ik(t), (7)
This modifies the previous cell model in equation (1). Note that this model cannot be directly solved in closed form for the maximum current ik since zk(t+Δt) is itself a function of current (cf. (4)) and OCV(•) is a nonlinear relationship. Note that other cell models can be used as well.
Two method embodiments are directed to solving (7) for the maximum absolute value of ik(t).
2.1 Method I: Taylor-Series Expansion
The first method uses a Taylor-series expansion to linearize the equation, so that an approximate value of i can be solved. It is assumed that OCV(•) is differentiable at point zk(t), which gives the result
where the first-order residual R1(zk(t),ik(ηiΔt)/C)/∥zk(t)∥→0 as ik(ηiΔt)/C→0 in R. Note that the change in SOC over Δt seconds is generally small, so the following approximation may be applied
which gives
In one embodiment, both the function OCV(z) and its derivative ∂OCV(z)/∂z might be computed from some known mathematical relationship for OCV(z), (e.g., Nernst's equation) using either analytic or numeric methods, or by a table lookup of empirical data. This quantity is positive for most battery electrochemistries over the entire SOC range, so the values computed by (8) and (9) are smaller in magnitude than those from (2) and (3) for the same values of Rdis and Rchg.
The HPPC procedure compensates for its inaccuracy by using modified values of Rdis and Rchg, determined experimentally, that approximate the denominator terms in (8) and (9). This can not be accurate over the entire SOC range, however, as ∂OCV(z)/∂z is not constant, particularly near extreme values of z.
Discharge and charge currents with all limits enforced are computed as (steps 16 and 26 of
and power may be calculated using the sum of all cell powers. These are equal to the product of the maximum allowed current and the predicted future voltage.
Maximum and minimum cell and pack power limits may also be imposed in this calculation. Note that in all equations, OCV(z), C, vmax, vmin, zmax, zmin, imax, imin, Rchg, and Rdis may be functions of temperature and other factors pertaining to the present battery pack operating conditions.
2.2 Method II: Using a Comprehensive Cell Model
The method for solving (7) presented in the previous section requires less computational intensity. A second method embodiment of the present invention may be used when more computational power is available. This second method assumes a more precise mathematical model of cell dynamics, which might be in a discrete-time state-space form such as the coupled pair of equations
xk[m+1]=ƒ(xk[m], uk[m]) (14)
vk[m]=g(xk[m], uk[m]), (15)
where m is the discrete time sample index, the vector function of time xk [m] is called the “state” of the system, uk[m] is the input to the system, which includes cell current ik[m] as a component, and might also include temperature, resistance, capacity and so forth, and ƒ(•) and g(•) are functions chosen to model the cell dynamics. Alternate model forms, including continuous-time state-space forms, differential or difference equations might also be used. It is assumed that there is a method to compute SOC given the model that is implemented.
For convenience of presentation, it is assumed that the cell model is in a discrete-time state-space form. Also assume that Δt seconds may be represented in discrete time as T sample intervals. Then, this model can be used to predict cell voltage Δt seconds into the future by
vk[m +T]=(xk[m+T], uk[m +T]),
where xk[m+T] may be found by simulating (14) for T time samples. It is assumed that the input remains constant from time index m to m+T, so if temperature change (for example) over this interval is significant, it must be included as part of the dynamics modeled by (14) and not as a part of the measured input uk[m].
The method then uses a bisection search algorithm to find
and
by looking for the ik (as a member of the uk vector) that causes equality in
vmin=g(xk[m+T], uk[m+T]), or
0=g(xk[m+T], uk[m+T])−vmin (16)
to find
and by looking for the ik that causes equality in
vmax=g(xk[m+T],uk[m+T]), or
0=g(xk[m+T],uk[m+T])−vmax (17)
to find
A special case is when the state equation (14) is linear—that is, when
k[m+1]=Axk[m]+Buk[m]
where A and B are constant matrices. The model presented in Section 3, entitled “An Example Cell Model,” is an example where this is the case. Then, for input uk constant time m to m+T, leading to
Most of these terms may be pre-computed without knowledge of uk in order to speed calculation using the bisection algorithm.
Once the SOC-based current limits
and
are computed using (5) and (6), and the voltage-based current limits
and
are computed using (16) and (17), overall current limits may be computed using (10) and (11) (steps 16 and 26 of
with uk containing
as its value for current, and
with uk containing
as its value for current.
2.2.1 Bisection Search
To solve (16) and (17), a method to solve for a root of a nonlinear equation is required. In one embodiment the bisection search algorithm is used for this requirement. The bisection search algorithm looks for a root of ƒ(x) (i.e, a value of x such that ƒ(x)=0) where it is known a priori that the root lies between values x1<root<x2. One way of knowing that a root lies in this interval is that the sign of ƒ(x1) is different from the sign of ƒ(x2).
Each iteration of the bisection algorithm evaluates the function at the midpoint xmid=(x1+x2)/2. Based on the sign of the evaluation, either x1 or x2 is replaced by xmid to retain different signs on ƒ(x1) and f (x2). It is evident that the uncertainty in the location of the root is halved by this algorithmic step. The bisection algorithm repeats this iteration until the interval between x1 and x2, and hence the resolution of the root of ƒ(x) is as small as desired. If ε is the desired root resolution, then the algorithm will require at most ┌log2(|x2−x1|/ε)┐ iterations. The bisection method is listed in Listing 1.
2.2.2 Finding Maximum/Minimum Current
To determine maximum discharge and charge current for any particular cell, bisection is performed on (16) and (17). Bisection is incorporated in the overall algorithm as follows. First, three simulations are performed to determine cell voltages Δt seconds into the future for cell current ik=0, ik=imin, and ik=imax. If cell voltages are predicted to be between vmin and vmax for the maximum dis/charge rates, then these maximum rates may be used. If the cell voltages, even during rest, are outside of bounds, then set the maximum rates to zero. Otherwise, the true maximum rate may be found by bisecting between rate equal to zero and its maximum value. Bisection is performed between current limits (imin, 0) or (0, imax).
3 An Example Cell Model
An example cell model for the present invention power estimation methods is presented herein, with illustrations given to show the performance of the two methods compared to the prior art PNGV HPPC method. The cell model is a discrete-time state-space model of the form of (14) and (15) that applies to battery cells. The model, named “Enhanced Self-Correcting Cell Model,” is further described in the article “Advances in EKF LiPB SOC Estimation,” by the inventor, published in CD-ROM and presented in Proc. 20th Electric Vehicle Symposium (EVS20) in Long Beach Calif., (November 2003) and is hereby fully incorporated by reference. It is understood this model is an example model only and that a variety of suitable alternate models can be used.
The “Enhanced Self-Correcting Cell Model” includes effects due to open-circuit-voltage, internal resistance, voltage time constants, and hysteresis. For the purpose of example, the parameter values are fitted to this model structure to model the dynamics of high-power Lithium-Ion Polymer Battery (LiPB) cells, although the structure and methods presented here are general.
State-of-charge is captured by one state of the model. This equation is
zk[m+1]=zk[m]−(ηiΔT/C)ik[m],
where ΔT represents the inter-sample period (in seconds), and C represents the cell capacity (in ampere-seconds).
The time-constants of the cell voltage response are captured by several filter states. If there is let to be nƒ time constants, then
ƒk[m+1]=Aƒƒk[m]+Bƒik[m].
The matrix AƒεRnƒ×nƒ may be a diagonal matrix with real-valued entries. If so, the system is stable if all entries have magnitude less than one. The vector BƒεRnƒ×1 may simply be set to nƒ“1”s. The value of nƒ and the entries in the Aƒ matrix are chosen as part of the system identification procedure to best fit the model parameters to measured cell data.
The hysteresis level is captured by a single state
where γ is the hysteresis rate constant, again found by system identification.
The overall model state is
xk[m]=[ƒk[m]′hk[m]zk[m]]′,
where the prime symbol (′) is the matrix/vector transpose operator. The state equation for the model is formed by combining all of the individual equations, above. Note, that at each time step, the state equation is linear in the input
uk[m]=[ik[m]1]′,
which speeds the prediction operation.
The output equation that combines the state values to predict cell voltage is
vk[m]=OCV(zk[m])+Gƒk[m]−Rik[m]+Mhk[m],
where GεR1×n
The open-circuit-voltage as a function of state-of-charge for example Lithium Ion Poly-mer Battery (LiPB) cells is plotted in
The partial derivative of OCV with respect to SOC for these example cells is plotted in
Other parameters are fit to the cell model. In particular, the model employs four low-pass filter states (nƒ=4), a nominal capacity of 7.5 Ah, and an inter-sample interval of ΔT=1 s. There is very close agreement between the cell model voltage prediction and the cell true voltage. This is illustrated in
4 Comparing Maximum Power Calculations
The PNGV HPPC power estimation method gives a result that is a function of only SOC. Therefore, it is possible to graph available power versus SOC to summarize the algorithm calculations. The first method proposed (Method I: Taylor Series Expansion Method) in this patent disclosure is also possible to display in this way. Estimated power is only a function of SOC, ∂OCV/∂z (also a function of SOC), and static limits on maximum current and power. The second method (Method II: the Comprehensive Cell Model Method), however, dynamically depends on all states of the system. Two systems at the same state of charge, but with different voltage time-constant state values or hysteresis state levels will have different amounts of power available. To compare power computed by the three methods, dynamic tests must be conducted.
For the following results, a pack of LiPB cells is assumed to be with ns=40 and np=1. The data to fit the models was collected from prototype hand-made cells jointly developed by LG Chem (Daejeon, Korea) and Compact Power Inc. (Monument, Colo.). Limits for the power calculations are listed in Table 1. Each cell has a nominal capacity of 7.5 Ah, and Δt was ten seconds for both charge and discharge.
First, the PNGV HPPC method and Method I of the present invention are compared in
Considering now the discharge power curves, the comparison shows that Method I imposes limits on discharge power to ensure that the cell is not under-charged, whereas the PNGV method does not. In the SOC range from about 15% to 35%, the two methods predict similar powers. For SOC above about 35%, the power predicted by Method I saturates because the maximum discharge current limit of 200A has been reached. The PNGV method does not consider this limit. At SOC around 99% the graph again shows an anomaly in the Method I calculation where power is under-estimated due to the large derivative term. This apparent glitch is not a problem since the cell will not be operated in this range.
In the discussion that follows, the results of Method II are considered to be the “true” capability of the cell. This assumption is justified by the fidelity of the cell model's voltage estimates, as supported by the data in
The three methods are also compared with respect to charge power, shown in
While the methods described herein, and the apparatus for carrying these methods into effect, constitute preferred embodiments of the present invention, it should be recognized that changes may be made therein without departing from the spirit or scope of the present invention, which is defined in the appended claims. For example, the steps 10, 12, 14 disclosed in
A method and apparatus for the calculation of power capability of battery packs using advanced cell model predictive techniques has been described in conjunction with one or more specific embodiments. The invention is defined by the following claims and their full scope of equivalents.
This application claims the benefit of U.S. Provisional Patent Application No. 60/524,326, filed on Nov. 20, 2003, the disclosure of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
60524326 | Nov 2003 | US |