A method for analyzing catenary cable damage detection data
By screening, image enhancement and feature extraction of detection data of high-speed railway contact network load-bearing cables, combined with Retinex and CBAM attention mechanism modules, rapid and accurate detection of load-bearing cable damage is achieved, solving the problem of load-bearing cable damage identification. Improved safety and efficiency of rail transportation.
Patent Information
- Application Number
- CN202410864513.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-01
AI Technical Summary
High-speed railway catenary load-bearing cables are susceptible to damage such as wear, corrosion, and fracture, which affects the stability and safety of the catenary. Existing detection methods are difficult to quickly and accurately identify the type of damage, resulting in limited railway transportation safety and efficiency.
A catenary load-bearing cable damage detection data analysis method is adopted. By filtering and labeling the detection data, the Retinex image enhancement algorithm and the improved CBAM attention mechanism module are combined with the yolov5 model for feature extraction and identification, and data expansion and damage detection analysis are performed. , conduct statistics and verification based on high-accident time periods and regional information.
It improves the accuracy and efficiency of load-bearing cable damage detection, reduces the risk of false positives and false negatives, enhances the safety and reliability of railway transportation, and provides an efficient and reliable damage detection solution for high-speed railways.
Smart Images

Figure CN118397381B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of state performance detection of electrified railway equipment, and in particular to a method for analyzing data for damage detection of contact network load-bearing cables. Background Art
[0002] With the rapid development of high-speed railways, ensuring the safe, stable and efficient operation of trains has become the focus of railway technology research. The high-speed railway contact network system is a key facility for providing power to EMUs. The catenary cable, as an important part of the contact network, is responsible for supporting the contact line and maintaining the geometric shape and position of the contact network. It plays a vital role in ensuring the reliability and continuity of power transmission. The catenary cable maintains the suspension state of the contact line by bearing tension, so that it maintains appropriate contact pressure and contact height with the pantograph on the top of the train, thereby ensuring the smooth transmission of current. Since the catenary cable is in an open-air environment for a long time, it is affected by wind, temperature changes, vibration and other factors, and is prone to wear, corrosion, fracture and other damages. These damages will directly affect the stability and safety of the contact network, and then affect the safe operation of the entire railway transportation system. Therefore, real-time monitoring and damage detection of the state of the catenary cable are of great significance for preventing faults, reducing accident risks, and improving the efficiency and safety of railway transportation.
[0003] At present, the quality inspection of contact network usually uses inspection vehicles to collect inspection information by taking photos. High-speed railway contact network inspection vehicles can collect millions to tens of millions of equipment pictures every quarter. The intelligent analysis system can automatically identify thousands of defects in hundreds of parts including bolts and nuts, insulators, suspension strings, cotter pins, load-bearing cables, contact wires, etc. In particular, for specific damage types, by adopting a hybrid visual algorithm mode of traditional algorithms and deep learning, the fault detection rate of the specific damage type can be targeted and improved again, which plays an important role in actual work and greatly improves the efficiency of manual review.
[0004] Therefore, the value of the massive amount of test data obtained can be further mined. First, by setting an optimized algorithm for a single component such as a catenary cable, the detection rate of catenary cable damage can be improved. Second, the efficiency of catenary cable damage detection and review can be improved by optimizing the algorithm. Not only can the single risk investigation of the catenary cable be carried out, but also ideas can be provided for the detection optimization of different components of the contact network.
[0005] The present application aims to provide a new type of overhead contact network catenary cable damage detection data analysis method, which can timely discover and accurately judge the damage of the catenary cable by extracting and deeply analyzing the detection data of the catenary cable, and provide strong technical support for the safe operation of high-speed railways. Summary of the invention
[0006] The purpose of this application is to solve the above-mentioned problems in the prior art, and this application provides a method for analyzing data of catenary cable damage detection. This application improves the efficiency and effect of catenary cable damage detection for electrified railways.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] A method for analyzing catenary cable damage detection data, comprising the following steps:
[0009] Step 1: Based on the contact network detection data, screening is performed, and the environmental information and detection information are integrated for detection and classification, the catenary cable detection data is screened out, and different damage categories are marked; a database is established to store the catenary cable detection data;
[0010] Step 2: performing image enhancement on the catenary cable detection data to enhance contrast and details, thereby obtaining image enhanced detection data;
[0011] Step three, performing data expansion on the image enhancement detection data;
[0012] Step 4: Use the yolov5 model for feature extraction and identification;
[0013] Among them, an improved CBAM attention mechanism module is added after the backbone network feature extraction is completed and before the prediction output;
[0014] Among them, both the channel attention module and the spatial attention module are normalized using the scaling factor:
[0015] Step 5: Obtain damage detection analysis results.
[0016] Optionally, the Retinex enhancement algorithm is used in step 2:
[0017] ;
[0018] Among them, T0(x) is the initial brightness estimation map, L S (x) is each pixel in the original image, x is the pixel point, S is the color component of the pixel point, R, G, and B are the red component, green component, and blue component respectively;
[0019] , ,
[0020] in, is a differential operator that includes both horizontal and vertical directions. d is the difference calculation of the pixel position, ∑ is the summation operator, is a tiny parameter, h, v represent horizontal and vertical directions, W is the weight matrix, T is the brightness, T(x) is the brightness of pixel x, and d is the pixel position.
[0021] Optionally, the data expansion method includes horizontal flipping, random rotation from -20° to 20°, random color change, and random noise addition.
[0022] Optionally, the improved CBAM attention mechanism module is calculated using the following formula:
[0023] ;
[0024] Among them, μ C represents the mean and σ of the feature 2 C represents the variance of the feature, γ is a scaling adjustable transformation parameter, α is a moving adjustable transformation parameter, τ is a small constant, C is the number of channels, C in is the number of input channels, C out is the number of output channels, and BN( ) is the batch normalization function.
[0025] Optionally, the loss function calculation process uses the following formula:
[0026] ;
[0027] Where loss is the positioning loss, IOU is the horizontal box, a is the positive trade-off parameter, k is the aspect ratio consistency parameter, m is the Euclidean distance between the center point of the predicted box and the center point of the real box, and n is the diagonal length of the minimum rectangle covering the predicted box and the real box.
[0028] Optionally, the damage categories of the load-bearing cables include broken wires, broken strands, wear, corrosion, cracking, deformation, loose joints, and damaged joints.
[0029] Optionally, when storing the damage category data in step one, the same group of detection data of the same detection image may be marked with one damage category, or with multiple different damage categories, or with no damage.
[0030] Optionally, the contact network detection data is obtained by detecting the contact network, and includes detection data of multiple components of the contact network.
[0031] Optionally, the stored information in step one includes original test data, test time, test location, test batch, and damage category.
[0032] Optionally, after step 5, step 6 is included to combine the analysis results and the stored information to perform time and regional statistics, and output information on high-incidence time periods and high-incidence areas of accidents.
[0033] Optionally, a manual check is performed based on the information of the high-accident-incidence time period or the high-accident-incidence area to determine the cause of the accident.
[0034] This application has the following advantages:
[0035] (1) Targeted detection methods are set for the catenary cables, which can obtain more accurate detection results, eliminate interference from other catenary components, and improve the efficiency of catenary cable damage detection;
[0036] (2) The improved Retinex enhancement algorithm can handle the problem of uneven illumination. It is not only better than the classic Retinex enhancement algorithm, which is suitable for image processing with uniform illumination but cannot handle the boundary between light and dark well, but also more suitable for the detection of catenary cables than other enhancement algorithms.
[0037] (3) Using the improved CBAM attention mechanism module, compared with the general CBAM attention mechanism, it further improves the detection target saliency and suppresses information interference;
[0038] (4) Increase the dimension of detection data, record and store regional information, detection time information, etc. After obtaining the detection results, more fully explore the value of the data and provide information support for improving significant faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the basic steps of a method for detecting damage of catenary cables for electrified railways of the present application;
[0040] Figure 2 The figure shows the detection accuracy after setting different parameter conditions. DETAILED DESCRIPTION
[0041] 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.
[0042] like Figure 1 The figure shows a schematic diagram of the basic method steps for analyzing the damage detection data of the contact network load-bearing cables of the present application.
[0043] The catenary cable damage detection data is analyzed. First, the catenary cable detection data (101) is obtained. These detection data are detection image data collected by using a high-speed railway detection vehicle along the high-speed railway catenary line. These detection image data are preferably historical data that have been screened and analyzed by an existing intelligent analysis system, and the data belonging to the catenary cable is separated for labeling. If there is no ready-made screened and labeled data, the step of screening the catenary cable detection data (102) is performed, and then the separated catenary cable related data is manually labeled for damage classification. The damage categories include broken wires, broken strands, wear, corrosion, cracking, deformation, loose joints, damaged joints, etc. For the same image, all the damage categories involved need to be labeled. Therefore, the same set of detection data for the same image can have one damage category label, multiple damage category labels, or a label of no damage. As for the information such as the detection time and detection location, it comes with the detection image information and can be directly automatically entered and saved. If the high-speed railway inspection vehicle records environmental information such as temperature, humidity, and wind speed while acquiring the inspection image, this information is also retained. The comprehensive retention of information creates conditions for in-depth use of information in subsequent steps. The information after manual and automatic labeling is entered into a database for storage, which is the step of labeling damage categories and other labels and storing data (103).
[0044] The step of performing image enhancement using the Retinex enhancement algorithm (104) is to perform image enhancement on the catenary cable detection data using the Retinex enhancement algorithm to enhance contrast and details, thereby obtaining image enhanced detection data.
[0045] ;
[0046] Among them, T0(x) is the initial brightness estimation map, L S (x) is each pixel in the original image, x is the pixel point, S is the color component of the pixel point, R, G, and B are the red component, green component, and blue component respectively;
[0047] , ,
[0048] in, is a differential operator that includes both horizontal and vertical directions. d is the difference calculation of the pixel position, ∑ is the summation operator, is a tiny parameter, h, v represent horizontal and vertical directions, W is the weight matrix, T is the brightness, T(x) is the brightness of pixel x, and d is the pixel position.
[0049] The traditional Retinex image enhancement method is outstanding in improving image contrast and color restoration. It is particularly suitable for image processing in low-light and high dynamic range scenes. It can enhance the local contrast of the image while retaining more details and more realistic color perception, making the image content clearer and the color more natural. This Retinex enhancement algorithm is an improved Retinex enhancement algorithm. The classic Retinex enhancement algorithm is suitable for image processing with uniform illumination and cannot handle the boundary between light and dark well. The Retinex enhancement algorithm in the present invention abandons the filter that may affect the brightness of pixels on both sides of the edge of the area, and is particularly suitable for linear test objects such as catenary cables. The image enhancement effect is greatly improved. The use of the improved Retinex enhancement algorithm is also more suitable for the detection of contact network catenary cables than other enhancement algorithms, because other enhancement algorithms, such as those used to improve the detection effect of darker images, have limited enhancement of the catenary cable detection image. Figure 2 As shown in the figure, it can be seen from the test results that the direct impact is the improvement of detection accuracy.
[0050] The step of data expansion (105) for the image enhancement detection data needs to consider the total amount of labeled data. If the amount of labeled data is large enough, there is no need to expand the detection data, and the enhanced labeled data can be directly used as the training set. There are two main factors that affect the choice of data expansion. First, in the actual detection process, there is not enough load-bearing cable damage data, resulting in less data. Second, since the labeled data includes manual labeling, there is still a certain labeling cost. Therefore, when cost control is carried out or more data is needed for training, data expansion is performed. The data expansion methods include horizontal flipping, random rotation from -20° to 20°, random color change, and random noise addition.
[0051] Next, the yolov5 model is used for feature extraction and identification (106). Using the usual yolov5 model, the analysis effect can be significantly improved compared to the existing intelligent analysis system. However, it is still necessary to continue to set the yolov5 model to achieve a detection that is more suitable for the load-bearing cable. Among them, an improved CBAM attention mechanism module is added after the backbone network feature extraction is completed and before the prediction output. In the improved CBAM attention mechanism module, the channel attention module and the spatial attention module are both normalized using a scaling factor, and the calculation formula is as follows:
[0052] ;
[0053] Among them, μ C represents the mean and σ of the feature 2 Crepresents the variance of the feature, γ is a scaling adjustable transformation parameter, α is a moving adjustable transformation parameter, τ is a small constant, C is the number of channels, C in is the number of input channels, C out is the number of output channels, and BN( ) is the batch normalization function.
[0054] Adding the improved CBAM attention mechanism module can significantly improve the detection accuracy compared to directly using the yolov5 model. Figure 2 As shown in the figure, the detection accuracy is significantly improved by using the improved CBAM attention mechanism module compared with not adding the CBAM attention mechanism module.
[0055] In the yolov5 model used, the loss function calculation process uses the following calculation method:
[0056] ;
[0057] Among them, loss is the positioning loss, IOU is the horizontal box, a is the positive trade-off parameter, k is the aspect ratio consistency parameter, m is the Euclidean distance between the center point of the predicted box and the center point of the real box, and n is the diagonal length of the smallest rectangle covering the predicted box and the real box. Using such a loss function setting can reduce the proportion of abnormal images.
[0058] Since the full amount of information is retained when storing the detection data, after obtaining the damage detection analysis results, the data can be further used in depth to conduct statistical analysis of time, region and other information. Summarize the information of the time periods with high accident incidence and the information of the areas with high accident incidence, and analyze them. Retrieve the information for manual verification to determine the cause of the accident and analyze whether there are factors such as the quality of a batch of load-bearing cables is unqualified, the wind in a certain area is too strong to reduce the life of the load-bearing cables, and there are major negative impacts on the environment in a certain area during a certain period of time, so as to timely carry out load-bearing cable maintenance work or increase the replacement frequency of load-bearing cables in a certain area, so as to improve the overall safety and reliability of the contact network.
[0059] like Figure 2 As shown in the figure, by using the Retinex enhancement algorithm and adding the improved CBAM attention mechanism, the detection accuracy can be significantly improved.
[0060] In the data analysis method for detecting damage to the catenary cables of the contact network proposed in this application, the overall architecture of the adopted yolov5 model consists of four main parts: data input end, backbone network, neck structure and detection head. At the data input end stage, a series of preprocessing operations are performed on the input image, including uniform scaling and normalization. The core function of the backbone network is to extract image features and gradually reduce the size of the feature map by layer-by-layer processing. The neck structure adopts the design idea of PANet, and its specific implementation method is to extract shallower features from the backbone network, and then perform Concat operation with deeper semantic features to fuse feature information at different levels. The detection head contains three detection levels, each of which corresponds to three feature maps of different sizes generated by the neck structure. These three feature maps are respectively expanded by 1×1 convolution operations to expand the number of channels, and the final number of feature channels is (number of categories + 5) multiplied by the number of anchor points on each detection level. The 5 channels here represent the horizontal coordinate, vertical coordinate, width, height and confidence of the center point of the prediction box. Confidence is a measure of the reliability of the prediction box, and its value range is between 0 and 1. The larger the value, the more likely it is that the prediction box contains the target object.
[0061] The use of the detection method of the present application to detect damage to the contact network load-bearing cables has greatly improved the safety and reliability of railway transportation. Its accuracy and multi-scale detection capabilities enable the model to effectively identify damage of various sizes and shapes, reducing unnecessary risks caused by false alarms or missed alarms. The automation and robustness characteristics allow this method to adapt to changing environmental conditions. In addition, by increasing the input types and number of damage data, the detection capabilities of the method can be continuously improved. The use of the detection method of the present application provides an efficient, reliable and forward-looking solution for high-speed railway contact network load-bearing cable damage detection, which fully meets the safety requirements of modern railway operations.
[0062] 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.
[0063] 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 analyzing catenary cable damage detection data, characterized in that: The following steps are involved: Step 1: Based on the contact network detection data, screening is performed, and the environmental information and detection information are integrated for detection and classification, the catenary cable detection data is screened out, and different damage categories are marked; a database is established to store the catenary cable detection data; Step 2: performing image enhancement on the catenary cable detection data to enhance contrast and details, thereby obtaining image enhanced detection data; Step three, performing data expansion on the image enhancement detection data; Step 4: Use the yolov5 model for feature extraction and identification; Among them, an improved CBAM attention mechanism module is added after the backbone network feature extraction is completed and before the prediction output; Among them, both the channel attention module and the spatial attention module are normalized using the scaling factor: Step 5: Obtain damage detection analysis results; The Retinex enhancement algorithm used in step 2 is: ; Among them, T0(x) is the initial brightness estimation map, L S (x) is each pixel in the original image, x is the pixel point, S is the color component of the pixel point, R, G, and B are the red component, green component, and blue component respectively; , , in, is a differential operator that includes both horizontal and vertical directions. d is the difference calculation of the pixel position, ∑ is the summation operator, is a tiny parameter, h, v represent horizontal and vertical, W is the weight matrix, T is the brightness, T(x) is the brightness of pixel x, and d is the pixel position; Among them, the improved CBAM attention mechanism module is calculated using the following formula: ; Among them, μ C represents the mean and σ of the feature 2 C represents the variance of the feature, γ is a scaling adjustable transformation parameter, α is a moving adjustable transformation parameter, τ is a small constant, C is the number of channels, C in is the number of input channels, C out is the number of output channels, BN( ) is the batch normalization function; The damage categories of the load-bearing cables include broken wires, broken strands, wear, corrosion, cracking, deformation, loose joints, and damaged joints.
2. The method for analyzing catenary cable damage detection data according to claim 1, characterized in that: The data expansion method includes horizontal flipping, random rotation from -20° to 20°, random color change, and random noise addition.
3. The method for analyzing catenary damage detection data according to claim 1, characterized in that: The loss function calculation process uses the following formula: ; Where loss is the positioning loss, IOU is the horizontal box, a is the positive trade-off parameter, k is the aspect ratio consistency parameter, m is the Euclidean distance between the center point of the predicted box and the center point of the real box, and n is the diagonal length of the minimum rectangle covering the predicted box and the real box.
4. The method for analyzing catenary cable damage detection data according to claim 1, characterized in that: When storing the damage category data in step 1, the same group of detection data including the same detection image is marked with one damage category, or marked with multiple different damage categories, or marked with no damage.
5. The method for analyzing catenary cable damage detection data according to claim 1, characterized in that: The contact network detection data is obtained by detecting the contact network, and includes detection data of multiple components of the contact network.
6. The method for analyzing catenary cable damage detection data according to claim 1, characterized in that: The stored information in step 1 includes original test data, test time, test location, test batch, and damage category.
7. The method for analyzing catenary cable damage detection data according to claim 6, characterized in that: After step five, step six is included, combining the analysis results and the stored information, performing time and geographical statistics, and outputting information on time periods and areas with high accident incidence.
Citation Information
Patent Citations
Image wide dynamic enhancement method based on multi-exposure fusion framework
CN112381724A
Insulator defect detection method based on improved yolov5
CN114022432A
Semi-supervised deep learning defect detection method
CN114998202A
Wood defect detection method based on improved YOLOX model
CN115222685A
Insulator defect image detection method based on improved YOLOv5 network
CN115861263A
