Perspectives in Research and Society · Vol. 2 No. 11 (2026)
Published November 26, 2026

Recovering the Capacity Target from Public Battery Discharge Traces

Samantha Mitchell, Steven Ryan, Andy Barnes

Abstract

Battery aging files often pair a discharge trace with a capacity label. A reconstruction from NASA's four-cell B0025–B0028 release shows how strongly that label depends on the current channel, the voltage endpoint, and retained samples. Integrating measured terminal current through the first recorded sample at or below 2.7 V matched 112 reported capacities with a mean absolute discrepancy of 0.00000134 Ah. Integration of the same channel to the end of each record raised that discrepancy to 0.0310 Ah. Keeping every second current sample at one phase or the other, while preserving the endpoint, gave mean signed errors of +1.790 and −1.785 Ah. These are within-archive comparisons. They show how a change in preprocessing can induce a large target discrepancy before any state estimator is fitted.

The meaning of a stored capacity

Battery health models often use an archived capacity as the response variable for estimating a changing state of health. The number can look like a direct property of a cell, even though it may represent an integral measured under a defined discharge procedure. Rebuilding that number from the source trace tests whether voltage limits, instrument channels, and sampling decisions are aligned with the reference used to score the model. This matters especially when curators combine records from several cells and assign one capacity name to all observations. A shift in the numerical target after splitting or resampling a trace can resemble a change in estimation performance. The underlying data could instead have been transformed in a way that changes how much charge the reference integral includes.

Xu et al. (2026) present online estimation of state of charge, state of health, and power capacity under a safety boundary consistency criterion in the title of their work. Their framing motivates checking consistency of the capacity input before examining how it might support a joint estimator. The experiment here concerns an archived ampere-hour reference and uses a laboratory dataset with four cells. It does not fit the joint estimator or establish a voltage boundary for a vehicle or another deployment. We ask two questions. Which of the archived signal and endpoint conventions most closely reproduces the stored value? How large can the deviation become when every other current sample is retained while the recorded endpoint is supplied unchanged? Together the two questions separate a target-definition check from a signal-resolution check.

Berecibar et al. (2016) discuss state-of-health definitions and approaches across applications. Waag et al. (2014) consider the interaction among monitoring tasks in electric and hybrid vehicles. Capacity measured in charge units and power capability depend on different combinations of observables. A sensitivity to the discharge endpoint is directly relevant to the first quantity. Impedance at different aging and operating conditions, studied by Waag et al. (2013), adds information about the second. Lee et al. (2020) discuss electrode-level changes that can also alter apparent relationships used to estimate health. The present audit keeps estimates in ampere-hours and retains the cell and discharge identifiers. It therefore does not treat either a label discrepancy or a terminal voltage as equivalent to a change in power capability.

Archived measurements and reconstructible choices

The four public files are distributed by the NASA Prognostics Data Repository in the Battery Aging ARC subset for cells 25–28. Saha and Goebel (2007) provide the archive and protocol notes. The archive is also part of the broader context for battery prognostics work by Saha et al. (2009). We use the first numbered bundle for these four cells. Each cell file contains 80 operations, of which 28 are marked as discharges. Each of the 112 discharges has a stored capacity and separate fields for measured terminal current, measured load current, terminal voltage, and elapsed time. We use all of these discharges regardless of apparent degradation stage or the size of an initial reconstruction discrepancy. The records with other operation types are kept outside the comparison because their stored fields represent other procedures.

The local README describes pulse discharges under different nominal stopping conditions and identifies the stored capacity as corresponding to discharge through 2.7 V. These two details must be read together. A recording can continue after the measurement used to define the reference. The logged end point and the label end point are thus different observable candidates, even if a field name does not advertise the distinction. Laboratory guidance such as Christophersen (2015) specifies how procedures and limits shape comparable test quantities. Aging experiments such as Keil and Jossen (2016) and Schuster et al. (2015) show why operating protocols should be preserved when evaluating subsequent performance and aging differences. We extract the reference limit from the NASA documentation for this exact file and use the first recorded voltage at or below the stated value. It is a label reconstruction decision defined by the source.

Figure 1 depicts the sequence. For each trace, the time stamps are checked for strict increase. Current and voltage arrays must have the same length as the time array and contain finite observations. We separately integrate the terminal current and the load-current channel. Terminal current is stored in the negative discharge convention, so we reverse its sign once before integrating. Load current is used in the discharge-positive convention as recorded. The selected interval starts at the first time stamp and ends either at the first sample at or below 2.7 V or at the last sample in the trace. All 112 traces have a recorded crossing. The composite trapezoid rule integrates adjacent observations using their actual time intervals, and division by 3,600 converts ampere-seconds into ampere-hours. This is the standard numerical rule summarized by the National Institute of Standards and Technology (n.d.). The threshold sample is included. There is no interpolation to a crossing between observed times and no clipping of small currents recorded during low-load portions of the trace.

Research model for reference reconstruction and paired comparisons by cell, contrasting endpoint choices and decimation phases.

Figure 1. Panel A shows the reference reconstruction sequence. Panels B and C show median discrepancies and interquartile ranges for the four cells. Their vertical scales differ because omitting alternate samples has a larger effect than changing the endpoint on these traces.

What a coarse sample can preserve

For the sampling exercise we start from the voltage-limited terminal-current reconstruction. Within each discharge we retain alternate current readings on the original time index. One variant retains indices 0, 2, 4 and so on. The other retains indices 1, 3, 5 and so on. We add the first and threshold samples to both schedules whenever they are absent. We recompute the trapezoid sum with the retained times, including the two boundary samples. The two variants use the endpoint selected from the complete voltage record. Thus the calculation is an endpoint-informed stress test for current decimation. It does not test the additional uncertainty a real slower recorder could have when it misses the first crossing or smooths a measurement.

The source README describes square-wave loading at 0.05 Hz. A cycle is therefore about 20 seconds. Across the voltage-limited traces the original sampling intervals have a median of roughly 10.8 seconds. Retaining every other reading puts the sampling cadence near the period of the applied pulse. Whether the retained sequence overrepresents high current or low current then depends strongly on the offset. Shannon (1949) provides the classical framework for understanding why discrete observations can fail to retain information about higher-frequency components of a signal. The original trace is itself discrete and uses uneven sampling intervals. We evaluate the observed numerical consequences in these files rather than infer an error formula for every possible pulse waveform. Comparison of two possible offsets is particularly valuable because a single downsampling rule chosen in advance can conceal the sign reversal.

Movassagh et al. (2021) distinguish error sources in charge accounting, including current measurement and integration. These are relevant to the reconstruction error versus a stored reference and also to independent measurements intended to represent physical capacity. Taylor and Kuyatt (1994) describe the broader need to report the measurement setup and combine uncertainty components for a measured result. Our exercise reuses the same quantitative records from which the stored target may have been calculated. It can check agreement to a very small numerical tolerance even if metrological uncertainty in the true physical charge is much larger. We therefore distinguish the signed reconstruction discrepancy and absolute discrepancy from an instrument accuracy estimate. There is no independent metrology record in the selected archive bundle against which to assess the accuracy of this reported target.

Results across 112 discharges

Table 1 gives the observed deviations from the stored reference. Terminal-current integration through the crossing matches 86 records within 0.00000001 Ah. Even the largest absolute discrepancy is approximately 0.000016 Ah. At this level, small changes in timing, summation, or reference rounding could be sufficient to explain the residual. Full-trace terminal-current integration has a mean positive discrepancy of 0.0310 Ah and a mean absolute discrepancy of approximately the same size. Keeping the 2.7 V endpoint but switching to the load-current channel produces a much smaller average discrepancy than full-trace integration, although its mean absolute discrepancy remains larger than for the voltage-limited terminal-current channel. The likely reference convention is therefore specifically a combination of the channel and endpoint, rather than an arbitrary current integral applied to the file.

Table 1. Capacity reconstruction errors relative to archived values, in Ah.

Integration rule Mean signed discrepancy Mean absolute discrepancy Maximum absolute discrepancy
Terminal current through 2.7 V −0.00000134 0.00000134 0.00001595
Terminal current through last sample 0.03101 0.03101 0.05461
Load current through 2.7 V −0.00279 0.00917 0.01371
Load current through last sample 0.02808 0.02808 0.06536
Terminal current, even samples 1.78994 1.78994 1.84771
Terminal current, odd samples −1.78547 1.78547 1.84260

Table 1 note. Each row includes the same 112 discharge records. Both alternate-sample schedules retain the start and the reference endpoint. The signed discrepancy is the reconstructed value minus the archived value.

The endpoint effect is not distributed evenly across cells. For B0025, B0026, and B0027, the median elapsed time remaining after the 2.7 V sample is between approximately 3,115 and 3,192 seconds. Their average absolute full-trace discrepancies range from about 0.039 to 0.044 Ah. For B0028 the median remaining time is zero and the corresponding mean discrepancy is about 0.00000138 Ah. A uniform assumption about the recording end point can therefore change different cells' labels by different amounts. The cell-specific summaries are descriptive. Each cell was observed under its own protocol and operations within a cell are related. This design cannot separate a nominal protocol effect from a cell effect by treating 112 cycles as independent battery replicates.

The alternate-sample exercise produces a greater discrepancy than the endpoint substitutions. The voltage-limited reference ranges are close to the cell medians, about 1.77–1.82 Ah. Estimated charge under the even phase ranges from about 2.77 to 3.70 Ah, while estimates under the odd phase range from about 0.0045 to 0.0074 Ah. The sign pattern is consistent with one retained sequence dominated by the applied pulse and the other sequence dominated by observations during the low-current interval. The exact phase errors describe naive decimation of the provided trace. They do not imply that a device sampling at the same mean interval must incur that error if it internally averages over the interval or observes the current waveform differently.

Implications for training and comparing estimators

An estimator can perform poorly against a target that changes at the data-curation stage, even if its predictions are unchanged. To benchmark against the original NASA reference, the labels should be kept in the original convention or reconstructed at the full recorded cadence. A second declared target may be appropriate for a distinct scientific question. For example, full-record integrated charge captures the information in a longer terminal-current series. It changes the comparison because that series includes charge beyond the documented label endpoint in some cells. The distinction is material when a study pools data from cells spanning different cutoffs. A model trained to predict the mixture can inherit cell-specific label offsets. A chronological or cell-held-out split would preserve the offset when it is embedded in the response.

Charge-based models are only one route to estimating cell states. Plett (2004), Di Domenico et al. (2010), and Moura et al. (2017) describe state-estimation frameworks with explicit dynamical representations. Berrueta et al. (2016) compare state-of-charge methods for stationary batteries, and Hu et al. (2012) compare equivalent-circuit model classes. Sulzer et al. (2021) describe a common modeling framework that makes differences in model and experiment definitions explicit. Their scope helps separate a model of the changing internal state from the reference quantity used to score it. Data-driven capacity estimators such as the one studied by Richardson et al. (2018) likewise depend on a definition of the in situ reference against which predictions can be evaluated. This study supplies a check on one such definition under a known laboratory record.

Capacity also summarizes degradation mechanisms that can affect traces in different ways. Vetter et al. (2005), Birkl et al. (2017), and Edge et al. (2021) describe that broader physical context. Dubarry and Liaw (2009) and Dubarry and Anseán (2022) examine incremental capacity, whose interpretation can also depend on resolution and processing. Krupp et al. (2021) study such methods when moving from cells to modules. Makan et al. (2024) provide an example in which aging trajectories vary among cells. Severson et al. (2019) and Attia et al. (2020) connect earlier-cycle measurements to later battery outcomes, with distinct objectives and experimental designs. Our analysis does not classify the mechanisms behind any record. It shows that the label construction needs to be retained when any of these modeling ideas are brought to a public archive.

Data and reproducibility

The local research copy of BatteryAgingARC_25_26_27_28_P1.zip was extracted as a member from the public parent archive. Its recorded CRC was checked against the parent directory and each four-cell bundle file was validated by the zip reader. A trace-level output stores the reference value, endpoint times, current integrals, and the alternate-sample values. The output and analysis code preserve cycle order, cell identity, and observed current signs. Results apply to these four public cells under this recording procedure. Additional public records would be needed to measure how often phase-sensitive discrepancies occur with other testers, protocols, or archiving choices. The release provides a reproducible example of a large preprocessing error alongside a nearly exact reconstruction of the original reference.

References

  1. Attia, Peter M.; Grover, Aditya; Jin, Norman; Severson, Kristen A.; et al. (2020). Closed-loop optimization of fast-charging protocols for batteries with machine learning. Nature, 578(7795), 397–402. DOI.
  2. Berecibar, M.; Gandiaga, I.; Villarreal, I.; Omar, N.; et al. (2016). Critical review of state of health estimation methods of Li-ion batteries for real applications. Renewable and Sustainable Energy Reviews, 56, 572–587. DOI.
  3. Berrueta, Alberto; Martín, Idoia San; Sanchis, Pablo; Ursúa, Alfredo (2016). Comparison of State-of-Charge estimation methods for stationary Lithium-ion batteries. Annual Conference of the IEEE Industrial Electronics Society (IECON), 2016, 2010–2015. DOI.
  4. Birkl, Christoph R.; Roberts, Matthew R.; McTurk, Euan; Bruce, Peter G.; Howey, David A. (2017). Degradation diagnostics for lithium ion cells. Journal of Power Sources, 341, 373–386. DOI.
  5. Christophersen, Jon P. (2015). Battery Test Manual for Electric Vehicles, Revision 3. Idaho National Laboratory, INL/EXT-15-34184. DOI.
  6. Di Domenico, Domenico; Stefanopoulou, Anna; Fiengo, Giovanni (2010). Lithium-Ion Battery State of Charge and Critical Surface Charge Estimation Using an Electrochemical Model-Based Extended Kalman Filter. Journal of Dynamic Systems, Measurement, and Control, 132(6), 061302. DOI.
  7. Dubarry, Matthieu; Liaw, Bor Yann (2009). Identify capacity fading mechanism in a commercial LiFePO4 cell. Journal of Power Sources, 194(1), 541–549. DOI.
  8. Dubarry, Matthieu; Anseán, David (2022). Best practices for incremental capacity analysis. Frontiers in Energy Research, 10, 1023555. DOI.
  9. Edge, Jacqueline S.; O’Kane, Simon; Prosser, Ryan; Kirkaldy, Niall D.; et al. (2021). Lithium ion battery degradation: what you need to know. Physical Chemistry Chemical Physics, 23(14), 8200–8221. DOI.
  10. Hu, Xiaosong; Li, Shengbo; Peng, Huei (2012). A comparative study of equivalent circuit models for Li-ion batteries. Journal of Power Sources, 198, 359–367. DOI.
  11. Keil, Peter; Jossen, Andreas (2016). Charging protocols for lithium-ion batteries and their impact on cycle life—An experimental study with different 18650 high-power cells. Journal of Energy Storage, 6, 125–141. DOI.
  12. Krupp, Amelie; Ferg, Ernst Eduard; Schuldt, Frank; Derendorf, Karen; Agert, Carsten (2021). Incremental Capacity Analysis as a State of Health Estimation Method for Lithium-Ion Battery Modules with Series-Connected Cells. Batteries, 7(1), 2. DOI.
  13. Lee, Suhak; Siegel, Jason B.; Stefanopoulou, Anna G.; Lee, Jang-Woo; Lee, Tae-Kyung (2020). Electrode State of Health Estimation for Lithium Ion Batteries Considering Half-cell Potential Change Due to Aging. Journal of The Electrochemical Society, 167(9), 090531. DOI.
  14. Makan, Oliver; Gossen, Matthias; Birke, Kai-Peter (2024). Variation in capacity aging trend of lithium-ion cells regarding sudden death spread. Energy Reports, 11, 2003–2010. DOI.
  15. Moura, Scott J.; Argomedo, Federico Bribiesca; Klein, Reinhardt; Mirtabatabaei, Anahita; Krstic, Miroslav (2017). Battery State Estimation for a Single Particle Model With Electrolyte Dynamics. IEEE Transactions on Control Systems Technology, 25(2), 453–468. DOI.
  16. Movassagh, Kiarash; Raihan, Arif; Balasingam, Balakumar; Pattipati, Krishna (2021). A Critical Look at Coulomb Counting Approach for State of Charge Estimation in Batteries. Energies, 14(14), 4074. DOI.
  17. National Institute of Standards and Technology (n.d.). Quadrature, Section 3.5. Digital Library of Mathematical Functions. Section.
  18. Plett, Gregory L. (2004). Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs. Journal of Power Sources, 134(2), 262–276. DOI.
  19. Richardson, Robert R.; Birkl, Christoph R.; Osborne, Michael A.; Howey, David Alastair (2018). Gaussian Process Regression for In Situ Capacity Estimation of Lithium-Ion Batteries. IEEE Transactions on Industrial Informatics, 15(1), 127–138. DOI.
  20. Saha, Bhaskar; Goebel, Kai (2007). Battery Data Set [Data set]. NASA Prognostics Data Repository. Data.
  21. Saha, B.; Goebel, K.; Poll, S.; Christophersen, J. (2009). Prognostics Methods for Battery Health Monitoring Using a Bayesian Framework. IEEE Transactions on Instrumentation and Measurement, 58(2), 291–296. DOI.
  22. Schuster, Simon F.; Bach, Tobias; Fleder, Elena; Müller, Jana; et al. (2015). Nonlinear aging characteristics of lithium-ion cells under different operational conditions. Journal of Energy Storage, 1, 44–53. DOI.
  23. Severson, Kristen A.; Attia, Peter M.; Jin, Norman; Perkins, Nicholas; et al. (2019). Data-driven prediction of battery cycle life before capacity degradation. Nature Energy, 4(5), 383–391. DOI.
  24. Shannon, Claude E. (1949). Communication in the Presence of Noise. Proceedings of the IRE, 37(1), 10–21. DOI.
  25. Sulzer, Valentin; Marquis, Scott G.; Timms, Robert; Robinson, Martin; Chapman, S. Jon (2021). Python Battery Mathematical Modelling (PyBaMM). Journal of Open Research Software, 9(1), 14. DOI.
  26. Taylor, Barry N.; Kuyatt, Chris E. (1994). Guidelines for Evaluating and Expressing the Uncertainty of NIST Measurement Results. NIST Technical Note 1297. Report.
  27. Vetter, J.; Novák, P.; Wagner, M.R.; Veit, C.; et al. (2005). Ageing mechanisms in lithium-ion batteries. Journal of Power Sources, 147(1-2), 269–281. DOI.
  28. Waag, Wladislaw; Käbitz, Stefan; Sauer, Dirk Uwe (2013). Experimental investigation of the lithium-ion battery impedance characteristic at various conditions and aging states and its influence on the application. Applied Energy, 102, 885–897. DOI.
  29. Waag, Wladislaw; Fleischer, Christian; Sauer, Dirk Uwe (2014). Critical review of the methods for monitoring of lithium-ion batteries in electric and hybrid vehicles. Journal of Power Sources, 258, 321–339. DOI.
  30. Xu, Dan; Chen, Huangyin; Gui, Hao (2026). Unified Online Estimation Method for SOC, SOH, and Power Capacity Considering Safety Boundary Consistency in Battery Management Systems. 2026 International Conference on Electrical, Control and Information Technology (ECITech), 133–137. DOI.