Bridging SIL to HIL Testing for Battery Management Systems (BMS)

  • Automotives
  • HIL Testing
  • E-Mobility
  • SIL Testing

08:48min

Overview

Hands-On Demo with dSPACE Tools

Discover how you can seamlessly transition from software-in-the-loop (SIL) to hardware-in-the-loop (HIL) testing for battery management systems (BMS) in this hands-on demonstration.

 

Using a real-world example of a BMS for a low-voltage scooter, this tutorial guides you through the following topics:

  • Real-time testing with dSPACE SCALEXIO
  • Virtual ECU integration via VEOS
  • Automated regression testing with AutomationDesk
  • Undervoltage fault detection in both virtual and real ECUs
  • Seamless reuse of test cases across environments

 

What you will learn in this video:

  • How to validate BMS firmware in both virtual and real environments.
  • How to automate test cases to ensure repeatability and efficiency.
  • How to interpret test results and error messages for safety-critical systems.

This video demonstrates how dSPACE tools can help streamline your BMS validation workflow – from simulation in the early development phase to testing with real hardware.

Hosts

Rene Duty

Rene Duty

Field Application Engineer, dSPACE

Would you like to learn more, or do you have specific questions?

FAQs

Q1: What is the main benefit of bridging SIL to HIL testing?

A1: It allows early validation of ECU software in a virtual environment and seamless transition to real hardware tests without rewriting test cases, improving development efficiency and reliability.

Q2: How accurate is the battery cell voltage emulation in the HIL setup?

A2: The system uses high-end hardware capable of 0.3 millivolt accuracy with galvanically isolated power supplies for precise and safe signal generation.

Q3: Can this setup test production-level ECU firmware?

A3: Yes, the virtual ECU includes application and basic software components, enabling testing close to production code.

Q4: How does automation improve the testing process?

A4: AutomationDesk enables repeatable, block-based test cases with automatic execution and reporting, reducing manual intervention and increasing test consistency.

Q5: Are other battery-related test cases supported besides undervoltage testing?

A5: Yes, tests for cell overvoltage, cell balancing, and pre-charge circuit functionality are also supported within the same framework.

Q6: Can this testing approach be adapted to other vehicle types?

A6: While demonstrated on a low voltage scooter, the methodology and tools are applicable to a wide range of battery management systems in automotive and other sectors.

Stay up-to-date with our dSPACE direct newsletter service.

With our dSPACE newsletter service, we will keep you informed about current use cases and new solutions and products, as well as trainings and events. Sign up here for a free subscription.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.