Method for division and identification of railway relay degradation states based on TimesNet-Transformer
摘要
针对传统方法在铁路继电器退化状态划分与识别中存在相似重叠退化状态难以有效划分、划分依据主观性强、状态边界模糊、模型识别准确率不足等问题,提出了一种基于变点检测与TimesNet-Transformer的铁路继电器退化状态划分与识别方法.以铁路列车常用的西门子3RH2122-2KF40型直流继电器为试验对象,首先,通过继电器全寿命试验,同步采集触头电压、线圈电流等多维时序信号,并提取接触电阻、吸合时间等关键退化特征参数,经过数据降噪与归一化预处理后,以前期健康状态为基准进行相似性度量,构建表征继电器整体退化趋势的指标曲线;然后,采用基于随机子区间的二分变点检测方法(wild binary segmentation,WBS)对退化曲线进行自适应阶段划分,准确识别各退化状态边界;最后,使用TimesNet-Transformer模型进行退化状态识别,该模型利用TimesNet将一维时间序列转换为二维张量以提取多周期时频特征,并结合Transformer的自注意力机制捕捉长时间依赖关系,强化模型对全局退化过程的感知能力,通过二者优势联合实现退化状态的高精度识别.将带有退化标签的数据集分别输入7种不同的模型进行对比,使用准确率(Acc)、精确率(Prec)、召回率(Rec)和F1分值(F1-score)作为评价指标进行识别结果评估.试验结果表明,与传统长短期记忆网络(long short-term memory,LSTM)、门控循环单元(gated recurrent unit,GRU)和Transformer等模型相比,本文所提方法的识别准确率显著提升,验证了该方法在铁路继电器状态监测中的有效性和优越性,为铁路继电器设备智能运维提供了新思路和新方法.
In response to the issues in traditional methods for dividing and identifying the degradation states of railway relays,such as the inability to effectively distinguish similar and overlapping degradation states,strong subjectivity in division criteria,ambiguous state boundaries,and insufficient model recognition accuracy,this paper proposed a railway relay degradation state division and identification method based on change-point detection and TimesNet-Transformer.The Siemens 3RH2122-2KF40 DC relay commonly used in railway trains was taken as the experimental object.First,multi-dimensional time-series signals such as contact voltage and coil current were synchronously collected through the relay full-life test,and key degradation characteristic parameters including contact resistance and pull-in time were extracted.After data denoising and normalization,similarity measurement was performed based on the early healthy state to construct an indicator curve that characterizes the overall degradation trend of the relay.Then,the wild binary segmentation(WBS)change-point detection algorithm was employed to adaptively divide the degradation curve into stages and accurately identify the boundaries of each degradation state.Finally,the TimesNet-Transformer model was employed for degradation state identification.This model utilized TimesNet to convert one-dimensional time series into two-dimensional tensors for extracting multi-periodic time-frequency features,integrated Transformer's self-attention mechanism to capture long-term dependencies,enhanced the model's ability to perceive the global degradation process,and achieved high-precision identification of degradation states by combining the advantages of the two components.Datasets with degradation labels were input into seven different models for comparison,and the identification results were evaluated using metrics including Accuracy(Acc),Precision(Prec),Recall(Rec),and F1-score,respectively.The experimental results demonstrate that compared to traditional models such as long short-term memory(LSTM),gated recurrent unit(GRU),and Transformer,the proposed method significantly improves the recognition accuracy,validating its effectiveness and superiority in the state monitoring of railway relays.This provides new ideas and methods for the intelligent operation and maintenance of railway relay equipment.