Next Article in Journal
Stretchable Sensor Materials Applicable to Radiofrequency Coil Design in Magnetic Resonance Imaging: A Review
Previous Article in Journal
Cleaned Meta Pseudo Labels-Based Pet Behavior Recognition Using Time-Series Sensor Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Live Intersection Data Acquisition for Traffic Simulators (LIDATS)

Computer Science, College of Engineering, University of Alabama, Tuscaloosa, AL 35401, USA
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2024, 24(11), 3392; https://doi.org/10.3390/s24113392
Submission received: 8 April 2024 / Revised: 16 May 2024 / Accepted: 20 May 2024 / Published: 24 May 2024
(This article belongs to the Section Sensor Networks)

Abstract

:
Real-time traffic signal acquisition and network transmission are essential components of intelligent transportation systems, facilitating real-time traffic monitoring, management, and analysis in urban environments. In this paper, we introduce a comprehensive system that incorporates live traffic signal acquisition, real-time data processing, and secure network transmission through a combination of hardware and software modules, called LIDATS. LIDATS stands for Live Intersection Data Acquisition for Traffic Simulators. The design and implementation of our system are detailed, encompassing signal acquisition hardware as well as a software platform that is used specifically for real-time data processing. The performance evaluation of our system was conducted by simulation in the lab, demonstrating its capability to reliably capture and transmit data in real time, and to effectively extract the relevant information from noisy and complex traffic data. Supporting a variety of intelligent transportation applications, such as real-time traffic flow management, intelligent traffic signal control, and predictive traffic analysis, our system enables remote data analysis and decisionmaking, providing valuable insights and enhancing the traffic efficiency while reducing the congestion in urban environments.

1. Introduction

Intelligent transportation systems (ITSs) encompass a rapidly growing field. The main goal of ITSs is to improve transportation as well as make the system safer, more reliable, and more efficient without altering the existing infrastructure physically [1]. ITSs represent a new global phenomenon that benefits the public as well as private sectors. For instance, they help in managing several government policies and making procedures feasible, such as transportation safety compliance, customs clearance safety, as well as toll collection. Additionally, they enhance corporate productivity by reducing operating costs, producing time savings, and helping in saving energy [2].
A significant advancement in the field of ITSs is digital twin technology, which creates virtual replicas of physical systems—for example, traffic networks—enabling simulation, monitoring, and proactive control over time in near real time. A digital twin will be a central component as it plays a vital role in optimizing traffic flow, increasing safety, and reducing traffic congestion. This is achieved by facilitating the rigorous testing and refinement of the strategic innovation within the virtual world prior to the real-world implementation.
In ITSs, data aggregation is considered to be one of the crucial aspects. They gather data from various sources to provide holistic knowledge for the transportation system.
Another crucial aspect of ITSs includes traffic signal controllers. While these controllers can primarily manage the timing and operation of traffic signals, it is the sensors associated with these controllers that gather the data on traffic flow, volume, and density. These data are essential when analyzing transportation patterns [3]. Furthermore, they combine the information that is gathered from various traffic signal controllers and provide a comprehensive understanding of the transportation system in a given area.
Aggregating data from traffic signal controllers requires using specialized software and hardware to collect the data in real time. Generally, the hardware devices, which include various sensors, are installed at intersections. These sensors are capable of gathering various types of data related to the traffic, such as vehicle speed, traffic flow, and other metrics, which are then utilized by the traffic signal controllers to manage the signals effectively. On the other hand, the specialized software can be used to aggregate and analyze the collected data from the traffic signal controllers. For instance, Geographic Information Systems (GIS) can map the patterns of traffic, while traffic simulation software models various traffic scenarios. Traffic management systems, on the other hand, can optimize signal timings based on real-time data [4].
Analyzing aggregated data paves the way for each of the Department of Transportation (DOT) levels—federal, state, and local—to find the congestion areas, as well as to develop targeted traffic management strategies. The DOT can implement data-driven solutions with ITS insights, such as adaptive traffic signal control, real-time traffic information, and smart parking systems, to reduce delays as well as to enhance the traffic flow. These approaches play a vital role in improving the transportation safety, efficiency, and reliability across all the DOT jurisdictions. They also contribute to improving the infrastructure planning and policy-making.
Figure 1 illustrates the components involved in the data aggregation process, which includes the National Electrical Manufacturers Association (NEMA) phase numbers, a pedestrian push button for walk signals, a traffic signal box, and magnetic sensors. NEMA is a standardized numbering scheme for traffic signal phases that ensures the consistency and interoperability among traffic signal controllers. Generally, there are eight phase numbers assigned to the main and side streets. This helps traffic engineers to design and manage coordination plans as well as signal timings efficiently [5].
As shown in Figure 1, the magnetic sensor transmits a signal wirelessly to the traffic signal controller when the vehicle passes over it, providing near real-time information on the number of vehicles currently in the area corresponding to each NEMA phase. This information is very important as it helps in understanding the real-time traffic situation at the intersection. Also, the pedestrian push button transmits a message to the traffic signal box every time it is pressed. It indicates that a change has happened in the walk signal status. These data play a vital role in optimizing the signal timings for pedestrian safety, as well as making the traffic flow more efficient. In this paper, it is essential to note that the focus of this study is on demonstrating how our system is capable of aggregating and handling the data from traffic signal controllers, not on the efficiency or optimization of the traffic phases depicted. However, the data that we collect can be used to improve efficiency.
As stated earlier, this paper focuses explicitly on the data aggregation process in ITSs, particularly on the data obtained from traffic signal controllers. Although data aggregation can be facilitated by manufacturer solutions, a unified approach that is capable of aggregating data in real time and compatible with a variety of traffic simulators is not prevalent. Traffic simulators are software tools that are used to model the behavior of traffic systems; they predict the traffic flow and also assess the impact of various traffic management strategies. While improvements in traffic control algorithms have used simulations of intersections [6,7], they could benefit from these real-time data.
To bridge the gap, this paper presents LIDATS (Live Intersection Data Acquisition for Traffic Simulators), an architecture that aims to provide a real-time data stream for traffic simulators from traffic signal controllers. Our goal is to ensure that the stream is secure, quick, and consumes low bandwidth.
The recent findings demonstrate a gap in ITSs regarding aggregating data in real time. Moreover, most of the current solutions are based on proprietary hardware and software configurations, which makes it difficult to scale and adapt to different urban environments. Another critical limitation observed in the existing digital twin technologies is the lack of a real-time connection between virtual simulations and on-site traffic control systems. This gap reduces the effectiveness of digital twins in ITSs as it limits their use when it comes to making quick decisions and managing traffic actively.
In order to overcome these limitations, a unified approach is needed that is capable of enabling the seamless integration of various traffic management systems and real-time processing. These constraints restrict the broader application of ITSs and their efficiency in managing traffic flows and responding to real-time urban traffic conditions.
This paper contributes to the field of ITSs by introducing the LIDATS system, which provides several advances:
  • Comprehensive System Architecture: In this paper, we detail how we developed our LIDATS system that includes robust software and hardware designed to enhance the acquisition and processing of data in real time.
  • Innovative Data Acquisition and Management: We explain further the methods and technologies employed in LIDATS to ensure effective real-time handling, highlighting its advanced features.
  • Support for Extensive ITS Applications: We demonstrate how our LIDATS system supports a wide range of ITS applications and how it can be used to improve the overall traffic management.
Section 2 of this paper provides a comprehensive literature review of the existing research related to our topic. In Section 3, we describe our LIDATS method and provide a detailed explanation of the hardware and software components that we used, the process of gathering data, and relevant technical specifications. Section 4 presents our evaluation, including the system uptime, latency, and data processing savings. Section 5 shows the versatile integration of LIDATS. Section 6 presents the benefits of digital twins for traffic management. Finally, in Section 7, we discuss our future work and the directions for further research based on our evaluation.

2. Literature Review

This literature review is organized into two subsections, each subsection representing a critical component in our LIDATS approach. The first subsection investigates the digital twin concept that involves creating a virtual replica of a system that enables the simulation and optimization of different scenarios and improves the decisionmaking and system performance. The second subsection examines the data aggregation in the context of IoT. This section aims to provide an overview of the current state of the art in ITSs by exploring the latest research and development in digital twins and data aggregation.

2.1. Digital Twins

A digital twin is considered as a virtual replica of a physical object, process, or system, using real-time data and simulation to provide insight and support decisionmaking. Recently, digital twin analysis has become an increasingly important and popular research area across many applications, such as manufacturing, medicine, oil, and city planning [8]. The growing number of research studies and publications on this topic and the increased attention from government sectors and industries prove this. A digital twin can provide valuable information and inform the decisionmaking in transportation by creating a virtual representation of real-world traffic systems. This subsection summarizes and analyzes the recent papers focusing on digital twins in ITSs.
Kusic et al. [9] created a digital twin of the motorways of Barcelona using traffic counters with minute real-time accuracy. There is distinct importance regarding the timing of real-time data. The data must be close to real-time in order for the simulation to be accurate. Sánchez-Vaquerizo built a large-scale microsystem of the motorways of Geneva [10] using novel mobility data from phone records and traditional surveys—not using real-time data. It is still important as a simulation of data, but, as a simulation of past data, it is more equivalent to a digital shadow. In [11], the traffic simulator SUMO was connected with the game engine Unity. It provides a 3D visualization of the simulation. This fusion enabled the SUMO to control the normal vehicles, while Unity controlled connected and automated vehicles (CAV) to achieve the efficient integration of CAV into typical traffic.
However, the existing digital twin scenarios are often lacking the data needed. In a review of digital twins for ITSs, ref. [12] concludes that data loading technology and information extraction technology still need to be strengthened. Others agree as well [9], even saying that the “Existing traffic control simulation fails to realize the real-time connection between simulation and actual traffic control on-site, making real-time simulation, verification, and evaluation unavailable” [13]. Therefore, this paper intends to provide a proven process for collecting real-time data in order to bridge the gap.

2.2. Data Aggregation in Internet of Things

Generally, data aggregation is a technique that involves combining and processing data from several sources to extract valuable information. It is used widely in various applications, such as transportation, healthcare, smart grid systems, etc. Examining the papers in this area provides insights into the latest developments in data aggregation, which can improve the effectiveness of our research in this area. This subsection sheds light on the recent papers discussing the different data aggregation aspects in IoT systems.
In the realm of IoT, data aggregation has experienced remarkable growth and discoveries. As early as the introduction of intelligent transportation systems, researchers like Sysoev et al. [14] investigated the possibilities of aggregating different data types to estimate traffic flow parameters. This research paper provided the foundation for the subsequent research that aimed to enhance the precision of traffic flow estimation by using multiple data sources and suitable aggregation techniques. However, the Big Data approach it takes is not always feasible due to the costs, complexity, and privacy.
Simultaneously, the IoT environment saw the emergence of inventive data aggregation approaches to tackle the challenges posed by the vast amount of data generated by IoT devices. A research paper presented a unique distributed data aggregation method [15] that aimed to improve the efficiency and dependability of IoT systems. Through experiments and simulations, Homaei et al. showcased the superiority of their proposed approach compared to the existing methods for low-power and lossy networks, opening the door for further advancements in this area.
The study of data aggregation in wireless sensor networks also made significant progress, with comprehensive reviews [16] comparing the pros and cons of various techniques, such as in-network aggregation, hierarchical aggregation, and compressive sensing-based aggregation. These contributions have emphasized the challenges of implementing data aggregation as well as spurred additional research in several areas, such as energy efficiency, data accuracy, and security.
In the field of E-health monitoring systems, Bhowmik et al. introduced an IoT-based data aggregation method [17] that revolutionized the collection of health data from multiple sources. This breakthrough enabled healthcare professionals to make informed decisions in real time, considerably improving the efficiency of such systems. Consequently, a secure aggregation algorithm [18] was proposed by Kumar et al. to balance between the privacy and energy efficiency in data aggregation, which showed tremendous promise for various applications.
As IoT systems have expanded, latency has emerged as a crucial problem. A state-of-the-art adaptive control algorithm [19] has been introduced by Yoshino et al. to minimize the latency in IoT gateways, offering a promising solution to this problem. However, it did not address non-statistical data aggregation, where the data are bundled together instead of simply summarizing the data. In the context of industrial smart grid systems, security took center stage with a novel approach [20] that combined the traditional aggregation methods with batch verification to enhance the protection of metering data.
Further research looked into the combination of node clustering and the Extreme Learning Machine (ELM) in wireless sensor networks [21] and the application of homomorphic encryption in smart grid systems [22] for secure data aggregation. These novel schemes demonstrated the importance of balancing the accuracy, communication costs, and security in the IoT network environments [23].
The field of data aggregation has indeed evolved significantly, with comprehensive overviews [24]. Cai et al. present a taxonomy of the existing data aggregation methods and design guidelines for choosing the appropriate aggregation technique for different applications. The introduction of secure data aggregation schemes, such as RESDA [25], highlights the potential of IoT applications in the healthcare domain, where data privacy and confidentiality are essential.
The evolution of data aggregation in IoT systems has been characterized by multiple studies that addressed various challenges, such as accuracy, energy efficiency, security, and privacy. These endeavors have collectively shaped the development of improving the data aggregation methods, which can be utilized in various applications, ultimately enhancing the performance of IoT systems.

3. LIDATS Method

This section provides a detailed overview of the LIDATS approach for real-time data acquisition from traffic signal controllers. Our approach consists of 4 layers, as shown in Figure 2. These are the capture layer, data pre-processing and aggregation layer, storage layer, and application layer.
  • The capture layer consists of two components: hardware and software. Figure 2 illustrates the architecture of LIDATS and demonstrates the process of gathering data from traffic signal controllers in real time. This layer is responsible for capturing data on the current state of the intersection from the traffic controller, accomplished through a device connected to the same local network. This is the lowest layer, and as such is the most vulnerable layer to physical interference and tampering. The data captured include the current phase, as well as data from the vehicle sensors, actuators, and pedestrian sensors or buttons. These vast data are then transferred to the data pre-processing layer.
  • The data pre-processing and aggregation layer is pivotal in refining the collected data, ensuring a balance between data integrity and efficiency. The first step is data cleaning, and removing any data that are invalid or erroneous. An example of this could be getting back data that show perpendicular directions both displaying green. Rather than discarding this information, it is annotated for further analysis, which is critical for system integrity checks and long-term improvements. In the next step, a large amount of data are sent to the data pre-processing layer, which must be carefully minimized in order to maintain the trade-off between the real-time accuracy of the data and the size and amount of data transmission. We send updates selectively, triggering transmission only when there is a notable change, like shifts in traffic lights or sensor readings. This approach prioritizes efficient data transfer, ensuring updates are conveyed in response to relevant traffic alterations. The data are then put in a minimized format and sent to the storage layer.
  • In the storage layer, the data are stored in a database, where they can be used to train machine learning models for traffic control, as well as sent to real-time traffic simulation software, in the application layer. The database can be used with traffic and crash data to determine better control algorithms for intersections and lights.
    This layer manages and addresses different types of traffic data, which are essential for managing traffic systems, including
    • Traffic Flow Data: Gathers all the relevant metrics, such as vehicle counts, speed, and density, which are useful in analyzing the patterns of the traffic as well as optimizing its flow.
    • Traffic Incident Data: Records details of traffic-related incidents, including collisions and non-collision events such as vehicle breakdowns, to provide the necessary data for safety analysis and emergency response planning.
    Generally, the traffic data are stored in advanced database management systems that facilitate efficient data retrieval and scalability, which are crucial for real-time processing and long-term traffic studies.
  • The application layer is where the real-time data are used to simulate traffic as well as predict the traffic behavior under different scenarios. For example,
    • Aimsun and SUMO: Traffic flow and incident data are utilized to model traffic simulations to test traffic management strategies.
    • MATSim: Uses traffic flow data for modeling daily travel patterns as well as optimizing routes.
    • Unity: Applies incident data in conducting detailed simulations of accidents for safety analysis.
The hardware part of our proposed approach includes an edge device; specifically, we used Raspberry Pi 4 (Raspberry Pi Foundation, Cambridge, UK) with a Linux operating system. The edge device is not equipped with any sensors. Moreover, a Hardware Security Model (HSM) is included in the proposed model to secure the data and the edge device.
The software component of the LIDATS approach is a tailor-made solution, specifically using the Simple Network Management Protocol (SNMP) [26] to gather data from the traffic signal controllers. We used the SNMPGET command and the traffic signal controller’s proprietary Object Identifier (OID) to request and gather various types of traffic data.
In the following subsections, we will describe in detail the hardware and software components as well as provide technical specifications.

3.1. Hardware

The hardware component of our approach involves using a Raspberry Pi 4 single-board computer with 8GB of RAM as the edge device. The Raspberry Pi, generally, is considered a low-cost and low-power device. It also has multiple interfaces, which make it a great candidate for an edge computing application. The board of the Raspberry Pi includes a 64-bit ARM (Quad-core ARM Cortex-A72) that runs at 1.5 GHz. These features play a vital role in improving the performance of the Pi compared with its predecessors. Moreover, it uses the Broadcom BCM2711 system-on-chip (SoC). The BCM2711 SoC is a single chip that integrates within it not only the CPU, GPU, and memory but also peripherals like USB, Ethernet, and Wireless, thereby making the design of the single-board computer compact [27]. The Raspberry Pi runs an operating system from the Linux family, Raspberry Pi OS (previously called Raspbian), providing a solid software environment into which Python scripts run and network communication tools are installed and configured properly for interfacing with the traffic signal controller.
Additionally, it has also been configured to interface with the traffic signal controllers, which capture signal timing, vehicle/pedestrian volume, and identify incidents at intersection. These data are invaluable for on-the-go analysis and become pre-processed on site for the maintenance of responsiveness immediacy and data integrity before being transferred to the central system for more processing.
In order to enhance security, several security measures have been applied to the edge device. This includes changing the default password of the Pi as well as disabling unnecessary Pi features, and installing fail2ban for defense against brute-force attacks. Additionally, we used the Zymkey4 encryption hardware security module (HSM) by installing it on the edge device [28]. This hardware security module provides secure key storage, secure boot, and hardware-based encryption and decryption to protect the data on the edge device. This security module is designed specifically for Raspberry Pi, making it very easy for integration and into IoT projects. Additionally, it provides robust protection against several types of attacks, such as unauthorized access, theft, and data tampering. Figure 3 illustrates the Raspberry Pi 4 with the Zymkey4 HSM module installed.
In addition to security measures, we will use a specialized Raspberry Pi enclosure that designed to be water/weatherproof and dustproof to protect the hardware components of the Raspberry Pi and its cables. The transparent clear top cover of the enclosure has a built-in silicone gasket seal, while the base plate supports mounting any Raspberry Pi model with different orientations. Figure 4 illustrates the Raspberry Pi enclosure.

3.2. Software

The edge device uses SNMP, which is a protocol used for management and monitoring of network-connected devices, to poll the connected traffic controller for current state. The data retrieved are then aggregated through the LIDATS method described above. Python was utilized as the primary programming language for this purpose, chosen for its flexibility and ease of use. Authentication and preventing message forgery were the main points when considering encryption methods. We used TLSv1.3 for the encryption, authentication, speed, and message integrity [30] that it provides. We use ECDHE, Elliptic Curve Diffie–Hellman, for the key exchange. Authentication is completed through ECDSA. On the server, upon a successful handshake, the data are accepted and saved in a database.
Each portion of traffic data contains at the minimum 37 bytes. A datatype identifier is first, identifying which type of data comes next. For intersection data, this consists of a 32-bit (4 byte) unsigned integer indicating the number of data points being sent, N. Following are N frames consisting of 14 bytes for the date and time, 8 bytes for the traffic phase, 64 bits (8 bytes) for the vehicle detection sensors, and 8 bits for the pedestrian detection sensors, as shown in Figure 5. Even assuming each intersection sending a single frame, every second, 500 intersections would be 17.5 Kb/s. If the connection was dropped after each frame, the most data sent would be the connection and authentication.
This system allows for more data to be sent from the intersection. Data from traffic counters like the ones from [10] could easily be added to this framework.
For storing our results, we used MongoDB, a popular NoSQL database known for its document-oriented structure and schema flexibility. MongoDB stores its data in JSON-like documents with optional schema, which complements and aligns with the flexibility of data LIDATS can capture. This allows us to adapt quickly to changing data models. Another reason for using MongoDB is its query performance at large scales: its execution time scales less than MySQL Workbench 6.3 [31].

4. Evaluation

The evaluation of LIDATS can be divided into system tests and digital twin readiness. We conducted five tests: four using the Econolite traffic signal controller simulator (Econolite, Anaheim, CA, USA), and one using an Econolite ASC/3-2100 to validate the effectiveness of our approach. This simulator is capable of emulating a traffic signal controller in functionality, appearance, and interface. The simulator accepts SNMPGET and SNMPSET messages and uses the same OIDs as the ASC/3-2100, allowing us to assess the performance of our method accurately.

4.1. System Tests

Figure 6 illustrates the user interface of the Econolite traffic signal controller simulator. The simulator provides a comprehensive user interface for observing, configuring, and controlling the simulated traffic signal controller, which enabled us to evaluate our method thoroughly in various scenarios.
Using this traffic signal controller, we were able to simulate 138 intersections for over 24 h with no server issues (100% uptime). The simulated intersections were set to cycle continuously, at a faster rate than a real intersection would—at an around 60 s average cycle time. With an 120 average cycle time, this would be equivalent to 28 h. In total, over 4 tests, the simulations were polled 5,706,088 times, with a total of 2,287,240 phase changes transmitted.
Additionally, in our fifth test, we utilized an Econolite ASC/3-2100 traffic controller to test the execution of the full system. Using the same accelerated traffic cycle as before, we collected light signal data for 375 h (15.6 days), collecting 111,690 phase changes with 0 dropped transmissions, an equivalent of a entire month’s changes at a 120 average cycle time.
To measure the performance of data acquisition, we added timing commands to the edge client. A total of 80.05 megabytes of intersection data were transmitted (not including encryption), with an average latency from data acquisition to server of 0.1688 ms. The minimum latency from all intersections was 82.73 μs, with a median minimum of 89.88 μs. The maximum latency was 18.95 ms, with a median maximum of 7.94 ms, as illustrated in Figure 7.
The low latency observed in Figure 7 demonstrate the capability of LIDATS in gathering and transmitting intersection data with minimal delays. This low latency is crucial as it plays a vital role in maintaining an accurate real-time representation to simulate the traffic condition properly. Most of the data points showed that the latency was within an acceptable range for traffic simulations, which means that our LIDATS system could update frequently to reflect traffic changes accurately. Although there were a few instances of higher latency, these did not significantly affect the overall performance of LIDATS.
All of these data were stored in our MongoDb database, resulting in 49.26 MB on disk, as shown in Figure 8.
A consumer-grade desktop with an i7-7700 CPU running 20.04 Ubuntu Linux was very capable of capturing and storing the aggregated data, with each thread staying well under 30% usage, as shown in Figure 9.
The results of our evaluation showed that the LIDATS method successfully captured and processed real-time traffic data from the Econolite traffic signal controller simulator. The data were effectively minimized and transmitted to the aggregation layer, where they were stored in a database for further analysis and use in training machine learning models for traffic control. Additionally, the server kept track of the most recent data for each intersection to send for use in digital twin software.

4.2. Digital Twin Readiness

The aggregated and stored data are ready to be used in digital twin and machine learning applications alike. The database can be queried for the traffic control data for any intersection over any time length. Additionally, this traffic control information can be used to dynamically control and calibrate traffic control simulations in real time using SUMO Traffic Control Interface (TraCI). This enables simulating traffic control of intersections across cities.

5. LIDATS: Versatile Integration

With the successful gathering of Econolite traffic simulator data, the LIDATS architecture, therefore, is open to the possibility of wider application. This achievement suggests that LIDATS is ready to follow through to the final stage: merging with a broad-span traffic simulation platform. This capability is the flexibility of the LIDATS approach, allowing open sources from SUMO and commercial products from Aimsun, VISSIM, and PARAMICS microscopic simulation capabilities, as well as advanced capabilities from TransModeler. With the modular design, LIDATS can be easily adapted to the most varied needs of simulating traffic. This section will introduce how this integration can be accomplished with ease on these platforms. Table 1 below summarizes the integration capabilities of LIDATS with the named platforms to realize a complete digital twin in the simulation. This section will explore in detail how LIDATS can be integrated with the traffic simulation platforms.

5.1. Open Source Traffic Simulation: Simulation for Urban Mobility (SUMO)

SUMO is a potent open-source tool that is heavily modular and benefits from our LIDATS system. The software modules of LIDATS are configurable; they can be adjusted to harmonize data collection as well as transmission with the requirements of SUMO. Hence, our system can integrate with a SUMO simulation tool by using the TraCI protocol to make the exchange of data happen flawlessly. In addition, SUMO uses a unique XML schema for network data representation. So, the data would also have to be exported in the XML format from JSON with the help of a programming language, such as Python 3. Python 3 offers libraries that can parse JSON and create XML, allowing for a flexible and customized export process.

5.2. Commercial Traffic Simulations: Aimsun and VISSIM

Commercial simulations such as Aimsun and VISSIM have their own proprietary APIs and SDKs. Aimsun has the Aimsun Next API, which is intended for programmatic simulation data access. On the other hand, VISSIM offers a COM-based API, making it easier to control as well as exchanging data with the simulation environment. Our LIDATS system is engineered to interface with these APIs, allowing for the integration of real-time data into Aimsun and VISSIM. This interoperability plays a vital role in enhancing the simulation accuracy and the ability to reflect the current traffic conditions in a more reliable way in simulation scenarios.

5.3. Three-Dimensional Microscopic Traffic Simulations: PARAMICS

Three-dimensional traffic simulators like PARAMICS are very good at showing how each vehicle moves on the road in great detail. PARAMICS has special APIs that allow it to obtain live data from other systems. These APIs enable PARAMICS to work with real-time data systems such as our proposed model, LIDATS. This means that, as LIDATS collects data from traffic signal controller, it is capable of transmitting those data straight to the PARAMICS simulator using their APIs, and that makes the traffic simulations more realistic and up-to-date.

5.4. Advanced Tools: TransModeler

TransModeler is one of the advanced simulation tools. This tool raises the bar with specific interfaces, notably the Data Collector API, created to receive traffic data input. Specialized APIs like this one will smoothen the overall integration of real-time data streaming.

6. Digital Twin Benefits for Traffic Management

Transportation could become adaptive, responsive, and more efficient by using digital twin technology. This technology enables the real-time monitoring and simulation of the current traffic situation. It also provides a proactive approach to infrastructure maintenance as well as enhances the traffic optimization. This promises to be the next level of transportation planning and execution. As detailed, traffic management is much better when digital twins are involved. The benefits include the following:
  • Enhanced Decisionmaking: The digital twin technology will provide a detailed replica of the traffic ecosystem. It enables decisionmakers to visualize the impact of changes in near real time, predict the future conditions, as well as make informed choices. The precision in decisionmaking helps in reducing the approach of trial and error as well as ensuring that more effective traffic flow strategies are implemented.
  • Operational Efficiency: Digital twins assist in locating bottlenecks and streamlining the traffic patterns prior to making tangible alterations by simulating various traffic conditions. This ability to test solutions and refine them in a virtual environment paves the way for significant improvements in traffic flow and reduces road congestion.
  • Predictive Maintenance: The predictive capabilities of digital twins enable anticipating major infrastructure breakdowns, as well as scheduling maintenance activities before a critical failure occurs.
  • Emergency Response and Planning: Digital twins can simulate the impact on the traffic network in the event of accidents or a natural disaster. They play a vital role in developing an effective response strategy. This readiness helps in reducing traffic disruptions as well as enhancing public safety.
  • Sustainability and Environmental Impact: The role of digital twin technology is quite important to measure the environmental effects of traffic control systems, which may subsequently lead to the implementation of traffic control policies. It can play a vital role in helping cities to reduce their carbon emissions and improve the air quality significantly. Digital twin technology could simulate results by using models that take into account various programs such as congestion pricing or promotions to use alternative transportation modes and hence possibly contribute to imagining a more sustainable future.

7. Future Work

In the future, we are planning to test, refine, and improve our LIDATS system further in several key areas:
1. Ongoing Extensive Testing, Validation, and Data Handling: We recognize the importance of the continued rigorous testing of our LIDATS in real-world scenarios with a focus on edge cases and considering various environmental factors as well as traffic conditions. The ongoing testing will play a vital role in helping us in identifying potential challenges and refining the system’s hardware and software aspects. Furthermore, we will make sure that our model can efficiently handle the massive amounts of data the system generates. In order to accomplish this, we will work on refining the data compression and the transmission methods, and make sure that the data are delivered promptly without sacrificing their quality or reliability.
2. Enhanced Security Measures: We will evaluate and update the security measures of our LIDATS system consistently to protect it against emerging threats and vulnerabilities. The enhanced security measures will include using advanced encryption methods as well as intrusion detection systems (IDS).
3. Integration with Traffic Signal Controllers: As previously discussed, one of our main goals is to incorporate LIDATS into the traffic signal controller infrastructure, enabling seamless integration with the existing traffic infrastructure. It is important to note that each traffic signal controller manufacturer has its own proprietary Object Identifier (OID). The OID is essential for retrieving accurate information from the traffic signal controllers. In order to ensure that we achieve successful integration, we need to work closely with the manufacturers as well as suppliers to have access to the necessary technical documentation and obtain the essential OIDs from them. Having the OIDs from the manufacturers will enable us to collect and interpret the data from the traffic signal controller accurately. In addition, it will enhance the adaptability and versatility of our LIDATS system.
4. In-depth Data Analysis: Since massive data will be retrieved from various intersections, our plan is to thoroughly study and analyze the aggregated data from traffic signal controllers, and this can be achieved by assessing the traffic patterns and detecting anomalies or irregularities in the data. It may be possible to improve traffic management systems by gaining insights into future areas through the analysis of traffic data. Furthermore, we will discover more about the factors that influence traffic flow, congestion, and safety by utilizing sophisticated data analytics techniques like time series analysis as well as clustering.
5. Digital Twin Approach—Integration with the SUMO Traffic Simulator: One of our main future goals is to integrate our design with the open-source SUMO simulator. In order to properly provide the SUMO with real-time traffic feeds, we need to identify the necessary changes to the data formats, communication protocols, and transmission rates. This can be achieved by using the digital twin concept as it will highlight our approach and provide real-time data to different simulation platforms. In addition, the digital twin model with the SUMO simulation enables us to create a synchronized virtual representation for the traffic network so the simulation can respond to changes in real time and forecast the traffic patterns with greater precision.

8. Conclusions

In this paper, we introduced an adaptive system for aggregating traffic signal data and providing real-time feeds to traffic simulation environments. The conducted tests using the Econolite traffic signal controller simulator demonstrated the effectiveness and reliability of our LIDATS method. LIDATS provides the groundwork necessary to bridge the gap between simulation and actual on-site traffic control, introducing real-time data into the simulation. Our method has successfully captured, processed, and transmitted real-time traffic data, enabling their storage in a database that can be used later for further analysis and in training machine learning models for traffic control. Our tests’ promising results show that our LIDATS system has the potential to enhance traffic management systems by providing real-time traffic signal data. As we continue to refine and improve the system in the areas outlined in the Future Work section, we believe that our approach will play a significant role in advancing the traffic control strategies in modern cities.

Author Contributions

Conceptualization, S.A.N., T.A. and J.S.; Methodology, A.R., S.A.N., T.A. and J.S.; Software, A.R. and J.S.; Supervision, T.A.; Writing—original draft, A.R. and S.A.N.; Writing—review and editing, A.R., S.A.N. and T.A. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded under the USDOT, Federal Grant ACTION-6319.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

Thank you to Alexander Hainen for his support and contributions during the research process, and a special thanks to Russell Weas for his invaluable assistance and dedication to our project.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Papacostas, C.S.; Prevedouros, P.D. Transportation Engineering and Planning, 3rd ed.; PHI Learning Private Limited: New Delhi, India, 2009. [Google Scholar]
  2. Greer, L.; Fraser, J.L.; Hicks, D.; Mercer, M.; Thompson, K.; Noblis, Inc. Intelligent Transportation Systems Benefits, Costs, and Lessons Learned: 2018 Update Report; Technical Report; United States Department of Transportation—ITS Joint Program Office: Washington, DC, USA, 2018.
  3. Wei, H.; Zheng, G.; Gayah, V.; Li, Z. A survey on traffic signal control methods. arXiv 2019, arXiv:1904.08117. [Google Scholar]
  4. Saidallah, M.; El Fergougui, A.; Elalaoui, A.E. A comparative study of urban road traffic simulators. In Proceedings of the MATEC Web of Conferences, EDP Sciences, Lucerne, Switzerland, 6–10 July 2016; Volume 81, p. 05002. [Google Scholar]
  5. U S Department of Transportation; Federal Highway Administration. Traffic Signal Timing Manual; Createspace Independent Publishing Platform: North Charleston, SC, USA, 2015.
  6. Li, D.; Zhu, F.; Wu, J.; Wong, Y.D.; Chen, T. Managing mixed traffic at signalized intersections: An adaptive signal control and CAV coordination system based on deep reinforcement learning. Expert Syst. Appl. 2024, 238, 121959. [Google Scholar] [CrossRef]
  7. Zhu, L.; Peng, P.; Lu, Z.; Tian, Y. MetaVIM: Meta Variationally Intrinsic Motivated Reinforcement Learning for Decentralized Traffic Signal Control. IEEE Trans. Knowl. Data Eng. 2023, 35, 11570–11584. [Google Scholar] [CrossRef]
  8. Thelen, A.; Zhang, X.; Fink, O.; Lu, Y.; Ghosh, S.; Youn, B.D.; Todd, M.D.; Mahadevan, S.; Hu, C.; Hu, Z. A comprehensive review of digital twin—Part 1: Modeling and twinning enabling technologies. Struct. Multidiscip. Optim. 2022, 65, 354. [Google Scholar] [CrossRef]
  9. Argota Sánchez-Vaquerizo, J. Getting Real: The Challenge of Building and Validating a Large-Scale Digital Twin of Barcelona’s Traffic with Empirical Data. ISPRS Int. J. Geo-Inf. 2021, 11, 24. [Google Scholar] [CrossRef]
  10. Kušić, K.; Schumann, R.; Ivanjko, E. A digital twin in transportation: Real-time synergy of traffic data streams and simulation for virtualizing motorway dynamics. Adv. Eng. Inform. 2023, 55, 101858. [Google Scholar] [CrossRef]
  11. Liao, X.; Zhao, X.; Wang, Z.; Han, K.; Tiwari, P.; Barth, M.J.; Wu, G. Game Theory-Based Ramp Merging for Mixed Traffic with Unity-SUMO Co-Simulation. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 5746–5757. [Google Scholar] [CrossRef]
  12. Bao, L.; Wang, Q.; Jiang, Y. Review of Digital twin for intelligent transportation system. In Proceedings of the 2021 International Conference on Information Control, Electrical Engineering and Rail Transit (ICEERT), Lanzhou, China, 30 October–1 November 2021; pp. 309–315. [Google Scholar] [CrossRef]
  13. Zhang, L.; Zhao, Q.; Yu, P.; Li, J.; Yao, D.; Wang, X.; Wang, L.; Zhang, L. Research on integrated simulation platform for urban traffic control connecting simulation and practice. Sci. Rep. 2022, 12, 4536. [Google Scholar] [CrossRef] [PubMed]
  14. Sysoev, A.; Khabibullina, E.; Kadasev, D.; Voronin, N. Heterogeneous Data Aggregation Schemes to Determine Traffic Flow Parameters in Regional Intelligent Transportation Systems. Transp. Res. Procedia 2020, 45, 507–513. [Google Scholar] [CrossRef]
  15. Homaei, M.H.; Salwana, E.; Shamshirband, S. An Enhanced Distributed Data Aggregation Method in the Internet of Things. Sensors 2019, 19, 3173. [Google Scholar] [CrossRef] [PubMed]
  16. Abbasian Dehkordi, S.; Farajzadeh, K.; Rezazadeh, J.; Farahbakhsh, R.; Sandrasegaran, K.; Abbasian Dehkordi, M. A survey on data aggregation techniques in IoT sensor networks. Wirel. Netw. 2020, 26, 1243–1263. [Google Scholar] [CrossRef]
  17. Bhowmik, T.; Mojumder, R.; Banerjee, I.; Das, G. IoT based data aggregation method for E-health monitoring system. In Proceedings of the 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT), Kharagpur, India, 6–8 July 2021; pp. 1–7. [Google Scholar]
  18. Kumar, K.P.; Ranganayaki, V.S. Energy Saving Using Privacy Data Secure Aggregation Algorithm. In Proceedings of the 2022 International Conference on Breakthrough in Heuristics And Reciprocation of Advanced Technologies (BHARAT), Visakhapatnam, India, 7–8 April 2022; pp. 99–102. [Google Scholar]
  19. Yoshino, H.; Ota, K.; Hiraguri, T. Adaptive control of statistical data aggregation to minimize latency in IoT gateway. In Proceedings of the 2018 Global Information Infrastructure and Networking Symposium (GIIS), Thessaloniki, Greece, 23–25 October 2018; pp. 1–4. [Google Scholar]
  20. Ding, Y.; Wang, B.; Wang, Y.; Zhang, K.; Wang, H. Secure Metering Data Aggregation with Batch Verification in Industrial Smart Grid. IEEE Trans. Ind. Inform. 2020, 16, 6607–6616. [Google Scholar] [CrossRef]
  21. Ullah, I.; Youn, H.Y. Efficient data aggregation with node clustering and extreme learning machine for WSN. J. Supercomput. 2020, 76, 10009–10035. [Google Scholar] [CrossRef]
  22. Chen, Y.; Martinez-Ortega, J.F.; Castillejo, P.; Lopez, L. A Homomorphic-Based Multiple Data Aggregation Scheme for Smart Grid. IEEE Sens. J. 2019, 19, 3921–3929. [Google Scholar] [CrossRef]
  23. Li, J.; Siddula, M.; Cheng, X.; Cheng, W.; Tian, Z.; Li, Y. Approximate data aggregation in sensor equipped IoT networks. Tsinghua Sci. Technol. 2020, 25, 44–55. [Google Scholar] [CrossRef]
  24. Cai, S.; Gallina, B.; Nyström, D.; Seceleanu, C. Data aggregation processes: A survey, a taxonomy, and design guidelines. Computing 2019, 101, 1397–1429. [Google Scholar] [CrossRef]
  25. Soufiene, B.O.; Bahattab, A.A.; Trad, A.; Youssef, H. RESDA: Robust and efficient secure data aggregation scheme in healthcare using the IoT. In Proceedings of the 2019 International Conference on Internet of Things, Embedded Systems and Communications (IINTEC), Tunis, Tunisia, 20–22 December 2019; pp. 209–213. [Google Scholar]
  26. Fedor, M.; Schoffstall, M.L.; Davin, J.R.; Case, D.J.D. Simple Network Management Protocol (SNMP); RFC 1157; Network Working Group: Ottawa, ON, Canada, 1990. [Google Scholar] [CrossRef]
  27. Raspberry Pi Hardware-Raspberry Pi Documentation. Available online: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html (accessed on 8 March 2023).
  28. Rechie, R.M.; Mohamed, N.N.; Yussoff, Y.M.; Mazalan, L.; Jawi, S.M.; Rohmad, M.S. Integration of Security Hardware Module Zymkey 4i With Raspberry Pi. J. Posit. Sch. Psychol. 2022, 6, 8461–8469. [Google Scholar]
  29. Raspberry pi IP54 Outdoor Project Enclosure. Available online: https://sixfab.com/product/raspberry-pi-ip54-outdoor-iot-project-enclosure/ (accessed on 8 March 2023).
  30. Rescorla, E. The Transport Layer Security (TLS) Protocol Version 1.3; RFC 8446; Internet Engineering Task Force (IETF): Wilmington, DE, USA, 2018. [Google Scholar] [CrossRef]
  31. Jose, B.; Abraham, S. Performance analysis of NoSQL and relational databases with MongoDB and MySQL. Mater. Today Proc. 2020, 24, 2036–2043. [Google Scholar] [CrossRef]
  32. Eclipse SUMO-Simulation of Urban MObility. Available online: https://eclipse.dev/sumo/ (accessed on 22 October 2023).
  33. Aimsun: Simulation and AI for Intelligent Mobility. 2023. Available online: https://www.aimsun.com (accessed on 22 October 2023).
  34. PTV Vissim Multimodal Traffic Simulation Software. Available online: https://www.ptvgroup.com/en-us/products/ptv-vissim (accessed on 22 October 2023).
  35. Paramics 3D Traffic Microsimulation & Modeling Software for Transport. Available online: https://www.paramics.co.uk/en/ (accessed on 22 October 2023).
  36. TransModeler Traffic Simulation Software. Available online: https://www.caliper.com/transmodeler/default.htm (accessed on 22 October 2023).
Figure 1. Key components for traffic data collection.
Figure 1. Key components for traffic data collection.
Sensors 24 03392 g001
Figure 2. LIDATS project architecture.
Figure 2. LIDATS project architecture.
Sensors 24 03392 g002
Figure 3. Raspberry Pi 4 with the Zymkey4 HSM module installed.
Figure 3. Raspberry Pi 4 with the Zymkey4 HSM module installed.
Sensors 24 03392 g003
Figure 4. Outdoor IoT enclosure for Raspberry Pi [29].
Figure 4. Outdoor IoT enclosure for Raspberry Pi [29].
Sensors 24 03392 g004
Figure 5. Data frame sent by edge device.
Figure 5. Data frame sent by edge device.
Sensors 24 03392 g005
Figure 6. Econolite traffic signal controller simulator user interface.
Figure 6. Econolite traffic signal controller simulator user interface.
Sensors 24 03392 g006
Figure 7. Data latency.
Figure 7. Data latency.
Sensors 24 03392 g007
Figure 8. MongoDB storage and data points.
Figure 8. MongoDB storage and data points.
Sensors 24 03392 g008
Figure 9. Server performance.
Figure 9. Server performance.
Sensors 24 03392 g009
Table 1. Integration capabilities of LIDATS with traffic simulation platforms for digital twins.
Table 1. Integration capabilities of LIDATS with traffic simulation platforms for digital twins.
PlatformAPI/SDK AvailableIntegration Approach
SUMO [32]TraCI ProtocolXML Generation and TraCI Components
Aimsun [33]Aimsun Next APIAcquisition Modules and API Access
VISSIM [34]COM-based APICOM API Connection
PARAMICS [35]API HooksDynamic Data Input Hooks
TransModeler [36]Data Collector APIReal-time Data Streaming
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Renninger, A.; Ameen Noman, S.; Atkison, T.; Sussman, J. Live Intersection Data Acquisition for Traffic Simulators (LIDATS). Sensors 2024, 24, 3392. https://doi.org/10.3390/s24113392

AMA Style

Renninger A, Ameen Noman S, Atkison T, Sussman J. Live Intersection Data Acquisition for Traffic Simulators (LIDATS). Sensors. 2024; 24(11):3392. https://doi.org/10.3390/s24113392

Chicago/Turabian Style

Renninger, Andrew, Sinan Ameen Noman, Travis Atkison, and Jonah Sussman. 2024. "Live Intersection Data Acquisition for Traffic Simulators (LIDATS)" Sensors 24, no. 11: 3392. https://doi.org/10.3390/s24113392

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop