You are on page 1of 5

2014 IEEE International Conference on Acoustic, Speech and Signal Processing (ICASSP)

STATE-OF-CHARGE ESTIMATION FOR SUPERCAPACITORS: A KALMAN FILTERING


FORMULATION

Andrew Nadeau, Gaurav Sharma, Tolga Soyata

University of Rochester, Dept. of Electrical and Computer Engineering, Rochester, NY 14627


{andrew.nadeau, gaurav.sharma, tolga.soyata}@rochester.edu

ABSTRACT tems demanding much lower power consumption levels (e.g.,


Supercapacitors are an attractive option for energy buffering 10 mW–10 W [5, 6]). For these systems, where energy is at
because of their high efficiency, durability, and low environ- a premium, being able to predict the remaining energy (i.e.,
mental impact. For energy-aware applications, it is desirable time-to-full-depletion) plays an extremely important role for
to accurately estimate the buffered energy. Under conditions operational efficiency. Although the remaining supercapac-
of varying energy supply and demand, estimation of buffered itor energy can be naı̈vely predicted as E = 12 CV 2 , this is
energy by using only the supercapacitor terminal voltage is in- far from accurate for systems where the range of operational
accurate because this does not fully comprehend the physical power consumption is wide (e.g., two orders-of-magnitude).
state of charge. To address this problem, we present a Kalman This fact is due to the non-ideal behavior of supercapacitors,
filtering formulation, using the accepted three-branch circuit modeled in [7, 8, 9]. Due to the electrochemical make-up of
model for supercapacitors. Compared with an ideal capacitor, the supercapacitors, significant electrical and chemical phe-
the physically-motivated three-branch model provides a much nomena effect its response, thereby creating unobservable in-
more accurate representation of the state of charge via three ternal states of charge.
internal state voltages associated with short, medium, and In this paper, we describe a model which treats these in-
long term charging constants. The proposed Kalman formu- ternal states as unobservable variables, as well as the superca-
lation tracks these unobservable internal states. This method- pacitor current and voltage as the controllable input and ob-
ology demonstrates a significantly more accurate estimate of servable output, respectively. By using a extended Kalman
the buffered energy as compared with the alternative models filter (EKF), the internal states are continuously estimated
of ideal capacitance or a recursive computation of the stored and updated based on the observed input voltage/current. Our
energy. Simulations conducted with variations that approxi- simulations, implementing the three branch equivalent circuit
mate recorded solar intensity profiles, our proposed approach model [9], demonstrate an improved energy estimation accu-
has an error of 1% compared with 31% and 85% for the re- racy from 31% to 1%. The remainder of this paper is or-
spective alternative models. ganized as follows: In Section 2, background information is
provided on supercapacitor modeling. An introduction to the
Index Terms— supercapacitor, ultracapacitor, electric EKF and our modeling of the supercapacitor to allow Kalman
double layer capacitor, solar energy, kalman filter, state of filtering for internal state estimation are provided in Section 3.
charge, energy awareness. Naı̈ve estimation-based as well as our Kalman-based simula-
tion results are provided in Section 4, followed by our con-
1. INTRODUCTION clusions and future directions in Section 5.

Supercapacitors are established as a compelling solution for 2. SUPERCAPACITOR MODELING


high power buffering applications. These applications favor
supercapacitors due to their ability to bank and supply power Compared to electrolytic capacitors, supercapacitors provide
at levels an order of magnitude beyond the capabilities of significantly higher capacitance. This higher capacitance is
electrochemical battery technologies per unit weight. This su- obtained by having porous, activated carbon electrodes with a
perior power density has been utilized for regenerative break- very large effective surface area, and enables kilo-Farad level
ing [1], elevator [2], and automating starting systems for com- capacitances to be packaged in hand-held form factors. At
bustion engines [3]. Supercapacitors can also provide suf- the same time, however, when supercapacitors are charged or
ficient energy density (e.g., Maxwell 3000F [4] with a stor- discharged, the charge from the terminal takes significantly
age capacity of 11,000 Joules) for deployment in field sys- different amounts of time to migrate through the porous sur-
This work was supported in part by the National Science Foundation faces to or from the different regions of the electrode area. As
grant CNS-1239423 and a gift from Nvidia Corp. a result, under rapid charging or discharging, charge buildup

978-1-4799-2893-4/14/$31.00 ©2014 IEEE 2194


incorporate new information from the observation zk , accord-
R1 R2 R3 ing to the Kalman gain matrix [14, 15], Kk :
+
Vsc Rleak
+ + +
I noise x̂k = x̃k + Kk (zk − z̃k ) , (3)
-
V1 C 1 + C 1var V1 V2 C2 V3 C3
- - -
Kk balances between predict and update by treating uncer-
tainty in each as normally distributed random variables, and
Fig. 1. Three-branch supercapacitor equivalent circuit [9]. tracking their respective covariance matrices, P̃k , and S̃k .
in different regions of the electrode area is not homogeneous This allows whichever has lower uncertainty to be favored.
and charge re-distribution side effects are encountered. After The critical EKF implementation details are: a) evaluat-
the current stops after a period of rapid discharging, terminal ing the prediction and update operations, and b) modelling
voltage rebounds as charge “redistributes” from deeper pores. uncertainty with the covariances P̃k , and S̃k to achieve ac-
Vice versa, after rapid charging, charge redistribution causes ceptable balance in Kk .
a fall in terminal voltage. Leakage can also impact how much The prediction functions f and h, are numerically evalu-
usable energy remains in a supercapacitor, but this long term ated using the system of differential equations from the equiv-
effect can be insignificant for the time frame of charge re- alent circuit in Fig. 1, viz.,
distribution [7, 8]. Because of charge redistribution, termi- d
nal voltage is insufficient to measure supercapacitors’ state of x = Fk x + Bk u, (4)
dt
charge (SOC). z = Hk x + Dk u. (5)
Diffusion through the porous electrode can be precisely
modeled using series RC-transmission line representation [10]. where the matrices Fk , Hk , Bk , and Dk can be obtained in
The distributed transmission line model is, however, in- terms of the values for the circuit elements in Fig. 1 as sum-
tractable to work with and therefore a simplified three-branch marized in the equations listed at the top of the next page (in
model shown in Fig. 1, which accounts for charge redis- two column format). The numeric solver produces x̃k and z̃k
tribution with just three parallel RC-branches, has been from (4) and (5) using the time interval Δtk and initial condi-
proposed [9]. The model is much more tractable because it tions x̂k−1 .
uses only lumped circuit elements and has been shown to be Balancing the Kalman gain (matrix) Kk between predic-
effective in modeling SOC, when used with parameter val- tions from an approximate model, and observations that may
ues estimated for the R and C elements from experimentally be noisy or incomplete, is difficult. Disregarding uncertainty
measured device data [9]. allows exact prediction via solution of the equivalent circuit.
Using the three branch model in Fig. 1, this paper presents However, without modeled uncertainty, P̃k , and S̃k decrease
an extended Kalman filter (EKF) approach for tracking the each iteration, eventually leaving Kk undefined.
buffered energy in a supercapacitor. The EKF uses the in- Our EKF models uncertainty using the additional unob-
ternal voltages across the capacitances in each of the three served noise current, Inoise in Fig. 1. Inoise is a random, zero
branches to represent the SOC. Because these voltages are mean signal with bandwidth and power proportional to uk .
not directly observable the EKF is needed to track them. Our Inoise can be accurately modelled by the process and obser-
approach shares some similarities with prior work on the SOC vation noise covariances, Qk and Rk , in the EKF first-order
observability problem for battery systems, where Kalman fil- approximation1 :
tering is a widely implemented solution [11, 12, 13]. The xk ≈ xk−1 + (Fxk−1 + Buk−1 ) Δtk + N (0, Qk ), (6)
device models are very different in the two scenarios and so
are the Kalman filter formulations. zk ≈ Hxk + Duk + N (0, Rk ). (7)
Qk and Rk are then used to calculate the Kalman gain:
T
3. EXTENDED KALMAN FILTER P̃k = (I + Fk ) P̂k−1 (I + Fk ) + Qk , (8)

The EKF tracks the hidden SOC in the three-branch superca- S̃k = Hk P̃k HTk + Rk , (9)
pacitor model using recursive predict and update operations. Kk = P̃k HTk S̃−1
k . (10)
For each time interval Δtk , the EKF predicts the current SOC,
xk = [V1 V2 V3 ]T , and terminal voltage zk = Vsc : The intuition behind calculating Qk and Rk from Inoise
is: uncertainty should be proportional to the rate-of-
x̃k = fk (x̂k−1 , uk−1 , Δtk ). (1) change of the individual internal states. Slowly charging
z̃k = hk (x̃k , uk ).
1 The UKF (unscented Kalman filter) can improve the accuracy of propa-
(2)
gating uncertainty P̂k through the model [16, 12], but does not address how
to characterize process noise as the Gaussian process, N (0, Qk ). Because
The predictions x̃k and z̃k depend on the input current, xk represents capacitor voltages which are continuous in time, linear EKF
uk−1 = Isc , and previous estimate, x̂k−1 . x̃k is updated to approximations are adequate.

2195
⎡   ⎤
R 1 R 1 R
1 ⎡ ⎤
 R1 − 1 R1C1 R2 R1 C1 R2 1
⎢ R 1 C1  ⎥ R1 C1 R
⎢ 1 R 1 R 1 R ⎥ ⎣ 1 R ⎦ ,
Fk = ⎢ R 2 C2 R 1 R 2 C2 R2 − 1 R2C2 R2 ⎥, Bk = R 2 C2
R = R1 R2 R3 Rleak ,
⎣ ⎦ 1
1 R 1 R 1 R
R 3 C3 R
R 3 C3 R 1 − 1

R 3 C3 R 2 R 3 C3 R 2
R R R
Hk = R1 R2 R3
, D k = R , C1 = C1 + C1var V1 |k .

(small uk ), decreases the bandwidth of Inoise , penetrating all Maxwell 50F BCAP 1500F DLC
three branches (low-pass filters) regardless of time-constant. (measured) (ref. [9])
Hence, uncertainty in all branches allows predictions of V2 Crated 50F 1500F
and V3 to be updated when voltage settles and branch voltages C1 42.5F 900F
are most apparent from the observation. Quickly charging C1var 5.1 VF 600 VF
(large uk ), increases the bandwidth, decreasing prediction R1 16 mΩ 1.5 mΩ
uncertainty for branches that do not react to abrupt charging. C2 10.5F 200F
Formulating Qk and Rk from the continuous random R2 112 Ω 400 mΩ
Inoise signal is done by applying the linear approximation (6) C3 4F 330F
recursively to the noise signal N times within the interval R3 628Ω 3.2Ω
Δtk : Rleak 36kΩ 4kΩ
N
 Table 1. Parameters for the three branch model.
 n−1
N (0, Qk ) = I + F Δt
N
k
B Δt
N Inoise |n−1 .
k
(11)
solar power variability region is plotted in Fig. 2(b) for the
n=1
1500F capacitor. Doubling the solar array size or halving the
Because (11) is a weighted sum of the normally distributed capacitance for the system shifts the solar power variability
values of Inoise , finding the covariance Qk is straightforward. region left, while opposite changes push it right into the more
The output covariance Rk is determined by the value Inoise,N benign supercapacitor power levels.
when zk is observed, and is uncorrelated with the process The wide range of powers applied to the supercapacitor
noise: bring out the relevance of the three-branch internal state, es-
N (0, Rk ) = DInoise,N . (12) pecially for the initial high power cycles that cause the in-
ternal states, V2 and V3 to deviate significantly from the ob-
served voltage. For low power cycles, internal states remain
4. EVALUATION very close to the observed terminal voltage and the observ-
ability problem motivating the EKF is not as significant. This
For evaluating our proposed framework we used the three-
is the situation for low power sensor node applications [17],
branch model for two devices: a 1500F supercapacitor whose
for instance.
parameters were reported in [9] and a 50F supercapacitor for
EKF iterative SOC estimations are shown as points in
which we measured parameters in our lab, following the pro-
Fig. 2(b), and separated by Δtk ∝ Isc such that change in
tocol recommended in [9]. Both sets of parameters are listed
Vsc each iteration is approximately 10% of the rated voltage.
in Table 1. These devices have a rated voltage of 2.7V and for N
Sampling rate Δt , for the Inoise signal is also proportional to
evaluating SOC tracking performance, we consider a charging k
Isc :
profile motivated by a solar harvesting application. Measured
solar variability, and corresponding power variation that must
Tcharge (k) ≈ (1500F)(2.7V)÷ Isc |k = 10Δtk = 40 Δt k
N (13)
be buffered by the supercapacitor are shown in Fig. 4. Fig-
ure 4 demonstrates a two decade dynamic range for power
Ground truth for the supercapacitor behavior shown in
availability in solar harvesting. To simplify the evaluation
Fig. 2 is generated using Simulink to provide truth data for
of SOC tracking performance under such variability, we con-
three-branch internal states that cannot be accessed in phys-
sider a synthetic profile for the input charging current Isc that
ical devices. Parameters given in Table 1, measured from a
is shown in Fig. 2(a), where the current profile is designed
1500F supercapacitor are used to calibrate the simulation. Isc
to test SOC tracking by repeatedly charging and discharging
and Inoise sum together to produce the input current to the ref-
the supercapcitor between 0V and its rated voltage 2.7V at
erence simulation. Inoise models
 uncertainty
 and is randomly
decreasing rates each cycle. Average power for each cycle is  Isc 
annotated on the voltage output in Fig. 2(b). The logarithmic generated such that 20 log10  σnoise  = 20dB.
scale allows Fig. 2 to show very fast charging (∼1 minute) ini- Accuracy for four energy-accounting schemes is shown in
tially, with progressively slower charges (up to ∼9 hours) on Fig. 3. The first is a recursive “Coulomb count” technique that
the same axes. Using the logarithmic scale, the corresponding tracks energy by integrating net power over each time interval.

2196
50
Current (A)

Input Isc
0 Noise I
noise

−50
0 1 2 3 4
10 10 10 10 10
Time (s)

(a) Current input


3 Vsc true
83W 41W 21W 10W 5W 3W 1W 648mW V1 true
324mW
162mW V2 true
Voltage (V)

2
V3 true
V predict
sc
1 V estimate
1
V estimate
2
solar power variability region V estimate
0 3
0 1 2 3 4
10 10 10 10 10
Time (s)

(b) Voltage tracking


Fig. 2. The current (a), and voltage (b) charge-discharge profiles tests EKF state tracking over a range of power levels. The logarithmic scale shows cycles
ranging from in duration from ∼1minute to ∼ 9 hours.
10000
truth
Integrating fails to account for internal losses in the superca- 8000 Kalman
pacitor and allows error from unobserved Inoise to accumulate, Est. Energy (J) coulomb
1
count
/2CV2
6000
especially at high power levels. The second method, estimates predict only
energy using the idealized capacitor model of “1 /2 CVsc2 ”. Be- 4000

cause Vsc is observed, error does not accumulate, but there 2000
is significant error because the dynamics of the three-branch
0
model are ignored in this over-simplification. The third and 10
1 2
10
3
10 10
4

Time (s)
final “predict only” technique models the true three-branch
dynamics, but sets Kk to zero throughout, disregarding Vsc (a) Energy estimates
observations. This provides the best accuracy among meth- 3000

ods other than the EKF, but still allows error to accumulate. 2000
Est. Energy Error (J)

The EKF “Kalman” provides the best accuracy by accounting 1000

for the true three-branch dynamics of the internal SOC and 0


Kalman
also the uncertainty associated with observations. −1000 coulomb count
1 2
/2CV
−2000
predict only
5. CONCLUSIONS −3000
1 2 3 4
10 10 10 10
Time (s)
The naı̈ve remaining energy formula of E = 12 CV 2 yields
(b) Estimates’ error
inaccurate results for the energy stored in a supercapaci-
tor, especially when the power consumption range of the Fig. 3. Comparison of the accuracy of energy-awareness methods
supercapacitor-based system is wide (two or more orders of Solar Power Generation (W)

magnitude). This formula, which is suitable for a regular 1 10

capacitor proves inaccurate because the physical phenomena 12 Rain


associated with supercapacitor charging create unobservable Mixed
10 Sun
internal states of charge (SOC). Cloud*
# of Hours per Day

Sun*
A Kalman Filter-based method is introduced to contin- 8 High Sun*
uously predict and estimate the internal states by sampling
the supercapacitor terminal voltage and current, which are 6

the only two observable values. The methodology is vali- 4


dated via simulations using a synthetic charge-discharge pro-
file that spans measured dynamic range in solar power vari- 2
ation. Results indicate that the proposed approach signifi-
0
cantly improves the estimates of available energy, attaining 1 10 100
Avg. Solar Irradiation (KLux)
root mean squared error of 1% compared to 31% for the naı̈ve
E = 12 CV 2 model. Fig. 4. Solar power from 21 pannels (max. 25.5W) varies by two orders-
of-magnitude. Marked data (*) is taken from [18].

2197
6. REFERENCES [11] B. S. Bhangu, P. Bentley, D. A. Stone, and C. M.
Bingham, “Nonlinear observers for predicting state-
[1] D. Rotenberg, A. Vahidi, and I. Kolmanovsky, “Ultraca- of-charge and state-of-health of lead-acid batteries for
pacitor assisted powertrains: Modeling, control, sizing, hybrid-electric vehicles,” IEEE Trans. Veh. Technol.,
and the impact on fuel economy,” IEEE Trans. Control vol. 54, no. 3, pp. 783–794, 2005.
Syst. Technol., vol. 19, no. 3, pp. 576–589, 2011.
[12] G. L. Plett, “Sigma-point Kalman filtering for bat-
[2] A. Rufer and P. Barrade, “A supercapacitor-based en- tery management systems of LiPB-based HEV battery
ergy storage system for elevators with soft commutated packs: Part 1: Introduction and state estimation,” J.
interface,” IEEE Trans. Ind. Appl., vol. 38, no. 5, pp. Power Sources, vol. 161, no. 2, pp. 1356–1368, 2006.
1151–1159, 2002.
[13] ——, “Extended Kalman filtering for battery manage-
[3] H. A. Catherino, J. F. Burgel, P. L. Shi, A. Rusek, ment systems of LiPB-based HEV battery packs: Part
and X. Zou, “Hybrid power supplies: A capacitor- 3. State and parameter estimation,” J. Power Sources,
assisted battery,” J. of Power Sources, vol. 162, vol. 134, no. 2, pp. 277–292, 2004. [Online]. Avail-
no. 2, pp. 965 – 970, 2006. [Online]. Avail- able: http://www.sciencedirect.com/science/article/pii/
able: http://www.sciencedirect.com/science/article/pii/ S0378775304003611
S0378775305008748 [14] S. Haykin, Adaptive Filter Theory. Prentice Hall, 2002.
[4] Maxwell Corp., “K2 Series High Capacity Cells,” [15] G. L. Plett, “Extended Kalman filtering for battery
http://www.maxwell.com/products/ultracapacitors/ management systems of LiPB-based HEV battery
products/k2-series, 2012. packs: Part 1. background,” J. Power Sources, vol.
134, no. 2, pp. 252–261, 2004. [Online]. Avail-
[5] A. Fahad, T. Soyata, T. Wang, G. Sharma, W. Heinzel- able: http://www.sciencedirect.com/science/article/pii/
man, and K. Shen, “SOLARCAP: super capacitor S0378775304003593
buffering of solar energy for self-sustainable field sys-
tems,” in Proc. of the 25th IEEE Intl. System-on-Chip [16] R. Van der Merwe and E. A. Wan, “The square-
Conf., Niagara Falls, NY, Sep 2012, pp. 236–241. root unscented Kalman filter for state and parameter-
estimation,” in Proc. IEEE Intl. Conf. on Acoustics,
[6] D. Brunelli, L. Benini, C. Moser, and L. Thiele, “An ef- Speech, and Sig, Proc. (ICASSP), vol. 6, 2001, pp.
ficient solar energy harvester for wireless sensor nodes,” 3461–3464.
in Conf. on Design, Automation and Test in Europe
(DATE), Munich, Germany, Mar. 2008, pp. 104–109. [17] C. Renner and V. Turau, “State-of-charge assessment for
supercap-powered sensor nodes: Keep it simple stupid!”
[7] Y. Zhang and H. Yang, “Modeling and characterization in IEEE Ninth Intl. Conf. on Networked Sensing Systems
of supercapacitors for wireless sensor network applica- (INSS), 2012, pp. 1–6.
tions,” J. Power Sources, vol. 196, no. 8, pp. 4128–4135,
2011. [Online]. Available: http://www.sciencedirect. [18] R. Faranda and S. Leva, “Energy comparison of MPPT
com/science/article/pii/S0378775310021440 techniques for PV systems,” WSEAS Trans. on Power
Systems, vol. 3, no. 6, pp. 446–455, 2008.
[8] H. Yang and Y. Zhang, “Self-discharge analysis and
characterization of supercapacitors for environmentally
powered wireless sensor network applications,” J.
Power Sources, vol. 196, no. 20, pp. 8866–8873,
2011. [Online]. Available: http://www.sciencedirect.
com/science/article/pii/S0378775311012237

[9] L. Zubieta and R. Bonert, “Characterization of double-


layer capacitors for power electronics applications,”
IEEE Trans. Ind. Appl., vol. 36, no. 1, pp. 199–205,
2000.

[10] N. Bertrand, J. Sabatier, O. Briat, and J.-M. Vinassa,


“Embedded fractional nonlinear supercapacitor model
and its parametric estimation method,” IEEE Trans. Ind.
Appl., vol. 57, no. 12, pp. 3991–4000, 2010.

2198

You might also like