Abstract
Machine learning in embedded systems has become a reality, with the first tools for neural network firmware development already being made available for ARM microcontroller developers. This paper explores the use of one of such tools, namely the STM X-Cube-AI, on mainstream ARM Cortex-M microcontrollers, analyzing their performance, and comparing support and performance of other two common supervised ML algorithms, namely Support Vector Machines (SVM) and k-Nearest Neighbours (k-NN). Results on three datasets show that X-Cube-AI provides quite constant good performance even with the limitations of the embedded platform. The workflow is well integrated with mainstream desktop tools, such as Tensorflow and Keras.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Shi W, Cao J, Zhang Q, Li Y, Xu L (2016) Edge computing: vision and challenges. IEEE Internet Things J 3(5):637–646
https://www.arm.com/products/silicon-ip-cpu/machine-learning/project-trillium
https://pages.arm.com/machine-learning-on-arm-cortex-m-microcontroller.html
Parodi A, Bellotti F, Berta R, De Gloria A (2018) Developing a machine learning library for microcontrollers. In: Saponara S, De Gloria A (eds) Applications in electronics pervading industry, environment and society. ApplePies 2018. Lecture Notes in Electrical Engineering, vol 550. Springer, Berlin
Andrade L, Prost-Boucle A, Pétrot F (2018) Overview of the state of the art in embedded machine learning. In: 2018 Design, automation & test in Europe conference & exhibition (DATE), Dresden, pp 1033–1038
Lai L, Suda N (2018) Enabling deep learning at the LoT Edge. In: 2018 IEEE/ACM international conference on computer-aided design (ICCAD), San Diego, CA, pp 1–6
Cerutti G, Prasad R, Farella E (2019) Convolutional neural network on embedded platform for people presence detection in low resolution thermal images. In: ICASSP 2019—2019 IEEE international conference on acoustics, speech and signal processing (ICASSP), Brighton, United Kingdom, pp 7610–7614
Islam MJ, Wu QMJ, Ahmadi M, Sid-Ahmed MA (2007) Investigating the performance of Naive-Bayes classifiers and K-nearest neighbor classifiers. In: International conference on convergence information technology (ICCIT 2007), Gyeongju, pp 1541–1546
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Falbo, V. et al. (2020). Analyzing Machine Learning on Mainstream Microcontrollers. In: Saponara, S., De Gloria, A. (eds) Applications in Electronics Pervading Industry, Environment and Society. ApplePies 2019. Lecture Notes in Electrical Engineering, vol 627. Springer, Cham. https://doi.org/10.1007/978-3-030-37277-4_12
Download citation
DOI: https://doi.org/10.1007/978-3-030-37277-4_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-37276-7
Online ISBN: 978-3-030-37277-4
eBook Packages: Physics and AstronomyPhysics and Astronomy (R0)