Professional Documents
Culture Documents
4.state of Health Estimation
4.state of Health Estimation
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 4
The primary ways that lithium-ion battery loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 4
Identify primary degradation mechanisms loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 4
4.1.1: Welcome to the course!
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 4 of 4
4.1.2: What changes as a cell ages?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 6
❈❤❛r❣❡
❈❤❛r❣❡ ❙✐❞❡ ❈❤❛r❣❡
r❡❛❝t✐♦♥
Ideally, lithium moves back and forth between electrodes; none is lost
Side reactions can consume lithium, primarily when charging cell
Structural deterioration can remove storage sites for lithium from one or both
electrodes
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 6
Capacity fade
key off: store data
key on: initialize
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 6
4.1.2: What changes as a cell ages?
Power fade
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 4 of 6
demands it 3
0 20 40 60
30% capacity loss
80 100
State of charge (%)
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 5 of 6
In this course, we first look at some qualitative explanations for cell aging
Next, we explore a simple method to estimate ESR
We then look at ways to estimate total capacity
We finally look at KF-based methods to estimate up-to-date values for any desired
set of cell parameters (honors)
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 6 of 6
4.1.3: Negative-electrode aging processes at particle surface
1
Much of this is from: Vetter et al., “Ageing mechanisms in lithium-ion batteries,” Journal of Power
Sources, 147, 2005, 269–281.
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 7
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 7
Properties of SEI
key off: store data
key on: initialize
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 7
4.1.3: Negative-electrode aging processes at particle surface
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 4 of 7
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 5 of 7
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 6 of 7
4.1.3: Negative-electrode aging processes at particle surface
Credits
current state of state of power
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 7 of 7
4.1.4: Negative-electrode aging processes in bulk and composite electrode
Graphite exfoliation (layers flaking off) due to solvent cointercalation with lithium is
considered to have a bigger impact
Solvent reacting with graphite inside particles releases gasses, accelerates cracking
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 4
❆❝t✐✈❡ ♠❛t❡r✐❛❧s
Between graphite particles ❈♦♥❞✉❝t✐✈❡ ❛❞❞✐t✐✈❡
Between current collector and particles ❇✐♥❞❡r
Between binder and particles
Between binder and current collector
Results in higher impedance and can result in ❈✉rr❡♥t ❝♦❧❧❡❝t♦r
capacity loss if particles become electrically
disconnected from current collector
Porosity of electrode can be reduced by volume changes and growth of SEI,
impeding movement of lithium ions in electrolyte, increasing resistance
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 4
Current-collector corrosion
key off: store data
key on: initialize
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 4
4.1.4: Negative-electrode aging processes in bulk and composite electrode
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 4 of 4
4.1.5: Positive-electrode aging processes
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 6
4.1.5: Positive-electrode aging processes
❆❝t✐✈❡ ♠❛t❡r✐❛❧s
Binder decomposition ❈♦♥❞✉❝t✐✈❡ ❛❞❞✐t✐✈❡
Oxidation of conductive particles (e.g., carbon ❇✐♥❞❡r
black)
Corrosion of the current collector
Loss of contact to conductive particles due to ❈✉rr❡♥t ❝♦❧❧❡❝t♦r
volume changes
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 4 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 6 of 6
4.1.6: Sensitivity of cell voltage to changes in equivalent series resistance (ESR)
SvRk0 D Rv 0 ddRvk D R0
vk k
i
k 0
Since ik can be very large, absolute sensitivity is high
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 6
Issues (1–2)
key off: store data
key on: initialize
Can compute R
ISSUE I : b0;k only when ik ¤ 0. So, we skip meas. voltage
current
temperature
estimate
state of
charge (SOC)
estimate
state of
health (SOH)
balance
cells
compute
power
limits
Because ESC model has imperfect fidelity with respect to true cell, and
ISSUE II :
b0;k is quite noisy
because of inaccuracy introduced via specific approximations, R
Might consider using total least squares approach (see later re. total capacity
estimation) but can also simply filter. For example (where 0 < 1)
bfilt0;k
R bfilt0;k 1 C .1
D R b0;k
/R
Tends to work quite well
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 6
4.1.6: Sensitivity of cell voltage to changes in equivalent series resistance (ESR)
Current (A)
0 4
Filtered resistance
−50
3.8 quite close to true
3.6 resistance
0 100 200 300 400 0 100 200 300 400
Time (min) Time (min)
R0 estimate (unfiltered) R0 estimate (unfiltered) R0 estimate (filtered)
4 4 4
R0 values (mOhm)
R0 values (mOhm)
R0 values (mOhm)
3 3 3
2 2 2
Issues (3–4)
ESR is SOC-dependent
ISSUE III :
current state of state of power
temperature charge (SOC) health (SOH) cells limits
SOC dependence could be handled by adapting resistance loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 5 of 6
Summary
key off: store data
key on: initialize
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 6 of 6
4.1.7: Sensitivity of cell voltage to changes in cell total capacity
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 5
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 5
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 5
4.1.7: Sensitivity of cell voltage to changes in cell total capacity
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 4 of 5
Summary
estimates
The bad news is that Q is nearly unobservable: simple methods cannot estimate its
value well
The remainder of this course will explore reasons why one common approach to
estimating Q is incorrect, and how to estimate Q correctly
Next week, we explore why ordinary-least-squares regression is the wrong
approach, and why total-least-squares regression is correct
Then, we look at computationally efficient methods for computing the
total-least-squares solution
Examples will demonstrate these claims
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 5 of 5
4.1.8: Where from here?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 1 of 3
capacity
loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 2 of 3
Credits
key off: store data
key on: initialize
loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | How does lithium-ion cell health degrade? j 3 of 3
4.2.1: What’s wrong with using ordinary least squares to estimate total capacity?
X
loop once each measurement interval while pack is active
k2 1
We can rearrange its terms to get: t kik D Q .´k2 ´k1 / ,
k Dk1
y
x
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 1 of 5
4.2.1: What’s wrong with using ordinary least squares to estimate total capacity?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 2 of 5
4.2.1: What’s wrong with using ordinary least squares to estimate total capacity?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 3 of 5
4.2.1: What’s wrong with using ordinary least squares to estimate total capacity?
What to do?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 4 of 5
4.2.1: What’s wrong with using ordinary least squares to estimate total capacity?
Summary
and is linear in Q
Tempting to use (ordinary least squares) regression techniques to estimate Q!
However, there are errors/noises in both the “x ” and “y ” terms in this regression
Ordinary-least-squares solutions will be biased by these noises
Instead, total-least-squares solutions should be used
That is what we study next
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 5 of 5
4.2.2: How to find the ordinary-least-squares solution as a benchmark
b
loop once each measurement interval while pack is active
yi D t
X
k2;i 1
kik
k Dk1;i
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 1 of 5
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 2 of 5
Cost function
b key off: store data
key on: initialize
b
Weighting takes into account uncertainty of specific measurement
That is, we seek Q that minimizes weighted-least-squares (WLS) cost function
WLS2
D
X N
.yi Yi /2
D
X N
.yi b
Q xi / 2
y2i y2i
Db
i D1 i D1
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 3 of 5
4.2.2: How to find the ordinary-least-squares solution as a benchmark
Solution
b b
loop once each measurement interval while pack is active
b
@2WLS xi .yi Qxi /
D 2
yi2
D0
@Q
bX DX
i D1
N N
xi2 xi yi
Q
2
X
i D1 yi
,X 2
i D1 yi
bD Q
N
xi yi
2
N
xi2
2
i D1 yi i D1 yi
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 4 of 5
Summary
X
loop once each measurement interval while pack is active
c1 D
X N
xi2
and c2 D
X N
xi yi
2 2
b
i D1 yi i D1 yi
Then, Q D c2 =c1
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 5 of 5
4.2.3: Making the ordinary-least-squares solution computationally efficient
X X
temperature charge (SOC) health (SOH) cells limits
N N
xi2 xi yi
c1 D 2
and c2 D 2
i D1 yi i D1 yi
But, notice we can update summations recursively whenever new data pair available
c1;n D
X n
xi2
D c1;n 1 C xn2
and c2;n D
X n
xi yi
D c2;n 1 C xn2yn
2 y2n 2
b
i D1 yi i D1 yi yn
Initializing recursion
Alternately, can recognize that cell having nominal capacity Qnom has that capacity
over a state-of-charge range of 1.0
Therefore, we can initialize with a synthetic zeroth “measurement” where x0 D 1
and y0 D Qnom
The value for y20 can be set to the manufacturing variance of the nominal capacity
That is, c1;0 D 1=y20 and c2;0 D Qnom =y20
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 2 of 5
2FMWLS D
X N
N i .yi
b
Qxi /2
,
i D1
y2i
where the forgetting factor is in the range 0 1
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 3 of 5
4.2.3: Making the ordinary-least-squares solution computationally efficient
bDX
temperature charge (SOC) health (SOH) cells limits
N N 2
N i xi yi N i xi
Q
i D1 i D1
y2i y2i
b
This solution may also easily be computed in a recursive manner
Compute Qn D cQ2;n =cQ1;n based on two running sums (initialized same as before)
cQ1;n D
X n
N i xi2
D cQ1;n 1 C x2n
2
y2i
X i D1 yn
n
N i xi yi
cQ2;n D y2i
D cQ2;n 1 C xn2yn
i D1 yn
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 4 of 5
Summary
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 5 of 5
4.2.5: Finding the solution to a weighted total-least-squares problem
bD0
b to minimize this cost function, set @2WTLS =@Q
loop once each measurement interval while pack is active
To find Q
@2WTLS
N
X b xi
2.Q b yi x2
yi /.Q C xi y2 /
D i i
D0 (via Mathematica)
i D1
b
@Q b 2 x2
.Q i
C y2i /2
Unfortunately, this solution has none of the nice properties of the WLS solution:
1. There is no closed-form solution in the general case
2. There is no recursive update in the general case
3. There is no fading memory recursive update
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 1 of 7
1. No closed-form solution
b
balance
0 3000
Value
2000
−1 1000
0
Iterations: 36, Fn evals: 138 2 −2
−2 1 −1
−2 −1 0 1 2 0 0
−1 1
x(1) x(1) −2 2 x(2)
b
One possibility is to perform a Newton–Raphson search for Q
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 2 of 7
Newton–Raphson search
key off: store data
key on: initialize
bk D Q
Q bk 1 @2WTLS =@Qb b2
@2 2WTLS =@Q
Numerator is “Jacobian” of original cost function, given by earlier equation
Denominator is “Hessian” of original cost function, which can be shown to be
@2 2WTLS X N
y4 xi2 Cx4 .3Q
b 2 yi2 2Q
b 3 xi yi / x2 y2 .3Q
b 2 xi2 6Q
b xi yi C yi2/
b2
D2 i i
b 2 x2 C y2 /3
i i
@Q i D1 .Q i i
2. No recursive update
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 4 of 7
i D1
b 2 x2
Q i
C y2 i
b
@Q i D1
b 2 x2
.Q i
C y2i /2
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 5 of 7
@2 2
N
X y4 xi2 C x4 .3Q
b 2 yi2 2Q
b 3 xi yi /
FMWTLS
D2 N i i i
b2
@Q i D1
b 2 x2
.Q C y2 /3
i
!
i
b
Can use Newton–Raphson search to minimize cost function to find Q
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 6 of 7
4.2.5: Finding the solution to a weighted total-least-squares problem
Summary
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 7 of 7
4.2.6: Confidence intervals on least-squares solutions
When computing Q
current state of state of power
b , important to know certainty of estimate temperature charge (SOC) health (SOH) cells limits
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 1 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 2 of 6
1 1 2
D .2/N jd j1=2
exp
2 WTLS
The maximum-likelihood formulation makes it possible to determine confidence
intervals on Q
b. . .
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 3 of 6
4.2.6: Confidence intervals on least-squares solutions
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 4 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 5 of 6
Summary
key off: store data
key on: initialize
Q
b loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 6 of 6
4.2.7: Where from here?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 1 of 3
While WLS allows closed-form, recursive, and temperature charge (SOC) health (SOH) cells limits
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 2 of 3
Credits
key off: store data
key on: initialize
loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Total-least-squares battery-cell capacity estimation j 3 of 3
4.3.1: Simplifying the total-least-squares solution for cases having proportional uncertainties
A path to solution
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 6
4.3.1: Simplifying the total-least-squares solution for cases having proportional uncertainties
If xi
current state of state of power
temperature charge (SOC) health (SOH) cells limits
Furthermore, Jacobian of WTLS cost function reduces to (again, via xi D kyi )
@2TLS Xb N
D 2 .Q x
b
yi /.Qk 2 yi C xi /
b b
i
@Q i D1 .Q2 k 2 C 1/2 y2i
b , without requiring iteration to do so
This may be solved for an exact solution to Q
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 6
4.3.1: Simplifying the total-least-squares solution for cases having proportional uncertainties
Xb b
temperature charge (SOC) health (SOH) cells limits
@2TLS 2
b b D0
@Q i D1 .Q k C 1/ yi
X k x y CQb X x k y C X x y D 0
b2
DQ
N
2 i i
N 2
i
2 2
i
N
i i
2 2 2
D D DD D D
i 1 yi i 1 yi i 1 yi
where we define c D
n 2 2
3;n
b using the familiar quadratic equation solution
i 1 i yi
Then, we can solve for Q
p
bD
Q
b b
2a
4ac 2
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 6
4.3.1: Simplifying the total-least-squares solution for cases having proportional uncertainties
k 2 c3;n /2 C
b .c1;n k2c 2
4k 2 c2;n
3;n / .c1;n
Qn D
2k 2 c2;n
Which of the two roots to choose? Can show via Routh array and test that this
b
quadratic always has one positive root and one negative root
Q2 k 2 c2;n c2;n
b
Q1 c1;n k 2 c3;n 0
b
Q0 c2;n 0
First column of the array always has exactly one sign change, so there is one root of
the polynomial in the right-half plane (and other in left-half plane or on axis)
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 4 of 6
4.3.1: Simplifying the total-least-squares solution for cases having proportional uncertainties
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 5 of 6
4.3.1: Simplifying the total-least-squares solution for cases having proportional uncertainties
Summary
key off: store data
key on: initialize
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 6 of 6
4.3.2: Making simplified solution computationally efficient
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 4
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 4
Fading memory
key off: store data
key on: initialize
Initialization unchanged: cQ1;0 D 1=y2 , cQ2;0 D Qnom =y2 and cQ3;0 D Qnom2 = 2
i y i i
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 4
4.3.2: Making simplified solution computationally efficient
Summary
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 4 of 4
4.3.3: Defining geometry for approximate full solution to weighted total least squares
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 7
4.3.3: Defining geometry for approximate full solution to weighted total least squares
✭❳ ✐ ✱ ❨✐ ✮ ①✐
✧②✐
❘✐
②✐
★ ✾✁✂ ✄ ★
✭① ✐ ✱ ②✐ ✮
✧① ✐
The error bars on each data point illustrate the uncertainties in each dimension,
which are proportional to x and y i i
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 7
4.3.3: Defining geometry for approximate full solution to weighted total least squares
✦❳
❨ ❂ ◗ ✦❳
❨ ❂ ◗ ✦❳
❨ ❂ ◗
meas. voltage
current
estimate
state of
estimate
state of
balance compute
power
temperature charge (SOC) health (SOH) cells limits
✭❳ ✐ ✱ ❨✐ ✮ ①✐
✧②✐
❘✐
②✐
★ ✾✁✂ ✄ ★
✭① ✐ ✱ ②✐ ✮
✧① ✐
We see that the distance between xi and Xi is not necessarily equal to the
distance between yi and Yi —depends on respective error bounds
If quality of xi is better (poorer) than quality of yi , distance to its map Xi should be
shorter (greater) than the distance from yi to its map Yi
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 7
4.3.3: Defining geometry for approximate full solution to weighted total least squares
TLS geometry
✭❳ ✐ ✱ ❨✐ ✮ ①✐
✧②✐
❘✐
②✐
★ ✾✁✂ ✄ ★
✭① ✐ ✱ ②✐ ✮
✧① ✐
Middle frame shows relationship between data point .xi ; yi / and its optimized map
b Xi when x2 and y2 are equal
.Xi ; Yi / on Yi D Q i i
transformed data points with equal variances, and hence same idea applies
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 4 of 7
4.3.3: Defining geometry for approximate full solution to weighted total least squares
✭❳ ✐ ✱ ❨✐ ✮ ①✐
✧②✐
❘✐
②✐
★ ✾✁✂ ✄ ★
✭① ✐ ✱ ②✐ ✮
✧① ✐
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 5 of 7
4.3.3: Defining geometry for approximate full solution to weighted total least squares
✦❳
❨ ❂ ◗ ✦❳
❨ ❂ ◗ ✦❳
❨ ❂ ◗
meas. voltage
current
estimate
state of
estimate
state of
balance compute
power
temperature charge (SOC) health (SOH) cells limits
✭❳ ✐ ✱ ❨✐ ✮ ①✐
✧②✐
❘✐
②✐
★ ✾✁✂ ✄ ★
✭① ✐ ✱ ②✐ ✮
✧① ✐
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 6 of 7
4.3.3: Defining geometry for approximate full solution to weighted total least squares
Summary
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 7 of 7
4.3.4: Finding appropriate cost function for approximate full solution to WTLS problem
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 4
4.3.4: Finding appropriate cost function for approximate full solution to WTLS problem
i D1 yi
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 4
4.3.4: Finding appropriate cost function for approximate full solution to WTLS problem
b 2 =.1 C Q
b 2 /:
meas. voltage estimate estimate compute
2
cos2
current state of state of power
temperature charge (SOC) health (SOH) cells limits
y 2 b
Q 2 y 2 1
xi2 D i
I yi2 D i
1CQ b 2 1CQb 2 b
1CQ2 1CQb2
Since yi D yi Q b xi
!
X N
.y b
Q x /2 Q b 2 1
2AWTLS D
b 2 2 x2 C y2
i i
i D1 .1 C Q / i i
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 4
4.3.4: Finding appropriate cost function for approximate full solution to WTLS problem
Summary
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 4 of 4
4.3.5: Finding solution to the AWTLS problem
!
loop once each measurement interval while pack is active
N
X b xi b2
.yi Q /2 Q
2AWTLS D C 12
i D1 .1 C Q
b 2 /2 x2i yi
Jacobian of AWTLS cost function can be found to be
N
! !
@2AWTLS 2 X x y 2x 2 x 2 y 2
D b2 b
Q 4 i i
CQ
b 3 i i i
b
@Q .Q C 1/3 i D1 x2i x2i y2i x2i
! ! !
3x y 3x y x 2 2y 2 y 2 x y
CQb2 i i
y2i
i i
x2i
CQ b i
y2i
i
C 2i C 2i i
xi yi
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 6
Recursive solution
b
D b 2 C 1/3 5
c Qb 4 C .2c4 c1 c6 /Qb3
@Q .Q
C .3c2 3c5/Q b 2 C .c1 2c3 C c6 /Q
b c2
where
c1;n D c1;n 1 C xn2=y2n I c3;n D c3;n 1 C yn2=y2n I c5;n D c5;n 1 C xnyn=x2n
c2;n D c2;n 1 C xn yn =yn I
2
c4;n D c4;n 1 C xn =xn I
2 2
c6;n D c6;n 1 C yn =xn
2 2
b
Roots of the quartic equation, below, are candidate solutions for Q
b 4 C .2c4 c1 c6 /Q
c5 Q b 3 C .3c2 3c5 /Q b 2 C .c1 2c3 C c6 /Q b c2 D 0
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 6
Initialized by setting
current state of state of power
temperature charge (SOC) health (SOH) cells limits
x0 D 1 and y0 D Qnom
y20 D uncertainty in Qnom versus Q
We assume that x0 D y0 to be compatible with TLS for k D 1 (will generalize for
different k later in code)
Therefore,
c1;0 D 1=y20 I c3;0 D Qnom
2
=y20 I c5;0 D Qnom =y20
c2;0 D Qnom =y20 I c4;0 D 1=y20 I c6;0 D Qnom
2
=y20
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 6
4.3.5: Finding solution to the AWTLS problem
Selecting solution
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 4 of 6
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 5 of 6
Summary
key off: store data
key on: initialize
Optimizing Q
Can be found via Ferrari method or eigenvalue method
Must substitute solutions into cost function to choose best one
Made efficient via recursive summations
Hessian can also be computed using recursive sums to provide confidence bounds
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 6 of 6
4.3.6: Adding fading memory
!
loop once each measurement interval while pack is active
N
X b xi b2
N i .yi Q /2 Q
2FMAWTLS D C 12
i D1 .1 C Q
b 2 /2 x2i yi
The Jacobian is
N
" ! !
@2FMAWTLS 2 X xi yi 2xi2 xi2 yi2
b
D b 2 C 1/3 i D1
Q CQ
N i b4
x2i
b3
x2i y2i x2i
@Q .Q
! ! !#
3x y 3x y 2 2 yi2
CQ
b2 i i i i
C b xi 2yi
Q C C xi yi
y2i x2i y2i x2i y2i
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 6
Recursive solution
b
D b 2 C 1/3 5
cQ Q
b 4 C . cQ1 C 2cQ4 cQ6 /Q
b3
@Q .Q
C .3cQ2 3cQ5 /Q
b 2 C .cQ1 2cQ3 C cQ6 /Q
b cQ2
where
cQ1;n D cQ1;n 1 C xn2=y2n I cQ3;n D cQ3;n 1 C yn2=y2n I cQ5;n D cQ5;n 1 C xnyn=x2n
cQ2;n D cQ2;n 1 C xn yn =y2n I cQ4;n D cQ4;n 1 C xn2 =x2n I cQ6;n D cQ6;n 1 C yn2 =x2n
b
Roots of the quartic equation, below, are candidate solutions for Q
cQ5 Q
b 4 C .2cQ4 cQ1 cQ6 /Q
b 3 C .3cQ2 3cQ5 /Q
b 2 C .cQ1 2cQ3 C cQ6 /Q
b cQ2 D0
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 6
Initialized by setting
current state of state of power
temperature charge (SOC) health (SOH) cells limits
x0 D 1 and y0 D Qnom
y20 D uncertainty in Qnom versus Q
and x20 D y20
Therefore
cQ1;0 D 1=y20 I cQ3;0 D Qnom
2
=y20 I cQ5;0 D Qnom=y20
cQ2;0 D Qnom =y20 I cQ4;0 D 1=y20 I cQ6;0 D Qnom
2
=y20
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 6
4.3.6: Adding fading memory
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 4 of 6
This can be remedied easily: define yQi D kyi ; then yQi D xi
loop once each measurement interval while pack is active
b and
Invoke the AWTLS or FMAWTLS methods to find total capacity estimate Q
Hessian H using input sequences comprised of the original x vector and the scaled
yQ vector (i.e., .xi ; yQi / with corresponding variances .x2i ; k 2 y2i /)
True slope estimate found as Qb corrected D Q=k
b , and Hessian as Hcorrected D H=k 2
This is the method used next week, where k is estimated as k D x1 =y1
This scaling improves results even when yi and xi not proportionally related, if k
chosen to give “order of magnitude” ratio between uncertainties of xi and yi
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 5 of 6
Summary
key off: store data
key on: initialize
b : No iteration or advanced
1. Closed-form solution for Q
algorithms are required—only simple mathematical operations.
2. Solution can be computed very easily in a recursive manner: keep track of six
running sums c1;n through c6;n ; when additional data become available, update
sums and compute updated total-capacity estimate
3. Fading memory can be added easily to allow Q b to place greater emphasis on
more recent measurements than on earlier measurements, allowing adaptation
b to adjust for true cell total-capacity changes
of Q
4. Furthermore, this method is superior to the TLS solution since it allows
individual weighting on xi and yi data points
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 6 of 6
4.3.7: Where from here?
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 1 of 3
Next week, you will learn how to implement all the xLS
balance
current state of state of power
temperature charge (SOC) health (SOH) cells limits
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 2 of 3
Credits
key off: store data
key on: initialize
loop once each measurement interval while pack is active
Dr. Gregory L. Plett j University of Colorado Colorado Springs Battery State-of-Health (SOH) Estimation | Simplified total-least-squares battery-cell capacity estimates j 3 of 3