Density Based Traffic Control System: June 2020
Density Based Traffic Control System: June 2020
Density Based Traffic Control System: June 2020
net/publication/342466360
CITATIONS READS
0 4,665
3 authors, including:
SEE PROFILE
All content following this page was uploaded by Manikandan Durai Raj on 27 June 2020.
Abstract: Traffic congestion is one of the major issues in the present-day world. The present-
day traffic signal control only works on a fixed time delay basis irrespective of the vehicle
density. With the rapid increase in vehicle usage, such a system can prove to be inefficient
causing a lot of losses. In this proposed system involves a density based traffic control system
which uses Arduino UNO, IR sensors and LED’s for the effective signal handling and vehicle
density control at the junction.
Keywords: Traffic control system, Arduino UNO, IR sensors, LED’s.
Introduction:
In the present day world, with growing technologies and adverse development in the
metropolitan cities, traffic administration has become one of the most important fields to be dealt
with. The main role of a traffic administration is to constantly improve the traffic control system
and effectively regulate the same (1). With the number of vehicle users constantly increasing, the
facility provided by the current system is limited and inefficient with respect to the energy and
time consumed. A survey shows that an average person spends about four to six months of his/her
entire life just waiting for the green light to be turned ON at a signal (2). It is also been identified
that this inadequate facility and irrational distribution of signal control is leading to such traffic
issues.These inefficient traffic control system is also contributing to various traffic violation
wherein the people don’t possess the patience to wait for that interval of the signal which does not
have much vehicle density than the other existing densities. Avoiding conditions of extreme traffic
jams is highly important in the current situation. Hence in this proposed system of traffic control,
we focus on the traffic density rather than just giving control to the signals on a fixed time
basis.This proposed in based on vehicle detection by IR sensors, analysation and computation of
the scenarios by the Arduino UNO and the same gives the control depending on the control time
in the code to the LED’s . On a whole, this system senses the presence of the vehicle in that given
lane and suitably gives control to the signals(3).
1
Demerits of the current system:
1.) The presence of a fixed time period of signal operation irrespective of the lack of
comparison of the vehicle densities in the different parts of the road at a junction.
2.) Even if the road is empty and lacks the presence of vehicles, still receives a fixed time
period of green signal which is of no use.
3.) This can lead to a large levels of traffic congestion since there is no uniform flow of
vehicles from all the roads at the junction.
4.) Human irritability increases and this can be one of the main reasons for some of the traffic
violations such as jumping signals, over speeding, etc. (4)
Proposed traffic control system:
The main aim of the proposed system is to constantly monitor the vehicle density present
in all parts of the road at the junction. The basic flow of operation is as follows: collection of
vehicle density data from the roads; next is to send the same data to the device which compares
the same and arrives at a particular characteristic output pattern; then the execution of the output
pattern which is reflected in the signal pattern. In this model, the IR sensors are used to detect the
presence of any vehicle in that part of the road. When detected it sends a triggered output to
Arduino UNO which is the heart of the project. Then Arduino analyses the number of such
triggered outputs from the set of sensors placed in the different roads at the junction and
correspondingly triggers the different LED lights in the signals in order to felicitate the vehicle
movement (5).
Related works:
Below are some of the prominent researches and solutions proposed for this problem of
traffic congestion.
• Based on microcontroller
1) Saiba P A et al proposed a density based traffic control system using PIC
microcontroller were three IR sensors are employed in each road for the detection of the
presence of the automobile and the density is identified in different levels such as low,
medium and high. Based on the density recorded, the duration of the green light is decided
by the microcontroller (6).
2) Pramod Sharma et al proposed a density based intelligent traffic control system using
IR sensors using the ATMEL 89C51 Microcontroller were IR sensors are used for the
vehicle detection and the control of the signals are taken over by the microcontroller (7).
3) Sakshi Pandey et al proposed a density based traffic control system using ATmega8
microcontroller where IR sensors are used to identify the level of vehicle density present
2
in each road at a junction and in case of emergency vehicles, their approach was identified
by proving a unique RFID card for the same (8).
4) Bilal Ghazal et al proposed a smart traffic light control system using PIC
microcontroller and IR sensors but transferred the data from the IR sensors to the
microcontroller using XBee transreciever based on ZigBee firmware (9).
2) Ashok. P.V et al proposed IoT based traffic signaling system using a combination of
ultrasonic sensors, Arduino and Raspberry Pi3. The sensors are interfaced with Arduino
which sends the data wirelessly to Raspberry which analyses the same and suitably controls
the signals (13).
3) Elizabeth Basil et al proposed IoT based traffic light control system using Raspberry
Pi. This involves the combined operation of Arduino UNO, Raspberry Pi, WiFi module
and camera for image capturing. The software implementation is carried out using Arduino
IDE and MATLAB(with Simulink support). The operation involves continuous recording
of the traffic density and reading the corresponding frames. Then the grayscale image
conversion is achieved followed by binarization, blob analysis, labeling to obtain the
vehicle count using simulink. Based on the count obtained, the traffic signals are suitably
controlled (14).
3
Components:
Following are the components required for the execution of the proposed traffic control system
• Arduino UNO
4
• IR sensor module
[Fig 2.1 – IR proximity sensor, Fig 2.2 - Working illustration of the IR sensor]
5
• Light Emitting Diode (LED)
LED is an active electronic device, comparable to a general purpose diode except for its
ability to emit light with different wavelengths. When a suitable potential difference is applied
across its terminals, electrons recombine with the holes within the device thereby releasing the
energy in the form of photons. This phenomenon is known as electroluminescence (18).
Following are the specific semiconductor combination employed for obtaining a LED emitting
radiation of characteristic wavelength:
1. Gallium Arsenide (GaAs) – Infrared light
2. Gallium-Arsenide-Phosphorous (GaAsP) – yellow/red light
3. Gallium-Phosphorous(GaP) – green light
• Resistors
[Fig 5 – Resistors]
Resistors are basically used as current limiters for LED’s in order to prevent the damage of the
LED’s due to high current.
6
Design:
[Fig 6 – Block diagram for the proposed density based traffic control system, Fig 7 – Schematic circuit
diagram of the proposed model ]
The circuit design involves an IR sensors being placed at the left side of each of the four
roads in a ‘+’ type junction. These identify the presence of vehicle in that road of the junction.
When the IR signals from them are obstructed by a vehicle, the output of the sensors go high and
thereby indicate the same to the Arduino UNO (19). Based on as how many roads have vehicle
density out of the four roads, the signals are turned ON. The Arduino UNO is either powered by a
power bank or using a laptop which is used to upload the code as well. The coding is done in
Arduino IDE platform using C/C++ language (20). The IR sensors are powered using the voltage
ranges i.e. 5V and 3.3V available in the arduino board. The analog output of the IR sensors are
connected to the analog pins of the arduino UNO (21). The code is written so as to set a value to
the variable holding the analog value. If the analog value is well above a threshold value, then the
variable is set to 1; else to 0. Here the codes for turning ON or OFF of a particular signal is written
in the form of functions. Depending on whether the variable is 0 or 1, a particular set of functions
are called by the code and executed. The entire execution is in the form of a loop which
continuously checks for the presence of the vehicle density in any of the roads in that junction
(22). If detected, the green signal is turned ON in that road for a period of 10000ms and then turned
to red.
7
Arduino code:
8
digitalWrite(ledD3, LOW); digitalWrite(ledD1, digitalWrite(ledB2, LOW);
HIGH);
delay(10000); digitalWrite(ledB1,
digitalWrite(ledD3, HIGH);
digitalWrite(ledA3,
LOW);
LOW); digitalWrite(ledB3, LOW);
delay(10000);
digitalWrite(ledA2, digitalWrite(ledD2, LOW);
HIGH); digitalWrite(ledB3,
digitalWrite(ledD1,
LOW);
delay(1000); HIGH);
digitalWrite(ledB2,
digitalWrite(ledA2, digitalWrite(ledD3, LOW);
HIGH);
LOW);
delay(10000);
delay(1000);
digitalWrite(ledA1,
digitalWrite(ledC3,LOW);
HIGH); digitalWrite(ledB2,
LOW); digitalWrite(ledC2,
readSensor();
HIGH);
digitalWrite(ledB1,
}
HIGH); delay(1000);
void roadBopen()
readSensor(); digitalWrite(ledC2, LOW);
{
} digitalWrite(ledC1,
delay(800); HIGH);
void roadCopen()
digitalWrite(ledB3, readSensor();
{
HIGH);
}
delay(800);
digitalWrite(ledB2, LOW);
void roadDopen()
digitalWrite(ledC3,HIGH
digitalWrite(ledB1, LOW);
); {
digitalWrite(ledA3, LOW);
digitalWrite(ledC2, delay(800);
digitalWrite(ledA2, LOW); LOW);
digitalWrite(ledD3, HIGH);
digitalWrite(ledA1, digitalWrite(ledC1,
digitalWrite(ledD2, LOW);
HIGH); LOW);
digitalWrite(ledD1, LOW);
digitalWrite(ledC2, LOW); digitalWrite(ledA3,
LOW); digitalWrite(ledA3, LOW);
digitalWrite(ledC1,
HIGH); digitalWrite(ledA2, digitalWrite(ledA2, LOW);
LOW);
digitalWrite(ledC3, LOW); digitalWrite(ledA1,
digitalWrite(ledA1, HIGH);
digitalWrite(ledD2, LOW);
HIGH);
9
digitalWrite(ledB2, LOW); digitalWrite(ledB2, else if (a1==0 && b1 == 1
HIGH); && c1 == 0 && d1 == 0)
digitalWrite(ledB1,
HIGH); digitalWrite(ledC2, {
HIGH);
digitalWrite(ledB3, LOW); roadBopen();
digitalWrite(ledD2,
digitalWrite(ledC2, LOW); }
HIGH);
digitalWrite(ledC1, else if (a1==0 && b1 == 0
delay(800);
HIGH); && c1 == 1 && d1 == 0)
digitalWrite(ledA2, LOW);
digitalWrite(ledC3, LOW); {
digitalWrite(ledB2, LOW);
delay(10000); roadCopen();
digitalWrite(ledC2, LOW);
digitalWrite(ledD3, LOW); }
digitalWrite(ledD2, LOW);
digitalWrite(ledD2, else if (a1==0 && b1 == 0
HIGH); delay(500); && c1 == 0 && d1 == 1)
delay(1000); readSensor(); {
digitalWrite(ledD2, LOW); } roadDopen();
{ { roadBopen();
digitalWrite(ledA1, arc(); }
LOW);
} else if (a1==1 && b1==0
digitalWrite(ledB1, LOW); && c1==1 && d1==0)
else if (a1==1 && b1 == 0
digitalWrite(ledC1, && c1 == 0 && d1 == 0) {
LOW);
{ roadAopen();
digitalWrite(ledD1,
roadAopen(); roadCopen();
LOW);
} }
digitalWrite(ledA2,
HIGH);
10
else if (a1==1 && b1==0 && c1==0 && {
d1==1)
roadBopen();
{
roadCopen();
roadAopen();
}
roadDopen();
else if (a1==0 && b1==1 && c1==0 &&
} d1==1)
else if (a1==1 && b1==1 && c1==1 && {
d1==0)
roadBopen();
{
roadDopen();
roadAopen();
}
roadBopen();
else if (a1==0 && b1==1 && c1==1 &&
roadCopen(); d1==1)
} {
else if (a1==1 && b1==1 && c1==0 && roadBopen();
d1==1)
roadCopen();
{
roadDopen();
roadAopen();
}
roadBopen();
else if (a1==0 && b1==0 && c1==1 &&
roadDopen(); d1==1)
} {
else if (a1==1 && b1==0 && c1==1 && roadCopen();
d1==1)
roadDopen();
{
}
roadAopen();
else if (a1==1 && b1==1 && c1==1 &&
roadCopen(); d1==1)
roadDopen(); {
} roadAopen();roadBopen();
else if (a1==0 && b1==1 && c1==1 &&
Results: roadCopen(); roadDopen();}}
d1==0)
11
Results:
The results of the proposed model can be analysed in three different scenarios.
1. When there is vehicle density present in all the four roads of the junction, then the signal
functionalises normally, similar to the existing system.
2. When there an absence of vehicle density in one or more roads but present in atleast one
road, then the signal for green light skips that particular road with no vehicle density and
moves forward with the ones with density present.
12
3. When no vehicle density is recoded in any of the roads at the junction, the yellows light is
triggered in all of the signals with time delay of 800ms which gives a blinking effect in the
signals.
Conclusion:
The proposed traffic control system is the very basic step towards achieving
automation in the field of traffic control system. With various advancements taking place in
today’s world, people are in search for automated systems which not only saves their time but also
a lot of energy in different forms. The saving of fuel (petrol, diesel, natural gas), reduction in time
of the operation of automobile engines, reduction in the emission of the harmful gases in the
atmosphere. Thus this system helps in reducing the number of accidents that take place just because
of this improper traffic control system and paving way to a better traffic control system.
The proposed system aims to save the number of manhours wasted at the signals and hence making
effective utilization of time. Further a lot of work and progress an be made on these lines by giving
priority to emergency tag vehicles. Also, a lot of work can be done on the usage of solar energy of
the operation of such systems which can also make them highly energy efficient. It is also possible
to make use of gas sensors to control the timing of the timers in the traffic nodes. Using GPRS
map as an additional step for progress in this area, the best route can be figured out for emergency
as well as police vehicles.
13
References:
1. M. Naveen, S. Raghavendra, D. Imran Basha, & P. Kiran Kumar (2019). Density based
Traffic Signals Controlling Using ARDUINO and IR Sensors.2019 International Journal
of Electronics Engineering (IJEE). ISSN: 0973-7383. Volume-11. Issue-1. pp.348-351.
2. Saranya J, Jayashwanth J.S, Kiran J, Harish S, & Linga Kumar T (2019). Automated
Density Based Traffic Light Control System Using Arduino Platform. 2019 International
Journal of Engineering and Advanced Technology (IJEAT). ISSN: 2249 – 8958. Volume-
9.Issue-1.
3. Usikalu, M. R., Okere, A., Ayanbisi, O., Adagunodo, T. A., & Babarimisa, I. O.
(2019). Design and Construction of Density Based Traffic Control System. IOP
Conference Series: Earth and Environmental Science, 331, 012047. doi:10.1088/1755-
1315/331/1/012047.
4. K. Bagya Lakshmi1, M. Suresh Kumar, S. Sindhuja, R. Padmavathy, & P. Jayabharathi.
(2018). Density Based Traffic Control System. Asian Journal of Science and Applied
Technology ISSN: 2249-0698 Vol. 7 No. 2, 2018, pp.9-11.
5. Devi, R. B., Reddy, D. K., Sravani, E., Srujan, G., Shankar, S., & Chakrabartty, S.
(2017). Density based traffic signal system using Arduino Uno. 2017 International
Conference on Inventive Computing and Informatics
(ICICI). doi:10.1109/icici.2017.8365387.
6. Saiba P A, Afeefa M U, Aruna T S, Clincy Jose, & Radhika V M (2017). Density Based
Traffic Signal System using PIC Microcontroller. International Journal of Computer
Trends and Technology (IJCTT). ISSN: 2231-2803. Volume 47. Number 1.
7. Er. Pramod Sharma, Akanksha Mishra, & Kaumudi Singh (2015). Density Based
Intelligent Traffic Control System Using IR Sensors. International Journal of Scientific
Research (IJSR). ISSN No 2277 – 817. Volume: 4. Issue: 5.
8. Sakshi Pandey, Mittal Jethva, Sailee Jangam, & Yashika Panwar (2017). Density based
Traffic Control System. International Journal for Scientific Research & Development
(IJSRD). ISSN: 2321-0613, Vol. 4, Issue 11.
9. Ghazal, B., ElKhatib, K., Chahine, K., & Kherfan, M. (2016). Smart traffic light control
system. 2016 Third International Conference on Electrical, Electronics, Computer
Engineering and Their Applications (EECEA). doi:10.1109/eecea.2016.7470780.
10. K.Vidhya,& A.Bazila Banu (2014). Density Based Traffic Signal System. International
Journal of Innovative Research in Science, Engineering and Technology (IJIRSET). ISSN:
2319 – 8753. Volume 3. Special Issue 3.
11. D. D. Pukale1, Palak Chauhan, Adhikari Siddhi Satish, Preeti Nawal, & Neha Kumari
(2016). Density Based Traffic Control System Using Video Processing. Imperial Journal
of Interdisciplinary Research (IJIR). Vol-2. Issue-6, 2016 ISSN: 2454-1362.
12. K. Lalitha1, & M. Pounambal (2018). Density Based Traffic Management Using IoT.
International Journal of Pure and Applied Mathematics. ISSN: 1314-3395. Volume 120
No. 6.
14
13. Ashok. P.V, SivaSankari.S , Vignesh Mani, & Suresh Sankaranarayanan (2017). IoT Based
Traffic Signalling System. International Journal of Applied Engineering Research. ISSN
0973-4562. Volume 12. pp. 8264-8269.
14. Basil, E., & Sawant, S. D. (2017). IoT based traffic light control system using Raspberry
Pi. 2017 International Conference on Energy, Communication, Data Analytics and Soft
Computing (ICECDS). doi:10.1109/icecds.2017.8389604.
15. Badamasi, Y. A. (2014). The working principle of an Arduino. 2014 11th International
Conference on Electronics, Computer and Computation
(ICECCO). doi:10.1109/icecco.2014.6997578.
16. Barrett, S. F. (2012). Arduino Microcontroller: Processing for Everyone! Second Edition.
Synthesis Lectures on Digital Circuits and Systems,
7(2),1371. doi:10.2200/s00421ed1v01y201205dcs038
17. Mohammed Fayaz, Pooja K, Pranitha P Reddy, & Swathi T (2019). Density based Traffic
Control System with Ambulance Detection. International Journal of Engineering Research
& Technology (IJERT) ISSN: 2278-0181. Volume 7, Issue 08.
18. S.Sundara Mahalingam, & S.Arockiaraj (2018). DENSITY BASED TRAFFIC LIGHT
CONTROL USING ARDUINO. International Journal of Advance Research and Innovative
Ideas in Education (IJARIIE). ISSN-2395-4396. Vol-4 Issue-5.
19. Er. Faruk Bin Poyen, Amit Kumar Bhakta, B.Durga Manohar, Imran Ali, & ArghyaSantra,
AwanishPratap Rao (2016). Density Based Traffic Control. International Journal of
Advanced Engineering, Management and Science (IJAEMS). ISSN: 2454-1311.Vol-2,
Issue-8, Aug- 2016.
20. Sayan Ghosh, Shaurya Kumar, Gautam Ghosh (2017). DENSITY BASED TRAFFIC
LIGHT SYSTEM. International Journal of Advanced Research in Electronics and
Communication Engineering (IJARECE). ISSN: 2278 – 909X.Volume 6, Issue 6.
21. Tenepalli Kalyan, Sai Manikanta Chari, SaiTeja Tutika (2019). Density Based Traffic
Control Signaling Using IR sensors. International Journal of Engineering and Information
Systems (IJEAIS) ISSN: 2000-000X Vol. 3 Issue 3, March – 2019, pp: 51-56.
22. P V Rama Raju, G. Naga Raju, K. Datta Sai Nandan, M.R.Prasanna, K. Naga Sai Kiran, &
N. GeethikaVenkata Suryaja (2017). International Journal of Trend in Research and
Development. ISSN: 2394-9333. Volume 4, Issue 6.
15