Lane Detection and Lane Departure Warning System

Basically, Our project is one part of ADAS(Advance Driver Assistance System). ADAS are electronic systems  that aid a vehicle driver while driving. When designed with a safe human-machine iterface, they are intended to increase car safety and more generally road safety.Most road accid

2025-06-28 16:33:57 - Adil Khan

Project Title

Lane Detection and Lane Departure Warning System

Project Area of Specialization Wearables and ImplantableProject Summary

Basically, Our project is one part of ADAS(Advance Driver Assistance System). ADAS are electronic systems  that aid a vehicle driver while driving. When designed with a safe human-machine iterface, they are intended to increase car safety and more generally road safety.Most road accidents occur due to human error. Advanced driver-assistance systems are systems developed to automate, adapt and enhance vehicle systems for safety and better driving. The automated system which is provided by ADAS to the vehicle is proven to reduce road fatalities, by minimizing the human error.

In road-transport terminology, a lane departure warning system is a mechanism designed to warn the driver when the vehicle begins to move out of its lane (unless a turn signal is on in that direction) on freeways and arterial roads. These systems are designed to minimize accidents by addressing the main causes of collisions: driver error, distractions and drowsiness .

Project Objectives

Our main objective is to make a low latency and fast Lane detection and departure warning sytem for drivers to cater the problems faced by driver regarding road lanes .

Project Implementation Method

First of all we had spent a month on literature review to
get information about the project like :-
1)It is feasible or not.
2)Need of envoirnment.
3)It has done before and what approach is
used to implement.
After it we break our project into sub divided parts so it
is easy to implement i.e :-
1)Lane detection model
2)Camera interfacing
3)Audio codec on zynq fpga
Lane detection model :-
Initially we chose our lane detection model from MATLAB. Then we understand the whole model and make it possible to implement it on ZEDBOARD. 

ZEDBOARD is an FPGA  and a complete development kit for designers interested in exploring designs using the Xilinx : Zynq® -7000 All Programmable SoC. The board contains all the necessary interfaces and supporting functions to enable a wide range of applications.

Camera interfacing :-
We use zedboard and ov7670 camera which is 30fps and
640x480 resolution with 12 bit of output ,first we
implement its VHDL code by generating code files in
vivado then adding block ram memory which stores the
frame of images after that adding constraints file which is
providing connections detail of camera with the
hardware zedboard after settling each part generation of
bitstream is required to make it ready.
Audio Codec on Zynq Fpga :-
We introduce different models of protocols I2S,12C,
filters and processing system related with reset and
timers in Matlab then after internal settings of HDL
Workflow Advisor we create or add IP’s in vivado which
combines to create a full fledge block diagram which
would be implemented soon.

Benefits of the Project

Safety of Environment :

As we know that in pakistan lot of accidents are caused by driver's perfunctor. They do not take care of road lanes, some of the time due to long route driver goes to drowsiness which will cause accidents. 

Our system will warn the drivers when ever car is departing the lane .

Cost :

As the other Automotive companies who are using this system in their cars, they are taking alot of money from their customers for this system. For example if we talk about BMW they are getting about $1350 from their customers. We are trying to make it in low cost as much as possible.

Efficiency :

We are trying to make it efficient in competition to other automotive companies.

Technical Details of Final Deliverable

Final Deliverables :

1-Lane detection System :

Working :Camera is mounted at front of the car and capturing video in real time and passing it to our FPGA , it is doing real time processing on it,as our MATLAB model is also embed in it so it will take the video frame by frame and implement algorithm on each frame to detect road lanes.

2-Departure Warning System :

Working : This system will wait for FPGA to send signal whenever a car departs lane when this sytem gets message it will generate an audio warning message to the so that driver will take precautionary to save himself from accident .

Final Deliverable of the Project HW/SW integrated systemType of Industry Transportation Technologies OthersSustainable Development Goals Industry, Innovation and Infrastructure, Sustainable Cities and CommunitiesRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 41500
FPGA BOARD Equipment13500035000
Camera Equipment1500500
Wires , cables ,posters Miscellaneous 160006000

More Posts