TL;DR
SpiroMask is a low-cost, non-intrusive system that retrofits consumer-grade N95 and cloth masks with a MEMS microphone to monitor lung health. By analyzing breathing sounds, it accurately estimates clinical spirometry parameters and respiration rates, even for individuals with existing pulmonary ailments, all while remaining within the strict error margins set by the American Thoracic Society (ATS).
What Problem Does This Paper Address?
Chronic respiratory diseases like COPD and asthma affect hundreds of millions of people globally, yet early diagnosis and regular monitoring are often hindered by the high cost and lack of portability of clinical equipment.
While researchers have previously attempted to use smartphone microphones for "at-home" spirometry, these methods are highly sensitive to how a user holds the phone, their lip posture, and environmental noise. On the other hand, specialized "smart masks" for athletes exist but are expensive, restrictive, and not designed for daily use. SpiroMask addresses this gap by turning the ubiquitous face mask into a "controlled acoustic environment," providing a consistent and reliable way to monitor lung function without expensive hardware or complex user maneuvers.
Methods
The researchers developed a hardware-software pipeline centered around an Arduino Nano 33 BLE Sense (equipped with a MEMS microphone) attached to the inside of a standard mask.
- Forced Breathing Pipeline (Spirometry): To estimate parameters like lung volume, the system uses the Hilbert Transform to extract the acoustic envelope of a forceful exhalation. This envelope acts as a proxy for airflow. They then extract a suite of features (MFCCs, Mel-filter bank energies, and temporal features) and feed them into a Random Forest regression model to predict clinical metrics.
- Tidal Breathing Pipeline (Respiration Rate): For continuous monitoring, the system must distinguish between normal breathing, speech, and ambient noise. They employed a 1D Convolutional Neural Network (CNN) for this classification task. Once breathing is identified, a peak-detection algorithm calculates the respiration rate from the audio envelope.
- Privacy-Preserving Sampling: The authors experimented with lowering the audio sampling rate to 1 kHz. This makes speech unintelligible (protecting user privacy) while still providing enough data to accurately track respiration rates.
Datasets
The study involved a newly collected dataset from 48 participants (34 healthy, 14 with lung ailments such as asthma and COPD).
- Ground Truth: Clinical data was collected using a medical-grade Helios 401 spirometer. For respiration rate, they used a smartphone accelerometer strapped to the chest as a benchmark.
- Audio Data: The dataset includes 40 minutes of tidal breathing, 36 minutes of speech, and 40 minutes of various environmental noises (traffic, cafeteria, etc.) to train the classifier.
Key Insights and Ideas
- The Mask as a Laboratory: The most clever insight is that the mask itself solves the "variability" problem of mobile health. By fixing the distance between the mouth and the microphone, the mask creates a consistent environment that eliminates the need for complex calibration required by handheld smartphone apps.
- Microphones > Pressure Sensors: Previous wearable spirometers used barometers to measure pressure. The authors found that in consumer-grade masks (which leak air by design), pressure changes are too faint to detect. However, the sound of the airflow remains highly correlated with lung function.
- Robustness to Placement: Sensitivity analysis showed that for forced breathing, the system is remarkably robust to where the microphone is placed inside the mask. This is crucial for a "consumer-grade" device where a user might not attach the sensor perfectly every time.
- User Preference: In exit surveys, 58% of participants preferred SpiroMask over a traditional spirometer, citing that it was easier to perform the breathing maneuvers while wearing a mask than while sealing their lips around a plastic tube.
Key Results
- Clinical Accuracy: For N95 masks, the system achieved a Mean Percentage Error (MPE) of 5.82% for FEV1 and 5.98% for FVC. Both are well within the 7% error margin required by the American Thoracic Society.
- Classification: The 1D CNN achieved 94.7% accuracy in distinguishing tidal breathing from speech and noise.
- Respiration Rate: The Mean Absolute Error (MAE) for respiration rate was as low as 0.49 breaths per minute for N95 masks.
- Efficiency: The system is designed for edge computing. The researchers estimate that the classifier could run for 13 days on a standard 240 mAh coin cell battery.
Limitations and Future Work
- Inhalation Detection: Currently, the system cannot detect inhalations because they are significantly quieter than exhalations. The authors suggest a multi-microphone setup with different gain levels to solve this.
- Tidal Volume: While the system tracks the rate of normal breathing, it does not yet estimate the volume of air moved during resting breaths (tidal volume).
- Activity Interference: The current study focused on stationary subjects. Future work is needed to filter out "motion artifacts" (the sound of the mask rubbing against the face) during walking or running.
- Connectivity: The current prototype uses a wired connection to a computer for data processing; the next step is full integration with a smartphone via Bluetooth Low Energy (BLE).
Summary updated