Cable external damage prevention early warning method and device and storage medium

Through the combination of cameras and machine learning models, low-cost, real-time monitoring of cable breakage prevention is realized, which solves the problems in the existing technology of high cost of cable breakage prevention detection and difficulty in balancing detection accuracy and real-time performance, and provides a powerful Environmental adaptability and efficient early warning mechanism.

CN118736484AActive Publication Date: 2024-10-01ANHUI ZHONGKE HAOYIN TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410738616.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-10-01
Estimated Expiration
2044-06-07

AI Technical Summary

Technical Problem

In the existing technology, the cost of cable anti-breakage detection is high and it is difficult to achieve both real-time performance and detection accuracy. It is especially difficult to effectively monitor in complex environments.

Method used

Cameras are used for video image monitoring, combined with machine learning models to analyze target detection and vibration signals, and early warning processing is performed through the cloud server to achieve dual monitoring of vision and acoustics, reducing hardware costs and deployment complexity.

Benefits of technology

It achieves non-contact, low-cost, real-time early warning against external cable breakage, improves the comprehensiveness and accuracy of monitoring, reduces human misjudgments and false alarms, and enhances environmental adaptability and early warning efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736484A_ABST
    Figure CN118736484A_ABST
Patent Text Reader

Abstract

The invention relates to the field of cable monitoring, and discloses a cable external damage prevention early warning method and device and a storage medium, and the method comprises the steps: monitoring a camera in a preset range of a to-be-monitored cable; the camera communicates with the cloud server; acquiring a monitoring image by using a camera; constructing a target detection model at the cloud server side, and pre-training the target detection model; inputting the monitoring image into the trained target detection model to obtain a target detection result; if the target detection result belongs to the preset target, early warning is carried out on the terminal through the cloud server; otherwise, acquiring a sound signal according to a camera, and extracting a vibration signal according to the monitoring image of the adjacent frame; and further generating an early warning result through a pre-trained machine learning model according to the vibration signal and the sound signal. The method has the beneficial effects that the cost is low, the environmental adaptability is high, and the detection effect and the speed can be well balanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cable monitoring, and in particular to a cable external damage prevention early warning method, equipment and storage medium. Background Art

[0002] In the current context of rapid urbanization, underground cables, as the arteries of urban power transmission, face the threat of external damage, especially construction excavation, illegal intrusion and other activities, which lead to cable damage and affect the stability of the city's power supply and public safety.

[0003] Traditional monitoring methods that rely on manual patrols and fixed-point vibration sensors are not only costly, but also difficult to achieve real-time monitoring with wide coverage throughout the day, especially in complex and changing urban environments, where factors such as visual obstruction and nighttime hours limit the effectiveness of monitoring.

[0004] An existing cable line anti-destruction monitoring system and method based on DAS target sensing technology uses DAS target sensing technology, especially distributed optical fiber sensing technology. Although it is powerful, it may involve high initial construction and maintenance costs, including special equipment (such as lasers, EDFA amplifiers, couplers, etc.) and complex system integration, as well as the need for professional technicians, which increases the overall complexity and economic burden of the system.

[0005] In addition, a method, device, equipment and storage medium for monitoring external force damage to optical cables involve a large amount of data analysis and processing, including vibration waveform analysis, risk value calculation, event point identification, loss risk assessment and other steps. Natural vibrations in the marine environment (tidal surges, biological activities) or non-hazardous unrelated events may also trigger alarms, requiring precise threshold calibration and algorithms to reduce false positive results, otherwise it may affect operation and maintenance efficiency and waste resources.

[0006] In general, how to provide a low-cost, widely used cable anti-fraud warning method with certain detection accuracy and real-time performance is a difficult problem that needs to be solved urgently. Summary of the invention

[0007] The purpose of the present invention is to propose a cable anti-external damage warning method, device and storage medium to solve the technical problems of the prior art that the cable anti-external damage detection cost is high and the detection accuracy and real-time performance cannot be taken into account.

[0008] A cable damage prevention early warning method comprises the following steps:

[0009] S1: deploying a camera within a preset range of the cable to be monitored; the camera communicates with a cloud server;

[0010] S2: Use the camera to obtain monitoring images;

[0011] S3: Build a target detection model on the cloud server and pre-train it to obtain a pre-trained target detection model;

[0012] S4: Input the monitoring image into the trained target detection model to obtain the target detection result;

[0013] S5: If the target detection result belongs to the preset target, an early warning is sent to the terminal through the cloud server; otherwise, proceed to step S6;

[0014] S6: Acquire the sound signal according to the camera, and extract the vibration signal according to the monitoring image of the adjacent frame;

[0015] S7: According to the vibration signal and the sound signal, a warning result is further generated through a pre-trained machine learning model.

[0016] A storage medium stores instructions and data for implementing a cable external damage prevention early warning method.

[0017] A cable external damage prevention early warning device comprises: a processor and the storage medium; the processor loads and executes instructions and data in the storage medium to implement a cable external damage prevention early warning method.

[0018] The beneficial effects provided by the present invention are:

[0019] 1) Non-contact and non-destructive monitoring:

[0020] The system of the present invention does not need to be in direct contact with the cable or related equipment, thereby avoiding possible physical damage to the cable or equipment. This non-contact monitoring method not only ensures the integrity of the cable and equipment, but also greatly reduces the installation and maintenance costs and improves the reliability and service life of the system.

[0021] 2) Comprehensive monitoring with visual and acoustic fusion:

[0022] By integrating video image processing and sound feature extraction technology, the present invention realizes dual monitoring of vision and acoustics. Within the visible range, the system can directly observe through video images; in areas with limited or invisible vision, image analysis and sound feature extraction are used to identify potential threats. This all-round monitoring method greatly improves the comprehensiveness and accuracy of the early warning system.

[0023] 3) Strong environmental adaptability:

[0024] Even in the presence of obstructions or complex environments, such as tree branches and eaves blocking the line of sight, the system of the present invention can still extract vibration and sound features through image processing technology, effectively breaking through the line of sight limitations of traditional monitoring systems. This strong environmental adaptability enables the present invention to achieve excellent monitoring effects in various practical application scenarios.

[0025] 4) Efficient early warning and preventive maintenance:

[0026] By analyzing image and sound data in real time, the system can promptly detect potential vibration and sound anomalies, such as the operating sound of construction machinery, and quickly issue an early warning. This efficient early warning mechanism enables relevant departments to take timely measures to effectively prevent cable breakage accidents and ensure the safety and stability of power supply.

[0027] 5) Intelligent analysis and decision support:

[0028] The present invention integrates advanced image processing technology and intelligent algorithms, which can automatically identify, classify and judge various situations without human intervention. This not only improves processing speed and accuracy, but also greatly reduces the possibility of human misjudgment and false alarms. At the same time, the system can also provide decision support for emergency response, further improving the efficiency and effectiveness of cable protection work.

[0029] 6) Cost-effectiveness and scalability:

[0030] Compared with traditional monitoring methods, the present invention does not require the installation of additional physical sensors on cables or their surroundings, thus significantly reducing hardware costs and deployment complexity. In addition, since the system is based on video surveillance, it can be easily expanded to monitor a wider area, providing more comprehensive protection for the safe operation and maintenance of urban distribution networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic flow chart of the method of the present invention;

[0032] Figure 2 This is a schematic diagram of the situation where there is no obstruction to the cable in the camera's monitoring field of view;

[0033] Figure 3 This is a schematic diagram of the situation where there is an obstruction in the camera's monitoring field of view;

[0034] Figure 4 It is a working schematic diagram of the hardware device of the present invention. DETAILED DESCRIPTION

[0035] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0036] Before formally describing the present invention, the scheme of the present invention is first generally described for easy understanding.

[0037] Please refer to Figure 1 , Figure 1 It is a schematic flow diagram of the method of the present invention;

[0038] The present invention provides a cable damage prevention early warning method, comprising the following steps:

[0039] S1: deploying a camera within a preset range of the cable to be monitored; the camera communicates with a cloud server;

[0040] It should be noted that the deployment of the cameras of the present invention takes into account two scenarios, one is that there are obstructions within the preset range of the cable to be monitored, and the other is that there are no obstructions within the preset range of the cable to be monitored.

[0041] Please refer to Figure 2-3 ; Figure 2 This is a schematic diagram of the situation where there is no obstruction to the cable in the camera's monitoring field of view; Figure 3 This is a schematic diagram of the situation where there is an obstruction in the camera's monitoring field of view.

[0042] Depending on whether there is an obstruction, the present invention adopts two different monitoring schemes. When there is an obstruction, the vibration characteristics + sound characteristics are used for comprehensive judgment. When there is no obstruction, the target detection model is used to detect foreign targets for judgment. This will be described in detail below.

[0043] S2: Use the camera to obtain monitoring images;

[0044] It should be noted that the present invention continuously captures the video data of the key area of ​​the cable line through high-definition video monitoring equipment to form a time series video frame set

[0045] {I(t)|t=1,2,...,T}(1)

[0046] Where I(t) represents the video frame captured at time t.

[0047] S3: Build a target detection model on the cloud server and pre-train it to obtain a pre-trained target detection model;

[0048] It should be noted that the target detection model includes: R-CNN model and YOLO model.

[0049] As an embodiment, the present invention is described by taking the YOLO model as an example.

[0050] The YOLO (You Only Look Once) algorithm performs well in target detection tasks, especially in identifying objects that may pose a threat to cables (such as pile drivers, excavators, cranes, hoists, forklifts, etc., which may accidentally hit or dig up cables).

[0051] S4: Input the monitoring image into the trained target detection model to obtain the target detection result;

[0052] Step S4 is specifically as follows:

[0053] S41, after scaling and preprocessing the monitoring image, input it into the trained target detection model;

[0054] As an example, the original input image I(t) needs to be scaled to meet the input requirements of the model. The size of the scaled image I′(t) is usually 416×416 pixels. The scaling formula is as follows:

[0055] I′(t)=ResizeGunction(I(t),TargetSize)(2)

[0056] Here, TargetSize is the target size, for example, 416×416 pixels.

[0057] S42, the image is divided into a plurality of grids;

[0058] As an example, YOLO uses a unified convolutional neural network to simultaneously predict multiple bounding boxes and category probabilities. The image I'(t) is divided into S×S grids (e.g., 13×13), and each grid is responsible for detecting objects whose center falls within the grid.

[0059] S43, for each grid, the trained target detection model predicts its target bounding box and category probability;

[0060] ① As an embodiment, each grid predicts B bounding boxes, each bounding box contains the following parameters:

[0061] The probability that an object exists in the bth bounding box in grid (i, j).

[0062] Normalized offset of the bounding box center.

[0063] in:

[0064] S is the size of each grid (assuming the grid is square), (x 预测框中心, y 预测框中心 ) is the coordinate of the center of the prediction box, and (x网格左上角, y 网格左上角 ) are the coordinates of the upper left corner of the current grid.

[0065] The relative ratio of the width and height of the bounding box. Where:

[0066]

[0067] w 预测框 and h 预测框 are the width and height of the prediction box, respectively, and S is the size of each grid (assuming the grid is square)

[0068] For each grid, the probabilities of C classes are also predicted:

[0069]

[0070] p ij is a vector whose elements are arrive Each element represents the probability or score of the corresponding category C at position (i, j).

[0071] The raw data output by the object detection model needs to be decoded into specific bounding box coordinates and category probabilities.

[0072] The decoding formula is as follows:

[0073]

[0074] σ is the Sigmoid function, (c x ,c y ) is the coordinate of the upper left corner of the grid, (p w ,p h ) is the predefined anchor box size.

[0075]

[0076] ① Loss function: Taking into account coordinate error, confidence error and classification error, the loss function can be expressed as:

[0077] The loss function is a common multi-task loss function in target detection tasks, which usually includes coordinate loss (localization loss), confidence loss (confidence loss) and classification loss (classification loss).

[0078] Loss = λ coord ∑L loc +ΣL conf +λ cls ∑L cls (9)

[0079] in,

[0080] ∑L loc : is the sum of all positioning losses.

[0081] ∑L conf : is the sum of all confidence losses.

[0082] ∑L cls : is the sum of all classification losses.

[0083] λ coord and λ cls is a hyperparameter used to balance the losses of different tasks so that different types of losses are given different weights during training.

[0084] Furthermore, the specific form of each loss item can be clarified. For example:

[0085] L loc The mean squared error (MSE) or other forms of regression loss function are used to measure the difference between the predicted bounding box and the true bounding box.

[0086] L conf The binary cross entropy loss is usually used to measure the difference between the predicted target confidence and the true value.

[0087] L cls The Categorical Cross Entropy Loss may be used to measure the difference between the predicted target category and the true category.

[0088] Therefore, the entire loss function can be regarded as the weighted sum of these three parts of loss, and by adjusting λ coord and λ cls To optimize the overall performance of the model.

[0089] S44. Use non-maximum suppression to suppress overlapping prediction boxes to obtain target detection results.

[0090] As an example, non-maximum suppression (NMS) is used to remove overlapping prediction boxes and retain only the most likely correct detection results. The non-maximum suppression (NMS) process is as follows:

[0091] Arrange the prediction boxes in descending order of confidence. Calculate the intersection-over-union ratio of each pair of prediction boxes:

[0092]

[0093] AΙB represents the intersection of set A and set B. In object detection, this usually corresponds to the area where two predicted boxes (or bounding boxes) overlap. This intersection is used as the numerator of the formula and represents the area covered by the two predicted boxes.

[0094] AΥB represents the union of set A and set B. In object detection, it represents the total area occupied by the two predicted boxes, including the overlapping and non-overlapping parts. This union is used as the denominator of the formula to normalize the intersection, thereby obtaining a value between 0 and 1 to measure the degree of overlap between the two predicted boxes.

[0095] Therefore, the IoU formula measures the degree of overlap between two predicted boxes. Values ​​closer to 1 indicate more overlap, and values ​​closer to 0 indicate less overlap. In object detection tasks, IoU is often used to evaluate the similarity between predicted boxes and true boxes, as well as to remove overlapping predicted boxes through non-maximum suppression (NMS) in post-processing steps. If the IoU of two boxes exceeds a set threshold, the box with higher confidence is retained and the other is removed.

[0096] S5: If the target detection result belongs to the preset target, an early warning is sent to the terminal through the cloud server; otherwise, proceed to step S6;

[0097] It should be noted that if the target detection result is a threatening object such as a pile driver, excavator, crane, hoist, forklift, etc. that may accidentally hit or dig up the cable, an early warning will be issued.

[0098] When there is an obstruction in the cable monitored by the camera, the present invention performs early warning detection by combining vibration characteristics + sound characteristics. The details are as follows:

[0099] S6: Acquire the sound signal according to the camera, and extract the vibration signal according to the monitoring image of the adjacent frame;

[0100] It should be noted that step S6 is specifically as follows:

[0101] S61, extracting edges of surveillance images of adjacent frames;

[0102] As an example, in image processing, edge extraction is an important step for detecting areas with obvious brightness changes in an image, i.e., edges. The Canny edge detection algorithm is a commonly used edge detection method, and its main steps are as follows:

[0103] Gaussian filter: In order to smooth the image and reduce noise, a Gaussian filter is used. The kernel function of the Gaussian filter is:

[0104]

[0105] Here, σ is the standard deviation of the Gaussian kernel and controls the degree of filtering.

[0106] Gradient calculation: Use the Sobel operator or other differential operators to calculate the first-order or second-order derivative of the image grayscale to determine the intensity and direction of the edge.

[0107] Sobel operator:

[0108]

[0109] The operator contains two sets of 3×3 matrices, one for horizontal and one for vertical. By convolving the operator with the image plane, the horizontal and vertical brightness difference values ​​can be obtained respectively. If A represents the original image, G x ,G y Represents the image grayscale values ​​of horizontal and vertical edge detection respectively, the formula is as follows:

[0110]

[0111] It is worth noting that the general convolution operation is accompanied by the flipping of the convolution kernel, but Sobel does not need to be flipped, because rotating 180° around the center point does not affect the result.

[0112] S62, performing differential processing on adjacent frame images after edge extraction to obtain a differential result;

[0113] It should be noted that after extracting the edge of each frame, the edge images of adjacent frames are subjected to differential operation, which can be achieved by calculating the difference of corresponding pixel values, thereby obtaining the change of the edge between adjacent frames.

[0114] S63, extracting vibration related information according to the difference result;

[0115] It should be noted that the non-zero value areas in the difference image represent the movement or change of the edge, which may be related to vibration. Further analysis of these difference images, such as calculating the magnitude and direction of the change, can extract information related to vibration.

[0116] S64, extracting features of vibration related information to obtain vibration features;

[0117] Various features can be extracted from the processed vibration signal, such as amplitude, frequency, waveform, etc., to enable a deeper analysis and understanding of the vibration.

[0118] S65. Acquire sound signals through a camera and extract sound features.

[0119] It should be noted that in sound recognition technology, MFCC (Mel-Frequency Cepstral Coefficients) is a widely used feature extraction method. It simulates the auditory characteristics of the human ear and converts sound signals into feature vectors through a series of mathematical transformations (such as fast Fourier transform, Mel filtering, logarithmic transform, and discrete cosine transform). These feature vectors can then be used for sound classification and recognition.

[0120] S7: According to the vibration signal and the sound signal, a warning result is further generated through a pre-trained machine learning model.

[0121] Step S7 is specifically as follows:

[0122] S71, pre-constructing a vibration signal dataset and a sound feature dataset;

[0123] S72, training a vibration detection model using the vibration signal data set, and training a sound detection model using the sound feature data set;

[0124] S73, inputting the vibration characteristics and sound characteristics obtained in steps S64-S65 into the corresponding vibration detection model and sound detection model respectively to obtain vibration detection results and sound detection results;

[0125] S74. If the vibration detection result and the sound detection result match each other, an early warning is sent to the terminal through the cloud server.

[0126] It should be noted that the present invention can use logical judgment rules or machine learning-based classifiers (such as support vector machines, neural networks, etc.) to perform intelligent analysis through the results of image detection (such as edge extraction), vibration signals (extracted by optical flow method) and sound matching (through MFCC and other methods).

[0127] The present invention integrates this information to determine whether there is a potential threat and triggers an early warning mechanism when a threat is detected. For example, in a surveillance video, if abnormal edge activity, abnormal vibration signals, or matching with specific sound patterns are detected, the system may automatically send an alarm for timely response.

[0128] See also Figure 4 , Figure 4 40 is a schematic diagram of the working of the hardware device of an embodiment of the present invention, wherein the hardware device specifically comprises: a cable anti-external damage warning device 401, a processor 402 and a storage medium 403.

[0129] A cable external damage prevention early warning device 401: The cable external damage prevention early warning device 401 implements the cable external damage prevention early warning method.

[0130] Processor 402: The processor 402 loads and executes the instructions and data in the storage medium 403 to implement the cable external damage prevention early warning method.

[0131] Storage medium 403: The storage medium 403 stores instructions and data; the storage medium 403 is used to implement the cable external damage prevention early warning method.

[0132] The beneficial effects of the present invention are:

[0133] 1) Non-contact and non-destructive monitoring:

[0134] The system of the present invention does not need to be in direct contact with the cable or related equipment, thereby avoiding possible physical damage to the cable or equipment. This non-contact monitoring method not only ensures the integrity of the cable and equipment, but also greatly reduces the installation and maintenance costs and improves the reliability and service life of the system.

[0135] 2) Comprehensive monitoring with visual and acoustic fusion:

[0136] By integrating video image processing and sound feature extraction technology, the present invention realizes dual monitoring of vision and acoustics. Within the visible range, the system can directly observe through video images; in areas with limited or invisible vision, image analysis and sound feature extraction are used to identify potential threats. This all-round monitoring method greatly improves the comprehensiveness and accuracy of the early warning system.

[0137] 3) Strong environmental adaptability:

[0138] Even in the presence of obstructions or complex environments, such as tree branches and eaves blocking the line of sight, the system of the present invention can still extract vibration and sound features through image processing technology, effectively breaking through the line of sight limitations of traditional monitoring systems. This strong environmental adaptability enables the present invention to achieve excellent monitoring effects in various practical application scenarios.

[0139] 4) Efficient early warning and preventive maintenance:

[0140] By analyzing image and sound data in real time, the system can promptly detect potential vibration and sound anomalies, such as the operating sound of construction machinery, and quickly issue an early warning. This efficient early warning mechanism enables relevant departments to take timely measures to effectively prevent cable breakage accidents and ensure the safety and stability of power supply.

[0141] 5) Intelligent analysis and decision support:

[0142] The present invention integrates advanced image processing technology and intelligent algorithms, which can automatically identify, classify and judge various situations without human intervention. This not only improves processing speed and accuracy, but also greatly reduces the possibility of human misjudgment and false alarms. At the same time, the system can also provide decision support for emergency response, further improving the efficiency and effectiveness of cable protection work.

[0143] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A cable damage prevention early warning method, characterized in that: The method comprises the following steps: S1: deploying a camera within a preset range of the cable to be monitored; the camera communicates with a cloud server; S2: Use the camera to obtain monitoring images; S3: Build a target detection model on the cloud server and pre-train it to obtain a pre-trained target detection model; S4: Input the monitoring image into the trained target detection model to obtain the target detection result; S5: If the target detection result belongs to the preset target, an early warning is sent to the terminal through the cloud server; Otherwise, proceed to step S6; S6: Acquire the sound signal according to the camera, and extract the vibration signal according to the monitoring image of the adjacent frame; S7: According to the vibration signal and the sound signal, a warning result is further generated through a pre-trained machine learning model.

2. A cable damage prevention early warning method as claimed in claim 1, characterized in that: The target detection model includes: R-CNN model and YOLO model.

3. A cable damage prevention early warning method as claimed in claim 1, characterized in that: Step S4 is specifically as follows: S41, after scaling and preprocessing the monitoring image, input it into the trained target detection model; S42, the image is divided into a plurality of grids; S43, for each grid, the trained target detection model predicts its target bounding box and category probability; S44. Use non-maximum suppression to suppress overlapping prediction boxes to obtain target detection results.

4. A cable damage prevention early warning method as claimed in claim 1, characterized in that: Step S6 is specifically as follows: S61, extracting edges of surveillance images of adjacent frames; S62, performing differential processing on adjacent frame images after edge extraction to obtain a differential result; S63, extracting vibration related information according to the difference result; S64, extracting features of vibration related information to obtain vibration features; S65. Acquire sound signals through a camera and extract sound features.

5. A cable damage prevention early warning method as claimed in claim 4, characterized in that: In step S64, the vibration characteristics include: amplitude and frequency.

6. A cable damage prevention early warning method as claimed in claim 5, characterized in that: In step S65, the MFCC method is used to extract sound features.

7. A cable damage prevention early warning method as claimed in claim 6, characterized in that: Step S7 is specifically as follows: S71, pre-constructing a vibration signal dataset and a sound feature dataset; S72, training a vibration detection model using the vibration signal data set, and training a sound detection model using the sound feature data set; S73, inputting the vibration characteristics and sound characteristics obtained in steps S64-S65 into the corresponding vibration detection model and sound detection model respectively to obtain vibration detection results and sound detection results; S74. If the vibration detection result and the sound detection result match each other, an early warning is sent to the terminal through the cloud server.

8. A storage medium, characterized in that: The storage medium stores instructions and data for implementing a cable external damage prevention early warning method as described in any one of claims 1 to 7.

9. A cable anti-external damage warning device, characterized in that: include: Processor and storage medium; the processor loads and executes instructions and data in the storage medium to implement a cable external damage prevention early warning method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Cable external break prevention monitoring alarm system and work method thereof

    CN108682098A

  • Distributed cable external damage prevention system based on video intelligent detection

    CN110321853A

  • Intelligent cable marker pile external damage early warning system and operation method thereof

    CN112349050A

  • Detection method and device for video monitoring fire

    WO2023000949A1