hil testing interview questions and answers

HIL Testing| Interview QA Part – 15 | Automotive | Plant Simulator | Plant Model | Embedded World

Can you introduce yourself in a few words?

My name is Gregory Rousseau, I’m a Product Owner for 3 years at AVSimulation. I’m in charge of defining the Roadmap, monitoring the progress of developments, while anticipating or listening to the present or future needs of customers. On the other hand, I follow up some projects such as SERKET, for RUAG Défense France which develops a simulator for the DGA and in which we will integrate software interfaces developed by our team.

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Peux-tu expliquer le terme HIL.” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_column type=”4_4″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text admin_label=”Peux-tu expliquer le terme HIL.” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”]

Can you explain the acronym HIL?

HiL is the acronym for Hardware in the Loop. A HIL device – usually referred to as a HIL bench – consists of operating a physical element (sensor or actuator) in a simulation loop.

Today, all vehicles contain ECUs which are systems defined by inputs and outputs, and which integrate control laws in charge of controlling systems (such as ADAS, air conditioning, lighting systems, etc.).

The concrete example is to be able to test an ECU on a table, before putting it in place on a vehicle. To do this, it is necessary to feed the ECU inputs with virtual measurements (from a simulation loop) and thus see the evolution of its output values. In other words, the ECU will receive information from emulated sensors and will act on actuators, or it will give instructions to other ECUs.

A simple example is the case of a gear lever of a piloted gearbox, operated by a person: a sensor will recover the position of the gearshift, and transmit the information to the ECU (driver’s gear change request). In return, and if the validity conditions are verified, the latter will activate a gear change system. For such a system, the HIL bench can be used to test and validate either the shift sensor and/or the gearbox actuator.

The examples related to ADAS are often more complex, involving different sensors (real or simulated) and a computer that will eventually proceed to the fusion of multi-sensor data to validate the choice of a set point.

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row column_structure=”1_5,3_5,1_5″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_column type=”1_5″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][/et_pb_column][et_pb_column type=”3_5″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_ src=”https://www.avsimulation.com/wp-content/uploads/2021/11/hil.png” title_text=”HIL” url=”https://www.avsimulation.com/wp-content/uploads/2021/11/hil.png” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][/et_pb_][/et_pb_column][et_pb_column type=”1_5″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Peux–tu rapidement revenir sur les MIL, SIL, DIL.” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_column type=”4_4″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”]

Can you also quickly explain MIL, SIL, DIL ?

MiL: Model in the Loop. It is a test model that is not compiled. It does not yet meet all the constraints of use and integration of an embedded software (defined operating frequency, low-level layers, etc.). In other words, it is a bit of a raw product that allows the control law to be developed and the first tests to be carried out: only the algorithm of the embedded system is evaluated.

SiL: Software in the Loop. For this type of test, compiled control laws are used, thus homogeneous to what will be in the ECU. These command laws constitute the embedded software. The rest of the environment, including the hardware part of the embedded software, remains simulated.

DiL: Driver in the Loop. Here, it is a test used when a simulator driven by a driver is in the simulation loop. As soon as a physical person will control something during the simulation, we can talk about DiL. The objective of this type of bench is to evaluate the reactions of the driver to an event that occurs (display of information, sound emission of a prevention or warning signal, etc.).

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Existe il une alternative aux bancs de test HiL ? Comment faisaient les ingénieurs quand ces derniers n’existaient pas ?” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_column type=”4_4″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text admin_label=”Text” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”]

Difference in their Usage:

While structure enables us treat a number of different variables stored at different in memory , a union enables us to treat the same space in memory as a number of different variables. That is a Union offers a way for a section of memory to be treated as a variable of one type on one occasion and as a different variable of a different type on another occasion. There is frequent requirement while interacting with hardware to access access a byte or group of bytes simultaneously and sometimes each byte individually. Usually union is the answer. =======Difference With example=======

Lets say a structure containing an int,char and float is created and a union containing int char float are declared.

struct TT{ int a; float b; char c; } Union UU{ int a; float b; char c; } sizeof TT(struct) would be >9 bytes (compiler dependent-if int,float, char are taken as 4,4,1) sizeof UU(Union) would be 4 bytes as supposed from above.If a variable in double exists in union then the size of union and struct would be 8 bytes and cumulative size of all variables in struct.

FAQ

What types of problems can HIL test benches solve?

HiL benches can be used to test ECUs (Electronic Control Units) with integrated control laws or sensors. This is entirely related to the emergence of electronics in the automotive field: previously, mechanical tests were sufficient.

What is HIL testing in automotive?

In the automotive industry, hardware-in-the-loop (HIL) refers to a method of testing and validating complex software systems on specially equipped test benches that receive data inputs from physical devices such as radars and cameras.

What is the difference between HIL and SiL?

HIL simulation shows how your controller responds in real time to realistic virtual stimuli. You can also use HIL to determine if your physical system (plant) model is valid. In HIL simulation, you use a real-time computer as a virtual representation of your plant model and a real version of your controller.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *