Skip to main navigation Skip to search Skip to main content

ML Training on a Tiny Microcontroller for a Self-adaptive Neural Network-Based DC Motor Speed Controller

  • Technical University of Munich
  • Infineon Technology AG

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

6 Scopus citations

Abstract

Neural-Network (NN)-based controllers have the potential to achieve better control performance than classical PID controllers. Yet NN deployment on tiny microcontrollers, which are used in DC motor control due to strict cost requirements, is challenging as NNs are computationally intensive and memory demanding. We propose a lightweight direct inverse NN-based control approach for controlling the angular speed of a permanent magnet DC motor, which runs on a tiny Arm Cortex-M0 microcontroller with only 4 kB of RAM. Moreover, the NN-based controller can self-adapt to the DC motor characteristics without the need of any external machine learning frameworks such as TensorFlow. For this, we are not deploying a pre-trained network for inference but implement a fully automated training process on the microcontroller, which also includes the dataset collection. The result is a self-adaptive control algorithm that is able to drive the motor at the desired speed after it learned the motor characteristics in an initial training phase. Furthermore, the approach is extended such that it enables the controller to constantly self-adapt to later changes in the motor characteristics caused by heating or wear-out while it is operating in standard control mode.

Original languageEnglish
Title of host publicationIoT Streams for Data-Driven Predictive Maintenance and IoT, Edge, and Mobile for Embedded Machine Learning - Second International Workshop, IoT Streams 2020, and First International Workshop, ITEM 2020, Co-located with ECML/PKDD 2020, Revised Selected Papers
EditorsJoao Gama, Sepideh Pashami, Albert Bifet, Moamar Sayed-Mouchawe, Holger Fröning, Franz Pernkopf, Gregor Schiele, Michaela Blott
PublisherSpringer Science and Business Media Deutschland GmbH
Pages268-279
Number of pages12
ISBN (Print)9783030667696
DOIs
StatePublished - 2020
Event2nd International Workshop on IoT Streams for Data-Driven Predictive Maintenance, IoT Streams 2020, and 1st International Workshop on IoT, Edge, and Mobile for Embedded Machine Learning, ITEM 2020, co-located with ECML/PKDD 2020 - Virtual, Online, Belgium
Duration: 14 Sep 202018 Sep 2020

Publication series

NameCommunications in Computer and Information Science
Volume1325
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference2nd International Workshop on IoT Streams for Data-Driven Predictive Maintenance, IoT Streams 2020, and 1st International Workshop on IoT, Edge, and Mobile for Embedded Machine Learning, ITEM 2020, co-located with ECML/PKDD 2020
Country/TerritoryBelgium
CityVirtual, Online
Period14/09/2018/09/20

Keywords

  • Extreme edge AI
  • Microcontroller
  • Neural network-based control algorithms
  • On-device training
  • Self-adaptation
  • TinyML

Fingerprint

Dive into the research topics of 'ML Training on a Tiny Microcontroller for a Self-adaptive Neural Network-Based DC Motor Speed Controller'. Together they form a unique fingerprint.

Cite this