Machine Learning Algorithms For Estimation of State-of-Charge of Li-Ion Batteries
Machine Learning Algorithms For Estimation of State-of-Charge of Li-Ion Batteries
Abstract—Accurately predicting the SoC of the battery is the conditions, maximizing the pack capacity by balancing and
main function of any Battery Management System (BMS). BMS redistributing, and thermal management by maintaining
must carefully read the battery parameters, to safe guard the temperature in safe range. BMS monitors the battery
battery, to predict accurately the battery’s state, so as to continuously in a periodic manner and aims in predicting the
improve the battery’s performance and to alert to users/external SoC and SoH of the battery. BMS masters the energy system
devices. The objective of this study is to offer a comprehensive in an Electric car. Through the acquisition of data, the Battery
overview of Machine Learning (ML) algorithms for predicting Management System (BMS) diligently observes the charging
the State-of-Charge (SoC) of Lithium-ion batteries for enabling and discharging patterns of batteries, with a specific focus on
an accurate and online estimation, mandatory for ensuring
Lithium-ion batteries. This is crucial as the charging and
battery as well as user safety and also aims to provide efficient
BMS for the advancing the development of EVs (Electric
discharging behaviors in Lithium-ion batteries exhibit distinct
Vehicles) and HEVs (Hybrid Electric Vehicles). characteristics. The sample battery management system is
shown in figure 1.
Keywords— Battery Management System (BMS), Machine
Learning (ML), State-of-Charge (SoC), Electric Vehicles (EVs)
and Hybrid Electric Vehicles (HEVs).
I. INTRODUCTION
Renewable energy sources are fastest growing electricity
sources. Energy storage has become one of the prime sectors
and it is critical in an Electric vehicle. Lithium batteries are
employed in various applications such as electric vehicles.
These are portable devices, and are predominant energy
storage systems (ESS) as the reasons are, its high energy
density, long life, and less weight[1]. Machine Learning
techniques that are based on data, are become increasingly
widespread for predicting the State-of-Charge(SoC) and Figure 1: BMS-Courtesy: ST Microelectronics Inc.
State-of-Health(SoH) as there is a state-of-art computing
techniques and availability of open source battery data.[2] B. SoC and its Importance:
A. Why BMS? In a battery or cell, State of Charge at a given instant is
defined as the ratio between charge available at that instant to
The essential parameters for battery monitoring the charge available when it is fully charged. It is expressed in
encompass Voltage, Current, and Temperature. The foremost percent, from 0% when empty to 100% when full. Analogous
aim of the BMS is to monitor the parameters and to keep them to how much fuel is available in car’s tank. SoC of the battery
in the safe operating regions. The change in these parameters is expressed by
occurs during charging and discharging or during open circuit.
BMS plays a critical role in overseeing each individual cell SoC= Qavailable/Qrating
within a battery pack, ensuring the overall stability of the where Qavailable is the leftover battery charge, and Qrating is
system. Its primary responsibility is to uphold the safety of the the maximum capacity of the battery. Though, the rated
battery, safeguarding both users and the environment from capacity of the battery Qrating is not constant throughout its life-
potential harm. BMS manages the battery pack in three ways, time. The maximum or the rated capacity of the battery Qrating
protection of the battery without causing any damages by not varies throughout its lifetime relying upon various external
allowing parameters outside the standard safe operating aspects like temperature of environment, current discharge,
aging factor of battery, SoH, the no. of discharge & charge B. Long short Term Memory (LSTM):[5]
cycles, and other reasons such as manufacturing defects
(agglomeration, small circular pinholes, irregular coatings, In their scholarly investigation, Fangfang Yang et al.
and contaminated metal) [3]. introduced a stacked LSTM network as a methodology for
deriving State-of-Charge estimations from measurements of
C. Importance of SoC: battery parameters. This approach involves modeling the
1) SoC is an indicator of sufficient charge availability for batteries considering its intricate charging/discharging
carrying out a particular operation. dynamics.
2) SoC estimation helps in operation of battery in its limits
of charge and discharge.
3) Lower or higher values of SoC tends to damage to
battery permanently. It is difficult to estimate SoC as it
represents internal state of the battery.
II. ML ALGORITHMS OF SOC ESTIMATION: A REVIEW
A. Extreme Learning Machine (ELM) algorithm:[4]
According to the statements of the researchers prime
factors that decide the efficiency of the ELM algorithm are the
training accurateness and the neuron count in the hidden layer.
Gravitational search algorithm(GSA) aids the ELM in
increasing the computational efficiency. The researchers also
confirm that there is no need of any mathematical model and
battery knowledge in the estimation of SoC using GSA. At
different temperatures model robustness is validated, and it is
verified using back-propagation and radial basis function
neural networks.
1% of MAE(Mean Average Errors) for the suggested network network are shown with starting SoC 60% with accurate and
which converges faster to attain the true value of SoC. stable results as shown in figure 7.
At each time step the SoC estimation time is reduced in The proposed model learned in a perfect way with normal
milliseconds, which makes it appropriate for real-time environmental conditions and gives satisfying estimation of
implementations and present Electric Vehicles which State-of-Charge under varying temperatures, with MAEs
requires a suitable Battery management system. The within 1.5%. and RMSEs within 2%.
researchers suggest that their proposed methodology is one of
the dominant methods for predicting the convergence of SoC
in lithium-ion batteries. This method shall be enhanced by
considering other situational factors like, degradation,
humidity and battery materials. Figures 5a and 5b shows the
results for FUDS dataset when the network is trained using
DST dataset with starting SoC 80% and 60% respectively.
Fig.5. Sample output for LSTM model Dickshon et al. introduced an advanced deep neural
a) Starting SoC 80% and b) Starting SoC 60% network (DNN) for predicting State-of-Charge (SoC) in Li-
ion batteries specifically designed for Electric Vehicle (EV)
C. Combined CNN-LSTM Network: [6] applications. Their research affirms that, even for unfamiliar
Xiangbao et al., in their study, suggested a predictive drive cycles, an accurate SoC estimation can be achieved by
approach for estimating battery State-of-Charge (SoC) using augmenting the count of hidden layers in the neural network.
Convolutional Neural Network (CNN) and type of recurrent The authors created multiple DNN models incorporating
neural network (RNN) called Long Short-Term Memory varying numbers of hidden layers. The output of the DNN is
(LSTM) network, leveraging the inherent advantages of each. represented by the predicted or estimated SoC, which is a
By utilizing parameters with established values such as scalar value. The architecture of proposed DNN architecture
current (I), voltage (V), and temperature (T), the model is shown in figure 8.
extracts time sequence and space attributes from the input
data, combining the strengths of both networks. The
recommended architecture is presented in Fig.6.
Neural Network was capable of generalizing the tendency of optimizes parameters of the model, sliding window method
estimation of SoC for various drive cycles. SoC estimation updates online the number of input vectors
with true value for US06 data is shown in figure 9.
It was proved that by increasing hidden layers count
of the DNN decreases the error. In comparison with the other
machine learning techniques like LSTM and gated recurrent
unit (GRU) it is clearly visible that the computation cost and
complexity are very much reduced as suggested by the
researchers. The requirement of resources is more, and also
memory requirement, time to train and test are more.
Comparison of error rates indicate that the suggested method Fig.10 LSSVM Battery model
is equal with existing methods.
SoC error is controlled below 1%. The above two
proposed models enhance the prediction and MAE for model
1 by is 0.57%-1.74% and for model 2 by 0.38%-0.87%. The
comparison of the results with the LSSVM and the proposed
models are as shown in figure 11.They confirm that their
techniques are superior to RNN model and conventional
Kalman Filter model at various temperatures.