Power cable life detection early warning method and system
The neural network model integrates the surface damage, temperature and voltage influencing factors of the cable to predict the remaining life of the cable and issue an alarm, which solves the problems of low cable life monitoring efficiency and poor accuracy in the existing technology, and improves the safety of cable use and monitoring efficiency. .
Patent Information
- Application Number
- CN202410655350.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to accurately monitor the service life of cables. It is inefficient and susceptible to human factors. It cannot detect minor defects in time and increases the intensity of manual work.
By obtaining the multi-dimensional life influencing parameters of the cable, the neural network model is used to integrate surface damage, temperature and voltage influencing factors to predict the remaining life of the cable and issue an alarm when the life is lower than the preset value.
It improves the efficiency and accuracy of cable monitoring, ensures the safety of cable use, reduces the intensity of manual inspection, replaces cables in a timely manner, and reduces the risk of failure.
Smart Images

Figure CN118674686A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cable detection, and in particular to a life detection and early warning method and system for power cables. Background Art
[0002] Cables are indispensable and important facilities in modern society. They are widely used in various fields such as power transmission, communication transmission, and building decoration. However, as the use time of cables increases, their aging and damage problems are becoming increasingly prominent. Therefore, it is very important to scientifically regulate the life monitoring and early warning of cables.
[0003] First of all, the service life of the cable should be scientifically evaluated based on its material, structure, working environment and other factors. Generally speaking, common insulating materials include polyethylene, cross-linked polyethylene, rubber, etc., while conductors are mostly metal materials such as copper and aluminum. The performance and life of these materials directly affect the service life of the cable. In addition, the structure of the cable also includes insulation layer, conductor, sheath and other parts, and their quality and process level also affect the service life. The main factors affecting the life of the cable include: the quality of the cable itself, errors or omissions in the cable production process may lead to poor quality, and it is easy to be damaged in the external environment and improper use conditions, thus affecting the life. External environment, temperature, humidity and corrosive substances have a significant impact on the life of the cable. For example, high temperature environment may cause cable overheating, insulation breakdown, or even explosion and fire; water or water vapor in a humid environment may enter the cable joint, causing the insulation layer to become damp and reduce the insulation performance. Mechanical damage and external force damage are common causes of cable failure, such as excessive traction of construction machinery to break the cable, excessive bending of the cable to damage the insulation layer, etc. Chemical corrosion: When cables are placed in areas with poor chemical environments for a long time, their armor, lead or outer sheath may be corroded, resulting in reduced insulation. Failure of cable joints: Cable joints are the weak link in the line. Poor construction (such as loose joint crimping and insufficient heating) will lead to reduced insulation and cause accidents. Long-term overload operation: Long-term overload operation of cables will cause overheating of conductors and insulation layers, accelerating insulation aging. Especially in summer, the temperature rise of the cable may cause the weak insulation to be broken down first. Normal aging and natural disasters: Normal aging of the cable body and natural disasters (such as earthquakes and floods) will also affect the life of the cable.
[0004] The life of the cable is predicted before it leaves the factory. Generally speaking, the service life of the cable can reach about 20-30 years. If used under good conditions, some cables can reach a service life of more than 40 years. Obviously, the service life of the cable during use is not completely equivalent to the service life predicted when the cable leaves the factory, so it is necessary to monitor the life of the cables in use to ensure the safety of cable use. Although the traditional single measurement method can intuitively detect the phenomenon of cable aging, it mainly relies on manual detection, which is not only inefficient, but also easily affected by human factors. For some minor defects, manual detection is also difficult to accurately judge. In addition, the traditional method increases the workload of manual work. Summary of the invention
[0005] The purpose of the present invention is to provide a life detection and early warning method and system for power cables. The method predicts the remaining life of the cable by acquiring multi-dimensional life influencing parameters in the cable use environment. The remaining life of the cable can be more accurately predicted by fusing the cable's surface damage life influencing parameters, temperature-affected life parameters, and voltage-affected life parameters through a neural network model. When the cable life is lower than a preset value, an alarm is issued, which can improve the safety of cable use and improve the efficiency and accuracy of cable monitoring.
[0006] A life detection and early warning method for a power cable, comprising:
[0007] Obtain parameters affecting the life of the cable;
[0008] Calculating the life of the cable according to the parameters affecting the life of the cable;
[0009] When the cable life falls below a preset value, an alarm is sounded.
[0010] Preferably, the acquisition of the life-influencing parameters of the cable includes:
[0011] Get cable images;
[0012] Extracting feature information of the cable image using an edge detection algorithm, wherein the feature information includes cable surface information and cable shape information;
[0013] Calculate the cable surface integrity coefficient based on the cable surface information;
[0014] Calculate the cable shape matching coefficient according to the cable shape information;
[0015] The cable surface damage parameter is calculated according to the cable surface integrity coefficient and the cable shape matching coefficient.
[0016] Preferably, the acquisition of the life-influencing parameters of the cable includes:
[0017] Obtain the ambient temperature data, ambient humidity data and temperature data of the cable;
[0018] Using the ambient temperature data, ambient humidity data and own temperature data as inputs of a UKF filter;
[0019] The UKF filter outputs a sigma point set to be measured;
[0020] Evaluate each sigma point and select multiple sigma points with high evaluation as the preferred sigma point set;
[0021] The preferred sigma point set replaces the sigma point set;
[0022] Using a UKF filter to predict the environmental state vector at the next moment according to the preferred sigma point set;
[0023] Input the predicted environment state vector into the convolutional neural network;
[0024] The temperature of the CNN output cable affects the lifetime parameters.
[0025] Preferably, the acquisition of the life-influencing parameters of the cable includes:
[0026] Measure the transport voltage of the cable;
[0027] Inputting the transport voltage of the cable into a three-layer BP neural network;
[0028] The voltage of the three-layer BP neural network output cable affects the life parameters.
[0029] Preferably, the calculating the life of the cable according to the life influencing parameter of the cable comprises:
[0030] Inputting the life-influencing parameters of the cable into a cable life prediction model;
[0031] The cable life prediction model calculates the remaining life of the cable according to the surface damage parameters of the cable, the temperature-affected life parameters and the voltage-affected life parameters.
[0032] Preferably, calculating the cable surface integrity coefficient and the cable shape matching coefficient comprises:
[0033] The cable surface integrity coefficient is expressed as:
[0034]
[0035] Where S represents the surface integrity coefficient, C i Indicates the circularity of the cable edge line in the cable image, B i Indicates the standard circularity of the cable edge line, and n indicates the number of image frames;
[0036] The cable shape matching coefficient is expressed as:
[0037]
[0038] Among them, P represents the shape matching coefficient, (x i ,y i ) represents the coordinates of each intersection point in the cable image, x i Represents the horizontal coordinate of each intersection point in the cable image, y i Indicates the vertical coordinate of each intersection point in the cable image.
[0039] Preferably, the step of evaluating each sigma point and selecting a plurality of highly evaluated sigma points as a preferred sigma point set comprises:
[0040] Calculate the data fluctuation and characteristic distribution of the cable's ambient temperature data, ambient humidity data and own temperature data within a set time period;
[0041] According to the data fluctuation and characteristic distribution, fluctuation indexes of the ambient temperature data, ambient humidity data and temperature data of the cable are calculated respectively;
[0042] Calculate the evaluation index of each sigma point based on the value of each sigma point and the fluctuation index of the cable's ambient temperature data, ambient humidity data and its own temperature data;
[0043] The sigma points with the top 70% evaluation index are selected as the preferred sigma point set.
[0044] Preferably, the calculation of fluctuation indexes of the ambient temperature data, ambient humidity data and temperature data of the cable according to the data fluctuation and characteristic distribution includes:
[0045] The volatility index is expressed as:
[0046]
[0047] Among them, w i represents the volatility index of the i-th test data, max(X i ) represents the maximum value of the i-th test data, min(X i ) represents the minimum value of the i-th test data, X i represents the first test data, X i , j represents the test data of the i-th test data at the j-th moment, represents the mean of the i-th test data at all times, S irepresents the standard deviation of the i-th test data at all times, Z i represents the median value of the i-th test data at all times, N represents the total number at all times, express and Z i The Euclidean distance between them, Norm() represents the linear normalization function.
[0048] A life detection and early warning system for power cables, comprising:
[0049] A data acquisition module, used to obtain parameters affecting the life of the cable;
[0050] A data processing module, used for calculating the life of the cable according to the life influencing parameters of the cable;
[0051] The judgment module is used to issue an alarm when the life of the cable is lower than a preset value.
[0052] An electronic device includes: a processor and a memory, wherein the memory is used to store computer program codes, and the computer program codes include computer instructions. When the processor executes the computer instructions, the electronic device executes a life detection and early warning method for a power cable.
[0053] The beneficial effects of the present invention are as follows: the present invention uses a high-resolution industrial camera to shoot the cable in real time, and uploads the shot image to an image processing unit, the image processing unit uses an edge monitoring algorithm to extract the characteristic information of the cable image, and then calculates the surface integrity and shape matching of the cable according to the characteristic information of the cable image to comprehensively obtain the surface damage parameters of the cable; then calculates the temperature-affected life parameters of the cable according to the cable use environment parameters, including ambient temperature, ambient humidity and its own temperature; calculates the voltage-affected parameters of the cable according to the working voltage of the cable; because the main influencing factors of the cable life are the surface damage of the cable, the use environment of the cable and the working voltage of the cable, the above-mentioned main influencing factors are input into a neural network model, the neural network model integrates the various main influencing factors, and can finally accurately predict the remaining life of the cable. If the remaining life of the cable is lower than a preset value, an alarm will be issued to the staff, and a new cable will be replaced in time, thereby ensuring the safety of cable use and improving the efficiency of cable monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0055] 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.
[0056] Figure 1 It is a schematic diagram of the process of the present invention;
[0057] Figure 2 It is a schematic diagram of the cable surface damage parameter calculation process of the present invention;
[0058] Figure 3 It is a schematic diagram of the calculation process of voltage-affected life parameters of the present invention;
[0059] Figure 4 The figure is a schematic diagram of the hardware structure of an electronic device of the present invention. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0062] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0063] The life of the cable is predicted before it leaves the factory. Generally speaking, the service life of the cable can reach about 20-30 years. If used under good conditions, some cables can reach a service life of more than 40 years. Obviously, the service life of the cable during use is not completely equivalent to the service life predicted when the cable leaves the factory, so it is necessary to monitor the life of the cables in use to ensure the safety of cable use. Although the traditional single measurement method can intuitively detect the phenomenon of cable aging, it mainly relies on manual detection, which is not only inefficient, but also easily affected by human factors. For some minor defects, manual detection is also difficult to accurately judge. In addition, the traditional method increases the workload of manual work.
[0064] The present invention uses a high-resolution industrial camera to shoot the cable in real time, and uploads the shot image to an image processing unit. The image processing unit uses an edge monitoring algorithm to extract feature information of the cable image, and then calculates the surface integrity and shape matching of the cable according to the feature information of the cable image to comprehensively obtain the surface damage parameters of the cable; then calculates the temperature-affected life parameters of the cable according to the cable use environment parameters, including ambient temperature, ambient humidity and the cable's own temperature; calculates the voltage-affected parameters of the cable according to the cable's working voltage; because the main influencing factors of the cable life are the surface damage of the cable, the cable's use environment and the cable's working voltage, the above main influencing factors are input into a neural network model, and the neural network model integrates various main influencing factors, and can ultimately accurately predict the remaining life of the cable. If the remaining life of the cable is lower than a preset value, an alarm will be issued to the staff, and the new cable will be replaced in time, thereby ensuring the safety of the cable use and improving the efficiency of cable monitoring.
[0065] Example 1
[0066] A life detection and early warning method for a power cable, comprising:
[0067] S100, obtaining parameters affecting the life of the cable;
[0068] There are many influencing parameters that can reduce the life of the cable, including: external force damage. External force damage can cause damage and deformation on the cable surface, and even indirectly cause leakage in the cable. External force damage to the cable will seriously reduce the life of the cable. At present, it is possible to calculate whether the cable is damaged externally by indirect monitoring methods. For example, infrared thermal imaging determines whether the cable is charged by measuring the temperature distribution on the cable surface. Infrared thermal imaging has the advantages of good real-time performance, simple operation and wide application range. Ultrasonic detection uses the propagation characteristics of ultrasonic waves in the medium to detect internal defects of the cable. Ultrasonic detection is applicable to various types of cables, especially for cables under high voltage and high temperature environments. The electromagnetic induction method determines whether the cable is charged by measuring the changes in the magnetic field around the cable. The electromagnetic induction method is applicable to low voltage and low current cable detection, but the detection effect is poor for high voltage and high current cables. The electromagnetic induction method also has certain applications, but compared with infrared thermal imaging and ultrasonic detection methods, its application range is narrower. The DC resistance test method determines whether the cable is charged by measuring the resistance value between the cable conductors. The DC resistance test method is applicable to low voltage and low current cable detection and has high accuracy. The partial discharge detection method determines whether the cable is charged by monitoring the partial discharge phenomenon on the surface of the cable insulation layer. The partial discharge detection method is applicable to medium and high voltage and high current cable detection, and can effectively detect defects and faults in the cable insulation layer.
[0069] It can be seen from the above methods of monitoring cable damage that these methods can only monitor cable damage when there is serious damage to the outside of the cable, resulting in external current leakage of the cable. Except for the ultrasonic detection method, which can detect whether the cable is damaged when the cable is intact, the other methods monitor the external damage of the current by monitoring the leakage current on the outside of the cable. However, the ultrasonic detection method has a high detection cost and is difficult to cover the entire cable. In the cable laying environment, extreme working environments can cause ultrasonic detectors to fail, etc. Although the current detection method can determine whether the current is damaged, it cannot determine which specific part of the cable is damaged. The cables need to be checked one by one, which has low work efficiency and high maintenance costs.
[0070] Among the factors affecting the life of the cable, the operating temperature of the cable and the ambient temperature will also greatly affect the life of the cable. Within the operating temperature range of the cable, the insulation material of the cable has good performance and can well protect the conductor of the cable. However, if the temperature exceeds the range, the insulation material will age, which makes the cable prone to failure and shortens the service life. When the cable temperature is too high, the most obvious impact is that the aging speed of the cable insulation material is accelerated. The insulation material of the power cable is made of rubber, plastic and other materials, which are easy to harden at higher temperatures and crack, causing the cable insulation layer to lose its original insulation properties. In addition, high temperature will also increase the conductivity, increase the power loss inside the cable, and reduce the system efficiency. When the temperature is too low, especially when it is lower than the operating temperature of the cable insulation material, the cable will become brittle and hard and easily damaged mechanically. At the same time, the insulation material will become too hardened, which will affect the use effect of the cable. In the cold winter, if the cable is over-tensioned or moved, it will eventually cause the cable to be interrupted or completely fail.
[0071] During the normal use of the cable, the rated voltage of the cable is an important indicator to be considered when selecting the cable. The rated voltage refers to the maximum voltage value that the cable can withstand under normal working conditions. Exceeding the rated voltage will affect the safe operation and life of the cable. If the cable exceeds the rated voltage, the following consequences may occur: The local temperature of the cable rises. When the cable exceeds the rated voltage, due to the increase in the internal resistance of the cable conductor, a higher current density will be generated locally, causing the local temperature to rise. In severe cases, the cable insulation material will fuse or melt, forming a short circuit fault. Electrical insulation damage. When the cable exceeds the rated voltage, it will accelerate the aging and damage of the cable insulation and shorten the service life of the cable. This has very serious consequences for cables that run for a long time. Fire. When the cable exceeds the rated voltage, it may cause a fire. Especially in crowded places or flammable and explosive places, the fire risk caused by the cable exceeding the rated voltage is more significant.
[0072] S200, calculating the life of the cable according to the parameters affecting the life of the cable;
[0073] As a preferred embodiment, the present invention selects parameters of three dimensions, namely, cable surface damage, cable working environment, and cable working voltage, to predict the cable life. Because the damage to the high-voltage cable skin may cause the local cable conductor to be exposed, which in turn leads to leakage. After the cable skin is aged or damaged, the insulation layer may be damaged due to erosion or oxidation by external substances, thereby reducing the insulation performance and causing the entire cable to fail. After the cable skin is damaged, the protective layer of the cable is weakened and is more susceptible to the influence of the external environment, resulting in a reduction in the service life of the cable. When the voltage borne by the cable exceeds the rated voltage, an excessively high electric field strength will appear inside the cable, the temperature of the cable will rise, and a large amount of heat will be generated. If it is in this state for a long time, the wires and cables will age, resulting in damage to the insulation layer. If faults such as short circuits or leakage occur, it will cause great harm to the power system. It can be seen that the parameters of the three dimensions of cable surface damage, cable working environment and cable working voltage have the greatest impact on the life of the cable, and other influencing parameters will also be affected by these three parameters. Therefore, selecting parameters in three dimensions can not only accurately calculate the remaining life of the cable, but also save computing power. The remaining life of the cable can be obtained without processing too many parameters.
[0074] S300, when the life of the cable is lower than the preset value, an alarm is issued.
[0075] When the remaining life of the cable is less than six months, it means that the current cable needs to be replaced. An alarm will be issued to remind the staff to replace the cable in time, strengthen the monitoring of the current cable, increase the monitoring frequency of the current cable, and notify the staff to conduct manual inspection and maintenance, thereby improving the safety performance of the power system.
[0076] Preferably, S100, obtaining parameters affecting the life of the cable includes:
[0077] S111, acquiring a cable image;
[0078] Noise is reduced by bilateral filtering, geometric transformation of cable images is achieved through matrix operations and interpolation algorithms, and color correction of cable images is performed through color space conversion, color balance and color mapping.
[0079] S112, extracting feature information of the cable image using an edge detection algorithm, where the feature information includes cable surface information and cable shape information;
[0080] Calculate the circularity of the cable edge line in the cable image. The calculation formula is: Among them C i Indicates the circularity of the cable edge line in the cable image, S i Represents the grayscale area of the cable image, l iIndicates the circumference of the cable edge line in the cable grayscale image, Δl i Indicates the irregular length of the cable edge line in the grayscale image.
[0081] S113, calculating the cable surface integrity coefficient according to the cable surface information;
[0082] The surface integrity coefficient reflects whether there is damage on the cable surface. If the cable surface integrity coefficient is high, it means that the cable surface is less damaged. If the cable surface integrity coefficient is low, it means that the cable surface is more damaged.
[0083] S114, calculating a cable shape matching coefficient according to the cable shape information;
[0084] The bent part of the cable is prone to deformation, so the shape matching coefficient is used to determine whether the cable is deformed. If the shape matching coefficient is high, it means that the cable has little deformation. If the shape matching coefficient is low, it means that the cable has a lot of deformation.
[0085] S115, calculating the cable surface damage parameter according to the cable surface integrity coefficient and the cable shape matching coefficient.
[0086] The high-voltage cable skin is the protective layer of the cable, which mainly protects the conductor and insulation layer of the cable. There may be many reasons for the damage of the high-voltage cable skin, such as skin aging after long-term use, wear and impact by external factors such as steel wire casing, etc. In addition, at the bend of the cable, due to the limitations of bending radius, bending angle and other factors, the cable skin is easily damaged. It also has a great impact on the service life and reliability of the cable.
[0087]
[0088] Where D is the cable surface damage parameter, and n is the nth cable image.
[0089] Preferably, obtaining parameters affecting the life of the cable includes:
[0090] S121, obtaining ambient temperature data, ambient humidity data and temperature data of the cable itself;
[0091] Excessive cable temperature may lead to safety accidents such as cable burning, equipment failure and even fire, so real-time monitoring of cable temperature can ensure the normal operation of the cable. Methods for measuring the temperature of the cable include: using the characteristic that the resistance of the conductor changes with temperature, calculating the temperature by measuring the resistance value or voltage change, measuring the temperature and humidity of the environment can be completed by a thermometer and a hygrometer, or two thermometers can be used, in which the temperature bulb of the wet-bulb thermometer is wrapped with special gauze and kept moist. The moisture in the gauze will evaporate and take away the heat, causing the temperature of the wet bulb to drop. By measuring the temperature of the dry bulb and the wet bulb, the humidity value can be converted.
[0092] S122, using the ambient temperature data, ambient humidity data and the own temperature data as inputs of the UKF filter;
[0093] The data processing unit of the intelligent cable in this embodiment processes data based on the UKF algorithm (Unscented Kalman Filter). The UKF algorithm is a nonlinear filtering algorithm that approximates the propagation and measurement update process of a nonlinear function by selecting a set of candidate sigma points. The selection of candidate sigma points plays an important role in the performance and accuracy of UKF.
[0094] S123, UKF filter outputs the sigma point set to be tested;
[0095] Sigma points are a set of sampling points of state variables used to approximate the propagation of nonlinear functions and the measurement update process. These sampling points represent the possible range of state changes under the current state estimate by distributing around the mean of the current state monitoring value. By performing the propagation of nonlinear functions and mapping the observation model on these sigma points, the propagation results and predicted observation values of the nonlinear function under the current state estimate can be obtained, thereby realizing the prediction and update of the state. Therefore, a candidate sigma point at the current moment represents an estimate of the current system state, provides important estimation and update information in the UKF algorithm, and helps to improve the accuracy and performance of the filter.
[0096] S124, evaluating each sigma point, and selecting a plurality of sigma points with high evaluation as a preferred sigma point set;
[0097] Since each point in the sigma point set represents the degree of numerical deviation of each monitoring value dimension at the current moment, but the actual data deviation in the actual working environment of the intelligent cable has certain limitations, resulting in the data deviation direction of some sigma points representing the extremely unlikely deviation direction of the actual data, this embodiment removes some redundant sigma points, and then further screens the coverage of the fluctuation trend direction of the local monitoring values through the sigma data deviation direction to obtain the selected sigma points.
[0098] S125, replacing the sigma point set with the preferred sigma point set;
[0099] S126, using a UKF filter to predict the environment state vector at the next moment according to the optimal sigma point set;
[0100] S127, inputting the predicted environment state vector into the convolutional neural network;
[0101] S128, Temperature effects on life parameters of CNN output cables.
[0102] The predicted environmental state vector is input into the convolutional neural network, and the temperature life index analysis is performed on the neural network pre-trained by the cable working environment data obtained through historical collection: the predicted value and the monitored value of each dimension in the state vector are combined in time sequence and input into the network for calculation. According to the characteristics and requirements of the neural network model, the neural network adopts the convolutional neural network (CNN), and the mean square error (MSE) is selected as the loss function. Among them, the input of the neural network is the state vector, and the output of the neural network is the life index of the current cable.
[0103] The embodiment of the present invention mainly performs adaptive state identification of cable environmental measurement values through unscented Kalman filtering, and then analyzes the life index according to the working environment of the predicted value. In the actual detection process, there is partial redundancy in the sigma points of the UKF filter, and it is necessary to screen the sigma points based on the influence represented by the sigma points and the redundancy in the actual working environment of the cable. While retaining a comprehensive description of the fluctuations affecting the cable environment monitoring at the current moment, a large number of sigma points are reduced to increase the prediction time of the UKF filter, thereby reducing the real-time performance of the calculation.
[0104] Preferably, obtaining parameters affecting the life of the cable includes:
[0105] S131, measuring the transport voltage of the cable;
[0106] Select an instrument such as a voltmeter, and select an appropriate range according to the voltage level of the cable. Connect the two testers of the voltmeter to the two ports of the cable respectively, and ensure that the wiring is firm to avoid safety accidents. Adjust the measurement button of the voltmeter to the detection voltage mode, and wait for a while for the voltmeter to stabilize. Read the voltage value displayed by the voltmeter and compare it with the rated voltage value of the cable to determine whether the working status of the cable is normal.
[0107] S132, inputting the transport voltage of the cable into the three-layer BP neural network;
[0108] The three-layer BP neural network includes: three layers of feedforward network, namely input layer, middle layer and output layer. The input layer receives external input data. In this embodiment, the input layer receives the transport voltage of the cable as external input data. The hidden layer and the output layer are responsible for processing and outputting data. In this embodiment, the data output by the output layer is the voltage-affected life parameter of the cable. The output of each neuron is calculated by the weighted sum of the input and weight through the activation function. The training process of the BP neural network is the process of adjusting the weights to make the output of the network as close to the target output as possible.
[0109] As a preferred embodiment, the present invention adopts the Sigmoid function as the activation function of the BP neural network. The activation function is composed of a basic structure of a single neuron, which consists of a linear unit and a nonlinear unit. The Sigmoid function maps a real number to the interval (0,1) and can be used for binary classification.
[0110] S133, voltage influence life parameters of three-layer BP neural network output cable.
[0111] 100-200 groups of parameter data are selected as training samples to train the established BP neural network. In this embodiment, 150 groups of parameter data are preferably used to train the three-layer BP neural network. Because there are errors in the detection of cable environmental parameters, if too few data are selected, there will be a certain randomness, so the error of the trained neural network will be relatively large, and the error of the voltage-affected life parameter prediction will also be large; too many environmental parameter data groups selected will introduce unnecessary data deviations and increase the training time, because too many data are selected, the probability of large deviation data points will increase, which is easy to cause deviations in the training neural network, and too much data will increase the workload. After many experiments, it has been proved that the error of the neural network obtained by training with 100-200 groups of parameter data is small. Assign a small initial value to the middle layer weight and threshold. Input the training sample into the three-layer BP neural network, calculate the cable voltage-affected life parameters, adjust the size of the middle layer weight and threshold according to the difference between the calculated value and the actual value, repeat the training steps until the difference between the calculated value and the actual value is small enough or zero, thereby determining the middle layer weight and threshold of the three-layer BP neural network; obtain a trained three-layer BP artificial neural network.
[0112] Preferably, calculating the life of the cable according to the parameters affecting the life of the cable includes:
[0113] S310, inputting the cable life influencing parameters into the cable life prediction model;
[0114] As a preferred embodiment, the present invention adopts the BP neural network model as the main framework of the cable life prediction model. Before using the BP neural network to predict the remaining life of the cable, it also includes: using a genetic algorithm, a training set and an optimal weight to train the initial structure of the cable life prediction model to obtain an optimal threshold.
[0115] The initial weights are updated with the optimal weights, and the initial threshold is updated with the optimal threshold to obtain the updated cable life prediction model; the cable life prediction model is verified using the test set, evaluation indicators and K-fold cross validation to determine whether the output of the updated cable life prediction model meets the preset accuracy. If so, the cable life prediction model is output, the current cable detection data is obtained, and the cable life prediction data is output using the cable life prediction model. If not, the preset ratio of the training set to the test set is adjusted, and the BP neural network is retrained.
[0116] The training set and the test set are initially divided according to a preset ratio. The training set is used to train the initial structure of the cable life prediction model, and the test set is used to verify the cable life prediction model. Based on the verification of the updated cable life prediction model, it is determined whether the output result of the updated cable life prediction model meets the prediction accuracy. If so, the updated cable life prediction model is used as the final cable life prediction model. If not, the preset ratio of the training set and the test set is adjusted, and the initial structure of the cable life prediction model is retrained using training sets of different ratios, so as to compensate for the errors caused by the discrepancies in some data in the cable history detection data set and the fitness function calculation error in the genetic algorithm, improve the accuracy of model training, and realize the accurate prediction of the cable life by the cable life prediction model.
[0117] S320, the cable life prediction model calculates the remaining life of the cable according to the surface damage parameter of the cable, the temperature-affected life parameter, and the voltage-affected life parameter.
[0118] The validation of the cable life prediction model using K-fold cross validation includes: dividing the training set and the test set into 4:1, and testing the obtained results through 5-fold cross validation. The 5-fold cross validation method divides the data set into 5 groups and conducts 5 trainings. Each time the test set is selected from 5 different parts of the entire data set without any overlap, and the remaining 80% is dedicated to the training set in the cross validation.
[0119] Three evaluation indicators, MSE, MAE and R2, are used to evaluate the cable life prediction model. MAE (Mean Absolute Error) is the mean absolute error, which refers to the average value of the absolute deviation between the predicted value and the actual value.
[0120] It can accurately reflect the size of the actual prediction error and is used to evaluate the degree of deviation between the true value and the predicted value:
[0121]
[0122] The mean-square error (MSE) is the expected value of the square of the difference between the estimated parameter and the true parameter value. (The mean of the residual sum of squares). In the model, it represents the deviation of the predicted value from the true value and describes the error size:
[0123]
[0124] R-squared is a statistic used to measure the degree of fit of a regression model. Its value range is between 0 and 1. It is usually used to indicate the explanatory power of the independent variable on the dependent variable. The closer the value of R-squared is to 1, the better the regression model fits the data. On the contrary, if the value of R-squared is low, it means that the regression model cannot explain the changes in the dependent variable well:
[0125]
[0126] Among them, y test is the test set data of cable life, y pred is the training set data of cable life, n is the number of cable life samples, and i is the i-th cable life sample.
[0127] Preferably, calculating the cable surface integrity coefficient and the cable shape matching coefficient comprises:
[0128] The cable surface integrity factor is expressed as:
[0129]
[0130] Where S represents the surface integrity coefficient, C i Indicates the circularity of the cable edge line in the cable image, B i Indicates the standard circularity of the cable edge line, and n indicates the number of image frames;
[0131] The cable shape matching coefficient is expressed as:
[0132]
[0133] Among them, P represents the shape matching coefficient, (x i ,y i ) represents the coordinates of each intersection point in the cable image, x i Represents the horizontal coordinate of each intersection point in the cable image, y i Indicates the vertical coordinate of each intersection point in the cable image.
[0134] Preferably, each sigma point is evaluated, and a plurality of sigma points with high evaluations are selected as a preferred sigma point set including:
[0135] Calculate the data fluctuation and characteristic distribution of the cable's ambient temperature data, ambient humidity data and own temperature data within a set time period;
[0136] According to the data fluctuation and characteristic distribution, the fluctuation indexes of the ambient temperature data, ambient humidity data and the temperature data of the cable are calculated respectively;
[0137] Calculate the evaluation index of each sigma point based on the value of each sigma point and the fluctuation index of the cable's ambient temperature data, ambient humidity data and its own temperature data;
[0138] The data fluctuation trend characteristics of each sigma point at each moment in the local time series and the data fluctuation instability of the test data are analyzed to quantify the deviation degree of the trend of the corresponding fitting test data of the sigma point. That is, based on the value of each sigma point at each moment and the deviation degree of each test data at the same moment, as well as the fluctuation of the data change fluctuation index and the deviation degree of each test data, the evaluation index of each sigma point at each moment is obtained.
[0139] The sigma points with the top 70% evaluation index are selected as the preferred sigma point set.
[0140] Sigma point is a set of data used to represent the state distribution of simulated data in the unscented Kalman filter. It can simulate the noise interference data distribution of data distribution. The data value corresponding to the sigma point represents the possible data change trend of the test data corresponding to the sigma point simulation at the next moment, and can also reflect the trend error of the test data corresponding to the sigma point simulation relative to the real data. The higher the stability of data fluctuation, the less likely the test data will produce abnormal data fluctuations. Therefore, the difference between the data change trend direction of the test data of each type corresponding to each sigma point and the fluctuation instability of each type of test data at the corresponding moment can be comprehensively analyzed to determine the accuracy of the sigma point in describing the data fluctuation at the next moment.
[0141] Preferably, respectively calculating the fluctuation indexes of the ambient temperature data, ambient humidity data and temperature data of the cable according to the data fluctuation and characteristic distribution includes:
[0142] The volatility index is expressed as:
[0143]
[0144] Among them, wi represents the volatility index of the i-th test data, max(X i ) represents the maximum value of the i-th test data, min(X i ) represents the minimum value of the i-th test data, X i represents the first test data, X i , j represents the test data of the i-th test data at the j-th moment, represents the mean of the i-th test data at all times, S i represents the standard deviation of the i-th test data at all times, Z i represents the median value of the i-th test data at all times, N represents the total number at all times, express and Z i The Euclidean distance between them, Norm() represents the linear normalization function.
[0145] max(X i )-min(X i ) represents the range of the K-th test data, Norm[max(X i )-min(X i )] is the weight coefficient. The larger the value of the weight coefficient is, the more obvious the data fluctuation difference is in the i-th test data, which further indicates that the data value range of the i-th test data is larger, and the possibility that the i-th test data will affect the overall fluctuation due to small data fluctuations is lower, and the corresponding data stability is greater, that is, the smaller the value of the data change fluctuation index is, the larger the value of the data change fluctuation index is.
[0146] As a preferred embodiment, the present invention sets three kinds of test data, the first kind of test data is the external environment temperature of the cable, the second kind of test data is the temperature of the cable itself, and the third kind of test data is the external environment humidity of the cable.
[0147] Example 2
[0148] A life detection and early warning system for power cables, comprising:
[0149] A data acquisition module, used to obtain parameters affecting the life of the cable;
[0150] A data processing module, used for calculating the life of the cable according to the parameters affecting the life of the cable;
[0151] The judgment module is used to issue an alarm when the life of the cable is lower than a preset value.
[0152] Example 3
[0153] An electronic device includes: a processor and a memory, the memory is used to store computer program codes, the computer program codes include computer instructions, when the processor executes the computer instructions, the electronic device executes a life detection and early warning method for a power cable.
[0154] refer to Figure 4 , the electronic device 2 includes a processor 21, a memory 22, an input device 23, and an output device 24. The processor 21, the memory 22, the input device 23, and the output device 24 are coupled via a connector, and the connector includes various interfaces, transmission lines, or buses, etc., which are not limited in the embodiments of the present invention. It should be understood that in various embodiments of the present invention, coupling refers to mutual connection in a specific manner, including direct connection or indirect connection through other devices, for example, through various interfaces, transmission lines, buses, etc.
[0155] The processor 21 may be one or more graphics processing units (GPUs). When the processor 21 is a GPU, the GPU may be a single-core GPU or a multi-core GPU. Optionally, the processor 21 may be a processor group consisting of multiple GPUs, and the multiple processors are coupled to each other via one or more buses. Optionally, the processor may also be other types of processors, etc., which are not limited in the embodiments of the present invention.
[0156] The memory 22 can be used to store computer program instructions and various computer program codes including program codes for executing the scheme of the present invention. Optionally, the memory includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM), or portable read only memory (CD-ROM), which is used for related instructions and data.
[0157] The input device 23 is used to input data and / or signals, and the output device 24 is used to output data and / or signals. The output device 24 and the input device 23 may be independent devices or an integrated device.
[0158] The beneficial effects of the present invention are as follows: the present invention uses a high-resolution industrial camera to shoot the cable in real time, and uploads the shot image to an image processing unit, the image processing unit uses an edge monitoring algorithm to extract the characteristic information of the cable image, and then calculates the surface integrity and shape matching of the cable according to the characteristic information of the cable image to comprehensively obtain the surface damage parameters of the cable; then calculates the temperature-affected life parameters of the cable according to the cable use environment parameters, including ambient temperature, ambient humidity and its own temperature; calculates the voltage-affected parameters of the cable according to the working voltage of the cable; because the main influencing factors of the cable life are the surface damage of the cable, the use environment of the cable and the working voltage of the cable, the above-mentioned main influencing factors are input into a neural network model, the neural network model integrates the various main influencing factors, and can finally accurately predict the remaining life of the cable. If the remaining life of the cable is lower than a preset value, an alarm will be issued to the staff, and a new cable will be replaced in time, thereby ensuring the safety of cable use and improving the efficiency of cable monitoring.
[0159] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A life detection and early warning method for power cables, characterized in that: include: Obtain parameters affecting the life of the cable; Calculating the life of the cable according to the parameters affecting the life of the cable; When the cable life falls below a preset value, an alarm is sounded.
2. A life detection and early warning method for power cables according to claim 1, characterized in that: The parameters affecting the life of the cable include: Get cable images; Extracting feature information of the cable image using an edge detection algorithm, wherein the feature information includes cable surface information and cable shape information; Calculate the cable surface integrity coefficient based on the cable surface information; Calculate the cable shape matching coefficient according to the cable shape information; The cable surface damage parameter is calculated according to the cable surface integrity coefficient and the cable shape matching coefficient.
3. The life detection and early warning method of a power cable according to claim 1, characterized in that: The parameters affecting the life of the cable include: Obtain the ambient temperature data, ambient humidity data and self-temperature data of the cable; Using the ambient temperature data, ambient humidity data and own temperature data as inputs of a UKF filter; The UKF filter outputs a sigma point set to be measured; Evaluate each sigma point and select multiple sigma points with high evaluation as the preferred sigma point set; The preferred sigma point set replaces the sigma point set; Using a UKF filter to predict the environmental state vector at the next moment according to the preferred sigma point set; Input the predicted environment state vector into the convolutional neural network; The temperature of the CNN output cable affects the lifetime parameters.
4. The life detection and early warning method of a power cable according to claim 1, characterized in that: The parameters affecting the life of the cable include: Measure the transport voltage of the cable; Inputting the transport voltage of the cable into a three-layer BP neural network; The voltage of the three-layer BP neural network output cable affects the life parameters.
5. The life detection and early warning method of a power cable according to claim 1, characterized in that: The calculating the life of the cable according to the life influencing parameter of the cable comprises: Inputting the life-influencing parameters of the cable into a cable life prediction model; The cable life prediction model calculates the remaining life of the cable according to the surface damage parameters of the cable, the temperature-affected life parameters and the voltage-affected life parameters.
6. A life detection and early warning method for power cables according to claim 2, characterized in that: Calculating the cable surface integrity coefficient and the cable shape matching coefficient includes: The cable surface integrity coefficient is expressed as: Where S represents the surface integrity coefficient, C i Indicates the circularity of the cable edge line in the cable image, B i Indicates the standard circularity of the cable edge line, and n indicates the number of image frames; The cable shape matching coefficient is expressed as: Among them, P represents the shape matching coefficient, (x i ,y i ) represents the coordinates of each intersection point in the cable image, x i Represents the horizontal coordinate of each intersection point in the cable image, y i Indicates the vertical coordinate of each intersection point in the cable image.
7. The life detection and early warning method of a power cable according to claim 3, characterized in that: The step of evaluating each sigma point and selecting a plurality of highly evaluated sigma points as a preferred sigma point set includes: Calculate the data fluctuation and characteristic distribution of the cable's ambient temperature data, ambient humidity data and own temperature data within a set time period; According to the data fluctuation and characteristic distribution, fluctuation indexes of the ambient temperature data, ambient humidity data and temperature data of the cable are calculated respectively; Calculate the evaluation index of each sigma point based on the value of each sigma point and the fluctuation index of the cable's ambient temperature data, ambient humidity data and temperature data; The sigma points with the top 70% evaluation index are selected as the preferred sigma point set.
8. A life detection and early warning method for power cables according to claim 7, characterized in that: The fluctuation indexes of the ambient temperature data, ambient humidity data and temperature data of the cable are calculated respectively according to the data fluctuation and characteristic distribution, including: The volatility index is expressed as: Among them, w i represents the volatility index of the i-th test data, max(X i ) represents the maximum value of the i-th test data, min(X i ) represents the minimum value of the i-th test data, X i represents the first test data, X i , j represents the test data of the i-th test data at the j-th moment, represents the mean of the i-th test data at all times, S i represents the standard deviation of the i-th test data at all times, Z i represents the median value of the i-th test data at all times, N represents the total number at all times, express and Z i The Euclidean distance between them, Norm() represents the linear normalization function.
9. A life detection and early warning system for power cables, characterized in that: include: A data acquisition module, used to obtain parameters affecting the life of the cable; A data processing module, used for calculating the life of the cable according to the life-influencing parameters of the cable; The judgment module is used to issue an alarm when the life of the cable is lower than a preset value.
10. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and when the processor executes the computer instructions, the electronic device executes a life detection and early warning method for a power cable as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Neural network-based cable life prediction method
CN106126776A
Safety early warning system based on intelligent optical fiber network on-line monitoring
CN116773950A
Intelligent cable with life cycle index analysis function based on cable temperature measurement
CN117540644A
Cable manufacturing anomaly detection system based on machine vision
CN117710901A
Nondestructive degradation diagnosis method and degradation positioning method for cable
JP2005345450A
Cited By
Online detection method and system for cable appearance particles
CN119722682A
