Next Article in Journal
Critical Review of EMC Standards for the Measurement of Radiated Electromagnetic Emissions from Transit Line and Rolling Stock
Next Article in Special Issue
New Time-Frequency Transient Features for Nonintrusive Load Monitoring
Previous Article in Journal
Generic EMT Model for Real-Time Simulation of Large Disturbances in 2 GW Offshore HVAC-HVDC Renewable Energy Hubs
Previous Article in Special Issue
High-Impedance Fault Diagnosis: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Online State of Charge Estimation of EVs Lithium-Ion Batteries with Deep Recurrent Neural Networks

IRIMAS Laboratory, University of Haute Alsace, 61 rue Albert Camus, 68093 Mulhouse, France
*
Author to whom correspondence should be addressed.
Energies 2021, 14(3), 758; https://doi.org/10.3390/en14030758
Submission received: 14 December 2020 / Revised: 22 January 2021 / Accepted: 27 January 2021 / Published: 1 February 2021
(This article belongs to the Special Issue Advanced Techniques for Power Quality Improvement)

Abstract

:
The State of Charge (SOC) estimation is a significant issue for safe performance and the lifespan of Lithium-ion (Li-ion) batteries. In this paper, a Robust Adaptive Online Long Short-Term Memory (RoLSTM) method is proposed to extract SOC estimation for Li-ion Batteries in Electric Vehicles (EVs). This real-time, as its name suggests, method is based on a Recurrent Neural Network (RNN) containing Long Short-Term Memory (LSTM) units and using the Robust and Adaptive online gradient learning method (RoAdam) for optimization. In the proposed architecture, one sequential model is defined for each of the three inputs: voltage, current, and temperature of the battery. Therefore, the three networks work in parallel. With this approach, the number of LSTM units are reduced. Using this suggested method, one is not dependent on precise battery models and can avoid complicated mathematical methods. In addition, unlike the traditional recursive neural network where content is re-written at any time, the LSTM network can decide on preserving the current memory through the proposed gateways. In that case, it can easily transfer this information over long paths to receive and maintain long-term dependencies. Using real databases, the experiment results illustrate the better performance of RoLSTM applied to SOC estimation of Li-Ion batteries in comparison with a neural network modeling and unscented Kalman filter method that have been used thus far.

1. Introduction

For over 100 years, automobiles have been used for transportation of humans, goods, etc. and, in this way, reformed traveling around the world. Exploring of rural areas and going on a road trip across the country were made possible using wheels. However, the engine vehicles cause many environmental damages as well [1]. According to the World Health Organization (WHO), in 2000, fuel vehicles produce 34% of nitrogen dioxide discharged into the environment. They, additionally, generate 51% of the carbon monoxide, 10% of the particulate, and 33% of the carbon dioxide, in the United States only [2]. Reacting with humidity in the air, nitrogen dioxide makes nitric acid, which causes severe decay of metals. It also causes thick fog and drastically reduces field of view. This molecule also has a critical negative footprint on plant growth and a greenhouse effect. Carbon monoxide (CO) is a harmful gas that provokes migraines, dizziness, and respiratory disease. High enough CO levels may induce unconsciousness or death. Lastly, carbon dioxide is a major contributor to temperature rise worldwide. As a result, nowadays, using electric vehicles (EVs) as an alternative to diesel- and petrol-powered cars is highly regarded. In this context, a high-tech battery is a crucial element for EVs.
Various types of batteries, such as nickel-cadmium, lithium, and acid, are used as the dominant power source in EVs [3]. Among them, Li-ion batteries are the most popular due to their specific characteristics, e.g., high energy density, self-discharge, charging speed, low maintenance, and long-life cycle. The correct charging of Li-ion batteries improves their performance and extends their lifespan. This correct charging is performed using the Battery Management System (BMS), which controls the discharging [4]. One of the significant issues of BMS is the SOC estimation of the battery [5]. SOC is the amount of charge that is stored in the battery at each moment. To date, various methods have been introduced for SOC estimation, which are separated into two main categories: direct and indirect methods [6,7]. When considering direct methods, an equation is used to estimate SOC, determined by the battery’s physical properties such as current, voltage, and battery temperature. A popular direct method is Coulomb Counting (CC) estimation described in detail by Lashway et al. [8]. Many published studies contributed in the development of the Open Circuit Voltage (OCV) method for the SOC estimation (e.g., [1,9]). Electrochemical Impedance Spectroscopy (EIS) is another direct method to estimate SOC [10]. Indirect methods, on the other hand, do not use a specific equation, rather they employ a model for the battery or mapping of system specification. One of the model-based methods is Electrical Circuit Model (ECM) [11]. Another type of indirect methods are the adaptive-filter based algorithms such as Kalman filter (KF, EKF, UKF, and AEKF) [12,13,14], Recursive Least Square algorithm (RLS), and the H infinity algorithm (H∞) [7,15,16]. Artificial Intelligent methods are also a category of indirect methods, which in recent years have been used for the SOC estimation, including Fuzzy Logic (FL) [17,18,19], Neural Networks (NN) [20,21,22,23,24], and deep learning methods [25,26,27,28,29].
Deep learning (also known as deep structured learning or dynastic learning) is a class of machine learning with multiple layers for extracting a higher level of features, and is based on work-specific algorithms. Most modern deep learning models are based on artificial neural networks. However, they may include predicate or hidden variables in generating models such as nodes in deep belief networks and deep Boltzmann machines. Recurrent Neural Networks (RNNs) are a type of deep learning method created in the 1980s [30] yet widely used only in the last few years. These types of neural networks are beneficial for serial or sequencing data. Theoretically, RNNs should have the ability to use previous data for estimation of any future one. In practice, however, this is not the case. Expanding the sequence, typical RNNs are unable to learn the information. This is why the use of RNNs was stopped for a while until outstanding results were obtained using the long- and short-term memory units in neural networks, namely Long Short-Term Memory (LSTM). Unlike traditional RNNs, LSTMs can deal with long sequences, using a designed mechanism.
LSTM, in fact, emerged in 1995 to improve RNNs in dealing with sequential data, and solving the problem of the disappeared gradient phenomenon [31]. Sepp Hochreiter et al. [31] explained that “long-term memory” in LSTM refers to acquired weights and “short-term memory” is internal cellular states. The major change in this network is replacing the hidden layer of the RNN with a block called the LSTM block and its most incredible feature is the ability to learn long-term dependencies that are not possible using RNNs [32].
In this paper, a new deep learning method for estimating SOC is investigated. In this method, instead of one LSTM for inputs, three of them are used in parallel, and, consequently, the number of LSTM units is reduced. In addition, to optimize the LSTM network, a robust and adaptive online optimization method is utilized. This optimization is an improvement of Adam method which is called Robust Adam (RoAdam). RoAdam can be adaptively tuned against a doubtful outlier. The weights and biases could be tuned online with a strategy of adaptive optimization to have a high-performance network. Since batteries have a nonlinear function and a complex electrochemical model, the SOC estimation function is also nonlinear and depends on the charge and discharge currents and temperature. Hence, finding a method that does not depend on the model is essential.
This paper is organized as follows. The LSTM Structure is described briefly in Section 2. Section 3 explains SOC estimation with the RoLSTM method. Section 4 is the discussion of the results for this implementation. Finally, Section 5 summarizes the study main achievements.

2. Long Short-Term Memory Structure

In RNN, each neuron or processing unit can manage its internal state or memory to maintain the previous input information. This feature is critical in many applications related to serial data. The main idea behind this type of architecture is the exploitation of this series structure. The name of this neural network is derived from the fact that these types of networks operate recursively. An operation is performed for each element of a sequence (word, sentence, etc.), and its output depends on the current input and previous operations. It means the output at time t is achieved by combining the output network at t 1 with the new network input at time t. These cycles permit the existence of information from one step to the next step. In other words, these types of networks have a loop within themselves, which they can pass information through the input of neurons.
The structure of RNN is shown in Figure 1, where the black square represents the time delay at each time step. Looking at the chain formed after opening this computational graph, how the network works is completely understandable. Now, this is an architecture that can receive different inputs x t and generate o t outputs at each time step. It also contains a memory state h t that maintains the information about what happened on the network until the time ( t ) . W 1 , W 2 , and W 3 in Figure 1 indicate the weights of input neuron, recurrent neuron, and output layer, respectively.
All RNNs are in the form of repetitive sequences of neural network modules (units). In standard RNNs, these repeatable modules have a simple structure: for example, they only contain a hyperbolic tangent (tanh) layer. However, in LSTM, four layers communicate in a special structure instead of only one layer.
Figure 2 indicates the architecture of LSTM block. In this figure, x t is the input and h t is the output of the LSTM unit at time t, and h t 1 is the output of previous LSTM block.
The initial phase in the LSTM is deciding what information should be discarded from the cell state. This decision is made by a sigmoid ( σ ) layer, shown in Equation (1), called the forget gate layer ( f t ). The next step is to decide what new information have to save in the cell state. This decision contains two parts. First, a sigmoid layer called the input gate ( i t ) decides which values will be updated with Equation (2). The next step represents in Equation (3), is a t a n h layer that makes the vector of values called memory cell ( C t ) that could be added to the state cell. By combining those two steps, the state cell ( h t ) within the next step can be updated. Finally, it must be determined what information to be transmitted to the output ( O t ). This output is based on the state cell that passes via a specified filter. The formulas for these models are expressed as below.
(1) f t = σ ( W f [ h t 1 , x t ] + b f ) (2) i t = σ ( W i [ h t 1 , x t ] + b i ) (3) C t = f t C t 1 + i t tanh ( W g [ h t 1 , x t ] + b g ) (4) O t = σ ( W o [ h t 1 , x t ] + b o ) (5) h t = O t tanh ( C t )
where the initial values of C t and h t are C 0 = 0 and h 0 = 0 , respectively. W f , W i , W g , and W o are, respectively, the weights of forget gate, input gate, memory cell, and output gates, while b f , b i , b g , and b o are their associated biases. The gate activation function and the output activation function are shown by σ and tanh, which define in Equations (6) and (7), respectively.
σ ( x ) = 1 1 + exp ( x )
tanh ( x ) = exp ( x ) exp ( x ) exp ( x ) + exp ( x )

3. Robust and Adaptive Online LSTM for SOC Estimation

In this inquiry, a RoLSTM model is used for the SOC estimation of a Li-ion battery with voltage (V), current (I), and temperature (T) as input variables and the SOC of the battery as output. The structure of this method is depicted in Figure 3. Three LSTM networks are used for the inputs. In fact, each input variable contains two hidden layers with 128 and 8 LSTM units, respectively, which they are working in parallel. The concatenation of these layers is realized to calculate the output with a dense layer, which is a linear operation that relates every input to every output with the following equation:
S O C t = W h t + b
where W and b are defined, respectively, as the weight matrices and biases of full connected layers.
The input datasets for the LSTM layer should be three-dimensional (3D), which are defined as “(Samples, Time steps, Features)”. Samples indicate the number of sequences, Time steps symbolize the number of observations in each sample, and Features represent the number of features for each element in the samples. The voltage, current, and temperature are the input vectors. In the preprocessing step, the input datasets must be converted to a 3D array for use as an input of the RoLSTM and normalized in the range [−1, 1] as:
x = [ ( ( x x m i n ) / ( x m a x x m i n ) ) ( m a x m i n ) ] + m i n
In (3), the minimum and maximum values of input vector x are shown by x m i n and x m a x , respectively. In addition, m a x equals 1 and m i n is 1 . To scale the testing dataset, the maximum and minimum values of training inputs must be used.
To train the LSTM and update the weights and biases in the network for SOC estimation, the Robust and Adaptive online optimization algorithm (RoAdam) is used [33]. RoAdam is dependent on gradient and the squared gradient. The equations of RoAdam are described in (10). The training step size is η = 0.0005 ; β 1 = 0.9 , β 2 = 0.999 , and β 3 = 0.999 are exponential decay rates; W t is the weights vector of the model in time step t; and ϵ = 10 8 is a constant. The initial values of the first moment of the gradients, m t , and the second moment of the gradients, v t , are zero. r t is defined as a relative prediction error term of the loss function.
m t = β 1 m t 1 L ( W t 1 ) v t = β 2 v t 1 L ( W t 1 ) 2 m ^ t = m t 1 β 1 t v ^ t = v t 1 β 2 t r t = L ( W t 1 ) / L ( W t 2 ) d t = β 3 d t 1 + ( 1 β 3 ) ( r t ) W t = W t 1 m ^ t η d t v ^ t + ϵ
L is the loss function that is calculated considering (11):
L = 1 n t = 0 n | S O C t S O C t ^ |
where n is the number of data point, while S O C t and S O C t ^ are, respectively, actual and predicted values of state of charge at time step t. To guarantee the stability of the relative prediction error, a threshold is intended for r t . Then, r t is changed as (12).
r t = m i n { m a x { k , L ( W t 1 ) / L ( W t 2 ) } , K } , if L ( W t 1 ) L ( W t 2 ) m i n { m a x { 1 / K , L ( W t 1 ) / L ( W t 2 ) } , 1 / k } , O t h e r w i s e
where k = 0.1 and K = 10 are the lower and upper thresholds, respectively. To implement this method and the mathematics operation, tensorflow framework is used.
The flowchart of this program is depicted in Figure 4.

4. Experimental Results

4.1. Battery Specification and Experimental Conditions

This method was applied on two different battery databases. The first database is related to the Panasonic 18650PF Li-ion battery which is used in some Tesla Electrical Vehicles. This database is collected by McMaster University in Ontario (Canada) [34]. The second one concerns the A123 LifePO4 Li-ion battery collecting by the Center for Advanced Life Cycle Engineering (CALCE) at University of Maryland [35]. The battery parameters are listed in Table 1.
The discharge datasets are realized from 10 different standard drive cycles e.g. Los Angeles 92 (LA92), Supplemental Federal Test Procedure Driving Schedule (US06), the Highway Fuel Economy Test (HWFET), and the Urban Dynamometer Driving Schedule (UDDS), with a variety of current steps and temperatures. Figure 5 presents the drive cycle power profiles of the Panasonic NCR18650PF cell for different drive cycles. The negative power is the discharge power and the positive power is the charge power.
The A123 battery is a lithium iron phosphate battery ( L i F e P O 4 battery). L i F e P O 4 batteries are a type of li-ion batteries being used in EVs and Electric bikes. Table 2 represents the specification of A123 battery.
The training and testing data of A123 battery were collected under Dynamic Stress Test (DST) and Federal Urban Driving Schedule (FUDS) while including a variety of current steps and mixed of different temperatures. The DST profile is determined within the US Advances Battery Consortium LLC (USABC) [36]. The measured current and voltage for DST profile are shown in Figure 6.
The average training time of this RoLSTM network is changed by the definition of different step-time and epochs. The optimal number of epochs is determined as 500. The servers of the Strasbourg University Computing Center (CCUS) were used for the training process. The RoLSTM network was deployed on three NVIDIA Tesla V100 Graphical Processing Units (GPUs).
In this study, the Mean Absolute Error (MAE), the Root Mean Square Error (RMSE), and the Maximum Error (MAX) were used to evaluate the performance of the suggested network for SOC estimation. Equations (13)–(15), respectively, were used to calculate the MAE, RMSE, and MAX.
M A E = 1 n t = 0 n | S O C t S O C t ^ |
R M S E = t = 0 n 1 n ( S O C t S O C t ^ ) 2
M A X = max | S O C t S O C t ^ |
where S O C t and S O C t ^ are the measured value and the estimated value at time step t, respectively, while n is the number of data points in the sequence.

4.2. SOC Estimation Results

4.2.1. Results for the Panasonic 18650PF

The existing data of all ten cycles at different ambient are more than 8 million data. They are categorized into two groups, training and validation data. To train the system, a random dataset containing the mixed eight drive cycles in different ambient temperature was used. The validation was applied to the remaining two cycles. In most cases, the length of the dataset for one drive cycle is more than 100,000 time steps. In reality, to implement a RoLSTM network with an n-step size equal to this length sequence, more than three GPUs are needed. Therefore, in this paper, the optimal values of n-step is chosen 500. The time required for training system with three Tesla V100 GPU is about 8 h. For testing the system, two categories with fixed and varying ambient temperatures were used. The current and voltage of the testing dataset are shown in Figure 7.
The results of SOC estimation and SOC error for a dataset of mixed drive cycles with fixed ambient temperature at 0 and 25 °C and varying ambient temperature are described in Figure 8 and Figure 9, respectively.
Table 3 details the MAE, RMSE and MAX error metrics, at 0, 10, and 25 °C for RNN [25], GRU-RNN [25], LSRM-RNN [26], and RoLSTM. Looking at these values for each temperature, one can see that all are decreased when RoLSTM method is applied. When varying temperature is considered, the RMSE of RoLSTM is equal to 1.8%, while the same error using LSTM-RNN [26] method is calculated as 2.08%.

4.2.2. Results for the A123 L i f e P O 4 Battery

In the next step, this model was tested for the dataset of A123 L i f e P O 4 battery at different ambient temperatures from 10 to 50 °C, which were prepared based on DST and FUDS tests and datasets collected based on the low current voltage test.
The SOC estimation obtained based on DST and FUDS tests in the variant temperature are illustrated in Figure 10. Figure 11 presents the SOC error, which is defined as the difference between the SOC measurement and the SOC estimation with this model. As can be seen in these figures, the SOC estimate achieved by the RoLSTM is quite smooth.
The SOC estimation and the SOC error for datasets of discharging at 10 and 50 °C based on the low current voltage test with 500 epochs are shown in Figure 12 and Figure 13, respectively. For these datasets, SOC estimation error does not have an observable change while changing the temperature.
The results show that, with 500 epochs in the RoLSTM method, the loss function converges to zero in all ambient temperatures. In summary, these results show that the maximum error of SOC estimation for L i f e P O 4 battery by the RoLSTM method for all datasets with fixed ambient is less than 2 % and for different ambient is less than 2.5%.
The values of RMSE and MAX error derived from the RoLSTM were compared with previous models used for SOC estimation of A123 L i f e P O 4 Li-ion Battery. In [22], the authors introduced a method based on simple neural network and combined it with an unscented Kalman filter. Their neural network is static and does not have a memory, so UKF is used to filter out the outliers. Meanwhile, in the RoLSTM model, multiple LSTM layers can be learned by a bigger dataset, and it uses a self-learning algorithm to tune the parameters against uncertain outliers. In addition, the RoLSTM has a memory that is fitted for time series sequences. Generally, our proposed model has better performance in comparison with NN and UKF [22]. The MAX error at 0 °C is 1.9 by the RoLSTM while this values is 3.1 by NN and UKF [22]. The 25 and 50 °C the MAX error is equal in both methods. From the MAX error values in Table 4, it is apparent that the performance of RoLSTM is better than the simple NN [22]. Table 4 reveals that the RMSE has dropped using RoLSTM method on the same database. In addition, in another study, Yang et al. [37] introduced a multi-hidden LSTM network for SOC estimation. The minimum RMSE reported by them was 1.07, and an overall comparison shows RoLSTM gives a better performance.

5. Conclusions

The purpose of the current study was to reform an Adaptive Online LSTM method to find the SOC estimation of EVs’ Li-ion batteries. It is based on deep learning and builds the connection between the input and output variables by nonlinear mapping. In other methods which depend on the battery model, a complex nonlinear equation is required and finding a model with high accuracy is one of their main challenges. For example, the Kalman filter method’s performance is highly dependent on the measurement noise covariance, the battery model, and any imprecision in the battery model. Thus, any the noise of the system will reduce the performance of this method. The suggested RoLSTM network does not depend on the battery model and the initial values of SOC. The inputs are voltage, current, and temperature and the output is SOC estimation. Each input uses one LSTM. Then, three LSTM networks with fewer units are processed in parallel. As a result, the number of LSTM units can be reduced in the whole model. The method is a self-learning algorithm that can learn all the network parameters. The proposed algorithm is suitable for SOC estimation in different ambient temperatures. In addition, the number of LSTM units can be reduced in the whole model. In addition, the number of epochs for training the system is dropped. However, RoLSTM needs big data and extended training time to learn the system. The present study shows that the errors decrease when the system is trained by a proper number of epochs. Moreover, the RoAdam optimizer gives a smoother estimate in comparison with other optimizers of LSTM network. This network is applied in two different batteries. Changing the battery, the network architecture does not change, and one just needs to retrain the system. The results from the RoLSTM method are compared to previous methods in the literature (NN, NN and UKF, GRU, and LSTM with Adam optimization). This comparison indicates that the Maximum error of estimation and RMSE have decreased significantly for the two investigated battery types.

Author Contributions

Conceptualization, G.J.; Funding acquisition, M.B.; Methodology, D.O.A., G.J.; Software, G.J.; Supervision, D.O.A. and M.B.; Validation, D.O.A.; Visualization, G.J.; Writing—original draft preparation, G.J.; and Writing—review and editing, D.O.A. and M.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data was obtained from the McMaster University in Ontario (Canada) [34] and the Center for Advanced Life Cycle Engineering (CALCE) at University of Maryland [35].

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SOCState Of Charge
EVElectric Vehicle
RNNRecurrent Neural Network
LSTMLong Short Term Memory
RoLSTMRobust adaptive Online Long Short Term Memory
BMSBattery Management System
CCCoulomb Counting
OCVOpen Circuit Voltage
KFKalman Filter
EKFExtended Kalman Filter
UKFUnscented Kalman Filter
AEKFAdaptive Extended Kalman Filter
MAEMean Absolute Error
MAXMaximum Error
RMSERoot Mean Square Error

References

  1. Zheng, F.; Xing, Y.; Jiang, J.; Sun, B.; Kim, J.; Pecht, M. Influence of different open circuit voltage tests on state of charge online estimation for lithium-ion batteries. Appl. Energy 2016, 183, 513–525. [Google Scholar] [CrossRef]
  2. World Health Organization; Regional Office for Europe. Air Quality Guidelines Global Update 2005: Particulate Matter, Ozone, Nitrogen Dioxide and Sulfur Dioxide, 2006. Available online: https://www.euro.who.int/{_}{_}data/assets/pdf{_}file/0005/78638/E90038.pdf (accessed on 8 October 2020).
  3. Farzin, H.; Fotuhi-Firuzabad, M.; Moeini-Aghtaie, M. A Practical Scheme to Involve Degradation Cost of Lithium-Ion Batteries in Vehicle-to-Grid Applications. IEEE Trans. Sustain. Energy 2016, 7, 1730–1738. [Google Scholar] [CrossRef]
  4. Rahimi-Eichi, H.; Ojha, U.; Baronti, F.; Chow, M.Y. Battery management system: An overview of its application in the smart grid and electric vehicles. IEEE Ind. Electron. Mag. 2013, 7, 4–16. [Google Scholar] [CrossRef]
  5. Cheng, K.W.; Divakar, B.P.; Wu, H.; Ding, K.; Ho, H.F. Battery-management system (BMS) and SOC development for electrical vehicles. IEEE Trans. Veh. Technol. 2011, 60, 76–88. [Google Scholar] [CrossRef]
  6. Rivera-Barrera, J.; Mu noz-Galeano, N.; Sarmiento-Maldonado, H. SoC Estimation for Lithium-ion Batteries: Review and Future Challenges. Electronics 2017, 6, 102. [Google Scholar] [CrossRef] [Green Version]
  7. Zhang, R.; Xia, B.; Li, B.; Cao, L.; Lai, Y.; Zheng, W.; Wang, H.; Wang, W. State of the Art of Lithium-Ion Battery SOC Estimation for Electrical Vehicles. Energies 2018, 11, 1820. [Google Scholar] [CrossRef] [Green Version]
  8. Lashway, C.R.; Mohammed, O.A. Adaptive battery management and parameter estimation through physics-based modeling and experimental verification. IEEE Trans. Transp. Electrif. 2016, 2, 454–464. [Google Scholar] [CrossRef]
  9. 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]
  10. Westerhoff, U.; Kroker, T.; Kurbach, K.; Kurrat, M. Electrochemical impedance spectroscopy based estimation of the state of charge of lithium-ion batteries. J. Energy Storage 2016, 8, 244–256. [Google Scholar] [CrossRef]
  11. Wang, Q.; Wang, J.; Zhao, P.; Kang, J.; Yan, F.; Du, C. Correlation between the model accuracy and model-based SOC estimation. Electrochim. Acta 2017, 228, 146–159. [Google Scholar] [CrossRef]
  12. Andre, D.; Appel, C.; Soczka-Guth, T.; Sauer, D.U. Advanced mathematical methods of SOC and SOH estimation for lithium-ion batteries. J. Power Sources 2013, 224, 20–27. [Google Scholar] [CrossRef]
  13. Claude, F.; Becherif, M.; Ramadan, H.S. Experimental validation for Li-ion battery modeling using Extended Kalman Filters. Int. J. Hydrogen Energy 2017, 42, 25509–25517. [Google Scholar] [CrossRef]
  14. Yu, C.X.; Xie, Y.M.; Sang, Z.Y.; Yang, S.Y.; Huang, R. State-Of-Charge Estimation for Lithium-Ion Battery Using Improved DUKF Based on State-Parameter Separation. Energies 2019, 12, 4036. [Google Scholar] [CrossRef] [Green Version]
  15. Charkhgard, M.; Zarif, M.H. Design of adaptive H filter for implementing on state-of-charge estimation based on battery state-of-charge-varying modelling. IET Power Electron. 2015. [Google Scholar] [CrossRef]
  16. Yu, Q.; Xiong, R.; Lin, C.; Shen, W.; Deng, J. Lithium-Ion Battery Parameters and State-of-Charge Joint Estimation Based on H-Infinity and Unscented Kalman Filters. IEEE Trans. Veh. Technol. 2017. [Google Scholar] [CrossRef]
  17. Song, S.; Wei, Z.; Xia, H.; Cen, M.; Cai, C. State-of-charge (SOC) estimation using T-S fuzzy neural network for lithium iron phosphate battery. In Proceedings of the 2018 26th International Conference on Systems Engineering (ICSEng), Sydney, Australia, 18–20 December 2018. [Google Scholar]
  18. Sheng, H.; Xiao, J. Electric vehicle state of charge estimation: Nonlinear correlation and fuzzy support vector machine. J. Power Sources 2015. [Google Scholar] [CrossRef]
  19. Sepasi, S.; Roose, L.R.; Matsuura, M.M. Extended Kalman Filter with a Fuzzy Method for Accurate Battery Pack State of Charge Estimation. Energies 2015, 8, 5217–5233. [Google Scholar] [CrossRef]
  20. Xia, B.; Cui, D.; Sun, Z.; Lao, Z.; Zhang, R.; Wang, W.; Sun, W.; Lai, Y.; Wang, M. State of charge estimation of lithium-ion batteries using optimized Levenberg-Marquardt wavelet neural network. Energy 2018, 153, 694–705. [Google Scholar] [CrossRef]
  21. Dang, X.; Yan, L.; Xu, K.; Wu, X.; Jiang, H.; Sun, H. Open-Circuit Voltage-Based State of Charge Estimation of Lithium-ion Battery Using Dual Neural Network Fusion Battery Model. Electrochim. Acta 2016, 188, 356–366. [Google Scholar] [CrossRef]
  22. 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]
  23. Hannan, M.A.; Lipu, M.S.; 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]
  24. Jiménez-Bermejo, D.; Fraile-Ardanuy, J.; Casta no-Solis, S.; Merino, J.; Álvaro-Hermana, R. Using Dynamic Neural Networks for Battery State of Charge Estimation in Electric Vehicles. Procedia Comput. Sci. 2018, 130, 533–540. [Google Scholar] [CrossRef]
  25. Li, C.; Xiao, F.; Fan, Y. An Approach to State of Charge Estimation of Lithium-Ion Batteries Based on Recurrent Neural Networks with Gated Recurrent Unit. Energies 2019, 12, 1592. [Google Scholar] [CrossRef] [Green Version]
  26. Chemali, E.; Kollmeyer, P.J.; Preindl, M.; Ahmed, R.; Emadi, A. Long Short-Term Memory Networks for Accurate State-of-Charge Estimation of Li-ion Batteries. IEEE Trans. Ind. Electron. 2018, 65, 6730–6739. [Google Scholar] [CrossRef]
  27. Chemali, E.; Kollmeyer, P.J.; Preindl, M.; Emadi, A. State-of-charge estimation of Li-ion batteries using deep neural networks: A machine learning approach. J. Power Sources 2018, 400, 242–255. [Google Scholar] [CrossRef]
  28. Hu, X.; Li, S.E.; Yang, Y. Advanced Machine Learning Approach for Lithium-Ion Battery State Estimation in Electric Vehicles. IEEE Trans. Transp. Electrif. 2016, 2, 140–149. [Google Scholar] [CrossRef]
  29. Javid, G.; Basset, M.; Abdeslam, D.O. Adaptive Online Gated Recurrent Unit for Lithium-Ion Battery SOC Estimation. In Proceedings of the IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society, Singapore, 18–21 October 2020; pp. 3583–3587. [Google Scholar]
  30. Rumelhart, D.E.; Hinton, G.E.; Williams, R.J. Learning representations by back-propagating errors. Nature 1986, 323, 533–536. [Google Scholar] [CrossRef]
  31. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
  32. Greff, K.; Srivastava, R.K.; Koutnik, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2017, 28, 2222–2232. [Google Scholar] [CrossRef] [Green Version]
  33. Yang, H.; Pan, Z.; Tao, Q. Robust and adaptive online time series prediction with long short-term memory. Comput. Intell. Neurosci. 2017, 2017, 9478952. [Google Scholar] [CrossRef] [Green Version]
  34. Kollmeyer, P. Panasonic 18650PF Li-ion Battery Data. Mendeley Data 2018. [Google Scholar] [CrossRef]
  35. The Center for Advanced Life Cycle Engineering. Available online: https://web.calce.umd.edu/batteries/data.htm{#}mission (accessed on 4 May 2019).
  36. United States Advanced Battery Consortium LLC. Usabc Electric Vehicle Battery Test Procedures Manual; Revision 2; United States Advanced Battery Consortium LLC.: Washington, DC, USA, 1996. [Google Scholar]
  37. Yang, F.; Song, X.; Xu, F.; Tsui, K.L. State-of-Charge Estimation of Lithium-Ion Batteries via Long Short-Term Memory Network. IEEE Access 2019. [Google Scholar] [CrossRef]
Figure 1. The structure of Recurrent Neural Network (RNN) for n inputs.
Figure 1. The structure of Recurrent Neural Network (RNN) for n inputs.
Energies 14 00758 g001
Figure 2. Long Short-Term Memory (LSTM) block.
Figure 2. Long Short-Term Memory (LSTM) block.
Energies 14 00758 g002
Figure 3. The proposed structure of the RoLSTM model for the SOC estimation.
Figure 3. The proposed structure of the RoLSTM model for the SOC estimation.
Energies 14 00758 g003
Figure 4. The flowchart of RoLSTM programming for SOC estimation.
Figure 4. The flowchart of RoLSTM programming for SOC estimation.
Energies 14 00758 g004
Figure 5. The drive cycle powers used for the training and testing phases at 25 °C for a one cell of battery pack of Ford F150 for: (a) UDDS; (b) US06; (c) HWFT; and (d) LA92 profiles.
Figure 5. The drive cycle powers used for the training and testing phases at 25 °C for a one cell of battery pack of Ford F150 for: (a) UDDS; (b) US06; (c) HWFT; and (d) LA92 profiles.
Energies 14 00758 g005
Figure 6. (a) Measured current and (b) measured voltage of the A123 L i f e P O 4 battery for DST profile used for the training and testing phases.
Figure 6. (a) Measured current and (b) measured voltage of the A123 L i f e P O 4 battery for DST profile used for the training and testing phases.
Energies 14 00758 g006
Figure 7. (a) Measured current and (b) measured voltage of the Panasonic 18650PF battery used for the training and testing phases
Figure 7. (a) Measured current and (b) measured voltage of the Panasonic 18650PF battery used for the training and testing phases
Energies 14 00758 g007
Figure 8. SOC estimation for Panasonic 18650PF battery with RoLSTM for: (a) 0 °C; (b) 25 °C; and (c) different ambient temperature.
Figure 8. SOC estimation for Panasonic 18650PF battery with RoLSTM for: (a) 0 °C; (b) 25 °C; and (c) different ambient temperature.
Energies 14 00758 g008
Figure 9. SOC error for Panasonic 18650PF battery with RoLSTM for: (a) 0 °C; (b) 25 °C; and (c) different ambient temperature.
Figure 9. SOC error for Panasonic 18650PF battery with RoLSTM for: (a) 0 °C; (b) 25 °C; and (c) different ambient temperature.
Energies 14 00758 g009
Figure 10. SOC estimation based on DST and FUDS test with RoLSTM for: (a) −10 °C; (b) 50 °C; and (c) different ambient temperature.
Figure 10. SOC estimation based on DST and FUDS test with RoLSTM for: (a) −10 °C; (b) 50 °C; and (c) different ambient temperature.
Energies 14 00758 g010
Figure 11. SOC estimation error based on DST and FUDS test with RoLSTM for: (a) −10 °C; (b) 50 °C; and (c) different ambient temperature.
Figure 11. SOC estimation error based on DST and FUDS test with RoLSTM for: (a) −10 °C; (b) 50 °C; and (c) different ambient temperature.
Energies 14 00758 g011
Figure 12. SOC estimation for: (a) −10 °C and (b) 50 °C based on low current OCV test.
Figure 12. SOC estimation for: (a) −10 °C and (b) 50 °C based on low current OCV test.
Energies 14 00758 g012
Figure 13. SOC estimation error for: (a) −10 °C and (b) 50 °C based on low current OCV test.
Figure 13. SOC estimation error for: (a) −10 °C and (b) 50 °C based on low current OCV test.
Energies 14 00758 g013
Table 1. The specification of the Panasonic 18650PF battery parameters.
Table 1. The specification of the Panasonic 18650PF battery parameters.
ItemSpecification
CapacityMin. 2750 mAh
Typ. 2900 mAh
Nominal voltage3.6 V
Min/Max Voltage2.5 V/4.2 V
ChargingCC-CV, Std. 1375 mA, 4.20 V, 4.0 h
TemperatureCharge and Discharge: 0 °C to 45 °C
Discharge: −20 °C to 60 °C
Storage: −20 °C to 50 °C
Energy densityVolumetric: 577 Wh/l
Gravimetric: 207 Wh/kg
Table 2. The specification of the A123 battery parameters.
Table 2. The specification of the A123 battery parameters.
ItemSpecification
Nominal capacity2500 mAh (at 0.2 C rate, 3.65 ± 0.05 V cut-off)
Nominal voltage3.2 V
Charging currentStandard Charging: 2.5 A, 1.0 C rate
Maximum Charging: 10.0 A, 4.0 C rate
Discharging currentMax. continuous discharge: 50 A, 20 C rate
Max. Impulse Discharging: 120 A, 48 C rate
Operating temperatureCharge and Discharge: −30 °C to 55 °C
(surface temperature)Storage: −40 °C to 60 °C
Table 3. Comparison of MAE (%), MAX (%), and RMSE (%) SOC estimation for Panasonic 18650PF battery.
Table 3. Comparison of MAE (%), MAX (%), and RMSE (%) SOC estimation for Panasonic 18650PF battery.
Temperature (°C)MAE (%)MAX (%)RMSE (%)
RNN [25]GRU-RNN [25]LSTM-RNN [26]RoLSTMRNN [25]GRU-RNN [25]LSTM-RNN [26]RoLSTMLSTM-RNN [26]RoLSTM
0 °C11.061.312.080.723.75.076.872.562.441.02
10 °C6.751.110.780.6514.854.454.042.20.990.90
25 °C5.690.710.770.4011.292.903.691.91.110.79
Table 4. Comparison of RMSE (%) and MAX (%) error of SOC estimation for A123 L i f e P O 4
Table 4. Comparison of RMSE (%) and MAX (%) error of SOC estimation for A123 L i f e P O 4
Temperature (°C)RMSE (%)MAX (%)
NN [22]NN and UKF [22]Adaptive-GRU [29]RoLSTMNN [22]NN and UKF [22]RoLSTM
0 °C4.22.21.080.9220.53.11.9
25 °C2.50.51.10.73161.91.9
50 °C1.910.840.619.91.51.5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Javid, G.; Ould Abdeslam, D.; Basset, M. Adaptive Online State of Charge Estimation of EVs Lithium-Ion Batteries with Deep Recurrent Neural Networks. Energies 2021, 14, 758. https://doi.org/10.3390/en14030758

AMA Style

Javid G, Ould Abdeslam D, Basset M. Adaptive Online State of Charge Estimation of EVs Lithium-Ion Batteries with Deep Recurrent Neural Networks. Energies. 2021; 14(3):758. https://doi.org/10.3390/en14030758

Chicago/Turabian Style

Javid, Gelareh, Djaffar Ould Abdeslam, and Michel Basset. 2021. "Adaptive Online State of Charge Estimation of EVs Lithium-Ion Batteries with Deep Recurrent Neural Networks" Energies 14, no. 3: 758. https://doi.org/10.3390/en14030758

APA Style

Javid, G., Ould Abdeslam, D., & Basset, M. (2021). Adaptive Online State of Charge Estimation of EVs Lithium-Ion Batteries with Deep Recurrent Neural Networks. Energies, 14(3), 758. https://doi.org/10.3390/en14030758

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