Implementation of Traffic Light Controlling System For A Simple Intersection With VHDL Using Quartus II
Implementation of Traffic Light Controlling System For A Simple Intersection With VHDL Using Quartus II
net/publication/372870050
Article in International Journal of Scientific Research in Science and Technology · July 2023
DOI: 10.32628/IJSRST5231046
CITATIONS READS
0 1,277
1 author:
SEE PROFILE
All content following this page was uploaded by Pranajit Kumar Das on 14 September 2023.
ARTICLEINFO ABSTRACT
Copyright © 2023 The Author(s): This is an open-access article distributed under the terms of the Creative 111
Commons Attribution 4.0 International License (CC BY-NC 4.0) which permits unrestricted use, distribution,
and reproduction in any medium for non-commercial use provided the original author and source are credited.
Pranajit Kumar Das et al Int J Sci Res Sci & Technol. July-August-2023, 10 (4) : 111-117
result in slower vehicle speed, require more travel traffic control system, several individual operators are
time, long vehicle queue on the intersection, waste of working consistently to work effectively. An
fuel energy, air pollution affect human health, verbal automatic traffic signalling system collects vehicle
and physical confrontation on the road, and accidents information from the road intersection, analyses and
[1][2]. performs accordingly with the traffic situation in
Traffic controlling system is about more than intersection [3]. Traffic controlling system ensures
maintaining and directing vehicles on the road. trouble-free vehicle flow on road which minimizes
Because of unplanned urbanization, roads in the cities the driving time, number of vehicles comes to stop at
became more congested day by day, due to large a time, reduce air pollution, and decrease accidents.
volume of peoples are on the roads for their daily There are three colours in any traffic controlling
works. An automatic traffic controlling system is an system, namely, red, green, and yellow (Red-Yellow-
integral part of an effective transportation system in a Green). Those three-color lights control the traffic
city. Here are some reasons traffic control systems are flows in road intersections.
so important.
International Journal of Scientific Research in Science and Technology (www.ijsrst.com) | Volume 10 | Issue 4 112
Pranajit Kumar Das et al Int J Sci Res Sci & Technol. July-August-2023, 10 (4) : 111-117
sensing devices (sensor) on the lanes with the traffic B. Dilip et al [9] implemented a FPGA based low-cost
lights which mitigates the chances of unnecessary traffic light controlling system using ChipScope Pro
waiting for red signal on empty junctions. More and Virtual Input Output. The hardware
recent traffic signalling systems have applied various implementation of their design was executed using
machine learning approaches which makes the system Spartan-3E FPGA. It was complex and real-time
more sophisticated and real-time. Machine learning traffic management system in Kingdom of Bahrain,
(ML) algorithms enable traffic controllers to store for pedestrians. The authors in [10] proposed a traffic
vehicle information and measure future waiting time prediction and signal controlling system using the
for the vehicles on the lane, where optimized actions help of IoT devices for a smart city. They used the
are taken with lowest waiting time. OWENN (optimized weight Elman neural network)
algorithm for traffic prediction and Intel 80286
In this paper, a traffic lighting system for a simple microprocessor for traffic signal controlling system.
intersection is designed using VHDL and Their proposed system involves 5 (five) steps- first,
implemented in Quartus II software platform. The traffic data is collected for the dataset and the
outline of the paper is organized as follows: Section 2 information is extracted. Then the extracted data are
presents the literature reviews about traffic signalling fed into OWENN classifier as input to find traffic flow.
systems using VHDL. The problem statement is OWENN algorithm achieves 98.23% accuracy and
described in section 3. Furthermore, Section 3 covers 96.69% F-score over the existing model. In [11], the
a simulation of the proposed traffic light system, and implementation and simulation of real time traffic
the simulation result and discussion are demonstrated light signalling system using FPGA and micro-
in section 4. Finally, Section 5 provides the conclusion controller. FPGA and micro-controller were
of this paper. programmed on the Spartan 3E and Arduino platform,
respectively. The system was designed with FPGA
II. LITERATURE REVIEW connected to an electronic circuit board on Spartan
3E through the external expansion and used an
An A lot of research work has been conducted on Arduino platform connected to the same electronic
traffic light controlling systems by various renowned circuit board. In simulation, C++ and VHDL language
researchers worldwide. The aim of those conducted is used for Arduino and FPGA programming,
research work was to solve various problems respectively. A few hardware components like sensors,
associated with traffic controlling systems, several switches, LEDs, and resistors are used to build the
exclusive developments were made but sometimes fail electronic circuit to ensure the best performance of
to work with complex real time situation [5][6]. the traffic light controlling system.
Traffic light controlling system can be implemented The authors in [12] designed and implemented a
using FPGA (Field Programmable Gate Array), traffic light controlling system based on density using
Microcontroller and ASIC (Application Specific GSM for the 4-way road with eight phases. Three PIC
Integrated Circuit) design. FPGA exhibits many 16F877A microcontrollers are used for logic design
benefits over microcontrollers are performance and control, one specially allocated for each of the three
amount of input/output. On the other hand, the ASIC sets objectives. The PIC 16F877A microcontrollers is a
design is more costly than FPGA [7][8]. This in-depth CMOS FLASH-based 8-bit microcontroller with RISC
literature reviews section presents some recent architecture that allows sufficient pins for the three
research works. sets of objectives. Eight pressure (PR) sensors are used
on each side of four roadways. C programming
International Journal of Scientific Research in Science and Technology (www.ijsrst.com) | Volume 10 | Issue 4 113
Pranajit Kumar Das et al Int J Sci Res Sci & Technol. July-August-2023, 10 (4) : 111-117
language is used to write the set of instructions for the IV. IMPLEMENTATION METHODOLOGY
microcontroller to operate. In literature [13], the
authors overcome the limitation of fixed time slot in This experimental work was performed on a PC with
traffic controlling system. They proposed a traffic Windows environment where the OS (operating
controlling system with FPGA and sensors that system) was Windows10, SSD 1T, 16 GB RAM, and
decreases the waiting time. The scheduling of red, NVIDIA GEFORCE RTX 2080 with 16 GB Memory.
yellow, and green light depends on vehicle density on The Intel Quartus II Web Edition Design Software,
the road intersection. They implemented and tested Version 13.1 which is a full featured EDA product
the proposed system on hardware using ALTERA that was used for the simulation and VHDL
Cyclone II- FPGA. programming.
The traffic signaling system for described problem
III.PROBLEM STATEMENT statement is simulated in Quartus II software.
Simulation software is used to assess a new design,
A junction (intersection) of two one-way roads is identify problems in a present system and verify a
considered in this study, where one road is main road system under conditions that are difficult to
(R1) and other is side road (R2), both roads intersect reproduce. In simulation, software permits authority
each other. One sensor is used at the side roadway to to test, compare, and optimize the results by
sense the presence of vehicles on the sideroad. modelling real world events in a virtual environment.
By default, it is assumed that the vehicles are cars are
moving on the main road and there are no cars in the
side road. There is a sensor on the side road to sense
the presence of the vehicle on the side road. Then the
traffic controller transfer light signal for traffic
management or to control traffic flow from the side
road to main road. For transferring control of traffic
lights from main road to side road, there are four
states of traffic lighting are defined, which are S0, S1,
S2, and S3. The states, their lighting conditions, and
state flow are shown in Figure 2.
International Journal of Scientific Research in Science and Technology (www.ijsrst.com) | Volume 10 | Issue 4 114
Pranajit Kumar Das et al Int J Sci Res Sci & Technol. July-August-2023, 10 (4) : 111-117
In state S0:
Red (R1) =0, Yellow (R1) =0, Green (R1) =1
Red (R2) =1, Yellow (R1) =0, Green (R2) =0
In state S3:
International Journal of Scientific Research in Science and Technology (www.ijsrst.com) | Volume 10 | Issue 4 115
Pranajit Kumar Das et al Int J Sci Res Sci & Technol. July-August-2023, 10 (4) : 111-117
V. SOFTWARE SIMULATION RESULT AND after defined time it becomes yellow for 3 second
DISCUSSION before red light being ‘high’.
International Journal of Scientific Research in Science and Technology (www.ijsrst.com) | Volume 10 | Issue 4 116
Pranajit Kumar Das et al Int J Sci Res Sci & Technol. July-August-2023, 10 (4) : 111-117
International Journal of Scientific Research in Science and Technology (www.ijsrst.com) | Volume 10 | Issue 4 117