Automated Traffic Signal For Hassle Free Movement of Ambulance

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/274951817

Automated Traffic Signal for Hassle Free Movement of Ambulance

Conference Paper · March 2015


DOI: 10.1109/ICECCT.2015.7226114

CITATIONS READS

2 1,271

3 authors, including:

Vasuki Shankar
Robert Bosch GmbH, Bangalore
3 PUBLICATIONS   17 CITATIONS   

SEE PROFILE

All content following this page was uploaded by Vasuki Shankar on 14 April 2015.

The user has requested enhancement of the downloaded file.


Automated Traffic Signal for Hassle Free Movement
of Ambulance
Vasuki Shankar*, Ruthvik Gautham, Vedaprakashvarma
Dept. of Electronics and Communication,
BNM Institute of Technology,
Bangalore, India
*vasukishankar118@yahoo.com

Abstract—Each traffic signal is a process which needs to be are obtained using the count of Radio Frequency Identification
scheduled at a time to completion , thus following non preemptive (RFID) tags fitted in vehicles.
scheduling. In static traffic systems each traffic signal is provided When ambulance is T seconds away, a non preemptive
with a fixed amount of 'green' time, thus compelling the
scheduling of each path occurs according to the proposed
Emergency Medical vehicle to wait till the corresponding traffic
signal gets 'green' and the accumulated vehicles starts to move, algorithm, so that the path of the ambulance is green, just
thus wasting valuable time. We through the paper like to propose before its arrival. Scheduling refers to provision of resource to
an alternative solution for hassle free movement of ambulance by a process, here providing Green time to a particular traffic
introducing a Dynamic traffic signal using traffic density signal.
measurements, in which the traffic signal flow is modeled as non This is done by constantly monitoring the traffic densities on
preemptive scheduling of processes to which the sole resource each path using RFID readers [2][4], preconditioned all the
'Time' is allocated effectively so as to felicitate hassle free vehicles are assumed to be fitted with RFID tags [3].
movement of ambulance. The traffic densities are measured
Radio-frequency identification is the transferring of
using Radio-frequency Identification readers that provide a
count of vehicles, which are fitted with Radio-frequency electronically stored information using radio-frequency
identification tags. The distributed server uses a microcontroller electromagnetic fields through wireless and non-contact media.
to perform the computations based on the proposed algorithm. Thus enabling automatic detection and identification RFID tags
attached to host objects. RFID tags are broadly classified into
Probability of saving lives is staggeringly more during golden Passive tags and Active tags. Passive tags are powered by
hour. Keeping this in mind our project aims at providing ample external magnetic field and Active tags use a localized energy
amount of time for ambulance to not only pass the signal without source like batteries and may have a larger range of operation.
hindrance but allows for smooth traffic movement in other roads Unlike an Infrared transceiver or barcode, the tags need not be
joining a junction.
in the line of sight of the reader [9].
Index terms—Non preemptive scheduling, RFID readers and
tags, Traffic density, GPS.

I. INTRODUCTION
We believe in the motto that saving lives is better than
anything else. One way to accomplish hassle free movement of
the ambulance is to stop the traffic flow in all other paths
except the one carrying the ambulance [1], which causes
inconvenience to other commuters by increasing traffic pile-up
in other paths joining the Traffic signal junction. The proposed
method aims to prevent this inspite of providing hassle free
movement to the ambulance.
Global Positioning System (GPS) is used to track the
Ambulance (Figure-1). The uniqueness is that the signal is not
made green as soon as ambulance is detected before the
junction. But the functioning of signal continues with different
set of timings taking into account the time (T) required to reach
the traffic signal by knowing the velocity and the distance it
has to travel. The set of timings is in turn governed by the Fig-1, The basic Block diagram representation of the proposed method
value of 'k', the traffic density values ranging from 0 to 1, that
Global Positioning System (GPS) is a conglomeration of The traffic density ‘ki ’ is rated from 0 to 1 (minimum to
satellites in the lower Earth orbit, which continuously maximum) by the system and corresponding weights : k1, k2, k3
broadcast signals that provides three dimensional location, and k4 are assigned to the paths P1, P2, P3, and P4 respectively.
which is altitude, latitude and longitude along with time. GPS As T-20 is large compared to the Green signal duration of each
receivers provide reliable positioning, navigation and timing path, the Traffic signals must complete more than one full
services to worldwide users on a continuous basis irrespective cycle before the ambulance arrives at P4 as described.
of weather, day and night, anywhere on or near the Earth. The
output is serial data of 9600 baud rate which is standard
NMEA 0183 v3.0 protocol offering industry standard data
message and a command set for easy interface to mapping
software and embedded devices [2].

All the above calculations are done in the microcontroller


based distributed/localized server placed in each traffic signal
junction, eliminating the need for a centralized server.
The Ambulance detection is done as follows. The ambulance’s
position (D) and velocity (V) is continuously monitored using
GPS module placed in the ambulance. When the ambulance is
a few minutes (say 5 minutes) away from the traffic signal an
interrupt is raised in the distributed server aboard the upcoming
traffic signal along with the calculation of the ambulance’s
arrival time, T as follows,

dT = dD / V Fig-2, Control of the traffic signal flow

Which is communicated to the traffic signal. Note that the Two time sharing models are developed, without and with
arrival time, T is a variable which is updated after every Green Traffic density (ki) consideration, using the sequence of flow
signal run. This results in a series of calculations by the generated in the first model, latter is developed. The value of T
localized server based on the proposed algorithm, taking into is assumed at 300 seconds and T-20 seconds is equally divided
account the traffic density, the ambulances arrival and the between each path in the method below.
waiting commuters. A design of time flow for the traffic
signals has been devised to provide ’traffic free path’ to the CASE-1 : Excluding the Traffic Density (ki)
ambulance without affecting the commuters waiting time at the
signal. If the Ambulance is detected when,
1 The Initial condition- P2 will be Green for the next
II. PROPOSED METHOD 15s. The time is divided in the sequence
Consider four roads - P1, P2, P3 and P4 meeting at a P3,P4,P1,P2,P3 finally P4 when the ambulance
junction with each road having a traffic signal pole (Figure-2). arrives at it. Providing t = 53 seconds of Green
Let the time of Green signal be ' t ' seconds. Thus no signal to each path.
commuter waits for more than 3 t seconds. Let the ambulance 2 The Initial condition- P1 will be Green for the next
arrive from P4. The interrupt in the local server is raised by the 15s. The time is divided in the sequence
on board GPS system when the ambulance is ‘ T ’ seconds P2,P3,P4,P1,P2,P3 finally P4 when the ambulance
away from the traffic signal of P4. T is calculated as the ratio arrives at it. Providing t = 44 seconds of Green
of its distance, D from the traffic signal junction and the signal to each path.
instantaneous velocity of the ambulance, V m/s. Let D be a 3 The Initial condition- P3 will be Green for the next
constant, say 1.5 kilometer, with the velocity V m/s being a 15s. The time is divided in the sequence
variable, resulting in a variable T. Whose best value is P4,P1,P2,P3,P4,P1,P2,P3 finally P4 when the
continuously transmitted to local server. The stretch ‘m’ (about ambulance arrives at it. Providing t = 33 seconds of
100 meters) near the traffic signal mostly remains jammed. Green signal to each path.
Thus the signal must be Green at least 20 seconds before the 4 The Initial condition- P4 will be Green for the next
arrival of the ambulance, m meters from the signal (reduce 20 15s. The time is divided in the sequence
seconds from T). The ambulance is given 15 seconds to cross P1,P2,P3,P4,P1,P2,P3 finally P4 when the ambulance
m meters and an additional 15 seconds is given for arrives at it. Providing t = 38 seconds of Green
unforeseeable delay. The time ‘T-20’ is to be divided rightly signal to each path.
between P1, P2, P3 and P4 so that the ambulance is always
provided a traffic free path at P4. CASE-2 : Including the Traffic Density (ki)
In the above method the values of Green time (t) are calculated. The value of T is updated by the microcontroller after every
But the traffic density value, ki must be mapped rightly to traffic signal run, thus noticeable changes in velocity and
include traffic densities of each path and correspondingly distance covered by the Ambulance, in other than the
changing the durations of Green time at each signal. The value predictable manner will lead to scheduling with newer T. And
of ki received from the RFID module is scaled between 0 and 1 hence different values of Green signal timings for each signal.
due to which t ki is never greater than t, in spite of a higher
traffic density. Thus ki must be mapped using X,Y,Z and W to ii) When more than one Ambulance arrives at the junction
include traffic densities of each path and correspondingly
changing the duration of Green signal time at each traffic If the arriving Ambulances are separated by a greater duration
signal. To successfully map it, the following policy must be of time the above proposed algorithm can be implemented
followed, individually, In rarer cases the Ambulances arrive from
 In the sequence, for the first four traffic signal runs different directions towards the junction at closer time
map ki using X (referring to Eq .1) and differences the method used in [2] can be implemented for the
 In the remaining traffic signal runs in the sequence second or further Ambulances keeping traffic densities in
map ki using Y (referring to Eq .2), if three terms are mind. For Ambulances arriving from the same direction the
left or using Z (referring to Eq .3), if two terms are first arrival can be accounted for using the proposed Algorithm
left or using W (referring to Eq .4), if one term is left. and the successive Ambulances can be accounted for keeping
in mind the traffic densities.
Satisfying the equations,
IV. RESULTS
(1)
Ambulance arrives from P4, with Initial Condition, A=15
Sum any three terms of ki, : seconds. Gr represents this initial Green Signal in progress.
Traffic density values are k1=0.1 , k2= 0.9, k3=0.4 and k4=0.7
etc (2) The Path of arrival of Ambulance, P4 is always given 60
seconds of Green Time for the ambulance to pass. The time
duration in each Traffic signal is found as, Pi = t * (ki + X), if
Sum of any two terms of ki :
Pi is in the first Four traffic signal runs. Pi = t *(ki + Y), if Pi is
(3)
in the next 3 traffic signal runs i.e the 5 th ,6th and 7th traffic
etc
signal run. Pi = t *(ki + Z), if Pi is in the next 2 traffic signal
runs i.e the 5th and 6th term. Pi = t *(ki + W), if Pi is in the next
Any one term of ki : traffic signal run i.e the 5th term. X, Y, Z and W are found from
Equation-1 to Equation-4.
etc (4)
And, TABLE I.

TIME P1 P2 P3 P4 P1 P2 P3 P4 P1 P2 P3 P4 Sum
(s)
CASE1
(5)
‘n’ takes the value 1, 2, 3, 4, 1, 2, 3, 4, 1… . ‘A’ is the Initial 165 Gr 38 24 32 16 34 21 60 165

Green time elapsed in a particular signal at the Instant of 265 Gr 61 37 52 23 55 33 60 261


Ambulance detection. ‘ki' is the traffic density weights (0 to 1) 315 Gr 72 46 62 30 66 39 60 315
and ‘t’ is the time divided to each signal and T-20 is the time 365 Gr 84 53 71 35 76 46 60 365
required to be divided. For instance, the Interrupt from GPS on
415 Gr 57 36 49 24 57 36 49 24 52 31 60 415
board the ambulance arrives when the signal at P1 is Green.
CASE2
The time left for the arrival of ambulance at m meters from the
signal of P4 is T-20 seconds. Hence the time of Green signal 165 Gr 29 39 19 45 33 60 165
provided to the Traffic signal is (referring to Eq. 5 and the 265 Gr 46 62 30 73 53 60 264
sequence generated in CASE-1), 315 Gr 55 74 36 87 63 60 315
Pi = t * (ki + X), if Pi is in the first Four traffic signal runs. 365 Gr 64 86 42 99 73 60 364
Pi = t *(ki + Y), if Pi is in the next 3 traffic signal runs i.e the
415 Gr 40 54 26 63 40 54 26 63 46 60 412
5th ,6th and 7th traffic signal run. Pi = t *(ki + Z), if Pi is in the
CASE3
next 2 traffic signal runs i.e the 5 th and 6th term. Pi = t *(ki +
W), if Pi is in the next traffic signal run i.e the 5th term. 165 Gr 24 12 28 18 23 11 28 17 60 161
265 Gr 39 19 46 29 38 18 44 33 60 266
III. EXCEPTIONAL CASES
315 Gr 46 23 54 34 45 21 52 39 60 314
i) Ambulance breakdown or Localized traffic jams 365 Gr 54 26 63 40 52 24 61 46 60 366
415 Gr 61 30 71 45 61 30 71 45 60 414
CASE4
165 14 32 21 28 15 34 22 60 166
265 22 52 33 45 24 54 35 60 265
315 26 62 39 53 28 64 42 60 314
365 30 72 46 61 33 75 49 60 366
415 22 52 33 44 22 52 33 44 24 54 35 60 415
TABLE-1, The various values of Green signal time calculated based on the proposed algorithm

V. CONCLUSION
In developing countries, especially in the South-East Asian
economies, traffic congestions pose a severe problem to
Emergency Medical Services, causing permanent damage to
the patients inside. Most of the traffic signals are static in
nature pressing an urgent need to modify the traffic signals
accordingly. We have proposed an algorithm that can provide
hassle free movement to EMS by not altering the waiting
period of the commuters in other paths. Our System requires
RFID tags to be implemented in every vehicle that can also be
used to store multitudes of data pertaining to the automobile.
REFERENCES
[1] Vishakha S.Thakare, Snehal R.Jadhav, Sananaj G.Sayyed and Poonam
V. Pawar, “Design of smart traffic light controller using embedded
system,” in IOSR Journal of Computer Engineering (IOSR-JCE)
Volume 10, Issue 1 (Mar.-Apr. 2013), PP 30-33.
[2] Gajanan P. Dhok and Sarika B. Kale, “Embedded system for intelligent
ambulance and traffic control management,” International Journal of
Computer and Electronics Research Volume 2, Issue 2, April 2013.
[3] Rajat & Nirbhay Kumar (2007), “RFID Resolution: Your cars will be
tagged”, The Economics Times, 25 September.
[4] Salama, A.S, Saleh, B.K, Eassa M.M, “Intelligent cross road traffic
management system”, 2nd International Conference on Computer
Technology and Development (ICCTD), Page(s): 27 - 31 , 2-4 Nov.
2010.
[5] Faisal A. Al-Nasser , Hosam Rowaihy, “Simulation of Dynamic Traffic
control system based on Wireless sensor network”, IEEE Symposium on
Computers & Informatics 2011, pp 40-45.
[6] Wu WEI, YI Zhang and Jean Bosco, “Traffic Signal Control Using
Fuzzy Logic and Moga”, IEEE -SMC, 2001.
[7] Amnesh Goel, Sukanya Ray, Nidhi Chandra, “Intelligent traffic light
system to prioritized emergency purpose vehicles based on wireless
sensor network”, nternational Journal of Computer Applications (0975–
8887)Volume 40–No.12,February 2012.
[8] S.S Chavan, J.G Rana, R.S Deshpande, “Design of intelligent traffic
light controller using embedded system”, 2nd International Conference
on Emerging Trends in Engineering and Technology (ICETET), 2009,
pp.1086 – 1091.
[9] Radio Frequency Identification- Wikipedia, the free Encyclopedia

View publication stats

You might also like