AI Assisted Reconfiguration of Battery Packs For Cell B 2024 Journal of Ener
AI Assisted Reconfiguration of Battery Packs For Cell B 2024 Journal of Ener
AI Assisted Reconfiguration of Battery Packs For Cell B 2024 Journal of Ener
Research papers
Keywords: State of charge (SoC) cell balancing is one of the most important roles of battery management systems
State of charge (BMS). The performance and lifespan of a battery pack can be significantly degraded and reduced by the
Cell balancing presence of imbalance in cells SoC. Recently, we have shown that using a machine learning driven battery
Reconfigurable battery pack
pack reconfiguration technique based on a network of controllable switches, one can periodically change the
Machine learning
battery pack topology to effectively achieve better cell SoC equalization. As a result, the driving runtime
achieved with a better balanced battery pack is increased. In this paper, we build on these promising results
and investigate novel machine learning models used for prediction of the best battery pack topologies used
during reconfiguration. In addition, to study the scalability of the proposed battery reconfiguration technique,
we conduct our study on a battery pack with double the number of cells. For validation, we developed an
in-house custom battery pack simulation tool that integrates state-of-the-art battery cell models and extended
Kalman filtering (EKF) algorithms for SoC state estimation. Simulation results using several battery discharging
workloads demonstrate that the machine learning algorithms can achieve better prediction accuracy compared
to previous work, thereby resulting in better cell balancing, which in turn translates into up to 22.4% longer
battery runtime.
∗ Corresponding author.
E-mail addresses: [email protected] (Y. Weng), [email protected] (C. Ababei).
https://doi.org/10.1016/j.est.2024.110853
Received 10 October 2023; Received in revised form 7 January 2024; Accepted 5 February 2024
Available online 8 February 2024
2352-152X/© 2024 Elsevier Ltd. All rights reserved.
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
2
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
Fig. 2. Equivalent electric circuit for a battery cell used by the ESC model [31].
Fig. 3. Illustration of the ESC cell model in parallel with the true hardware cell. The
EKF algorithm solves the model at each time step 𝑘 by using the Kalman gain 𝐾𝑘 during
the state correction step or measurement update. The input 𝑢𝑘 is the instantaneous
3.1. Cell modeling current at each time 𝑘. The battery cell state 𝑥𝑘 and output 𝑦𝑘 are described by Eqs. (1)
and (2). EKF estimated state and output are 𝑥̂ 𝑘 and 𝑦̂𝑘 .
3
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
Fig. 5. Illustration of the Pareto optimality. 𝐶1 and 𝐶2 are calculated with Eqs. (7)
and (8).
simulation time or use. In addition, it was also observed that the level of
imbalance generally increases with time. This motivated us to develop a
topology-switching technique that allows the battery pack to switch be-
tween different topologies during different control or operation periods.
This technique helps reduce the imbalance in the next control period.
For instance, during pack discharging, it is desired to maintain all SoC
values high and as equal as possible among each other. In other words,
we want to reduce the difference between different cells SoC as much as
possible at any given time. Consequently, cells SoC in the battery pack
will be kept as uniform as possible. Results of our preliminary work
showed that the proposed topology switching algorithm can improve
battery cell equalization even more, beyond what one can achieve by
continuously using just one best topology. To identify which topology
is the best for the next control period, several ML models will be
investigated. To train these models, rich datasets with inputs and labels
need to be created. In this section, we discuss how we generate such
datasets using our simulation tool.
During dataset collection, we need to define what inputs will be
Fig. 4. (a) Reconfigurable battery pack with 16 cells. (b) Example of a pack topology
changing from [2,2,2,2,2,2,2] to [2,4,2,2,2,2,2] and then to [2,2,2,4,2,2,2]. used and what the output labels are. For our problem, the labels
must represent identifiers of the topologies that are included in the
set to work with for the purpose of switching among them. When a
switch from a topology to another happens, we are interested in two
easily be achieved by appropriately closing or opening switches shown
objectives: 1) Maximize the summation of all SoC values of battery
in Fig. 4(a).
cells which is equivalent to minimizing the inverse of the summation
Please note that our work assumes that the battery pack is connected
of all SoC values; and 2) Minimize the range of SoC values, which is
to the load through a power converter, which will make sure that
calculated as the difference between the maximum and minimum SoC
the voltage level delivered to the load is kept constant — the role
values among all cells. This can be regarded as a multi-objective op-
of the converter is to regulate the output voltage to the necessary
timization problem. Consequently, two objective functions are defined
level. This will ensure the stability of the voltage level supplied to
to determine the next best topology to switch to. All possible solutions
the load and will address the issue of potential changes in the output
of this optimization problem represent a solution space bordered by
voltage of the battery pack due to switching between different pack
a Pareto frontier [36]. Fig. 5 shows an example of such a solution
topologies during the reconfiguration process. Therefore, the amount
space where each dot represents a possible next pack topology. The
of power provided to the load should remain the same. Nevertheless, it
dashed line shows the Pareto frontier. Prior research [37] showed that
is the power converter’s efficiency and performance that may however
the Pareto optimality of these solutions ensures that it is not possible
introduce small difference in the output power supplied by different
to enhance one objective without compromising the other. The cost
pack configurations; but, in this work we consider that to be negligible.
functions for two objectives 𝐶1 and 𝐶2 are defined as:
4. Collection of datasets and input features of ML model 𝑚𝑎𝑥
𝐶1 = 𝑆𝑜𝐶𝑑𝑖𝑓 𝑓 = max 𝑆𝑜𝐶𝑖 − min 𝑆𝑜𝐶𝑖 (7)
𝑖∈[𝑛] 𝑖∈[𝑛]
later relies on machine learning models, which require training. Ex- Where we define [𝑛] = {1, 2, … , 𝑛} with 𝑛 representing the total number
tensive SoC simulations showed that different initial SoC conditions of cells in the battery pack.
and different cell parameter values can lead to widely different SoC Because we work with a total of 𝑁 different topologies only, the
variation profiles when different battery pack topologies are used. optimization problem is essentially identifying the topology that should
In other words, different pack topologies lead to different imbalance be used in the next control period. This identification is done by
levels starting from the same initial conditions and during the same evaluating the following expression that combines the two individual
4
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
5
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
Table 1
Prediction accuracy of studied models.
Models Testing accuracy Training accuracy
𝐷𝑁𝑁 72.0% 73.5%
𝑆𝑉 𝑀 66.8% 72.1%
𝐴𝑑𝑎𝐵𝑜𝑜𝑠𝑡 55.9% 60.7%
𝐾𝑁𝑁 50.1% 53.8%
𝑅𝐹 40.9% 40.6%
6
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
7
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
Table 2
Summary of improvements in terms of runtime length and SoC values span.
Discharging Improvement in Improvement in
Workload Battery Runtime SoC Values Span
Increase (%) Reduction (×)
Constant 21.5% 3.25×
Step 22.4% 2.75×
UDDS 19.8% 2.33×
those times. These non-perfect topologies will make for the overall SoC
values to follow a path that is possibly less optimal than the absolute
best. Currently, we do not have an efficient way to estimate how far
the solution achieved by the proposed algorithm is from the solution
one would get with a perfect predictor. The best way to address this
difference is to improve the ML model accuracy by refining further the
model or by employing other, more sophisticated models — which we
are currently exploring and be reporting in our future work.
8
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
Fig. 12. (a) Variation of cells SoC for base case topology [2, 2, 2, 2, 2, 2, 2, 2], step workload. (b) Variation of cells SoC for a pack with topology reconfigured using the proposed
balancing algorithm, step workload.
Fig. 13. (a) Variation of cells SoC for base case topology [2, 2, 2, 2, 2, 2, 2, 2], UDDS workload. (b) Variation of cells SoC for a pack with topology reconfigured using the
proposed balancing algorithm, UDDS workload.
9
Y. Weng and C. Ababei Journal of Energy Storage 84 (2024) 110853
References [25] B. Wu, W.D. Widanage, S. Yang, X. Liu, Battery digital twins: perspectives on the
fusion of models, data and artificial intelligence for smart battery management
[1] M. Iqbal, A. Benmouna, M. Becherif, S. Mekhilef, Survey on battery technologies systems, Energy AI 1 (2020).
and modeling methods for electric vehicles, Batteries 9 (3) (2023) 185. [26] Z.B. Wei, J.Y. Zhao, H.W. He, G.L. Ding, H.Y. Cui, L.C. Liu, Future smart
[2] M.-K. Tran, S. Panchal, T.D. Khang, K. Panchal, R. Fraser, M. Fowler, Concept battery and management: advanced sensing from external to embedded
review of a cloud-based smart battery management system for lithium-ion multi-dimensional measurement, J. Power Sources 489 (2021) 229462.
batteries: feasibility, logistics, and functionality, Batteries 8 (2) (2022) 19. [27] Y. Weng, C. Ababei, Battery pack cell balancing using topology switching and
[3] K. Fang, C. Li, Y. Tang, J. He, J. Song, China’s pathways to peak carbon machine learning, in: IEEE Vehicle Power and Propulsion Conf., VPPC, 2022, pp.
emissions: new insights from various industrial sectors, Appl. Energy 306 (2022). 1–6.
[4] N. Abhyankar, P. Mohanty, A. Phadke, Illustrative Strategies for the United [28] W.J. Han, T. Wik, A. Kersten, G.Z. Dong, C.F. Zou, Next generation battery
States to Achieve 50% Emissions Reduction by 2030, Lawrence Berkeley National management systems: dynamic reconfiguration, IEEE Ind. Electron. Mag. 14 (4)
Laboratory, Berkeley, CA, USA, 2021. (2020) 20–31.
[5] P. Mock, S. Díaz, Pathways to decarbonization: the European passenger car [29] K. Liu, Z. Wei, C. Zhang, Y. Shang, R. Teodorescu, Q.-L. Han, Towards long
market in the years 2021–2035, Communications 49 (2021). lifetime battery: AI-based manufacturing and management, IEEE/CAA J. Autom.
[6] H. Scott, Understanding the impact of reoccurring and non-financial incentives Sinica 9 (7) (2022) 1139–1165.
on plug-in electric vehicle adoption – A review, Transp. Res. A 119 (2019) 1–14. [30] G. Plett, Extended Kalman filtering for battery management systems of LiPB-
[7] S.S. Rangarajan, S.P. Sunddararaj, A. Sudhakar, C.K. Shiva, U. Subramaniam, based HEV battery packs. Part 1. Background, J. Power Sources 134 (2) (2004)
E.R. Collins, T. Senjyu, Lithium-ion batteries—the crux of electric vehicles with 252–261.
opportunities and challenges, Clean Technol. (2022) 908–930. [31] G. Plett, ECE5720: Battery Management and Control, University of Colorado Col-
[8] A. Samanta, S. Chowdhuri, Active cell balancing of lithium-ion battery pack orado Springs, 2015, [Online]. Available: http://mocha-java.uccs.edu/ECE5720/
using dual dc-dc converter and auxiliary lead-acid battery, J. Energy Storage 33 index.html.
(2021) 102109. [32] G. Plett, ECE4710/5710: Modeling, simulation, and identification of battery
[9] J. Chen, Z. Zhou, Z. Zhou, X. Wang, B. Liaw, Impact of battery cell imbalance dynamics, University of Colorado Colorado Springs, 2018, [Online]. Available:
on electric vehicle range, Green Energy Intell. Transp. 1 (3) (2022) 100025. http://mocha-java.uccs.edu/ECE5710/index.html.
[10] Z.B. Omariba, L. Zhang, D. Sun, Review of battery cell balancing methodologies [33] W. Greg, B. Gary, An introduction to the Kalman filter, 2006, [On-
for optimizing battery pack performance in electric vehicles, IEEE Access 7 line]. Available: chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/http://
(2019) 129335–129352. www.cs.unc.edu/~welch/media/pdf/kalman_intro.pdf.
[11] X. Wang, S. Li, L. Wang, Y. Sun, Z. Wang, Degradation and dependence analysis [34] Y. Weng, Detection and Characterization of Actuator Attacks Using Kalman Filter
of a lithium-ion battery pack in the unbalanced state, Energies 13 (22) (2020) Estimation (M.S. thesis), Marquette University, 2019.
5934. [35] Y. Wang, X. Lin, Y. Kim, N. Chang, M. Pedram, Architecture and control
[12] A.K.M.A. Habib, M.K. Hasan, G.F. Issa, D. Singh, S. Islam, T.M. Ghazal, Lithium- algorithms for combating partial shading in photovoltaic systems, IEEE Trans.
ion battery management system for electric vehicles: constraints, challenges, and Comput.-Aided Des. Integr. Circuits Syst. 33 (6) (2014) 917–930.
recommendations, Batteries 9 (3) (2023) 152. [36] K. Deb, Multi-Objective Optimization Using Evolutionary Algorithms: An
[13] A.K.M.A. Habib, M.K. Hasan, M. Mahmud, S.M.A. Motakabber, M.I. Ibrahimya, S. Introduction, KanGAL Report Number 2011003, 2011.
Islam, A review: energy storage system and balancing circuits for electric vehicle [37] Y. Akishita, Y. Ohsita, M. Murata, Network power saving based on Pareto optimal
application, IET Power Electron. 14 (2021) 1–13. control with evolutionary approach, in: Int. Conf. on Computing, Networking and
[14] T. Hein, A. Ziegler, D. Oeser, A. Ackva, A capacity-based equalization method Communications, ICNC, 2017.
for aged lithium-ion batteries in electric vehicles, Electr. Power Syst. Res 191 [38] C.E.A. Bundak, M.A.A. Rahman, M.K.A. Krim, N.H Osman, Fuzzy rank cluster
(2021). top k Euclidean distance and triangle based algorithm for magnetic field indoor
[15] F. Eroglu, M. Kurto, M. Vural, Bidirectional dc–dc converter based multilevel positioning system, Alex. Eng. J. 61 (5) (2022) 3645–3655.
battery storage systems for electric vehicle and large-scale grid applications: [39] A. Kumar, Differences between random forest vs AdaBoost, 2022, [Online]. Avail-
a critical review considering different topologies, state-of-charge balancing and able: https://vitalflux.com/differences-between-random-forest-vs-adaboost/.
future trends, IET Renew. Power Gener. 15 (2021) 915–938. [40] R. Saini, Integrating vegetation indices and spectral features for vegetation
[16] A. Turksoy, A. Teke, A. Alkaya, A comprehensive overview of the dc-dc mapping from multispectral satellite imagery using AdaBoost and random forest
converter-based battery charge balancing methods in electric vehicles, Renew. machine learning classifiers, Geomat. Environ. Eng. 17 (1) (2023) 57–74.
Sustain. Energy Rev. 133 (2020) 110274. [41] D. Yang, Y.J. Wang, R. Pan, R.Y. Chen, Z.H. Chen, A neural network based state-
[17] Y.-H. Park, R.-Y. Kim, Y.-J. Choi, An active cascaded battery voltage balancing of-health estimation of lithium-ion battery in electric vehicles, Energy Procedia
circuit based on multi-winding transformer with small magnetizing inductance, 105 (2017) 2059–2064.
Energies 14 (5) (2021) 1302. [42] Y.N. Sun, J.L. Zhang, K.F. Zhang, H.H. Qi, C.J. Zhang, Battery state of health es-
[18] G. Noh, J. Lee, J.-I. Ha, Design and analysis of single-inductor power converter timation method based on sparse autoencoder and backward propagation fading
for both battery balancing and voltage regulation, IEEE Trans. Ind. Electron. 69 diversity among battery cells, Int. J. Energy Res. 45 (5) (2021) 7651–7662.
(2021) 2874–2884. [43] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M.
[19] A. Khalid, A. Stevenson, A.I. Sarwat, Performance analysis of commercial passive Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D.
balancing battery management system operation using a hardware-in-the-loop Cournapeau, M. Brucher, M. Perrot, E. Duchesnay, Scikit-learn: machine learning
testbed, Energies 14 (23) (2021) 8037. in Python, J. Mach. Learn. Res. 12 (2011) 2825–2830.
[20] Z.D. Taylor, H. Akhavan-Hejazi, H. Mohsenian-Rad, Power hardware-in-loop sim- [44] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, R. Salakhutdinov, Dropout:
ulation of grid-connected battery systems with reactive power control capability, a simple way to prevent neural networks from overfitting, J. Mach. Learn. Res.
in: North American Power Symposium, NAPS, 2017. 15 (56) (2014) 1929–1958.
[21] N. Bouchhima, M. Schnierle, S. Schulte, K.P. Birke, Active model-based balancing [45] Y. Wei, F. Yang, M.J. Wainwright, Early stopping for kernel boosting algorithms:
strategy for self-reconfigurable batteries, J. Power Sources 322 (2016) 129–137. a general analysis with localized complexities, IEEE Trans. Inform. Theory 6 (10)
[22] A. Pozzi, M. Zambelli, A. Ferrara, D.M. Raimondo, Balancing-aware charging (2019).
strategy for series-connected lithium-Ion cells: a nonlinear model predictive [46] Infineon, IRFP4668, 2023, [Online]. Available: https://www.infineon.com/cms/
control approach, IEEE Trans. Control Syst. Technol. 28 (2020) 1862–1877. en/product/power/mosfet/n-channel/irfp4668/.
[23] F.S.J. Hoekstra, H.J. Bergveld, M.C.F. Donkers, Optimal control of active cell [47] O.L. Gallaga, How to take care of your electric vehicle battery, 2023, [Online].
balancing: extending the range and useful lifetime of a battery pack, IEEE Trans. Available: https://www.wired.com/story/how-to-take-care-electric-vehicle-
Control Syst. Technol. 30 (2022) 2759–2766. battery/.
[24] R.D. Fonso, X. Sui, A.B. Acharya, R. Teodorescu, C. Cecati, Multidimensional
machine learning balancing in smart battery packs, in: Annual Conf. of the IEEE
Industrial Electronics Society, 2021.
10