Battery Management Systems



Real-Time Simulation for Battery Management Systems

OPAL-RT TECHNOLOGIES, in partnership with comemso® , introduces top of the line Battery Management System HIL test solution. Our flexible BMS approach makes it possible to integrate new technology as soon as it is introduced into the vehicle. Our real-time solution easily migrates existing physical testbeds onto real-time HIL simulation platforms for testing your BMS.

Battery Cell Simulator By comemso®

Each comemso® BCS unit provides 12 cells and combines high-precision battery cell emulation with active sense adjustment on each voltage. Each cell includes fault simulation for generating short circuits, cable breakage and reverse polarity, as well a high precision current measurement system.

State-of-the-Art Real-Time Simulator

All simulators support MATLAB/SIMULINK™, where models of batteries, high fidelity power electronics & motors and virtual control unit can all be simulated in realtime.
– NI PXI™ and CompactRIO chassis
– OPAL-RT real-time simulators


OPAL-RT provides the engineering to extend the BMS HIL Test Bench functionalities; from extra protection, shunt emulation, break-out box, current and voltage sensing to complete vehicle control or ADAS systems integration.

BMS HIL testing-rack

Hybrid Powertrain Multi-ECU HIL Testing

In this demo, learn how to quickly implement model-based simulation on FPGAs and deploy an integrated power electronics HIL system that addresses the need for high performance paired with flexibility for rapid test system changes.

This “”multi-ECU”” demonstration features power electronics and an electric machine (motor) in NI I/O connected FPGAs and VeriStand with OPAL-RT’s VeriStand Add-On for Power Electronics. With the addition of Comemso battery cell emulators, we integrate models from The Mathworks Simulink and LabVIEW in VeriStand to simulate and test the other components around the vehicle control unit, such as physical ECUs from Pi-Innovo and ORION BMS. Use this test solution to connect design and test workflows and to streamline the transition from desktop design to model-in-the-loop (MIL) to hardware-in-the-loop (HIL) testing.

Safe, Reproducible, Automated

The comemso® BCS allows you to test your Battery Management System at the cell-level and with more dynamics than ever before. The electrical emulation of battery cells puts you in the position of achieving safe, reproducible and fully automated testing of your BMS. The Battery Cell Simulator is the core of a BMS test system.

BMS HIL testing-Comemso-BCS

Cell Monitoring Device Emulation (CMDE)

OPAL-RT has developed its own emulation of BMS cell monitoring devices from major brands such as Analog Devices, Inc. (ADI). With OPAL-RT’s CMDE add-on for NI VeriStand, quickly test and validate your BMS control by emulating the battery cells and BMS chipset register commands using isoSPI™, while maintaining the integrity of the SPI communication daisy-chain. As a plus, the CMDE add-on also allows for physical comemso® cells to be connected to real BMS chipsets, while the remaining daisy-chain is emulated.

The CMDE tool reduces cost and extends testing coverage, allowing users to validate their BMS software and meet demanding deadlines.

BMS HIL testing - Cell Monitoring Device Emulation (CMDE)

Battery Management Systems HIL Overview

BMS HIL testing - systems overview

Support of Simscape Electrical™ Battery Model

OPAL-RT hardware directly simulates Simscape Electrical™ (formerly SimPowerSystems™) battery models, configured to simulate most battery types (NiMH, LiON etc.) with different discharge characteristics. Voltage and current outputs can also be used to drive physical cell emulators.

BMS Testbench Customers

Testing The Vehicles of The Future in Real Time

Related Resources