Extensive testing of a battery management system (BMS) on real battery storage system (BSS) requires lots of efforts in setting up and configuring the hardware as well as protecting the system from unpredictable faults during the test. To overcome this complexity, a hardware-in-the-loop (HIL) simulation tool is employed and integrated to the BMS test system. By using this tool, it allows to push the tested system up to the operational limits, where may incur potential faults or accidents, to examine all possible test cases within the simulation environment. In this paper, an advanced HIL-based virtual battery module (VBM), consists of one "live" cell connected in series with fifteen simulated cells, is introduced for the purposes of testing the BMS components. First, the complete cell model is built and validated using real world driving cycle while the HIL-based VBM is then exercised under an Urban Dynamometer Driving Schedule (UDDS) driving cycle to ensure it is fully working and ready for the BMS testing in real-time. Finally, commissioning of the whole system is performed to guarantee the stable operation of the system for the BMS evaluation.
Keywords-hardware-in-the-loop, battery management system, electric vehicle, li-ion battery, real-time simulation.