Next Article in Journal
Efficient Near-Field Analysis of the Electromagnetic Scattering Based on the Dirichlet-to-Neumann Map
Next Article in Special Issue
Small-Signal Modeling and Analysis for a Wirelessly Distributed and Enabled Battery Energy Storage System of Electric Vehicles
Previous Article in Journal
Patellofemoral Joint Loads during Running Immediately Changed by Shoes with Different Minimalist Indices: A Cross-sectional Study
Previous Article in Special Issue
Cooperative Optimization of Electric Vehicles and Renewable Energy Resources in a Regional Multi-Microgrid System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SOC Estimation with an Adaptive Unscented Kalman Filter Based on Model Parameter Optimization

1
School of Electrical Engineering and Automation, Henan Polytechnic University, Jiaozuo 454003, China
2
The Battery Research Institute of Henan Province, Xinxiang 453000, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2019, 9(19), 4177; https://doi.org/10.3390/app9194177
Submission received: 27 August 2019 / Revised: 20 September 2019 / Accepted: 2 October 2019 / Published: 6 October 2019
(This article belongs to the Special Issue Battery Management System for Future Electric Vehicles)

Abstract

:

Featured Application

The method of the research can be applied to the estimation of the remaining battery charge of electric vehicles.

Abstract

State of charge (SOC) estimation is generally acknowledged to be one of the most important functions of the battery management system (BMS) and is thus widely studied in academia and industry. Based on an accurate SOC estimation, the BMS can optimize energy efficiency and protect the battery from being over-charged or over-discharged. The accurate online estimation of the SOC is studied in this paper. First, it is proved that the second-order resistance capacitance (RC) model is the most suitable equivalent circuit model compared with the Thevenin and multi-order models. The second-order RC equivalent circuit model is established, and the model parameters are identified. Second, the reasonable optimization of model parameters is studied, and a reasonable optimization method is proposed to improve the accuracy of SOC estimation. Finally, the SOC is estimated online based on the adaptive unscented Kalman filter (AUKF) with optimized model parameters, and the results are compared with the results of an estimation based on pre-optimization model parameters. Simulation experiments show that, without affecting the convergence of the initial error of the AUKF, the model after parameter optimization has a higher online SOC estimation accuracy.

1. Introduction

The power battery State of charge (SOC) is generally defined as the ratio between the available capacity and the reference capacity. An accurate SOC estimation is an important basis for the formulation of an optimal energy management strategy for the whole vehicle control system of an electric vehicle (EV). It is of great significance for extending the life of the battery pack and improving the safety of the battery system [1,2]. Due to the nonlinear nature of the power battery, the SOC cannot be directly acquired by sensors; rather, it must be estimated by measuring physical quantities, such as the battery voltage, operating current, and internal resistance of the battery, and by using certain mathematical methods [3,4].
Commonly used estimation methods include the open-circuit voltage method, the ampere-hour integration method, the neural network method and the Kalman filter method [5,6,7,8,9]. The open-circuit voltage (OCV) can represent the discharge capacity of a lithium battery in its current state. It has a good linear relationship with the SOC when the SOC is greater than 0.1. The OCV cannot be directly measured during the working state of the battery; it can only be approximated when the battery is not working. Therefore, this method is only applicable to EVs that are parked, and the OCV method is used to provide an initial value of the SOC for other estimation methods. The ampere-hour (Ah) integral method is a relatively common, simple and reliable method for estimating the SOC. When the discharge current is positive and the charging current is negative, the calculation formula can be expressed as:
S O C t = S O C 0 1 C N 0 t η i d t
where SOC0 is the initial SOC value, CN is the maximum available capacity of the battery, which is almost invariant if the time scale is small and battery ageing is accordingly ignored [8], and η is the coulomb efficiency. The ampere-hour integral method has the advantages of low cost and convenient measurement. However, there are several problems in the application of this method in EVs: (1) Other methods are needed to obtain the initial value of the SOC. (2) The accuracy of the current measurement has a decisive influence on the accuracy of the SOC estimation. (3) The cumulative error of the integration process cannot be eliminated, and if the charging or discharging time is too long during one calculation, cumulative errors can cause estimates to be unreliable.
A neural network (NN) is an intelligent mathematical tool [10,11]. A NN has the adaptability and self-learning skills to demonstrate a complex nonlinear model. NNs use trained data to estimate the SOC without knowing any information about the internal structure of the battery and the initial SOC. Theoretically, the nonlinear characteristics of the power battery can be better mapped by a NN. The advantage of this method is that it is capable of working in nonlinear battery conditions while the battery is charging/discharging. Nevertheless, the algorithm needs to store a large amount of data for training, which not only requires large memory storage but also overloads the entire system.
The Kalman filter method [12,13,14] is the current research hotspot for SOC estimation. The core idea of the Kalman filter is the optimal estimate in the sense of minimum variance, including the two stages of prediction and updating. In the prediction stage, the filter applies the value of the previous state to estimate the current state, and in the updating stage, the filter optimizes the predicted value in the prediction stage by using the observed value in the current state to obtain a more accurate estimate of the current state. It should be noted that the basic Kalman filter is mainly applied to linear systems. However, the estimation of the SOC is related to many factors, such as charge and discharge current, and cut-off voltage, and the influence of these factors on the SOC is nonlinear. For this reason, some people have used the extended Kalman filter (EKF) to estimate the battery SOC. Although some achievements have been made, there is a linearization error in actual use, and the Jacobian matrix is difficult to estimate. In recent years, a novel derivative Kalman filter algorithm, the unscented Kalman filter (UKF), has emerged to realize nonlinear filtering. The UKF directly uses nonlinear unscented transform techniques without the need for Taylor approximations of nonlinear equations. This process allows the mean and variance of the state of the nonlinear system to propagate directly according to the nonlinear mapping, thereby achieving a higher estimation accuracy.
In the traditional UKF algorithm [15,16,17,18,19], the covariance is a constant and cannot satisfy the real-time dynamic characteristics of the noise, which has a certain impact on the accuracy [20,21]. To eliminate this effect, the traditional UKF algorithm is improved by updating the covariance in real-time, which thus improves the accuracy of the UKF in this paper. This type of algorithm is called the adaptive unscented Kalman filter (AUKF) algorithm. On this basis, a reasonable optimization of the model parameters is studied, and a reasonable optimization method is proposed to further improve the accuracy of SOC estimation.
The structure of this paper is arranged as follows. In Section 1, the most commonly used methods for SOC estimation are introduced, and the proposed method of this paper is briefly described. In Section 2, the battery model is established, the model parameters are identified, and the model accuracy is verified. In Section 3, the AUKF based on a second-order resistance capacitance (RC) equivalent circuit model is presented. In Section 4, the basis and method of the reasonable optimization of the model parameters are put forward. In Section 5, the accuracy and initial error convergence of the AUKF before and after model parameter optimization are compared by simulation experiments, and the advantages of the proposed method are demonstrated. Finally, in Section 6, the research results of this paper are summarized, and future research directions are provided.

2. Establishment of Battery Model and Parameter Identification

The open-circuit voltage and internal resistance are the most basic components of an equivalent circuit model. All equivalent circuit models add other components on the basis of these two components to improve the model accuracy. Typical equivalent circuit models of lithium-ion batteries include the Rint model, the Thevenin model, the PNGV (Partnership for a New Generation of Vehicles) model and the multi-order RC loop model [22,23,24,25]. For the complicated polarization characteristics of a battery, some studies deduce and suggest that the models with more parallel RC networks connected in series should have a much higher accuracy; however, at the same time, memory is consumed, waste calculations are performed and bad real-time applications are caused.

2.1. Establishment of Lithium-Ion Battery Model

The measured terminal voltage response curve of the Sanyo lithium battery with a rated capacity of 2.6 AH at a certain state (SOC = 0.9 with a constant current discharge of 260 mAh at 0.5 C) at the end of discharge is shown in Figure 1.
The polarization effect of a lithium battery is usually expressed equivalently by an RC loop and is equivalent to the first-order zero input response after the battery is discharged. Its terminal voltage can be expressed as an exponential term ( I R e t τ ). Region 2 in Figure 1 is the disappearance process of the polarization effect. Exponential curves are used to fit the single index, double index and triple index coefficients of region 2, and the fitting results are shown in Figure 2.
It can be seen from Figure 2 that the reduced chi-squared statistics of the double and triple exponential fittings are smaller than that of the single exponential fitting. That is, the random error effect of the double and triple exponential fittings are smaller than that of the single exponential fitting. At the same time, the correction decision coefficient of the double and triple exponential fittings is larger than that of the single exponential fitting and is closer to 1, and the fitting effect is better. Therefore, the double and triple exponential fittings can more accurately reflect the polarization effect of the battery. By comparing the results of the double and triple exponential fittings, the sum of the squares of the residuals of the double exponential fitting is less than that of the triple exponential fitting, and the correction decision coefficient of the double exponential fitting is also closer to 1 than that of the triple exponential fitting. The results show that the double exponential fitting effect is better than the triple exponential fitting effect. The reason for this fitting result is that although the third-order RC loop can theoretically better reflect the dynamic characteristics of the battery, the third-order RC loop has one more RC loop than the second-order RC loop, which means that the third-order RC loop has two more unknowns than the second-order RC loop in the process of data fitting by computer. Therefore, the fitting effect of the third-order RC loop is not as good as that of the second-order RC loop, and it is proved that the second-order RC model is better than the others for a lithium battery. On this basis, considered comprehensively, the second-order RC equivalent circuit model, as shown in Figure 3, is adopted in this paper.
The model consists of three parts:
Voltage source: Voc represents the open circuit voltage of the power battery. In this paper, the influences of temperature and state of health (SOH) on the OCV are not considered, and the functional relationship between Voc and the battery SOC is studied under the same temperature and SOH conditions. Additionally, the effect of corrosion on the battery is neglected because the focus of this paper is on the equivalent circuit model.
Ohmic resistance: R is used to represent the internal resistance of the battery, which can be determined by the sudden change in voltage after the end of discharge, as shown in region 1 of Figure 1.
RC loop circuit: Two links of a resistor and a capacitor are superposed to simulate battery polarization, which is used to simulate the process of voltage stabilization after discharge. Region 2 of Figure 1 shows the change in voltage influenced by the RC loop circuit.
As shown in Figure 3, the functional relationship of the equivalent circuit model is as follows:
{ E ( t ) = i R + u s + u p + U ( t ) = F ( S O C ( t ) ) i = u s R s + C s d u s d t i = u p R p + C p d u p d t
For the discretization of Equation (2), the state equation is solved as:
[ u s , k u p , k ] = [ a s 0 0 a p ] [ u s , k 1 u p , k 1 ] + [ b s b p ] I k 1 + [ w 3 ( k ) w 5 ( k ) ]
U k = E k I k R U s , k U p , k + v ( k ) = F ( S O C k ) I k R U s , k U p , k + v ( k )
of which:
{ a s = e T R s C s ,   b s = R s R s e T R s C s   a p = e T R p C p ,   b p = R p R p e T R p C p

2.2. Identification and Verification of Battery Model Parameters

In the process of establishing the battery model, it is necessary to use the approximate linear relationship between the OCV and the SOC. In this section, based on the OCV–SOC relationship curve, the parameters of the second-order RC model are identified, and then the accuracy of the model is verified.

2.2.1. Obtaining the OCV–SOC Relationship Curve

The OCV–SOC curve was obtained from a 18,650 cylindrical lithium-ion battery manufactured by the Sanyo Corporation of Japan with a rated capacity of 2.6 Ah and a rated voltage of 3.7 V, as before. Charge and discharge experiments were carried out on the new battery at a constant temperature. The battery test platform is shown in Figure 4.
The OCV–SOC curves are calibrated under constant current and constant capacity intermittent discharge conditions of 0.2 C, 0.3 C, 0.4 C, 0.5 C, 0.6 C, 0.75 C and 1 C. The specific calibration process of each group is as follows [3]:
  • First, the battery is charged with a constant current (0.2 C), and then the battery is charged with a constant voltage (cut-off voltage of 4.25 V). After charging is completed, the battery is left for one hour to eliminate the polarization effect;
  • The battery is discharged with a constant current and a constant capacity (1/10 of the total capacity, 260 mAh);
  • After the discharge is complete, the battery is left for one hour, and then the open circuit voltage is measured;
  • Repeat steps 2 and 3 until the battery is completely discharged.
The calibration experiment results are shown in Figure 5. When the SOC is greater than 10%, the curves almost coincide. This shows that the OCV–SOC curves corresponding to different discharge rates are approximate under the same temperature (25 °C) and health conditions. In this paper, the OCV–SOC curve under the condition of 0.2 C constant current intermittent discharge is selected as the reference curve.
Using MATLAB to fit the polynomial coefficients, the approximate linear relationship between the OCV and the SOC can be obtained, as shown in Equation (6):
V o c = a 1 × S O C 6 + a 2 × S O C 5 + a 3 × S O C 4 + a 4 × S O C 3 + a 5 × S O C 2 + a 6 × S O C + a 7
where a1 = −34.72, a2 = 120.7, a3 = −165.9, a4 = 114.5, a5 = −40.9, a6 = 7.31, and a7 = 3.231.

2.2.2. Model Parameter Identification

Figure 6 is a schematic diagram of the terminal voltage response curve at the end of lithium battery discharge.
( V 1 V 0 ) is the process in which the voltage drop generated on the ohmic resistance inside the battery disappears at the end of discharge. Thus, the ohmic resistance of the battery can be obtained as R = V 1 V 0 I . The battery model adopted in this paper simulates the polarization process of the battery by superposing two RC links. An RC parallel circuit with a small time constant is used to simulate the process of rapid voltage change ( V 2 V 1 ) when the current of the battery changes abruptly. An RC parallel circuit with a large time constant is used to simulate the process of slow voltage change ( V 3 V 2 ) when the current of the battery changes abruptly.
The battery is assumed to discharge for a period of time during ( t 0 t r ) and then stay in a resting state for the remaining time. Here, t 0 , t d , and t r are the discharge start time, the discharge stop time and the static stop time, respectively. In this process, the RC network voltages are:
U s = { R s i ( t ) [ 1 e ( t t 0 ) τ s ]                           t 0 < t t d U s ( t d ) e ( t t d ) τ s                                       t d < t < t r
U p = { R p i ( t ) [ 1 e ( t t 0 ) τ p ]                           t 0 < t t d U p ( t d ) e ( t t d ) τ p                                       t d < t < t r
Let τ s = R s C s   and   τ p = R p C p be the time constants of the two parallel circuits. The voltage change ( V 3 V 1 ) is caused by the disappearance of the polarization effect of the battery. In this process, the battery voltage output is V = E I R s e t τ s I R p e t τ p , which can be simply written as V = E a e c t b e d t . This form can be used to fit the coefficients of the double exponential terms with MATLAB. After calculating a, b, c and d, according to R s = a I , R p = b I , C s = 1 R s c , and C p = 1 R p d , the values of R s ,   R p ,   C s ,   and   C p can be identified.

2.2.3. Model Accuracy Verification

After the model parameters have been identified, the accuracy of the model needs to be verified to determine whether the model parameters can be used for SOC estimation and parameter optimization in this paper. The precision of the model is verified by referring to the hybrid pulse power characterization (HPPC) experiment [26]. The simulated initial SOC is set to 0.5. The comparison between the experimentally measured voltage and the model simulation output voltage is shown in Figure 7. To better distinguish the difference, the error is presented in Figure 8.
As seen from Figure 7 and Figure 8, when the output voltage of the battery changes due to abrupt current changes, the output voltage of the simulation model can better track the measured voltage. The maximum error is 12 mV, which indicates that the model parameters can be used for the online SOC estimation of the Kalman filter and reasonable parameter optimization.

3. The AUKF Based on the Second-Order RC Equivalent Circuit Model

Based on the equivalent circuit model, the corresponding SOC estimation algorithm can be established. A power lithium battery is a typical nonlinear system. The nonlinear system is governed by the equations of state, and the observation equations are shown in Equation (9).
{ x k = f ( x k 1 , u k 1 ) + ω k 1 y k = h ( x k , u k ) + v k
where the random variables wk and vk represent the process and measurement noise, respectively. For the UKF, the iteration equation is based on a certain set of sample points, which are chosen to make their mean value and variance consistent with the mean value and variance of the state variables. Then, these points will recycle the equation of the discrete-time process model to produce a set of predicted points. After, the mean value and the variance of the predicted points will be calculated to modify the results, and the mean value and the variance will be estimated. Before the UKF recursion, the state variables must be modified in a superposition of the process noise and the measurement noise of the original states. The SOC of the lithium battery pack can be calculated using the ampere-hour integral method:
S O C ( t ) = S O C ( t ) 1 C N t t η i d t
In Equation (10), η = k i k t k c , where ki is the compensation coefficient of the charge and discharge rate, kt is the temperature compensation coefficient, kc is the cycle compensation coefficient, and CN is the actual available battery capacity. From the equivalent circuit model shown in Figure 3, the lithium battery equation of state can be obtained from Equations (2) and (10):
[ S O C k u s , k u p , k ] = [ 1 0 0 0 a s 0 0 0 a p ] [ S O C k 1 u s , k 1 u p , k 1 ] + [ η T C N b s b p ] I k 1 + [ ω 1 ( k ) ω 3 ( k ) ω 5 ( k ) ]
U k = E k I k R U s , k U p , k + v ( k )       = F ( S O C k ) I k R U s , k U p , k + v ( k )
where the values of each coefficient are shown in Equation (5). For the circuit model shown in Equations (11) and (12):
X k = [ x k T , ω k T , v k T ] T = [ S O C k , u s , k , u p , k , ω s o c , k , ω s , k , ω p , k , v k ] T
To facilitate the distinction, we can take x k = [ S O C k ,   U s , k ,   U p , k ] as the initial state of the system, yk as the raw output (its corresponding symbol is Uk in the circuit model of the lithium battery), and uk as the control variable (its corresponding symbol is Ik), and we can make Ψ = [ y 1 ,   y 2 ,   ,   y k ] . The operations of an ordinary UKF are as follows [27,28,29]:
(1) Time update of state estimation
The mean and variance of the extended state are obtained based on the optimal state estimation at the previous time. Select (2L + 1) sampling points (L is the dimension of the extended state, where L = 7). Finally, the sampling points are transformed by the state equation, and the state prediction is completed.
(1) Initialization, initial state determination:
{ x ^ 0 = E [ x 0 ] P 0 = E [ ( x 0 x ^ 0 ) ( x 0 x ^ 0 ) T ]
(2) State expansion:
{ X ^ 0 = E [ X 0 ] = E [ x ^ 0 ,   0 ,   0 ] P X , 0 = E [ ( X 0 X ^ 0 ) ( X 0 X ^ 0 ) T ] = [ P 0 Q R ]
E [ w m ,   w n ] = { Q   m = n 0   m n
E [ v m ,   v n ] = { R   m = n 0   m n
Q and R are covariance matrices, which are symmetric, and the diagonal is the variance in each dimension.
State mean expansion:
X ^ k 1 = [ ( x ^ k 1 ) T , w ¯ k T , v ¯ k T ] T
State variance expansion:
P X , k 1 = [ P x , k 1 Q R ]
(3) Sample point selection
Sample = { z i , X k 1 , i } , i = 0 , 1 , 2 , , 2 L + 1 , where X k 1 , i represents the selected points, and z i is the corresponding weighting value. Then, select the points in the following manner:
{ X k 1 , 0 = X ^ k 1 X k 1 , i = X ^ k 1 + ( ( L + λ ) P X , k 1 ) i i = 1 L X k 1 , i = X ^ k 1 ( ( L + λ ) P X , k 1 ) i i = ( L + 1 ) 2 L
The corresponding weighting values are:
{ z 0 ( m ) = λ L + λ z 0 ( c ) = λ L + λ + ( 1 + α 2 + β ) z i ( m ) = z i ( c ) = 1 2 ( L + λ )       i = 1 2 L
where λ = α 2 ( L + t ) L , z ( m ) is the corresponding weighting value of the mean, z ( c ) is the corresponding weighting value of the variance, and ( ( L + λ ) P X , k 1 ) i denotes the values of column i in the square-root matrix ( L + λ ) P X , k 1 . To ensure that the covariance matrix is definitely positive, we must take t 0 ; α controls the distance of the selected points, with 10 2 α 1 , and β is used to reduce the error of the higher-order terms. For a Gaussian [30], the optimal choice is β = 2 in this paper, along with t = 0 and α = 1 . X ^ k 1 , i consists of X ^ k 1 , i x , X ^ k 1 , i w and X ^ k 1 , i v .
Based on this, the time update of the state estimation is performed:
x ^ k | k 1 = E { [ f ( x k 1 ,   u k 1 ) + w k 1 ] | Ψ k 1 } = i = 0 2 L z i ( m ) [ A k 1 X k 1 , i x + B k 1 u k 1 + X k 1 , i w ] = i = 0 2 L z i ( m ) X k | k 1 , i x
(2) Time update of mean square error:
P x , k | k 1 = E [ ( x k x ^ k | k 1 ) ( x k x ^ k | k 1 ) T ] = i = 0 2 L z i ( c ) ( X k | k 1 , i x x ^ k | k 1 ) ( X k | k 1 , i x x ^ k | k 1 ) T
(3) A priori estimate of system output:
y ^ k = E { [ h ( x k ,   u k ) + v k ] | Ψ k 1 } = i = 0 2 L z i ( m ) [ h ( X k | k 1 x ,   u k ) + X k 1 , i v ] = i = 0 2 L z i ( m ) y k | k 1
(4) Calculation of the filter gain matrix:
L k = P x y , k P y , k 1 = i = 0 2 L z i ( c ) ( X k | k 1 , i x x ^ k | k 1 ) ( y k | k 1 , i y ^ k ) T [ i = 0 2 L z i ( c ) ( y k | k 1 , i y ^ k ) ( y k | k 1 , i y ^ k ) T ] 1
(5) Optimal state estimation:
x k = x ^ k | k 1 + L k ( y k y ^ k )
where yk is the actual measured value of the system output.
(6) Estimation of mean square error:
P x , k = P x , k | k 1 L k P y , k L k T
As the process noise and measurement noise are measured in real-time, and to update the covariance of the process noise and measurement noise in real time, the following is needed:
{ μ k = y k h [ x ^ k , u k ] F k = μ k μ k T R k v = ( F k + i = 0 2 L z i c ( y k | k 1 , i y k ) ( y k | k 1 , i y k ) T ) / 2 R k w = L k F k L k T
where μ k is the residual error of the system measured output, and y k | k 1 , i is the residual error of the system measured output estimated by the sigma points. Real-time updates of the process noise and measurement noise can be achieved by Equation (28). Thus, the establishment of the AUKF is completed.

4. Reasonable Optimization of Model Parameters

In the process of identifying the parameters of the battery model, it was found that the amount of experimental data is always limited for a battery that works continuously for a period of time. When these raw data are substituted into the model for SOC estimation, the parameter values before and after each measured model parameter are prone to abrupt changes.
This paper reasonably optimizes the model parameters when the SOC is 0.1 X (where X is an integer from 1 to 9). In Figure 9, the ohmic resistance R0 at the time when the experimentally measured SOC is equal to an integer multiple of 0.1 is shown.
When these raw data are substituted into the model for SOC estimation, there will be more abrupt changes or "spikes" in the variation curve of the parameters when the SOC is equal to an integer multiple of 0.1, as shown by the black circle in Figure 9. However, in actual continuous operation conditions, the change trend of each parameter of the battery is continuous and relatively flat, without an obvious inflection point. To make the data curve as flat as possible on the premise of approaching the real value, reasonable methods are considered to optimize the data measured in the test to eliminate the spike. Conventional polynomial fitting results in a very smooth fitting curve, but often has a large deviation from the true value, and the error trend at both ends of the curve is the most serious.
Given the data accuracy and the slowly changing curve characteristics, this paper adopts a reasonable optimization method to weaken data mutation. In time, S O C = 0.1 X ( X = 1 , 2 9 ), the model parameters are the identified real values, and the model parameters are optimized before and after 0.1 X. That is, point ( 0.1 X 0.01 ) and point ( 0.1 X + 0.01 ) are selected around point S O C = 0.1 X to optimize the model parameters of the point S O C = 0.1 X . When S O C = ( 0.1 X 0.01 ) , the model parameter values at times S O C = 0.1 X and S O C = ( 0.1 X 0.1 ) are connected by a straight line, and the model parameter value at time S O C = ( 0.1 X 0.01 ) is obtained by the functional relationship of the straight line and set as m . When S O C = ( 0.1 X + 0.01 ) , the model parameter values when S O C = 0.1 X and S O C = ( 0.1 X + 0.1 ) are connected by a straight line, and the model parameter value at time S O C = ( 0.1 X + 0.01 ) is obtained as n according to the functional relationship of the straight line. ( m + n ) / 2 is taken as the optimal value of the model parameter at time S O C = 0.1 X . After optimization, there is a small error in the model parameters at S O C = 0.1 X , but, in return, the model parameters are closer to the curve of continuous changes in the actual working conditions.
The data curve of the battery internal resistance R 0 measured at 25 °C and S O C = 0.5 is taken as an example. The R 0 values of group S O C = 0.49 and group S O C = 0.51 are selected as model reference data before and after the mutation point, and the average value of the times S O C = 0.49 and S O C = 0.51 are calculated as the analysis values of the original "peak" point. The obtained optimized data curve is shown in Figure 10.
From the optimized data curve, it can be seen that each data mutation and spike is weakened or smoothed, making the change trend of each parameter of the model closer to the actual operating conditions of the EVs. Similarly, the rest of the model parameter data are reasonably optimized (where the V o c original data curve is relatively smooth and will not be optimized).

5. Comparison of Online SOC Estimation before and after Model Parameter Optimization

The verification of the AUKF based on the optimization of the model parameters is divided into three aspects. First, the estimation accuracy of the AUKF is compared to that of the normal UKF. Second, the superiority of the AUKF estimation accuracy before and after the optimization of the model parameters is verified. Finally, the convergence of the AUKF to the initial value error of the SOC before and after the optimization of the model parameters is verified.
In the process of setting the battery charge and discharge state, the UDDS (Urban Dynamometer Driving Schedule) waveform [27] is used as a reference. To ensure correspondence with the experimental object (SANYO 18650 Li-ion battery) in the process of OCV–SOC calibration, the current signal in Figure 11 is adopted to describe the increase or decrease of the current in the discharging or charging process of the power battery. In one period, the average output current is 1.77 A, the maximum discharging current is 5.28 A, and the maximum charging current is 2.42 A. Each period is 1367 s, and the condition lasts for two periods.

5.1. Comparison of the Estimation Accuracy between the AUKF and the UKF

The third section explains in detail the process of establishing the AUKF. This section verifies the superiority of the AUKF and the UKF in terms of estimation accuracy in MATLAB/Simulink. The verification process is based on the model parameters before optimization. In this simulation model, the input current I(k) is integrated using the ampere-hour integral method. As there is no error in the current measurement due to outside disturbances, no accumulative error exists. Thus, the integration of the current in the simulation model can be regarded as the theoretical value of the SOC. The model simulation results and errors are shown in Figure 12 and Figure 13, respectively.
From the simulation results, the AUKF and the UKF can estimate the SOC online well under different charge and discharge rates. The UKF maximum estimation error is 2.98%, and the maximum estimated error of the AUKF is 2.28%; compared with the UKF, its estimation accuracy is significantly improved.

5.2. Comparison of the AUKF Estimation Accuracy before and after Optimization of the Model Parameters

Substituting the optimized model parameters into the AUKF simulation model, the results are compared with the estimated values before the optimization of the model parameters. The simulation output is shown in Figure 14, and the error is shown in Figure 15.
From the simulation results shown in Figure 14 and Figure 15, the online estimation of the SOC is closer to the theoretical value after the reasonable optimization of the model parameters. The maximum SOC estimation error obtained after optimization of the model parameters is 1.22% and compared to the maximum error of 2.28% before parameter optimization, the error decreases significantly. It is verified that the optimization process can significantly improve the online estimation accuracy of the AUKF based on the original data.

5.3. Convergence Comparison of the Initial Error of the AUKF before and after Parameter Optimization

The Kalman filter has a strong convergence effect on the initial error of the SOC. This section verifies the effect of the reasonable optimization of the model parameters on the initial error convergence ability of the AUKF. The initial value of the system state SOC in the AUKF is set to the same value, and the output of the AUKF estimation before and after model parameter optimization is compared. The initial SOC value is 0.9, and the simulation lasts for one cycle. A waveform comparison between the SOC value of the simulation model and the theoretical value is shown in Figure 16. Figure 17 shows the convergence of the initial error before and after the model parameter optimization of the first 400 s. The SOC estimation values before and after optimization at 200 s are given.
As seen from Figure 16, before and after model parameter optimization, the SOC values estimated by the AUKF converge to the theoretical value quickly. In Figure 17, at 200 s, the estimated value before optimization is 0.967, which is closer to the theoretical value than the optimized estimated value of 0.964, but the difference is only 0.003; that is, the difference is only 0.3%, which can be ignored. This shows that the convergence ability of the AUKF algorithm to the initial error before and after optimization of the model parameters is approximately the same, and optimization of the model parameters has no effect on the convergence of the algorithm.

6. Conclusions

The SOC provides vital state information for EVs and is strongly nonlinear and time-varying. For the purpose of the accurate online estimation of the SOC, the parameters of a second-order RC equivalent circuit model are identified by combining circuit principles and optimized rationally. The AUKF with optimized model parameters is used to estimate the SOC. The conclusions of this work can be summarized as follows:
  • The second-order RC model is proven to be the most suitable equivalent circuit model compared with the Thevenin and multi-order models.
  • The covariances of the process noise and the measurement noise of the UKF are updated in real time to improve the accuracy of SOC estimation.
  • A reasonable optimization method is adopted to weaken model parameter mutation. Optimized parameters can significantly improve the online estimation accuracy of the AUKF based on the original data and have little effect on the convergence of the algorithm.
In the future, to further improve the accuracy of SOC estimation, the influence of temperature and SOH on SOC estimation must be considered.

Author Contributions

Conceptualization, X.G. and X.X.; methodology, X.G.; software, X.G.; validation, J.G., Y.G. and X.X.; formal analysis, Z.L.; investigation, X.G.; resources, X.H.; data curation, X.H.; writing—original draft preparation, X.G.; writing—review and editing, X.X. and J.G.; visualization, X.X.; supervision, X.G.; project administration, X.G. and X.X.; funding acquisition, X.G. and X.X.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 61703145. The Key Scientific Research Projects of Higher Education Institutions in Henan Province, grant number 19A470001, 18A470014. The Key Scientific and Technological Research Projects in Henan Province, grant number 192102210073. The APC was funded by 192102210073.

Acknowledgments

I would like to express my deepest gratitude to my supervisor, Longyun Kang, who has provided me with valuable guidance at every stage of writing this paper. I would also like to thank the anonymous reviewers for dedicating the time to review my paper despite their busy schedules.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tong, S.; Klein, M.P.; Park, J.W. On-line optimization of battery open circuit voltage for improved state-of-charge and state-of-health estimation. J. Power Sources 2015, 293, 416–428. [Google Scholar] [CrossRef]
  2. Pan, H.; Lü, Z.; Lin, W.; Li, J.; Chen, L. State of charge estimation of lithium-ion batteries using a grey extended Kalman filter and a novel open-circuit voltage model. Energy 2017, 138, 764–775. [Google Scholar] [CrossRef]
  3. Guo, X.; Kang, L.; Yao, Y.; Huang, Z.; Li, W. Joint estimation of the electric vehicle power battery state of charge based on the least squares method and the Kalman filter algorithm. Energies 2016, 9, 100. [Google Scholar] [CrossRef]
  4. Yang, F.; Xing, Y.; Wang, D.; Tsui, K.-L. A comparative study of three model-based algorithms for estimating state-of-charge of lithium-ion batteries under a new combined dynamic loading profile. Appl. Energy 2016, 164, 387–399. [Google Scholar] [CrossRef]
  5. Meng, J.; Luo, G.; Ricco, M.; Swierczynski, M.; Stroe, D.I.; Teodorescu, R. Overview of lithium-ion battery modeling methods for state-of-charge estimation in electrical vehicles. Appl. Sci. 2018, 8, 659. [Google Scholar] [CrossRef]
  6. Xiong, R.; Cao, J.; Yu, Q.; He, H.; Sun, F. Critical review on the battery state of charge estimation methods for electric vehicles. IEEE Access 2017, 6, 1832–1843. [Google Scholar] [CrossRef]
  7. Meng, J.; Ricco, M.; Luo, G.; Swierczynski, M.; 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]
  8. Zheng, Y.; Ouyang, M.; Han, X.; Lu, L.; Li, J. Investigating the error sources of the online state of charge estimation methods for lithium-ion batteries in electric vehicles. J. Power Sources 2018, 377, 161–188. [Google Scholar] [CrossRef]
  9. Hannan, A.; Lipu, M.S.H.; Hussain, A.; Mohamed, A. A review of lithium-ion battery state of charge estimation and management system in electric vehicle applications: Challenges and recommendations. Renew. Sustain. Energy Rev. 2017, 78, 834–854. [Google Scholar] [CrossRef]
  10. Lai, X.; Qiao, D.; Zheng, Y.; Zhou, L. A fuzzy state-of-charge estimation algorithm combining ampere-hour and an extended kalman filter for Li-ion batteries based on multi-model global identification. Appl. Sci. 2018, 28, 2028. [Google Scholar] [CrossRef]
  11. Ismail, M.; Dlyma, R.; Elrakaybi, A.; Ahmed, R.; Habibi, S. Battery state of charge estimation using an Artificial Neural Network. In Proceedings of the 2017 IEEE Transportation Electrification Conference and Expo (ITEC), Chicago, IL, USA, 22–24 June 2017. [Google Scholar]
  12. Bishop, G.; Welch, G. An Introduction to the Kalman Filter. Proc SIGGRAPH 2001, 8, 41. [Google Scholar]
  13. Julier, S.J.; Uhlmann, J.K. New extension of the Kalman filter to nonlinear systems. Signal Process. Sens. Fusion Target Recognit. VI 1999, 3068, 182–193. [Google Scholar]
  14. Xiong, R.; Zhang, Y.; He, H.; Zhou, X.; Pecht, M.G. A double-scale, particle-filtering, energy state prediction algorithm for lithium-ion batteries. IEEE Trans. Ind. Electron 2017, 65, 1526–1538. [Google Scholar] [CrossRef]
  15. Sepasi, S.; Ghorbani, R.; Liaw, B.Y. Improved extended Kalman filter for state of charge estimation of battery pack. J. Power Sources 2014, 255, 368–376. [Google Scholar] [CrossRef]
  16. Pérez, G.; Garmendia, M.; Reynaud, J.F.; Crego, J.; Viscarret, U. Enhanced closed loop State of Charge estimator for lithium-ion batteries based on Extended Kalman Filter. Appl. Energy 2015, 155, 834–845. [Google Scholar] [CrossRef]
  17. Li, Z.; Zhang, P.; Wang, Z.; Song, Q.; Rong, Y. State of Charge Estimation for Li-ion Battery Based on Extended Kalman Filter. Energy Procedia 2017, 105, 3515–3520. [Google Scholar]
  18. Han, W.; Zou, C.; Zhou, C.; Zhang, L. Estimation of Cell SOC Evolution and System Performance in Module-based Battery Charge Equalization Systems. IEEE Trans. Smart Grid 2018, 10, 4717–4728. [Google Scholar] [CrossRef]
  19. Wei, H.; Zhang, L.; Han, Y. Computationally efficient methods for state of charge approximation and performance measure calculation in series-connected battery equalization systems. J. Power Sources 2015, 286, 145–158. [Google Scholar]
  20. Partovibakhsh, M.; Liu, G. An Adaptive Unscented Kalman Filtering Approach for Online Estimation of Model Parameters and State-of-Charge of Lithium-Ion Batteries for Autonomous Mobile Robots. IEEE Trans. Control Syst. Technol. 2014, 23, 357–363. [Google Scholar] [CrossRef]
  21. Cai, M.; Chen, W.; Tan, X. Battery state-of-charge estimation based on a dual unscented Kalman filter and fractional variable-order model. Energies 2017, 10, 1577. [Google Scholar] [CrossRef]
  22. Guo, X. Study on State of Charge Estimation and Equalization Technique of Electric Vehicle Battery. Ph.D. Thesis, South China University of Technology (SCUT), Guangzhou, China, 2016. [Google Scholar]
  23. Xikun, C.; Dong, S. Research on lithium-ion battery modeling and model parameter identification methods. Proc. CSEE 2016, 36, 6254–6261. [Google Scholar]
  24. Zhichao, H.; Geng, Y.; Languang, L. A Modeling for Power Battery Dynamics. Trans. Electrotech. Soc. 2016, 31, 194–203. [Google Scholar]
  25. He, H.; Zhang, X.; Xiong, R.; Xu, Y.; Guo, H. Online model-based estimation of state-of-charge and open-circuit voltage of lithium-ion batteries in electric vehicles. Energy 2012, 39, 310–318. [Google Scholar] [CrossRef]
  26. Ranjbar, A.H.; Banaei, A.; Khoobroo, A.; Fahimi, B. Online Estimation of State of Charge in Li-Ion Batteries Using Impulse Response Concept. IEEE Trans. Smart Grid 2012, 3, 360–367. [Google Scholar] [CrossRef]
  27. Yu, Q.; Xiong, R.; Lin, C.; Shen, W.; Deng, J. Lithium-ion battery parameters and state-of-charge joint estimation based on H-infinity and unscented Kalman filters. IEEE Trans. Veh. Technol. 2017, 66, 8693–8701. [Google Scholar] [CrossRef]
  28. Li, K.; Chang, L.; Hu, B. A variational Bayesian-based unscented Kalman filter with both adaptivity and robustness. IEEE Sens. J. 2016, 16, 6966–6976. [Google Scholar] [CrossRef]
  29. Li, Y.; Wang, C.; Gong, J. A wavelet transform-adaptive unscented kalman filter approach for state of charge estimation of LiFePo4 battery. Int. J. Energy Res. 2018, 42, 587–600. [Google Scholar] [CrossRef]
  30. Kandepu, R.; Foss, B.; Imsland, L. Applying the unscented Kalman filter for nonlinear state estimation. J. Process Control 2008, 18, 753–768. [Google Scholar] [CrossRef]
Figure 1. Terminal voltage response at the end of discharge.
Figure 1. Terminal voltage response at the end of discharge.
Applsci 09 04177 g001
Figure 2. Coefficient fitting of exponential curves.
Figure 2. Coefficient fitting of exponential curves.
Applsci 09 04177 g002
Figure 3. Second-order resistance capacitance (RC)RC battery model.
Figure 3. Second-order resistance capacitance (RC)RC battery model.
Applsci 09 04177 g003
Figure 4. Battery test platform.
Figure 4. Battery test platform.
Applsci 09 04177 g004
Figure 5. The calibration curve results.
Figure 5. The calibration curve results.
Applsci 09 04177 g005
Figure 6. Terminal voltage response curve at the end of battery discharge.
Figure 6. Terminal voltage response curve at the end of battery discharge.
Applsci 09 04177 g006
Figure 7. The voltage response comparison curve.
Figure 7. The voltage response comparison curve.
Applsci 09 04177 g007
Figure 8. The voltage response error.
Figure 8. The voltage response error.
Applsci 09 04177 g008
Figure 9. Original data curve.
Figure 9. Original data curve.
Applsci 09 04177 g009
Figure 10. Optimized data curve.
Figure 10. Optimized data curve.
Applsci 09 04177 g010
Figure 11. The input current waveform.
Figure 11. The input current waveform.
Applsci 09 04177 g011
Figure 12. The model simulation results.
Figure 12. The model simulation results.
Applsci 09 04177 g012
Figure 13. The model simulation errors.
Figure 13. The model simulation errors.
Applsci 09 04177 g013
Figure 14. SOC estimation before and after optimization of the model parameters.
Figure 14. SOC estimation before and after optimization of the model parameters.
Applsci 09 04177 g014
Figure 15. SOC estimation error before and after optimization of the model parameters.
Figure 15. SOC estimation error before and after optimization of the model parameters.
Applsci 09 04177 g015
Figure 16. The comparison of the SOC estimation between the simulated value and the theoretical value.
Figure 16. The comparison of the SOC estimation between the simulated value and the theoretical value.
Applsci 09 04177 g016
Figure 17. The comparison of the estimation values in the first 400 s.
Figure 17. The comparison of the estimation values in the first 400 s.
Applsci 09 04177 g017

Share and Cite

MDPI and ACS Style

Guo, X.; Xu, X.; Geng, J.; Hua, X.; Gao, Y.; Liu, Z. SOC Estimation with an Adaptive Unscented Kalman Filter Based on Model Parameter Optimization. Appl. Sci. 2019, 9, 4177. https://doi.org/10.3390/app9194177

AMA Style

Guo X, Xu X, Geng J, Hua X, Gao Y, Liu Z. SOC Estimation with an Adaptive Unscented Kalman Filter Based on Model Parameter Optimization. Applied Sciences. 2019; 9(19):4177. https://doi.org/10.3390/app9194177

Chicago/Turabian Style

Guo, Xiangwei, Xiaozhuo Xu, Jiahao Geng, Xian Hua, Yan Gao, and Zhen Liu. 2019. "SOC Estimation with an Adaptive Unscented Kalman Filter Based on Model Parameter Optimization" Applied Sciences 9, no. 19: 4177. https://doi.org/10.3390/app9194177

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop