TRAFFIC LIGHT CONTROLLER USING VERILOG
ABSTRACT
Traffic control is a challenging problem in many cities. This is due to the large number of vehicles and the
high dynamics of the traffic system. Poor traffic systems are the big reason for accidents, time losses. In
this method of approach, it will reduce the waiting time of the vehicles at traffic signals. The hardware
design has been developed using Verilog Hardware Description Language (HDL) programming.
Verilog designing is hardware descriptive language, the name itself suggest that it deals with the hardware
designing and simulation. Basically, it becomes very difficult to mount the various electronic components
on breadboard or PCB circuit. It also takes too much time for the simulation and sometimes many errors
occur because of improper connection of components onto the circuit. And thus, to overcome this factor
hardware descriptive language comes into conclusion. we can code the process using Verilog and we can
mount it on a circuit or just upload it to the circuit accordingly so that particular circuit will work as
according to the code we have written.
HDL language is often used for sequential circuits like shift register, combinational logic circuit like
adder, subtractor etc. Basically it describes the digital systems like microprocessor or a memory. Whatever
design that is described in HDL are independent, it has its unique state of work, very much easy to
simulate, designing and debugging, and very useful than schematics, especially for large circuits thus, to
overcome difficulties or problems to design the circuits manually with breadboard and PCB, use of
Verilog designing in this complex world is increasing a way better. This project deals with a basic design
of a T - Shaped road for traffic light control. The output of system has been tested.
INTRODUCTION
Traffic Lights are used to control the vehicular traffic. In the modern era, everyone has different types of
vehicles resulting in rise to the numbers of vehicles. That’s why traffic lights are mandatory to avoid the
traffic jams and accidents. There are three lights in the traffic signal, having different message for the
drivers. Red light asks the driver to yield at the intersection, green light gives the driver free license to
drive through the intersection whereas the yellow light alerts the driver to wait if the next light is red one or
get ready to go / turn the engine ON if the green light is next.
, Apart from the traffic it is very necessary for the people to cross the roads at particular time interval. And
this is only possible by controlling the traffic by giving some kind of signal. Analyzing the traffic,
estimating the delays to the areas is crucial part. Population can be predicted using GPS trekking and thus
we can easily estimate the amount of time to be taken for delay. A perfect aligning of cars, bikes, cycles,
trucks with orderly flow by giving right of way, this makes the process very systematic and even in the
presence of heavy traffic accident rate goes down which is one of the biggest advantage.
Timing and the delays of particular signal plays a vital role because it is very necessary for us to keep
information about the amount of traffic which present in the local area. This gives us an idea about timing
and delay requirement of every signal in the local area. As we know the timing depends on traffic volume
and its not necessary for us to have same traffic volume at each day so for that we can estimate average
volume of traffic around the local area. Average can be made with consideration of 20 days for example
we will analyse the traffic of 20 days then we will take an average of it and estimate delays and timings of
it. It is very necessary factor for us to have adaptive mechanism. Apart from that we can estimate the traffic
volume using GPS, which can give you volume prediction every day. For this we no need to take an
average of particular days. GPS give us more correct prediction of volume of traffic than calculating an
average of traffic of particular days. Thus, coordinating signal timing minimizes stating and stopping of
vehicles in the traffic to avoid the traffic jam.
LITERATURE SURVEY
A traffic light, also known as traffic signal, stop light, stop-and-go lights, is a signaling device positioned
at a road intersection, pedestrian crossing, or other location in order to indicate when it is safe to drive,
ride, or walk using a universal color code. Nowadays, A red light meant traffic in all directions had to stop.
A yellow light meant cross-town traffic would have to slow and, A green light would to go or proceed.
The difficulty in understanding this confusing color sequence was compounded by neighboring towns
using another system. The development of an intelligent control structure ensures an optimal solution for
all participants in the transportation and road traffic system. In the simplest cases the right-hand rule or, if
the traffic is higher, a roundabout or the signal of a policeman can help steer the traffic. However,
especially in big cities, in the complicated cases whenthe roads in the intersection have several lanes, the
use of traffic lights cannot be avoided. An additional issue arises when in the intersection not only roads
but also railroad tracks take part, what often occurs insuburban traffic situations.
ABSTRACT
Traffic control is a challenging problem in many cities. This is due to the large number of vehicles and the
high dynamics of the traffic system. Poor traffic systems are the big reason for accidents, time losses. In
this method of approach, it will reduce the waiting time of the vehicles at traffic signals. The hardware
design has been developed using Verilog Hardware Description Language (HDL) programming.
Verilog designing is hardware descriptive language, the name itself suggest that it deals with the hardware
designing and simulation. Basically, it becomes very difficult to mount the various electronic components
on breadboard or PCB circuit. It also takes too much time for the simulation and sometimes many errors
occur because of improper connection of components onto the circuit. And thus, to overcome this factor
hardware descriptive language comes into conclusion. we can code the process using Verilog and we can
mount it on a circuit or just upload it to the circuit accordingly so that particular circuit will work as
according to the code we have written.
HDL language is often used for sequential circuits like shift register, combinational logic circuit like
adder, subtractor etc. Basically it describes the digital systems like microprocessor or a memory. Whatever
design that is described in HDL are independent, it has its unique state of work, very much easy to
simulate, designing and debugging, and very useful than schematics, especially for large circuits thus, to
overcome difficulties or problems to design the circuits manually with breadboard and PCB, use of
Verilog designing in this complex world is increasing a way better. This project deals with a basic design
of a T - Shaped road for traffic light control. The output of system has been tested.
INTRODUCTION
Traffic Lights are used to control the vehicular traffic. In the modern era, everyone has different types of
vehicles resulting in rise to the numbers of vehicles. That’s why traffic lights are mandatory to avoid the
traffic jams and accidents. There are three lights in the traffic signal, having different message for the
drivers. Red light asks the driver to yield at the intersection, green light gives the driver free license to
drive through the intersection whereas the yellow light alerts the driver to wait if the next light is red one or
get ready to go / turn the engine ON if the green light is next.
, Apart from the traffic it is very necessary for the people to cross the roads at particular time interval. And
this is only possible by controlling the traffic by giving some kind of signal. Analyzing the traffic,
estimating the delays to the areas is crucial part. Population can be predicted using GPS trekking and thus
we can easily estimate the amount of time to be taken for delay. A perfect aligning of cars, bikes, cycles,
trucks with orderly flow by giving right of way, this makes the process very systematic and even in the
presence of heavy traffic accident rate goes down which is one of the biggest advantage.
Timing and the delays of particular signal plays a vital role because it is very necessary for us to keep
information about the amount of traffic which present in the local area. This gives us an idea about timing
and delay requirement of every signal in the local area. As we know the timing depends on traffic volume
and its not necessary for us to have same traffic volume at each day so for that we can estimate average
volume of traffic around the local area. Average can be made with consideration of 20 days for example
we will analyse the traffic of 20 days then we will take an average of it and estimate delays and timings of
it. It is very necessary factor for us to have adaptive mechanism. Apart from that we can estimate the traffic
volume using GPS, which can give you volume prediction every day. For this we no need to take an
average of particular days. GPS give us more correct prediction of volume of traffic than calculating an
average of traffic of particular days. Thus, coordinating signal timing minimizes stating and stopping of
vehicles in the traffic to avoid the traffic jam.
LITERATURE SURVEY
A traffic light, also known as traffic signal, stop light, stop-and-go lights, is a signaling device positioned
at a road intersection, pedestrian crossing, or other location in order to indicate when it is safe to drive,
ride, or walk using a universal color code. Nowadays, A red light meant traffic in all directions had to stop.
A yellow light meant cross-town traffic would have to slow and, A green light would to go or proceed.
The difficulty in understanding this confusing color sequence was compounded by neighboring towns
using another system. The development of an intelligent control structure ensures an optimal solution for
all participants in the transportation and road traffic system. In the simplest cases the right-hand rule or, if
the traffic is higher, a roundabout or the signal of a policeman can help steer the traffic. However,
especially in big cities, in the complicated cases whenthe roads in the intersection have several lanes, the
use of traffic lights cannot be avoided. An additional issue arises when in the intersection not only roads
but also railroad tracks take part, what often occurs insuburban traffic situations.