HIL Testing of ADAS Features
HIL Testing of ADAS Features
ISSN No:-2456-2165
Abstract:- In recent years there is a drastic increase in the ECU is the brain of ADAS system. ECU has a
road accident. This was mainly because of the drivers processor unit, signal conditioning circuits and memory. The
inattention. Thus safety of the passengers and the driver algorithm for the ADAS feature is flashed as a software in
became one of the important aspect of automotive the ECU. The sensor data is processed by the ECU. The sensor
industries. Automotive industries developed features that data acts as input for the algorithm. The decision of the ECU
assist the driver to avoid accidents. These features are depends on the detected data. Accordingly the ECU generates
called Advanced Driver Assistance System(ADAS). These control signal.
features are implemented using sensors and Electronic
Control Unit(ECU). There is need to test and verify the A system becomes reliable only after testing and
ECU to make sure that they perform the ADAS functions. verifying it. The software flashed in the ECU performs the
Hardware-In-Simulation(HIL) testing is used to test the ADAS function. The software should be tested in real time
ADAS ECU. It is a testing technique used to test the ECU environment to make the system more robust. Techniques are
in a real-time environment. developed to test and verify the ADAS system. Hardware In
Loop(HIL) test technique is used to test and verify the ECUs
Keywords:- ADAS, sensors, ECU, testing, HIL. of ADAS system.
I. INTRODUCTION
This paper has four section. Section one is the
The industrial revolution accelerated the growth of introduction. Section two describes the ADAS features.
automotive industries. Advanced technologies embedded in Section three discuss about the test methodology and flow of
the vehicles increased the number vehicles. As number of HIL testing. Section four explain about the hardware setup and
vehicles on roads increased , driving became more software used for HIL testing. Section five gives the results of
challenging. The inattention of the drivers caused many the HIL testing. The paper concludes with section six by
accidents. Thus safety became one of the most important summarizing the whole paper.
aspect of automotive industries. System that had features to
assist the driver were developed to avoid accidents. These II. ADAS FEATURES
features are called Advanced Driver Assistance
System(ADAS). Many accidents occur due to the inattention of the
drivers. Automotive industries started research to develop
The main ADAS features are Lane Departure technologies to prevent accidents. Safety of the
Warning(LDW), Lane Keep Assistance(LKA), Adaptive driver/passengers become one of the most important aspect of
Cruise Control (ACC) and Traffic Sign automotive industries. This led to the development of
Recognition(TSR).These features are developed to avoid technologies that prevented collision of vehicles. Intelligent
accidents. The features are implemented using sensors and assistance system known as Advanced Driver Assistance
ECUs. Radar and camera are the main sensors that gather data System(ADAS), was developed to assist the driver to avoid
for the ADAS system. Radar can detect the distance between the accidents. Some of the ADAS features are:
the target and host. It also detects the speed of the target.
Camera captures the image and video Some of the sensors are A. Lane Departure Warning(LDW)
Mid-Range Radar(MRR), Short Range Radar(SRR). They are Lane Departure Warning system reduces the amount
mounted on different parts of the vehicle. The position at of unintended lane departures. The LDW functionality can be
which the sensors are placed depends on the function it has to divided into two processes:
implement. For parking assistance camera is placed in the rear
part. Whereas for detecting traffic the camera is placed in the Lane Detection: The lane markings and road edges are
front part of the vehicle. Thus sensors play a vital role in detected then and estimate the car’s position in the lane
implementing ADAS features. Radar can detect the distance Warning: The above details are used to give a warning to
between the target and host. It also detects the speed of the the driver, if there is an unintentional lane departure.
target. Camera captures the image and video.
Here camera acts as a sensor to detect the lane
marking. The lanes are detected and the signal is given to the
Motion Desk
Motion desk is provided by DSPACE to visualize the
Fig 2:- Simulink model movement of the mechanical objects in the 3D world. The
This model includes the suspension kinematics, steering and vehicle model is parameterized in model desk. Roads,
brakes, tire road friction, forces and moments, a drive train. maneuver and traffic objects are created in model desk. But
we cannot visualize the movement of vehicle.
Configuration Desk
Motion desk is used to visualize the motion of the
The real-time application runs in the Scalexio vehicle along the road and the maneuver. The data in the
hardware. This application is divided into behavior model and model desk is synched with the motion desk through the
I/O model. The behavior mode is developed in the MATLAB. model desk. Only after the synching process we can visualize
It is the model of the controlled system. This model only the model in motion desk.
contains the algorithm of the controlled model. But through
this we cannot access the hardware. The access to the
hardware is implemented through configuration desk. The
function like accessing the hardware, generating I/O signals,
measuring of I/O signals all are implemented through
configuration desk. The behavior model in the MATLAB and
the I/O model should be connected.
This is done through the model interface feature of
configuration desk. The virtual ECUs can also be created in
Configuration desk. Through the built process in
Configuration desk an executable format of the model is
created and this runs as a real-time application on the Fig 4:- MotionDesk
hardware. Now the hardware act as a vehicle. Control Desk
Control desk is a component of DSPACE through
Motion Desk which we can perform calibration of an ECU. Through control
The MATLAB has the ASM model. It is desk we can access the parameters of the model. We can
parameterized using model desk. Model desk acts as a control and monitor the parameters of the model. In control
graphical user interface for changing the parameters and desk we can develop an GUI to access and control the
managing the parameters of the ASM models. Motion desk parameters of the model.
also provides tools for creating roads and maneuver.