Abstract
This paper proposes an observer based on descriptor systems to estimate the state of charge (SOC). The battery’s open-current voltage is chosen as a generalized state variable, thereby avoiding the artificial derivative calculation of the algebraic equation for the SOC. Furthermore, the observer’s dynamic performance is saved. To decrease the impacts of the uncertain noise and parameter perturbations, nonlinear theory is implemented to design the observer. The sufficient conditions for the observer to guarantee the disturbance suppression performance index are given and proved by the Lyapunov stability theory. This paper systematically gives the design steps of battery SOC observers. The simulation results highlight the accuracy, transient performance, and robustness of the presented method.
1. Introduction
Over the past few years, renewable energy vehicles (REVs) have become a mainstream consumer option, so related research about REV batteries has been of great interest [1]. The state of charge (SOC) is a percentage of the remaining capacity to the actual capacity of the battery, which is a vital indicator to evaluate battery performance [2,3]. Accurately tracking the SOC can dramatically avoid battery overcharge or overdischarge, thereby extending the battery life. However, due to a series of complex electrochemical reactions inside the battery, it is often impossible to obtain the SOC directly through the sensors. In other words, SOC can only be estimated by the measurable electrical signals and battery parameters. Even worse, battery parameters are affected by external factors such as temperature, battery age, and noise in electrical signals [4]. Accordingly, the SOC observer needs to provide sufficient estimation accuracy even in noise and parameter perturbations, which is a daunting task.
A variety of algorithms are proposed to estimate SOC, such as the coulomb counting method (CCM), open-circuit voltage method (OCVM), Kalaman filter (KF), sliding-mode observer (SMO), observer, neural network algorithm, proportional-integral (PI) observer, and adaptive observer [5,6,7]. The CCM estimates SOC by continuously measuring and integrating the current in time. The main drawbacks of CCM are two-fold: the first is that CCM highly depends on the initial value of observers, and the second is that it is known as an open-loop method whose estimation value will drift in the long term [8]. Alternatively, because of the one-to-one correspondence (as shown in Figure 1) between the SOC and the open-circuit voltage (OCV), the OCVM estimates the SOC by measuring the OCV of the battery without load. However, this technique fails to estimate SOC online. Due to their drawbacks, CCM and OCVM are never utilized separately in practical applications [9]. The KF and SMO are widely employed in the field of SOC estimation [10,11]. Nevertheless, due to the assumption of a noise signal Gaussian, the KF falls short when the system has noise or unmodeled dynamics [12,13]. The SMO is commonly used for SOC estimation due to its robustness. In [14], an OCV–SOC formula was modeled by the Nernst equation, and a SMO was proposed to estimate SOC; simulation results validate its accuracy. However, the estimate error of SOC may fluctuate because of the discontinuous input. A new SMO, based on the two-circuit model presented in [15], exhibits good performance. However, without accurate initial states, the SMO in [15] takes longer to track the true SOC.
Figure 1.
The relationship between SOC and OCV.
The influence of possible error sources on the SOC observation was analyzed in [16], and the results show that measurement noise and modeling errors are the main factors that limit the observation accuracy. The observer is a promising tool to handle unknown noise and modeling errors, and its effectiveness under a variety of operating conditions has been confirmed by experiments [17,18,19,20]. Based on the OCV–SOC formula, an -switched observer was presented in [21]; the experimental results confirm that, compared with the KF, both the accuracy and robustness of SOC estimation are improved by its use.
Regardless of the above approaches, it is impossible to ignore the piecewise nonlinear function of OCV versus SOC shown in Figure 1. In the battery model, the SOC fails to be expressed explicitly in the state equation, which brings difficulties to the design observer. In [22,23], the piecewise nonlinear function was linearized and differentiated before the observer design. However, the differential operation produced two problems:
- 1.
- The derivation of the piecewise function increased the order of the observer, which did not match the original system, and the observer error was not converged potentially;
- 2.
- The derivation of the current was ignored completely, so the dynamic performance of the observer became worse.
There are both differential equations and algebraic equations in battery systems. Such systems are also called descriptor systems, singular systems, or differential-algebraic systems [24,25]. To avoid the differentiation of the OCV–SOC formula, it is feasible to design the observer after modeling the battery as a descriptor system. Various methods are developed to design observers for descriptor systems [26].
The main objective of this paper is to design a noncomplex observer to estimate SOC accurately. To balance accuracy and complexity, this paper innovatively models the battery as a descriptor system. The theory is applied to design the observer to improve disturbance suppression performance. Compared with the traditional SOC estimation method, the method proposed in this paper can accurately estimate the SOC online, and does not require an accurate initial value. The designed observer exhibits good robustness in the presence of noise.
This paper is organized as follows. In Section 2, for the equivalent circuit model, a descriptor system with state variable OCV is established. In Section 3, the observer is proposed. The sufficient conditions to solve the observer are given and proved. In Section 4, several simulation experiments verify the accuracy and robustness of the proposed method. Section 5 summarizes the contribution of this paper.
Notations: is the generalized inverse of matrix M, satisfying . I denotes an identity matrix with appropriate dimensions. is the zero matrix with appropriate dimensions.
2. Battery Model
A resistance–capacitance (RC) equivalent circuit model is used to build a dynamic model of the battery, as shown in Figure 2, where the variable s represents the SOC. is the nominal capacity of the battery. represents the OCV, which is the function of SOC. is the voltage across the polarized capacitor . and represent the conduction resistance and the diffusion resistance, respectively; and are the currents of the two branches; is the terminal resistance; is the measurable terminal voltage, and i is the charge and discharge current.
Figure 2.
RC equivalent circuit model of the battery.
From the definition of SOC, the dynamic relationship of SOC is . In addition, the aforementioned nonlinear function can be reasonably approximated as , where is the nonlinearity of the OCV–SOC relationship. The two constants and can be determined by fitting the curve in Figure 1. From Kirchhoff’s law and Figure 2, the dynamic equations of the battery are:
where and are the uncertainties caused by modeling accuracy.
In this model, is the independent variable of the , which essentially introduces a piecewise algebraic constraint. To solve this piecewise algebraic system state estimation problem, Refs. [22,23] ignore the change of the current to derive the and , respectively, and model the system as a third-order system which is primordially two-order. In the above modeling process, the derivation operation increases the order of the system, and it is doubtful whether the observer error converges. In the actual application of batteries, especially in the course of REVs, the current of the battery is constantly changing. Therefore, it is obviously unreasonable to completely ignore the derivative of the current.
Motivated by these considerations, this paper regards the OCV–SOC function as an algebraic constraint between state variables, thereby modeling the system battery as a descriptor system. is identified as a state variable, , and ; then, the battery is modeled as a descriptor system (2) with dimensions.
where:
Before the observer design, assume that the descriptor system (2) satisfies Assumption 1.
Assumption 1.
where n is the number of state variables.
Under Assumption 1, the descriptor system (2) is impulse observable, which guarantees there exists an observer to track the states. Actually, this assumption is not strict and easy to achieve in battery models.
3. Observer
Design an observer described as follows:
where is the state variable of the observer, is the estimated value of the battery state, H, J, M, P, Q, and R are all unknown matrices with appropriate dimensions, and is the virtual output. satisfies .
The observer design target can be expressed as designing a stable observer (4) to satisfy that:
- 1.
- With , the estimate error is asymptotically stable;
- 2.
- With , for a prescribed level of noise , will be satisfied.
Define the error , where N is of appropriate dimensions. Then, one has:
where is applied. Under Assumption 1, to make the error system (5) be a homogeneous linear differential equation for , the observer (4) should satisfy:
where is an arbitrary matrix of appropriate dimension and .
To facilitate the analysis, define and ; then, the dynamics of the error system are given by:
Notice that Equation (6) can be solvable if and only if:
With Equation (9), the solution of Equation (6) can be described as:
where and are of appropriate dimension. Define the following matrices:
where .
The following theorem gives the sufficient conditions for error system (8) to be stable and with (6) and (7).
Theorem 1.
Proof of Theorem 1.
The Lyapunov function is chosen as . The derivative of V is obtained as:
By the Schur complement to (12), one obtains:
Therefore:
Under the zero initial condition, . Hence, the error system satisfies for .
From Theorem 1, the prescribed level of noise determines the feasibility of (11). According to robust control theory, can be selected by the following optimization problems:
This optimization problem can be solved with the YALMIP toolbox [27].
The proof process of Theorem 1 embodies the following observer design steps:
- 1.
- Model the battery system as a descriptor system (2);
- 2.
- Determine the matrix by ;
- 3.
- Determine the matrix by the (9);
- 4.
- Choose the prescribed level of noise by optimization problems (13);
- 5.
- Solve the feasible solution of (11) given by Theorem 1;
- 6.
- Calculate the matrices H, J, P, Q, R, , and ;
- 7.
- Convert the virtual output into the actual measurable output by .
From the above steps, there are some parameters that need to be chosen. determines the disturbance rejection level of the observer, which usually cannot be a large value. only needs to satisfy (9), and the numerical size of each element in the matrix has little effect on the final result. Therefore, compared with the existing method for SOC estimation, the proposed observer does not require complex tuning.
4. Results and Discussion
In order to illustrate the superiority of the proposed observer, this paper will compare it with the PI observer [7] and SMO [15]. To ensure the fairness of the test, the parameters of battery model (Figure 2) are shown in Table 1.
Table 1.
Parameters of the lithium battery.
The piecewise algebraic relationship between and SOC is ; bring the battery parameters and functions into the model, and the battery modeling is complete.
It can be verified that the battery system whose parameters are shown in Table 1 satisfies Assumption 1; therefore, we can design an observer of the construction (4) by Theorem 1.
Take a non-zero solution of the equation as . Note that satisfies (9). Based on the from the optimization problem (13), we take , use the YALMIP toolbox to solve the (11), and obtain the observer as:
As a comparison, the PI observer applied in the technique proposed in [7] is:
where and are the estimate of and , respectively. Notice that .
The SMO proposed in [15] is shown as:
where and are the estimatse of and , respectively. The input u is the current i.
The constant current discharge experiment, to evaluate the performance of the observer, is employed as follows: choose a discharge current of 5 A whose discharge period is 3980 s, and discharge for 180 s. Figure 3 shows the current of the constant current discharge experiment. For fairness, the known initial SOC of the battery model is , and Figure 4 shows the estimate errors from the different observers in this experiment.
Figure 3.
The current of the constant current discharge experiment.
Figure 4.
SOC estimate error under the constant current discharge experiment: (a) based on the observer; (b) based on the PI observer; (c) based on SMO.
From Figure 4, the observer and the PI observer can converge to zero quicker, with respect to the SMO. However, at each instant of discharge, the PI observer and SMO need a short period of adjustment to reach the steady state again, while the observer based on the descriptor system overcomes this drawback.
The initial conditions of the SOC are set as 0.3 for observers and 0.8 for the battery. In this case, the simulation result is shown in Figure 5. Due to the inaccurate initial SOC, there is large error of SOC from each observer at the initial moment. However, the estimate error of the observer converges to zero within 20 s, while the estimate error of the PI observer and SMO converge to zero within 500 s and 200 s, respectively. So, the observer is not sensitive to accurate initial SOC and has a fast convergence speed.
Figure 5.
SOC estimate error under the constant current discharge experiment with inaccurate initial SOC: (a) based on the observer; (b) based on the PI observer; (c) based on SMO.
The dynamic stress test (DST) is a standard test condition proposed by the Advanced Battery Association of the United States to simulate urban driving condition for electric vehicles. It is commonly applied to test the dynamic performance of SOC observers. The current of DST is shown in Figure 6.
Figure 6.
The current of the dynamic stress test.
Under the DST, the estimated SOC is shown in Figure 7. Generally, each observer can track the SOC. However, from Figure 7b, the true SOC is covered by the estimated SOC from the observer completely, which means the observer exhibits better performance for tracking the real SOC, with respect to the PI observer and SMO.
Figure 7.
Real SOC and its estimate under the DST: (a) full graph; (b) zoomed graph.
The estimate error under the DST is plotted in Figure 8. Because of the reservation of the current dynamic performance, there does not exist pulse mode in the estimation error of the observer. Figure 7 and Figure 8 illustrate the outstanding dynamic performance.
Figure 8.
Error of SOC for DST from the observer, PI observer, and SMO.
We are also interested in measuring the performance of the proposed observer’s deleted structure (4) in the presence of parameter perturbations to see if there are improvements in the robustness, with respect to the PI observer and SMO. So, the case when the capacitance and resistance parameter perturbations are given (Figure 9) is considered. Figure 10 shows the behavior of the true SOC and its estimate when the uncertainty is present.
Figure 9.
The uncertainty factor in the battery model: (a) full graph; (b) zoomed graph.
Figure 10.
The real SOC and its estimate from the observer, PI observer, and SMO under parameter perturbations: (a) full graph; (b) zoomed graph.
From Figure 10, due to the parameter perturbations, each observer is unable to track the true SOC accurately. However, the estimate error of SOC from the observer is less than the PI observer and SMO, which illustrates the robustness of the schema proposed in this paper.
5. Conclusions
To improve the accuracy of SOC observers and decrease the effects of the parameter perturbations, an observer, based on descriptor systems, is designed to estimate SOC. Firstly, the battery is modeled as a descriptor system without the extra derivative operation of nonlinear piecewise constraints. For the uncertainty, robustness nonlinear theory is employed to solve the observer. Furthermore, the design steps of a type of battery SOC observer are given systematically. The simulation results show that the observer based on descriptor systems is more effective, and the observation accuracy is higher with respect to the PI observer and SMO. The method proposed in this paper is not sensitive to battery parameter changes. Therefore, the proposed observer based on descriptor systems provides a new and effective online method to estimate SOC in REVs. The extension of our work to nonlinear observers is under study.
Author Contributions
Conceptualization S.M., S.L., F.M. and A.P.; methodology and software, S.M. and H.C.; writing—original draft preparation, S.M. and S.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Natural Science Foundation of Hebei Province (F2019501012) and the National Natural Science Foundation of China (12162007).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| REVs | Renewable energy vehicles |
| SOC | State of charge |
| OCVM | Open-circuit voltage method |
| CCM | Coulomb counting method |
| KF | Kalman filter |
| SMO | Sliding-mode observer |
| PI | Proportional-integral |
| OCV | Open-circuit voltage |
| RC | Resistance–capacitance |
| LMI | Linear matrix inequality |
| DST | Dynamic stress test |
| RMSE | Root mean square error |
| MAE | Maximum absolute error |
References
- Chen, X.; Zhang, T.; Ye, W.; Wang, Z.; Iu, H.H.C. Blockchain-Based Electric Vehicle Incentive System for Renewable Energy Consumption. IEEE Trans. Circuits Syst. II Express Briefs 2021, 68, 396–400. [Google Scholar] [CrossRef]
- Zhang, S.; Guo, X.; Dou, X.; Zhang, X. A rapid online calculation method for state of health of lithium-ion battery based on coulomb counting method and differential voltage analysis. J. Power Sources 2020, 479, 228740. [Google Scholar] [CrossRef]
- Soylu, E.; Soylu, T.; Bayir, R. Design and Implementation of SOC Prediction for a Li-Ion Battery Pack in an Electric Car with an Embedded System. Entropy 2017, 19, 146. [Google Scholar] [CrossRef] [Green Version]
- Sethia, G.; Nayak, S.K.; Majhi, S. An Approach to Estimate Lithium-Ion Battery State of Charge Based on Adaptive Lyapunov Super Twisting Observer. IEEE Trans. Circuits Syst. I Regul. Pap. 2021, 68, 1319–1329. [Google Scholar] [CrossRef]
- Shrivastava, P.; Soon, T.K.; Idris, M.Y.I.B.; Mekhilef, S. Overview of Model-Based Online State-of-Charge Estimation Using Kalman Filter Family for Lithium-Ion Batteries. Renew. Sustain. Energy Rev. 2019, 113, 109233. [Google Scholar] [CrossRef]
- Barillas, J.K.; Li, J.; Guenther, C.; Danzer, M.A. A comparative study and validation of state estimation algorithms for Li-ion batteries in battery management systems. Appl. Energy 2015, 155, 455–462. [Google Scholar] [CrossRef]
- Xu, J.; Mi, C.C.; Cao, B.; Deng, J.; Chen, Z.; Li, S. The State of harge Estimation of Lithium-Ion Batteries Based on a Proportional-Integral Observer. IEEE Trans. Veh. Technol. 2014, 63, 1614–1621. [Google Scholar]
- Prajapati, V.; Hess, H.; William, E.J.; Gupta, V.; Huff, M.; Manic, M.; Rufus, F.; Thakker, A.; Govar, J. A Literature Review of State Of-Charge Estimation Techniques Applicable to Lithium Poly-Carbon Monoflouride (LI/CFx) Battery. In Proceedings of the India International Conference on Power Electronics 2010 (IICPE2010), New Delhi, India, 28–30 January 2011; IEEE: New York, NY, USA, 2011; pp. 1–8. [Google Scholar]
- Rahimi-Eichi, H.; Baronti, F.; Chow, M.Y. Online Adaptive Parameter Identification and State-of-Charge Coestimation for Lithium-Polymer Battery Cells. IEEE Trans. Ind. Electron. 2013, 61, 2053–2061. [Google Scholar] [CrossRef]
- Du, J.; Liu, Z.; Wang, Y.; Wen, C. An adaptive sliding mode observer for lithium-ion battery state of charge and state of health estimation in electric vehicles. Control Eng. Pract. 2016, 54, 81–90. [Google Scholar] [CrossRef]
- Li, K.; Zhou, P.; Lu, Y.; Han, X.; Zheng, Y. Battery life estimation based on cloud data for electric vehicles. J. Power Sources 2020, 468, 228192. [Google Scholar] [CrossRef]
- Afshar, S.; Morris, K.; Khajepour, A. State-of-Charge Estimation Using an EKF-Based Adaptive Observer. IEEE Trans. Control Syst. Technol. 2019, 27, 1907–1923. [Google Scholar] [CrossRef]
- Qiao, Z.; Liang, L.; Hu, X.; Xiong, N.; Hu, G. H∞-Based Nonlinear Observer Design for State of Charge Estimation of Lithium-Ion Battery with Polynomial Parameters. IEEE Trans. Veh. Technol. 2017, 99, 1–13. [Google Scholar]
- Chang, F.; Zheng, Z. An SOC Estimation Method Based on Sliding Mode Observer and the Nernst Equation. In Proceedings of the 2015 IEEE Energy Conversion Congress and Exposition (ECCE), Montreal, QC, Canada, 20–24 September 2015; IEEE: New York, NY, USA, 2015; pp. 6187–6190. [Google Scholar]
- Chen, Q.; Jiang, J.; Ruan, H.; Zhang, C. Simply Designed and Universal Sliding Mode Observer for the SOC Estimation of Lithium-ion Batteries. IET Power Electron. 2017, 10, 697–705. [Google Scholar] [CrossRef]
- Shen, P.; Ouyang, M.; Han, X.; Feng, X.; Lu, L.; Li, J. Error Analysis of the Model-Based State-of-Charge Observer for Lithium-Ion Batteries. IEEE Trans. Veh. Technol. 2018, 67, 8055–8064. [Google Scholar] [CrossRef]
- Zhang, F.; Liu, G.; Fang, L.; Wang, H. Estimation of Battery State of Charge With H∞ Observer: Applied to a Robot for Inspecting Power Transmission Lines. IEEE Trans. Ind. Electron. 2012, 59, 1086–1095. [Google Scholar] [CrossRef]
- Huang, J.; Ma, X.; Che, H.; Han, Z. Further Result on Interval Observer Design for Discrete-Time Switched Systems and Application to Circuit Systems. IEEE Trans. Circuits Syst. II Express Briefs 2020, 67, 2542–2546. [Google Scholar] [CrossRef]
- Meng, F.; Pang, A.; Dong, X.; Han, C.; Sha, X. H∞ Optimal Performance Design of an Unstable Plant under Bode Integral Constraint. Complexity 2018, 2018, 4942906. [Google Scholar] [CrossRef] [Green Version]
- Meng, F.; Wang, D.; Yang, P.; Xie, G. Application of Sum of Squares Method in Nonlinear H∞ Control for Satellite Attitude Maneuvers. Complexity 2019, 2019, 5124108. [Google Scholar] [CrossRef] [Green Version]
- Liu, C.Z.; Zhu, Q.; Li, L.; Liu, W.Q.; Wang, L.Y.; Xiong, N.; Wang, X.Y. A State of Charge Estimation Method Based on H∞ Observer for Switched Systems of Lithium-Ion Nickel-Manganese-Cobalt Batteries. IEEE Trans. Ind. Electron. 2017, 64, 8128–8137. [Google Scholar] [CrossRef]
- Chen, W.; Chen, W.T.; Saif, M.; Li, M.F. Simultaneous Fault Isolation and Estimation of Lithium-Ion Batteries via Synthesized Design of Luenberger and Learning Observers. IEEE Trans. Control Syst. Technol. 2013, 22, 290–298. [Google Scholar] [CrossRef]
- Kim, I.S. Nonlinear State of Charge Estimator for Hybrid Electric Vehicle Battery. IEEE Trans. Power Electron. 2008, 23, 2027–2034. [Google Scholar]
- Zheng, G.; Efimov, D.; Bejarano, F.J.; Perruquetti, W.; Wang, H. Interval observer for a class of uncertain nonlinear singular systems. Automatica 2016, 71, 159–168. [Google Scholar] [CrossRef]
- Berger, T.; Reis, T. Observers and Dynamic Controllers for Linear Differential-Algebraic Systems. SIAM J. Control Optim. 2017, 55, 3564–3591. [Google Scholar] [CrossRef]
- Duan, G.R. Analysis and Design of Descriptor Linear Systems. In Advances in Mechanics and Mathematics; Springer New York: New York, NY, USA, 2010; Volume 23. [Google Scholar]
- Löfberg, J. YALMIP: A Toolbox for Modeling and Optimization in MATLAB. In Proceedings of the CACSD Conference, Taipei, Taiwan, 2–4 September 2004; IEEE: New York, NY, USA, 2004. [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/).









