We present FANNCortexM, an open-source toolkit built upon the Fast Artificial Neural Network (FANN) library to run lightweight neural networks on ARM Cortex-M series microcontrollers. The toolkit takes a neural network trained with FANN and generates code targeted at execution on low-power microcontrollers either with a floating-point unit (i.e., ARM Cortex-M4F and M7F) or without a floating-point unit (i.e., ARM Cortex M0-M3). The toolkit is optimized in terms of memory and computational resources. We demonstrate its functionality on the basis of a sample application scenario performing stress detection on a wearable multi-sensor bracelet. Experimental results show a high classification accuracy of 96% for the target application scenario, and low latency of only a few microseconds while keeping the memory requirements (11kB flash storage, 36kB RAM) far below the limitations of the device. Power measurements show a power consumption of only 1.6mW, thus allowing continuous stress detection for 29 days.

Fanncortexm: An open source toolkit for deployment of multi-layer neural networks on arm cortex-m family microcontrollers : formance analysis with stress detection / Magno M.; Cavigelli L.; Mayer P.; Hagen F.V.; Benini L.. - ELETTRONICO. - (2019), pp. 8767290.793-8767290.798. (Intervento presentato al convegno 5th IEEE World Forum on Internet of Things, WF-IoT 2019 tenutosi a irl nel 2019) [10.1109/WF-IoT.2019.8767290].

Fanncortexm: An open source toolkit for deployment of multi-layer neural networks on arm cortex-m family microcontrollers : formance analysis with stress detection

Benini L.
2019

Abstract

We present FANNCortexM, an open-source toolkit built upon the Fast Artificial Neural Network (FANN) library to run lightweight neural networks on ARM Cortex-M series microcontrollers. The toolkit takes a neural network trained with FANN and generates code targeted at execution on low-power microcontrollers either with a floating-point unit (i.e., ARM Cortex-M4F and M7F) or without a floating-point unit (i.e., ARM Cortex M0-M3). The toolkit is optimized in terms of memory and computational resources. We demonstrate its functionality on the basis of a sample application scenario performing stress detection on a wearable multi-sensor bracelet. Experimental results show a high classification accuracy of 96% for the target application scenario, and low latency of only a few microseconds while keeping the memory requirements (11kB flash storage, 36kB RAM) far below the limitations of the device. Power measurements show a power consumption of only 1.6mW, thus allowing continuous stress detection for 29 days.
2019
IEEE 5th World Forum on Internet of Things, WF-IoT 2019 - Conference Proceedings
793
798
Fanncortexm: An open source toolkit for deployment of multi-layer neural networks on arm cortex-m family microcontrollers : formance analysis with stress detection / Magno M.; Cavigelli L.; Mayer P.; Hagen F.V.; Benini L.. - ELETTRONICO. - (2019), pp. 8767290.793-8767290.798. (Intervento presentato al convegno 5th IEEE World Forum on Internet of Things, WF-IoT 2019 tenutosi a irl nel 2019) [10.1109/WF-IoT.2019.8767290].
Magno M.; Cavigelli L.; Mayer P.; Hagen F.V.; Benini L.
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/729747
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 9
  • ???jsp.display-item.citation.isi??? ND
social impact