---
title: Testing vehicle sensors using HIL and DIL simulation
description: During on-board systems development programs, it is sometimes necessary to connect real sensor hardware to simulated environments, allowing information exchange to/from virtual worlds. This is classic Hardware-in-the-Loop (HIL) testing.
image: https://www.ansiblemotion.com/hubfs/Blog_Images/testing-vehicle-sensor-using-HIL-DIL-simulation-bw.jpg
---

[![Ansible Motion](https://www.ansiblemotion.com/hubfs/images/ansible-motion-logos/AML%202020%20White%20tagline-168x83-b.svg "Ansible Motion")](https://www.ansiblemotion.com/)

- [Applications](https://www.ansiblemotion.com/applications) 
    - [Motorsport](https://www.ansiblemotion.com/motorsports-lp)
    - [Vehicle dynamics](https://www.ansiblemotion.com/applications/vehicle-dynamics)
    - [Tyre Development](https://www.ansiblemotion.com/applications/tyre-development)
    - [ADAS](https://www.ansiblemotion.com/applications/adas)
- [Products](https://www.ansiblemotion.com/driving-simulator-products) 
    - [DIL Sport](https://www.ansiblemotion.com/motorsports-lp)
    - [Delta series](https://www.ansiblemotion.com/products/delta-series)
    - [Sigma series](https://www.ansiblemotion.com/products/sigma-series)
    - [Theta series](https://www.ansiblemotion.com/products/theta-series)
    - [Custom](https://www.ansiblemotion.com/products/custom)
- [About](https://www.ansiblemotion.com/about-driving-simulator-science) 
    - [Company](https://www.ansiblemotion.com/about-driving-simulator-science)
    - [Careers](https://www.ansiblemotion.com/careers)
- [Blog](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles)
- [News](https://www.ansiblemotion.com/ansible-motion-automotive-driver-in-the-loop-simulation-news)
- [Contact](https://www.ansiblemotion.com/contact-ansible-motion-for-driving-simulator-information)

[**Virtual Proving Ground**](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/topic/virtual-proving-ground), [**ADAS Validation**](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/topic/adas-validation) | 3 min read

February 12, 2018 | [**Phil Morse**](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/author/phil-morse)

# Testing vehicle sensors using HIL and DIL simulation

![](https://www.ansiblemotion.com/hubfs/Blog_Images/testing-vehicle-sensor-using-HIL-DIL-simulation-bw.jpg)

#### Listen to the Blog Post

Testing vehicle sensors using HIL and DIL simulation

6:21

During on-board systems development programs, it is sometimes necessary to connect real sensor hardware to simulated environments, allowing information exchange to/from virtual worlds. This is classic [Hardware-in-the-Loop (HIL) testing](https://www.ansiblemotion.com/driving-simulator-products). Since virtual environments can be scripted and modified explicitly and efficiently, the advantages are self-evident. But this type of work only confirms sensor *function* in the context of the scripted experiments.

In many cases, vehicle development engineers may need to ask deeper, system-level questions. For example, a development engineering team might wish to understand how* all* the available information from a particular sensor suite *might* be used. In such cases, it becomes a game of “what-ifs,” and suddenly the HIL simulation task may actually become quite daunting.

## Case in Point

If a sensor has the potential to feed an Advanced Driver Assistance System (ADAS), there can be a number of open questions spanning the range from sensor fusion and information redundancy to human acceptance and sign-off. At the more complex end of the spectrum, the end related to actual product development, it usually becomes necessary to assess overall system behavior with real people driving and/or occupying the vehicle. There are only two options at this point: Start building and evaluating real (prototype) vehicles, or use an engineering-class Driver-in-the-Loop (DIL) simulator.

In previous articles we've discussed the integration and [connectivity aspects of sensor HIL benches](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/using-dilsimulators-for-adas-development) and [human interaction (DIL) simulation](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/vehicle-on-board-system-sign-off) environments. The value of testing sensors (either SIL or HIL) with DIL is directly related to the ability to close a simulation loop with a real person – someone who is placed into intimate contact with what can ultimately be very complex sensor and vehicle interactions. But now, rather than continuing to discuss the how's for accomplishing this technically, let’s take a look at some practical why's.

## Active and Passive

In some cases, testing a sensor in HIL in conjunction with DIL can better define logic flows involving sensor inputs. In cases where human interaction is present, a fundamental question may be whether or not the human interaction is integral, e.g., is there a feedback loop in play across the man-machine-sensor space? Other human-centric questions abound.

In some instances, sensor information might be used in a passive way, for example in a display function, or in the form of a proximity beep when reversing toward another object. In such cases, it is still the driver’s responsibility to take action, based on information that is ultimately derived from sensors. In these cases, information and actions will form a feedback loop with a responsiveness (gain) biased toward the human's ability to engage.

In other cases, multi-sourced sensor information can be used to inform driver assistance systems or Artificial Intelligence (AI) learning algorithms, such as those that are actively controlling a vehicle in a full Level 5 autonomy scenario, or augmenting the human piloting task. These systems must be active and agile, much faster in a feedback loop sense, and they must be robustly tested under a broader variety of conditions - especially failsafe events, such that sensor feed false positives/negatives do not cause errors or significant disruptions.  In addition, particularly in the case of AI development work, it's important to avoid 'incorrect training' for deep learning systems because they can and will learn the wrong things!  e.g., compare AI system learning derived from stationary DIL simulator labs to fully dynamic DIL simulator labs...

But no matter how sensor information and the subsequent logic is implemented, it's impossible to know how real people might respond and behave until human participation is put into play. In complex and mixed-mode situations, sometimes the answer is not what one might expect. How might a person who is in a particular mood, is tired, is distracted by a mobile phone, or is interacting with other information and devices, respond to sensor-derived information and/or system interventions?  How might fundamental perceptions of brand quality be conveyed across and around AI interventions and hand-overs?  How might an AI driver deliver a pleasant, non-disruptive occupant experience in the face of even the most basic, everyday mobility situations?

## Man and Machine

Much of the code controlling on-board systems these days is automatically generated, based on the results of thousands of off-line simulations. By the time the code is deployed it may indeed be robust, solid code, but unfortunately that’s no guarantee that the resulting product will be accepted in the marketplace. The challenge is to get people in touch with these systems early and often, as they are being developed, rather than waiting for test drivers and evaluators to get behind the wheel of physical prototype cars and discover a problem – or worse still, waiting for customers in the field take up against a flawed or unacceptable feature.

By pairing DIL with HIL simulations, vehicle development teams can at least have the fighting chance to make informed decisions at early programme stages. The risk of a late, subjective rejection of any deployed system is magnified by the multitude and complexity of the systems going into the latest vehicles. With hundreds of ECUs on board, it’s more important than ever to validate their interaction and cohesion – not just on a technical level, but from a human acceptance perspective – early in the development process. Through the use of DIL simulation, real drivers and occupants can actively participate within simulation experiments to evaluate the safety of new systems, to secure an up-front subjective sign-off, or simply to explore new ideas in a low-risk, low-cost way. 

HIL and [DIL simulation](https://www.ansiblemotion.com/driving-simulator-products) are but two aspects of the rapidly changing automotive landscape. To learn more about some of the new frontiers in vehicle developments, download our FREE eBook, [Looking down the road: Harnessing the benefits of driving simulator technology](https://www.ansiblemotion.com/driving-simulator-technology-and-how-automotive-manufacturers-will-benefit).

 

[![New Call-to-action](https://no-cache.hubspot.com/cta/default/453384/5ffe6a19-7ead-4b23-8092-b8c6d49e0a07.png)](https://cta-redirect.hubspot.com/cta/redirect/453384/5ffe6a19-7ead-4b23-8092-b8c6d49e0a07)

[![New Call-to-action](https://no-cache.hubspot.com/cta/default/453384/5ffe6a19-7ead-4b23-8092-b8c6d49e0a07.png)](https://cta-redirect.hubspot.com/cta/redirect/453384/5ffe6a19-7ead-4b23-8092-b8c6d49e0a07)

## Related Articles: Streamline On-Board Electronic System Evaluation

- [Home](https://www.ansiblemotion.com)
- [Applications](https://www.ansiblemotion.com/applications)
- [Products](https://www.ansiblemotion.com/driving-simulator-products)
- [About](https://www.ansiblemotion.com/about-driving-simulator-science)
- [Blog](https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles)
- [News](https://www.ansiblemotion.com/ansible-motion-automotive-driver-in-the-loop-simulation-news)
- [Contact](https://www.ansiblemotion.com/contact-ansible-motion-for-driving-simulator-information)

Ansible Motion Limited  
Hethel Engineering Centre  
Chapman Way, Norwich  
NR14 8FB  
UK

[+44 (0)1603 908070](tel:+4401603908070)

![international trade](https://www.ansiblemotion.com/hubfs/Ansible_Motion_Feb21/international%20trade.svg)

 

© Ansible Motion Limited 2009-2026

- [ Privacy Policy](https://www.ansiblemotion.com/ansible-motion-privacy-policy)
- [Purchasing Terms](https://www.ansiblemotion.com/purchasing-terms)
- [Terms of Business](https://www.ansiblemotion.com/terms-and-conditions)
- [Modern Slavery Statement ](https://www.ansiblemotion.com/modern-slavery-statement)

[** ](https://www.linkedin.com/company/ansible-motion/) <https://twitter.com/ansiblemotion> [** ](https://www.youtube.com/user/ansiblemotion)

```json
{
  "@context" : "http://schema.org",
  "@type" : "Article",
  "articleBody" : "During on-board systems development programs, it is sometimes necessary to connect real ...",
  "author" : {
    "@type" : "Person",
    "name" : "Phil Morse",
    "url" : "https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/author/phil-morse"
  },
  "dateCreated" : "February 12, 2018",
  "dateModified" : "July 21, 2026",
  "datePublished" : "February 12, 2018",
  "description" : "During on-board systems development programs, it is sometimes necessary to connect real sensor hardware to simulated environments, allowing information exchange to/from virtual worlds. This is classic Hardware-in-the-Loop (HIL) testing. ",
  "headline" : "Testing vehicle sensors using HIL and DIL simulation",
  "image" : {
    "@type" : "ImageObject",
    "height" : 800,
    "url" : "https://www.ansiblemotion.com/hubfs/Blog_Images/testing-vehicle-sensor-using-HIL-DIL-simulation-bw.jpg",
    "width" : 800
  },
  "keywords" : "Virtual Proving Ground,ADAS Validation",
  "mainEntityOfPage" : {
    "@id" : "https://www.ansiblemotion.com/automotive-driver-in-the-loop-simulation-articles/testing-vehicle-sensors-using-hil-and-dil-simulation",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "http://cdn2.hubspot.net/hub/453384/file-2455420955-png/images/logo.png"
    },
    "name" : "Ansible Motion Limited"
  }
}
```