Tiny Machine Learning Implementation for a Textile-Integrated Breath Rate Sensor
Open Access
- 15 April 2026
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 15 (8) , 1646
Abstract
Respiratory rate (RR) is a critical indicator of physiological status, yet unobtrusive and continuous RR monitoring remains challenging, particularly in wearable applications that require soft, lightweight, and low-power sensing systems. This paper presents an integrated approach that combines a textile-embedded embroidered strain-gauge sensor with Tiny Machine Learning (TinyML) to enable real-time, on-device RR estimation. The sensing platform consists of a textile-integrated meander-pattern strain gauge and a fabric-mounted analog readout circuit, which together capture thoracic expansion during breathing. Two lightweight neural network models—a convolutional neural network (CNN) operating on raw respiratory waveforms and a dense neural network (DNN) operating on wavelet features—were developed and trained using a public strain-sensor dataset and a custom dataset collected with the textile system (TexHype dataset). Both models were optimized through 8-bit quantization and deployed to an STM32L4 microcontroller, where end-to-end on-device preprocessing, filtering, segmentation, normalization, and inference were performed. The CNN achieved the highest accuracy, with a mean absolute error (MAE) of 1.23 breaths per minute (BPM) on the TexHype dataset, but exhibited substantial inference latency (5.8–6.2 s) due to its computational complexity. In contrast, the wavelet-based DNN demonstrated lower accuracy (MAE 2.21 BPM) but achieved real-time performance with inference times of 18–96 ms, and a power overhead () of approximately 3.3 mW during inference. Cross-dataset testing revealed limited generalization between different strain-sensor platforms. The findings highlight key trade-offs between accuracy, latency, and energy efficiency, and illustrate the potential of combining stretchable electronics with embedded intelligence to enable next-generation wearable respiratory monitoring systems.
Keywords
Funding Information
- Österreichische Forschungsförderungsgesellschaft (883859)
- Silicon Austria Labs
- Steirische Wirtschaftsförderungsgesellschaft
- federal state of Carinthia
- Upper Austrian Research
- Austrian Association for the Electric and Electronics Industry
This publication has 41 references indexed in Scilit:
- A real-time readout system enabling vital function monitoring with textile-integrated sensorse+i Elektrotechnik und Informationstechnik, 2025
- Machine learning in biosignal analysis from wearable devicesMaterials Horizons, 2025
- A review on TinyML: State-of-the-art and prospectsJournal of King Saud University Computer and Information Sciences, 2022
- A-spiro: Towards continuous respiration monitoringSmart Health, 2020
- Clinical evaluation of stretchable and wearable inkjet-printed strain gauge sensor for respiratory rate monitoring at different measurements locationsJournal of Clinical Monitoring and Computing, 2020
- Wearable humidity sensor based on porous graphene network for respiration monitoringBiosensors and Bioelectronics, 2018
- Respiratory Rate: The Forgotten Vital Sign—Make It Count!The Joint Commission Journal on Quality and Patient Safety, 2018
- An assessment of algorithms to estimate respiratory rate from the electrocardiogram and photoplethysmogramPhysiological Measurement, 2016
- Probabilistic Estimation of Respiratory Rate from Wearable Sensors2015
- Sleep and Respiratory Physiology in AdultsClinics in Chest Medicine, 2014