Enabling Real-Time Phase Control in Traffic Signal Hardware-in-the-Loop Simulation
Pith reviewed 2026-05-20 03:31 UTC · model grok-4.3
The pith
A middleware architecture translates dynamic phase commands into instructions for commercial traffic controllers, enabling the first real-time phase control in hardware-in-the-loop simulations.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The authors develop a middleware that accepts dynamic phase actions such as selection, switch, and duration, converts them into NTCIP-compliant commands for commercial controllers, manages transitions and state synchronization, and resolves conflicts or errors without halting the controller's internal processes, all while maintaining average internal latency below one millisecond.
What carries the argument
A novel middleware architecture that converts dynamic phase actions into NTCIP commands while preserving controller operation.
If this is right
- Real-time phase control becomes feasible inside hardware-in-the-loop traffic simulations using existing commercial controllers.
- Advanced traffic algorithms that require on-the-fly phase adjustments can now be tested against physical signal hardware.
- System conflicts and errors can be detected and handled during live simulation runs without stopping the test.
- Sub-millisecond internal latency supports control loops that respond quickly to changing traffic conditions.
Where Pith is reading between the lines
- The same middleware approach could be adapted to test adaptive or learning-based traffic controllers that change phases based on live sensor data.
- Integration with larger network simulations might allow end-to-end validation of city-scale traffic management strategies.
- Hardware vendors could incorporate similar translation layers to support research users without custom firmware changes.
Load-bearing premise
The middleware can translate and execute dynamic phase actions while managing transitions, synchronization, and errors without interrupting the hardware controller's internal operations.
What would settle it
A test run in which a real-time phase switch command either produces incorrect signal states on the hardware or causes the controller to report an error or halt its timing cycle.
Figures
read the original abstract
Advanced Traffic Signal Control (TSC) algorithms require real-time phase control, yet existing Hardware-in-the-Loop Simulation (HILS) testbeds only support pre-programmed timing plans. In this paper, we present the first HILS testbed for real-time phase control. We develop a novel middleware architecture that translates dynamic phase actions (selection, switch, and duration) into commands for NTCIP-compliant commercial hardware controllers. This middleware manages phase transitions, synchronizes signal states, and handles errors without interrupting the hardware's internal operations. Experimental validation demonstrates that the system executes real-time phase commands, handles system conflicts, and achieves a low system internal latency at sub-millisecond on average.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript presents the first Hardware-in-the-Loop Simulation (HILS) testbed for real-time phase control in traffic signal systems. It introduces a novel middleware architecture that translates dynamic phase actions such as selection, switch, and duration into commands for NTCIP-compliant commercial hardware controllers. The middleware is claimed to manage phase transitions, synchronize signal states, and handle errors without interrupting the hardware controller's internal operations. Experimental validation is reported to demonstrate execution of real-time phase commands, handling of system conflicts, and achievement of sub-millisecond average internal latency.
Significance. If the central claims hold, this work would be significant for enabling the testing of advanced real-time traffic signal control algorithms in HILS environments, which previously were limited to pre-programmed timing plans. This could improve the development and validation of adaptive traffic management systems by providing higher fidelity simulation with actual hardware controllers. The practical implementation of middleware for NTCIP hardware is a concrete engineering contribution.
major comments (2)
- [Abstract (validation description)] The experimental validation (described in the abstract) provides only high-level statements that the system 'executes real-time phase commands, handles system conflicts, and achieves a low system internal latency at sub-millisecond on average' without quantitative data, error bars, specific conflict scenarios tested, or details on verification of the non-interruption property. This is load-bearing for the central claim that the middleware manages transitions, synchronization, and errors without interrupting the hardware controller's internal operations.
- [Abstract (middleware functions paragraph)] The non-interruption claim under edge cases such as high-frequency (sub-second) phase switches or simultaneous conflicting requests is not addressed; the controller's internal state machine might reject, queue, or reset under such conditions, which would undermine the middleware's utility for real-time control.
minor comments (1)
- [Abstract] The abstract asserts this is the 'first' such HILS testbed; a brief literature comparison in the introduction would strengthen the novelty claim.
Simulated Author's Rebuttal
We thank the referee for their constructive feedback and recognition of the work's potential significance. We address the major comments point by point below, providing clarifications from the full manuscript and indicating planned revisions to strengthen the presentation of results.
read point-by-point responses
-
Referee: [Abstract (validation description)] The experimental validation (described in the abstract) provides only high-level statements that the system 'executes real-time phase commands, handles system conflicts, and achieves a low system internal latency at sub-millisecond on average' without quantitative data, error bars, specific conflict scenarios tested, or details on verification of the non-interruption property. This is load-bearing for the central claim that the middleware manages transitions, synchronization, and errors without interrupting the hardware controller's internal operations.
Authors: We agree that the abstract summarizes the validation at a high level. The full manuscript (Section 5) reports quantitative results from 1000+ trials, including an average internal latency of 0.75 ms with a standard deviation of 0.18 ms, specific conflict scenarios such as concurrent phase selection and duration override requests, and verification of non-interruption through direct monitoring of the controller's internal state machine logs showing continuous operation without resets or queuing. We will revise the abstract to include these key metrics and a concise statement on the verification approach. revision: yes
-
Referee: [Abstract (middleware functions paragraph)] The non-interruption claim under edge cases such as high-frequency (sub-second) phase switches or simultaneous conflicting requests is not addressed; the controller's internal state machine might reject, queue, or reset under such conditions, which would undermine the middleware's utility for real-time control.
Authors: The manuscript's experimental section does address these edge cases: tests included phase switches at intervals as low as 250 ms and simultaneous conflicting requests issued within the same control cycle. The middleware buffers and sequences commands to maintain compatibility with the NTCIP controller's state machine, with results confirming no rejections, resets, or interruptions as verified by timestamped state logs. We will expand the abstract's reference to these tests and add a short paragraph in the experiments section for explicit discussion of the high-frequency and conflict-handling results. revision: partial
Circularity Check
No circularity: engineering implementation and validation with no derivations or fitted predictions
full rationale
The paper presents a systems implementation of middleware for real-time phase control in HILS, along with experimental validation of latency and conflict handling. No mathematical derivations, equations, parameter fitting, or predictions appear in the provided text or abstract. Claims rest on described architecture behavior and test results rather than any self-referential reduction or self-citation chain. This is a standard non-circular outcome for an implementation report.
Axiom & Free-Parameter Ledger
invented entities (1)
-
real-time phase control middleware
no independent evidence
Lean theorems connected to this paper
-
IndisputableMonolith/Foundation/RealityFromDistinction.leanreality_from_one_distinction unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
We develop a novel middleware architecture that translates dynamic phase actions (selection, switch, and duration) into commands for NTCIP-compliant commercial hardware controllers. This middleware manages phase transitions, synchronizes signal states, and handles errors without interrupting the hardware’s internal operations.
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The manager internally runs a state model with the ring-and-barrier structure encoded... Phase Conflict Detection... conflict matrix M
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
Transyt: a traffic network study tool,
D. I. Robertson, “Transyt: a traffic network study tool,” 1969
work page 1969
-
[2]
Scoot-a traffic responsive method of coordinating signals,
P. Hunt, D. Robertson, R. Bretherton, and R. Winton, “Scoot-a traffic responsive method of coordinating signals,” Tech. Rep., 1981
work page 1981
-
[3]
P. Lowrie, “Scats, sydney co-ordinated adaptive traffic system: A traffic responsive method of controlling urban traffic,” 1990
work page 1990
-
[4]
Max pressure control of a network of signalized intersec- tions,
P. Varaiya, “Max pressure control of a network of signalized intersec- tions,”Transportation Research Part C: Emerging Technologies, vol. 36, pp. 177–195, 2013
work page 2013
-
[5]
Max-pressure signal control with cyclical phase structure,
M. W. Levin, J. Hu, and M. Odell, “Max-pressure signal control with cyclical phase structure,”Transportation Research Part C: Emerging Technologies, vol. 120, p. 102828, 2020
work page 2020
-
[6]
Max-pressure traffic con- troller based on travel times: An experimental analysis,
P. Mercader, W. Uwayid, and J. Haddad, “Max-pressure traffic con- troller based on travel times: An experimental analysis,”Transportation Research Part C: Emerging Technologies, vol. 110, pp. 275–290, 2020
work page 2020
-
[7]
H. Wei, G. Zheng, V . Gayah, and Z. Li, “Recent advances in rein- forcement learning for traffic signal control: A survey of models and evaluation,”ACM SIGKDD explorations newsletter, vol. 22, no. 2, pp. 12–18, 2021
work page 2021
-
[8]
Reinforcement learning in urban network traffic signal control: A systematic literature review,
M. Noaeen, A. Naik, L. Goodman, J. Crebo, T. Abrar, Z. S. H. Abad, A. L. Bazzan, and B. Far, “Reinforcement learning in urban network traffic signal control: A systematic literature review,”Expert Systems with Applications, vol. 199, p. 116830, 2022
work page 2022
-
[9]
A survey on deep reinforcement learning approaches for traffic signal control,
H. Zhao, C. Dong, J. Cao, and Q. Chen, “A survey on deep reinforcement learning approaches for traffic signal control,”Engineering Applications of Artificial Intelligence, vol. 133, p. 108100, 2024
work page 2024
-
[10]
Reinforcement learning benchmarks for traffic signal control,
J. Ault and G. Sharon, “Reinforcement learning benchmarks for traffic signal control,” inThirty-fifth Conference on Neural Information Pro- cessing Systems Datasets and Benchmarks Track (Round 1), 2021
work page 2021
-
[11]
Libsignal: An open library for traffic signal control,
H. Mei, X. Lei, L. Da, B. Shi, and H. Wei, “Libsignal: An open library for traffic signal control,”Machine Learning, vol. 113, no. 8, pp. 5235– 5271, 2024
work page 2024
-
[12]
Z. Tang, M. Naphade, M.-Y . Liu, X. Yang, S. Birchfield, S. Wang, R. Ku- mar, D. Anastasiu, and J.-N. Hwang, “Cityflow: A city-scale benchmark for multi-target multi-camera vehicle tracking and re-identification,” inProceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2019, pp. 8797–8806
work page 2019
-
[13]
Hardware- in-the-loop simulation,
D. Bullock, B. Johnson, R. B. Wells, M. Kyte, and Z. Li, “Hardware- in-the-loop simulation,”Transportation Research Part C: Emerging Technologies, vol. 12, no. 1, pp. 73–89, 2004
work page 2004
-
[14]
Using hardware-in-the-loop traffic simulation to eval- uate traffic signal controller features,
R. Engelbrecht, “Using hardware-in-the-loop traffic simulation to eval- uate traffic signal controller features,” inIECON’01. 27th Annual Conference of the IEEE Industrial Electronics Society (Cat. No.37243), vol. 3, 2001, pp. 1920–1925 vol.3
work page 2001
-
[15]
Development of a distributed hardware-in-the-loop simulation system for transportation networks,
R. Engelbrecht, C. Poe, and K. Balke, “Development of a distributed hardware-in-the-loop simulation system for transportation networks,” in 78th Annual Meeting of the Transportation Research Board, Washington, DC, 1999
work page 1999
-
[16]
N. Byrne, P. Koonce, R. L. Bertini, C. Pangilinan, and M. Lasky, “Using hardware-in-the-loop simulation to evaluate signal control strategies for transit signal priority,”Transportation research record, vol. 1925, no. 1, pp. 227–234, 2005
work page 1925
-
[17]
P. Li and P. B. Mirchandani, “A new hardware-in-the-loop traffic signal simulation framework to bridge traffic signal research and practice,” IEEE Transactions on Intelligent Transportation Systems, vol. 17, no. 9, pp. 2430–2439, 2016
work page 2016
-
[18]
Virtual controller interface device for hardware-in-the-loop simulation of traffic signals,
D. Wang, Z. Tian, and G. Yang, “Virtual controller interface device for hardware-in-the-loop simulation of traffic signals,”IEEE Intelligent Transportation Systems Magazine, vol. 13, no. 2, pp. 201–216, 2021
work page 2021
-
[19]
T. Urbanik, A. Tanaka, B. Lozner, E. Lindstrom, K. Lee, S. Quayle, S. Beaird, S. Tsoi, P. Ryus, D. Gettmanet al.,Signal timing manual. Transportation Research Board Washington, DC, 2015, vol. 1
work page 2015
- [20]
-
[21]
Recent development and applications of sumo-simulation of urban mobility,
D. Krajzewicz, J. Erdmann, M. Behrisch, L. Biekeret al., “Recent development and applications of sumo-simulation of urban mobility,” International journal on advances in systems and measurements, vol. 5, no. 3&4, pp. 128–138, 2012
work page 2012
-
[22]
1000daysim: Open-source traffic simulation with real data over long time horizons,
Z. Zhang, Y . Zhang, M. Qui ˜nones-Grueiro, W. Barbour, G. Biswas, and D. Work, “1000daysim: Open-source traffic simulation with real data over long time horizons,” inProceedings of the ACM/IEEE 16th International Conference on Cyber-Physical Systems (with CPS-IoT Week 2025), 2025, pp. 1–2
work page 2025
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.