Next Article in Journal
Defect Detection in Printed Circuit Boards Using You-Only-Look-Once Convolutional Neural Networks
Next Article in Special Issue
Partial Power Processing Based Converter for Electric Vehicle Fast Charging Stations
Previous Article in Journal
Comparing Video Activity Classifiers within a Novel Framework
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

State of Charge Estimation in Lithium-Ion Batteries: A Neural Network Optimization Approach

1
Department of Electrical, Electronic and Systems Engineering, Universiti Kebangsaan Malaysia, Bangi 43600, Malaysia
2
Department of Electrical Power Engineering, College of Engineering, Universiti Tenaga Nasional, Kajang 43000, Malaysia
3
Department of Mechanical and Manufacturing Engineering, Universiti Kebangsaan Malaysia, Bangi 43600, Malaysia
4
School of Electrical, Computer and Telecommunications Engineering, University of Wollongong, Wollongong, NSW 2522, Australia
*
Authors to whom correspondence should be addressed.
Submission received: 1 August 2020 / Revised: 29 August 2020 / Accepted: 3 September 2020 / Published: 22 September 2020

Abstract

:
The development of an accurate and robust state-of-charge (SOC) estimation is crucial for the battery lifetime, efficiency, charge control, and safe driving of electric vehicles (EV). This paper proposes an enhanced data-driven method based on a time-delay neural network (TDNN) algorithm for state of charge (SOC) estimation in lithium-ion batteries. Nevertheless, SOC accuracy is subject to the suitable value of the hyperparameters selection of the TDNN algorithm. Hence, the TDNN algorithm is optimized by the improved firefly algorithm (iFA) to determine the optimal number of input time delay (UTD) and hidden neurons (HNs). This work investigates the performance of lithium nickel manganese cobalt oxide (LiNiMnCoO2) and lithium nickel cobalt aluminum oxide (LiNiCoAlO2) toward SOC estimation under two experimental test conditions: the static discharge test (SDT) and hybrid pulse power characterization (HPPC) test. Also, the accuracy of the proposed method is evaluated under different EV drive cycles and temperature settings. The results show that iFA-based TDNN achieves precise SOC estimation results with a root mean square error (RMSE) below 1%. Besides, the effectiveness and robustness of the proposed approach are validated against uncertainties including noise impacts and aging influences.

1. Introduction

Environmental issues such as global warming, climate change, and carbon emissions drive the necessity to deploy battery storage technologies [1]. Lithium-ion batteries are extensively employed in the automotive industry due to their attractive characteristics such as low self-discharge, long life cycle, high voltage, and high energy density [2]. However, the lithium-ion battery has some issues such as performance degradation with aging cycles, temperature rise, accurate charge estimation, over-charging, and over-discharging [3]. Thus, further investigation is required on the lithium-ion battery charge estimation under a safe temperature region in electric vehicle (EV) applications.
EV has a battery management system (BMS) that executes operations such as state of charge (SOC) monitoring, battery health estimation, remaining life prediction, temperature management, battery equalization, and fault diagnosis [4,5]. SOC is a crucial parameter of BMS which defines the residual charge existing inside a battery cell [6,7]. SOC in EV applications has become an increasingly popular research topic and is of great importance for improving battery lifecycles. An accurate SOC calculation technique confirms the safe driving operation and protects the battery from many abnormalities such as over-charged, over-discharged, and over-heating problems. Nonetheless, SOC is influenced by various factors such as the cathode material, material degradation, aging cycles, and temperatures [8]. Hence, advanced research is concerned greatly with developing an accurate and robust SOC estimation algorithm.

1.1. Related Works

A lot of studies have reported different approaches for SOC estimation of lithium-ion batteries under different operating conditions. The conventional methods like coulomb counting (CC) [9] and open-circuit voltage (OCV) [10] are the straightforward approaches for estimating SOC. Nevertheless, the accuracy of the CC method is affected by sensor precision which accumulates during each current integration. The OCV method obtains SOC by looking up the OCV vs. SOC curve; nevertheless, it needs a long rest time and cannot operate in online conditions. To overcome these concerns, model-based SOC estimation methods have been proposed. The model-based methods utilize a battery model incorporated with adaptive filter algorithms such as the extended Kalman filter (EKF) [11], unscented Kalman filter (UKF) [12], particle filter (PF) [13], H-infinity filter [14] and sliding mode observer [15] to estimate SOC. The KF is a popular approach for SOC estimation; however, the accuracy of KF may diverge badly in a highly nonlinear system. PF has fast execution and can deliver accurate SOC results. Nevertheless, PF has a complex mathematical computation. The H-infinity filter is suitable for moderate accuracy and a low computational cost. However, the performance would abruptly decrease owing to temperature and aging effects. In recent years, data-driven SOC estimation approaches have gained a lot of attention around the world because of their robust computation capabilities for handling highly non-linear lithium-ion battery characteristics. Besides, data-driven approaches examine SOC without exploring battery material structure, features, and associated chemical reactions [16]. The back-propagation neural network (BPNN) algorithm offers simple and easy execution but suffers from slow training operation [17]. The radial basis function neural network (RBFNN) achieves reasonable SOC accuracy with incomplete information; however, it has the shortcoming of lengthy training duration [18]. The extreme learning machine (ELM) is excellent with regard to fast learning speed and improved generalization performance, but the accuracy is influenced by the number of hidden layer neurons [19]. Although the wavelet neural network (WNN) has less complexity in training operation, it needs many hidden units. The support vector machine (SVM) can estimate SOC in the highly non-linear system, but has a complex execution process [20]. Gaussian process regression (GPR) can estimate SOC with model uncertainty; nonetheless, it has a drawback of poor efficiency in high dimensional spaces [21]. The nonlinear autoregressive with exogenous input neural network (NARXNN) is effective for mapping the lithium-ion battery non-linear characteristics, but the performance highly depends on the suitable value of the hyperparameters [22]. The long short-term memory (LSTM) [23] and gated recurrent unit (GRU) [24] can examine SOC under long-term dependencies; however, they require a large pool of data and an appropriate training operation to achieve accurate SOC estimation results. The adaptive neuro-fuzzy inference system (ANFIS) is an intelligent data-driven method that can obtain satisfactory SOC estimation solutions against changing environmental conditions, but it has a complex structure and lengthy computation process [25].

1.2. Major Contributions

The main contribution of this research is to design an optimized data-driven algorithm-based SOC estimation technique for lithium-ion batteries. In particular, a time-delay neural network (TDNN) algorithm optimized by the improved firefly algorithm (iFA) is proposed to elevate the accuracy and robustness in SOC evaluation. The significant contributions of this research work are explained below:
  • The data pre-processing of the proposed iFA-based TDNN algorithm is simple and has easy execution which only requires sensors to monitor the battery variables including voltage, current, and temperature, thereby avoiding the need for an added filter.
  • The TDNN has a self-learning algorithm that updates the learning parameters and employs input layer information in the previous time steps to estimate SOC in the future stage. In contrast, the model-based SOC estimation techniques require depth information and knowledge about battery internal characteristics as well as experience and time to develop a battery model and estimate related parameters accurately.
  • The traditional TDNN algorithm examines SOC with a trial and error approach to determine the suitable values of input time delay (UTD) and hidden neurons (HNs) [26]. However, the trial and error method has some drawbacks such as inefficiency, data under-fitted, and over-fitted issues. Therefore, the TDNN algorithm is integrated with iFA to avoid the trial and error method and achieve accurate SOC estimation solutions.
  • The generalization capability of the iFA-based TDNN algorithm is tested with two dissimilar types of lithium-ion batteries. Moreover, two suitable experimental tests are carried out to validate the proposed algorithm.
  • Apart from the experiments, the accuracy of the proposed method is examined using three EV drive cycles such as the dynamic stress test (DST), federal urban drive schedule (FUDS), and US06. Accordingly, the variation of SOC estimation is monitored at three different temperature conditions.
  • The influence of electromagnetic interference and low sensor precision might lead to inaccuracy in measured current and voltage values. Thus, this paper considers uncertainty issues such as noise impacts and aging profiles while estimating SOC. The robustness and effectiveness of the iFA-based TDNN method are verified against both bias noise and random noise. The performance of lithium-ion batteries deteriorates after the battery is repeatedly charged and discharged a hundred times. Therefore, the adaptability of the proposed method is assessed under 50, 100, 150, and 200 aging cycles.
The remainder of the paper is organized into six sections. Section two covers the explanation of the proposed algorithm framework. The lithium-ion battery test bench and related experimental tests are outlined in section three. Section four illustrates the design, methodological structure and the execution of the proposed algorithm. The SOC estimation results under various conditions are delivered in section five. The conclusion is presented in section six.

2. Theoretical Framework of SOC Algorithm

This section explains the theoretical strategy and framework of the proposed optimized data-driven algorithm for SOC estimation in lithium-ion batteries.

2.1. SOC Modeling with Time Delay Network Algorithm

TDNN is a modified version of the feedforward neural network (FNN) which is simple, fast, and efficient. TDNN is a supervised machine learning algorithm that is well-suited to model a dynamic system with large time delays. Generally, FNN has no internal memory for storing past information, which is ineffective for solving time-series problems. TDNN overcomes this issue by having a past memory with tapped delay lines. TDNN exhibits dynamic memory and employs multiple layers under a necessary interconnection between units which confirms the capability to address non-linear and complex decisions [27]. TDNN has intelligent self-learning skills and robust computation abilities, and hence it is suitable for SOC estimation.
The structure of TDNN is designed using one input layer, one or more hidden layers, and one output layer, as shown in Figure 1. This research uses one hidden layer to estimate SOC. TDNN employs a series of data such as an input vector with UTD ( x = x k ,   x k 1 ,   x k i + 1 ) , HNs ( h = h 1 , h L ) , and output vector y k to examine SOC. The output of the network can be expressed mathematically using the following equations:
y k = φ 0 ( j = 1 L w o j . φ j ( i = 1 M x k i + 1 w j i + b j ) + b o )
where φ j and φ 0 denote the output of the hidden layer and output layer, respectively; w j i is the weight between the input layer and hidden layers, w o j is the weight between the hidden layer and output layer; b j and b o denote the hidden layer bias and output layer bias, respectively; M and L represent the number of inputs and hidden neurons, respectively.
The sigmoid activation function is represented by φ ( t ) and it is expressed as,
φ ( t ) = 1 1 + e 1
The back-propagation learning algorithm is applied to update network parameters of the TDNN algorithm including weights and bias by propagating the output error from the output layer to the hidden layer [28]. The Levenberg–Marquardt (LM) optimization technique is employed to train the TDNN due to its high accuracy and fast response toward the training operation [29]. LM updates the parameters adaptively to minimize the sum of the squared error, as shown in the following equations:
E ( w ) = e ¯ ( w ) T e ¯ ( w ) = k = 0 e k ( w ) 2
where e ¯ ( w ) is the vector with element e k ( w ) ; e k ( w ) denotes the error in the k-th epoch.
A first-order Taylor series is employed to expand the error vector if the difference between the past weight vector and newly estimated weight vector becomes small [30]. The Newton method is used to reduce the function E ( w ) with respect to w , as presented in the following equation.
Δ w = [ 2 E ( w ) ] 1 E ( w )
where E ( w ) stands for gradient and 2 E ( w ) denotes the Hessian matrix which can be obtained using the following equation:
E ( w ) = J T ( w ) e ¯ ( w )
2 E ( w ) = J T ( w ) J ( w ) + k = 1 N e k ( w ) 2 e k ( w ) w i w j
where J ( w ) denotes the Jacobian matrix which includes the first derivative of the network error. Since the second term of Equation (6) is trivial in comparison to the product of the Jacobian matrix, then Equation (4) can re-written as,
Δ w = [ J T ( w ) J ( w ) ] 1 J T ( w ) e ¯ ( w )
If the simplified Hessian matrix is found not invertible, then LM algorithm is adjusted and accordingly, Gauss-Newton method becomes,
Δ w = [ J T ( w ) J ( w ) + γ I ] 1 J T ( w ) e ¯ ( w )
where γ is the parameter to confirm the term [ J T ( w ) J ( w ) + γ I ] is positive and invertible, I is the identity matrix. The selection of the appropriate value of γ is essential for the LM function to ensure the steadiness and convergence speed.

2.2. Improved Firefly Algorithm

The concept of the FA is derived based upon the flashing characteristics of fireflies. The fireflies use different flashes to commutate among themselves as well as attract potential prey and mating partners [31]. Three statements are applied to develop FA. The first statement mentions that the attraction between two fireflies is independent since all the fireflies are unisex. The second statement declares that the brighter fireflies attract the less-bright fireflies. The fireflies with the same brightness travel randomly inside the boundary. The third statement says that the brightness of the fireflies will define the fitness function [32].
The standard FA has slow convergence issues when the fireflies are located far away in the early phases of generation. Moreover, the technique used to find the potential prey or communicate with mating partners in standard FA is mimicked. Also, the influence of environmental factors on the visibility of the flashing light is ignored. Generally, the attractiveness/ brightness of FA relies on many factors, such as the type and shape of the landscape, the distance between two fireflies, and a few environmental factors. For instance, the brightness visibility is reduced in the presence of fog, while the attractiveness/brightness rises as darkness increases. Likewise, the brightness of fireflies cannot be seen in the presence of high-intensity light. To address these concerns, Ball et al. [33] proposed a new improved FA (iFA) algorithm (Algorithm 1) to increase the convergence speed by updating the brightness of the fireflies. The exploration and exploitation capacities are enhanced in iFA algorithm by adding two new terms: brightness visibility ( L mod ) and environmental factors ( ξ ).
Generally, the probability of brightness visibility increases in the lower-dimension landscape and easy optimization problems. In that case, L mod is assigned to a high value. In contrast, L mod is set to lower value when the brightness visibility decreases in the high dimensional and complex optimization problems. The impacts of environmental factors also affect the brightness visibility of iFA. Thus, two environmental variables are introduced, including ambient darkness ( σ 1 ) and ambient fogginess ( σ 2 ). The connection between these two variables can be expressed as follows:
ζ = 1 1 + e ( σ 2 σ 1 ln ( i g e n ) )
where i g e n denotes the generation number varying between 0 and i M a x G e n . The brightness of fireflies can be written as follows:
β ( r ) = β 0 Proposed e γ r m , ( m 1 )
where the attractiveness for r = 0 is represented by β 0 ; γ is the absorption coefficient of light, r is the distance between fireflies. The distance between two fireflies, r i j is based on the cartesian coordinate system that can be written as follows:
r i j = x i x j = k = 1 d ( x i , k x j , k ) 2
where x i , k and x j , k are the spatial coordinate of the i-th and j-th fireflies towards the k-th component.
The proposed attractiveness of fireflies ( β 0 Proposed ) is defined in the following equations:
β 0 Proposed = ( β 0 × L mod ) + ζ   when   r a n d ζ s e e d
β 0 Proposed = β 0   when   r a n d > ζ s e e d
If the ambient darkness increases, the contributions from the second term of Equation (12) will be reduced, resulting in a lower environmental effect on β 0 Proposed . In opposition, if the intensity of ambient darkness decreases, then the impact of the environment becomes stronger, yielding lower brightness visibility of fireflies. The rise of ambient fogginess in the environment leads to a stronger impact of the environmental factor ( ζ ) on the proposed brightness of fireflies ( β 0 Proposed ).
During the early iteration of iFA, the fireflies are located far away from one another, and accordingly, the effect on environmental factors becomes stronger. As the iteration starts to increase, the fireflies are situated close to each other, and subsequently their brightness visibility increases. In this case, the environmental factor has less impact on the brightness visibility of iFA. Therefore, a probability index ( ζ s e e d ) is formulated using i g e n and normalized between 0 and 1.
ζ s e e d = 1 i g e n i M a x G e n ; 1 i g e n i M a x G e n
If the random number rand is equal to or lower than ζ s e e d , then Equation (12) will be executed; otherwise, Equation (13) will be selected. The brighter firefly j is attracted by the lesser bright firefly i, as expressed by,
x i _ n e w = x i _ o l d + β 0 Proposed e γ r i j m ( x j x i _ o l d ) + α i
where α is the randomization parameter and i defines the random numbers located between ‘0’ and ‘1’.
The pseudocode of iFA is illustrated below:
Algorithm 1 Improved Firefly Algorithm (iFA)
Start
Define the fitness function f ( x ) ,                       x = ( x 1 , , x d ) T
Create initial population of fireflies i = 1 , 2 , , S i z e p o p u l a t i o n
Assign γ α   β 0 L m o d   σ 1   a n d   σ 2
Assess fitness function of individual fireflies f ( x ) , i = 1 , 2 , , S i z e p o p u l a t i o n
While t < M a x g e n e r t i o n
Assess ξ s e e d with Equation (14)
if ξ s e e d r a n d
Assess β 0 P r o p o s e d   with Equation (12)
else
Assess β 0 P r o p o s e d   with Equation (13)
end if
                   for i = 1 :   S i z e p o p u l a t i o n
                         for j = 1 :   S i z e p o p u l a t i o n
                         if f ( x j ) > f ( x i )
                         Move firefly i toward j
                         End if
                         Update the attractiveness of fireflies ( β ) with Equation (10)
                         Assess new solutions and update light intensity with Equation (15)
                               end for j
                   end for i
                   Rank the fireflies and find the current best population
                   t = t + 1
end while

3. Lithium-Ion Battery Experiments and Data Preparation

This section covers the type of lithium-ion cells used in this research, collected dataset, experimental arrangement, experimental procedures, data partition, and evaluation criteria.

3.1. Lithium-Ion Battery Cell

In this research, two popular EV lithium-ion battery cells are used; one is a 3200 mAh rated NCR18650B manufactured by Panasonic and the other is a 2600 mAh rated ICR18650-26F developed by Samsung. The positive electrodes of NCR18650B and ICR18650-26F are made using LiNiCoAlO2 (LiNCA) and LiNiMnCoO2 (LiNMC), respectively, while the graphite is used as a negative electrode in both batteries. LiNMC is popular due to its extended lifespan, while LiNCA offers a high level of specific energy. Table 1 provides the information and specifications of the two lithium-ion batteries [6].

3.2. Battery Experimental Setup

A lithium-ion battery test bench model is established to monitor the key parameters including capacity, current and voltage, power, and cycle number. The developed test bench model is separated into two sections: one is the hardware section and the other is the software section, as depicted in Figure 2. The hardware section includes two segments; the measurement unit and the control unit. The measurement unit is designed using NEWARE BTS-4000 and LiNCA, LiNMC battery cells. The maximum capacity of voltage and current for NEWARE BTS-4000 are 5 V and 6 A, respectively. The NEWARE BTS-4000 has 8 channels that are independent of each other and it is capable of sensing and recording the battery parameters each second with an accuracy of ±0.05% full scale (FS) [34]. The control unit can keep the charging and discharging voltage under the defined cut-off values, thus protecting the battery from overcharging and over-discharging issues. In contrast, the software section includes the battery testing system (BTS) software version 7.6 related to NEWARE BTS-4000 hardware and MATLAB 2015a. Both pieces of software are installed on the host computer. Each step of the SDT and HPPC experiment is executed though the BTS software. After, the recorded data are transferred to the host computer. Besides, the charging and discharging control of LiNCA and LiNMC batteries are implemented through the appropriate software function of the BTS software. Finally, MATLAB 2015a software is used to execute the iFA-based TDNN algorithm code to examine SOC.

3.3. Battery Experimental Tests

The validation of the proposed algorithm is performed using a static discharge test (SDT) and a hybrid pulse power characterization (HPPC) test. Besides, the noise test and aging cycle tests are carried out to check the SOC accuracy against uncertainties. Before the experiments begin, the battery is completely charged, and accordingly, the initial SOC is assigned to 100%. The Samsung ICR18650-26F battery is used to explain the steps of each experimental test. These steps can also be applied to a Panasonic NCR18650B while maintaining the manufacturer’s requirements in terms of current and voltage.
(1)
SDT
SDT uses the constant discharge current of the lithium-ion battery to evaluate SOC. The operation of SDT is explained using the steps mentioned below.
  • Firstly, a constant current (CC) of 1.3 A (0.5 C) is applied to charge the battery fully until the charge voltage increases to the maximum threshold of 4.2 V.
  • Then, a constant voltage (CV) of 4.2 V is applied until a drop in the charge current to 0.13 A (0.05 C) is achieved.
  • The battery being tested is kept idle for 1 h.
  • A discharge current of 2.6 A (1 C) is applied until the voltage is reduced to 2.75 V.
  • The test ends if the battery voltage reaches the minimum threshold of 2.75 V; otherwise, step ii will continue.
(2)
HPPC test
The HPPC test consists of the array of charge and discharge current pulses arranged in an orderly manner. The following steps are used to describe the operation of HPPC.
  • The CC-CV method is employed to charge the battery completely until the battery current decreases to 0.13 A (0.05 C).
  • The battery being tested is kept idle for 1 h.
  • A discharge current of 1.3 A (0.5 C) is applied for 10 s.
  • The battery being tested is kept idle for 3 min.
  • A charge current of 1.3 A (0.5 C) is applied for 10 s.
  • The battery is kept idle for 3 min.
  • A discharge current of 0.65 A (0.25 C) is applied for 24 min to decrease the SOC capacity of the battery by 10%.
  • The experiment ends if the battery voltage reaches the lower cut off voltage; otherwise, step iii will start again.
(3)
Noise test
The accuracy of SOC could deviate due to electromagnetic interference (EMI) noises and sensor precision. EMI noises take place when the switching of the power converter is operated at a high frequency, and hence they may combine with the measured current and voltage signals. On the other hand, current and voltage sensors have a common issue, equipment error, which leads to errors in measurements. Thus, this research work considers both EMI impacts and sensor precision by adding random noises and bias noises, respectively, to evaluate the proposed model’s suitability in the real-world environment. Accordingly, the positive bias noises of 0.1 A and 0.01 V are injected into the current and voltage measurements, respectively. At the same time, the random noises having amplitude values of 0.1 A and 0.01 V are included in current and voltage measurements, respectively.
(4)
Aging cycle test
Battery aging is a significant index term used to evaluate performance after continuous charge-discharge cycles. Usually, the capacity of the battery declines with the rise of aging cycles. However, capacity degradation does not occur in the same way in different types of lithium-ion batteries. In this research, LiNCA and LiNMC battery cells are employed to assess the aging effect on performance and predictable capacity, as well as to evaluate SOC. Four milestones of aging cycles are selected to validate the accuracy and robustness of the proposed method including 50, 100, 150, and 200 cycles. The steps of the aging cycle are highlighted as follows:
  • Firstly, the complete charge operation is executed based on the CC-CV method with a constant charge current of 1.3 A (0.5 C) until the battery voltage reaches 4.2 V. After, the charge voltage of 4.2 V is kept constant until the charging current declines to 0.13 A (0.05 C).
  • The idle operation of the battery is performed for 15 min.
  • A constant discharge current of 2.6 A (1 C) is applied until the battery voltage decreases to 2.75 V.
  • The lowest point of the discharge voltage (2.75 V) of the battery is checked. The one aging schedule is completed when the battery reaches a cut-off voltage of 2.75 V; otherwise, step iii will begin again.
  • After the completion of one aging cycle, the battery is kept in an idle operation stage for one hour.
  • Step i starts again to perform the second aging cycle test. The process continues until the defined cycles are achieved.

3.4. Dataset Training and Testing

The dataset achieved from the battery test bench is split into two groups; training and testing. The data partition is performed based on the cross-validation method using a 70-30 ratio [35]. The training operation is implemented in the offline phase while testing operation and SOC estimation is performed in the online phase. To improve training accuracy and speed, the dataset is normalized within the boundary of [−1, 1], as represented by the equation below,
x = 2 ( x x min ) x max x min 1
where x max and x min are the maximum and the minimum values of variable x , respectively. The maximum iterations and performance goal are set to be 1000 and 0.000001, respectively. The learning rate is considered as 0.5. The host computer has sufficient computational power with 12 GB random access memory (RAM). The current and voltage load profiles of SDT and HPPC for the LiNCA and LiNMC batteries are shown in Figure 3 and Figure 4, respectively. In this research, the positive current and negative current correspond to the charging process and the discharging process, respectively. The relationship between SOC and voltage is established where voltage increases with the rise of SOC, as illustrated in Figure 5.

3.5. Measurement of SOC Effectiveness

The performance of the iFA-based TDNN algorithm is assessed by comparison with reference SOC values achieved through the CC method with an adjustable current sensor. The different statistical error rate terms shown in (17)–(22) are used to check the accuracy of the proposed algorithm [35].
S O C   e r r o r =   S O C a i S O C e s i
R M S E = 1 N i = 1 N ( S O C a i S O C e s i ) 2
M S E = 1 N i = 1 N ( S O C a i S O C e s i ) 2
M A E = 1 N i = 1 N ( S O C a i S O C e s i )
M A P E = 1 N i = 1 N | S O C a i S O C e s i S O C a i |
S D = 1 N 1 i = 1 N ( S O C   e r r o r S O C   e r r o r ¯ ) 2
where S O C a is the actual/reference SOC and S O C e s is the estimated SOC by the proposed algorithm, N is the number of the data sample, MSE is mean square error, MAE is mean absolute error, MAPE is mean absolute percentage error, SD is the standard deviation, and S O C e r r o r ¯ is the average error of SOC estimated values.

4. Design and Implementation of iFA Based TDNN Algorithm for SOC Estimation

The proposed algorithm is designed based on three vital components, including input dimension, fitness function, and constraints of optimization. The iFA determines the suitable values of the hyper-parameters which include the UTD and HNs while achieving the minimum value of the fitness function and satisfying all constraints in the optimization during the iterative method.

4.1. Input Information

The input information consists of a matrix that is designed using the number of rows and columns and defines the dimension and boundary of the hyperparameters. The number of problem dimension is characterized by the number of rows, while the population of hyperparameters is outlined by the number of columns in the matrix, as represented by the equation below:
D i j = [ X 11 X 12 X 13 X 21 X 22 X 23 X 31 X 32 X 33                   X 1 j X 2 j X 3 j         X 41 X 42 X 43 X i 1 X i 2 X i 3                   X 4 j X i j ]
where D i j represents the matrix of the input data which can be defined by i and j, where i = 1 , 2 , , P , with P representing the population number; j = 1 , 2 , , N , with N denoting the problem dimension.

4.2. Fitness Function

The fitness function helps to achieve precise SOC estimation outcomes by finding the appropriate values of hyperparameters. The iFA aims to obtain the lowest error rate of fitness function through iterations that correspond to the optimum values of the UTD and HNs. Lithium-ion battery SOC estimation has a high volume of datasets where SOC error is distributed randomly. Thus, root means square error (RMSE) is selected as the fitness function which is shown in the following equation:
O b j e c t i v e   f u n c t i o n = min   ( R M S E )

4.3. Optimization Constraints

The optimization constraints are determined by assigning the upper and lower number of the UTD and HNs of the
TDNN algorithm. If the population of hyperparameters is located outside the boundary, then the accuracy of iFA could deviate which may result in unsatisfactory performance during SOC estimation. Therefore, the values of hypermeters are checked in each iteration. If any values are located outside the boundary, then values will be reproduced and updated accordingly. The constraints of the hyperparameters must satisfy the following equation:
X i , j k 1 < X i , j k < X i , j k + 1
The above equation indicates that the value X i , j k of the hyperparameter should be placed between X i , j k 1 and X i , j k + 1 .

4.4. Execution Process of iFA Based TDNN Algorithm

The implementation of the TDNN-iFA begins with the collection of battery datasets, including current and voltage, through experimental tests. After that, iFA is employed to find the appropriate value of UTD and HNs based on the lowest value of the fitness function. Finally, the accuracy and robustness of SOC estimation are assessed using different performance indicator terms. The proposed method is then advanced into different tests and uncertainties. The flow diagram of the proposed algorithm is shown in Figure 6. The methodology of the TDNN-iFA algorithm is divided into three stages.
In stage I, a battery test bench model is built to carry out the experiments as well as collect battery data. Then, data is pre-processed through normalization. After, the data is separated into training and testing groups.
In stage II, the implementation of TDNN starts with assigning the epoch number, performance goal, and learning rate. Subsequently, the process of iFA starts with the selection of suitable iteration number, population size, input dimension, fitness function, and optimization constraints. At first, the initial population of iFA is generated and the fitness function is assessed. After, the light intensity of the firefly is evaluated based on the fitness function, and accordingly, the best population is determined. Later, the probability index and proposed attractiveness are assessed using Equations (12) and (13). Next, the movement of the firefly from the brighter one toward the less-bright one is estimated. Later, attractiveness among fireflies is evaluated and light intensity is updated using Equations (10) and (15), respectively. The aforementioned processes continue until the highest number of iterations is completed. Finally, the optimal values of UTD and HNs are found and consequently proceed to the TDNN algorithm. Accordingly, the TDNN training process is executed using the LM method using Equations (3)–(8). Afterward, the network parameters of TDNN are updated using the backpropagation learning rule. Finally, the output of TDNN is computed using Equation (1).
In stage III, the TDNN-iFA algorithm is verified through SDT and HPCC experiments based on statistical error rate terms, as indicated in Equations (17)–(22). In line with that, the effectiveness of the TDNN-iFA algorithm is assessed under EV drive cycles and varying temperature situations. Besides, the robustness of the proposed method is evaluated against the uncertainties, including noise tests and the aging cycle tests.

5. SOC Experimental Results and Validation

This section describes the experimental results of SOC estimation under different chemistries of lithium-ion battery cells. Also, the validation of SOC is carried out under EV drive cycles, noise effects, and aging impacts.

5.1. Assessment of Fitness Function and Optimal Parameter

The fitness function is evaluated using the optimization response curve in SDT and HPPC experiments for LiNCA and LiNMC batteries, as presented in Figure 7 and Figure 8, respectively. The fitness function performance of iFA is compared with FA and particle swarm optimization (PSO). The optimization curve is generated using a population of 50 and 500 iterations.
The optimal values of UTD and HNs are determined via the response curve for optimization by identifying the lowest point of the fitness function. For example, in SDT, iFA achieves the lowest fitness function after 74 and 78 iterations for the LiNCA and LiNMC battery, respectively, which are smaller than the FA and PSO algorithms. The corresponding iteration number delivers the fitness functions of 0.177% and 0.125% and provides the best values of the UTD and HNs of 2, 3, and 12, 15, respectively. Likewise, in the HPPC test, iFA demonstrates excellent solutions in obtaining the minimum value of the fitness function compared to FA and PSO algorithms achieving 0.292% and 0.276% after 45 and 39 iterations, respectively, for the LiNCA battery and LiNMC battery. Accordingly, the optimal values of UTD and HNs of 4, 5, and 10, 18 are obtained after 45 and 39 iterations, respectively. The appropriate values of the UTD and HNs in SDT and HPPC tests are summarized in Table 2.

5.2. Experimental Verification Results

The performance of the iFA-based TDNN algorithm is verified using SDT and HPPC experiments and results are compared and analyzed with three commonly-reported data-driven algorithms; namely, the backpropagation neural network (BPNN) and radial basis function neural network (RBFNN) and Elman neural network (ENN). The comparative analysis is performed using a similar length of input datasets for training and testing. In addition, iFA is employed to update the number of HNs of BPNN, RBFNN, and ENN to achieve unbiased comparison.
(1)
SOC Estimation in LiNCA Battery
The SOC is examined for the LiNCA battery using the TDNN-iFA algorithm under SDT and HPPC experiments, as depicted in Figure 9 and Figure 10, respectively. It is observed that the reference SOC values are placed adjacent to estimated SOC values which proves that the proposed approach obtains accurate solutions. The results of RMSE, MAE, MAPE, and SD also demonstrate the superiority of the iFA-based TDNN algorithm over iFA-based BPNN, iFA-based RBFNN, iFA-based ENN as denoted in Table 3. In SDT, RMSE is estimated to be 0.5844% in the proposed algorithm, which is a 32.2%, 54.9%, and 19% decrease when compared to the iFA-based BPNN, iFA-based RBFNN, iFA-based ENN, respectively. Moreover, the proposed algorithm computes MAE of 0.2374% which is reduced by 60.8%. 78.7% and 56.7% from those obtained from the iFA-based BPNN, iFA-based RBFNN, iFA-based ENN, respectively. Similarly, MAPE is declined by 29.9%, 54.1% and 38.7% in comparison to those values derived using the iFA-based BPNN, iFA-based RBFNN, iFA-based ENN. Besides, the proposed method has a maximum SOC error under 3%; however, high fluctuations are observed in iFA-based BPNN, iFA-based RBFNN, iFA-based ENN, having SOC error of [−5.19%, 6.45%], [−4.36%, 8.89%] and [−3.32%, 2.26%], respectively. The proposed algorithm is also dominant in HPPC test and possesses a lower error rate than those from iFA-based BPNN, iFA-based RBFNN, iFA-based ENN methods.
(2)
SOC Estimation in LiNMC Battery
The performance of SOC estimation results is also evaluated for the LiNMC battery under SDT and HPPC experiments, as illustrated in Figure 11 and Figure 12, respectively. From Table 4, it can be observed that RMSE is decreased by 60.3%, 70.8%, and 49.7% in the proposed algorithm under SDT compared to the iFA-based BPNN, iFA-based RBFNN, iFA-based ENN, respectively. Similarly, 76.2%, 84.3%, and 68.6% reductions are reported in the proposed algorithm in comparison to iFA-based BPNN, iFA-based RBFNN, and iFA-based ENN, respectively, while calculating MAE. Besides, the iFA-based TDNN method demonstrates excellent results in the aspects of SOC error, MSE and MAPE. For instance, the maximum SOC error is noted to be 1.38% in the proposed approach, while it is 3.31%, 5.44%, and 3.02% in iFA-based BPNN, iFA-based RBFNN, and iFA-based ENN, respectively. The proposed algorithm also obtains a narrow SOC error in the HPPC test, obtaining a maximum SOC error of 4.23%. Since TDNN has few mathematical complications in the testing stage, the execution time is small, indicating less than 30 milliseconds and 0.5 s in SDT and HPPC tests, respectively. In conclusion, the aforesaid accurate outcomes and fast computation time in the testing phase demonstrate the suitability of TDNN-iFA algorithms in real-time BMS.

5.3. SOC Estimation under EV Drive Cycles and Temperatures

The accuracy and effectiveness of the iFA-based TDNN approach for SOC estimation are further evaluated under different EV drive cycles. EV drive cycle data are obtained on LiNMC battery with a rated capacity of 2.0 Ah [36]. The DST, FUDS, and US06 drive schedules are employed to assess the accuracy and robustness of the proposed method, as depicted in Figure 13. The aforementioned drive cycles are diverse in terms of current and voltage values. DST relates to the battery charging and discharging under the dynamic phase, FUDS relates to EV driving in urban areas and US06 corresponds to high acceleration driving with quick speed fluctuation. It is noticed that SOC estimation results under DST, FUDS, and US06 drive cycles are found to be located very near to the reference SOC values which confirms high robustness and low estimation error. In all drive cycles, SOC error is restricted under ±5%. Moreover, the temperature effects; 0 °C, 25 °C and 45 °C are taken into account under DST, FUDS, and US06 drive cycles, as shown in Figure 14. It is observed from Figure 13 that, iFA-based TDNN achieves RMSE and MAE below 0.8% and above 6%, respectively in DST drive cycle at 0 °C. The RMSE and MAE in the FUDS cycle are slightly higher than the DST cycle, indicating below 0.9% and 0.8%, respectively at 0 °C. US06 cycle obtains the highest error rates among all drive cycles due to high fluctuation of current values with RMSE and MAE below 1% and 0.8% respectively. It is observed that error rates in all drive cycles decrease with the rise of temperature from 0 °C to 45 °C. For instance, RMSE in DST cycles is achieved to be over 0.6% at 25 °C while it is below 0.6% at 45 °C. In the US06 cycle, iFA-based TDNN has MAE below 0.8% at 25 °C; however, MAE drops at 45 °C, indicating under 0.6%.

5.4. SOC Robustness Validation against Noise Effects

The robustness of the iFA-based TDNN algorithm for SOC estimation is validated against both bias noise and random noise, as presented in Figure 15 and Table 5. The results reveal that the combination of bias and random noise has a small influence on SOC estimation with regard to RMSE, MAE, and SOC error. It is noticed that the addition of bias and random noises elevates the SOC error bound a bit; however, SOC error rates have stayed inside the reasonable range. For example, iFA-based TDNN achieves the maximum SOC error of 3.5% and 5.8% in SDT and HPPC load profiles, respectively, for the LiNMC battery. In line with that, the proposed method obtains RMSE of 0.558% and 1.112%, respectively. The results are also satisfactory in the LiNCA battery, where the maximum SOC error is reported to be 4% and 6.3% in SDT and HPPC tests, respectively. The aforementioned results prove that the iFA-based TDNN algorithm demonstrates strong robustness against biased noises and random noises toward accurate SOC estimation.

5.5. SOC Robustness Validation against Aging Impacts

The comparative performance between LiNCA and LiNMC batteries is further examined using the aging cycle test. The current and voltage characteristics of LiNCA and LiNMC batteries for one aging cycle are shown in Figure 16.
The performance degradation of LiNCA and LiNMC batteries is assessed using discharge capacity and cycle life under four milestone aging cycles; 50 cycles, 100 cycles, 150 cycles, and 200 cycles, as depicted in Table 6. The discharge capacity denotes the current capacity of the lithium-ion battery after certain aging cycles while cycle life compares the present capacity of an aged battery cell with the capacity of a new battery cell. The results indicate that the capacity of LiNCA falls faster than LiNMC battery, which means LiNCA performs poorly under many aging cycles. In contrast, LiNMC shows strong adaptability and robustness against many aging cycles. For instance, the LiNCA battery has a capacity of 2763 mAh after 200 aging cycles, which is reduced by 9.5% in comparison to the value obtained after 50 aging cycles. However, only a 3.6% decrease in capacity is noted in the LiNMC battery. The results of the cycle life are also satisfactory in the LiNMC battery under many aging cycles. For example, LiNMC has a cycle life of 95.756% after 200 aging cycles; nevertheless, the cycle life of LiNCA is reduced quickly and estimated to be 85.923%.
At first, the LiNCA and LiNMC batteries are cycled for a definite number of cycles. After the completion of the aging cycle test, the lithium-ion battery is loaded with the HPPC test. The performance of the TDNN-iFA model is tested with the HPPC experimental dataset of aged LiNCA and LiNMC batteries for 50, 100, 150, and 200 cycles. The results of SOC and SOC errors under 50, 100, 150, and 200 aging cycles for LiNCA and LiNMC battery are presented in Figure 17 and Figure 18, respectively. Moreover, the results of the RMSE, MAE, and SOC error bound are depicted in Table 7.
It is observed that the LiNCA battery has higher error rates than the LiNMC battery. For instance, at 50 aging cycles, the LiNCA battery has RMSE of 0.933%, while this is 0.821% in the LiNMC battery. A similar type of results is also noticed in the MAE and SOC error rates. Moreover, the SOC error range is found to be [−3.4%, 6.7%] in the LiNCA battery, while that for LiNMC is [−5.5%, 5.7%]. SOC error rates move up as the aging cycle increases from 50 to 100. For example, in the LiNMC battery, the MAE is calculated to be 0.685% at 100 cycles, while it is 0.623% at 50 cycles. Under 100 aging cycles, the LiNMC battery delivers better solutions than the LiNCA battery, achieving a maximum SOC error and RMSE of 6% and 0.864%, respectively. The assessment of iFA-based TDNN algorithm for SOC estimation is further conducted under 150 aging cycles for LiNCA and LiNMC batteries. The results show that the proposed model tracks the reference SOC precisely for both the LiNCA battery and LiNMC battery. Like previous aging cycles, the LiNMC battery is also dominant over the LiNCA battery in providing a low error rate. The LiNCA battery has a SOC error range of [−6.8%, 8.8%] while that for LiNMC is [−6.5%, 6.2%]. Besides, the LiNMC battery obtains low RMSE and MAE, indicating 0.927% and 0.742%, respectively.
The SOC evaluation of the LiNCA battery and LiNMC battery is further verified under 200 aging cycles. It is observed that the accuracy of the LiNCA battery drops significantly when it is deeply cycled. The results indicate that SOC error range and RMSE is attained to be [−7.8%, 9.9%], and 2.614% respectively, for the LiNCA battery. However, the LiNMC battery delivers outstanding SOC estimation results under 200 aging cycles, with a SOC error limit and RMSE of [−6.7%, 6.4%], and 1.046%, respectively.
To test the LiNCA and LiNMC batteries at a higher number of cycles, the verification of SOC estimation by the proposed algorithm is carried out under 400 and 600 cycles. The results indicate that the cycle life of LiNCA and LiNMC batteries under 400 cycles is 73.685% and 91.597%, respectively. It is reported in the literature that a lithium-ion battery with a cycle life below 80% is declared unsafe and unserviceable [37]. In this regard, LiNCA batteries are no longer usable, and accordingly a replacement is needed. In contrast, the LiNMC battery has a cycle life well above 80% and hence is used for algorithm validation and analysis. At 400 aging cycles, the LiNMC battery achieves RMSE and MAE of 1.327% and 1.128%, which are raised by 21.2% and 26.8%, respectively, compared to the values obtained under 200 aging cycles. Moreover, the LiNMC battery illustrates satisfactory performance under 600 aging cycles, indicating cycle life, RMSE, and MAE values of 88.257%, 1.582%, and 1.368%, respectively. These results show that LiNCA batteries are not appropriate for a high number of aging cycles above 400. Nevertheless, LiNMC batteries are outstanding even if the aging cycles increase to 600, demonstrating high adaptability and robustness for EV operation.

5.6. Comparative Validation with the Existing Methods

Apart from data-driven techniques for SOC validation, the accuracy of the proposed optimized TDNN algorithm is compared with the traditional methods and model-based approaches including OCV, CC, KF, PF, H∞ filter, recursive least square (RLS), and observers, as illustrated in Table 8.
The key implementation factors associated with SOC estimation such as lithium-ion battery chemistry, battery capacity, changing temperature, and validation profiles are taken into consideration to conduct the comparative analysis. The SOC error rates are assessed under a similar type of validation profile to carry out a fair comparative study. For instance, in 1 Coulomb (C) SDT, the proposed method computes MAE of 0.2374% and 0.1452% in the LiNCA battery and LiNMC battery, respectively. Nevertheless, the MAE is found to be more than 2% in unscented Kalman filter (UKF) and H∞ Filter methods under the same load profile. The performance of the iFA-based TDNN for SOC estimation is further examined using different EV drive cycles. It is observed that RMSE is reported below 1% in the proposed algorithm under different EV drive cycles, while that for OCV, the unscented particle filter (UPF), RLS, and proportional integral observer (PIO) is above 1%. In summary, the iFA-based TDNN algorithm has proven to be excellent in terms of accuracy, adaptability, and robustness compared to the existing notable SOC estimation techniques.

6. Conclusions

An improved data-driven algorithm using TDNN optimized by iFA is proposed to achieve accurate SOC estimation of lithium-ion batteries. The iFA algorithm improves the computational capability of TDNN by choosing the optimum values of UTD and HNs, thus leading to an enhancement in SOC accuracy and robustness. For the verification, the fully developed algorithm is examined with two types of lithium-ion battery cells under two different experiments, namely SDT and HPPC. The TDNN-iFA algorithm achieves excellent SOC estimation results with low RMSE, SD, MSE, MAPE, and MAE, while having a narrow SOC error below 5% in the SDT and HPPC tests. The SOC estimation results under EV drive cycles and variable temperatures also prove the dominance of the iFA-based TDNN algorithm where RMSE is reported under 1%. Besides, the reasonable accuracy under noise and aging impacts illustrates the adaptability and robustness of the TDNN-iFA algorithm against uncertainties. Furthermore, detailed comparative analysis with the existing SOC estimation techniques considering different loads and temperatures demonstrates that the developed optimized data-driven method can provide excellent solutions with respect to the accuracy, efficiency, and robustness. The key information, results, and analysis achieved from this study would be important for the EV automobile industry toward the development of an enhanced SOC estimation approach. Hence, further investigation of SOC estimation via the optimized TDNN method will not only increase the battery life cycle but also confirm a reliable operation of EVs, resulting in a substantial growth of the EV market. Future research work should include the validation of iFA-based TDNN algorithm for SOC estimation of the lithium-ion battery pack in EV applications.

Author Contributions

Conceptualization, M.S.H.L. and M.A.H.; methodology, M.S.H.L.; software, M.S.H.L.; validation, M.S.H.L.; formal analysis, M.S.H.L.; investigation, M.S.H.L. and M.A.H.; resources, M.A.H. and A.H.; data curation, M.S.H.L.; writing—original draft, M.S.H.L.; writing—review and editing, M.A.H., A.H., A.A., M.H.M.S. and K.M.M.; visualization, M.S.H.L.; supervision, M.A.H., A.H., A.A. and M.H.M.S.; project administration, M.A.H.; funding acquisition, M.S.H.L. and M.A.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Universiti Kebangsaan Malaysia under Grant LRGS/2018/UNITEN-UKM/EWS/04.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mongird, K.; Viswanathan, V.; Balducci, P.; Alam, J.; Fotedar, V.; Koritarov, V.; Hadjerioua, B. An Evaluation of Energy Storage Cost and Performance Characteristics. Energies 2020, 13, 3307. [Google Scholar] [CrossRef]
  2. Stampatori, D.; Raimondi, P.P.; Noussan, M. Li-Ion Batteries: A Review of a Key Technology for Transport Decarbonization. Energies 2020, 13, 2638. [Google Scholar] [CrossRef]
  3. Huang, B.; Pan, Z.; Su, X.; An, L. Recycling of lithium-ion batteries: Recent advances and perspectives. J. Power Sources 2018, 399, 274–286. [Google Scholar] [CrossRef]
  4. Yuan, W.-P.; Jeong, S.-M.; Sean, W.-Y.; Chiang, Y.-H. Development of Enhancing Battery Management for Reusing Automotive Lithium-Ion Battery. Energies 2020, 13, 3306. [Google Scholar] [CrossRef]
  5. Balasingam, B.; Ahmed, M.; Pattipati, K. Battery Management Systems—Challenges and Some Solutions. Energies 2020, 13, 2825. [Google Scholar] [CrossRef]
  6. Zhang, R.; Xia, B.; Li, B.; Cao, L.; Lai, Y.; Zheng, W.; Wang, H.; Wang, W.; Zhang, R.; Xia, B.; et al. State of the Art of Lithium-Ion Battery SOC Estimation for Electrical Vehicles. Energies 2018, 11, 1820. [Google Scholar] [CrossRef] [Green Version]
  7. Hussain, S.; Nengroo, S.H.; Zafar, A.; Kim, H.-J.; Alvi, M.J.; Ali, M.U. Towards a Smarter Battery Management System for Electric Vehicle Applications: A Critical Review of Lithium-Ion Battery State of Charge Estimation. Energies 2019, 12, 446. [Google Scholar]
  8. Hu, X.; Feng, F.; Liu, K.; Zhang, L.; Xie, J.; Liu, B. State estimation for advanced battery management: Key challenges and future trends. Renew. Sustain. Energy Rev. 2019, 114, 109334. [Google Scholar] [CrossRef]
  9. Zhang, Y.; Song, W.; Lin, S.; Feng, Z. A novel model of the initial state of charge estimation for LiFePO 4 batteries. J. Power Sources 2014, 248, 1028–1033. [Google Scholar] [CrossRef]
  10. Antonucci, V.; Artale, G.; Brunaccini, G.; Caravello, G.; Cataliotti, A.; Cosentino, V.; Di Cara, D.; Ferraro, M.; Guaiana, S.; Panzavecchia, N.; et al. Li-ion Battery Modeling and State of Charge Estimation Method Including the Hysteresis Effect. Electronics 2019, 8, 1324. [Google Scholar] [CrossRef] [Green Version]
  11. Lai, X.; Yi, W.; Zheng, Y.; Zhou, L. An All-Region State-of-Charge Estimator Based on Global Particle Swarm Optimization and Improved Extended Kalman Filter for Lithium-Ion Batteries. Electronics 2018, 7, 321. [Google Scholar] [CrossRef] [Green Version]
  12. Yang, F.; Xing, Y.; Wang, D.; Tsui, K.L. A comparative study of three model-based algorithms for estimating state-of-charge of lithium-ion batteries under a new combined dynamic loading profile. Appl. Energy 2016, 164, 387–399. [Google Scholar] [CrossRef]
  13. Xiong, R.; Zhang, Y.; He, H.; Zhou, X.; Pecht, M.G. A Double-Scale, Particle-Filtering, Energy State Prediction Algorithm for Lithium-Ion Batteries. IEEE Trans. Ind. Electron. 2018, 65, 1526–1538. [Google Scholar] [CrossRef]
  14. Liu, C.Z.; Zhu, Q.; Li, L.; Liu, W.Q.; Wang, L.Y.; Xiong, N.; Wang, X.Y. A State of Charge Estimation Method Based on H∞ Observer for Switched Systems of Lithium-Ion Nickel-Manganese-Cobalt Batteries. IEEE Trans. Ind. Electron. 2017, 64, 8128–8137. [Google Scholar] [CrossRef]
  15. Du, J.; Liu, Z.; Wang, Y.; Wen, C. An adaptive sliding mode observer for lithium-ion battery state of charge and state of health estimation in electric vehicles. Control Eng. Pract. 2016, 54, 81–90. [Google Scholar] [CrossRef]
  16. Rivera-Barrera, J.; Muñoz-Galeano, N.; Sarmiento-Maldonado, H. SoC Estimation for Lithium-ion Batteries: Review and Future Challenges. Electronics 2017, 6, 102. [Google Scholar] [CrossRef] [Green Version]
  17. He, W.; Williard, N.; Chen, C.; Pecht, M. State of charge estimation for Li-ion batteries using neural network modeling and unscented Kalman filter-based error cancellation. Int. J. Electr. Power Energy Syst. 2014, 62, 783–791. [Google Scholar] [CrossRef]
  18. Haddad Zarif, M.; Charkhgard, M.; Alfi, A. Hybrid state of charge estimation for lithium-ion batteries: Design and implementation. IET Power Electron. 2014, 7, 2758–2764. [Google Scholar]
  19. Lipu, M.S.H.; Hannan, M.A.; Hussain, A.; Saad, M.H.M.; Ayob, A.; Uddin, M. Extreme Learning Machine Model for State of Charge Estimation of Lithium-ion battery Using Gravitational Search Algorithm. IEEE Trans. Ind. Appl. 2019, 55, 4225–4234. [Google Scholar] [CrossRef]
  20. Cui, D.; Xia, B.; Zhang, R.; Sun, Z.; Lao, Z.; Wang, W.; Sun, W.; Lai, Y.; Wang, M.; Cui, D.; et al. A Novel Intelligent Method for the State of Charge Estimation of Lithium-Ion Batteries Using a Discrete Wavelet Transform-Based Wavelet Neural Network. Energies 2018, 11, 995. [Google Scholar] [CrossRef] [Green Version]
  21. Liu, K.; Li, Y.; Hu, X.; Lucu, M.; Widanage, W.D. Gaussian Process Regression with Automatic Relevance Determination Kernel for Calendar Aging Prediction of Lithium-Ion Batteries. IEEE Trans. Ind. Inform. 2020, 16, 3767–3777. [Google Scholar] [CrossRef] [Green Version]
  22. Lipu, M.S.H.; Hannan, M.A.; Hussain, A.; Saad, M.H.M.; Ayob, A.; Blaabjerg, F. State of Charge Estimation for Lithium-ion Battery Using Recurrent NARX Neural Network Model Based Lighting Search Algorithm. IEEE Access 2018, 6, 28150–28161. [Google Scholar] [CrossRef]
  23. Bian, C.; He, H.; Yang, S. Stacked bidirectional long short-term memory networks for state-of-charge estimation of lithium-ion batteries. Energy 2020, 191, 116538. [Google Scholar] [CrossRef]
  24. Xiao, B.; Liu, Y.; Xiao, B. Accurate state-of-charge estimation approach for lithium-ion batteries by gated recurrent unit with ensemble optimizer. IEEE Access 2019, 7, 54192–54202. [Google Scholar] [CrossRef]
  25. Awadallah, M.A.; Venkatesh, B. Accuracy improvement of SOC estimation in lithium-ion batteries. J. Energy Storage 2016, 6, 95–104. [Google Scholar] [CrossRef]
  26. Chaoui, H.; Ibe-Ekeocha, C.C.; Gualous, H. Aging prediction and state of charge estimation of a LiFePO4 battery using input time-delayed neural networks. Electr. Power Syst. Res. 2017, 146, 189–197. [Google Scholar] [CrossRef]
  27. Shao, Y.E.; Lin, S.-C. Using a Time Delay Neural Network Approach to Diagnose the Out-of-Control Signals for a Multivariate Normal Process with Variance Shifts. Mathematics 2019, 7, 959. [Google Scholar] [CrossRef] [Green Version]
  28. Hannan, M.A.; Lipu, M.S.H.; Hussain, A.; Saad, M.H.; Ayob, A. Neural Network Approach for Estimating State of Charge of Lithium-ion Battery Using Backtracking Search Algorithm. IEEE Access 2018, 6, 10069–10079. [Google Scholar] [CrossRef]
  29. Hagan, M.T.; Menhaj, M.B. Training feedforward networks with the Marquardt algorithm. IEEE Trans. Neural Netw. 1994, 5, 989–993. [Google Scholar] [CrossRef] [PubMed]
  30. Lv, C.; Xing, Y.; Zhang, J.; Na, X.; Li, Y.; Liu, T.; Cao, D.; Wang, F.-Y. Levenberg–Marquardt Backpropagation Training of Multilayer Neural Networks for State Estimation of a Safety-Critical Cyber-Physical System. IEEE Trans. Ind. Inform. 2018, 14, 3436–3446. [Google Scholar] [CrossRef] [Green Version]
  31. Xia, X.; Gui, L.; He, G.; Xie, C.; Wei, B.; Xing, Y.; Wu, R.; Tang, Y. A hybrid optimizer based on firefly algorithm and particle swarm optimization algorithm. J. Comput. Sci. 2018, 26, 488–500. [Google Scholar] [CrossRef]
  32. Xu, S.S.-D.; Huang, H.-C.; Kung, Y.-C.; Lin, S.-K. Collision-Free Fuzzy Formation Control of Swarm Robotic Cyber-Physical Systems Using a Robust Orthogonal Firefly Algorithm. IEEE Access 2019, 7, 9205–9214. [Google Scholar] [CrossRef]
  33. Ball, A.K.; Roy, S.S.; Kisku, D.R.; Murmu, N.C.; Dos Santos Coelho, L. Optimization of drop ejection frequency in EHD inkjet printing system using an improved Firefly Algorithm. Appl. Soft Comput. J. 2020, 94, 106438. [Google Scholar] [CrossRef]
  34. Wang, Y.; Zhang, C.; Chen, Z. A method for joint estimation of state-of-charge and available energy of LiFePO4batteries. Appl. Energy 2014, 135, 81–87. [Google Scholar] [CrossRef]
  35. Hannan, M.A.; Lipu, M.S.H.; Hussain, A.; Ker, P.J.; Mahlia, T.M.I.; Mansor, M.; Ayob, A.; Saad, M.H.; Dong, Z.Y. Toward Enhanced State of Charge Estimation of Lithium-ion Batteries Using Optimized Machine Learning Techniques. Sci. Rep. 2020, 10, 4687. [Google Scholar] [CrossRef] [Green Version]
  36. CALCE. Lithium-ion Battery Experimental Data. Available online: https://web.calce.umd.edu/batteries/data.htm (accessed on 23 August 2018).
  37. Naha, A.; Han, S.; Agarwal, S.; Guha, A.; Khandelwal, A.; Tagade, P.; Hariharan, K.S.; Kolake, S.M.; Yoon, J.; Oh, B. An Incremental Voltage Difference Based Technique for Online State of Health Estimation of Li-ion Batteries. Sci. Rep. 2020, 10, 9526. [Google Scholar] [CrossRef] [PubMed]
  38. Xing, Y.; He, W.; Pecht, M.; Tsui, K.L. State of charge estimation of lithium-ion batteries using the open-circuit voltage at various ambient temperatures. Appl. Energy 2014, 113, 106–115. [Google Scholar] [CrossRef]
  39. Wu, T.-H.; Moo, C.-S.; Wu, T.-H.; Moo, C.-S. State-of-Charge Estimation with State-of-Health Calibration for Lithium-Ion Batteries. Energies 2017, 10, 987. [Google Scholar]
  40. Chen, Y.; Huang, D.; Zhu, Q.; Liu, W.; Liu, C.; Xiong, N. A new state of charge estimation algorithm for lithium-ion batteries based on the fractional unscented kalman filter. Energies 2017, 10, 1313. [Google Scholar] [CrossRef]
  41. Zhu, Q.; Xiong, N.; Yang, M.L.; Huang, R.S.; Hu, G. Di State of charge estimation for lithium-ion battery based on nonlinear observer: An H ∞ method. Energies 2017, 10, 679. [Google Scholar] [CrossRef] [Green Version]
  42. He, Y.; Liu, X.; Zhang, C.; Chen, Z. A new model for State-of-Charge (SOC) estimation for high-power Li-ion batteries. Appl. Energy 2013, 101, 808–814. [Google Scholar] [CrossRef]
  43. Duong, V.H.; Bastawrous, H.A.; See, K.W. Accurate approach to the temperature effect on state of charge estimation in the LiFePO4 battery under dynamic load operation. Appl. Energy 2017, 204, 560–571. [Google Scholar] [CrossRef]
  44. Chen, X.; Shen, W.; Cao, Z.; Kapoor, A. A novel approach for state of charge estimation based on adaptive switching gain sliding mode observer in electric vehicles. J. Power Sources 2014, 246, 667–678. [Google Scholar] [CrossRef]
  45. Zheng, L.; Zhang, L.; Zhu, J.; Wang, G.; Jiang, J. Co-estimation of state-of-charge, capacity and resistance for lithium-ion batteries based on a high-fidelity electrochemical model. Appl. Energy 2016, 180, 424–434. [Google Scholar] [CrossRef]
Figure 1. The time-delay neural network (TDNN) configuration for state-of-charge (SOC) estimation of the lithium-ion battery.
Figure 1. The time-delay neural network (TDNN) configuration for state-of-charge (SOC) estimation of the lithium-ion battery.
Electronics 09 01546 g001
Figure 2. The lithium-ion battery test bench model configuration for SOC estimation.
Figure 2. The lithium-ion battery test bench model configuration for SOC estimation.
Electronics 09 01546 g002
Figure 3. SDT load profile of (a) the LiNCA battery and (b) the LiNMC battery.
Figure 3. SDT load profile of (a) the LiNCA battery and (b) the LiNMC battery.
Electronics 09 01546 g003
Figure 4. HPPC load profiles of (a) the LiNCA battery and (b) the LiNMC battery.
Figure 4. HPPC load profiles of (a) the LiNCA battery and (b) the LiNMC battery.
Electronics 09 01546 g004
Figure 5. The relationship between SOC and voltage for (a) the LiNCA battery and (b) the LiNMC battery.
Figure 5. The relationship between SOC and voltage for (a) the LiNCA battery and (b) the LiNMC battery.
Electronics 09 01546 g005
Figure 6. The methodological framework of the iFA-based TDNN algorithm for SOC estimation.
Figure 6. The methodological framework of the iFA-based TDNN algorithm for SOC estimation.
Electronics 09 01546 g006
Figure 7. The response curve for optimization in the SDT load profile of (a) the LiNCA battery and (b) the LiNMC battery.
Figure 7. The response curve for optimization in the SDT load profile of (a) the LiNCA battery and (b) the LiNMC battery.
Electronics 09 01546 g007
Figure 8. The response curve for optimization in the HPPC load profile of (a) the LiNCA battery and (b) the LiNMC battery.
Figure 8. The response curve for optimization in the HPPC load profile of (a) the LiNCA battery and (b) the LiNMC battery.
Electronics 09 01546 g008
Figure 9. The experimental outcomes of SDT for LiNCA battery (a) SOC (b) SOC error.
Figure 9. The experimental outcomes of SDT for LiNCA battery (a) SOC (b) SOC error.
Electronics 09 01546 g009
Figure 10. The experimental outcomes of HPPC for the LiNCA battery: (a) SOC, (b) SOC error.
Figure 10. The experimental outcomes of HPPC for the LiNCA battery: (a) SOC, (b) SOC error.
Electronics 09 01546 g010
Figure 11. The experimental outcomes of SDT for LiNMC battery (a) SOC (b) SOC error.
Figure 11. The experimental outcomes of SDT for LiNMC battery (a) SOC (b) SOC error.
Electronics 09 01546 g011
Figure 12. The experimental outcomes of HPPC for LiNMC battery (a) SOC (b) SOC error.
Figure 12. The experimental outcomes of HPPC for LiNMC battery (a) SOC (b) SOC error.
Electronics 09 01546 g012
Figure 13. SOC and SOC error estimation results: (a,b) DST, (c,d) FUDS, and (e,f) US06 at 25 °C.
Figure 13. SOC and SOC error estimation results: (a,b) DST, (c,d) FUDS, and (e,f) US06 at 25 °C.
Electronics 09 01546 g013
Figure 14. SOC performance comparison under different temperatures and EV drive cycles.
Figure 14. SOC performance comparison under different temperatures and EV drive cycles.
Electronics 09 01546 g014
Figure 15. SOC error analysis at 0.01 V/0.1 A bias noise and 0.01 V/ 0.1 A random noise: (a) SDT for the LiNCA battery; (b) SDT for the LiNMC battery; (c) HPPC for the LiNCA battery; and (d) HPPC for the LiNMC battery.
Figure 15. SOC error analysis at 0.01 V/0.1 A bias noise and 0.01 V/ 0.1 A random noise: (a) SDT for the LiNCA battery; (b) SDT for the LiNMC battery; (c) HPPC for the LiNCA battery; and (d) HPPC for the LiNMC battery.
Electronics 09 01546 g015
Figure 16. One aging cycle test: (a) the LiNCA battery and (b) the LiNMC battery.
Figure 16. One aging cycle test: (a) the LiNCA battery and (b) the LiNMC battery.
Electronics 09 01546 g016
Figure 17. Aging performance for the LiNCA battery: (a) SOC estimation under 50 cycles, (b) SOC estimation under 100 cycles, (c) SOC estimation under 150 cycles, and (d) SOC estimation under 200 cycles; (e) SOC error under 50 cycles, (f) SOC error under 100 cycles, (g) SOC error under 150 cycles, and (h) SOC error under 200 cycles.
Figure 17. Aging performance for the LiNCA battery: (a) SOC estimation under 50 cycles, (b) SOC estimation under 100 cycles, (c) SOC estimation under 150 cycles, and (d) SOC estimation under 200 cycles; (e) SOC error under 50 cycles, (f) SOC error under 100 cycles, (g) SOC error under 150 cycles, and (h) SOC error under 200 cycles.
Electronics 09 01546 g017
Figure 18. Aging performance for the LiNMC battery: (a) SOC estimation under 50 cycles, (b) SOC estimation under 100 cycles, (c) SOC estimation under 150 cycles, and (d) SOC estimation under 200 cycles; (e) SOC error under 50 cycles, (f) SOC error under 100 cycles, (g) SOC error under 150 cycles, and (h) SOC error under 200 cycles.
Figure 18. Aging performance for the LiNMC battery: (a) SOC estimation under 50 cycles, (b) SOC estimation under 100 cycles, (c) SOC estimation under 150 cycles, and (d) SOC estimation under 200 cycles; (e) SOC error under 50 cycles, (f) SOC error under 100 cycles, (g) SOC error under 150 cycles, and (h) SOC error under 200 cycles.
Electronics 09 01546 g018
Table 1. Specifications of the lithium-ion battery.
Table 1. Specifications of the lithium-ion battery.
ParametersLiNiCoAlO2LiNiMnCoO2
Nominal capacity (Ah)3.2 Ah2.6 Ah
Nominal Voltage (V)3.63.7
Min/Max voltage (V)2.5/4.22.75/4.2
Charging methodCC-CVCC-CV
Charging time (hours)43
Charging current (mA)16251300
Specific Energy (Wh/kg)200–260150–220
Weight (g)48.547.0
Lifespan (cycles)5001000–2000
Thermal runaway (temperature)150 °C210 °C
Table 2. Optimum hyperparameters of the TDNN-iFA algorithm in SDT and HPPC tests.
Table 2. Optimum hyperparameters of the TDNN-iFA algorithm in SDT and HPPC tests.
Battery TestOptimal HyperparametersLiNCA BatteryLiNMC Battery
SDTUTD23
HNs1215
HPPCUTD45
HNs1018
Table 3. SOC performance evaluation in the LiNCA battery.
Table 3. SOC performance evaluation in the LiNCA battery.
SOC MethodBPNN-iFARBFNN-iFAENN-iFATDNN-iFA
Load ProfileSDTHPPCSDTHPPCSDTHPPCSDTHPPC
RMSE (%)0.86201.41241.29612.51550.72151.65240.58440.8512
MSE (%)0.00740.01990.01680.06330.00520.02730.00340.0072
MAE (%)0.60590.66591.11451.9970.54791.22940.23740.4652
MAPE (%)3.69396.26505.640510.48264.22357.58262.58643.5624
SD (%)0.86101.16851.28152.48780.68761.48690.58410.8505
SOC error bound (%)[−5.19, 6.45][−5.45, 9.98][−4.36, 8.89][−15.28, 12.32][−3.32, 2.26][−5.09, 7.17][−2.58, 2.05][−4.31, 4.73]
Table 4. SOC Performance Evaluation in LiNMC Battery.
Table 4. SOC Performance Evaluation in LiNMC Battery.
SOC MethodBPNN-iFARBFNN-iFAENN-iFATDNN-iFA
Load ProfileSDTHPPCSDTHPPCSDTHPPCSDTHPPC
RMSE (%)0.77751.29891.05762.11210.61371.02720.30840.7937
MSE (%)0.00650.01690.01120.04460.00380.01060.00090.0063
MAE (%)0.60910.42220.92421.66690.46200.72650.14520.3283
MAPE (%)3.79377.75957.181814.35274.26177.23372.18265.5247
SD (%)0.77701.29821.05562.11150.61230.98180.30410.7940
SOC error bound (%)[−2.94, 3.31][−5.47, 15.87][−2.97, 5.44][−10.87, 6.04][−1.62, 3.02][−5.24, 8.04][−1.18, 1.38][−3.32, 4.23]
Table 5. SOC estimation with noise effect under SDT and HPPC tests.
Table 5. SOC estimation with noise effect under SDT and HPPC tests.
TestBattery0.01 V/0.1 A Bias Noise and 0.01 V/0.1 A Random Noise
RMSE (%)MAE (%)SOC Error (%)
SDTLiNCA0.7650.482[−3.9, 4]
LiNMC0.5580.386[−2.9, 3.5]
HPPCLiNCA1.2870.852[−5.2, 6.3]
LiNMC1.1120.728[−5.1, 5.8]
Table 6. Battery performance degradation in the LiNCA battery and LiNMC battery.
Table 6. Battery performance degradation in the LiNCA battery and LiNMC battery.
Aging CyclesBatteryDischarge Capacity (mAh)Cycle Life (%)
50LiNCA305295.107
LiNMC251597.889
100LiNCA295191.282
LiNMC247797.231
150LiNCA285088.629
LiNMC246096.931
200LiNCA276385.923
LiNMC242595.756
Table 7. Performance assessment of LiNCA and LiNMC batteries under aging cycles.
Table 7. Performance assessment of LiNCA and LiNMC batteries under aging cycles.
Aging CyclesBatteryRMSE (%)MAE (%)SOC Error (%)
50LiNCA0.9330.717[−3.4, 6.7]
LiNMC0.8210.623[−5.5, 5.7]
100LiNCA1.5250.923[−3.6, 7.6]
LiNMC0.8640.685[−5.8, 6]
150LiNCA1.8781.338[−6.8, 8.8]
LiNMC0.9270.742[−6.5, 6.2]
200LiNCA2.6141.785[−7.8, 9.9]
LiNMC1.0460.825[−6.7, 6.4]
Table 8. Comparative performance analysis between the proposed method and the existing methods.
Table 8. Comparative performance analysis between the proposed method and the existing methods.
Ref.MethodBattery ChemistryTemperatureExperimental Validation ProfileError Rate
[38]OCV1.1 Ah LiFePO40 °C to 50 °C at an interval of 10 °CDST, FUDSRMSE 5%
[39]CC2.3 Ah Lithium-ion cellRoom temperatureC-rates Charging-discharging currentMAE 1.905%
[40]UKF24 Ah LiNMCRoom temperature at 25 °C ± 2 °C1 C SDTMAE 2.56%
Max SOC error 5.36%
[41]H∞ Filter2.4 Ah Lithium-ion cellConstant temperature1 C SDTMAE 3.96%
[42]UPF10 Ah LiFePO4−20 °C~50 °CEV operation conditionRMSE 2.05%
[43]RLS90 Ah LiFePO4−10 °C~50 °CUrban EV drive cycleRMSE 2.3%
MAE 1.8%
[44]SMO5 Ah Lithium polymer batteryRoom temperature1 C SDTRMSE 1.8%
[45]PIO90 Ah Lithium-ion cells0 °C, 25 °C, 40 °CDSTRMSE 1.2%
Proposed Method3.2 Ah LiNCARoom Temperature1 C SDT, HPPCMAE 0.2374% (SDT)
MAE 0.4612% (HPPC)
2.6 Ah LiNMCMAE 0.1452% (SDT)
MAE 0.3283% (HPPC)
2.0 Ah LiNCA0 °C, 25 °C, 45 °CDST, FUDS, US06RMSE < 1%
MAE < 0.8%

Share and Cite

MDPI and ACS Style

Hossain Lipu, M.S.; Hannan, M.A.; Hussain, A.; Ayob, A.; Saad, M.H.M.; Muttaqi, K.M. State of Charge Estimation in Lithium-Ion Batteries: A Neural Network Optimization Approach. Electronics 2020, 9, 1546. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics9091546

AMA Style

Hossain Lipu MS, Hannan MA, Hussain A, Ayob A, Saad MHM, Muttaqi KM. State of Charge Estimation in Lithium-Ion Batteries: A Neural Network Optimization Approach. Electronics. 2020; 9(9):1546. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics9091546

Chicago/Turabian Style

Hossain Lipu, M. S., M. A. Hannan, Aini Hussain, Afida Ayob, Mohamad H. M. Saad, and Kashem M. Muttaqi. 2020. "State of Charge Estimation in Lithium-Ion Batteries: A Neural Network Optimization Approach" Electronics 9, no. 9: 1546. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics9091546

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