Next Article in Journal
Electricity Demand Side Management
Previous Article in Journal
Resonant DC/DC Converters: Investigating Phase-Shift Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Multi-Timescale AEKF–AUKF Joint Algorithm for State-of-Charge Estimation of Lithium-Ion Batteries

School of Mechanical Engineering, Nantong University, Nantong 226019, China
*
Author to whom correspondence should be addressed.
Energies 2023, 16(16), 6013; https://doi.org/10.3390/en16166013
Submission received: 26 July 2023 / Revised: 4 August 2023 / Accepted: 10 August 2023 / Published: 17 August 2023
(This article belongs to the Section D2: Electrochem: Batteries, Fuel Cells, Capacitors)

Abstract

:
State-of-charge (SoC) estimation is one of the core functions of battery energy management systems. An accurate SoC estimation can guarantee the safe and reliable operation of the batteries system. In order to overcome the practical problems of low accuracy, noise uncertainty, poor robustness, and adaptability in parameter identification and SoC estimation of lithium-ion batteries, this paper proposes a joint estimation method based on the adaptive extended Kalman filter (AEKF) algorithm and the adaptive unscented Kalman filter (AUKF) algorithm in multiple time scales for 18,650 ternary lithium-ion batteries. Based on the slowly varying characteristics of lithium-ion batteries’ parameters and the quickly varying characteristics of the SoC parameter, firstly, the AEKF algorithm was used to online identify the parameters of the model of batteries with a macroscopic time scale. Secondly, the identified parameters were applied to the AUKF algorithm for SoC estimation of lithium-ion batteries with a microscopic time scale. Finally, the comparative simulation experiments were implemented, and the experimental results show the proposed joint algorithm has higher accuracy, adaptivity, robustness, and self-correction capability compared with the conventional algorithm.

1. Introduction

Due to the gradual depletion of fossil fuels and increasing environmental pollution caused by the widespread use of fuel-powered vehicles, electric vehicles have received increasing attention due to their advantages in energy conservation and environmental protection. Currently, lithium batteries are the main energy source for electric vehicles. Their SoC parameter is one of the most basic and critical parameters in the energy management of batteries and vehicle power distribution [1,2].
At present, scholars have studied various SoC estimation algorithms, the most commonly used being the open-circuit voltage algorithm, the ampere-hour integration algorithm, and the model-based algorithm. The open-circuit voltage algorithm requires a longer charging time, which is not suitable for practical engineering [3]. The accuracy of the ampere-hour integration algorithm is closely related to the selection of the initial value, and due to the operation of the integration, it will continuously generate accumulated errors [4]. The model-based algorithm is divided into three categories. One is the black-box model algorithm, such as the neural network method [5] and the support vector machine method [6]. These methods require a large amount of training data, and the generalization ability of the models are poor. The second is the electrochemical model method, which can accurately describe the changes inside the batteries, but the computational complexity is high. The third is the equivalent circuit model method, which combines the equivalent circuit model with the filtering algorithm; the computation is small and the robustness is good, but it has a high demand for the model accuracy [7].
In recent years, scholars have conducted extensive research on parameter identification and SoC estimation algorithms for equivalent circuit models of lithium-ion batteries. Online parameter identification can reflect the state changes of the batteries in real time, and compared with offline estimation algorithm, it does not need to collect a large amount of data offline, thus saving experimental time and cost [8]. The Kalman filter (KF) theory is a classical optimal filtering theory that adopts a time-domain state–space approach. It introduces the concept of a state space and utilizes the state equation of a linear system to perform optimal estimation of the system’s state based on the input and output observation data. The KF algorithm, guided by the principle of minimum mean square error, can provide optimal estimation for complex, dynamic systems and has been widely applied in parameter identification and state of charge (SoC) estimation of lithium-ion batteries; however, the KF algorithm is only applicable to linear systems and is not suitable for nonlinear systems. Consequently, scholars have started researching corresponding improved algorithms. Yang et al. [9] proposed an extended Kalman filter (EKF) algorithm based on a first-order RC model and optimized it through piecewise fitting. The accuracy of the optimized EKF algorithm was significantly improved. Miao et al. [10] proposed an adaptive fractional-order unscented Kalman filter (UKF) that addresses the issue of unknown parameters and order, thereby enhancing the precision of SoC estimation. Ma et al. [11] introduced a cubature Kalman filter (CKF) algorithm based on the generalized maximum correlation coefficient criterion. The results show that compared to the traditional KF algorithm, the proposed CKF algorithm is capable of accurately estimating the SoC of lithium-ion batteries under non-Gaussian noise interference considering different temperatures and operating conditions. Currently, most derived algorithms of the KF algorithm are combined with other advanced algorithms. Zhu et al. [12] proposed a co-estimation algorithm that employs recursive restricted total least squares to identify the model parameters, and unscented Kalman filter (UKF) to estimate the SoC parameter, which improved the identification accuracy of the model parameters, but the UKF algorithm could not effectively filter out the noise. Ge et al. [13] proposed an improved forgetting factor recursive least squares (FFRLS) based on dynamic constraint and parameter backtracking, and combined it with the extended Kalman filter algorithm (EKF) to estimate the SoC parameter of lithium-ion batteries, achieving high estimation accuracy; however, the complexity of the algorithm is high, the computational effort is large, and the noise variance has to be set as a constant in the EKF algorithm. Wu et al. [14] proposed an adaptive EKF algorithm based on the maximum correlation entropy criterion (MCC-AEKF), which uses the maximum correlation entropy criterion to obtain accurate SoC estimation results. By replacing the overall solution with the local optimal solution, the algorithm has high accuracy and adaptability for SoC estimation, but has strong dependence on the model. Liu et al. [15] proposed an online parameter estimation using the FFRLS algorithm and the adaptive unscented Kalman filter (AUKF) algorithm for SoC estimation, which has strong robustness to external disturbances.
There are multiple time constants in the electrochemical reactions and transport processes of lithium-ion batteries, which lead to the dynamic characteristics of lithium-ion batteries exhibiting different characteristics at different time scales; therefore, some scholars have started to study improved algorithms for the SoC estimation of batteries at different time scales. Xiong et al. [16] proposed a dual extended Kalman filter algorithm (DEKF) considering multiple time scales for online parameter identification and joint SoC estimation of batteries, which greatly improved the applicability of the model for complex operating conditions. Despite this, the EKF algorithm ignored some of the higher order terms when linearizing the nonlinear system, which, in turn, led to a certain number of errors. Ji et al. [17] proposed a multi-scale multi-innovation unscented Kalman filter and extended Kalman filter (MIUKF-EKF) joint algorithm. They used the EKF algorithm for parameter identification at the macro time scale and used MIUKF to estimate the batteries’ SoC at the micro-time scale, ensuring the accuracy of the SoC estimation and improving the computational efficiency; however, it cannot perform real-time correction of noise variance. Feng et al. [18] proposed a multi-time scale and capacity-based passive equalizer lithium-ion batteries pack equalization strategy, which uses a double extended Kalman filter and the minimum capacity difference model (MCDM) to estimate the SoC and capacity of the battery pack in multiple time scales. This method can efficiently and accurately estimate the SoC and capacity of new and old batteries and improve the calculation efficiency and accuracy of the minimum capacity cell and batteries pack. Although the algorithms above have made further progress in the parameter identification and SoC estimation of lithium-ion batteries, they fail to provide a comprehensive consideration in terms of the hardware computation volume, time variability of the batteries and uncertainty of noise.
In response to the advantages and disadvantages of the research in parameter identification and SoC estimation of lithium batteries discussed above, and considering the characteristics of slow changes in battery model parameters over time and rapid changes in SoC over time, this paper proposes an improved multi-time scale algorithm. That is, at the macroscopic time scale, the AEKF algorithm is used to identify the parameters of the battery equivalent circuit model online, and at the microscopic time scale, the AUKF algorithm is used to estimate the SoC of lithium batteries.
This work is organized as follows: Section 1 introduces the definition of batteries’ SoC and establishes the second-order RC equivalent circuit model for lithium-ion batteries. Section 2 presents the traditional EKF algorithm and UKF algorithm, and the proposed multi-timescale AEKF–AUKF joint algorithm with an implementation flowchart. Section 3 demonstrates the online identification of the model parameters of the lithium-ion batteries, and then compares and analyzes the identification accuracy of the EKF algorithm with that of the AEKF algorithm. Section 4 analyzes the accuracy of the proposed multi-timescale AEKF–AUKF joint algorithm for lithium-ion batteries’ SoC estimation, setting up three cases for comparison and analysis. Section 5 summarizes the work and research results of this paper.

2. Lithium-Ion Batteries Modelling

2.1. Definition of SoC

The batteries’ SoC represents the ratio of its remaining capacity after a period of use or long period of inactivity to the maximum available capacity. It can be expressed as [19]
S o C = C t C N × 100 % ,
where Ct represents the remaining capacity of the batteries and CN represents the maximum available capacity of the batteries.
In practical applications, in order to better simulate the batteries’ actual operating conditions, the following equation is often used to define the SoC based on multiple time scales.
S o C k , l = S o C 0 , 0 1 C N t 0 , 0 t k , l η I τ d τ ,
where k, l ∈ [1, L] are the time-scale indicators of the system parameters at the macroscopic time scale and the microscopic time scale, respectively, and L is the indicator defining the two time scales; SoCk,l is the SoC value at time tk,l, and SoC0,0 is the initial value of the batteries’ SoC; Iτ is the current value of the batteries at time τ (positive for the discharge current and negative for the charge current); and η is the coulombic efficiency, which is a function of temperature and current.
The discrete-time of Equation (2) above can be expressed as
S o C k , l = S o C k , l 1 η Δ t I k , l 1 C N .
where SoCk,l−1 is the SoC value at time tk,l−1, Δ t is the sampling interval between two adjacent measurement points, and Ik,l−1 is the current value of the batteries at time tk,l−1.

2.2. Equivalent Circuit Model

In order to improve the accuracy of the SoC estimation of lithium-ion batteries, a suitable equivalent circuit model that can more intuitively describe the influencing factors and operating characteristics of the batteries needs to be selected. In this study, the second-order RC equivalent circuit model was chosen, as shown in Figure 1. The RC circuit describes the polarization characteristics of the batteries during charging and discharging.
The electrical characteristics of the second-order RC equivalent circuit model can be expressed as
{ U L = U o c u 1 u 2 I R 0 u ˙ 1 = 1 R 1 C 1 u 1 + 1 C 1 I u ˙ 2 = 1 R 2 C 2 u 2 + 1 C 2 I .
where Uoc is the open circuit voltage of the lithium-ion batteries; I is its input current; u1 and u2 are the polarization voltages on the two RC networks, respectively; u ˙ 1 and u ˙ 2 are the first order derivatives of the polarization voltages u1 and u2, respectively; R0 is the internal resistance; R1 and R2 are the polarization resistances; and C1 and C2 are the polarization capacitances. Among them, the RC circuit composed of R1 and C1 mainly describes the electrochemical reaction process of ions gaining and losing electrons, while the RC circuit composed of R2 and C2 mainly describes the diffusion of ions in the electrolyte.
According to the slowly varying characteristics of lithium-ion batteries parameters and the quickly varying characteristics of the batteries’ state, a multi-timescale algorithm is used to construct the state–space equations, which predict the system parameter and the system state on macroscopic and microscopic timescales, respectively. The state–space equations can be expressed as
θ k + 1 = θ k + ρ k x k , l + 1 = f x k , l , θ k , u k , l + w k , l y k , l = g x k , l , θ k , u k , l + v k , l .
where xk,l is the system state matrix at time tk,l = tk,0 + l Δ t ; uk,l is the input variable of the system at the time tk,l, which is the input current of the lithium-ion batteries; θk is the system parameter matrix at time k, θ = [R0 R1 C1 R2 C2]; yk,l is the observation value at time tk,l, and it is the terminal voltage of the lithium-ion batteries; wk,l and ρk are the process noise of the system state and system parameter, respectively; and vk,l is the observation noise of the system at time tk,l. Both the process noise and observation noise are uncorrelated Gaussian white noise obeying Gaussian normal distribution. The variance matrix of the system parameter process noise ρk is M k = E ρ k ρ k T , the variance matrix of the system state process noise wk is Q k = E w k w k T , and the variance matrix of the system observation noise vk is R k = E v k v k T .
For the second-order RC equivalent circuit model in Figure 2, the discrete-time state Equation (6) and the observation Equation (7) of the batteries are obtained from Equations (3) and (4) based on the batteries’ characteristics.
x k , l + 1 = S o C k , l + 1 u k , l + 1 1 u k , l + 1 2 = 1 0 0 0 e Δ t τ 1 0 0 0 e Δ t τ 2 S o C k , l u k , l 1 u k , l 2 + η Δ t C N R 1 1 e Δ t τ 1 R 2 1 e Δ t τ 2 I k , l + w 1 k , l w 2 k , l w 3 k , l ,
y k , l = U o c S o C k , l I k , l R 0 u k , l 1 u k , l 2 + v k , l ,
where xk,l+1 is the state variable of the system at time tk,l+1, which contains the SoCk,l+1 of the lithium-ion batteries at time tk,l+1, polarization voltage u k , l + 1 1 and u k , l + 1 2 ; τ1 and τ2 are the time constants, τ1 = R1C1 and τ2 = R2C2; Ik,l is the input current of the lithium-ion batteries at time tk,l; Uoc (SoCk,l) is the corresponding open circuit voltage of the system at time tk,l, which is a function according to SoC; and w 1 k , l , w 2 k , l , and w 3 k , l are the process noise matrices of the system state, respectively.
The function f(xk,l, θk, uk,l) and the function g(xk,l, θk, uk,l) in Equation (5) can be expressed as
f x k , l , θ k , u k , l = 1 0 0 0 e Δ t τ 1 0 0 0 e Δ t τ 2 S o C k , l u k , l 1 u k , l 2 + η Δ t C N R 1 1 e Δ t τ 1 R 2 1 e Δ t τ 2 I k , l g x k , l , θ k , u k , l = U o c S o C k , l I k , l R 0 u k , l 1 u k , l 2 .

3. Multi-Timescale AEKF–AUKF Joint Algorithm

In this section, firstly, according to Equation (5), the traditional EKF algorithm and UKF algorithm are introduced at multiple time scales, which have achieved remarkable results in parameter identification and SoC estimation of batteries. Then, based on these two traditional algorithms, a multi-time scale AEKF–AUKF joint algorithm is constructed to improve the parameter identification and SoC estimation accuracy, making the estimation results more reliable.

3.1. Principle of the EKF Algorithm

The traditional Kalman filter theory is only effective for linear models; however, most of the practical applications are nonlinear models. In order to make the Kalman filter algorithm applicable to nonlinear systems, the extended Kalman filter algorithm (EKF) is proposed. The EKF algorithm can linearize nonlinear systems by performing a first-order Taylor expansion on the nonlinear functions in the system and neglecting the higher-order terms above the second order, thereby approximating the nonlinear system as a linear system. The main steps of the recursive equations of the EKF algorithm are as follows [20].
Step 1: Initialize system parameter θ0 and parameter variance matrix P θ 0 .
θ 0 = E θ 0 ,
P θ 0 = E θ 0 θ ^ 0 θ 0 θ ^ 0 T
Step 2: Obtain the predicted value of system parameter θ ^ k at time k.
The predicted value of the system parameter θ ^ k at time k is obtained from the optimal estimate value of the system parameter θ ^ k 1 at time k − 1.
θ ^ k = θ ^ k 1 .
Step 3: Obtain the parameter prediction variance matrix P θ k at time k.
The parameter prediction variance matrix P θ k at time k is calculated on the basis of the parameter optimal estimation variance matrix P θ k 1 at time k − 1, and the variance matrix Mk−1 of the process noise at time k − 1.
P θ k = P θ k 1 + M k 1 .
Step 4: Correct the gain matrix K k θ of the extended Kalman filter.
The extended Kalman filter gain matrix K k θ at time k is calculated on the basis of the parameter prediction variance matrix P θ k , the observation matrix C k θ at time k, and the variance matrix Rk of the observation noise at time k.
K k θ = P θ k C k θ T C k θ P θ k C k θ T + R k
where C k θ is expressed as [21]
C k θ = d g x ^ k , 0 , θ , u k , 0 d θ θ = θ ^ k = g x ^ k , 0 , θ ^ k , u k , 0 θ ^ k + g x ^ k , 0 , θ ^ k , u k , 0 x ^ k , 0   × d x ^ k , 0 d θ ^ k .
Step 5: Correct the predicted value of the system parameter θ ^ k .
Correct the predicted value of the system parameter θ ^ k according to the extended Kalman filter gain matrix K k θ at time k to obtain the optimal estimated value of the system parameter θ ^ k at time k.
θ ^ k = θ ^ k + K k θ y k , l g x ^ k , l , θ ^ k , u k , l .
Step 6: Correct the parameter prediction variance matrix P θ k .
Based on the extended Kalman filter gain matrix K k θ and the observation matrix C k θ at time k, the parameter prediction variance matrix P θ k is corrected, and then the parameter optimal estimation variance matrix P θ k at time k is obtained [22].
P θ k = I K k θ C k θ P θ k .
Step 7: The corrected optimal estimation of the system parameter θ ^ k is used as the initial value of the system parameter for the next recurrence, and the above steps 1 to 6 are repeated until a more accurate estimation result is obtained. The estimation results can be used for both the parameter identification and the SoC estimation of the batteries.

3.2. Principle of the UKF Algorithm

Since the EKF algorithm ignores higher-order terms above the second order when linearizing nonlinear systems, it inevitably led to an increase in the estimation error; therefore, the unscented Kalman filter (UKF) algorithm based on certain regular sampling is proposed [23].
The UKF algorithm constructs probability density distributions for the sigma sampling points obtained from the unscented transform, approximating polynomials consisting of constant, first-order, and higher-order terms in the nonlinear equation, which satisfies the nonlinearity condition and enables fast and accurate prediction updates.
The basic principle of unscented transform is as follows: sigma point set extraction is carried out near the estimated value under the condition that the mean and variance are unchanged. Then, obtain the new mean and variance. Next, place the extraction point x and weight values ω into Equation (5), and obtain the corrected nonlinear acquisition point. The steps for the extraction points and weights are as follows.
Step 1: For an n-dimensional state variable x, construct the set of 2n + 1 sigma points x k 1 , l 1 i , i = 0, 1,..., 2n.
x k 1 , l 1 i = x ^ k 1 , l 1 , i = 0 x ^ k 1 , l 1 + n + λ P k 1 , l 1 i , i = 1 , 2 , , n x ^ k 1 , l 1 n + λ P k 1 , l 1 i , i = n + 1 , , 2 n
where n is the dimensionality of the state variable x; the superscript i indicates the number of points selected for sampling; Pk−1,l−1 is the variance of the sampled points at time tk−1,l−1; n + λ P k 1 , l 1 i is the ith column of the matrix; and λ is the scaling parameter, which determines the final prediction result error. λ can be expressed as [24]
λ = α 2 n + κ n
where α is the modulation factor of the density distribution of the sampling points and κ is a secondary parameter that determines the prediction accuracy.
Step 2: Calculate the weights ω corresponding to the sigma sampling points.
ω m 0 = λ n + λ , i = 0 ω c 0 = λ n + λ + 1 α 2 + β   , i = 0 ω m i = ω c i = 1 2 n + λ , i = 1 , 2 , , 2 n
where the subscripts m and c are the mean and variance, respectively, and β is the state scatter adjustment value, usually, β = 2.
The UKF algorithm consists mainly of system initialization and state prediction and correction [25], as described in the following steps.
Step 1: Initialize system state x0,0 and state variance matrix P0,0.
x 0 , 0 = E x 0 , 0 ,
P 0 , 0 = E x 0 , 0 x ^ 0 , 0 x 0 , 0 x ^ 0 , 0 T
Step 2: Use Equations (17) and (19) to perform the unscented transformation, and construct the set of 2n + 1 sigma points x k 1 , l 1 i , i = 0, 1,..., 2n, based on the system state x ^ k 1 , l 1 and the state variance matrix P k 1 , l 1 at time tk−1,l−1.
x k 1 , l 1 i = x ^ k 1 , l 1 , x ^ k 1 , l 1 + n + λ P k 1 , l 1 , x ^ k 1 , l 1 n + λ P k 1 , l 1 .
Step 3: Substitute Equation (22) into the nonlinear function f of Equation (5), then obtain the 2n + 1 sigma points at time tk−1,l after the unscented transformation of the system state x k ¯ 1 , l i .
x k ¯ 1 , l i = f x k 1 , l 1 i , θ ^ k , u k 1 , l 1 .
Step 4: Using Equation (23) and the weights of Equation (19), update the predicted value of the system state x ^ k 1 , l and the state prediction variance matrix P x x at time tk−1,l [26].
x ^ k 1 , l = i = 0 2 n ω m i x k ¯ 1 , l i ,
P x x = i = 0 2 n ω c i x k ¯ 1 , l i x ^ k 1 , l x k ¯ 1 , l i x ^ k 1 , l T + Q k 1 , l 1
Step 5: Based on Equations (24) and (25), the new sigma point set is obtained again using the unscented transformation x k ¯ 1 , l i .
x k ¯ 1 , l i = x ^ k 1 , l , x ^ k 1 , l + n + λ P x x , x ^ k 1 , l n + λ P x x .
Step 6: Substitute Equation (26) into the nonlinear function g of Equation (5), and then obtain the sigma point y k ¯ 1 , l i at time tk−1,l after the second unscented transformation of the system observation value.
y k ¯ 1 , l i = g x k ¯ 1 , l i , θ ^ k , u k 1 , l .
Step 7: Using Equations (19) and (27), update the system predicted observation y ^ k 1 , l , the observation prediction variance matrix Pyy, and the covariance matrix Pyy between the system state variable and the observation [27].
y ^ k 1 , l = i = 0 2 n ω m i y k ¯ 1 , l i ,
P y y = i = 0 2 n ω c i y k ¯ 1 , l i y ^ k 1 , l y k ¯ 1 , l i y ^ k 1 , l T + R k 1 , l ,
P x y = i = 0 2 n ω c i x k ¯ 1 , l i x ^ k 1 , l y k ¯ 1 , l i y ^ k 1 , l T
Step 8: Using Equations (29) and (30), calculate the unscented Kalman filter gain matrix K k 1 , l x at time tk−1,l.
K k 1 , l x = P x y P y y 1 .
Step 9: From the unscented Kalman filter gain matrix, system state, observation value, and covariance matrix at time tk−1,l, obtain the corrected optimal estimation of the system state x ^ k 1 , l and the state optimal estimation variance matrix P k 1 , l .
x ^ k 1 , l = x ^ k 1 , l + K k 1 , l x y k 1 , l y ^ k 1 , l ,
P k 1 , l = P x x K k 1 , l x P x y T .
Step 10: Take the corrected optimal estimation of the system state x ^ k 1 , l as the initial value of the system state for the next recurrence, and steps 1 to 9 above are repeated until a more accurate estimation result is obtained. The estimation results can be used for both the parameter identification and the SoC estimation of the batteries.
Although the UKF algorithm does not require a linearization transformation for the nonlinear system compared to the EKF algorithm, there is still a weight between the UKF algorithm and the EKF algorithm. When using Taylor’s formula to expand the equations, the EKF algorithm ignores higher-order terms, which can lead to inaccurate estimation results. The UKF algorithm, which uses the unscented transformation to transform an approximately linear function into a probability density function, is more accurate than the EKF algorithm; however, the UKF algorithm is more computationally intensive and slower to calculate, and the noise variance in the UKF algorithm is determined by empirical choices, which can lead to biased filtering results [28,29].

3.3. Design of the Multi-Timescale AEKF–AUKF Joint Algorithm

In the traditional filtering algorithms mentioned above, the noise variance matrix is treated as a constant; however, in practical applications, the noise is not always fixed and may not necessarily be Gaussian white noise. This will cause the estimation results of traditional algorithms to be affected by system noise and uncertainty, leading to inevitable errors in system estimation.
To improve the accuracy of the parameter identification and SoC estimation results for lithium-ion batteries, a multi-timescale joint algorithm is proposed. The AEKF algorithm is used for online parameter identification at the macroscopic time scale, and the AUKF algorithm is used for SoC estimation at the microscopic time scale.
The steps of the multi-timescale AEKF–AUKF joint algorithm are as follows:
Step 1: Initialize the system parameter θ0, the parameter variance matrix P θ 0 , the system state x0,0, and the state variance matrix P0,0, as in Equations (9), (10), (20) and (21).
Step 2: Update the system parameter and the parameter variance matrix at the macroscopic time scale k using Equations (11) and (12).
Step 3: Sigma point set extraction for the system state variable at time tk−1,l−1 at the microscopic time scale l, and calculate the corresponding weight values by Equations (19) and (22).
Step 4: Calculate the predicted value of the system state and the state prediction variance matrix with Equations (24) and (25).
Step 5: Sigma point set extraction for the system state variable at time tk−1,l using the unscented transformation with Equation (26);
Step 6: Calculate the unscented Kalman filter gain matrix at time tk−1,l, and update the predicted observation, the observation prediction variance matrix, and the covariance matrix between the system state variable and the observation using Equations (28)–(31).
Step 7: Introduce an innovation value based on the terminal voltage error of the lithium-ion batteries, and perform an adaptive update of the process noise variance matrix of the system state [30].
The innovation value is the error between the actual observation yk−1,l and the predicted observation y ^ k 1 , l , denoted as
m k 1 , l = y k 1 , l y ^ k 1 , l = y k 1 , l g x ^ k 1 , l , θ ^ k , u k 1 , l
Calculate the real-time estimated variance value of the innovation.
G m k 1 , l = k 1 k G m k 1 , l 1 + 1 k m k 1 , l m k 1 , l T k N 1 N q = k N + 1 k m q , l m q , l T k > N ,
where N is the moving window size and mq,l is an element value of mk−1,l in the range q = kN + 1 to k.
The process noise variance matrix of the system state is updated with the real-time estimated variance value of the innovation, denoted as
Q k 1 , l 1 = K k 1 , l x G m k 1 , l K k 1 , l x T .
Step 8: Correct the system state and state variance matrix by Equations (32) and (33).
Step 9: Introduce a residual value based on the terminal voltage error of the lithium-ion batteries, and perform an adaptive update of the observed noise variance matrix of the system state [31].
The residual value is the error between the actual observation yk−1,l and the filtered estimated observation y ^ k 1 , l , denoted as
r k 1 , l = y k 1 , l y ^ k 1 , l = y k 1 , l g x ^ k 1 , l , θ ^ k , u k 1 , l
Calculate the real-time estimated variance value of the residual.
G r k 1 , l = k 1 k G r k 1 , l 1 + 1 k r k 1 , l r k 1 , l T k N 1 N q = k N + 1 k r q , l r q , l T k > N ,
where rq,l is an element value of rk−1,l in the range q = kN + 1 to k.
The observed noise variance matrix of the system state is updated with the real-time estimated variance value of the residual, denoted as
R k 1 , l = G r k 1 , l + i = 0 2 n ω c i y k ¯ 1 , l i y ^ k 1 , l y k ¯ 1 , l i y ^ k 1 , l T .
Step 10: When the microscopic time scale l = L, replace l in the equations from step 3 to step 7 with L:
x k 1 , L i = x ^ k 1 , L , x ^ k 1 , L + n + λ P k 1 , L , x ^ k 1 , L n + λ P k 1 , L .
x k ¯ 1 , L i = f x k 1 , L i , θ ^ k , u k 1 , L .
P x x = i = 0 2 n ω c i x k ¯ 1 , L i x ^ k 1 , L x k ¯ 1 , L i x ^ k 1 , L T   + Q k 1 , L 1 .
x k ¯ 1 , L i = x ^ k 1 , L , x ^ k 1 , L + n + λ P x x , x ^ k 1 , L n + λ P x x .
y k ¯ 1 , L i = g x k ¯ 1 , L i , θ ^ k , u k 1 , L .
y ^ k 1 , L = i = 0 2 n ω m i y k ¯ 1 , L i .
P y y = i = 0 2 n ω c i y k ¯ 1 , L i y ^ k 1 , L y k ¯ 1 , L i y ^ k 1 , L T + R k 1 , L .
P x y = i = 0 2 n ω c i x k ¯ 1 , L i x ^ k 1 , L y k ¯ 1 , L i y ^ k 1 , L T .
K k 1 , L x = P x y P y y 1 .
x ^ k 1 , L = x ^ k 1 , L + K k 1 , L x y k 1 , L y ^ k 1 , L .
P k 1 , L = P x x K k 1 , L x P x y T .
Step 11: Switch the microscopic time scale to the macroscopic time scale, where l = 0, denoted as
x ^ k , 0 = x ^ k 1 , L .
P k , 0 = P k 1 , L .
y k , 0 = y k 1 , L .
u k , 0 = u k 1 , L .
Step 12: Calculate the extended Kalman filter gain matrix at time k, by Equation (13).
Step 13: Adaptive update of the process noise variance matrix of the system parameter using the innovation value [32].
The innovation value at time k is expressed as
m k = y k , 0 y ^ k , 0 = y k , 0 g x ^ k , 0 , θ ^ k , u k , 0
Calculate the real-time estimated variance value of the innovation at time k.
G m k = k 1 k G m k 1 + 1 k m k m k T k N 1 N q = k N + 1 k m q m q T k > N ,
where mq is an element value of mk in the range q = kN + 1 to k.
The process noise variance matrix of the system parameter is updated with the real-time estimated variance value of the innovation, denoted as
M k 1 = K k θ G m k K k θ T .
Step 14: Correct the system parameter and parameter variance matrix at time k on the macroscopic time scale.
θ ^ k = θ ^ k + K k θ y k , 0 g x ^ k , 0 , θ ^ k , u k , 0 .
P θ k = I K k θ C k θ P θ k .
Step 15: Adaptive update of the observed noise variance matrix of the system parameter using the residual value.
The residual value at time k is expressed as
r k = y k , 0 y ^ k , 0 = y k , 0 g x ^ k , 0 , θ ^ k , u k , 0
Calculate the real-time estimated variance value of the residual at time k.
G r k = k 1 k G r k 1 + 1 k r k r k T k N 1 N q = k N + 1 k r q r q T k > N ,
where rq is an element value of rk in the range q = kN + 1 to k.
The observed noise variance matrix of the system parameter is updated with the real-time estimated variance value of the residual, denoted as
R k = G r k + C k θ P k C k θ T .
Step 16: Substitute the updated system parameter θ ^ k for θk in Equation (5), update the state space equations of the lithium-ion batteries, and perform the next round of cycle calculation for the parameter identification and SoC estimation of the lithium-ion batteries.
The flow block diagram of the multi-timescale AEKF–AUKF joint algorithm is shown in Figure 2.

4. Lithium-Ion Batteries Online Parameter Identification Algorithms Analysis

The parameter identification experiments are implemented using the second-order RC equivalent circuit model of the lithium-ion batteries. The AEKF algorithm used for online identification on a macroscopic time scale is carried out to obtain the model parameters R0, R1, C1, R2, and C2, which are used for the SoC estimation of the lithium-ion batteries. In order to analyze the accuracy of the identification results, as well as the robustness and adaptiveness of the algorithm, the estimated terminal voltage can be obtained from the identified parameter values according to Equation (7) and compared with the actual terminal voltage. This algorithm is important for many applications, such as the estimation of the batteries’ condition and fault diagnosis [33].

4.1. Fitting the Open-Circuit Voltage Equation Based on Measured Data

This paper studies a battery pack consisting of 10 INR18650-30Q lithium-ion batteries in parallel, with a testing environment temperature of 25 °C. The specific parameters of the batteries are shown in Table 1.
The parameter identification of a lithium-ion batteries model mainly involves two steps. The first step is to obtain the relationship between the open circuit voltage (Uoc) and the SoCthrough pulse discharge experiments at a constant temperature (25 °C). The second step is to identify the relevant parameters, R0, R1, C1, R2, and C2, of the lithium-ion batteries’ equivalent circuit model online through the urban dynamometer driving schedule (UDDS).
Use a constant pulse of 30 A to discharge the batteries at a discharge rate of 1C for 3 min, and then let it stand for 2 h. Cycle the discharge to the cut-off voltage and record the open circuit voltage value of the batteries during this process. The pulse discharge current and voltage are shown in Figure 3.
Based on the experimental data of the open circuit voltage of lithium-ion batteries, the curve fitting toolbox in MATLAB was used to perform a ninth-order fitting on the functional relationship equation between Uoc and SoC, and the equation was obtained as follows
U o c S o C = p 1 S o C 9 + p 2 S o C 8 + p 3 S o C 7   + p 4 S o C 6 + p 5 S o C 5   + p 6 S o C 4   + p 7 S o C 3 + p 8 S o C 2 + p 9 S o C + p 10 .
The Uoc (SoC) equation curve is shown in Figure 4.

4.2. Online Identification of Lithium-Ion Batteries Parameters Based on the AEKF Algorithm

In this paper, the UDDS condition is used as the actual condition for the online identification of lithium-ion batteries’ parameters. The current and voltage under the UDDS condition are shown in Figure 5.
In this paper, the AEKF algorithm is used in combination with Equation (63) to identify the parameters of the second-order RC equivalent circuit of lithium-ion batteries under UDDS conditions online. The parameter identification results of R0, R1, R2, C1, and C2 are obtained, as shown in Figure 6 and Figure 7.
In the early stage of the online parameter identification process, the changes of R0, R1, and R2 are relatively drastic, which is mainly due to the imprecise selection of the initial values of the model; the fluctuations of the time constants τ1 and τ2 are not large, and the value of τ1 is much smaller than the value of τ2.

4.3. Accuracy Analysis of Online Identification Algorithm for Lithium-Ion Batteries’ Parameters

For comparison, the EKF algorithm and AEKF algorithm are respectively used for online parameter identification of the second-order RC equivalent circuit model at the macro time scale. This paper uses terminal voltage errors to compare the accuracy, robustness, and adaptability of the two algorithms. The comparison curves of terminal voltage errors are shown in Figure 8.
According to Figure 8, the mean absolute error (MAE) of the model terminal voltage is 0.0075 and the root mean square error (RMSE) is 0.0095 after online parameter identification using the EKF algorithm, while the MAE of the model terminal voltage is 0.0042 and the RMSE is 0.0052 after online parameter identification using the AEKF algorithm, as shown in Table 2.
By comparing and analyzing the terminal voltage errors of the two algorithms, it is shown that the AEKF algorithm has higher identification efficiency and smaller terminal voltage errors and fluctuations, indicating that the AEKF algorithm has good parameter identification accuracy, strong robustness, and adaptability under complex working conditions.

5. Lithium-Ion Batteries SoC Estimation Algorithm Analysis

5.1. Case Ⅰ: Estimation Accuracy Analysis of Multi-Timescale Algorithm

In order to improve the accuracy of parameter identification and SoC estimation of lithium-ion batteries, the multi-timescale AEKF–AUKF joint algorithm is used as L = 60 s, which considers multiple time scale algorithms.
The AEKF algorithm is used for online parameter identification at the macroscopic time scale, and the AUKF algorithm is used for SoC estimation at the microscopic time scale. The terminal voltage and SoC estimation results of the lithium-ion batteries are shown in Figure 9.
The comparison curves between the actual and estimated terminal voltage are shown in Figure 9a, the terminal voltage estimation error is shown in Figure 9b, the comparison curves between the actual SoC and the estimated SoC are shown in Figure 9c, and the SoC estimation error is shown in Figure 9d.
When L = 60 s, the MAE of the terminal voltage under the multi-timescale AEKF–AUKF joint algorithm is 0.0042 and the RMSE is 0.0052, and the MAE of the SoC estimation is 0.0034 and the RMSE is 0.0043. Based on the analysis of the estimation results of the multi-timescale AEKF–AUKF joint algorithm, it can be concluded that both the estimated terminal voltage and the estimated SoC value under this joint algorithm have very small differences from the actual values; therefore, it can be judged that the joint algorithm calculation results are accurate and valid.
In order to more comprehensively analyze the performance of the estimation results under the multi-timescale AEKF–AUKF joint algorithm, the following three cases were set up to compare and analyze the estimation accuracy of terminal voltage and SoC under UDDS conditions with various algorithms.

5.2. Case II: Analysis of the Effect of Time Scale on Estimation Accuracy

When L = 1 s, the AEKF–AUKF joint algorithm can be used for online parameter identification and SoC estimation of lithium-ion batteries without considering multiple time scales. Figure 10 shows a comparison of two simulation results for L = 1 s and L = 60 s.
The comparison curves between the actual and estimated terminal voltage are shown in Figure 10a, the comparison curves of the terminal voltage estimation error are shown in Figure 10b, the comparison curves between the actual SoC and the estimated SoC are shown in Figure 10c, and the comparison curves of the SoC estimation error are shown in Figure 10d.
As shown in Figure 10, it can be observed that the MAE of the terminal voltage is 0.0090 and the RMSE is 0.0109 when L = 1 s, and the MAE of the SoC estimation is 0.0085 and the RMSE is 0.0103, as shown in Table 3.
The results show that both the terminal voltage estimation error and the SoC estimation error of the AEKF–AUKF joint algorithm at L = 60 s are smaller than those at L = 1 s, and the error curve fluctuates less and is closer to the actual value. The estimation results have higher accuracy, which shows that considering multiple time scales can greatly improve the estimation accuracy and performance.

5.3. Case III: Analysis of the Effect of External Noise on Estimation Accuracy

Three joint algorithms, EKF–UKF, AEKF–UKF, and AEKF–AUKF, are used for the online parameter identification and SoC estimation of the lithium-ion batteries at multiple time scales. A comparison of the terminal voltage and SoC estimation results of the lithium-ion batteries under the three joint algorithms is shown in Figure 11.
The comparison curves between the actual and estimated terminal voltage under the three joint algorithms are shown in Figure 11a, the comparison curves of the terminal voltage estimation error are shown in Figure 11b, the comparison curves between the actual SoC and the estimated SoC are shown in Figure 11c, and the comparison curves of the SoC estimation error are shown in Figure 11d.
As shown in Figure 11, the MAE of the EKF–UKF joint algorithm for the terminal voltage is 0.0086, the RMSE is 0.0118, the MAE of the SoC estimation is 0.0105, and the RMSE is 0.0125; the MAE of the AEKF–UKF joint algorithm for the terminal voltage is 0.0077, the RMSE is 0.0098, the MAE of the SoC estimation is 0.0068, and the RMSE is 0.0079, as shown in Table 4.
From Table 4, it can be seen that due to the consideration of the uncertainty of noise and real-time correction of noise variance, the proposed AEKF–AUKF joint algorithm has smaller errors in its terminal voltage estimation and SoC estimation compared to the EKF–UKF and AEKF–UKF joint algorithms. In addition, the terminal voltage estimation error and SoC estimation error using the AEKF–UKF joint algorithm are also smaller than those using the EKF–UKF joint algorithm.
Overall, the AEKF–AUKF joint algorithm has the highest estimation accuracy, is the most suitable for actual values, and has strong adaptability. The AEKF–UKF joint algorithm has poorer estimation accuracy, and the EKF–UKF joint algorithm has the worst estimation accuracy. This illustrates that the traditional algorithm does not fully consider the uncertainty of noise and cannot truly reflect the dynamic characteristics of the noise, while the addition of the adaptive algorithm processing to the external noise can greatly reduce the influence of the external noise on the estimation accuracy and improve the adaptiveness of the algorithm.

5.4. Case IV: Analysis of the Effect of Initial Values on Estimation Accuracy

In the case of inaccurate initial values of SoC, the algorithm was analyzed for its stability in correcting the offset between the actual and estimated values of SoC, and for its ability to self-correct by converging to the actual value. The performance of the multi-timescale AEKF–AUKF joint algorithm is analyzed below at initial values of SoC = 80% and SoC = 60%, respectively, and the results are shown in Figure 12 and Figure 13.
For the initial value of SoC = 80%, the comparison curves between the actual and estimated terminal voltage are shown in Figure 12a, the terminal voltage estimation error is shown in Figure 12b, the comparison curves between the actual SoC and the estimated SoC are shown in Figure 12c, and the SoC estimation error is shown in Figure 12d; for the initial value of SoC = 60%, the comparison curves between the actual and estimated terminal voltage are shown in Figure 13a, the terminal voltage error is shown in Figure 13b, the comparison curves between the actual SoC and the estimated SoC are shown in Figure 13c, and the SoC estimation error is shown in Figure 13d.
Comparing the result plots for the initial values of SoC = 80% and SoC = 60%, the analysis of the data shows that for SoC = 80%, the MAE of the multi-timescale AEKF–AUKF joint algorithm for the terminal voltage is 0.0045, the RMSE is 0.0057, the MAE of the SoC estimation is 0.0035, and the RMSE is 0.0041; for SoC = 60%, the MAE of the multi-timescale AEKF–AUKF joint algorithm for the terminal voltage is 0.0048, the RMSE is 0.0060, the MAE of SoC estimation is 0.0041, and the RMSE is 0.0045, as shown in Table 5.
The results show that for inaccurate initial SoC values, the multi-timescale AEKF–AUKF joint algorithm is able to converge steadily to near the actual value, and both the terminal voltage estimation error and the SoC estimation error are small. The error curves’ fluctuations are also small, indicating that the multi-timescale AEKF–AUKF joint algorithm is able to achieve self-correction and has strong robustness.

6. Conclusions

In this paper, a multi-timescale AEKF–AUKF joint algorithm is proposed for SoC estimation of lithium-ion batteries at multiple time scales, due to the slow-varying characteristics of lithium-ion batteries model parameters and the fast-varying characteristics of SoC. The AEKF algorithm is used for online parameter identification at the macroscopic time scale, and the AUKF algorithm is used for SoC estimation at the microscopic time scale. This algorithm can quickly iterate to correct incorrect initial estimates, achieving a peak voltage error of less than 0.16% in the parameter identification process and an absolute peak SoC estimation error of less than 1.1%. This joint algorithm not only effectively improves the noise problem in SoC estimation by lithium-ion batteries, but also improves the accuracy of parameter identification and SoC estimation.
In order to analyze the estimation performance of the proposed multi-timescale AEKF–AUKF joint algorithm, three simulations have been implemented under UDDS conditions, and the parameter identification and SoC estimation results under three different algorithms have been compared and analyzed. The results show that the following: (1) the AEKF–AUKF joint algorithm greatly improves the estimation accuracy of the lithium-ion batteries’ SoC when multiple time scales are considered; (2) the multi-timescale AEKF–AUKF joint algorithm enables real-time correction of external noise in the lithium-ion batteries under complex operating conditions, improving the adaptiveness of SoC estimation of lithium-ion batteries; (3) when the initial SoC estimation value is inaccurate, the multi-timescale AEKF–AUKF joint algorithm can stably correct the offset and converge to the reference value, with self-correction capability, improving the robustness of SoC estimation of lithium-ion batteries.
The algorithm has the advantages of simplicity, ease of use, and high accuracy, and can be applied to real-time estimation and monitoring of the SoC of lithium-ion batteries.

Author Contributions

Conceptualization, A.W. and Y.Z.; methodology, Y.Z. and J.M.; software, Y.Z. and J.M.; validation, A.W., Y.Z. and J.M.; formal analysis, X.Z. and J.Z.; investigation, A.W. and J.M.; resources, X.Z.; data curation, J.M. and J.Z.; writing—original draft preparation, Y.Z.; writing—review and editing, J.M.; supervision, A.W. and J.M.; project administration, J.M.; funding acquisition, J.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work is financially supported in part by the Natural Science Research Program of Jiangsu Colleges and Universities under Grant No. 20KJA470002, and the Excellent Teaching Team of the “Qinglan Project” of Jiangsu Colleges and Universities.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hannan, M.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]
  2. Xie, Y.; Li, W.; Hu, X.; Tran, M.-K.; Panchal, S.; Fowler, M.; Zhang, Y.; Liu, K. Coestimation of SOC and Three-Dimensional SOT for Lithium-Ion Batteries Based on Distributed Spatial–Temporal Online Correction. IEEE Trans. Ind. Electron. 2023, 70, 5937–5948. [Google Scholar] [CrossRef]
  3. How, D.N.T.; Hannan, M.A.; Hossain Lipu, M.S.; Ker, P.J. State of Charge Estimation for Lithium-Ion Batteries Using Model-Based and Data-Driven Methods: A Review. IEEE Access 2019, 7, 136116–136136. [Google Scholar] [CrossRef]
  4. Lu, L.; Han, X.; Li, J.; Hua, J.; Ouyang, M. A Review on the Key Issues for Lithium-Ion Battery Management in Electric Vehicles. J. Power Source 2013, 226, 272–288. [Google Scholar] [CrossRef]
  5. Chen, J.; Ouyang, Q.; Xu, C.; Su, H. Neural Network-Based State of Charge Observer Design for Lithium-Ion Batteries. IEEE Trans. Contr. Syst. Technol. 2018, 26, 313–320. [Google Scholar] [CrossRef]
  6. Li, J.; Ye, M.; Meng, W.; Xu, X.; Jiao, S. A Novel State of Charge Approach of Lithium Ion Battery Using Least Squares Support Vector Machine. IEEE Access 2020, 8, 195398–195410. [Google Scholar] [CrossRef]
  7. Salazar, D.; Garcia, M. Estimation and Comparison of SOC in Batteries Used in Electromobility Using the Thevenin Model and Coulomb Ampere Counting. Energies 2022, 15, 7204. [Google Scholar] [CrossRef]
  8. Chen, X.; Lei, H.; Xiong, R.; Shen, W.; Yang, R. A Novel Approach to Reconstruct Open Circuit Voltage for State of Charge Estimation of Lithium Ion Batteries in Electric Vehicles. Appl. Energy 2019, 255, 113758. [Google Scholar] [CrossRef]
  9. Yang, B.; Li, G.; Tang, W.; Li, H. Research on Optimized SOC Estimation Algorithm Based on Extended Kalman Filter. Front. Energy Res. 2022, 10, 1027439. [Google Scholar] [CrossRef]
  10. Miao, Y.; Gao, Z.; Xiao, S.; Chai, H. Initial Value Compensation of an Adaptive Fractional-Order Unscented Kalman Filter for Estimating the State of Charge of Lithium-Ion Batteries. J. Energy Storage 2023, 70, 107857. [Google Scholar] [CrossRef]
  11. Ma, W.; Guo, P.; Wang, X.; Zhang, Z.; Peng, S.; Chen, B. Robust State of Charge Estimation for Li-Ion Batteries Based on Cubature Kalman Filter with Generalized Maximum Correntropy Criterion. Energy 2022, 260, 125083. [Google Scholar] [CrossRef]
  12. Zhu, R.; Duan, B.; Zhang, J.; Zhang, Q.; Zhang, C. Co-Estimation of Model Parameters and State-of-Charge for Lithium-Ion Batteries with Recursive Restricted Total Least Squares and Unscented Kalman Filter. Appl. Energy 2020, 277, 115494. [Google Scholar] [CrossRef]
  13. Ge, C.; Zheng, Y.; Yu, Y. State of Charge Estimation of Lithium-Ion Battery Based on Improved Forgetting Factor Recursive Least Squares-Extended Kalman Filter Joint Algorithm. J. Energy Storage 2022, 55, 105474. [Google Scholar] [CrossRef]
  14. Wu, C.; Hu, W.; Meng, J.; Xu, X.; Huang, X.; Cai, L. State-of-Charge Estimation of Lithium-Ion Batteries Based on MCC-AEKF in Non-Gaussian Noise Environment. Energy 2023, 274, 127316. [Google Scholar] [CrossRef]
  15. Liu, G.; Xu, C.; Li, H.; Jiang, K.; Wang, K. State of Charge and Online Model Parameters Co-Estimation for Liquid Metal Batteries. Appl. Energy 2019, 250, 677–684. [Google Scholar] [CrossRef]
  16. Xiong, R.; Sun, F.; Chen, Z.; He, H. A Data-Driven Multi-Scale Extended Kalman Filtering Based Parameter and State Estimation Approach of Lithium-Ion Polymer Battery in Electric Vehicles. Appl. Energy 2014, 113, 463–476. [Google Scholar] [CrossRef]
  17. Ji, S.; Sun, Y.; Chen, Z.; Liao, W. A Multi-Scale Time Method for the State of Charge and Parameter Estimation of Lithium-Ion Batteries Using MIUKF-EKF. Front. Energy Res. 2022, 10, 933240. [Google Scholar] [CrossRef]
  18. Feng, F.; Song, B.; Xu, J.; Na, W.; Zhang, K.; Chai, Y. Multiple Time Scale State-of-Charge and Capacity-Based Equalisation Strategy for Lithium-Ion Battery Pack with Passive Equaliser. J. Energy Storage 2022, 53, 105196. [Google Scholar] [CrossRef]
  19. Fajri, P.; Ferdowsi, M.; Lotfi, N.; Landers, R. Development of an Educational Small-Scale Hybrid Electric Vehicle (HEV) Setup. IEEE Intell. Transport. Syst. Mag. 2016, 8, 8–21. [Google Scholar] [CrossRef]
  20. Duan, W.; Song, C.; Chen, Y.; Xiao, F.; Peng, S.; Shao, Y.; Song, S. Online Parameter Identification and State of Charge Estimation of Battery Based on Multitimescale Adaptive Double Kalman Filter Algorithm. Math. Probl. Eng. 2020, 2020, 1–20. [Google Scholar] [CrossRef]
  21. Huang, J.; An, H.; Lang, L.; Wei, Q.; Ma, H. A Data-Driven Multi-Scale Online Joint Estimation of States and Parameters for Electro-Hydraulic Actuator in Legged Robot. IEEE Access 2020, 8, 36885–36902. [Google Scholar] [CrossRef]
  22. Huang, Z.; Fang, Y.; Xu, J. SOC Estimation of Li-ION Battery Based on Improved EKF Algorithm. Int. J. Automot. Technol. 2021, 22, 335–340. [Google Scholar] [CrossRef]
  23. Peng, X.; Li, Y.; Yang, W.; Garg, A. Real-Time State of Charge Estimation of the Extended Kalman Filter and Unscented Kalman Filter Algorithms Under Different Working Conditions. J. Electrochem. Energy Convers. Storage 2021, 18, 041007. [Google Scholar] [CrossRef]
  24. Hu, G.; Gao, B.; Zhong, Y.; Gu, C. Unscented Kalman Filter with Process Noise Covariance Estimation for Vehicular Ins/Gps Integration System. Inf. Fusion 2020, 64, 194–204. [Google Scholar] [CrossRef]
  25. Peng, N.; Zhang, S.; Guo, X.; Zhang, X. Online Parameters Identification and State of Charge Estimation for Lithium-ion Batteries Using Improved Adaptive Dual Unscented Kalman Filter. Int. J. Energy Res. 2021, 45, 975–990. [Google Scholar] [CrossRef]
  26. Ding, H.; Qin, X.; Wei, L. Sensorless Control of Surface-Mounted Permanent Magnet Synchronous Motor Using Adaptive Robust UKF. J. Electr. Eng. Technol. 2022, 17, 2995–3013. [Google Scholar] [CrossRef]
  27. Ge, B.; Zhang, H.; Jiang, L.; Li, Z.; Butt, M. Adaptive Unscented Kalman Filter for Target Tracking with Unknown Time-Varying Noise Covariance. Sensors 2019, 19, 1371. [Google Scholar] [CrossRef] [PubMed]
  28. Plett, G.L. Extended Kalman Filtering for Battery Management Systems of LiPB-Based HEV Battery Packs. J. Power Source 2004, 134, 277–292. [Google Scholar] [CrossRef]
  29. Zhou, Y.; Wang, S.; Xie, Y.; Zhu, T.; Fernandez, C. An Improved Particle Swarm Optimization-Least Squares Support Vector Machine-Unscented Kalman Filtering Algorithm on SOC Estimation of Lithium-Ion Battery. Int. J. Green Energy 2023, 1–11. [Google Scholar] [CrossRef]
  30. Zhang, Q.; Yang, Y.; Xiang, Q.; He, Q.; Zhou, Z.; Yao, Y. Noise Adaptive Kalman Filter for Joint Polarization Tracking and Channel Equalization Using Cascaded Covariance Matching. IEEE Photonics J. 2018, 10, 7900911. [Google Scholar] [CrossRef]
  31. Song, M.; Astroza, R.; Ebrahimian, H.; Moaveni, B.; Papadimitriou, C. Adaptive Kalman Filters for Nonlinear Finite Element Model Updating. Mech. Syst. Signal Process. 2020, 143, 106837. [Google Scholar] [CrossRef]
  32. Xu, Y.; Hu, B.; Wu, T.; Zhou, X.; Xiao, T. The Multi-Innovation Adaptive Extended Kalman Filter Algorithm for Battery SOC Estimation. In Proceedings of the 2021 4th International Conference on Advanced Electronic Materials, Computers and Software Engineering (AEMCSE), Changsha, China, 26–28 March 2021; IEEE: Changsha, China, 2021; pp. 159–166. [Google Scholar]
  33. Sadhukhan, C.; Mitra, S.K.; Bhattacharyya, S.; Almatrafi, E.; Saleh, B.; Naskar, M.K. Modeling and Simulation of High Energy Density Lithium-Ion Battery for Multiple Fault Detection. Sci. Rep. 2022, 12, 9800. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Second-order RC equivalent circuit model of lithium-ion batteries.
Figure 1. Second-order RC equivalent circuit model of lithium-ion batteries.
Energies 16 06013 g001
Figure 2. Flow chart of the multi-timescale AEKF–AUKF joint algorithm.
Figure 2. Flow chart of the multi-timescale AEKF–AUKF joint algorithm.
Energies 16 06013 g002
Figure 3. Current and voltage curves for pulse discharge condition: (a) pulse discharge current; (b) pulse discharge voltage.
Figure 3. Current and voltage curves for pulse discharge condition: (a) pulse discharge current; (b) pulse discharge voltage.
Energies 16 06013 g003
Figure 4. Uoc (SoC) equation curve.
Figure 4. Uoc (SoC) equation curve.
Energies 16 06013 g004
Figure 5. UDDS operating current and voltage curves: (a) UDDS operating current; (b) UDDS opreating voltage.
Figure 5. UDDS operating current and voltage curves: (a) UDDS operating current; (b) UDDS opreating voltage.
Energies 16 06013 g005
Figure 6. R0, R1, and R2 parameter identification results.
Figure 6. R0, R1, and R2 parameter identification results.
Energies 16 06013 g006
Figure 7. C1 and C2 parameter identification results.
Figure 7. C1 and C2 parameter identification results.
Energies 16 06013 g007
Figure 8. Terminal voltage error curves.
Figure 8. Terminal voltage error curves.
Energies 16 06013 g008
Figure 9. Results of the multi-timescale AEKF–AUKF joint algorithm: (a) comparison curves between the actual and estimated terminal voltage; (b) terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) SoC estimation error.
Figure 9. Results of the multi-timescale AEKF–AUKF joint algorithm: (a) comparison curves between the actual and estimated terminal voltage; (b) terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) SoC estimation error.
Energies 16 06013 g009
Figure 10. Results of the AEKF–AUKF joint algorithm at L = 1 s versus L = 60 s: (a) comparison curves between the actual and estimated terminal voltage; (b) comparison curves of the terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) comparison curves of the SoC estimation error.
Figure 10. Results of the AEKF–AUKF joint algorithm at L = 1 s versus L = 60 s: (a) comparison curves between the actual and estimated terminal voltage; (b) comparison curves of the terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) comparison curves of the SoC estimation error.
Energies 16 06013 g010
Figure 11. Comparison of the results of the three joint algorithms at multiple time scales: (a) comparison curves between the actual and estimated terminal voltage; (b) comparison curves of the terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) comparison curves of the SoC estimation error.
Figure 11. Comparison of the results of the three joint algorithms at multiple time scales: (a) comparison curves between the actual and estimated terminal voltage; (b) comparison curves of the terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) comparison curves of the SoC estimation error.
Energies 16 06013 g011
Figure 12. Results of the multi-timescale AEKF–AUKF joint algorithm at SoC = 80%: (a) comparison curves between the actual and estimated terminal voltage; (b) terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) SoC estimation error.
Figure 12. Results of the multi-timescale AEKF–AUKF joint algorithm at SoC = 80%: (a) comparison curves between the actual and estimated terminal voltage; (b) terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) SoC estimation error.
Energies 16 06013 g012aEnergies 16 06013 g012b
Figure 13. Results of the multi-timescale AEKF–AUKF joint algorithm at SoC = 60%: (a) comparison curves between the actual and estimated terminal voltage; (b) terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) SoC estimation error.
Figure 13. Results of the multi-timescale AEKF–AUKF joint algorithm at SoC = 60%: (a) comparison curves between the actual and estimated terminal voltage; (b) terminal voltage estimation error; (c) comparison curves between the actual and estimated SoC; (d) SoC estimation error.
Energies 16 06013 g013
Table 1. Parameters of lithium-ion batteries.
Table 1. Parameters of lithium-ion batteries.
ParameterValue
Batteries nameINR18650-30Q
Size18 mm (D) × 65 mm (H)
Rated capacity3000 mAh
Rated voltage3.6 V
Discharge cut-off voltage2.5 V
Table 2. Comparison of terminal voltage errors between the EKF algorithm and the AEKF algorithm.
Table 2. Comparison of terminal voltage errors between the EKF algorithm and the AEKF algorithm.
Online Parameter
Identification Algorithm
MAERMSE
EKF0.00750.0095
AEKF0.00420.0052
Table 3. Comparison of the terminal voltage and SoC estimation errors by different time scales.
Table 3. Comparison of the terminal voltage and SoC estimation errors by different time scales.
Terminal Voltage ErrorSoC Estimation Error
AEKF-AUKFMAERMSEMAERMSE
L = 1 s0.00900.01090.00850.0103
L = 60 s0.00420.00520.00340.0043
Table 4. Comparison of the three joint algorithms terminal voltage and SoC estimation errors.
Table 4. Comparison of the three joint algorithms terminal voltage and SoC estimation errors.
Terminal Voltage ErrorSoC Estimation Error
Joint algorithmMAERMSEMAERMSE
EKF–UKF0.00860.01180.01050.0125
AEKF–UKF0.00770.00980.00680.0079
AEKF–AUKF0.00420.00520.00340.0043
Table 5. Analysis of terminal voltage and SoC estimation errors for different SoC initial values.
Table 5. Analysis of terminal voltage and SoC estimation errors for different SoC initial values.
Terminal Voltage ErrorSoC Estimation Error
SoC valueMAERMSEMAERMSE
SoC = 80%0.00450.00570.00350.0041
SoC = 60%0.00480.00600.00410.0045
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, A.; Zhou, Y.; Mao, J.; Zhang, X.; Zheng, J. An Improved Multi-Timescale AEKF–AUKF Joint Algorithm for State-of-Charge Estimation of Lithium-Ion Batteries. Energies 2023, 16, 6013. https://doi.org/10.3390/en16166013

AMA Style

Wu A, Zhou Y, Mao J, Zhang X, Zheng J. An Improved Multi-Timescale AEKF–AUKF Joint Algorithm for State-of-Charge Estimation of Lithium-Ion Batteries. Energies. 2023; 16(16):6013. https://doi.org/10.3390/en16166013

Chicago/Turabian Style

Wu, Aihua, Yan Zhou, Jingfeng Mao, Xudong Zhang, and Junqiang Zheng. 2023. "An Improved Multi-Timescale AEKF–AUKF Joint Algorithm for State-of-Charge Estimation of Lithium-Ion Batteries" Energies 16, no. 16: 6013. https://doi.org/10.3390/en16166013

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