{"title":"SEmbedNet:基于stm32边缘设备的异位节拍分类的硬件友好CNN","authors":"You-Liang Xie, Xin-Rong Lin, Che-Wei Lin","doi":"10.1109/RASSE54974.2022.9989708","DOIUrl":null,"url":null,"abstract":"This study proposed a hardware-friendly-CNN-based hardware implementation system for screening electrocardiogram (ECG) ectopic beat with an STM32 ARM microcontroller-based embedded artificial intelligence (AI) edge device. In single heartbeat classification, continuous wavelet transformation based SEmbedNet and simplified AlexNet/GoogLeNet with different pixels of 56/112 of input size were compared to choose the best and most efficient combination to implement in the hardware. Five classes of the ectopic beat are followed by the ANSI/AAMI EC57 guideline in the MIT-BIH arrhythmia database, including non-ectopic beat (N), supraventricular ectopic beat (S), ventricular ectopic beat (V), fusion beat (F), and unknown beat(Q). Besides, this study performed the model through k-fold cross-validation and choose the best model for hardware implementation. The classification result showed that using a 5-layer CNN (SEmbedNet) with an input image of pixel 56 could get better performance than an 8-layer CNN (simplified AlexNet) with a total accuracy of 99.89%. Besides, the combination of SEmbedNet with an input image size of pixel 56 and STM32 can achieve the benefits of 1.3s and 1.1 W per heartbeat in the classification task, and it only takes about 4 seconds. Moreover, a multiple-STM32 cross-validation platform was built to reduce the validation time. It can process more than a hundred thousand heartbeats in 6.4 hours.","PeriodicalId":382440,"journal":{"name":"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2022-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"SEmbedNet: Hardware-Friendly CNN for Ectopic Beat Classification on STM32-Based Edge Device\",\"authors\":\"You-Liang Xie, Xin-Rong Lin, Che-Wei Lin\",\"doi\":\"10.1109/RASSE54974.2022.9989708\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This study proposed a hardware-friendly-CNN-based hardware implementation system for screening electrocardiogram (ECG) ectopic beat with an STM32 ARM microcontroller-based embedded artificial intelligence (AI) edge device. In single heartbeat classification, continuous wavelet transformation based SEmbedNet and simplified AlexNet/GoogLeNet with different pixels of 56/112 of input size were compared to choose the best and most efficient combination to implement in the hardware. Five classes of the ectopic beat are followed by the ANSI/AAMI EC57 guideline in the MIT-BIH arrhythmia database, including non-ectopic beat (N), supraventricular ectopic beat (S), ventricular ectopic beat (V), fusion beat (F), and unknown beat(Q). Besides, this study performed the model through k-fold cross-validation and choose the best model for hardware implementation. The classification result showed that using a 5-layer CNN (SEmbedNet) with an input image of pixel 56 could get better performance than an 8-layer CNN (simplified AlexNet) with a total accuracy of 99.89%. Besides, the combination of SEmbedNet with an input image size of pixel 56 and STM32 can achieve the benefits of 1.3s and 1.1 W per heartbeat in the classification task, and it only takes about 4 seconds. Moreover, a multiple-STM32 cross-validation platform was built to reduce the validation time. It can process more than a hundred thousand heartbeats in 6.4 hours.\",\"PeriodicalId\":382440,\"journal\":{\"name\":\"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-11-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/RASSE54974.2022.9989708\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RASSE54974.2022.9989708","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
SEmbedNet: Hardware-Friendly CNN for Ectopic Beat Classification on STM32-Based Edge Device
This study proposed a hardware-friendly-CNN-based hardware implementation system for screening electrocardiogram (ECG) ectopic beat with an STM32 ARM microcontroller-based embedded artificial intelligence (AI) edge device. In single heartbeat classification, continuous wavelet transformation based SEmbedNet and simplified AlexNet/GoogLeNet with different pixels of 56/112 of input size were compared to choose the best and most efficient combination to implement in the hardware. Five classes of the ectopic beat are followed by the ANSI/AAMI EC57 guideline in the MIT-BIH arrhythmia database, including non-ectopic beat (N), supraventricular ectopic beat (S), ventricular ectopic beat (V), fusion beat (F), and unknown beat(Q). Besides, this study performed the model through k-fold cross-validation and choose the best model for hardware implementation. The classification result showed that using a 5-layer CNN (SEmbedNet) with an input image of pixel 56 could get better performance than an 8-layer CNN (simplified AlexNet) with a total accuracy of 99.89%. Besides, the combination of SEmbedNet with an input image size of pixel 56 and STM32 can achieve the benefits of 1.3s and 1.1 W per heartbeat in the classification task, and it only takes about 4 seconds. Moreover, a multiple-STM32 cross-validation platform was built to reduce the validation time. It can process more than a hundred thousand heartbeats in 6.4 hours.