Abstract

A new sliding mode observer is proposed in this paper; compared with the existing sliding mode observer used for SOC estimation, the new observer has the advantages of simple design and good generality. The robustness of the new observer was proved by Lyapunov stability theorem. Taking the first-order Randle circuit model of the battery as an example, the new sliding mode observer was designed. Battery test was done with the simulated FUDS condition, and the robustness of the new observer was verified by the test. Because battery internal ohmic resistance is changing in battery working process, which has a significant effect on SOC estimation, a new double sliding mode observer was designed to identify the internal resistance. The tests results show that the battery internal ohmic resistance changes greatly when the SOC is low and the double observer can accurately identify the resistance which improves the accuracy of the battery model. The results also show that the new double observer is robust and can improve the precision of SOC estimation when the battery remaining capacity is low.

1. Introduction

For the requirements of energy saving, environmental protection, and the industrial upgrading, electric vehicles (EVs) have become a new development direction of automobile industry. The lithium battery has the advantages of high energy density, high power density, long cycle life, and so on, so it has become the main storage component of EVs. The battery management system (BMS) has the functions of maintaining safe and reliable battery and giving full potential of battery performance, and state of charge (SOC) estimation is the basis of battery management.

When battery works, there exist complex physical and chemical reactions in the battery, so the battery parameters show strong nonlinear uncertain characteristics, which make it very difficult to estimate the battery SOC. Current integral is a common estimation method, but this method needs to know the initial SOC, and the current measurement error accumulates over time [1, 2]. The modeling method is designing battery electrochemical model and analyzing the parameters for SOC estimation, and this method involves multiple parameters’ analysis, fitting, and calculation [3]. Electrochemical impedance spectrum (EIS) analysis needs an external multifrequency excitation source [4, 5]. The estimation accuracy of Kalman filter relies on battery model; however, it is difficult to obtain the noise covariance of the model [612]. Neural network requires a large amount of sample data to train the model. The sample data selection and the training methods affect the estimation accuracy [1216]. Least squares and mathematical fitting are all based on the fitting curves, and the methods are limited by the fitting conditions [17, 18]. Luenberger observer and H infinity observer are nonlinear observers. Luenberger observer lacks robustness and the estimation result is influenced by the uncertain disturbance [19]. H infinity observer is robust, but the design is complex [20, 21].

Sliding mode observer has good robustness and can estimate battery SOC in real time, which is suitable for electric vehicle power battery SOC estimation [2232]. At present, there are mainly two design methods of sliding mode observer: () battery state space equation is established in matrix form, and the observer is designed for the whole state vector estimation [2225]. This method requires solving matrix equations, so the design is complex. () Battery state space equation is established in the form of equations, and the observers are designed for each state component of the state vector estimation [2632]. This method needs to design multiple observers, so the design is complex and particularly the equation group dimension is higher.

A new sliding mode observer is proposed in this paper. The new sliding mode observer neither requires solving matrix equations nor requires designing multiple observers, and the observer design is simple. The robustness of the new sliding mode observer was proved by Lyapunov stability theory. Because the battery internal ohmic resistance changes greatly when the SOC is low and the changing has significant impact on SOC estimation, a new double sliding mode observer was designed to identify the internal ohmic resistance, and the model parameter was updated in real time, which improves the accuracy of battery model.

The nth-order Randle circuit model was chosen to establish battery state space equation. Based on the model, a new observer was designed for SOC estimation. The design processes showed that the new observer is simple and generally applicable. In order to verify the performance of the new observer, a nominal capacity of 25 AH lithium battery was chosen as the test object. The test was operated with the simulated FUDS cycles, and the designed new sliding mode observer, based on first-order Randle model, was used to estimate the SOC with the test data. The estimation results showed that the new sliding mode observer is robust. A new double sliding mode observer was designed to identify the battery internal ohmic resistance and to estimate the SOC. The tests results showed that the new double sliding mode observer can accurately identify the internal ohmic resistance and also showed that the internal ohmic resistance changes greatly when the battery runs low, and the new double sliding mode observer improved the precision of SOC estimation when the battery residual capacity is low.

2. Battery Modeling

2.1. Battery Modeling

State space equation of the battery nth-order Randle circuit model is simple and regular, so the circuit model was chosen to establish battery state space equation. The nth-order Randle circuit model is shown in Figure 1 [33], where is the open circuit voltage (OCV) and there exists a function relationship between and the battery SOC; is the internal ohmic resistance; and reflect the charge transfer and diffusion effect; is the battery input current; and is the battery terminal voltage.

Choosing as state vector, assuming the battery capacity is , and considering the influence of linearization error, the errors caused by battery internal and external disturbances, and so on, the nth-order Randle circuit model state space equation can be expressed aswhere are the sum of all the above errors, which are bounded, nonlinear, and uncertain functions. The battery observation equation is expressed asEquations (1) and (2) are battery state space equation, where state vector , observation , and the coefficient matrixes of the system are , and . The circuit model is Thevenin circuit model when , and it is 2nd-order circuit model when .

In battery working process, the battery internal ohmic resistance is changing, and the changing resistance can be expressed as [26]where is the time-varying battery internal ohmic resistance; is the initial ohmic resistance; is a constant coefficient; and is a bounded, nonlinear, and uncertain function. By the derivative of (3), the state equation of the internal ohmic resistance can be expressed as [26]where is a bounded, nonlinear, and uncertain function; is taken as 0 in this paper; and (4) and (2) are the state space equations of the internal ohmic resistance.

2.2. Battery Model Parameters Identification

The battery circuit model parameters values can be obtained through pulse discharge. When the battery SOC = 94.9%, battery terminal voltage curve after pulse discharge is shown in Figure 2.

From Figures 1 and 2, it can be seen that the ohmic internal resistance of circuit model can be expressed as RC branch time constants of circuit model are . Battery terminal voltage after pulse discharge can be given asThe sum of the branch resistances can be expressed asAccording to (6) and (7), time constants and branch resistances can be obtained by least squares method.

The first-order Randle circuit model is Thevenin circuit model. After pulse discharge, 200 sampling points were chosen to identify the parameters of the model with least squares method. The parameters of Thevenin circuit model are shown in Table 1.

2.3. The Function of the SOC versus OCV

There exists a function relationship between SOC and OCV, which can be got by measurement and mathematical fitting method. Taking OCV as independent variable, the function of SOC versus OCV is shown in Figure 3.

The estimation results of the new observer are OCV and terminal voltages of all the RC parallel branches and SOC estimation can be got according to the function of SOC versus OCV.

3. Design of the New Double Sliding Mode Observer

3.1. The New Sliding Mode Observer

Assume the nonlinear uncertain system is modeled by the following equations:where , , , and are coefficient matrixes, is the control variable, and are full rank, is observable, and is a bounded uncertain nonlinear function. For system (8), the observer is designed as [34]where is the system state estimation, is the designed matrix, and is the designed control variable of the observer. Assume the system state estimation error is . From (8) and (9), the error system can be expressed aswhere . The sliding mode surface is designed asThe control variable is designed as Block matrix form of error system can be written asThe block matrixes are . The corresponding block matrix form of sliding surface can be written asMeeting the following two assumptions, the observer is robust:(1) is Hurwitz matrix, and the last column of is zero vector, which is and .(2).

3.2. Convergence Proof of the New Observer

Lyapunov function is chosen asThen,Because and If and , then .

Therefore, the state variable converges to the sliding mode surface.

From (11) and (12), it can be seen that the control variable on the sliding mode surface. The error system linear row transformation does not change the convergence of the system. With the transformation of (13) and for and , the error system can be expressed aswhere is the linear row transformation result of . is a Hurwitz matrix, so is also a Hurwitz matrix, and so converges to zero-equilibrium point. According to (14), can be expressed asTherefore, also converges to zero-equilibrium point, as a result, converges to zero-equilibrium point, and the convergence speed is related to the eigenvalue of . For the system is an uncertain system, the convergence of the new observer is robust.

3.3. Design of the New Double Sliding Mode Observer

According to state equations (1) and (2), the discrete form of the new sliding mode observer is expressed aswhere ,The open circuit voltage is the component of state vector , so the open circuit voltage estimation also can be obtained. Battery SOC estimation can be got through the function of SOC versus OCV, and it is given as

We design , and, according to , then , which meets assumption (1). According to the test, we design , which can meet assumption (2). From the design processes, it can be seen that the new observer design is simple.

The new observer also can be used in the other battery models for SOC estimation. As long as the coefficient matrixes of battery models meet the two assumptions of the new observer, the new sliding mode observer, based on the models, can be designed as (20)–(24); therefore the new observer is generally applicable.

Based on internal ohmic resistance state equations (4) and (2), the discrete form of the sliding mode observer for the resistance is designed as [26]where is the designed parameter. According to (3), the observer can be expressed asAccording to (4) and (26), the state equation of error system can be expressed as [26]If , then , and the error of internal ohmic resistance converges to zero.

The discrete form of the observer for internal ohmic resistance estimation is expressed asEquations (20)–(24), (28), and (29) are the new double sliding mode observer, and the estimation results of the observer are SOC, internal ohmic resistance, and terminal voltage of all the RC parallel branches. Figure 4 is the schematic diagram of the new double sliding mode observer.

4. The Experimental Verification

4.1. The Battery Testing Platform

In order to verify the performance of the new dual sliding mode observer, a 25 AH nominal capacity lithium ion power battery was tested under simulation conditions; the battery is shown in Figure 5.

Battery testing platform consists of Arbin BT2000 battery testing system which is shown in Figure 6(a), thermostat which is shown in Figure 6(b), host computer, and the corresponding monitoring software. The battery testing system is controlled by the host computer and has battery charge and discharge functions. The monitoring software has the function of setting battery working conditions. The host computer can collect, monitor, and store battery experimental data in real time. The thermostat maintains the battery external environment temperature.

4.2. SOC Estimation with the New Sliding Mode Observer

The test battery, shown in Figure 5, was put into the incubator, in which the temperature was 20°C, for two hours, and was repeatedly charged and discharged in order to activate it and then was charged to SOC = 100%. Because the simulated FUDS condition includes charge and discharge processes, to avoid the battery being overcharged, firstly it was discharged for 1 AH with C/3 rate and then it was operated under the simulated FUDS drive cycles. When the battery terminal voltage reaches 3 V cut-off voltage, the test was stopped. Battery test platform can measure and store battery current and terminal voltage in real time, and the sampling time is 1 second. The battery working current and terminal voltage under the simulated FUDS drive cycles are shown in Figure 7.

If the initial battery SOC is known, the real SOC can be obtained through current integration when the integration time is not too long. The equation of current integration for real SOC calculation is expressed aswhere SOC0 is the initial SOC, is the battery capacity, is the battery current, and is the current efficiency. and can be obtained through measurement. The battery residual capacity can be got through open circuit voltage method. In the test, the battery residual capacity is 0.78 AH. The sum of the discharged electricity quantity, calculated with , and the residual capacity is almost equal to the battery capacity, so is taken as 1.

When using the new sliding mode observer and the new double sliding mode observer, the initial state can be set as an arbitrary value within the stable range of the observers. The first-order Randal model observer is used in the paper. We may assume that the initial open circuit voltage is 4.1 V, 4.2 V, and 4.3 V, and the initial polarization voltage is Vp = 0 V, then the initial state vector is , , and . The estimation results of the new sliding observer are shown in Figure 8, and the corresponding estimation errors are shown in Figure 9.

From Figures 8 and 9, it can be seen that the estimation results of the new observer are not affected by the nonlinear uncertain functions part of the battery state equation, so the new sliding mode observer is robust. If the battery initial states are the above values, the maximum estimation error of the new observer is 2.41% when the estimation results are stable. In the observer stable range, almost the same convergence result can be got when choosing the other initial state vectors.

4.3. SOC Estimation with the New Double Sliding Mode Observer

In battery working processes, the internal ohmic resistance is changing over time. The test battery is a power-type battery, and it can be known, through the test, that the discharge current rate has very little impact on the battery internal ohmic resistance [35, 36], so the battery real internal ohmic resistance can be obtained through pulse discharge method. At room temperature, the internal ohmic resistance estimations by the new double sliding mode observer and the real values at different SOC values are shown in Figure 10, and the corresponding internal ohmic resistance estimation errors are shown in Figure 11.

From Figures 10 and 11, it can be seen that although the initial states are different, the estimations of the internal ohmic resistance converge to the real value, which improves the accuracy of battery model. When the SOC is low, the estimation errors of the resistance are larger, but the change rate of the open circuit voltage with respect to the SOC is larger too, which reduces the effect of the estimation errors on the SOC estimation.

If the initial state vector is , and , the SOC estimations of the new double sliding mode observer are shown in Figure 12, and the corresponding estimation errors are shown in Figure 13.

From Figures 12 and 13, it also can be seen that the new double sliding mode observer is robust. In Figure 13, the maximum estimation error of the new double sliding mode observer is 1.85% when the estimation results are stable.

Assume the initial state is , and the SOC estimation errors of the two observers are shown in Figure 14. Figures 10 and 11 show that the internal ohmic resistance changes greatly at the low SOC. The new double sliding mode observer can identify and update the resistance in real time, which improves the accuracy of the model and the SOC estimation when the SOC is low. Figure 14 shows that the double observer decreases the magnitude of the error and the average error when the SOC is low.

5. Conclusions

(1)A simple design sliding mode observer is proposed in this paper. The robustness of the new observer was proved by Lyapunov’s stability theory and the performance of the observer was verified by the simulated FUDS driving condition.(2)Compared with the new sliding mode observer, the new double sliding mode observer improves the accuracy of battery model and improves the SOC estimation when the battery SOC is low.(3)The analysis shows that as long as the coefficient matrixes of the battery state equations meet the two assumptions, the observer of the state equations can be designed as the new sliding mode observer in this paper, so it has good generality.(4)In theory, the other model parameters also can be identified with the new double sliding mode observer, but in practice, for the influences of measurement errors, various interferences, and nonlinear characteristics, they are difficult to be identified if the change of the parameters has no significant impact on the observations.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The work was supported by the National Natural Science Foundation of China (no. 51477009).