[go: up one dir, main page]

CN114386707A - A method and device for predicting track irregularity - Google Patents

A method and device for predicting track irregularity Download PDF

Info

Publication number
CN114386707A
CN114386707A CN202210056496.9A CN202210056496A CN114386707A CN 114386707 A CN114386707 A CN 114386707A CN 202210056496 A CN202210056496 A CN 202210056496A CN 114386707 A CN114386707 A CN 114386707A
Authority
CN
China
Prior art keywords
data
vehicle
vehicle operation
operation data
roughness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210056496.9A
Other languages
Chinese (zh)
Inventor
杨飞
郝晓莉
刘贵宪
孙宪夫
魏子龙
杨建�
邢梦婷
高雅
张煜
赵文博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Railway Sciences Corp Ltd CARS
Infrastructure Inspection Institute of CARS
Beijing IMAP Technology Co Ltd
Original Assignee
China Academy of Railway Sciences Corp Ltd CARS
Infrastructure Inspection Institute of CARS
Beijing IMAP Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Railway Sciences Corp Ltd CARS, Infrastructure Inspection Institute of CARS, Beijing IMAP Technology Co Ltd filed Critical China Academy of Railway Sciences Corp Ltd CARS
Priority to CN202210056496.9A priority Critical patent/CN114386707A/en
Publication of CN114386707A publication Critical patent/CN114386707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/061Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using biological neurons, e.g. biological neurons connected to an integrated circuit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Neurology (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure relates to the field of transportation, and in particular, to a method and an apparatus for predicting track unevenness. The method comprises the steps of obtaining vehicle operation data, wherein the vehicle operation data comprise vehicle acceleration and vehicle speed; inputting the vehicle operation data into a pre-established irregularity prediction model to obtain irregularity data, wherein the irregularity prediction model comprises an attention network, a convolution neural network and a circulation neural network, the attention network is used for determining attention weight of the vehicle operation data, and the convolution neural network is used for determining waveform characteristics of the vehicle operation data with the attention weight; and the cyclic neural network is used for determining the rugged data according to the waveform characteristics. According to the scheme, the track long wave height and the medium wave height of different railway lines and different under-rail foundations can be estimated in real time, the change of the track state is sensed in time, powerful support is provided for adjusting track equipment and ensuring the safe operation of a train, and the safety of the train operation is improved.

Description

一种轨道高低不平顺预测方法及装置A method and device for predicting track irregularity

技术领域technical field

本文涉及交通运输领域,可用于高速铁路领域,尤其是一种轨道高低不平顺预测方法、装置、计算机设备及存储介质。This paper relates to the field of transportation and can be used in the field of high-speed railways, especially a method, device, computer equipment and storage medium for predicting track irregularity.

背景技术Background technique

目前高速列车已成为人们日常的出行方式,列车的安全运行是铁路交通运输的基础要求和必要保障,对列车及轨道的定期检测在交通运输中显得尤为重要。当列车通过较为显著的轨道几何不平顺的区段时,车辆各部件会产生相应的振动,影响行车安全及乘客乘坐体验。因此,稳定监测铁路轨道线路的实时几何形位并整治线路几何平顺性日趋重要。At present, high-speed trains have become people's daily travel mode. The safe operation of trains is the basic requirement and necessary guarantee for railway transportation. Regular inspection of trains and tracks is particularly important in transportation. When the train passes through the relatively uneven track section, various parts of the vehicle will generate corresponding vibration, which will affect the driving safety and passenger experience. Therefore, it is increasingly important to stably monitor the real-time geometry of railway track lines and to rectify the geometric smoothness of the lines.

现有技术中,测量轨道几何不平顺主要依靠综合检测列车或轨检车进行定期检测。但轨检车检测方法只能在车辆运营时间之外的固定时间内进行检查,轨检车的检测频次不足,导致难以有效获取轨道几何形位的劣化特征及发展规律;并且轨检车直到下次检测时才能发现突变病害。卡尔曼滤波方法难以建立和反演复杂的非线性动力学模型,缺乏实用性。In the prior art, the measurement of the geometric irregularity of the track mainly relies on the comprehensive detection train or the track inspection vehicle for regular detection. However, the detection method of rail inspection vehicles can only be carried out in a fixed time outside the vehicle operation time, and the detection frequency of rail inspection vehicles is insufficient, which makes it difficult to effectively obtain the deterioration characteristics and development laws of track geometry; Mutational diseases can only be detected at the time of testing. The Kalman filter method is difficult to establish and invert complex nonlinear dynamic models, and it lacks practicability.

针对目前轨道不平顺测试效率低、反演复杂的问题,需要一种轨道高低不平顺预测方法和装置。Aiming at the problems of low efficiency of track irregularity test and complicated inversion at present, a method and device for predicting track irregularity are required.

发明内容SUMMARY OF THE INVENTION

为解决上述现有技术的问题,本文实施例提供了一种轨道高低不平顺预测方法、装置、计算机设备及存储介质,解决了现有技术中的问题。In order to solve the above problems in the prior art, the embodiments herein provide a method, device, computer equipment and storage medium for predicting track irregularity, which solve the problems in the prior art.

本文实施例提供了一种轨道高低不平顺预测方法,包括:获取车辆运行数据,所述车辆运行数据包括车辆加速度及车辆速度;将所述车辆运行数据输入至预先建立的高低不平顺预测模型,获取高低不平顺数据,所述高低不平顺预测模型包括注意力网络、卷积神经网络及循环神经网络,所述注意力网络用于确定所述车辆运行数据的关注权重,所述卷积神经网络用于确定具有关注权重的车辆运行数据的波形特征;所述循环神经网络用于根据所述波形特征,确定高低不平顺数据。The embodiments herein provide a method for predicting track irregularity, including: acquiring vehicle operation data, the vehicle operation data including vehicle acceleration and vehicle speed; inputting the vehicle operation data into a pre-established roughness prediction model, Acquiring roughness data, the roughness prediction model includes an attention network, a convolutional neural network and a recurrent neural network, the attentional network is used to determine the attention weight of the vehicle operation data, and the convolutional neural network used to determine the waveform characteristics of vehicle operation data with attention weights; the cyclic neural network is used to determine the roughness data according to the waveform characteristics.

根据本文实施例的一个方面,所述高低不平顺预测模型训练过程包括:确定所述车辆运行数据的样本数据集,所述样本数据集包括车辆历史加速度和车辆历史速度及对应的历史高低不平顺数据;根据所述样本数据集,训练高低不平顺预测模型中的参数。According to an aspect of the embodiments herein, the training process of the roughness prediction model includes: determining a sample data set of the vehicle operation data, the sample data set including the historical acceleration of the vehicle, the historical speed of the vehicle and the corresponding historical roughness data; according to the sample data set, train the parameters in the unevenness prediction model.

根据本文实施例的一个方面,所述根据所述样本数据集,训练高低不平顺预测模型中的参数包括:确定高低不平顺预测模型中的注意力网络、卷积神经网络、循环神经网络的初始参数;将所述样本数据集输入至所述高低不平顺预测模型中,获取高低不平顺预测数据;根据所述高低不平顺预测数据与历史高低不平顺数据构建损失函数;利用所述损失函数训练所述预先建立的高低不平顺预测模型中各网络的参数。According to an aspect of the embodiments herein, the training of parameters in the roughness prediction model according to the sample data set includes: determining the initial value of an attention network, a convolutional neural network, and a recurrent neural network in the roughness prediction model. parameters; input the sample data set into the roughness prediction model to obtain the roughness forecast data; construct a loss function according to the roughness forecast data and the historical roughness data; use the loss function to train The parameters of each network in the pre-established unevenness prediction model.

根据本文实施例的一个方面,在获取车辆运行数据之后,还包括:对所述车辆运行数据执行数据预处理,其中,所述数据预处理至少包括:趋势项滤除、数据标准化、逆序处理;将所述车辆运行数据输入至预先建立的高低不平顺预测模型进一步为将预处理后得到的车辆运行数据输入至预先建立的高低不平顺预测模型。According to an aspect of the embodiments herein, after acquiring the vehicle operation data, the method further includes: performing data preprocessing on the vehicle operation data, wherein the data preprocessing at least includes: trend item filtering, data standardization, and reverse order processing; The inputting of the vehicle operation data into the pre-established roughness prediction model further includes inputting the vehicle operation data obtained after preprocessing into the pre-established roughness prediction model.

根据本文实施例的一个方面,对所述车辆运行数据进行逆序处理包括:设置每相邻L+1个时间间隔的车辆运行数据为一数据组;将每一数据组进行倒序处理。According to an aspect of the embodiments herein, performing reverse order processing on the vehicle operation data includes: setting vehicle operation data of every adjacent L+1 time interval as a data group; and performing reverse order processing on each data group.

根据本文实施例的一个方面,对所述车辆运行数据执行趋势项滤除包括:利用最小二乘拟合、小波分解、凸优化、平滑先验、变分模态分解、傅里叶变换中的至少一种方法确定所述车辆运行数据的趋势项,滤除所述趋势项。According to one aspect of the embodiments herein, performing trend term filtering on the vehicle operation data includes utilizing least squares fitting, wavelet decomposition, convex optimization, smooth prior, variational modal decomposition, Fourier transform At least one method determines trend items of the vehicle operating data and filters out the trend items.

根据本文实施例的一个方面,根据所述样本数据集,训练高低不平顺预测模型中的参数后,还包括:利用所述参数已定的高低不平顺预测模型识别测试样本中的车辆运行数据;根据测试样本中车辆运行数据的预测结果,计算评价指标,其中,所述评价指标为平均绝对误差、均方根误差、希尔不等系数、相关系数至少其中之一;判断所述评价指标是否满足预设条件,若不满足,则调整所述高低不平顺预测模型的结构。According to an aspect of the embodiments herein, after training the parameters in the roughness prediction model according to the sample data set, the method further includes: identifying the vehicle running data in the test sample by using the roughness prediction model for which the parameters have been determined; Calculate the evaluation index according to the prediction result of the vehicle operation data in the test sample, wherein the evaluation index is at least one of mean absolute error, root mean square error, Hill inequality coefficient, and correlation coefficient; determine whether the evaluation index is The preset conditions are met, and if not, the structure of the unevenness prediction model is adjusted.

本文实施例还提供了一种轨道高低不平顺预测装置,包括:车辆运行数据获取模块,用于获取车辆运行数据,所述车辆运行数据包括车辆加速度及车辆速度;The embodiments herein also provide an apparatus for predicting track irregularity, including: a vehicle operation data acquisition module, configured to acquire vehicle operation data, where the vehicle operation data includes vehicle acceleration and vehicle speed;

确定模块,用于将所述车辆运行数据输入至预先建立的高低不平顺预测模型,获取高低不平顺数据,所述高低不平顺预测模型包括注意力网络、卷积神经网络及循环神经网络,所述注意力网络用于确定所述车辆运行数据的关注权重,所述卷积神经网络用于确定所述关注权重的车辆运行数据的波形特征;所述循环神经网络用于根据所述波形特征,确定高低不平顺数据。The determination module is used to input the vehicle operation data into a pre-established roughness prediction model to obtain the roughness data, and the roughness prediction model includes an attention network, a convolutional neural network and a recurrent neural network, so The attention network is used to determine the attention weight of the vehicle operation data, and the convolutional neural network is used to determine the waveform characteristics of the vehicle operation data of the attention weight; the recurrent neural network is used to, according to the waveform characteristics, Determine the jagged data.

本文实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的方法。The embodiments herein also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the above method when executing the computer program.

本文实施例还提供了一种计算机可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现上述的方法。The embodiments herein also provide a computer-readable storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, implement the above-mentioned method.

本方案的轨道高低不平顺预测方法和装置,可以实时预估不同铁路线路、不同轨下基础的轨道长波高低和中波高低,并且对桥梁地段和地基地段均有较好的预测效果。有效预测由简支梁跨度、轨道板长度等引起的周期性不平顺,从而快速实时获悉轨道不平顺状态,为调整轨道设备、调整列车运行提供了安全支撑,节省人力物力成本,提高作业效率,提高了列车运行的安全性。The method and device for predicting track irregularity in this scheme can real-time predict the long-wave and medium-wave heights of different railway lines and foundations under different tracks, and have good prediction effects on bridge sections and foundation sections. Effectively predict the periodic irregularity caused by simply supported beam span, track slab length, etc., so as to quickly know the track irregularity state in real time, provide safety support for adjusting track equipment and train operation, save labor and material costs, and improve operation efficiency. Improve the safety of train operation.

附图说明Description of drawings

为了更清楚地说明本文实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本文的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only For some embodiments herein, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative effort.

图1所示为本文实施例一种轨道高低不平顺预测方法的流程图;FIG. 1 is a flowchart of a method for predicting track irregularity according to an embodiment of this paper;

图2所示为本文实施例一种高低不平顺预测模型的训练方法流程图;FIG. 2 is a flowchart of a training method for a roughness prediction model according to an embodiment of this paper;

图3所示为本文实施例一种高低不平顺预测模型训练方法的流程图;3 is a flowchart of a method for training a roughness prediction model according to an embodiment of this paper;

图4所示为本文实施例一种调整高低不平顺预测模型结构的方法流程图;FIG. 4 is a flow chart of a method for adjusting the structure of an unevenness prediction model according to an embodiment of this paper;

图5所示为本文实施例一种注意力网络的结构示意图;FIG. 5 is a schematic structural diagram of an attention network according to an embodiment of this paper;

图6所示为本文实施例一种卷积神经网络的结构示意图;FIG. 6 is a schematic structural diagram of a convolutional neural network according to an embodiment of this paper;

图7所示为本文实施例一种门限循环单元的结构示意图;FIG. 7 is a schematic structural diagram of a threshold cycle unit according to an embodiment of this document;

图8所示为所示为本文实施例一种高低不平顺预测装置的结构示意图;FIG. 8 is a schematic structural diagram of a device for predicting unevenness according to an embodiment of the present disclosure;

图9所示为本文实施例高低不平顺预测装置的具体结构示意图;FIG. 9 is a schematic diagram showing the specific structure of the device for predicting the unevenness according to the embodiment of this paper;

图10所示为本文实施例一种高低不平顺预测模型的结构示意图;FIG. 10 is a schematic structural diagram of a roughness prediction model according to an embodiment of this paper;

图11所示为本文实施例一种计算机设备的结构示意图。FIG. 11 is a schematic structural diagram of a computer device according to an embodiment of this document.

附图符号说明:Description of the symbols in the drawings:

801、车辆运行数据获取单元;801. A vehicle operation data acquisition unit;

8011、车辆加速度获取模块;8011. A vehicle acceleration acquisition module;

8012、车辆速度获取模块;8012. The vehicle speed acquisition module;

802、高低不平顺预测数据获取单元;802. A unit for obtaining data for prediction of unevenness;

8021、高低不平顺预测模型训练模块;8021. The training module of the unevenness prediction model;

8022、数据预处理模块;8022. Data preprocessing module;

8023、模型调整模块;8023. Model adjustment module;

1102、计算机设备;1102. Computer equipment;

1104、处理器;1104. processor;

1106、存储器;1106. memory;

1108、驱动机构;1108. Drive mechanism;

1110、输入/输出模块;1110. Input/output module;

1112、输入设备;1112. Input device;

1114、输出设备;1114. Output device;

1116、呈现设备;1116. Presentation equipment;

1118、图形用户接口;1118. Graphical user interface;

1120、网络接口;1120. network interface;

1122、通信链路;1122. Communication link;

1124、通信总线。1124. A communication bus.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本文实施例中的附图,对本文实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本文一部分实施例,而不是全部的实施例。基于本文中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本文保护的范围。In order to make those skilled in the art better understand the technical solutions in this specification, the technical solutions in the embodiments will be clearly and completely described below with reference to the accompanying drawings in the embodiments. Obviously, the described implementation Examples are only some of the embodiments herein, but not all of the embodiments. Based on the embodiments herein, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection herein.

需要说明的是,本文的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本文的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、装置、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the description and claims herein and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances such that the embodiments herein described can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

本说明书提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的系统或装置产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行。This specification provides method operation steps as described in the embodiments or flow charts, but more or less operation steps may be included based on routine or non-creative work. The sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence. When an actual system or device product is executed, the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel.

需要说明的是,本文的轨道不平顺预测方法可用于交通运输领域,本文对轨道不平顺预测方法及装置的应用领域不做限定。It should be noted that the track irregularity prediction method in this paper can be used in the field of transportation, and the application field of the track irregularity prediction method and device is not limited in this paper.

如图1所示为本文实施例一种轨道高低不平顺预测方法的流程图,其中具体包括如下步骤:FIG. 1 is a flowchart of a method for predicting track irregularity according to an embodiment of this paper, which specifically includes the following steps:

步骤101,获取车辆运行数据,所述车辆运行数据包括车辆加速度及车辆速度。在本步骤中,车辆运行数据包括车辆加速度和车辆运行速度。其中,车辆加速度包括车辆横向加速度(LVBA,Lateral Vehicle Body Acceleration)和车辆垂向加速度(VVBA,VerticalVehicle Body Acceleration)。其中,车辆加速度、车辆速度可以视作与里程序列数据对应的空间序列数据,与轨道几何不平顺相关。在本步骤中,可以通过安装在车辆或轨旁的信号设备或传感器(例如,安装在车辆转向架上的陀螺仪或加速度计)获取车辆运行数据。并且,可以按照一定里程间隔或采样间隔采集车辆运行数据。例如,按照0.25米/次的采样间隔获取车辆加速度和车辆速度。本步骤中获取的车辆运行数据与里程数据一一对应。例如,某线路长度为10公里,按照0.25米/次的采样间隔可以获取4万个车辆运行数据(包括4万个车辆加速度和4万个车辆速度),该4万个车辆运行数据与里程数据一一对应。即,每一个里程数据对应1个车辆加速度和车辆运行速度。由此,每一个里程数据与其对应的每一车辆运行数据(包括车辆速度、车辆加速度)可以形成一个数组。该10公里线路上的里程数据和车辆运行数据可以形成4万个数组序列。Step 101: Obtain vehicle operation data, where the vehicle operation data includes vehicle acceleration and vehicle speed. In this step, the vehicle operation data includes vehicle acceleration and vehicle operation speed. The vehicle acceleration includes vehicle lateral acceleration (LVBA, Lateral Vehicle Body Acceleration) and vehicle vertical acceleration (VVBA, Vertical Vehicle Body Acceleration). Among them, the vehicle acceleration and vehicle speed can be regarded as the spatial sequence data corresponding to the mileage sequence data, and are related to the track geometric irregularity. In this step, vehicle operation data may be acquired through signal devices or sensors installed on the vehicle or trackside (eg, gyroscopes or accelerometers installed on the vehicle bogie). In addition, vehicle operation data can be collected at certain mileage intervals or sampling intervals. For example, vehicle acceleration and vehicle speed are obtained at a sampling interval of 0.25 m/time. The vehicle running data obtained in this step corresponds to the mileage data one-to-one. For example, if a line is 10 kilometers long, 40,000 pieces of vehicle operation data (including 40,000 pieces of vehicle acceleration and 40,000 pieces of vehicle speed) can be obtained according to the sampling interval of 0.25m/time. The 40,000 pieces of vehicle operation data and mileage data One-to-one correspondence. That is, each mileage data corresponds to one vehicle acceleration and vehicle running speed. Thus, each mileage data and each corresponding vehicle running data (including vehicle speed and vehicle acceleration) can form an array. The mileage data and vehicle operation data on the 10-kilometer line can form 40,000 array sequences.

步骤102,将所述车辆运行数据输入至预先建立的高低不平顺预测模型,获取高低不平顺数据,其中,所述高低不平顺预测模型包括注意力网络、卷积神经网络及循环神经网络,所述注意力网络用于确定所述车辆运行数据的关注权重,所述卷积神经网络用于确定具有关注权重的车辆运行数据的波形特征;所述循环神经网络用于根据所述波形特征,确定高低不平顺数据。Step 102: Input the vehicle operation data into a pre-established roughness prediction model to obtain the roughness data, wherein the roughness prediction model includes an attention network, a convolutional neural network and a recurrent neural network, so The attention network is used to determine the attention weight of the vehicle operation data, and the convolutional neural network is used to determine the waveform characteristics of the vehicle operation data with the attention weight; the recurrent neural network is used to determine the waveform characteristics according to the waveform characteristics Uneven data.

在本步骤中,高低不平顺预测模型用于预测输入的车辆运行数据的高低不平顺数据。其中,输入的车辆运行数据可以包括轨检车运行时现场实时采集的车辆运行数据。在本说明书的一些实施例中,高低不平顺指钢轨顶面沿延长方向上的垂向凹凸不平顺。轨道不平顺是随着里程变化的随机过程,不同位置的轨道不平顺的幅值和波长可能并不相同。通常情况下,行车速度越高,轨道不平顺的波长范围越大。高低不平顺按波长分,可以分为短波高低不平顺、中波高低不平顺和长波高低不平顺。由于短波高低不平顺引起的激振频率高,对车辆加速度影响不大,因此本申请忽略较小波长的轨道不平顺对车辆加速度的影响,本申请主要关注长波高低不平顺和中波高低不平顺,因此以长波高低不平顺和中波高低不平顺为例进行讨论。在本说明书的一些实施例中,设定长波高低不平顺为是波长在70米至120米之间的高低不平顺,中波高低不平顺可以是波长在42米至70米之间的高低不平顺。具体的,长波高低不平顺和中波高低不平顺的波长范围可以根据具体应用场景中列车运行速度的变化而调整,本申请在此不作限定。In this step, the roughness prediction model is used to predict the roughness data of the input vehicle operation data. The input vehicle operation data may include vehicle operation data collected in real time on the spot when the rail inspection vehicle is running. In some embodiments of this specification, the unevenness refers to the vertical unevenness of the top surface of the rail along the extension direction. Track irregularity is a random process that changes with mileage, and the amplitude and wavelength of track irregularity at different locations may not be the same. In general, the higher the driving speed, the greater the wavelength range of track irregularities. The roughness can be divided into short wave roughness, medium wave roughness and long wave roughness according to the wavelength. Since the excitation frequency caused by short-wave irregularities is high and has little effect on vehicle acceleration, this application ignores the impact of track irregularities with smaller wavelengths on vehicle acceleration, and this application mainly focuses on long-wave irregularities and medium-wave irregularities , so the long-wave unevenness and the medium-wave unevenness are used as examples to discuss. In some embodiments of the present specification, the long-wave roughness is set as the roughness with a wavelength between 70 meters and 120 meters, and the medium-wave roughness can be the unevenness with a wavelength between 42 meters and 70 meters. smooth. Specifically, the wavelength ranges of the long-wave roughness and the medium-wave roughness can be adjusted according to the change of the train running speed in the specific application scenario, which is not limited in this application.

在本说明书的一些实施例中,高低不平顺预测模型包括注意力网络、卷积神经网络和循环神经网络。其中,注意力网络用于输入车辆运行数据,使模型自动学习对输出的高低不平顺贡献较大的输入数据,注意力网络的后端为卷积神经网络和循环神经网络的组合,分别用于学习车辆运行数据的波形特征和潜藏的序列信息、趋势信息。其中,循环神经网络包括但不参与门限循环单元(GRU,Gated Recurrent Units)、长短期记忆(LSTM,LongShort-Term Memory)等中的一种或其任意组合。高低不平顺预测模型的结构可见图10。In some embodiments of this specification, the roughness prediction model includes an attention network, a convolutional neural network, and a recurrent neural network. Among them, the attention network is used to input vehicle operation data, so that the model can automatically learn the input data that contributes more to the output unevenness. The back end of the attention network is a combination of convolutional neural network and recurrent neural network, which are used for Learn the waveform characteristics and hidden sequence information and trend information of vehicle operation data. Wherein, the recurrent neural network includes but does not participate in one of Gated Recurrent Units (GRU, Gated Recurrent Units), Long Short-Term Memory (LSTM, LongShort-Term Memory), etc. or any combination thereof. The structure of the unevenness prediction model can be seen in Figure 10.

如图2所示为本文实施例一种高低不平顺预测模型的训练方法流程图。具体包括:FIG. 2 is a flowchart of a training method for a roughness prediction model according to an embodiment of this document. Specifically include:

步骤201,确定车辆运行数据的样本数据集,所述样本数据集包括车辆历史加速度和车辆历史速度及对应的历史高低不平顺数据。Step 201: Determine a sample data set of vehicle operation data, where the sample data set includes historical vehicle acceleration, historical vehicle speed and corresponding historical high and low roughness data.

在本步骤中,样本数据集中的车辆历史加速度为历史轨道检测试验中获取的车辆加速度,车辆历史速度为历史轨道检测试验中获取的车辆速度,历史高低不平顺数据为历史试验中车辆历史速度、车辆历史加速度对应的历史高低不平顺数据。例如,样本数据集为2021年12月京沪线某10公里检测段获取的车辆速度、车辆加速度及分别对应的高低不平顺数据。其中,样本数据集中的样本数据可以来自于不同线路、不同轨下基础的一次或多次训练及测试。In this step, the historical acceleration of the vehicle in the sample data set is the vehicle acceleration obtained in the historical track detection test, the historical vehicle speed is the vehicle speed obtained in the historical track detection test, and the historical high and low roughness data is the historical vehicle speed in the historical test, The historical high and low roughness data corresponding to the historical acceleration of the vehicle. For example, the sample data set is the vehicle speed, vehicle acceleration and corresponding high and low unevenness data obtained in a 10-kilometer detection section of the Beijing-Shanghai line in December 2021. Among them, the sample data in the sample data set can come from one or more times of training and testing based on different routes and different tracks.

步骤202,根据所述样本数据集,训练高低不平顺预测模型中的参数。在本步骤中,根据车辆历史加速度、车辆历史速度及对应的历史高低不平顺数据,训练高低不平顺预测模型中的注意力网络、卷积神经网络及循环神经网络的参数,完成高低不平顺预测模型的训练。在本说明书的一些实施例中,注意力网络包括但不限于注意力机制和自注意力机制,卷积神经网络包括但不限于CNN神经网络,循环神经网络包括但不限于门限循环单元(GRU,Gated Recurrent Unit)和LSTM长短期记忆(LSTM,Long Short-Term Memory)。本步骤中关于注意力网络、卷积神经网络、循环神经网络的具体描述详见图5至图7。Step 202, according to the sample data set, train parameters in the unevenness prediction model. In this step, the parameters of the attention network, convolutional neural network and recurrent neural network in the roughness prediction model are trained according to the historical acceleration of the vehicle, the historical speed of the vehicle and the corresponding historical roughness data to complete the roughness prediction Model training. In some embodiments of this specification, attention networks include but are not limited to attention mechanisms and self-attention mechanisms, convolutional neural networks include but are not limited to CNN neural networks, and recurrent neural networks include but are not limited to gated recurrent units (GRU, Gated Recurrent Unit) and LSTM Long Short-Term Memory (LSTM, Long Short-Term Memory). Detailed descriptions of the attention network, convolutional neural network, and recurrent neural network in this step are shown in Figures 5 to 7.

图3所示为本文实施例一种高低不平顺预测模型训练方法的流程图,具体包括:FIG. 3 shows a flowchart of a method for training an unevenness prediction model according to an embodiment of this paper, which specifically includes:

步骤301,确定高低不平顺预测模型中的注意力网络、卷积神经网络、循环神经网络的初始参数。在本步骤中,可以使用常规的注意力网络、卷积神经网络和循环神经网络组成初始高低不平顺预测模型。高低不平顺预测模型中的注意力网络、卷积神经网络、循环神经网络的初始参数即为注意力网络、卷积神经网络、循环神经网络分别初始规定的参数。具体参数包括但不限于:网络结构、网络层数、每一层网络的权重及偏移量等。例如,高低不平顺预测模型中的注意力网络的参数为:层数为2层,第一层的权重为W1,第二层的权重为W2;又例如,高低不平顺预测模型中的卷积神经网络的参数为:曾是为3层,第一层的偏移量为b1,第二层的偏移量为b2,第三层的偏移量为b3。本申请中的高低不平顺预测模型中的各个模型的初始参数可以有其他任意变形,本申请在此不作限定。Step 301: Determine the initial parameters of the attention network, the convolutional neural network, and the recurrent neural network in the unevenness prediction model. In this step, conventional attention network, convolutional neural network and recurrent neural network can be used to form an initial roughness prediction model. The initial parameters of the attention network, the convolutional neural network and the cyclic neural network in the unevenness prediction model are the parameters initially specified for the attention network, the convolutional neural network and the cyclic neural network respectively. Specific parameters include but are not limited to: network structure, number of network layers, weights and offsets of each layer of network, etc. For example, the parameters of the attention network in the unevenness prediction model are: the number of layers is 2, the weight of the first layer is W1, and the weight of the second layer is W2; for another example, the convolution in the unevenness prediction model The parameters of the neural network are: used to be 3 layers, the offset of the first layer is b1, the offset of the second layer is b2, and the offset of the third layer is b3. The initial parameters of each model in the roughness prediction model in this application may have other arbitrary deformations, which are not limited in this application.

步骤302,将所述样本数据集输入至所述高低不平顺预测模型中,获取高低不平顺预测数据。将样本数据集中的车辆历史加速度、车辆历史速度及对应的历史高低不平顺数据输入至高低不平顺预测模型,可以获取预测的与输入的每一样本数据一一对的高低不平顺数据。该预测得到的高低不平顺数据可能与实际高低不平顺数据存在一定差距,因此,需要进一步训练高低不平顺预测模型。Step 302: Input the sample data set into the roughness prediction model to obtain the roughness prediction data. Input the historical vehicle acceleration, vehicle speed and corresponding historical roughness data in the sample data set into the roughness prediction model, and the predicted roughness data can be obtained one-to-one with each input sample data. The roughness data obtained by the prediction may have a certain gap with the actual roughness data. Therefore, it is necessary to further train the roughness prediction model.

步骤303,根据所述高低不平顺预测数据与历史高低不平顺数据构建损失函数。在本步骤中,损失函数表示预测得到的高低不平顺数据与历史实际获取得到的高低不平顺数据的差异。根据预测得到的高低不平顺数据与历史实际获取得到的高低不平顺数据的差值构建损失函数。在本说明书的一些实施例中,损失函数包括但不限于均方误差损失函数、交叉熵损失函数、指数损失函数等。Step 303 , constructing a loss function according to the prediction data of unevenness and the historical data of unevenness. In this step, the loss function represents the difference between the predicted unevenness data and the actual unevenness data obtained in the history. A loss function is constructed according to the difference between the predicted unevenness data and the actual unevenness data obtained in history. In some embodiments of this specification, the loss function includes, but is not limited to, a mean square error loss function, a cross entropy loss function, an exponential loss function, and the like.

步骤304,利用所述损失函数训练所述预先建立的高低不平顺预测模型中各网络的参数。损失函数用于计算步骤302中得到的高低不平顺预测数据与历史高低不平顺预测数据的差值。当差值不满足预先设定的差值范围时,不断调整高低不平顺预测模型中各个网络的参数,进一步继续训练高低不平顺预测模型,直到损失函数的值小于一定范围,确定训练好的高低不平顺预测模型。具体的,在模型训练过程中,当损失函数的差值不满足预定的差值范围时,通过不断优化模型中各个网络每一层之间的权重和偏移量来最小化损失函数。在一些实施例中,还可以通过对训练的模型进行超参数优化。具体的,所述超参数可以包括学习率、迭代次数、批次大小等参数。其中,学习率指在优化算法中更新网络权重的幅度大小,迭代次数指整个训练集样本输入神经网络进行训练的次数,批次大小是每一次训练神经网络送入模型的样本的数量。Step 304, using the loss function to train the parameters of each network in the pre-established roughness prediction model. The loss function is used to calculate the difference between the predicted roughness data obtained in step 302 and the predicted data of historical irregularities. When the difference does not meet the preset difference range, continuously adjust the parameters of each network in the unevenness prediction model, and further continue to train the unevenness prediction model until the value of the loss function is less than a certain range, and determine the trained level. Roughness prediction model. Specifically, in the model training process, when the difference of the loss function does not meet the predetermined difference range, the loss function is minimized by continuously optimizing the weights and offsets between each layer of each network in the model. In some embodiments, hyperparameter optimization can also be performed on the trained model. Specifically, the hyperparameters may include parameters such as the learning rate, the number of iterations, and the batch size. Among them, the learning rate refers to the magnitude of updating the network weights in the optimization algorithm, the number of iterations refers to the number of times the entire training set samples are input into the neural network for training, and the batch size refers to the number of samples that are fed into the model each time the neural network is trained.

在本说明书的一些实施例中,在获取车辆运行数据之后,还包括:对所述车辆运行数据执行数据预处理,其中,所述数据预处理至少包括:趋势项滤除、数据标准化、逆序处理;将所述车辆运行数据输入至预先建立的高低不平顺预测模型进一步为将预处理后得到的车辆运行数据输入至预先建立的高低不平顺预测模型。In some embodiments of this specification, after acquiring the vehicle operation data, the method further includes: performing data preprocessing on the vehicle operation data, wherein the data preprocessing at least includes: trend item filtering, data normalization, and reverse order processing ; inputting the vehicle operation data into the pre-established roughness prediction model and further inputting the vehicle operation data obtained after preprocessing into the pre-established roughness prediction model.

在本说明书的一些实施例中,这对不同的车辆运行数据差异较大的现象,为了提升高低不平顺预测模型的收敛速度,可以采用最大-最小值标准化,将样本数据集中的车辆运行数据按照一定关系约束到0至1的范围内。具体可以由如下公式处理:In some embodiments of this specification, in order to improve the convergence speed of the roughness prediction model, in order to improve the convergence speed of the roughness prediction model, the maximum-minimum standardization can be used for the phenomenon that different vehicle operation data are quite different, and the vehicle operation data in the sample data set can be adjusted according to A certain relationship is constrained to be in the range 0 to 1. Specifically, it can be processed by the following formula:

Figure BDA0003476235420000081
Figure BDA0003476235420000081

式中:x为样本数据集中的车辆运行数据,xnorm为标准化后的数据,xmax和xmin分别为样本数据集中的车辆运行数据的最大值和最小值。where x is the vehicle running data in the sample data set, x norm is the standardized data, and x max and x min are the maximum and minimum values of the vehicle running data in the sample data set, respectively.

在本说明书的一些实施例中,对车辆运行数据进行逆序处理包括:设置每相邻L+1个时间间隔的车辆运行数据为一数据组;将每一数据组进行倒序处理。在本说明书的一些实施例中,轨道高低不平顺与车辆加速度在时间域上不同步。车辆加速度取决于某一时刻的轨道高低不平顺和过去时刻的轨道高低不平顺。因此,对车辆运行数据(例如,车辆加速度)在时间域上的顺序进行颠倒,可以捕捉到输入输出的因果关系。In some embodiments of this specification, performing reverse order processing on the vehicle operation data includes: setting the vehicle operation data of every adjacent L+1 time interval as a data group; and performing reverse order processing on each data group. In some embodiments of the present specification, track roughness and vehicle acceleration are not synchronized in the time domain. The acceleration of the vehicle depends on the track roughness at a certain moment and the track roughness at a past moment. Therefore, reversing the order of vehicle operation data (eg, vehicle acceleration) in the time domain can capture the causal relationship between input and output.

具体的,将输入数据以向量X表示。输入数据为车辆垂向加速度、车辆横向加速度和车辆速度,分别以

Figure BDA0003476235420000091
其中,可以设定当i为1时,X1可以表示车辆垂向加速度,当i为2时,X2可以表示车辆横向加速,当i为3时,X3可以表示车辆速度,t表示当前时刻,L表示预先设定的时间间隔。其中,每一个输入向量中包括多个数组,每一个数组中包含L+1个时刻对应的数据。对应的,输出数据由Y表示,
Figure BDA0003476235420000092
j表示向量Y的2个维度,分别为中波高低不平顺和长波高低不平顺。将输入的车辆横向加速度、车辆垂向加速度和车辆速度数据与输出的高低不平顺数据按照一定步长进行滑动,可以预测出整条线路的高低不平顺。例如,设置L为5。则输入向量为车辆垂向加速度:
Figure BDA0003476235420000093
表示车辆垂向加速度中包括多个数组。其中第一个数组为某一t时刻的车辆垂向加速度、该t时刻后的第1个时刻的垂向加速度……、该t时刻后的第5个车辆垂向加速度。其中第二个数组为某一t+1时刻的车辆垂向加速度、该t+1时刻后的第1个时刻的车辆垂向加速度……该t+1时刻后的第5个车辆垂向加速度。输入向量为车辆横向加速度:
Figure BDA0003476235420000094
Figure BDA0003476235420000095
表示车辆横向加速度中包括某一时刻t的车辆垂向加速度、该t时刻后的第1个时刻的垂向加速度……、该t时刻后的第5个车辆垂向加速度。该时刻在本申请中,L的具体数值可以预先由系统设定,也可以根据线路情况、预测情况实时调整。Specifically, the input data is represented by a vector X. The input data are vehicle vertical acceleration, vehicle lateral acceleration and vehicle speed, respectively
Figure BDA0003476235420000091
Among them, it can be set that when i is 1, X 1 can represent the vertical acceleration of the vehicle, when i is 2, X 2 can represent the lateral acceleration of the vehicle, when i is 3, X 3 can represent the vehicle speed, and t represents the current Time, L represents a preset time interval. Among them, each input vector includes multiple arrays, and each array includes data corresponding to L+1 moments. Correspondingly, the output data is represented by Y,
Figure BDA0003476235420000092
j represents the two dimensions of the vector Y, which are medium wave roughness and long wave roughness. By sliding the input vehicle lateral acceleration, vehicle vertical acceleration and vehicle speed data with the output unevenness data according to a certain step size, the unevenness of the entire line can be predicted. For example, set L to 5. Then the input vector is the vertical acceleration of the vehicle:
Figure BDA0003476235420000093
Indicates that multiple arrays are included in the vertical acceleration of the vehicle. The first array is the vertical acceleration of the vehicle at a certain time t, the vertical acceleration of the first time after the time t..., the vertical acceleration of the fifth vehicle after the time t. The second array is the vertical acceleration of the vehicle at a certain time t+1, the vertical acceleration of the vehicle at the first time after the time t+1...the fifth vertical acceleration of the vehicle after the time t+1 . The input vector is the lateral acceleration of the vehicle:
Figure BDA0003476235420000094
Figure BDA0003476235420000095
Indicates that the lateral acceleration of the vehicle includes the vertical acceleration of the vehicle at a certain time t, the vertical acceleration of the first time after the time t, and the fifth vertical acceleration of the vehicle after the time t. In this application, the specific value of L can be set in advance by the system, and can also be adjusted in real time according to the line conditions and forecast conditions.

如上文所述,将里程数据处理为里程序列,线路上的每一个车辆垂向加速度、车辆横向加速度和车辆速度可以与里程序列一一对应。将一定长度范围内的车辆运行数据及通过高低不平顺预测模型预测得到的高低不平顺预测数据组成多个序列数据,可以作为整条线路的高低不平顺。按照里程序列将沿线路每隔0.25米采集的车辆运行数据对应输出的高低不平顺幅值连接成波形曲线,可以获取轨道高低不平顺的曲线波形图。As described above, the mileage data is processed into a mileage sequence, and each vehicle vertical acceleration, vehicle lateral acceleration and vehicle speed on the route can be in a one-to-one correspondence with the mileage sequence. The vehicle operation data within a certain length range and the roughness prediction data predicted by the roughness prediction model are composed of multiple sequence data, which can be used as the roughness of the entire line. According to the mileage sequence, the amplitude of the high and low irregularity output corresponding to the vehicle running data collected every 0.25 meters along the line is connected into a waveform curve, and the waveform of the track irregularity curve can be obtained.

在本说明书的一些实施例中,对车辆运行数据执行趋势项滤除包括:利用最小二乘拟合、小波分解、凸优化、平滑先验、变分模态分解、傅里叶变换中的至少一种方法确定所述车辆运行数据的趋势项;滤除所述趋势项。在本说明书的一些实施例中,步骤101中采集到的车辆运行数据可能因为车辆传感器频率范围外低频性能的不稳定及传感器周围环境的干扰,可能会发生采集到的数据偏离基线的情况。进一步的,采集到的车辆运行数据偏离基线的程度可能随时间发生变化。在本说明书的一些实施例中,需要对车辆运行数据偏离基线随时间变化的过程中对采集数据的正确性产生影响的部分进行滤除,即为,趋势项滤除。可以进一步对时域上采集到的信号进行提纯,获得较为准确的车辆运行数据。在本说明书的一些实施例中,可以使用最小二乘法拟合、小波分解、凸优化、平滑先验、变分模态分解、傅里叶变换中的至少一个对所述车辆运行数据的趋势项进行滤除,得到提纯处理后的车辆速度、车辆横向加速度和车辆垂向加速度。In some embodiments of the present specification, performing trend term filtering on the vehicle operating data includes utilizing at least one of least squares fitting, wavelet decomposition, convex optimization, smooth prior, variational modal decomposition, Fourier transform A method determines a trending item of the vehicle operating data; filtering out the trending item. In some embodiments of this specification, the vehicle operation data collected in step 101 may deviate from the baseline due to unstable low frequency performance outside the vehicle sensor frequency range and interference from the surrounding environment of the sensor. Further, the degree to which the collected vehicle operation data deviates from the baseline may vary over time. In some embodiments of the present specification, it is necessary to filter out the part that affects the correctness of the collected data in the process that the vehicle operation data deviates from the baseline and changes over time, that is, trend item filtering. The signals collected in the time domain can be further purified to obtain more accurate vehicle operation data. In some embodiments of the present specification, at least one of least squares fitting, wavelet decomposition, convex optimization, smooth prior, variational modal decomposition, and Fourier transform may be used for the trend term of the vehicle operating data Perform filtering to obtain the purified vehicle speed, vehicle lateral acceleration and vehicle vertical acceleration.

如图4所示为本文实施例一种调整高低不平顺预测模型结构的方法流程图。具体包括如下步骤:FIG. 4 is a flow chart of a method for adjusting the structure of a prediction model for unevenness according to an embodiment of this document. Specifically include the following steps:

步骤401,利用参数已定的高低不平顺预测模型识别测试样本中的车辆运行数据。在本步骤中,测试样本为实际进行模型应用时选择的数据样本,测试样本包括车辆测试速度、车辆测试横向加速度及车辆测试垂向加速度。使用训练好的高低不平顺预测模型识别测试样本中的车辆运行数据,可以得到测试样本对应的高低不平顺预测结果。Step 401 , identifying the vehicle running data in the test sample by using the roughness prediction model whose parameters have been determined. In this step, the test sample is the data sample selected when the model is actually applied, and the test sample includes the vehicle test speed, the vehicle test lateral acceleration and the vehicle test vertical acceleration. Using the trained roughness prediction model to identify the vehicle running data in the test sample, the roughness prediction result corresponding to the test sample can be obtained.

步骤402,根据测试样本中车辆运行数据的测试结果,计算评价指标。其中,所述评价指标为平均绝对误差、均方根误差、希尔不等系数、相关系数其中至少之一。在本步骤中,将测试样本输入至车辆运行数据后得到的测试结果为测试样本对应的高低不平顺数据。本步骤使用一个或多个评价指标评价模型输出的高低不平顺数据的准确度。例如,若高低不平顺预测模型输出的是高低不平顺数据,可以使用平均绝对误差和均方根误差来判断输出的高低不平顺数据的正确率。即,分类正确的数据数量与总输出数据数量的比例。Step 402: Calculate the evaluation index according to the test result of the vehicle operation data in the test sample. Wherein, the evaluation index is at least one of mean absolute error, root mean square error, Hill inequality coefficient, and correlation coefficient. In this step, the test result obtained after inputting the test sample into the vehicle operation data is the roughness data corresponding to the test sample. In this step, one or more evaluation indicators are used to evaluate the accuracy of the uneven data output by the model. For example, if the roughness prediction model outputs roughness data, the mean absolute error and the root mean square error can be used to judge the correct rate of the output roughness data. That is, the ratio of the number of correctly classified data to the total number of output data.

步骤403,判断所述评价指标是否满足预设条件,若不满足,则调整所述高低不平顺预测模型中的结构。在本步骤中,对应于一个或多个评价指标,本步骤中具有一个或多个预设条件。例如,预设条件为分类结果正确率大于一定阈值或分类结果错误率小于等于一定阈值等。当评价指标满足预设正确率的阈值条件,则不调整高低不平顺预测模型;当评价指标不满足预设正确率的阈值条件,则调整高低不平顺预测模型中的注意力网络、卷积神经网络或循环神经网络的网络结构或参数。Step 403, judging whether the evaluation index satisfies the preset condition, if not, adjusting the structure in the unevenness prediction model. In this step, corresponding to one or more evaluation indicators, there are one or more preset conditions in this step. For example, the preset condition is that the correct rate of the classification result is greater than a certain threshold or the error rate of the classification result is less than or equal to a certain threshold, or the like. When the evaluation index meets the threshold condition of the preset accuracy rate, the unevenness prediction model is not adjusted; when the evaluation index does not meet the threshold condition of the preset accuracy rate, the attention network and convolutional neural network in the unevenness prediction model are adjusted. The network structure or parameters of a network or recurrent neural network.

图5所示为本文实施例一种注意力网络的结构示意图。注意力网络根据输入的车辆运行数据对输出数据的重要性或贡献程度的大小,学习并赋予输入数据不同的权重,关注输入数据的特征维度,将注意力作用在输入的特征维度上。在本说明书的一些实施例中,根据历史试验可知,车辆垂向加速度与高低不平顺的相关性最大,或,车辆垂向加速度对高低不平顺的重要性最大,因此,注意力网络经过学习训练,将关注对高低不平顺贡献最大的车辆横向加速度这一参数。FIG. 5 is a schematic structural diagram of an attention network according to an embodiment of this paper. The attention network learns and assigns different weights to the input data according to the importance or contribution of the input vehicle operation data to the output data, pays attention to the feature dimension of the input data, and acts on the feature dimension of the input. In some embodiments of this specification, it can be known from historical experiments that the correlation between the vertical acceleration of the vehicle and the roughness is the greatest, or the vertical acceleration of the vehicle has the greatest importance on the roughness. Therefore, the attention network is learned and trained. , we will focus on the parameter of lateral acceleration of the vehicle that contributes the most to the roughness.

假设用向量X1,X2,X3分别表示车辆运行数据中的车辆垂向加速度、车辆横向加速度和车辆速度。那么第1层注意力:It is assumed that vectors X 1 , X 2 , and X 3 are used to represent the vehicle vertical acceleration, vehicle lateral acceleration and vehicle speed in the vehicle operation data, respectively. Then layer 1 attention:

Figure BDA0003476235420000111
Figure BDA0003476235420000111

α1=[α111213]=Softmax(XW1 T)α 1 =[α 111213 ]=Softmax(XW 1 T )

s1=[s11,s12,s13]=Multiply(Xα1 T)=[X1α11,X2α12,X3α13]s 1 =[s 11 ,s 12 ,s 13 ]=Multiply(Xα 1 T )=[X 1 α 11 ,X 2 α 12 ,X 3 α 13 ]

第2层注意力为:The second layer of attention is:

α2=[α212223]=Softmax(s1W2 T)α 2 =[α 212223 ]=Softmax(s 1 W 2 T )

s2=[s21,s22,s23]=Multiply(s1α2 T)=[X1α11α21,X2α12α22,X3α13α23]s 2 =[s 21 ,s 22 ,s 23 ]=Multiply(s 1 α 2 T )=[X 1 α 11 α 21 ,X 2 α 12 α 22 ,X 3 α 13 α 23 ]

上述各式中:W1,W2表示注意力网络待学习的权重矩阵;α12表示注意力网络自动学习的注意力权重向量;Multiply表示矩阵或向量对应元素相乘;s1,s2表示Multiply操作的输出。在本申请中,注意力机网络的层数和具体结构可以是其他任意形数量,本申请对此不作限定。In the above formulas: W 1 , W 2 represent the weight matrix to be learned by the attention network; α 1 , α 2 represent the attention weight vector automatically learned by the attention network; Multiply represents the multiplication of the corresponding elements of the matrix or vector; s 1 , s 2 represents the output of the Multiply operation. In this application, the number of layers and the specific structure of the attention machine network can be any other arbitrary number, which is not limited in this application.

图6所示为本文实施例一种卷积神经网络的结构示意图。如图所示,卷积神经网络主要包括一维卷积层与一维池化层。卷积神经网络以图5中的注意力网络的输出[X1α11X21,X2α12α22,X3α13α23]作为输入,使得卷积神经网络可以有效提取车辆加速度和车辆速度的波形特征。其中,波形特征包含在局部的车辆加速度和车辆速度波形中,并且与轨道高低不平顺相关。由于高速车辆的振动通常对轨道高低不平顺的多波长分量较为敏感,因此,使用堆叠卷积层来平衡并提取车辆加速度的波形特征。在本说明书的一些实施例中,设置卷积神经网络CNN为2层卷积层(Conv1D),卷积核数目依次为16、32,卷积核大小为1×5,步长为1,零填充。其中,卷积层的输出采用Tanh激活函数增加网络的非线性表达能力。在池化层(MaxPoolin1D)中,采用与卷积层交替的2层最大池化,池大小为1×2,步长为2,通过卷积层中的特征映射使用最大池化以提取最显著特征和减小输出维度大小。经过连续2次交替卷积和最大池化操作,挖掘出数据之间的相互关联并从中剔除噪声和不稳定成分,将处理后相对稳定的信息作为整体传入循环神经网络进一步学习序列特征并预测出高低不平顺。FIG. 6 is a schematic structural diagram of a convolutional neural network according to an embodiment of this document. As shown in the figure, the convolutional neural network mainly includes a one-dimensional convolution layer and a one-dimensional pooling layer. The convolutional neural network takes the output of the attention network in Figure 5 [X 1 α 11 X 21 , X 2 α 12 α 22 , X 3 α 13 α 23 ] as input, so that the convolutional neural network can effectively extract the vehicle acceleration and Waveform characteristics of vehicle speed. Among them, the waveform features are contained in the local vehicle acceleration and vehicle speed waveforms, and are related to the track irregularity. Since the vibration of high-speed vehicles is usually sensitive to the multi-wavelength components of track irregularities, stacked convolutional layers are used to balance and extract the waveform features of vehicle acceleration. In some embodiments of this specification, the convolutional neural network CNN is set as a 2-layer convolutional layer (Conv1D), the number of convolution kernels is 16 and 32, the size of the convolution kernel is 1×5, the stride is 1, and the number of convolution kernels is 0. filling. Among them, the output of the convolutional layer adopts the Tanh activation function to increase the nonlinear expression ability of the network. In the pooling layer (MaxPoolin1D), a 2-layer max-pooling alternating with the convolutional layers is adopted, the pool size is 1×2, and the stride is 2. feature and reduce the output dimension size. After two consecutive alternating convolution and maximum pooling operations, the correlation between the data is mined and the noise and unstable components are removed from it, and the relatively stable information after processing is passed into the recurrent neural network as a whole to further learn sequence features and predict. Out of the uneven.

图7所示为本文实施例一种门限循环单元的结构示意图。其中,GRU网络的信息传播由以下公式表示:FIG. 7 is a schematic structural diagram of a threshold cycle unit according to an embodiment of the present disclosure. Among them, the information propagation of the GRU network is represented by the following formula:

rt=σ(Wrxxt+Wrhht-1)r t =σ(W rx x t +W rh h t-1 )

zt=σ(Wzxxt+Wzhht-1)z t =σ(W zx x t +W zh h t-1 )

Figure BDA0003476235420000121
Figure BDA0003476235420000121

Figure BDA0003476235420000122
Figure BDA0003476235420000122

其中,xt为当前时刻的输入值,W为权重矩阵,

Figure BDA0003476235420000123
为点乘,σ为sigmoid函数,tanh为双曲正切函数,rt为控制重置的门控,即为重置门;zt为控制更新的门控,即为更新门;ht为当前时刻的输出值,包含上一个时刻的输出值ht-1和记忆了当前时刻的状态值
Figure BDA0003476235420000124
其中,σ函数可以将数据变换为0-1之间的数值,从而充当门控信号;tanh激活函数将数据变换为-1至1之间的数值,Wrx表示输入值xt与重置门之间的权重;Wrh表示重置门与上一个时刻的输出值ht-1之间的权重;Wzx表示输入值xt与更新门之间的权重;Wzh表示更新门与上一个时刻的输出值ht-1之间的权重;
Figure BDA0003476235420000125
表示输入值xt与记忆了当前时刻的状态值之间的权重;
Figure BDA0003476235420000126
表示记忆了当前时刻的状态值与上一个时刻的输出值ht-1之间的权重。Among them, x t is the input value at the current moment, W is the weight matrix,
Figure BDA0003476235420000123
is the point product, σ is the sigmoid function, tanh is the hyperbolic tangent function, r t is the gate that controls the reset, which is the reset gate; z t is the gate that controls the update, which is the update gate; h t is the current gate The output value of the moment, including the output value h t-1 of the previous moment and the state value of the current moment memorized
Figure BDA0003476235420000124
Among them, the σ function can transform the data into a value between 0-1, thus acting as a gate signal; the tanh activation function transforms the data into a value between -1 and 1, and W rx represents the input value x t and the reset gate W rh represents the weight between the reset gate and the output value h t-1 at the previous moment; W zx represents the weight between the input value x t and the update gate; W zh represents the update gate and the previous The weight between the output value h t-1 at the moment;
Figure BDA0003476235420000125
Represents the weight between the input value x t and the state value that has memorized the current moment;
Figure BDA0003476235420000126
Indicates that the weight between the state value at the current moment and the output value h t-1 at the previous moment is memorized.

门限循环单元的输入为当前时刻的输入xt及上一个时刻的输出值ht。门限循环控制单元中主要包括更新门和重置门。更新门zt用于控制前一时刻的状态信息被带入到当前状态中的程度,更新门的值越大,表示前一时刻的状态信息带入越多。重置门rt用于控制忽略前一时刻的状态信息的程度。由于堆叠的门限循环控制单元可以学习更高水平的序列特征,因此可以建立单层或多层门限循环控制网络。其中,每一层门限循环控制单元均具有一定的神经元个数。在本说明书的一些实施例中,建立2层GRU(如图7所示)。2层GRU神经元个数依次为64、128。GRU中的激活函数包括但不限于:Tanh、ReLu、Leaky ReLu等。另外,为了防止GRU模型过拟合,可以对每层GRU采用随机失活(Dropout)的方法,并将Dropout设置合适的比率,例如,设置Dropout的比率为0.2。在本说明书的一些实施例中,在门限循环控制单元之后设置全连接层,最终输出轨道高低不平顺数据,即为,与里程数据一一对应的轨道高低不平顺的序列。The input of the threshold loop unit is the input x t at the current moment and the output value h t at the previous moment. The threshold loop control unit mainly includes update gate and reset gate. The update gate z t is used to control the degree to which the state information of the previous moment is brought into the current state. The larger the value of the update gate is, the more the state information of the previous moment is brought in. The reset gate rt is used to control the extent to which state information from the previous moment is ignored. Since the stacked gated recurrent control units can learn higher-level sequence features, single-layer or multi-layered gated recurrent control networks can be built. Among them, each layer of threshold loop control unit has a certain number of neurons. In some embodiments of this specification, a layer 2 GRU (as shown in Figure 7) is established. The number of GRU neurons in the second layer is 64 and 128 respectively. Activation functions in GRU include but are not limited to: Tanh, ReLu, Leaky ReLu, etc. In addition, in order to prevent the GRU model from overfitting, a random dropout (Dropout) method can be used for each layer of GRU, and an appropriate ratio of Dropout can be set, for example, the ratio of Dropout is set to 0.2. In some embodiments of the present specification, a fully connected layer is set after the threshold loop control unit, and finally the track irregularity data is output, that is, the track irregularity sequence corresponding to the mileage data one-to-one.

如图8所示为本文实施例一种高低不平顺预测装置的结构示意图,在本图中描述了高低不平顺预测装置的基本结构,其中的功能单元、模块可以采用软件方式实现,也可以采用通用芯片或者特定芯片实现,所述的功能单元、模块一部分或者全部可以在静态检测、动态检测硬件上,或者其中的一部分也可以在静态检测、动态检测硬件上,实现高低不平顺预测,该装置具体包括:FIG. 8 is a schematic structural diagram of an apparatus for predicting roughness according to the embodiment of this paper. The basic structure of the apparatus for predicting roughness is described in this figure, and the functional units and modules therein can be implemented by software, or by A general-purpose chip or a specific chip is implemented, and some or all of the functional units and modules can be implemented on static detection and dynamic detection hardware, or a part of them can also be implemented on static detection and dynamic detection hardware. Specifically include:

车辆运行数据获取单元801,用于获取车辆运行数据,所述车辆运行数据包括车辆加速度及车辆速度;a vehicle operation data acquisition unit 801, configured to acquire vehicle operation data, the vehicle operation data including vehicle acceleration and vehicle speed;

高低不平顺预测数据获取单元802,用于将所述车辆运行数据输入至预先建立的高低不平顺预测模型,获取高低不平顺数据,所述高低不平顺预测模型包括注意力网络、卷积神经网络及循环神经网络,所述注意力网络用于确定所述车辆运行数据的关注权重,所述卷积神经网络用于确定具有关注权重的车辆运行数据的波形特征;所述循环神经网络用于根据所述波形特征,确定高低不平顺数据。The roughness prediction data acquisition unit 802 is used for inputting the vehicle operation data into a pre-established roughness prediction model to obtain the roughness data, and the roughness prediction model includes an attention network, a convolutional neural network and a recurrent neural network, the attention network is used to determine the attention weight of the vehicle operation data, and the convolutional neural network is used to determine the waveform characteristics of the vehicle operation data with the attention weight; The waveform features determine the roughness data.

本方案可以实时预估不同铁路线路、不同轨下基础的轨道长波高低和中波高低,并且对桥梁地段和地基地段均有较好的预测效果。有效预测由简支梁跨度、轨道板长度等引起的周期性不平顺,从而快速实时获悉轨道不平顺状态,为调整轨道设备、调整列车运行提供了安全支撑,节省人力物力成本,提高作业效率,提高了列车运行的安全性。This scheme can predict in real time the heights of long-wave and medium-wave of different railway lines and foundations under different tracks, and has a good prediction effect on bridge sections and foundation sections. Effectively predict the periodic irregularity caused by simply supported beam span, track slab length, etc., so as to quickly know the track irregularity state in real time, provide safety support for adjusting track equipment and train operation, save labor and material costs, and improve operation efficiency. Improve the safety of train operation.

作为本文的一个实施例,还可以参考如图9所示为本文实施例高低不平顺预测装置的具体结构示意图。As an embodiment of this document, reference may also be made to FIG. 9 , which is a schematic diagram of a specific structure of the apparatus for predicting unevenness according to the embodiment of this document.

作为本文的一个实施例,所述车辆运行数据获取单元801进一步包括:获取车辆加速度和车辆速度。因此,车辆运行数据获取单元801进一步包括:As an embodiment of this document, the vehicle operation data acquisition unit 801 further includes: acquiring vehicle acceleration and vehicle speed. Therefore, the vehicle operation data acquisition unit 801 further includes:

车辆加速度获取模块8011,用于获取车辆横向加速度和车辆垂向加速度;The vehicle acceleration acquisition module 8011 is used to acquire the vehicle lateral acceleration and the vehicle vertical acceleration;

车辆速度获取模块8012,用于获取车辆运行速度。The vehicle speed obtaining module 8012 is used to obtain the running speed of the vehicle.

作为本文的一个实施例,所述高低不平顺预测数据获取单元802进一步包括:训练高低不平顺预测模型、对车辆运行数据进行数据预处理、根据预测结果及评价指标对模型进行调整。因此,高低不平顺预测数据获取单元802进一步包括:As an embodiment of this document, the roughness prediction data acquisition unit 802 further includes: training a roughness prediction model, performing data preprocessing on vehicle operation data, and adjusting the model according to the prediction results and evaluation indicators. Therefore, the roughness prediction data acquisition unit 802 further includes:

高低不平顺预测模型训练模块8021,用于根据样本数据集,训练高低不平顺预测模型;The roughness prediction model training module 8021 is used to train the roughness prediction model according to the sample data set;

数据预处理模块8022,用于对车辆运行数据执行数据预处理;a data preprocessing module 8022, configured to perform data preprocessing on the vehicle operation data;

模型调整模块8023,用于根据模型输出的预测结果及评价指标调整高低不平顺预测模型的结构。The model adjustment module 8023 is configured to adjust the structure of the unevenness prediction model according to the prediction result and the evaluation index output by the model.

如图11所示,为本文实施例提供的一种计算机设备,所述计算机设备1102可以包括一个或多个处理器1104,诸如一个或多个中央处理单元(CPU),每个处理单元可以实现一个或多个硬件线程。计算机设备1102还可以包括任何存储器1106,其用于存储诸如代码、设置、数据等之类的任何种类的信息。非限制性的,比如,存储器1106可以包括以下任一项或多种组合:任何类型的RAM,任何类型的ROM,闪存设备,硬盘,光盘等。更一般地,任何存储器都可以使用任何技术来存储信息。进一步地,任何存储器可以提供信息的易失性或非易失性保留。进一步地,任何存储器可以表示计算机设备1102的固定或可移除部件。在一种情况下,当处理器1104执行被存储在任何存储器或存储器的组合中的相关联的指令时,计算机设备1102可以执行相关联指令的任一操作。计算机设备1102还包括用于与任何存储器交互的一个或多个驱动机构1108,诸如硬盘驱动机构、光盘驱动机构等。As shown in FIG. 11 , for a computer device provided by the embodiments herein, the computer device 1102 may include one or more processors 1104 , such as one or more central processing units (CPUs), each processing unit may implement One or more hardware threads. The computer device 1102 may also include any memory 1106 for storing any kind of information such as code, settings, data, and the like. Without limitation, for example, memory 1106 may include any one or a combination of the following: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, and the like. More generally, any memory can use any technology to store information. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of computer device 1102. In one instance, when the processor 1104 executes the associated instructions stored in any memory or combination of memories, the computer device 1102 may perform any operation of the associated instructions. The computer device 1102 also includes one or more drive mechanisms 1108 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, and the like.

计算机设备1102还可以包括输入/输出模块1110(I/O),其用于接收各种输入(经由输入设备1112)和用于提供各种输出(经由输出设备1114)。一个具体输出机构可以包括呈现设备1116和相关联的图形用户接口(GUI)1118。在其他实施例中,还可以不包括输入/输出模块1110(I/O)、输入设备1112以及输出设备1114,仅作为网络中的一台计算机设备。计算机设备1102还可以包括一个或多个网络接口1120,其用于经由一个或多个通信链路1122与其他设备交换数据。一个或多个通信总线1124将上文所描述的部件耦合在一起。Computer device 1102 may also include an input/output module 1110 (I/O) for receiving various inputs (via input device 1112 ) and for providing various outputs (via output device 1114 ). A specific output mechanism may include presentation device 1116 and associated graphical user interface (GUI) 1118 . In other embodiments, the input/output module 1110 (I/O), the input device 1112 and the output device 1114 may not be included, and only serve as a computer device in the network. Computer device 1102 may also include one or more network interfaces 1120 for exchanging data with other devices via one or more communication links 1122 . One or more communication buses 1124 couple together the components described above.

通信链路1122可以以任何方式实现,例如,通过局域网、广域网(例如,因特网)、点对点连接等、或其任何组合。通信链路1122可以包括由任何协议或协议组合支配的硬连线链路、无线链路、路由器、网关功能、名称服务器等的任何组合。Communication link 1122 may be implemented in any manner, eg, through a local area network, a wide area network (eg, the Internet), a point-to-point connection, etc., or any combination thereof. Communication links 1122 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.

对应于图1至图4中的方法,本文实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法的步骤。Corresponding to the methods in FIG. 1 to FIG. 4 , the embodiments herein also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to execute the steps of the above method. .

本文实施例还提供一种计算机可读指令,其中当处理器执行所述指令时,其中的程序使得处理器执行如图1至图4所示的方法。Embodiments herein also provide computer-readable instructions, wherein when a processor executes the instructions, the program therein causes the processor to perform the methods shown in FIGS. 1 to 4 .

应理解,在本文的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本文实施例的实施过程构成任何限定。It should be understood that, in the various embodiments herein, the size of the sequence numbers of the above-mentioned processes does not imply the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, rather than the implementation of the embodiments herein The process constitutes any qualification.

还应理解,在本文实施例中,术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should also be understood that, in the embodiments herein, the term "and/or" is only an association relationship for describing associated objects, indicating that there may be three kinds of relationships. For example, A and/or B can mean that A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本文的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the differences between hardware and software Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this document.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described systems, devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not repeated here.

在本文所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided herein, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本文实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments herein.

另外,在本文各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each of the embodiments herein may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本文的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本文各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions in this article are essentially or part of contributions to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments herein. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

本文中应用了具体实施例对本文的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本文的方法及其核心思想;同时,对于本领域的一般技术人员,依据本文的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本文的限制。The principles and implementations of this paper are described by using specific examples in this paper, and the descriptions of the above examples are only used to help understand the methods and core ideas of this paper; , there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to this article.

Claims (10)

1.一种轨道高低不平顺预测方法,其特征在于,所述方法包括:1. A method for predicting track irregularities, wherein the method comprises: 获取车辆运行数据,所述车辆运行数据包括车辆加速度及车辆速度;acquiring vehicle operation data, where the vehicle operation data includes vehicle acceleration and vehicle speed; 将所述车辆运行数据输入至预先建立的高低不平顺预测模型,获取高低不平顺数据;inputting the vehicle operation data into a pre-established roughness prediction model to obtain the roughness data; 其中,所述高低不平顺预测模型包括注意力网络、卷积神经网络及循环神经网络;Wherein, the unevenness prediction model includes an attention network, a convolutional neural network and a recurrent neural network; 所述注意力网络用于确定所述车辆运行数据的关注权重;the attention network is used to determine the attention weight of the vehicle operation data; 所述卷积神经网络用于确定具有关注权重的车辆运行数据的波形特征;The convolutional neural network is used to determine the waveform characteristics of the vehicle operation data with the attention weight; 所述循环神经网络用于根据所述波形特征,确定高低不平顺数据。The cyclic neural network is used for determining high and low unevenness data according to the waveform characteristics. 2.根据权利要求1所述的轨道高低不平顺预测方法,其特征在于,所述高低不平顺预测模型训练过程包括:2. The track irregularity prediction method according to claim 1, wherein the training process of the irregularity prediction model comprises: 确定所述车辆运行数据的样本数据集,所述样本数据集包括车辆历史加速度和车辆历史速度及对应的历史高低不平顺数据;determining a sample data set of the vehicle operation data, the sample data set including the historical acceleration of the vehicle, the historical speed of the vehicle and the corresponding historical high and low roughness data; 根据所述样本数据集,训练高低不平顺预测模型中的参数。According to the sample data set, the parameters in the roughness prediction model are trained. 3.根据权利要求2所述的轨道高低不平顺预测方法,其特征在于,所述根据所述样本数据集,训练高低不平顺预测模型中的参数包括:3. The track irregularity prediction method according to claim 2, wherein the parameters in the training irregularity prediction model according to the sample data set include: 确定所述高低不平顺预测模型中的注意力网络、卷积神经网络、循环神经网络的初始参数;Determine the initial parameters of the attention network, the convolutional neural network and the recurrent neural network in the unevenness prediction model; 将所述样本数据集输入至所述高低不平顺预测模型中,获取所述高低不平顺预测数据;inputting the sample data set into the roughness prediction model to obtain the roughness prediction data; 根据所述高低不平顺预测数据与所述历史高低不平顺数据构建损失函数;constructing a loss function according to the roughness prediction data and the historical roughness data; 利用所述损失函数训练所述预先建立的所述高低不平顺预测模型中各网络的参数。The parameters of each network in the pre-established roughness prediction model are trained by using the loss function. 4.根据权利要求1所述的轨道高低不平顺预测方法,其特征在于,在获取车辆运行数据之后,还包括:4. The method for predicting track irregularity according to claim 1, characterized in that, after acquiring the vehicle operation data, further comprising: 对所述车辆运行数据执行数据预处理,其中,所述数据预处理至少包括:趋势项滤除、数据标准化、逆序处理。Data preprocessing is performed on the vehicle operation data, wherein the data preprocessing at least includes: trend item filtering, data standardization, and reverse order processing. 5.根据权利要求4所述的轨道高低不平顺预测方法,其特征在于,对所述车辆运行数据进行逆序处理包括:5. The method for predicting track irregularity according to claim 4, wherein performing reverse order processing on the vehicle operation data comprises: 设置每相邻L+1个时间间隔的车辆运行数据为一数据组;Set the vehicle operation data of every adjacent L+1 time interval as a data group; 将每一数据组进行倒序处理。Process each data set in reverse order. 6.根据权利要求4所述的轨道高低不平顺预测方法,其特征在于,对所述车辆运行数据执行趋势项滤除包括:6. The method for predicting track irregularity according to claim 4, wherein performing trend item filtering on the vehicle operation data comprises: 利用最小二乘拟合、小波分解、凸优化、平滑先验、变分模态分解、傅里叶变换中的至少一种方法确定所述车辆运行数据的趋势项;Determine the trend term of the vehicle operation data by using at least one method of least square fitting, wavelet decomposition, convex optimization, smooth prior, variational modal decomposition, and Fourier transform; 滤除所述趋势项。The trending item is filtered out. 7.根据权利要求2所述的轨道高低不平顺预测方法,其特征在于,根据所述样本数据集,训练高低不平顺预测模型中的参数后,还包括:7. The track irregularity prediction method according to claim 2, wherein, according to the sample data set, after training the parameters in the irregularity prediction model, the method further comprises: 利用参数已定的高低不平顺预测模型识别测试样本中的车辆运行数据;Identify the vehicle running data in the test sample by using the parameterized roughness prediction model; 根据测试样本中车辆运行数据的预测结果,计算评价指标,其中,所述评价指标为平均绝对误差、均方根误差、希尔不等系数、相关系数至少其中之一;Calculate the evaluation index according to the prediction result of the vehicle operation data in the test sample, wherein the evaluation index is at least one of mean absolute error, root mean square error, Hill inequality coefficient, and correlation coefficient; 判断所述评价指标是否满足预设条件,若不满足,则调整所述高低不平顺预测模型。It is judged whether the evaluation index satisfies the preset condition, and if not, the unevenness prediction model is adjusted. 8.一种轨道高低不平顺预测装置,其特征在于,所述装置包括:8. A device for predicting track irregularities, wherein the device comprises: 车辆运行数据获取单元,用于获取车辆运行数据,所述车辆运行数据包括车辆加速度及车辆速度;a vehicle operation data acquisition unit, configured to acquire vehicle operation data, the vehicle operation data including vehicle acceleration and vehicle speed; 高低不平顺预测数据获取单元,用于将所述车辆运行数据输入至预先建立的高低不平顺预测模型,获取高低不平顺数据;a roughness prediction data acquisition unit, configured to input the vehicle operation data into a pre-established roughness prediction model to obtain the roughness data; 其中,所述高低不平顺预测模型包括注意力网络、卷积神经网络及循环神经网络;Wherein, the unevenness prediction model includes an attention network, a convolutional neural network and a recurrent neural network; 所述注意力网络用于确定所述车辆运行数据的关注权重;the attention network is used to determine the attention weight of the vehicle operation data; 所述卷积神经网络用于确定具有关注权重的车辆运行数据的波形特征;The convolutional neural network is used to determine the waveform characteristics of the vehicle operation data with the attention weight; 所述循环神经网络用于根据所述波形特征,确定高低不平顺数据。The cyclic neural network is used for determining high and low unevenness data according to the waveform characteristics. 9.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1-7的任意一项所述的方法。9. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements any of claims 1-7 when the processor executes the computer program one of the methods described. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7的任意一项所述的方法。10. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the method of any one of claims 1-7.
CN202210056496.9A 2022-01-18 2022-01-18 A method and device for predicting track irregularity Pending CN114386707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210056496.9A CN114386707A (en) 2022-01-18 2022-01-18 A method and device for predicting track irregularity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210056496.9A CN114386707A (en) 2022-01-18 2022-01-18 A method and device for predicting track irregularity

Publications (1)

Publication Number Publication Date
CN114386707A true CN114386707A (en) 2022-04-22

Family

ID=81203922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210056496.9A Pending CN114386707A (en) 2022-01-18 2022-01-18 A method and device for predicting track irregularity

Country Status (1)

Country Link
CN (1) CN114386707A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115130244A (en) * 2022-07-04 2022-09-30 西南交通大学 Target wheel-rail irregularity spectrum selection method and device for wheel-rail system dynamic simulation
CN115371724A (en) * 2022-07-12 2022-11-22 中国铁道科学研究院集团有限公司 Track state evaluation method and device
CN115600086A (en) * 2022-11-15 2023-01-13 西南交通大学(Cn) Vehicle-mounted quantitative detection method for rail corrugation roughness based on convolution regression
CN116307302A (en) * 2023-05-23 2023-06-23 西南交通大学 Track irregularity dynamic and static detection data inversion method, system and storage medium
CN117576691A (en) * 2024-01-17 2024-02-20 泰安万川电器设备有限公司 Rail-mounted mine car scheduling method and system based on deep learning
CN118484635A (en) * 2024-07-16 2024-08-13 成都轨道交通产业技术研究院有限公司 A track irregularity evolution prediction method based on ConvLSTM

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0868624A (en) * 1994-08-26 1996-03-12 Railway Technical Res Inst Collation system of measuring position of vertical vibration data on track irregularity and vehicle
KR20070115101A (en) * 2006-05-30 2007-12-05 한국철도기술연구원 Measurement method of rail track distortion in 3D data format for efficient maintenance of railway tracks
CN104260754A (en) * 2014-10-08 2015-01-07 南京理工大学 Track height irregularity prediction system and method based on axle box vibration acceleration
CN111979859A (en) * 2020-08-19 2020-11-24 中国铁道科学研究院集团有限公司 Track irregularity detection system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0868624A (en) * 1994-08-26 1996-03-12 Railway Technical Res Inst Collation system of measuring position of vertical vibration data on track irregularity and vehicle
KR20070115101A (en) * 2006-05-30 2007-12-05 한국철도기술연구원 Measurement method of rail track distortion in 3D data format for efficient maintenance of railway tracks
CN104260754A (en) * 2014-10-08 2015-01-07 南京理工大学 Track height irregularity prediction system and method based on axle box vibration acceleration
CN111979859A (en) * 2020-08-19 2020-11-24 中国铁道科学研究院集团有限公司 Track irregularity detection system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115130244A (en) * 2022-07-04 2022-09-30 西南交通大学 Target wheel-rail irregularity spectrum selection method and device for wheel-rail system dynamic simulation
CN115130244B (en) * 2022-07-04 2023-04-14 西南交通大学 Method and device for selecting target wheel-rail irregularity spectrum for dynamic simulation of wheel-rail system
CN115371724A (en) * 2022-07-12 2022-11-22 中国铁道科学研究院集团有限公司 Track state evaluation method and device
CN115600086A (en) * 2022-11-15 2023-01-13 西南交通大学(Cn) Vehicle-mounted quantitative detection method for rail corrugation roughness based on convolution regression
CN116307302A (en) * 2023-05-23 2023-06-23 西南交通大学 Track irregularity dynamic and static detection data inversion method, system and storage medium
CN116307302B (en) * 2023-05-23 2023-07-25 西南交通大学 Track irregularity dynamic and static detection data inversion method, system and storage medium
CN117576691A (en) * 2024-01-17 2024-02-20 泰安万川电器设备有限公司 Rail-mounted mine car scheduling method and system based on deep learning
CN117576691B (en) * 2024-01-17 2024-03-29 泰安万川电器设备有限公司 Rail-mounted mine car scheduling method and system based on deep learning
CN118484635A (en) * 2024-07-16 2024-08-13 成都轨道交通产业技术研究院有限公司 A track irregularity evolution prediction method based on ConvLSTM

Similar Documents

Publication Publication Date Title
CN114386707A (en) A method and device for predicting track irregularity
Ding et al. A remaining useful life prediction method for bearing based on deep neural networks
Sony et al. Multiclass damage identification in a full-scale bridge using optimally tuned one-dimensional convolutional neural network
Flah et al. Localization and classification of structural damage using deep learning single-channel signal-based measurement
Heydarzadeh et al. Gear fault diagnosis using discrete wavelet transform and deep neural networks
Story et al. A structural impairment detection system using competitive arrays of artificial neural networks
Zhang et al. Data anomaly detection for bridge SHM based on CNN combined with statistic features
CN103714382B (en) A kind of multi-index comprehensive evaluation method for reliability of urban rail train security detection sensor network
Sarwar et al. Probabilistic autoencoder-based bridge damage assessment using train-induced responses
CN110561191A (en) Numerical control machine tool cutter abrasion data processing method based on PCA and self-encoder
Wu et al. An engine fault diagnosis system using intake manifold pressure signal and Wigner–Ville distribution technique
Rageh et al. Automated, strain-based, output-only bridge damage detection
CN114563150A (en) Bridge health online detection module generation method, detection method, tool box and device
CN115600086B (en) Vehicle-mounted quantitative detection method for rail corrugation roughness based on convolution regression
Entezami et al. Condition assessment of civil structures for structural health monitoring using supervised learning classification methods
CN111241658A (en) Beam bridge moving load identification method based on LSTM neural network model
Bobylev et al. Simulation-based transfer learning for support stiffness identification
Pan et al. Indirect reconstruction of structural responses based on transmissibility concept and matrix regularization
Cai et al. Machine learning-based rail corrugation recognition: a metro vehicle response and noise perspective
Dadoulis et al. Damage detection in lightweight bridges with traveling masses using machine learning
Le Riche et al. Neural identification of non-linear dynamic structures
Neves et al. Development and validation of a data-based SHM method for railway bridges
CN119660502A (en) Monitoring system and monitoring method for elevator operation quality
Shan et al. Damage identification for Cable-Stayed model bridges on shaking Table based on joint CNN & LSTM with Multi-Channel and Multi-Scale
Yang et al. A deep learning-based framework for damage detection with time series

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination