1. Introduction
As energy storage components, batteries play a significant role in the development and widespread market penetration of electric vehicles (EVs). For potential EV and HEV customers, safety and reliability of the high efficiency battery are the top concerns. Due to volatility, flammability and entropy changes, batteries have a potential to ignite or even explode when overcharged. These serious safety problems have caused several fatal accidents and also caused a great deal of public concern and skepticism about EVs and HEVs. Solutions to all these problems lie not only in battery technologies but also the management systems for the batteries. Battery management system (BMS), which integrate the battery system with the rest of the power train, play a vital role in improving battery performance, safety and reliability. Meanwhile, as one of the critical tasks of the BMS, accurate estimation of state of charge (SOC) has attracted considerable attention and effort.
Many different approaches to estimate SOC can be found in the literature. Accurate estimation of SOC is a challenge, mainly because of the uncertainties involved, such as temperature, varying power requests, aging effects and so on. Reviewing the extensive literature of SOC estimation, one can find that they all fall into two categories, those based on open-loop models and those based on closed-loop models.
Pattipati
et al. [
1] have summarized the methods most commonly used for SOC estimation, including Ah counting approach, open-circuit voltage (OCV) measurement, electrochemical models, electrochemical impedance spectroscopy, equivalent circuit models, neural network and fuzzy logic methods. All aforementioned models have their own advantages and suitable implementation situations. The Ah counting approach, as shown in
Figure 1, is the basic approach followed directly by the definition of SOC and also the simplest. This method is accurate only if the current transducer is fairly precise and sufficient SOC re-calibration points are available. The major drawback is that it is sensitive to current measurement accuracy and needs regular re-calibration. From
Figure 1, we can infer that there are one input and one output for the battery model. Because it is an open-loop model, the output voltage error can barely be controlled or eliminated. As time goes on, voltage errors will accumulate and probably diverge, which may provide harmful information and have unfavorable effects on the battery system and control strategy.
Figure 1.
Open-loop battery model.
Figure 1.
Open-loop battery model.
To improve the output accuracy of the battery model, the closed-loop model, as shown in
Figure 2, was developed and implemented in several applications [
2,
3,
4,
5,
6,
7,
8]. Plett [
9,
10,
11] first applied the Kalman filter theory to estimate the SOC by modeling the battery system to include the unknown quantities in its state description. From
Figure 2, we can see that the Kalman filter algorithm is a closed-loop form based upon a feedback mechanism. It adjusts the SOC value dynamically according to the voltage error between the measured voltage value and the estimated voltage value from the battery model. Then the adjusted SOC value and the current feed back to the battery model, to generate a new estimated battery voltage. After much iteration, the output voltage of the model will achieve a dynamical equilibrium, approximately equal to the measured terminal voltage. An additional benefit of the Kalman filter is that it automatically provides dynamic error bounds on the estimation as well. This method provides the safety information specifics of the battery pack, reducing the chance of overcharge or overdischarge. The drawbacks of this method lay in the computational complexity and more stringent requirements for the accuracy of the battery model.
Figure 2.
Closed-loop battery model.
Figure 2.
Closed-loop battery model.
A battery is a very complex electrochemical system with physical/chemical processes and some extra side reactions, such as aging and self-discharge effects. Therefore, it is difficult to build the relationships between the load voltage and varied current based on its internal chemical reaction process and electrode dynamics. In most instances, we just build a data-driven model, which means that the battery model is established according to the measured data.
The time series modeling approach is a mathematical model, which is built only based on the observed input and output sequence, without knowing the system’s detailed characteristics and internal principle. For its simplicity and validity, this modeling method has been widely used in stochastic optimal control and adaptive control applications. The time series models can be classified into two types: the stationary time series and non-stationary time series, respectively. In the stationary time series, the output sequence can be taken as the output of a zero-mean white noise sequence through the linear filter, such as Equation (1). Here the dynamic voltage of the battery
ud, as shown in
Figure 3, can be seen as a zero-mean sequence once the input signal has zero-mean white noise properties. For this reason, we bring in the concept of time series, taking the current and dynamic voltage
ud as two separate time series sequences. The relation of the current and dynamic voltage could be modeled as a time-series model.
In the time series family, there are many models to be chosen, such as Box-Jenkins, ARX, ARMAX, and ARMA,
etc. A summary of the most used time series models is provided in
Table 1.
Table 1.
Summary of the time series models.
Table 1.
Summary of the time series models.
Model Type | Equation Form | Description |
---|
Box-Jenkins | | It’s a universal form and its transfer function involves with the input and error signals separately. The drawback maybe the computation complexity |
ARMAX | | This is an alternation of B-J equation with the changed by for simplicity. It builds the connection between the output and error. |
ARMA | | It is used to characterize the noise process, without the presence of the input “or exogenous” variable. |
ARX | | This model reveals that the additive noise is not white noise but colored noise that is strongly influenced by the nature of the , just a special case of ARMAX. |
From the above comparison of time series models, we can infer that the Box-Jenkins model is one universal form, which involves the input and error signals separately, suitable for various conditions. The weakness of this model lies in the intensive computational requirements. The ARMAX model is also excessively concerned about the stochastic error signals. The ARMA model is just a noise process model, with no consideration of the input or “exogenous” variable effects. As the simplest, the ARX model cares about the additive noise influenced by the
which is the autoregressive operator of battery dynamic voltage. Therefore, as a specific case of ARMAX, the ARX model for the battery cell was adopted in this paper, as shown in
Figure 3.
Based on an ARX model, the SOC estimation method using the extended Kalman filter is studied. Experiments are performed on a 60 Ah LiFePO4 battery module. The hybrid pulse power characterization (HPPC) schedule is used to identify the proposed model, as well to verify the model and the SOC estimation method using Kalman filters.
This paper is organized as follows:
Section 2 gives an introduction of the experimental setup and test sequences. The ARX model and its order selection, parameter identification algorithm and results are discussed in
Section 3. The Kalman filter SOC estimation method based on the ARX model is described in
Section 4. Evaluation of the adaptability of the battery models and robustness of the SOC estimation algorithm are also verified.
Section 5 gives a brief summary of this paper and provides some future outlook.
Figure 3.
ARX battery model.
Figure 3.
ARX battery model.
3. Battery Model
The lithium-ion battery is a dynamic system, which varies according to the different operating conditions, such as current fluctuation, variable temperatures, and altering SOC ranges. As shown in
Figure 7, the equivalent circuit model [
15] can be considered as a reduced order model based on the electrochemistry principle. In this model, the internal resistances include ohmic resistance
R0, and electrochemical polarization reaction resistance
R1. The polarization capacitance C
1 is used to describe the transient response during the charging and discharging transient state. The model output voltage comprises two parts: one is the open-circuit voltage
uoc; the other is the dynamical effect voltage
ud. A model with a combination of these two parts is generally used to overcome their individual shortcomings. The open-circuit voltage method is especially important for a dynamic battery model, which describes the battery cell under different conditions and is also necessary for the SOC estimation.
Figure 7.
Equivalent circuit model with n-order.
Figure 7.
Equivalent circuit model with n-order.
For its simplicity and effectiveness, this model is widely used in real applications. However, some questions about this model still remain to be considered: (1) The first is the model order selection principle. As the model’s order increases, the model precision will be improved considerably at the cost of model complexity. There should be a trade-off between the model computational complexity and generalization ability; (2) another question is about the discretization and implementation.
Based on the above considerations, a much more straightforward approach will be an optimal solution to these problems. The auto regressive exogenous (ARX) model can provide an appropriate description of battery cell dynamics process in terms of two polynomials. One is the auto-regression term, which is used to simulate the cell dynamic voltage, correlating with its value during the previous time interval; the other one is the moving average term, which is used to predict the cell’s future behavior based on the effect of the input signal. As one universal battery modeling method, the ARX can tune its orders more flexibly according to user’s specific weight. At this point, that represents a notable difference from the equivalent circuit model. Furthermore, we can evidently see the difference of each model’s precision and complexity in the process of modeling. In brief, the ARX battery model is adopted here for its simplicity and efficiency, and its general diagram is shown in
Figure 8.
Figure 8.
The detail diagram of the ARX battery model.
Figure 8.
The detail diagram of the ARX battery model.
As seen in
Figure 8, the battery model consists of two main parts: one is the open-circuit voltage (OCV), denoted as
uoc, which is modeled by a look-up table; another is the dynamic effect voltage, denoted as
ud, which is modeled by the ARX form. The explicit content of each part will be illustrated separately in the following subsections.
3.1. OCV Model
The SOC is an indication of the amount of energy available in the battery compared to its maximum capacity, and it is very similar to the fuel gauge in its concept. The SOC can be mathematically expressed as an integration of the current over time as shown in Equation (2) [
5]:
where
is the initial SOC,
η is the (dis)charge efficiency,
t is the time, and
Cn is the nominal battery capacity, which is defined as the amount of charge the battery can hold under normal conditions.
Open circuit voltage (OCV) [
16,
17] tests are performed by consecutive discharge of the battery under various SOC and temperature conditions. In this paper, the test procedure is as follows: the battery is first discharged at a constant current of 0.3C ampere from the fully charged state to 95% of the nominal capacity at 25 °C in the thermal chamber. Afterwards, it is left in the open-circuit condition for 3 hours to reach the equilibrium potential. The procedure is repeatedly performed to obtain the equilibrium potentials while the SOC changes from 100% to 0%, and afterward a similar test procedure by charging the battery at a constant current of 0.3C ampere from the fully discharged state with the step of 5% of the nominal capacity is performed. The final results of the charge and discharge process are shown in
Figure 9(a).
It can be found the hysteresis phenomenon occurs: the equilibrium potential is higher during the charging process than that during the discharging process. In this paper, the hysteresis is ignored for its minor difference, and to simplify the model the open-circuit voltage νoc is defined as the average of the equilibrium potentials of charging and discharging.
Similarly, the same test procedures are repeated under different temperature conditions, such as −20, −10, 5, 15, 35 and 45 °C and the test results are shown in
Figure 9(b). Through the contrast, the reconstructed OCV curve at 25 °C can be taken as a balanced choice without regard to the temperature effect. Finally, the average OCV can be modeled explicitly by a regression Equation (3):
Figure 9.
Open-circuit voltage versus state of charge (SOC). (a) OCV varies with charging/discharging; (b) OCV varies with temperature.
Figure 9.
Open-circuit voltage versus state of charge (SOC). (a) OCV varies with charging/discharging; (b) OCV varies with temperature.
3.2. ARX Model
The ARX form is especially popular for discrete systems when there are just one input and one output. A n
th order linear time invariant ARX [
18,
19,
20] model is given by:
where
is the output sequence,
is the input sequence, and
ai and
bj are the system coefficients to be identified. The popularity of this form comes from the fact that it can be used to approximate any single-input, single-output (SISO) linear and time invariant system dynamics and is very easy to identify. The latter aspect will be discussed in detail in the following section.
To be explicit, we will take the first order equivalent circuit model and its discrete form as an example. As shown in
Figure 7, it is mainly composed of three parts, including open-circuit voltage
uoc internal resistance and equivalent capacitance. As for the resistance inside, it contains the ohmic resistance
R0 and the polarization resistance
R1. The equivalent capacitance
C1 is used to describe the transient response during the charging and discharging process.
ud is the voltage across
R0 and RC network, which is used to describe the dynamic effects of the battery. Based on this model, the mathematical relationship between the equivalent circuit model and ARX model will be illustrated clearly. In the equivalent circuit model as shown in
Figure 7, the transfer function of
R0 and RC network can be shown as follows:
From transfer function (5) and using the bilinear transform
, we can get the discrete transfer function of battery system with sample time
where:
According to Equations (6) and 6(a–c), the time-domain relationship between different samples of I/O is as follows:
The above equation is the specific form for the equivalent circuit model with first order, and the ARX model, as a more compact way, can be written in the following equation:
Specifically:
where
are the model orders, which need to be determined firstly by the order selection principle. The order of auto-regression term
and the moving average term
aims to simulate the cell nonlinear dynamics;
are the model coefficients, which need to be identified.
stands for the noisy disturbance, which was caused by the current sensor sampling error and signal conversion loss and so on. The related system identification approach will be introduced in detail by the next section.
3.3. Parameter Identification Algorithm
Generally speaking, parameter identification includes two essential parts: one is for the model order selection; another one is for the model parameter identification. As for the model order selection principle, numerous approaches exist in this field, such as the Minimum description length principle (MDL), the Bayesian information criterion (BIC), the Akaike information criterion (AIC),
etc. Some studies [
12,
21,
22,
23] suggest that AIC has theoretical and practical/performance advantages over the others. Furthermore, the rate at which AIC converges to the optimum is the best in a certain sense. Therefore, the AIC is a common and most adopted method. About the model parameter identification, there also exist different schemes, such as the errors-in-variables (EIV) estimation [
24,
25,
26], maximum likelihood techniques [
27,
28] or total least-squares [
29,
30] and other least-squares methods. Here the extended least-squares method [
31,
32,
33] has been employed for the model parameter identification. To be more specific, two aspects will be shown subsequently: the model order selection principle in
Section 3.3.1 and the parameter identification algorithm in
Section 3.3.2.
3.3.1. Order Selection
The battery system is a complex object, which involves chemical reactions and thermal/heat generation. In a sense, it’s hard to choose the optimal model structure. The input-output data may provide an effective way to obtain an accepted model structure. As we know, by increasing the model order, the model accuracy will be improved significantly. However, the model with a higher order will encounter the tendency of over-parameterization and unfavorable prediction ability, while the model complexity will increase greatly.
To address this problem, a common measure is Akaike’s information criterion (AIC), which provides a trade-off between the model complexity and the goodness of fit to the experimental data. The AIC is given by the following equation:
where
is the loss function,
is the number of estimated parameters in the model, and
is the number of values in the estimation dataset. The loss function
is defined by the following equation:
where,
represents the estimated parameters. For
The model with the lowest AIC should be preferred. It provides an optimal principle for the model order selection.
Based on the above mentioned order selection principle [Equation (11)], a good choice for the model structure would be ARX (2,2), as shown in
Figure 10. As the number of parameters increases, the output variance decreases insignificantly.
Figure 10.
Akaike’s information criterion (AIC) with corresponding number of parameters in ARX model.
Figure 10.
Akaike’s information criterion (AIC) with corresponding number of parameters in ARX model.
3.3.2. Parameter Identification
After the determination of the model order, the most important next step is to identify the model parameters. Here we will give a brief introduction to the parameter identification method. Let the inputs
and the corresponding outputs
be recorded with
If we introduce the vector:
where
then the model output can be rewritten as:
which is sometimes called a pseudo-linear regression because of the non-linear effect of
on the model output. The iterative method can be used for the parameter identification:
Usually, for i = 0, an ordinary least-squares solution is used. Subsequently, this solution provides prediction errors, which are used in the next step. This procedure is repeated a number of times until the estimates converge or the maximum number of iterations is reached.
Algorithm: Extended Least- Squares method for ARX model parameters identification:
Specify an ARX model structure in terms of , by the order selection principle;
Define the vector and the matrix with i = 0, as in Equation (14);
Calculate the unknown -dimensional parameter vector , based on the least squares estimation ;
Calculate the prediction errors , where and ;
Given the prediction errors from an ordinary least-squares estimation of the ARX-parameters, and then back to step 3, until reaching the final terminal criterion.
3.4. ARX Modeling Results
According to the parameter identification method mentioned above and the HPPC test cycle, we can identify the parameters of a specific ARX model. The previous research work [
34] has clarified that the optimal model for lithium-ion battery is the first-order RC model with one-state hysteresis. Therefore, to contrast the different performance of each ARX model, five ARX models, the ARX(1,1), ARX(1,2), ARX(2,1), ARX(2,2) and ARX(3,3) are listed here. By way of the system identification toolbox of MATLAB, final simulation results are shown in
Table 3.
Table 3.
List of the five ARX models and the identified results based on the HPPC test data.
Table 3.
List of the five ARX models and the identified results based on the HPPC test data.
model structure | ARX model equations in detail (identified by the HPPC test data) |
---|
(1,1) | |
|
(1,2) | |
|
(2,1) | |
|
(2,2) | |
|
(3,3) | |
|
Figure 11 presents the terminal voltage curve of the test data and the five-model simulation results. The comparison curves of the voltage error between the experimental data and the simulation data are drawn as shown in
Figure 12. To facilitate observation, the partially enlarged figure of the voltage error curves at SOC = 90% is presented in
Figure 13.
Figure 11.
The terminal voltage profiles of the five ARX models simulation and experiment.
Figure 11.
The terminal voltage profiles of the five ARX models simulation and experiment.
Figure 12.
The terminal voltage error curves between the simulation and experiment.
Figure 12.
The terminal voltage error curves between the simulation and experiment.
Figure 13.
The terminal voltage error curves between the simulation and experiment (enlarged at SOC = 90%).
Figure 13.
The terminal voltage error curves between the simulation and experiment (enlarged at SOC = 90%).
Table 4.
The statistic analysis list of the absolute values of terminal voltage errors.
Table 4.
The statistic analysis list of the absolute values of terminal voltage errors.
Model Type | Maximum (V) | Mean (V) | Variance (V2) | Max. Error Rate (%) |
---|
ARX(1,1) | 0.0504 | 0.0038 | 5.0609e − 005 | 1.4175 |
ARX(1,2) | 0.0463 | 0.0020 | 1.5309e − 005 | 1.3041 |
ARX(2,1) | 0.0510 | 0.0027 | 2.8467e − 005 | 1.4337 |
ARX(2,2) | 0.0395 | 0.0013 | 6.1995e − 006 | 1.1178 |
ARX(3,3) | 0.0285 | 0.0007 | 2.0243e − 006 | 0.8019 |
A statistical analysis on the absolute values of the terminal voltage errors is conducted, and the results are as shown in
Table 4. It shows that as the model order increases, the model error will decrease significantly at the expense of computational complexity. Here both the ARX(1,2) and ARX(2,2) have better dynamic simulation performance, which reveals that these two models are preferable for the lithium-ion batteries.
3.5. ARX Model Stability Evaluation
In this paper, the ARX model is defined as the Equation (8), and the parameter identification results are listed in
Table 3. Another critical problem about the ARX model remains to be confirmed: that is the model stability analysis.
Auto Regression (AR) Part:
As in Equation 8(a), we define the characteristic polynomial as:
Thereby, the characteristic equation is defined as:
To keep the ARX model output stable, the roots of the above equation should lie inside the unit circle.
Figure 14.
The root distribution of the AR part of five ARX models.
Figure 14.
The root distribution of the AR part of five ARX models.
Moving Average (MA) Part:
As in Equation 8(b), similarly we can find the characteristic polynomial of MA part as:
Thereby, the characteristic equation of MA is defined as:
To keep the ARX model stable, the roots of the above equation should lie inside the unit circle.
Figure 15.
The root distribution of the MA part of five ARX models.
Figure 15.
The root distribution of the MA part of five ARX models.
We conduct the stability analysis of the five proposed ARX models based on the stability Equations (15,16), and the roots distribution of these models are presented in
Figure 14 and
Figure 15. The graphic results show clearly that the eigenvalues of the characteristic equations of the five models are all located inside the unit circle. Therefore, all five ARX models are stable.
Summary of Battery Cell Model:
Simple model: note that
is open-circuit-voltage:
Here, if we take the ARX(2,2) structure as an example, then the discrete state space model will be as:
Define the state matrix X as:
Then, the matrix A, B, C and D can be written as follows:
where
s(
k) is SOC,
i(
k) is the current,
ud(
k) is the dynamic effect voltage,
y(
k) is the predicted cell voltage,
ηi is the (dis)charge efficiency (here assumed to be 1), ∆
t is the time sampling interval,
C is the nominal capacity.
4. Kalman Filter for SOC Estimation
The Kalman filter is a mature and advanced method to filter the measurement noise to get an optimal estimation of a dynamic system’s state. If the system is nonlinear, a linearization process at each time step will be necessary to approximate the non-linear system. The extended Kalman filter (EKF) [
35,
36,
37,
38,
39,
40] will play a great role in these systems. In our research, the extended-Kalman-filter is adopted to correct the proposed battery model, and the general diagram can be seen in
Figure 16. Based on the error between the model estimated voltage and the measured voltage, the EKF adjusts the SOC to change the model output voltage to minimize the voltage error. After a certain number of iterations, this error will converge to zero, while the SOC will converge to its optimal value. The whole operating principle of the model and EKF will be stated in detail here.
Figure 16.
Diagram of EKF-based SOC estimation algorithm.
Figure 16.
Diagram of EKF-based SOC estimation algorithm.
4.1. SOC Estimation Based on EKF and ARX Model
The extended Kalman filter (EKF) is a method for system state estimation in real time. In our application, to estimate the SOC during charging and discharging, the EKF can be constructed as shown in the following steps.
The state space representation (15) can be shortly expressed as:
where
is the
,
is the time index
is the output equation of the battery model,
is a discrete time process white noise with a covariance matrix
and similarly
is a discrete time observation white noise with covariance matrix
As for the
the
are the covariance of SOC and dynamic voltage
respectively.
Compute the following partial derivative matrices:
The initialization can be given by:
where
is the prediction error covariance matrix.
For k = 1,2,…, the following steps are performed:
Step 1: perform the time update of the state estimate and estimation error covariance:
Step 2: compute the Kalman gain matrix:
Step 3: measurement update:
The general diagram of the EKF can be illustrated by
Figure 17. After a certain number of iterations, the estimated voltage will converge to the measured value while the estimated SOC will be near to the actual value.
Figure 17.
General diagram of the extended Kalman filter.
Figure 17.
General diagram of the extended Kalman filter.
4.2. Results of EKF and ARX Model
4.2.1. Evaluation on the Adaptability of the Battery Models for SOC Estimation
In this part, five different identified ARX battery models are employed for the SOC calculation. We set the initial value as:
(herein,
the covariance matrix of process noise,
the covariance matrix of the measurement noise). The final ARX-based SOC estimation results with EKF are shown in
Figure 18(a). The dynamic voltages predicted by ARX models are presented in
Figure 18(b).
Figure 18(c) is a zoom in of the chart of
Figure 18(b), in order to indicate the detailed dynamic voltage estimation by different ARX models.
Figure 18.
SOC estimation profiles based on HPPC cycles with .
Figure 18.
SOC estimation profiles based on HPPC cycles with .
The SOC errors between the estimated value and Ah-counting value are shown in
Figure 19. A statistic analysis on the absolute SOC estimation errors is conducted and the results including the terminal SOC error are listed in
Table 5.
Figure 19.
SOC estimation errors based on HPPC cycles with .
Figure 19.
SOC estimation errors based on HPPC cycles with .
From
Figure 19, two obvious conclusions could be drawn: (1) through the error comparison, we can see that as the model accuracy increases, the SOC estimation error will be decreased notably. In our research, the maximum SOC error decreased from 3.12% to 1.39%, as the model changed from ARX(1,1) to ARX(3,3); (2) There is a tendency of SOC error variation. It continues to increase during the SOC range of 100%–40%, and then turns around to decrease during the SOC range of 30%–0%. This could be attributed to the property of OCV-SOC curves. As we know, the open circuit voltage is flat and does not vary greatly when the SOC is from 40% to 100%. The feedback mechanism of the Kalman filter is based on the OCV-SOC curve. For this sake, to keep our estimated voltage follow the measurement voltage closely, the adjustment of the SOC range will be enlarged. However, the situation changes along the OCV-SOC curve during 0%–30%. The open circuit voltage changes dramatically
versus the SOC. Therefore, to make the model output match the measurement voltage, much smaller adjustments of the SOC will be performed.
4.2.2. Evaluation on the Voltage Estimation Accuracy Influenced by the Kalman Filter
Due to the feedback mechanism, one advantage of the Kalman filter is that it can give a more precise estimation of terminal voltage. To illustrated this explicitly, a comparison is conducted on the EKF effect. The battery model of ARX(2,2), as a reference, is chosen here to compare with the ARX(2,2) + EKF. The terminal voltages of these two models are shown in
Figure 20, and the voltage error comparisons between the ARX(2,2) and the ARX(2,2) + EKF are shown in
Figure 21. Similarly, a statistic analysis on the absolute voltage estimation error is conducted, and some results are listed in
Table 5.
Table 5.
The statistic list of the absolute SOC estimation error and terminal SOC error.
Table 5.
The statistic list of the absolute SOC estimation error and terminal SOC error.
Model Type | Maximum | Mean | Variance | Terminal |
---|
(1,1,1) | 0.0312 | 0.0103 | 1.2746e − 004 | −0.0007 |
(1,2,1) | 0.0261 | 0.0085 | 0.8781e − 004 | −0.0005 |
(2,1,1) | 0.0288 | 0.0096 | 1.1017e − 004 | −0.0006 |
(2,2,1) | 0.0176 | 0.0056 | 0.3895e − 004 | −0.0003 |
(3,3,1) | 0.0139 | 0.0047 | 2.4982e − 005 | −0.0002 |
Figure 20.
ARX (2,2) model voltage vs. ARX(2,2) & EKF model voltage.
Figure 20.
ARX (2,2) model voltage vs. ARX(2,2) & EKF model voltage.
Figure 21.
Model voltage errors between two different models.
Figure 21.
Model voltage errors between two different models.
Table 6.
The statistic analysis list of the absolute values of terminal voltage errors.
Table 6.
The statistic analysis list of the absolute values of terminal voltage errors.
Model Type (2,2,1) | Maximum (V) | Mean (V) | Variance (V2) | Max. Error Rate (%) |
---|
without EKF | 0.0397 | 0.0014 | 6.1231e − 006 | 1.242 |
with EKF | 0.0165 | 0.0007 | 1.3492e − 006 | 0.513 |
According to
Figure 21 and
Table 6, it can be seen that with the use of EKF, the maximum terminal voltage error decreases notably from 0.0397 V to 0.0165V, meanwhile the mean error value reduces from 0.0014 V to 0.0007 V. This could be of great value and potential for real applications.
4.2.3. Evaluation on the SOC Estimation Accuracy Influenced by Its Initial Value
Another factor affecting the SOC estimation is the initial SOC bias. In order to investigate whether the ARX model and EKF algorithm can effectively avoid the original SOC offset, a further simulation and analysis is conducted.
Figure 22.
SOC curves for ARX(2,2) + EKF estimation with different initial SOC values (zoom in view).
Figure 22.
SOC curves for ARX(2,2) + EKF estimation with different initial SOC values (zoom in view).
Figure 23.
SOC curves for ARX(2,2) + EKF estimation with different initial SOC values (full view).
Figure 23.
SOC curves for ARX(2,2) + EKF estimation with different initial SOC values (full view).
Five different SOC initial values—1.00, 0.85, 0.70, 0.55, 0.30—are preset and the corresponding SOC estimations are performed based on the HPPC test data. The results are shown in
Figure 22 for the first 15,000 s and in
Figure 23 for the full view.
According to
Figure 22, we can see that the EKF estimations with different initial SOC values converge at different rates. About 5,000 seconds afterward, the SOC will converge to the same level, near to the true value, regardless of their initial SOC values.
Figure 23 is a full view of the whole convergence process. From this figure, we can find that even when the current is zero the SOC can adjust itself to the true value. The reason is that when the floating current is zero, the battery terminal voltage does not remain stationary, as a result of its dynamic effects. Therefore, the model and EKF algorithm itself will adjust the SOC to keep track of the real battery terminal voltage.
Figure 24.
SOC curves for ARX(2,2) + EKF estimation with different initial SOC values (full view).
Figure 24.
SOC curves for ARX(2,2) + EKF estimation with different initial SOC values (full view).
To speed up the convergence rate, we change the covariance matrix of noise from
to
. By increasing the covariance matrix of process noise
from 1
e − 6 to 1
e − 4 and covariance matrix of measurement noise
from 1
e − 1 to 5
e − 1, a much more rapid convergence rate will be obtained, as shown in
Figure 24.
We can infer that the time for its convergence is shortened dramatically and limited within 2,000 seconds at the cost of great variations. Herein another question is posed about how to determine the covariance matrix of noise
. Because of all kinds of noise, such as the sensor calibration bias, temperature effect, and environment electro-magnetic interference and so on, the noise of process and measurement is variable. A better solution to this problem may refer to the adaptive techniques [
4,
6,
8,
41] and markov chain ideas.
4.3. Discussion
To improve the convergence rate, we can change the sample time to a smaller time internal, such as 0.1 second. A smaller sampling time interval means more iterations and more feedback, which will do good to the SOC convergence. To verify the flexibility of the proposed model and algorithm, more validation sequences, such as the disturbance signal, sensor failure or temperature effects signals could be adopted. In this paper, we propose a more universal form of battery modeling and SOC estimation and this approach could also be applied to other kinds of batteries and components.