基于STM32神经控制器的嵌入序列模型

O. Sinkevych, Yaroslav Boyko, Oleksandr Rechynskyi, B. Sokolovskii, L. Monastyrskii
{"title":"基于STM32神经控制器的嵌入序列模型","authors":"O. Sinkevych, Yaroslav Boyko, Oleksandr Rechynskyi, B. Sokolovskii, L. Monastyrskii","doi":"10.1109/ELIT53502.2021.9501132","DOIUrl":null,"url":null,"abstract":"The problem of sensor data modeling, short and long term forecasting as well as the use of edge devices to operate and provide useful inferences is increasingly becoming a vital factor in modern embedded AI solutions. The paper represents the pipeline development of the sensor data processing, designing the sequence model with subsequent deployment on a S$T$M32F407VG microcontroller. To implement the intended study, we have considered an annual smart home temperature data which allowed us to conduct numerical experiments with the developed sequence models. In order to proceed with LSTM and GRU cells, which were chosen as a basis of the main sequence models, the data preparation and transformation process was carefully described. We opted to produce multistep generalization model using the popular deep learning approaches. Since STM32 is a memory limited microcontroller and can not hold large models, it is crucial to optimize the best model configurations - hyper-parameters set and architecture. Addressing this problem, we applied and investigated the tuning routine via genetic optimization metaheuristic. The best configured and validated model has been chosen as a candidate to be deployed on S$T$M32F407VG. The process of model conversion, serialization, deployment with X-CUBE-AI extension pack and inference step is presented and discussed. The obtained results and conclusions can be practically useful for researchers and embedded engineers who work with AI and microcontrollers of STM32 family.","PeriodicalId":164798,"journal":{"name":"2021 IEEE 12th International Conference on Electronics and Information Technologies (ELIT)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Embedding Sequence Model in STM32 Based Neuro-Controller\",\"authors\":\"O. Sinkevych, Yaroslav Boyko, Oleksandr Rechynskyi, B. Sokolovskii, L. Monastyrskii\",\"doi\":\"10.1109/ELIT53502.2021.9501132\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The problem of sensor data modeling, short and long term forecasting as well as the use of edge devices to operate and provide useful inferences is increasingly becoming a vital factor in modern embedded AI solutions. The paper represents the pipeline development of the sensor data processing, designing the sequence model with subsequent deployment on a S$T$M32F407VG microcontroller. To implement the intended study, we have considered an annual smart home temperature data which allowed us to conduct numerical experiments with the developed sequence models. In order to proceed with LSTM and GRU cells, which were chosen as a basis of the main sequence models, the data preparation and transformation process was carefully described. We opted to produce multistep generalization model using the popular deep learning approaches. Since STM32 is a memory limited microcontroller and can not hold large models, it is crucial to optimize the best model configurations - hyper-parameters set and architecture. Addressing this problem, we applied and investigated the tuning routine via genetic optimization metaheuristic. The best configured and validated model has been chosen as a candidate to be deployed on S$T$M32F407VG. The process of model conversion, serialization, deployment with X-CUBE-AI extension pack and inference step is presented and discussed. The obtained results and conclusions can be practically useful for researchers and embedded engineers who work with AI and microcontrollers of STM32 family.\",\"PeriodicalId\":164798,\"journal\":{\"name\":\"2021 IEEE 12th International Conference on Electronics and Information Technologies (ELIT)\",\"volume\":\"21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-05-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE 12th International Conference on Electronics and Information Technologies (ELIT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ELIT53502.2021.9501132\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 12th International Conference on Electronics and Information Technologies (ELIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ELIT53502.2021.9501132","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

传感器数据建模、短期和长期预测以及使用边缘设备进行操作和提供有用推断的问题日益成为现代嵌入式人工智能解决方案的重要因素。本文介绍了传感器数据处理的流水线开发,设计了序列模型,并在S$T$M32F407VG单片机上进行了后续部署。为了实施预期的研究,我们考虑了年度智能家居温度数据,这使我们能够使用开发的序列模型进行数值实验。为了继续进行LSTM和GRU细胞的选择,作为主序列模型的基础,详细描述了数据的准备和转换过程。我们选择使用流行的深度学习方法生成多步泛化模型。由于STM32是内存有限的微控制器,不能容纳大型模型,因此优化最佳模型配置-超参数设置和架构至关重要。针对这一问题,我们应用遗传优化元启发式方法对优化程序进行了研究。已经选择了配置和验证最好的模型作为在S$T$M32F407VG上部署的候选模型。给出并讨论了X-CUBE-AI扩展包的模型转换、序列化、部署过程和推理步骤。所获得的结果和结论对于使用STM32系列人工智能和微控制器的研究人员和嵌入式工程师具有实际意义。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Embedding Sequence Model in STM32 Based Neuro-Controller
The problem of sensor data modeling, short and long term forecasting as well as the use of edge devices to operate and provide useful inferences is increasingly becoming a vital factor in modern embedded AI solutions. The paper represents the pipeline development of the sensor data processing, designing the sequence model with subsequent deployment on a S$T$M32F407VG microcontroller. To implement the intended study, we have considered an annual smart home temperature data which allowed us to conduct numerical experiments with the developed sequence models. In order to proceed with LSTM and GRU cells, which were chosen as a basis of the main sequence models, the data preparation and transformation process was carefully described. We opted to produce multistep generalization model using the popular deep learning approaches. Since STM32 is a memory limited microcontroller and can not hold large models, it is crucial to optimize the best model configurations - hyper-parameters set and architecture. Addressing this problem, we applied and investigated the tuning routine via genetic optimization metaheuristic. The best configured and validated model has been chosen as a candidate to be deployed on S$T$M32F407VG. The process of model conversion, serialization, deployment with X-CUBE-AI extension pack and inference step is presented and discussed. The obtained results and conclusions can be practically useful for researchers and embedded engineers who work with AI and microcontrollers of STM32 family.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信