BATTERY STATE-OF-CHARGE OBSERVER

Abstract
A robust battery state-of-charge observer determines a state-of-charge as function of an open circuit voltage by taking into account battery parameter uncertainties, which are due to battery age, variation, and operating conditions, (e.g. temperature and SOC level). Each of the time-varying battery parameter values are bounded. By utilizing the parameter variation bounds in the design process and constantly minimizing the estimation error covariance matrix, the robust observer achieves enhanced robustness to the variations of battery age, variation, and operating conditions such as temperature and SOC level.
Description
BACKGROUND OF INVENTION

An embodiment relates generally to determining a state-of-charge of a battery within a transportation vehicle.


A state-of-charge (SOC) refers to a stored charge available to perform work relative to that which is available after the battery has been fully charged. The state-of-charge can be viewed as a thermodynamic quantity, enabling one to assess the potential energy of the system.


Open circuit voltage is used to determine the SOC; however, the accuracy of the open circuit voltage is critical to determining a state of charge and is difficult to estimate during the battery use. If there is measurement error, then the state-of-charge estimation will be in error according to the factor of the measurement error. Moreover, for conventional vehicles and battery systems, the battery must be at rest (i.e., no load or recharging) for a respective duration of time before the open circuit voltage can be obtained. Prior art systems that attempt to estimate the open circuit voltage while the battery is in use are deficient for failing to consider parameter uncertainties such internal resistances, capacitances, and other battery parameters which will vary based on age and temperature of the battery.


SUMMARY OF INVENTION

An embodiment contemplates a method of determining a state-of-charge for a battery while connected to a plurality of loads. A terminal voltage of the battery is measured at a plurality of time steps. A terminal current draw of the battery coinciding with the measured terminal voltage is measured at the plurality of time steps. A temperature of the battery is measured coinciding with the measured terminal voltage at the plurality of time steps. A state vector of a battery system model is generated as a function of battery parameters, the measured voltage, the measured current, and the measured temperature for each time step. The battery parameters include internal battery resistance and capacitance. An estimated state vector is generated as a function of nominal battery system matrices and battery parameter uncertainties for each time step. A stator vector is generated for an augmented system as a function of the state vector of the battery system model and the estimated state vector for each time step. A covariance is generated for the state vector of the augmented system for each time step. An upper bound of the covariance is determined by recursively minimizing the upper bound of the covariance for each time step. An open circuit voltage is determined based on an updated state vector utilizing the minimized upper bound. The state of charge of the battery is determined as a function of the open circuit voltage. The battery is regulated in response to the state of charge.


An embodiment contemplates a diagnostic and control system for a vehicle battery. At least one sensor monitors a parameter characteristic of the vehicle battery while supplying a plurality of loads a plurality of time steps. An electronic control module is coupled to the at least one sensor for receiving parameter characteristic. The electronic control module includes a processing unit for determining an open circuit voltage based on a state vector of a battery system model. The state vector is recursively updated as a function of an estimated state vector of the battery system model for each time step. The estimated state vector is generated as a function of the nominal system matrices of the battery system model and battery parameter uncertainties for each time step. The estimated state vector is updated by minimizing an upper bound of a covariance of a state vector for an augmented system of the battery system model at each time step. The augmented system is generated as a function of the state vector of the battery system model and the estimated state vector of the battery system model at each time step. The control module regulates the vehicle battery in response to a state of charge of the battery as a function of the open circuit voltage.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a block diagram of an embodiment of a vehicle incorporating a state-of-charge (SOC) estimation system.



FIG. 2 is a schematic of a two-RC pair equivalent circuit.



FIG. 3 a flow chart for illustrating a process flow of a robust observer for determining the state-of-charge.





DETAILED DESCRIPTION


FIG. 1 illustrates a block diagram of an embodiment of a vehicle 10 incorporating a state-of-charge (SOC) estimation system. The vehicle 10 includes a battery 12. The battery 12 is preferably a lithium-ion battery; however, it should be understood that other types of batteries may be used herein by modifying a battery system model that will be discussed in detail later. The methodology described herein can determine the state-of-charge of the battery when the battery is in use, as opposed to the battery having to be at rest for a predetermined period of time. The advantages of the proposed methodology over existing techniques are enhanced robustness relative to battery age, battery variations, operating conditions, current sensor noise, and reduced calibration time.


To enhance control of the battery systems in hybrid vehicles for long battery life and good fuel economy, onboard systems determine and process battery parameters such as the open-circuit voltage (Voc), the ohmic resistance, the battery capacitance, etc. For example, the Voc is used to estimate the battery state of charge (SOC), which is an index associated with battery condition. However, the Voc and other battery internal parameters are not directly measurable during vehicle operation. Therefore, an efficient and effective technique used to determine the Voc by extracting the battery parameters from measured signals such as battery terminal voltage and current.


The lithium-ion battery is a rechargeable type of battery in which ions move from the negative electrode to the positive electrode during discharge, and back when charging.


There are three primary components of a lithium-ion battery. The primary components are the negative electrode, positive electrode, and the electrolyte. The negative electrode of a conventional lithium-ion cell is made from carbon (e.g., graphite). The positive electrode is a metal oxide and is generally one of three materials: a layered oxide (e.g., lithium cobalt oxide), a polyanion or a spinel (e.g., such as lithium manganese oxide), and the electrolyte is a lithium salt in an organic solvent. The electrolyte is typically a mixture of organic carbonates such as ethylene carbonate or diethyl carbonate containing complexes of lithium ions. The electrochemical roles of the electrodes change between anode and cathode, depending on the direction of current flow through the cell.


During discharge, lithium ions carry current from the negative electrode to the positive electrode. During charging, an external electrical power source applies an over-voltage forcing the current to pass in a reverse direction. The lithium ions then migrate from the positive electrode to the negative electrode. The lithium-ions become embedded in the porous electrode material.


To better enhance a system that utilize lithium ion batteries, such as hybrid electric vehicles, on-board vehicle systems determine and process battery parameters including, but not limited to, open-circuit voltage (Voc), the ohmic resistance, and battery capacitance.


The vehicle battery 12 is electrically coupled to a plurality of devices 14 which utilize the battery as a power source. The vehicle 10 may further include a current sensor 16, a voltage meter 18, and a control module 20.


The plurality of devices 14 include, but are not limited to, electrical loads, power outlets adapted to an external device, accessories, components, subsystems, and systems of a vehicle. Moreover, one of the plurality of devices 14 may include an alternator/regulator for recharging the battery 12 or a motor/generator as used in hybrid and electric vehicles. The current sensor 16 is used to monitor the current leaving the vehicle battery 12. The voltmeter 18 measures a voltage so that the Voc may be determined. A control module 20, or similar module, obtains, derives, monitors, and/or processes a set of parameters associated with the vehicle battery 12. These parameters may include, without limitation, current, voltage, state-of-charge (SOC), battery capacity, battery internal resistances, battery internal reactance, battery temperature, and power output of the vehicle battery. The control module 20 includes an algorithm, or like, for executing a vehicle state-of-charge (SOC) estimation technique.


The control module 20 utilizes the Voc of the battery for determining the SOC. It should be understood that the Voc is not directly measurable during vehicle operation. Typically, the Voc may be accurately measured only after the Voc equilibrium is obtained, which occurs a predetermined time after battery charging has been discontinued (i.e., either by an ignition off operation or other charging device). The predetermined time to reach Voc equilibrium is typically about 24 hours after charging the battery is discontinued. That is, an Voc measurement is accurate only when the battery voltage is under the equilibrium conditions. Electrical charges on the surface of the battery's plates cause false voltmeter readings. False voltmeter readings are due to surface charges on the battery plates. When a battery is charged, the surface of the plates may have a higher charge than the inner portions of the plates. After a period of time after charging has been discontinued, the surface charge on the surface of the plates will become slightly discharged as a result of the charged energy penetrating deeper into the plates. Therefore, the surface charge, if not dissipated to the inner portion of the plates, may make a weak battery appear good.


The embodiment described herein provides a technique for estimating an accurate Voc measurement while the battery is in use. The technique described herein extracts battery parameters from measured signals such as battery terminal voltage and current. Moreover, the system models other parameters within the battery circuit such as ohmic resistance parameters and capacitance parameters for determining the Voc while the battery is in use.


To estimate the Voc of the battery, a Voc estimation technique or model is derived from a robust observer that estimates battery states and the Voc by minimizing an upper bound of an estimation error covariance matrix. The Voc is used to determine the SOC, which thereafter can be used to enhance factors including, but not limited to, improve fuel economy, prolonging battery life, enhancing battery charging control and vehicle power management, and reducing warranty cost.



FIG. 2 illustrates a two-RC pair equivalent circuit. The following is a model of the two-RC pair equivalent circuit illustrated in FIG. 2. The model is represented by the following matrices:







[





V
dl



(

k
+
1

)








V
df



(

k
+
1

)








V
oc



(

k
+
1

)





]

=






[








-
T

/

R
ct




C
dl





0


0




0







-
T

/

R
df




C
df





0




0


0


1



]



[










V
dl



(
k
)









V
df



(
k
)








V
oc



(
k
)





]


+


[





R
ct

(

1
-





-
T

/

R
ct




C
dl











R
df

(

1
-





-
T

/

R
df




C
df




)





μ



]



I


(
k
)












V


(
k
)




=



[



1


1


1



]



[










V
dl



(
k
)









V
df



(
k
)








V
oc



(
k
)





]


+

RI


(
k
)









where μ describes the relationship between Voc and I, C dl is a double layer capacitance of the battery model, Vdl is a double layer voltage of the battery model, Rct is a charge transfer resistance of the battery model, Vdf is a diffusion voltage of the battery model, Cdf is a capacitance diffusion of the battery model, Rdf is a diffusion resistance of the battery model, R is the ohmic resistance, T is the sample time, V is the battery terminal voltage, and I is the battery terminal current.


Each of the battery parameters (i.e. Rct, Cdl, Rdl, Cdl, μ, and R) in the FIG. 2 are time-varying, depending on battery age, variation, and operating conditions, (e.g. temperature and SOC level). In addition, μ is a function of battery temperature, battery capacity and SOC. It is also noted that each of these parameters is bounded in practice. As a result, the matrices illustrated above can be rewritten as follows:







[





V
dl



(

k
+
1

)








V
df



(

k
+
1

)








V
oc



(

k
+
1

)





]

=


(


A
k

+

Δ






A
k



)







[










V
dl



(
k
)









V
df



(
k
)








V
oc



(
k
)





]

+


(


B
k

+

Δ






B
k



)



I


(
k
)








V


(
k
)




=




(


C
k

+

Δ






C
k



)



[










V
dl



(
k
)









V
df



(
k
)








V
oc



(
k
)





]


+


(


D
k

+

Δ






D
k



)



I


(
k
)







where






A
k



=



[








-
T

/

R
ct




C
dl





0


0




0







-
T

/

R
df




C
df





0




0


0


1



]







B
k


=



[





R
ct

(

1
-





-
T

/

R
ct




C
dl











R
df

(

1
-





-
T

/

R
df




C
df




)





μ



]







C
k


=



[



1


1


1



]







D
k


=
R











Ak, Bk, Ck, Dk represent nominal system matrices determined by mean values of all the time-varying parameters. ΔAk, ΔBk, ΔCk, ΔDk represent variations of the corresponding system matrices caused by parameter variation/uncertainties. Since all the parameters are bounded, nominal system matrices ΔAk, ΔBk, ΔCk, ΔDk can be modeled as norm-bounded terms. Therefore, the norm bounded matrices ΔAk, ΔBk, ΔCk, ΔDk can be rewritten into the following form so that the norm bounds are represented by H and G matrices as follows:







[




Δ






A
k





Δ






B
k







Δ






C
k





Δ






D
k





]

=



[




H

A
,
k





H

B
,
k







H

C
,
k





H

D
,
k





]




F
k



[




G

x
,
k




0




0



G

I
,
k





]








F
k
T



F
k



I





The objective is to recursively estimate Vdl, Vdf, and Voc at each time step, and then use the estimated Voc to determine a battery SOC utilizing a Voc-SOC correlation table that is a function of battery temperature.


First, a state vector of the system model is represented by the expression x(k)=└Vdl(k) Vdf(k) Voc(k)┘ at time step k with measured battery voltage Vk and measured battery current Ik.


An estimated state vector is determined that is a function of the nominal system matrices and parameter uncertainties. The estimated state vector is represented by the following formula:






{circumflex over (x)}
(k+1|k)k{circumflex over (x)}(k|k−1)+BkIk+Kk(Ck−Ck{circumflex over (x)}(k|k−1)−DkIk)


where {circumflex over (x)}(k|k−1) is the estimated state vector at step k based on all the information up to step k−1. Each of the time steps are discrete steps of time. Two unknown matrices, φk and Kk, that represent coefficients for the estimation structure need to be determined online at each time step. Both φk and Kk take into consideration uncertainties. To determine φk and Kk at each time step, a state vector of the augmented system {tilde over (x)}k is derived. The state vector of the augmented system {tilde over (x)}k is represented by a combination of the state vector of the system model and the estimation structure.








x
~

k

=

[




x
k







x
^



(

k
|

k
-
1


)





]





The state vector of the augmented system {tilde over (x)}k contains both real state values and estimated values. The object is to find an upper bound for the covariance matrix of {tilde over (x)}k denoted by P(k+1|k), such that:





cov{{tilde over (x)}k+1}≦P(k+1|k)


Consequently, if cov{{tilde over (x)}k+1}≦P(k+1|k), then P(k+1|k) can be represented by the following expression:







P

(k+1|k)
=[I−I]P
(k+1|k)[I−I]
T.


Accordingly, P(k+1|k) becomes an upper bound of the error covariance on the state estimation as represented by the following formula:





cov{{tilde over (x)}k+1}≦ P(k+1|k)


where ek+1=xk+1−{circumflex over (x)}(k+1|k).


In regards to the covariance, the smaller the error variance in the covariance indicates that the estimation accuracy is higher. Therefore, the objective is to minimize the upper bound of the covariance cov{{tilde over (x)}k+1}, which is P(k+1|k). To minimize the upper bound P(k+1|k), the first-order derivatives of the upper bound P(k+1|k) are recursively calculated with respect to the unknown matrices φk and Kk to make them equal to zero. The optimal values for the unknown matrices φk and Kk can be determined and used to estimate the Voc. The SOC is thereafter determined utilizing a Voc-SOC lookup table as a function of the measured temperature.



FIG. 3 illustrates a flow chart for illustrating the process flow of the robust observer.


In block 30, at step k=0, the initial conditions are set. The initial conditions are as follows:






{circumflex over (x)}
0|−1
={circumflex over (x)}
0 and P0|−1=X0.


where {circumflex over (x)}0|−1 is the initial values for the estimated state variables, P0|−1 is the initial values of the upper bound of error covariance, and X0 is the initial state vector at the first time step are some constant matrices to be used as initial condition.


In block 31, voltage, current, and temperature measurements are recorded.


In block 32, tolerance levels ax,k and aI,k are set for uncertainties and measurement noise. That is, scalar parameters ax,k and aI,k are selected that satisfy the following inequalities.






a
x,k
−1
I−G
x,k

P

k|k−1
G
x,k
T>0,






a
x,k
−1
I−G
I,k
W
k
G
I,k
T>0,


where Wk is variance noise, and each G term-designation is a representation of the norm bound. The selection of ax,k and aI,k is to satisfy the above inequalities for guaranteeing that cov{{tilde over (x)}k+1}≦ P(k+1|k) holds true. Since P(k+1|k) is a function of ax,k and aI,k, then the scalar parameters ax,k and aI,k can also be viewed as a tolerance levels which determine how tight the upper bound is.


In block 33, unified tolerance levels are calculated. The uniform tolerance levels are represented by the following formulas:





Δ1,kx,k−1 HA,k HC,kTI,k−1HB,kHD,kT





Δ2,kx,k−1 HC,k HC,kTI,k−1HD,kHD,kT





Δ3,kx,k−1 HA,k HA,kTI,k−1HB,kHB.kT.


In block 34, the covariance matrices are corrected due to the presence of uncertainties and measurement noise at a current time step. The formulas for determining the correction to the covariance matrices are as follows:







P

c,k|k−1= Pk|k−1+ Pk|k−1GI,kTx,k−1I−Gx,kPk|k−1Gx,kT)−1Gx,kPk|k−1






W
c,k
=W
k
+W
k
G
I,k
TI,k−1I−GI,kWkGI,kT)−1Gx,kWk.


The above Δ1,k , Δ2,k , Δ3,k, Pc,k|k−1, and Wc,k are terms due to the presence of uncertainties, and such terms are utilized in the expression of φk and Kk as shown below.


In block 35, the observer gains for φk and Kk are determined. The following formulas represent the equations for determining the undefined matrices for observer gains φk and Kk.






K
k=(A Pc,k|k−1CkT+BkWc,kDkTI,k)(CkPc,k|k−1CkT+DkWc,kDkT2,k)−1





Φk=Ak+(Ak−KkCk)Pk|k−1Gx,kTx,k−1I−Gx,kPk|k−1Gx,kT)−1Gx,k.


In block 36, the observed states and the covariance matrix are updated based on the calculated observer gains calculated in block 35. The observer gains as calculated for φk and Kk are input to the following equations for updating the observed state of the estimated state vector and the associated covariance matrix:





{circumflex over (x)}(k+1|k)k{circumflex over (x)}(k|k−1)+BkIk+Kk(Vk−Ck{circumflex over (x)}(k|k−1)−DkIk)







P

(k+1|k)
=A
k

P

c,k|k−1
A
k
T
+B
k
W
c,k
B
k
T3,k−(AkPc,k|k−1CkTI,k)x(CkPc,k|k−1CkT+DkWc,kDkT2,k)−1(AkPc,k|k−1CkT1,k)T.


In block 37, a determination is made as to whether all time steps have been checked. If the more time steps are available, then the routine proceeds to step 31 for refining the estimated state vector and the associated covariance matrix. If the determination is made that no additional time steps remain, then the routine proceeds to step 38.


In step 38, the estimated state vector {circumflex over (x)}(k+1|k) at the kth step is used as the state vector x(k). The Voc is determined utilizing the expression described earlier x(k)=└Vdl(k) Vdf(k) Voc(k)┘. Given the state vector as determined from the estimated state vector at the kth step, the Voc can easily be ascertained by identifying the third entry of the state vector (i.e., the estimated state vector at the kth step).


In step 39, in response to determining the Voc, the SOC can be determined from a lookup table that is a function of the Voc-SOC. The Voc-SOC lookup table provides respective Voc values that correlate to the respective SOC values.


While certain embodiments of the present invention have been described in detail, those familiar with the art to which this invention relates will recognize various alternative designs and embodiments for practicing the invention as defined by the following claims. For example, the invention described herein can be applied to all kinds of batteries by only changing the model.

Claims
  • 1. A method of determining a state-of-charge for a battery while connected to a plurality of loads, the method comprising the steps of: measuring a terminal voltage of the battery at a plurality of time steps;measuring a terminal current draw of the battery coinciding with the measured terminal voltage at the plurality of time steps;measuring a temperature of the battery coinciding with the measured terminal voltage at the plurality of time steps;generating a state vector of a battery system model as a function of battery parameters, the measured voltage, the measured current, and the measured temperature for each time step, the battery parameters including internal battery resistance and capacitance;generating an estimated state vector as a function of nominal battery system matrices and battery parameter uncertainties for each time step;generating a stator vector for an augmented system as a function of the state vector of the battery system model and the estimated state vector for each time step;generating a covariance for the state vector of the augmented system for each time step;determining an upper bound of the covariance by recursively minimizing the upper bound of the covariance for each time step;determining an open circuit voltage based on an updated state vector utilizing the minimized upper bound;determining the state of charge of the battery as a function of the open circuit voltage; andregulating the battery in response to the state of charge.
  • 2. The method of claim 1 wherein the battery system model utilizes a two-RC pair equivalent circuit model, wherein the circuit model is represented by the formula: V=Voc+IR+Vdl+Vdf
  • 3. The method of claim 2 wherein the battery system model is transformed into discrete counterparts.
  • 4. The method of claim 3 wherein the transformed battery system model is represented by the following matrices:
  • 5. The method of claim 4 wherein the parameters of the battery system model are bounded and are represented by the following formula:
  • 6. The method of claim 5 wherein the variations are norm bounded, and wherein the variations are represented as norm bound matrices as follows:
  • 7. The method of claim 6 wherein generating the state vector of the battery system model is represented by the following formula: x(k)=└Vdl(k) Vdf(k) Voc(k)┘.
  • 8. The method of claim 7 wherein generating the estimated state vector for the battery system model is represented by the following formula: {circumflex over (x)}(k+1|k)=φk{circumflex over (x)}(k|k−1)+BkIk+Kk(Vk−Ck{circumflex over (x)}(k|k−1)−DkIk)
  • 9. The method of claim 8 wherein the upper bound of the covariance is calculated utilizing first-order partial derivatives of the upper bound with respect to φk and Kk at each time step.
  • 10. The method of claim 9 wherein observer gains φk and Kk are represented by the following expressions: Kk=(A Pc,k|k−1CkT+BkWc,kDkT+ΔI,k)(CkPc,k|k−1CkT+DkWc,kDkT+Δ2,k)−1 Φk=Ak+(Ak−KkCk)Pk|k−1Gx,kT(αx,k−1I−Gx,kPk|k−1Gx,kT)−1Gx,k
  • 11. The method of claim 10 wherein the state vector of the augmented system is represented by the following expression:
  • 12. The method of claim 11 wherein P(k+1|k) is the upper bound of the augmented system, and wherein P(k+1|k) becomes an error covariance matrix of the estimated state vector and is represented by the following formula: cov{{tilde over (x)}k+1}≦ P(k+1|k)
  • 13. The method of claim 1 further comprising the step of outputting the state of charge of the battery to an output device for displaying the state-of-charge to a user of a vehicle.
  • 14. The method of claim 1 wherein the regulatory step comprises outputting the state of charge of the battery to an electronic control unit for regulating the battery terminal voltage.
  • 15. The method of claim 1 wherein the regulating step comprises outputting the state of charge of the battery to an electronic control unit for improving fuel economy of a vehicle.
  • 16. A diagnostic and control system for a vehicle battery comprising: at least one sensor for monitoring a parameter characteristic of the vehicle battery while supplying a plurality of loads a plurality of time steps; andan electronic control module coupled to the at least one sensor for receiving parameter characteristic, the electronic control module including a processing unit for determining an open circuit voltage based on a state vector of a battery system model, the state vector being recursively updated as a function of an estimated state vector of the battery system model for each time step, the estimated state vector being generated as a function of the nominal system matrices of the battery system model and battery parameter uncertainties for each time step, the estimated state vector being updated by minimizing an upper bound of a covariance of a state vector for an augmented system of the battery system model at each time step, wherein the augmented system is generated as a function of the state vector of the battery system model and the estimated state vector of the battery system model at each time step;wherein the control module regulates the vehicle battery in response to a state of charge of the battery as a function of the open circuit voltage.
  • 17. The system of claim 16 wherein the battery system model is transformed into discrete counterparts and is represented by the following expression:
  • 18. The system of claim 17 wherein parameters of the battery system model are bounded and are represented by the following expression:
  • 19. The system of claim 18 wherein the estimated state vector of the battery system model is represented by the following formula: {circumflex over (x)}(k+1|k)=φk{circumflex over (x)}(k|k−1)+BkIk+Kk(Vk−Ck{circumflex over (x)}(k|k−1)−DkIk)
  • 20. The system of claim 16 further comprising a display device, wherein the state of charge of the battery is displayed to a user.