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}
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.