Search
2024 Volume 3
Article Contents
ARTICLE   Open Access    

From rectangle to parallelogram: an area-weighted method to make time-space diagrams incorporate traffic waves

More Information
  • A time-space (TS) traffic diagram is one of the most important tools for traffic visualization and analysis. Recently, it has been empirically shown that using parallelogram cells to construct a TS diagram outperforms using rectangular cells due to its incorporation of traffic wave speed. However, it is not realistic to immediately change the fundamental method of TS diagram construction that has been well embedded in various systems. To quickly make the existing TS diagram incorporate traffic wave speed and exhibit more realistic traffic patterns, the paper proposes an area-weighted transformation method that directly transforms rectangular-cell-based TS (rTS) diagrams into parallelogram-cell-based TS (pTS) diagrams, avoiding tracing back the raw data of speed to make the transformation. Two five-hour trajectory datasets from Japanese highway segments are used to demonstrate the effectiveness of the proposed methods. The travel time-based comparison involves assessing the disparities between actual travel times and those computed using rTS diagrams, as well as travel times derived directly from pTS diagrams based on rTS diagrams. The results show that travel times calculated from pTS diagrams converted from rTS diagrams are closer to the actual values, especially in congested conditions, demonstrating superior performance in parallelogram representation. The proposed transformation method has promising prospects for practical applications, making the widely-existing TS diagrams show more realistic traffic patterns.
  • 加载中
  • [1]

    He Z, Lv Y, Lu L, Guan W. 2019. Constructing spatiotemporal speed contour diagrams: using rectangular or non-rectangular parallelogram cells? Transportmetrica B Transport Dynamics 7:44−60

    doi: 10.1080/21680566.2017.1320774

    CrossRef   Google Scholar

    [2]

    Wang Y, Zhao M, Yu X, Hu Y, Zheng P, et al. 2022. Real-time joint traffic state and model parameter estimation on freeways with fixed sensors and connected vehicles: State-of-the-art overview, methods, and case studies. Transportation Research Part C: Emerging Technologies 134:103444

    doi: 10.1016/j.trc.2021.103444

    CrossRef   Google Scholar

    [3]

    He Z. 2023. Refining Time-Space Traffic Diagrams: A Simple Multiple Linear Regression Model. IEEE Transactions on Intelligent Transportation Systems 00:1−11

    doi: 10.1109/TITS.2023.3316593

    CrossRef   Google Scholar

    [4]

    Chen C, Skabardonis A, Varaiya P. 2004. Systematic identification of freeway bottlenecks. Transportation Research Record: Journal of the Transportation Research Board 1867:46−52

    doi: 10.3141/1867-06

    CrossRef   Google Scholar

    [5]

    Wan Q, Peng G, Li Z, Inomata FHT. 2020. Spatiotemporal trajectory characteristic analysis for traffic state transition prediction near expressway merge bottleneck. Transportation Research Part C Emerging Technologies 117:102682

    doi: 10.1016/j.trc.2020.102682

    CrossRef   Google Scholar

    [6]

    Ramezani M, Geroliminis N. 2015. Queue Profile Estimation in Congested Urban Networks with Probe Data. Computer-Aided Civil and Infrastructure Engineering 30:414−32

    doi: 10.1111/mice.12095

    CrossRef   Google Scholar

    [7]

    Zhang Z, Wang Y, Chen P, He Z, Yu G. 2017. Probe data-driven travel time forecasting for urban expressways by matching similar spatiotemporal traffic patterns. Transportation Research Part C Emerging Technologies 85:476−93

    doi: 10.1016/j.trc.2017.10.010

    CrossRef   Google Scholar

    [8]

    Chen H, Rakha HA, Sadek S. 2011. Real-time freeway traffic state prediction: A particle filter approach. 14th International IEEE Conference on Intelligent Transportation Systems (ITSC), Washington, DC, USA, 5–7 October 2011. USA: IEEE. pp. 626–31. https://doi.org/10.1109/ITSC.2011.6082873

    [9]

    Zhang Z, Wang Y, Chen P, He Z, Yu G. 2017. Prediction of Urban Expressway Travel Time through Matching Similar Spatiotemporal Traffic Patterns. Transportation Research Board 96th Annual Meeting, Washington DC, USA, 1−12 Jan 2017. Paper number 17-02434. USA: TRB. https://trid.trb.org/view/1438014

    [10]

    Yildirimoglu M, Geroliminis N. 2013. Experienced travel time prediction for congested freeways. Transportation Research Part B:Methodological 53:45−63

    doi: 10.1016/j.trb.2013.03.006

    CrossRef   Google Scholar

    [11]

    Cassidy MJ. 1998. Bivariate relations in nearly stationary highway traffic. Transportation Research Part B: Methodological 32(1):49−59

    doi: 10.1016/S0191-2615(97)00012-X

    CrossRef   Google Scholar

    [12]

    Lu L, Wang J, He Z, Chan CY. 2018. Real-time estimation of freeway travel time with recurrent congestion based on sparse detector data. IET Intelligent Transport Systems 12:2−11

    doi: 10.1049/iet-its.2016.0356

    CrossRef   Google Scholar

    [13]

    He Z, Zhang W, Jia N. 2020. Estimating Carbon Dioxide Emissions of Freeway Traffic: A Spatiotemporal Cell-Based Model. IEEE Transactions on Intelligent Transportation Systems 21(5):1976−86

    doi: 10.1109/TITS.2019.2909316

    CrossRef   Google Scholar

    [14]

    Ferreira N, Poco J, Vo HT, Freire J, Silva CT. 2013. Visual exploration of big spatio-temporal urban data: A study of New York city taxi trips. IEEE Transactions on Visualization and Computer Graphics 19(12):2149−58

    doi: 10.1109/TVCG.2013.226

    CrossRef   Google Scholar

    [15]

    Andrienko G, Andrienko N. 2008. Spatio-temporal aggregation for visual analysis of movements. Proceedings of the 2008 IEEE symposium on visual analytics science and technology, Columbus, OH, USA, 19–24 October 2008. USA: IEEE. pp. 51–58. https://doi.org/10.1109/VAST.2008.4677356

    [16]

    Laval JA. 2011. Hysteresis in traffic flow revisited: An improved measurement method. Transportation Research Part B:Methodological 45:385−91

    doi: 10.1016/j.trb.2010.07.006

    CrossRef   Google Scholar

    [17]

    He Z, He S, Guan W. 2015. A figure-eight hysteresis pattern in macroscopic fundamental diagrams and its microscopic causes. Transportation Letters 7:133−42

    doi: 10.1179/1942787514Y.0000000041

    CrossRef   Google Scholar

    [18]

    Ma X, Dai Z, He Z, Ma J, Wang Y. 2017. Learning traffic as images: A deep convolutional neural network for large-scale transportation network speed prediction. Sensors 17:818

    doi: 10.3390/s17040818

    CrossRef   Google Scholar

    [19]

    He Z, Zheng L, Chen P, Guan W. 2017. Mapping to Cells: A Simple Method to Extract Traffic Dynamics from Probe Vehicle Data. Computer-aided Civil & Infrastructure Engineering 32:252−67

    doi: 10.1111/mice.12251

    CrossRef   Google Scholar

    [20]

    Treiber M, Helbing D. 2002. Reconstructing the spatio-temporal traffic dynamics from stationary detector data. Cooper@tive Tr@nsport@tion Dyn@mics 1(3):3.1-3.24 www.mtreiber.de/publications/Reconstructing_the_spatio-temporal_traffic_dynamic.pdf

    [21]

    Papadopoulou S, Roncoli C, Bekiaris-Liberis N, Papamichail I, Papageorgiou M. 2018. Microscopic simulation-based validation of a per-lane traffic state estimation scheme for highways with connected vehicles. Transportation Research Part C: Emerging Technologies 86:441−52

    doi: 10.1016/j.trc.2017.11.012

    CrossRef   Google Scholar

    [22]

    Zhai C, Wu W, Xiao Y. 2023. Modeling continuous traffic flow with the average velocity effect of multiple vehicles ahead on gyroidal roads. Digital Transportation and Safety 2(2):124−38

    doi: 10.48130/DTS-2023-0010

    CrossRef   Google Scholar

    [23]

    Fu X, Liu J, Huang Z, Hainen A, Khattak AJ. 2023. LSTM-based lane change prediction using Waymo open motion dataset: The role of vehicle operating space. Digital Transportation and Safety 2(2):112−23

    doi: 10.48130/DTS-2023-0009

    CrossRef   Google Scholar

    [24]

    Wang Y, Papageorgiou M, Messmer A. 2007. Real-time freeway traffic state estimation based on extended Kalman filter: A case study. Transportation Science 41(2):167−81

    doi: 10.1287/trsc.1070.0194

    CrossRef   Google Scholar

    [25]

    Coifman B. 2002. Estimating travel times and vehicle trajectories on freeways using dual loop detectors. Transportation Research Part A: Policy and Practice 36(4):351−64

    doi: 10.1016/S0965-8564(01)00007-6

    CrossRef   Google Scholar

    [26]

    Seo T, Bayen AM, Kusakabe T, Asakura Y. 2017. Traffic state estimation on highway: A comprehensive survey. Annual reviews in control 43:128−51

    doi: 10.1016/j.arcontrol.2017.03.005

    CrossRef   Google Scholar

    [27]

    Quddus MA, Ochieng WY, Noland RB. 2007. Current map-matching algorithms for transport applications: State-of-the art and future research directions. Transportation Research Part C: Emerging Technologies 15:312−28

    doi: 10.1016/j.trc.2007.05.002

    CrossRef   Google Scholar

    [28]

    Chiabaut N, Buisson C, Leclercq L. 2009. Fundamental diagram estimation through passing rate measurements in congestion. IEEE Transactions on Intelligent Transportation Systems 10:355−59

    doi: 10.1109/TITS.2009.2018963

    CrossRef   Google Scholar

    [29]

    Jiang X, Zheng C, Tian Y, Liang R. 2015. Large-scale taxi O/D visual analytics for understanding metropolitan human movement patterns. Journal of Visualization 18:185−200

    doi: 10.1007/s12650-015-0278-x

    CrossRef   Google Scholar

    [30]

    Wang Z, Lu M, Yuan X, Zhang J, Van De Wetering, H. 2013. Visual traffic jam analysis based on trajectory data. IEEE Transactions on Visualization and Computer Graphics 19:2159−68

    doi: 10.1109/TVCG.2013.228

    CrossRef   Google Scholar

    [31]

    Wang Z, Ye T, Lu M, Yuan X, Qu H, et al. 2014. Visual exploration of sparse traffic trajectory data. IEEE Transactions on Visualization and Computer Graphics 20:1813−22

    doi: 10.1109/TVCG.2014.2346746

    CrossRef   Google Scholar

    [32]

    He Z, Zheng L. 2017. Visualizing traffic dynamics based on floating car data. Journal of Transportation Engineering, Part A: Systems 143:04017005

    doi: 10.1061/JTEPBS.0000024

    CrossRef   Google Scholar

    [33]

    Edie LC. 1963. Discussion of traffic stream measurements and definitions. Proceedings of the 2nd International Symposium on the Theory of Traffic Flow, Port of New York Authority, New York, 1st Jan 1963. New York: Port of New York Authority. pp.139−54.

    [34]

    Laval JA, Leclercq L. 2010. A mechanism to describe the formation and propagation of stop-and-go waves in congested freeway traffic. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciencesnces 368:4519−41

    doi: 10.1098/rsta.2010.0138

    CrossRef   Google Scholar

    [35]

    Dahiya G, Asakura Y, Nakanishi W. 2022. Analysis of the single-regime speed-density fundamental relationships for varying spatiotemporal resolution using Zen Traffic Data. Asian Transport Studies 8:100066

    doi: 10.1016/j.eastsj.2022.100066

    CrossRef   Google Scholar

  • Cite this article

    Wang N, Wang X, Yan H, He Z. 2024. From rectangle to parallelogram: an area-weighted method to make time-space diagrams incorporate traffic waves. Digital Transportation and Safety 3(1): 1−7 doi: 10.48130/dts-0024-0001
    Wang N, Wang X, Yan H, He Z. 2024. From rectangle to parallelogram: an area-weighted method to make time-space diagrams incorporate traffic waves. Digital Transportation and Safety 3(1): 1−7 doi: 10.48130/dts-0024-0001

Figures(4)  /  Tables(2)

Article Metrics

Article views(1862) PDF downloads(358)

Other Articles By Authors

ARTICLE   Open Access    

From rectangle to parallelogram: an area-weighted method to make time-space diagrams incorporate traffic waves

Abstract: A time-space (TS) traffic diagram is one of the most important tools for traffic visualization and analysis. Recently, it has been empirically shown that using parallelogram cells to construct a TS diagram outperforms using rectangular cells due to its incorporation of traffic wave speed. However, it is not realistic to immediately change the fundamental method of TS diagram construction that has been well embedded in various systems. To quickly make the existing TS diagram incorporate traffic wave speed and exhibit more realistic traffic patterns, the paper proposes an area-weighted transformation method that directly transforms rectangular-cell-based TS (rTS) diagrams into parallelogram-cell-based TS (pTS) diagrams, avoiding tracing back the raw data of speed to make the transformation. Two five-hour trajectory datasets from Japanese highway segments are used to demonstrate the effectiveness of the proposed methods. The travel time-based comparison involves assessing the disparities between actual travel times and those computed using rTS diagrams, as well as travel times derived directly from pTS diagrams based on rTS diagrams. The results show that travel times calculated from pTS diagrams converted from rTS diagrams are closer to the actual values, especially in congested conditions, demonstrating superior performance in parallelogram representation. The proposed transformation method has promising prospects for practical applications, making the widely-existing TS diagrams show more realistic traffic patterns.

    • The time-space (TS) traffic diagram is an important tool for visualizing and analyzing traffic flow[13]. It serves to represent traffic conditions under various circumstances, with time and space as the primary axes. Researchers utilized TS traffic diagrams to identify traffic bottlenecks and assess the extent of delays in bottleneck sections[4]. This contributes to understanding the operational characteristics of highways and facilitates the formulation of policies and measures aimed at alleviating traffic congestion[5], addressing bottleneck issues, improving travel comfort, and enhancing the overall travel experience[6,7]. The TS diagram also enhanced its functionality in comprehensive traffic analysis by contributing to the estimation of travel times[810] and the identification of constant vehicle speeds[11]. The TS diagram also played a role in developing time-space unit models for estimating carbon dioxide emissions from highways[12,13], thereby enriching its applications in various fields.

      Initially, the TS traffic diagram was directly represented on a map and colored based on instantaneous speed[14]. However, due to the discrete distribution of trajectory points, visualizing the direct evolution process of traffic posed challenges. Consequently, some researchers introduced mosaic graphics to depict the changes in average speed. Each mosaic represented the average speed of vehicle trajectory points for a certain section during a specific period[15]. Some studies also provided new insights into the hysteresis phenomenon and introduced a figure-eight hysteresis pattern[16,17]. Laval employed the parallelogram method to characterize the hysteresis phenomenon in the driving process, which is often associated with driver behavior[16]. These findings employed a convolutional neural network capable of accurately predicting average traffic speed[18]. Through continuous research, the TS diagram evolved from simply coloring individual trajectory points to the utilization of rectangular cells that covered the coordinate system. These cells were then filled with gradient colors based on the average speed of all trajectory points within each cell[19]. This improvement allows the TS diagram to achieve an aggregated dynamic visualization of traffic flow, overcoming the limitations of discrete trajectory points.

      Trajectory data serves as the important data foundation for constructing TS traffic diagrams. Typically, the data required for generating TS traffic diagrams are collected by road detectors at various time intervals[20]. The traffic data obtained from detectors offered insights into the traffic conditions on highways[2123] and served as valuable information for estimating the traffic state[24,25]. Because of variations in transportation investments across different regions, the deployment density of road detectors cannot achieve an optimal state and typically ranges from several hundred to several thousand kilometers[26]. Simultaneously, the upload frequency of floating car data is set between one minute and several minutes[3]. Under these conditions, the collected data exhibits certain dispersed characteristics. Due to the discrete nature of trajectory data[26], achieving visualization effects in the past often required the use of external tools such as GIS for map processing[27], presenting certain challenges[6]. Alternatively, new fundamental diagram construction methods were proposed based on detector pass rates[28]. Jiang et al. conducted multidimensional analyses of spatiotemporal patterns in the data using circular pixel graphs, spatiotemporal stacked graphs, and nested pixel bars[29]. Wang et al. mapped processed data to road networks and visualized traffic conditions from a propagation perspective[30,31]. They employed a straightforward mapping method to match detection data with TS traffic diagrams for understanding traffic congestion situations[32]. In summary, the construction of TS diagrams relies heavily on trajectory data collected by road detectors. However, the discrete nature of this data often presents visualization challenges, leading to the development of various methods aimed at enhancing the effectiveness of traffic diagram visualization.

      According to Edie's general definition, average traffic variables can accurately represent fundamental traffic conditions only when homogeneous traffic states are maintained within the cells[33]. This means that traffic variables are stable and reliable when the traffic within each cell is uniform. However, due to the inherent shape characteristics of rectangular cells, trajectory points falling within them cannot fully encompass the start-stop driving behaviors of vehicles, resulting in variations in traffic states between adjacent cells. As research progresses, the researcher proposed constructing parallelogram cells with the reverse congestion wave propagation rate as the slope[1]. The trajectory data contained within these cells are more likely to encompass the complete process of acceleration and deceleration states. Even if the complete acceleration and deceleration processes cannot be entirely contained due to the limitations of cell size, adjacent cell units capture more similar vehicle operating conditions. This facilitates the capture of similar traffic waves, resulting in enhanced stability when constructing TS traffic diagrams and improving the visual representation of congestion processes. The reverse traffic wave propagation rate typically ranges from −10 to −20 km/h[34]. Selecting the reverse traffic wave propagation rate as the slope for drawing pTS diagrams plays a crucial role in visualizing traffic states and identifying typical traffic patterns.

      Due to data accuracy limitations and established algorithms, an immediate overhaul of the traditional TS diagram construction methods that are widely embedded in various systems is not practical. However, there is a growing need to enhance the visual representation of existing rTS diagrams to better reflect real-world traffic conditions. Building upon the findings of He, which demonstrate the superior portrayal of traffic flow using pTS diagrams compared to rTS diagrams[1], we introduce a novel approach based on the area-weighted transformation that directly converts rTS diagrams into pTS diagrams. This innovative method streamlines the conversion process, eliminating the need for additional data filling during pTS diagram creation. We anticipate that this method will significantly expedite the transition from basic rTS diagrams to more advanced pTS diagrams in the field of traffic space-time mapping.

      The remainder of the paper is organized as follows. The next section introduces the generation of TS diagrams and the TS diagram transformation method based on area-weighted. We then present the method of indicator validation and the transformed TS diagrams, followed by an elaboration on the obtained results.

    • The rTS diagram divides a two-dimensional plane into equally sized rectangular cells, with time on the horizontal axis and road segment length on the vertical axis. These cells are filled with the average speed of trajectory points, providing an intuitive display of traffic flow at different time intervals and road segments. The rTS diagram is the prevailing representation in research, summarizing dispersed traffic trajectory points into overall average velocities, establishing fixed local clusters, and illustrating fluctuations in traffic flow. However, vehicles often adjust their speed based on the preceding vehicle's status, leading to stop-and-go scenarios[14]. When such scenarios occur within rectangular cells, significant disparities between adjacent cells emerge, failing to meet the criteria for a uniform representation of traffic waves. On the other hand, if these scenarios are depicted within parallelogram cells with the traffic wave propagation speed determining the slope, the resulting traffic states in adjacent cells become more similar. The utilization of pTS diagrams to represent vehicle trajectory states, validated using travel time as an indicator, revealed an enhancement in accuracy[1], particularly when handling congested traffic, ultimately leading to more compelling visual outcomes.

    • Traffic flow can be categorized into two states: free-flow and congestion. In the rTS diagram, if traffic states can be clearly distinguished, the transformation can generate a pTS diagram depicting free-flow and congestion. To create the free-congestion flow pTS diagram, we employ a region-growing algorithm to segment the rTS diagram and identify regions with distinct free-flow and congestion characteristics. Initially, a seed point is established at the starting position of a rectangular cell, and other cells are subsequently examined to determine if they should be merged into the same region, based on the average speed value of cell units as a similarity criterion. Cells identified as similar are assigned a value of 0, while the others receive a value of 1, resulting in the creation of a binary matrix with the same number of rows and columns as the rectangular cells. Subsequently, the sum of each column in the binary matrix is calculated, and columns with values less than one-third of the total sum are identified. These identified columns determine the column division lines, representing the boundary between free-flow and congestion. Taking into account the propagation direction of congestion, parallelogram cells are used to depict the congestion section. If congestion is uniformly distributed without clear boundaries within the original rTS diagram, the entire rTS diagram is transformed into a unified pTS diagram.

    • To create a pTS diagram based on a given rTS diagram, the rTS diagram serves as the foundational map for the drawing process. By knowing the dimensions of the rTS diagram, we can determine the dimensions of the pTS diagram, including its length and height. An essential step in this process involves computing the coordinates of the four points for each parallelogram cell within the TS diagram. This calculation relies on determining the reverse traffic wave propagation speed, which corresponds to the slope of each cell. Subsequently, each cell is filled with color based on the average speed. The important aspect of the TS diagram transformation lies in determining the average speed of the parallelogram cells based on the rTS diagram as a foundation.

      In this paper, the positions of rTS cells are denoted as (r,c), and the positions of pTS cells are denoted as (p,q). Each cell has four coordinates: left-lower (LL), right-lower (RL), left-upper (LU), and right-upper (RU), corresponding to different points in the Cartesian coordinate system. For example, the position of the left-upper coordinate of a cell at (r,c) in the rTS diagram is represented as $ {X}_{R\{r,c\}}^{LU} $. The coordinate origin is set at the left-lower point of a cell at (1,1), with time as the x-axis and road length as the y-axis, creating a Cartesian coordinate system. Due to the vertical characteristics of the rTS diagram, all cells are located in the first quadrant, but the pTS diagram introduces a slope, resulting in a graphical offset. As the row number increases, the four coordinates of the parallelogram cell at the same position as the rectangular cell will experience an offset, as shown in Fig. 1. This offset increases proportionally with the y-coordinate value. To determine the average speed of the parallelogram cell, further analysis of the covered rectangular cells is required. The offset of the pTS diagram increases with the increase in y-coordinate values. The initial offset of the first row is determined by the slope k (m/s) and the height h (m) of a cell, as shown in Eqn (1). Therefore, the offset of the nth row is n times dev. By calculating the covered coordinates of rectangular cells, the position r can be obtained based on the width w (s) of the cell, as shown in Fig. 2 and Eqn (3). Finally, the type of coverage depicted in Fig. 2 can be determined by calculating the difference in x-coordinates between points A and B.

      Figure 1. 

      Offset comparison between pTS diagram and rTS diagram.

      Figure 2. 

      Intersection pattern of congested flow state cellular units.

      $ \mathrm{d}\mathrm{e}\mathrm{v}=\left|\dfrac{h}{k}\right| $ (1)
      $ {X}_{R(r,c)}^{LU}={X}_{P(p,q)}^{LU}+n\times dev $ (2)
      $ \mathrm{r}=\mathrm{q}+[\left(\mathrm{n}\times \mathrm{d}\mathrm{e}\mathrm{v}\right)/\mathrm{w}] $ (3)

      As shown in Fig. 2, the horizontal coordinate of red point A is $ {X}_{P(p,q)}^{LU} $, while the red point B corresponds to the nearest rectangular cell coordinate on the right side, with a horizontal coordinate of $ {X}_{R(r,c)}^{LU} $. The disparity between these coordinates is compared with the first-row offset to identify various coverage types.

      If $ {X}_{R(r,c)}^{LU}-{X}_{P(p,q)}^{LU}\ge dev $, it means that the parallelogram cell covers two rectangular cells, as shown in Fig. 2a. The blue parallelogram cell represents a difference in horizontal coordinates greater than the offset, while the gray parallelogram cell denotes that it is equal to the offset. In both cases, the areas intersecting with different rectangular cells from left to right are denoted as S1 and S2, while the area of the parallelogram cell is denoted as S. Let the positions of adjacent three rectangular cells be (r−1,c), (r,c), and (r+1,c), and their corresponding average velocities be $ {V}_{R(r-1,c)} $, $ {V}_{R(r,c)} $, and $ {V}_{R(r+1,c)} $. The corresponding average speed of the parallelogram cell is given by:

      $ {V}_{P(p,q)}=\dfrac{{S}_{1}}{S}\times {V}_{R(r-1,c)}+\dfrac{{S}_{2}}{S}\times{V}_{R(r,c)} $ (4)

      If $ {X}_{R(r,c)}^{LU}-{X}_{P(p,q)}^{LU} < dev $, it signifies that the parallelogram cell encompasses three rectangular cells, as depicted in Fig. 2b. The areas of intersection from left to right are designated as S1, S2, and S3, respectively. In this case, the average speed of the parallelogram cell is given by:

      $ {V}_{P(p,q)}=\dfrac{{S}_{1}}{S}\times{V}_{R(r-1,c)}+\dfrac{{S}_{2}}{S}\times{V}_{R(r,c)}+\dfrac{{S}_{3}}{S}\times{V}_{R(r+1,c)} $ (5)

      In summary, the pTS diagram calculates the average speed for each cell based on the weighted coverage of the rTS diagram. Subsequently, these individual cells are colored to form the pTS diagram. The cells tilted to the lower-right represent the congested portion of the pTS diagram. Therefore, we refer to this approach as the area-weighted transformation method for converting TS diagrams.

    • To evaluate the accuracy and effectiveness of the method, we conducted a validation using the ZenTraffic dataset. The dataset comprises two high-fidelity trajectory datasets of highway segments, namely Wangan-Route-4 and Ikeda-Route-11[35].

      The Wangan-Route-4 dataset encompasses trajectory data collected from the Ohama-Sambo section of the Hanshin Expressway Route 4, covering a route length of approximately 1.6 km. This dataset continuously records trajectory data from two lanes over a 5-h duration. Conversely, the Ikeda-Route-11 dataset is located along the Hanshin Expressway Route 11 Ikeda Line, near the Tsukamoto Junction. It spans a route length of approximately 2 km and similarly captures trajectory data from two lanes throughout a 5-h period. Both datasets include essential attributes such as vehicle ID, timestamp, distance traveled, and operating speed. Each hourly vehicle trajectory dataset comprises a mix of free-flow and congested traffic states, effectively representing typical traffic flow characteristics. This rich dataset is well-suited for conducting comprehensive research on traffic states, including flow, speed, and density analysis.

    • To rigorously validate the accuracy of the area-weighted transformation method and perform a comprehensive quantitative analysis, we extract travel times from both rTS diagrams and pTS diagrams. These extracted travel times are subsequently compared to the ground truth travel times using the Mean Absolute Percentage Error (MAPE) metric. The validation procedure commences by establishing the trajectory's starting point at the corresponding timestamp, serving as the initial reference point. The average speed associated with each cell serves as the slope for the trajectory segment, enabling the computation of the subsequent trajectory point. This iterative process continues until the final trajectory endpoint is reached. The time difference between the starting and ending timestamps of the trajectory is considered the estimated travel time. We selectively choose specific vehicle trajectories falling within a predetermined length range to ensure a meaningful comparative analysis. Figure 3 provides a schematic representation of this method. This methodology enables us to quantitatively evaluate the performance of the area-weighted transformation method by directly comparing estimated travel times derived from the transformed pTS diagrams with ground truth travel times obtained from the original rTS diagrams.

      Figure 3. 

      Methods for calculating travel time in different spatiotemporal diagrams.

      The vehicle's travel trajectory is reconstructed to obtain travel times in both the rTS diagram and pTS diagram scenarios. To evaluate the effectiveness of this metric, we calculate the Mean Absolute Percentage Error (MAPE) for travel times in both the rTS diagram and pTS diagram conditions using the following formula:

      $ {MAPE}_{j}=\dfrac{100{{\mathrm{\%}}}}{N}\displaystyle\sum\nolimits _{i=1}^{n}\left|\dfrac{{y}_{i}^{j}-{y}_{i}}{{y}_{i}}\right| $ (6)

      where, j = {1,2} represents rTS diagrams and pTS diagrams, N represents the total number of trajectories, $ {y}_{i}^{j} $ represents estimated travel time under the rTS diagrams or pTS diagrams conditions, $ {y}_{i} $ represents the actual travel time of trajectories with the same starting time. After calculating MAPE under various spatiotemporal conditions, a comparative analysis is conducted by examining the disparity between MAPE1 and MAPE2.

      ${\Delta}{M}={MAPE}_{1}-{MAPE}_{2} $ (7)

      If ΔM is greater than 0, it indicates that the average absolute percentage error derived from the rTS diagram is higher, demonstrating the superior performance of the area-weighted transformation method using the pTS diagrams. Conversely, if ΔM is less than 0, it implies that the rTS diagram provides more accurate travel time calculations and performs better.

    • At the beginning of the experiment, trajectory data undergoes preprocessing, involving the mapping of trajectory points from two datasets into rectangular cells of varying dimensions. Because of variations in the upload intervals of information detected by road detectors, we conduct experiments using cell sizes of 60 s × 50 m, 60 s × 100 m, 120 s × 100 m, 120 s × 200 m, 240 s × 200 m, and 240 s × 400 m. The average speed of trajectory points within each cell is calculated, and color rTS diagrams are based on the results. A study revealed that the propagation speed of traffic congestion waves ranged from −10 to −20 km/h[34]. After computation, the propagation speed of congestion in both datasets is found to be −16 km/h. This value is utilized as the slope for generating pTS diagrams using the area-weighted transformation method. Figure 4 shows TS diagrams of lane 1 (F1L1) and lane 2 (F1L2) during the first hour within the Ikeda-Route-11 dataset. The corresponding cell sizes are 60 s × 100 m and 120 s × 200 m, respectively. It includes TS diagrams of high-fidelity trajectories, the rTS diagrams constructed using the trajectories, and the pTS diagrams directly transformed from the rTS diagrams.

      Figure 4. 

      Diagrams with a cell size of 60 s × 100 m and 120 s × 200 m.

      A comparative analysis of the images demonstrates significant differences when transitioning from an rTS diagram to a pTS diagram. Notably, these changes are more pronounced in regions characterized by higher congestion levels. In particular, pTS diagrams exhibit enhanced continuity, especially when dealing with skewed features. They excel in preserving the representation of traffic propagation patterns and demonstrate relatively uniform traffic states across cellular units, thereby meeting the criteria for homogeneous traffic flow.

    • To further evaluate the area-weighted transformation method, we compute travel times and their corresponding MAPE based on rTS diagrams and pTS diagrams, the specific data can be found in Tables 1 & 2.

      Table 1.  Wangan-Route-4 indicator results (%).

      Cell sizeZen4F1L1F1L2F2L1F2L2F3L1F3L2F4L1F4L2F5L1F5L2
      60 s × 50 mMAPE12.7262.4562.5832.7102.4482.7302.8142.7952.8323.348
      MAPE22.6342.4232.1551.8742.1941.9762.7322.3632.5022.329
      ΔM0.0920.0340.4280.8360.2530.7540.0820.4320.3301.019
      60 s × 100 mMAPE12.9442.7263.0523.0792.9333.0983.3173.2983.343.735
      MAPE22.8982.7152.9162.1942.7062.3733.2452.8712.8952.918
      ΔM0.0460.0110.1360.8840.2270.7240.0710.4280.4450.816
      120 s × 100 mMAPE13.6233.1793.7003.0613.6693.2983.9693.5983.9915.006
      MAPE23.4533.1383.2772.7273.2653.1713.6653.2313.7954.088
      ΔM0.1700.0410.4230.3340.4050.1260.3040.3670.1960.917
      120 s × 200 mMAPE16.3184.0546.6644.6236.1744.3216.2545.0196.6566.048
      MAPE26.0743.6036.293.9915.5724.1055.9434.566.3455.078
      ΔM0.2440.4510.3740.6320.6020.2160.3110.4590.3110.97
      240 s × 200 mMAPE16.7004.9896.7424.0526.4625.9226.5144.4446.5794.126
      MAPE26.6614.9616.3173.8025.7685.4466.2564.3586.5194.062
      ΔM0.0400.0270.4250.2500.6940.4760.2580.0860.0600.064
      240 s × 400 mMAPE110.7048.64510.9818.31511.19.6810.6337.90711.5219.298
      MAPE210.4568.56210.4827.83710.4459.21610.3067.80711.2719.263
      ΔM0.2480.0830.50.4780.6550.4640.3270.10.250.034

      Table 2.  Ikeda-Route-11 indicator results (%).

      Cell sizeZen11F1L1F1L2F2L1F2L2F3L1F3L2F4L1F4L2F5L1F5L2
      60 s × 50 mMAPE12.0693.2162.2523.4063.1353.6942.2003.9673.7074.418
      MAPE21.7702.3101.8462.1642.5283.2501.8383.0032.5882.881
      ΔM0.2990.9060.4061.2420.6070.4440.3620.9651.1191.537
      60 s × 100 mMAPE12.3123.4842.4433.5532.8663.412.7483.1654.0094.501
      MAPE22.0672.5912.0292.3562.4742.7572.653.1152.8543.001
      ΔM0.2450.8930.4141.1970.3920.6530.0970.051.1551.5
      120 s × 100 mMAPE12.7234.4572.6883.7083.9024.1594.5054.9673.6394.262
      MAPE22.2293.6212.3332.8623.8223.9493.9474.7983.0443.172
      ΔM0.4940.8360.3540.8460.0800.2100.5580.1690.5951.090
      120 s × 200 mMAPE13.4444.8573.5574.6083.8414.5284.8345.2754.4594.706
      MAPE23.0673.5353.3193.7193.3844.3764.2665.1643.8753.851
      ΔM0.3771.3220.2370.8890.4570.1520.5680.1110.5830.855
      240 s × 200 mMAPE14.0004.9653.8054.6764.7606.8615.6516.9474.8235.383
      MAPE23.3354.5203.3333.6424.6586.7125.5206.6063.6485.166
      ΔM0.6660.4450.4721.0340.1010.1490.1310.3411.1740.217
      240 s × 400 mMAPE16.226.7166.4556.4468.8078.877.5737.7257.1266.965
      MAPE25.2926.1995.7815.4277.1267.9857.5217.5455.8536.389
      ΔM0.9280.5170.6741.0191.6810.8850.0520.181.2730.576

      Observing Tables 1 & 2 reveals a close match in MAPE between corresponding lanes at the same time in both rTS and pTS diagrams. This suggests that the pTS diagram is derived from the rTS diagram, and the conclusions drawn are similar to those of the rTS diagram. However, it's noteworthy that all ΔM values are greater than 0, indicating that the travel times computed from pTS diagrams exhibit smaller errors and are closer to the actual travel times. This finding further implies that pTS diagrams excel in depicting congested traffic flow. As illustrated in the tables, whether in rTS or pTS diagrams, the MAPE increases with larger cell sizes, signifying that larger cells contain less trajectory information and result in increased errors compared to smaller cells. Despite the variation in cell size, ΔM does not exhibit a systematic trend, suggesting that pTS diagrams are not significantly influenced by cell size factors when representing congestion.

      Considering that the flow direction in the free-flow differs from that in the congestion, we make attempts to change the orientation of the parallelogram to the upper-right direction for drawing the free-flow of the pTS diagram. Verification is also conducted using the travel time metric, and the results demonstrated that the rTS diagram performs better in depicting free-flow conditions under the travel time metric. The discrepancy in performance could be attributed to the fact that the propagation speed of free-flow traffic is not constrained to a specific range, unlike congestion. When attempting to substitute free-flow propagation with a single fixed speed, it results in increased errors in generating pTS diagrams. We conduct experiments by varying different propagation speed values and find that the advantage of the congestion section's pTS diagrams cannot offset the error in the free flow section's pTS diagrams. Future work will consider conducting further validation in terms of image similarity.

    • This study introduces an area-weighted TS diagram transformation method that effectively translates rTS diagrams into pTS diagrams, offering a novel approach to visualize traffic flow patterns. The method determines the coverage of pTS cells over rTS cells based on different coverage conditions. It portrays cell traffic states by calculating the average speed of trajectory points within each cell and applying area ratios as weighting factors for color filling. It calculates the average speed of trajectory points within each cell and uses area ratios as weighting factors for color filling. For experimentation and validation, we selected the Wangan-Route-4 and Ikeda-Route-11 datasets from ZenTraffic. We assessed the similarity between the transformed diagrams and the original trajectory-based diagrams through travel time comparisons, quantifying the Mean Absolute Percentage Errors (MAPEs) to analyze the associated errors. The results confirm the feasibility of this method in TS diagram transformation, especially in congested conditions. The pTS diagrams possess inherent features for visually representing traffic flow states, particularly when illustrating the slope of traffic wave propagation rates, which offers a more intuitive depiction of wave propagation processes.

      The adoption of pTS diagrams effectively tackles the challenge posed by the discrete distribution of trajectory data values. It accomplishes this by grouping trajectory points within cell units, resulting in a more aggregated representation of traffic data. Moreover, the optimized pTS diagrams offer an enhanced depiction of traffic flow conditions on road segments. They serve as a basis for identifying traffic bottlenecks, formulating policies to alleviate traffic congestion, and ultimately enhancing urban traffic conditions. The direct transformation of rTS diagrams into pTS diagrams simplifies the otherwise intricate data processing needed for redrawing pTS diagrams. This approach provides an alternative display method for existing rTS diagrams, thereby maximizing the utilization of diverse data sources and harnessing the visualization advantages offered by pTS diagrams. These attributes highlight the importance of this approach in practical applications and scientific research.

    • The authors confirm contribution to the paper as follows: conceptualization: Wang N, Wang X; methodology: He Z, Wang N; validation, Wang X, Yan H; manuscript draft preparation: Wang N, Yan H; manuscript review and editing: Yan H, Wang N. All authors reviewed the results and approved the final version of the manuscript.

    • The data that support the findings of this study are available in the public domain: https://zen-traffic-data.net/english/.

      • The research is funded by National Natural Science Foundation of China (71871010).

      • The authors declare that they have no conflict of interest. Hai Yan is the Editorial Board member of Digital Transportation and Safety who was blinded from reviewing or making decisions on the manuscript. The article was subject to the journal’s standard procedures, with peer-review handled independently of this Editorial Board member and the research groups.

      • Copyright: © 2024 by the author(s). Published by Maximum Academic Press, Fayetteville, GA. This article is an open access article distributed under Creative Commons Attribution License (CC BY 4.0), visit https://creativecommons.org/licenses/by/4.0/.
    Figure (4)  Table (2) References (35)
  • About this article
    Cite this article
    Wang N, Wang X, Yan H, He Z. 2024. From rectangle to parallelogram: an area-weighted method to make time-space diagrams incorporate traffic waves. Digital Transportation and Safety 3(1): 1−7 doi: 10.48130/dts-0024-0001
    Wang N, Wang X, Yan H, He Z. 2024. From rectangle to parallelogram: an area-weighted method to make time-space diagrams incorporate traffic waves. Digital Transportation and Safety 3(1): 1−7 doi: 10.48130/dts-0024-0001

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return