Mid Sweden University

miun.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
TinyML pipeline for efficient crack classification in UAV-based structural health inspections
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and Electrical Engineering (2023-). College of Intelligent Science and Engineering, Beijing University of Agriculture, Beijing, China.ORCID iD: 0000-0002-8617-0435
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and Electrical Engineering (2023-).
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and Electrical Engineering (2023-). Instituto de Investigación en Señales, Sistemas e Inteligencia Computacional, sinc(i), FICH-UNL/CONICET, Santa Fe, Argentina.ORCID iD: 0000-0002-2336-5390
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and Electrical Engineering (2023-).
Show others and affiliations
2026 (English)In: Scientific Reports, E-ISSN 2045-2322, Vol. 16, article id 8964Article in journal (Refereed) Published
Abstract [en]

Structural health monitoring (SHM) of aging civil, aerospace, and energy infrastructure increasingly relies on unmanned aerial vehicles (UAVs) equipped with vision sensors for efficient and large-scale inspections. Among these applications, automated crack classification using deep learning models has emerged as a key use case. However, cloud-based inference for such tasks imposes bandwidth, power, connectivity, and privacy costs that are unacceptable for safety-critical assets. To address these limitations, this study presents a fully self-contained Tiny Machine Learning (TinyML) solution that performs onboard crack classification on a milliwatt-level STM32H7 microcontroller (MCU). Using MobileNetV1x0.25 as a baseline, we systematically evaluate an end-to-end measurement processing pipeline, including image capturing, image preprocessing, and model inference on a low-power embedded system. To identify the optimal pipeline configuration, we compare two image preprocessing strategies consisting of a handcrafted grayscale–contrast–denoise–median–binarization method and a greedy algorithm–based composite approach. We further assess four model compression techniques, including 8-bit post-training quantization (PTQ), quantization-aware training (QAT), pruning, and weight clustering, both individually and in combination. The proposed pipeling achieves an F1-score of 0.938, which outperforms the state-of-the-art by 11.4\%. At the same time, it only requires 2.9 MB of RAM and 309 KB of flash memory. The deployed solution has an end-to-end latency of 461.6 ms and an energy cost of 623.16 mJ per inference. For a DJI Mini 4 Pro UAV, continuous operation is estimated to shorten the flight time by merely 1.31 minutes (i.e., 4\%). In contrast, previously reported deployments based on NVIDIA Jetson NX implementations reduce flight time by 8 minutes (i.e., 24\%). This work thus provides a reproducible benchmark and a practical trade-off of accuracy, resource usage, and energy consumption for on-device crack classification in highly resource-constrained, UAV-based SHM scenarios.

Place, publisher, year, edition, pages
Springer Nature, 2026. Vol. 16, article id 8964
Keywords [en]
TinyML, convolutional neural networks, structure health monitoring, crack classification, embedded systems, model compression
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:miun:diva-55327DOI: 10.1038/s41598-026-43534-4PubMedID: 41813915Scopus ID: 2-s2.0-105033436043OAI: oai:DiVA.org:miun-55327DiVA, id: diva2:1990038
Projects
NIIT 20180170TransTech2Horizon 20240029-H-02Available from: 2025-08-19 Created: 2025-08-19 Last updated: 2026-04-13Bibliographically approved
In thesis
1. Efficient On-Device Intelligence for Structural Health Monitoring: A TinyML Perspective
Open this publication in new window or tab >>Efficient On-Device Intelligence for Structural Health Monitoring: A TinyML Perspective
2025 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

Structural Health Monitoring (SHM) plays a pivotal role in ensuring the safety, longevity, and reliability of critical infrastructure. While machine learning (ML) and deep learning (DL) have shown promise in automating SHM tasks, most existing approaches are tailored for high-resource computing platforms and overlook the unique constraints posed by low-power, resource-constrained embedded systems such as microcontrollers (MCUs) and edge devices. This thesis addresses this critical gap by systematically exploring, developing, and optimizing lightweight ML and DL algorithms for efficient on-device intelligence in SHM applications, particularly focusing on acoustic emission (AE)-based and vision-based modalities under the emerging framework of Tiny Machine Learning (TinyML).

The research is organized around three central objectives. First, both lightweight Artificial Neural Networks and Convolutional Neural Networks (CNNs) models are designed and optimized for real-time damage classification using raw AE signals and crack detection tasks using vision data. These models are tailored for deployment on highly resource-constrained MCUs, with particular attention to memory efficiency, inference latency, and energy consumption. Second, the thesis investigates the impact of model complexity and applies a range of model compression techniques such as post-training quantization (PTQ), quantization-aware training (QAT), pruning, and weight clustering. A comprehensive benchmark across various TinyML-compatible toolchains (TensorFlow Lite, STM32Cube.AI, ONNX) evaluates the performance trade-offs of these techniques in real deployment scenarios. Third, recognizing the scarcity of labeled AE data in real-world applications, the research explores both traditional and deep learning-based data augmentation methods, including jittering, warping, and DCGAN-generated synthetic signals, to improve model robustness and generalization.

The study includes extensive empirical evaluations using multiple publicly available AE and image datasets, covering diverse damage types in concrete and composite materials. On the vision side, UAV-based crack detection and segmentation pipelines are implemented using lightweight CNN backbones such as MobileNetV1x0.25 and U-Net variants. These models are trained and validated with various image preprocessing strategies, including grayscale conversion, contrast adjustment, denoising, and morphological operations. A greedy algorithm is also introduced to explore optimal preprocessing combinations. Performance is assessed through metrics such as F1-score, precision, recall, mIoU, model size, inference latency, memory footprint, and per-inference energy consumption, both before and after deployment to embedded devices like OpenMV and STM32 platforms.

The findings demonstrate that, with careful model design, quantization, and data augmentation, it is feasible to achieve high-performance SHM inference directly on-device. Notably, certain models maintained classification accuracies above 90% while reducing energy consumption by more than 60% through compression. For vision tasks, preprocessing pipelines significantly enhanced crack detection accuracy, and deployment on UAV platforms confirmed the viability of real-time aerial inspections with negligible impact on flight time.

In summary, this thesis makes significant contributions to the field of embedded SHM by bridging the gap between algorithmic advances and real-world deployment. It provides a structured pipeline for transitioning from conventional, cloud-centric SHM workflows to fully embedded, energy efficient, and real-time monitoring systems empowered by TinyML. The insights gained herein are expected to inform future developments in both civil infrastructure diagnostics and low-power AI systems.

Place, publisher, year, edition, pages
Sundsvall: Mid Sweden University, 2025. p. 62
Series
Mid Sweden University doctoral thesis, ISSN 1652-893X ; 434
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
urn:nbn:se:miun:diva-55336 (URN)978-91-90017-30-2 (ISBN)
Public defence
2025-09-26, C312, Holmgatan 10, Sundsvall, 09:00 (English)
Opponent
Supervisors
Note

Vid tidpunkten för disputationen var följande delarbete opublicerat: delarbete 8 inskickat.

At the time of the doctoral defence the following paper was unpublished: paper 8 submitted.

Available from: 2025-08-26 Created: 2025-08-20 Last updated: 2025-09-25Bibliographically approved

Open Access in DiVA

fulltext(2988 kB)83 downloads
File information
File name FULLTEXT02.pdfFile size 2988 kBChecksum SHA-512
a72712f15ea16736180490391f1b5bd650a18035dc7c7f37bd6a3efc4010a5ce8db35372a841b4554bbd5da4a7060c61b2e3430f649184eb73b763af573f6475
Type fulltextMimetype application/pdf

Other links

Publisher's full textPubMedScopus

Authority records

Zhang, YuxuanMartinez Rau, LucianoNguyen Phuong Vu, QuynhOelmann, BengtBader, Sebastian

Search in DiVA

By author/editor
Zhang, YuxuanNürnberg, ArneMartinez Rau, LucianoNguyen Phuong Vu, QuynhOelmann, BengtBader, Sebastian
By organisation
Department of Computer and Electrical Engineering (2023-)
In the same journal
Scientific Reports
Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 83 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
pubmed
urn-nbn

Altmetric score

doi
pubmed
urn-nbn
Total: 432 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf