利用 LSTM 循环神经网络为形状记忆合金中的磁滞建模

M. Zakerzadeh, Seyedkeivan Naseri, Payam Naseri
{"title":"利用 LSTM 循环神经网络为形状记忆合金中的磁滞建模","authors":"M. Zakerzadeh, Seyedkeivan Naseri, Payam Naseri","doi":"10.1155/2024/1174438","DOIUrl":null,"url":null,"abstract":"The complex behavior of shape memory alloys (SMAs), characterized by hysteresis and nonlinear dynamics, results in complex constitutive equations. To circumvent the complexity of solving these equations, a black box neural network (NN) has been employed in this research to model a rotary actuator actuated by an SMA wire. Considering the historical dependence of the pulley’s rotational angle on the applied voltage, a recurrent neural network (RNN) is suitable for capturing past information. Specifically, a long short-term memory (LSTM) neural network is selected due to its ability to address issues encountered in standard recurrent networks. There are major drawbacks with modelling hysteresis with NNs that do not account for historical behavior. Traditional NNs, characterized by a one-to-one mapping, struggle to capture hysteresis loops wherein system behavior varies during loading and unloading cycles. Therefore, a single-tag data is used to determine the loading or unloading state, but tag signal causes discontinuity in network and omits various aspects of hysteresis in SMA, particularly within minor loops. In contrast, NNs incorporating past data to predict hysteresis behavior alleviate the need for tag data. However, such networks tend to have complex structures with a substantial number of neurons to effectively capture the inherent nonlinearity in SMAs. The long short-term memory (LSTM) neural network employed in this research, characterized by a simpler structure, achieves high accuracy in predicting hysteresis in SMAs without the need for tag data. In the proposed LSTM model, data related to the pulley’s rotational angle and the wire’s applied voltage from the current moment and the two previous moments serve as input. The data passes through a layer comprising three LSTM cells, and the output from the last LSTM cell is fed into a fully connected layer to predict the pulley’s rotational angle for the next moment. Training data are obtained by applying voltage at various frequencies and formats to the SMA wire while simultaneously recording the pulley’s angle with an encoder. Evaluation of the LSTM model is conducted in two configurations: online prediction (one-step ahead) and offline prediction (multistep ahead). In the online configuration where the model uses encoder data as angular inputs, the root mean square error (RMSE) of predictions for various input voltages is significantly low at about 0.1 degrees where the maximum rotational angle of pulley is 8 degrees. In the offline configuration when using the model’s predictions as angular inputs instead of encoder data, the RMSE rises to 0.3 degrees. To provide a clear demonstration of the LSTM model’s ability in this particular configuration, a comparison has been conducted between LSTM model and a rate-dependent Prandtl-Ishlinskii (RDPI) hysteresis model for predicting the pulley’s angle. The LSTM model outperforms the RDPI model by 70% in terms of accuracy. Overall, the LSTM model demonstrates capability in effectively modeling SMA hysteresis in both online and offline configurations.","PeriodicalId":509379,"journal":{"name":"Journal of Applied Mathematics","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-02-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Modelling Hysteresis in Shape Memory Alloys Using LSTM Recurrent Neural Network\",\"authors\":\"M. Zakerzadeh, Seyedkeivan Naseri, Payam Naseri\",\"doi\":\"10.1155/2024/1174438\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The complex behavior of shape memory alloys (SMAs), characterized by hysteresis and nonlinear dynamics, results in complex constitutive equations. To circumvent the complexity of solving these equations, a black box neural network (NN) has been employed in this research to model a rotary actuator actuated by an SMA wire. Considering the historical dependence of the pulley’s rotational angle on the applied voltage, a recurrent neural network (RNN) is suitable for capturing past information. Specifically, a long short-term memory (LSTM) neural network is selected due to its ability to address issues encountered in standard recurrent networks. There are major drawbacks with modelling hysteresis with NNs that do not account for historical behavior. Traditional NNs, characterized by a one-to-one mapping, struggle to capture hysteresis loops wherein system behavior varies during loading and unloading cycles. Therefore, a single-tag data is used to determine the loading or unloading state, but tag signal causes discontinuity in network and omits various aspects of hysteresis in SMA, particularly within minor loops. In contrast, NNs incorporating past data to predict hysteresis behavior alleviate the need for tag data. However, such networks tend to have complex structures with a substantial number of neurons to effectively capture the inherent nonlinearity in SMAs. The long short-term memory (LSTM) neural network employed in this research, characterized by a simpler structure, achieves high accuracy in predicting hysteresis in SMAs without the need for tag data. In the proposed LSTM model, data related to the pulley’s rotational angle and the wire’s applied voltage from the current moment and the two previous moments serve as input. The data passes through a layer comprising three LSTM cells, and the output from the last LSTM cell is fed into a fully connected layer to predict the pulley’s rotational angle for the next moment. Training data are obtained by applying voltage at various frequencies and formats to the SMA wire while simultaneously recording the pulley’s angle with an encoder. Evaluation of the LSTM model is conducted in two configurations: online prediction (one-step ahead) and offline prediction (multistep ahead). In the online configuration where the model uses encoder data as angular inputs, the root mean square error (RMSE) of predictions for various input voltages is significantly low at about 0.1 degrees where the maximum rotational angle of pulley is 8 degrees. In the offline configuration when using the model’s predictions as angular inputs instead of encoder data, the RMSE rises to 0.3 degrees. To provide a clear demonstration of the LSTM model’s ability in this particular configuration, a comparison has been conducted between LSTM model and a rate-dependent Prandtl-Ishlinskii (RDPI) hysteresis model for predicting the pulley’s angle. The LSTM model outperforms the RDPI model by 70% in terms of accuracy. Overall, the LSTM model demonstrates capability in effectively modeling SMA hysteresis in both online and offline configurations.\",\"PeriodicalId\":509379,\"journal\":{\"name\":\"Journal of Applied Mathematics\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-02-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Applied Mathematics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1155/2024/1174438\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Applied Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1155/2024/1174438","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

形状记忆合金 (SMA) 具有滞后和非线性动力学特征,其复杂的行为导致了复杂的构成方程。为了避免求解这些方程的复杂性,本研究采用了黑盒神经网络(NN)来模拟由 SMA 线材驱动的旋转致动器。考虑到滑轮旋转角度对施加电压的历史依赖性,循环神经网络(RNN)适合捕捉过去的信息。具体来说,选择长短期记忆(LSTM)神经网络是因为它能够解决标准递归网络中遇到的问题。使用不考虑历史行为的神经网络来模拟滞后现象存在很大缺陷。传统 NN 的特点是一对一映射,难以捕捉系统行为在加载和卸载周期中发生变化的滞后回路。因此,单个标签数据被用来确定加载或卸载状态,但标签信号会导致网络的不连续性,并忽略 SMA 中滞后的各个方面,尤其是在次要环路中。与此相反,结合过去数据预测滞后行为的网络可减轻对标签数据的需求。不过,此类网络往往结构复杂,需要大量神经元才能有效捕捉 SMA 固有的非线性。本研究采用的长短期记忆(LSTM)神经网络的特点是结构较为简单,在预测 SMA 的滞后现象时具有较高的准确性,而无需标记数据。在所提出的 LSTM 模型中,与滑轮旋转角度以及当前时刻和前两个时刻的导线外加电压相关的数据作为输入。数据通过一个由三个 LSTM 单元组成的层,最后一个 LSTM 单元的输出被输入到一个全连接层,以预测下一时刻滑轮的旋转角度。训练数据通过向 SMA 线施加不同频率和格式的电压获得,同时用编码器记录滑轮的角度。LSTM 模型的评估在两种配置下进行:在线预测(提前一步)和离线预测(提前多步)。在在线配置中,模型使用编码器数据作为角度输入,在滑轮最大旋转角度为 8 度的情况下,各种输入电压的预测均方根误差 (RMSE) 明显较低,约为 0.1 度。在离线配置中,当使用模型的预测值作为角度输入而不是编码器数据时,均方根误差上升到 0.3 度。为了清楚地展示 LSTM 模型在这一特定配置中的能力,我们对 LSTM 模型和与速率相关的 Prandtl-Ishlinskii (RDPI) 迟滞模型进行了比较,以预测滑轮的角度。LSTM 模型的准确度比 RDPI 模型高出 70%。总体而言,LSTM 模型展示了在在线和离线配置中有效模拟 SMA 磁滞的能力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Modelling Hysteresis in Shape Memory Alloys Using LSTM Recurrent Neural Network
The complex behavior of shape memory alloys (SMAs), characterized by hysteresis and nonlinear dynamics, results in complex constitutive equations. To circumvent the complexity of solving these equations, a black box neural network (NN) has been employed in this research to model a rotary actuator actuated by an SMA wire. Considering the historical dependence of the pulley’s rotational angle on the applied voltage, a recurrent neural network (RNN) is suitable for capturing past information. Specifically, a long short-term memory (LSTM) neural network is selected due to its ability to address issues encountered in standard recurrent networks. There are major drawbacks with modelling hysteresis with NNs that do not account for historical behavior. Traditional NNs, characterized by a one-to-one mapping, struggle to capture hysteresis loops wherein system behavior varies during loading and unloading cycles. Therefore, a single-tag data is used to determine the loading or unloading state, but tag signal causes discontinuity in network and omits various aspects of hysteresis in SMA, particularly within minor loops. In contrast, NNs incorporating past data to predict hysteresis behavior alleviate the need for tag data. However, such networks tend to have complex structures with a substantial number of neurons to effectively capture the inherent nonlinearity in SMAs. The long short-term memory (LSTM) neural network employed in this research, characterized by a simpler structure, achieves high accuracy in predicting hysteresis in SMAs without the need for tag data. In the proposed LSTM model, data related to the pulley’s rotational angle and the wire’s applied voltage from the current moment and the two previous moments serve as input. The data passes through a layer comprising three LSTM cells, and the output from the last LSTM cell is fed into a fully connected layer to predict the pulley’s rotational angle for the next moment. Training data are obtained by applying voltage at various frequencies and formats to the SMA wire while simultaneously recording the pulley’s angle with an encoder. Evaluation of the LSTM model is conducted in two configurations: online prediction (one-step ahead) and offline prediction (multistep ahead). In the online configuration where the model uses encoder data as angular inputs, the root mean square error (RMSE) of predictions for various input voltages is significantly low at about 0.1 degrees where the maximum rotational angle of pulley is 8 degrees. In the offline configuration when using the model’s predictions as angular inputs instead of encoder data, the RMSE rises to 0.3 degrees. To provide a clear demonstration of the LSTM model’s ability in this particular configuration, a comparison has been conducted between LSTM model and a rate-dependent Prandtl-Ishlinskii (RDPI) hysteresis model for predicting the pulley’s angle. The LSTM model outperforms the RDPI model by 70% in terms of accuracy. Overall, the LSTM model demonstrates capability in effectively modeling SMA hysteresis in both online and offline configurations.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信