You are on page 1of 6

A Modular Battery Management System for

Electric Vehicles
Ignacio Carlucho#1, Roberto de la Vega #2, Marcelo Spina #3, Gerardo G. Acosta #4
#
Grupo INTELYMEC, Centro de Investigaciones en Física e Ingeniería del Centro (CIFICEN-CONICET- CICpBA),Fac.
de Ingeniería - Universidad Nacional del Centro de la Prov. de Buenos Aires (UNCPBA), Olavarría B7400JWI, Argentina
1
ignacio.carlucho@fio.unicen.edu.ar
2
rjdlv@fio.unicen.edu.ar
3
mspina@fio.unicen.edu.ar
4
gerardo.acosta@ieee.org

Abstract— In electric vehicles the energy storage provided around 300V [5]. These serial and parallel arrangement of
by the batteries is of utmost importance: it provides autonomy the cells are called packs, depending on the application,
to the vehicle. However rechargeable batteries cannot operate packs can have hundreds of cells. However, creating battery
alone, a Battery Management System is needed to provide safe packs can overstress some cells in the arrangement, since all
operation conditions, monitor its state and balance its charge.
cells are different, therefore those with less energy could be
In this article a Battery Management System is developed for
applications in electric vehicles and autonomous robotics. We overcharged, or over discharged, risking the health of the
design the system in a modular way to give flexibility and allow whole pack.
portability to different type of battery packs. Low-cost These issues make the implementation of a battery
microcontrollers were used for the system providing also management system (BMS) necessary. A BMS has the
communication with the vechicle's on-board computer. A function of monitoring the voltage and temperature of the
passive balancing schemed is chosen as a way of battery cells making sure that no over-stressing of occurs. The BMS
balancing. The proposed system was tested using a battery should also be able to estimate the state of charge (SOC) of
pack demonstrating its balancing capabilities. the battery pack. Estimating the remaining energy in the
battery is crucial in EV since it gives an idea of the
Resumen— En los vehículos eléctricos la acumulación de
energía proveída por las baterías es de alta importancia, ya remaining autonomy.
que le provee autonomía. Sin embargo, las baterías de litio no Another important task of the BMS is the balancing of
pueden operar solas, necesitan de un sistema de control de the pack [6]. Since all the cells have different capacities
baterías que sea capaz de supervisar su operación, monitorear (due to physical differences), when packs are formed some
su estado y balancear su energía. En este artículo se desarrolla sector have higher capacities than others. This causes that
un sistema de manejo de baterías para aplicaciones en during successive charge and discharge cycles, cells with
vehículos eléctricos y robótica autónoma. El sistema se diseñó lower capacity will be overstressed. Furthermore, the
en una forma modular para brindar flexibilidad y portabilidad discharge of the pack will have to be stop when this lower
a diferentes tipos de packs de baterías. Microcontroladores de
capacity cells reach a voltage threshold, causing that not all
bajo costo fueron utilizados para el sistema, proveyendo a su
vez comunicación con la computadora on-board del vehículo. the energy of the pack is fully available to the user.
Un sistema de balanceo pasivo fue elegido para ecualizar las Therefore in order to preserve the health of the cells and to
celdas. El sistema propuesto fue probado con un pack use all the available energy, it is required to balance the
demostrando sus capacidades de balanceo. pack, assuring that all the cells have similar SOC [7]. There
are usually two ways of achieving this, passive and active
I. INTRODUCTION methods. The former uses dissipation to remove energy
Energy storage systems are an important part of electric from the cells with the higher energy, while the latter stores
vehicles (EV) and hybrid electric vehicles (HEV) and the energy of the cells with higher SOC and uses it to charge
autonomous robots. In current applications Lithium cells are the cells with lower energy levels.
widely used to supply energy to the vehicles, due to their In this article we present a modular BMS, for EV, capable
high power density, good thermal and chemical stability, of adjusting to different battery packs. The proposed BMS
environmental friendly production and recycling, and long can balance the cells in the pack by using a passive balance
lifespan [1]. method. In addition, the SOC can be estimated by means of
However, lithium cells have a limited operative region, a the Coulomb counting method. The proposed approach is
maximum and minimum voltage in which the cells should tested on a battery pack to test the balancing capabilities.
be kept [2]. Over stressing the cells, either caused by an This article is organised as follows. In section II we
over-voltage or under voltage situation, could cause a present a more thorough explanation of the battery
decrease in the life span of the cell, a permanent damage or management systems. Section III presents the design of our
in the worst cause a fire [3][4] . system. In Section IV results are presented, followed by
Furthermore, this type of cells have relative low voltages Section V that shows our conclusions.
(around 3.7V) and low capacities (10Ah). Therefore it is
necessary to create cell arrays in order to provide the
required voltage and current to the vehicles, in some cases
II. BATTERY MANAGEMENT SYSTEMS
A BMS is an important part of every vehicle that uses
lithium battery as accumulators. The BMS is in charge of
balancing the cells, monitoring their voltage, temperature
and current, and communicating this to the user. Another
important task of the BMS is the SOC estimation. The SOC
is a value representing the percentage of remaining energy
in the cell, a critical value for electrical vehicles.
Furthermore, the State of Health (SOH) could also be
estimated. The SOH is a number that represents the aging of
the cells, a process that occurs as successive charge and
discharge cycles are done. In the next subsections the cell
balancing and the state of charge estimation are explained in
more detail. Figure 1. Schematic of the whole system

A. Cell Balancing
B. State of charge estimation
Balancing of the cells becomes essential in the packs
used in EV and HEV. As was mentioned previously, every The State of Charge (SOC) of a cell, is a number that
cell has different capacity due to imperfections caused represents the remaining energy in the cell or the battery
during manufacturing as well as different operational pack. This number is a perceptual, and has a high utility to
conditions. This causes that cells with lower capacity the user since it gives an idea of the remaining usable
become over stressed, reducing both the amount of energy energy in the pack. That for EV has a direct relationship
available and the lifespan of the pack. To solve this issue with the available distance that could still be travelled
the cells have to be balanced. Two methods are used for this: before a charge is needed. Estimating the SOC is not a
passive or active balance. trivial task, since this value cannot be measured directly and
Passive balance has as an advantage its simplicity and depends on the current operational conditions [13].
lower comparable cost [8]. The passive balance consist in Research is being done on this topic and currently some
connecting a resistor in parallel with the cells with the methods are proposed to try to estimate this value online,
higher SOC. The excessive energy is thus dissipated into the during operation.
environment as heat. This is the major disadvantage of this The SOC can be estimated online using a bookkeeping
method, as this dissipation is inefficient, since all the method, called Coulomb counting [14]. This method
excessive energy is wasted. measures the energy that comes in and out of the battery,
On the other hand, active methods, try to make use of this allowing thus to estimate its value as:
excessive energy. By means of other energy accumulators,
like capacitors, the energy that is extracted from the cells I (t ) * dt
with higher SOC is then used to charge the cells with lower SOC (t ) =SOC (t − 1) + (1)
SOC. As a disadvantage, this method is usually more
Qn
complex, since it requires extra accumulators and more where SOC(t) and SOC(t-1) are the state of charge at time t
complex switching for connecting the cells, and more and t-1 respectively, I(t) is the current coming in or out of
expensive, for the same reasons [9]. the battery, Qn is the nominal capacity of the battery and dt
A passive balancing methods is presented in [10] where is the sampling time.
the authors take advantage of the internal resistor of the However, this method has as a disadvantage: it requires
MOSFET used for switching to help balance battery packs an initial estimation of the SOC. To solve this, the initial
with higher capacities. In [11] a capacitor is used to store voltage of the pack could be used to give an estimation, but
the energy of the batteries with higher charge, which will this estimation can be poor, especially during the nominal
later charge the lower cells. This procedure is done by work conditions, where voltages values are relatively
means of a control system, which by means of a switching constant. Nonetheless, the voltage exponential region,
scheme, can re direct the energy flow accordingly and also during full charge, and the voltage cut-off, achieved when
determine the duty cycle depending on the capacitor the cell is discharged, are clear indicators of the current
behaviour. A multi-winding transformer is used in [12] to SOC. This values, therefore, could be used to validate or
balance the lower cells. The energy of the entire pack is compensate for variations in the SOC. This, technique
used by the transformer allowing multiple cells to be together with storing the last estimated SOC, can prove to
balanced at the same type, providing faster equalisation. be enough to provide a reliable estimation.
Another methods use intelligent techniques to try to
estimate the value of SOC. In [15] neural networks were
used to estimate the SOC value of a hybrid battery and
super capacitors system. Another method widely used for
this task is fuzzy logic [16], [17].
III. SYSTEM DESIGN In addition, the design of the dedicated board was done in
Looking to obtain a BMS for applications in EV and a way so that a third board, called the power board, could be
HEV, like the electric vehicle developed at our university implemented. This third board only holds the power
the Pampa Solar I and Pampa Solar 2, it is desired that the resistors and the required MOSFETs for switching.
system could easily adapt to different type of battery packs, Therefore, it could be used in cases where bigger resistors
without much reconfiguration. Therefore we looked at are needed for balancing. For instance when battery packs
modularity as a way of accomplish this. We design the BMS with higher capacity are used, usually by arranging n
in modules that could be expanded as required by the pack. numbers of cells in parallel, then instead of having to
The BMS counts of two modules, the SOC estimation redesign the dedicated board completely power boards
module and the balancing module. Each one of this modules could be implemented with the required resistors and
communicates over a Local Interconnect Bus (LIN), a serial switches to obtain the required balancing current. In Fig. 3 a
communication protocol used in vehicles. The general schematic of the connections of the dedicated board
connection scheme can be seen in Fig. 1. In the next together with the power board are shown, compare this to
subsections each module will be explained. Fig. 2 to have an overview of the possible connections.
As it was previously described the modular way of the
A. Balancing Module design allows for high versatility. We show in Fig. 4 the
The module is in charge of monitoring the voltage of the final design of the dedicated board together with the local
individual cells and of balancing the pack by equalising the host.
individual cells. To achieve this, a passive balancing
scheme was chosen due to its simplicity and low
comparable cost to other methods.
The Texas Instruments bq76PL536 integrated circuit (IC)
[18] was chosen as analogue front end. The bq76 can
measure the voltage of six cells in series and has dedicated
outputs that allow it to send commands to control externals
MOSFET to balance the cells. The IC communicates with a
master microcontroller by SPI. This master is in charge of
the balancing algorithms and the configuration of the IC.
This IC can be stacked vertically to provide protection to up
to 192 cells, by means of a SPI interface that connects
vertically up to 32 ICs, therefore allowing for modularity. A
connection schematic is shown in Fig. 2.

Figure 3. Balancing module schematic with the connections of the


power board

Figure 2. Balancing module schematic

The balancing module is divided in two boards: the local


master, which has the local master microcontroller with all
Figure 4. Picture of the balancing module
the necessary connections for communication, and the
power board with the bq76, the MOSFETs and the
balancing resistors. This disposition allows for versatility, An important part of this system is the algorithm in
since the board that holds the local master is generic it can charge of the cell balancing. The algorithm is performed by
also be used by the other modules that have a dedicated the local master. For our application we used the Texas
master. Moreover, when battery packs with bigger voltage Instruments MSP430f247 microcontroller. The local master
are needed, it is only necessary to add dedicated boards to commands the bq76, by an SPI bus, to activate the
fit the particular needs. MOSFETS that, when opened, put a balancing resistor in
parallel with the cells that require equalising. The algorithm
used to balance the cells is shown in Algorithm 1. It is
important to notice that one of the main components of the batteries are charging. If this is not the case, the system is
algorithm is a variable called Charging. This variable is discharging. It is important to note that for Algorithm 2 to
provided to the balancing module via BUS LIN, and the work correctly the battery pack needs to be equalized,
state of the variable is calculated in the SOC estimation otherwise the SOC will be affected by the battery with the
module, explained in the next subsection. minimum energy.
The algorithm works as follow. When the system is not
charging (Charging = False) the balancing module will only
monitor the state of the cells, without applying any
balancing. However the user will be alerted in case any cell
is overstressed, i.e. overvoltage or under voltage, via bus
LIN communication. On the other hand, if the system is
charging (Charging = True), then the cell balancing will be
applied, together with the monitor of the state of the cells.
This difference between charge and discharge is done
because of the balancing method applied. When we are
balancing the cells, energy is being dissipated by the
resistors. Therefore if the balancing is done while the
vehicle is being used, the user will have less available
energy for mobility and this is not desired. Therefore,
balancing is only applied during charging cycles.
Figure 5. Picture of the SOC Estimation Module

Algorithm 1 C. The Whole System


The two previously described modules interact with each
1. Start system, configure ICs other via a LIN bus. Both local master, comprised by the
2. repeat (while system is on): msp430 microcontrollers, act as a slave of a global LIN
3. Charging = get_charging_state(); master. The global master communicates with the on-board
4. if Charging: computer of the EV, giving the user direct information of
5. Balance(); the estate of the system. In the present work only the BMS
part of the system is described, but more modules could be
6. else attached to the global master as it will be required by the
7. Monitor_state(); application.
8. end if
9. wait (until tsample) Algorithm 2
8. end repeat
1. Start system, configure parameters
2. soc(t) = read_soc_memory();
B. SOC Estimation Module 3. repeat (while system is on)
The module is in charge of estimating the SOC of the 4. if Vpack >= V_fullcharge
battery. This is achieved by means of the Coulomb counting 5. soc = 100%
method, due to its simplicity. Therefore to do so the module 6. else Vpack <= V_fulldischarge
requires a precise measurement of the current. However,
based on the other methods previously discussed to estimate 7. soc = 0%
the SOC, and to give versatility and allow more complex 8. end if
estimations of this value in the future, the voltage and 9. soc(t) = soc(t-1) + I(t) * dt / Qn
temperature of the battery pack are also measured. 10. if I is positive
Following the design employed in the balancing module, 11. Charging = True
two boards were used: one with the master microcontroller
and another with the necessary sensors. A picture of the 12. else
final board implemented in the vehicle Pampa Solar II can 13. Charging = False
be seen in Fig. 5. 14. end if
The Algorithm used for the SOC estimation is presented 10. end repeat
in Algorithm 2. The systems uses a Coulomb counting
method, but by taking advantage of the knowledge of the
battery capacity the voltages at full charge and discharge are
used to calibrate for errors introduced during estimation.
The algorithm also determines if the system is charging or
not, and defines the Charging variable, that will then be
used by the balancing module. This variable is send via bus
LIN. The definition of said variable is simple done by
measuring sign of the current. If the current is positive, this
means that energy is given to the system, and therefore the
IV. RESULTS
The proposed system was tested in the lab using a smaller
number of cells than those required for the EV. The pack
tested had 6 LiFePo4 cells in series, with each cell having
3.3V nominal voltage and a capacity of 10Ah, giving the
pack a total of 18V and 10Ah. For the charging cycles a
controlled source was used to provide the required voltage
and current. The charging process is done in the following
way: the battery pack is charged at constant current, until
the pack reaches a voltage threshold, after this point the
voltage is kept constant while the current diminishes until it
reaches a minimum threshold. On the other hand, for the
discharge cycles, a system developed in our laboratories
was used that allowed to discharge the pack at a constant
current. Both boards had a sampling time of one second.
First, the SOC estimation capabilities of the system
where tested. A discharge cycle for a single cell, with 5A
discharge current, is shown in Fig. 6 together with the Figure 7. Cell voltage during charge and balancing of the pack
values of SOC estimated by the system. The current is not
shown, since the discharge was at a constant value. As it can
be seen in the figure, the cell started at full charge, 100%
SOC, which was correctly estimated based on the voltage
readings. However, by full discharge, the system presented
an error of proximately 5% in the SOC estimation, that was
corrected when the cut-off voltage was achieved.

Figure 8. Cell voltage in iteration five of charge and discharge

Since the pack started from an unbalanced state and the


balancing current is limited, to fully balance the pack many
cycles with equalization are needed. After five charge and
Figure 6. SOC estimation vs. cell voltage discharge cycles, the charge cycle shown in Fig. 8 was
obtained. As it can be seen most cells are achieving full
Secondly the balancing capabilities of the system are charge at the same time, therefore with similar voltages.
analysed. In order to balance the pack, a 30 ohm equalising However two cells, V1 and V2, still present lower voltages,
resistor was put in parallel with the cells. This gave a and therefore, lower charge levels. Due to the difference in
discharge current per cell of 10mA. In Fig. 7 the balance of SOC of the cells, as was previously stated, many charge and
6 cells in parallel during a charge cycle, with a 5A charging discharge cycles are needed to allow the system to balance
current, are shown. The cells were not equalised previous to the batteries fully. This is due to the fact that the energy that
arranging the pack, this caused the differences in voltage is removed by the batteries with higher SOC is limited, in
seen in the figure. This is especially notorious when the our case only 10mA. Finally in Fig. 9 the cells voltages of
cells are reaching full charge in the voltage exponential the pack after many iterations of charging and discharging
region. When the cells with higher SOC were reaching the the cells using the cell balancing module are shown. The
full charge, its voltage starts to increase exponentially. If the differences with Fig. 7 are clear, showing how the cells
charging cycle is not stopped at this point, these cells will were effectively balanced.
overcharge, causing unnecessary stress and damage, which
could be irreversible. For our experiments the maximum
voltage threshold was 3.6V as specified by the manufacturer
of the Lithium batteries used for the tests. When this voltage
was reached the charging was stopped.
REFERENCES

[1] Wang Jiayuan, Sun Zechang, and Wei Xuezhe, “Performance and
characteristic research in LiFePO4 battery for electric vehicle
applications,” in 2009 IEEE Vehicle Power and Propulsion
Conference, 2009, pp. 1657–1661.
[2] D. Belov and M.-H. Yang, “Investigation of the kinetic mechanism
in overcharge process for Li-ion battery,” Solid State Ionics, vol.
179, no. 27–32, pp. 1816–1821, Sep. 2008.
[3] H. Maleki and J. N. Howard, “Effects of overdischarge on
performance and thermal stability of a Li-ion cell,” J. Power Sources,
vol. 160, no. 2, pp. 1395–1402, Oct. 2006.
[4] T. Sasaki, Y. Ukyo, and P. Novák, “Memory effect in a lithium-ion
battery,” Nat. Mater., vol. 12, no. 6, pp. 569–575, Jun. 2013.
[5] Hong-Sun Park, Chong-Eun Kim, Chol-Ho Kim, Gun-Woo Moon,
and Joong-Hui Lee, “A Modularized Charge Equalizer for an HEV
Lithium-Ion Battery String,” IEEE Trans. Ind. Electron., vol. 56, no.
5, pp. 1464–1476, May 2009.
[6] W. F. Bentley, “Cell balancing considerations for lithium-ion battery
systems,” in The Twelfth Annual Battery Conference on
Figure 9. Cell voltage after many cycles of charge with balancing and
Applications and Advances, pp. 223–226.
discharge
[7] J. Cao, N. Schofield, and A. Emadi, “Battery balancing methods: A
comprehensive review,” in 2008 IEEE Vehicle Power and
V. CONCLUSION Propulsion Conference, 2008, pp. 1–6.
In this article a modular Battery Management System for [8] S. W. Moore and P. J. Schneider, “A Review of Cell Equalization
Methods for Lithium Ion and Lithium Polymer Battery Systems,” in
Electric and Hybrid vehicles was developed. The modularity SAE Technical Paper 2001-01-0959, 2001.
was achieved by divining the system in two parts, namely [9] W. C. Lee, D. Drury, and P. Mellor, “Comparison of passive cell
the estimation and the balancing module, each one with balancing and active cell balancing for automotive batteries,” in
stackable boards that gave simplicity and allowed for re 2011 IEEE Vehicle Power and Propulsion Conference, 2011, pp. 1–
7.
usability. Thus, the only part of the State of charge (SOC) [10] Amin, K. Ismail, A. Nugroho, and S. Kaleg, “Passive balancing
estimation modules that varies are the sensors used for battery management system using MOSFET internal resistance as
measuring the electric current and the voltage of the battery balancing resistor,” in 2017 International Conference on Sustainable
pack. On the balancing module, on the other hand, for Energy Engineering and Application (ICSEEA), 2017, pp. 151–155.
[11] V. Monteiro, P. Alves, A. A. N. Melendez, C. Couto, and J. L.
bigger battery packs it is only necessary to add more power Afonso, “A novel modular voltage balancing topology for active
boards to measure the voltage and balance the new cells. battery management system,” in 2016 IEEE 25th International
For both cases no hardware modification of the local Symposium on Industrial Electronics (ISIE), 2016, pp. 793–798.
masters are needed since both are design to be able to [12] S. Jeon, J.-J. Yun, and S. Bae, “Active cell balancing circuit for
series-connected battery cells,” in 2015 9th International Conference
handle the changes. on Power Electronics and ECCE Asia (ICPE-ECCE Asia), 2015, pp.
The results presented in the preceding section showed the 1182–1187.
ability of the proposed system to properly estimate the SOC [13] W.-Y. Chang, “The State of Charge Estimating Methods for Battery:
of the battery pack by means of the Coulomb counting A Review,” ISRN Appl. Math., vol. 2013, no. 1, pp. 1–7, 2013.
[14] K. S. Ng, C.-S. Moo, Y.-P. Chen, and Y.-C. Hsieh, “Enhanced
method. In addition the tests done in the laboratory showed coulomb counting method for estimating state-of-charge and state-
the ability of the balancing module to equalize a battery of-health of lithium-ion batteries,” Appl. Energy, vol. 86, no. 9, pp.
pack. As future work the authors suggest the need for a 1506–1511, Sep. 2009.
more complex estimation of the SOC. This is especially [15] T. Weigert, Q. Tian, and K. Lian, “State-of-charge prediction of
batteries and battery–supercapacitor hybrids using artificial neural
critical when the system starts and there is no reliable initial networks,” J. Power Sources, vol. 196, no. 8, pp. 4061–4066, Apr.
estimation. This estimation should also be done in the 2011.
battery pack used by the Electric Vehicles. In addition more [16] H. M. Fekry, M. A. M. Hassan, and M. M. A. El Aziz, “The state of
research is needed regarding the optimal equalization charge estimation for rechargeable batteries using Adaptive Neuro
Fuzzy Inference System (ANFIS),” in 2012 First International
current used for balancing the pack in order to speed up the Conference on Innovative Engineering Systems, 2012, pp. 201–206.
equalization process. [17] Y.-S. Cheng, C.-M. Young, Y.-H. Liu, G.-J. Chen, and Z.-Z. Yang,
“Design and implementation of Li-ion battery charger using state-of-
ACKNOWLEDGMENT charge estimation with fuzzy temperature control,” in 2015 IEEE
International Conference on Industrial Technology (ICIT), 2015, pp.
The authors would like to thanks the National Research 2075–2079.
and Technology Council of Argentina (CONICET) for the [18] Texas Instruments, “bq76PL536A.” Texas, p. 74, 2016.
economic support of Eng. Ignacio Carlucho with a doctoral
fellowship

You might also like