Next Article in Journal
Synthesis, Static and Dynamic Characterization of Novel Triply Periodic Minimal Surface Lattices
Previous Article in Journal
Topological Control of Triply Periodic Minimal Surfaces for Thermal Design and Advanced Manufacturing: A Gyroid Case Study
Previous Article in Special Issue
Uncertainty-Aware Virtual Physics-Based Chloride Resistance Analysis of Metakaolin-Blended Concrete
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Model-Based Framework for Lithium-Ion Battery SoC Estimation Using a Tuning-Light Discrete-Time Sliding-Mode Observer

Department of Electrical Engineering, The University of Alabama, Tuscaloosa, AL 35487, USA
*
Author to whom correspondence should be addressed.
Modelling 2026, 7(1), 42; https://doi.org/10.3390/modelling7010042
Submission received: 29 December 2025 / Revised: 5 February 2026 / Accepted: 10 February 2026 / Published: 16 February 2026
(This article belongs to the Special Issue The 5th Anniversary of Modelling)

Abstract

Reliable state-of-charge (SoC) estimation is crucial for safe and efficient battery management. However, it is challenging in practice. Terminal-voltage sensitivity becomes weak in open-circuit-voltage (OCV) plateau regions. Model uncertainty also persists at practical sampling periods. To tackle this issue, this paper proposes a discrete-time, model-based SoC estimation framework. This framework combines a dual-polarization equivalent-circuit model with a tuning-light sliding-mode observer. It is specifically designed for digitally sampled battery management systems. The modeling stage includes: (i) a discrete-time DP representation suitable for embedded use, (ii) a shape-preserving PCHIP reconstruction of the OCV–SoC curve and its derivative, and (iii) an effective-slope regularization mechanism that maintains non-vanishing output sensitivity even in flat OCV regions. On top of this structure, a boundary-layer SMO is developed with output-error shaping, model-driven gain scaling, and simple bias-compensation terms based on integral correction and leaky Coulomb counting. A discrete-time Lyapunov analysis is conducted directly on the surface dynamics. This analysis shows finite-time reaching to the boundary layer and a practical limit on the steady-state error that depends on the sampling period, disturbance level, and boundary-layer width. Numerical tests on a DP model identified from experimental data indicate that the proposed method achieves SoC accuracy similar to a switching-gain adaptive SMO. The results confirm the benefits of a model-centric design. The discrete-time formulation and convergence proof, which do not depend on high sampling rates, provide robustness advantages over traditional sliding-mode methods. The proposed method also performs better than a tuned EKF in plateau regions, requiring much less tuning effort.

1. Introduction

Modeling lithium-ion batteries is essential for designing reliable battery management systems (BMSs), effective charging strategies, and control that considers battery health. Among the internal battery states, the state of charge (SoC) is crucial for safety, performance, and lifespan management, yet it cannot be measured directly and must be estimated using a model-based approach. The reliability of this process is closely connected to the accuracy and structure of the battery model [1,2,3]. In practice, lithium-ion batteries exhibit nonlinear behavior due to polarization dynamics, diffusion effects, and temperature variations, all of which influence the terminal voltage response. Moreover, the open-circuit voltage (OCV)–SoC relationship plays a central role in estimation accuracy but is often affected by operating conditions and parameter uncertainty, motivating modeling approaches that can preserve or adapt OCV characteristics. Consequently, an effective battery model must capture nonlinear OCV behavior, polarization and diffusion dynamics, and temperature dependence while remaining suitable for real-time BMS implementation [4,5,6,7,8].
Modeling uncertainties, parameter drift caused by aging and operating conditions, and the loss of observability linked to the near-zero OCV and SoC slope in voltage plateau regions are ongoing challenges for reliable SoC estimation. This is especially true under dynamic load and temperature changes. Small voltage variations can result in significant estimation errors or reduced sensitivity [9,10,11,12,13,14]. These challenges have led to significant research on improving model structures and observer robustness. Within the group of equivalent-circuit models (ECMs), the dual-polarization (DP) topology provides a good balance between accuracy and simplicity. It captures quick charge-transfer effects and slower diffusion-driven relaxation while being manageable for real-time implementation and observer design [3,15,16].
However, even with this structure, estimating SoC becomes challenging in OCV-flat regions. In these areas, the sensitivity of terminal voltage to SoC is small, and observability is weak.
A broad range of SoC estimators comes from ECMs. This includes extended Kalman filters (EKFs) [17,18], dual or augmented Kalman filters [11,19], H-infinity observers [10,12], and sliding-mode observers (SMOs) [15,20,21,22,23]. EKF-based methods are sensitive to model mismatch and linearization errors, especially in areas where the open-circuit voltage (OCV) and state-of-charge (SOC) relationship is flat. While H-infinity observers and sliding mode observers (SMOs) provide better robustness under uncertainty, they usually depend on continuous-time formulations, adjusting gain, or assumptions like small sampling intervals. These needs may not fit the limits of the computational and hardware capabilities of embedded battery management systems (BMSs). Recent studies also indicate that the performance of observers is greatly affected by the model’s discretization, structure, and how uncertainty is represented. This illustrates the importance of discrete-time and sampled-data implementations for practical use [24,25].
Recent work highlights the importance of sensitivity and structural observability in battery-oriented models [4,6,26]. It also discusses the development of robust and H∞-type observer structures for electrochemical energy storage systems [10,12,13]. These findings suggest that improving the model through methods like slope regularization, monotonic interpolation, or discrete-time restructuring is as crucial as changing the observer design to achieve reliable state estimation.
Motivated by these insights, this paper takes a modeling-first approach to SoC estimation. A discrete-time DP model is formulated along with a shape-preserving OCV representation and an effective-slope regularization that reduces OCV–SoC overlap in flat areas. Based on this structure, a tuning-light boundary-layer sliding-mode observer is developed. Its stability is analyzed directly in discrete time, without depending on small-sampling assumptions.
Overall, the proposed framework shows how structural improvements in battery modeling, especially monotone OCV interpolation and slope regularization, can significantly boost the performance of nonlinear observers for SoC estimation without relying on a high sampling rate.
Despite significant progress in observer design, there is still a need for SoC estimators that combine (i) explicit discrete-time model formulation, (ii) strong resistance to OCV–SoC degeneracy, and (iii) simple tuning requirements suitable for embedded BMS platforms. As discussed later in Section 2, the DP model faces slope degeneracy in mid-range OCV plateaus. This issue reduces observability and makes the model more sensitive to errors [7,13].
This work develops a unified model-estimation framework. It restructures the DP model and integrates effective slope regularization directly into the observer design. The new method improves observability in plateau regions and produces a discrete-time SMO with straightforward tuning rules and clear stability conditions.
Compared to EKF- and SMO-based SoC estimators, the proposed method is designed in discrete time. It improves robustness in low-slope OCV regions and reduces tuning complexity. This drives the contributions summarized below.
The main contributions include:
  • Model-centric robustness: a discrete-time DP model with shape-preserving PCHIP OCV reconstruction and an effective-slope regularization that prevents OCV, SoC slope degeneracy, and strengthens observability [27,28].
  • Tuning-light observer structure: A boundary-layer SMO with model-driven gain scaling, output-error shaping, and simple bias-compensation mechanisms. This approach avoids adaptive-gain dynamics or terminal surfaces [22,23].
  • Discrete-time stability guarantees: a Lyapunov-based analysis developed entirely in discrete time offers finite-time reaching and practical convergence limits under bounded disturbances and model uncertainty.
Simulations under standard pulse discharge at a sampling period of T s = 1 s show that the proposed method achieves SoC accuracy comparable to a switching-gain adaptive SMO [21] and an EKF [19], while requiring less tuning.

2. Battery System Modeling

State estimation requires a modeling framework that captures both the electrochemical behavior of the lithium-ion cell and the key dynamic phenomena relevant for digital BMS implementation. Physics-based electrochemical models offer high fidelity but are often too complex and uncertain for real-time use. Equivalent-circuit models (ECMs) provide a more manageable approach and have been widely adopted for embedded estimation and control [1,3,9,17]. Among these, the dual-polarization (DP) architecture offers a satisfactory balance between model complexity and computational cost. It captures rapid polarization and slow diffusion effects across a wide range of operating conditions [4,5,6].

2.1. Continuous-Time DP Model

The DP model, shown schematically in Figure 1, consists of a nonlinear OCV source V o c z , an ohmic resistance R, and two parallel resistor–capacitor (RC) branches representing charge-transfer and diffusion dynamics.
The continuous-time terminal voltage is modeled as
V t = V o c z t v p t v s t R I t ,
where I t represents the applied current (positive for discharge), v p t and v s t are the polarization and diffusion voltages, and z t is the SoC.
The internal RC dynamics are first-order linear subsystems driven by the same current:
v ˙ p t = 1 R p C p v p t + 1 C p I t , v ˙ s t = 1 R s C s v s t + 1 C s I t ,
where R p ,   C p represent fast transients and R s , C s control slower relaxation. The SoC changes according to
z ˙ t = I t C n ,
with nominal capacity C n .
This structure can effectively reproduce voltage relaxation, diffusion transients, and current-induced dynamics under realistic profiles. It is also suitable for observer synthesis and discrete-time implementation [15,29].

2.2. Nonlinear OCV–SoC Modeling

The OCV V o c z is a nonlinear, monotonic function of SoC. Its slope varies greatly throughout the charge range. Large plateau regions exhibit a very small derivative.
d z = d V o c d z ,
leading to weak observability and reduced estimation sensitivity. Because the OCV–SoC curve directly governs the output sensitivity of the DP model, its representation is critical in ECM-based SoC estimation [4,6].
In this work, this relationship is modeled using a shape-preserving cubic Hermite interpolant (PCHIP) fitted to experimentally measured OCV and SoC data points. Unlike standard cubic spline interpolation, PCHIP keeps local monotonicity. It avoids overshoot and artificial oscillations, which can be issues in plateau regions and near steep end-of-charge transitions. Oscillatory or non-monotone interpolants can produce non-physical or sign-changing estimates of d V o c / d z , which breaks the monotonicity assumptions needed for observer convergence and reduces observability in flat regions [27,28]. In this work, PCHIP offers a smooth, physically consistent, and numerically strong representation of both V o c z and its derivative.
The variability of d z across SoC is crucial in the observer design discussed in Section 3. The near-zero slopes found in plateau regions lead to the introduction of an effective-slope regularization. This ensures that output sensitivity does not vanish and improves discrete-time observability.

2.3. Model Assumptions and Practical Considerations

For the discrete-time observer design, the following modeling assumptions are adopted in this paper:
  • The OCV function V o c z is continuously differentiable and monotone, which is consistent with experimentally measured OCV, SoC curves for lithium-ion chemistries.
  • The DP parameters R , R p , R s , C p , a n d   C s stay the same during each estimation window. However, they can vary from nominal values because of aging or temperature changes. This reflects parametric uncertainty.
  • The measured terminal voltage is affected by limited disturbances and sensor noise. These effects are modeled as additive bounded disturbance w k in the discrete-time surface dynamics, satisfying w k ρ .
  • The sampling period T s is fixed and consistent with digital BMS hardware, such as 0.1 to 1 s. The stability analysis does not depend on small T s limits.
These assumptions reflect real-world BMS applications. They also align with nonlinear state estimation frameworks created for ECM-based lithium-ion models [4,6].

2.4. Motivation for a Discrete-Time Formulation

Since real BMSs operate in discrete time, it is better to use a direct discrete-time representation of the DP model instead of starting with continuous-time designs and then converting them to discrete time. Traditional SMO constructions are often created in continuous time and then converted, which may not maintain stability margins or robustness during real sampling periods. In contrast, this work develops the observer directly in discrete time. This approach ensures that the estimation dynamics match the model representation and that the Lyapunov analysis remains valid during practical sampling [25].
This modeling choice establishes the basis for the observer framework presented next.

3. Model-Based Observer Formulation

A discrete-time sliding-mode observer (SMO) is formulated directly on the DP model from Section 2. The goal is to build an estimator whose design and convergence benefits come from the model itself, not from continuous-time approximations. The observer design starts by defining a voltage-error-based sliding surface. It shapes the innovation signal to improve robustness in low-slope OCV regions [15]. It also establishes practical convergence using a discrete-time Lyapunov analysis.
The DP model is considered with state vector
x = z v p v s ,
Current input I and terminal-voltage output
y = h x , I = V o c z v p v s R I .
The function V o c z and its slope d z are defined using the PCHIP interpolation from Section 2. This ensures a smooth, differentiable OCV, SoC mapping.

3.1. Sliding Surface and Output Error Shaping

The discrete-time sliding surface is defined as the terminal-voltage error:
s k = y k y ^ k = h x k , I k h x ^ k , I k .
This sliding-surface formulation follows standard output error-based sliding mode observer designs [30] that are often used in battery state-of-charge (SoC) estimation and in creating reliable observers [22,23,24,25]. To make the system more resistant to noise and measurement outliers, smoothing the sliding variable, and to reduce chattering, the proposed method uses three operations:
1.
Clipping to bound large spikes;
2.
Exponentially weighted moving average (EWMA) filtering;
3.
Boundary-layer smoothing via a saturation function.
These steps are written as
s ~ k = c l i p s k ; ± s m a x ,
s k f = α s s ~ k + 1 α s s k 1 f ,
u k s g n = s a t s k f ϕ
where ϕ > 0 defines the boundary-layer width.
The boundary-layer saturation is introduced to reduce chattering. It also ensures practical convergence in discrete-time implementations of sliding-mode observers [24].

3.2. Effective-Slope Scaling and Gain Structure

The output sensitivity of the DP model is determined by d z = d V o c / d z which directly links variations in the terminal voltage to changes in the SoC state. In OCV plateau regions, this sensitivity becomes very small, leading to weak voltage–SoC coupling and practical loss of observability for voltage-based observers. To address this issue and maintain reliable state estimation across the full SoC range, an effective slope is introduced
d e f f z ^ k = d z ^ k + d 0 , d 0 > 0 ,
which guarantees non-vanishing sensitivity for all z ^ k . Here, d 0 is a small positive design constant introduced to regularize the OCV slope in plateau regions, ensuring a nonzero effective sensitivity and preserving output observability.
The observer gains use this effective slope as
L k = k z , l d e f f z ^ k k p , l k s , l , G k = k z , s d e f f z ^ k k p , s k s , s ,
where L k shapes the continuous correction and G k shapes the discontinuous term. The signs ensure that positive voltage error increases the estimated SoC and decreases the estimated polarization voltages.

3.3. Observer Update and Bias Compensation

The core observer update law is
x ^ k + 1 = x ^ k + T s f x ^ k , I k + L k s k f + G k u k s g n ,
where f x ^ k , I k indicates the DP model drift calculated at the estimated state. Since boundary-layer smoothing introduces a slight steady-state bias, this method includes two compensators.
First, an integral correction for SoC:
z ^ k + 1 z ^ k + 1 + T s k z , i n t γ k s k f ,
which reduces residual SoC error inside the boundary layer.
Second, a leaky Coulomb-counting correction:
z c c , k + 1 = Π 0 , 1 z c c , k T s I k C n ,
z ^ k + 1 z ^ k + 1 + T s k l e a k z c c , k + 1 z ^ k + 1
which compensates long-term drift and constrains SoC to 0 , 1 via projection Π 0 , 1 . Together, these mechanisms yield a robust, tuning-light observer compatible with embedded implementations.

3.4. Surface Increment and Discrete-Time Stability

Define the Jacobian of the output map as
h x x ^ k = d z ^ k 1 1 .
The exact discrete-time increment of the sliding variable is
Δ s k = s k + 1 s k = T s α k s k f T s β k u k s g n + T s w k ,
where w k ρ captures modeling and measurement mismatch, and
α k = k z , l d e f f z ^ k d z ^ k + k p , l + k s , l ,
β k = k z , s d e f f z ^ k d z ^ k + k p , s + k s , s
Using the Lyapunov function V s k = 1 / 2 s k 2 , the discrete-time limits for the reaching phase and boundary-layer behavior are derived. Outside the boundary layer, finite-step reaching occurs whenever β k > ρ . Inside, the shaped innovations ensure that the error trajectory is exponentially stable. It has a practical bound that relates to the layer width ϕ , disturbance level ρ , and sampling period T s . The details are in Appendix A and depend on discrete-time Lyapunov reasoning [24,25,30].

4. Model Validation and Numerical Experiments

This section confirms the proposed observer by using a numerical experiment framework that matches the modeling assumptions from Section 2. The goals are to (i) check that the discrete-time observer works consistently with the DP model under realistic operating conditions and (ii) show how the modeling choices, specifically the PCHIP OCV representation and effective-slope regularization, affect estimation performance. All simulations and plotting were performed in MATLAB (Version 224a, MathWorks, Natick, MA, USA) in discrete time, reflecting embedded BMS operation.

4.1. DP Parameters and Operating Conditions

The DP model parameters come from experimental characterization of a lithium-ion cell. For simulation studies, representative parameter values were selected to reflect the typical characteristics of commercial 21700-format lithium-ion cells and to be consistent with the Samsung INR21700–50E cell used in the experimental validation. The ohmic resistance, short-term polarization branch R p , C p , long-term polarization branch R s , C s , and the nominal capacity C n are given by
R = 102.5 m Ω , R p = 4.96 m Ω , R s = 2.86 m Ω ,   C p = 4.93 k F , C s = 14.33 k F , C n = 5 A h .
These values represent the main time constants that affect battery dynamics. They include the immediate ohmic drop, quick polarization, and slow diffusion-driven relaxation.
The OCV function and its derivative are built using the PCHIP method from Section 2. This approach guarantees a smooth and monotonic relationship between voltage and SoC, making it suitable for observer design.

4.2. OCV Curve and Excitation Profile

Figure 2 shows the interpolated OCV–SoC curve used in all experiments. It also includes the pulsed-discharge current profile. The 5 A excitation pulses have a period of 500 s and a duty cycle of 30%. This is a standard stress pattern for checking observability and state-estimation performance in DP-based models.
This profile excites both fast and slow RC dynamics and creates voltage relaxation segments that are challenging for SoC estimation, especially in plateau regions.

4.3. Observer Benchmarking and Comparative Evaluation

The proposed discrete-time SMO is evaluated against two benchmark SoC estimators widely used in the battery-modeling literature:
  • Extended Kalman filter (EKF): a linearization-based method sensitive to small OCV slopes and model mismatch.
  • Switching-gain adaptive SMO (SGASMO) [21]: a nonlinear observer with adaptive-gain tuning that offers strong robustness at the cost of higher complexity.
All estimators operate on the same DP plant driven by the current profile of Figure 2. Figure 3 compares the terminal voltage. The proposed SMO converges faster in SOC estimation, and it closely tracks the true voltage with smooth transitions and limited chattering, whereas the EKF shows higher error in plateau regions where d V o c / d z is small. SGASMO also performs well, but it has more switching activity due to its adaptive gain mechanism.
Figure 4 shows the estimated SoC trajectories. The proposed SMO keeps high accuracy throughout the entire SoC range, including the plateau areas. EKF convergence slows down when d z is small. SGASMO achieves similar accuracy, but it requires more complex tuning and is sensitive to discretization.
Finally, Figure 5 compares the reconstructed internal polarization voltages. Accurate recovery of the fast ( v p ) and slow ( v s ) dynamics is important for model-consistent SoC estimation. The proposed SMO yields stable and accurate internal-state estimates, outperforming the EKF and closely matching SGASMO.

4.4. Discussion of Modeling-Driven Behavior

The numerical results support two main modeling insights:
  • Effective-slope regularization is crucial. It prevents loss of observability in OCV plateau regions and ensures that the sliding-mode correction remains active even when d z is small.
  • Discrete-time formulation improves consistency. SGASMO, originally developed in continuous time, shows mild discretization artifacts, whereas the proposed SMO remains stable and consistent at every sampling instant because its analysis is carried out in discrete time.
Overall, the experiments confirm that the proposed observer provides model-consistent, tuning-light, and computationally efficient SoC estimation suitable for real-time embedded BMS implementations.

5. Experimental Validation and Parameter Identification

This section presents the experimental workflow used to obtain real cell parameters for the dual-polarization (DP) model and to validate the accuracy of the proposed framework with real cell parameters. A commercially available Samsung INR21700–50E lithium-ion cell (nominal capacity 4900–5000 mAh; NCA chemistry; Samsung SDI Co., Ltd., Yongin-si, South Korea) was tested using a Squidstat Cycler (Admiral Instruments, Tempe, AZ, USA), shown in Figure 6. All experiments were conducted at room temperature (25 ± 1 °C).

5.1. Experimental Setup

The Squidstat Cycler offers high-resolution control of current and voltage with sub-millivolt and milliampere precision. This allows for reproducible hybrid pulse power characterization (HPPC) measurements and OCV–SoC mapping. The cell was placed in a precise cell holder, which ensures consistent contact resistance and proper thermal conduction.

5.2. OCV–SoC Characterization

The cell was charged with a constant-current (CC) step of 70 mA to 4.20 V to generate the static open-circuit-voltage (OCV) curve, illustrated in Figure 7. A cut-off of 20 mA was used. After charging, there was a 28 min rest period to let the terminal voltage relax. Then, the cell was discharged in 70 mA CC steps down to lower SoC levels, reaching a voltage limit of 2.5 V and a cut-off of −20 mA. Each discharge step included a 28 min rest period. During these rests, the data-sampling interval was shortened to 1 min to monitor the approach to equilibrium.
Repeating this charge-rest-discharge-rest cycle across the full SoC range generated a set of equilibrium voltage measurements. These measurements were used to create the OCV lookup table. As mentioned in Section 2.2, these values were fitted using a shape-preserving PCHIP interpolant. This method guaranteed monotonicity and smooth, physically consistent OCV–SoC derivatives for the discrete-time observer.

5.3. HPPC Test Protocol

A hybrid pulse power characterization (HPPC) profile was carried out to identify the dual-polarization (DP) model parameters. The experiment took place on the Samsung 21700-50E cell using the Squidstat Cycler. It followed a repeated sequence of 10 s galvanostatic discharge pulses at about 4.9 A (approximately 1C equivalent), each followed by a 50 s rest period. This pulse-rest structure was repeated throughout the usable state-of-charge (SoC) range as the terminal voltage dropped under load. This produced a representative set of voltage transients and relaxation curves, which were suitable for estimating the ohmic and polarization parameters.
The resulting current and terminal-voltage waveforms are shown in Figure 7. For completeness, the right side of the figure shows the OCV–SoC curve obtained earlier from the dedicated OCV characterization procedure described in Section 5.2.

5.4. Parameter Identification Using PSO + LSQ

To extract the DP model parameters
θ = R 0 , R 1 , τ 1 , R 2 , τ 2 ,
This study employed a two-stage identification strategy combining global and local optimization:
  • Global search: Particle Swarm Optimization (PSO);
  • Local refinement: Least-squares (LSQs)/Levenberg–Marquardt.
The approach follows best practices reported in the PSO and ECM literature [31]. PSO explores the nonconvex search space and provides coarse estimates; LSQ refines these parameters to minimize weighted voltage residuals.

5.5. Identified Parameters

Table 1 reports the final DP model parameters averaged over valid pulses, pulses meeting the voltage window. Both PSO and LSQ results are included. Fitting each pulse separately allowed for the evaluation of parameter sensitivity to pulse selection. The observed consistency across pulses indicates that the final averaged parameters are not significantly impacted by the inclusion of individual pulses.

5.6. Pulse Reconstruction Accuracy

To evaluate the quality of the identified DP parameters, the measured HPPC pulse response was compared with the reconstructed voltage obtained from the PSO and LSQ parameter sets. Figure 8 shows the measured voltage for a representative pulse, together with the simulated responses of the DP model using PSO-only parameters and the LSQ-refined set.
As expected, both methods capture the fast voltage drop and subsequent relaxation dynamics, while the LSQ refinement produces a noticeably closer match in the first few seconds after the current transition, where R 0 , R 1 , and C 1 dominate the transient. The slow relaxation tail, which is mostly controlled by R 2 , τ 2 , is also a good fit for both parameter sets, with LSQ showing somewhat better tracking. Overall, the improvement introduced by LSQ is modest but consistent, indicating that PSO already converges near the optimum and that LSQ primarily performs a local fine-tuning of the identified parameters.
These results confirm that the identified DP parameters accurately reproduce the pulse dynamics and are suitable for use in the numerical observer validation presented in Section 4. Local least-squares refinement also reduced the overall voltage fitting error by a small but consistent margin relative to PSO-only estimates, with improvements most apparent immediately after the current step and during the subsequent relaxation. This behavior is consistent with the LSQ stage fine-tuning parameters governing fast polarization dynamics and long-term relaxation without altering the global optimum identified by PSO.

5.7. Long-Duration Pulse-Discharge Validation

To validate the observer under a simple and sustained excitation profile, the cell was subjected to a 3000 s pulse-discharge test consisting of repeated 120 s discharge pulses at 1.5 A followed by 120 s rest intervals.
Figure 9 shows the resulting SoC estimation performance. The proposed SMO maintains accurate, stable tracking throughout all pulse-rest cycles, while the EKF exhibits noticeable drift and SGASMO shows higher fluctuation due to switching-gain behavior.
Figure 10 illustrates the reconstructed internal RC polarization states. The proposed SMO accurately recovers both fast and slow polarization components across the entire test, with reduced noise and drift compared with EKF and SGASMO.
These results demonstrate that the identified DP model and the proposed discrete-time SMO remain stable, drift-resistant, and accurate under extended pulse-rest cycling. The observer preserves consistent SoC accuracy and internal state reconstruction over long horizons, confirming suitability for real-time embedded BMS operation.

6. Conclusions

This paper presents a unified model-based framework for estimating the state of charge (SoC) in lithium-ion batteries. It combines discrete-time dual polarization (DP) modeling, structural regularization, and nonlinear observer design. The approach starts with modeling. The DP equivalent circuit is formulated in discrete time, and its open-circuit voltage (OCV) to SoC relationship is reconstructed using a shape-preserving PCHIP interpolant. This ensures that the relationship remains monotonic, with physically consistent derivatives. This representation introduces effective slope regularization to address observability loss in the OCV plateau regions. This phase in the modeling process is very important for getting reliable behavior from a discrete-time observer.
Using this structured model, this study proposes a tuning-light boundary-layer sliding-mode observer with output-error shaping, model-driven gain scaling, and simple bias-compensation terms. Unlike continuous-time SMO designs, this method is analyzed completely in the discrete domain. This way, the Lyapunov-based convergence guarantees connect directly with digitally sampled BMS hardware. The resulting estimator avoids adaptive-gain dynamics, reduces chattering, and makes tuning much simpler compared to traditional sliding-mode and Kalman-based methods.
Numerical experiments indicated that the observer accurately reconstructs terminal voltage, internal RC-state dynamics, and SoC across the full charge range, including areas of weak observability. Its performance is similar to that of an adaptive SMO with less chattering and faster than an EKF with less steady-state error. These results highlight how clear modeling choices, particularly slope regularization and monotone OCV interpolation, can significantly improve estimation performance with moderate algorithm complexity.
The current study is based on several practical assumptions. Specifically, the dual-polarization model parameters are identified offline under fixed ambient conditions. Factors like temperature dependence, hysteresis, aging-related parameter drift, and online adaptation are not explicitly considered. These elements may affect long-term performance and will be addressed in future research.
Combining these effects with the proposed discrete-time observer may allow for unified modeling and control strategies for improved charging protocols, health-aware BMS operation, and embedded real-time implementations.

Author Contributions

Conceptualization, S.S. and J.A.A.Q.; methodology, S.S.; software, S.S.; validation, S.S.; formal analysis, S.S.; investigation, S.S. and J.A.A.Q.; resources, J.A.A.Q.; data curation, S.S.; writing—original draft preparation, S.S.; writing—review and editing, J.A.A.Q.; visualization, S.S.; supervision, J.A.A.Q.; project administration, J.A.A.Q.; funding acquisition, J.A.A.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This material is based upon work supported in part by the National Science Foundation under Award No. 2331381. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
LIBLithium-ion battery
BMSBattery management system
SoCState of charge
OCVOpen-circuit voltage
DPDual polarization
RCResistor–capacitor
SMOSliding-mode observer
EKFExtended Kalman filter
SGASMOSwitching-gain adaptive sliding-mode observer

Appendix A. Discrete-Time Lyapunov Analysis of the Sliding Surface

Theorem A1.
(Practical convergence of the sliding surface). Consider the discrete-time sliding surface defined by
h x x ^ k = d z ^ k 1 1
with  h x , I = V o c z v p v s R I  and the observer update
x ^ k + 1 = x ^ k + T s f x ^ k , I k + L k s k f + G k u k s g n
L k = k z , l d e f f z ^ k k p , l k s , l , G k = k z , s d e f f z ^ k k p , s k s , s
where
s ~ k = c l i p s k ; ± s m a x
s k f = α s s ~ k + 1 α s s k 1 f , α s 0 , 1
u k s g n = s a t s k f ϕ , ϕ > 0
and the effective OCV slope is
d e f f z ^ k = d z ^ k + d 0 , d z ^ k = d V o c d z z ^ k , d 0 > 0
Assume:
1.
AA1: The modeling/shaping mismatch  w k  in
Δ s k : = s k + 1 s k = T s   α k   s k f T s   β k   u k s g n + T s   w k
is bounded as  w k ρ  for all  k , with  ρ > 0 .
2.
AA2: The gain-dependent coefficients
α k = k z , l   d e f f z ^ k   d z ^ k + k p , l + k s , l
β k = k z , s   d e f f z ^ k   d z ^ k + k p , s + k s , s
are uniformly bounded as
0 < α _ α k α , 0 < β _ β k β
3.
AA3: The filtered error is aligned with the surface in the sense that there exists  c f ( 0,1 ]  such that
s k   s k f c f   s k 2 k
4.
AA4: The design parameters satisfy
β _ > ρ
and the sampling period  T s  is small enough that
T s β _ ρ ϕ > 1 2 T s 2 α s m a x + β + ρ 2
Then, for any initial  s 0  , the sequence  { s k }  reaches the boundary layer  { s k f < ϕ }  in a finite number of steps, and once inside, it remains ultimately bounded in a neighborhood of the origin; there exists a constant  C > 0  such that for all sufficiently large  k
s k C ( ϕ + ρ κ _ c f + T s κ _ c f )
where  κ _ = i n f k κ k > 0  and 
κ k = α k + β k ϕ
In other words, the sliding surface is reached in finite time and is practically stable in the sense of discrete-time Lyapunov theory.
Proof. 
Define the Lyapunov function
V s k = 1 2 s k 2
Using (A8), the one-step increment of V s is
V s k + 1 V s k = 1 2 ( s k + Δ s k ) 2 1 2 s k 2 = s k Δ s k + 1 2 Δ s k 2
Substituting (A8) yields
s k Δ s k = T s α k s k s k f T s β k s k u k s g n + T s s k w k
We analyze two regions: outside and inside the boundary layer.
(1)
Outside the boundary layer: s k f ϕ .
In this region,
u k s g n = s a t s k f ϕ = s i g n s k f
Under the alignment condition (AA3), s k u k s g n = s k . Dropping the nonpositive term T s α k s k s k f from (A19) gives
s k Δ s k T s β k s k + T s s k w k T s β k ρ s k
Using β k β _ and β _ > ρ from (AA2)–(AA4),
s k Δ s k T s β _ ρ s k
Next, from (A8)
Δ s k = T s Ξ k , Ξ k = α k s k f β k u k s g n + w k
Using α k α , β k β , w k ρ and s k f s m a x , it follows that
Ξ k α s m a x + β + ρ = : Ξ
And thus
1 2 Δ s k 2 = 1 2 T s 2 Ξ k 2 1 2 T s 2 Ξ 2
Combining (A18), (A22) and (A25) yields
V s k + 1 V s k T s β _ ρ s k + 1 2 T s 2 Ξ 2
By condition (A14)
T s β _ ρ ϕ > 1 2 T s 2 Ξ 2
so whenever s k ϕ , the right-hand side of (A26) is negative:
V s k + 1 V s k < 0 for   all   s k ϕ
Hence, V s k (and thus s k ) strictly decreases while the filtered error is outside the boundary layer, guaranteeing finite-time reaching of the set s k f < ϕ .
(2)
Inside the boundary layer: s k f < ϕ .
In this region,
u k s g n = s k f ϕ
And (A21) becomes
s k Δ s k = T s α k s k s k f T s β k s k s k f ϕ + T s s k w k = T s κ k s k s k f + T s s k w k
With
κ k = α k + β k ϕ > 0
Using s k s k f c f s k 2 from (A3) and w k ρ ,
s k Δ s k T s κ k c f s k 2 + T s ρ s k
The quadratic term satisfies
1 2 Δ s k 2 1 2 T s 2 Ξ i n 2
where
Ξ k α ϕ + β + ρ = : Ξ i n
Combining with (A18), (A22) and (A34), it follows with
V s k + 1 V s k T s κ k c f s k 2 + T s ρ s k + 1 2 T s 2 Ξ i n 2
Let κ _ = i n f k κ k > 0 . Then
V s k + 1 V s k T s κ _ c f s k 2 + T s ρ s k + 1 2 T s 2 Ξ i n 2
For sufficiently large s k , the negative quadratic term dominates, so V s decreases. Consequently, there exists a constant C > 0 such that, for all sufficiently large k ,
s k C ϕ + ρ κ _ c f + T s κ _ c f
From Part 1, the Lyapunov function V s decreases outside the boundary layer, guaranteeing finite-time reaching. From Part 2, once the trajectory is inside the boundary layer, V s is nonincreasing outside a compact neighborhood of the origin, and all trajectories are ultimately contained within a bounded set whose size scales as O ϕ + ρ / κ _ c f + T s / κ _ c f . This proves finite-step reaching and practical stability of the sliding surface in the sense of discrete-time Lyapunov theory. □

References

  1. Hu, X.; Li, S.; Peng, H. A comparative study of equivalent circuit models for li-ion batteries. J. Power Sources 2012, 198, 359–367. [Google Scholar] [CrossRef]
  2. Xiong, R.; Sun, F.; He, H.; Gong, X. A review of state of charge estimation methods for lithium-ion batteries. Appl. Energy 2018, 229, 247–263. [Google Scholar]
  3. He, H.; Xiong, R.; Fan, J. Evaluation of lithium-ion battery equivalent circuit models for state of charge estimation by an experimental approach. Energies 2011, 4, 582–598. [Google Scholar] [CrossRef]
  4. Zhou, L.; Lai, X.; Li, B.; Yao, Y.; Yuan, M.; Weng, J.; Zheng, Y. State Estimation Models of Lithium-Ion Batteries for Battery Management System: Status, Challenges, and Future Trends. Batteries 2023, 9, 131. [Google Scholar] [CrossRef]
  5. Karimi, D.; Behi, H.; Van Mierlo, J.; Berecibar, M. Equivalent Circuit Model for High-Power Lithium-Ion Batteries under High Current Rates, Wide Temperature Range, and Various State of Charges. Batteries 2023, 9, 101. [Google Scholar] [CrossRef]
  6. Bizeray, A.; Duncan, S.R.; Howey, D.A. Lithium-ion battery thermal-electrochemical model-based state estimation using orthogonal collocation and a modified extended kalman filter. J. Power Sources 2015, 296, 400–412. [Google Scholar] [CrossRef]
  7. Franke-Lang, F.; Kowal, R. Electrochemical model-based investigation of thick LiFePO4 electrode design parameters. Modelling 2021, 2, 14. [Google Scholar] [CrossRef]
  8. Qin, H.; Wang, S.; Li, K.; Jiang, F. Joint Estimation of SOC and SOH Based on Kalman Filter Under Multi-Time Scale. Modelling 2025, 6, 100. [Google Scholar] [CrossRef]
  9. Waag, W.; Sauer, D.U. Adaptive estimation of the electromotive force of the lithium-ion battery after current interruption for an accurate state-of-charge and capacity determination. Appl. Energy 2013, 111, 416–427. [Google Scholar] [CrossRef]
  10. Li, L.; Hu, M.; Xu, Y.; Fu, C.; Jin, G.; Li, Z. State of Charge Estimation for Lithium-Ion Power Battery Based on H-Infinity Filter Algorithm. Appl. Sci. 2020, 10, 6371. [Google Scholar] [CrossRef]
  11. Fang, Y.; Xiong, R.; Wang, J. Estimation of lithium-ion battery state of charge for electric vehicles based on dual extended Kalman filter. Energy Procedia 2018, 152, 574–579. [Google Scholar] [CrossRef]
  12. Xiong, R.; Yu, Q.; Wang, L.-Y.; Lin, C. A novel method to obtain the open circuit voltage for the state of charge of lithium ion batteries using h-infinity filter. Appl. Energy 2017, 207, 346–353. [Google Scholar] [CrossRef]
  13. Xia, B.; Wang, H.; Tian, Y.; Wang, M.; Sun, W.; Xu, Z. State of Charge Estimation of Lithium-Ion Batteries Using an Adaptive Cubature Kalman Filter. Energies 2015, 8, 5916–5936. [Google Scholar] [CrossRef]
  14. Zeng, Z.; Tian, J.; Li, D.; Tian, Y. An Online State of Charge Estimation Algorithm for Lithium-Ion Batteries Using an Improved Adaptive Cubature Kalman Filter. Energies 2018, 11, 59. [Google Scholar] [CrossRef]
  15. Huangfu, Y.; Xu, J.; Zhao, D.; Liu, Y.; Gao, F. A Novel Battery State of Charge Estimation Method Based on a Super-Twisting Sliding Mode Observer. Energies 2018, 11, 1211. [Google Scholar] [CrossRef]
  16. Breglio, L.; Fiordellisi, A.; Gasperini, G.; Iodice, G.; Palermo, D.; Tufo, M.; Ursumando, F.; Mele, A. A Model-Based Strategy for Active Balancing and SoC and SoH Estimations of an Automotive Battery Management System. Modelling 2024, 5, 911–935. [Google Scholar] [CrossRef]
  17. Plett, G.L. Extended kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 1. background. J. Power Sources 2004, 134, 252–261. [Google Scholar] [CrossRef]
  18. Plett, G.L. Extended kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 2. Modeling and identification. J. Power Sources 2004, 134, 262–276. [Google Scholar] [CrossRef]
  19. Chen, C.; Xiong, R.; Shen, W. A Lithium-Ion Battery-in-the-Loop Approach to Test and Validate Multiscale Dual H Infinity Filters for State-of-Charge and Capacity Estimation. In IEEE Transactions on Power Electronics; IEEE: New York, NY, USA, 2018; Volume 33, pp. 332–342. [Google Scholar]
  20. Kim, I.S. A technique for estimating the state of health of lithium batteries through a dual-sliding-mode observer. IEEE Trans. Power Electron. 2010, 25, 1013–1022. [Google Scholar]
  21. Qian, W.; Li, W.; Guo, X.; Wang, H. A switching-gain adaptive sliding-mode observer for SoC estimation of lithium-ion battery. Energy 2024, 292, 130585. [Google Scholar] [CrossRef]
  22. Chen, M.; Han, F.; Shi, L.; Feng, Y.; Xue, C.; Gao, W.; Xu, J. Sliding Mode Observer for State-of-Charge Estimation Using Hysteresis-Based Li-Ion Battery Model. Energies 2022, 15, 2658. [Google Scholar] [CrossRef]
  23. Feng, Y.; Xue, C.; Han, Q.L.; Han, F.; Du, J. Robust estimation for state-of-charge and state-of-health of lithium-ion batteries using integral-type terminal sliding-mode observers. IEEE Trans. Ind. Electron. 2019, 67, 4013–4023. [Google Scholar] [CrossRef]
  24. Behnamgol, V.; Asadi, M.; Mohamed, M.A.A.; Aphale, S.S.; Faraji Niri, M. Comprehensive Review of Lithium-Ion Battery State of Charge Estimation by Sliding Mode Observers. Energies 2024, 17, 5754. [Google Scholar] [CrossRef]
  25. Yao, J.; Ding, J.; Cheng, Y.; Feng, L. Sliding mode-based H-infinity filter for SOC estimation of lithium-ion batteries. Ionics 2021, 27, 5147–5157. [Google Scholar] [CrossRef]
  26. Guo, Y.; Tian, J.; Li, X.; Song, B.; Tian, Y. State of Charge Estimation of Lithium-Ion Batteries Based on Vector Forgetting Factor Recursive Least Square and Improved Adaptive Cubature Kalman Filter. Batteries 2023, 9, 499. [Google Scholar] [CrossRef]
  27. Fritsch, F.N.; Carlson, R.E. Monotone piecewise cubic interpolation. SIAM J. Numer. Anal. 1980, 17, 238–246. [Google Scholar] [CrossRef]
  28. Hyman, J.M. Accurate monotonicity preserving cubic interpolation. SIAM J. Sci. Stat. Comput. 1983, 4, 645–654. [Google Scholar] [CrossRef]
  29. Huang, W. Control and Power Management Schemes for Distributed and Battery Powered Systems. Ph.D. Thesis, University of Alabama, Tuscaloosa, AL, USA, 2016. [Google Scholar]
  30. Edwards, C.; Spurgeon, S. Sliding Mode Control: Theory and Applications; CRC Press: Boca Raton, FL, USA, 1998. [Google Scholar]
  31. Sun, J.; Liu, Y.; Kainz, J. A comparative study of parameter identification methods for equivalent circuit models for lithium-ion batteries and their application to state of health estimation. J. Energy Storage 2025, 114, 115707. [Google Scholar] [CrossRef]
Figure 1. Dual-polarization (DP) equivalent-circuit model of the lithium-ion cell, including a nonlinear open-circuit voltage source, ohmic resistance and two RC branches representing fast and slow polarization dynamics.
Figure 1. Dual-polarization (DP) equivalent-circuit model of the lithium-ion cell, including a nonlinear open-circuit voltage source, ohmic resistance and two RC branches representing fast and slow polarization dynamics.
Modelling 07 00042 g001
Figure 2. (a) Interpolated OCV–SoC curve obtained via PCHIP fitting of measured data points. (b) Randomized pulsed discharge-current profile applied to the DP model during numerical validation.
Figure 2. (a) Interpolated OCV–SoC curve obtained via PCHIP fitting of measured data points. (b) Randomized pulsed discharge-current profile applied to the DP model during numerical validation.
Modelling 07 00042 g002
Figure 3. Terminal voltage comparison: true voltage and estimates obtained from EKF, SGASMO and the proposed discrete-time SMO.
Figure 3. Terminal voltage comparison: true voltage and estimates obtained from EKF, SGASMO and the proposed discrete-time SMO.
Modelling 07 00042 g003
Figure 4. State-of-charge trajectories for the true DP model and the following three observers: EKF, SGASMO and the proposed SMO.
Figure 4. State-of-charge trajectories for the true DP model and the following three observers: EKF, SGASMO and the proposed SMO.
Modelling 07 00042 g004
Figure 5. Polarization voltage estimates for the DP model internal RC states: true values and estimates from EKF, SGASMO and the proposed SMO.
Figure 5. Polarization voltage estimates for the DP model internal RC states: true values and estimates from EKF, SGASMO and the proposed SMO.
Modelling 07 00042 g005
Figure 6. Experimental setup: Samsung 21700–50E cell connected to a Squidstat Cycler for HPPC and OCV–SoC tests.
Figure 6. Experimental setup: Samsung 21700–50E cell connected to a Squidstat Cycler for HPPC and OCV–SoC tests.
Modelling 07 00042 g006
Figure 7. Representative HPPC discharge pulses and relaxation responses (left) and the extracted OCV–SoC characteristic (right), collected using the Squidstat Cycler.
Figure 7. Representative HPPC discharge pulses and relaxation responses (left) and the extracted OCV–SoC characteristic (right), collected using the Squidstat Cycler.
Modelling 07 00042 g007
Figure 8. Measured HPPC pulse voltage (black) compared with DP-model reconstructions using parameters identified via PSO (red dashed) and LSQ refinement (blue dash-dotted).
Figure 8. Measured HPPC pulse voltage (black) compared with DP-model reconstructions using parameters identified via PSO (red dashed) and LSQ refinement (blue dash-dotted).
Modelling 07 00042 g008
Figure 9. SoC estimation results for the long-duration pulse-discharge experiment: comparison between true SoC, EKF, SGASMO, and the proposed discrete-time SMO.
Figure 9. SoC estimation results for the long-duration pulse-discharge experiment: comparison between true SoC, EKF, SGASMO, and the proposed discrete-time SMO.
Modelling 07 00042 g009
Figure 10. Reconstructed polarization voltages under the same long-duration pulse-discharge experiment. The proposed SMO exhibits smooth and accurate recovery of both RC-state trajectories.
Figure 10. Reconstructed polarization voltages under the same long-duration pulse-discharge experiment. The proposed SMO exhibits smooth and accurate recovery of both RC-state trajectories.
Modelling 07 00042 g010
Table 1. Identified DP parameters for the Samsung 21700–50E cell.
Table 1. Identified DP parameters for the Samsung 21700–50E cell.
Parameter R 0 ( m Ω ) R 1 ( m Ω ) C 1 (F) τ 1 (s) R 2 ( m Ω ) C 2 (F) τ 2 (s)
PSO Result73.982.8334586.571.66214.1292311.532.659
LSQ Result73.982.8339586.691.662614.1292311.732.663
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Saberi, S.; Abu Qahouq, J.A. A Model-Based Framework for Lithium-Ion Battery SoC Estimation Using a Tuning-Light Discrete-Time Sliding-Mode Observer. Modelling 2026, 7, 42. https://doi.org/10.3390/modelling7010042

AMA Style

Saberi S, Abu Qahouq JA. A Model-Based Framework for Lithium-Ion Battery SoC Estimation Using a Tuning-Light Discrete-Time Sliding-Mode Observer. Modelling. 2026; 7(1):42. https://doi.org/10.3390/modelling7010042

Chicago/Turabian Style

Saberi, Sajad, and Jaber A. Abu Qahouq. 2026. "A Model-Based Framework for Lithium-Ion Battery SoC Estimation Using a Tuning-Light Discrete-Time Sliding-Mode Observer" Modelling 7, no. 1: 42. https://doi.org/10.3390/modelling7010042

APA Style

Saberi, S., & Abu Qahouq, J. A. (2026). A Model-Based Framework for Lithium-Ion Battery SoC Estimation Using a Tuning-Light Discrete-Time Sliding-Mode Observer. Modelling, 7(1), 42. https://doi.org/10.3390/modelling7010042

Article Metrics

Back to TopTop