SYTRAC: An Edge AI-Based Intelligent Traffic Signal Control System Using OPC UA and Deep Learning for Smart City Applications
Abstract
1. Introduction
- Asynchronous Edge-Industrial Co-Design for ATSC: We propose and validate an asynchronous co-design between stochastic deep learning edge inference (YOLOv4-tiny, Jetson Nano GPU) and deterministic OPC UA industrial PLC control (Siemens S7-1200), operating on a single resource-constrained node. The design formally decouples the non-deterministic inference domain from the safety-critical actuation domain—an architectural separation not identified among the ATSC systems surveyed in this work.
- Formalization of the latency–safety trade-off via a three-mode state machine: SYTRAC introduces a three-mode fault-tolerant state machine (Mode SYTRAC/Mode OPC UA SCADA/Mode PLC Standalone, Section 4) that explicitly mediates the latency–safety trade-off: a 2 s OPC UA watchdog timeout triggers a bounded-time transition to deterministic PLC-embedded fixed-time fallback, formalizing the maximum permissible inference disruption interval. Hardware-in-the-loop profiling over 1000 OPC UA cycles confirms that 11.7 ms mean write latency and 47 ms emergency ALL-RED actuation satisfy IEC 61784 [12] bounds under worst-case inference jitter.
- Stability-guaranteed macroscopic backpressure allocation (DWAGE): The Density-Weighted Adaptive Green Extension algorithm provides a closed-form stability argument (Proposition 1) grounded in macroscopic density-driven backpressure [13] and the Foster–Lyapunov criterion [14], formally guaranteeing bounded queue lengths under sub-saturated demand. This transforms DWAGE from a heuristic rule-based controller into an analytically characterized density-proportional policy.
- Multi-method field validation under arid conditions: We present a rigorous evaluation combining hardware-in-the-loop latency profiling, live-intersection delay measurement (Ouargla, Algeria, 43 °C), non-parametric statistical testing with multiple-comparison correction (Holm–Bonferroni), and calibrated SUMO microscopic simulation (15 independent replications, GEH < 5.0; GEH is defined in Section 7). The 22.1% field-measured delay reduction (95% CI: [20.5%, 23.7%]; BCa bootstrap, resamples) is compared against Webster optimal, fixed vehicle-actuated, and fixed-time baselines.
- Reproducible low-cost deployment architecture with quantified sustainability impact: A three-mode, fault-tolerant, deployment-ready architecture assembled for under $1300 USD (full site: $1257; control loop: $1117) with open-source SUMO calibration files, DWAGE source code, and OPC UA node mapping archived on GitHub, democratizing safety-critical adaptive intersection control for resource-constrained municipalities. The 22.1% field-measured delay reduction translates to approximately 53.5 kg avoided per day at the study intersection, directly supporting SDG 11.6 (urban air quality) and SDG 13.2 (climate action) and delivering a Social Return On Investment exceeding 33:1 relative to hardware cost.
2. Related Work
2.1. Fixed-Time Signal Control and Its Limitations
2.2. Adaptive and Intelligent Traffic Signal Control
2.3. Computer Vision for Traffic Monitoring
2.4. Edge Computing for IoT Transportation
2.5. OPC UA for Industrial IoT Integration
2.6. Emerging Research Directions
2.7. Research Gaps Addressed
3. Problem Formulation
3.1. Intersection Model and State Variables
- : the vehicle count in the detection zone of approach i, estimated by the YOLOv4-tiny pipeline;
- : the pedestrian count in the crossing zone of approach i;
- : the instantaneous queue length (veh) at approach i;
- : the currently active green phase.
3.2. Decision Variables and Constraints
3.3. Objective Function
3.4. DWAGE as a Real-Time Approximate Solution
4. System Architecture
4.1. Overall Architecture
4.2. Phase Scheduling and Duty Cycle
4.3. Fault Tolerance and Operational Modes
- Mode SYTRAC (normal operation): The default state. The edge AI node processes RTSP streams and executes the DWAGE algorithm to control the intersection based on real-time traffic demand.
- Mode OPC UA SCADA (supervisory fallback): If a camera fails due to hardware fault or severe environmental conditions (e.g., dense fog or sandstorm), the system transitions to fixed-timing operation. An upstream SCADA system may continue to monitor signal states, override cycle timings, and control phases remotely.
- Mode PLC standalone (hardware safety fallback): A high-frequency OPC UA watchdog monitors the TCP/IP link between the Jetson Nano and the S7-1200. If the connection timeout exceeds 2.0 s then the PLC reverts to fail-safe ladder logic embedded in its local memory, enforcing fixed-time traffic regulation independently of the edge node.
5. Hardware Architecture and Industrial Setup
5.1. Hardware Components
5.2. Cost Comparison with Alternative ATSC Approaches
6. Methodology and Control Framework
6.1. System Architecture and Data Flow
6.2. Supervision and Edge Intelligence Framework
6.3. YOLOv4-Tiny Detection Pipeline
6.4. Adaptive Timing Algorithm (DWAGE)
| Algorithm 1: Adaptive Traffic Light Control Loop (DWAGE) |
![]() |
6.5. Industrial Control Execution and OPC UA Integration
6.6. Web Dashboard and REST API Supervision
7. Experimental Results
7.1. Study Area and Experimental Design
7.2. Vehicle Detection Performance
7.3. OPC UA Communication Latency
7.4. Adaptive Timing—Delay Reduction
7.5. Extended Validation Under Synthetic Demand Scenarios (SUMO)
7.6. Extended Signal Operation KPIs
7.7. Simulation Comparison with Swarm, Genetic, and RL Baselines
- Genetic Algorithm (GA): An offline-calibrated optimizer that optimizes cycle length and phase splits based on historical volume distributions but lacks real-time intraday adaptivity.
- Particle Swarm Optimization (PSO): A real-time swarm-based heuristic optimization method (modeled after Celtek et al. [20]) that iteratively searches the phase split space at each 120 s interval based on queue count telemetry.
- Proximal Policy Optimization (PPO): A Deep Reinforcement Learning agent trained in our SUMO environment over 2000 episodes (using a reward function penalizing cumulative queue length and vehicle stops), representing simulation-optimized state-of-the-art adaptivity.
- DWAGE (ours): Our proposed density-weighted macroscopic control algorithm with direct PLC-level hardware fallback.
7.8. System Reliability
8. Discussion
8.1. Comparison with Related Systems
8.2. Generalizability, Limitations, and Future Work
8.3. Comparison with Deep Reinforcement Learning (DRL) Approaches
8.4. Security and Regulatory Compliance
8.5. Sustainability and Environmental Impact
8.5.1. Environmental Sustainability: Greenhouse Gas and Air Pollutant Reduction
8.5.2. Social Sustainability: Safety, Accessibility, and Equity
8.5.3. Economic Sustainability: Social Return on Investment
8.5.4. SDG Alignment
8.5.5. Simulation-Based Generalizability by Intersection Type
8.5.6. System Lifecycle and Circular Economy Considerations
9. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| ATSC | Adaptive Traffic Signal Control |
| CLAHE | Contrast Limited Adaptive Histogram Equalization |
| CRTNA | Centre de Recherche sur les Transports et la Navigation Aerienne |
| DB | Data Block (Siemens TIA Portal) |
| DWAGE | Density-Weighted Adaptive Green Extension |
| IoT | Internet of Things |
| IIoT | Industrial Internet of Things |
| NMS | Non-Maximum Suppression |
| OPC UA | OPC Unified Architecture [8] |
| PLC | Programmable Logic Controller |
| REST | Representational State Transfer |
| ROI | Region of Interest |
| RTSP | Real-Time Streaming Protocol |
| SCOOT | Split Cycle Offset Optimization Technique |
| SCATS | Sydney Coordinated Adaptive Traffic System |
| SDG | Sustainable Development Goal (UN 2030 Agenda) |
| SROI | Social Return On Investment |
| VTTS | Value of Travel Time Savings |
| COPERT | Computer Programme to calculate Emissions from Road Transport |
| V2X | Vehicle-to-Everything Communication |
| YOLO | You Only Look Once (object detection framework) |
References
- Office National des Statistiques Algerie. Parc Automobile National—Statistiques 2023; ONS Tech. Rep.; ONS: Algiers, Algeria, 2023. Available online: http://www.ons.dz/ (accessed on 11 May 2026).
- International Energy Agency. CO2 Emissions from Fuel Combustion: Highlights 2022; IEA: Paris, France, 2022; Available online: https://aither.com/european-union-allowances/ (accessed on 15 March 2026).
- Webster, F.V. Traffic Signal Settings; Road Research Technical Paper No. 39; HMSO: London, UK, 1958; Available online: https://trid.trb.org/View/179439 (accessed on 11 May 2026).
- Hunt, P.B.; Robertson, D.I.; Bretherton, R.D.; Winton, R.I. SCOOT—A traffic responsive method of coordinating signals. In TRRL Laboratory Report 1014; Transport Research Laboratory: Crowthorne, UK, 1981. [Google Scholar]
- Lowrie, P. SCATS: Sydney Co-Ordinated Adaptive Traffic System: A Traffic Responsive Method of Controlling Urban Traffic. 1990. Available online: https://trid.trb.org/View/488852 (accessed on 11 May 2026).
- NVIDIA Corporation. Jetson Nano Developer Kit User Guide; NVIDIA Tech. Note TM-07831-001_v1.3; NVIDIA: Santa Clara, CA, USA, 2021; Available online: https://developer.nvidia.com/embedded/jetson-nano (accessed on 15 March 2026).
- Bochkovskiy, A.; Wang, C.-Y.; Liao, H.-Y.M. YOLOv4: Optimal speed and accuracy of object detection. arXiv 2020, arXiv:2004.10934. [Google Scholar] [CrossRef]
- IEC 62541-21; OPC Unified Architecture—Part 21: Device Onboarding. International Electrotechnical Commission (IEC): Geneva, Switzerland, 2026.
- Zheng, G.; Xiong, Y.; Zang, X.; Feng, J.; Wei, H.; Zhang, H.; Li, Y.; Xu, K.; Li, Z. Diagnosing reinforcement learning for traffic signal control. arXiv 2019, arXiv:1905.04716. [Google Scholar] [CrossRef]
- Wei, H.; Zheng, G.; Yao, H.; Li, Z. IntelliLight: A reinforcement learning approach for intelligent traffic light control. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD ’18), London, UK, 19–23 August 2018; Association for Computing Machinery (ACM): New York, NY, USA, 2018; pp. 2496–2505. [Google Scholar] [CrossRef]
- Haydari, A.; Yılmaz, Y. Deep reinforcement learning for intelligent transportation systems: A survey. IEEE Trans. Intell. Transp. Syst. 2022, 23, 11–32. [Google Scholar] [CrossRef]
- IEC 61784; International Electrotechnical Commission (IEC): Industrial Communication Networks—Profiles. IEC: Geneva, Switzerland, 2019.
- Varaiya, P. Max pressure control of a network of signalized intersections. Transp. Res. Part C Emerg. Technol. 2013, 36, 177–195. [Google Scholar] [CrossRef]
- Meyn, S.; Tweedie, R.L. Markov Chains and Stochastic Stability, 2nd ed.; Cambridge University Press: Cambridge, UK, 2009. [Google Scholar] [CrossRef]
- Daganzo, C.F. The cell transmission model: A dynamic representation of highway traffic consistent with the hydrodynamic theory. Transp. Res. Part B Methodol. 1994, 28, 269–287. [Google Scholar] [CrossRef]
- Zhai, C.; Wu, W.; Shi, T.; Zhang, J.; Xiao, Y.; Zhai, M.; Wu, Y. Traffic wave transition for 2-D multi-phase traffic flow with consideration of jerk dynamics and cyber-attacks. Phys. A Stat. Mech. Its Appl. 2026, 666, 131614. [Google Scholar] [CrossRef]
- He, Z.; Laval, J.A.; Han, Y.; Hegyi, A.; Nishi, R.; Wu, C. A review of stop-and-go traffic wave suppression strategies: Variable speed limit versus jam-absorption driving. IEEE Trans. Intell. Transp. Syst. 2026, 27, 4986–5000. [Google Scholar] [CrossRef]
- Kolat, M.; Kővári, B.; Bécsi, T.; Aradi, S. Multi-Agent Reinforcement Learning for Traffic Signal Control: A Cooperative Approach. Sustainability 2023, 15, 3479. [Google Scholar] [CrossRef]
- Bouriachi, F.; Zatla, H.; Tolbi, B.; Becha, K.; Ghermoul, A. Traffic Signal Control Model on Isolated Intersection Using Reinforcement Learning: A Case Study on Algiers City, Algeria. Rev. D’Intell. Artif. 2021, 35, 417–424. Available online: https://www.iieta.org/journals/ria/paper/10.18280/ria.350508 (accessed on 20 February 2026). [CrossRef]
- Celtek, S.A.; Durdu, A.; Alı, M.E.M. Real-time traffic signal control with swarm optimization methods. Measurement 2020, 166, 108206. [Google Scholar] [CrossRef]
- Akopov, A.S.; Beklaryan, L.A. Traffic Improvement in Manhattan Road Networks With the Use of Parallel Hybrid Biobjective Genetic Algorithm. IEEE Access 2024, 12, 19532–19552. [Google Scholar] [CrossRef]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; IEEE: New York, NY, USA, 2016; pp. 779–788. [Google Scholar] [CrossRef]
- Amrouche, A.; Bentrcia, Y.; Abed, A.; Hezil, N. Vehicle detection and tracking in real-time using YOLOv4-tiny. In Proceedings of the 2022 7th International Conference on Image and Signal Processing and their Applications (ISPA), Mostaganem, Algeria, 8–9 May 2022; IEEE: New York, NY, USA, 2022; pp. 1–5. [Google Scholar] [CrossRef]
- Mansour Mohamed, A.S.; Rashid, M.M. Video-based vehicle counting and analysis using YOLOv5 and DeepSORT with deployment on Jetson Nano. Asian J. Electr. Electron. Eng. 2022, 2. [Google Scholar] [CrossRef]
- Darwhekar, K.; Patil, A.; Ghodke, S.; Bawkar, R.; Rudrawar, S. Computer vision based intelligent traffic management system. In Proceedings of the 2022 6th International Conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India, 1–3 December 2022; IEEE: New York, NY, USA, 2022; pp. 1051–1056. [Google Scholar] [CrossRef]
- Xiong, X.; Tan, Y.; Huang, Z.; Chen, B.; Huang, Q. Automatic NDT of semi-rigid base cracks within asphalt pavement based on 3D-GPR and deep learning. Int. J. Pavement Eng. 2025. [Google Scholar] [CrossRef]
- Shi, W.; Cao, J.; Zhang, Q.; Li, Y.; Xu, L. Edge computing: Vision and challenges. IEEE Internet Things J. 2016, 3, 637–646. [Google Scholar] [CrossRef]
- Wang, K.; Shen, Z.; Lei, Z.; Liu, X.; Zhang, T. Toward multi-agent reinforcement learning based traffic signal control through spatio-temporal hypergraphs. IEEE Trans. Mob. Comput. 2025, 24, 8258–8271. [Google Scholar] [CrossRef]
- NVIDIA Corporation. TensorRT Developer Guide, v8.x; NVIDIA Corporation: Santa Clara, CA, USA, 2023; Available online: https://developer.nvidia.com/tensorrt (accessed on 15 March 2026).
- Raza, M.; Kazmi, M.; Kidwai, H.M.; Khan, H.R.; Qazi, S.A.; Arshad, K.; Assaleh, K. An edge-deployed real-time adaptive traffic light control system using YOLO-based vehicle detection and PCE-aware density estimation. IEEE Access 2025, 26, 153586–153613. [Google Scholar] [CrossRef]
- Wadi, M.; Shabbir, A.; Jerew, W.; Khalid, M. Evaluation of OPC UA and MQTT protocols for Industrial Internet of Things applications. IEEE Access 2022, 10, 55860–55876. [Google Scholar] [CrossRef]
- Siemens AG. STEP 7 and WinCC: OPC UA in TIA Portal; Siemens Application Note, Entry ID: 109755276, v2.0; Siemens AG: Munich, Germany, 2021; Available online: https://docs.tia.siemens.cloud/r/en-us/v20/communication-s7-1200-s7-1500/opc-ua-s7-1200-s7-1500/client-instructions-s7-1500/opc-ua-instructions-for-client-programs-s7-1500 (accessed on 11 May 2026).
- Lee, C.; Kim, N.; Hong, S. Toward industrial IoT: Integrated architecture of an OPC UA synergy platform. IEEE Access 2021, 9, 164720–164731. [Google Scholar] [CrossRef]
- Ceapă, V.C.D.; Apostol, V.A.; Sacală, I.S.; Căruntu, C.F.; Ross, R.; Holt, D.; Segărceanu, M.; Burlacu, L.E. IoT-Simulated Digital Twin with AI Traffic Signal Control for Real-Time Traffic Optimization in SUMO. Sensors 2026, 26, 1880. [Google Scholar] [CrossRef] [PubMed]
- Cavalieri, S.; Chiacchio, F. OPC UA over Time-Sensitive Networking for industrial IoT: A performance analysis. Comput. Stand. Interfaces 2021, 78, 103541. [Google Scholar]
- EN 12368; Traffic Control Equipment—Signal Heads. European Committee for Standardization (CEN): Brussels, Belgium, 2015.
- Lee, W.-H.; Chiu, C.-Y. Design and implementation of a smart traffic signal control system for smart city applications. Sensors 2020, 20, 508. [Google Scholar] [CrossRef] [PubMed]
- Guo, M.; Wang, P.; Chan, C.Y.; Askary, S. A reinforcement learning approach for intelligent traffic signal control at urban intersections. In Proceedings of the 2019 IEEE Intelligent Transportation Systems Conference (ITSC), Auckland, New Zealand, 27–30 October 2019; IEEE: New York, NY, USA, 2019; pp. 4242–4247. [Google Scholar] [CrossRef]
- IEC 62443-3-3; Security for Industrial Automation and Control Systems—Part 3-3: System Security Requirements and Security Levels. International Electrotechnical Commission (IEC): Geneva, Switzerland, 2013.
- Maureal, A.L.; Lorilla, F.M.A.; Andres, G.L. A Lightweight Edge AI Framework for Adaptive Traffic Signal Control in Mid-Sized Philippine Cities. Sustainability 2026, 18, 1147. [Google Scholar] [CrossRef]
- Department for Transport (DfT). Transport Analysis Guidance (TAG) Unit M3.1: Highway Assignment Modelling; Department for Transport: London, UK, 2020. Available online: https://www.gov.uk/government/publications/tag-unit-m3-1-highway-assignment-modelling (accessed on 15 March 2026).
- Chauhan, S.; Bansal, K.; Sen, R. EcoLight: Intersection Control in Developing Regions Under Extreme Budget and Network Constraints. In Advances in Neural Information Processing Systems 33 (NeurIPS 2020); Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M.F., Lin, H., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2020; pp. 13027–13037. [Google Scholar]
- OWASP. OWASP API Security Top 10–2023; Open Worldwide Application Security Project. 2023. Available online: https://owasp.org/API-Security/ (accessed on 11 May 2026).
- Rescorla, E. The Transport Layer Security (TLS) Protocol Version 1.3; RFC 8446, Internet Engineering Task Force (IETF). 2018. Available online: https://www.rfc-editor.org/info/rfc8446/ (accessed on 20 February 2026).
- IEC 61508-1:2010; International Electrotechnical Commission (IEC): Functional Safety of Electrical/Electronic/Programmable Electronic Safety-Related Systems—Part 1: General Requirements. IEC: Geneva, Switzerland, 2010.
- World Health Organization. WHO Global Air Quality Guidelines: Particulate Matter (PM2.5 and PM10), Ozone, Nitrogen Dioxide, Sulfur Dioxide and Carbon Monoxide; WHO: Geneva, Switzerland, 2021. Available online: https://www.who.int/publications/i/item/9789240034228 (accessed on 15 March 2026).
- Shires, J.D.; de Jong, G.C. An international meta-analysis of values of travel time savings. Eval. Program Plan. 2009, 32, 315–325. [Google Scholar] [CrossRef] [PubMed]







| Phase | N–S Vehicles | E–W Vehicles | Ped. (N, S) | Ped. (E, W) | Duration |
|---|---|---|---|---|---|
| P1 (Green) | GREEN | RED | GREEN | RED | 8–80 s |
| A1 (Amber) | AMBER | RED | RED | RED | 4 s (fixed) |
| AR1 (All-Red) | RED | RED | RED | RED | 2 s (fixed) |
| P2 (Green) | RED | GREEN | RED | GREEN | 8–80 s |
| A2 (Amber) | RED | AMBER | RED | RED | 4 s (fixed) |
| AR2 (All-Red) | RED | RED | RED | RED | 2 s (fixed) |
| Component | Model | Cost (USD) | Power (W) |
|---|---|---|---|
| Edge Computer | NVIDIA Jetson Nano 4GB | $149 | ∼8–10 W |
| PLC | Siemens S7-1200 CPU 1214C | $380 | ∼4–5 W |
| IP Camera (×4) | Hikvision DS-2CD2343G2-I | $380 | — |
| PoE Switch 1 | TP-Link TL-SG1008P | $42 | ∼6–8 W |
| Signal Heads 2 (×4) | TrafficPak LED 200 mm RGB | $140 | ∼8–10 W |
| Relay Module (×2) | Phoenix Contact 2966170 | $56 | <1 W |
| Enclosure | Rittal AE 1380 (IP55) | $110 | — |
| SYTRAC Control Loop Total | $1117 | ∼18–23 W | |
| ull Site Total (incl. signals) | $1257 | ∼26–33 W |
| System Class | Approx. Cost | Adaptive AI | Ind. PLC | Cert. Fail-Safe | Galvanic Isol. |
|---|---|---|---|---|---|
| Low-cost IoT prototype [37,38] | $200–$400 | Yes | No | No | No |
| SYTRAC (This work) | $1257 | Yes | Yes | Yes | Yes |
| Commercial ATSC (SCOOT/SCATS) [4,5] | $15,000–$200,000 | Yes | Yes | Yes | Yes |
| Variable | DB Address | Output | Signal |
|---|---|---|---|
| Voie1_Rouge | DB1.DBX0.0 | Q0.0 | Lane 1 RED |
| Voie1_Jaune | DB1.DBX0.1 | Q0.1 | Lane 1 AMBER |
| Voie1_Vert | DB1.DBX0.2 | Q0.2 | Lane 1 GREEN |
| Voie2_Rouge | DB1.DBX0.3 | Q0.3 | Lane 2 RED |
| Voie2_Jaune | DB1.DBX0.4 | Q0.4 | Lane 2 AMBER |
| Voie2_Vert | DB1.DBX0.5 | Q0.5 | Lane 2 GREEN |
| Ped1_Vert | DB1.DBX0.6 | Q0.6 | Ped. 1 GREEN |
| Ped1_Rouge | DB1.DBX0.7 | Q0.7 | Ped. 1 RED |
| Ped2_Vert | DB1.DBX1.0 | Q1.0 | Ped. 2 GREEN |
| Ped2_Rouge | DB1.DBX1.1 | Q1.1 | Ped. 2 RED |
| Parameter | Value | Source |
|---|---|---|
| Total cycle length () | 90 s | Existing PLC program |
| Phase 1 green duration (P1) | 46 s | Field measurement |
| Phase 2 green duration (P2) | 36 s | Field measurement |
| Amber 1 duration (A1) | 4 s | Municipal regulation |
| Amber 2 duration (A2) | 4 s | Municipal regulation |
| Calibration period | 10 October 2025 to 14 February 2026 | Historical traffic counts |
| Metric | Single Node (ms) | All 10 Nodes (ms) |
|---|---|---|
| Mean | 4.3 | 11.7 |
| Median | 3.8 | 10.4 |
| 95th Percentile | 8.9 | 19.3 |
| 99th Percentile | 14.2 | 31.6 |
| Maximum observed | 47.1 | 68.4 |
| Emergency ALL-RED actuation latency | 47.0 | — |
| Cond. | Controller | Delay (s/v) | SD | Red. (%) | W | p | r |
|---|---|---|---|---|---|---|---|
| LOW | Fixed-Time | 28.4 | ±4.2 | 25.1 | 12 | <0.001 | 0.84 |
| Webster Opt. | 27.9 | ±3.9 | 23.7 | – | – | – | |
| Fixed VA | 24.6 | ±3.5 | 13.4 | – | – | – | |
| SYTRAC | 21.3 | ±3.1 | – | – | – | – | |
| MED. | Fixed-Time | 42.7 | ±6.5 | 23.0 | 17 | <0.001 | 0.79 |
| Webster Opt. | 41.8 | ±6.1 | 21.3 | – | – | – | |
| Fixed VA | 36.4 | ±5.0 | 9.6 | – | – | – | |
| SYTRAC | 32.9 | ±4.8 | – | – | – | – | |
| HIGH | Fixed-Time | 67.3 | ±9.8 | 18.9 | 28 | <0.01 | 0.71 |
| Webster Opt. | 65.1 | ±9.2 | 16.1 | – | – | – | |
| Fixed VA | 59.8 | ±8.1 | 8.7 | – | – | – | |
| SYTRAC | 54.6 | ±7.4 | – | – | – | – | |
| Avg.1 | Fixed-Time | 42.6 | – | 22.1 | (all) | ||
| Webster Opt. | 41.6 | – | 20.2 | – | |||
| Fixed VA | 37.0 | – | 10.3 | – | |||
| SYTRAC | 33.2 | – | – | – | |||
| Turning Movement | Field Vol. (veh/h) | SUMO Vol. (veh/h) | GEH | Queue Err. (%) |
|---|---|---|---|---|
| NB Through | 312 | 308 | 0.23 | 8.4 |
| NB Left-Turn | 87 | 90 | 0.32 | 6.1 |
| SB Through | 298 | 303 | 0.28 | 9.7 |
| SB Left-Turn | 76 | 72 | 0.47 | 11.2 |
| EB Through | 145 | 148 | 0.25 | 7.3 |
| EB Left-Turn | 42 | 44 | 0.31 | 5.8 |
| WB Through | 138 | 135 | 0.26 | 8.9 |
| WB Left-Turn | 39 | 41 | 0.32 | 4.6 |
| Range | — | — | 0.23–0.47 | 4.6–11.2 |
| Synthetic Scenario | Demand Multiplier | Fixed-Time (s/veh) | SYTRAC (s/veh) | Reduction (%) |
|---|---|---|---|---|
| Off-peak minimum | 27.2 | 18.1 | 33.4% | |
| Nominal baseline | 45.8 | 35.6 | 22.2% | |
| Peak hour stress | 82.4 | 68.9 | 16.3% | |
| Incident (lane blocked) | 104.5 | 75.2 | 28.0% |
| KPI | Fixed-Time | SYTRAC | Change |
|---|---|---|---|
| Avg. per-vehicle delay (s/veh) | 45.8 | 35.6 | −22.2% |
| Avg. number of stops (stops/veh) | 1.84 | 1.32 | −28.4% |
| Avg. queue length (veh/approach) | 7.3 | 5.85 | −19.8% |
| Max. queue length (veh/approach) | 18.6 | 15.8 | −15.1% |
| Traffic throughput (veh/h, peak) | 934 | 973 | +4.2% |
| V/C ratio (peak, N–S approach) | 0.81 | 0.72 | −11.1% |
| Pedestrian avg. wait time (s/ped) | 38.4 | 32.8 | −14.6% |
| Phase failure rate (occurrences/h) | 3.2 | 0.4 | −87.5% |
| Method | Nominal Delay (s/veh) | Peak-Stress Delay (s/veh) | Training Cost | Analytical Stability | Safety Fallback |
|---|---|---|---|---|---|
| GA Split Optimizer | 41.2 | 76.5 | Low (Offline) | No | Yes (PLC-embedded) |
| PSO Swarm Heuristic [20] | 38.4 | 71.3 | None (Iterative) | No | No (soft-only) |
| PPO Deep RL Agent | 34.5 | 66.8 | High (2000 eps) | No | No (black-box) |
| DWAGE (ours) | 35.6 | 68.9 | None (rule-based) | Yes (Lyapunov) | Yes (2 s Watchdog) |
| System | Core Algorithm | Optimization Objective | Hardware Class | Safety Fallback | Deployment Status | Delay Reduction |
|---|---|---|---|---|---|---|
| IntelliLight [10] | Deep Q-Network (RL) | Queue length | Simulation Only | No | Simulation | 38% (sim) |
| PressLight [9] | DQN Max-Pressure (RL) | Pressure minimization | Simulation Only | No | Simulation | 22% (sim) |
| EcoLight [42] | Deep Q-Network (RL) | Queue length | Raspberry Pi | No | Simulation | 23% (sim) |
| Darwhekar et al. [25] | YOLOv3 + Rule-Based | Delay minimization | Raspberry Pi + GPIO | No | Field (live) | 21% |
| Mansour Mohamed et al. [24] | YOLOv5 + DeepSORT | Queue clearance | Jetson Nano + GPIO | No | Field (live) | N/A |
| TrafficEZ [40] | Custom CNN + Density | Spatial density | Jetson Nano | No | Field (live) | 18–32% |
| SYTRAC (ours) | YOLOv4-tiny + DWAGE | Delay + Lyapunov stability | Jetson Nano + S7-1200 PLC | Yes (2 s Watchdog) | Field (live) | 22.1% |
| Dimension | SYTRAC (This Work) | DRL-Based ATSC [9,10,11] |
|---|---|---|
| Deployment cost | Low (<1300 USD); off-the-shelf edge hardware (Jetson Nano + S7-1200 PLC); no training infrastructure required. | High; expensive GPU training clusters and simulation platforms; high computational cost for policy retraining under shifts. |
| Real-time actuation | Deterministic: 11.7 ms mean OPC UA write latency; 47 ms worst-case emergency fallback; bounded by IEC 61784. | Non-deterministic; policy inference jitter depends on GPU load and batching; latency bounds are not characterized. |
| Safety guarantees | Bounded queue stability (Foster–Lyapunov proof); hardcoded PLC interlocks ( floor); 2 s OPC UA watchdog fallback. | No formal stability proofs; software-only execution; vulnerable to sim-to-real transfer gaps; no certified hardware fail-safe. |
| Interpretability | High; DWAGE is a transparent, density-proportional control law fully auditable by traffic engineers without specialized AI tools. | Low; deep neural networks are black-boxes; post hoc explainability (SHAP, attention maps) is not regulatory-grade. |
| Implementation feasibility | High; plug-compatible with standard PLC cabinets via OPC UA (IEC 62541/61784); deployable without regulatory waivers. | Low; absence of certified fail-safes and independent hardware interlocks prevents regulatory road-authority approval. |
| Requirement | Standard | Implementation Path | Status |
|---|---|---|---|
| OPC UA certificate authentication | IEC 62541-21 [8] | X.509 certificate exchange in TIA Portal OPC UA settings and asyncua client configuration | Roadmap |
| Channel encryption | IEC 62541-21 [8] | AES-256 via OPC UA SecurityMode=SignAndEncrypt | Roadmap |
| REST API authentication | OWASP API Top-10 [43] | JWT Bearer tokens on all aiohttp API endpoints | Roadmap |
| Transport security | RFC 8446 [44] | TLS 1.3 on aiohttp server socket binding | Roadmap |
| ICS network isolation | IEC 62443 [39] | VLAN segmentation: IT zone (web dashboard) isolated from OT zone (OPC UA/24 VDC) | Partial |
| Safety loop compliance | IEC 61508 SIL-1 [45] | OPC UA watchdog (2 s timeout) → PLC standalone fixed-time fallback | Partial—watchdog only; formal FMEA pending |
| SDG | Target | SYTRAC Contribution | Quantified Outcome |
|---|---|---|---|
| SDG 9 | 9.1: Resilient and inclusive infrastructure | Sub-$1300 open-source deployment architecture for adaptive intersection control; reproducible across resource- constrained municipalities | 40–160× cost reduction vs. commercial ATSC |
| SDG 11 | 11.2: Safe and accessible transport for all | Pedestrian-aware signal timing with PLC-hardcoded minimum crossing interval; inclusive multi-class vehicle detection | Hardcoded s; 80.2% pedestrian AP |
| SDG 11 | 11.6: Urban environmental impact reduction | Measurable and reduction through elimination of unnecessary idling at the study intersection | 53.5–72 kg /day avoided; ≈0.14 kg /day avoided |
| SDG 13 | 13.2: Climate measures in national policies | Demonstrated low-cost pathway to SDG-13-aligned traffic management reform in developing-country urban policy context | 19.5–26.3 t /year per intersection |
| SDG 17 | 17.6: Technology sharing and cooperation | Full open-source release (DWAGE code, SUMO files, OPC UA mapping) on GitHub enabling replication in any country | Open-source; reproducible |
| Configuration | Phases | Lanes/Approach | Saturation | Delay Red. (%) |
|---|---|---|---|---|
| Study site (Ouargla, baseline) | 2 | 2 (N–S)/1 (E–W) | Undersaturated | 22.2 |
| 4-leg, uniform 2-lane | 2 | 2 (all) | Undersaturated | 21.3 |
| 4-leg, excl. left-turn lanes | 4 | 2 + 1 per direction | Undersaturated | 17.8 |
| Study site, peak-hour stress | 2 | 2/1 | Near-saturated | 16.3 |
| Study site, oversaturated | 2 | 2/1 | Oversaturated (violates C4) | 8.1 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Bouriachi, F.; Djelal, N.; Kanouni, B.; Zatla, H.; Tolbi, B.; Laib, A. SYTRAC: An Edge AI-Based Intelligent Traffic Signal Control System Using OPC UA and Deep Learning for Smart City Applications. Sustainability 2026, 18, 7010. https://doi.org/10.3390/su18147010
Bouriachi F, Djelal N, Kanouni B, Zatla H, Tolbi B, Laib A. SYTRAC: An Edge AI-Based Intelligent Traffic Signal Control System Using OPC UA and Deep Learning for Smart City Applications. Sustainability. 2026; 18(14):7010. https://doi.org/10.3390/su18147010
Chicago/Turabian StyleBouriachi, Fares, Nacereddine Djelal, Badreddine Kanouni, Hicham Zatla, Bilal Tolbi, and Abdelbaset Laib. 2026. "SYTRAC: An Edge AI-Based Intelligent Traffic Signal Control System Using OPC UA and Deep Learning for Smart City Applications" Sustainability 18, no. 14: 7010. https://doi.org/10.3390/su18147010
APA StyleBouriachi, F., Djelal, N., Kanouni, B., Zatla, H., Tolbi, B., & Laib, A. (2026). SYTRAC: An Edge AI-Based Intelligent Traffic Signal Control System Using OPC UA and Deep Learning for Smart City Applications. Sustainability, 18(14), 7010. https://doi.org/10.3390/su18147010


