Mini Project Final Report
Mini Project Final Report
Submitted by
THANUSHREE RM 1GA19EC168
LAYA K B 1GA19EC074
SAHANA D 1GA19EC131
Dept. of ECE
ADAS TECHNOLOGY USING MATLAB|2022
CERTIFICATE
Certified that the Mini project (18ECMP68) entitled
“ADAS TECHNOLOGY USING MATLAB”
Carried out by,
THANUSHREE RM 1GA19EC168
LAYA K B 1GA19EC074
SAHANA D 1GA19EC131
Bonafide students of Global Academy of Technology in partial fulfillment for the award of
Bachelor of Engineering in Electronics and Communication Engineering of the Visvesvaraya
Technological University, Belagavi during the academic year 2021-22. It is certified that all
corrections/suggestions indicated for Internal Assessment have been incorporated in the
Report deposited in the Departmental library. The Mini Project report has been approved as
it satisfies the academic requirements in respect of Mini Project work prescribed for the said
Degree.
EXTERNAL VIVA
Name of the examiners Signature with date
1.
2.
Dept. of ECE
ADAS TECHNOLOGY USING MATLAB|2022
ABSTRACT
The driving is art, elegance and ethics. The human acts as the key element in this
process and the weakest link in the same time, where 90% of traffic accidents are
caused by human error and carelessness. Every year many accidents are reported
due to high speed and wrong decision. A logical principle is that each 1%
increase in velocity will result in a 4% potential increase in the risk of the fatal
collision and an actual increase of 3% in the risk of a serious collision.
Growing safety awareness and increasing the frequency of accidents drive the
ADAS industry. The demand for advanced system such as emergency braking
systems, night vision systems, and road sign recognition systems, coupled with
the technological advancements in the vehicle.
ADAS TECHNOLOGY USING MATLAB|2022
ACKNOWLEDGEMENT
We are thankful for the guidance shown by our esteemed and beloved guide
Dr. SANGEETA K SIRI
Finally, we sincerely thank to teaching and non-teaching staff those who have
directly or indirectly supported and helped us.
THANUSHREE RM 1GA19EC168
LAYA K B 1GA19EC074
SAHANA D 1GA19EC131
Dept. of ECE
ADAS TECHNOLOGY USING MATLAB|2022
TABLE OF CONTENTS
ABSTRACT.................................................................................................... I
ACKNOWLEDGEMENT................................................................................II
CHAPTER 1 INTRODUCTION...................................................................1
1.1 INTRODUCTION ON MATLAB.............................................................. 2
1.2 MATLAB TOOLBOX .............................................................................. 3
1.3 INTRODUCTION TO SIMULINK.............................................................4
1.4 INTRODUCTION ON AUTOMATED DRIVING TOOLBOX...................... 5
1.5 INTRODUCTION ON SCENARIO SIMULATION..................................... 6
1.6 INTRODUCTION ON DRIVING SCENARIO DESIGNER...........................7
CHAPTER 2 TECHNOLOGIES.................................................................... 8
CHAPTER 3 METHODOLOGY................................................................. 14
CHAPTER 4 THE IMPORTANCE OF SENSORS........................................ 16
4.1 CAMERAS............................................................................................16
4.2 RADAR................................................................................................ 16
4.3 LIDAR.................................................................................................. 17
CHAPTER 5 WORKING........................................................................... 18
FUTURE SCOPE......................................................................................... 26
CONCLUSION............................................................................................27
REFERENCES............................................................................................. 28
Dept. of ECE
ADAS TECHNOLOGY USING MATLAB|2022
CHAPTER 1
INTRODUCTION
Road traffic accidents claim over a million lives every year in the world. As per
World Health Organization (WHO) it is one of the leading cause of death. India,
being a rapidly developing country with expanding economy has its own issues
as regarding road traffic accidents due to rapid proliferation of motorization.
Road traffic accidents causes enormous morbidity and mortality and at the same
time, the toll on the economy of the country as a result of it is quite heavy. Road
traffic accident is a result of an interaction among different factors which include
the environment, vehicle and the human being. Traditionally it is considered that
road traffic accidents are accidents which are unpredictable, inevitable and not
preventable.
In the developed world road facilities is a major concern. Most of the accidents
are associated with excessive road transportation and inappropriate speed. The
Driver Assistance system will assist the driver in the driving process and it will
increase the car safety and more generally road safety. In some dangerous
situations, these systems warn and actively support the driver and if necessary, it
automatically takes the necessary actions to avoid vehicle collision.
Advanced Driver Assistance System, commonly called ADAS, are the systems to
help the driver in the driving process. When designed with a safe and appropriate
Human -Machine Interface, they should increase the safety of car and more
generally the road safety. Advanced driver assistance systems (ADAS) are the
technologies that provide a driver with needed information, automate difficult
and repetitive tasks and lead to the overall increase in safety of the car. Some of
these technologies have proven to an improved driving experience and better
overall road safety.
These lifesaving systems are key to ensuring the success of ADAS applications,
incorporating the latest interface standards and running multiple vision-based
algorithms to support real-time multimedia, vision co-processing, and sensor
fusion subsystems.
The role of ADAS is to prevent deaths and injuries by reducing the number of car
accidents and the serious impact of those that cannot be avoided.
1
ADAS TECHNOLOGY USING MATLAB|2022
GPS navigation, taking an example, has become increasingly the most common
in OEM infotainment systems since first being introduced in the 1990s. However,
a lot more of ADAS are right on the cutting edge of the emerging automotive
technologies. Some of these systems will have staying power to stick around, and
you can expect to see at least a few of them in future car. Others may disappear
or be replaced by better implementations and modernization of the same basic
idea. Since ADAS rely on electronics and mostly include firmware elements, the
development of these cutting-edge systems is governed by the internationally
safely standards such as IEC-61508 and ISO26262.[9]
1.1 INTRODUCTION ON MATLAB
MATLAB stands for Matrix Laboratory. It is a high-performance language that
is used for technical computing. It was developed by Cleve Molar of the
company Math Works. Inc in the year 1984.It is written in C, C++, Java. It
allows matrix manipulations, plotting of functions, implementation of
algorithms and creation of user interfaces.
MATLAB Library comes with a set of many inbuilt functions. These functions
mostly perform mathematical operations like sine, cosine and tangent. They
perform more complex functions too like finding the inverse and determinant of
a matrix, cross product and dot product
Dept. of ECE 2
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 3
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 4
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 5
ADAS TECHNOLOGY USING MATLAB|2022
Categories:
Cuboid Scenario Simulation
Test automated driving algorithms using cuboid-based scenarios and detection
from radar, camera, and LIDAR sensor models
Unreal Engine Scenario Simulation
Develop, test, and visualize the performance of driving algorithms in a
simulated environment using the Unreal Engine from Epic Games
Road Runner Scenario Simulation
Design scenarios for simulating and testing automated driving systems
with Road Runner Scenario
Dept. of ECE 6
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 7
ADAS TECHNOLOGY USING MATLAB|2022
CHAPTER 2
TECHNOLOGIES
Significant automotive safety improvements in the past (e.g., shatter-resistant
glass, three-point seat belts, airbags) were passive safety measures designed to
minimize injury during an accident. Today, ADAS systems actively improve
safety with the help of embedded vision by reducing the occurrence of accidents
and injury to occupants.
The implementation of cameras in the vehicle involves a new AI function that
uses sensor fusion to identify and process objects. Sensor fusion, similar to the
human brain process information, combines large amounts of data with the help
of image recognition software, ultrasound sensors, LIDAR, and radar. This
technology can physically respond faster than a human driver ever could. It can
analyse streaming video in real time, recognize what the video shows, and
determine how to react to it.
Some of the most common ADAS applications are:
1. Adaptive Cruise Control
Adaptive cruise control (ACC) is particularly helpful on the highway, where
drivers can find it difficult to monitor their speed and other cars over a long
period of time. Advanced cruise control can automatically accelerate, slow down,
and at times stop the vehicle, depending on the actions other objects in the
immediate area [5].The ACC and Range of ACC are shown in Fig 2.1&2.2
Fig 2.1 Cruise Control Fig 2.2 Range of Adaptive cruise control
Dept. of ECE 8
ADAS TECHNOLOGY USING MATLAB|2022
Fig 2.6 Adaptive light control Fig 2.7 ALC in Night vision
4. Automatic Parking
Automatic parking helps inform drivers of blind spots so they know when to turn
the steering wheel and stop. Vehicles equipped with rear view cameras have a
better view of their surroundings than traditional side mirrors. Some systems can
even complete parking automatically without the driver’s help by combining the
input of multiple sensors as shown in Fig 2.8 & 2.9.
Dept. of ECE 9
ADAS TECHNOLOGY USING MATLAB|2022
6. Navigation System
Car navigation systems provide on-screen instructions and voice prompts to help
drivers follow a route while concentrating on the road. Some navigation systems
can display exact traffic data and, if necessary, plan a new route to avoid traffic
jams. Advanced systems may even offer Heads Up Displays (HuD) to reduce
driver distraction as shown in Fig 2.12 & 2.13.
Dept. of ECE 10
ADAS TECHNOLOGY USING MATLAB|2022
7. Night Vision
Night vision systems enable drivers to see things that would otherwise be
difficult or impossible to see at night as shown in Fig 2.15. There are two
categories of night vision implementations: Active night vision systems project
infrared light, and passive systems rely on the thermal energy that comes from
cars, animals, and other objects sown in Fig 2.14.
Fig 2.14 Car driving Night vision Fig 2.15 Night vision in car subsystem
Fig 2.16 Blind Spot Area Fig 2.17 Range in blind spot area
Dept. of ECE 11
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 12
ADAS TECHNOLOGY USING MATLAB|2022
Fig 2.26 5G and V2X technology and features in modern Car trends
Dept. of ECE 13
ADAS TECHNOLOGY USING MATLAB|2022
CHAPTER 3
METHODOLOGY
MATLAB®, Simulink®, and Road Runner advance the design of automated
driving perception, planning, and control systems by enabling engineers to gain
insight into real-world behaviour, reduce vehicle testing, and verify the
functionality of embedded software. With MATLAB, Simulink, and Road
Runner, you can
To understand how ADAS features are designed, let’s use adaptive cruise control
as an example. When using this ADAS feature, the car slows down as it
Dept. of ECE 14
ADAS TECHNOLOGY USING MATLAB|2022
The first step in designing adaptive cruise control (ACC) is to collect data from
sensors mounted on the car. For adaptive cruise control, we need a camera and a
radar sensor. The camera detects the other objects in the frame (vehicle,
pedestrian, tree, etc.), and the radar calculates the distance from our car to the
object Fig 3.3.
After collecting data from our sensors, we turn our focus to ADAS algorithm
development. Adaptive cruise control can be broken down into three step
Dept. of ECE 15
ADAS TECHNOLOGY USING MATLAB|2022
CHAPTER 4
THE IMPORTANCE OF SENSORS
The three most popular sensor types used for ADAS features are camera, radar,
and LIDAR.
4.1 Cameras
Cameras are used for detection-related ADAS tasks. Cameras on the side of a
vehicle can detect blind spots. Cameras in the front can detect lanes, vehicles,
signs, pedestrians, and cyclists. The associated ADAS detection algorithms are
generally built using conventional computer vision and deep learning algorithms.
Cameras have several advantages:
4.2 RADAR
RADAR (Radio Detection And Ranging) sensors emit a high frequency wave
and record when these waves bounce back to them from objects in the
environment. The data can be used to calculate the distance to an object. In
ADAS, radar sensors are usually on the front of the vehicle.
Although radar sensor data are well-suited for distance detection algorithms,
these data are less useful in algorithms for classifying the detected objects. For
this reason, ADAS developers often use radar in conjunction with cameras.
Dept. of ECE 16
ADAS TECHNOLOGY USING MATLAB|2022
4.3 LIDAR
LIDAR (light detection and ranging) sensors emit a laser into the environment
and record when the signal returns. The returned signals are reconstructed to
create a 3D point cloud that shows the LIDAR surrounding environment. LIDAR
data can be used to calculate the sensor’s distance from the objects in the 3D
point cloud.
There are two types of LIDAR sensors used for ADAS applications:
Dept. of ECE 17
ADAS TECHNOLOGY USING MATLAB|2022
CHAPTER 5
WORKING
Step 1: MATLAB R2022a 9.12.0
Step 2: Open Simulink model
Create a blank/new Simulink model refer Fig 5.1, 5.2, 5.3, 5.4.
To add the library files click on library browsers
Step 3: Simulation
Dept. of ECE 18
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 19
ADAS TECHNOLOGY USING MATLAB|2022
After you add the last waypoint, press Enter. The car auto rotates in the
direction of the first waypoint refer in Fig 5.6 & 5.7
Fig 5.6 Adding Actor (Eg.CAR) Fig 5.7 Add Forward Way points
Adjust the speed of the car as it passes between way points. In the Way points,
Speeds, Wait Times, and Yaw table in the left pane, set the velocity, v (m/s),
of the ego vehicle as it enters each waypoint segment. Increase the speed of
the car for the straight segments and decrease its speed for the curved
segments. For example, the trajectory has six way points, set the v
(m/s) cells to 30, 20, 15, 15, 20, and 30.
Run the scenario, and adjust settings as needed. Then click Save > Roads &
Actors to save the road and car models to a MAT file
Dept. of ECE 20
ADAS TECHNOLOGY USING MATLAB|2022
Run the scenario. Inspect different aspects of the scenario by toggling between
canvases and views. You can toggle between the Sensor Canvas and Scenario
Canvas and between the Bird's-Eye Plot and Ego-Centric View.
In the Bird's-Eye Plot and Ego-Centric View, the actors are displayed as
meshes instead of as cuboids. To change the display settings, use
the Display options on the app tool strip as shown in Fig 5.10.
Dept. of ECE 21
ADAS TECHNOLOGY USING MATLAB|2022
constant speed of 30 meters per second. For the ego vehicle, specify a Class
ID property of 1. This value corresponds to the app Class ID of 1, which refers
to actors of class Car. For more details on how the app defines classes, see
the Class parameter description in the Actors parameter tab.
Create a radar sensor by using a driving Radar Data Generator object, and
create a camera sensor by using a vision Detection Generator object. Place
both sensors at the vehicle origin, with the radar facing forward and the
camera facing backward.
Import the scenario, front-facing radar sensor, and rear-facing camera sensor
into the app as shown in Fig 5.11 & 5.12.
You can then run the scenario and modify the scenario and sensors. To
generate new driving Scenario, driving Radar Data Generator, and vision
Detection Generator objects, on the app tool strip, select Export > Export
MATLAB Function, and then run the generated function.
Dept. of ECE 22
ADAS TECHNOLOGY USING MATLAB|2022
Dept. of ECE 23
ADAS TECHNOLOGY USING MATLAB|2022
Fig 5.15 Specify a vehicle and its trajectory. Fig 5.16 The dimensions of the vehicle.
Dept. of ECE 24
ADAS TECHNOLOGY USING MATLAB|2022
Modify the vehicle and trajectory as needed. Avoid changing the road network
or the actors that were predefined in the scenario. Otherwise, the app scenario
will not match the scenario that you later recreate in Simulink. If you change
the scenario, the 3D display window closes.
When you are done modifying the scenario, you can recreate it in a Simulink
model for use in the 3D simulation environment. For an example that shows
how to set up such a model, see Visualize Sensor Data from Unreal Engine
Simulation Environment as shown in Fig 5.17 & 5.18.
Dept. of ECE 25
ADAS TECHNOLOGY USING MATLAB|2022
FUTURE SCOPE
Demand for Automotive ADAS (Advanced Driver Assistance Systems) is
projected to grow at a 9.6% CAGR, in comparison with the 7.4% CAGR
registered between 2017 and 2021, as per FMI. China, Germany, Japan, the
United States, Mexico, and India are expected to account for a significant portion
of the ADAS market. The increasing awareness regarding the importance of
ADAS to reduce car accidents is expected to drive their demand in future years.
These systems are capable of assisting drivers and initiating safety-critical
functionality to reduce car accidents and save lives.[8][12]
ADAS covers a wide range of passive and active systems that are specially
designed for assisting drivers by delivering high efficiency, comfort, and safety
while driving. It can also enhance the pedestrian, passenger, and driver safety and
security.
These have several components such as software solutions, radars, cameras, and
sensors. The ongoing integration of Artificial Intelligence (AI) in the automotive
industry is anticipated to bode well for the global market in future.
The demand for these systems is anticipated to surge at a rapid pace owing to the
rising number of cars on the road. The urgent need to reduce road fatalities in
various countries is another crucial factor that is set to fuel the growth.
Shorter development cycles, reduced costs, and high reliability are compelling
automakers to come up with centralized ADAS domain controllers. Spurred by
the aforementioned factors, the global ADAS market is expected to grow at a fast
pace in the forthcoming years.[13][14][15]
Dept. of ECE 26
ADAS TECHNOLOGY USING MATLAB|2022
CONCLUSION
ADAS systems have the embryonic to improve road safety across the globe.
Today, ADAS is nearly conventional. Starting from the high-end models to the
compact economy cars, they offer a wide array of facilities focusing on driver
safety. With all the enhanced features and pleasure content that are available in a
vehicle, the driver must still focus on driving. Sensor technology can help to keep
a check on whether the driver is distracted or focused and sends the signal to the
driver.
ADAS systems have tremendous potential to increase the safety, comfort, and
effectiveness of our vehicles and transportation systems. By many ADAS is seen
as a stepping stone to fully autonomous vehicles.
As we’ve seen, more systems and more advanced systems, increase weight, seize,
and complexity both on a systems level as well as on the overall vehicle
architecture level. Semiconductor companies are responding to above mentioned
challenges by innovating their components. The technological expertise of
semiconductor companies is more impact than ever in the future development of
vehicle autonomy.
Dept. of ECE 27
ADAS TECHNOLOGY USING MATLAB|2022
REFERENCES
1. European New Car Assessment Programme. Euro NCAP Assessment Protocol - SA.
Version 8.0.2. January 2018.
2. European New Car Assessment Programme. Euro NCAP AEB C2C Test Protocol.
Version 2.0.1. January 2018.
3. European New Car Assessment Programme. Euro NCAP LSS Test Protocol. Version
2.0.1. January 2018.
4. Epstein, Zach (2016-07-21). "Tesla Autopilot Crash Avoidance Model S Autopilot saves
man's life". BGR. Retrieved 2016-08-26.
5. Brookhuis, Karel A.de Waard, Dick; Janssen, Wiel H. (2001-06-01). "Behavioural
impacts of Advanced Driver Assistance Systems–An Overview". European Journal of
Transport and Infrastructure Research. doi:10.18757/ejtir.2001.1.3.3667.
6. https://en.wikipedia.org/wiki/Advanced_driver-assistance_system - citeref-
:31_3-0Abdul Hamid, Umar Zakir; Ahmad Zakuan, Fakhrul Razi; Zulkepli, Khairul;
Azmi, Muhammad Zulfaqar; Zamzuri, Hairi; Abdul Rahman, Mohd Azizi; Zakaria,
Muhammad (2017-12-01). "Autonomous emergency braking system with potential field
risk assessment for frontal collision mitigation". 2017 IEEE Conference on Systems,
Process and Control (ICSPC). pp. 71–76. doi:10.1109/SPC.2017.8313024. ISBN 978-1-
5386-0386-4. S2CID 3882240.
7. Jump up to: Nagpal, Raj Kumar; Cohen, Edo (2022-05-18). "Automotive electronics
revolution". Embedded. AspenCore. Retrieved 2022-05-19.
8. Galvani, Marco (2019-02-04). "History and future of driver assistance". IEEE
Instrumentation Measurement Magazine. 22 (1): 11–16. doi:10.1109/
MIM.2019.8633345. ISSN 1941-0123. S2CID 59600916.
9. Arena, Fabio; Pau, Giovanni (24 January 2019). "An Overview of Vehicular
Communications". Future Internet. 11 (2): 27. doi:10.3390/fi11020027.+
10. Shaout, Adnan; Colella, Dominic; Awad, S. (28 December 2011). "Advanced Driver
Assistance Systems - Past, present and future". 2011 Seventh International Computer
Engineering Conference (ICENCO'2011): 72–
82. doi:10.1109/ICENCO.2011.6153935. ISBN 978-1-4673-0731-4. S2CID 1622940.
11."Continental Builds New Plant for Advanced Driver Assistance Systems in the
USA". Continental AG. 2020-02-06. Retrieved 2020-10-10.
12. "ADAS Market Size, Share & Growth | Industry Forecast (2028)". Fortune Business
Insights. 2020-04-01. Retrieved 2020-10-10.
13.Mays, Kelsey (2020-04-04). "Which Cars Have Self-Driving Features for
2020". Cars.com. Retrieved 2020-10-10.
14."Guide to Cars with Advanced Safety Systems". Consumer Reports. 2020-05-08.
Retrieved 2020-10-10.
15."Cadillac XTS Safety Seat Alerts Drivers to Dangers". 2012-03-27.
Dept. of ECE 28