Train operation prediction method and system based on heavy-load group train group communication and electronic equipment

By combining the extended Kalman filter and BiGRU model in the train, and using V2V communication technology, the long and short time domain trajectory prediction of the train ahead is realized, which solves the problems of insufficient prediction accuracy and coverage in the existing technology and improves the efficiency of autonomous trains. perception and safety.

CN118673286APending Publication Date: 2024-09-20CHINA SHENHUA ENERGY CO LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410768914.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately predict the long and short time domain position and speed of the train ahead, especially in complex traffic environments, and does not fully utilize the communication technology between vehicles, which affects the accuracy and coverage of the prediction.

Method used

Using a method based on heavy-haul group train group communication, combined with the extended Kalman filter and BiGRU model, vehicle information is obtained through V2V communication, a CTRA and spatio-temporal dual-layer prediction model is constructed, and an interactive multi-mode Kalman filter algorithm is used for weighted fusion , to realize the long and short time domain trajectory prediction of the train ahead.

Benefits of technology

It achieves fast, real-time status prediction of the train ahead, enhances the perception ability of self-driving trains, reduces uncertainty in the driving process, improves safety and road utilization, and enhances the accuracy and safety of the train's perception of the environment. Great sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673286A
    Figure CN118673286A
Patent Text Reader

Abstract

The invention discloses a train operation prediction method and system based on heavy-load group train group communication and electronic equipment. The method comprises the steps that historical track data of a front train and historical track data of trains in the same group are obtained; based on the historical trajectory data, historical trajectory features of the front train and the same group of trains are extracted; constructing a CTRA model based on extended Kalman filtering based on the historical trajectory characteristics of the front train; constructing a BiGRU-based space-time double-layer prediction model based on the historical track characteristics of the front train and the same group of trains; and performing weighted fusion on the long and short time domain trajectory prediction results of the front train through an interactive multi-mode Kalman filtering algorithm to obtain the future position and the running speed of the front train. According to the method, the comprehensive position and speed prediction of the front train in the short time domain is realized, the state prediction of the front train can be quickly carried out in real time, the perception of the automatic driving train on the non-line-of-sight train is enhanced, and the uncertainty in the train driving process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of trajectory prediction, and in particular to a train operation prediction method, system and electronic equipment based on group communication of heavy-load group trains. Background Art

[0002] Driving safety has always been an important issue in the driving field. During the train driving process, if the status of the train ahead can be accurately predicted, it can help the driver discover the risk of potential collision, giving the driver time to make safe and effective decisions, and effectively protecting the driver's personal safety.

[0003] However, the methods for accurately predicting the position and speed of the train ahead in the prior art are not perfect. Publication No. CN117150258A discloses a vehicle trajectory prediction method based on data-driven and theory-driven, wherein the method calibrates the parameters of the theoretical driving model through a genetic algorithm, predicts the driver's following behavior, and predicts the driving trajectory through a data-driven model, but can only judge the driver's driving trajectory during the following process, and lacks the prediction of the lane-changing train; Publication No. CN117171582A discloses a vehicle trajectory prediction method and system based on a spatiotemporal attention mechanism, wherein the method constructs a target prediction model, extracts spatial features and temporal features through the feature vector encoding layer, and then generates a prediction sequence through the decoding layer. After the prediction sequence passes through the neural network layer in turn, the predicted trajectory of the vehicle ahead is obtained, but it does not consider the improvement of the short-term prediction accuracy by combining the physical model, and the data only comes from the on-board sensor, does not make full use of the emerging vehicle-to-vehicle communication technology, and cannot provide global information, which seriously affects the prediction ability of complex traffic environments.

[0004] In view of this, the present invention proposes a train operation prediction method and system based on group communication of heavy-load group trains, which can obtain more comprehensive and accurate train information and realize accurate prediction of the long- and short-time domain comprehensive position and speed of the train ahead. Summary of the invention

[0005] In view of the above-mentioned problems in the prior art, the purpose of the present invention is to provide a train operation prediction method and system based on group communication of heavy-load group trains, by combining the advantages of model prediction method and data-driven prediction method, and using V2V communication technology to obtain more comprehensive vehicle information, to achieve accurate prediction of the long- and short-time domain comprehensive position and speed of the train ahead.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, an embodiment of the present invention provides a train operation prediction method based on group communication of heavy-load group trains, comprising:

[0008] S1: Obtain historical trajectory data of the preceding train and the trains in the same group;

[0009] S2: extracting historical trajectory features of the preceding train and the same train group based on the historical trajectory data;

[0010] S3: Based on the historical trajectory characteristics of the train ahead, a CTRA model based on extended Kalman filtering is constructed to obtain the short-term trajectory prediction results of the train ahead;

[0011] S4: Based on the historical trajectory characteristics of the preceding train and the trains in the same group, a spatiotemporal double-layer prediction model based on BiGRU is constructed to obtain the long-term trajectory prediction results of the preceding train;

[0012] S5: The long and short time domain trajectory prediction results of the front train are weighted and fused through the interactive multi-mode Kalman filter algorithm to obtain the future position and running speed of the front train.

[0013] Furthermore, the step S1 is specifically as follows:

[0014] S101: Acquire vehicle sensing device data of the preceding train and the same train group;

[0015] S102: Acquire V2V communication data of the preceding train and the train in the same group;

[0016] S103: Fusing the vehicle sensing device data and the V2V communication data to obtain the historical trajectory data of the preceding train and the trains in the same group.

[0017] Furthermore, the step S2 is specifically as follows:

[0018] S201: Setting contribution rate threshold;

[0019] S202: Performing dimensionality reduction processing on the historical trajectory data by using a kernel principal component analysis algorithm to obtain historical trajectory features;

[0020] S203: Calculate the contribution rate of the historical trajectory features, and filter and output the historical trajectory features that meet the contribution rate threshold.

[0021] Furthermore, the step S3 is specifically as follows:

[0022] S301: construct a CTRA model and set state variables;

[0023] The state variables are:

[0024] x k =[x,y,θ,v,ω,a] T

[0025] Where x and y are the horizontal and vertical coordinates of the train's location, respectively; θ is the train's direction of travel; v is the train's speed; ω is the train's turning rate; a is the train's acceleration; x is the train's acceleration; k is the current state; the superscript T is the transposition symbol;

[0026] S302: Initialize the state equation and state covariance matrix in the CTRA model;

[0027] S303: Based on the state equation and the current state, predict the state at the next moment:

[0028] x k+1 =f(x k , Δt)

[0029] In the formula, x k+1 is the state at the next moment; f is the state equation; Δt is the time step;

[0030] S304: Using the historical trajectory characteristics of the train ahead as measurement values, the state parameters in the CTRA model are predicted and iteratively updated through the extended Kalman filter algorithm to obtain the short-term position and speed prediction values ​​of the train ahead.

[0031] Furthermore, the step S4 is specifically as follows:

[0032] S401: Based on the two-layer BiGRU model, the temporal attention mechanism and the spatial attention mechanism, a BiGRU-based spatiotemporal two-layer prediction model is constructed;

[0033] S402: Modeling the historical trajectory features of the preceding train and the trains in the same group based on the BiGRU encoder, and converting them into feature vectors;

[0034] S403: Introduce the temporal attention mechanism into the upper-layer BiGRU network, assign different weights to different feature variables at the same time step, so as to obtain the dependency relationship between different variables at different time steps and realize the extraction of the intrinsic connection of the time series;

[0035] S404: Introduce the spatial attention mechanism into the BiGRU network at the lower layer to calculate the hidden interaction features of the same group of trains at the same time step to obtain the influence of different trains on the preceding train at different time steps;

[0036] S405: Connect the temporal attention vector of the preceding train and the spatial attention vector of the same train group through the connection layer in the attention layer to obtain hidden features, and input them into the BiGRU decoder for calculation;

[0037] S406: The hidden features are sequentially decoded through the BIGRU network in the BiGRU decoder, and the output of the BIGRU network is passed through the output activation layer to generate continuous prediction results at prediction time steps of indefinite length to obtain the long-term position and speed prediction values ​​of the train ahead.

[0038] Furthermore, in step S406, the calculation formula for generating continuous prediction results at the prediction time step of indefinite length is:

[0039]

[0040] In the formula, is the prediction result of the target vehicle at the prediction time step; Output activation; W dec is the Bi-GRU decoder weight; h t is a hidden feature; repet(h t ) is a repeated hidden feature.

[0041] Furthermore, the step S5 is specifically as follows:

[0042] S501: Initialize the covariance matrix and model probability weight matrix of the CTRA model and the BiGRU model;

[0043] S502: Calculate the input interaction probability matrix between the CTRA model and the BiGRU model;

[0044] S503: interactively mixing the input interaction probability matrix with the mean and covariance matrices of the two models respectively, to obtain the mean and variance of the previous step output of the two models in the interactive multi-mode Kalman filter algorithm model;

[0045] S504: Based on the Kalman filters corresponding to the CTRA model and the BiGRU model, perform state prediction and measurement update on the two models respectively;

[0046] S505: Measuring the similarity between the two models and the target state by using the maximum likelihood function, thereby updating the probability weight of each model;

[0047] S506: The predicted values ​​of the two models are weighted and fused to obtain the future position and running speed of the train ahead, as shown in the following formula:

[0048] Y=W1Y1+W2Y2

[0049] W1+W2=1

[0050] Where Y is the future position or running speed of the train ahead; Y1 is the future position or running speed predicted by the CTRA model, Y2 is the future position or running speed predicted by the BiGRU model, and W1 and W2 are the weights corresponding to the CTRA model and the BiGRU model, respectively.

[0051] Furthermore, in step S5, the calculation formula of the input interaction probability matrix is:

[0052]

[0053] In the formula, u i|j is the input interaction probability matrix; u i represents the model probability weight matrix of model i, is the normalization parameter; p ij is the transition probability from model i to model j;

[0054] The model mean and covariance calculation formula obtained after the interactive mixing is:

[0055]

[0056] In the formula, is the mixed state estimate of model j; is the state estimate of model i; P *j is the mixed error covariance of model j; P i is the error covariance of model i.

[0057] In a second aspect, an embodiment of the present invention provides a train operation prediction system based on group communication of heavy-load group trains, comprising:

[0058] Data acquisition module: used to obtain the historical trajectory data of the preceding train and the same group of trains;

[0059] Feature extraction module: used to extract historical trajectory features of the preceding train and the same group of trains based on the historical trajectory data;

[0060] Short-term prediction module: It is used to build a CTRA model based on the extended Kalman filter based on the historical trajectory characteristics of the train ahead to obtain the short-term trajectory prediction results of the train ahead;

[0061] Long-term prediction module: It is used to build a BiGRU-based spatiotemporal double-layer prediction model based on the historical trajectory characteristics of the preceding train and the trains in the same group, so as to obtain the long-term trajectory prediction results of the preceding train;

[0062] Trajectory fusion module: It is used to obtain the future position and running speed of the train ahead by weighted fusion of the long and short time domain trajectory prediction results of the train ahead through an interactive multi-mode Kalman filter algorithm.

[0063] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0064] a memory having a computer program stored thereon;

[0065] The processor is used to load and execute the computer program to implement the steps of the train operation prediction method based on heavy-load group train group communication as described above.

[0066] The beneficial effects brought by the embodiments provided by the present invention include:

[0067] The present invention realizes the comprehensive position and speed prediction of the long and short time domains of the leading train through the CTRA prediction model based on the extended Kalman filter and the spatiotemporal double-layer prediction model based on the BiGRU, and can quickly and in real time predict the state of the leading train, thereby enhancing the perception of the non-line-of-sight train by the automatic driving train, reducing the uncertainty in the train driving process, and improving the train driving safety and road utilization. The present invention collects the travel data of the train through the V2V technology, which can supplement the data collected by the vehicle perception equipment on the train, thereby improving the accuracy and robustness of the train's perception of the environment. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0069] Figure 1 A flow chart of a train operation prediction method based on group communication of heavy-load group trains provided by an embodiment of the present invention;

[0070] Figure 2 A schematic diagram of the structure of a train operation prediction system based on group communication of heavy-load group trains provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0071] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0072] However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, the description of the known technology is omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0073] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The term "comprising" used herein indicates the existence of features, steps, operations, but does not exclude the existence or addition of one or more other features. It should be noted that all terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used here should be interpreted as having meanings consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0074] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some boxes or combinations thereof in the block diagrams and / or flow charts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions can create a device for implementing the functions / operations described in these block diagrams and / or flow charts when executed by the processor. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). In addition, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, which can be used by an instruction execution system or used in conjunction with an instruction execution system.

[0075] Example 1

[0076] like Figure 1 As shown, an embodiment of the present invention provides a train operation prediction method based on group communication of heavy-load group trains, comprising:

[0077] S1: Obtain historical trajectory data of the preceding train and the trains in the same group;

[0078] In some embodiments, S1 specifically includes the following steps:

[0079] S101: Acquire vehicle sensing device data of the preceding train and the same train group;

[0080] Specifically, the vehicle perception equipment includes sensors such as radar, camera, lidar, inertial measurement unit, etc.; among which, the vehicle perception equipment data includes time, train type, train lateral and longitudinal position, and train speed.

[0081] S102: Acquire V2V communication data of the preceding train and the train in the same group;

[0082] Specifically, V2V communication data is obtained through on-board communication equipment; wherein, V2V communication data includes time, train length and width, train type, train lateral and longitudinal position, train speed, train acceleration, and train intention.

[0083] S103: Fusing the vehicle sensing device data and the V2V communication data to obtain the historical trajectory data of the preceding train and the trains in the same group.

[0084] S2: extracting historical trajectory features of the preceding train and the same train group based on the historical trajectory data;

[0085] In some embodiments, S2 specifically includes the following steps:

[0086] S201: Setting contribution rate threshold;

[0087] S202: Performing dimensionality reduction processing on the historical trajectory data by using a kernel principal component analysis algorithm to obtain historical trajectory features;

[0088] S203: Calculate the contribution rate of historical trajectory features, filter and output historical trajectory features that meet the contribution rate threshold;

[0089] Among them, the total contribution rate of the screened historical trajectory features is greater than 95%.

[0090] S3: Based on the historical trajectory characteristics of the train ahead, a CTRA model based on extended Kalman filtering is constructed to obtain the short-term trajectory prediction result of the train ahead;

[0091] In some embodiments, S3 specifically includes the following steps:

[0092] S301: construct a CTRA model and set state variables;

[0093] The state variables are:

[0094] x k =[x,y,θ,v,ω,a] T

[0095] Where x and y are the horizontal and vertical coordinates of the train's location, respectively; θ is the train's direction of travel; v is the train's speed; ω is the train's turning rate; a is the train's acceleration; x is the train's acceleration; k is the current state; the superscript T is the transposition symbol;

[0096] It should be noted that the CTRA model, namely the Constant Turn Rate and Acceleration model, is a dynamic model usually used in target tracking and motion prediction, and is mainly used to describe the changes of the target during motion.

[0097] S302: Initialize the state equation and state covariance matrix in the CTRA model;

[0098] In this embodiment, the expression of the state equation is as follows:

[0099]

[0100] In the formula, x k+1 is the state at the next moment; a k is the current train acceleration, ω k is the turning rate of the current train, v k is the current speed of the train, θ k is the current travel direction of the train; T is the number of time steps included in the prediction time domain.

[0101] S303: Based on the state equation and the current state, predict the state at the next moment:

[0102] x k+1 =f(x k , Δt)

[0103] Where f is the state equation; Δt is the time step;

[0104] S304: Using the historical trajectory characteristics of the train ahead as measurement values, the state parameters in the CTRA model are predicted and iteratively updated through the extended Kalman filter algorithm to obtain the short-term position and speed prediction values ​​of the train ahead.

[0105] In this embodiment, the historical trajectory characteristics of the front train are used as the measured value, the coordinates output by the extended Kalman filter are used as the estimated value, and the filtering algorithm is run in real time to estimate the future short-term position and running speed of the front train;

[0106] Among them, the state parameters of the CTRA model are continuously iteratively updated as intermediate parameters, which can better cope with various uncertainties and noises existing in actual trajectory data.

[0107] S4: Based on the historical trajectory characteristics of the preceding train and the trains in the same group, a spatiotemporal double-layer prediction model based on BiGRU is constructed to obtain the long-term trajectory prediction results of the preceding train;

[0108] In some embodiments, S4 specifically includes the following steps:

[0109] S401: Based on the two-layer BiGRU model, the temporal attention mechanism and the spatial attention mechanism, a BiGRU-based spatiotemporal two-layer prediction model is constructed;

[0110] It should be noted that the two-layer BiGRU model refers to a neural network structure consisting of two BiGRU (Bidirectional Gated Recurrent Unit) units, which is usually used for sequence modeling tasks such as text classification, named entity recognition, sentiment analysis and other tasks in natural language processing (NLP).

[0111] S402: Modeling the historical trajectory features of the preceding train and the trains in the same group based on the BiGRU encoder, and converting them into feature vectors;

[0112] S403: Introduce the temporal attention mechanism into the upper-layer BiGRU network, assign different weights to different feature variables at the same time step, so as to obtain the dependency relationship between different variables at different time steps and realize the extraction of the intrinsic connection of the time series;

[0113] S404: Introduce the spatial attention mechanism into the BiGRU network at the lower layer to calculate the hidden interaction features of the same group of trains at the same time step to obtain the influence of different trains on the preceding train at different time steps;

[0114] S405: Connect the temporal attention vector of the preceding train and the spatial attention vector of the same train group through the connection layer in the attention layer to obtain hidden features, and input them into the BiGRU decoder for calculation;

[0115] S406: The hidden features are sequentially decoded through the BIGRU network in the BiGRU decoder. After the output of the BIGRU network passes through the output activation layer, continuous prediction results are generated at the prediction time step of indefinite length to obtain the long-term position and speed prediction values ​​of the train ahead, as shown in the following formula:

[0116]

[0117] In the formula, is the calculation result of the target vehicle at the prediction time step; Output activation; W dec is the Bi-GRU decoder weight; h t is a hidden feature; repet(h t ) is a repeated hidden feature;

[0118] The calculation result is the long-term position and speed prediction value of the train ahead.

[0119] In this embodiment, the long-term trajectory prediction model introduces the temporal attention mechanism and the spatial attention mechanism to learn the historical trajectory and kinematic laws of the preceding train and its group of trains from the two dimensions of time and space, so as to better capture key information and enhance the interpretability and adaptability of the model.

[0120] Specifically, the steps for obtaining the temporal attention vector of the front train are as follows:

[0121] Extract hidden features of the preceding train based on the temporal attention mechanism;

[0122] Define the hidden feature vector matrix of the previous train input to BiGRU as H = [h1, h2, ..., h t ,];

[0123] Use m convolution filters to perform one-dimensional convolution in the hidden layer time step direction and extract the time matrix H C ;

[0124] The time matrix H C As a reference sequence, h t Used as a query sequence, a scoring function is calculated to map the importance of each hidden feature at a specific time step;

[0125] The expression of the score function is as follows:

[0126]

[0127] Where Z() represents the score function; is the row vector of Hc; After linear transformation W a is the weight matrix;

[0128] The score function is normalized using the sigmoid function to obtain the correlation weight, which is convenient for selecting multiple variables;

[0129] Among them, the correlation weight α i The expression is as follows:

[0130]

[0131] Using attention weights, Do a weighted sum on each row to get the temporal attention vector

[0132] Among them, the temporal attention vector v t The expression is as follows:

[0133]

[0134] Where m is the characteristic parameter.

[0135] S5: The long and short time domain trajectory prediction results of the front train are weightedly fused through an interactive multi-mode Kalman filter algorithm to obtain the future position and running speed of the front train.

[0136] In some embodiments, S5 specifically includes the following steps:

[0137] S501: Initialize the covariance matrix and model probability weight matrix of the CTRA model and the BiGRU model;

[0138] S502: Calculate the input interaction probability matrix between the CTRA model and the BiGRU model;

[0139] S503: interactively mixing the input interaction probability matrix with the mean and covariance matrices of the two models respectively, to obtain the mean and variance of the previous step output of the two models in the interactive multi-mode Kalman filter algorithm model;

[0140] It should be noted that the Interacting Multi-Model Kalman Filter (IMM-KF) algorithm is an efficient filtering method that estimates the target state by fusing multiple models, and has a wide range of applications in target tracking, navigation systems, etc. The core idea of ​​the IMM-KF algorithm is to model the target state as multiple different models and fuse these models through reasonable weight allocation to improve the accuracy and robustness of the estimation.

[0141] S504: Based on the Kalman filters corresponding to the CTRA model and the BiGRU model, perform state prediction and measurement update on the two models respectively;

[0142] S505: Measuring the similarity between the two models and the target state by using the maximum likelihood function, thereby updating the probability weight of each model;

[0143] S506: The predicted values ​​of the two models are weighted and fused to obtain the future position and running speed of the train ahead, as shown in the following formula:

[0144] Y=W1Y1+W2Y2

[0145] W1+W2=1

[0146] Where Y is the future position or running speed of the train ahead; Y1 is the future position or running speed predicted by the CTRA model, Y2 is the future position or running speed predicted by the BiGRU model, and W1 and W2 are the weights corresponding to the CTRA model and the BiGRU model, respectively.

[0147] In this embodiment, the calculation formula of the input interaction probability matrix is:

[0148]

[0149] In the formula, u i|j is the input interaction probability matrix; u i represents the model probability weight matrix of model i, is the normalization parameter; p ij is the transition probability from model i to model j;

[0150] In this embodiment, the model mean and covariance calculation formula obtained after interactive mixing is:

[0151]

[0152]

[0153] Where P *j is the mixed error covariance of model j; P i is the error covariance of model i; is the mixed state estimate of model j; is the state estimation of model i. When i is 1, i represents the CTRA model; when i is 2, i represents the BiGRU model.

[0154] The prediction method in this embodiment uses single-step rolling prediction to achieve multi-step prediction, which can ensure that the prediction at each moment is based on its previous historical data, so that the dynamic changes in the data and the trend of changes over time can be better captured, thereby improving the accuracy and applicability of the prediction.

[0155] The prediction method in this embodiment performs prediction by constructing a sliding time window and setting the prediction time domain and the sliding time window; the sliding time window refers to the time length of the historical trajectory;

[0156] Specifically, the prediction method in this embodiment uses single-step rolling prediction to implement multi-step prediction, including the following steps:

[0157] The length of the sliding time window is set to t time steps, and the length of the prediction time domain is set to T time steps; where t<T.

[0158] Predict the vehicle position and speed at the next moment based on the historical trajectory of the previous t time steps;

[0159] At each moment, the historical trajectory data of the previous t time steps is used to predict the next position and speed;

[0160] It is worth noting that the vehicle position and speed at each moment predicted step by step by this prediction method are based on the historical data at the most recent moment, which can better capture the dynamic changes and time trends of the data and improve the accuracy of the predicted data.

[0161] Example 2

[0162] like Figure 2 As shown, an embodiment of the present invention provides a train operation prediction system based on group communication of heavy-load group trains, comprising:

[0163] Data acquisition module: used to obtain the historical trajectory data of the preceding train and the same group of trains;

[0164] Feature extraction module: used to extract historical trajectory features of the preceding train and the same group of trains based on the historical trajectory data;

[0165] Short-term prediction module: It is used to build a CTRA model based on the extended Kalman filter based on the historical trajectory characteristics of the train ahead to obtain the short-term trajectory prediction results of the train ahead;

[0166] Long-term prediction module: It is used to build a BiGRU-based spatiotemporal double-layer prediction model based on the historical trajectory characteristics of the preceding train and the trains in the same group, so as to obtain the long-term trajectory prediction results of the preceding train;

[0167] Trajectory fusion module: It is used to obtain the future position and running speed of the train ahead by weighted fusion of the long and short time domain trajectory prediction results of the train ahead through an interactive multi-mode Kalman filter algorithm.

[0168] Example 3

[0169] An embodiment of the present invention provides an electronic device, including:

[0170] a memory having a computer program stored thereon;

[0171] A processor is used to load and execute the computer program to implement the steps of the train operation prediction method based on heavy-load group train group communication as described in Example 1.

[0172] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the train operation prediction method based on heavy-load group train group communication as described in the above embodiment are implemented.

[0173] It should be noted that the computer-readable storage medium of the present embodiment may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0174] In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device, or device. In this embodiment, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program used by or in combination with an instruction execution system, device, or device. The computer program contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0175] The computer readable storage medium can be written in one or more programming languages ​​or a combination thereof to execute the computer program of the present embodiment, and the programming language includes an object-oriented programming language, such as Python, Java, C++, and also includes a conventional procedural programming language, such as C language or similar programming languages. The program can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0176] In summary, the prediction method prediction model provided by the present invention integrates the model and data-driven method to predict the state of trains in the long and short time domains, can handle nonlinear relationships, enhance the generalization ability of the model, and effectively handle the behavioral differences between different trains and drivers; the present invention realizes the comprehensive position and speed prediction of the long and short time domains of the front train through the CTRA prediction model based on the extended Kalman filter and the spatiotemporal double-layer prediction model based on BiGRU, and can quickly and real-timely predict the state of the front train, enhance the perception of non-line-of-sight trains by the automatic driving train, reduce the uncertainty in the train driving process, and improve the train driving safety and road utilization; the present invention collects the travel data of the train through the V2V technology, which can supplement the data collected by the vehicle perception equipment on the train. The train can perceive the traffic conditions in real time and communicate with other trains, which improves the accuracy and robustness of the train's perception of the environment.

[0177] The above description of the present invention is only a preferred embodiment of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention.

Claims

1. A train operation prediction method based on group communication of heavy-load group trains, characterized in that: include: S1: Obtain historical trajectory data of the preceding train and the trains in the same group; S2: extracting historical trajectory features of the preceding train and the same train group based on the historical trajectory data; S3: Based on the historical trajectory characteristics of the train ahead, a CTRA model based on extended Kalman filtering is constructed to obtain the short-term trajectory prediction results of the train ahead; S4: Based on the historical trajectory characteristics of the preceding train and the trains in the same group, a spatiotemporal double-layer prediction model based on BiGRU is constructed to obtain the long-term trajectory prediction results of the preceding train; S5: The long and short time domain trajectory prediction results of the front train are weighted and fused through the interactive multi-mode Kalman filter algorithm to obtain the future position and running speed of the front train.

2. The method according to claim 1, characterized in that The step S1 is specifically as follows: S101: Acquire vehicle sensing device data of the preceding train and the same train group; S102: Acquire V2V communication data of the preceding train and the train in the same group; S103: Fusing the vehicle sensing device data and the V2V communication data to obtain the historical trajectory data of the preceding train and the trains in the same group.

3. The method according to claim 1, characterized in that The step S2 is specifically as follows: S201: Setting contribution rate threshold; S202: Performing dimensionality reduction processing on the historical trajectory data by using a kernel principal component analysis algorithm to obtain historical trajectory features; S203: Calculate the contribution rate of the historical trajectory features, and filter and output the historical trajectory features that meet the contribution rate threshold.

4. The method according to claim 1, characterized in that: The step S3 is specifically as follows: S301: construct a CTRA model and set state variables; The state variables are: x k =[x, y, θ, v, ω, a] T Where x and y are the horizontal and vertical coordinates of the train's location, respectively; θ is the train's direction of travel; v is the train's speed; ω is the train's turning rate; a is the train's acceleration; x is the train's acceleration; k is the current state; the superscript T is the transposition symbol; S302: Initialize the state equation and state covariance matrix in the CTRA model; S303: Based on the state equation and the current state, predict the state at the next moment: x k+1 =f(x k ,Δt) In the formula, x k+1 is the state at the next moment; f is the state equation; Δt is the time step; S304: Using the historical trajectory characteristics of the train ahead as measurement values, the state parameters in the CTRA model are predicted and iteratively updated through the extended Kalman filter algorithm to obtain the short-term position and speed prediction values ​​of the train ahead.

5. The method according to claim 1, characterized in that The step S4 is specifically as follows: S401: Based on the two-layer BiGRU model, the temporal attention mechanism and the spatial attention mechanism, a BiGRU-based spatiotemporal two-layer prediction model is constructed; S402: Modeling the historical trajectory features of the preceding train and the trains in the same group based on the BiGRU encoder, and converting them into feature vectors; S403: Introduce the temporal attention mechanism into the upper-layer BiGRU network, assign different weights to different feature variables at the same time step, so as to obtain the dependency relationship between different variables at different time steps and realize the extraction of the intrinsic connection of the time series; S404: Introduce the spatial attention mechanism into the BiGRU network at the lower layer to calculate the hidden interaction features of the same group of trains at the same time step to obtain the influence of different trains on the preceding train at different time steps; S405: Connect the temporal attention vector of the preceding train and the spatial attention vector of the same train group through the connection layer in the attention layer to obtain hidden features, and input them into the BiGRU decoder for calculation; S406: The hidden features are sequentially decoded through the BIGRU network in the BiGRU decoder, and the output of the BIGRU network is passed through the output activation layer to generate continuous prediction results at prediction time steps of indefinite length to obtain the long-term position and speed prediction values ​​of the train ahead.

6. The method according to claim 5, characterized in that In step S406, the calculation formula for generating continuous prediction results at the prediction time step of indefinite length is: In the formula, is the prediction result of the target vehicle at the prediction time step; Output activation; W dec is the Bi-GRU decoder weight; h t is a hidden feature; repet(h t ) is a repeated hidden feature.

7. The method according to claim 1, characterized in that The step S5 is specifically as follows: S501: Initialize the covariance matrix and model probability weight matrix of the CTRA model and the BiGRU model; S502: Calculate the input interaction probability matrix between the CTRA model and the BiGRU model; S503: interactively mixing the input interaction probability matrix with the mean and covariance matrices of the two models respectively, to obtain the mean and variance of the previous step output of the two models in the interactive multi-mode Kalman filter algorithm model; S504: Based on the Kalman filters corresponding to the CTRA model and the BiGRU model, perform state prediction and measurement update on the two models respectively; S505: Measuring the similarity between the two models and the target state by using the maximum likelihood function, thereby updating the probability weight of each model; S506: The predicted values ​​of the two models are weighted and fused to obtain the future position and running speed of the train ahead, as shown in the following formula: Y=W1Y1+W2Y2 W1+W2=1 Where Y is the future position or running speed of the train ahead; Y1 is the future position or running speed predicted by the CTRA model, Y2 is the future position or running speed predicted by the BiGRU model, and W1 and W2 are the weights corresponding to the CTRA model and the BiGRU model, respectively.

8. The method according to claim 7, characterized in that In step S5, the calculation formula of the input interaction probability matrix is: In the formula, u i|j is the input interaction probability matrix; u i represents the model probability weight matrix of model i, is the normalization parameter; p ij is the transition probability from model i to model j; The model mean and covariance calculation formula obtained after the interactive mixing is: In the formula, is the mixed state estimate of model j; is the state estimate of model i; P *j is the mixed error covariance of model j; P i is the error covariance of model i.

9. A train operation prediction system based on heavy-load group train group communication, characterized in that: include: Data acquisition module: used to obtain the historical trajectory data of the preceding train and the same group of trains; Feature extraction module: used to extract historical trajectory features of the preceding train and the same group of trains based on the historical trajectory data; Short-term prediction module: It is used to build a CTRA model based on the extended Kalman filter based on the historical trajectory characteristics of the train ahead to obtain the short-term trajectory prediction results of the train ahead; Long-term prediction module: It is used to build a BiGRU-based spatiotemporal double-layer prediction model based on the historical trajectory characteristics of the preceding train and the trains in the same group, so as to obtain the long-term trajectory prediction results of the preceding train; Trajectory fusion module: It is used to obtain the future position and running speed of the train ahead by weighted fusion of the long and short time domain trajectory prediction results of the train ahead through an interactive multi-mode Kalman filter algorithm.

10. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor is used to load and execute the computer program to implement the steps of the train operation prediction method based on heavy-load group train group communication as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Vehicle speed prediction method and device, vehicle and storage medium

    CN119705466A

  • CNN-BiGRU model-based sewage treatment dissolved oxygen concentration prediction method

    CN119807746A

  • Vehicle track prediction method, electronic equipment, chip system and storage medium

    CN120416776A