What is HIL Testing?

Hardware-in-the-loop testing means the tests of real ECUs (electronic control units) in a realistic simulated environment. These tests are reproducible and can be automated which leads to 24/7 comprehensive testing in the laboratory, shortens validation times, and increases the range of test scenarios. Additionally testing critical corner cases can be done without creating safety problems for the device-under-test or the environment.

Advantages of HIL Testing
  • Test systems scalable from small to large
  • Simulation of the complete vehicle or integration of real components
  • Communication testing
  • Bus and restbus simulation

Typical HIL Test System

A HIL system comprises of the simulation hardware and the accompanying software. Connected to the system is the unit under test, which usually is one or more electronic control units (ECUs) containing new functions or ECU software to be tested. Depending on the use case, further real hardware components can be added to the test system, e.g., steering or the brake system.

 

Schematic overview of a typical HIL system with its components.

Test Management

  • SYNECT
    SYNECT

    Data management and collaboration software with a focus on model-based development and ECU

Platform and I/O Configuration

  • ConfigurationDesk
    ConfigurationDesk

    Configuration and implementation software for dSPACE real-time hardware

  • Bus Manager
    Bus Manager

    Configuration tool for LIN, CAN, and CAN FD bus simulation

  • dSPACE Ethernet Configuration Package
    dSPACE Ethernet Configuration Package

    With the dSPACE Ethernet Configuration Package, you can configure a dSPACE system as a simulation node in a service-oriented Ethernet network.

  • dSPACE FlexRay Configuration Package
    dSPACE FlexRay Configuration Package

    The dSPACE FlexRay Configuration Package is used to integrate dSPACE hardware as simulation or monitoring nodes in a FlexRay network.

Experimentation and Visualization

  • ControlDesk
    ControlDesk

    Universal modular experiment and instrumentation software for electronic control unit (ECU) development

  • ModelDesk
    ModelDesk

    Graphical user interface for parameterization, management, and simulation

Test Automation

  • AutomationDesk
    AutomationDesk

    Powerful test authoring and automation tool for HIL testing of ECUs

SCALEXIO Real-Time and I/O Hardware

  • SCALEXIO LabBox
    SCALEXIO LabBox

    The SCALEXIO LabBox is a compact, modular real-time system for desktop or rack-mount use.

  • SCALEXIO Rack System
    SCALEXIO Rack System

    The SCALEXIO rack system is very flexible due to extensive I/O features. All hardware is software-configurable, making it easy to adapt the system to changing project requirements.

  • 
SCALEXIO Customized System
    SCALEXIO Customized System

    The dSPACE SCALEXIO customized system is a highly versatile hardware-in-the-loop simulator that offers a comprehensive range of adaption and configuration options to meet customer-specific requirements.

  • Power HIL Systems
    Power HIL Systems

    Testing electric motor controllers, including power electronics with emulated motors and real currents.

  • Mechatronic Test Benches
    Mechatronic Test Benches

    dSPACE provides highly dynamic turn-key test benches for mechatronic components and systems.

Simulation Model

  • Automotive Simulation Models (ASM)
    Automotive Simulation Models (ASM)

    Tool suite for simulating the engine, vehicle dynamics, electrical system, and traffic environment

  • AURELION
    AURELION

    The dSPACE solution for sensor-realistic simulation offers powerful visualization and physical computation functions for generating synthetic sensor data in virtual test drives.

Deep Dive – Test Phases and Test Systems in HIL Simulations

Function Testing

Function testing focuses on testing single or a few functions, including their interaction with ECU basic software. Since this kind of testing is typically an integral part of function development rather than final release testing, its focus lies on experimental usage, without systematic test automation. Hardware-in-the-loop (HIL) test systems for function testing therefore require versatile bus and network interfaces, restbus simulation on the behavior and protocol levels, or design-for-test interfaces (e.g., XCP). These types of tests are often performed by the function developers themselves and must fit on a developer’s desk.

ECU Component Testing

Typical applications for ECU tests range from software integration testing through fail-safe and fail-operational testing, to ECU release testing. Testing is therefore highly automated and based on ECU requirements to cover the high number of variants.

Test systems for ECU testing require scalable I/O and bus/network interfaces including electrical failure simulation. Furthermore, testing of buses and networks requires restbus simulation on the behavior and protocol level as well as extensive manipulation.

Testing of real components requires comprehensive plant models and simulation performance that can be increased accordingly. Ideally, the test system functions can be adapted to changing project requirements.

ECU Domain and Network Testing

ECU domain and network testing is characterized by end-to-end testing of distributed functions. This includes sleep or wake-up tests as well as fail-safe and fail-operational tests of the vehicle’s ECU network. The need for an extensive range of I/O channels as well as bus and network interfaces is characteristic for these kinds of test systems.

A multitude of plant models must be processed time-synchronously on several clustered real-time systems. To handle complex models and scenarios, strong simulation performance and multiprocessor capabilities are required. 

ECU network testing systems often run highly automated test programs around the clock, made possible by comprehensive test management systems.

Application Areas

The dSPACE HIL systems are suitable for a wide range of application areas, from automotive topics to aerospace to railway and marine.

 

E-Mobility

  • 充电技术

    开发和测试智能充电技术

  • 蓄电池管理系统

    电动汽车电池管理系统(BMS)的开发和测试

  • 氢燃料电池

    电动汽车燃料电池技术的开发和测试

  • 电源管理

    开发和测试DC/DC转换器和其它与电动汽车相关的电力电子组件

  • 牵引电机

    从信号级到全功率级,dSPACE开发环境为开发和测试车辆主牵引单元的驱动提供了非常灵活的支持。

Autonomous Driving

  • 自动驾驶的dSPACE HIL

    dSPACE为自动驾驶高性能计算机(HPCs)的闭环和开环测试提供了全面的产品组合。

Automotive Core

  • 传动系统

    从初始想法的原型开发到完整的机电系统的仿真和测试。

  • 车辆连通性

    无论您青睐哪种通信技术,dSPACE解决方案都能帮助您将联网汽车更快地推入市场。

  • 汽车通信系统

    dSPACE提供了广泛的软件和硬件解决方案,涵盖残余总线仿真、虚拟总线仿真或总线通信测试等。

  • 车身和舒适电子设备

    dSPACE为开发和测试车辆车身和舒适性电子设备提供了适用的工具。

  • 底盘

    在开发和测试新的底盘控制策略时,为提高驾驶的安全性、舒适性及灵活性,需要考虑转向、制动和车轮悬架等大量组件。

On- & Offroad Commercial Vehicles

  • 商用车和非公路车辆

    高度灵活的可扩展开发和测试解决方案,适用于卡车、客车及非公路设备

Aerospace

  • 航空电气化

    开创航空运输的未来

  • 飞行器系统

    飞行器系统在所有可能的飞行状况下执行诸多安全关键功能。dSPACE的硬件和软件产品对确保这些系统的安全运行发挥着关键作用。

  • 航天工业

    以最高标准塑造太空飞行的未来

Industrial Automation and Transportation

  • 能源工业

    开发和测试能源基础设施的技术

  • 铁路行业

    开发和测试列车多样化的动力总成系统和自动驾驶

  • 海洋

    开发和测试船舶多样化的动力推进系统和自动驾驶技术

  • 机械和电动工具

    Comprehensive solutions for machinery and power tools to bring ideas to life, ranging from control prototyping, model-based production software development, digital twins to test benches for full-power testing.

This sounds interesting. Get in touch:

What our customers say

Further Information

Videos

Our videos on HIL testing cover short feature demonstrations, interviews, and detailed technical introductions.

Watch our videos on HIL Testing

Use Cases

Our use cases give an even deeper insight of what you can do with hardware-in-the-loop systems.

Discover our HIL testing use cases

Success Stories

Our customers success stories give you an overview of the wide range of application scenarios dSPACE HIL simulators are being used in.

Read more about HIL success stories

推动创新进程。我们始终在技术开发的最前沿。

欢迎订阅我们简讯,了解我们的专业技术以及产品。希望我们的成功案例能够对您有所帮助。快速了解仿真和验证的最新信息。欢迎订阅/管理dSPACE简讯和dSPACE航空速报。

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.