Uppsats
Implementing Spiking Neural Networks on NPU-Equipped Microcontroller : Analysis of NPU Acceleration for Embedded AI Systems
Kandidat-uppsats
KTH/Skolan för elektroteknik och datavetenskap (EECS)
Publicerad: 2025
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
Neural networks, a core branch of machine learning, seek to emulate aspects of human brain function through computational models. Since McCulloch and Pitts introduced the first formal neuron model in 1943 and Rosenblatt's Perceptron debuted in 1958, architectures have steadily evolved, driven both by insights from neuroscience and by rapid advances in computing technology. Spiking Neural Network (SNN)s, which emulate the event-driven signalling mechanisms of biological neurons, offer significant computational throughput while maintaining low energy consumption. Concurrently, dedicated AI accelerators such as Neural Processing Unit (NPU)s have been developed to execute repetitive AI-tasks more efficiently than general-purpose Central Processing Unit (CPU)s and even Graphics Processing Unit (GPU)s. The aim of this thesis is to investigate the feasibility of implementing a SNN on an embedded Micro Controller Unit (MCU) with an integrated NPU, in order to improve inference performance and reduce power consumption compared to running the model solely on a CPU. This thesis demonstrates that a Leaky Integrate-and-Fire (LIF) SNN can be implemented on the STM32N657X0 MCU, leveraging its integrated NPU. The SNN was developed using TensorFlow Lite and the supported operators of the ST Neural-ART NPU, enabling the model to be quantized and deployed via the STEdgeAI toolchain developed by STMicroelectronics. Power consumption measurements of the SNN running on both the NPU and the Cortex-M55 CPU demonstrate that the NPU performs significantly better in terms of efficiency. These results prove that the SNN model can be successfully deployed on embedded hardware while simultaneously achieving greater efficiency than its CPU counterpart.
Information
- Författare
- Onoszko, Brian, Törnqvist, Noah
- Lärosäte / institution
- KTH/Skolan för elektroteknik och datavetenskap (EECS)
- Publiceringsdatum
- 2025
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
- Nyckelord
- ⌕Artificial intelligence⌕Artificiell intelligens⌕Energy efficiency⌕Neural Networks⌕Neural Processing Unit⌕Spiking neural network⌕Leaky Integrate-and-Fire⌕Embedded System⌕power consumption⌕Central Processing Unit⌕Spikande neurala nätverk⌕Neural Processor⌕Läckande Integrera-och-Avfyra⌕Inbyggt System⌕Energieffektivitet⌕Strömförbrukning⌕NeuralaNätverk⌕Central Processor
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Kandidat-uppsats, Högskolan i Halmstad/Akademin för informationsteknologi
Fawal, Raghad
Publicerad: 2026
Kandidat-uppsats, Mälardalens universitet/Akademin för ekonomi, samhälle och teknik
Sauleskalne, Patricija, Tigerbacke, Fideli
Publicerad: 2026
Kandidat-uppsats, Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM)
Ksouri, Zied, Sai, Adam
Publicerad: 2026
Kandidat-uppsats, Karlstads universitet/Handelshögskolan (from 2013)
Alvenborg, Tilda
Publicerad: 2026
Yrkesexamen på avancerad nivå, Uppsala universitet/Avdelningen för systemteknik
Vigholm, Albin
Publicerad: 2026
Yrkesexamen på avancerad nivå, Luleå tekniska universitet/Institutionen för ekonomi, teknik, konst och samhälle
Åström, Tuva, Nilsson, Matilda
Publicerad: 2026