A Deadline-Aware Scheduler for Smart Factory using WiFi 6

Mohit Jain, Anis Mishra, Andreas Wiese, Syamantak Das, Arani Bhattacharya, Mukulika Maity

TL;DR

This paper introduces a novel deadline-aware scheduler for smart factories utilizing WiFi 6. It addresses the challenge of prioritizing critical, time-sensitive data packets alongside less critical ones in a factory environment, ensuring efficient and reliable operations. The proposed algorithm, LSDS, achieves a significant improvement in profit and reduced packet drops compared to existing benchmarks.

What Problem Does This Paper Address?

Modern factories are increasingly becoming "smart," relying on a vast network of sensors and machines to collect data and dynamically adapt operations. This data transmission, often over wireless networks like WiFi, involves packets with varying levels of urgency and importance. Critical operations, like those in a bottle-filling line, have stringent deadlines, and missing them can lead to severe consequences, including factory shutdowns or accidents. Less critical tasks, like quality monitoring, have more flexibility. The challenge lies in designing a wireless scheduling mechanism that can effectively manage these diverse requirements, ensuring critical data gets through on time without completely neglecting less urgent traffic. Traditional WiFi's decentralized nature and contention-based access make it difficult to provide such real-time guarantees. While WiFi 6 (802.11ax) offers improvements like OFDMA for parallel transmissions and resource unit (RU) allocation, it introduces new scheduling complexities due to synchronized transmissions and RU constraints.

Methods

The authors propose a deadline-aware scheduler called LSDS (Local Search Deadline Scheduling). The core idea is to model the problem as a variant of the classical parallel machine scheduling problem, specifically "Deadline-aware Parallel Machines Scheduling with Synchronized start" (DPMSS). This problem is proven to be strongly NP-hard.

The LSDS algorithm works by:

  • Interval Scheduling Viewpoint: Decomposing the scheduling problem into selecting optimal transmission intervals and then assigning packets to RUs within those intervals.
  • MAX-PROFIT Subroutine: For a given interval, this subroutine identifies the set of admissible jobs (packets) that can be scheduled and assigns them to machines (RUs) to maximize profit. This is solved using a maximum weight bipartite matching algorithm.
  • Local Search: The main algorithm iteratively considers potential transmission intervals. If adding a new interval and its associated high-profit packets significantly outweighs the profit of currently scheduled conflicting intervals, the new interval is accepted, and conflicting ones are discarded. This local search helps avoid myopic decisions.
  • Extension for General DPMSS: The algorithm is extended to handle the general DPMSS problem (where RU selection is also part of the decision) by incorporating a budgeted version of the maximum weight bipartite matching, which is itself a computationally hard problem.

The paper also introduces a slightly simplified version, LSDSF, which assumes a fixed RU configuration for each transmission.

Datasets

The paper does not use pre-existing datasets. Instead, it defines four distinct "Factory Use Cases" (UC-1 to UC-4) that simulate realistic industrial IoT scenarios. These use cases are characterized by:

  • Application Profiles: Defining generation rates, packet sizes, deadlines, and profits for various applications within each use case.
  • Network Topologies: Specifying the number of devices and their distribution.
  • Channel Conditions: Evaluating performance under both ideal and progressively poorer channel conditions.

The authors also introduce three benchmarks for comparison: Earliest Deadline First (EDF), Largest Profit-To-Deadline Ratio First (LRF), and a Non-Starving variant (NLRF).

Key Insights and Ideas

  • WiFi 6's Potential for Industrial Settings: The paper strongly advocates for WiFi 6's suitability in smart factories, highlighting its OFDMA capabilities and improved determinism over previous WiFi standards.
  • The NP-Hardness of the Problem: Demonstrating that even simplified versions of the smart factory scheduling problem are computationally intractable, necessitating approximation algorithms.
  • The Power of Interval Scheduling: The novel interval scheduling viewpoint allows for a more strategic approach to scheduling, decoupling the selection of time slots from the packet-to-RU assignment.
  • Local Search for Optimal Trade-offs: The local search mechanism effectively balances the immediate gain of scheduling high-profit packets against the potential long-term benefits of keeping other intervals. This prevents "starvation" of certain traffic types.
  • LSDS Outperforms Benchmarks: The proposed LSDS algorithm consistently achieves higher profit and lower packet drop rates, especially for critical packets, across various simulated industrial scenarios.

Key Results

  • Profit Ratio: LSDS consistently achieved the highest profit ratio (achieved profit / total possible profit) across all four use cases, often reaching close to 1.0.
  • Packet Drop Percentage: LSDS significantly reduced the percentage of dropped packets, particularly critical ones, compared to EDF, LRF, and NLRF. In Use Case-4, LSDS achieved 0% packet drops.
  • Runtime: The LSDS algorithm demonstrated real-time performance on a server, with execution times well within the 200ms simulation horizon for most use cases.
  • Performance Under Poor Channels: LSDS showed resilience to poor channel conditions, maintaining high profit ratios and only dropping critical packets in the "very poor" channel scenario.
  • Best-Effort Traffic Support: The scheduler effectively accommodates best-effort traffic by utilizing free resources, achieving high satisfaction ratios in scenarios with available capacity.

Limitations and Future Work

  • Approximation Ratio: While LSDS provides a theoretical approximation guarantee (12+ε), the paper acknowledges that practical implementations might use faster heuristics for the MAX-PROFIT subroutine, potentially impacting the theoretical bound but improving real-time performance.
  • Stochastic Arrivals and Deadlines: The current work assumes known packet arrival patterns and deadlines. Future work could explore more dynamic situations with stochastic arrivals and deadlines.
  • Dynamic RU Configuration: The paper discusses extending LSDSF to LSDS to handle dynamic RU configuration, but the analysis of this extension is more complex.
  • More Complex Factory Scenarios: While the use cases are representative, future work could explore even more intricate factory environments with diverse network topologies and traffic patterns.

Summary updated

BibTeX
@inproceedings{jain2024deadline,
  author = {Mohit Jain and Anis Mishra and Andreas Wiese and Syamantak Das and Arani Bhattacharya and Mukulika Maity},
  title = {{A Deadline-Aware Scheduler for Smart Factory using WiFi 6}},
  booktitle = {Mobihoc},
  year = {2024},
  doi = {10.1145/3641512.3686387},
}

Loading related content...

Figure