Quote of the Day
The man who does not read good books has no advantage over the man who cannot read them.
— Mark Twain
While performing some routine reliability analysis, I noticed that there is a similarity between battery aging and continuously-compounded interest calculations. I had not noticed this similarity before, and I thought I would document it here.
Figure 1 shows a common lead-acid battery. This chemistry is my focus in this post. Other chemistries will behave similarly, but the constants involved will differ. I will be assuming that the failure rate of the battery is described by the Arrhenius equation.
To understand this post, we need to establish a bit of knowledge in two areas:
- Chemical Reaction Rates and the Arrhenius Equation
- Continuously Compounded Interest
Chemical Reaction Rates and the Arrhenius Equation
Batteries are chemical machines and their performance is predictable using the mathematics of chemical kinetics. For our purposes here, the key equation is the Arrhenius Equation, which I state in Equation 1.
- A is a reaction-dependent constant.
My work here will involve only relative values, which means that the exact value of A will not be important.
- T is the absolute temperature.
A common calculation error is to work in celsius and not Kelvin. Make sure that all your battery work is in Kelvin.
- Ea is the activation energy.
The primary corrosion reaction has an activation energy of about 50 kilo-Joules (kJ) per mole (reference).
- R is the universal gas constant.
Continuously Compounded Interest
The Wikipedia provides some good background on continuously compounded interest. I will review the mathematics behind continuous compounding briefly here.
Equation 2 shows the basic compound interest formula.
- A is the final value of the investment (principal and interest)
- A0 is the principal amount (initial investment)
- r is the annual nominal interest rate
- n is number of times the interest is compounded per year
- t is number of years the investment receives interest payments
Assume that we want to compute the interest paid after one year (t = 1) to an account where the interest is compounded an infinite number of times (n = ∞). Equation 3 shows the basic steps in the derivation.
- A∞ is the final value of the investment after infinitely many compounding cycles.
Assume we are interested in the amount of time required to double our investment assuming continuous compounding. Equation 4 illustrates that computation.
This equation is related to the famous "Rule of 72", which makes calculations of investment doubling time simple enough to do in your head (see here and here). It turns out that Equation 4 is also useful in computing the temperature increase required to halve the life of a battery.
Battery Longevity's Relationship to Chemical Reaction Rates
The battery's longevity is determined by the speed of the corrosion reaction -- a faster corrosion reaction will corrode the battery faster and bring its demise sooner. We can derive the impact of this faster corrosion reaction on the battery's lifetime by making a couple of assumptions:
- The battery is considered failed when its capacity has been reduced below the level needed to provide adequate backup capacity.
In the telcom industry, we normally consider a battery to have failed when its backup capacity is reduced to 80% of its initial value (see Telecordia's GR-909 for details)
- Corrosion will gradually reduce the battery's capacity.
The effects of corrosion are measurable in terms of battery impedance. UPS hardware usually incorporates some form of load test in order to determine if the battery's capacity has fallen a desired level.
Equation 5 shows that the battery lifetime will degrade exponentially with increasing temperature.
- τ is the battery's lifetime at a temperature of T.
- τ0 is the battery's lifetime at a temperature of T0.
- T is the battery temperature for which we require an estimated lifetime.
- D0 is the total amount of the corrosion chemical reaction required to degrade the battery to failure.
- D is the total amount of the corrosion chemical reaction for a battery at a temperature of T for a time τ.
Unfortunately, Equation 5 contains two unknowns (i.e. ΔT and T). We cannot directly solve Equation 5 without making an approximation. If we are only interested in temperatures near our reference temperature (T0), we can say that . Equation 6 gives us a useful approximation for the battery's lifetime at a temperature near the battery's reference temperature.
Observe that Equation 6 is similar in form to Equation 3:
- ΔT in Equation 5 corresponds to t in Equation 3.
- in Equation 5 corresponds to A0 in Equation 3.
- in Equation 5 corresponds to A in Equation 3.
- in Equation 5 corresponds to r in Equation 3.
- ΔT is the increase in temperature needed to halve the lifetime of the battery.
Given these correspondences, we can state that the temperature difference required to halve the battery lifetime is given by Equation 7, which is just Equation 3 with the listed substitutions.
Figure 2 provides an example for how the lifetime halving temperature for a typical lead-acid battery is computed.
The calculation in Figure 1 confirms that 10 °C value given here.
I found it interesting that a relationship I have used for years in financial analysis is also useful in battery life calculations. There is something almost magical about the way similar mathematics occurs in very diverse areas.