Smart Cognitive IoT Devices Using Multi-Layer Perception Neural Network on Limited Microcontroller

Sensors (Basel). 2022 Jul 7;22(14):5106. doi: 10.3390/s22145106.

Abstract

The Internet of Things (IoT) era is mainly dependent on the word "Smart", such as smart cities, smart homes, and smart cars. This aspect can be achieved through the merging of machine learning algorithms with IoT computing models. By adding the Artificial Intelligence (AI) algorithms to IoT, the result is the Cognitive IoT (CIoT). In the automotive industry, many researchers worked on self-diagnosis systems using deep learning, but most of them performed this process on the cloud due to the hardware limitations of the end-devices, and the devices obtain the decision via the cloud servers. Others worked with simple traditional algorithms of machine learning to solve these limitations of the processing capabilities of the end-devices. In this paper, a self-diagnosis smart device is introduced with fast responses and little overhead using the Multi-Layer Perceptron Neural Network (MLP-NN) as a deep learning technique. The MLP-NN learning stage is performed using a Tensorflow framework to generate an MLP model's parameters. Then, the MLP-NN model is implemented using these model's parameters on a low cost end-device such as ARM Cortex-M Series architecture. After implementing the MLP-NN model, the IoT implementation is built to publish the decision results. With the proposed implemented method for the smart device, the output decision based on sensors values can be taken by the IoT node itself without returning to the cloud. For comparison, another solution is proposed for the cloud-based architecture, where the MLP-NN model is implemented on Cloud. The results clarify a successful implemented MLP-NN model for little capabilities end-devices, where the smart device solution has a lower traffic and latency than the cloud-based solution.

Keywords: cognitive IoT; critical systems; microcontrollers; neural networks; smart nodes.

MeSH terms

  • Algorithms
  • Artificial Intelligence*
  • Cognition
  • Internet of Things*
  • Neural Networks, Computer

Grants and funding

This research was funded by National Telecommunication Institute (NTI), Cairo, Egypt.