Tiny Machine Learning Implementation for a Textile-Integrated Breath Rate Sensor

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 (ΔP=Pactive−Pidle) 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.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-04-15
DOI
https://doi.org/10.3390/electronics15081646
Primary Topic
Advanced Sensor and Energy Harvesting Materials
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Tiny Machine Learning Implementation for a Textile-Integrated Breath Rate Sensor

Ferenc Ender, Georgios Kokkinis, Rudolf Heer, Kenneth Egwu
Electronics
Advanced Sensor and Energy Harvesting Materials
article

Tiny Machine Learning Implementation for a Textile-Integrated Breath Rate Sensor

Ferenc Ender, Georgios Kokkinis, Rudolf Heer, Kenneth Egwu
article en

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 (ΔP=Pactive−Pidle) 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.

ElectronicsVol. 15(8)
Budapest University of Technology and Economics (HU), Silicon Austria Labs (Austria) (AT)
Silicon Austria Labs, Österreichische Forschungsförderungsgesellschaft, Steirische Wirtschaftsförderungsgesellschaft
Affordable and clean energy
Openalex Percentile: Top 24%
Advanced Sensor and Energy Harvesting Materials
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.