How to calculate the accurate capacity of a battery?

Click For Summary

Discussion Overview

The discussion revolves around calculating the energy capacity of a battery between specific voltage levels, exploring methods for integrating voltage and current data over time. Participants consider both theoretical and practical approaches to this calculation, including the effects of varying current and voltage on capacity.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant notes that traditional capacity calculations may be approximations due to voltage decrease during discharge and changing current.
  • Another suggests using integration of the product of current and voltage over time to calculate capacity, specifically mentioning the integral \(\int_0^{t_{end}} i(t)V(t)dt\).
  • A participant emphasizes the importance of considering how output current affects discharge curves and mentions that battery capacity diminishes as batteries age.
  • There are suggestions to manually sample voltage and current at fixed intervals, calculate their product, and sum the results to estimate capacity.
  • Some participants discuss the feasibility of performing numerical integration using spreadsheet software, with one asking for guidance on how to do this in Excel.
  • Another participant confirms that summing products of voltage and current can approximate integration for small intervals.

Areas of Agreement / Disagreement

Participants generally agree that integration is a valid method for calculating battery capacity, but there are varying opinions on the best approach to implement this, especially regarding the use of spreadsheets and numerical methods. No consensus is reached on a single method or solution.

Contextual Notes

Participants mention potential limitations such as the need for accurate data sampling intervals and the effects of temperature on battery performance, which may not be fully addressed in their discussions.

CmdrRoot
Messages
4
Reaction score
0
I'm trying to figure out how to calculate how much energy is stored in a battery between certain voltages. I know capacity is traditionally calculated by multiplying amps drawn by nominal voltage by time, but this seems like an approximation because voltage decreases as the battery is discharged. Also, the current drawn can change.

So if I had a graph of voltage vs time and a graph of amperage vs time, how would I go about calculating capacity between two voltages?

If it is necessary we can assume that voltage and amps vs time can be expressed by continuous functions.

Thanks!
 
Engineering news on Phys.org
CmdrRoot said:
So if I had a graph of voltage vs time and a graph of amperage vs time, how would I go about calculating capacity between two voltages?

Just integrate - \int_0^{t_{end}} i(t)V(t)dt
 
CmdrRoot said:
So if I had a graph of voltage vs time and a graph of amperage vs time, how would I go about calculating capacity between two voltages?
As @Borek says, you would integrate. But be sure to also take into account how the output current level changes the discharge curves. And the datasheet curves are for a fresh battery that has been charged well (assuming you are talking about rechargeable batteries). As batteries age, their capacity diminishes. You also may need to take temperature into account, since that can also alter the battery discharge characteristics...

Helpful PDF from MIT -- http://web.mit.edu/evt/summary_battery_specifications.pdf

Typical datasheet curves -- https://www.mathworks.com/help/physmod/sps/powersys/ref/batterydatasheetfit.gif
batterydatasheetfit.gif
 

Attachments

  • batterydatasheetfit.gif
    batterydatasheetfit.gif
    35.3 KB · Views: 1,033
As others have said, integration is the answer.

You can do this manually by sampling the voltage and current at fixed time intervals and putting the data into a spreadsheet. Calculate the product of V,I and the sample interval. Add up the result.

PS Fixed sample intervals should be ok in this case but in some cases variable sample intervals can improve accuracy or greatly reduce the number of samples needed.
 
If you already have the data in a spreadsheet, you may as well just numerically integrate it there.
 
russ_watters said:
If you already have the data in a spreadsheet, you may as well just numerically integrate it there.

This may be the wrong place to ask, but is there an easy way for an Excel noob like me to do that?
 
Borek said:
Just integrate - \int_0^{t_{end}} i(t)V(t)dt

Thank you, that makes a lot of sense.
 
As for "is there an easy way for an Excel noob" - do you know the common definition or description of integration?
 
Windadct said:
As for "is there an easy way for an Excel noob" - do you know the common definition or description of integration?

Yeah I'm taking calc 2 now. I could do it easily if I found curves to fit v(t) and I(t), but if I just had a spreadsheet of values is there an easy way to do an approximation? Like have Excel calculate and sum each rectangle.
 
  • #10
If you are taking Calc 2 you do know integral is a limit of a sum for dx→0. For reasonably small dx just sum works quite good (there are tricks to make to even better, google numerical integration).
 
  • #11
CmdrRoot said:
Like have Excel calculate and sum each rectangle.

That's essentially what I was suggesting in #4.
 
  • #12
CmdrRoot said:
This may be the wrong place to ask, but is there an easy way for an Excel noob like me to do that?
do you have two columns of data; volts and amps? multiply them together and multiply by your time interval in the next column, then take the sum of the whole column.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
11
Views
3K
Replies
4
Views
2K
Replies
3
Views
3K
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K