You are on page 1of 13

Wireless Netw

DOI 10.1007/s11276-017-1482-5

An efficient dynamic traffic light scheduling algorithm considering


emergency vehicles for intelligent transportation systems
Maram Bani Younes1 • Azzedine Boukerche2

Ó Springer Science+Business Media New York 2017

Abstract Traffic lights have been installed throughout approaching the signalized intersection to pass smoothly.
road networks to control competing traffic flows at road Furthermore, scenarios in which multiple emergency
intersections. These traffic lights are primarily intended to vehicles approach the signalized intersection have been
enhance vehicle safety while crossing road intersections, investigated to select the most efficient and suit-
by scheduling conflicting traffic flows. However, traffic able schedule. Finally, an extensive set of experiments
lights decrease vehicles’ efficiency over road networks. have been utilized to evaluate the performance of the
This reduction occurs because vehicles must wait for the proposed algorithm.
green phase of the traffic light to pass through the inter-
section. The reduction in traffic efficiency becomes more Keywords Road network  Vehicular network 
severe in the presence of emergency vehicles. Emergency Emergency vehicle  Traffic light phases  Traffic light
vehicles always take priority over all other vehicles when scheduling
proceeding through any signalized road intersection, even
during the red phase of the traffic light. Inexperienced or
careless drivers may cause an accident if they take inap- 1 Introduction
propriate action during these scenarios. In this paper, we
aim to design a dynamic and efficient traffic light Traffic light systems have incorporated increasingly intel-
scheduling algorithm that adjusts the best green phase time ligent technology in recent years; the phases of each traffic
of each traffic flow, based on the real-time traffic distri- light can now be scheduled based on the real-time traffic
bution around the signalized road intersection. This pro- distribution over the road network. Several algorithms have
posed algorithm has also considered the presence of been designed to efficiently control the schedule of the
emergency vehicles, allowing them to pass through the traffic light phases [1–3]. These algorithms consider the
signalized intersection as soon as possible. The phases of expected arrival time to the signalized intersection [1] or
each traffic light are set to allow any emergency vehicle the density of competing traffic flows [2, 3, 4]. Most of the
previous algorithms have ignored emergency vehicles,
This work is partially supported by NSERC DIVA Strategic Research while scheduling the phases of the intelligent traffic light.
Network, CREAT-TRANSIT Network, Canada Research Chairs In global driving rules, emergency vehicles should be
Program and Philadelphia University, Jordan. treated differently over the road network; drivers are
expected to clear the road in a cooperative manner for these
& Maram Bani Younes
mbani047@EECS.uottawa.ca
vehicles. This action is necessary due to the critical mission
of these vehicles, which save peoples’ lives and stop cir-
Azzedine Boukerche
boukerch@EECS.uottawa.ca
cumstances of disaster. However, depending on the driver,
cooperation is not always a reliable solution for dealing
1
Philadelphia University, Amman, Jordan with these scenarios. Hazardous situations could arise in
2
PARADISE Research Laboratory, DIVA Strategic Research the event that less expert or careless drivers respond with
Center, University of Ottawa, Ottawa, Canada panic to the sudden appearance of emergency vehicles.

123
Wireless Netw

Furthermore, these days most drivers keep windows emergency vehicles: fire trucks, police vehicles and
closed at all times, and most cars have a stereo or radio that ambulances. The highest priority is assigned to ambu-
may prevent the driver from hearing the emergency vehicle lances, while the lowest priority is assigned to police
sirens. This causes a lack of awareness that may create a vehicles. Moreover, the distance between each emergency
serious dangerous situation, especially at signalized road vehicle and the signalized intersection is used to determine
intersections. Drivers will follow the green phase of the the schedule of the located traffic light.
traffic light when they should clear the intersection in front of The rest of this paper is organized as follows: in Sect. 2,
the emergency vehicle, and this may cause a fatal accident. we investigate previous intelligent traffic light scheduling
On the other hand, in the event that the traffic light is located algorithms. Section 3 presents the details of the proposed
close to the targeted emergency location, several emergency dynamic traffic light scheduling algorithm, which sets the
vehicles targeting the same emergency case location may phases of the traffic light according to the traffic distribu-
appear from different traffic flows. Even expert drivers will tion over the road network. In Sect. 4, we present the
panic in this scenario, because they do not know which enhanced scheduling algorithm, which considers the exis-
vehicle should travel through the intersection first. Drivers tence of an emergency vehicle in the competing flows at
hear the same alarm sound coming from all emergency the signalized intersection. Scenarios in which two or more
vehicles in the area, which means some of them will not be emergency vehicles appear in the competing flows around
aware of the existence of the multi-emergency vehicles. the signalized intersection at the same time are handled in
Thus, drivers will make decisions without having a complete Sect. 5. The performance of the proposed algorithm is
vision of the traffic distribution and the presence of emer- evaluated for different considered conditions in Sect. 6.
gency vehicles at the signalized intersection. Due to the Finally, we conclude the paper in Sect. 7.
aforementioned situations, a high percentage of traffic
accidents have involved emergency vehicles all over the
world [5]. Most fatal accidents have occurred at road inter- 2 Related work
sections where several traffic flows attempted to pass through
an intersection in a conflicted manner [6]. Several research studies have investigated the problem of
In this paper, we aim to design a dynamic traffic light traffic light scheduling. These studies aim to enhance traffic
scheduling algorithm that considers the presence of one or efficiency over the road network, and decrease the waiting
more emergency vehicles over the road network. This has delay time of vehicles at the signalized road intersections.
been introduced in three main phases. The first phase Many researchers have been inspired by intelligent com-
considers designing a dynamic traffic light scheduling puter technology and algorithms to produce an intelligent
algorithm that sets the phases of each traffic light cycle self-scheduling traffic light algorithm. For example,
based on the traffic distribution of competing traffic flows. vehicular ad-hoc networks and sensor networks have been
The real-time traffic characteristics of each traffic flow is utilized to gather and aggregate the real-time traffic
evaluated using cooperative communication among trav- information of competing traffic flows at each road inter-
eling vehicles. Then, the highest-density competing traffic section [1–3, 7–10, 11]. On the other hand, artificial
flow is scheduled to pass the signalized intersection first, intelligence mechanisms have been used to schedule the
coupled with another non-conflictive flow. Second, we phases of the installed traffic lights. These mechanisms
enhance the algorithm to efficiently consider and schedule include Fuzzy Logic [12, 13], Genetic algorithm [14, 15]
any appeared emergency vehicle. The enhanced algorithm and Oldest Job First algorithm [1, 16], to mention a few. In
allows the emergency vehicle to pass the signalized the rest of this section, we review previous studies that
intersection quickly and safely. This occurs as a result of have introduced self-scheduling traffic light algorithms.
assigning a higher priority to the traffic flow that con- Pandit et al. [1] introduced a two-phase approach called
taining an emergency vehicle. Thus, each emergency Oldest Arrival First (OAF) algorithm. In the first phase, the
vehicle that appears is scheduled to pass the signalized control of vehicular traffic lights was formalized as a job
intersection quickly. scheduling algorithm on processors, in which jobs were
Furthermore, we have considered the scenario in which represented by a platoon of vehicles. In this phase, the
two or more emergency vehicles appear at the competing paper proposed an on-line algorithm, known as Oldest Job
flows of the signalized intersection. The phases of the First algorithm, to decrease the waiting delay of traveling
traffic light cycle are set in this scenario to consider all the vehicles. The second phase of OAF was represented by a
emergency vehicles. The priority among different emer- demonstration of how to use the vehicular ad-hoc network
gency vehicles is set based on each vehicle’s type (i.e., (VANET) technology to group vehicles into platoons. The
mission), location, speed and targeted destination. In order OAF algorithm reduces the waiting delay of vehicles
to set the vehicle priority, we investigate three types of passing through the signalized intersection, compared with

123
Wireless Netw

vehicle-actuated methods, the Webster algorithm, and pre-


timed signal control algorithms.
Moreover, an intelligent traffic light controlling (ITLC)
algorithm is proposed in our previous work [3]. This
algorithm also uses VANET technology to gather the real-
time traffic characteristics of each competing traffic flow
at isolated traffic light road intersections. These traffic
characteristics are considered while setting the sequence
of phases and the time of each phase in the traffic light
timing cycle. In ITLC, the most dense traffic flow is
scheduled to cross the signalized intersection first.
Moreover, the time of each phase is set based on the
location and speed of the last vehicle that is expected to
cross the signalized intersection during the scheduled
phase. The ITLC algorithm has demonstrated a good
performance in terms of decreasing the waiting delay time
of traveling vehicles and increasing the throughput of the
signalized intersections.
Wireless sensor networks (WSN) have been also used
for dynamic traffic management of signalized road inter-
sections [9, 10, 17]. Colletta et al. [17] proposed a WSN
architecture with multi-level traffic flow controlling. A
scheduling algorithm has been used in this architecture to
manage the road intersection efficiently. This algorithm
uses the gathered traffic data by WNS to set the phase
sequences and the duration of the green signal dynamically
for each isolated traffic light. Using this algorithm, it is
possible to obtain a better management of isolated traffic
light junctions. Moreover, the algorithm is suitable for
intersections affected by irregular traffic flows that vary
throughout the day on all approaches.
The Fuzzy Logic approach has also been used to solve
the traffic light scheduling problem [12, 13]. Azimirad
et al. [13] proposed a fuzzy model and a fuzzy logic con-
troller for isolated traffic lights. This work applied some
state-space equations to formulate the waiting delay time of
Fig. 1 Four-legs signalized road intersection and the possible pair-
vehicles on signalized road intersections. The proposed
flow scheduling phases
fuzzy traffic controller optimally controls traffic flows,
while considering exceptional traffic conditions. Results
show that the performance of the proposed traffic controller emissions [19] on the atmosphere. Controlling the traffic
at novel fuzzy model is better than previous conventional light phases helps increase throughput [20], enhance the
fuzzy traffic controllers. efficiency of each traffic flow in these studies, and decrease
Henrique et al. [14] optimized the traffic flow of urban collisions at that location [21]. Bellavista et al. [22], have
areas using the Genetic algorithm. This work was intended proposed traffic evaluation protocol designed primarily to
to obtain the most appropriate traffic light timing schedule determine the traffic characteristics in close proximity to
of each located traffic light on the road network. The intersections. This work was intended mainly to offer
Genetic algorithm uses a high level Petri net model of the concise monitoring indicators to optimize traffic light
urban traffic flow fitness function. This work decreases the management. From the obtained results, they have proved
estimated arrival time of traveling vehicles, as concluded that this protocol works successfully even with a limited
from the experimental tests. penetration rate of vehicles.
Furthermore, several recent studies have used the As we can see, several mechanisms and approaches have
VANET technology to study the effect of traffic light been applied to solve the traffic light scheduling problem.
controlling systems on fuel consumption [18] and gas Many parameters have been considered, including real-

123
Wireless Netw

Fig. 2 The distances where vehicles can pass the signalized intersection during the MAX-GREEN and BEST-GREEN times. a The BEST-
GREEN is same as the MAX-GREEN. b The BEST-GREEN is less than the MAX-GREEN. c The BEST-GREEN is zero

time traffic characteristics, the shapes of the signalized and sequence of phases could be set differently from one
intersections, accidents or road block scenarios, etc. To the cycle to another; similarly, the scheduled time of the
best of our knowledge, none of the previous studies have configured phases could be set differently during each
considered the context of traveling vehicles in terms of the cycle. Our algorithm is mainly intended to schedule the
existence of emergency vehicles. However, this is an phases of the next traffic light cycle. Considering the typ-
extreme scenario that can cause serious problems, partic- ical four-way signalized road intersection scenario, each
ularly for careless and inexperienced drivers. In the rest of phase presents a pair of synchronous flows (i.e., pair-flow).
this paper, we introduce a context-aware traffic light Figure 1 illustrates a typical four-way road intersec-
scheduling algorithm that considers the existence of tion. The upper part of Fig. 1 shows the flow phases, while
emergency vehicles over the competing traffic flows at any the lower part illustrates all the possible pair-flow phases.
signalized road intersection. In order to schedule the flows of the located traffic light,
four out of these eight pair-flow phases are selected at each
traffic light cycle.
3 Dynamic scheduling algorithm of traffic lights At any road intersection, several traffic flows are in
conflict and traffic lights are in place to guarantee efficient
In any traffic light scheduling algorithm, the schedule and safe scheduling for vehicles. For example, at the four-
should be set to allow all competing traffic flows to fairly leg road intersection, any vehicle in a given leg (e.g., road
and safely cross the signalized road intersection. At each segment) can pass the intersection in three ways: straight,
phase, multiple traffic flows that are not in conflict are right turn, left turn. Thus, 12 different flows should be
scheduled to cross the intersection simultaneously. The configured there. However, we assume that the right turn is
sequence of phases are scheduled periodically as succes- always open, and vehicles can turn right without conflicting
sive traffic light cycles. with any other traffic flow. Then, only eight traffic flows
In this section, we present the details of our proposed could be in conflict and require a schedule at the four-leg
traffic light scheduling algorithm. The phases of each cycle road intersection. We assign a certain number to each
are dynamically set to allow vehicles to pass through the competing traffic flow on the signalized intersection, with
signalized intersection safely and efficiently. The number the main intention of distinguishing that flow. Moreover,

123
Wireless Netw

these numbers facilitate determining the conflicted flows to reduce the wasted time, while scheduling the phases of
and the non-conflicted flows. In our algorithm, all straight each traffic light cycle. First, the BEST-GREEN time is
flows are assigned even numbers (i.e., 2, 4, 6, 8) while left investigated separately for each traffic flow, based on the
turn flows are assigned odd numbers (i.e., 1, 3, 5, 7), as traffic distribution over that road segment, as illustrated in
illustrated in Fig. 1. Fig. 2. The longest time between the paired flows is then
At each cycle of the traffic light, a certain period of time selected for the configured phase. Using the average traffic
is assigned to each configured phase. This scheduled time speed, the number of vehicles that can pass the intersection
varies between zero seconds for empty flows, and MAX- through the MAX-GREEN time could be detected based on
GREEN seconds for highly dense flows. The MAX- the traffic distribution on the selected pair-flows. The
GREEN value represents the maximum amount of time BEST-GREEN time is equal to or less than the MAX-
that can be assigned to any phase to guarantee fair sharing GREEN time; it is defined as the time required to allow the
of the signalized intersection among all competing traffic last vehicle to pass the intersection. This can be computed
flows. In this paper, we consider this parameter as a fixed using the location of the last vehicle in the traffic flow and
value, since we assume that all traffic flows within the the speed of traffic. Equation 2 computes the BEST-
signalized intersection are major arterial flows. The BEST- GREEN time of each traffic flow.
GREEN time for each phase is selected based on the traffic BEST  GREEN ¼ LVDistance =TSpeed ð2Þ
distribution over the traffic flows of the selected phase,
according to Eq. 1. Section 3.1 illustrates the details of where LVDistance is the distance between the last vehicle
configuring the BEST-GREEN time of each phase. over the traffic flow inside the MAX-GREEN area and the
signalized intersection. TSpeed is the traffic speed of the
Zero\ ¼ BEST  GREEN\ ¼ MAX  GREEN ð1Þ
traffic flow.
3.1 BEST-GREEN time configuration
3.2 The scheduling algorithm
In scenarios when the MAX-GREEN time is scheduled for
a certain phase, most vehicles pass early and the intersec- The first step in the scheduling algorithm is to set the
tion remains empty for a certain period of time, before MAX-GREEN value; then, based on the traffic speed
allowing the next phase to start. However, in highly dense (TSpeed) of each flow, the farthest distance that moving
traffic flow scenarios, vehicles keep crossing the signalized vehicles can traverse past the intersection during this
intersection during the entire period of the MAX-GREEN MAX-GREEN time is determined (DGREEN), as shown in
time. In this work, we investigate the BEST-GREEN time Eq. 3.

123
Wireless Netw

Algorithm 2: Schedule (p,q) Function

Data: P and q are the two synchronous flows in the scheduled phase.

1 if p.BESTGREEN > q.BESTGREEN then

2 < p,q >.BEST-GREEN = p.BESTGREEN;


3 else

4 < p,q >.BEST-GREEN = q.BESTGREEN;


5 end
6 Scheduled [p] = true;
7 Scheduled [q] = true;

DGREEN ¼ MAX  GREEN  TSpeed ð3Þ the intersection with the Paired flow during this cycle. For
example, in Fig. 1, if the flow ‘‘1’’ is selected as the highest
After the distance is calculated, phases of each traffic density flow, then the flow ‘‘6’’ is denser at DGREEN area
light cycle are selected, and the best time of each phase is than flow ‘‘5’’. Thus, the phase that contains flow ‘‘1’’ and
scheduled. Each scheduled phase should permit two syn- flow ‘‘6’’ \1, 6[ is scheduled, and the flow ‘‘5’’ is marked
chronous traffic flows\P,Q[to cross the intersection during as a Paired flow with flow ‘‘2’’. This means that at any
the scheduled period of time (i.e., BEST-GREEN). The point during that traffic light cycle, flow ‘‘2’’ or flow ‘‘6’’
sequence of phases is selected based on the density of each are selected as the highest density flow, and there is no
traffic flow. The unscheduled traffic flow with the highest need to check and choose between the synchronous flows,
traffic density is selected in the first scheduling phase. Each because in that case the phase \2,6[ should be scheduled.
traffic flow can cross the intersection simultaneously with Algorithm 3 illustrates how to determine the Paired flows
one of two non-conflictive flows (i.e., Un - Con[i][1] and after scheduling a certain phase at each traffic light cycle.
Un - Con[i][2]). Algorithm 1 determines the possible syn- The details of the main scheduling algorithm are illus-
chronous traffic flows, according to the assumed numbers trated systematically in Algorithm 4 for each phase selec-
in Fig. 1. The synchronous flow with the highest traffic tion. These steps are executed repeatedly, until all flows are
density inside the DGREEN area is chosen at that scheduled marked as Scheduled in that traffic light cycle. After that,
phase. the next cycle of the traffic light may be configured, all
The BEST-GREEN time for the selected pair of flows is competing flows are reset as unscheduled, and the new
set as explained in Sect. 3.1, where the longest BEST- traffic distribution is configured over the competing traffic
GREEN time between the scheduled pair of flows is chosen flows. In the scenario in which both scheduled traffic flows
(Algorithm 2, lines 1–5). Then, both selected flows of the have no potential vehicles for crossing the intersection
phase are marked as Scheduled (Algorithm 2, lines 6 and within the MAX-GREEN time, the BEST-GREEN time is
7). In this case, the other synchronous flow is marked as set to zero, which indicates that the flow-pair in that traffic
Paired flow, which means that only one flow is left to pass light cycle must be skipped.

123
Wireless Netw

4 The enhanced scheduling algorithm where DEV is the distance between the emergency vehicle
and the signalized intersection, and SEV is the speed of the
In this section, we enhance the traffic light scheduling emergency vehicle. If the emergency vehicle can pass the
algorithm presented in Sect. 3 to consider scenarios in signalized intersection during the next cycle of the traffic
which an emergency vehicle appears in one of the com- light schedule, it is considered close to the intersec-
peting flows at the signalized intersection. The existence tion. Otherwise, the emergency vehicle is considered far
of the emergency vehicle is reported to the traffic light as from the intersection (Algorithm 5, line 3).
soon as it appears, using the vehicular communication EATEV ¼ DEV=SEV ð4Þ
technology. This report includes the emergency vehicle
type, location, speed and targeted destination. The In the event that the emergency vehicle is close, the
scheduling algorithm first uses the reported information to traffic flow containing that emergency vehicle should
measure the distance between the emergency vehicle and have the highest priority for crossing the intersection
the signalized intersection. It also uses this report to during the next cycle. The other phases are scheduled
determine if that vehicle can pass through that intersec- according to the traffic density of the competing flows,
tion (Algorithm 5, line 1). This is determined based on as explained in (Algorithm 5, lines 4 and 5.). For
the expected arrival time of the emergency vehicle to the emergency vehicles far away, the scheduling algorithm
signalized intersection, and based on the average length of first examines the traffic density of the area between the
traffic light cycle time. The estimated arrival time of the emergency vehicle and the signalized intersection
emergency vehicle (EATEV) is computed using Eq. 4, (Algorithm 5, line 7).

123
Wireless Netw

Algorithm 5: The Enhanced Scheduling Algorithm


Data: EVR: emergency vehicle report; DEV : distance between the emergency vehicle and the signalized intersection; EATEV : estimated arrival time of the emergency vehicle to
signalized intersection; Ctime: the traffic light cycle time; TFEV : the traffic flow that contains the emergency vehicle; TDDEV : the traffic density of the area between the
emergency vehicle and the signalized road intersection.

1 Upon receiving the EVR, the DEV is computed;


2 The EATEV is computed using Equation 4;

3 if EATEV < Ctime then


4The TFEV is the scheduled to pass the signalized intersection first;
5The other phases are scheduled according Algorithm 4;
6 else

7 Compute TDDEV ;

8 if TDDEV is high then

9The scheduled time of TFEV is increased;


10 else
11TFEV is scheduled during the following cycles of the traffic light;
12 end
13 end

If the traffic density is light in this area, that means the emergency vehicle may exceed the MAX-GREEN time
emergency vehicle can move smoothly over the road, and defined in Sect. 3.1.
other vehicles can cooperatively allow it to reach the sig-
nalized intersection as soon as possible. Thus, the
scheduling algorithm should schedule the phases of the 5 The scenarios of scheduling several emergency
next traffic light cycle according to Algorithm 4. Later, the vehicles at the same cycle
algorithm considers the existence of the emergency vehicle
with the highest priority in the following cycles, according In this section, we tackle the scenarios in which several
to its expected arrival time (Algorithm 5, line 11). emergency vehicles aim to cross the same signalized
On the other hand, if the area between the emergency intersection. The phases of the traffic light cycle are set
vehicle and the signalized intersection is highly congested, considering the location of the emergency vehicle and
the emergency vehicle could be delayed before arriving at traffic distribution of the competing flows at that signalized
the signalized intersection due to the density of the sur- intersection, as presented in Sect. 4. In the event that more
rounding traffic. The scheduling algorithm should extend than one emergency vehicle arrives at the intersection at
the scheduled time of the traffic flow that contains the the same time, the scheduling algorithm should determine
emergency vehicle, freeing the traffic in front of the their priority. Priority is assigned to each emergency
vehicle. In this case, the time length of the traffic light vehicle based on its type, its distance from the signalized
scheduling cycle could be extended until the emergency intersection, and the traffic density over the area between
vehicle passes during the same cycle. In order to improve the emergency vehicle and the signalized intersection.
the efficiency of the proposed algorithm, it can switch First, we consider three main categories of emergency
between the two synchronous flows with the traffic flow vehicles in this paper: ambulances, fire trucks and police
that contains the emergency vehicle during the long vehicles. According to the global driving rules, the ambu-
scheduled time of the emergency vehicle flow. In this case, lance is always assigned the highest priority for crossing
the Green-time assigned to the traffic flow that contains the any signalized intersection over the road network.

123
Wireless Netw

Meanwhile, fire trucks have higher priority than police 5.3 Some emergency vehicles are close and some are
vehicles. Police vehicles have higher priority than other far
ordinary traveling vehicles. These priority levels are due to
their urgent missions, since the expedient arrival of these In this scenario, the closer vehicles are scheduled first,
vehicles helps save lives and stops anticipated disasters. according to the rules presented in Sect. 5.1. Then, far
Although emergency vehicles’ priorities for crossing a vehicles are scheduled according to the rules presented in
given signalized intersection are determined by the global Sect. 5.2.
driving rules, other factors can be considered for deter-
mining the sequence of emergency vehicles at any sched-
uled cycle. These factors include the distance between the 6 Performance evaluation
emergency vehicle and the signalized road intersection
(DEV) and the estimated arrival time of each emergency In this section, we evaluate the performance of our pro-
vehicle to the signalized intersection (EATEV). The intro- posed algorithm compared to previous traffic light
duced algorithm handles several scenarios in which mul- scheduling algorithms. We used SUMO [23] to generate
tiple emergency vehicles approach the signalized several mobility scenarios for a signalized road intersec-
intersection, while considering all contributing factors. tion. We then used NS-2 [24] to implement our proposed
This should enhance the efficiency of the scheduling algorithm and the previous intelligent traffic light
algorithm, and allow all emergency vehicles to cross the scheduling algorithms. This implementation is mainly
intersection quickly and safely. intended to compare the performance of these algorithms
We explained how to determine close and far emergency and to prove the advantages of our proposed algorithm.
vehicles in Sect. 4. The various considered scenarios are Here, we refer to our algorithm as the enhanced traffic light
specified based on the estimated arrival time of the dif- scheduling algorithm (ETLSA). The performance of the
ferent emergency vehicles at the competing traffic flows. ETLSA algorithm is compared to the performance of the
The investigated scenarios are: ITLC [2] and the OAF [1] algorithms. The details of the
last two compared algorithms are presented in Sect. 2.
These two algorithms are the most recent intelligent traffic
5.1 All emergency vehicles are close
light scheduling algorithms; they both demonstrate supe-
rior performance to typical traffic light scheduling algo-
In this scenario, if all the emergency vehicles are the same
rithms, as stated in Sect. 2. Due to the aforementioned
type, the first arrival vehicle to the intersection is scheduled
reasons, we select these algorithms for comparison with
to cross the intersection first. If the arriving emergency
our proposed algorithm. The parameters that we set in the
vehicles are different types, the emergency vehicle with the
tested experiments are presented in Table 1. We have
highest priority is scheduled first.
tested our algorithm at a single signalized road intersection
with four input and four output road segments. The size of
5.2 All emergency vehicles are far the tested area is 1000 9 1000 m2; on this area of the
signalized intersection, vehicles are delayed due to the
In this scenario, the traffic density of the area between traffic light scheduling, and they can sense the phase of the
each emergency vehicle and the signalized intersection traffic light. Thus, the size of this tested area is enough to
is examined first. If the traffic density in all emergency measure the performance of the proposed algorithm.
vehicles’ areas is light, the scheduling of all emergency Moreover, we have used SUMO to generate the mobility
vehicles is postponed to subsequent cycles. In those
cycles, the emergency vehicles approach the intersec-
Table 1 Simulation parameters
tion, and are scheduled as explained in Sect. 5.1. The
scheduling algorithm increases the assigned scheduled Parameter Value
time of traffic flows containing emergency vehicles if
Simulator NS-2
traffic density is high in these areas. It switches the
Vehicle transmission range (m) 200
scheduling time between all competing traffic flows
Running time (s) 1000
containing emergency vehicles to free the road in front
Tested area (m2) 1000 9 1000
of these vehicles. In the event that the traffic density of
No. of traffic lights 1
some vehicles is high, while low in other areas, the
No. of traveling vehicles 200–1000
scheduling algorithm schedules the emergency vehicle
No. of emergency vehicles 1–4
flows with dense traffic first. Light emergency vehicle
The map 4-leg traffic intersection
traffic flows are then scheduled.

123
Wireless Netw

models of vehicles in this area, including different traffic between the ETLSA algorithm and the previous traffic light
density scenarios, to study the density effects on the scheduling algorithms.
algorithm performance. The number of simulated vehicles In terms of the signalized intersection throughput, the
are set according to the capacity of the tested area, aiming ITLC algorithm achieved the best performance compared
to generate the desired traffic densities. to ETLSA and OAF. The throughput of the signalized
In the first set of experiments, we aim to compare the intersection is decreased by 30% when applying the
throughput of each signalized intersection, the average ETLSA algorithm, compared to the case when the ITLC
delay time of each vehicle waiting at the signalized inter- algorithm is applied. This variation occurs because several
section, and the average delay time of the emergency dense traffic flows must wait for the emergency vehicle to
vehicle. These experiments are tested when one emergency cross the intersection. However, ETLSA achieved 10%
vehicle appears close to the signalized intersection, and a higher throughput than was achieved by the OAF algo-
different number of traveling vehicles have been investi- rithm. This difference is due to the efficient design of the
gated. Figure 3 graphically illustrates the comparison study ETLSA algorithm, in which highly congested traffic flows

(a) (b)

(c)
1
ITLC
OAF
ETLSA
0.8

0.6

0.4

0.2

0
200 300 400 500 600 700 800 900 1000

Number of Traveling Vehicles

Fig. 3 The performance evaluation of the ETLSA algorithm for to cross the signalized intersection; and c the average delay time of
different numbers of traveling vehicles: a the throughput of the the emergency vehicle
signalized intersection; b the average delay of each vehicle that aims

123
Wireless Netw

have the highest scheduling priority after emergency waiting vehicles on any conflicted flow is not large enough
vehicles, while the OAF algorithm schedules the first to require more than one traffic cycle to pass (i.e., they
arrival first. Figure 3(a) illustrates the throughput perfor- require less time than the MAXGREEN time). The average
mance of the scheduling algorithms. From Fig. 3(a) we can delay time of each vehicle is not increased by increasing
also infer that by increasing the number of the traveling the number of simulated vehicles on the tested map,
vehicles, the throughput of the signalized intersection has because only a few vehicles must wait for a long time,
been increased for all tested algorithms. while a larger number of vehicles passes the signalized
According to Fig. 3(b), we can see that the waiting delay intersection on the scheduled phase, as previously con-
time of each vehicle at the signalized intersection is 20% cluded from Fig. 3(a).
longer when applying the ETLSA algorithm, compared to Finally, Fig. 3(c) illustrates that the ETLSA algorithm
cases in which the ITLC algorithm is applied. However, the eliminates the waiting delay time of emergency vehicles at
performance of the ETLSA algorithm is 10% better com- the signalized road intersection. In the ITLC algorithm, the
pared to the OAF algorithm, in terms of decreasing the waiting delay time of the emergency vehicle depends on the
waiting delay time of traveling vehicles. This is justified by number of vehicles that intend to cross the signalized
the implementation of the ETLSA algorithm, which allows intersection. As Fig. 3(c) illustrates, the delay time of each
the emergency vehicles to pass the signalized intersection emergency vehicle increases when a large number of vehi-
before allowing flows with high density. Moreover, from cles intend to cross the intersection. However, in the OAF
Fig. 3(b) it is clear that by increasing the number of algorithm, the waiting delay time of emergency vehicles
vehicles at the signalized intersection, the gap between the depends on the estimated arrival time of the first vehicle in
performance of the ITLC and ELSA algorithms is the configured platoon of each competing traffic flow.
increased. However, the gap between the performance of In the second set of experiments, we aim to compare the
the OAF and the ETLSA algorithms is decreased by throughput of the signalized intersection and the average
increasing the number of vehicles heading towards the delay time of emergency vehicles when a different number
signalized intersection. Figure 3(b) studies the effect of the of emergency vehicles appears on the competing flows at
scheduling algorithm on the average delay time required the signalized intersection. We test the algorithm for 1, 2,
for vehicles intending to cross the intersection. SUMO has 3, and 4 emergency vehicles of different types. We assume
simulated several numbers of vehicles at different random that in real road scenarios, it is very rare (if not impossible)
locations on the tested map; vehicles moving towards the for more than 4 emergency vehicles to meet at the same
signalized intersection should stop waiting for the green signalized intersection. Figure 4 illustrates the performance
phase to pass through the intersection. Thus, the number of of the ETLSA algorithm in terms of the throughput of the

Fig. 4 The performance evaluation of the ETLSA algorithm, when different numbers of emergency vehicles appeared at the signalized
intersection: a the throughput of signalized intersection; and b the average waiting delay time of each emergency vehicle

123
Wireless Netw

signalized intersection, and the average delay time of each traffic density between the vehicle and the intersec-
emergency vehicle. These experiments are evaluated for a tion. Finally, from an extensive set of experiments, we
different number of emergency vehicles intending to cross have proved that although the proposed enhanced algo-
the signalized intersection. In this set of experiments, the rithm decreased the throughput of the signalized intersec-
total number of simulated vehicles is 600, while the tion, the waiting delay time of emergency vehicles is
number of emergency vehicles is between zero and four. decreased compared to previous scheduling algorithms.
These emergency vehicles appeared at various distances Moreover, our algorithm efficiently and safely tackled
from the signalized intersection in the tested experiments. those scenarios in which more than one emergency vehicle
Furthermore, the traffic density between each emergency appeared at the signalized intersection.
vehicle and intersection was highly congested (i.e., vehi- In our future studies, we intend to test the proposed algo-
cles have to reduce their traveling speed to traverse the rithm for different penetration rate, and investigate its behavior
area. Any vehicle cannot easily change its lane to overtake in the case that not all vehicles are equipped with vehicular
other vehicles) in some test scenarios while it was light network transceivers. Moreover, we intend to study the sce-
(i.e., vehicles can easily increase their traveling speed, and nario in which emergency vehicles travel through several
change their lane to overtake other slow vehicles) in others. successive signalized intersections. Cooperative scheduling
The ETLSA algorithm decreases the throughput of any among located traffic lights should help the emergency vehicle
signalized road intersection, because it focuses on scheduling to reach its destination as quickly as possible.
the emergency vehicles first. The total number of waiting
vehicles at each competing traffic flow is considered as a sec-
ondary parameter in this algorithm. This determination justifies
the result that the ETLSA algorithm achieves a higher References
throughput of the signalized intersections, compared to the
1. Pandit, K., Ghosal, D., Zhang, H. M., & Chen-Nee, C. (2013).
OAF algorithm, when one emergency vehicle appears close to Adaptive traffic signal control with vehicular ad-hoc networks.
the signalized intersection. On the other hand, when two or IEEE Transactions on Vehicular Technology, 62(4), 1459–1471.
more emergency vehicles appear at the competing flows of the 2. Bani Younes, M., Boukerche, A. (2014). An intelligent traffic
signalized intersection, the performance of the ETLSA algo- light scheduling algorithm through VANETs. In IEEE 39th
Conference, in local computer networks workshops (LCN work-
rithm decreases drastically compared to the ITLC and the OAF shops) (pp. 637–642).
algorithms, as illustrated in Fig. 4(a). 3. Bani Younes, M., Boukerche, A. (2015). Intelligent traffic light
Figure 4(b) illustrates the average delay time of each controlling algorithms using vehicular networks. In IEEE trans-
emergency vehicle traveling towards the signalized inter- actions on vehicular technology (vol no. 99, pp. 1–1).
4. Younes, M. B., Boukerche, A., & Roman-Alonso, G. (2014). An
section. As we can infer from the figure, the ETLSA intelligent path recommendation protocol (ICOD) for VANETs.
algorithm can eliminate the delay time of one emergency Computer Networks, 64, 225–242.
vehicle. Moreover, it decreases the waiting delay time of 5. U.S. Fire Administration. (2014). Emergency vehicle safety ini-
each emergency vehicle, in the event that two or more tiative, FA-336/February 2014.
6. U.S. Department of Transportation. (2012). TRAFFIC SAFETY
emergency vehicles have appeared at the signalized inter- FACTS 2012.
section. It decreases the waiting delay time of the emer- 7. Li, L., Wen, D., & Yao, D. (2014). A survey of traffic control
gency vehicles by 50% compared to the ITLC algorithm, with vehicular communications. IEEE Transactions on in Intel-
and by 60% compared to the OAF algorithm. ligent Transportation Systems, 15(1), 425–432.
8. Chen, B., & Cheng, H. H. (2010). A review of the applications of
agent technology in traffic and transportation systems. IEEE
Transactions on Intelligent Transportation Systems, 11(2),
7 Conclusion 485–497.
9. Pau, G., & Scata, G. (2014). Smart traffic light junction man-
agement using wireless sensor networks. WSEAS transactions on
In this paper, we have introduced a dynamic traffic light communication, 14, 2224–2864.
scheduling algorithm. This algorithm schedules the com- 10. Khalil, Y. M., Al-Karaki, M. N., & Shatnawi, A. M. (2010).
peting flows at any signalized intersection, to allow the Intelligent traffic light flow control system using wireless sensors
more dense traffic flows to cross the intersection first. The networks. Journal of Information Science and Engineering,
26(3), 753–768.
assigned time for each phase is set based on the traffic 11. Ghaffarian, H., Fathy, M., & Soryani, M. (2012). Vehicular ad
distribution over its traffic flows. This algorithm is hoc networks enabled traffic controller for removing traffic lights
enhanced to handle the appearance of any emergency in isolated intersections based on integer linear programming.
vehicle. The enhanced algorithm schedules the flows con- Intelligent Transport Systems, 6(2), 115–123.
12. Askerzade, I. N., & Mahmood, M. (2010). Control the extension
taining emergency vehicles before other phases. Several time of traffic light in single junction by using fuzzy logic. In-
scenarios for the appearance of emergency vehicles con- ternational Journal of Electrical and Computer Sciences IJEC-
sider the distance between the signalized intersection and SIJENS, 10(2), 48–55.

123
Wireless Netw

13. Azimirad, E., Pariz, N., & Sistani, M. (2010). A novel fuzzy Azzedine Boukerche is a Full
model and control of single intersection at urban traffic network. Professor and holds a Canada
IEEE Systems Journal, 4(1), 107–111. Research Chair Tier-1 position
14. Henrique, D., Marranghello, N., & Damiani, F. (2014). Genetic at the University of Ottawa. He
algorithm-based traffic lights timing optimization and routes is the Scientific Director of
definition using Petri net model of urban traffic flow. World NSERC-DIVA Strategic
Congress, 19(1), 11326–11331. Research Network and NSERC
15. Wunderlich, R., Elhanany, I. & Urbanik, T. (2007). A TRANSIT Research Network,
stable longest queue first signal scheduling algorithm for an and a Director of PARADISE
isolated intersection. In IEEE international conference on Research Laboratory at uOt-
vehicular electronics and safety (pp. 1–6). tawa. Prior to this, he held a
16. Garca-Nieto, J., Alba, E., & Olivera, A. C. (2012). Swarm faculty position at the Univer-
intelligence for traffic light scheduling: Application to real urban sity of North Texas, USA. He
areas. Engineering Applications of Artificial Intelligence, 25(2), worked as a Senior Scientist at
274–283. the Simulation Sciences Divi-
17. Collotta, M., & Pau, G. (2015). New solutions based on wireless sion, Metron Corporation located in San Diego. He spent a year at the
networks for dynamic traffic lights management: A comparison JPL/NASA-California Institute of Technology where he contributed
between IEEE 802.15. 4 and bluetooth. Transport and to a project centered about the specification and verification of the
Telecommunication Journal, 16(3), 224–236. software used to control interplanetary spacecraft operated by JPL/
18. Tessa, T., Killat, M., Hartenstein, H., Luz, R., Hausberger, S., & NASA Laboratory. Dr. Boukerche is a Fellow of IEEE, a Fellow of
Benz, T. (2010). The impact of traffic-light-to-vehicle commu- the Engineering Institute of Canada, a Fellow of the Canadian
nication on fuel consumption and emissions. In IEEE In Internet Academy of Engineering, a Fellow of the American Association for
of Things (IOT) (pp. 1–8). the Advancement of Science, the recipient of the Ontario Distin-
19. Ferreira, M., & d’Orey, P. (2012). On the impact of virtual traffic guished Researcher Award, the Premier of Ontario Research Excel-
lights on carbon emissions mitigation. IEEE Transactions on lence Award, the G. S. Glinski Award for Excellence in Research,
Intelligent Transportation Systems, 13(1), 284–295. The IEEE Computer Society Golden Core Award, The IEEE CS-
20. Pasin, M., Scheuermann, B., & Moura, R. (2015). VANET-based Meritorious Award, the University of Ottawa Award for Excellence in
Intersection control with a throughput/fairness tradeoff. In 2015 Research, IEEE Canada G. Gotlieb Computer Silver Medal Award,
8th IFIP wireless and mobile networking conference (WMNC) the Spanish Catedra de Excelencia, IEEE ComSoc Outstanding
(pp. 208–215), IEEE. Technical Achievement Award, the IEEE Computer Society TCPP
21. Tung, L., Mena, J., Gerla, M., & Sommer, C. (2013). A cluster Technical Achievement and Contributions Award. Dr. A. Boukerche
based architecture for intersection collision avoidance using serves as an Associate Editor for several IEEE Transactions and ACM
heterogeneous networks. In Ad Hoc Networking Workshop journals, as well as a Steering Committee Chair for several IEEE and
(MED-HOC-NET), 2013 12th Annual Mediterranean (pp. ACM international conferences. His current research interests include
82–88). IEEE. smart city, smart transportation, vehicular networks, sensor networks,
22. Bellavista, P., Foschini, L., & Zamagni, E. (2014). V2x protocols mobile ad hoc networks, wireless multimedia and pervasive com-
for low-penetration-rate and cooperative traffic estimations. In puting, performance evaluation and modeling of large-scale dis-
Vehicular technology conference (VTC Fall), 2014 IEEE 80th tributed systems, and large-scale distributed interactive simulation.
(pp. 1–6), IEEE. Dr. Boukerche has published extensively in these areas, and he is the
23. Behrisch, M., Bieker, L., Erdmann, J., & Krajzewicz, D. (2011). recipient of several best research paper awards for his work on smart
SUMO simulation of urban mobility: An overview. In: The third transportation, vehicular and sensor networking and mobile comput-
international conference on advances in system simulation ing. He is the Editor of three books on mobile computing, wireless ad
(SIMUL) (pp. 63–68). hoc and sensor networks.
24. Network Simulator ns-2. http://www.isi.edu/nsnam/ns/.

Maram Bani Younes received


the Ph.D. degree in computer
science from the University of
Ottawa, Ottawa, ON, Canada, in
2015. She is currently an
Assistant Professor with the
Department of Computer Sci-
ence, Philadelphia University,
Jordan. Her research interests
are smart city, smart trans-
portation, vehicular networks,
sensor networks, mobile ad hoc
networks, wireless networks,
wireless ad hoc and sensor net-
works, vehicular networks and
traffic efficiency for vehicular network.

123

You might also like