Dspace HIL 2016
Dspace HIL 2016
Dspace HIL 2016
6, NOVEMBER/DECEMBER 2016
TABLE I
THERMAL PARAMETERS EXTRACTED BY ANISOTROPIC THERMAL DIFFUSIVITY
MEASUREMENT
Fig. 11. Online integration of individual cell aging simulation with elec-
trothermal model.
Fig. 13. Abstraction of HIL simulation setup for an NTC thermistor. Fig. 14. Schematic of exemplary fuse and switch box topology and its inter-
faces.
the number, location, and type of devices used to measure the commonly integrated in a so-called fuse and switch box. More-
temperature. The commercial BMS under test in this paper uses over, the system may require: a precharge circuit, for energiz-
negative temperature coefficient (NTC) thermistors. One tem- ing the dc-link capacitor; a current measurement device, for
perature sensor per cell, located in a central position, is assumed instance, a shunt resistor or a hall effect sensor; and external
for emulation purposes. NTC thermistors are thermally sensitive communication with a BMS, which may control the relays and
semiconductor resistors that exhibit a nonlinear decrease in ef- measure the pack voltage and current. The design of the fuse
fective resistance as temperature increases. This electrothermal and switch box, particularly the device selection and location,
behavior can be modeled analytically, by means of the Stein- may differ widely depending on the specific characteristics of
hartHart equation [49], [50]. In practice, NTC thermistors are the LIB system and its application.
usually characterized in manufacturers datasheets by a B pa- For illustrative purposes, an exemplary topology of a fuse
rameter, which appears in the so-called B parameter equation. and switch box and its interfaces is shown in Fig. 14. This
The B parameter equation presented in the following is derived fuse and switch box is made up of four relays and two fuses,
from the well-known Steinhart–Hart equation using a certain a precharge resistor Rprecharge and a shunt resistor Rshunt . Note
change of variables: that a BMS with a master–slave topology is represented, since
it is the case of the commercial BMS tested in this paper, as
1 1 1 Rs
= + ln (14) explained in the next section. The relays allow the system to
Ts Ts,0 B Rs,0
operate in three modes: stand-by or idle, discharge, and charge.
where all the temperatures are in Kelvin and all the resistances Furthermore, it should be noted that, since the dc-link may
in Ohm, with Ts representing the current semiconductor sensing be connected to a capacitive load at the load or the charger
device absolute temperature, Rs the current resistance, and Rs,0 side, i.e., a dc-link capacitor, inrush currents have to be limited
the device resistance at temperature Ts,0 = 25 °C. Solving for whenever the operating mode changes from stand-by to charge
Rs results in or discharge. For this purpose, a precharge circuit, which may
consist of a precharge resistor in series with a precharge relay,
−B 1
T s,0 − T1s .
Rs = Rs,0 e (15) could be implemented (see Fig. 14). The BMS is behind all the
relays logic and controllers. In the HIL simulator presented in
Knowing the characteristics of the sensor, represented by B,
this paper, both the relays control signals and LIB pack voltage
Rs,0 , and Ts,0 , and the parameters of the sensor excitation cir-
vpack signals (see Fig. 14) are transmitted from/to the BMS via
cuit, represented by Vs,aux and Rs,aux , Ts may be estimated
CAN communication. Fuses are not considered, but a complex
analytically in the BMS from a simple measure of the NTC
fuse model may be included in future extension of this work.
thermistor voltage vs . Another approach, illustrated in Fig. 12,
Regarding the relays, they are represented as ideal switches in
is to generate and implement a NTC temperature-voltage look-
series with a static resistor. The precharge resistor Rprecharge (see
up table. Based on the previous, a resistorless emulation of an
Fig. 14) is rated according to a desired precharging time of
NTC thermistor is possible by means of a controlled voltage
1 s, taking into account the system nominal voltage, the dc link
source, as sketched in Fig. 13. A dedicated analog output board
capacity and the power dissipation.
of the HIL simulator is used in this paper for this purpose.
On the other hand, the BMS is configured assuming that a
shunt resistor Rshunt is used for pack current ipack measurement
G. Fuse and Switch Box Model using analog circuitry (see Fig. 14). By using Ohm’s law, a
Due to safety issues, LIB systems include installation of simple resistorless emulation is possible by means of a con-
dc circuit breakers in the current path. In high-voltage LIB trolled voltage source. Since a dual voltage analog output is not
packs, used, e.g., in e-mobility applications, fuses and relays are available in the HIL simulator setup, an external single-to-dual
BARRERAS et al.: ADVANCED HIL SIMULATION BATTERY MODEL FOR BATTERY MANAGEMENT SYSTEM TESTING 5093
Fig. 16. Overview of main functions and interfaces between the host PC, the HIL simulator, and the BMS.
TABLE II
OVERVIEW OF FEASIBLE BMS TESTING SCENARIOS USING DEVELOPED HIL
SIMULATION PLATFORM
Fig. 18. HIL battery cell emulation using dynamic driving cycle.
Fig. 19. Contactor logic of the BMS. Due to integration limitations, the system
voltage output is only activated when contactor sequence has completed.
Last but not least, since the HIL simulator platform allows Fig. 21. System voltage and current during CC-CV charging.
different battery pack topologies, it is also possible to test a mul-
titude of serial, parallel, or mixed serial–parallel connections of
cells. This may be important for testing battery packs consisting
of multiple modules and how a BMS handles scenarios related
to modules failing or being replaced.
1) Exemplary Functional Tests Results: An exemplary dis-
charging scenario in an e-mobility application is shown in
Fig. 18. Voltages of 32 cells in series during a dynamic dis-
charge are presented. Simulation parameters such as initial cell
temperature and ambient temperature are selected assuming that
the underlying distribution is normal. Initial cells SOC are the
result of a previous discharge/charge cycle starting from a ran-
dom initial SOC distribution. Moreover, an intentionally wide
random distribution of aging parameters is considered, in order
to make cell-to-cell variations in capacity and impedance more
marked. BMS functions related with monitoring, switch box
control or protection can be checked with this functional test. Fig. 22. Maximum and minimum cell SOC for the balancing sequence.
With regard to the switch box control, Fig. 19 shows the contac-
tor logic when the system operating mode changes from idle or
stand-by to discharge, illustrating a precharge sequence. Note are considered here. A random distribution of the initial SOCs
that the system voltage is not correctly modeled, but instead ap- of the cells within a certain window is used. The initial SOC
plied when the contactor on the positive leg of the battery pack differences are equalized by the BMS balancing circuits during
is closed. In future work this will be added. the charging process, in order to maximize usable battery ca-
An exemplary CCCV charging scenario, considering gross pacity. Note that the commercial BMS under test has a terminal
cells SOC unbalance, is illustrated in Figs. 20–23. The same voltage control algorithm for a passive balancing system imple-
cells characteristics used for the previous discharging scenario mented. The parameters for the balancing window are defined
5096 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 52, NO. 6, NOVEMBER/DECEMBER 2016
[20] N. Shidore et al., “Battery in the loop: Battery evaluation in a systems [45] “Comparison and evaluation of charge equalization technique for series
context,” in Proc. IEEE Trans. Electrification Conf. Expo., 2014, pp. 1–9. connected batteries,” in Proc. IEEE 37th Power Electron., Specialists
[21] H.-S. Song et al., “Verification of battery system model for environmen- Conf., Jun. 2006, pp. 1–6.
tally friendly vehicles using a battery hardware-in-the-loop simulation,” [46] J. Cao, N. Schofield, and A. Emadi, “Battery balancing methods: A
IET Power Electron., vol. 6, no. 2, pp. 417–424, Feb. 2013. comprehensive review,” in Proc. IEEE Vehicle Power Propulsion Conf.,
[22] S. Kermani, R. Trigui, S. Delprat, B. Jeanneret, and T. M. Guerra, Sep. 2008, pp. 1–6.
“PHIL Implementation of energy management optimization for a parallel [47] A. A. Pesaran, “Battery thermal models for hybrid vehicle simulations,”
HEV on a predefined route,” IEEE Trans. Veh. Technol., vol. 60, no. 3, J. Power Sources, vol. 110, no. 2, pp. 377–382, 2002.
pp. 782–792, Mar. 2011. [48] S. Abada, G. Marlair, A. Lecocq, M. Petit, V. Sauvant-Moynot, and
[23] Y. Xiao-kun, H. Hong-wen, P. Lian-yun, and Z. Xiaolin, “Hardware-in- F. Huet, “Safety focused modeling of lithium-ion batteries: A review,”
the-loop simulation on a hybrid power system,” in Proc. 4th Int. Conf. J. Power Sources, vol. 306, pp. 178–192, 2016.
Power Electron. Syst. Appl., 2011, pp. 1–5. [49] T. Veijola, “Electrothermal simulation models for NTC and PTC thermis-
[24] C. Seitl, J. Kathan, G. Lauss, and F. Lehfuss, “Power hardware-in-the-loop tors,” Proc. CSC, vol. 2, pp. 950–955, 1998.
implementation and verification of a real time capable battery model,” in [50] D. Stanković and M. Zlatanović, “A versatile computer controlled mea-
Proc. IEEE 23rd Int. Symp. Ind. Electron., 2014, pp. 2285–2290. suring system for recording voltage-current characteristics of various re-
[25] T. Mesbahi, N. Rizoug, P. Bartholomeus, and P. Le Moigne, “Li-ion battery sistance sensors,” Sens. Actuators A, Phys., vol. 42, no. 1, pp. 612–616,
emulator for electric vehicle applications,” in Proc. IEEE Vehicle Power 1994.
Propulsion Conf., 2013, pp. 1–8.
[26] O. Konig, C. Hametner, G. Prochart, and S. Jakubek, “Battery emulation
for power-HIL using local model networks and robust impedance control,”
IEEE Trans. Ind. Electron., vol. 61, no. 2, pp. 943–955, Feb. 2014.
[27] A. Thanheiser, W. Meyer, D. Buecherl, and H. Herzog, “Design and
Jorge Varela Barreras was born in Vigo, Spain, in
investigation of a modular battery simulator system,” in Proc. IEEE Vehicle
1982. He received the M.Sc. degree in industrial en-
Power Propulsion Conf., 2009, pp. 1525–1528.
gineering from the University of Vigo, Vigo, Spain,
[28] O. Konig, S. Jakubek, and G. Prochart, “Battery impedance emulation
and the M.Sc. degree in enery engineering and the
for hybrid and electric powertrain testing,” in Proc. IEEE Vehicle Power
Ph.D. degree in battery management from Aalborg
Propulsion Conf., 2012, pp. 627–632.
University, Aalborg, Denmark, in 2009 and 2016,
[29] G. Pebriyanti, “A lithium-ion battery modeling for a HIL-battery sim-
respectively.
ulator,” in Proc. Int. Conf. Comput., Control, Informat. Appl., 2013,
In 2010, he co-founded a photovoltaic consulting
pp. 185–190.
company in Spain, serving as a Business Develop-
[30] L. f. Xu, J. q. Li, J. f. Hua, X. j. Li, and M. g. Ouyang, “Hardware in the
ment Manager. Since 2011, he has been a Researcher
loop simulation of vehicle controller unit for fuel cell/battery hybrid bus,”
in Aalborg. In June 2016, he became a Postdoctoral
in Proc. IEEE Vehicle Power Propulsion Conf., 2009, pp. 1777–1782.
Researcher at the University of Oxford, Oxford, U.K. His research interests
[31] C. Park, J. Liu, and P. H. Chou, “B#: A battery emulator and power-
include novel electric vehicle concepts and Li-ion battery modeling, simulation,
profiling instrument,” in Proc. Int. Symp. Low Power Electron. Des., 2003,
emulation, diagnostics, balancing and management systems.
pp. 288–293.
[32] A. Florescu, S. Bacha, A. Rumeau, I. Munteanu, and A. I. Bratcu, “PHIL
simulation for validating power management strategies in all-electric ve-
hicles,” in Proc. 15th Eur. Conf. Power Electron. Appl., 2013, pp. 1–6.
[33] A. Rousseau et al., “Electric drive vehicle development and evalua-
tion using system simulation,” in Proc. 19th IFAC World Congr., 2014, Christian Fleischer studied M.Sc. degree in electri-
pp. 7886–7891. cal and computer engineering with a focus on statis-
[34] A. Thanheiser, T. P. Kohler, C. Bertram, and H. Herzog, “Battery emula- tical signal processing and high performance com-
tion considering thermal behavior,” in Proc. IEEE Vehicle Power Propul- puting from Ohio State University, Columbus, OH,
sion Conf., 2011, pp. 1–5. USA, in 2009. He is currently working toward the
[35] T. Baumhofer, W. Waag, and D. U. Sauer, “Specialized battery emulator Ph.D. degree at Rheinisch - Westfálische Technische
for automotive electrical systems,” in Proc. IEEE Vehicle Power Propul- Hochschule (RWTH) Aachen University, Aachen,
sion Conf., 2010, pp. 1–4. Germany.
[36] D. Bazargan and S. Filizadeh, “Hardware-in-loop real-time simulation of Since 2009, he has been working as a Research
a battery storage system in a wind generation scheme,” in Proc. 3rd Int. Scientist at the Institute of Power Electronics and
Conf. Elect. Power Energy Convers. Syst., 2013, pp. 1–6. Electrical Drives in the Electrochemical Energy Con-
[37] D. Kawashima, M. Ihara, T. Shen, and H. Nishi, “Real-time simulation of version and Storage Systems Group. His research interests include integration of
cooperative demand control method with batteries,” in Proc. 38th Annu. battery management systems, specializing on developing novel adaptive on-line
Conf. IEEE Ind. Electron. Soc., 2012, pp. 3588–3593. state and parameter estimation methods based on probabilistic inference and
[38] W. W. Weaver and G. G. Parker, “Real-time hardware-in-the-loop simu- machine learning algorithms, creation of the software architecture, and integra-
lation for optimal dc microgrid control development,” in Proc. IEEE 15th tion of AUTOSAR components.
Workshop Control Model. Power Electron., 2014, pp. 1–6.
[39] H. Rahimi-Eichi, U. Ojha, F. Baronti, and M. Y. Chow, “Battery manage-
ment system: An overview of its application in the smart grid and electric
vehicles,” IEEE Ind. Electron. Mag., vol. 7, no. 2, pp. 4–16, Jun. 2013.
[40] L. Gao, S. Liu, and R. A. Dougal, “Dynamic lithium-ion battery model Andreas Elkjær Christensen received the M.Sc. de-
for system simulation,” IEEE Trans. Compon. Packag. Technol., vol. 25, gree in engineering from the Technical University of
no. 3, pp. 495–505, Sep. 2002. Denmark, Lyngby, Denmark, in 2009, and the indus-
[41] M. Chen and G. A. Rincon-Mora, “Accurate electrical battery model trial Ph.D. degree, which was a collaboration between
capable of predicting runtime and i-v performance,” IEEE Trans. Energy Lithium Balance A/S, Denmark, and DTU Energy,
Convers., vol. 21, no. 2, pp. 504–511, Jun. 2006. from the Technical University of Denmark in 2016.
[42] M. A. Roscher and D. U. Sauer, “Dynamic electric behavior and open- During his Ph.D., he researched new battery tech-
circuit-voltage modeling of LiFePo4-based lithium ion secondary batter- nology in form of Lithium-air batteries, with special
ies,” J. Power Sources, vol. 196, no. 1, pp. 331–336, 2011. focus on applications of electrochemical impedance
[43] J. V. Barreras, E. Schaltz, S. J. Andreasen, and T. Minko, “Datasheet-based spectroscopy for battery management. This work has
modeling of li-ion batteries,” in Proc. IEEE Vehicle Power Propulsion resulted in two pending patents. His work at Lithium
Conf., Oct. 2012, pp. 830–835. Balance A/S is focused on project management, embedded software develop-
[44] W. F. Bentley, “Cell balancing considerations for lithium-ion battery ment, functional safety in road vehicles, and supervising patent applications and
systems,” in Proc. 12th Annu. Battery Conf. Appl. Adv., Jan. 1997, grants.
pp. 223–226. Dr. Christensen is a Board Member at the Danish Battery Society.
BARRERAS et al.: ADVANCED HIL SIMULATION BATTERY MODEL FOR BATTERY MANAGEMENT SYSTEM TESTING 5099
Maciej Swierczynski received the B.Tech. degree in Søren Juhl Andreasen was born in Aalborg,
computer engineering for industrial applications from Denmark, in 1981. He received the M.Sc.M.E. de-
AGH University of Science and Technology, Krakow, gree with specialization in electromechanical system
Poland, in 2005; the M.Tech degree in computer engi- design, and the Ph.D. degree in design and control
neering for industrial applications and in power elec- of high temperature proton exchange membrane fuel
tronics and drives from Aalborg University, Aalborg, cell system from Aalborg University, Aalborg, Den-
Denmark, in 2007 and 2009, respectively; and the mark, in 2005 and 2009, respectively.
Ph.D. degree with a thesis on Lithium-ion battery en- Since 2014, he has been working as a Senior Sys-
ergy storage system for augmented wind power plants tem Engineer with the Development Department at
from Aalborg University. Serenergy A/S. His work includes research and devel-
He is working currently as an Associate Professor opment related to methanol reformer and high tem-
with Aalborg University. His research interests include energy storage tech- perature PEM fuel cell systems. Products include uninterruptible power supply,
nologies for wind and automotive applications, battery testing, modeling, and auxiliary power unit, and hybrid electric systems for mobile power. In 2012, he
lifetime analyses. worked as an Associate Professor at Aalborg University. His involvements in
research concerned fuel cell and battery power systems.