How to calculate the accurate capacity of a battery?

Click For Summary
SUMMARY

The accurate capacity of a battery can be calculated by integrating the product of current and voltage over time, represented mathematically as ∫_0^{t_{end}} i(t)V(t)dt. This method accounts for the variations in voltage and current as the battery discharges. It is essential to consider factors such as battery age and temperature, which can affect discharge characteristics. For practical implementation, users can sample voltage and current at fixed intervals, input the data into a spreadsheet, and perform numerical integration to obtain capacity.

PREREQUISITES
  • Understanding of calculus, specifically integration techniques.
  • Familiarity with battery discharge characteristics and datasheet specifications.
  • Basic knowledge of spreadsheet software, such as Microsoft Excel.
  • Concept of numerical integration and its applications in data analysis.
NEXT STEPS
  • Research numerical integration techniques in Excel for approximating integrals.
  • Study battery discharge curves and how they change with age and temperature.
  • Explore advanced integration methods, such as Simpson's Rule or Trapezoidal Rule.
  • Review MIT's battery specifications PDF for detailed understanding of battery performance metrics.
USEFUL FOR

Engineers, battery researchers, and anyone involved in battery management systems or energy storage solutions will benefit from this discussion.

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,026
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
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
11
Views
2K
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