Abstract
Vehicular safety technologies play a vital role in preventing or minimizing the impact of vehicle collisions to reduce life-threatening injuries and keep down vehicle collision-related casualties. One such application is connected vehicles, powered by vehicle-to-infrastructure (V2I) technology to enhance safety on road. It enables all the vehicles on a road within its range to communicate their speed, position, and heading direction to roadside unit (RSU) through cooperative awareness messages (CAM). This process needs three major operations. The first one is receiving the data from the vehicles, the second one detects the collision, and the third one communicates it with the vehicle in case of an impending collision. In this study, we developed a sophisticated algorithm to detect collisions. On detection of the impending collision, RSU sends a warning message to the concerned vehicle. This alerts the driver to take control measures like brake and speed limiting. Here, we implemented the intersection and rear-end collision scenarios using simulation of urban mobility (SUMO) traffic simulator and developed vehicular network (VANET) on network simulator OMNET++ . Veins framework combines both traffic and network simulator. Now using this computerized testbed, we can simulate the collision scenarios on the connected network and evaluate the timeline and data delivery rate with which the latter received the signal in order to take control actions like brake or halt the vehicle.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
According to the World Health Organization (WHO), nearly, 1.35 million people are dying every year due to road traffic crashes. These crashes cost 3% of the gross domestic product for most countries. WHO’s global status reports on road safety emphasize the need for strong policies, smart road design, enforcement, and technological developments as preventive measures to help in reducing road incidents [12]. Collision detection is one of the most significant as well as the challenging safety application. The common causes are over speeding and exceeding safety distance. In the present time, VANET applications enable the rapid exchange of awareness and safety messages among the connected vehicles, help to reduce collisions [8].
VANET can connect vehicle-to-infrastructure (V2I), vehicle-to-vehicle (V2V), and vehicle-to-everything (V2X) [2]. So to address its complex nature, a simulation testbed is needed to provide precision and repeatability of the test cases mimicking the real-time events and study their capacity and capabilities. Simulation testbed not only reduces development and testing periods but also very economical and boosts rapid development cycle. These computerized simulations for communication networks are offered by softwares such as network simulator-1, ns-2, ns3, and OMNeT++; driving testbeds are CORSIM, PARAMICS, VISSIM, and SUMO. Here, collision scenarios are simulated on the SUMO software and collision detection algorithm designed under the supervision of vehicular network on OMNeT++. We choose SUMO and OMNeT++ simulators as they are open-source applications with robust performance [9].
2 Literature Survey
Vehicular network research started around 2000 in the scope of increasing traffic safety. Connected vehicular networks are an extensive part of building an intelligent transportation system. Author Validi’s paper focused on study of VANETS in combination with traditional vision-based sensors for quick and reliable safety features [7]. In urban areas, with increased traffic flow, there is a need for smart methods for handling traffic to avoid accidents. So, author ‘Senthil Kumar Mathi’ proposed a model to monitor and regulate the traffic flow at intersections through RSU to alert the driver with upcoming dangers like collisions [1].
Author ‘Rajeswar Reddy’ developed traffic simulation in SUMO and communication network in OMNeT++, so vehicles can communicate with a RSU in a V2I fashion. He concluded that, with increase in density of traffic the communication network will be busy, which may lead to loss of data and delay in communication [3]. Author ‘Sivraj P’ studied Wi-Fi, DSRC, and modified DSRC communication protocols for VANETs on SUMO and NETSIM. He analyzed that among the other variants modified DSRC with IEEE 802.11 g is having good performance [2, 10].
3 Methodology
The papers mentioned in the above literature survey section focused mainly on the study of comparison on various technological solutions for vehicular networks for enhancement of safety and comfort of the vehicle and its occupants. The work done to understand the specific road events such as different collision scenarios and the system behavior for these collisions at various speeds, traffic conditions, and road conditions are minimal. In this work, we used V2I communication through DSRC protocol to establish a vehicular network. RSU connected automatically to all the vehicles entering the vicinity of this communication range. This RSU is part of infrastructure that receives the CAM from vehicles showing their speed, position, and heading direction. We implemented a sophisticated collision detection algorithm in RSU to detect the collision chances using CAMs. And recorded the time taken for detection of collision to generate an alert or control action halt. We identified the collision scenario where the collision detection is fastest. This whole scenario is to be simulated using the below software tools [1, 6, 9].
-
1.
Python 3.8,
-
2.
Simulation of urban mobility simulator (SUMO),
-
3.
Veins (integrated solution),
-
4.
OMNeT++ (network simulator).
SUMO for Traffic Simulation
In SUMO, we imported real-world road maps and simulated traffic conditions to replicate the roads and road infrastructure like traffic lights, one-way, and two-way lanes that can accommodate denser and less dense traffic conditions, also integrated with other network simulator OMNeT++ and an integration simulator veins to provide a vehicular network for simulating connected vehicles on realistic traffic demands and incidents. To simulate traffic mobility in SUMO, we needed two inputs, they are street network, i.e., map and traffic demand, i.e., vehicle routing as shown in Fig. 1.
In SUMO, there are three ways to generate these road maps, they are possible by
-
(i)
Using ‘netgenerate’ command, we compiled the subscripts that contain information of lanes, junctions, etc., to generate road network file.
-
(ii)
‘NETEDIT’ is a visual network editor; offers powerful select, edit, and highlight capabilities for user defined road and traffic designing.
-
(iii)
Using ‘netconvert’ command, we converted real road maps imported from external source like OpenStreetMap database into network files (Fig. 2).
We generated the road network and added traffic flow to create an active map with moving vehicles by compiling the network file(net.xml), demand file(.route.xml or trips.xml), and poly files(.poly.xml) to generate a SUMO executable configuration file with extension.sumo.cfg. We can visualize it by running it on the SUMO-GUI interface. Figure 3 depicts the real-world roads with traffic lights [11].
Collision Simulation
Through the SUMO application, we designed road maps and generated the traffic entities. Now, we need to simulate the collision events to test the communication protocol on network simulator OMNeT++ software. SUMO software is a controlled environment that automatically detects any malicious events and controls the traffic to make it free of collisions. Therefore, the following operations we achieve vehicular collisions:
-
(i)
Halt vehicle on edge (lane) and route another vehicle on the same route, cause a rear-end collision
-
(ii)
Add variable speed signs to the edges (lanes), causing ambiguity in vehicle routing and leads to accident scenarios like intersection collisions, etc.
-
(iii)
Add variable speeds to vehicle definition and make overtaking scenarios that lead to a collision.
-
(iv)
Set the minimum gap parameter of SUMO, so whenever the gap between the vehicles reduced below the minimum gap, collision is detected.
After identifying the collision, SUMO provided a scope to take actions like warn, stop, and remove a vehicle to identify the collision. In Fig. 4, vehicle collision is indicated by a warning message in red color. This warning contains information about vehicles involved in a collision, minimum gap between them, lane identity, and type of collisions. We are able to succeed in simulating intersection and rear-end type collisions. In the warning message, rear-end collision type is specified as a move for stage parameter and intersection collision is identified with the same name [8].
To implement a collision-free algorithm in network simulator, we need vehicles information. As SUMO can also connect to the other software through traffic control interface (TraCI), it helped in controlling the simulation of road traffic and getting FCD data during runtime to share it with the network simulator through a middleware framework called veins [6].
OMNeT++ for Network Simulation
OMNeT++ is an event-based network simulator, and it can prototype vehicular networks to communicate with road traffic simulated on SUMO using the veins a middleware framework. Veins will enable SUMO’s traffic network models to work under the influence of OMNeT++ communication network as shown in Fig. 5. OMNeT++ offers a platform for implementing and re-using existing communication protocols, and it also supports automotive communication standards. So we can build a compatible and reliable vehicular network. [8] We developed a wireless network with dedicated short-range communication (DSRC) in V2I fashion by specifying medium access control (MAC) layer with IEEE 1609 standard and physical layer with IEEE 802.11p standard [3].
Messages are exchanged between RSU and vehicles within the maximum interference distance range of 2600 m. RSU will get the speed and position information as cooperative awareness message (CAM) from vehicles. The algorithm shown in Fig. 6 checks the chances for collision through current vehicle’s position and speed as inputs, represented by vectors × 0 and v1, and takes previous inputs in B. Initialize the set C for holding the vehicles that are to be collided with the current vehicles and calculated the current vehicle’s position for its changeover time. Every vehicle generated CAM that is to be received by the detector. The algorithm assigned this CAM to CAM b ∈ B (mapping messages with current vehicles). The vehicle’s position over time and calculated the difference between this vehicle and the current vehicle d(t). We computed d(t) as scalar by taking it as squared value of distance d(t), i.e., D(t) = |d(t)|^2. We must look for D(T) minimum value over time t; now take time t where D(t) is at its minimum value. If t < 0, vehicles are moving away from each other, it means there is no chance of collision. Else the vehicles are moving toward each other. Then, take distance d between vehicles. Check if the d value is lower than the dmin threshold. If so, then add b to C, i.e., mapping alert to the collision vehicles set, b identifies the vehicles to send alert message, that will be involved in the collision and sends an alert before the collision happens. In our scenario, we are sending a message to halt vehicles for 50 s [5, 6, 9].
4 Results
Veins support parallel execution of traffic mobility on SUMO and vehicular network on OMNeT++. Red signals on vehicles indicate the threat of collision as depicted in Fig. 7 and 8.
On detection of a collision, RSU sends a message to vehicles and halts for a time duration of 50 s, at their current position to avoid accidents. Figure 9 shows the position of vehicles for time graph. Constant straight lines depict that the vehicles are in a halt state.
For any communication network, its reliability is highly dependent on data (packets) delivery time and data transfer, without any losses and delays. Here, we measured network reliability through packet delivery ratio (PDR), which tells how much percent of data packets received out of all the data packets transferred [4].
We got a maximum of 86% PDR. We calculated it by accessing the network performance data generated after complete execution. In Fig. 10, bar chart of the total received packets by individual nodes (vehicles) is plotted. In Fig. 11, bar chart of total lost packets by individual nodes (vehicles) is plotted. We took average values of all those parameters to compute PDR.
The average time delay for our vehicular network is calculated by taking the variation in total busy time and channel busy time between RSU and individual nodes (vehicles). The average result is 200 ms. Figure 12 illustrates the bar chart of a busy time for the vehicles.
5 Conclusion
This paper aims to prevent or minimize the impact of vehicle collisions using vehicle-to-infrastructure fashioned VANET technology. We simulated traffic collision scenarios on traffic mobility application SUMO, communication network with collision detection algorithm on OMNeT++ network simulator, and created the VANET functionality by integrating the OMNeT++ communication network to simulated traffic environment on SUMO via veins. We achieved supervisory control over the vehicles within the network range through an exchange of messages between the roadside unit and vehicles. We used standard wireless DSRC protocol to communicate the data. We computed the reliability of the network through PDR and average time delay for an individual vehicle to the roadside unit channel. We attained 86% PDR and 200 ms for average individual time delay for vehicles. We improved PDR for this proposed VANET more than the existing methods [4]. This scenario was effective for short to medium range applications, as vehicles exceeding the network range, communication is lost. To extend the range, we can strategically place multiple RSUs on lane starting and ending based on high-probability accident zones.
References
Dr. M. Senthil Kumar, E. Joseph, S, D., V, M. Karthik, S, H., “Design and Implementation of message communication to control traffic flow in vehicular networks”, Int. J. Eng. Adv. Technol. (IJEAT), 9 (2019)
M. S., S. P., “Performance comparison of communication technologies for V2X applications,” in 2020 5th International Conference on Communication and Electronics Systems (ICCES), pp. 356–362 (2020). https://doi.org/10.1109/ICCES48766.2020.9137879
G. Rajeswar, R. Ramanathan, An empirical study on MAC layer in IEEE 802.11p/WAVE based vehicular Ad hoc networks. Procedia Comput. Sci. 143, 720–727 (2018)
A. Mukhopadhyay, V. A. Bharadwaj, “V2X based road safety improvement in blind Intersections,”2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), (2020), pp. 964–968. https://doi.org/10.1109/ICIRCA48905.2020.9183253
M. Schratter, M. Hartmann, D. Watzenig, Pedestrian collision avoidance system for autonomous vehicles. SAE Int. J. of CAV 2(4), 279–293 (2019). https://doi.org/10.4271/12-02-04-002
G. Avino et al., “Poster: a simulation-based testbed for vehicular collision detection,” 2017 IEEE Vehicular Networking Conference (VNC), (Torino, 2017), pp. 39–40. https://doi.org/10.1109/VNC.2017.8275655
A. Validi, T. Ludwig, C. Olaverri-Monreal, “Analyzing the effects of V2V and ADAS-ACC penetration rates on the level of road safety in intersections: evaluating simulation platforms SUMO and scene suite,” 2017 IEEE International Conference on Vehicular Electronics and Safety (ICVES), (Vienna, 2017), pp. 38–43. https://doi.org/10.1109/ICVES.2017.7991898
F. Lyu et al., “Towards rear-end collision avoidance: adaptive beaconing for connected vehicles,” in IEEE Conference, Transactions on Intelligent Transportation Systems. https://doi.org/10.1109/TITS.2020.2966586
M. Malinverno, J. Mangues-Bafalluy, C.E. Casetti, C.F. Chiasserini, M. Requena-Esteso, J. Baranda, An edge-based framework for enhanced road safety of connected cars. IEEE Access 8, 58018–58031 (2020). https://doi.org/10.1109/ACCESS.2020.2980902
“Documentation-Veins.” [Online]. Available: https://veins.car2x.org/documentation/. Accessed 25 May 2020
“SUMO User Documentation -Sumo.” [Online]. Available: https://sumo.dlr.de/wiki/SUMO_User_Documentation#Introduction. Accessed 06 Jun 2020
”WHO Road Safety Status Report” https://www.who.int/violence_injury_prevention/road_safety_status/report/en/. Accessed 2 Aug 2020
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Ratnam, T.S.K., Lakshmikanthan, C. (2023). Virtual Testbed of Vehicular Network for Collision Simulation and Detection on SUMO and OMNeT++ Simulators. In: Zhang, YD., Senjyu, T., So-In, C., Joshi, A. (eds) Smart Trends in Computing and Communications. Lecture Notes in Networks and Systems, vol 396. Springer, Singapore. https://doi.org/10.1007/978-981-16-9967-2_46
Download citation
DOI: https://doi.org/10.1007/978-981-16-9967-2_46
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-9966-5
Online ISBN: 978-981-16-9967-2
eBook Packages: EngineeringEngineering (R0)