基于计算资源有限平台和边缘张量处理单元的深度学习辅助外骨骼误差缓解

T. Fabarisov, A. Morozov, I. Mamaev, K. Janschek
{"title":"基于计算资源有限平台和边缘张量处理单元的深度学习辅助外骨骼误差缓解","authors":"T. Fabarisov, A. Morozov, I. Mamaev, K. Janschek","doi":"10.1115/imece2021-70387","DOIUrl":null,"url":null,"abstract":"\n Recently we introduced a new model-based fault injection method implemented as a highly customizable Simulink block called FIBlock. It supports the injection of typical faults of essential heterogeneous components of Cyber-Physical Systems (CPS), such as sensors, computing hardware, and network. The FIBlock allows to tune a fault type and configure multiple parameters to tune error magnitude, fault activation time, and fault exposure duration.\n The FIBlock is able to generate various types of highly adjustable CPS faults. We demonstrated the performance of the FIBlock on a Simulink case study representing a lower-limb EXOLEGS exoskeleton, an assistive device for the elderly in everyday life. In particular, we discovered the spatial and temporal thresholds for different fault types. Upon exceeding said thresholds, the Dynamic Movement Primitives-based control system could no longer adequately compensate errors.\n In this paper, we proposed a new Deep Learning-based approach for system failure prevention. We employed the Long Short-Term Memory (LSTM) network for error detection and mitigation. Error detection is achieved using the prediction approach. The LSTM models are mitigating the detected errors with computed predictions only when they were subject to the imminent failure (i.e., exceeded the aforementioned thresholds). To compare our approach with previous findings, we trained two LSTM models on angular position and angular velocity signals. For evaluation, we performed fault injection experiments with varying fault effect parameters. The ‘Sensor freeze’ fault was injected into the angular position sensor, and the ‘Stuck-at 0’ fault was injected into angular velocity sensor. The presented Deep Learning-based approach prevented system failure even when the injected faults were substantially exceeding thresholds. In addition, reasoning for data access point choice has been evaluated. We compared two options: (i) the input data for LSTM is provided from the sensor output and (ii) from the controller output. In the paper, the pros and cons for both options are presented.\n We deployed the trained LSTM models on an Edge Tensor Processing Unit. For that, the models have been quantized, i.e. all the 32-bit floating-point numbers (such as weights and activation outputs) were converted to the nearest 8-bit fixed-point numbers and converted to the TensorFlow Lite models. The Coral USB Accelerator was coupled with a Raspberry Pi 4B for signal processing. The result proves the feasibility of the proposed method. Because the LSTM models were converted to the 8bit integer TensorFlow Lite models, it allowed firm real-time error mitigation. Furthermore, the light weight of the system and minimal power consumption allows its integration into wearable robotic systems.","PeriodicalId":146533,"journal":{"name":"Volume 13: Safety Engineering, Risk, and Reliability Analysis; Research Posters","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Deep Learning-Based Error Mitigation for Assistive Exoskeleton With Computational-Resource-Limited Platform and Edge Tensor Processing Unit\",\"authors\":\"T. Fabarisov, A. Morozov, I. Mamaev, K. Janschek\",\"doi\":\"10.1115/imece2021-70387\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"\\n Recently we introduced a new model-based fault injection method implemented as a highly customizable Simulink block called FIBlock. It supports the injection of typical faults of essential heterogeneous components of Cyber-Physical Systems (CPS), such as sensors, computing hardware, and network. The FIBlock allows to tune a fault type and configure multiple parameters to tune error magnitude, fault activation time, and fault exposure duration.\\n The FIBlock is able to generate various types of highly adjustable CPS faults. We demonstrated the performance of the FIBlock on a Simulink case study representing a lower-limb EXOLEGS exoskeleton, an assistive device for the elderly in everyday life. In particular, we discovered the spatial and temporal thresholds for different fault types. Upon exceeding said thresholds, the Dynamic Movement Primitives-based control system could no longer adequately compensate errors.\\n In this paper, we proposed a new Deep Learning-based approach for system failure prevention. We employed the Long Short-Term Memory (LSTM) network for error detection and mitigation. Error detection is achieved using the prediction approach. The LSTM models are mitigating the detected errors with computed predictions only when they were subject to the imminent failure (i.e., exceeded the aforementioned thresholds). To compare our approach with previous findings, we trained two LSTM models on angular position and angular velocity signals. For evaluation, we performed fault injection experiments with varying fault effect parameters. The ‘Sensor freeze’ fault was injected into the angular position sensor, and the ‘Stuck-at 0’ fault was injected into angular velocity sensor. The presented Deep Learning-based approach prevented system failure even when the injected faults were substantially exceeding thresholds. In addition, reasoning for data access point choice has been evaluated. We compared two options: (i) the input data for LSTM is provided from the sensor output and (ii) from the controller output. In the paper, the pros and cons for both options are presented.\\n We deployed the trained LSTM models on an Edge Tensor Processing Unit. For that, the models have been quantized, i.e. all the 32-bit floating-point numbers (such as weights and activation outputs) were converted to the nearest 8-bit fixed-point numbers and converted to the TensorFlow Lite models. The Coral USB Accelerator was coupled with a Raspberry Pi 4B for signal processing. The result proves the feasibility of the proposed method. Because the LSTM models were converted to the 8bit integer TensorFlow Lite models, it allowed firm real-time error mitigation. Furthermore, the light weight of the system and minimal power consumption allows its integration into wearable robotic systems.\",\"PeriodicalId\":146533,\"journal\":{\"name\":\"Volume 13: Safety Engineering, Risk, and Reliability Analysis; Research Posters\",\"volume\":\"39 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Volume 13: Safety Engineering, Risk, and Reliability Analysis; Research Posters\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1115/imece2021-70387\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Volume 13: Safety Engineering, Risk, and Reliability Analysis; Research Posters","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1115/imece2021-70387","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

最近,我们引入了一种新的基于模型的故障注入方法,该方法被实现为一个高度可定制的Simulink块,称为FIBlock。它支持传感器、计算硬件、网络等CPS (Cyber-Physical Systems)异构组件的典型故障注入。FIBlock允许调整故障类型,并配置多个参数来调整错误大小、故障激活时间和故障暴露持续时间。FIBlock能够生成各种类型的高度可调CPS故障。我们在Simulink案例研究中展示了FIBlock的性能,该案例研究代表了下肢EXOLEGS外骨骼,这是老年人日常生活中的辅助装置。特别地,我们发现了不同断层类型的时空阈值。一旦超过上述阈值,基于动态运动原语的控制系统就不能再充分补偿误差。在本文中,我们提出了一种新的基于深度学习的系统故障预防方法。我们采用长短期记忆(LSTM)网络进行错误检测和缓解。使用预测方法实现错误检测。LSTM模型仅在即将发生故障(即超过上述阈值)时才使用计算预测减轻检测到的错误。为了将我们的方法与之前的发现进行比较,我们在角位置和角速度信号上训练了两个LSTM模型。为了评估,我们进行了不同断层效应参数的断层注入实验。将“Sensor freeze”故障注入角位置传感器,将“Stuck-at 0”故障注入角速度传感器。所提出的基于深度学习的方法可以防止系统故障,即使注入的故障大大超过阈值。此外,还对数据接入点选择的推理进行了评估。我们比较了两种选择:(i) LSTM的输入数据来自传感器输出,(ii)来自控制器输出。本文给出了这两种方案的优缺点。我们将训练好的LSTM模型部署在边缘张量处理单元上。为此,模型被量化,即所有32位浮点数(如权重和激活输出)被转换为最接近的8位定点数,并转换为TensorFlow Lite模型。Coral USB加速器与树莓派4B相结合,用于信号处理。实验结果证明了该方法的可行性。由于LSTM模型被转换为8位整数TensorFlow Lite模型,因此它允许严格的实时错误缓解。此外,该系统重量轻,功耗低,可以集成到可穿戴机器人系统中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Deep Learning-Based Error Mitigation for Assistive Exoskeleton With Computational-Resource-Limited Platform and Edge Tensor Processing Unit
Recently we introduced a new model-based fault injection method implemented as a highly customizable Simulink block called FIBlock. It supports the injection of typical faults of essential heterogeneous components of Cyber-Physical Systems (CPS), such as sensors, computing hardware, and network. The FIBlock allows to tune a fault type and configure multiple parameters to tune error magnitude, fault activation time, and fault exposure duration. The FIBlock is able to generate various types of highly adjustable CPS faults. We demonstrated the performance of the FIBlock on a Simulink case study representing a lower-limb EXOLEGS exoskeleton, an assistive device for the elderly in everyday life. In particular, we discovered the spatial and temporal thresholds for different fault types. Upon exceeding said thresholds, the Dynamic Movement Primitives-based control system could no longer adequately compensate errors. In this paper, we proposed a new Deep Learning-based approach for system failure prevention. We employed the Long Short-Term Memory (LSTM) network for error detection and mitigation. Error detection is achieved using the prediction approach. The LSTM models are mitigating the detected errors with computed predictions only when they were subject to the imminent failure (i.e., exceeded the aforementioned thresholds). To compare our approach with previous findings, we trained two LSTM models on angular position and angular velocity signals. For evaluation, we performed fault injection experiments with varying fault effect parameters. The ‘Sensor freeze’ fault was injected into the angular position sensor, and the ‘Stuck-at 0’ fault was injected into angular velocity sensor. The presented Deep Learning-based approach prevented system failure even when the injected faults were substantially exceeding thresholds. In addition, reasoning for data access point choice has been evaluated. We compared two options: (i) the input data for LSTM is provided from the sensor output and (ii) from the controller output. In the paper, the pros and cons for both options are presented. We deployed the trained LSTM models on an Edge Tensor Processing Unit. For that, the models have been quantized, i.e. all the 32-bit floating-point numbers (such as weights and activation outputs) were converted to the nearest 8-bit fixed-point numbers and converted to the TensorFlow Lite models. The Coral USB Accelerator was coupled with a Raspberry Pi 4B for signal processing. The result proves the feasibility of the proposed method. Because the LSTM models were converted to the 8bit integer TensorFlow Lite models, it allowed firm real-time error mitigation. Furthermore, the light weight of the system and minimal power consumption allows its integration into wearable robotic systems.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信