Feedback scheduling of priority-driven control networks

Feng Xia, Youxian Sun, Yu-Chu Tian

This paper, published in Computer Standards and Interfaces, presents a novel approach to managing Networked Control Systems (NCSs) by treating the network scheduler itself as a feedback control loop. By dynamically adjusting sampling rates and message priorities, the authors demonstrate how to maintain high "Quality-of-Control" (QoC) even when network bandwidth is scarce or workloads fluctuate.

TL;DR

The authors propose an "Integrated Feedback Scheduler" that dynamically tunes both sampling periods and message priorities in real-time. This closed-loop approach allows networked control systems to maximize performance during light network loads and maintain stability through "graceful degradation" during network overloads.

What Problem Does This Paper Address?

In a Networked Control System (NCS), multiple control loops (sensors, controllers, and actuators) share a single communication bus, such as a CAN (Controller Area Network) bus. These networks have limited bandwidth.

Traditional scheduling is "open-loop": engineers set fixed sampling rates and priorities during the design phase. However, real-world industrial environments are dynamic. If a new task is added or a network spike occurs, the resulting delays, packet losses, and "jitter" can cause control performance to plummet or even lead to total system instability. The challenge is: how do we distribute limited communication resources on-the-fly to keep the most critical control loops running smoothly?

Methods

The authors introduce an Integrated Feedback Scheduling (IFS) scheme. Unlike standard methods that focus only on the network protocol or the controller math, this is a "codesign" approach that links the two.

The architecture consists of two primary modules:

  1. Cascaded Period Adjustment: This module monitors the Deadline Miss Ratio (DMR)—the percentage of packets that arrive too late to be useful.
  2. A PI (Proportional-Integral) controller calculates the total allowable network utilization based on the DMR.
  3. An optimization algorithm then distributes this utilization among the control loops. Loops experiencing higher error (poor performance) are granted faster sampling rates (more bandwidth).
  4. Priority Modification: In networks like CAN, messages with higher priority win "contention" and suffer less delay. The IFS dynamically reassigns these priorities based on the instantaneous error of each control loop. If a motor is deviating significantly from its setpoint, the scheduler bumps its priority to "High" to ensure its data gets through first.
The IFS architecture showing the feedback loop from the control network and control loops back to the scheduler.

Datasets

The paper evaluates the IFS using simulated environments rather than static datasets. They modeled multiple independent DC motor control loops sharing a 25Kbps CAN network. This allowed them to test two specific stress cases:

  • Scenario I (Underloaded): Testing if the system can use "spare" bandwidth to improve performance beyond the initial design.
  • Scenario II (Overloaded): Testing if the system can prevent a crash when the requested bandwidth exceeds 100% of the network's capacity.

Key Insights and Ideas

  • DMR as a Control Signal: Using the "deadline miss ratio" as the feedback variable is a practical masterstroke. Calculating theoretical "schedulability bounds" for dynamic networks is mathematically exhausting and often impossible; measuring how many packets missed their deadline is easy and provides a direct proxy for network health.
  • Priorities as a Resource: The authors treat priority not just as a static label, but as a dynamic tool to reduce "control delay." By giving the "struggling" loop the highest priority, they effectively shield it from the chaos of network congestion.
  • Graceful Degradation: The system doesn't just fail when overloaded. Instead, it intelligently "stretches" the sampling periods of all loops, ensuring that while performance might dip slightly, no single loop becomes unstable.

Key Results

  • Efficiency in Light Load: In underloaded conditions, the IFS increased network utilization from ~59% to ~80%. This resulted in a 40.9% improvement in overall control performance (measured by the Integral of Absolute Error) compared to traditional fixed scheduling.
  • Stability in Overload: In the overloaded scenario (where requested bandwidth was 117% of capacity), the traditional open-loop system saw one control loop become completely unstable. The IFS system, however, stabilized all loops by enlarging sampling periods and managing priorities, maintaining a near-zero deadline miss ratio after a brief transient period.

Limitations and Future Work

  • Computational Overhead: The authors acknowledge that running a feedback scheduler consumes CPU cycles and network resources. While they argue it is "non-trivial," a detailed analysis of this overhead in a resource-constrained microcontroller was not provided.
  • Analytical Stability: While the simulations show the system is stable, providing a formal mathematical proof of stability for a system where the sampling period is itself a stochastic variable (controlled by another loop) remains a complex challenge for future work.
  • Advanced Control: The current scheduler uses a simple PI controller; the authors suggest that more advanced control techniques could further improve the scheduler's responsiveness to rapid network changes.

Summary updated

BibTeX
@article{xia2009feedback,
  author = {Feng Xia and Youxian Sun and Yu-Chu Tian},
  title = {{Feedback scheduling of priority-driven control networks}},
  journal = {Comput. Stand. Interfaces},
  year = {2009},
  doi = {10.1016/j.csi.2008.03.020},
}
Figure