A DLT enabled smart mask system to enable social compliance

Lianna Zhao, Pietro Ferraro, Robert ShortenarXiv 2022 · DOI · arXiv

Abstract

Traditional methods of enforcing public health measures like mask-wearing often rely on intrusive surveillance or place an undue burden on human observers. This paper presents a decentralized "smart mask" system that utilizes gas sensors and Distributed Ledger Technology (DLT) to incentivize compliance. By integrating a Raspberry Pi-based prototype with the IOTA Tangle and a Personalised Feedback Control Algorithm (PFCA), the system creates a privacy-preserving economic feedback loop. Simulations demonstrate that this approach can effectively drive social compliance and mitigate infection rates without centralized oversight.

Introduction

The enforcement of mask-wearing in public spaces—such as public transport, markets, and shops—typically falls on staff who are often ill-equipped for the role, leading to potential conflict and inconsistent application. While automated computer vision systems exist, they raise significant concerns regarding data privacy and centralized control. This research proposes a shift from "observer-enforced" to "wearer-incentivized" compliance. By combining Internet of Things (IoT) hardware with blockchain-like decentralized ledgers, the system rewards users for correct mask-wearing through a token-bond mechanism, ensuring both anonymity and social responsibility.

System Methodology

The proposed architecture is divided into three functional domains: human interaction, mask design, and data analysis.

Comprehensive workflow of the smart mask system, from initial human interaction in public spaces to the final data analysis and token distribution.

Hardware and Gas Sensing

The prototype mask is equipped with a Raspberry Pi 3B and a CJMCU-811 gas sensor. This sensor measures equivalent Carbon Dioxide (eCO2) and Total Volatile Organic Compounds (TVOC). The core innovation lies in using these environmental markers to detect the "micro-climate" inside a correctly worn mask. This method is inherently privacy-preserving, as it relies on chemical signatures rather than facial recognition or biometric data.

Decentralized Ledger and Control Theory

To manage incentives without a central authority, the system utilizes the IOTA Tangle. IOTA is a Directed Acyclic Graph (DAG) ledger that supports feeless micro-transactions, making it ideal for the high-frequency data streams generated by IoT wearables.

The economic logic is governed by the Personalised Feedback Control Algorithm (PFCA). As users enter restricted zones, they provide a digital "bond" or stake. The PFCA acts as a controller within a social contract loop, adjusting the required bond based on the user's history and the overall community compliance level.

The control loop architecture illustrating the interaction between the Distributed Ledger, the Controller, and the agents within the social contract.

Experimental Results and Discussion

The system was evaluated using hardware-in-the-loop simulations with 500 virtual agents.

Compliance and Infection Rates

Simulation data revealed that a compliance rate of 50-60%—where masks are worn correctly over both nose and mouth—is sufficient to reduce the peak infection rate to approximately 10%. In contrast, scenarios with no mask-wearing resulted in nearly 100% infection within the modeled population.

Sensor Performance

The hardware prototype successfully distinguished between correct and incorrect mask-wearing by monitoring eCO2 and TVOC levels. Empirical testing established effective detection thresholds at 500 ppm for eCO2 and 50 ppb for TVOC.

Incentive Alignment

The PFCA demonstrated rapid convergence, successfully managing the distribution of rewards. Compliant users received their full bond back (plus potential rewards), while non-compliant behavior resulted in bond deductions. This creates a self-regulating "social contract" where economic self-interest aligns with public health goals.

Limitations and Future Work

Despite the promising results, the current prototype is a proof-of-concept. The use of a Raspberry Pi makes the mask too bulky for practical use; future iterations will require miniaturized, low-power chips. Furthermore, the gas sensor thresholds must be refined to account for varying ambient conditions and individual physiological differences. Finally, the epidemiological model used is a simplified "toy model" designed to test the control algorithm's efficacy rather than provide precise medical forecasting.

Conclusion

This research demonstrates that DLT and IoT can be combined to create a decentralized, privacy-preserving system for public health compliance. By treating social behavior as a control problem and using economic incentives, the smart mask system offers a viable alternative to centralized surveillance and human-led enforcement.

Summary updated

Abstract

As Covid-19 remains a cause of concern, especially due to its mutations, wearing masks correctly and efficiently remains a priority in order to limit the spread of the disease. In this paper we present a wearable smart-mask prototype using concepts from Internet of Things, Control Theory and Distributed Ledger Technologies. Its purpose is to encourage people to comply with social distancing norms, through the use of incentives. The smart mask is designed to monitor Carbon Dioxide and Total Volatile Organic Compounds concentrations. The detected data is appended to a DAG-based DLT, named the IOTA Tangle. The IOTA Tangle ensures that the data is secure and immutable and acts as a communication backbone for the incentive mechanism. A hardware-in-the-loop simulation, based on indoor positioning, is developed to validate the effectiveness of the designed prototype.
BibTeX
@misc{zhao2022dlt,
  author = {Lianna Zhao and Pietro Ferraro and Robert Shorten},
  title = {{A DLT enabled smart mask system to enable social compliance}},
  year = {2022},
  eprint = {2205.13256},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.13256},
}
Figure