HIL Simulation for an Airbag ECU


When a vehicle crashes into something, the electronic control unit (ECU) for the airbag system reacts in milliseconds. The airbag ECU evaluates the data from the vehicle’s acceleration and pressure sensors and if necessary activates the appropriate airbag. To test this ECU by hardware-in-the-loop (HIL) simulation, it has to be fed various sensor signals that are undistinguishable from the real ones.


The airbag ECU itself contains several internal acceleration sensors. Access to these sensors is provided by the OEM to enable sensor simulation directly on the ECU circuit board, either in analog form or via SPI protocol. The external vehicle sensors are simulated via current-based protocols such as PSI5, PEGASUS, or PAS.

To simulate a crash, up to 500 input signals have to be provided. Over several hundred FlexRay signals, up to 100 CAN signals, and 12 PSI channels with up to 3 sensors and 4 SPI interfaces are first recorded during a real crash and then replayed time-synchronously during the HIL simulation. As the airbag is a safety-critical application, its ECU evaluates the signals. If any signal differs from what the airbag ECU expects, the system does not deploy an airbag.


A dSPACE HIL simulator based on SCALEXIO with numerous I/O boards offers all the necessary input and output interfaces. The airbag ECU is connected to the HIL simulator via Hypertac connectors for the external sensors and via custom connectors for the internal sensors. The ignition tablet for the airbag is simulated by using ceramic resistors. The simulation is controlled from dSPACE ControlDesk. A special library based on RTT was implemented for time- synchronized data replay.

혁신을 추진하세요. 항상 기술 개발의 동향을 주시해야 합니다.

저희 전문 지식 서비스에 가입하세요. 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.