Next Article in Journal
Thermal Performance of Concrete with Recycled Concrete Powder as Partial Cement Replacement and Recycled CDW Aggregate
Next Article in Special Issue
High Definition Map-Based Localization Using ADAS Environment Sensors for Application to Automated Driving Vehicles
Previous Article in Journal
Modeling of Conduction and Switching Losses for IGBT and FWD Based on SVPWM in Automobile Electric Drives
Previous Article in Special Issue
A Deep Learning-Based Perception Algorithm Using 3D LiDAR for Autonomous Driving: Simultaneous Segmentation and Detection Network (SSADNet)
Order Article Reprints
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:

Smart Route: Internet-of-Vehicles (IoV)-Based Congestion Detection and Avoidance (IoV-Based CDA) Using Rerouting Planning

Robotics and IoT Lab, Prince Sultan University, Riyadh 12435, Saudi Arabia
Department of Computer Science, Islamia College Peshawar, Grand Trunk Rd, Rahat Abad, Peshawar, Khyber Pakhtunkhwa 25120, Pakistan
Author to whom correspondence should be addressed.
Appl. Sci. 2020, 10(13), 4541;
Received: 8 May 2020 / Revised: 11 June 2020 / Accepted: 24 June 2020 / Published: 30 June 2020
(This article belongs to the Special Issue Intelligent Transportation Systems: Beyond Intelligent Vehicles)


Massive traffic jam is the top concern of multiple disciplines (Civil Engineering, Intelligent Transportation Systems (ITS), and Government Policy) presently. Although literature constitutes several IoT-based congestion detection schemes, the existing schemes are costly (money and time) and, as well as challenging to deploy due to its complex structure. In the same context, this paper proposes a smart route Internet-of-Vehicles (IoV)-based congestion detection and avoidance (IoV-based CDA) scheme for a particular area of interest (AOI), i.e., road intersection point. The proposed scheme has two broad parts: (1) IoV-based congestion detection (IoV-based CD); and (2) IoV-based congestion avoidance (IoV-based CA). In the given area of interest, the congestion detection phase sets a parametric approach to calculate the capacity of each entry point for real-time traffic congestion detection. On each road segment, the installed roadside unit (RSU) assesses the traffic status concerning two factors: (a) occupancy rate and (b) occupancy time. If the values of these factors (either a or b) exceed the threshold limits, then congestion will be detected in real time. Next, IoV-based congestion avoidance triggers rerouting using modified Evolving Graph (EG)-Dijkstra, if the number of arriving vehicles or the occupancy time of an individual vehicle exceeds the thresholds. Moreover, the rerouting scheme in IoV-based congestion avoidance also considers the capacity of the alternate routes to avoid the possibility of moving congestion from one place to another. From the experimental results, we determine that proposed IoV-based congestion detection and avoidance significantly improves (i.e., 80%) the performance metrics (i.e., path cost, travel time, travelling speed) in low segment size scenarios than the previous microscopic congestion detection protocol (MCDP). Although in the case of simulation time, the performance increase depends on traffic congestion status (low, medium, high, massive), the performance increase varies from 0 to 100%.

1. Introduction

The exponential increase in traffic volume has brought many potential challenges to the traffic engineers and transportation department in the form of a massive traffic jam [1]. Traffic congestion has become a severe issue for transport and logistics departments all over the world [2]. It causes a wide range of social, economic, and environmental problems. First, drivers face a higher chance of late arrival at their destination because of massive traffic jams, which creates a high level of anxiety. The driver stress can also turn to impatience, carelessness, and thus increase the possibility of traffic accidents and other social issues such as road rage. Secondly, there is also an enormous economic loss from traffic congestion [3]. Regardless of the extraordinary investment on transportation systems such as car navigation systems (e.g., Garmin, Waze, and TomTom), web services for route computation (e.g., Google Maps and Microsoft), and dynamic traffic assignment (DTA) [4], still ITS have persistent challenges (i.e., a time waste in traffic jams). Many solutions exist in the literature try to cope with the traffic congestion problems from different perspectives [5,6,7,8]. The traffic surveillance system deals with the installation of cameras and loop detectors on highways [9]. It consists of a web-based service to monitor the current status of traffic to guide drivers. Although this system captures accurate information, it still has limitations, i.e., (1) the system is limited only to highways (city roads are quite difficult to control); (2) no real-time congestion detection service is possible. Google Maps [10], Waze [11], and TomTom [12] have gained increasing attention in recent years. However, Google Maps, Waze, TomTom are far to achieve the ITS goals, since these applications depend on information posted by people using their smartphones [13]. The traffic navigation applications collect mobile GPS data from the drivers and use infrastructure-based traffic information to compute traffic-aware shortest routes [14]. The solutions presented by Google Maps, Waze, and TomTom are reactive by nature. Mostly, the congestion is switched from one path to another because Google, Waze, and TomTom controllers provide the same guidance to all vehicles at the same time [4]. Moreover, routes suggested to users are based exclusively on shortest-path algorithms, without considering the impact of rerouting in future traffic conditions. Additionally, to detect the congestion on intersection point, different methods can be applied [15,16,17]. These include calculating the number of vehicles queuing, estimating road segment occupancy, and sensing the safety time headway [15]. Once traffic congestion occurs at intersection point, the vehicles begin to find an alternate route to their destination aiming to reduce travel time. Each vehicle behaves selfishly and attempts to move a non-congested route with a high preference. The authors in [16] used a non-cooperative game theory to solve the problem of optimizing the traffic jams on intersection. In the given game, every vehicle is considered to be a selfish player, where Nash equilibrium set traffic for each route in such a way so that no individual can improve its performance by changing its route [17].
Pan, Juan, et al. [4] proposed five (i.e., Dynamic Shortest Path (DSP), the A shortest path with repulsion ( A R ), the random k shortest path (RkSP), the entropy-balanced kSP (EBkSP), and the flow-balanced kSP (FBkSP)) cost-effective and easily to deploy traffic rerouting schemes for vehicular traffic management that reduce travel time. Their proposed schemes detect congestion proactively on each road segment by periodically assessing each section with a predefined threshold value (i.e., K i / K j a m > δ ), where K i and K j a m represent the current and the maximum number of vehicles, respectively. Similarly, a unified rerouting framework was proposed in [18] for traffic congestion avoidance by combining the dynamic vehicle rerouting and traffic light control schemes. The authors [19] proposed an intelligent traffic system called CHIMERA (Congestion avoidance througH a traffIc classification MEchanism and a Rerouting Algorithm), which periodically collect information from vehicles and ranks each street according to a congestion level. CHIMERA significantly improves the spatial use of a road network and reduces the average travel costs by avoiding traffic jam.
The proposed microscopic congestion detection protocol (MCDP) [20] is aimed to make vehicle-to-vehicle (V2V) communication capable of monitoring vehicle density and to identify traffic jam. By introducing the transportation control domain in the existing network protocol header, each vehicle counts adjacent vehicles and estimates the time spacing among vehicles. MCDP provides an infrastructure-less solution to determine the vehicle density, flow, and average velocity in a microscopical manner [21]. Moreover, the safe speed limit was introduced to enable each vehicle to assess transportation congestion by comparing it with some predefined safety time threshold. The authors concluded that MCDP is an inexpensive transport congestion detection technique by employing V2V communications [20]. The proposed infrastructure-based Vehicular Congestion Detection (IVCD) scheme (using V2I communication) was intended to support congestion detection and speed estimation [22]. IVCD derives the safety time (time headway) between vehicles by using iterative content-oriented communication (COC) contents [23]. On the other hand, the roadside sensor (RSS) provides an infrastructure framework to integrate macroscopic parameters to estimate traffic congestion and vehicle safety speed. The primary responsibilities of RSS in IVCD were to preserve privacy, aggregate data, store information, broadcast routing table, estimate safety speed, detect traffic jams, and generate session ID (S-ID) for vehicles. The V2V and V2I communications in VANETs are used for ad-hoc wireless connectivity of vehicles. While IoV expands VANETs to turn every vehicle into a smart node by adding its computation, storage, and networking capability.
Most of the traffic congestion research is based on the conventional transportation rules [4,9,18,24,25,26] or either depends on consistent mobile connectivity to GPS map [10,12]. Presently, ordinary cities are migrating towards “smart cities” by using information and communication technologies (ICT). The Internet of Thing (IoT) paradigm plays a vital role in the realization of smart cities [27,28,29,30]. Different IoT-based traffic management schemes (congestion detection) are available in the literature [31,32,33,34]. The IoT-based congestion detection schemes are costly in terms of money and time, as well as challenging to deploy due to its complex structure. MCDP [20] and IVCD [22] are inexpensive and easy deployable schemes for congestion detection. The MCDP and IVCD are network layer protocols, where the congestion detection functions are added to the periodic packet structure without interrupting the physical layer. That is why these protocols are inexpensive and easily deployable. However, these schemes were unable to avoid congestion in real time. Thus, in this context, we propose an infrastructure for a real-time traffic management scheme called the Internet-of-Vehicles (IoV)-based congestion detection and avoidance (IoV-based CDA). The proposed IoV-based CDA uses a parametric approach for congestion detection, while rerouting (using modified EG-Dijkstra [35,36]) for congestion avoidance in a given area of interest (AOI). In our study, we considered Alwaha district intersection in Riyadh, Saudi Arabia. The proposed scheme is divided into two broad categories, i.e., (1) IoV-based congestion detection (IoV-based CD) used for real-time congestion detection, (2) IoV-based congestion avoidance (IoV-based CA) for proactive rerouting to avoid congestion. The roadside unit (RSU) on every junction computes the capacity C of the entrance segment. The capacity is defined as the maximum number of vehicles in a given road’s segment without producing traffic jam [37]. If the number of vehicles exceeds a specific threshold, then congestion will be detected, and rerouting using EG-Dijkstra [35,36] will be started to resolve the congestion. The contributions of this paper are given below:
  • We proposed IoV-based CDA for a particular road intersection highly vulnerable to massive traffic jams using two prominent parameters, i.e., the occupancy rate and occupancy time. We assessed our proposed scheme through simulation and noted that it reduced path cost and travel time as compared to the no-rerouting scheme (i.e., MCDP) significantly.
  • Secondly, our proposed IoV-based CDA employed rerouting to assess the traffic load of any alternate route before selection. Thus, it prevents traffic jams migration from one place to another. Lastly, we measured the robustness of our proposed IoV-based CDA by investigating under different levels of congestion (i.e., low, medium, high, and massive) scenarios.
The rest of the paper is structured as follows. Section 2 describes the IoV-based CDA scheme system model. Section 3 presents the proposed IoV-based CDA algorithm. Section 4 discusses the experimental results, and Section 5 concludes the paper and outlines future works.

2. System Model

In this paper, a road intersection with segments S 1 , S 2 , S 3 , and S 4 , is considered for route planning, as shown in Figure 1, where each segment is covered by RSU located at the beginning of each segment. The length of each segment is large enough so that to predict early congestion from frequent arrivals to the segment. It is also considered that each segment has alternate routes to a particular destination.
The arrival and departure of the vehicles to the segment follow a Poison distribution [38], while the speed of vehicles follows a Gaussian distribution [39]. Each vehicle is embedded with an onboard unit (OBU) equipment, which has the same transmission power and Received Signal Strength (RSS) for all vehicles. A Global Positioning System (GPS) unit and IEEE 802.11p radio equipment are embedded inside the OBU. Every vehicle disseminates beacons messages with each other as well as with RSU. The capacity C of each road segment refers to the maximum number of vehicles on a specific road segment, which is calculated as:
C = S l e n g t h V l e n g t h + m i n g a p
where S l e n g t h and V l e n g t h are the lengths of the road segment and vehicle, respectively, the m i n g a p represents the safety distance between the two vehicles. To predict the status of a given road segment S i , the RSU calculates the occupancy rate of the segment as:
O i = K i C i
In Equation (2), O i represents the occupancy rate of segment i, while K i and C i are the current numbers of vehicles and capacity of segment i, respectively. For congestion detection, RSU computes that if O i > δ where δ [ 0 , 1 ] , then segment i is classified as congested, and K vehicles such that ( O i K < δ ) will be rerouted using EG-Dijkstra [35,36] to other routes.

3. Proposed Smart Route: IoV-Based Congestion Detection and Avoidance (CDA) Using Rerouting

The proposed IoV-based CDA is designed for a particular area of interest (AOI), i.e., road intersection point. The main goal is to develop a smart transportation system that detects and avoids the congestion in real time using rerouting. At each entry point to AOI, the base station, i.e., RSU, estimates the traffic status by assessing the occupancy of the road segment taking into account the vehicle arrival rate. In any instance, if the arrival rate exceeds the average occupancy level, a congestion state is detected. Once the congestion is identified, the RSU discovers an alternate route using EG-Dijkstra, provided that the placement of those vehicles will not exceed the occupancy level of the alternative routes. The complete design of IoV-based CDA is divided into three parts, i.e., (1) conversion of the road intersection to an abstract routing graph; (2) the IoV-based Congestion Detection (IoV-CD) phase; (3) the IoV-based Congestion Avoidance (IoV-based CA) phase.

3.1. Conversion of Area of Interest (AOI) or Road Intersection to Routing Graph

The intersection points are more susceptible to traffic congestion; for this reason, this paper considers the traffic congestion detection and avoidance in intersection points (i.e., AOI). From the real road intersection point, as shown in Figure 2, a routing graph G ( V , E , O ) is constructed, where V and E represent the set of junction points (i.e., vertices) and the collection of edges (i.e., roads). The parameter O indicates the occupancy rate of each road segment (i.e., edge) connecting the junction points. The occupancy rate of a particular road segment refers to the ratio of the current number of vehicles to the total capacity of the road segment. The extracted graph from the real scenario in Figure 2 is shown in Figure 3.
In this example, the number of junctions and edges in the extracted graph is 11. The symbol J 1 to J 11 represents the junction points, while E i , j represents the road connecting junction I and J. The value of I and J ranges from 1 to 11. In the extracted graph, J 1 is the entrance junction, while J 5 is the proposed destination junction. The direct route to the destination is { J 1 , J 2 , J 3 , J 4 , J 5 } , while { J 1 , J 2 , J 8 , J 9 , J 11 , J 5 } is the indirect route to the destination. The adjacency matrix of the extracted graph is formed by merely putting one for connected intersections and zero for disconnected, as given below in Equation (3).
A = 1 , if ( v i , v j ) E 0 , otherwise
where v i and v j are the two junction points and A represents the graph of the road intersection. The adjacency matrix for our selected road intersection is given below:
A d j = 0 1 0 0 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0
If O is the occupancy rate of a given edge, then the graph G will be
G = O i , j , if ( v i , v j ) E 0 , if i = j , otherwise
where O i , j , represents the occupancy rate of the road segment connecting junction v i and v j .

3.2. IoV-Based Congestion Detection (IoV-Based CD)

Vehicular mobility is an essential factor that influences the structure of vehicles’ dynamics. Despite the high speed and randomness of the vehicles’ speed, road topology, speed limits, traffic rules, and nearby vehicle speed restrict the vehicle movement. To design a feasible traffic congestion detection scheme, it is essential to consider the relationship between speed and inter-vehicle spacing [40]. In this paper, we used the essential mobility factors for traffic jam detection and prevention. In the given scenario (as shown in Figure 2), four junction points are highly susceptible to the massive traffic jam. Thus, to avoid unwanted enormous traffic jam, it is necessary to predict real-time congestion on each vulnerable junction point. For this purpose, it is assumed that each arrival point has an RSU located significantly away (i.e., 1 km) from the AOI so that to detect early congestion. The installed RSU acts as a traffic controller and aims to monitor the specified road segment for real-time congestion detection. Considering the basic transportation rules [41] and basic microscopic parameters [20], we derived two parameters for congestion detection, i.e., (1) road segment occupancy rate and (2) single-vehicle occupancy time. The definition of the occupancy rate is given in the above section. However, occupancy time can be defined as below:
Definition 1.
The single-vehicle occupancy time is the amount of time required by a vehicle to cover a particular distance (equal to the vehicle’s length) with its current speed [42]. Mathematically, it can be written as below:
O t = L v V v
where O t is the occupied time of a particular vehicle. The parameters L v and V v represent the length of the vehicle and the speed of the vehicle, respectively. The congestion can be detected with the help of the road segment occupancy rate (i.e., if O i > 0.7 , then segment i is considered to be congested) or vehicle occupied time (i.e., if O t > 0.6 s , then the given zone will be congested). The values of both metrics, i.e., occupancy time and occupancy rate, are derived from the safety transportation time limit, i.e., time headway [20]. The complete procedure of the IoV-based CD is given below in Algorithm 1.
In Algorithm 1, it is shown that initially all vehicles register with RSU. The registration of a particular vehicle is done by the periodic Hello messages/Beacons disseminated by every vehicle on the road. Later, the total capacity of each road segment, the current number of vehicles, the occupation rate, and the occupation time are calculated. The occupation rate and occupation time are the primary factors for congestion detection. If the values of these factors exceed the given threshold, the congestion will be detected, as shown at the end of Algorithm 1.
Algorithm 1: IoV-based Congestion Detection (executed at RSU).
for s S do
     R S U R e g i s t e r
end for
C S e g l e n g v l e n g + m i n g a p
K c C o u n t ( V , s e g )
O r a t e K c c
O t L v V v
if K c > δ OR O t > τ then
     C o n _ D e c 1
     C o n _ D e c 0
end if

3.3. IoV-Based Congestion Avoidance (IoV-Based CA)

In this section, we present the real-time congestion avoidance at the earliest stage protocol. First, an RSU detects congestion as shown in Algorithm 1, i.e., occupancy rate and occupation time on any road segment. Rerouting is an effective method of mitigating traffic congestion by redirecting vehicles’ flows to sufficiently bandwidth paths. To balance the uneven traffic distribution, this paper uses EG-Dijkstra [35,36], to reroute the traffic evenly. In the rerouting, the occupancy level of the alternate routes is taken into account to avoid the possibility of transferring congestion from one place to another place. In the proposed IoV-based Collision Avoidance, if the transfer of n vehicles to a particular route exceeds the threshold of occupancy rate or occupancy time of that route, then the full transfer (i.e., n vehicles) is converted to a partial transfer. The complete procedure of IoV-based CA is given in Algorithm 2.
Algorithm 2: Smart Route: IoV-based Congestion Avoidance (executed at RSU).
for s S do
    if O r a t e ( s ) > δ OR O t ( s ) > τ then
         S ( s ) Block
         A v a i l a b l e _ s p a c e C ( S ) C o u n t ( V , s )
    end if
end for
n Arriving vehicles at RSU
if R S U . n e x t ! = B l o c k then
    if A v a i l a b l e _ s p a c e < n then
         S o r t ( R o u t R e q u e s t )
         S e n d ( s . n e x t ( A v a i l a b l e _ s p a c e ) )
         E G _ D i j k s t r a ( G , s ( n A v a i l a b l e _ s p a c e ) , d e )
         S e n d ( s . n e x t ( A v a i l a b l e _ s p a c e ) )
    end if
     E G _ D i j k s t r a ( G , s , n e x t . h o p ( d e ) )
end if
On next hop to the destination , Go back to step 13
The proposed algorithm calculates the capacity and the occupancy rate of each road’s segment, as well as the occupancy time of each vehicle, which is also measured for further evaluation. Secondly, each segment is assessed; if the limit exceeds the given threshold (see line 3), then the segment is marked as a block. In Algorithm 2, the available capacity of each segment is also calculated (see line 5(a)) to support the optimum route planning. If n vehicles request the RSU for a particular road segment, the RSU first checks the available capacity of the requested segment. If the capacity is enough for n vehicles, then the route is planned over that segment (see line 9 to 13). In the opposite case, the vehicles are divided into groups, where part of the vehicles is planned to the requested road segment, while the route of other vehicles is set by the EG-Dijkstra algorithm [35,36].

4. Experimental Results and Discussions

This section assesses the proposed IoV-based congestion detection and avoidance scheme under various traffic densities (low, medium, high, and massive (very high) congested scenarios) and AOI’s (Alwaha, Riyadh intersection point) segment lengths. The performance of the proposed scheme is compared with the existing IoV-based congestion detection scheme, i.e., MCDP [20]. This section is further divided into three sub-sections: (a) Simulation environment; (b) Impact of AOI’s size on IoV-based CDA scheme performance; (c) Impact of congestion levels on IoV-based CDA scheme performance.

4.1. Simulation Environment

The primary goal of the proposed scheme is to monitor and control a given area of interest in an urban city road. For this purpose, we used a well-known traffic simulator SUMO (Simulator for Urban Mobility) [43], version 0.24.0, to assess the performance of IoV-based CDA. SUMO is an open-source traffic simulator developed under the collaboration of the ZAIK and ITS departments. The realistic street map of Alwaha, Riyadh intersection point was taken from the OpenStreetMap [44], and later various traffic conditions were generated through SUMO. Our experiments in this paper are closely related to the real road traffic. We extracted the real road intersection point (see Figure 2) from OpenStreetMap and deployed random traffic using SUMO. The literature has enormous examples of SUMO-based traffic simulations [35]. Next, the generated traffic traces were imported to MATLAB (R2015b) for different performance metrics measurements. The detail of all parameters is given in Table 1. Two different simulation experiments are performed to evaluate the performance of the proposed IoV-based CDA scheme, as given below:
  • Experiment A: The first experiment is about the impact of various segment sizes (i.e., from 300 m to 1500 m) over the performance of IoV-based CDA. The number of vehicles for each road segment is kept constant for all segmental sizes.
  • Experiment B: The performance of IoV-based CDA is assessed under various traffic conditions. Four different traffic conditions are considered in ONE-kilometer long road’s segment, i.e., low traffic congestion (5–20 vehicles), medium traffic congestion (20–40 vehicles), high traffic congestion (40–60 vehicles), and massive (very high) traffic congestion (60–100 vehicles).
To assess the performance of the proposed IoV-based CDA over the experiments, as mentioned earlier, we used three prominent performance metrics for evaluation, i.e., path cost/occupancy level, travel time, and travelling speed. The definition of each metrics is given below:
  • Definition of Path cost/Occupancy level: It is the ratio of the current number of vehicles to the total capacity of the road’s segment. This metric represents the level of congestion of a given segment. The higher the value of path cost, the greater will be the congestion level. This metric can also be used to measure throughput. Throughput refers to the number of vehicles reached successfully to their destination.
  • Definition of Travel time: This metric represents the time during which the source vehicle reaches the destination. The mathematical definition of travel time is
    T ( t ) = L s e g N s e g V l i m i t
    The travel time T depends on segment length L s e g , number of segments N s e g as well as the speed limit V l i m i t . The appropriate speed on each segment is also depended on the congestion level.
  • Definition of Travelling speed: It is the speed in which the vehicles can travel without collision. In safety travelling, speed can be calculated as below:
    S p a c e _ G a t e w a y = L s e g N s e g N o . o f v e h i c l e s
    T r a v e l l i n g _ s p e e d = S p a c e _ G a t e w a y τ
    where S p a c e _ G a t e w a y and τ represent the inter-vehicle spacing and safety time to cover the inter-distance, respectively. The performance metrics, as mentioned earlier, are calculated under different specifications.

4.2. Impact of AOI’s Size on IoV-Based CDA Scheme Performance

The capacity or occupancy of AOI’s increases with the increase of an individual segment’s size (Based on Equation (7)). In this section, the impact of AOI’s segment’s size on IoV-based CDA performance is evaluated in terms of path cost, travel time, and travelling speed. It is shown in Figure 4 that the increase of segment size has a positive effect on path cost. The path cost significantly reduces in IoV-based CDA as well as in the MCDP [20] scheme with the increase of AOA’s size. However, the performance of the proposed scheme is better than the previous MCDP [20] scheme due to the real-time route planning.
The influence of different segment sizes on travel time is also shown in Figure 5. Here, it can be seen that proposed scheme performs very well in moderate segment length (i.e., 1000 m), but the performance of MCDP [20] scheme improves as compared to the proposed scheme at 1200 m segment size and onward. The proposed IoV-based CDA scheme selects route by vehicle density without considering the travelling time. However, at long segments (1200 m and onward) under given specification, the chosen path is less dense as compared to the MCDP’s [20] selected route. However, due to the speed limit constraint, the travel time of IoV-based CDA is longer than the travel time of the MCDP scheme.
Lastly, this section also presents the influence of travelling speed concerning various AOI’s segments sizes. It is determined from the result in Figure 6 that the travelling speed gradually increases with the increase of segment size. However, the travel speeds in the IoV-based CDA case remained constant (i.e., 33 m/s) at 1000 m size. It is because of the speed limit of the AOI’s segment.

4.3. Impact of Congestion Level on IoV-Based CDA Scheme Performance

In this section, the proposed scheme is assessed under four different congestion levels (i.e., low, medium, high, massive (very high)). Here, the selected performance metrics (i.e., path cost, travel time, and travel speed) are assessed and compared with the MCDP [20] scheme under the aforementioned congestion levels.
The path cost is directly proportional to the congestion levels. By increasing the congestion level, the path cost also increases, as shown in Figure 7. It is also depicted that the proposed IoV-based CDA significantly outperforms than the previous MCDP [20] scheme in all congestion levels. The path cost substantially increases in the massively congested scenario in both schemes. In the highly congested scenario, the large number of vehicles increase the occupancy level of the road’s segment significantly, which subsequently affects the path cost. The assessment of the second performance metric, i.e., travel time is also shown in Figure 8. In a low congested scenario, most of the vehicles use the direct short-route instead of the alternate best route, that is why the occupancy level of the direct route increases, which further affect the travel time.
Since the proposed IoV-based CDA selects an optimum route based on occupancy rate and occupancy time in real time, thus the travel time is significantly lower than the MCDP [20] scheme. Similarly, in all congestion levels, the proposed IoV-based CDA outperforms the MCDP [20] scheme in terms of travel time. However, in the congested scenarios, the difference between both schemes’ performance is minor because of the long path cost on all routes.
Lastly, this section discusses the assessment of the travelling speed metric over the performance of the IoV-based CDA and MCDP [20] scheme. In Figure 9, the variation of travelling speed in both schemes (IoV-based CDA and MCDP [20]) is shown. The path cost has the same impact on travelling speed like travel time.
It can seen that the travelling speed in the low congested scenario is very high in both schemes due to the little path cost. However, in a highly congested scenario, the travelling speed is significantly low because of the high occupancy rate or path cost. Typically, the inter-vehicle spacing reduces in the highly congested scenario because of the high occupancy rate; which further reduces the subsequent time headway. In the case of short-time headway, the driver will reduce the speed significantly to maintain a safe journey.

5. Conclusions

In an urban city, road intersection points or crossroads are highly vulnerable regions for massive traffic congestion. Traffic jam is a serious issue presently to be addressed. This paper discusses an enormous traffic jam detection and avoidance on a particular AOI (i.e., Alawaha, Riyadh) using an IoV-based CDA scheme. The proposed scheme uses two essential parameters for congestion detection (i.e., occupancy rate and occupancy time) and modified EG-Dijkstra for alternate best route planning. From the temporal variations in the results, we determine that the RSU at each entrance point assesses the traffic periodically and assign the routes to the drivers dynamically. The time-lapse of alternate route discovery depends on the arrival of the vehicle to the route segment. Moreover, the rerouting algorithm in the IoV-based CDA scheme assesses the current occupancy rate of the alternative route before selection to prevent congestion migration. Our results also determine that the proposed IoV-based CDA outperforms the previous MCDP [20] scheme in terms of low-cost, less travel time, and high-speed route selection. Lastly, we also concluded that our proposed scheme performs very well under various congestion levels, i.e., low, medium, high, and massive, as compared to the previous MCDP scheme.

Author Contributions

The conceptualization, methodology, and original draft writing was done by Z.K. The supervision, validation, writing–review, and editing were done by the A.K. Formal analysis and proofread were performed by H.F. All authors have read and agreed to the published version of the manuscript.


The APC of this paper was funded by Prince Sultan University, Riyadh, Kingdom of Saudi Arabia.


This work was supported by the Robotics and Internet-of-Things Lab of Prince Sultan University, Riyadh, Kingdom of Saudi Arabia. This work was also supported by the RIC seed project (number 6).

Conflicts of Interest

The authors declare no conflict of interest.


  1. Al-Turjman, F.; Ever, E.; Zahmatkesh, H. Small cells in the forthcoming 5G/IoT: Traffic modelling and deployment overview. IEEE Commun. Surv. Tutor. 2018, 21, 28–65. [Google Scholar] [CrossRef]
  2. Hopkins, J.L.; McKay, J. Investigating ‘anywhere working’as a mechanism for alleviating traffic congestion in smart cities. Technol. Forecast. Soc. Chang. 2019, 142, 258–272. [Google Scholar] [CrossRef]
  3. Vardhana, M.; Arunkumar, N.; Abdulhay, E.; Vishnuprasad, P. Iot based real time trafic control using cloud computing. Clust. Comput. 2019, 22, 2495–2504. [Google Scholar] [CrossRef]
  4. Pan, J.; Popa, I.S.; Zeitouni, K.; Borcea, C. Proactive vehicular traffic rerouting for lower travel time. IEEE Trans. Veh. Technol. 2013, 62, 3551–3568. [Google Scholar] [CrossRef][Green Version]
  5. Qi, L.; Zhou, M.; Luan, W. A dynamic road incident information delivery strategy to reduce urban traffic congestion. IEEE/CAA J. Autom. Sin. 2018, 5, 934–945. [Google Scholar] [CrossRef]
  6. Wang, L.; Lu, J. A memetic algorithm with competition for the capacitated green vehicle routing problem. IEEE/CAA J. Autom. Sin. 2019, 6, 516–526. [Google Scholar] [CrossRef]
  7. Ning, Z.; Hu, X.; Chen, Z.; Zhou, M.; Hu, B.; Cheng, J.; Obaidat, M.S. A cooperative quality-aware service access system for social Internet of vehicles. IEEE Internet Things J. 2017, 5, 2506–2517. [Google Scholar] [CrossRef]
  8. Li, Y.; Chu, F.; Feng, C.; Chu, C.; Zhou, M. Integrated production inventory routing planning for intelligent food logistics systems. IEEE Trans. Intell. Transp. Syst. 2018, 20, 867–878. [Google Scholar] [CrossRef]
  9. Suryakala, S.; Muthumeenakshi, K.; Gladwin, S.J. Vision based Vehicle/Pedestrian Detection in Traffic Surveillance System. In Proceedings of the 2019 International Conference on Communication and Signal Processing (ICCSP), Melmaruvathur, India, 4–6 April 2019; pp. 506–510. [Google Scholar]
  10. Mishra, S.; Bhattacharya, D.; Gupta, A. Congestion Adaptive Traffic Light Control and Notification Architecture Using Google Maps APIs. Data 2018, 3, 67. [Google Scholar] [CrossRef][Green Version]
  11. Sari, R.F.; Rochim, A.F.; Tangkudung, E.; Tan, A.; Marciano, T. Location-based mobile application software development: Review of waze and other apps. Adv. Sci. Lett. 2017, 23, 2028–2032. [Google Scholar] [CrossRef]
  12. Sommer, C.; Schmidt, A.; Chen, Y.; German, R.; Koch, W.; Dressler, F. On the feasibility of UMTS-based traffic information systems. Ad Hoc Netw. 2010, 8, 506–517. [Google Scholar] [CrossRef]
  13. Tavafoghi, H.; Shetty, A.; Poolla, K.; Varaiya, P. Strategic Information Platforms in Transportation Networks. In Proceedings of the 2019 57th Annual Allerton Conference on Communication, Control, and Computing (Allerton), Monticello, IL, USA, 24–27 September 2019; pp. 816–823. [Google Scholar]
  14. Jan, B.; Farman, H.; Khan, M.; Talha, M.; Din, I.U. Designing a Smart Transportation System: An Internet of Things and Big Data Approach. IEEE Wirel. Commun. 2019, 26, 73–79. [Google Scholar] [CrossRef]
  15. Wang, R.; Xu, Z.; Zhao, X.; Hu, J. V2V-based method for the detection of road traffic congestion. IET Intell. Transp. Syst. 2019, 13, 880–885. [Google Scholar] [CrossRef]
  16. Chen, B.S.; Lee, M.Y. Non-cooperative and Cooperative Strategy Design for Nonlinear Stochastic Jump Diffusion Systems With External Disturbance: TS Fuzzy Approach. IEEE Trans. Fuzzy Syst. 2019, 1–15. [Google Scholar] [CrossRef]
  17. Amer, H.M.; Tsotskas, C.; Hawes, M.; Franco, P.; Mihaylova, L. A game theory approach for congestion control in vehicular ad hoc networks. In Proceedings of the 2017 Sensor Data Fusion: Trends, Solutions, Applications (SDF), Bonn, Germany, 10–12 October 2017; pp. 1–6. [Google Scholar]
  18. Cao, Z.; Jiang, S.; Zhang, J.; Guo, H. A unified framework for vehicle rerouting and traffic light control to reduce traffic congestion. IEEE Trans. Intell. Transp. Syst. 2016, 18, 1958–1973. [Google Scholar] [CrossRef]
  19. de Souza, A.M.; Yokoyama, R.S.; Maia, G.; Loureiro, A.; Villas, L. Real-time path planning to prevent traffic jam through an intelligent transportation system. In Proceedings of the 2016 IEEE Symposium on Computers and Communication (ISCC), Messina, Italy, 27–30 June 2016; pp. 726–731. [Google Scholar]
  20. Ahmad, M.; Chen, Q.; Khan, Z. Microscopic Congestion Detection Protocol in VANETs. J. Adv. Transp. 2018, 2018, 1–14. [Google Scholar] [CrossRef]
  21. Punzo, V.; Montanino, M.; Ciuffo, B. Do we really need to calibrate all the parameters? Variance-based sensitivity analysis to simplify microscopic traffic flow models. IEEE Trans. Intell. Transp. Syst. 2014, 16, 184–193. [Google Scholar] [CrossRef]
  22. Ahmad, M.; Chen, Q.; Khan, Z.; Ahmad, M.; Khurshid, F. Infrastructure-based vehicular congestion detection scheme for V2I. Int. J. Commun. Syst. 2019, 32, e3877. [Google Scholar] [CrossRef]
  23. Gai, K.; Choo, K.K.R.; Qiu, M.; Zhu, L. Privacy-preserving content-oriented wireless communication in internet-of-things. IEEE Internet Things J. 2018, 5, 3059–3067. [Google Scholar] [CrossRef]
  24. Siddiqua, A.; Shah, M.A.; Khattak, H.A.; Din, I.U.; Guizani, M. iCAFE: Intelligent Congestion Avoidance and Fast Emergency services. Future Gener. Comput. Syst. 2019, 99, 365–375. [Google Scholar] [CrossRef]
  25. Yaqoob, S.; Ullah, A.; Akbar, M.; Imran, M.; Shoaib, M. Congestion avoidance through fog computing in internet of vehicles. J. Ambient. Intell. Humaniz. Comput. 2019, 10, 3863–3877. [Google Scholar] [CrossRef]
  26. Younes, M.B.; Boukerche, A. Safety and efficiency control protocol for highways using intelligent vehicular networks. Computer Netw. 2019, 152, 1–11. [Google Scholar] [CrossRef]
  27. Qian, Y.; Wu, D.; Bao, W.; Lorenz, P. The internet of things for smart cities: Technologies and applications. IEEE Netw. 2019, 33, 4–5. [Google Scholar] [CrossRef]
  28. Asghar, M.H.; Negi, A.; Mohammadzadeh, N. Principle application and vision in Internet of Things (IoT). In Proceedings of the International Conference on Computing, Communication & Automation, Noida, India, 15–16 May 2015; pp. 427–431. [Google Scholar]
  29. Farman, H.; Jan, B.; Khan, Z.; Koubaa, A. A smart energy-based source location privacy preservation model for Internet of Things-based vehicular ad hoc networks. Trans. Emerg. Telecommun. Technol. 2020, 1–14. [Google Scholar] [CrossRef]
  30. Khattak, H.A.; Farman, H.; Jan, B.; Din, I.U. Toward integrating vehicular clouds with IoT for smart city services. IEEE Netw. 2019, 33, 65–71. [Google Scholar] [CrossRef]
  31. Devi, S.; Neetha, T. Machine Learning based traffic congestion prediction in a IoT based Smart City. Int. Res. J. Eng. Technol. 2017, 4, 3442–3445. [Google Scholar]
  32. Javaid, S.; Sufian, A.; Pervaiz, S.; Tanveer, M. Smart traffic management system using Internet of Things. In Proceedings of the 2018 20th International Conference on Advanced Communication Technology (ICACT), Chuncheon-si Gangwon-do, Korea, 11–14 February 2018; pp. 393–398. [Google Scholar]
  33. Al-Sakran, H.O. Intelligent traffic information system based on integration of Internet of Things and Agent technology. Int. J. Adv. Comput. Sci. Appl. 2015, 6, 37–43. [Google Scholar]
  34. Backfrieder, C.; Ostermayer, G.; Mecklenbrauker, C.F. Increased Traffic Flow Through Node-Based Bottleneck Prediction and V2X Communication. IEEE Trans. Intell. Transp. Syst. 2017, 18, 349–363. [Google Scholar] [CrossRef]
  35. Khan, Z.; Fan, P.; Fang, S.; Abbas, F. An Unsupervised Cluster-Based VANET-Oriented Evolving Graph (CVoEG) Model and Associated Reliable Routing Scheme. IEEE Trans. Intell. Transp. Syst. 2019, 20, 3844–3859. [Google Scholar] [CrossRef]
  36. Eiza, M.H.; Ni, Q. An evolving graph-based reliable routing scheme for VANETs. IEEE Trans. Veh. Technol. 2013, 62, 1493–1504. [Google Scholar] [CrossRef]
  37. Fernandes, P.; Vilaça, M.; Macedo, E.; Sampaio, C.; Bahmankhah, B.; Bandeira, J.; Guarnaccia, C.; Rafael, S.; Fernandes, A.; Relvas, H.; et al. Integrating road traffic externalities through a sustainability indicator. Sci. Total. Environ. 2019, 691, 483–498. [Google Scholar] [CrossRef]
  38. Samir, M.; Sharafeddine, S.; Assi, C.; Nguyen, T.M.; Ghrayeb, A. Trajectory Planning and Resource Allocation of Multiple UAVs for Data Delivery in Vehicular Networks. IEEE Netw. Lett. 2019, 1, 107–110. [Google Scholar] [CrossRef]
  39. Khan, Z.; Fan, P.; Fang, S. On the connectivity of vehicular ad hoc network under various mobility scenarios. IEEE Access 2017, 5, 22559–22565. [Google Scholar] [CrossRef]
  40. Thonhofer, E.; Jakubek, S. Investigation of stochastic variation of parameters for a macroscopic traffic model. J. Intell. Transp. Syst. 2018, 22, 547–564. [Google Scholar] [CrossRef]
  41. van Heeswijk, W.; Mes, M.; Schutten, M. Transportation Management. In Operations, Logistics and Supply Chain Management; Springer: Berlin/Heidelberg, Germany, 2019; pp. 469–491. [Google Scholar]
  42. Behnood, A.; Mannering, F.L. The temporal stability of factors affecting driver-injury severities in single-vehicle crashes: Some empirical evidence. Anal. Methods Accid. Res. 2015, 8, 7–32. [Google Scholar] [CrossRef]
  43. Kendziorra, A.; Weber, M. Public Transport, Logistics and Rail Traffic Extensions in SUMO. In Simulating Urban Traffic Scenarios; Springer: Berlin/Heidelberg, Germany, 2019; pp. 83–95. [Google Scholar]
  44. Ferster, C.; Fischer, J.; Manaugh, K.; Nelson, T.; Winters, M. Using OpenStreetMap to inventory bicycle infrastructure: A comparison with open data from cities. Int. J. Sustain. Transp. 2019, 1–10. [Google Scholar] [CrossRef]
Figure 1. System Model.
Figure 1. System Model.
Applsci 10 04541 g001
Figure 2. Alwaha (Riyadh, KSA) junction point for IoV-based congestion detection and avoidance.
Figure 2. Alwaha (Riyadh, KSA) junction point for IoV-based congestion detection and avoidance.
Applsci 10 04541 g002
Figure 3. Extracted graph from a real road map.
Figure 3. Extracted graph from a real road map.
Applsci 10 04541 g003
Figure 4. Effect of various segment sizes on IoV-based CDA path cost (previous MCDP scheme [20]).
Figure 4. Effect of various segment sizes on IoV-based CDA path cost (previous MCDP scheme [20]).
Applsci 10 04541 g004
Figure 5. Effect of various segment sizes on IoV-based CDA travel time (previous MCDP scheme [20]).
Figure 5. Effect of various segment sizes on IoV-based CDA travel time (previous MCDP scheme [20]).
Applsci 10 04541 g005
Figure 6. Effect of various segment sizes on IoV-based CDA travelling speed (previous MCDP scheme [20]).
Figure 6. Effect of various segment sizes on IoV-based CDA travelling speed (previous MCDP scheme [20]).
Applsci 10 04541 g006
Figure 7. Effect of various congestion levels on IoV-based CDA and MCDP path cost (previous MCDP scheme [20]).
Figure 7. Effect of various congestion levels on IoV-based CDA and MCDP path cost (previous MCDP scheme [20]).
Applsci 10 04541 g007
Figure 8. Effect of various congestion levels on IoV-based CDA and MCDP travel time.
Figure 8. Effect of various congestion levels on IoV-based CDA and MCDP travel time.
Applsci 10 04541 g008
Figure 9. Effect of various congestion levels on IoV-based CDA and MCDP travelling speed.
Figure 9. Effect of various congestion levels on IoV-based CDA and MCDP travelling speed.
Applsci 10 04541 g009
Table 1. Simulation parameters.
Table 1. Simulation parameters.
No. of segments13
No. of junctions9
Length of vehicle5 m
Minimum safety gap10 m
Time headway τ 2s
Occupancy rate threshold δ 0.7
Occupancy time O t 0.6 s
Segment length[300 m, 600 m, 900 m, 1200 m, 1500 m]
Congestion levelsLow, Medium, High, Massive (very high)
Low congestion5–20 vehicles
Medium congestion20–40 vehicles
High congestion40–60 vehicles
Massive congestion60–100 vehicles
Simulation time500 s
RSU coverage1000 m
MAC protocolIEEE 802.11p
Propagation modelTwo ray-ground
Scenarios types2 (varying segment size, temporal simulation)
Performance metricsPath cost, Travel time, Travelling time
No. of lanes2

Share and Cite

MDPI and ACS Style

Khan, Z.; Koubaa, A.; Farman, H. Smart Route: Internet-of-Vehicles (IoV)-Based Congestion Detection and Avoidance (IoV-Based CDA) Using Rerouting Planning. Appl. Sci. 2020, 10, 4541.

AMA Style

Khan Z, Koubaa A, Farman H. Smart Route: Internet-of-Vehicles (IoV)-Based Congestion Detection and Avoidance (IoV-Based CDA) Using Rerouting Planning. Applied Sciences. 2020; 10(13):4541.

Chicago/Turabian Style

Khan, Zahid, Anis Koubaa, and Haleem Farman. 2020. "Smart Route: Internet-of-Vehicles (IoV)-Based Congestion Detection and Avoidance (IoV-Based CDA) Using Rerouting Planning" Applied Sciences 10, no. 13: 4541.

Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop