Journal of Jilin University (Information Science Edition) ›› 2023, Vol. 41 ›› Issue (6): 1063-1071.

Previous Articles     Next Articles

Lightweight Deployment Strategy and Implementation of Resource-Constrained MCUs

WU Wei 1a,1b , RUAN Xing 1a,1b , CAI Chuanghua 1a,1b , LIU Changyong 1a,1b , LIU Yanxiu 2 , WANG Yihuai 3   

  1. 1a. College of Mathematics and Computer Science; 1b. Key Laboratory of Cognitive Computing and Intelligent Information Processing of Fujian Education Institutions, Wuyi University, Wuyishan 354300, China; 2. College of Data Science and Computing, Shandong Women ' s University, Jinan 252000, China; 3. School of Computer Science and Technology, Soochow University, Suzhou 215006, China
  • Received:2022-11-23 Online:2023-11-30 Published:2023-12-01

Abstract: This work aims to deploy a CNN onto resource-constrained MCUs(Microcontroller Units) to achieve image classification and recognition for scenarios that require simple image recognition tasks, low image recognition accuracy, and low cost. Firstly, a lightweight deployment strategy on resource-constrained MCUs is proposed. To reduce the number of model parameters, a lightweight neural network algorithm is proposed. To ensure that the model size can fit into limited RAM(Random Access Memory), a storage replacement algorithm is presented based on FLASH ( Flash Memory ) sectors. Secondly, the strategy on embedded devices is implemented. The camera peripheral circuit is designed for image quality, but the acquisition speed does not match. The collected images are binarized by an adaptive threshold based on Gaussian distribution and the integrity of image samples is verified. Experimental results show that the system can achieve better image classification and recognition accuracy when applied in the above practical scenarios. 

Key words: embedded system, resource-constrained microcontroller units(MCU), image discrimination, deep learning

CLC Number: 

  • TP391