Latency-Aware Industrial CPS for Connected Mobility: Real-Time Benchmarks from NMPC to Edge Lookup Policies
Tail-latency and closed-loop control benchmarks comparing classical feedback, precomputed edge lookup policies, and optimized NMPC across desktop x86-64 and embedded ARM hardware-in-the-loop.
Paper·IEEE ICIT 2026 · IEEE Xplore·March 2026
Why This Matters for Your Business
- A controller that looks fine on average desktop runtime can still miss a hard deadline on the ECU.
- Under a 100 ms period, lined up with SAE J1939 at 10 Hz, PID and the lookup policy stay under a millisecond on a Raspberry Pi 4B across 10,000 steps, with no misses.
- Embedded NMPC sits near 27 ms at the 95th percentile and still produced outliers around 195 ms on steep grades. For a safety case, keep the predictive controller and a precomputed fallback.
Overview
Deploying predictive control in industrial cyber-physical systems (CPS) and connected heavy-duty vehicles requires meeting hard real-time deadlines on resource-constrained Electronic Control Units (ECUs). While most control benchmarks emphasize average-case energy savings or desktop simulation runtime, industrial qualification depends on high-percentile tail latency, observed worst-case execution time (WCET), scheduler policy, and memory footprint.
This paper presents a deployment-oriented, latency-aware benchmark under a strict 100 ms supervisory control period aligned with SAE J1939 10 Hz vehicle bus messaging. We compare five controller families across 300 routes on a desktop x86-64 workstation and validate 10,000-step hardware-in-the-loop (HIL) traces on an embedded ARM64 platform (Raspberry Pi 4B) running PREEMPT_RT Linux.
Read full paper on IEEE Xplore
Benchmarked controller families
All controllers are evaluated against identical longitudinal vehicle dynamics, steady-state engine efficiency maps, and route grade profiles, isolated on pinned CPU cores and measured using CLOCK_MONOTONIC_RAW under both SCHED_FIFO and SCHED_DEADLINE.
| Controller | Compute profile | Benchmark role |
|---|---|---|
| P / PID | Constant-time feedback | Low-compute industrial baseline with anti-windup protection |
| Memo-LUT | O(1) precomputed lookup + interpolation | Deterministic explicit edge policy across coarse-to-dense grids |
| acados-NMPC | SQP-RTI with HPIPM QP solver | Embedded-optimized nonlinear model predictive control baseline |
| MPC-PyTorch | Iterative L-BFGS with STE | General-purpose research prototype reference |
Typical embedded feasibility does not imply deadline-safe deployment: rare solver tail outliers only surface over extended hardware-in-the-loop validation runs.
Key findings and deployment guidance
On desktop x86-64 hardware, every controller satisfies the 100 ms budget with wide margin, masking critical deployment differences. On embedded ARM64 hardware-in-the-loop over 10,000 steps, PID and Memo-LUT maintain sub-millisecond observed WCET with zero deadline misses (more than 100× timing margin).
Embedded acados-NMPC achieves strong typical performance (roughly 26.9 ms at p95), demonstrating that millisecond-class online predictive control is practical in nominal operation. However, extended 10,000-step validation exposes rare solver-path outliers reaching roughly 195 ms when active constraints tighten on steep grade transitions. For safety-critical deployments (such as ISO 26262 ASIL-B+), these findings motivate a hybrid control architecture: pairing online predictive optimization for nominal energy savings with a precomputed sub-millisecond edge policy (Memo-LUT) as a deterministic real-time fallback watchdog.
Full manuscript and experimental details
The complete 300-route desktop tables, Memo-LUT grid and interpolation ablations, acados horizon sweeps, embedded latency CDFs, and industrial CPS deployment checklist are available in the published paper on IEEE Xplore.