Next Article in Journal
Analysis of Satellite Compass Error’s Spectrum
Next Article in Special Issue
Impact on Road Safety and Operation of Rerouting Traffic in Rural Travel Time Information System
Previous Article in Journal
Sensors and Systems for Physical Rehabilitation and Health Monitoring—A Review
Previous Article in Special Issue
Empirical Study of Effect of Dynamic Travel Time Information on Driver Route Choice Behavior
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of Traffic Stream Density Using Connected Vehicle Data: Linear and Nonlinear Filtering Approaches

by
Mohammad A. Aljamal
1,
Hossam M. Abdelghaffar
2,3 and
Hesham A. Rakha
1,*
1
Charles E. Via, Jr. Department of Civil and Environmental Engineering, Center for Sustainable Mobility, Virginia Tech Transportation Institute, Virginia Tech, Blacksburg, VA 24061, USA
2
Department of Computer Engineering and Systems, Engineering Faculty, Mansoura University, Mansoura 35516, Egypt
3
Center for Sustainable Mobility, Virginia Tech Transportation Institute, Virginia Tech, Blacksburg, VA 24061, USA
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(15), 4066; https://doi.org/10.3390/s20154066
Submission received: 4 June 2020 / Revised: 8 July 2020 / Accepted: 17 July 2020 / Published: 22 July 2020
(This article belongs to the Special Issue Intelligent Transportation Related Complex Systems and Sensors)

Abstract

:
The paper presents a nonlinear filtering approach to estimate the traffic stream density on signalized approaches based solely on connected vehicle (CV) data. Specifically, a particle filter (PF) is developed to produce reliable traffic density estimates using CV travel-time measurements. Traffic flow continuity is used to derive the state equation, whereas the measurement equation is derived from the hydrodynamic traffic flow relationship. Subsequently, the PF filtering approach is compared to linear estimation approaches; namely, a Kalman filter (KF) and an adaptive KF (AKF). Simulated data are used to evaluate the performance of the three estimation techniques on a signalized approach experiencing oversaturated conditions. Results demonstrate that the three techniques produce accurate estimates—with the KF, surprisingly, being the most accurate of the three techniques. A sensitivity of the estimation techniques to various factors including the CV level of market penetration, the initial conditions, and the number of particles in the PF is also presented. As expected, the study demonstrates that the accuracy of the PF estimation increases as the number of particles increases. Furthermore, the accuracy of the density estimate increases as the level of CV market penetration increases. The results indicate that the KF is least sensitive to the initial vehicle count estimate, while the PF is most sensitive to the initial condition. In conclusion, the study demonstrates that a simple linear estimation approach is best suited for the proposed application.

1. Introduction

Real-time traffic estimation has received increased attention with the introduction of advanced applications and technologies such as intelligent transportation systems (ITSs). Adaptive traffic signal controllers require real-time traffic state estimation to improve intersection performance, as real-time estimation plays a major role in capturing variations in traffic behavior (e.g., nonrecurrent changes). As inputs to traffic signal controllers, traffic state variables (e.g., travel time and traffic density) assist with green time allocation and help to enhance intersection performance by reducing traffic delays, vehicle emissions, and fuel consumption [1,2]. Several estimation techniques have been developed to estimate traffic state variables [3,4,5,6,7]. In some previous studies, the traffic state system has been treated as a linear system [4,7,8,9,10]. Other studies have considered the system as nonlinear [3,11,12,13]. For linear system models, a Kalman filter (KF) has been widely deployed to produce accurate estimates [4,7,10,14] due to its simplicity and applicability in the field. The KF assumes linear system transitions with a Gaussian distribution for the probability density function (PDF) of the system and measurement noise. For nonlinear system models, an extended KF (EKF) has been utilized in estimation [11,15,16]. The EKF also assumes that the PDF distribution is Gaussian. The EKF is derived by linearizing the system using a Taylor series expansion by calculating the Jacobian expression. However, it was found that use of the EKF approach is only valid if the system is near linearity during the updating time [17], and thus, large errors may result from linearization. In addition, the task of deriving the Jacobian matrices may cause implementation difficulties [18]. A more robust nonlinear approach is a particle filter (PF), which has been frequently employed in the literature to handle nonlinear dynamic problems [12,19,20]. The PF approach is a Monte Carlo sequential solution that deals with nonlinear system transitions without the assumption of the PDF noise distribution [21,22]. In this paper, a PF approach is developed to estimate the traffic stream density along signalized intersection approaches using only connected vehicle (CV) data. Moreover, the paper compares the performance of the PF to the KF and adaptive KF (AKF) approaches.
Traffic density is defined as the number of vehicles per unit length on a specific roadway segment [23]. Estimating the traffic stream density is critical in the development of effective traffic controllers [24]. For instance in the case of freeways, identifying bottleneck locations in the early stages is critical in developing congestion mitigation strategies that include ramp metering, variable speed limits, and traffic routing. For signalized segments, the traffic density measures are crucial for either traffic signal performance [25,26,27] or traffic signal optimization [28,29,30]. Hence, traffic density measures must be precisely estimated to represent traffic demands at each signalized intersection approach. Once accurate measurements are obtained, efficient adaptive traffic signal controllers can be developed. However, determining traffic density is not a trivial task and cannot be directly measured in the field since it is a spatial measurement. Consequently, traffic stream density is typically based on estimations.
Previous research has utilized different data sources, such as stationary sensors (e.g., loop detectors), fused data (combining two distinct data sources), and CV data to estimate traffic stream density. Traffic density estimates can be measured using video detection systems, but this is difficult due to the high cost of the infrastructure and the limited visibility of roadway segments [4]. Time-occupancy measurements from loop detectors are used as an alternative data source to estimate the traffic density [31]. However, time-occupancy measurements only represent the temporal density estimates around the location of the detector. A recent study introduced a relationship between time-occupancy and space-occupancy to estimate traffic density by dividing the link into small segments and installing detectors on all of the small segments [32], but the installation cost is high. A more common way of estimating the traffic density is the use of the traffic flow continuity equation (input–output approach), which considers two traffic counting stations, one at the entrance and the other at the end of the link [33]. Vigos et al. [4] proposed a robust linear KF approach with at least three loop detectors to estimate the traffic density along signalized approaches. However, the implementation cost is high. Another study [34] employed two conventional loop detectors to estimate the traffic density using the flow continuity equation. The two loop detectors provide the estimation model with traffic flow and occupancy data. Bhouri et al. [35] proposed a KF approach to estimate the traffic stream density along a freeway segment using both loop detectors and a recorded film [35]. One commonality about the use of fixed sensors is that they are subject to detection failures and thus always produce errors in their data [36,37].
Recent research has fused different data sources to estimate the traffic stream density along certain roadway sections, increasing the accuracy of the estimate over using just one data source [7,14]. Many works have employed the KF approach [14,38,39]. For instance, traffic flow data at the entrance and the exit of the roadway section observed from stationary sensors together with CV data were used to estimate the traffic density [38]. The CV data provided travel-time measurements to correct the prior estimate from the state equation. Another study has utilized fused loop and CV measurements to estimate the traffic density in a freeway section [19]. In that study, the authors derived the estimation model using the PF estimation approach, considering two sources of measurements: (1) loop detectors, and (2) fusing loop detectors and CVs. They obtained a 30 % reduction in the mean absolute percentage error from the fused measurements compared to the measurements from loop detectors, demonstrating that more data sources produce more-accurate outcomes. However, the use of different data sources requires more computational cost in both time and memory as the data include both trivial (data that are not needed) and nontrivial (data that are needed) information.
Limited studies have used CV data as the only source of inputs to estimate the traffic stream density [7,9,10]. These studies developed the linear KF estimator approach. The CV data used were the number of CVs at the entry and at the exit of the tested roadway section, in addition to the travel time experienced for the CVs to traverse the tested section. Moreover, Aljamal et al. [7] demonstrated that treating the estimation interval time as a variable instead of a fixed value is mandatory when dealing with only CV data, as the variable approach always ensures that sufficient information is gathered from the CVs in every estimation interval. This approach enhances the accuracy of the estimation, especially for the scenarios with low CV level of market penetration (LMP) rate. The estimation time interval for this study is therefore defined as the time when an exact number of CVs (i.e., 5 vehicles) reach the end of the tested link.
Several researchers have employed the PF approach to improve traffic stream estimates for different transportation applications, including traffic flow [12,13], travel time [3,20], and traffic speed [40]. In one study, magnetic loop detectors were placed at the boundaries of the tested freeway section to estimate the traffic flow, and a PF estimation approach was developed using traffic flow and speed measurements [12]. In another study, Mihaylova et al. [13] developed two nonlinear approaches, an unscented KF and a PF, to produce real-time traffic flow estimates in a freeway network using data from stationary sensors. They found that the PF approach outperformed the unscented KF. Chen et al. [20] proposed a time series speed equation to estimate traffic speed. They claimed that the traffic system is nonlinear and thus presented two nonlinear approaches, a PF and an ensemble KF, using available speed measurements from loop detectors. They found that the PF approach is more accurate than the ensemble KF. Another study developed a PF estimation approach for travel-time predictions using real-time and historical data [3]. They used the historical data to generate particles as opposed to using a state-transition model. In addition, a comparison between the PF, KF, and k-nearest neighbor estimators found that the PF is the most accurate approach. CV data were employed to estimate the traffic speed and flow using the PF approach [40]. In that study, each link in the network was assumed to have base stations to retrieve and transfer the data. Results found that other data sources (e.g., loop detectors) should be incorporated with CVs to enhance the estimation performance. However, our recent study developed a KF approach, showing that the use of CV data alone is sufficient to obtain accurate results [7].
In summary, the existing literature shows that the PF has been widely used to address nonlinear systems and has been proven to outperform other nonlinear estimation techniques; however, to our best of knowledge in the application of traffic stream density estimation, only a few studies have applied the PF approach using data from stationary sensors and fusing data from different sources. In addition, no comparison between the PF and the linear KF has been reported. Therefore, the PF was adopted in this study. The primary objective of this study is to develop a nonlinear PF estimation approach to estimate the traffic stream density based solely on CV data on signalized approaches. Subsequently, we compare the PF approach to linear estimation approaches—namely, KF and AKF—to identify the best approach for the application of the traffic density estimation, given that no comparison has been reported in the literature between these filtering techniques. Consequently, this research will recommend a specific approach to estimate the traffic stream density. The proposed three approaches are employed to estimate the vehicle counts based solely on CV data. In addition, this study also investigates the sensitivity of the proposed estimation approaches to several factors, such as the LMP rate of the CVs, the initial conditions, and the number of PF particles.
The paper is organized as follows: Section 2 describes the problem formulation and the estimation approaches. Section 3 discusses the findings from applying the estimation approaches. Section 4 includes the conclusions of the study and the proposed future work.

2. Problem Formulation and Estimation Approaches

First, Section 2.1 formulates the research problem using a state-space model. Then, three different estimation approaches are described: the PF (Section 2.2.1), the KF (Section 2.2.2) and the AKF (Section 2.2.3).

2.1. State-Space Model

The state-space model is represented by a state equation and a measurement equation. The state equation describes how the system behaves and provides a prior knowledge of the estimation. The measurement equation is used to help correct and improve the prior estimation. In this study, the goal is to estimate the number of vehicles on signalized links using only CV data, as depicted in Figure 1, where CVs are the vehicles that have the connection icon (e.g., the first vehicle on the left). The only information that is needed in practice is as follows: (1) the traffic flow of CVs observed at the tested link’s entrance and exit. (2) the travel time of each CV. Vehicle-to-Infrastructure (V2I) communication can provide this information to the traffic signal controller.
The model is formulated using the derived state-space equations in [7]. The state equation, Equation (1), is based on the continuity equation of traffic flow; whereas the measurement equation, Equation (2), is based on the traffic flow hydrodynamic relationship, based on measurements of the average travel time of CVs. In Equation (1), the number of vehicles is computed by continuously adding the difference of the number of vehicles that enter and exit the tested section to the cumulative number of vehicles traveling along the section previously computed.
N ( t ) = N ( t Δ t ) + u ( t )
T T ( t ) = H ( t ) × N t
where N ( t ) is the number of vehicles traversing the link at time t, N ( t Δ t ) is the number of vehicles traversing the link in the preceding time interval, and u ( t ) is the system inputs, as described in Equation (3).
u ( t ) = Δ t [ q i n ( t ) q o u t ( t ) ] max ( ρ a c t u a l , ρ m i n )
where q i n and q o u t represent the flow of CVs entering and exiting the link, respectively, during Δ t . ρ is the CVs’ LMP, defined as the ratio of CV count to total vehicle count. In the state equation, the ρ variable is set to be the maximum number of the actual ρ ( ρ a c t u a l ) and a predefined minimum value of ρ ( ρ m i n ). ρ a c t u a l can be obtained from historical data. ρ m i n is introduced to avoid producing large errors in the state equation since a single ρ value is used to approximate the two ρ values (upstream and downstream of the tested link) [7]. In this study, ρ m i n is set to be equal to 0.5; more details about the system state representation can be found in [7]. It should be noted that the ρ variable is the main noise source in the system, and thus, there is an urgent need to develop the measurement equation to fix these errors. In Equation (2), T T is the average vehicle travel time, H ( t ) is a vector that transforms the vehicle counts to travel times. H ( t ) is derived from the hydrodynamic relationship between the macroscopic traffic parameters (flow, density, and space-mean speed), as presented in Equation (4).
H ( t ) = 1 q ¯ ( t ) = 2 × ρ a c t u a l q i n ( t ) + q o u t ( t )

2.2. Estimation Approaches

As mentioned earlier, the KF and the AKF are considered linear estimators that can efficiently handle linear state-space systems. However, in the proposed state-space equations, we suspect some nonlinearity coming from the ρ variable, which raises the question, would a nonlinear filter improve the estimation performance? For this purpose, this study develops a nonlinear PF approach to estimate the vehicle counts along the signalized link. This section presents the formulation of the three approaches used to estimate the vehicle counts using only CV data along signalized approaches. The three techniques are the proposed PF, the KF [7], and the AKF [10].

2.2.1. The PF Approach

The PF approach is used to solve nonlinear state-space systems with no form restrictions on the initial state and noise distributions. For instance, the PF can deal with any arbitrary PDF distribution [21]. The PF approach is used to estimate the posterior PDF of the state vehicle count variable (N) given some measurements of CV travel times ( T T ) by assigning k number of particles (samples). Each particle has a certain relative weight (w). When a new measurement is received, the particles’ locations and weights are updated. It should be noted that the particles with low relative weight values are replaced with new particles (resampling) so that the system keeps only the important particles. The estimates are then calculated using the average value of the remaining particles. The following steps are used to implement the proposed PF approach:
  • Initialization: t = 0 ; where t is the time interval.
    (a)
    N ^ + ( 0 ) , R, V, and k,
    where N ^ + ( 0 ) is the initial vehicle count estimate; R is the measurement’s covariance error; and V is the variance of the initial vehicle count estimate, which is used to randomly generate the initial particles’ locations around N ^ + ( 0 ) .
    (b)
    Generate k particles’ locations randomly, from 1 to K, from the initial prior Gaussian distribution P ( N 0 ) .
    N k ( 0 ) P ( N 0 )
  • For t = 1 : T .
    (a)
    Update the locations ( N k ( t ) ), measurements ( T T k ( t ) ), and weights ( w k ( t ) ) of the particles.
    N k ( t ) = N k ( t Δ t ) + u ( t )
    T T k ( t ) = H ( t ) × N k ( t )
    w k ( t ) = 1 2 π R e T T T T k ( t ) 2 / 2 R
    where T T is the observed measurement from the CVs. The weights are then normalized using the following equation, w ^ k ( t ) = w k ( t ) / k = 1 K w k ( t ) .
    (b)
    Replace the low-weighted particles with new particles (resampling [21]). After a few iterations in the PF process, the weight will focus on a few particles only and most particles will have insignificant weights, resulting in sample degeneracy [41]. The resampling process is therefore used to tackle the degeneracy problem. It should be noted that the highly weighted particles are used to compute the PF posterior estimate.
    (c)
    Compute the PF posterior estimate: The PF posterior estimate is computed as the average value of the remaining particles (particles with high weights), as shown in Equation (9).
    N ^ + t = 1 K k = 1 K N k ( t )
    (d)
    Next time step ( t + Δ t ): When 5 new CVs traverse the link, return to step 2a.

2.2.2. The KF Approach

The KF approach is a linear quadratic estimator. It has been proven to be the best for estimating linear systems with Gaussian noise [42]. The KF estimation approach can be solved using the following steps:
  • Initialization: t = 0 ; where t is the time interval.
    (a)
    N ^ + ( 0 ) , R, and P ^ + ( 0 ) ,
    where P ^ + ( 0 ) is the initial posterior error covariance estimate for the state system.
  • For t = 1 : T .
    (a)
    Prior estimates:
    N ^ t = N ^ + ( t Δ t ) + u ( t )
    T T ^ ( t ) = H ( t ) × N ^ t
    P ^ t = P ^ + ( t Δ t )
    where N ^ is an estimate of a priori vehicle count, T T ^ is the estimated average travel time, and P ^ is the a priori covariance estimate for the state system.
    (b)
    Correction: The correction uses the prior estimate and the new measurement (i.e., the CV average travel time) to compute the Kalman gain (G).
    G ( t ) = P ^ ( t ) H ( t ) T [ H ( t ) P ^ ( t ) H ( t ) T + R ] 1
    (c)
    Posterior state estimates:
    N ^ + t = N ^ t + G t [ T T ( t ) T T ^ ( t ) ]
    P ^ + t = P ^ t × [ 1 H t G t ]
    where N ^ + is the posterior vehicle count estimate, and P ^ + is the posterior error covariance estimate.
    (d)
    Next time step ( t + Δ t ): When 5 new CVs traverse the link, return to step 2a.

2.2.3. The AKF Approach

The AKF approach is presented to estimate the total number of vehicles, using real-time noise error estimates in the state and measurement systems (i.e., mean and variance values). It should be noted that the KF and the AKF approaches use the same equations, but the AKF approach dynamically estimates the noise statistical parameters every estimation step. The vehicle count estimates can be obtained using the following steps:
  • Initialization: t = 0 ; where t is the time interval.
    (a)
    N ^ + ( 0 ) , m ( 0 ) , and P ^ + ( 0 ) ,
    where m ( 0 ) is the mean of the noise for the state system.
  • For t = 1 : T
    (a)
    Prior estimates:
    N ^ t = N ^ + t Δ t + u ( t ) + m ( t Δ t )
    P ^ t = P ^ + ( t Δ t ) + M ( t Δ t )
    (b)
    Estimation of noise statistics for the measurement system:
    T T ^ ( t ) = H ( t ) × N ^ t
    r = 1 n t = 1 n [ T T ( t ) T T ^ ( t ) ]
    R = 1 n 1 t = 1 n [ ( r ( t ) r ) . ( r ( t ) r ) T ( n 1 n ) H ( t ) P ^ ( t ) H T ( t ) ]
    where r and R are the mean and covariance of the measurement noise, respectively, and n is the number of state noise samples.
    (c)
    Correction:
    G ( t ) = P ^ ( t ) H ( t ) T [ H ( t ) P ^ ( t ) H ( t ) T + R ( t ) ] 1
    (d)
    Posterior state estimates:
    N ^ + t = N ^ t + G t [ T T ( t ) T T ^ ( t ) r ( t ) ]
    P ^ + t = P ^ t × [ 1 H t G t ]
    (e)
    Estimation of noise statistics for the state system:
    m = 1 n t = 1 n [ N ^ + ( t ) N ^ + ( t Δ t ) u ( t ) + m ( t Δ t ) ]
    M = 1 n 1 t = 1 n [ ( m ( t ) m ) . ( m ( t ) m ) T ( n 1 n ) P ^ + ( t Δ t ) P ^ + ( t ) ]
    where m and M are the mean and covariance of the state noise, respectively.
    (f)
    Next time step ( t + Δ t ): When 5 new CVs traverse the link, return to step 2a.

3. Results and Discussion

This section evaluates and compares the three estimation approaches. The simulated data were generated for a signalized link under an oversaturation condition in which the traffic demand exceeds the link capacity. The free-flow speed is 40 km/h; the saturation flow rate is 1800 veh/h/lane, resulting in a traffic capacity of 855 veh/h given the cycle length and traffic signal’s green times; the speed-at-capacity is 32 km/h; and the jam density is 160 veh/km/lane. The traffic signal is operated at a cycle length of 120 s and a phase split of 50:50. The amber and all-red intervals are 3 s. To test the accuracy of the estimation approaches, the INTEGRATION microscopic traffic assignment and simulation software was used [43,44]. The relative root mean square error (RRMSE), presented in Equation (26), was used to evaluate the proposed estimation approaches.
RRMSE ( % ) = 100 S s = 1 S [ N ^ + ( s ) N ( s ) ] 2 s = 1 S N ( S )
where N ^ + ( s ) represents the estimated count of vehicles, N ( s ) represents the actual count of vehicles, and S is the overall number of estimations.

3.1. Performance of Estimation Approaches

The simulations were conducted with the same predefined initial conditions to obtain a fair comparison. The initial conditions are described in Table 1. It should be noted that each estimator requires specific initial variables. For instance, N ^ + ( 0 ) , R, and P ^ + ( 0 ) are required for the KF approach. For all estimation approaches, the first estimate begins with an erroneous initial estimate of vehicle count ( N ^ + ( 0 ) = 5 veh), whereas the actual vehicle count is zero [4,7].
The three estimation approaches were evaluated using different CV LMPs, including 1 % , 3 % , 5 % , 8 % , 10 % , 15 % , 20 % , 30 % , 40 % , 50 % , 60 % , 70 % , 80 % and 90 % . For each LMP scenario, 100 random samples from the full data set were created using a Monte Carlo simulation. Table 2 presents the RRMSE values of the KF, AKF, and the PF approaches. The table indicates that estimation errors decrease with increasing LMP for all estimation approaches. The table also demonstrates that the KF outperforms the AKF and the PF approaches. For instance, for the scenario of 1 % LMP, the vehicle count estimates were off by 30 % , 48 % and 64 % using KF, AKF and PF, respectively.
The PF approach produces high RRMSE values at low LMPs (LMP < 40 % ), while for the high-LMP scenarios, the PF produces RRMSE values close to the values obtained from the KF. Moreover, the AKF approach produces high errors, especially at very low LMPs (LMP < 10 % ) and high LMPs (LMP > = 70 % ). This demonstrates that the real-time estimates of the statistical noise values obtained from the AKF are not needed for the high-LMP scenarios, and the user may proceed with predefined statistical values due to low errors in the vehicle count estimates (low error in the ρ value). It was found that the high RRMSE error values produced from the AKF and PF approaches are mainly caused from assigning an inappropriate initial vehicle count estimate, as discussed in the next section.
Figure 2 presents the KF, AKF, and PF estimation outcomes with regard to the actual values at different LMPs (i.e., 10 % to 90 % with an increase of 10 % ). In each subfigure, three plots are generated to display the estimation approaches’ outcomes with regard to the actual values; the top one displays the PF outcomes, the middle one presents the KF outcomes, and the bottom one displays the AKF outcomes. The actual curve is represented by the dotted curve. In conclusion, the KF approach is recommended, as it produces the most accurate estimates in addition to its simplicity and applicability in the field. The next section will discuss the impact of the initial conditions on the performance of the various estimation approaches.

3.2. Impact of Initial Conditions

This section examines the effect of the choice of the initial conditions on the performance of the estimators, such as the initial vehicle count estimate N ^ + ( 0 ) and the k number of particles in the PF approach. First, different N ^ + ( 0 ) values were tested, from 0 to 25 at increments of 5, at different LMP scenarios, as presented in Table 3 and Table 4. Table 3 presents the RRMSE values when the N ^ + ( 0 ) is set to equal 0, 5, and 10 vehicles. Table 4 displays the RRMSE for the N ^ + ( 0 ) values of 15, 20, and 25 vehicles. The tables demonstrate that the RRMSE values are sensitive to the changes of the N ^ + ( 0 ) values. The tables also show that the PF is the most sensitive estimator to N ^ + ( 0 ) for all LMP scenarios. For instance, for the scenario of 1 % LMP, the RRMSE is 81 % when the simulation starts with 0 veh, while the RRMSE is 17 % when N ^ + ( 0 ) is equal to 25. Therefore, starting the simulations with an appropriate initial estimate close to the truth value significantly improves the estimation accuracy since this helps the PF to quickly converge. In addition, the AKF seems to be sensitive to the N ^ + ( 0 ) with low LMP scenarios (LMP < = 10 % ), while the choice of N ^ + ( 0 ) has a slight effect on the estimation accuracy for the scenarios with medium and high LMPs. For instance, for the scenario of 1 % LMP, the RRMSE is 71 % when the simulation starts with 0 veh, while the RRMSE is 21 % when N ^ + ( 0 ) is equal to 25. Lastly, the tables show that the KF is the least-sensitive estimator to the N ^ + ( 0 ) value. Figure 3 summarizes the RRMSE values for nine LMP scenarios presented in Table 3 and Table 4.
This study also examined the choice of the number of particles, k, on the PF performance (i.e., k = 10 , 100, 200, 1000, and 2000), as presented in Table 5. The findings show that the estimation accuracy increases as the number of particles increases, especially at low LMPs. However, increasing the number of particles is associated with additional computational time. The PF is implemented in MATLAB R2019a on a Dell PC with 8.0 GB RAM. The computation time ranges between 0.2 and 1.6 s, with 10 particles for various LMPs; 1.1 and 3.0 s with 100 particles; 1.3 and 6.8 sec with 200 particles; 1.3 and 73 s with 1000 particles; 4 and 256 s with 2000 particles. The results in Table 5 show that the use of 1000 and 2000 particles slightly reduces the RRMSE values compared to the use of 200 particles; however, this comes at a very high computational cost. Therefore, the use of 200 particles is recommended in the PF approach.

4. Summary and Conclusions

The paper developed a nonlinear PF estimation approach to estimate the number of vehicles approaching a traffic signal based solely on CV data, with the aim of improving the estimation accuracy of linear state-of-the-art estimation approaches. This study introduced two linear approaches, KF and AKF, as benchmarks, to be compared with the proposed nonlinear PF approach. The results show that the KF produces the least error and accurately estimates the vehicle counts compared with the AKF and PF approaches. Consequently, to address the research problem appropriately, it is recommended to deploy the linear KF approach rather than the more complex AKF and PF approaches because of its simplicity and high-performance accuracy. In addition, the study investigated the sensitivity of the developed approaches to different factors, including the LMP of CVs, the initial vehicle count estimates, and the number of particles used in the PF approach. The results indicate that the estimation errors decrease as the LMP increases. Furthermore, the paper investigated the effect of the choice of the number of particles on the performance of the PF and showed that the PF estimation accuracy increases as the number of particles increases. However, this comes at the expense of significantly longer computational times. This can significantly impact the performance of the PF, requiring longer time to converge. The results demonstrate that the KF approach is the least sensitive to the initial vehicle count estimate, while the PF approach is the most sensitive to the initial vehicle count estimate and thus is the most suitable for the proposed application. Proposed future work entails integrating the KF approach with an adaptive traffic signal controller to quantify the impact of inaccuracies of the traffic stream density on the traffic signal controller performance.

Author Contributions

The work described in this article is the collaborative development of all authors. Conceptualization, M.A.A., H.M.A. and H.A.R.; methodology, M.A.A., H.M.A. and H.A.R.; software, M.A.A., H.M.A. and H.A.R.; validation, M.A.A., H.M.A. and H.A.R.; formal analysis, M.A.A., H.M.A. and H.A.R.; investigation, M.A.A., H.M.A. and H.A.R.; writing—review and editing, M.A.A., H.M.A. and H.A.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research effort was funded by the Urban Mobility and Equity Center (UMEC).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Feng, Y.; Head, K.L.; Khoshmagham, S.; Zamanipour, M. A real-time adaptive signal control in a connected vehicle environment. Transp. Res. Part C Emerg. Technol. 2015, 55, 460–473. [Google Scholar] [CrossRef]
  2. Abdelghaffar, H.M.; Rakha, H.A. Development and Testing of a Novel Game Theoretic De-Centralized Traffic Signal Controller. IEEE Trans. Intell. Transp. Syst. 2019. [Google Scholar] [CrossRef]
  3. Chen, H.; Rakha, H.A. Real-time travel time prediction using particle filtering with a non-explicit state-transition model. Transp. Res. Part C Emerg. Technol. 2014, 43, 112–126. [Google Scholar] [CrossRef]
  4. Vigos, G.; Papageorgiou, M.; Wang, Y. Real-time estimation of vehicle-count within signalized links. Transp. Res. Part C Emerg. Technol. 2008, 16, 18–35. [Google Scholar] [CrossRef]
  5. Mihaylova, L.; Hegyi, A.; Gning, A.; Boel, R.K. Parallelized particle and Gaussian sum particle filters for large-scale freeway traffic systems. IEEE Trans. Intell. Transp. Syst. 2012, 13, 36–48. [Google Scholar] [CrossRef] [Green Version]
  6. Pan, T.; Sumalee, A.; Zhong, R.X.; Indra-Payoong, N. Short-term traffic state prediction based on temporal–spatial correlation. IEEE Trans. Intell. Transp. Syst. 2013, 14, 1242–1254. [Google Scholar] [CrossRef]
  7. Aljamal, M.A.; Abdelghaffar, H.M.; Rakha, H.A. Real-time Estimation of Vehicle Counts on Signalized Intersection Approaches Using Probe Vehicle Data. IEEE Trans. Intell. Transp. Syst. 2020. [Google Scholar] [CrossRef] [Green Version]
  8. Chu, L.; Oh, S.; Recker, W. Adaptive Kalman filter based freeway travel time estimation. In Proceedings of the 84th TRB Annual Meeting, Washington, DC, USA, 9–13 January 2005; pp. 1–21. [Google Scholar]
  9. Aljamal, M.A.; Abdelghaffar, H.M.; Rakha, H.A. Kalman filter-based vehicle count estimation approach using probe data: A multi-lane road case study. In Proceedings of the 2019 IEEE Intelligent Transportation Systems Conference (ITSC), Auckland, New Zealand, 27–30 October 2019; pp. 4374–4379. [Google Scholar] [CrossRef]
  10. Aljamal, M.A.; Abdelghaffar, H.M.; Rakha, H.A. Developing a Neural-Kalman Filtering Approach for Estimating Traffic Stream Density Using Probe Vehicle Data. Sensors 2019, 19, 4325. [Google Scholar] [CrossRef] [Green Version]
  11. Wang, Y.; Papageorgiou, M. Real-time freeway traffic state estimation based on extended Kalman filter: A general approach. Transp. Res. Part B Methodol. 2005, 39, 141–167. [Google Scholar] [CrossRef]
  12. Mihaylova, L.; Boel, R. A particle filter for freeway traffic estimation. In Proceedings of the 43rd IEEE Conference on Decision and Control (CDC), Nassau, Bahamas, 14–17 December 2004; pp. 2106–2111. [Google Scholar]
  13. Mihaylova, L.; Boel, R.; Hegyi, A. Freeway traffic estimation within particle filtering framework. Automatica 2007, 43, 290–300. [Google Scholar] [CrossRef] [Green Version]
  14. Anand, R.A.; Vanajakshi, L.; Subramanian, S.C. Traffic density estimation under heterogeneous traffic conditions using data fusion. In Proceedings of the IEEE Intelligent Vehicles Symposium (IV), Baden, Germany, 5–9 June 2011; pp. 31–36. [Google Scholar]
  15. Abdelghaffar, H.M.; Woolsey, C.A.; Rakha, H.A. Comparison of Three Approaches to Atmospheric Source Localization. J. Aerosp. Inf. Syst. 2017, 14, 40–52. [Google Scholar] [CrossRef]
  16. Hegyi, A.; Girimonte, D.; Babuska, R.; De Schutter, B. A comparison of filter configurations for freeway traffic state estimation. In Proceedings of the IEEE Intelligent Transportation Systems Conference, Toronto, ON, Canada, 17–20 September 2006; pp. 1029–1034. [Google Scholar]
  17. Julier, S.J.; Uhlmann, J.K. New extension of the Kalman filter to nonlinear systems. In Proceedings of the Signal Processing, Sensor Fusion, and Target Recognition VI, Orlando, FL, USA, 21–25 April 1997; pp. 182–193. [Google Scholar]
  18. Zhai, Y.; Yeary, M. Implementing particle filters with Metropolis-Hastings algorithms. In Proceedings of the Region 5 Conference: Annual Technical and Leadership Workshop, Norman, OK, USA, 2 April 2004; pp. 149–152. [Google Scholar]
  19. Wright, M.; Horowitz, R. Fusing loop and GPS probe measurements to estimate freeway density. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3577–3590. [Google Scholar] [CrossRef]
  20. Chen, H.; Rakha, H.A.; Sadek, S. Real-time freeway traffic state prediction: A particle filter approach. In Proceedings of the 14th International IEEE Conference on Intelligent Transportation Systems (ITSC), Washington, DC, USA, 5–7 October 2011; pp. 626–631. [Google Scholar]
  21. Liu, J.S.; Chen, R. Sequential Monte Carlo methods for dynamic systems. J. Am. Stat. Assoc. 1998, 93, 1032–1044. [Google Scholar] [CrossRef]
  22. Ristic, B.; Arulampalam, S.; Gordon, N. Beyond the Kalman Filter: Particle Filters for Tracking Applications; Artech House: Norwood, MA, USA, 2003. [Google Scholar]
  23. Roess, R.P.; Prassas, E.S.; McShane, W.R. Traffic Engineering; Pearson Education: Hoboken, NJ, USA, 2004. [Google Scholar]
  24. Abdelghaffar, H.M.; Elouni, M.; Bichiou, Y.; Rakha, H.A. Development of a Connected Vehicle Dynamic Freeway Variable Speed Controller. IEEE Access 2020, 8, 99219–99226. [Google Scholar] [CrossRef]
  25. Cronje, W. Analysis of existing formulas for delay, overflow, and stops. In Proceedings of the 62nd Annual Meeting of the Transportation Research Board, Washington, DC, USA, 17–21 January 1983; pp. 89–93. [Google Scholar]
  26. Calle-Laguna, A.J.; Du, J.; Rakha, H.A. Computing optimum traffic signal cycle length considering vehicle delay and fuel consumption. Transp. Res. Interdisciplin. Perspect. 2019, 3, 100021. [Google Scholar] [CrossRef]
  27. Balke, K.N.; Charara, H.A.; Parker, R. Development of a Traffic Signal Performance Measurement System (TSPMS); Technical Report; Texas A and M University System: College Station, TX, USA, May 2005. [Google Scholar]
  28. Roess, R.P.; Prassas, E.S.; McShane, W.R. Traffic Engineering, 15th ed.; Pearson Education: Hoboken, NJ, USA, 2019. [Google Scholar]
  29. Gazis, D.C. Optimum control of a system of oversaturated intersections. Oper. Res. 1964, 12, 815–831. [Google Scholar] [CrossRef]
  30. Abdelghaffar, H.M.; Rakha, H.A. A novel decentralized game-theoretic adaptive traffic signal controller: Large-scale testing. Sensors 2019, 19, 2282. [Google Scholar] [CrossRef] [Green Version]
  31. Cheung, S.Y.; Coleri, S.; Dundar, B.; Ganesh, S.; Tan, C.W.; Varaiya, P. Traffic measurement and vehicle classification with single magnetic sensor. Transp. Res. Rec. 2005, 1917, 173–181. [Google Scholar] [CrossRef]
  32. Qian, G.; Lee, J.; Chung, E. Algorithm for queue estimation with loop detector of time occupancy in off-ramps on signalized motorways. Transp. Res. Rec. 2012, 2278, 50–56. [Google Scholar] [CrossRef]
  33. Gerlough, D.L.; Huber, M.J. Traffic flow theory. In Proceedings of the Annual Meeting of the Transportation Research Board, Washington, DC, USA, 19–23 January 1976. [Google Scholar]
  34. Kurkjian, A.; Gershwin, S.B.; Houpt, P.K.; Willsky, A.S.; Chow, E.; Greene, C. Estimation of roadway traffic density on freeways using presence detector data. Transp. Sci. 1980, 14, 232–261. [Google Scholar] [CrossRef] [Green Version]
  35. Bhouri, N.; Salem, H.H.; Papageorgiou, M.; Blosseville, J.M. Estimation of traffic density on motorways. In Proceedings of the IFAC/IFIP/IFORS International Symposium (AIPAC’89), Nancy, France, 3–5 July 1989; pp. 579–583. [Google Scholar]
  36. Mimbela, L.E.Y.; Klein, L.A. Summary of Vehicle Detection and Surveillance Technologies Used in Intelligent Transportation Systems. Technical Report; 2000. Available online: https://www.fhwa.dot.gov/ohim/tvtw/vdstits.pdf (accessed on 4 June 2020).
  37. Lee, J.; Hernandez, M.; Stoschek, A. Camera System for a Vehicle and Method for Controlling a Camera System. US Patent 8,218,007, 10 July 2012. [Google Scholar]
  38. Anand, A.; Ramadurai, G.; Vanajakshi, L. Data fusion-based traffic density estimation and prediction. Int. J. Intell. Transp. Syst. Res. 2014, 18, 367–378. [Google Scholar] [CrossRef]
  39. van Erp, P.B.; Knoop, V.L.; Hoogendoorn, S.P. Estimating the vehicle accumulation: Data-fusion of loop-detector flow and floating car speed data. In Proceedings of the 97th TRB Annual Meeting, Washington, DC, USA, 7–11 January 2018. [Google Scholar]
  40. Cheng, P.; Qiu, Z.; Ran, B. Particle filter based traffic state estimation using cell phone network data. In Proceedings of the 2006 IEEE Intelligent Transportation Systems Conference, Toronto, ON, Canada, 17–20 September 2006; pp. 1047–1052. [Google Scholar]
  41. Li, T.; Sattar, T.P.; Sun, S. Deterministic resampling: Unbiased sampling to avoid sample impoverishment in particle filters. Signal Process. 2012, 92, 1637–1645. [Google Scholar] [CrossRef]
  42. Maybeck, P.S. The Kalman filter: An introduction to concepts. In Autonomous Robot Vehicles; Cox, I.J., Wilfong, G.T., Eds.; Springer: New York, NY, USA, 1990; pp. 194–204. [Google Scholar]
  43. Rakha, H.A. INTEGRATION Release 2.40 for Windows: User’s Guide-Volume II: Advanced Model Features; Technical report; Center for Sustainable Mobility, Virginia Tech Transportation Institute: Blacksburg, VA, USA, June 2020. [Google Scholar] [CrossRef]
  44. Aljamal, M.A.; Rakha, H.A.; Du, J.; El-Shawarby, I. Comparison of microscopic and mesoscopic traffic modeling tools for evacuation analysis. In Proceedings of the 21st International Conference on Intelligent Transportation Systems (ITSC), Maui, HI, USA, 4–7 November 2018; pp. 2321–2326. [Google Scholar]
Figure 1. Tested link section includes connected vehicles (CVs) and non-CVs.
Figure 1. Tested link section includes connected vehicles (CVs) and non-CVs.
Sensors 20 04066 g001
Figure 2. Actual and estimated vehicle counts at different LMP scenarios: (a) 10 % , (b) 20 % , (c) 30 % , (d) 40 % , (e) 50 % , (f) 60 % , (g) 70 % , (h) 80 % and (i) 90 % .
Figure 2. Actual and estimated vehicle counts at different LMP scenarios: (a) 10 % , (b) 20 % , (c) 30 % , (d) 40 % , (e) 50 % , (f) 60 % , (g) 70 % , (h) 80 % and (i) 90 % .
Sensors 20 04066 g002
Figure 3. RRMSE values using various initial vehicle count estimates at different LMP scenarios: (a) 10 % , (b) 20 % , (c) 30 % , (d) 40 % , (e) 50 % , (f) 60 % , (g) 70 % , (h) 80 % and (i) 90 % .
Figure 3. RRMSE values using various initial vehicle count estimates at different LMP scenarios: (a) 10 % , (b) 20 % , (c) 30 % , (d) 40 % , (e) 50 % , (f) 60 % , (g) 70 % , (h) 80 % and (i) 90 % .
Sensors 20 04066 g003
Table 1. Initial conditions for the Kalman filter (KF), adaptive KF (AKF), and particle filter (PF) approaches.
Table 1. Initial conditions for the Kalman filter (KF), adaptive KF (AKF), and particle filter (PF) approaches.
Initial Conditions   KFAKFPF
N ^ + ( 0 ) (veh)555
R (s 2 )2020
V (veh 2 )5
k (# of part.)200
P ^ + ( 0 ) (veh 2 )55
m (veh)5
Table 2. Relative root mean square error (RRMSE) of KF, AKF, and PF approaches for different levels of market penetration rate (LMPs).
Table 2. Relative root mean square error (RRMSE) of KF, AKF, and PF approaches for different levels of market penetration rate (LMPs).
LMPs %RRMSE (%)
KFAKFPF
1304864
3253460
5233256
8232852
10192448
15192442
20182340
30181930
40181822
50181718
60141615
70121712
809179
906177
Table 3. RRMSE values for the KF, AKF, and PF approaches using different initial vehicle count estimates (i.e., 0, 5 and 10) for different LMPs.
Table 3. RRMSE values for the KF, AKF, and PF approaches using different initial vehicle count estimates (i.e., 0, 5 and 10) for different LMPs.
LMPs % N ^ + ( 0 ) = 0 N ^ + ( 0 ) = 5 N ^ + ( 0 ) = 10
KFAKFPFKFAKFPFKFAKFPF
1347181304864273651
3284978253460232647
5264573233256232744
8243369232852232741
10193362192448202437
15212955192442202337
20202447182340192335
30192134181930191927
40182024181822191819
50191718181718171722
60141714141615151619
70121812121712121717
809189917991715
906176617771714
Table 4. RRMSE values for the KF, AKF, and PF approaches using different initial vehicle count estimates (i.e., 15, 20 and 25) for different LMPs.
Table 4. RRMSE values for the KF, AKF, and PF approaches using different initial vehicle count estimates (i.e., 15, 20 and 25) for different LMPs.
LMPs % N ^ + ( 0 ) = 15 N ^ + ( 0 ) = 20 N ^ + ( 0 ) = 25
KFAKFPFKFAKFPFKFAKFPF
1233236202324192117
3222633202524202419
5212531202326192420
8212733222626212623
10202430202427192622
15192330192426192318
20192330192330192316
30191921191921191926
40191820191820191844
50181733181747181733
60151632151632151632
70121730121730121730
80917309173091730
90717297174471729
Table 5. RRMSE values using different number of particles in the PF for different LMPs.
Table 5. RRMSE values using different number of particles in the PF for different LMPs.
LMPs %RRMSE (%)
k = 10k = 100k = 200k = 1000k = 2000
17266646159
36962605756
56659565352
86054524847
105650484644
154844424040
204441403836
303430303030
402222222222
501918181817
601615151414
701312121211
80119999
9097766

Share and Cite

MDPI and ACS Style

Aljamal, M.A.; Abdelghaffar, H.M.; Rakha, H.A. Estimation of Traffic Stream Density Using Connected Vehicle Data: Linear and Nonlinear Filtering Approaches. Sensors 2020, 20, 4066. https://doi.org/10.3390/s20154066

AMA Style

Aljamal MA, Abdelghaffar HM, Rakha HA. Estimation of Traffic Stream Density Using Connected Vehicle Data: Linear and Nonlinear Filtering Approaches. Sensors. 2020; 20(15):4066. https://doi.org/10.3390/s20154066

Chicago/Turabian Style

Aljamal, Mohammad A., Hossam M. Abdelghaffar, and Hesham A. Rakha. 2020. "Estimation of Traffic Stream Density Using Connected Vehicle Data: Linear and Nonlinear Filtering Approaches" Sensors 20, no. 15: 4066. https://doi.org/10.3390/s20154066

APA Style

Aljamal, M. A., Abdelghaffar, H. M., & Rakha, H. A. (2020). Estimation of Traffic Stream Density Using Connected Vehicle Data: Linear and Nonlinear Filtering Approaches. Sensors, 20(15), 4066. https://doi.org/10.3390/s20154066

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