Creation of a Traffic Signal System Based on Density

Emily Davidson 1*, Sophia Fisher 2

 

[1] Northern Plains University - Canada, emilydavidson081983@gmail.com,

https://orcid.org/0009-0004-4271-4244

2 Coastal Research Academy - South Africa,

sophiafisher1983@outlook.com, https://orcid.org/0009-0006-1450-2599

 

 

 

 

 

 

Copyright: © 2021 by the authors. This article is an open access article distributed under the terms and conditions of the Creative Commons

 

 

Received:

21 April, 2021

 

Accepted for publication:

04 June, 2021

 

ABSTRACT

This document introduces an innovative traffic signal system centered on density, dynamically adjusting signal timing based on traffic volume at each intersection. With congestion persisting at all entry points of Ahmadu Bello University (ABU), a shift from conventional scheduling methods to a self-decision automated system is imperative. The existing system relies on scheduled time intervals, proving inefficient when only one lane is operational while others remain inactive. To address ABU's gateway challenges, an intelligent traffic control prototype was developed. High density in one lane causes extended waiting times in other lanes beyond the usual allotted periods. To counter this issue, a methodology was devised, assigning green and red light durations based on real-time traffic densities using Infrared (IR) sensors. The Arduino Uno Microcontroller facilitated the allocation of green light periods once density calculations were determined. Sensors monitored vehicle presence, relaying information to the microcontroller, which then dictated signal change durations and flank openness. This paper also elucidates the operational principles of the density-based traffic signal control system, showcasing the prototype's efficacy.

 

Keywords: traffic signal; congestion; microcontroller; Arduino Uno; infrared sensors

 

 


 

 

Creación de un Sistema de Señalización de Tráfico Basado en la Densidad

 

RESUMEN

Este documento presenta un innovador sistema de señalización de tráfico centrado en la densidad, ajustando dinámicamente el tiempo de señalización según el volumen de tráfico en cada intersección. Con la congestión persistente en todos los puntos de entrada de la Universidad Ahmadu Bello (ABU), es imperativo pasar de los métodos convencionales de programación a un sistema automatizado de toma de decisiones propia. El sistema existente se basa en intervalos de tiempo programados, demostrando ser ineficiente cuando solo un carril está operativo mientras que otros permanecen inactivos. Para abordar los desafíos en la entrada de ABU, se desarrolló un prototipo de control de tráfico inteligente. La alta densidad en un carril provoca tiempos de espera prolongados en otros carriles más allá de los períodos habituales asignados. Para contrarrestar este problema, se ideó una metodología que asigna las duraciones de las luces verde y roja según las densidades de tráfico en tiempo real utilizando sensores infrarrojos (IR). El microcontrolador Arduino Uno facilitó la asignación de períodos de luz verde una vez que se calcularon las densidades. Los sensores monitorearon la presencia de vehículos, transmitiendo información al microcontrolador, que luego dictaba las duraciones de cambio de señal y la apertura de flancos. Este documento también aclara los principios operativos del sistema de control de señalización de tráfico basado en la densidad, mostrando la eficacia del prototipo.

 

Palabras clave: señal de tráfico; congestión; microcontrolador; Arduino Uno; sensores infrarrojos

 

 


 

INTRODUCTION

For nearly two centuries, traffic lights have served as crucial signaling devices, orchestrating traffic flow at street intersections, rail crossings, pedestrian walkways, and various locations. The green light authorizes the continuation of traffic, the yellow cautions motorists to prepare for a brief pause, and the red prohibits any further movement. Many countries currently grapple with the adverse effects of traffic congestion, significantly impacting urban transportation systems and causing serious issues. Even with the potential replacement of traffic authorities and flagmen with automated systems, simply repairing overloaded roads proves insufficient to alleviate congestion and time delays.

The continual surge in vehicle numbers and the growing population of road users pose challenges in developing advanced systems with ample resources. Although options like constructing new roads, implementing flyovers, creating ring roads, and rehabilitating existing streets offer partial solutions, the complexity of the traffic problem persists due to multiple factors. Traffic patterns are time-dependent, with peak hours generally occurring in the morning and evening, weekdays exhibiting varying congestion levels, and certain times of the year, such as holidays and summer vacations, impacting traffic flow.

However, contemporary traffic light systems employ hardcoded delays, ensuring consistency in light changes regardless of traffic flow. The third issue revolves around the status of a light at an intersection, affecting traffic at adjacent intersections. Moreover, traditional traffic systems overlook potential accidents, construction-related challenges, and vehicle breakdowns, all of which exacerbate congestion. A crucial concern is also raised regarding the smooth passage of emergency vehicles, such as ambulances, which cross pathways and interact with the traffic system.

To address these challenges, there is a need to enhance and adapt the standard traffic system, comprehending severe congestion, minimizing transportation inconveniences, reducing waiting times and traffic volume, enhancing automotive safety, cutting overall travel times, and maximizing benefits in health, economics, and the environment. This article introduces a straightforward, cost-effective, and continuous traffic light control system aimed at rectifying various shortcomings and improving traffic management. Powered by an Arduino Uno Microcontroller and equipped with infrared sensors monitoring traffic density, the system adjusts lighting sequences as required.

Several studies have explored density-based traffic light signal systems. Reference crafted a traffic light system based on the Arduino Integrated Development Environment (IDE), prioritizing lanes with high-density traffic. Additionally, presented an inventive prototype for a junction road, proposing a density-based traffic signal system with automatic timing adjustments based on monitored traffic density. Another smart traffic system, utilizing Arduino ATMega328 and IR sensors, effectively managed traffic by detecting vehicles on the lane. In, an Arduino Uno was employed to develop a density-based traffic controller system using IR sensors for signal transmission. Reference introduced a technique allocating time periods for green, red, and yellow lights based on real-time traffic density, realized through Arduino Uno and IR sensors. Recently, IoT concepts were integrated for traffic management, prioritizing ambulances in case of issues.

The paper's structure is as follows: Section 1 presents the introduction, Section outlines the methods used in implementing the traffic light system, Section presents the results and discussion of the system, and Section outlines the conclusion.

MATERIALS

This section outlines the techniques employed in implementing the density-based traffic light system.

Arduino Uno Board

The Arduino Uno Board, an open-source microcontroller board based on the microchip ATMega328, serves as the core component. Equipped with various digital and analog input/output (I/O) pins, it interfaces with expansion boards (shields) and circuits. Featuring fourteen digital pins and six analog I/O pins, it is programmed through the Arduino IDE and powered by a 9V external battery or USB cable [20]. An illustration of an Arduino Uno Board can be found in [20].

 

Infrared (IR) Sensors

Comprising components like the Op-amp, a variable resistor, a light-emitting diode (LED), an IR transmitter, and a receiver, the IR sensor operates in the infrared frequency. The transmitter emits infrared light, and the receiver conducts light when illuminated. The IR receiver's photodiode, with a reverse-biased P-N junction semiconductor, registers current flow proportional to absorbed light. The sensor has three pins - O/P, VCC, and GND. O/P provides the output signal to the Arduino Uno, while VCC supplies power. The Arduino GND connects to the sensor's GND [21]. A typical IR sensor is depicted in [21].

Light-Emitting Diode (LED)

An LED, a semiconductor light source used as an indicator lamp in electrical devices, emits visible, ultraviolet, and infrared wavelengths with varying intensities. While early LEDs emitted low-intensity red light, contemporary versions operate within a power range of 30–60 milliwatts [22]. A standard LED is shown in [22].

Resistor

The resistor, a passive component, allows electron flow, precisely dropping applied voltage to limit current along the circuit. Variable resistors or rheostats feature adjustable resistance. A typical resistor diagram is presented in [23].

RESULTS AND DISCUSSION

This section showcases results extracted from the study, spanning from fabrication to testing when assembling components to create the prototype and understand its operational principles.

When operational, the system follows traffic light principles, dividing lanes into A, B, and C. Initially, lights on lane A turn green for 30 seconds, with other lanes displaying red signals. Vehicles from lane A can proceed straight, turn right, or execute a U-turn, as illustrated in


 

 

Figure 1: Lane A Signaling.

 

In Figure 1, following a 30-second interval, the green light on lane A deactivates, and concurrently, the yellow lights on lanes B and C activate.

On lane B, the green lights persist, but after 30 seconds, the yellow lights on lanes A and C activate. This is depicted in Figure 2.

Figure 2: Lane B Signaling

 

In Figure 2, following a 30-second interval, the green light on lane B deactivates, and simultaneously, the yellow lights on lanes C and A illuminate.

On lane C, the green lights persist, but after 30 seconds, the yellow lights on lanes A and B activate. This is illustrated in Figure 3.

 

 

 

Figure 3: Lane C Signaling

 

In Figure 3, after 30 seconds, the green light on lane C deactivates, while the yellow light on lanes B and A illuminates. This cyclic process continues, and simultaneously, vehicle riders observe the red laser light at the front of the stop lane road.

CONCLUSION

The presented density-based traffic light signal system aims to alleviate congestion and traffic jams within the traffic control system. Utilizing IR sensors with a 5 V power supply on the Arduino, this study successfully detected vehicle density in each road lane simultaneously. The design seamlessly integrates hardware components, leveraging both modern integrated circuits and advancing technology. The prototype effectively portrayed the challenging scenario of the T-junction in front of the North gate of Ahmadu Bello University, Zaria, Nigeria. Results indicate a reduction in traffic congestion compared to the fixed traffic signal utilized by previous researchers. Importantly, this technique demonstrates enhanced efficiency and boasts a cost-effective production, making it viable for potential commercial applications. Future research endeavors will concentrate on implementing this concept in a real-world scenario.

BIBLIOGRAPHICAL REFERENCES

Goel, S.; Bush, S.F.; Gershenson, C. Self-Organization in Traffic Lights: Evolution of Signal Control with Advances in Sensors and

Communications. arXiv 2017, arXiv:1708.07188.

Kayalvizhi, S.; Karthik, S. Labview Based Various Sensors Data Acquisition System for Smart City Management. In Proceedings

of the 2023 International Conference on Advances in Computing, Communication and Applied Informatics (ACCAI), Chennai,

India, 25–26 May 2023; pp. 1–5.

Fattah, M.A.; Morshed, S.R.; Kafy, A.-A. Insights into the Socio-Economic Impacts of Traffic Congestion in the Port and Industrial

Areas of Chittagong City, Bangladesh. Transp. Eng. 2022, 9, 100122.

Prakash, N.; Udayakumar, E.; Kumareshan, N. Arduino Based Traffic Congestion Control with Automatic Signal Clearance

for Emergency Vehicles and Stolen Vehicle Detection. In Proceedings of the 2020 International Conference on Computer

Communication and Informatics (ICCCI), Coimbatore, India, 22–24 January 2020; pp. 1–6.

Wei, H.; Zheng, G.; Gayah, V.; Li, Z. A Survey on Traffic Signal Control Methods. arXiv 2019, arXiv:1904.08117.

Smys, D.S.; Basar, D.A.; Wang, D.H. Artificial Neural Network Based Power Management for Smart Street Lighting Systems.

J. Artif. Intell. Capsul. Netw. 2020, 2, 42–52.

Guo, Q.; Li, L.; Ban, X.J. Urban Traffic Signal Control with Connected and Automated Vehicles: A Survey. Transp. Res. Part C

Emerg. Technol. 2019, 101, 313–334.

De Oliveira, L.F.P.; Manera, L.T.; Da Luz, P.D.G. Development of a Smart Traffic Light Control System with Real-Time Monitoring.

IEEE Internet Things J 2020, 8, 3384–3393.

Wang, B.; Han, Y.; Wang, S.; Tian, D.; Cai, M.; Liu, M.; Wang, L. A Review of Intelligent Connected Vehicle Cooperative Driving

Development. Mathematics 2022, 10, 3635.

Desai, V.; Degadwala, S.; Vyas, D. Multi-Categories Vehicle Detection for Urban Traffic Management. In Proceedings of the

2023 Second International Conference on Electronics and Renewable Systems (ICEARS), Tuticorin, India, 2–4 March 2023;

pp. 1486–1490.

Adebiyi, R.F.; Abubilal, K.A.; Mu’azu, M.B.; Adebiyi, B.H. Development and Simulation of Adaptive Traffic Light Controller

Using Artificial Bee Colony Algorithm. Int. J. Intell. Syst. Appl. 2018, 10, 68–74.

Slimani, I.; Zaarane, A.; Atouf, I. Traffic Monitoring System for Vehicle Detection in Day and Night Conditions. Transp. Telecommun.

2023, 24, 256–265.

Desai, K.; Gupta, P. Vehicle-Pedestrian Detection Methods for Urban Traffic Control System: A Survey. NeuroQuantology 2022, 20,496.

Usikalu, M.R.; Okere, A.; Ayanbisi, O.; Adagunodo, T.A.; Babarimisa, I.O. Design and Construction of Density Based Traffic

Control System. In Proceedings of the IOP Conference Series: Earth and Environmental Science; IOP Publishing: Bristol, UK, 2019; Volume 331, p. 012047.

Dzulkefli, N.N.S.N.; Rohafauzi, S.; Jaafar, A.N.; Abdullah, R.; Shafie, R.; Selamat, M.S.; Azman, N.S.; Muhammad, M.Z.Z. Density

Based Traffic System via Ir Sensor. In Proceedings of the Journal of Physics: Conference Series; IOP Publishing: Bristol, UK, 2020; Volume 1529, p. 022061.

Firdous, A.; Niranjan, V. Smart Density Based Traffic Light System. In Proceedings of the 2020 8th International Conference

on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, India, 4–5 June 2020;

pp. 497–500.

Chanda, J. Density Based Traffic Control System Using Arduino. 2021. Available online: https://ssrn.com/abstract=3917889

(accessed on 30 September 2023).

Khan, F.; Shende, A.; Shende, P.; Sahare, R.; Hasan, T.U. Density Based Traffic Signal Control System Using Arduino. Int. Res. J.

Mod. Eng. Technol. Sci. 2022, 885, 882.

Mohandass, M.P.; Kaliraj, I.; Maareeswari, R.; Vimalraj, R. IoT Based Traffic Management System for Emergency Vehicles.

In Proceedings of the 2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS),

Coimbatore, India, 17–18 March 2023; Volume 1, pp. 1755–1759.

Eng. Proc. 2023, 56, 36 6 of 6

Haruna, S.H.; Umar, A.; Haruna, Z.; Ajayi, O.-O.; Zubairu, A.Y.; Rayyan, R. Development of an Autonomous Floor Mopping Robot

Controller Using Android Application. In Proceedings of the 2022 5th Information Technology for Education and Development

(ITED), Abuja, Nigeria, 1–3 November 2022; pp. 1–6.

Patel, D.; Rohilla, Y. Infrared Sensor Based Self–Adaptive Traffic Signal System Using Arduino Board. In Proceedings of the 2020 12th International Conference on Computational Intelligence and Communication Networks (CICN), Bhimtal, India, 25–26

September 2020; pp. 175–181.

Chen, Z.; Sivaparthipan, C.B.; Muthu, B. IoT Based Smart and Intelligent Smart City Energy Optimization. Sustain. Energy Technol.

Assess. 2022, 49, 101724.

Poongodi, M.; Sharma, A.; Hamdi, M.; Maode, M.; Chilamkurti, N. Smart Healthcare in Smart Cities: Wireless Patient Monitoring

System Using IoT. J. Supercomput. 2021, 77, 12230–12255.