SpiroSense: Transforming Smartphones into Pulmonary Metrics Monitors with Ultrasonic Technology

Long Fan, Lei Xie, Shiyuan Ma, Yanling Bu, Chuyu Wang, Weibang Pan, Lu Ke and Sanglu Lu

Abstract

Chronic respiratory conditions such as Chronic Obstructive Pulmonary Disease (COPD) and asthma often progress insidiously, making early detection vital for effective intervention. Current gold-standard Pulmonary Function Testing (PFT) methods, such as spirometry, evaluate lung function by measuring airflow rates to detect potential obstructions. But, their cost, often several hundred dollars or more, limits their accessibility for regular at-home monitoring. In this paper, we present SpiroSense, a novel system that transforms a smartphone into a portable, low-cost, and accurate PFT device for everyday use by integrating a custom 3D-printed attachment costing just a dozen dollars. However, a critical limitation arises from the smartphone's inherent audio sampling rate (typically 48kHz), which constrains the airflow resolution to 11.9L/s when using conventional cross-correlation-based time delay estimation. This coarse resolution is insufficient to capture key pulmonary metrics, such as a Peak Expiratory Flow (PEF) of 10 L/s, with high fidelity. To address this, we propose SonicFlow, which establishes a foundational airflow rate sensing model based on ultrasonic phase features and improves the airflow rate resolution to 0.148L/s. Furthermore, airflow-induced high-frequency harmonic noise within the 3D-printed model, combined with ambient environmental noise, further complicates accurate sensing. To mitigate this, we introduce NoiseClear, an end-to-end ultrasonic signal enhancement model designed to effectively suppress noise while preserving critical airflow velocity information. We prototype SpiroSense and evaluate its performance on a cohort of 59 participants, including 29 healthy individuals and 30 patients. Experimental results show that SpiroSense achieves average estimation error of 6.44% for Forced Vital Capacity (FVC), 7.42% for Forced Expiratory Volume in one second (FEV1), and 3.01% for the FEV1/FVC ratio.

Venue
UbiComp / IMWUT 2025
Volume
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, Volume 9
DOI
10.1145/3749489
PDF
https://dl.acm.org/doi/pdf/10.1145/3749489
Anthology ID
2025.imwut-9.101

Cite

@article{fan-etal-2025-spirosense,
    title = {{SpiroSense: Transforming Smartphones into Pulmonary Metrics Monitors with Ultrasonic Technology}},
    author = {Long Fan and Lei Xie and Shiyuan Ma and Yanling Bu and Chuyu Wang and Weibang Pan and Lu Ke and Sanglu Lu},
    journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
    volume = {9},
    issn = {2474-9567},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3749489},
    url = {https://doi.org/10.1145/3749489},
    abstract = {Chronic respiratory conditions such as Chronic Obstructive Pulmonary Disease (COPD) and asthma often progress insidiously, making early detection vital for effective intervention. Current gold-standard Pulmonary Function Testing (PFT) methods, such as spirometry, evaluate lung function by measuring airflow rates to detect potential obstructions. But, their cost, often several hundred dollars or more, limits their accessibility for regular at-home monitoring. In this paper, we present SpiroSense, a novel system that transforms a smartphone into a portable, low-cost, and accurate PFT device for everyday use by integrating a custom 3D-printed attachment costing just a dozen dollars. However, a critical limitation arises from the smartphone's inherent audio sampling rate (typically 48kHz), which constrains the airflow resolution to 11.9L/s when using conventional cross-correlation-based time delay estimation. This coarse resolution is insufficient to capture key pulmonary metrics, such as a Peak Expiratory Flow (PEF) of 10 L/s, with high fidelity. To address this, we propose SonicFlow, which establishes a foundational airflow rate sensing model based on ultrasonic phase features and improves the airflow rate resolution to 0.148L/s. Furthermore, airflow-induced high-frequency harmonic noise within the 3D-printed model, combined with ambient environmental noise, further complicates accurate sensing. To mitigate this, we introduce NoiseClear, an end-to-end ultrasonic signal enhancement model designed to effectively suppress noise while preserving critical airflow velocity information. We prototype SpiroSense and evaluate its performance on a cohort of 59 participants, including 29 healthy individuals and 30 patients. Experimental results show that SpiroSense achieves average estimation error of 6.44\% for Forced Vital Capacity (FVC), 7.42\% for Forced Expiratory Volume in one second (FEV1), and 3.01\% for the FEV1/FVC ratio.}
}