Abstract
Lithium-ion power batteries are widely used in the electric vehicle (EV) industry due to their high working voltage, high energy density, long cycle life, low self-discharge rate, and environmental protection. A multi-algorithm fusion method is proposed in this paper to estimate the battery state of charge (SOC), establishing the Thevenin model and collecting the terminal voltage residuals when the extended Kalman filter (EKF), adaptive extended Kalman filter (AEKF), and H infinite filter (HIF) estimate the SOC separately. The residuals are fused by Bayesian probability and the weight is obtained, and then the SOC estimated value of the fusion algorithm is obtained from the weight. A comparative analysis of the estimation accuracy of a single algorithm and a fusion algorithm under two different working conditions is made. Experimental results show that the fusion algorithm is more robust in the whole process of SOC estimation, and its estimation accuracy is better than the EKF algorithm. The estimation result for the fusion algorithm under a Dynamic Stress Test (DST) is better than that under a Hybrid Pulse Power Characterization (HPPC) test. With the emergence of cloud batteries, the fusion algorithm is expected to realize real vehicle online application.
1. Introduction
Lithium-ion power batteries (hereinafter referred to as lithium batteries) have become the first choice for electric vehicles due to their high working voltage, high energy density, long cycle life, low self-discharge rate, and environmental friendliness [1]. The state of charge (SOC) is one of the important pieces of state information for lithium-ion batteries. An accurate SOC can help the driver make an informed decision as to when to charge the battery and help the battery management system (BMS) avoid overcharge or overdischarge safety problems [2]. Due to the high non-linearity and time-varying characteristics of the battery and the uncertainty of the battery chemical reaction, it is a difficult problem to accurately estimate the battery SOC [3].
Lithium-ion battery SOC estimation methods can be roughly divided into the following four types: the ampere-hour integration method, characterization parameter method, model-based method, and data-drive method [4,5,6,7]. At present, the mainstream SOC estimation method is based on a model to achieve battery SOC estimation, and the filter algorithm based on the equivalent circuit model (ECM) is especially widely used to estimate battery SOC. Compared with the complex electrochemical model, ECM can also use fewer parameters to characterize the dynamic characteristics of the battery, which has the advantage of less computation [8].
SOC estimation methods based on ECM include the Kalman filter (KF) series, sliding mode observer, H infinite filter, particle filter (PF), etc. [9,10,11,12]. However, it is difficult to meet the SOC estimation accuracy requirements for complex driving conditions by using a single algorithm. George S et al. [13] proposed a new and accurate hybrid SOC estimation method. Combining the advantages of different estimation techniques to minimize SOC errors and limit the amount of computation, the proposed solution can ensure the safe operation of the battery within the acceptable SOC limits and extend its life. Li H et al. [14] propose a state charge estimation method for energy storage systems based on the NARX network and filter joint algorithm, and apply the extended Kalman filter (EKF) to the improved nonlinear autoregressive algorithm with an exogenous neural network (NARXNN). The proposed NARX-EKF algorithm proves that it has higher accuracy and robustness than a single algorithm, which is validated by an experiment. Xiong R et al. [15] designed a fusion algorithm of SOC and capacity in a complex application environment. The convergence and anti-noise performance of the fusion algorithm are further discussed. The experimental results showed that the proposed fusion algorithm can achieve high-precision SOC estimation with a relative error of less than 2% when considering different aging degrees for lithium-ion batteries in a wide temperature range. Zhang K et al. [16] developed an adaptive weighted volume particle filter (AWCPF) method to estimate battery SOC. Different initial SOC values under different working conditions have been considered in the process of experimental verification. The results indicated that the proposed SOC estimation method, in view of the AWCPF algorithm, has high estimation accuracy, strong robustness, and fast convergence speed, and the maximum SOC estimation error is less than 1%. Inspired by the above literature, this paper attempts to realize the fusion of multiple algorithms based on a Bayesian formula and compares the estimation results with a single algorithm in DST and HPPC conditions.
The remainder of the paper is constituted as follows: Section 2 describes the modeling process and the battery parameter identification method. Section 3 introduces the individual estimation algorithms and the fusion algorithm. Section 4 verifies the algorithm under two working conditions. Finally, the key conclusions are summarized in Section 5.
2. Modelling and Parameter Identification
2.1. Modelling for Lithium-Ion Batteries
The equivalent circuit model uses traditional resistors, capacitors, constant voltage sources, and other circuit components to form a circuit network to describe the external characteristics of the power batteries. The voltage source represents the thermodynamic equilibrium potential of the power battery, and the RC network is adopted to describe the battery dynamic characteristics. The main advantages of the equivalent circuit model are its simple structure, small calculation amount, and high accuracy. The Rint model, Thevenin model, and Dual Polarization (DP) model are the commonly equivalent circuit models. [17,18]. Previous literature [19] comprehensively considers the accuracy of the models’ parameter identification and the complexity of their structure, and considers the Akaike Information Criterion (AIC) of the first-order RC ECM (Thevenin model) as the smallest compared with other kinds of ECMs, which is the model with the best balance between accuracy and structural complexity. In view of this, this experiment constructs a Thevenin model as the research basis.
The experiments introduced in this paper were all implemented in a Arbin-BT2000 power battery single test equipment. At the same time, a programmable temperature and humidity three-layer test box was used as the environmental simulation equipment, and the temperature was controlled at 25 °C. Lithium battery A (ANR26650M1A) of 3.3 V/2.3 Ah and battery B (SPIM14245190) of 3.7 V/35 Ah were used in the experiment. The maximum usable capacity of the two batteries were recalibrated at a room temperature of 25 °C: 2.22 ah for battery A and 31.80 ah for battery B.
The computer used for this experimental algorithm is an HP 288 Pro G6 microtower PC (HP, Palo Alto, CA, USA), which is configured with a 3.1 GHz Intel (R) core (TM) i5-10500 CPU and 8 GB ram (Intel, Santa Clara, CA, USA). All estimation algorithms are designed and implemented in MATLAB 2020b.
As shown in Figure 1, is the terminal voltage; is the open circuit voltage; and are the polarization internal resistance and polarization capacitance, respectively; is the ohmic resistance; is the circuit current. The battery state space equation can be written as follows:
Figure 1.
Thevenin mode.
The polarization voltage expression obtained by the model discretization is as follows;
among them
2.2. OCV-SOC Curve
The open circuit voltage (OCV) test is performed on two batteries at room temperature (25 °C), and the process is as follows:
- The battery is fully charged through the standard constant current and constant voltage (CC-CV) charging method. After standing for 5 h, the terminal voltage was measured. This value is regarded as the open circuit voltage value of SOC = 100%.
- Discharge with standard current and constant current. The cutoff condition is that the discharge capacity reaches 5% of the maximum available capacity, or the battery voltage drops to the discharge cutoff voltage. After standing for 5 h, measure the terminal voltage.
- Repeat step 2 until the power battery reaches the discharge cutoff voltage.
The OCV-SOC relation is fitted as follows:
for battery A, α0 = 3.04342712, α1 = 0.69965544, α2 = −0.70823233, α3 = 0.31435882, α4 = −0.014878876, α5 = −0.10513395, α6 = −0.01276305.
2.3. Parameter Identification
At present, the main parameter identification methods can be divided into offline and online identification [20,21]. The calculation amount for offline parameter identification is much smaller than that for online parameter identification, and it is more widely used in EVs. The online identification method can calculate the model parameters by measuring the voltage and current in real time. It can achieve performance prediction according to different battery aging levels and operating conditions [22,23,24]. In this experiment, the HPPC test was used for two batteries to perform offline parameter identification of the model, so as to obtain the model parameters under different SOCs.
The process is listed as follows:
- Fully charge the two batteries with the CC-CV charging method.
- Let stand for 5 h.
- Load the mixed pulse current excitation sequence, discharge the battery with constant current for a certain period of time, and then let it stand for 1 h. (Constant current discharge of battery to ensure 10% SOC interval between two times).
- Repeat step 3 until the discharge reaches the cutoff voltage.
Offline parameter identification is carried out by the multiple linear regression method. The identification results for battery A are shown in Table 1.
Table 1.
Identification result for battery A.
3. State of Charge Estimation
3.1. State of Charge Definition
SOC is a value that describes the ratio of the remaining capacity of the battery to the current maximum available capacity:
where SOCt is the present SOC; SOC0 is the SOC’s initial value; iL is the instantaneous load current (assumed positive for discharge, negative for charge); ηi is the Coulomb efficiency, which is the function of the current and the temperature; and Ca is the present maximum available capacity, which may be different from the rated capacity for the age effect.
Describing (4) with a discrete-time style:
3.2. Extended Kalman Filter Estimation Method
KF is mainly applicable to linear systems, while a power battery is a highly non-linear system. In order to improve the estimation accuracy of the KF method for power battery SOCs, the EKF method is proposed.
For a nonlinear discrete system, the general form of its state equation and observation equation is as follows:
in the Equation (6), the subscript k is the time; x is the system state vector; y is the observation vector; u is the system input vector; w is the state white noise with a mean value of 0 and a covariance of Q; v is the state white noise with a mean value of 0 and a covariance of R; w and v do not affect each other.
Expand f(,) and h(,) with the first-order Taylor formula, linearize them, and substitute them back into the equation. Get the following Equation (7):
In the equation: (z means SOC), , .
3.3. SOC Estimation Algorithm with Adaptive Extended Kalman Filter Method
When the EKF method is employed to estimate the battery SOC, it is necessary to define the initial value of the state white noise covariance Q and the observed white noise covariance R. If the selection of the initial value is not appropriate, it can affect the SOC estimation accuracy or even cause the divergence of the filter. In order to solve this problem, the adaptive extended Kalman filter method is proposed in this study.
The adaptive EKF method updates the Kalman gain matrix and the state estimation error covariance P while iteratively updating Q and R. The specific update method is listed as follows:
where e is new innovation; H is the real-time estimated covariance function of innovation obtained by the windowed estimation principle; M is the size of the window.
3.4. H Infinity Filter SOC Estimation Algorithm
The Kalman filter is based on the premise that the system model is accurate and the external input characteristics are known, which does not conform to the actual situation. In actual operation, the statistical characteristics of noise are difficult to obtain, and the established model is also different from reality. In order to overcome the insufficiencies of the Kalman filter and the uncertainty in the modeling process and improve the robustness of the estimation, the HIF algorithm came into being.
The calculation process for the HIF algorithm is summarized in Table 2.
Table 2.
HIF process.
3.5. Multi-Algorithm Fusion SOC Estimation
The terminal voltage residual of the algorithm has a certain mapping relationship with the SOC estimation accuracy. Assuming that the residuals obey a normal distribution, the mean and variance of the residuals can be obtained by windowing (M), which can realize the real-time estimation of the probability density, and then the fusion weight values of the three algorithm can be obtained. The algorithm diagram is shown in Figure 2.
Figure 2.
SOC fusion implementation flow chart.
Specific steps are as follows:
- 1.
- Import the terminal voltage residuals of the previous three algorithms.
- 2.
- Calculate the residual mean and variance of each algorithm. ( = 1,2,3, corresponding to the three algorithms).
- 3.
- Calculate the conditional probability density function at time k for each algorithm.
- 4.
- Calculate the weight of each algorithm at time k, where n is the number of algorithms.
- 5.
- Obtain the SOC estimated value of the fusion algorithm according to the weight.
4. Results and Discussion
Battery A is verified under DST using the three EKF, AEKF, and HIF algorithms to fuse it, and the terminal voltage residuals and SOC estimated by the three algorithms are imported into the fusion algorithm. The working condition current and voltage are shown in Figure 3a,b. Battery B is verified under HPPC conditions using the three EKF, AEKF, and HIF algorithms to fuse it, and the terminal voltage residuals and SOC estimated by the three algorithms are imported into the fusion algorithm. The working condition current and voltage are shown in Figure 3c,d.
Figure 3.
Testing.
The estimated and real SOC values of each algorithm under DST are shown in Figure 4, and the estimated and real SOC values of each algorithm under HPPC conditions are shown in Figure 5. The SOC errors of the single algorithm estimation and multi-algorithm fusion estimation under DST are shown in Figure 6a, and the SOC errors of the single algorithm estimation and multi-algorithm fusion estimation under HPPC conditions are shown in Figure 6b. It can be clearly seen from the three figures that although the fusion algorithms in the two test environments cannot achieve the local optimization, it is robust in the whole process of SOC estimation. That is, the fusion algorithm has better robustness and estimation accuracy than the single algorithm.
Figure 4.
(a) SOC estimates under DST; (b) Local graph of SOC estimates under DST; (c) Local graph of SOC estimates under DST.
Figure 5.
(a) SOC estimates under HPPC; (b) Local graph of SOC estimates under HPPC; (c) Local graph of SOC estimates under HPPC.
Figure 6.
(a) SOC estimation errors under DST; (b) SOC estimation errors under HPPC.
When the initial soc is 1, the four algorithms are compared according to the statistical results of the relative errors of the algorithms. First, under DST (the specific results are shown in Table 3), the indicators of the fusion algorithm such as the maximum error, the mean error, and the root mean square of the error are only larger than those of the AEKF algorithm. Under HPPC (the specific results are shown in Table 4), the indicators of the fusion algorithm are close to the AEKF algorithm and the HIF algorithm and are better than the EKF algorithm. In other words, in the whole SOC estimation process, the fusion algorithm also has good estimation accuracy. The fusion algorithm is essentially a post-processing method of data processing with little computational burden. It can also be seen from the two tables that its running time is lower than that of the HIF algorithm and AEKF algorithm.
Table 3.
SOC estimation errors of the four algorithms under DST.
Table 4.
SOC estimation errors of the four algorithms under HPPC.
5. Conclusions
This paper presents a method of multi-algorithm fusion to estimate SOC. Through the establishment of a Thevenin model, the SOC estimation accuracy and algorithm running time of a single algorithm and the fusion algorithm are compared and verified under the tests of DST and HPPC. The experimental results show that the terminal voltage weighted fusion algorithm based on a Bayesian probability formula is more robust and accurate in SOC global estimation. In terms of algorithm time, as a data post-processing method, the computational burden of the fusion algorithm is small, lower than that of the HIF algorithm and AEKF algorithm. To realize the online application of the fusion algorithm in a real vehicle, multiple algorithms need to be loaded on BMS, which is not feasible at present. However, with the emergence of the cloud battery, the onboard BMS is no longer limited by storage and computing power. The fusion algorithm mentioned in this paper also has the possibility of real vehicle online application in the future.
In the next step, the author also plans to carry out the comparison test between the fusion algorithm and a single algorithm under different temperatures and different SOC initial values, and analyze the advantages of the fusion algorithm from the perspectives of battery capacity and impedance change.
Author Contributions
Conceptualization, A.T.; Formal analysis, J.L.; Resources, Z.Z.; Software, K.Z.; Writing—original draft, P.G.; Writing—review & editing, Y.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Natural Science Foundation of Chongqing, China, grant number: cstc2021jcyj-msxmX0464; the Scientific Research Foundation of Chongqing University of Technology, grant number: 2021ZDZ004; and the Chongqing Universities Innovation Research Group Project, grant number: CXQT21027.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
The authors thank Beijing University of technology for helping us and providing us with resources. At the same time, we would also like to thank the review experts for their patient guidance to us.
Conflicts of Interest
The authors declare no conflict of interest.
Nomenclature
| EV | Electric vehicle |
| SOC | State of charge |
| EKF | Extended Kalman filter |
| AEKF | Adaptive extended Kalman filter |
| HIF | H infinite filter |
| BMS | Battery management system |
| ECM | Equivalent circuit model |
| KF | Kalman filter |
| PF | Particle filter |
| NARXNN | Nonlinear autoregressive algorithm with exogenous neural network |
| AWCPF | Adaptive weighted volume particle filter |
| DP | Dual polarization |
| AIC | Akaike Information Criterion |
| CC-CV | Constant current and constant voltage |
| HPPC | Hybrid Pulse Power Characterization |
| DST | Dynamic Stress Test |
| OCV | Open circuit voltage |
| ME | Mean error |
| MAE | Mean absolute error |
| RMSE | Root mean square error |
References
- Li, C.R.; Xiao, F.; Fan, Y.X. A Hybrid Approach to Lithium-Ion Battery SOC Estimation Based on Recurrent Neural Network with Gated Recurrent Unit and Huber-M Robust Kalman Filter. Trans. China Electrotech. Soc. 2020, 35, 2051–2062. [Google Scholar]
- Meng, J.; Ricco, M.; Luo, G.; Swierczynski, M.J.; Stroe, D.-I.; Stroe, A.-I.; Teodorescu, R. An Overview and Comparison of Online Implementable SOC Estimation Methods for Lithium-Ion Battery. IEEE Trans. Ind. Appl. 2017, 54, 1583–1591. [Google Scholar] [CrossRef]
- Wang, Y.; Tian, J.; Sun, Z.; Wang, L.; Xu, R.; Li, M.; Chen, Z. A Comprehensive Review of Battery Modeling and State Estimation Approaches for Advanced Battery Management Systems. Renew. Sustain. Energy Rev. 2020, 131, 110015. [Google Scholar] [CrossRef]
- Hu, X.; Jiang, H.; Feng, F.; Liu, B. An Enhanced Multi-State Estimation Hierarchy for Advanced Lithium-Ion Battery Management. Appl. Energy 2020, 257, 114019. [Google Scholar] [CrossRef]
- Shrivastava, P.; Soon, T.K.; Idris, M.Y.I.B.; Makhilef, S.; Adnan, S.B.R.S. Combined State of Charge and State of Energy Estimation of Lithium-Ion Battery Using Dual Forgetting Factor-Based Adaptive Extended Kalman Filter for Electric Vehicle Applications. IEEE Trans. Veh. Technol. 2021, 99, 1. [Google Scholar] [CrossRef]
- Yang, X.; Wang, S.; Xu, W.; Qiao, J.; Yu, C.; Fernandez, C. Fuzzy Adaptive Singular Value Decomposition Cubature Kalman Filtering Algorithm for Lithium-Ion Battery State-of-Charge Estimation. Int. J. Circuit Theory Appl. 2021, 50, 614–632. [Google Scholar] [CrossRef]
- Ye, Y.; Li, Z.; Lin, J.; Wang, X. State-Of-Charge Estimation with Adaptive Extended Kalman Filter and Extended Stochastic Gradient Algorithm for Lithium-Ion Batteries. J. Energy Storage 2021, 47, 103611. [Google Scholar] [CrossRef]
- 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 in Electric Vehicles by Using H Infinity Filter. Appl. Energy 2017, 207, 346–353. [Google Scholar] [CrossRef]
- He, H.; Xiong, R.; Zhang, X.; Sun, F.; Fan, J. State-of-Charge Estimation of the Lithium-Ion Battery Using an Adaptive Extended Kalman Filter Based on an Improved Thevenin Model. IEEE Trans. Veh. Technol. 2011, 60, 1461–1469. [Google Scholar] [CrossRef]
- 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]
- Shen, X.; Zhu, W.; Yang, Y.; Xie, J.; Huang, L. A State of Charge Estimation Method Based on APSO-PF for Lithium-ion Battery. In Proceedings of the IEEE 4th International Electrical and Energy Conference (CIEEC), Wuhan, China, 28–30 May 2021; pp. 1–6. [Google Scholar]
- Ye, M.; Guo, H.; Cao, B. A Model-Based Adaptive State of Charge Estimator for a Lithium-Ion Battery Using an Improved Adaptive Particle Filter. Appl. Energy 2017, 190, 740–748. [Google Scholar] [CrossRef]
- Misyris, G.S.; Doukas, D.I.; Papadopoulos, T.A.; Labridis, D.P.; Agelidis, V.G. State-of-Charge Estimation for Li-Ion Batteries: A More Accurate Hybrid Approach. IEEE Trans. Energy Convers. 2018, 34, 109–119. [Google Scholar] [CrossRef] [Green Version]
- Li, H.; Zou, C.; Fernandez, C.; Wang, S.; Fan, Y.; Liu, D. A Novel State of Charge Estimation for Energy Storage Systems Based on the Joint Narx Network and Filter Algorithm. Int. J. Electrochem. Sci. 2021, 16, 211213. [Google Scholar] [CrossRef]
- Xiong, R.; Wang, J.; Shen, W.; Tian, J.; Mu, H. Co-Estimation of State of Charge and Capacity for Lithium-Ion Batteries with Multi-Stage Model Fusion Method. Engineering 2021, 7, 1469–1482. [Google Scholar] [CrossRef]
- Zhang, K.; Ma, J.; Zhao, X.; Zhang, D.; He, Y. State of Charge Estimation for Lithium Battery Based on Adaptively Weighting Cubature Particle Filter. IEEE Access 2019, 7, 166657–166666. [Google Scholar] [CrossRef]
- Liaw, B.Y.; Nagasubramanian, G.; Jungst, R.G.; Doughty, D.H. Modeling of Lithium Ion Cells—A Simple Equivalent-Circuit Model Approach. Solid State Ion. 2004, 175, 835–839. [Google Scholar]
- Wei, Z.; Zhao, J.; Ji, D.; Tseng, K.J. A Multi-Timescale Estimator for Battery State of Charge and Capacity Dual Estimation Based on an Online Identified Model. Appl. Energy 2017, 204, 1264–1274. [Google Scholar] [CrossRef]
- Xiong, R. Estimation of Battery Pack State of Electric Vehicles Using Model-Data Fusion Approach. Ph.D. Thesis, Beijing Institute of Technology, Beijing, China, June 2014. [Google Scholar]
- Li, Z.; Shi, X.; Shi, M.; Wei, C.; Di, F.; Sun, H. Investigation on the Impact of the HPPC Profile on the Battery ECM Parameters’ Offline Identification. In Proceedings of the 2020 Asia Energy and Electrical Engineering Symposium (AEEES), Chengdu, China, 29–31 May 2020; pp. 753–757. [Google Scholar]
- Feng, T.; Yang, L.; Zhao, X.; Zhang, H.; Qiang, J. Online Identification of Lithium-Ion Battery Parameters Based on an Improved Equivalent-Circuit Model and Its Implementation on Battery State-Of-Power Prediction. J. Power Sources 2015, 281, 192–203. [Google Scholar] [CrossRef]
- Barcellona, S.; Piegari, L. Lithium Ion Battery Models and Parameter Identification Techniques. Energies 2017, 10, 2007. [Google Scholar] [CrossRef] [Green Version]
- Xu, B.R.; Wang, X.C.; Zhang, Q.; Wang, L.; Wang, D.F. Adaptive Extended Kalman Filter for Estimating the Charging State of Battery. J. Harbin Inst. Technol. 2021, 53, 7. [Google Scholar]
- Wang, Z.; Li, R.; Li, X. SOC Estimation of Li-Ion Battery Based on Mixed AUKF and H∞F. Battery Bimon. 2021, 51, 5. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).





