10 1109@icces48766 2020 9137999
10 1109@icces48766 2020 9137999
10 1109@icces48766 2020 9137999
Abstract—Battery technologies and advanced battery important role in control and monitoring the battery operations
management systems are amongst the most trending research in in an EV [4]. BMS is one single functional module solely
automotive sectors as a result of the unprecedented push for responsible for cell balancing, monitoring cell level
electric vehicles. This paper, among existing methods for S tate of temperature, estimating state of health and SoC of a battery
Charge (S oC) estimation of Lithium-Ion batteries used in Electric
Vehicles (EV), explores various artificial intelligence-based and pack consisting of battery module with a specific combination
direct measurement techniques. A performance comparison of of cells (e.g. Nissan leaf has 192 cells, Tesla Model S has
S oC estimation using the coulomb counting approach, S upport 7104 cells and so on). SoC is a crucial parameter as it aids EV
Vector Machine (S VM) methods, and an optimal feed-forward driver to estimate the equivalent distance that can be covered
artificial neural network (ANN) for different storage based on the remaining capacity. Accurate SoC estimation
temperature, initial conditions, and stress tests have been helps to avoid battery failure in scenarios like, middle of busy
presented for a Lithium-Ion battery for a variety of standard traffic day or during a travel that is scheduled with limited
data sets. The stated models are trained using to predict S oC access to charging stations.
when voltage and current are given as inputs. Both the models
are tuned and trained in a cloud-based open-source jupyter
environment, collaboration. The results obtained post- SoC estimation is a challenging task; it’s a non-linear
performance analysis depicts the potential of ANN for accurate function of temperature and current. Xiong et al. has divided
S oC estimation of battery used in EV. ANN has achieved a Mean SoC estimation methods into four sub categories viz., d irect
Absolute Error (MAE) in a range of 0.5-1.4% over one complete measurement, model-based, book-keeping estimation and
cycle. This work can be further extended to validate the real-time computer intelligence based methods [3]. Data driven
performance of ANN with data collected from a hardware setup. techniques for SoC estimation have comparatively higher
prediction accuracy when compared to traditional methods [4]
Keywords—Artificial Neural Network, Multi-Layer Perceptron, as they are based on data science and machine learning
State of Charge, Support Vector Machine.
algorithms. With advancements in Artificial Intelligence (AI),
machine learning is being used extensively in different
I. INT RODUCT ION domains like infotainment, driver assistance systems,
The current paradigm shift of the automotive industry autonomous vehicles etc. AI is ruling industries due to its
from Internal Combustion (IC) engines towards electric extraordinary learning capabilities [5]. Researchers are aiming
mobility demands reliable electric vehicle in terms of mileage to make use of AI in battery management systems for accurate
alike IC engines [1]. This can be achieved by using battery estimation of SoC. This encourages determining an efficient
with high power density and energy density. However, prediction strategy that is best suited, accurate, adaptive and is
choosing a battery pack of highest capacity would increase the capable of estimating SoC precisely for an EV application [6].
weight of Electric Vehicle (EV) which in turn affects the
overall performance. Hence there is a trade-off between AI techniques for regression are categorized as, linear
battery capacity and EV mileage [2]. Lithium-ion battery pack regression, decision trees, Support Vector Machine (SVM)
manages to meet the needs of EV and Hybrid Electric and neural networks [7]. The former two techniques are
Vehicles (HEV), although from functionality point of view, its efficient for linear data. Battery exhibits non-linear
durability, safety, and lifespan are still at stake. State of characteristics; hence the work focuses on using Artificial
Charge (SoC), temperature and number of charge/discharge Neural Networks (ANN) and SVM models for accurate SoC
cycles are major parameters to estimate lifetime of lithium ion estimation. The work objectives have been divided into 3
battery [2]. subparts. First task is to study the existing SoC estimation
techniques and calculate SoC using traditional coulomb
Battery management system (BMS) plays an counting approach. Second task is, pre-process battery data
Authorized licensed use limited to: University of Canberra. Downloaded on July 12,2020 at 17:20:53 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fifth International Conference on Communication and Electronics Systems (ICCES 2020)
IEEE Conference Record # 48766; IEEE Xplore ISBN: 978-1-7281-5371-1
considering the battery state based on current, charging, on direct measurement but, since it’s an open loop estimation
discharging, initial capacity and train both models with method, is susceptible to error and integrates with time [6].
voltage and current as inputs to predict SoC. Final task is a This reason inspires researchers to look for better approaches
performance study i.e. comparison of two vigorous AI for accurate SoC estimation.
techniques for accurate SoC prediction. Comparison is
brought out based on the Mean Absolute Error (MAE), Root Model based techniques are designed to adapt
Mean Square Error (RMSE) and R squared. automatically based on system dynamics. These methods are
complex and are uncertain. In model based methods, battery
(1) model is designed and expressed in terms of a state equation.
A nonlinear state equation along with an adaptive filter is used
to estimate battery SoC. Most commonly used algorithms are,
Where x is the experimentally measured value for n number of Kalman filter and its derivatives [9] [10] [11] [12], Luenberger
observations. observer [13], PI observer [14], sliding mode observer. Table
I, shows the approaches being followed by competitive battery
The next section of the paper gives an insight of pros suppliers [15].
and cons of traditional techniques currently used for SoC
estimation. Section 3 describes the system overview, TABLE I. ALGORITHMS P ROP OSED BY BATTERY SUP P LIERS [20]
methodology and data wrangling process. Section 4 elaborates
on implementation steps achievable to build the model and the
procedure carried out to train ANN and SVM models. Section Battery S uppliers Algorithm Proposed
5 describes the results and discussion based on performance
analysis of both the AI based models. In section 5 ANN is General M otors Coulomb Counting and OCV based method
presented with concluding remarks and feasible future scope. called startup SoC and running SoC
Authorized licensed use limited to: University of Canberra. Downloaded on July 12,2020 at 17:20:53 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fifth International Conference on Communication and Electronics Systems (ICCES 2020)
IEEE Conference Record # 48766; IEEE Xplore ISBN: 978-1-7281-5371-1
Authorized licensed use limited to: University of Canberra. Downloaded on July 12,2020 at 17:20:53 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fifth International Conference on Communication and Electronics Systems (ICCES 2020)
IEEE Conference Record # 48766; IEEE Xplore ISBN: 978-1-7281-5371-1
IV. IMPLEMENT AT ION Network parameters are configured based on trial and
error method for least losses based on loss curve as shown in
4.1 ANN and SVM models Fig. 6 for ANN are –
Regression techniques like lasso, ridge, elastic net, Activation function – logistic
random forest and gradient boost methods are used for Output Layer Activation function – ‘Identity’
comparison. Test dataset of around 1,000 samples at 25 degree Hidden Layer size – 100 neurons in 1 hidden
Celsius, are preprocessed to estimate SoC using Coulomb layer
counting technique. All above mentioned algorithms were Solver – Adam
trained using test dataset to estimate best learning algorithm to Learning Rate – 0.1
be used as part of neural networks . Maximum Iterations – 200
Hyperparameters for these techniques are as follows –
Lasso - Alpha = [0.0001, 0.001, 0.01, 0.1, 1, 5, 10] During training, dataset is split as, 70% of data-points
Ridge - Alpha = [0.0001, 0.001, 0.01, 0.1, 1, 5, 10] for training, 15% for cross-validation and remaining 15% for
Elastic net - Alpha = [0.0001, 0.001, 0.01, 0.1, 1, 5, testing to reduce sampling bias effects. Datasets of different
10] and L1 ratio = [0.1, 0.3, 0.5, 0.7, 0.9] current profiles for different temperature levels is
Random Forest-n_estimators = [10,20] and preprocessed and fed to both the models to evalu ate their
max_features= ['auto', 'sqrt', 0.33] performance for SoC estimation.
Gradient Boost=n_estimators = [10,20] learning rate
= [0.05, 0.1, 0.2] and max_depth = [1,3,5] Identically, SVM involves number of learning tasks
termed as kernels. Kernels provide a modular framework that
Results obtained are as mentioned in Table II. R2 can be adapted to different tasks by us ing various kernel
score provides the measure of best fitted regression line. functions [16]. SVM parameters are configured using trial and
Random forest is the winning model with an R2 score of error method as below–
98.5% and least MAE of 1.7%. Kernels - Linear and Radial based function
gamma = 0.125
TABLE II. COMP ARISON OF DIFFERENT REGRESSION TECHNIQUES Regularization parameter = 100
Elastic Random Gradient
Lasso Ridge
Net Forest Boost 4.2 Implementation Platform
The proposed SoC estimation method can be
M AE(%) 4.7 4.8 4.5 1.7 1.8
extended as a functional module in BMS. The EV is equipp ed
with battery pack which feeds the input to ANN model. The
R2 score 0.036 0.039 0.161 0.985 0.854 output from the model is processed and control signal is fed to
the Vehicle Display Unit (VDU) to assist driver on the
SoC is calculated mathematically based on coulomb remaining SoC. The implementation overview is as shown in
counting method. Data is preprocessed as mentioned in section below figure. The Intel i5 system with 8GB of RAM was used
3.C. Voltage, current are fed as inputs to ANN and SVM as the computational platform for analyzing the trained model.
models to learn and predict SoC. ANN model is built based on
random forest learning technique and Levenberg-Marquardt
training technique. MLP is a feed forward neural network is as
shown in Fig5 below.
Authorized licensed use limited to: University of Canberra. Downloaded on July 12,2020 at 17:20:53 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fifth International Conference on Communication and Electronics Systems (ICCES 2020)
IEEE Conference Record # 48766; IEEE Xplore ISBN: 978-1-7281-5371-1
TABLE III. P ERFORMANCE METRICS FOR ANN MODEL , SVM MODELS AT Cost function or Loss function is used to configure
0,25,45 DEGREE CELCIUS
the ANN parameters to minimize the error gradient to make
Te st T ANN SVM Linear SVM RBF accurate predictions. Loss curve for training, testing and
MAE RMSE MAE RMSE MAE RMSE validating ANN is obtained using cross entropy (log loss),
MAE and RMSE as below for 1000 data points.
0 1 0.0034 9.2 0.0096 9.6 0.0099
25 1.3 0.0010 7.5 0.2283 6.9 1.0622
Authorized licensed use limited to: University of Canberra. Downloaded on July 12,2020 at 17:20:53 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fifth International Conference on Communication and Electronics Systems (ICCES 2020)
IEEE Conference Record # 48766; IEEE Xplore ISBN: 978-1-7281-5371-1
R2 score is a metric to determine the accuracy of the [11] Wang, Y., Zhang, C. and Chen, Z., 2015. A method for state-of-charge
model based on the variance. ANN is having an average estimation of Li-ion batteries based on multi-model switching strategy.
Applied energy, 137, pp.427-434.
accuracy of 99.1% obtained using mean R2 score. A graph of [12] Chang, W.Y., 2013. The state of charge estimating methods for battery:
actual SoC and predicted SoC verses time for one test case i.e. A review. ISRN Applied Mathematics, 2013.
during charging with current as 0.5C, initial capacity as fully [13] Dong, G., Zhang, X., Zhang, C. and Chen, Z., 2015. A method for state
discharged, time interval of 10 seconds is as shown in Fig 7. of energy estimation of lithium-ion batteries based on neural network
model. Energy, 90, pp.879-888.
VI. CONCLUSION [14] Gokulachandran, J. and Mohandas, K., 2011. Tool life prediction model
using regression and artificial neural network analysis. International
Accurate SoC estimation enables BMS to improvise Journal of Production and Quality Engineering, 3(1), pp.9-16.
system reliability, integrity, accuracy and lifespan of a battery [15] Van Schalkwijk, W. and Scrosati, B., 2002. Advances in lithium ion
when trained considering multiple rugged scenarios. It has batteries introduction. In Advances in Lithium-Ion Batteries (pp. 1-5).
been observed that multi-layer perceptron based ANN model Springer, Boston, MA.
can be used for accurate runtime SoC estimation for Lithium- [16] Li, J., Barillas, J.K., Guenther, C. and Danzer, M.A., 2013. A
Ion batteries used in EV’s. ANN can capture trends in SoC comparative study of state of charge estimation algorithms for LiFePO4
batteries used in electric vehicles. Journal of power sources, 230,
variation for different current profiles. The accuracy of the pp.244-250.
model is 99% and MAE is in the range of 0.5-1.4%. The [17] Kashkooli, A.G., Fathiannasab, H., Mao, Z. and Chen, Z., 2019.
network is capable of estimating SoC for different Application of Artificial Intelligence to State-of-Charge and State-of-
temperatures, stress tests and initial conditions. Health Estimation of Calendar-Aged Lithium-Ion Pouch Cells. Journal
of T he Electrochemical Society, 166(4), pp.A605 -A615.
[18] Charkhgard, M. and Farrokhi, M., 2010. State-of-charge estimation for
This paper portrays a proof of concept of a high lithium-ion batteries using neural networks and EKF. IEEE transactions
performance based ANN. This method does not depend on on industrial electronics, 57(12), pp.4178-4187.
battery physics as ANN is purely a data driven approach. [19] Gholizade-Narm, H. and Charkhgard, M., 2013. Lithium-ion battery
Hence this network can be applied to different battery state of charge estimation based on square-root unscented Kalman filter.
variants. The work can further be extended to collect battery IET Power Electronics, 6(9), pp.1833-1841.
data for different drive cycles considering real-time scenarios [20] Meng, J., Luo, G. and Gao, F., 2015. Lithium polymer battery state-of-
charge estimation based on adaptive unscented Kalman filter and
like uphill, downhill, negative temperatures for precise SoC support vector machine. IEEE Transactions on Power Electronics, 31(3),
prediction. pp.2226-2238.
[21] Calce Battery Research group, Data,
REFERENCES https://web.calce.umd.edu/batteries/data.htm, last accessed, 2019/12/19.
[1] Li, Z., Huang, J., Liaw, B.Y. and Zhang, J., 2017. On state-of-charge
determination for lithium-ion batteries. Journal of Power Sources, 348,
pp.281-301.
[2] Landi, B.J., Ganter, M.J., Cress, C.D., DiLeo, R.A. and Raffaelle, R.P.,
2009. Carbon nanotubes for lithium ion batteries. Energy &
Environmental Science, 2(6), pp.638-654.
[3] Li, J., Cheng, H., Guo, H. and Qiu, S., 2018. Survey on artificial
intelligence for vehicles. Automotive Innovation, 1(1), pp.2 -14.
[4] Lim, D.J., Ahn, J.H., Kim, D.H. and Lee, B.K., 2016. A mixed SOC
estimation algorithm with high accuracy in various driving patterns of
EVs. Journal of Power Electronics, 16(1), pp.27 -37.
[5] Xiong, R., Cao, J., Yu, Q., He, H. and Sun, F., 2017. Critical review on
the battery state of charge estimation methods for electric vehicles. IEEE
Access, 6, pp.1832-1843.
[6] Pai, S. and Sindhu, M.R., 2019, October. Intelligent driving range
predictor for green transport. In IOP Conference Series: Materials
Science and Engineering (Vol. 561, No. 1, p. 012110). IOP Publishing.
[7] Huria, T ., Ceraolo, M., Gazzarri, J. and Jackey, R., 2013. Simplified
extended kalman filter observer for soc estimation of commercial power-
oriented lfp lithium battery cells (No. 2013-01-1544). SAE T echnical
Paper.
[8] Ismail, M., Dlyma, R., Elrakaybi, A., Ahmed, R. and Habibi, S., 2017,
June. Battery state of charge estimation using an Artificial Neural
Network. In 2017 IEEE T ransportation Electrification Conference and
Expo (IT EC) (pp. 342-349). IEEE.
[9] Sato, S. and Kawamura, A., 2002, April. A new estimation method of
state of charge using terminal voltage and internal resistance for lead
acid battery. In Proceedings of the Power Conversion Conference-Osaka
2002 (Cat. No. 02T H8579) (Vol. 2, pp. 565 -570). IEEE.
[10] Hammouche, A., Karden, E. and De Doncker, R.W., 2004. Monitoring
state-of-charge of Ni–MH and Ni–Cd batteries using impedance
spectroscopy. Journal of Power Sources, 127(1-2), pp.105-111.
Authorized licensed use limited to: University of Canberra. Downloaded on July 12,2020 at 17:20:53 UTC from IEEE Xplore. Restrictions apply.