High-speed railway contact network intrusion risk prediction method, device and storage medium
By constructing and training multiple neural networks and constructing an integrated network, the problem of low accuracy in high-speed railway catenary intrusion risk detection is solved, the accuracy and robustness of risk prediction are improved, and the downtime caused by floating objects is reduced.
Patent Information
- Application Number
- CN202410332226.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-03-22
AI Technical Summary
In the existing technology, the accuracy of intrusion risk detection of high-speed railway catenary is low, and it is difficult to effectively predict the risk level of wind-induced floating objects, making it difficult for operation and maintenance management to formulate effective operation and maintenance plans to improve the safety and elasticity of the catenary.
Construct multiple initial neural networks, train the target neural network through the preset sample data set, calculate the pseudo-inverse matrix of the output matrix for regularization, determine the network weight matrix, and build an integrated network for risk prediction of high-speed railway contact networks.
Under unbalanced and small data set conditions, the accuracy and robustness of risk prediction are improved, reliable risk prediction of the catenary is achieved, and the downtime caused by floating objects is reduced.
Smart Images

Figure CN117933499B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of traffic safety technology, and in particular to a method, device and storage medium for predicting intrusion risks of a high-speed railway contact network. Background Art
[0002] At present, the overhead contact line without backup device on high-speed railway is the key carrier of traction power transmission, which is mainly composed of contact suspension, support device, positioning device, pillar and foundation. Due to various operating risks, such as natural aging, human factors, external weather conditions, etc., the safety performance of the contact network has attracted much attention. According to the statistical analysis of historical failure records, since the contact network is completely exposed outdoors, it is more susceptible to external weather conditions, especially wind. Wind has become one of the important factors leading to contact network failure, because the wind changes with the climate period and various terrains, and the contact network spans a wide range, so it will be affected by different wind speeds and directions. More specifically, kites, plastic bags, urea tapes, cloth strips, reflective films and other floating objects are easily hung on the contact network under the action of wind, collectively referred to as wind-induced floating object intrusion. Contact network failure caused by floating object intrusion is mainly divided into the following failure scenarios: 1) Tripping accident. The floating object intrusion caused by wind causes spatial electric field distortion, which reduces the insulation margin of the contact network line. In severe cases, the air gap is short-circuited directly, causing discharges from the conductor to the ground, from the conductor to the line, and from the conductor to the column, which in turn causes a tripping event. 2) Secondary flashover accidents. Generally, due to the long distance of the contact network, the intrusion of floating objects caused by wind cannot be cleared in time, and the overvoltage generated by the reclosing switch will cause secondary flashover accidents in the air gap, which may cause the conductor to burn or even melt. 3) Pantograph collision, or even contact network collapse. When a high-speed train passes through the floating object intrusion area, the floating objects wrapped around the pantograph are more likely to cause pantograph collision, arc discharge, and even contact network disconnection accidents. These consequences are catastrophic and often cause huge economic losses and negative social effects. These accidents will also have a serious adverse impact on the safety and resilience of the contact network. If the risk level of wind-induced floating objects can be effectively predicted, the operation and maintenance management department of the contact network can formulate corresponding operation and maintenance plans, such as personnel arrangements, inspection strategies, etc., to reduce the contact network operation risks caused by floating objects. Therefore, in order to make predictive operation and maintenance decisions and thus improve the safety and resilience of the overhead line, it is essential to predict the risk of wind-induced floating debris intrusion.
[0003] The related technologies mainly focus on intrusion monitoring methods. Existing foreign body intrusion monitoring methods include video recognition methods. Video recognition methods analyze the images captured by the video recorder in real time and use video recognition technology to determine whether there are foreign objects. The actual situation on the scene can be intuitively felt. The entire road section can be monitored by installing it at intervals, but it is easily affected by external interference such as weather and has low accuracy. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, device and storage medium for predicting intrusion risk of high-speed railway contact network to solve the technical problem of low accuracy in intrusion risk detection of high-speed railway contact network in the prior art.
[0005] The present disclosure provides a method for predicting intrusion risks of a high-speed railway contact network, comprising: constructing T initial neural networks, and training the T initial neural networks according to a preset sample data set to obtain T target neural networks after training, wherein T is a natural number greater than 1; inputting the preset sample data set into each of the target neural networks respectively, and obtaining an output matrix according to the output vectors of the T target neural networks; calculating a pseudo-inverse matrix of the output matrix, and regularizing the pseudo-inverse matrix, and determining a network weight matrix corresponding to the T target neural networks according to the regularization result; determining a network weight of each target neural network according to a weight vector in the network weight matrix; and constructing an integrated network according to the network weight and the T target neural networks, so as to facilitate risk prediction of the high-speed railway contact network according to the integrated network.
[0006] The present disclosure provides an intrusion risk prediction device for a high-speed railway contact network, comprising: a first training module, used to construct T initial neural networks, and train the T initial neural networks according to a preset sample data set to obtain T target neural networks after training, wherein T is a natural number greater than 1; a second training module, used to input the preset sample data set into each of the target neural networks respectively, and obtain an output matrix according to the output vectors of the T target neural networks; a weight matrix determination module, used to calculate the pseudo-inverse matrix of the output matrix, and regularize the pseudo-inverse matrix, and determine the network weight matrix corresponding to the T target neural networks according to the regularization result; a weight determination module, used to determine the network weight of each of the target neural networks according to the weight vector in the network weight matrix; an integrated network construction module, used to construct an integrated network according to the network weight and the T target neural networks, so as to facilitate risk prediction of the high-speed railway contact network according to the integrated network.
[0007] The present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented.
[0008] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0009] T initial neural networks are constructed, and T initial neural networks are trained according to a preset sample data set to obtain T target neural networks after training, wherein T is a natural number greater than 1, and then, the preset sample data set is input into each target neural network respectively, and the output matrix is obtained according to the output vector of the T target neural networks, the pseudo-inverse matrix of the output matrix is calculated, and the pseudo-inverse matrix is regularized, and the network weight matrix corresponding to the T target neural networks is determined according to the regularization result, and the network weight of each target neural network is determined according to the weight vector in the network weight matrix, and an integrated network is constructed according to the network weight and the T target neural networks, so as to facilitate the risk prediction of the high-speed railway contact network according to the integrated network. In this technical solution, the risk prediction of the contact network is realized, and it has the ability to predict uncertainty and strong robustness under the conditions of unbalanced and small data sets, thereby improving the accuracy and robustness of the risk prediction of the high-speed railway contact network. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0011] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0012] Figure 1 A schematic diagram of a flow chart of a method for predicting intrusion risk of a high-speed railway contact network provided in an embodiment of the present disclosure;
[0013] Figure 2 A schematic diagram of a training scenario of an initial neural network provided in an embodiment of the present disclosure;
[0014] Figure 3 A schematic diagram of a training process of an initial neural network provided in an embodiment of the present disclosure;
[0015] Figure 4 A schematic diagram of the structure of an integrated network provided by an embodiment of the present disclosure;
[0016] Figure 5 A schematic diagram of the structure of an intrusion risk prediction device for a high-speed railway contact network provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0017] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0018] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0019] The following describes the intrusion risk prediction method of the high-speed railway contact network according to the embodiment of the present disclosure with reference to the accompanying drawings. The intrusion risk prediction method of the high-speed railway contact network can be applied to the intrusion risk prediction device of the high-speed railway contact network. Figure 1 As shown, the intrusion risk prediction method of the high-speed railway contact network includes:
[0020] Step 101, construct T initial neural networks, and train the T initial neural networks according to a preset sample data set to obtain T trained target neural networks, where T is a natural number greater than 1.
[0021] Among them, in order to ensure the accuracy of subsequent risk prediction, the preset sample data set of the embodiment of the present disclosure includes multiple categories of sample data, and the multiple categories of sample data include at least multiple of the average maximum wind speed, the maximum maximum wind speed, the sum of the angle between the line direction and the wind direction, the sum of environmental sensitive parameters and the corresponding number of wind intrusions within a week, thereby ensuring that the relevant models trained subsequently can make full use of factors such as spatiotemporal correlation, uncertainty in maximum wind speed and wind direction, and environmental sensitive parameters, and have the ability to predict uncertainty and strong robustness under unbalanced and small data set conditions.
[0022] In some possible embodiments, a sample data set is collected based on the record of floating object intrusion caused by wind, and the record of floating object intrusion caused by wind includes the fault location (pillar number and fault kilometer mark), the date and time of floating object intrusion, the description of floating object intrusion, the contact network component, etc., wherein, in order to study the complex relationship between the number of floating object intrusions and the numerical data of wind, three key issues should be considered. The first is to determine the meteorological station for obtaining wind data. Considering that the contact network line spans a wide area, there are multiple meteorological stations in different cities. Therefore, the meteorological station located near the contact network is selected as the source of wind data. The second is to determine the prediction period. According to the investigation of the number of floating object intrusions and the contact network maintenance interval, the prediction period is set to one week. The third is to classify the risk level of wind-induced floating object intrusion. The weekly wind-induced floating object intrusion frequency of the contact network is distributed between 0 and 11.
[0023] It is obvious that most of the weekly counts of drift intrusion are at medium and low levels. Therefore, the counts related to wind-induced drift intrusion are divided into three categories. These three categories account for 90.70%, 6.98%, and 2.33%, respectively. The risk levels of 0 and 1 account for more than 97%. Since they account for the largest proportion, the number of wind-induced drift intrusions of zero is classified into one category. The medium risk level means that the number of wind-induced drift intrusions is one to two times. In addition, since the input data for the risk prediction of wind-induced drift intrusion in the overhead line is extensive and spatiotemporally correlated, a spatiotemporal similarity test is required to select the candidate sample data set for model training.
[0024] Among them, the spatial similarity test is aimed at evaluating the mutual spatial similarity in the wind data of different catenary corridors. The purpose of the spatial similarity test is to remove the catenary corridors that are not related to other corridors from the candidate list. The temporal correlation test is to select the high-rank wind data set of the catenary corridor and remove the redundancy. After the spatial similarity and temporal correlation tests, the candidate sample data set of the catenary is finally obtained.
[0025] Among them, in some possible embodiments, four key characteristics of wind variables can be selected, namely, the weekly average maximum wind speed, the weekly maximum wind speed, the weekly sum of the angle between the line direction and the wind direction, and the weekly sum of the environmental sensitive parameters (the sum of the angle between the line direction and the wind direction within a week, and the sum of the environmental sensitive parameters within a week). These four wind characteristics are closely related to the weekly floating object intrusion risk level of each contact network corridor. Based on the corresponding inputs of these four wind characteristics and the corresponding wind-induced floating object intrusion risk levels, the four wind characteristics corresponding to the candidate sample data set and the corresponding wind intrusion times can be used as the preset sample data set for model training in this embodiment.
[0026] In one embodiment of the present disclosure, T initial neural networks are constructed, where T is a natural number greater than 1, and each initial neural network is a multi-layer neural network with a single hidden layer.
[0027] In this embodiment, T initial neural networks are trained according to a preset sample data set to obtain T trained target neural networks.
[0028] The training method of the T target neural networks may be any adaptive enhancement training method for neural network training, as shown below:
[0029] In some possible embodiments, the first synaptic strength between the output layer and the single hidden layer of each initial neural network, and the second synaptic strength between the single hidden layer and the corresponding output layer are obtained, a first bias corresponding to the first synaptic strength and a second bias corresponding to the second synaptic strength are obtained, and an output function of each initial neural network is constructed according to the first synaptic strength, the second synaptic strength, the first bias, and the second bias, wherein the output function can be as shown in the following formula (1). In this embodiment, when the input is When , the predicted output is:
[0030] Formula (1)
[0031] Here, O is the output layer, j is the jth hidden neuron, H is the hidden layer, and M is the number of hidden neurons. is the number of input X, and the i-th component of input X is , where the components include, for example, one of the average maximum wind speed in a week, the maximum maximum wind speed, the angle between the line direction and the wind direction, and environmental sensitive parameters, is the second synaptic strength, is the first synaptic strength, is the first bias, is the second bias, and the function is is a common S-type function, .
[0032] Obtain target sample data weights for each preset sample data corresponding to each initial neural network, and iteratively update the first synaptic strength, the second synaptic strength, the first bias, and the second bias according to the output function, the preset sample data set, and the target sample data weights to obtain an updated first synaptic strength, an updated second synaptic strength, an updated first bias, and an updated second bias.
[0033] The synaptic strength and bias may be updated by adopting a stochastic gradient descent iterative update method. In some possible embodiments, the update rule may be summarized as the following formula (2), where: is the predicted output result about the network output, The actual output result of the corresponding sample data is:
[0034] Formula (2)
[0035] in, is any one of the updated first synaptic strength, the updated second synaptic strength, the updated first bias, and the updated second bias, To preset the learning rate, the learning rate is an important parameter in neural network training, which determines the size of each step adjustment when the model updates the weights during the optimization process. The correct choice of learning rate is crucial to the convergence speed and stability of the model. A smaller learning rate may cause the model to take a longer time to find the optimal solution, while a larger learning rate may cause the model to skip the optimal point or fall into a local minimum. The choice of learning rate usually needs to balance two aspects: on the one hand, avoid overfitting: a too small learning rate will cause the model to change slowly in the early stages of training, which may make it difficult for the model to capture the global features of the data, thereby affecting the generalization ability. On the other hand, reduce computational costs: a learning rate that is too large will increase computational overhead because the model needs to perform more weight updates in each round of iteration.
[0036] In practical applications, it is common to set the learning rate to a smaller value, such as 0.01 or 0.001, to ensure that the model can be effectively trained with limited computing resources. n is the nth actual training sample data set, is the sample data set weight of the nth actual training sample data set, is the actual output of the corresponding neural network, is the predicted output.
[0037] In this embodiment, the target neural network corresponding to each initial neural network is determined according to the updated first synaptic strength, the updated second synaptic strength, the updated first bias, and the updated second bias.
[0038] In this embodiment, in the modeling of a single neuron, D is the number of inputs x; synaptic strength is used to control the strength and direction of the influence of one neuron on another neuron; the S-type function is the activation function, which must be nonlinear, in order to introduce nonlinearity into the neural network and increase the complexity of neural network calculation. The training of the neural network is to update the corresponding synaptic strength and bias, and π is the synaptic strength or the corresponding bias obtained in each training.
[0039] Among them, in one embodiment of the present disclosure, the target sample data weight of each preset sample data corresponding to each initial neural network is obtained, wherein the target sample data weight is different for different neural networks. In this example, when the currently trained initial neural network is the first trained initial neural network, the total number of samples of the preset sample data set is determined, and the inverse of the total number of samples is determined as the target sample data weight of each preset sample data. That is, Figure 2As shown, T neural networks are trained one by one in sequence. When the first initial neural network is trained, the target sample data weight of each preset sample data corresponding to it is as shown in the following formula (3), where N is the total number of samples in the preset sample data set, n is the nth preset sample data, The target sample data weight for the nth preset sample data of the tth neural network is:
[0040] Formula (3)
[0041] That is, in this embodiment, the first trained initial neural network receives an equal amount of training for each preset sample data.
[0042] Continue to refer to Figure 2 , in the case of not being the first trained initial neural network, determine the number of error samples of the target neural network that was trained last, and determine the network error rate based on the number of error samples and the total number of samples.
[0043] And determine the absolute value of the difference between the predicted output result and the actual output result of each preset sample data corresponding to the target neural network that was trained last, calculate the ratio of the absolute value of the difference to the corresponding actual output result, and obtain the historical target sample data weight corresponding to the target neural network that was trained last and each preset sample data, compare the first preset sample data whose value is greater than the preset error threshold, determine the historical target sample data weight of the first preset sample data as the candidate sample data weight of the first preset sample data, compare the second preset sample data whose value is not greater than the preset error threshold, determine the product value of the historical target sample data weight of the second preset sample data and the network error rate as the candidate sample data weight of the second preset sample data, and normalize the candidate sample data weights of the first preset sample data and the second preset sample data to obtain the target sample data weights of the first preset sample data and the second preset sample data.
[0044] In this embodiment, for each subsequent indicator In the network, each sample weight Based on the previous sample No. The score error produced by the neural network is determined by express (Right now, ) of the input and output training samples To do this, the algorithm maintains a threshold When the absolute relative error is When the initial neural network output of the preset sample data is within , the error is calculated according to the following formula (4):
[0045] Formula (4)
[0046] That is, in this embodiment, the new weight By the previous According to the following formula (5), the preset sample data that is not predicted correctly will be assigned a larger target sample data weight, which means that it will have a greater probability of being used for training by the subsequent initial neural network. The corresponding initial neural network is The network error rate produced at the end of training, i.e., the sample set of training errors corresponding to each initial neural network is determined ,in, Refer to the following formula (6) for determination: It is obtained by the following formula (7). For example, out of 10 preset sample data, 6 are predicted correctly (the first preset sample data), and the error rate is 40%. The original weight of the historical target sample data is 0.1. After the update, the weight of the 4 wrong predictions is still 0.1. The weight of the 6 correct predictions (the second preset sample data) needs to be reduced. The target sample data weight is 0.1*0.4=0.04, etc. The purpose is to allow more damaged sample data with wrong predictions to appear, so as to train the subsequent initial neural network and ensure the reliability of the subsequent initial neural network:
[0047] Formula (5)
[0048] Formula (6)
[0049] Formula (7)
[0050] Among them, as mentioned in the above example, when the preset sample data set contains 10 preset poplar root data, if the target sample weight of the second preset sample data is updated to 0.04, then it is obvious that the sum of the target sample data weights corresponding to the 10 preset sample data is not 1, that is, the sum of 4 0.1s and 6 0.04s is not 1. Therefore, the candidate sample data weights of the first preset sample data and the second preset sample data are normalized, and the sum of the target sample data weights of the first preset sample data and the second preset sample data after normalization is 1.
[0051] Among them, in different application scenarios, the manner of normalizing the candidate sample data weights of the first preset sample data and the second preset sample data is different. In some possible embodiments, the following formula (8) can be used for normalization, wherein the sum of the target sample data weights of the first preset sample data and the second preset sample data after normalization is 1 as shown in formula (9).
[0052] Formula (8)
[0053] Formula (9)
[0054] In summary, in one embodiment of the present disclosure, referring to Figure 3 , when training T initial neural networks from t=1 to T, first use formula (1) and formula (2) to train the network Use formula (6) and formula (7) to calculate the network error rate , use formula (5) to calculate the target sample data weight of each preset sample data of each initial declaration network Using formula (8) for the distribution Perform normalization.
[0055] Step 102, inputting the preset sample data set into each target neural network respectively, and obtaining an output matrix according to the output vectors of the T target neural networks.
[0056] In one embodiment of the present disclosure, after T target neural networks are obtained, the T target neural networks are integratedly trained, that is, a preset sample data set is input into each target neural network respectively, and an output matrix is obtained according to the output vectors of the T target neural networks.
[0057] Reference Figure 4 , the prediction output of the integrated network Yes all The weighted sum of the target neural networks. In this embodiment, the output of each network can be organized as a Vector , the output matrix .
[0058] Step 103, calculate the pseudo-inverse matrix of the output matrix, perform regularization processing on the pseudo-inverse matrix, and determine the network weight matrices corresponding to the T target neural networks according to the regularization processing results.
[0059] Step 104, determining the network weight of each target neural network according to the weight vector in the network weight matrix.
[0060] In this embodiment, considering that in the traditional adaptive enhancement algorithm, in the output of the integrated network, the weights received by the target neural network are proportional to the logarithm of their inverse error rates, the network weights set for the t target neural networks are as follows (10):
[0061] Formula (10)
[0062] Thus, based on Figure 4 The output of the integrated network obtained from the architecture of the integrated network is shown in the following formula (11):
[0063] Formula (11)
[0064] In this embodiment, in order to minimize the sum of square differences between all preset sample data, reduce the sensitivity of the target neural network to the sample and increase robustness, the above-mentioned method of determining the network weights is improved. Column vector and ,in, is the vector representation of the actual output of the integrated network, is the vector representation of the predicted output of the integrated network, then the sum of squared errors between the actual output and the preset output can be expressed as the following formula (12), where, as described above, represents the actual output result of the sample, is the calculation result obtained by the algorithm of the present invention, that is, the vector representation of the prediction output result of the integrated network. The sum of the squares of the errors between the two is the variance, which is expressed as the following formula:
[0065] Formula (12)
[0066] The output of each target neural network can be organized as a Vector , in a similar way, the network weights can be arranged as a vector .definition Output Matrix , thus, in the improved algorithm, the output vector can be expressed as formula (13):
[0067] Formula (13)
[0068] Among them, formula (13) can be regarded as the vector identifier of formula (11). In this embodiment, if E is minimized, the corresponding network weight matrix can be obtained by the following formula (14):
[0069] Formula (14)
[0070] Formula (14) is The pseudo-inverse law of the matrix yes The pseudo-inverse.
[0071] That is, in this embodiment, the pseudo-inverse matrix is regularized, and the network weight matrices corresponding to the T target neural networks are determined based on the regularization results, and the network weight of each target neural network is determined based on the weight vector in the network weight matrix.
[0072] In one embodiment of the present disclosure, regularization can be added to improve the numerical stability of matrix inversion. Can get, is a preset small constant. That is, the network weight matrix is obtained by formula (15), where the network weight matrix is a T*1 matrix vector, and each matrix vector represents the network weight of the corresponding target neural network. Therefore, the network weight of each target neural network can be determined according to the weight vector in the network weight matrix:
[0073] Formula (15)
[0074] Step 105, constructing an integrated network according to the network weights and T target neural networks, so as to perform risk prediction of the high-speed railway contact network according to the integrated network.
[0075] In this embodiment, continue to adopt the above Figure 4 , an integrated network can be constructed according to the network weights and T target neural networks, so as to facilitate risk prediction of high-speed railway contact network based on the integrated network.
[0076] In one embodiment of the present disclosure, the preset sample data set includes sample data of multiple types of intrusion parameters of the high-speed railway contact network, for example, including the weekly average maximum wind speed, weekly maximum maximum wind speed, weekly sum of the angle between the line direction and the wind direction, and weekly sum of environmental sensitive parameters mentioned above. When the risk prediction of the high-speed railway network is performed according to the integrated network, the actual values of the multiple types of intrusion parameters of the high-speed railway contact network are obtained, and the actual values of the multiple types of intrusion parameters are respectively input into each target neural network of the integrated network to obtain T initial prediction values, wherein the initial prediction value in this embodiment can be the number of intrusion risks, etc., and the product value of the initial prediction value of each target neural network and the corresponding network weight is calculated to obtain T product values, and the T product values are summed to obtain the risk prediction value of the high-speed railway contact network. Among them, the risk prediction value here can also be the number of intrusion risks, etc.
[0077] Therefore, in the intrusion risk prediction method of the high-speed railway contact network proposed in the present disclosure, multiple types of intrusion parameters are comprehensively considered. For example, the intrusion risk prediction is carried out by combining the weekly average maximum wind speed, the weekly maximum wind speed, the weekly sum of the angle between the line direction and the wind direction, and the weekly sum of the environmental sensitive parameters. These four types of parameters are closely related to the weekly floating object intrusion risk level of each contact network corridor, which improves the accuracy and robustness of the prediction. The integrated network can make full use of factors such as spatiotemporal correlation, uncertainty of maximum wind speed and wind direction, and environmental sensitive parameters, and has the ability to predict uncertainty and strong robustness under unbalanced and small data set conditions. The integrated network in the present disclosure has smaller errors, smaller uncertainty ratios, and greater coverage of prediction uncertainty. It can obtain robust and reliable prediction results with high confidence, which is convenient for decision makers to believe the results provided by the prediction model based on the improved adaptive learning algorithm, and provides a feasible idea for guiding the operation and maintenance plan using the evaluated prediction uncertainty. At the same time, the proposed prediction model has lower operating costs and can effectively reduce the failure time of the contact network caused by floating objects.
[0078] In summary, the intrusion risk prediction method of the high-speed railway contact network of the embodiment of the present disclosure constructs T initial neural networks, and trains T initial neural networks according to a preset sample data set to obtain T target neural networks after training, wherein T is a natural number greater than 1, and then, respectively inputs the preset sample data set into each target neural network, and obtains an output matrix according to the output vectors of the T target neural networks, calculates the pseudo-inverse matrix of the output matrix, and performs regularization on the pseudo-inverse matrix, and determines the network weight matrix corresponding to the T target neural networks according to the regularization processing result, determines the network weight of each target neural network according to the weight vector in the network weight matrix, and constructs an integrated network according to the network weight and the T target neural networks, so as to facilitate the risk prediction of the high-speed railway contact network according to the integrated network. In this technical solution, the risk prediction of the contact network is realized, and it has the ability to predict uncertainty and strong robustness under the conditions of unbalanced and small data sets, thereby improving the accuracy and robustness of the risk prediction of the high-speed railway contact network.
[0079] In order to implement the above-mentioned embodiments, the present disclosure also proposes an intrusion risk prediction device for a high-speed railway contact network.
[0080] Figure 5 The present invention provides a schematic diagram of the structure of a high-speed railway overhead contact network intrusion risk prediction device, which can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 5 As shown, the device includes: a first training module 510, a second training module 520, a weight matrix determination module 530, a weight determination module 540, and an integrated network construction module 550, wherein:
[0081] A first training module 510 is used to construct T initial neural networks, and train the T initial neural networks according to a preset sample data set to obtain T trained target neural networks, where T is a natural number greater than 1;
[0082] A second training module 520, used to input a preset sample data set into each target neural network respectively, and obtain an output matrix according to the output vectors of the T target neural networks;
[0083] The weight matrix determination module 530 is used to calculate the pseudo-inverse matrix of the output matrix, perform regularization processing on the pseudo-inverse matrix, and determine the network weight matrices corresponding to the T target neural networks according to the regularization processing results;
[0084] A weight determination module 540, for determining the network weight of each target neural network according to the weight vector in the network weight matrix;
[0085] The integrated network construction module 550 is used to construct an integrated network according to the network weights and T target neural networks, so as to perform risk prediction of the high-speed railway contact network according to the integrated network.
[0086] The intrusion risk prediction device for the high-speed railway contact network provided in the embodiments of the present disclosure can execute the intrusion risk prediction method for the high-speed railway contact network provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. Its implementation principles and methods are similar and will not be repeated here.
[0087] In order to implement the above embodiments, the present disclosure also proposes a computer program product, including a computer program / instruction, which, when executed by a processor, implements the intrusion risk prediction method for the high-speed railway contact network in the above embodiments.
[0088] In order to implement the above-mentioned embodiment, the present disclosure also proposes an electronic device, which includes the above-mentioned intrusion risk prediction device for the high-speed railway contact network.
[0089] In order to implement the above-mentioned embodiments, the present disclosure also proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned high-speed railway contact network intrusion risk prediction method is implemented.
[0090] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0091] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for predicting intrusion risk of a high-speed railway contact network, characterized in that: include: Constructing T initial neural networks, and training the T initial neural networks according to a preset sample data set to obtain T trained target neural networks, wherein T is a natural number greater than 1, wherein the preset sample data set includes: the average maximum wind speed of the sample week, the maximum wind speed of the sample week, the weekly sum of the angle between the sample line direction and the wind direction, and the weekly sum of the sample environmental sensitive parameters; Inputting the preset sample data set into each of the target neural networks respectively, and obtaining an output matrix according to the output vectors of the T target neural networks; Calculate the pseudo-inverse matrix of the output matrix, perform regularization on the pseudo-inverse matrix, and determine the network weight matrix corresponding to the T target neural networks according to the regularization result, wherein the network weight matrix includes the network weight of each target neural network ; Determine the network weight of each of the target neural networks according to the weight vector in the network weight matrix; An integrated network is constructed according to the network weights and the T target neural networks, so as to perform risk prediction of the high-speed railway contact network according to the integrated network, and the network weight matrices corresponding to the T target neural networks determined according to the regularization processing results include: Determine the actual output vector of the T target neural networks and the predicted output vector , calculate the square error between the predicted output vector and the actual output vector: , Determine the output matrix corresponding to the T target neural networks ,in, , the output of each target neural network is a Vector , t is a natural number from 1 to T, and the pseudo-inverse matrix of the output matrix corresponding to the minimum value of the square error is determined , the pseudo-inverse matrix is regularized to obtain the network weight matrix corresponding to the T target neural networks: in, is the pseudo-inverse matrix of the output matrix, is the preset constant, is the identity matrix, is the pseudo-inverse matrix, is the output matrix, where 2 is the T network weights corresponding to the T target neural networks The network weight matrix composed of: Wherein, each of the initial neural networks is a multi-layer neural network with a single hidden layer, and the training process of each initial neural network includes: Obtaining the first synaptic strength between the output layer and the single hidden layer of each initial neural network, and the second synaptic strength between the single hidden layer and the corresponding output layer, acquiring a first bias corresponding to the first synaptic strength and a second bias corresponding to the second synaptic strength, constructing an output function of each of the initial neural networks according to the first synaptic strength, the second synaptic strength, the first bias, and the second bias, Obtaining the target sample data weight of each preset sample data corresponding to each of the initial neural networks, Iteratively updating the first synaptic strength, the second synaptic strength, the first bias, and the second bias according to the output function, the preset sample data set, and the target sample data weight to obtain an updated first synaptic strength, an updated second synaptic strength, an updated first bias, and an updated second bias, Determining a target neural network corresponding to each of the initial neural networks according to the updated first synaptic strength, the updated second synaptic strength, the updated first bias, and the updated second bias, The output function of each of the initial neural networks comprises: Wherein, y is the output function, M is the number of neurons contained in the single hidden layer, j is the corresponding hidden layer neuron, O is the output layer, is the squeezing function, for , is the first synaptic strength, is the second synaptic strength, where D is the number of inputs x, and the i-th component of input x is , is the first bias, is the second bias, Including: any one of the average maximum wind speed of the sample week, the maximum wind speed of the sample week, the angle between the sample line direction and the wind direction, and the sample environment sensitive parameter; Wherein, when the first synaptic strength, the second synaptic strength, the first bias and the second bias are iteratively updated according to the output function and the actual training sample data set, the iterative result of each iterative update is: in, is the prediction output result of the corresponding initial neural network for the preset sample data set, is the actual output result of the corresponding initial neural network for the preset sample data set, is any one of the updated first synaptic strength, the updated second synaptic strength, the updated first bias, and the updated second bias, is the preset learning rate, n is the nth actual training sample data set, is the sample data set weight of the nth actual training sample data set; where, The step of obtaining the target sample data weight of each preset sample data corresponding to each of the initial neural networks includes: Determine whether the currently trained initial neural network is the first trained initial neural network, In the case of the first trained initial neural network, the total number of samples of the preset sample data set is determined, and the reciprocal of the total number of samples is determined as the target sample data weight of each preset sample data. Determine the number of error samples of the target neural network that was trained last time when it is not the first trained initial neural network. Determine the network error rate according to the number of error samples and the total number of samples, and determine the absolute value of the difference between the predicted output result and the actual output result of each preset sample data corresponding to the target neural network that completed the training last time, Calculate the ratio of the absolute value of the difference to the corresponding actual output result, and obtain the weight of the historical target sample data corresponding to the target neural network completed by the previous training and each preset sample data, For the first preset sample data whose ratio is greater than the preset error threshold, determining the historical target sample data weight of the first preset sample data as the candidate sample data weight of the first preset sample data, For the second preset sample data whose ratio is not greater than the preset error threshold, determine the product value of the historical target sample data weight of the second preset sample data and the network error rate as the candidate sample data weight of the second preset sample data, The candidate sample data weights of the first preset sample data and the second preset sample data are normalized to obtain the target sample data weights of the first preset sample data and the second preset sample data; wherein the preset sample data set includes multiple types of intrusion parameter sample data of the high-speed railway contact network, and the risk prediction of the high-speed railway contact network based on the integrated network includes: Acquire multiple types of intrusion parameter actual values of the high-speed railway contact network, wherein the multiple types of intrusion parameter actual values include: actual weekly average maximum wind speed, actual weekly maximum wind speed, actual weekly sum of the angle between the line direction and the wind direction, and actual weekly sum of environmental sensitive parameters, The actual values of the multiple types of intrusion parameters are input into each of the target neural networks of the integrated network to obtain T initial prediction values, wherein the initial prediction values include the initial prediction times of the intrusion risk. Calculate the product value of the initial prediction value of each target neural network and the corresponding network weight to obtain T product values, The T product values are summed and calculated to obtain a risk prediction value of the high-speed railway contact network, wherein the risk prediction value includes a target predicted number of intrusion risks.
2. A device for predicting intrusion risk of a high-speed railway contact network, characterized in that: include: The first training module is used to construct T initial neural networks, and train the T initial neural networks according to a preset sample data set to obtain T trained target neural networks, wherein T is a natural number greater than 1, and wherein the preset sample data set includes: the average maximum wind speed of the sample week, the maximum wind speed of the sample week, the weekly sum of the angle between the sample line direction and the wind direction, and the weekly sum of the sample environmental sensitive parameters; A second training module, used to input the preset sample data set into each of the target neural networks respectively, and obtain an output matrix according to the output vectors of the T target neural networks; Weight matrix determination module, used for Determine the actual output vector of the T target neural networks and the predicted output vector , calculate the square error between the predicted output vector and the actual output vector: , Determine the output matrix corresponding to the T target neural networks ,in, , the output of each target neural network is a Vector , t is a natural number from 1 to T, and the pseudo-inverse matrix of the output matrix corresponding to the minimum value of the square error is determined , the pseudo-inverse matrix is regularized to obtain the network weight matrix corresponding to the T target neural networks: in, is the pseudo-inverse matrix of the output matrix, is the preset constant, is the identity matrix, is the pseudo-inverse matrix, is the output matrix, where is the T network weights corresponding to the T target neural networks The network weight matrix composed of: A weight determination module, used to determine the network weight of each target neural network according to the weight vector in the network weight matrix; An integrated network construction module, used to construct an integrated network according to the network weights and the T target neural networks, so as to perform risk prediction of the high-speed railway contact network according to the integrated network; Each of the initial neural networks is a multi-layer neural network with a single hidden layer. In the training process of each initial neural network, the training module is used to: Obtaining the first synaptic strength between the output layer and the single hidden layer of each initial neural network, and the second synaptic strength between the single hidden layer and the corresponding output layer, acquiring a first bias corresponding to the first synaptic strength and a second bias corresponding to the second synaptic strength, constructing an output function of each of the initial neural networks according to the first synaptic strength, the second synaptic strength, the first bias, and the second bias, Obtaining the target sample data weight of each preset sample data corresponding to each of the initial neural networks, Iteratively updating the first synaptic strength, the second synaptic strength, the first bias, and the second bias according to the output function, the preset sample data set, and the target sample data weight to obtain an updated first synaptic strength, an updated second synaptic strength, an updated first bias, and an updated second bias, Determine a target neural network corresponding to each of the initial neural networks according to the updated first synaptic strength, the updated second synaptic strength, the updated first bias, and the updated second bias; The output function of each of the initial neural networks comprises: Wherein, y is the output function, M is the number of neurons contained in the single hidden layer, j is the corresponding hidden layer neuron, O is the output layer, is the squeezing function, for , is the first synaptic strength, is the second synaptic strength, where D is the number of inputs x, and the i-th component of input x is , is the first bias, is the second bias, Including: any one of the average maximum wind speed of the sample week, the maximum wind speed of the sample week, the angle between the sample line direction and the wind direction, and the sample environment sensitive parameter, wherein when the first synaptic strength, the second synaptic strength, the first bias, and the second bias are iteratively updated according to the output function and the actual training sample data set, the iterative result of each iterative update is: in, is the prediction output result of the corresponding initial neural network for the preset sample data set, is the actual output result of the corresponding initial neural network for the preset sample data set, is any one of the updated first synaptic strength, the updated second synaptic strength, the updated first bias, and the updated second bias, is the preset learning rate, n is the nth actual training sample data set, is the sample data set weight of the nth actual training sample data set; The training module is further used to: determine whether the initial neural network currently being trained is the first initial neural network to be trained, In the case of the first trained initial neural network, the total number of samples of the preset sample data set is determined, and the reciprocal of the total number of samples is determined as the target sample data weight of each preset sample data. Determine the number of error samples of the target neural network that was trained last time when it is not the first trained initial neural network. Determine the network error rate according to the number of error samples and the total number of samples, and determine the absolute value of the difference between the predicted output result and the actual output result of each preset sample data corresponding to the target neural network that completed the training last time, Calculate the ratio of the absolute value of the difference to the corresponding actual output result, and obtain the weight of the historical target sample data corresponding to the target neural network completed by the previous training and each preset sample data, For the first preset sample data whose ratio is greater than the preset error threshold, determining the historical target sample data weight of the first preset sample data as the candidate sample data weight of the first preset sample data, For the second preset sample data whose ratio is not greater than the preset error threshold, determine the product value of the historical target sample data weight of the second preset sample data and the network error rate as the candidate sample data weight of the second preset sample data, The candidate sample data weights of the first preset sample data and the second preset sample data are normalized to obtain the target sample data weights of the first preset sample data and the second preset sample data; wherein the preset sample data set includes multiple types of intrusion parameter sample data of the high-speed railway contact network, and the integrated network construction module is further used to: Acquire multiple types of intrusion parameter actual values of the high-speed railway contact network, wherein the multiple types of intrusion parameter actual values include: actual weekly average maximum wind speed, actual weekly maximum wind speed, actual weekly sum of the angle between the line direction and the wind direction, and actual weekly sum of environmental sensitive parameters, The actual values of the multiple types of intrusion parameters are input into each of the target neural networks of the integrated network to obtain T initial prediction values, wherein the initial prediction values include the initial prediction times of the intrusion risk. Calculate the product value of the initial prediction value of each target neural network and the corresponding network weight to obtain T product values, The T product values are summed and calculated to obtain a risk prediction value of the high-speed railway contact network, wherein the risk prediction value includes a target predicted number of intrusion risks.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.
