Model generation method for predicting track irregularity and prediction method for track irregularity

Training vehicle data through the neural network model solves the complex and time-consuming problem of track irregularity detection, achieves fast and accurate track irregularity prediction, and improves railway transportation safety.

CN113919236BActive Publication Date: 2024-09-03CHINA STATE RAILWAY GRP CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111277810.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-09-03
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

The existing track irregularity detection method is complex and time-consuming, cannot meet the detection frequency requirements under high-speed railway transportation tasks, and affects the safety of railway transportation.

Method used

By obtaining the displacement, acceleration and angular velocity of the vehicle during operation, the initial neural network model is used for training, and combined with the loss function adjustment, a target neural network model is generated to predict track irregularities and achieve matching between the irregularity prediction value and the actual value.

Benefits of technology

Track irregularity data can be quickly obtained without the need for professional inspection vehicle equipment, which improves the efficiency and accuracy of track irregularity prediction, simplifies the inspection process, and meets the safety needs of high-speed railway transportation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113919236B
    Figure CN113919236B
Patent Text Reader

Abstract

This paper provides a model generation method for predicting track unevenness and a method for predicting track unevenness, including: obtaining the displacement, acceleration and angular velocity during vehicle operation; calculating the displacement, acceleration and angular velocity to obtain a sequence of actual track unevenness values, wherein the actual values ​​of unevenness corresponding to different time points during vehicle operation are different; inputting the vertical acceleration in the acceleration into the initial neural network model for training, and adjusting the initial neural network model through a loss function loop; reducing the gap between the unevenness prediction value obtained after model training and the corresponding actual unevenness value, making the absolute value of the unevenness prediction value less than or equal to the absolute value of the corresponding actual unevenness value, and making the difference between the peak and valley values ​​of the unevenness prediction value sequence and the corresponding actual unevenness value less than the set difference; and then obtaining the target neural network model. This paper can use the model to conveniently and quickly predict the unevenness of the track.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of railway engineering, and in particular to a model generation method for predicting track irregularity and a method for predicting track irregularity. Background Art

[0002] The smoothness of the track will directly determine the operating safety and comfort of the vehicle system running on the track. When the track is not smooth, it will seriously affect the stability and safety of driving, and may even cause the train to derail. With the increase in train speed, higher requirements are currently placed on the smoothness of the track.

[0003] At present, the main method for detecting track unevenness is to conduct regular inspections through professional inspection vehicles and equipment. However, with the continuous growth of high-speed railway transportation tasks, in order to ensure the safety of railway transportation, the frequency of track unevenness inspections is constantly increasing. However, the existing methods for detecting track unevenness are complicated and time-consuming, and cannot meet the needs of the growth of inspection tasks.

[0004] In order to predict track irregularities quickly and conveniently, a model generation method for predicting track irregularities and a method for predicting track irregularities are proposed, which can predict track irregularities quickly and conveniently through the model. Summary of the invention

[0005] The purpose of the embodiments of this article is to provide a model generation method for predicting track unevenness and a method for predicting track unevenness, so as to conveniently and quickly predict track unevenness through the model.

[0006] To achieve the above objectives, on the one hand, an embodiment of the present invention provides a model generation method for predicting track irregularity, comprising:

[0007] Obtain the displacement, acceleration and angular velocity of the vehicle during operation;

[0008] The displacement, acceleration and angular velocity are calculated to obtain a sequence of actual values ​​of track irregularity, wherein the actual values ​​of track irregularity corresponding to different time points during the operation of the vehicle are different;

[0009] The vertical acceleration in the acceleration is input into the initial neural network model for training, and the initial neural network model is adjusted through a loss function cycle; the gap between the roughness prediction value obtained after model training and the corresponding roughness actual value is reduced, the absolute value of the roughness prediction value is less than or equal to the absolute value of the corresponding roughness actual value, and the difference between the peak value and the valley value of the roughness prediction value sequence and the corresponding roughness actual value is less than the set difference; and then the target neural network model is obtained.

[0010] Preferably, the method for determining the loss function includes:

[0011] The loss function is composed of at least one of a risk coefficient and an inner coefficient, and a mean square error of an unsmooth actual value sequence and an unsmooth predicted value sequence;

[0012] The mean square error is used to reduce the gap between the roughness prediction value obtained after model training and the corresponding roughness actual value; the risk coefficient is used to make the peak and valley values ​​of the roughness prediction value sequence equal to the corresponding roughness actual value; the medial coefficient is used to make the absolute value of the roughness prediction value obtained after model training less than or equal to the absolute value of the corresponding roughness actual value.

[0013] Preferably, the loss function is composed of at least one of the risk coefficient and the inner coefficient, and the mean square error of the irregular actual value sequence and the irregular predicted value sequence, and further includes:

[0014] The loss function is determined by the following formula:

[0015]

[0016] Among them, EIF_MSE is the loss function, is the mean square error, n is the number of unsmooth actual values ​​in the unsmooth actual value sequence or the number of unsmooth predicted values ​​in the unsmooth predicted value sequence;

[0017] is the risk coefficient, λ is any value greater than or equal to 0, y is the sequence of uneven actual values, y i is the ith irregular actual value in the irregular actual value sequence, is 0;

[0018] is the inner coefficient, γ is any value greater than or equal to 0, y is an irregular actual value sequence, y i is the ith irregular actual value in the irregular actual value sequence, is an unsmooth prediction value sequence, is the i-th roughness prediction value in the roughness prediction value sequence.

[0019] Preferably, the step of inputting the vertical acceleration in the acceleration into an initial neural network model for training, and adjusting the initial neural network model through a loss function cycle further comprises:

[0020] Inputting the vertical acceleration in the acceleration into a one-dimensional convolutional neural network for training to obtain a first feature sequence;

[0021] Inputting the first feature sequence into a bidirectional long short-term memory network for propagation in both forward and reverse directions to obtain a second feature sequence;

[0022] The second feature sequence is input into a fully connected neural network for training, and the fully connected neural network is adjusted by a loss function.

[0023] Preferably, the calculating of the displacement, acceleration and angular velocity to obtain a sequence of actual values ​​of track irregularity further comprises:

[0024] The displacement, acceleration and angular velocity are calculated by an inertial reference method to obtain an initial value sequence of track irregularity;

[0025] The data of the initial value sequence of track irregularity is smoothed and fitted by a filtering algorithm to obtain a track actual value sequence of track irregularity.

[0026] Preferably, the step of inputting the vertical acceleration in the acceleration into the initial neural network model for training further comprises:

[0027] Extracting a vertical acceleration from the acceleration, wherein the vertical acceleration corresponding to different time points during the operation of the vehicle is different;

[0028] According to the time sequence of vehicle operation, the vertical accelerations are combined to form a plurality of vertical acceleration sequences, and the plurality of vertical acceleration sequences are input into the initial neural network model for training, wherein the number of vertical accelerations in each vertical acceleration sequence is the same.

[0029] On the other hand, an embodiment of the present invention provides a model generation device for predicting track irregularity, the device comprising:

[0030] Acquisition module: acquires displacement, acceleration and angular velocity during vehicle operation;

[0031] Actual value determination module: calculates the displacement, acceleration and angular velocity to obtain a track irregularity actual value sequence, wherein the actual values ​​of irregularity corresponding to different time points during the operation of the vehicle are different;

[0032] Model determination module: input the vertical acceleration in the acceleration into the initial neural network model for training, and adjust the initial neural network model through the loss function cycle; reduce the gap between the roughness prediction value obtained through model training and the corresponding roughness actual value, make the absolute value of the roughness prediction value less than or equal to the absolute value of the corresponding roughness actual value, and make the peak value and valley value of the roughness prediction value sequence equal to the corresponding roughness actual value; and then obtain the target neural network model.

[0033] On the other hand, the embodiments of the present invention further provide a computer device, including a memory, a processor, and a computer program stored in the memory, wherein when the computer program is executed by the processor, the instructions of any one of the above methods are executed.

[0034] On the other hand, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor of a computer device, the computer program executes instructions of any one of the above-described methods.

[0035] On the other hand, the embodiments of this invention also provide a method for predicting track irregularity, comprising:

[0036] Obtain the vertical acceleration of the vehicle during operation;

[0037] The vertical acceleration is input into any one of the target neural network models described above to obtain the track roughness value.

[0038] It can be seen from the technical solution provided in the above embodiments of the present invention that in the process of cyclically adjusting the initial neural network model through the loss function in the embodiments of the present invention, after measuring the gap between the roughness prediction value and the roughness actual value, the loss function back-propagates the gap to the initial neural network, and continuously adjusts the initial neural network model, so that the gap between the roughness prediction value obtained after model training and the corresponding roughness actual value is reduced and the two aspects of the above-mentioned track roughness prediction are met, and the target neural network model can be obtained.

[0039] In the prior art, professional inspection vehicles and equipment are required to obtain displacement, acceleration and angular velocity, but through the above method, no professional inspection vehicles and equipment are required. It is only necessary to obtain the vertical acceleration of the vehicle during the operation of the vehicle. By inputting the vertical acceleration of the vehicle into the target neural network model, the track unevenness data can be obtained. The method of the present application is convenient and fast, and can improve the efficiency of track unevenness prediction.

[0040] In order to make the above and other purposes, features and advantages of this article more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1A schematic flow chart of a method for generating a model for predicting track irregularity provided in an embodiment of this invention is shown;

[0043] Figure 2 A schematic diagram of a process of inputting vertical acceleration into an initial neural network model for training provided in an embodiment of this invention is shown;

[0044] Figure 3 A schematic diagram of the process of model training and adjusting the initial neural network model through a loss function provided in the embodiments of this article is shown;

[0045] Figure 4 A schematic diagram of a flow chart of calculating displacement, acceleration and angular velocity to obtain a sequence of unsmooth actual values ​​provided in an embodiment of the present invention is shown;

[0046] Figure 5 A comparison diagram of the actual roughness value sequence and the initial roughness value sequence after HP filtering provided in the embodiment of this article is shown;

[0047] Figure 6 A schematic diagram of a flow chart of a method for predicting track irregularity provided in an embodiment of this invention is shown;

[0048] Figure 7 A comparison diagram of the unsmoothness data predicted when the training model is set to different values ​​of γ provided in the embodiment of this article is shown;

[0049] Figure 8 It is a comparison chart of the uneven data predicted when the training model is set to different values ​​of λ provided in the embodiment of this article;

[0050] Fig. 9 A schematic diagram of the module structure of a model generation device for predicting track irregularity provided in an embodiment of this invention is shown;

[0051] Fig.10 A schematic diagram of the structure of a computer device provided in an embodiment of this invention is shown.

[0052] Description of the accompanying symbols:

[0053] 100. Get module;

[0054] 200, actual value determination module;

[0055] 300. Model determination module;

[0056] 1002. Computer equipment;

[0057] 1004. Processor;

[0058] 1006. Memory;

[0059] 1008. Driving mechanism;

[0060] 1010, input / output module;

[0061] 1012. Input device;

[0062] 1014. Output device;

[0063] 1016. Presentation equipment;

[0064] 1018. Graphical user interface;

[0065] 1320, network interface;

[0066] 1022. Communication link;

[0067] 1024. Communication bus. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of this article to clearly and completely describe the technical solutions in the embodiments of this article. Obviously, the described embodiments are only part of the embodiments of this article, not all of the embodiments. Based on the embodiments of this article, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this article.

[0069] At present, the main method for detecting track unevenness is to conduct regular inspections through professional inspection vehicles and equipment. However, with the continuous growth of high-speed railway transportation tasks, in order to ensure the safety of railway transportation, the frequency of track unevenness inspections is constantly increasing. However, the existing methods for detecting track unevenness are complicated and time-consuming, and cannot meet the needs of the growth of inspection tasks.

[0070] In order to solve the above problems, an embodiment of the present invention provides a model generation method for predicting track irregularity. Figure 1 It is a schematic diagram of the steps of a model generation method for predicting track unevenness provided in the embodiments of this article. This specification provides the method operation steps described in the embodiments or flowcharts, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the system or device product is executed in practice, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel.

[0071] Reference Figure 1 , a model generation method for predicting track irregularity, comprising:

[0072] S101: Acquire the displacement, acceleration and angular velocity of the vehicle during operation;

[0073] S102: Calculating the displacement, acceleration and angular velocity to obtain a track irregularity actual value sequence, wherein the actual values ​​of track irregularity corresponding to different time points during the operation of the vehicle are different;

[0074] S103: Input the vertical acceleration in the acceleration into the initial neural network model for training, and adjust the initial neural network model through the loss function loop; reduce the difference between the roughness prediction value obtained after model training and the corresponding roughness actual value, make the absolute value of the roughness prediction value less than or equal to the absolute value of the corresponding roughness actual value, and make the difference between the peak and valley value of the roughness prediction value sequence and the corresponding roughness actual value less than the set difference; and then obtain the target neural network model.

[0075] During the operation of the vehicle, the displacement, acceleration and angular velocity of the vehicle can be obtained through detection equipment. After calculating the displacement, acceleration and angular velocity, the actual value sequence of track irregularity is obtained, and the actual value sequence of irregularity can be used as the prediction target of the initial neural network model. The vertical acceleration in the acceleration is input into the initial neural network model for training, so that the output value of the initial neural network model is the same or close to the prediction target.

[0076] Specifically, since the track is divided into two left and right tracks, the track unevenness in this article refers to the unevenness of the left track or the right track. Whether the prior art detects track unevenness by using a detection vehicle, or the present application predicts track unevenness by using a model, there is no substantial difference between the left and right tracks, so the model generation method in this article is a model generation method for predicting the unevenness of the left track or the unevenness of the right track.

[0077] Since the vertical acceleration of the vehicle body is more sensitive to height unevenness and is less affected by factors such as curves, oncoming vehicles (when two vehicles pass each other, the vehicle will cause lateral swing), and strong winds, the accuracy of the model is higher when the vertical acceleration is used.

[0078] During the training process of the initial neural network model, it will be adjusted through the loss function. Generally speaking, the loss function is a way to measure the gap between the output value of the neural network (the predicted value of roughness) and the predicted target (the actual value of roughness). In this application, since the track roughness prediction has its own characteristics, it is mainly reflected in two aspects.

[0079] On the one hand, it is necessary to make the absolute value of the roughness prediction value less than or equal to the absolute value of the corresponding actual roughness value, and on the other hand, it is necessary to make the difference between the peak value of the roughness prediction value sequence and the corresponding actual roughness value less than the set difference, and make the difference between the valley value of the roughness prediction value sequence and the corresponding actual roughness value less than the set difference. The reason is that on the one hand, when the absolute value of the roughness prediction value is greater than the absolute value of the actual roughness value, it may cause an error warning, and in severe cases, it may cause the train to suspend operation. On the other hand, the peak and valley values ​​often represent a higher risk of safe operation and a higher possibility of defects. Therefore, in order to ensure the safety of operation, it is necessary to make the peak and valley values ​​as close as possible to the corresponding actual roughness value. The set difference can be set according to actual needs. By default, when the difference between the peak and valley values ​​and the corresponding actual roughness value is less than the set difference, the vehicle operation safety can be guaranteed.

[0080] In the process of adjusting the initial neural network model through the loss function loop, after measuring the difference between the output value of the neural network (roughness prediction value) and the predicted target (roughness actual value), the loss function back-propagates the difference to the initial neural network, and continuously adjusts the initial neural network model so that the difference between the roughness prediction value obtained after model training and the corresponding roughness actual value is reduced and the two aspects of the above-mentioned track roughness prediction are met, and the target neural network model can be obtained.

[0081] In the prior art, professional inspection vehicles and equipment are required to obtain displacement, acceleration and angular velocity, but through the above method, no professional inspection vehicles and equipment are required. It is only necessary to obtain the vertical acceleration of the vehicle during the operation of the vehicle. By inputting the vertical acceleration of the vehicle into the target neural network model, the track unevenness data can be obtained. The method of the present application is convenient and fast, and can improve the efficiency of track unevenness prediction.

[0082] In the embodiment of this article, the method for determining the loss function includes:

[0083] The loss function is composed of at least one of a risk coefficient and an inner coefficient, and a mean square error of an unsmooth actual value sequence and an unsmooth predicted value sequence;

[0084] The mean square error is used to reduce the gap between the roughness prediction value obtained after model training and the corresponding roughness actual value; the risk coefficient is used to make the peak and valley values ​​of the roughness prediction value sequence equal to the corresponding roughness actual value; the medial coefficient is used to make the absolute value of the roughness prediction value obtained after model training less than or equal to the absolute value of the corresponding roughness actual value.

[0085] For existing neural network models, most of them use traditional loss functions to adjust the neural network models. Traditional loss functions only include the mean square error of the actual value sequence of irregularity and the predicted value sequence of irregularity. In order to meet the above two aspects of track irregularity prediction, this paper adds at least one of the risk coefficient and the medial coefficient to the composition of the loss function based on the existing mean square error.

[0086] In the embodiment of this article, further, the loss function is composed of at least one of the risk coefficient and the inner coefficient, and the mean square error of the uneven actual value sequence and the uneven predicted value sequence, and further includes:

[0087] The loss function is determined by the following formula:

[0088]

[0089] Among them, EIF_MSE is the loss function, is the mean square error, n is the number of unsmooth actual values ​​in the unsmooth actual value sequence or the number of unsmooth predicted values ​​in the unsmooth predicted value sequence;

[0090] is the risk coefficient, λ is any value greater than or equal to 0, and the specific value can be determined according to the actual working conditions, y is the actual value sequence of the unevenness, y i is the ith irregular actual value in the irregular actual value sequence, The ideal state of the unevenness data is when the track is completely smooth. is 0;

[0091] is the inner coefficient, γ is any value greater than or equal to 0. The specific value can be determined according to the actual working conditions. y is the actual value sequence of unevenness. i is the ith irregular actual value in the irregular actual value sequence, is an unsmooth prediction value sequence, is the i-th roughness prediction value in the roughness prediction value sequence.

[0092] The larger the value, the more the actual value of the unevenness at that location deviates from the ideal state of the unevenness data, and the greater the safety hazard at that location. In order to ensure the accuracy of the prediction of the peak and valley values ​​in the unevenness prediction value sequence, the larger the loss function here is.

[0093] When the absolute value of the predicted value of irregularity Less than or equal to the actual value of unevenness|y i |, the inner coefficient is 0, which is equivalent to adding multiplication to the loss function. When the absolute value of the uneven prediction value Greater than the actual value of unevenness |y i |, the inner coefficient increases with The loss function is multiplied to ensure that the absolute value of the predicted value of the roughness is less than or equal to the absolute value of the corresponding actual value of the roughness.

[0094] Reference Figure 2 In the embodiment of this article, the step of inputting the vertical acceleration in the acceleration into the initial neural network model for training further includes:

[0095] S201: extracting a vertical acceleration from the acceleration, wherein the vertical acceleration corresponding to different time points during the operation of the vehicle is different;

[0096] S202: combining the vertical accelerations into a plurality of vertical acceleration sequences according to the time sequence of vehicle operation, and inputting the plurality of vertical acceleration sequences into an initial neural network model for training, wherein the number of vertical accelerations in each vertical acceleration sequence is the same.

[0097] Specifically, when obtaining the displacement, acceleration and angular velocity of the vehicle during operation, the sampling is performed at equal intervals with one sampling point every 0.25 meters as the sampling frequency, and the extracted vertical acceleration is also obtained every 0.25 meters. In this paper, a moving window with a length of 500 sampling points is used, and a moving step of 10 points is used to form several vertical acceleration sequences. For example, the vertical acceleration corresponding to the 1st to 500th sampling points is the first vertical acceleration sequence, and the vertical acceleration corresponding to the 11th to 510th sampling points is the second vertical acceleration sequence... Several vertical acceleration sequences are input into the initial neural network model for training.

[0098] Reference Figure 3 In the embodiment of this article, the vertical acceleration in the acceleration is input into the initial neural network model for training, and the initial neural network model is adjusted by the loss function cycle further comprising:

[0099] S301: inputting the vertical acceleration in the acceleration into a one-dimensional convolutional neural network for training to obtain a first feature sequence;

[0100] S302: Input the first feature sequence into a bidirectional long short-term memory network for forward and reverse propagation to obtain a second feature sequence;

[0101] S303: Input the second feature sequence into a fully connected neural network for training, and adjust the fully connected neural network using a loss function.

[0102] The initial neural network model can include a one-dimensional convolutional neural network, a bidirectional long short-term memory network, and a fully connected neural network. Of course, it can also include only one or two of the above three networks. If only one is included, the network needs to be adjusted through the loss function. If any two are included, the two networks will have a training sequence, and the network in the later sequence needs to be adjusted through the loss function. If the three networks shown in this article are trained, the fully connected neural network needs to be adjusted through the loss function according to the training sequence.

[0103] In this paper, a one-dimensional convolutional neural network is used for feature extraction of vertical acceleration. The one-dimensional convolutional neural network consists of a one-dimensional convolutional layer and an activation function. Since vertical acceleration can be positive or negative, the tanh function is selected as the activation function. The convolution kernel size of the convolution layer is set to 10, the step size is 1, and the number of convolution kernels is 100. In order to ensure that the vertical acceleration data passing through the convolution layer can correspond one-to-one with the actual value sequence of track unevenness, the padding method can be used to ensure that the data length before and after convolution is consistent.

[0104] Since the vertical acceleration of the vehicle body has a certain delay in responding to track unevenness, when predicting track unevenness through vertical acceleration data, not only the vertical acceleration data before the current point, but also the vertical acceleration data after the current point should be considered. Based on this feature, this paper uses a bidirectional long short-term memory network to predict track unevenness. The bidirectional long short-term memory network propagates the first feature sequence obtained by the one-dimensional convolutional neural network in both positive and negative directions, and obtains a 100×1 second feature sequence at each node of the bidirectional long short-term memory network.

[0105] The second feature sequence output by each node is input into the fully connected neural network for regression. After three layers of fully connected neural network, the track irregularity prediction value of the corresponding node can be obtained.

[0106] The process of training the three neural networks in sequence includes three steps. The first step is to input a 500×1 (500 rows and 1 column) vertical acceleration sequence into the one-dimensional convolutional neural network to obtain 100 500×1 (500 rows and 1 column) first feature sequences. The second step is to input the first feature sequence into the bidirectional long short-term memory network to obtain a 100×1 second feature sequence, and the second feature sequence is set to 500. The third step is to input the second feature sequence into the fully connected neural network for regression to obtain a 500×1 (500 rows and 1 column) roughness prediction value sequence. The three neural networks obtained through the above training process constitute the target neural network model for predicting track roughness.

[0107] Reference Figure 4In the embodiment of this article, the calculation of the displacement, acceleration and angular velocity to obtain the actual value sequence of track irregularity further includes:

[0108] S401: Calculating the displacement, acceleration and angular velocity by an inertial reference method to obtain a track irregularity initial value sequence;

[0109] S402: Smoothing and fitting the data of the initial unevenness value sequence are performed by a filtering algorithm to obtain an actual track unevenness value sequence.

[0110] After collecting the displacement, acceleration and angular velocity of the vehicle during operation according to the time series, the displacement, acceleration and angular velocity are calculated according to the inertial reference method using laser scanning and image processing technologies to obtain the initial value sequence of track unevenness. The time series means the order of time points. For example, when collecting displacement, acceleration and angular velocity, the data are collected every 0.25 meters. Each collection moment is a time point, and multiple time points constitute a time series.

[0111] When collecting displacement, acceleration and angular velocity, it is inevitable to be disturbed by vehicle vibration, weather, temperature changes, etc., which will affect the accuracy of the detection results and lead to inaccurate prediction of the initial value sequence of unevenness. Therefore, after the initial value sequence of unevenness is obtained, it is processed by the HP filtering algorithm to filter out high-frequency fluctuations.

[0112] The process of HP filtering algorithm is as follows:

[0113] The actual value sequence of track irregularity consists of the low-frequency part and the high-frequency part of the signal, which can be specifically expressed by the following formula:

[0114] Y(t)=X(t)+C(t) (1)

[0115] Where Y(t) is the initial value sequence of the unsmoothness, X(t) is the low-frequency part of the signal, C(t) is the high-frequency part of the signal, and t is the time point. The purpose is to filter out the high-frequency part of the signal in the initial value sequence of the unsmoothness, leaving only the low-frequency part of the signal as the actual value sequence of the unsmoothness.

[0116] set up

[0117] Where m is the number of time points and β is the penalty factor that controls the degree of smoothness.

[0118] X(t) can be obtained by solving the minimum value of F, that is, solving the following equation:

[0119]

[0120] It can be seen that the above formula consists of two parts, the first part:

[0121]

[0122] This part reflects the degree of reduction of X(t) to Y(t). The smaller the value of this part, the better the reduction of X(t) to Y(t).

[0123] Part II:

[0124]

[0125] This part reflects the smoothness of X(t). The smaller the part, the higher the smoothness of X(t).

[0126] β is a penalty factor that controls the degree of smoothness. Its size setting needs to balance the restoration of X(t) to Y(t) and the smoothness of X(t). In this paper, β is selected as 30.

[0127] In order to solve X(t), we combine equations (1) and (2) to calculate the partial derivatives of X(1), X(2), …, X(m), and set the partial derivatives equal to 0, then we get:

[0128]

[0129] According to the above formula, we can get the following m×m coefficient matrix F:

[0130]

[0131] The above formula can be expressed as a matrix:

[0132] C=βFX (4)

[0133] Where X = (X(1), X(2), ..., X(m))′, C = (C(1), C(2), ..., C(m))′, substitute equation (3) into equation (1), and let Y = (Y(1), Y(2), ..., Y(m))′, we can get:

[0134] X=(βF+I) -1 Y (5)

[0135] Where I is an m×m unit matrix. X is the unsmooth actual value sequence obtained by filtering out the high-frequency part of the unsmooth initial value sequence.

[0136] Reference Figure 5 , the uneven actual value sequence obtained after HP filtering is smoother than the uneven initial value sequence, and the burr part is reduced.

[0137] Reference Figure 6Based on the above-mentioned model generation method for predicting track irregularity, this paper also provides a method for predicting track irregularity, including:

[0138] S501: Obtaining the vertical acceleration of the vehicle during operation;

[0139] S502: Input the vertical acceleration into the target neural network model described above to obtain the track roughness value.

[0140] Specifically, the effect of predicting the roughness of a 125m long track is as follows: Figure 7 and Figure 8 shown.

[0141] In order to verify the effect of the model for predicting track irregularity proposed in the present invention, the influence of the risk coefficient and the inner side coefficient on the model was verified respectively.

[0142] To verify the role of the medial coefficient, the model was trained and tested with different values ​​of γ while other conditions remained unchanged. The results are as follows: Figure 7 As shown in Figure 1, it can be seen that at points A and B, when γ = 0.3, the absolute value of the predicted value of the roughness is less than or equal to the absolute value of the corresponding actual value of the roughness. Similarly, in order to verify the role of the risk factor, when other conditions remain unchanged, the model is trained and tested with λ set to different values. The results are shown in Figure 1. Figure 8 As shown, it can be seen that among the five large value points A, B, C, D, and E, when λ=0.2, compared with other cases, the difference between the peak and valley values ​​of the roughness prediction value sequence and the corresponding actual roughness value is smaller than the set difference.

[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0144] Based on the above-mentioned model generation method for predicting track unevenness, the embodiments of this article also provide a model generation device for predicting track unevenness. The device may include a system (including a distributed system), software (application), module, component, server, client, etc. using the method described in the embodiments of this article and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided in the embodiments of this article is as described in the following embodiments. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device in the embodiments of this article can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware for predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0145] Specifically, Fig. 9 is a schematic diagram of a module structure of an embodiment of a model generation device for predicting track irregularity provided in an embodiment of this invention, with reference to Fig. 9 As shown, a model generation device for predicting track irregularity provided in an embodiment of the present invention includes: an acquisition module 100, an actual value determination module 200, and a model determination module 300.

[0146] Acquisition module 100: Acquisition of displacement, acceleration and angular velocity during vehicle operation;

[0147] Actual value determination module 200: Calculate the displacement, acceleration and angular velocity to obtain a track irregularity actual value sequence, wherein the actual values ​​of irregularity corresponding to different time points during the vehicle operation are different;

[0148] Model determination module 300: inputting the vertical acceleration in the acceleration into the initial neural network model for training, and adjusting the initial neural network model through the loss function loop; reducing the gap between the roughness prediction value obtained through model training and the corresponding roughness actual value, making the absolute value of the roughness prediction value less than or equal to the absolute value of the corresponding roughness actual value, and making the peak value and valley value of the roughness prediction value sequence equal to the corresponding roughness actual value; and then obtaining the target neural network model.

[0149] Reference Fig.10As shown, based on the above-mentioned model generation method for predicting track irregularity, a computer device 1002 is also provided in one embodiment of this invention, wherein the above-mentioned method is run on the computer device 1002. The computer device 1002 may include one or more processors 1004, such as one or more central processing units (CPUs) or graphics processing units (GPUs), and each processing unit may implement one or more hardware threads. The computer device 402 may also include any memory 1006, which is used to store any kind of information such as code, settings, data, etc. In a specific embodiment, the computer program on the memory 1006 and which can be run on the processor 1004, when the computer program is run by the processor 1004, can execute instructions according to the above-mentioned method. Non-limitingly, for example, the memory 1006 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 1002. In one embodiment, when the processor 1004 executes the associated instructions stored in any memory or combination of memories, the computer device 1002 can perform any operation of the associated instructions. The computer device 1002 also includes one or more drive mechanisms 1008 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.

[0150] The computer device 1002 may also include an input / output module 1010 (I / O) for receiving various inputs (via input device 1012) and for providing various outputs (via output device 1014). A specific output mechanism may include a presentation device 1016 and an associated graphical user interface 1018 (GUI). In other embodiments, the input / output module 1010 (I / O), input device 1012, and output device 1014 may not be included, and the computer device 1002 may be used as a computer device in a network. The computer device 1002 may also include one or more network interfaces 1020 for exchanging data with other devices via one or more communication links 1022. One or more communication buses 1024 couple the components described above together.

[0151] The communication link 1022 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 1022 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.

[0152] Corresponds to Figure 1-Figure 4The method in this article also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are executed.

[0153] The embodiment of the present invention also provides a computer readable instruction, wherein when the processor executes the instruction, the program therein causes the processor to execute the following Figures 1 to 4 The method shown.

[0154] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0155] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0156] Those of ordinary skill in the art will appreciate 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 interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.

[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0158] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.

[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.

[0160] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.

[0161] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0162] Specific embodiments are used in this article to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for general technicians in this field, according to the ideas of this article, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on this article.

Claims

1. A model generation method for predicting track irregularity, characterized in that: include: Obtain the displacement, acceleration and angular velocity of the vehicle during operation; The displacement, acceleration and angular velocity are calculated to obtain a sequence of actual values ​​of track irregularity, wherein the actual values ​​of track irregularity corresponding to different time points during the operation of the vehicle are different; The vertical acceleration in the acceleration is input into the initial neural network model for training, and the initial neural network model is adjusted through a loss function cycle; the difference between the roughness prediction value obtained through model training and the corresponding roughness actual value is reduced, the absolute value of the roughness prediction value is less than or equal to the absolute value of the corresponding roughness actual value, and the difference between the peak value and the valley value of the roughness prediction value sequence and the corresponding roughness actual value is less than the set difference; and then the target neural network model is obtained; The loss function is determined by the following formula: Among them, EIF_MSE is the loss function, is the mean square error, n is the number of unsmooth actual values ​​in the unsmooth actual value sequence or the number of unsmooth predicted values ​​in the unsmooth predicted value sequence; is the risk coefficient, λ is any value greater than or equal to 0, y is the sequence of uneven actual values, y i is the ith irregular actual value in the irregular actual value sequence, is 0; is the inner coefficient, γ is any value greater than or equal to 0, y is an irregular actual value sequence, y i is the ith irregular actual value in the irregular actual value sequence, is an unsmooth prediction value sequence, is the i-th roughness prediction value in the roughness prediction value sequence.

2. The model generation method for predicting track irregularity according to claim 1, characterized in that: The method for determining the loss function includes: The loss function is composed of at least one of a risk coefficient and an inner coefficient, and a mean square error of an unsmooth actual value sequence and an unsmooth predicted value sequence; The mean square error is used to reduce the gap between the roughness prediction value obtained after model training and the corresponding roughness actual value; the risk coefficient is used to make the peak and valley values ​​of the roughness prediction value sequence equal to the corresponding roughness actual value; the medial coefficient is used to make the absolute value of the roughness prediction value obtained after model training less than or equal to the absolute value of the corresponding roughness actual value.

3. The method for generating a model for predicting track irregularity according to claim 1, characterized in that: The step of inputting the vertical acceleration in the acceleration into the initial neural network model for training, and adjusting the initial neural network model through a loss function cycle further comprises: Inputting the vertical acceleration in the acceleration into a one-dimensional convolutional neural network for training to obtain a first feature sequence; Inputting the first feature sequence into a bidirectional long short-term memory network for propagation in both forward and reverse directions to obtain a second feature sequence; The second feature sequence is input into a fully connected neural network for training, and the fully connected neural network is adjusted by a loss function.

4. The method for generating a model for predicting track irregularity according to claim 1, characterized in that: The calculating of the displacement, acceleration and angular velocity to obtain the actual value sequence of track irregularity further comprises: The displacement, acceleration and angular velocity are calculated by an inertial reference method to obtain an initial value sequence of track irregularity; The data of the initial value sequence of track irregularity is smoothed and fitted by a filtering algorithm to obtain a track actual value sequence of track irregularity.

5. The method for generating a model for predicting track irregularity according to claim 1, characterized in that: The step of inputting the vertical acceleration in the acceleration into the initial neural network model for training further comprises: Extracting a vertical acceleration from the acceleration, wherein the vertical acceleration corresponding to different time points during the operation of the vehicle is different; According to the time sequence of vehicle operation, the vertical accelerations are combined to form a plurality of vertical acceleration sequences, and the plurality of vertical acceleration sequences are input into the initial neural network model for training, wherein the number of vertical accelerations in each vertical acceleration sequence is the same.

6. A model generation device for predicting track irregularity, characterized in that: The device comprises: Acquisition module: acquires displacement, acceleration and angular velocity during vehicle operation; Actual value determination module: calculates the displacement, acceleration and angular velocity to obtain a track irregularity actual value sequence, wherein the actual values ​​of irregularity corresponding to different time points during the operation of the vehicle are different; Model determination module: inputting the vertical acceleration in the acceleration into the initial neural network model for training, and adjusting the initial neural network model through the loss function cycle; reducing the gap between the roughness prediction value obtained through model training and the corresponding roughness actual value, making the absolute value of the roughness prediction value less than or equal to the absolute value of the corresponding roughness actual value, and making the peak value and valley value of the roughness prediction value sequence equal to the corresponding roughness actual value; and then obtaining the target neural network model; The loss function is determined by the following formula: Among them, EIF_MSE is the loss function, is the mean square error, n is the number of unsmooth actual values ​​in the unsmooth actual value sequence or the number of unsmooth predicted values ​​in the unsmooth predicted value sequence; is the risk coefficient, λ is any value greater than or equal to 0, y is the sequence of uneven actual values, y i is the ith irregular actual value in the irregular actual value sequence, is 0; is the inner coefficient, γ is any value greater than or equal to 0, y is an irregular actual value sequence, y i is the ith irregular actual value in the irregular actual value sequence, is an unsmooth prediction value sequence, is the i-th roughness prediction value in the roughness prediction value sequence.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: When the computer program is executed by the processor, the computer program executes the instructions of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor of a computer device, the computer program executes the instructions of the method according to any one of claims 1 to 5.

9. A method for predicting track irregularity, characterized in that: include: Obtain the vertical acceleration of the vehicle during operation; The vertical acceleration is input into a target neural network model generated by the model generation method for predicting track irregularity according to any one of claims 1 to 5 to obtain a track irregularity value.