Cet article existe aussi en français. Lire en français →
A HIL tester is bought once and used for a decade: it will run thousands of regression tests, outlive two generations of the product, and decide how fast the team can validate a software change. Choosing one on the brochure’s channel count is the most common mistake. This checklist compares platforms on what actually limits a validation campaign.
What a HIL platform is made of
The principle is covered in hardware-in-the-loop testing. In practice a platform is several products that must work together: a real-time processor and often an FPGA, input and output boards with signal conditioning, specialised emulators (battery cells, resolvers, sensors), a failure insertion unit, and a software toolchain for models and tests.
1. Real-time performance
| Model type | Where it runs | Typical time step | Why |
|---|---|---|---|
| Vehicle, train, grid, battery pack (electrical and thermal) | CPU | 50 µs to 1 ms | Slow dynamics; large models |
| Average-value converter model | CPU | 20 to 100 µs | Control loops in the kHz range |
| Switching converter (PWM edges) | FPGA | below 1 µs | Edges and dead time must be resolved |
| Electric machine with spatial harmonics | FPGA or fast CPU | 1 to 10 µs | Current ripple and position resolution |
Ask for the time step achieved with your model size, not the minimum on the datasheet, and check overruns under full I/O load. A platform that misses one step in ten thousand will produce intermittent test failures nobody can reproduce.
2. I/O and signal conditioning
- Analog channels: resolution, range, update rate, and whether outputs can source the current your sensors draw.
- Digital and PWM capture: time resolution of edge capture determines how well dead time and duty cycle are measured.
- Communication: CAN FD, LIN, automotive Ethernet, SENT, and the protocols of your domain (MVB or Ethernet train backbones in rail).
- Sensor emulation: resolvers, encoders, temperature sensors (NTC behaviour, not just a voltage), current sensor outputs.
- Voltage levels: 12, 24, 48 V systems and the high-voltage measurement inputs of the ECU.
3. Battery cell emulators (for BMS testing)
For a battery management system the cell emulator is often the most expensive and most critical part. Check voltage accuracy and noise (on LFP a few millivolts of error can mean several percent of SOC, see SOC estimation on LFP), the ability to sink and source the balancing current, isolation between channels and to ground, channel count per rack versus your cell count, and the ability to emulate open wires and cell-to-cell shorts.
4. Fault insertion
A failure insertion unit (FIU) switches opens, shorts to ground or supply, and pin-to-pin shorts on chosen lines. Compare current rating per channel, the number of lines covered, switching time, and whether it can apply resistive faults rather than only hard shorts. Fault testing is where HIL earns its cost; see fault injection with HIL.
5. Software and automation
- Model import: Simulink, FMI/FMU, and the version compatibility the vendor commits to.
- Test automation: Python or a dedicated language, support for the ASAM XIL API, and integration with your CI server so tests run on every software build.
- Reporting and traceability to requirements, which the safety case will need (SIL 2 BMS).
- Licences: per seat, per target, per feature; renewal cost over ten years.
Comparison checklist
| Criterion | Question to ask the vendor | Weight |
|---|---|---|
| Real-time | Achieved step with our model, overruns at full load? | High |
| Cell emulation | Accuracy, balancing current, isolation, open-wire emulation? | High for BMS |
| Fault insertion | Which lines, which faults, what current? | High |
| Automation | XIL API, Python, CI integration, headless runs? | High |
| Scalability | Can we add racks, cells, a second ECU, PHIL later? | Medium |
| Support and lifecycle | Local support, spare parts, product lifetime? | Medium |
| Total cost of ownership | Licences, maintenance, calibration over 10 years? | Medium |
Main vendors include dSPACE, Speedgoat, OPAL-RT, Typhoon HIL, National Instruments and Vector, each with different strengths in automotive, power electronics or grid applications. Run a pilot on your own model before signing. For power-level testing, compare with power electronics testing methods and power hardware-in-the-loop.
FAQ
What is a HIL tester?
A real-time system that simulates the plant around an electronic control unit and connects to it through real electrical signals, so the ECU can be tested as if it were in the vehicle, train or grid.
Do I need an FPGA in my HIL platform?
If you simulate switching power electronics at the PWM level or fast machine models, yes. For battery, vehicle or average-value models a CPU target is usually enough.
What matters most for BMS HIL testing?
Cell emulator accuracy and noise, balancing current capability, isolation, fault insertion on sensing lines, and automated regression testing.
What is the ASAM XIL standard?
A standard API between test automation software and test benches, so test cases can be reused across MIL, SIL and HIL platforms from different vendors.
How much does a HIL platform cost?
From tens of thousands of euros for a small bench to well over a million for multi-rack systems with cell emulators; licences and maintenance add a significant share over ten years.
Learn it live
This topic is covered in depth, with industrial case studies, in the HIL validation with dSPACE program. Join the waitlist to hear first when it opens — or browse the 64 free guides in the meantime.


