Stationary energy battery storage is now dominated by lithium iron phosphate (LFP) chemistry in prismatic hard-shell formats, chosen for cycle life, thermal stability and cost per kilowatt-hour. The battery management system of such a plant must track state of charge (SOC) continuously, because SOC drives dispatch decisions, string-level balancing, protection thresholds and warranty accounting. LFP makes this tracking harder than it looks. The open-circuit voltage (OCV) curve is flat over the middle of the SOC range and shows hysteresis between charge and discharge, so a small voltage measurement error maps onto a large SOC error, and the OCV method additionally requires long relaxation times that a working storage system rarely provides. Coulomb counting accumulates current-sensor bias and does not survive partial cycles. Equivalent-circuit and electrochemical models require parameter identification that shifts with temperature and ageing, while purely data-driven estimators depend on large, representative training sets. A measurement that responds directly to the internal physical state of the cell, rather than to its terminal voltage, is therefore attractive for grid-connected energy storage battery applications.
Ultrasound as a structural probe of cell state
An ultrasonic wave transmitted through a prismatic cell crosses a stack of layers — shell, current collector, anode, separator, cathode — whose densities, elastic moduli and acoustic impedances change as lithium moves. Ultrasound is non-destructive, inexpensive and fast, and it interrogates the interior of a sealed cell without opening it. Earlier work established the principle on pouch cells: calculations showed that the density and bulk modulus of both electrodes vary with charge and therefore alter wave propagation; high-frequency pulses applied to soft-pack cells proved sensitive to graphite anode porosity, with Biot theory used to convert the acoustic response into laboratory-scale SOC estimates; time of flight (TOF) and signal amplitude (SA) were found to track the physical changes of cell layers during cycling; guided-wave monitoring with built-in piezoelectrics used TOF and SA as predictors of SOC and state of health (SOH); and adding TOF and SA to voltage-based training sets measurably improved estimation accuracy.
Two gaps remain for practical energy storage battery deployment. First, most demonstrations used pouch cells, whereas grid installations use prismatic hard-shell cells with different mechanical boundary conditions and a stiff aluminium case. Second, the received waveform is nonlinear and non-stationary, so a single TOF or peak-amplitude value discards the scale-dependent structure that carries information about distributed internal processes. The approach described here addresses both: hard-shell 20 Ah LFP cells are characterised under charge and discharge, and the received signal is decomposed into time–frequency components whose dimensionless descriptors are screened by principal component analysis (PCA) before being fed, together with voltage and relative signal amplitude, to a long short-term memory (LSTM) network.
Why the transmitted amplitude tracks SOC
At an interface between two media of acoustic impedance Z1 and Z2, the pressure reflection and transmission coefficients are
$$R_p=\frac{Z_2-Z_1}{Z_2+Z_1},\qquad T_p=\frac{2Z_2}{Z_2+Z_1}$$
where the impedance of a layer is the product of density and sound speed, $Z=\rho c$, and since $c=\sqrt{K/\rho}$ for bulk modulus $K$, the impedance scales as $\sqrt{\rho K}$. When adjacent layers are well matched, almost all energy crosses the boundary; when they are badly matched, most energy is reflected and the transmitted amplitude falls.
During charge, lithium leaves the LiFePO4 cathode and the cathode converts towards FePO4, a denser and stiffer phase, while lithium intercalates into graphite to form LixC6, expanding the anode, loosening its structure and lowering its modulus. The impedance contrast between the two electrode compartments therefore narrows and the transmitted amplitude rises. The lithium concentration in the electrolyte also changes with SOC, altering its density and viscosity and hence the electrode/electrolyte interface mismatch, and ohmic heating from the current perturbs sound speed and attenuation. The measured trend is the superposition of these effects, which is why it is monotonic overall but not linear. Discharge reverses each contribution and the amplitude falls.
Test platform, cells and protocol
The measurement system combines an ultrasonic generation module, a data measurement module and an information acquisition module, built on an earlier cell test platform developed for internal and external parameter monitoring during thermal runaway. A transmitting transducer and a receiving transducer are mounted on opposite faces of the prismatic can, and the through-transmitted waveform is recorded continuously while the cell is cycled. Cell voltage and current are logged simultaneously so that acoustic records can be aligned with electrical state.

Three commercially available prismatic hard-shell LFP cells of similar dimensions, nominal capacity 20 Ah and nominal voltage 3.2 V, labelled A, B and C, were tested. Before measurement each cell underwent three cycles of 0.5 C constant-current/constant-voltage charge and 0.5 C constant-current discharge, then rested for at least 12 h. Cycling was performed at 0.5 C, 0.75 C and 1.0 C to bracket the 0.5 C duty typical of storage plants; at 3.2 V these rates correspond to approximately 32 W, 48 W and 64 W per cell.
To make records comparable across cells and rates, amplitudes are normalised to their initial value,
$$R_{SA}=\frac{V_{SA}(t=n)}{V_{SA}(t=0)}$$
where $V_{SA}(t=n)$ is the amplitude of the n-th acquisition, giving the relative signal amplitude $R_{SA}$. Waveforms are denoised with a wavelet threshold before feature extraction; the denoised record retains the useful structure of the raw signal while raising the signal-to-noise ratio and stabilising the data used for feature calculation.
Amplitude evolution and its electrochemical interpretation
For all three cells and all three rates, $R_{SA}$ rises during charge and falls during discharge. The response is not a straight line: the slope changes at reproducible SOC values. At 1.0 C, the charging curve shows a first inflection near SOC = 0.21, where the received amplitude is about 2.58 V and the rise accelerates, and a second near SOC = 0.79 at about 2.81 V. The discharge curve shows three inflections, near SOC = 0.98, 0.48 and 0.15, at received amplitudes of about 2.81 V, 2.67 V and 2.52 V respectively.
Differential capacitance analysis, in which incremental capacity is differentiated with respect to voltage, explains these features. Because internal reactions proceed at different rates at different voltages, dQ/dV exhibits characteristic redox peaks, and each peak can be matched to an acoustic inflection.
| Process | SOC at acoustic inflection | Received amplitude | Corresponding dQ/dV feature |
|---|---|---|---|
| Charge | 0.21 | 2.58 V | Peak C1 at 3.41 V (Li deintercalation from cathode, rapid intercalation into anode) |
| Charge | 0.79 | 2.81 V | Peak C2 at 3.49 V (LiFePO4 to FePO4 phase change) |
| Discharge | 0.98 | 2.81 V | Small feature C5 at 3.17 V, associated with the transient immediately after current application |
| Discharge | 0.48 | 2.67 V | Peak C4 at 3.10 V |
| Discharge | 0.15 | 2.52 V | Peak C3 at 3.02 V |
The sharp C1 peak reflects fast deintercalation and intercalation, and the area under C2 reflects how much capacity is associated with the two-phase transition, that is, how many lithium ions take part. The acoustic inflections appear at the same states, which supports the interpretation that the transmitted amplitude is reporting real redistribution of lithium and the associated mechanical and volumetric changes rather than an electrical artefact. At 1.0 C, the normalised curves of cells A, B and C share the same overall shape, but the sharpness of the inflections and the SOC at which they occur differ between brands, consistent with differences in accessible lithium inventory, migration kinetics and the fraction of material undergoing phase change.
From a single amplitude to time–frequency descriptors
A single number per waveform cannot capture how the signal changes across time scales. Each received record is therefore decomposed by ensemble empirical mode decomposition (EEMD), a noise-assisted variant of empirical mode decomposition that suppresses the mode-mixing problem of the original algorithm and suits nonlinear, non-stationary data. A typical record yields 13 intrinsic mode functions (IMFs) plus a residual, with IMF1–IMF4 carrying high-frequency content and IMF5–IMF13 low-frequency content.
Components are ranked by variance contribution,
$$\gamma_i=\frac{D_i}{\sum_{i=1}^{m}D_i}$$
where $D_i$ is the variance of the i-th IMF. IMF5 contributes 76.1%, IMF6 22.2% and IMF7 1.1%, with all remaining components together accounting for only 0.5%. These three components are retained and six dimensionless descriptors are computed for each: skewness, kurtosis, crest factor, clearance factor, impulse factor and shape factor.
$$I_{SK}=\frac{\sum_{i=1}^{N}(s_i-\bar s)^3}{(N-1)\sigma^3},\qquad I_{KU}=\frac{\sum_{i=1}^{N}(s_i-\bar s)^4}{(N-1)\sigma^4}$$
$$I_{CI}=\frac{\max|s_i|}{\sqrt{\frac{1}{N}\sum_{i=1}^{N}s_i^2}},\qquad I_{CLI}=\frac{\max|s_i|}{\left(\frac{1}{N}\sum_{i=1}^{N}\sqrt{|s_i|}\right)^{2}}$$
$$I_{IMI}=\frac{\max|s_i|}{\frac{1}{N}\sum_{i=1}^{N}|s_i|},\qquad I_{SI}=\frac{\sqrt{\frac{1}{N}\sum_{i=1}^{N}s_i^{2}}}{\frac{1}{N}\sum_{i=1}^{N}|s_i|}$$
Here $s_i$ is the i-th sample, $N$ the number of samples, $\bar s$ the mean and $\sigma$ the standard deviation. Skewness and kurtosis describe the shape of the amplitude distribution, while the four ratio indices describe impulsive content and the balance between peak and average levels. The result is 18 candidate input variables (3 IMFs × 6 descriptors).
Principal component screening
Eighteen inputs would slow training and introduce redundancy, so PCA is applied to the standardised variables. The contribution of each component follows
$$\eta_i=\frac{\lambda_i}{\sum_{i=1}^{p}\lambda_i}$$
with $\lambda_i$ the i-th eigenvalue of the covariance matrix. During charge the first three components account for about 39%, 29% and 16% of the variance, and the first five accumulate to 94%. During discharge the corresponding values are about 44%, 23% and 12%, with the first five reaching 89%. Five components therefore reproduce most of the information in the original 18 variables.
Score plots of the two cells used for modelling, D1 and D2, show compact clusters, with a single outlier attributed to measurement or operational anomaly. In charge, the two cells separate along the first component, with D1 approximately positively correlated and D2 negatively correlated, while overlapping along the second component: the cells share charging behaviour but differ in detail. In discharge the clusters are tighter but do not overlap, indicating larger cell-to-cell differences on discharge, plausibly linked to manufacturing variation, ageing and instrumentation drift.
Loading plots identify which original variables dominate. In charge, most IMF5 variables load negatively on the first component while IMF6 and IMF7 variables load positively; vectors with small mutual angles carry similar information and can be pruned. IMF5 behaves distinctly and contributes its crest factor, while IMF7 contributes its crest and impulse factors, so charging uses the three inputs IMF5_CI, IMF7_CI and IMF7_IMI. In discharge the vectors fall into three directions — IMF5 strongly anti-correlated with the first component, IMF6 positively correlated with it, and IMF7 positive on both components — and IMF6_CLI and IMF7_CLI are retained. Combined with cell voltage and $R_{SA}$, these form the input set for SOC regression, reduced from 18 features to a handful per direction of cycling.
LSTM estimator and measured accuracy
A recurrent network reads input $X_t$ at each step and passes a hidden state to the next, which makes it natural for a sequence such as a charge curve. A plain recurrent unit suffers vanishing or exploding gradients over long sequences, so an LSTM cell regulates information flow with a forget gate, an input gate and an output gate acting on a cell state. The estimator built here is multi-input, single-output: inputs are voltage, $R_{SA}$ and the PCA-selected time–frequency descriptors, and the output is SOC. A control model with identical training conditions and architecture but only voltage and $R_{SA}$ as inputs isolates the contribution of the additional features. Cells D1 and D2 cycled at 1.0 C provide the training and test data.
Performance is measured by mean squared error, root mean squared error, mean absolute error and coefficient of determination,
$$\mathrm{MSE}=\frac{1}{M}\sum_{i=1}^{M}(y_i-\hat y_i)^2,\qquad \mathrm{RMSE}=\sqrt{\frac{1}{M}\sum_{i=1}^{M}(y_i-\hat y_i)^2}$$
$$\mathrm{MAE}=\frac{1}{M}\sum_{i=1}^{M}\left|y_i-\hat y_i\right|,\qquad R^2=1-\frac{\sum_{i=1}^{M}(y_i-\hat y_i)^2}{\sum_{i=1}^{M}(y_i-\bar y)^2}$$
where $y_i$ is the reference SOC, $\hat y_i$ the estimated SOC, $\bar y$ the mean reference value and $M$ the number of samples. SOC is expressed in per unit, so an RMSE of 0.028 corresponds to about 2.8 percentage points.
| Process | Model inputs | MSE | RMSE | MAE | R2 |
|---|---|---|---|---|---|
| Charge | Voltage, $R_{SA}$, 3 PCA-selected features | 0.000 791 7 | 0.028 14 | 0.021 10 | 0.991 3 |
| Charge | Voltage, $R_{SA}$ (control) | 0.002 278 5 | 0.047 73 | 0.041 45 | 0.974 9 |
| Discharge | Voltage, $R_{SA}$, 2 PCA-selected features | 0.000 820 7 | 0.028 65 | 0.022 78 | 0.990 3 |
| Discharge | Voltage, $R_{SA}$ (control) | 0.001 974 9 | 0.044 44 | 0.036 49 | 0.976 7 |
Adding the time–frequency descriptors lowers MSE by 65.25% in charge and 58.44% in discharge, RMSE by 41.06% and 35.54%, and MAE by 49.11% and 37.58%; the coefficient of determination rises from 0.974 9 to 0.991 3 in charge and from 0.976 7 to 0.990 3 in discharge. Predicted SOC tracks the reference sequence closely over the full swing in both directions, with no systematic drift at the flat middle of the LFP curve — the region where voltage-based estimation is weakest. The gain is not merely numerical: it demonstrates that information about distributed internal dynamics, discarded when only a peak amplitude is kept, is recoverable and useful.
Limits, transferability and integration into a battery management system
Several constraints qualify these results. The estimator was trained and tested at a single rate, 1.0 C, on two cells of 20 Ah, so cross-rate and cross-cell generalisation is not yet demonstrated; the physical characterisation covers three brands and three rates, but the learned mapping does not. Discharge required different features from charge and the two cells clustered apart, which signals that cell-to-cell variability, manufacturing tolerances and ageing will need explicit handling — for example by recalibrating the acoustic model when a health indicator shifts, since loss of lithium inventory and porosity evolution move the $R_{SA}$–SOC relation.
Temperature is the other major uncontrolled variable. Sound speed and attenuation in the electrolyte depend strongly on temperature, so a production implementation in an energy battery storage system must either compensate using cell or module temperature sensors or restrict the model to a calibrated temperature window. Practical installation also introduces its own uncertainties: couplant layer thickness, clamping force on the prismatic can, and transducer bonding repeatability all affect the received amplitude, and long-term drift of the piezoelectric elements requires a reference measurement. These are engineering problems rather than fundamental obstacles, and the low cost and non-invasive nature of the sensor make redundancy across a module affordable.
The value of the method lies in complementarity. Voltage and current remain the primary BMS signals, and ultrasound adds an internal, structural observable that is largely independent of the flat OCV plateau. Because the measurement is fast and requires no rest period, it fits periodic on-line interrogation of strings during operation rather than laboratory characterisation only, and it can be implemented as a diagnostic layer feeding the SOC estimator rather than as a replacement for existing instrumentation.
Conclusions
- Through-transmission ultrasound on 20 Ah prismatic hard-shell LFP cells produces a relative signal amplitude that rises during charge and falls during discharge at 0.5 C, 0.75 C and 1.0 C, with reproducible slope changes at SOC values that coincide with redox peaks in the differential capacitance curve.
- The inflections at SOC ≈ 0.21 and 0.79 in charge, and at SOC ≈ 0.98, 0.48 and 0.15 in discharge, correspond to lithium deintercalation/intercalation and to the LiFePO4/FePO4 phase transition, linking the acoustic response to specific internal mechanisms rather than to terminal voltage alone.
- EEMD of the received waveform concentrates information in IMF5, IMF6 and IMF7 (variance contributions 76.1%, 22.2% and 1.1%), whose dimensionless descriptors provide 18 candidate inputs; PCA reduces these to three features for charging and two for discharging while retaining 94% and 89% of the variance in the first five components.
- An LSTM network using voltage, $R_{SA}$ and the selected descriptors reaches MSE of 0.000 79 (charge) and 0.000 82 (discharge), RMSE of about 0.028 in both directions and R2 above 0.99, cutting RMSE by 41.06% and 35.54% relative to a voltage-and-amplitude-only model.
