Data-driven high-precision model identification and time series prediction for maglev train suspension systems
-
摘要:
针对EMS型磁浮列车悬浮控制系统因高维、强非线性及开环不稳定特性导致的机理建模精度不足与鲁棒性差等问题,提出一种基于贝叶斯优化(BO)算法改进长短期记忆网络(LSTM)的悬浮系统高精度模型辨识及时间序列预测方法。搭建了单自由度磁悬浮系统试验平台,通过控制器跟踪包含正弦、脉冲及白噪声的复杂激励信号,采集了覆盖系统动态特性的控制电压与悬浮间隙时序数据,并采用滑动窗口法重构输入输出序列;构建了长短期记忆网络模型以捕捉悬浮系统的时间依赖特征;为解决人工调参难以兼顾效率与性能的问题,引入了贝叶斯优化算法,选取高斯过程作为概率代理模型,以期望改进作为采集函数,将模型在验证集上的平均绝对误差作为目标函数,对LSTM模型的隐藏层神经元数量、初始学习率及L2正则化系数进行全局寻优。研究结果表明:经贝叶斯优化后的模型能够精准预测悬浮间隙的关键状态变化,预测误差稳定在±0.1 mm以内,且误差分布符合正态分布特征,表明消除了模型的结构性偏差;与未优化的LSTM模型相比,其在测试集上的平均绝对误差降低了48.04%,均方根误差降低了41.83%。该方法能有效解决悬浮系统建模中超参数整定困难的问题,显著提升模型的预测精度与泛化能力,为磁浮列车的高精度悬浮控制器设计及实时状态监测提供了可靠的模型基础。
Abstract:In response to low modeling accuracy and poor robustness in the suspension control systems of EMS-type maglev trains caused by high dimensionality, strong nonlinearity, and open-loop instability, a high-precision model identification and time series prediction method was proposed based on a long short-term memory (LSTM) improved by the Bayesian optimization (BO) algorithm. First, an experimental platform for a single-degree-of-freedom magnetic suspension system was built. A controller was used to track complex excitation signals, including sine, pulse, and white noise. Time series data of the control voltage and suspension gap covering the dynamic characteristics of the system were collected. The input and output sequences were reconstructed using the sliding window method. Second, an LSTM model was constructed to capture the time-dependent features of the suspension system. In response to the difficulty of manual parameter tuning in balancing efficiency and performance, the BO algorithm was introduced. A Gaussian process was selected as the probabilistic surrogate model, and the expected improvement was used as the acquisition function. The mean absolute error of the model on the validation set was set as the objective function. A global optimization was performed for the number of hidden layer neurons, initial learning rate, and L2 regularization coefficient of the LSTM model. Research results show that after BO, the model can accurately predict the key state changes of the suspension gap. The prediction error stabilizes within ±0.1 mm, and the error distribution conforms to a normal distribution, indicating that the structural deviation of the model is eliminated. Compared with the unoptimized LSTM model, the mean absolute error on the test set is reduced by 48.04%, and the root mean square error is decreased by 41.83%. This method effectively solves the difficulty of hyperparameter setting in suspension system modeling, and significantly improves the prediction accuracy and generalization ability of the model, providing a reliable model foundation for the design of high-precision suspension controllers and real-time condition monitoring of maglev trains.
-
表 1 数据集原始序列格式
Table 1. Raw sequence format of dataset
时间 数据点 $ {t}_{1} $ $ {u}_{1},{z}_{1} $ $ {t}_{2} $ $ {u}_{2},{z}_{2} $ $ {t}_{3} $ $ {u}_{3},{z}_{3} $ ⋮ ⋮ $ {t}_{n} $ $ {u}_{n},{z}_{n} $ 表 2 超参数优化区间设置
Table 2. Hyperparameter optimization range configuration
超参数 优化区间 学习率 [0.000 1,0.1] 隐藏层单元数 [64, 256] L2正则化系数 [0.000 01,0.01] 表 3 BO-LSTM模型超参数设置
Table 3. Setting of hyperparameters of BO-LSTM model
参数 设定值 训练轮次 100 批量大小 50 学习率 0.015 2 LSTM神经元数 153 L2正则化系数 $ 1.104\times {10}^{-5} $ 表 4 模型总体评价指标对比
Table 4. Comparison of overall model evaluation metrics
模型 MSE RMSE MAE MAPE LSTM 0.000 6 0.025 1 0.020 4 0.002 076 BO-LSTM 0.000 2 0.014 6 0.010 6 0.001 080 下降比例/% 66.67 41.83 48.04 47.98 -
[1] 林国斌, 刘万明, 徐俊起, 等. 中国高速磁浮交通的发展机遇与挑战[J]. 前瞻科技, 2023, 2(4): 7-18.LIN Guo-bin, LIU Wan-ming, XU Jun-qi, et al. Opportunities and challenges for the development of high-speed maglev transportation in China[J]. Science and Technology Foresight, 2023, 2(4): 7-18. [2] 熊嘉阳, 沈志云, 池茂儒, 等. 高速磁悬浮列车技术综述[J]. 交通运输工程学报, 2025, 25(2): 1-23. doi: 10.19818/j.cnki.1671-1637.2025.02.001 XIONG Jia-yang, SHEN Zhi-yun, CHI Mao-ru, et al. Review on high-speed maglev train technology[J]. Journal of Traffic and Transportation Engineering, 2025, 25(2): 1-23. doi: 10.19818/j.cnki.1671-1637.2025.02.001 [3] LI F X, SUN Y G, XU J Q, et al. Control methods for levitation system of EMS-type maglev vehicles: An overview[J]. Energies, 2023, 16(7): 2995. doi: 10.3390/en16072995 [4] 张和洪, 张文进, 陈建, 等. BP神经网络跟踪微分器在磁浮列车悬浮控制中的应用[J]. 交通运输工程学报, 2025, 25(1): 94-106. doi: 10.19818/j.cnki.1671-1637.2025.01.006 ZHANG He-hong, ZHANG Wen-jin, CHEN Jian, et al. Application of BP neural network tracking differentiator in maglev train suspension control[J]. Journal of Traffic and Transportation Engineering, 2025, 25(1): 94-106. doi: 10.19818/j.cnki.1671-1637.2025.01.006 [5] 王志强, 龙志强, 李晓龙. 高速磁浮列车搭接结构悬浮系统仿真分析[J]. 西南交通大学学报, 2024, 59(3): 590-599.WANG Zhi-qiang, LONG Zhi-qiang, LI Xiao-long. Simulation analysis of levitation system of high-speed maglev trains with joint structure[J]. Journal of Southwest Jiaotong University, 2024, 59(3): 590-599. [6] 马卫华, 胡俊雄, 李铁, 等. EMS型中低速磁浮列车悬浮架技术研究综述[J]. 西南交通大学学报, 2023, 58(4): 720-733.MA Wei-hua, HU Jun-xiong, LI Tie, et al. Technologies research review of electro-magnetic suspension medium-low-speed maglev train levitation frame[J]. Journal of Southwest Jiaotong University, 2023, 58(4): 720-733. [7] DEY S, BANERJEE S, DEY J. Frequency-domain tuning of a robust optimal 2-DOF fractional order PID controller for a maglev system[J]. IEEE Transactions on Industrial Informatics, 2024, 20(9): 11348-11361. doi: 10.1109/TII.2024.3403249 [8] 钟志贤, 蔡忠侯, 祁雁英. 单自由度磁悬浮系统无模型自适应控制的研究[J]. 西南交通大学学报, 2022, 57(3): 549-557, 581.ZHONG Zhi-xian, CAI Zhong-hou, QI Yan-ying. Model-free adaptive control for single-degree-of-freedom magnetically levitated system[J]. Journal of Southwest Jiaotong University, 2022, 57(3): 549-557, 581. [9] SUN Y G, QIANG H Y, WANG L, et al. A fuzzy-logic-system-based cooperative control for the multielectromagnets suspension system of maglev trains with experimental verification[J]. IEEE Transactions on Fuzzy Systems, 2023, 31(10): 3411-3422. doi: 10.1109/TFUZZ.2023.3257036 [10] JI W, LV D Y, LUO S H, et al. Multiple models-based fault tolerant control of levitation module of maglev vehicles against partial actuator failures[J]. IEEE Transactions on Vehicular Technology, 2025, 74(2): 2231-2240. doi: 10.1109/TVT.2024.3399235 [11] 孙友刚, 黄志创, 林国斌, 等. 高速磁浮车辆悬浮系统多元基神经网络容错控制[J]. 交通运输工程学报, 2025, 25(2): 61-74. doi: 10.19818/j.cnki.1671-1637.2025.02.004 SUN You-gang, HUANG Zhi-chuang, LIN Guo-bin, et al. Fault-tolerant control for levitation systems of high-speed maglev train based on diversified basis neural networks[J]. Journal of Traffic and Transportation Engineering, 2025, 25(2): 61-74. doi: 10.19818/j.cnki.1671-1637.2025.02.004 [12] 龙志强, 翟明达, 王志强. 磁浮列车状态监测、故障诊断与容错控制[M]. 上海: 上海科学技术出版社, 2023: 57-68.LONG Zhi-qiang, ZHAI Ming-da, WANG Zhi-qiang. Condition monitoring, fault diagnosis and fault-tolerant control of maglev train[M]. Shanghai: Shanghai Scientific & Technical Publishers, 2023: 57-68. [13] 余旭涛, 吴威, 牛刚. 磁浮列车双冗余加速度传感器故障检测研究[J]. 仪器仪表学报, 2023, 44(10): 138-144.YU Xu-tao, WU Wei, NIU Gang. Research on fault detection of double redundant acceleration sensor for maglev train[J]. Chinese Journal of Scientific Instrument, 2023, 44(10): 138-144. [14] 曹辉, 吴兴文, 熊嘉阳, 等. 故障工况下常导磁浮车辆悬浮架载荷特性研究[J]. 机车电传动, 2023(1): 33-41.CAO Hui, WU Xing-wen, XIONG Jia-yang, et al. Research on load characteristics of levitation chassis of the normal-conducting maglev vehicle under fault conditions[J]. Electric Drive for Locomotives, 2023(1): 33-41. [15] 胡轲珽, 徐俊起, 刘志刚, 等. 基于强化学习的电磁悬浮型磁浮列车悬浮控制[J]. 同济大学学报(自然科学版), 2023, 51(3): 332-340.HU Ke-ting, XU Jun-qi, LIU Zhi-gang, et al. Reinforcement learning-based suspension control for electromagnetic suspension maglev trains[J]. Journal of Tongji University (Natural Science), 2023, 51(3): 332-340. [16] LI Y L, XU H Z, GEGERILE. The research on model predictive control for linear synchronous motor of maglev train[J]. Science Discovery, 2017, 5(2): 77-85. doi: 10.11648/j.sd.20170502.11 [17] HU W J, ZHOU Y H, ZHANG Z L, et al. Model predictive control for hybrid levitation systems of maglev trains with state constraints[J]. IEEE Transactions on Vehicular Technology, 2021, 70(10): 9972-9985. doi: 10.1109/TVT.2021.3110133 [18] 刘怡恒, 张和洪, 龙志强, 等. 基于改进跟踪微分器的磁浮列车悬浮控制研究[J]. 机车电传动, 2023(2): 113-122.LIU Yi-heng, ZHANG He-hong, LONG Zhi-qiang, et al. Research on suspension control of maglev train via enhanced tracking differentiator[J]. Electric Drive for Locomotives, 2023(2): 113-122. [19] 王美琪, 曾思恒, 李源, 等. 二自由度磁浮列车悬浮系统时滞控制研究[J]. 西南交通大学学报, 2024, 59(4): 812-822.WANG Mei-qi, ZENG Si-heng, LI Yuan, et al. Research on time lag control of levitation system of two-degree-of-freedom magnetic levitation train[J]. Journal of Southwest Jiaotong University, 2024, 59(4): 812-822. [20] 朴明伟, 梁世宽, 薛世海, 等. 高速磁浮列车主动悬浮与导向的2-DOF控制[J]. 中国铁道科学, 2006, 27(4): 80-85.PIAO Ming-wei, LIANG Shi-kuan, XUE Shi-hai, et al. 2-DOF control of active levitation and guidance in high-speed maglev train[J]. China Railway Science, 2006, 27(4): 80-85. [21] CHEN C, XU J Q, LIN G B, et al. Model identification and nonlinear adaptive control of suspension system of high-speed maglev train[J]. Vehicle System Dynamics, 2022, 60(3): 884-905. doi: 10.1080/00423114.2020.1838564 [22] 马丹瑞. 基于神经网络的磁浮列车悬浮系统辨识与控制技术研究[D]. 长沙: 国防科技大学, 2020: 19-28.MA Dan-rui. Research on identification and control technology of suspension system in maglev train based on neural network[D]. Changsha: National University of Defense Technology, 2020: 19-28. [23] SUN Y G, XU J Q, QIANG H Y, et al. Adaptive sliding mode control of maglev system based on RBF neural network minimum parameter learning method[J]. Measurement, 2019, 141: 217-226. doi: 10.1016/j.measurement.2019.03.006 [24] WAI R J, CHEN M W, YAO J X. Observer-based adaptive fuzzy-neural-network control for hybrid maglev transportation system[J]. Neurocomputing, 2016, 175: 10-24. doi: 10.1016/j.neucom.2015.10.006 [25] 王果, 石开, 闵永智, 等. 基于TCN-Transformer混合架构的中低速磁浮列车制动模型[J]. 科学技术与工程, 2026, 26(6): 2579-2591.WANG Guo, SHI Kai, MIN Yong-zhi, et al. A hybrid TCN-Transformer architecture for braking modeling of medium-low speed maglev trains[J]. Science Technology and Engineering, 2026, 26(6): 2579-2591. [26] DE JESÚS RUBIO J, ZHANG L X, LUGHOFER E, et al. Modeling and control with neural networks for a magnetic levitation system[J]. Neurocomputing, 2017, 227: 113-121. doi: 10.1016/j.neucom.2016.09.101 [27] KE Z H, LIU X N, CHEN Y N, et al. Prediction models establishment and comparison for guiding force of high-temperature superconducting maglev based on deep learning algorithms[J]. Superconductor Science and Technology, 2022, 35(2): 024005. doi: 10.1088/1361-6668/ac455d [28] 吴晗, 刘梦娟, 曾晓辉. 高速磁浮列车悬浮间隙仿真预测[J]. 同济大学学报(自然科学版), 2023, 51(3): 351-359.WU Han, LIU Meng-juan, ZENG Xiao-hui. Suspension gap prediction of highspeed maglev train[J]. Journal of Tongji University (Natural Science), 2023, 51(3): 351-359. [29] KE Z H, LIU X N, YI H Y, et al. Nonlinear levitation-guidance coupling force prediction for HTS pinning maglev under arbitrary motion based on gated recurrent unit[J]. IEEE Transactions on Applied Superconductivity, 2024, 34(3): 3600806. [30] 杨彪, 梅子, 龙志强. 磁浮列车悬浮系统LSTM与MGD融合的在线异常检测方法[J]. 交通运输工程学报, 2023, 23(6): 216-231. doi: 10.19818/j.cnki.1671-1637.2023.06.014 YANG Biao, MEI Zi, LONG Zhi-qiang. Online anomaly detection method integrating LSTM and MGD for suspension system of maglev trains[J]. Journal of Traffic and Transportation Engineering, 2023, 23(6): 216-231. doi: 10.19818/j.cnki.1671-1637.2023.06.014 [31] 孙友刚, 徐俊起, 贺祯宇, 等. 基于误差交叉耦合的多电磁铁悬浮系统滑模协同控制[J]. 西南交通大学学报, 2022, 57(3): 558-565.SUN You-gang, XU Jun-qi, HE Zhen-yu, et al. Sliding mode cooperative control of multi-electromagnet suspension system based on error cross coupling[J]. Journal of Southwest Jiaotong University, 2022, 57(3): 558-565. [32] HOCHREITER S, SCHMIDHUBER J. Long short-term memory[J]. Neural Computation, 1997, 9(8): 1735-1780. doi: 10.1162/neco.1997.9.8.1735 [33] LINDEMANN B, MÜLLER T, VIETZ H, et al. A survey on long short-term memory networks for time series prediction[J]. Procedia CIRP, 2021, 99: 650-655. doi: 10.1016/j.procir.2021.03.088 [34] WANG X L, JIN Y C, SCHMITT S, et al. Recent advances in Bayesian optimization[J]. ACM Computing Surveys, 2023, 55(13s): 1-36. [35] DU L, GAO R B, SUGANTHAN P N, et al. Bayesian optimization based dynamic ensemble for time series forecasting[J]. Information Sciences, 2022, 591: 155-175. doi: 10.1016/j.ins.2022.01.010 -
下载: