VHDL Based FPGA Implemented Advanced Traffic Light Controller System
VHDL Based FPGA Implemented Advanced Traffic Light Controller System
ISSN: 2454-1532
AbstractVehicular traffic at intersecting streets is typically controlled by traffic control lights. The function of traffic lights requires
sophisticated control and coordination to ensure that traffic moves as smoothly and safely as possible. In recent days electro-mechanical
controllers are replaced by electronic circuits. Besides being reliable and compact is also cost effective and to meet the requirements of solid
state traffic light controller by adopting FPGA (field-programmable gate array )board and VHDL language as the main controlling element,
and leds as the indication of light. The system can be tested and implemented in hardware using Xilinx Spartan 3E. The sensor and camera
can also be interfaced with FPGA. The system has many advantages over the exciting TLCs on most of the parts of the world. The scope of
this paper is to present the initial steps in the implementation of a smart traffic light control system based on Programmable Logic Controller
(PLC) technology. We intend to measure the traffic density by counting the number of vehicles in each lane and their weight, and send this
information to TCC (traffic control centre) and then it deviate the vehicles accordingly. VHDL makes the system versatile as the on and off
time can be easily varied by changing the delay loops through software.
Keywords Programmable logic controllers (PLC); weight sensor; counters; LEDs; SCADA traffic light control system; fieldprogrammable gate array (FPGA).
I.
INTRODUCTION
II.
SYSTEM IMPLEMENTATION
A. Roads Structure
Generally, a traffic signal system has three lights. A green
light on the bottom of the signal indicates the traffic to
proceed, a yellow light in the middle warns the traffic to slow
and prepare to stop, and red light on the top indicates the
traffic to stop. Figure 1 shows structure of any chowk
consisting of four main roads and each road is divided into
two main roads (straight and cross). We are using eight traffic
signals L1, L2,L8. There are four sensors on roads SW1,
SW2, SW3 and SW4 which will be on the speed breaker of
every lane. SW1, SW2, SW3 and SW4 sensors switches are
linked with traffic signals on (L1, L6), (L2, L5), (L3, L8) and
(L4, L7) respectively. Whenever any one of the sensors output
is enabled, appropriate traffic starts to continue on the roads
according to the position and priority of the switches and rest
of the signals are off.
313
Sahil Gupta, VHDL based FPGA implemented advanced traffic light controller system, Journal of Scientific and Technical
Advancements, Volume 1, Issue 3, pp. 313-317, 2015.
MODELING OVERVIEW
IV.
SYSTEM WORKING
A. Diversion
Weight sensor is placed at toll booth. It senses the weight
& sends signal to PLC. PLC will generate a slip having the
info about the vehicle in the form of barcode. PLC will give
the diversion according to the weight of the vehicle.
B. Congestion Control
In this there are two counters UP Counter (at the starting
of the road) & DOWN Counter (at the end of the road) whose
max value is 100. When a vehicle enters the road, UP Counter
is set and vice versa. There are 3 conditions for allowing the
vehicle in the area figure 2.
I. If UP Counter==100 & DOWN Counter==0, then red
light will be shown i.e. no vehicle will be allowed to enter
the area
II. If 100>UP Counter>80 & 20>Down Counter>0, then
yellow light will be shown i.e. vehicles will be told to be
ready to enter the area.
III. If UP Counter<60 & DOWN Counter>40, then green
light will be shown i.e. vehicles will be allowed to enter
the area.
Sahil Gupta, VHDL based FPGA implemented advanced traffic light controller system, Journal of Scientific and Technical
Advancements, Volume 1, Issue 3, pp. 313-317, 2015.
STATE DIAGRAM
Sahil Gupta, VHDL based FPGA implemented advanced traffic light controller system, Journal of Scientific and Technical
Advancements, Volume 1, Issue 3, pp. 313-317, 2015.
VII. OBSERVATIONS
VI.
HARDWARE IMPLEMENTATION
VIII. CONCLUSION
In this paper we have proposed a new adaptive traffic light
system and a new traffic light green-wave control algorithm
that takes into account the drivers behavior. According to our
approach, it is clear that in this case traffic flow will be
improved by reducing stop number and each cars delay.
Xilinx tool gives the flexibility in verification for the design
with large number of inputs & outputs, also used for easy
implementation of the design into the FPGA Spartan-3E. Also,
to allow the user to assign the time for each traffic light (i.e.
minimum time to be Green), adding more sensors on each
road to count the number of cars in each road and check for
the longer queue to increase the timer for that road. This
method will help reduce congestion on roads and would help
in coping with accidents as the heavy vehicles and light
vehicles will be in different lanes. Resultantly, a solution to a
much critical problem of traffic congestion and fatal accidents
is possible using this system. Thus the proposed system would
make our roads a safer place to travel.
Fig. 6. Spartan-3E.
Weight sensors and Signal lights at each lane have their set
of traffic light signal Red, Yellow, and Green. Operation of
this signal light is similar to common traffic light signal.
Along with these specifications, each lane has sensor of the
corresponding road. The first sensor detects the presence of
vehicles and its weight and the second sensor determines the
volume of the traffic corresponding to that lane by counting
incoming and outgoing vehicles. Through the two sensors, we
will know the expected time for green signal ON and when the
signal light at each lane should be changed to green.
REFERENCES
[1]
[2]
316
Sahil Gupta, VHDL based FPGA implemented advanced traffic light controller system, Journal of Scientific and Technical
Advancements, Volume 1, Issue 3, pp. 313-317, 2015.
[3]
[4]
[5]
[6]
[7]
H. Dong, X. Xiong and X. Zhang, Design and implementation of a realtime traffic light control system based on FPGA, ASEE Zone I
Conference, University of Bridgeport, Bridgpeort, CT, USA, April 3-5,
2014.
[9] A. Mallik, S. Kundu, Md. A. Rahman, An FPGA based semi automated
traffic control system using verilog HDL, Proceeding of the
International
Conference
on
Electrical,
Computer
and
Telecommunication Engineering (ICECTE2012), RUET, Rajshahi-6204,
Bangladesh, 2012.
[10] M. Voinescu, A. Udrea, and S. Caramihai, On urban traffic modelling
and control, Control Engineering and Applied Informatics (CEAI), vol.
11, no. 1, pp. 10-18, 2009.
[11] Rashmi and Anurag Sharma, VHDL based multiple traffic lights
controller, International Journal of Electronics & Communication
Technology (IJECT), vol. 2, issue 3, pp. 259-262, 2011.
[12] W. Wen, A dynamic and automatic traffic light control expert system
for solving the road congestion problem, An International Journal:
Expert Systems with Applications (Elsevier), vol. 34, issue 4, pp. 2370
2381, 2008.
[8]
317
Sahil Gupta, VHDL based FPGA implemented advanced traffic light controller system, Journal of Scientific and Technical
Advancements, Volume 1, Issue 3, pp. 313-317, 2015.
318
Sahil Gupta, VHDL based FPGA implemented advanced traffic light controller system, Journal of Scientific and Technical
Advancements, Volume 1, Issue 3, pp. 313-317, 2015.