Amr Shafik

Mr. Amr Shafik

orcid

Research Focus & Metrics

Academic Career Length

4Years (2023-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
16 March 2023 in IEEE Transactions on Intelligent Transportation Systems
Verified
Journal Article
Closed access
ASAmr Shafik
Amr Shafik
SESeifeldeen Eteifa
Seifeldeen Eteifa
Hesham RakhaHesham Rakha
Hesham Rakha
This paper introduces a robust green light optimal speed advisory (GLOSA) system for fixed and actuated traffic signals considering a probability distribution. These distributions represent the domain of possible switching times from the signal phasing and timing (SPaT) messages. The system finds the least-cost (minimum fuel consumption) vehicle trajectory using a computationally efficient A $^\ast$ algorithm incorporated within a dynamic programming (DP) procedure to minimize the vehicle’s total fuel consumption. Constraints are introduced to ensure that vehicles do not collide with other vehicles, run red indications, or exceed a maximum vehicular jerk for passenger comfort. Results of simulation scenarios are evaluated against empirical comparable trajectories of uninformed drivers to compute fuel consumption savings. The proposed approach produced significant fuel savings compared to an uninformed driver behavior amounting to 37% on average for deterministic SPaT and 30% for stochastic SPaT data. A sensitivity analysis was performed to understand how the degree of uncertainty in SPaT predictions affects the optimal trajectory’s fuel consumption. The results present the required levels of confidence in these predictions to achieve savings in fuel consumption. Specifically, the study demonstrates that the proposed system can be within 85% of the maximum savings if the timing error is ( $\pm$ 3.3 seconds) at a 95% confidence level. Results also emphasize the importance of more reliable SPaT predictions as the time to green decreases relative to the time the vehicle is expected to reach the intersection given its current speed.

30 January 2025 in Sensors
Verified
Journal Article
Open access
PDF file
ASAmr Shafik
Amr Shafik
Hesham RakhaHesham Rakha
Hesham Rakha
This paper introduces a two-stage adaptive Kalman filter algorithm to estimate and predict traffic states required for real-time traffic signal control. Leveraging probe vehicle trajectory and upstream detector data, turning movement (TM) counts in the vicinity of signalized intersections are estimated in the first stage, while the upstream approach density and queue sizes are estimated in the second stage. The proposed approach is evaluated using drone-collected and simulated data from a four-legged signalized intersection in Orlando, Florida. The performance of the two-stage approach is quantified relative to the baseline estimation without a Kalman filter. The results show that the Kalman filter is effective in enhancing traffic state estimates at various market penetration levels, where the filter both improves the estimation accuracy over the baseline case and provides reliable state predictions. In the first stage, the standard deviation (SD) in TM estimates improves by up to 50% compared to the estimates provided by the sole use of probe vehicle headings. The proposed approach also provides predictions with a minimal SD of 92.8 veh/h at a 5% level of market penetration. In the second stage, the proposed queue size estimation method results in an enhancement to the queue size estimation of up to 32.8% compared to the estimates obtained from the baseline approach. In addition, the estimated traffic density is enhanced by up to 18.5%. The proposed two-stage approach demonstrates the capability of providing reliable turning movement predictions across varying levels of market penetration. This highlights the readiness of this approach for practical application in real-time traffic signal control systems.

7 March 2025 in Sensors
Verified
Journal Article
Open access
PDF file
SESeifeldeen Eteifa
Seifeldeen Eteifa
ASAmr Shafik
Amr Shafik
HEHoda Eldardiry
Hoda Eldardiry
Hesham RakhaHesham Rakha
Hesham Rakha
Predicting Signal Phase and Timing (SPaT) information and confidence levels is needed to enhance Green Light Optimal Speed Advisory (GLOSA) and/or Eco-Cooperative Adaptive Cruise Control (Eco-CACC) systems. This study proposes an architecture based on transformer encoders to improve prediction performance. This architecture is combined with different deep learning methods, including Multilayer Perceptrons (MLP), Long-Short-Term Memory neural networks (LSTM), and Convolutional Long-Short-Term Memory neural networks (CNNLSTM) to form an ensemble of predictors. The ensemble is used to make data-driven predictions of SPaT information obtained from traffic signal controllers for six different intersections along the Gallows Road corridor in Virginia. The study outlines three primary tasks. Task one is predicting whether a phase would change within 20 s. Task two is predicting the exact change time within 20 s. Task three is assigning a confidence level to that prediction. The experiments show that the proposed transformer-based architecture outperforms all the previously used deep learning methods for the first two prediction tasks. Specifically, for the first task, the transformer encoder model provides an average accuracy of 96%. For task two, the transformer encoder models provided an average mean absolute error (MAE) of 1.49 s, compared to 1.63 s for other models. Consensus between models is shown to be a good leading indicator of confidence in ensemble predictions. The ensemble predictions with the highest level of consensus are within one second of the true value for 90.2% of the time as opposed to those with the lowest confidence level, which are within one second for only 68.4% of the time.

25 September 2024 in IEEE Transactions on Intelligent Transportation Systems
Verified
Journal Article
Closed access
ASAmr Shafik
Amr Shafik
Hesham RakhaHesham Rakha
Hesham Rakha
This research develops and evaluates an Eco-Cooperative Adaptive Cruise Control system in proximity of traffic signals (ECO-CACC-I) that estimates the spatiotemporal back of queue propagation in real-time, using loop detector and probe vehicle data, while considering the inherent uncertainties in actuated traffic signal timings. The system uses probe vehicle information as well as information from the control logic to enhance the real-time queue length estimates and does not require historical queue data. Through comprehensive simulation experiments involving a single vehicle approaching a traffic signal, as well as simulations of a signalized intersection covering various market penetration levels (MPLs) and varying demand levels, the fuel savings achieved by the ECO-CACC-I system are quantified. The developed queue estimation algorithm provides a significant improvement over the traditional use of shockwave theory alone. In addition, results of the ECO-CACC-I system demonstrate average fuel savings of up to 10.57% and 18.89%, respectively without and with consideration of the queueing process from the perspective of an individual vehicle. Furthermore, an average fuel saving of 16.5% is achieved for the isolated intersection simulations at a 100% MPL. While significant marginal savings are achieved from a single-vehicle perspective when considering the queue, this is not the case for a network-wide perspective, where the consideration of the queue process only results in a 2% overall enhancement in terms of fuel savings. This research quantifies the benefits and the limitations of ECO-CACC-I when considering surrounding traffic by incorporating real-time queue predictions for deployment in real-world traffic environments.

13 May 2026 in Innovative Infrastructure Solutions
Verified
Journal Article
Closed access
PDF file
AMAhmed Mohamed
Ahmed Mohamed
AEAhmed A. El-Sonbaty
Ahmed A. El-Sonbaty
ASAmr Shafik
Amr Shafik
MOMahmoud Owais
Mahmoud Owais

14 October 2025 in Sensors
Verified
Journal Article
Open access
PDF file
ASAmr Shafik
Amr Shafik
Hesham RakhaHesham Rakha
Hesham Rakha
This research enhances and evaluates the performance of a Decentralized Nash Bargaining (DNB) adaptive traffic signal controller that operates a flexible National Electrical Manufacturers Association (NEMA) phasing and timing scheme responding dynamically to fluctuating traffic demands. The DNB controller is enhanced to (1) use traffic density estimates instead of queues to optimize signal timings; (2) to consider the eight-phase two-ring NEMA controller configuration within the game-theoretic approach; and (3) to consider dynamically adaptable control time steps. The enhanced DNB controller is benchmarked against (1) a fixed-time traffic signal control using the state-of-practice Webster’s method and an emerging Laguna-Du-Rakha (LDR) method for computing the optimum cycle length; (2) a state-of-the-practice actuated traffic signal control; and (3) a state-of-the-art reinforcement learning (RL) traffic signal controller presented in the literature. The controller is tested on two isolated signalized intersections, demonstrating enhanced overall intersection performance compared to the baseline pretimed and actuated controllers at various demand levels, and offers better performance than a previously developed RL controller. Specifically, the DNB controller results in a decrease in the average vehicle delay and queue size by up to 54% and 63%, respectively, compared to Webster’s state-of-the-practice pretimed control. Unlike the RL controller, the DNB controller requires no pre-training while adapting to fluctuating traffic conditions, thereby providing a flexible framework for reducing traffic congestion at signalized intersections. As such, this research contributes to the development of smarter and more responsive urban traffic control systems.