A method for detecting damage to electrical connections in high-speed railways
Through the method of combining knowledge graph and convolutional neural network, the problem of detection accuracy and efficiency in high-speed railway electrical connection damage detection is solved, the rapid identification and accurate detection of various damage conditions is achieved, and the detection efficiency and accuracy are improved. .
Patent Information
- Application Number
- CN202410850463.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Existing high-speed railway electrical connection damage detection methods are difficult to balance detection accuracy and efficiency. Especially when dealing with multiple damage conditions, complex algorithms lead to extended detection time, and existing methods are difficult to quickly identify complex damage conditions such as burnout.
Using a method that combines knowledge graphs and convolutional neural network algorithms, we establish an electrical connection damage standard classification database, use Neo4j graph database to store the knowledge graph, combine edge detection and MobileNetV3 models for detection, and use the inverted residual structure and SE attention mechanism module , perform detection of multiple damage types.
It achieves comprehensive detection of various damage conditions of high-speed railway electrical connections, improves detection efficiency and accuracy, can quickly identify multiple damage types, including burnout conditions, and improves the closeness of detection through manual annotation and iterative update of the knowledge map. actual situation.
Smart Images

Figure CN118411569B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of status performance detection of electrified railway equipment, and in particular to a method for detecting damage to electrical connections on high-speed railways. Background Art
[0002] Electrical connection is an important part of the traction power supply system of electrified railways. It is used to conduct working current and short-circuit current between contact wires, load-bearing cables and contact network systems at different anchor sections, as well as between traction power feeders and overhead contact network equipment. The electrical connection device is related to the power supply of the contact network. Once a failure occurs, it will cause trains to stop and be delayed, which will affect people's travel. If the electrical connection line is broken, broken or even broken, it will directly affect the safety, reliability and power supply quality of the electrical circuit of the high-speed railway contact network, and in severe cases it will cause a bow-net failure. Therefore, it is necessary to attach great importance to the damage of the electrical connection, conduct regular inspections, and deal with it in a timely manner to ensure the high-speed and unimpeded travel of electrified trains.
[0003] At present, the more commonly used method for detecting electrical connections is to use an image acquisition device to collect images of the area to be detected in real time, and then determine whether the wire is loose or other damage occurs by image analysis. For example, CN107153832B is a method and system for detecting the loosening of equipotential wires in a high-speed railway contact network, which is to perform binarization and morphological expansion processing on the image of the area of interest, determine the connectivity of the processed image, and realize rapid detection of whether the equipotential wire is loose. However, in the actual detection process, there are many damage conditions in the electrical connection of the high-speed railway, including but not limited to deformation, broken strands, partial loosening, component detachment, broken wires, burning, etc. In particular, the situation is more complicated. The electrical connection may not be disconnected in the detection image, but it is damaged to the point that it cannot be used. At the same time, the detection of damage to the electrical connection of the high-speed railway needs to process a large amount of data. If each damage condition is detected separately, it will increase a lot of workload and reduce the detection efficiency. If a more complex algorithm is used, it will also lead to excessive computing power requirements and extend the detection time. It is difficult for existing detection algorithms to take into account both detection accuracy and detection efficiency.
[0004] Therefore, it is necessary to improve the existing detection methods and change the detection ideas to increase the types of detection damage and improve the detection efficiency while ensuring the detection accuracy, so as to solve the technical problem of efficient and accurate detection of high-speed railway electrical connection damage. Summary of the invention
[0005] The purpose of this application is to solve the above-mentioned problems in the prior art, and this application provides a method for detecting damage to electrical connections in high-speed railways. This application improves the efficiency and effect of detection, can be very close to the actual use conditions, and provide accurate detection results.
[0006] In order to achieve the above purpose, this application adopts the following technical solutions:
[0007] A method for detecting damage to electrical connections in a high-speed railway, comprising:
[0008] Establish a standard classification database for electrical connection damage. The types of electrical connection damage include deformation, broken strands, partial loosening, component detachment, wire breakage, and burning.
[0009] The classification database is used to construct a knowledge graph, wherein the knowledge graph is a three-layer structure of category-feature-detail, and the knowledge graph is stored in a graph database using a Cypher statement of Neo4j;
[0010] Input the detection data, use the knowledge graph as the detection training set to analyze the detection data, use the edge detection algorithm to extract edge lines for broken strands, component detachment, and broken wire detection; use the convolutional neural network algorithm to detect the graphic area for deformation, partial loosening, and burning detection; the convolutional neural network algorithm uses the MobileNetV3 model, which is composed of two fully connected linear layers, the first layer has an input dimension of 1 and an output dimension of 64, and the second layer has an input dimension of 64 and an output dimension of 3; the MobileNetV3 model uses an inverted residual structure and an SE attention mechanism module;
[0011] The test results are calculated.
[0012] In some technical solutions, the electrical connection damage types are expandable, and more damage types can be added.
[0013] In some technical solutions, a manual labeling method is used in the process of establishing a standard classification database for electrical connection damage; the knowledge graph has the properties of being expandable and updateable.
[0014] In some technical solutions, the manual labeling is labeling of actual detected damage pictures; the actual detected damage pictures may have multiple labeling tags at the same time.
[0015] Preferably, the process of constructing the knowledge graph uses the TResNet backbone to extract image classification detail features, and uses the ML-Decoder classification head to classify and decode the extracted features; and uses the annotated actual detected damage images as the knowledge graph training set.
[0016] In some technical solutions, the parameters of the MobileNetV3 model are set to a batch size of 128, and the training is divided into two stages. In the first stage, the model is trained using a training set and a validation set, iterated 20 times, using an Adam optimizer, and an initial learning rate of 0.01; in the second stage, the training set and the validation set are integrated to expand the training set, iterated 10 times, using an SGDM optimizer, and an initial learning rate of 0.001.
[0017] Preferably, the learning rate is halved when the loss of the MobileNetV3 model on the validation set does not decrease for more than 3 times.
[0018] In some technical solutions, the detection image is preprocessed to obtain the detection data, and the preprocessing includes grayscale processing and image cropping.
[0019] In some technical solutions, if there is a damage conclusion in the detection result, the damage conclusion contains classification information.
[0020] In some technical solutions, the same detection result may include the classification information of multiple damage categories.
[0021] Among them, the manual labeling process is carried out by several engineers with many years of maintenance experience.
[0022] This application has the following advantages:
[0023] (1) The high-speed railway electrical connection damage detection method of the present application not only detects the fracture situation, but can more comprehensively detect various electrical connection damage situations;
[0024] (2) Ability to output classified damage results and include multiple damage conditions at the same time;
[0025] (3) Use actual detection images to build a knowledge graph, which can be continuously updated iteratively, making it closer to the actual detection situation and improving detection accuracy;
[0026] (4) Experienced maintenance engineers perform manual annotation to improve the annotation quality and obtain a high-level knowledge graph;
[0027] (5) Use the improved MobileNetV3 model for detection, adjust and set multiple parameters, speed up detection, and improve detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Shown is a schematic diagram of the high-speed railway electrical connection damage detection process of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the present application is further described in detail in conjunction with the drawings and embodiments. It can be understood that the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments; the technical solutions of the present disclosure are described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure. It should also be noted that, for the convenience of description, only the part related to the present application is shown in the drawings, rather than all of them.
[0030] like Figure 1 Shown is a schematic diagram of the high-speed railway electrical connection damage detection process of the present application. For high-speed railway electrical connection damage detection, the first step is to pre-process the historical high-speed railway electrical connection damage pictures. The pre-processing includes grayscale processing and image cropping to meet the needs of subsequent use. Then a part of the actual damage pictures after pre-processing is selected, and these pictures are manually annotated by 5 or more maintenance experts with more than 10 years of work experience. A standard classification database for electrical connection damage is established, and the types of electrical connection damage include deformation, broken strands, partial loosening, component detachment, wire breakage, and burning; the annotated content is mainly in three aspects: category, feature, and details. The categories include but are not limited to deformation, broken strands, partial loosening, component detachment, wire breakage, and burning. The same picture can be annotated with multiple types of information, for example, both deformation and burning.
[0031] The process of constructing the knowledge graph uses the TResNet backbone to extract image classification detail features, and uses the ML-Decoder classification head to classify and decode the extracted features. The annotated actual detection damage pictures are used as the knowledge graph training set, and artificial intelligence methods are used to identify more actual detection pictures to supplement the knowledge graph. Therefore, the knowledge graph is not only updateable, but also in a state of continuous update and iteration as the actual damage pictures increase. Using such a knowledge graph can continuously improve the confidence of the detection results. The knowledge graph is stored in a graph database using Neo4j's Cypher statement, and the graph database is available for reference at any time.
[0032] After the knowledge graph is established, the knowledge graph can be used to analyze the image data to be detected. First, the data to be detected is preprocessed. Then, the detection data is input and the knowledge graph is used as the detection training set to analyze the detection data.
[0033] There are at least two ways to use it. One is to use edge detection algorithms to extract edge lines for broken strands, component detachment, and wire breakage detection. This is because broken strands, component detachment, and wire breakage all cause interruptions in the detection image continuity. Therefore, detecting the image edge can quickly find the image discontinuity and identify it.
[0034] The second is to use a convolutional neural network algorithm to detect the area of the graphics for deformation, partial loosening, and burning detection. The convolutional neural network algorithm uses the MobileNetV3 model. The MobileNetV3 model is mainly used for its lightweight characteristics and efficient performance. First of all, the lightweight characteristics of the MobileNetV3 model make it very suitable for use in resource-constrained environments. Rail transit damage detection belongs to a resource-constrained scenario, which usually requires the model to be able to process image analysis or video analysis tasks in real time, and MobileNetV3 just meets this requirement. In addition, the lightweight network MobileNetV3 performs particularly well in edge computing devices with limited storage space and power consumption because it has fewer parameters, lower computational complexity, and shorter inference time. Moreover, the performance and speed of the MobileNetV3 model have been significantly improved. MobileNetV3 is divided into two versions, one for high-resource use cases and the other for low-resource use cases. Low-resource use cases are used in this embodiment. The network structure of MobileNetV3 is learned through neural architecture search technology (NAS), which can help the model find the optimal network structure, thereby improving performance. The MobileNetV3 of this embodiment maintains a high accuracy rate while reducing parameters. It consists of two fully connected linear layers. The first layer has an input dimension of 1 and an output dimension of 64, and the second layer has an input dimension of 64 and an output dimension of 3.
[0035] Use the inverted residual structure and the SE attention mechanism module. The inverted residual structure is mainly used to improve the network's information retention ability and reduce the amount of calculation. The inverted residual structure first increases the dimension, then performs convolution operations, at which time more features can be extracted, and finally reduces the dimension through convolution. Therefore, the inverted residual structure is more conducive to improving detection accuracy. In addition, the depth-separable convolution is also referenced in the inverted residual structure of MobileNetV3, which not only extracts more comprehensive feature information, but also reduces the amount of network calculation. The SE module, full name Squeeze-and-Excitation module, is an attention mechanism used in deep learning. The main function of the SE module is to improve the network's representation ability by modeling the interdependence between convolution feature channels. It achieves this goal through two main operations. The first is the Squeeze operation: This is the process of compressing the spatial dimensions (width and height) of the feature map into a channel descriptor so that the global information between channels can be captured. The second is the Excitation operation: After the Squeeze operation, the Excitation operation models the importance of each channel through a set of learned weights, thereby adjusting the feature response of each channel. The SE attention mechanism module is integrated into the linear bottleneck inverted residual structure used in MobileNetV3, which enables the network to flexibly adjust the weights of each channel, reducing the amount of network calculation while preventing the loss of detailed features. In general, the SE module can help the network pay more attention to those features that have a greater impact on the final task through this mechanism, while suppressing those less important features, thereby improving the performance of the model.
[0036] The parameters of the MobileNetV3 model are set to , the batch size is set to 128, and the training is divided into two stages. In the first stage, the model is trained using the training set and the validation set, iterated 20 times, using the Adam optimizer, and the initial learning rate is 0.01; in the second stage, the training set and the validation set are integrated to expand the training set, iterated 10 times, using the SGDM optimizer, and the initial learning rate is 0.001. Among them, when the loss of the MobileNetV3 model on the validation set does not decrease for more than 3 times, the learning rate is halved.
[0037] The test result is calculated, and if there is a damage conclusion in the test result, the damage conclusion includes classification information. The same test result may include the classification information of multiple damage categories.
[0038] The high-speed railway electrical connection damage detection method of the present application is capable of detecting a variety of electrical connection damage situations, uses actual data for manual annotation and training to obtain a knowledge graph, and uses a lightweight and efficient model to process the detection data. While meeting a wider range of detection needs, it ensures the accuracy and efficiency of detection and improves the reliability of the detection method.
[0039] Note that, unless otherwise directly stated, all features disclosed in this specification (including any attached claims, abstracts and drawings) may be replaced by alternative features for achieving the same, equivalent or similar purposes. Therefore, unless otherwise explicitly stated, each feature disclosed is only an example of a group of equivalent or similar features. Where used, further, preferably, further and more preferably are simple beginnings for elaborating another embodiment based on the aforementioned embodiment, and the content of the further, preferably, further or more preferably followed by the combination with the aforementioned embodiment constitutes a complete composition of another embodiment. Several further, preferably, further or more preferably settings following the same embodiment can be arbitrarily combined to form another embodiment.
[0040] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application is described in detail with reference to the aforementioned embodiments, those skilled in the art can still improve the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification or equivalent replacement made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for detecting damage to electrical connections in high-speed railways, characterized in that: include: Establish a standard classification database for electrical connection damage. The types of electrical connection damage include deformation, broken strands, partial loosening, component detachment, wire breakage, and burning. Using the classification database to construct a knowledge graph, the knowledge graph is a three-layer structure of category-feature-detail, and using the Cypher statement of Neo4j to store the knowledge graph in a graph database; Input the detection data, use the knowledge graph as the detection training set to analyze the detection data, use the edge detection algorithm to extract edge lines for broken strands, component detachment, and broken wire detection; use the convolutional neural network algorithm to detect the graphic area for deformation, partial loosening, and burning detection; the convolutional neural network algorithm uses the MobileNetV3 model, which is composed of two fully connected linear layers, the first layer has an input dimension of 1 and an output dimension of 64, and the second layer has an input dimension of 64 and an output dimension of 3; the MobileNetV3 model uses an inverted residual structure and an SE attention mechanism module; Calculate and obtain the test results; The method of manual annotation is adopted in the process of establishing the standard classification database of electrical connection damage; the knowledge graph has the properties of being expandable and updateable; The manual labeling is to label the actual detected damage picture; the actual detected damage picture may have multiple labeling labels at the same time; The process of constructing the knowledge graph uses the TResNet backbone to extract image classification detail features, and uses the ML-Decoder classification head to classify and decode the extracted features; and uses the annotated actual detection damage pictures as the knowledge graph training set; The parameters of the MobileNetV3 model used are as follows: the batch size is set to 128, The training is divided into two stages. In the first stage, the model is trained using the training set and the validation set for 20 iterations, using the Adam optimizer and an initial learning rate of 0.
01. In the second stage, the training set and the validation set are integrated to expand the training set for 10 iterations, using the SGDM optimizer and an initial learning rate of 0.
001. When the loss of the MobileNetV3 model on the validation set does not decrease for more than 3 times, the learning rate is halved. The electrical connection damage types are expandable, and more damage types can be added.
2. The high-speed railway electrical connection damage detection method according to claim 1, characterized in that: The detection image is preprocessed to obtain the detection data, and the preprocessing includes grayscale processing and image clipping.
3. The high-speed railway electrical connection damage detection method according to claim 1, characterized in that: If there is a damage conclusion in the detection result, the damage conclusion contains classification information.
4. The high-speed railway electrical connection damage detection method according to claim 3, characterized in that: The same detection result may include the classification information of multiple damage categories.
