微控制器实时神经网络实现方案
Real-time Neural Networks Implementation Proposal for Microcontrollers
摘要:
采用嵌入在硬件中的人工神经网络(ANN)智能系统用于实时应用目前面临着物联网(IoT)和机器对机器(M2M)等领域不断增长的需求。然而,由于处理其基本操作所需的高计算能力,人工神经网络在这种类型的系统中的应用提出了一个重大的挑战。本文旨在展示一种多层感知器(MLP)型神经网络在微控制器(一种低成本、低功耗平台)中的实现策略。实现了一种基于模块化矩阵的MLP,并在微控制器中实现了完整的分类过程和反向传播训练。通过硬件在环(Hardware in the Loop,HIL)对训练过程的均方误差(均方误差,MSE)、分类结果和各实现模块的处理时间进行了测试和验证。结果表明,超参数的值和分类所需的处理时间之间存在线性关系,处理时间与上述领域的许多应用所需的时间一致。这些研究结果表明,这种实施策略和这个平台可以成功地应用于需要人工神经网络的能力的实时应用。
英文摘要:
The adoption of intelligent systems with Artificial Neural Networks (ANNs) embedded in hardware for real-time applications currently faces a growing demand in fields like the Internet of Things (IoT) and Machine to Machine (M2M). However, the application of ANNs in this type of system poses a significant challenge due to the high computational power required to process its basic operations. This paper aims to show an implementation strategy of a Multilayer Perceptron (MLP) type neural network, in a microcontroller (a low-cost, low-power platform). A modular matrix-based MLP with the full classification process was implemented, and also the backpropagation training in the microcontroller. The testing and validation were performed through Hardware in the Loop (HIL) of the Mean Squared Error (MSE) of the training process, classification result, and the processing time of each implementation module. The results revealed a linear relationship between the values of the hyperparameters and the processing time required for classification, also the processing time concurs with the required time for many applications on the fields mentioned above. These findings show that this implementation strategy and this platform can be applied successfully on real-time applications that require the capabilities of ANNs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。