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.
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. A temperature of the battery is measured coinciding with the measured terminal voltage. The terminal voltage measurement is input to the first linear time invariant infinity observer filter. The first linear time invariant infinity observer filter is developed in an off-vehicle design process. The first linear time invariant infinity observer filter minimizes a gain of an output energy signal to an input energy signal of the battery. An open circuit voltage is estimated in response to the measured terminal voltage input to the first linear time invariant infinity observer filter. 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.
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 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 extracts 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, 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 a motor/generator 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 V 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, 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 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, an Voc estimation technique or model utilizes a robust Linear Time Invariant (LTI) H∞ observer filter that is designed offline. The robust LTI H∞ observer filter may be implemented in real time when both the battery voltage sensor and the battery current sensor are available or may be implemented when only the battery voltage sensor is available. The robust LTI H∞ observer filter estimates the battery states including the Voc by minimizing the H∞ gain with respect to current. The H∞ gain is the ratio of the gain from the energy of the input signal, which is the measured current, to the output signal, which is the estimation error of the Voc. The goal is to generate a filter that minimizes the gain as much as possible while still producing a feasible solution. The filter is designed off-vehicle. Once a filter is designed that produces a feasible solution using the minimum gain, the filter, which is a LTI system, is implemented in the vehicle system for estimating the Voc. 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.
where μ describes the relationship between Voc and I, Cdl 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
Since all battery parameters and their variation speed are bounded in practice, θ1(k), θ2(k), θ3(k), θ4(k), θ5(k), and θ6(k) are all bounded. Moreover, the variation speeds with respect to θ1(k), θ2(k), θ3(k), θ4(k), θ5(k), and θ6(k) are also bounded.
To design a robust LTI H∞ observer filter offline, a state vector of the system model is generated that represents the battery circuit. The state vector 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.
Next, expressions for an estimated signal s(k) and a measured output y(k) of the battery circuit are defined. s(k) is a signal that is estimated online that is substantially equal to the Voc, and y(k) is a vector comprising output signals that can be measured online.
An augmented system model for the state vector x(k), output signal y(k), and estimated signal s(k) may be represented by the following expressions:
x(k+1)=A(θ(k))x(k)+B(θ(k))w(k) (5)
y(k)=C(θ(k))x(k)+D(θ(k))w(k) (6)
s(k)=Cs(θ(k))x(k)+Ds(θ(k))w(k) (7)
where θ(k) is a vector of unknown parameters represented by θ(k)=[θ1(k), θ2(k), θ3(k), θ4(k), θ5(k), θ6(k)]TεP, w(k)εm is the noise signal (including process and measurement noises) that is assumed to be an arbitrary signal in l2, y(k)εq is the measurement signal, and s(k)εr is the signal to be estimated. θi(k), i=1, 2, . . . , p, are bounded time-varying uncertain parameters with bounded variation Δθi(k)=θi(k+1)−θi(k). i=1, 2, . . . , p, and A(θ), B(θ), C(θ), Cs(θ), D(θ), and Ds(θ) are real matrices of appropriate dimensions that depend affinely on the parameter vector θ(k). Moreover, let Δθ(k)=θ(k+1)−θ(k).
In the above system, let Ω be a consistent polytope of (θ,Δθ) and γ>0 to a given scalar. Suppose that there exist matrices Qεn×n, Sεn×n, Wεn×n, Yεn×q, Zεr×n, L and symmetric matrices Xiε2n×2n, i=0, . . . , p, and Xqεk×k satisfying the following linear matrix inequalities:
where I is the identify matrix, L is a matrix to be calculated, H is a matrix depending on the values of the unknown parameters and their variation rates, and T means matrix transpose.
and Θ represents a Kronecker product.
The output of the filter design process is four matrices Af, Bf, Cf, Df. Assuming that each parameter and its variation rate are bounded, a robust LTI H∞ observer filter with the transfer function matrix is represented as follows:
{circumflex over (x)}(k+1)=Af{circumflex over (x)}(k)+Bfy(k) (21)
ŝ(k)=Cf{circumflex over (x)}(k)+Dfy(k). (22)
with Af=W−1Q; Bf=W−1Y; Cf=Z; Df=Df. y(k) becomes the measured output by the vehicle battery system and is dependent upon whether voltage measurements and current measurements are available. The robust LTI H∞ observer can guarantee a prescribed upper bound on the l2-gain from the uncertainty input signal w(k) to the estimation error e(k) for all admissible uncertain parameters. This ensures that the estimation error system is exponentially stable and that the following holds true for an optimization goal value (γ):
where e(k)=s(k)−ŝ(k) e(k)=s(k)−ŝ(k), and Ω is a consistent polytope of (θ,Δθ). In this design process, e(k) is actually the estimation error of Voc, and w(k) is actually the measured current signal. The objective is to recursively minimize the optimization goal value γ until the filter design can no longer provides a feasible solution. Thereafter, bound values associated with a lowest optimization goal value that provides a feasible solution are utilized in the filter.
In the case where both voltage and current sensors are available, the filter design is as follows:
{circumflex over (x)}(k+1)=Af{circumflex over (x)}(k)+Bf[V(k)I(k)]T (24)
ŝ(k)=Cf{circumflex over (x)}(k)+Df[V(k)I(k)]. (25)
If inputs from both a battery voltage sensor and a battery current sensor are available, then the following representations hold for the matrices of the observers:
In the event a current sensor is not implemented on the system, is not available, or fails to work, then the system can switch to using a voltage-only based filter. A current sensor fault could be diagnosed online and algorithms utilizing response signals from the current sensor are disabled and the voltage-only based filter is enabled. In the case where only the battery voltage sensor is available, the filter design is as follows:
{circumflex over (x)}(k+1)=Af{circumflex over (x)}(k)+BfV(k) (30)
ŝ(k)=Cf{circumflex over (x)}(k)+DfV(k). (31)
If only voltage from a battery voltage sensor is available, then the following representations hold for the matrices of the observers:
In either case (i.e., whether both voltage sensor and current sensor are available or only voltage sensor), θ(k) transforms affinely into the state-space model matrices. The battery parameters θ1(k), θ2(k), θ3(k), θ4(k), θ5(k), θ6(k) are all bounded as is the variation speed of θ1(k), θ2(k), θ3(k), θ4(k), θ5(k), θ6(k). As a result, a robust H∞ filter design is applied to the LTI filter, also known as a stationary asymptotically stable filter, for each case that is capable of achieving a prescribed upper bound on the l2-gain form the current signal to the Voc estimation error. That is, the current has a minimum impact on Voc estimation from an energy perspective. The upper bound holds for all possible values of the bounded θ(k) whose variation is also bounded.
Once the respective robust LTI H∞ observer filter is enabled, the battery measurements whether voltage and current measurements or voltage only measurements are input to the robust LTI H∞ observer. The robust LTI H∞ observer will generate an estimated signal s(k). As shown in eq. (26) and (32), the estimated signal s(k) is equal to the Voc. 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.
The battery may then be regulated in response to the estimated SOC. Enhanced robustness relative to battery age, battery variations, operating conditions, current sensor noise, and reduced calibration time may be achieved. Enhancing the regulation of the battery for supplying power to other devices by knowing the estimated SOC of the battery include, but are not limited to, power outlets adapted to an external device, accessories, components, subsystems, and systems of a vehicle.
In step 50, bounds for uncertainty parameters and their associated variation rates are obtained.
In step 51, an initial value is set for the H∞ optimization goal value γ.
In step 52, bound values and the optimization goal value γ are entered into the inequality equations (eq. 8) which guarantee achievement of the system stability and optimization goal based on whether the equations are feasible.
In step 53, a determination is made as to whether the equations are feasible. If the equations are feasible the routine proceeds to step 54. If the equations are not feasible, the routine proceeds to step 56.
In step 54, in response to the equations being feasible, a solution is obtained and matrices are calculated for the observer Af, Bf, Cf, Df.
In step 55, the optimization goal is decreased and a return is made to step 52 for determining whether a next set of solutions is feasible based on a next decreased value for the optimization goal γ.
In step 56, in response to a determination that the equations are not feasible (in step 52), the return stops. The value of the minimum value of optimization goal γ, in addition to the associated bound values, that successfully satisfied the inequality equations while executing the routine are identified. These respective values are set in the LTI H∞ filter for use online use.
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.