A method and system for predicting wind speed of coastal line trains based on regional environment
By setting up wind speed sensors and convolutional neural network prediction models next to the train track, combined with environmental and weather data, the accuracy problem of wind speed prediction along the coastal train track is solved, improving the accuracy of wind speed prediction and the robustness of the system. This ensures the safe operation of trains in typhoon weather.
Patent Information
- Application Number
- CN202410214200.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-02-27
AI Technical Summary
Existing technology cannot accurately predict the instantaneous wind speed along the coastal train track, making it difficult to control accurately during typhoon weather and increasing the risk of traffic accidents.
Set up a wind speed sensor next to the train track to collect real-time transient wind speed data, and use a convolutional neural network to combine environmental and weather data for prediction, and establish a prediction model to determine short-term wind speed for train operation control.
It improves the accuracy of wind speed prediction and the system's environmental adaptability, avoids the shortcomings of far-field wind speed in traditional methods, enhances the prediction accuracy under different terrains and road conditions, and ensures the safety of train operations.
Smart Images

Figure CN118171058B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of rail transit, and in particular relates to a method and system for predicting wind speed of coastal line trains based on regional environment. Background Art
[0002] Typhoons are frequent in coastal cities, which has a great impact on the transportation in coastal cities. Typhoon weather is generally accompanied by heavy rain after strong winds. Heavy rain mainly affects the driving vision and is relatively less harmful. Trains are developing in the direction of lightweight and high speed. The transient wind in strong typhoons can easily cause trains to tilt, roll over or derail. Therefore, the train control room needs to predict the wind speed ahead along the train track and formulate driving strategies in advance (determine the train speed according to the wind speed, slow down or stop operations, etc.) to prevent the train from being overturned or derailed by the typhoon and causing major traffic accidents. At present, the prediction of the wind speed ahead mainly refers to the average wind speed monitored by the local meteorological station. Meteorological stations are generally built in urban areas, while train tracks are generally built in suburbs and are far apart. The average wind speed monitored by the meteorological station is of little reference significance for the safety of high-speed train driving. It cannot accurately analyze the actual instantaneous wind speed under different terrains and road conditions along the coastal line, and cannot accurately control the train operation. Summary of the invention
[0003] In order to solve the above problems existing in the prior art, the present invention provides a method and system for short-term prediction of wind speed of coastal line trains based on regional environment. The purpose of the present invention can be achieved through the following technical solutions:
[0004] S1: a wind speed sensor is installed beside the train track, and the real-time transient wind speed along the train track is collected by the controller of the wind speed sensor to obtain raw wind speed data, and noise signals are removed according to the raw wind speed data to construct wind speed sample data;
[0005] S2: Obtain environmental data and weather data along the track and add weather labels to the wind speed prediction sample data;
[0006] S3: training a prediction network model using the wind speed prediction sample data;
[0007] S4: Calculate the real-time train station wind speed data and weather data through the trained prediction network model to obtain a prediction result, obtain a short-term predicted wind speed based on the prediction result and the environmental data, use the short-term predicted wind speed as a train operation control parameter, and specify a train driving plan based on the train operation control parameter.
[0008] Specifically, the step S1 specifically includes:
[0009] S101: Acquire original wind speed data, convert the original wind speed data into an embedded matrix according to an input time sequence, decompose the embedded matrix into sub-matrices, form a component matrix from the sub-matrices whose singular values are greater than 0, and convert the component matrix into a wind speed time series by diagonal averaging;
[0010] S102: transform the wind speed time series into the frequency domain to obtain spectrum data, divide the spectrum data to obtain continuous intervals, construct a scaling function in the continuous intervals to obtain detail coefficients and approximate coefficients, reconstruct the signal according to the detail coefficients and the approximate coefficients to obtain wind speed components, and the calculation formula is:
[0011] ,
[0012] Where f is the wind speed component, is the approximate coefficient, is the detail coefficient, F is the Fourier transform, A is the scaling function, w is the length of the continuous interval, j is the component count, and N is the number of component classes;
[0013] S103: Calculate the correlation coefficients of the wind speed components, and merge the wind speed components with correlation coefficients greater than 0.8 into wind speed sample data.
[0014] Specifically, the S2 specifically includes:
[0015] Acquire environmental data and weather data along the track, add weather labels to the wind speed sample data according to the weather data, if the weather data is extreme weather, set the weather label to -1, if the weather data is weather with no sustained wind direction, set the weather label to 1, if the weather data is breeze weather, set the weather label to 0, and add the weather label to the wind speed sample data; the environmental data includes station embankment height, train mass, damping, stiffness, and distance between stations.
[0016] Specifically, the step S3 specifically includes:
[0017] The wind speed sample data is input as input data into a convolutional neural network, the features of the input data are extracted in the convolutional neural network to obtain a feature map, and the feature map is reduced in dimension to obtain a feature map set; a convolution kernel is set according to the input data, and the features of the input data are extracted by sliding the convolution kernel to obtain a feature map. The calculation formula is:
[0018] ,
[0019] ,
[0020] Where C is the feature map matrix size, n is the matrix size of the input data, p is the padding data, s is the convolution stride, w is the convolution kernel size, h is the feature map, m is the feature map count, and f is the activation function. is the convolution operation, W is the weight of the feature map, and b is the bias parameter of the feature map;
[0021] Setting the size of the pooling sliding area, traversing the feature mapping matrix through the pooling sliding area, selecting the pooling value in the pooling sliding area as the feature mapping area data corresponding to the pooling sliding area to obtain a feature mapping set;
[0022] Establishing a prediction network model, initializing the network weights and bias parameters of the prediction network model to obtain a position vector and an initial prediction result vector, and obtaining a training data set and a number of iterations according to the feature mapping set;
[0023] A position vector is obtained according to the training data set, and if the fitness of the position vector at the next moment is greater than or equal to the fitness of the initial prediction result vector, the position vector is used as the prediction result vector; if the fitness of the position vector at the next moment is less than the fitness of the initial prediction result vector, the initial prediction result vector is used as the prediction result vector;
[0024] The prediction error value of the position vector is calculated. If the absolute value of the prediction error value is greater than 1, the position vector at the next moment is obtained according to the initial prediction result vector. The calculation formula is:
[0025] ,
[0026] Where x is the position vector, t is the number of iterations, is the initial prediction result vector, A is the prediction error value, and C is the coefficient vector composed of network weights and bias parameters;
[0027] If the absolute value of the prediction error is less than or equal to 1, the position vector at the next moment is obtained according to the prediction result vector, and the calculation formula is:
[0028] ,
[0029] Where x is the position vector, t is the number of iterations, is the prediction result vector, e is a natural number, b is the network weight, and l is the bias parameter;
[0030] The network parameters corresponding to the prediction result vector completed by iteration are used to construct a network parameter set, and the prediction network model is characterized by the network parameter set.
[0031] Specifically, the step S4 specifically includes:
[0032] The train wind speed data and weather data at the current moment are obtained and used as model input data, and the model input data is predicted by the prediction network model to obtain a prediction result;
[0033] A train operation data model is established based on the environmental data, and the calculation formula is:
[0034] ,
[0035] Among them, F is the train running load, M is the train mass, C is the damping, K is the stiffness, is the distance between stations, is the train speed, is the train acceleration;
[0036] The train operation load is obtained according to the train operation data model, and the train operation load and the prediction result are subjected to correlation test to obtain the wind speed of the next station. The calculation formula is:
[0037] ,
[0038] Among them, v is the predicted wind speed result, h is the station embankment height, K is the standard station embankment height, a is the wind speed profile coefficient, V is the predicted result wind speed, and w is the crosswind wind speed.
[0039] A coastal line train wind speed prediction system based on regional environment, including a data preprocessing module, an environmental analysis module, a prediction analysis module, and a wind speed comprehensive processing module;
[0040] The data preprocessing module is used to set a wind speed sensor beside the train track, collect the real-time transient wind speed along the train track through the controller of the wind speed sensor to obtain original wind speed data, remove noise signals according to the original wind speed data and construct wind speed sample data;
[0041] The environmental analysis module is used to obtain environmental data and weather data along the track and add weather tags to wind speed prediction sample data;
[0042] The prediction analysis module is used to train the prediction network model through the wind speed prediction sample data;
[0043] The wind speed comprehensive processing module is used to calculate the real-time train station wind speed data and weather data through the trained prediction network model to obtain the prediction result, obtain the short-term predicted wind speed according to the prediction result and the environmental data, use the short-term predicted wind speed as the train operation control parameter, and specify the train driving plan according to the train operation control parameter.
[0044] The beneficial effects of the present invention are:
[0045] (1) By installing wind speed sensors next to the train tracks, real-time transient wind speeds along the train tracks are collected and a wind speed database along the train tracks is established. At the same time, the data in the wind speed database along the typhoon tracks in previous years are integrated with the real-time wind speed monitored in front of the train to effectively predict the wind speed ahead of the train and formulate a safe train driving plan. The quality of the prediction model training data set and the accuracy of the prediction results are improved. Weather and environmental information features are added to the wind speed prediction model, which improves the environmental adaptability and robustness of the prediction system.
[0046] (2) By taking the wind speed at the monitoring point as the reference wind speed, the changing patterns of the wind speed of the high-speed train at different times and the running conditions on embankments of different heights are analyzed, and the running safety domain of the high-speed train under different road conditions is obtained. This avoids the situation in which the traditional method uses the far-field wind speed as the reference wind speed and needs to calculate a large number of different embankment heights, thereby improving the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0048] Figure 1 The present invention is a flow chart of a method for predicting wind speed of coastal line trains based on regional environment. DETAILED DESCRIPTION
[0049] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0050] See also Figure 1 , a method and system for predicting wind speed of coastal line trains based on regional environment;
[0051] S1: a wind speed sensor is installed beside the train track, and the real-time transient wind speed along the train track is collected by the controller of the wind speed sensor to obtain raw wind speed data, and noise signals are removed according to the raw wind speed data to construct wind speed sample data;
[0052] S2: Obtain environmental data and weather data along the track and add weather labels to the wind speed prediction sample data;
[0053] S3: training a prediction network model using the wind speed prediction sample data;
[0054] S4: Calculate the real-time train station wind speed data and weather data through the trained prediction network model to obtain a prediction result, obtain a short-term predicted wind speed based on the prediction result and the environmental data, use the short-term predicted wind speed as a train operation control parameter, and specify a train driving plan based on the train operation control parameter.
[0055] Specifically, the step S1 specifically includes:
[0056] S101: Acquire original wind speed data, convert the original wind speed data into an embedded matrix according to an input time sequence, decompose the embedded matrix into sub-matrices, form a component matrix from the sub-matrices whose singular values are greater than 0, and convert the component matrix into a wind speed time series by diagonal averaging;
[0057] S102: transform the wind speed time series into the frequency domain to obtain spectrum data, divide the spectrum data to obtain continuous intervals, construct a scaling function in the continuous intervals to obtain detail coefficients and approximate coefficients, reconstruct the signal according to the detail coefficients and the approximate coefficients to obtain wind speed components, and the calculation formula is:
[0058] ,
[0059] Where f is the wind speed component, is the approximate coefficient, is the detail coefficient, F is the Fourier transform, A is the scaling function, w is the length of the continuous interval, j is the component count, and N is the number of component classes;
[0060] S103: Calculate the correlation coefficients of the wind speed components, and merge the wind speed components with correlation coefficients greater than 0.8 into wind speed sample data.
[0061] In this embodiment, ISSA is used to implement the denoising process of the original wind speed data. The waveform similarity coefficient and noise reduction rate are introduced as evaluation indicators to verify the denoising effect. EWT is used to decompose the wind speed time series, and a CNN structure is established to process each subsequence, decomposing the time series into different frequency band components, and CNN is used to obtain the deep feature set of its data.
[0062] Specifically, the S2 specifically includes:
[0063] Acquire environmental data and weather data along the track, add weather labels to the wind speed sample data according to the weather data, if the weather data is extreme weather, set the weather label to -1, if the weather data is weather with no sustained wind direction, set the weather label to 1, if the weather data is breeze weather, set the weather label to 0, and add the weather label to the wind speed sample data; the environmental data includes station embankment height, train mass, damping, stiffness, and distance between stations.
[0064] Specifically, the step S3 specifically includes:
[0065] The wind speed sample data is input as input data into a convolutional neural network, the features of the input data are extracted in the convolutional neural network to obtain a feature map, and the feature map is reduced in dimension to obtain a feature map set; a convolution kernel is set according to the input data, and the features of the input data are extracted by sliding the convolution kernel to obtain a feature map. The calculation formula is:
[0066] ,
[0067] ,
[0068] Where C is the feature map matrix size, n is the matrix size of the input data, p is the padding data, s is the convolution stride, w is the convolution kernel size, h is the feature map, m is the feature map count, and f is the activation function. is the convolution operation, W is the weight of the feature map, and b is the bias parameter of the feature map;
[0069] Setting the size of the pooling sliding area, traversing the feature mapping matrix through the pooling sliding area, selecting the pooling value in the pooling sliding area as the feature mapping area data corresponding to the pooling sliding area to obtain a feature mapping set;
[0070] Establishing a prediction network model, initializing the network weights and bias parameters of the prediction network model to obtain a position vector and an initial prediction result vector, and obtaining a training data set and a number of iterations according to the feature mapping set;
[0071] A position vector is obtained according to the training data set, and if the fitness of the position vector at the next moment is greater than or equal to the fitness of the initial prediction result vector, the position vector is used as the prediction result vector; if the fitness of the position vector at the next moment is less than the fitness of the initial prediction result vector, the initial prediction result vector is used as the prediction result vector;
[0072] The prediction error value of the position vector is calculated. If the absolute value of the prediction error value is greater than 1, the position vector at the next moment is obtained according to the initial prediction result vector. The calculation formula is:
[0073] ,
[0074] Where x is the position vector, t is the number of iterations, is the initial prediction result vector, A is the prediction error value, and C is the coefficient vector composed of network weights and bias parameters;
[0075] If the absolute value of the prediction error is less than or equal to 1, the position vector at the next moment is obtained according to the prediction result vector, and the calculation formula is:
[0076] ,
[0077] Where x is the position vector, t is the number of iterations, is the prediction result vector, e is a natural number, b is the network weight, and l is the bias parameter;
[0078] The network parameters corresponding to the prediction result vector completed by iteration are used to construct a network parameter set, and the prediction network model is characterized by the network parameter set.
[0079] In this embodiment, the error back propagation algorithm is used to solve the problem of updating the connection weights of neurons in the hidden layer of the multi-layer perception network. In the prediction network, the outputs of all neurons in the previous network layer are used as input data of neurons in the next network layer and weighted with the corresponding connection weights. The sigmoid function is used as the excitation function of the hidden layer, and the linear function is used as the excitation function of the output layer.
[0080] Specifically, the step S4 specifically includes:
[0081] The train wind speed data and weather data at the current moment are obtained and used as model input data, and the model input data is predicted by the prediction network model to obtain a prediction result;
[0082] A train operation data model is established based on the environmental data, and the calculation formula is:
[0083] ,
[0084] Among them, F is the train running load, M is the train mass, C is the damping, K is the stiffness, is the distance between stations, is the train speed, is the train acceleration;
[0085] The train operation load is obtained according to the train operation data model, and the train operation load and the prediction result are subjected to correlation test to obtain the wind speed of the next station. The calculation formula is:
[0086] ,
[0087] Among them, v is the predicted wind speed result, h is the station embankment height, K is the standard station embankment height, a is the wind speed profile coefficient, V is the predicted result wind speed, and w is the crosswind wind speed.
[0088] A coastal line train wind speed prediction system based on regional environment, including a data preprocessing module, an environmental analysis module, a prediction analysis module, and a wind speed comprehensive processing module;
[0089] The data preprocessing module is used to set a wind speed sensor beside the train track, collect the real-time transient wind speed along the train track through the controller of the wind speed sensor to obtain original wind speed data, remove noise signals according to the original wind speed data and construct wind speed sample data;
[0090] The environmental analysis module is used to obtain environmental data and weather data along the track and add weather tags to wind speed prediction sample data;
[0091] The prediction analysis module is used to train the prediction network model through the wind speed prediction sample data;
[0092] The wind speed comprehensive processing module is used to calculate the real-time train station wind speed data and weather data through the trained prediction network model to obtain the prediction result, obtain the short-term predicted wind speed according to the prediction result and the environmental data, use the short-term predicted wind speed as the train operation control parameter, and specify the train driving plan according to the train operation control parameter.
[0093] The wind speed used in this embodiment is the wind speed measured at the high wind monitoring points along the railway. The prediction error variance is introduced into the wind speed time series prediction as an indicator to measure the stability of the prediction model.
[0094] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A method for predicting wind speed of coastal line trains based on regional environment, characterized in that: include: S1: a wind speed sensor is installed beside the train track, and the real-time transient wind speed along the train track is collected by the controller of the wind speed sensor to obtain raw wind speed data, and noise signals are removed according to the raw wind speed data to construct wind speed sample data; S2: Obtain environmental data and weather data along the track and add weather labels to the wind speed prediction sample data; S3: training a prediction network model using the wind speed prediction sample data; S4: Calculate the real-time train station wind speed data and weather data through the trained prediction network model to obtain a prediction result, obtain a short-term predicted wind speed according to the prediction result and the environmental data, use the short-term predicted wind speed as a train operation control parameter, and specify a train driving plan according to the train operation control parameter; The step S1 specifically includes: S101: Acquire original wind speed data, convert the original wind speed data into an embedded matrix according to an input time sequence, decompose the embedded matrix into sub-matrices, form a component matrix from the sub-matrices whose singular values are greater than 0, and convert the component matrix into a wind speed time series by diagonal averaging; S102: transform the wind speed time series into the frequency domain to obtain spectrum data, divide the spectrum data to obtain continuous intervals, construct a scaling function in the continuous intervals to obtain detail coefficients and approximate coefficients, reconstruct the signal according to the detail coefficients and the approximate coefficients to obtain wind speed components, and the calculation formula is: Where f is the wind speed component, W a is the approximate coefficient, W d is the detail coefficient, F is the Fourier transform, A is the scaling function, w is the length of the continuous interval, j is the component count, and N is the number of component classes; S103: Calculate the correlation coefficient of the wind speed components, and merge the wind speed components with the correlation coefficient greater than 0.8 into wind speed sample data; The step S3 specifically includes: The wind speed sample data is input as input data into a convolutional neural network, the features of the input data are extracted in the convolutional neural network to obtain a feature map, and the feature map is reduced in dimension to obtain a feature map set; a convolution kernel is set according to the input data, and the features of the input data are extracted by sliding the convolution kernel to obtain a feature map. The calculation formula is: h m =f((W m *x)+b m ), Where C is the feature map matrix size, n is the matrix size of the input data, p is the padding data, s is the convolution stride, w is the convolution kernel size, h is the feature map, m is the feature map count, f is the activation function, * is the convolution operation, W is the weight of the feature map, and b is the bias parameter of the feature map; Setting the size of the pooling sliding area, traversing the feature mapping matrix through the pooling sliding area, selecting the pooling value in the pooling sliding area as the feature mapping area data corresponding to the pooling sliding area to obtain a feature mapping set; Establishing a prediction network model, initializing the network weights and bias parameters of the prediction network model to obtain a position vector and an initial prediction result vector, and obtaining a training data set and a number of iterations according to the feature mapping set; A position vector is obtained according to the training data set, and if the fitness of the position vector at the next moment is greater than or equal to the fitness of the initial prediction result vector, the position vector is used as the prediction result vector; if the fitness of the position vector at the next moment is less than the fitness of the initial prediction result vector, the initial prediction result vector is used as the prediction result vector; The prediction error value of the position vector is calculated. If the absolute value of the prediction error value is greater than 1, the position vector at the next moment is obtained according to the initial prediction result vector. The calculation formula is: x(t+1)=x0(t)-A|C·x0(t)-x(t)|, Among them, x is the position vector, t is the number of iterations, x0 is the initial prediction result vector, A is the prediction error value, and C is the coefficient vector composed of network weights and bias parameters; If the absolute value of the prediction error is less than or equal to 1, the position vector at the next moment is obtained according to the prediction result vector, and the calculation formula is: x(t+1)=|x1(t)-x(t)|·e bl ·cos 2πl+x1(t), Among them, x is the position vector, t is the number of iterations, x1 is the prediction result vector, e is a natural number, b is the network weight, and l is the bias parameter; Constructing a network parameter set using the network parameters corresponding to the prediction result vector completed by iteration, and using the network parameter set to characterize the prediction network model; The step S4 specifically includes: The train wind speed data and weather data at the current moment are obtained and used as model input data, and the model input data is predicted by the prediction network model to obtain a prediction result; A train operation data model is established based on the environmental data, and the calculation formula is: F=Mx0+Cx1+Kx2, Among them, F is the train running load, M is the train mass, C is the damping, K is the stiffness, x0 is the distance between stations, x1 is the train speed, and x2 is the train acceleration; The train operation load is obtained according to the train operation data model, and the train operation load and the prediction result are subjected to correlation test to obtain the wind speed of the next station. The calculation formula is: Among them, v is the predicted wind speed result, h is the station embankment height, K is the standard station embankment height, a is the wind speed profile coefficient, V is the predicted result wind speed, and w is the crosswind wind speed.
2. The method according to claim 1, characterized in that The S2 specifically includes: Acquire environmental data and weather data along the track, add weather labels to the wind speed sample data according to the weather data, if the weather data is extreme weather, set the weather label to -1, if the weather data is weather with no sustained wind direction, set the weather label to 1, if the weather data is breeze weather, set the weather label to 0, and add the weather label to the wind speed sample data; the environmental data includes station embankment height, train mass, damping, stiffness, and distance between stations.
3. A coastal line train wind speed prediction system based on regional environment, characterized in that: It includes data preprocessing module, environmental analysis module, prediction analysis module and wind speed comprehensive processing module; The data preprocessing module is used to set a wind speed sensor beside the train track, collect the real-time transient wind speed along the train track through the controller of the wind speed sensor to obtain original wind speed data, remove noise signals according to the original wind speed data and construct wind speed sample data; The environmental analysis module is used to obtain environmental data and weather data along the track and add weather tags to wind speed prediction sample data; The prediction analysis module is used to train the prediction network model through the wind speed prediction sample data; The wind speed comprehensive processing module is used to calculate the real-time train station wind speed data and weather data through the trained prediction network model to obtain a prediction result, obtain a short-term predicted wind speed according to the prediction result and the environmental data, use the short-term predicted wind speed as a train operation control parameter, and specify a train driving plan according to the train operation control parameter; The prediction system uses the prediction method as described in claim 1 or 2 to predict wind speed.
Citation Information
Patent Citations
An intelligent adaptive prediction method for sudden change wind speed along a high-speed railway line
CN109002860A
Large data cluster prediction method of extreme wind speed along a high-speed railway line
CN109034476A
A railway and wind power plant environment wind speed machine learning prediction method
CN109726802A
Training method and application method of wind speed space-time prediction network and electronic equipment
CN115099318A
CNN-LSTM algorithm-based wind power minute level prediction method and system
CN115859816A
