Abstract
H-infinity filter (HIf) is widely used in state of charge (SOC) estimation of lithium-ion batteries due to its superior performance to extended Kalman filter (EKF) whose robustness is weak. In this paper, an improved HIf-based SOC estimation algorithm is proposed, which incorporates a sliding mode observer, yielding better estimation stability and accuracy than conventional HIf. The proposed algorithm takes advantages of HIf and sliding mode observer that it is more robust to the modeling error and noises. Samsung ICR18650 lithium-ion battery cell is tested and results show that the proposed method improves SOC estimation accuracy, two error indicators are evaluated and both are reduced compared to that of the EKF and HIf.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Energy crisis and environmental pollution are major problems that have slowed down the development of technology [1]. Because of the merits of long service life, high power rating, high nominal voltage, and excellent safety performance, Lithium-ion batteries (LiBs) have become the most widely used material for storing electrical energy [2]. LiBs reliability, safety and efficiency are determined by the performance of the standard battery management system (BMS) [3]. The state of charge (SOC) is a major factor in BMS and can provide valuable information such as the amount of power left in the LiBs in its current state; thus, effective protection decision can be made to avoid accidents, such as overcharge and overdischarge [4].
However, the SOC of LiBs is unobservable and needs to be estimated based on the characteristics of LiBs [5]. The existing SOC estimation methods can be roughly classified into two groups: non-model-based methods and model-based ones [6]. Non-model type can estimate SOC without constructing a mathematical model that describes the dynamics of LiBs and includes lookup table-based methods and the Coulomb-counting methods. The look-up table-based approach estimates SOC from open circuit voltage (OCV)-SOC relationship table [7]. OCV models are offline methods which require long rests to achieve the desired state [8]. The Coulomb-counting method has good SOC estimation, but it is sensitive to the errors of initial SOC and cumulated during iteration [9, 10].
The mathematical model can also be used to characterize the charging and discharging dynamics of the battery and estimate SOC. There are three well known battery models: data-driven models, electrochemical models and equivalent circuit models (ECM). Data-driven model involves the neural network [11, 12] and fuzzy logic model. They require a large amount of measurements that are precisely detected by high hardware equipment, and models are changing subject to different data set [13,14,15]. Electrochemical model is the closest to the battery, but due to complex inner chemical reactions, it is difficult to establish a completely appropriate model with desired accuracy [16,17,18]. The computational complexity of the ECM is much smaller than that of the electrochemical model and parameters can be easily estimated by system identification methods. And the ECM does not need a lot of data like what data-driven models do [19,20,21].
A typical ECM usually utilizes resistor-capacitor (RC) networks to describe the dynamics of LiBs [22, 23]. There are mainly three steps in the ECM-based methods to realize SOC online estimation [24]. Firstly, the relationship between OCV and SOC is fitted by intermittent charge-discharge test or low-current charge-discharge test. Then, an appropriate equivalent circuit model is established with highly estimated model parameters identified by the least square algorithm or other identification algorithms. Finally, the SOC is estimated online by effective methods, but is not limited to proportional-integral-differential (PID) observer [25], sliding mode observer [26], Kalman filter-based algorithms [27,28,29,30], H-infinity filter (HIf) [31, 32] and particle filter [33].
A suitable modeling and estimation algorithm with high accuracy is expected in the model-based estimation. Wei et al. [34] integrated recursive total least squares with an SOC observer to reduce the noise impact in SOC estimation of LiBs. Chen et al. [35] employed parameter backtracking strategy in recursive least squares (RLS) to identify the ECM parameters, and applied EKF to estimate the SOC. Luo et al. [36] evaluated the estimation accuracy of SOC by combining a fractional order ECM with cubature Kalman filter. Lao et al. [37] presented a RLS with varying forgetting factor and unscented Kalman filter to identify parameters and estimate SOC online at different temperatures. However, EKF assumes that the noise is white gaussian which is not the case in the real working conditions and will give rise to poor estimation robustness [38].
Since the accuracy of the extended Kalman filter relies greatly on the system model and statistical characteristics of the noises, this paper adopts HIf improved by discrete sliding mode observer (DSMO) to estimate SOC. Sliding mode observer is a kind of nonlinear observer with small calculation amount and good robustness, which reduces the influence of system parameter changes and disturbance to a certain extent [39, 40].
In this article, the RLS method with a forgetting factor (FFRLS) algorithm is utilized for online parameter identification of constructed battery ECM. Further, a modified HIf is established to estimate the SOC of LiBs, where DSMO is used to improve the estimation process. Finally, the performance is tested with data sets from Samsung 18650 LiBs at the process of intermittent discharge and dynamic stress test (DST) with different evaluation methods.
This paper is briefly organized as follows. In “ECM for lithium-ion batteries”, an ECM of the battery is constructed, and the online model identification by FFRLS is presented. In “Improved H-infinity filter for SOC estimation”, an HIf incorporated with discrete sliding mode observer is presented, and the estimation accuracy SOC is verified by comparison to existing filters under DST in “Experiments and analysis”. “Conclusions” summarizes the main work.
ECM for lithium-ion batteries
Lithium-ion battery model
A reliable battery model is primary to accurately estimate the SOC [41]. The dual polarization model shown in Fig. 1 is one of the estimation models with high precision and low computation, which involves three parts: (1) Uoc is the open circuit voltage of the power battery; (2) Ohmic resistance R0 refers to the resistance of power battery electrode materials, electrolyte and other parts; (3) Parallel RC networks, Ra, Ca, Rb and Cb describe the dynamics of LiBs.
According to Kirchhoff’s voltage and current law, the state space model of the dual polarization model can be expressed as:
where IL and UL are the current and terminal voltage of the LiB, respectively, Uoc represents OCV. The relationship between OCV and SOC can be fitted by high-order polynomial
where β0 to βm are the coefficients that can be determined by OCV-SOC test, m is the order of the polynomial that larger m means higher accuracy and robustness in general [42], SOC represents state of charge:
where SOC(t1) represents the SOC at time t1, η is the Coulomb coefficient, Qn is capacity and i(t) is the current, which is positive (negative) when it is discharging (charging).
Parameters estimation
The model in Eq. (1) can be rewritten as
Defining EL(s) = UL(s) − Uoc(s) gives
By a bilinear transformation \(s=\frac {2}{T}\cdot \frac {1-z^{-1}}{1+z^{-1}}\), where z is the discretization operator and T is the system sampling period, G(s) can be written as:
𝜃i (i = 1,2,⋯ ,5) are the coefficients:
where a = R0, b = τaτb, c = τa + τb, d = R0 + Ra + Rb, and e = R0(τa + τb) + Raτb + Rbτa, τa is RaCa, and τb is RbCb.
Transforming Eq. (6) to obtain a discretized recursive form of the equivalent circuit model,
where 𝜃(k) = [𝜃1 𝜃2 𝜃3 𝜃4 𝜃5]T and φ(k) = [E(k − 1) E(k − 2) I(k) I(k − 1) I(k − 2)]T, Taking \(\hat {\theta }_{i}(k) \) as the estimates of true 𝜃i(k),i = 1,⋯ ,5. In order to ensure the uniqueness of the reconciliation, τa and τb are computed from τaτb = b and τa + τb = c, where τa takes the maximum value and τb takes the minimum.
Thus the resistance and capacitance of the ECM can be obtained:
Recursive least squares method can realize online identification, but as the amount of data increases during the recursive process, too much old data will decrease the convergence rate. To tackle this issue, FFRLS [43, 44] identification algorithm is employed which can identify the dynamic model parameters online, and accelerate the estimation speed by a forgetting factor. The main steps of FFRLS are referred to Ref. [45].
Improved H-infinity filter for SOC estimation
Dual polarization model linearization
As shown in Fig. 1, the voltages of the two RC links under Dual polarization model excitation are:
where Ua,k and Ub,k are voltages of the RC link a and b at time k, respectively, iL,kRa and iL,kRb represents the final steady-state voltages of RC link a and b. We have
By discretization of Eqs. (3), (12) and (13), the following model can be derived:
where ω(k) and ν(k) are process noise and measurement noise, respectively, and
Then, the model in Eqs. (14)–(15) can be simplified as follows:
where xk = [Ua(k), Ub(k), SOC(k)]T, uk− 1 = I(k − 1), yk = UL(k).
H-infinity filter
Because EKF can only estimate SOC under Gaussian white noise with limited accuracy, H-infinite filter for SOC estimation is proposed to overcome the problems encountered by Kalman filter and obtain higher estimation accuracy and better robustness. The standard linear time-varying discrete system is as follows:
where zk represents the vector to be estimated, ιk is a custom matrix. The aim is to estimate the state at each working time, in that case, ιk is the identity matrix which makes zk = xk.
The core idea of HIf is to seek a balance between the disturbance and the estimator to achieve optimal estimation witha cost function J defined as follows:
where N represents total time of system sampling, xk and \(\boldsymbol {\hat {x}}\) represent true value and estimated value at time k, respectively, P0, Qk, Rk and Sk are symmetric positive definite matrices,
By adding a performance boundary δ and rearranging the Eq. (19), we have:
The HIf algorithm is summarized as follows:
where \(\hat {\boldsymbol {x}}_{k/k-1}\) and Pk/k are updated state and updated covariance matrix, respectively, Hk is a filter which can adjust prior state estimation and Sk is a third-order matrix which needs to be designed according to importance of each state. The following condition must be satisfied to make sure there’s a solution at each time:
The HIf algorithm in Eqs. (22)–(26) can effectively estimate SOC of time-varying nonlinear lithium-ion battery system, and the estimation results are not affected by initial values, however, higher accuracy is still required and investigated. In this paper, a DSMO is integrated into the H-infinity filter which guarantees the robustness and SOC estimation accuracy.
DSMO-based H-Infinity Filter
A DSMO [46, 47] is added to the state equation in Eq. (17) as follows:
where L is the gain matrix of the observer, sat(⋅) is the saturation function with gain M, ϕ as the boundary layer and sgn(⋅) the symbolic function.
The error dynamics \(\tilde {\boldsymbol {x}}=\boldsymbol {x}-\boldsymbol {\hat {x}}\) can be described as follows:
where Δk− 1 = ωk− 1 + Lνk− 1.
The stability of HIf is improved by adding a DSMO which provides a more accurate estimate for the estimated state of the HIf. Equations (22)–(26) and (28) consist of the improved HIf (IHIf) algorithm, and the Pseudo codes are shown in Algorithm 1. The framework of IHIf with parameter identification algorithm FFRLS is shown in Fig. 2. The stability analysis of the modified algorithm is shown in Ref. [48].
Experiments and analysis
To verify the accuracy of the IHIf algorithm in SOC estimation, two experiments of discharge test and DST are conducted. DST is a simplified version of Federal Urban Driving Schedule, which is one of the most commonly operating conditions of the simulation vehicle. DST experiments simulate the actual operation of electric vehicles through load curves. The charge-discharge current of one cycle is shown in Fig. 7(b) and the experiment cycle is completed until the battery voltage drops to the cut-off voltage. Referring to Fig. 3, the battery experiment platform is used to detect the Li(NiCoMn)O2 material LiBs cell at room temperature (25 ∘C) which includes a host computer, a multi-range battery tester (NEWARE CT-4008), Samsung ICR18650 (2600 mAh) LiBs, and a battery clamp. The details of the LiBs are shown in Table 1.
The structure and test flow chart of the battery test system are shown in Fig. 4. Table 2 and Fig. 5 show the fitting relationship between OCV and SOC, which can be identified by battery intermittent charging and discharging experiments.
Consider the system stability analysis and computational complexity, set the initial SOC is 1, δ is 104 and Sk is the third-order identity matrix, respectively, ϕ = 0.1, L = [2 ∗ 10− 5; -0.5; -0.5], M=[10− 6; 0.001; 0.001], Q0 = 10− 8I3, and R = 0.1.
In the intermittent discharge experiment, the discharge current is negative. Results under intermittent constant current condition are shown in Fig. 6, where the comparison between the proposed method IHIf and other methods are shown in Fig. 6(c) and (d) and the Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) of the EKF, HIf and IHIf are in Table 3. From Fig. 6(c), (d) and Table 3, the estimated SOC by IHIf is close to the true SOC and has smaller error.
Consider the real operating environment of LiBs in electric vehicles, the LiBs working condition of the test data is sampled under DST conditions. It can be seen that the terminal voltage and the state-of-charge curve fluctuate with the multiple discharge and charging processes of the incoming line current, and the stability is lower than that under constant current conditions. The battery’s DST current profile and voltage profile are illustrated in Fig. 7(a) and (c). Figure 7(b) is a single cycle of DST. The error of the voltage estimation of the method is shown in Fig. 7(d).
The EKF, HIf and the IHIf algorithm are applied to SOC estimation in Fig. 7(e) and (f). The MAE and RMSE of the EKF, HIf and IHIf are listed in Table 4. Consider complex charge and discharge condition in dynamic stress test, both HIf and IHIf algorithm can estimate SOC under different conditions; however, the latter has better robustness and improves the estimation accuracy.
Although it is verified that the proposed algorithm improves accuracy and stability, it does not bring extra computations. A comparison of calculation cost was performed on a 1.1GHz Intel Core i7-10710U processor and 16.0GB memory. Since the execution process of the algorithm’s Matlab script is affected by the state of the PC’s CPU and memory, 50 experiments were carried out in the same state of the computer to verify the time spent by the algorithm. Table 5 shows the average computation times under different methods.
From Table 5, the computational time of IHIf increases by 14.4% and 2.8% under discharge test compared to that of EKF and HIf and increases by 7.6% and 0.99% under DST, which means that the IHIf has improved accuracy without bringing in calculation burden.
Conclusions
In this paper, an H-infinite filtering combined with DSMO is proposed to estimate SOC. The proposed method aims to improve the robustness and accuracy of the estimation. Discharge test and DST results prove that the IHIf algorithm can accurately estimate SOC, and the accuracy is better than EKF and HIf. To better estimate SOC, model selection and algorithm improvement are the focus of future research.
References
Zhang C, Yang F, Ke XY, Liu ZF, Yuan C (2019) Predictive modeling of energy consumption and greenhouse gas emissions from autonomous electric vehicle operations. Appl Energy 254:113597
Saha P, Dey S, Khanra M (2020) Modeling and State-of-Charge Estimation of Supercapacitor Considering Leakage Effect. IEEE Trans on Ind Electron 67:350–357
Berecibar M, Gandiaga I, Villarreal I, Omar N, Mierlo JV, Bossche PVD (2016) Critical review of state of health estimation methods of Li-ion batteries for real applications. Renew Sustain Energy Rev 56:572–587
Hannan MA, Lipu MSH, Hussain A, Mohamed A (2017) A review of lithium-ion battery state of charge estimation and management system in electric vehicle applications: challenges and recommendations. Renew Sustain Energy Rev 78:834– 854
Wang YB, Fang HZ, Zhou L, Wada T (2017) Revisiting the state-of-charge estimation for lithium-ion batteries: A methodical investigation of the extended Kalman filter approach. IEEE Contr Syst 37:73–96
Li XY, Wang ZP, Zhang L (2019) Co-estimation of capacity and state-of-charge for lithium-ion batteries in electric vehicles. Energy 174:33–44
Xiong R, Tian JP, Mu H, Wang C (2017) A systematic model-based degradation behavior recognition and health monitoring method for lithium-ion batteries. Appl Energy 207:372–383
Zheng FD, Xing YJ, Jiang JC, Sun BX, Kim J, Pecht M (2016) Influence of different open circuit voltage tests on state of charge online estimation for lithium-ion batteries. Appl Energy 183:513–525
Hu XS, Jiang HF, Feng F, Liu B (2020) An enhanced multi-state estimation hierarchy for advanced lithium-ion battery management. Appl Energy 257:114019
Ghalkhani M, Bahiraei F, Nazi GA, Saif M (2017) ElectrochemicaleThermal model of pouch-type lithium-ion batteries. Electrochim Acta 247:569–587
Wang QK, He YJ, Shen JN, Ma ZF, Zhong GB (2017) A unified modeling framework for lithium-ion batteries: an artificial neural network based thermal coupled equivalent circuit model approach. Energy 138:118–132
Jiao M, Wang DQ, Qiu LJ (2020) GRU-RNN based momentum optimized algorithm for SOC estimation. J Power Sources 459:228051
Chemali E, Kollmeyer PJ, Preindl M, Ahmed R, Emadi A (2018) Long short-term memory networks for accurate state-of-charge estimation of Li-ion batteries. IEEE Trans Ind Electron 65:6730–6739
Sheng H, Xiao J (2015) Electric vehicle state of charge estimation: nonlinear correlation and fuzzy support vector machine. J Power Sources 281:131–137
Xia B, Cui D, Sun Z, Lao Z, Zhang R, Wang W (2018) State of charge estimation of lithium-ion batteries using optimized Levenberg-Marquardt wavelet neural network. Energy 153:694–705
Moura S, Chaturvedi N, Krstic M (2012) PDE estimation techniques for advanced battery management systems; Part I: SOC estimation. Am Control Conf 2012:559–565
Klein R, Chaturvedi N, Christensen J, Ahmed J, Findeisen R, Kojic A (2013) Electrochemical model based observer design for a lithiumion battery. IEEE Trans Contr Syst Technol 21:289–301
Tran N, Vilathgamuwa D, Li Y, Farrell TW, Choi SS, Teague J (2017) State of charge estimation of lithium ion batteries using an extended single particle model and sigma-point Kalman1 filter. In: IEEE southern power electronics conference, vol 2017, pp 624–629
Yang JF, Huang W, Xia B, Mi C (2019) The improved open-circuit voltage characterization test using active polarization voltage reduction method. Appl Energy 237:682–694
Shen YQ (2018) A chaos genetic algorithm based extended Kalman filter for the available capacity evaluation of lithium-ion batteries. Electrochim Acta 264:400–409
Zhang LJ, Peng H, Ning ZS, Mu ZQ, Sun CY (2017) Comparative research on RC equivalent circuit models for lithium-ion batteries of electric vehicles. Appl Sci 7:1002
Dai HF, Wei XZ, Sun ZC, Wang JY, Gu WJ (2012) Online cell SOC estimation of Li-ion battery packs using a dual time-scale Kalman filtering for EV applications. Appl Energy 95:227–237
He HW, Qin HZ, Sun XK, Shui YP (2013) Comparison study on the battery SoC estimation with EKF and UKF algorithms. Energies 6:5088–5100
Ramadan H, Becherif M, Claude F (2017) Extended Kalman filter for accurate state of charge estimation of lithium-based batteries: a comparative analysis. Int J Hydrogen Energy 42:29033–29046
Xu J, Mi CC, Cao BG, Deng JJ, Chen ZZ, Li S (2014) The state of charge estimation of lithium-ion batteries based on a proportional-integral observer. IEEE Trans Veh Technol 63:1614–1621
Chen XP, Shen WX, Cao ZW, Kapoor A (2014) A novel approach for state of charge estimation based on adaptive switching gain sliding mode observer in electric vehicles. J Power Sources 2469:667–678
Chen S, Fu YH, Mi C (2013) State of charge estimation of lithium-ion batteries in electric drive vehicles using extended Kalman filtering. IEEE Trans Veh Technol 62:1020–1030
Wang YJ, Zhang CB, Chen ZH (2015) A method for state-of-charge estimation of Li-ion batteries based on multi-model switching strategy. Appl Energy 137:427–434
Perez G, Garmendia M, Reynaud JF, Crego J, Viscarret U (2015) Enhanced closed loop State of Charge estimator for lithium-ion batteries based on Extended Kalman Filter. Appl Energy 155:834–845
Li WQ, Yang Y, Wang DQ, Yin SQ (2020) The multi-innovation extended Kalman filter algorithm for battery SOC estimation. Ionics 26:6145–6156
Zhu Q, Li L, Hu XS, Xiong N, Hu G (2017) H\(\infty \)-based nonlinear observer design for state of charge estimation of lithium-ion battery with polynomial parameters. IEEE Trans Veh Technol 66:10853–10865
Liu Z, Dang XJ (2018) A new method for State of Charge and capacity estimation of lithium-ion battery based on dual strong tracking adaptive H-infinity filter. Math Probl Eng :5218205
Farmann A, Waag W, Marongiu A (2015) Critical review of on-board capacity estimation techniques for lithium-ion batteries in electric and hybrid electric vehicles. J Power Sources 281:114–130
Z Wei, C Zou, F Leng, BH Soong, KJ Tseng (2018) Online model identification and state-ofcharge estimate for lithium-ion battery with a recursive total least squares-based observer. IEEE Trans Ind Electron 65:1336–1346
Chen XK, Lei H, Xiong R, Shen WX, Yang R (2019) A novel approach to reconstruct open circuit voltage for state of charge estimation of lithium ion batteries in electric vehicles. Appl Energy 255:113758
Luo JY, Peng JK, HE HW (2019) Lithium-ion battery SOC estimation study based on Cubature Kalman filter. Energy Procedia 158:3421–3426
Lao ZZ, Xia BZ, Wang W, Sun W, Lai Y, Wang M (2018) A novel method for lithium-ion battery online parameter identification based on variable forgetting factor recursive least squares. Energies 11:1358
Claude F, Becherif M, Ramadan HS (2017) Experimental validation for Li-ion battery modeling using Extended Kalman Filters. Int J Hydrogen Energy 42:25509–25517
Feng L, Ding J, Han YY (2020) Improved sliding mode based EKF for the SOC estimation of lithium-ion batteries. Ionics 26:2875–2882
Chen QY, Jiang JC, Ruan HJ (2017) Simply designed and universal sliding mode observer for the SOC estimation of lithium-ion batteries. IET Power Electron 10:697–705
Hu XS, Li SB, Peng H (2012) A comparative study of equivalent circuit models for Li-ion batteries. J Power Sources 198:359–367
Zhu R, Duan B, Zhang J, Zhang Q, Zhang Q (2020) Co-estimation of model parameters and state-of-charge for lithium-ion batteries with recursive restricted total least squares and unscented Kalman filter. Appl Energy 277:115494
Constantin P, Jacob B, Silviu C (2008) A robust variable forgetting factor recursive least-squares algorithm for system identification. IEEE Signal Process Lett 15:597–600
Li XL, Zhou LC, Sheng J (2014) Recursive least squares parameter estimation algorithm for dual-rate sampled-data nonlinear systems. Nonlinear Dyn 76:1327–1334
Sun F, Xiong R (2015) A novel dual-scale cell state-of-charge estimation approach for series-connected battery pack used in electric vehicles. J Power Sources 274:582–594
Thein MWL (2003) A discrete time variable structure observer for uncertain systems with measurement noise. In: Proc. IEEE conference on decision and control, vol 2003, pp 2582–2587
Harikumar K, Bera T, Bardhan R (2019) Discrete-time sliding mode observer for the state estimation of a manoeuvring target. J Syst Contr Eng 233:095965181982648
Thein MWL (2002) A discrete time variable structure observer with overlapping boundary layers. In: Proc. Amer Control Conf, pp 2633–2638
Funding
This work was supported by Natural Science Foundation of Jangsu Province and the Natural Science Foundation of NJUPT under Grant NY220217.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Yao, J., Ding, J., Cheng, Y. et al. Sliding mode-based H-infinity filter for SOC estimation of lithium-ion batteries. Ionics 27, 5147–5157 (2021). https://doi.org/10.1007/s11581-021-04234-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11581-021-04234-3