Wire icing thickness prediction method and device, electronic equipment and readable storage medium

By using the ice thickness and environmental information of reference wires for prediction, the problem of large prediction errors in wire ice thickness under severe weather is solved, accurate ice thickness prediction in low visibility environments is achieved, and safety is improved.

CN118628550AActive Publication Date: 2024-09-10SANLI VIDEO FREQUENCY SCI & TECH SHENZHEN

Patent Information

Application Number
CN202411081026.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-09-10
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

Under severe weather conditions, the wire images collected by video surveillance equipment are not clear enough, resulting in large errors in predicting the thickness of ice coating on wires, making it impossible to detect and prevent safety accidents in time.

Method used

The ice coating thickness and environmental information of the reference conductor are used to predict the ice coating thickness of the target conductor through a prediction model. The model includes an image feature extraction module, a merging module, a timing feature extraction module and a linear module. The ice coating thickness and environmental information of the reference conductor are used to predict the ice coating thickness of the target conductor. Forecast to ensure forecast accuracy.

Benefits of technology

The ice thickness of wires can be accurately predicted in low-visibility environments, which improves the reliability and effectiveness of safety accident prevention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628550A
    Figure CN118628550A
Patent Text Reader

Abstract

The invention relates to the technical field of image processing, and provides a lead icing thickness prediction method and device, electronic equipment and a readable storage medium, and the method comprises the steps: collecting a reference image of a reference lead when a target lead is in a low-visibility environment, and obtaining the environment information when the reference image is collected and the icing thickness of the reference lead, the reference wire and the target wire are located in the same environment, the reference wire and the target wire are made of the same material, and the reference image meets a preset definition requirement; and inputting the reference image, the icing thickness of the reference wire and the environment information into the prediction model to obtain the icing thickness of the target wire. According to the invention, the icing thickness of the wire in the low-visibility environment can be accurately predicted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method, device, electronic device and readable storage medium for predicting the ice thickness of a conductor. Background Art

[0002] Since safety accidents such as line disconnection and power outages caused by ice covering the transmission lines occur frequently, timely detection of ice covering the conductors and taking corresponding remedial measures according to the thickness of the ice covering are effective protection strategies to avoid such safety accidents.

[0003] With the popularization of video surveillance equipment and the development of deep learning technology, existing technologies usually process images of wires to be detected based on traditional image algorithms or image segmentation technology in deep learning, and estimate the ice thickness of the wires based on the results of image processing.

[0004] In the actual natural environment, the occurrence of wire icing is often accompanied by strong winds, rain and snow. This severe weather results in low visibility, and the wire images collected by video surveillance equipment are not clear enough, resulting in large errors in the ice thickness estimated based on the wire images. Summary of the invention

[0005] The present invention aims to provide a method, device, electronic device and readable storage medium for predicting the ice thickness of a conductor, which can accurately predict the ice thickness of a conductor in a low visibility environment.

[0006] The embodiments of the present invention can be implemented as follows: In a first aspect, the present invention provides a method for predicting the ice thickness of a conductor, the method comprising: When the target wire is in a low visibility environment, a reference image of the reference wire is collected and environmental information when the reference image is collected and the ice thickness of the reference wire are obtained, the reference wire and the target wire are in the same environment, the reference wire and the target wire are made of the same material and the reference image meets a preset clarity requirement; The reference image, the ice thickness of the reference wire and the environmental information are input into a prediction model to obtain the ice thickness of the target wire.

[0007] In an optional embodiment, the prediction model includes an image feature extraction module, a merging module, a time series feature extraction module and a linear module, and the step of inputting the reference image, the ice thickness of the reference wire and the environmental information into the prediction model to obtain the ice thickness of the target wire includes: Inputting the reference image into the image feature extraction module to obtain a feature map of the reference image; Inputting the feature map, the environmental information and the ice thickness of the reference wire into the merging module to obtain a merged feature; Inputting the combined features into the time series feature extraction module to obtain time series features; The time series characteristics are input into the linear module to obtain the ice thickness of the target conductor.

[0008] In an optional embodiment, the merging module includes a normalization layer, a vectorization layer and a merging layer, and the step of inputting the feature map, the environmental information and the ice thickness of the reference wire into the merging module to obtain the merged feature includes: Inputting the feature map into the vectorization layer to obtain a one-dimensional feature vector; Inputting the environmental information and the ice thickness of the reference wire into the normalization layer respectively, to obtain the normalized environmental features of the environmental information and the normalized thickness features of the ice thickness of the reference wire; The one-dimensional feature vector, the normalized environmental feature and the normalized thickness feature are input into the merging layer to obtain the merging feature.

[0009] In an optional embodiment, the prediction model is obtained by: Obtaining a pre-built original model, wherein the original model includes an image feature extraction module, a merging module, a temporal feature extraction module, a random inactivation module, and a linear module; Acquire sample data and labels, wherein the sample data includes a historical image of the reference conductor, historical environmental information acquired when the historical image is acquired, and a historical ice thickness of the reference conductor, and the label is an actual ice thickness of the target conductor acquired when the historical image is acquired, and the sample data is input into the original model in the order of the acquisition time of the historical images; The original model is trained using the sample data, labels and a preset loss function to obtain a trained original model; The random inactivation module in the trained original model is removed to obtain the prediction model.

[0010] In an optional implementation, the step of training the original model using the sample data, labels and a preset loss function to obtain the trained original model includes: Inputting the historical image into the image feature extraction module to obtain a historical feature map of the historical image; Inputting the historical feature map, the historical environmental information and the historical ice thickness into the merging module to obtain a historical merging feature; Inputting the historical merged features into the time series feature extraction module to obtain historical time series features; Inputting the historical time series features into the random dropout module to obtain a target feature randomly selected from the historical time series features; Inputting the target feature into the linear module to obtain a predicted value of ice thickness of the target conductor corresponding to the historical image; According to the predicted ice thickness corresponding to the historical image, the label of the historical image and the preset loss function, the parameters of the original model are adjusted until the preset training termination condition is met to obtain the trained original model.

[0011] In an optional embodiment, the method further comprises: Acquire an image of the target wire, wherein the resolution of the camera module for photographing the image of the target wire and the resolution of the camera module for photographing the reference image are the same; If the target wire is not detected in the image of the target wire, it is determined that the target wire is in a low visibility environment.

[0012] In an optional implementation, the environmental information includes ambient temperature, ambient humidity, and a lens temperature of a camera module that captures the reference image.

[0013] In a second aspect, the present invention provides a device for predicting the thickness of ice coating on a conductor, the device comprising: an acquisition module, configured to acquire a reference image of a reference wire and acquire environmental information when the reference image is acquired and ice thickness of the reference wire when the target wire is in a low visibility environment, wherein the reference wire and the target wire are in the same environment, the reference wire and the target wire are made of the same material, and the reference image meets a preset clarity requirement; The prediction module is used to input the reference image, the ice thickness of the reference wire and the environmental information into a prediction model to obtain the ice thickness of the target wire.

[0014] In a third aspect, the present invention provides an electronic device, including a processor and a memory, wherein the memory is used to store a program, and the processor is used to implement a method for predicting the ice thickness of a conductor as described in any one of the aforementioned embodiments when executing the program.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for predicting the ice thickness of a conductor as described in any one of the aforementioned embodiments.

[0016] When the target conductor is in a visibility environment, the present invention predicts the ice thickness of the target conductor by using a clear reference image of a reference conductor that is made of the same material as the target conductor and is in the same environment, the ice thickness of the reference conductor and the environmental information at that time. Since the target conductor and the reference conductor are made of the same material and are in the same environment, the ice thickness of the target conductor can be accurately predicted by adding the ice thickness of the reference conductor to the current environmental information. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 This is an example diagram of an application scenario provided by this embodiment.

[0019] Figure 2 This is an example diagram of ice coating on the target wire and the reference wire provided in this embodiment.

[0020] Figure 3 This is an example flowchart of the method for predicting the ice thickness of a conductor provided in this embodiment.

[0021] Figure 4 The structure example of the original model provided for this embodiment Figure 1 .

[0022] Figure 5 The structure example of the original model provided for this embodiment Figure 2 .

[0023] Figure 6 This is a diagram showing an example of the structure of the prediction model provided in this embodiment.

[0024] Figure 7 This is a block diagram of an example of a device for predicting the ice thickness of a conductor provided in this embodiment.

[0025] Figure 8 An example block diagram of an electronic device provided in this embodiment.

[0026] Icons: 10 - electronic device; 11 - processor; 12 - memory; 13 - bus; 100 - conductor ice thickness prediction device; 110 - acquisition module; 120 - prediction module; 130 - training module. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0028] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0029] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0030] In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear to indicate an orientation or position relationship, they are based on the orientation or position relationship shown in the accompanying drawings, or are the orientation or position relationship in which the product of the invention is usually placed when used. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0031] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.

[0032] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0033] In view of the problem that the occurrence of wire icing is often accompanied by strong winds, rain and snow, and therefore it is impossible to collect clear wire images, and then it is impossible to detect the wire icing condition based on the wire images, this embodiment provides a solution: set a reference wire for the target wire to be detected, and predict the target wire icing thickness by the reference wire icing thickness. Please refer to Figure 1 , Figure 1 This is an example diagram of an application scenario provided in this embodiment. Figure 1In this embodiment, a camera module is set for each of the target wire and the reference wire: a first camera module and a second camera module, the first camera module is used to shoot the target wire, and the second camera module is used to shoot the reference wire. The resolution of the two is the same, and the ROI (Region Of Interest) of the two is pre-configured so that the target wire is in the ROI of the first camera module and the reference wire is in the ROI of the second camera module, so as to ensure accurate identification of the wires in the clear images captured by both. The reference wire is set within the close field of view of the second camera module to ensure that when the first camera module cannot capture a clear image of the target wire, the second camera module can still capture a clear image of the reference wire.

[0034] It should be noted that, in the actual arrangement position of the target wire, the distance between the target wire and the first camera module is relatively far. Figure 1 The target wire is not shown.

[0035] Figure 1 In the case of a reference conductor and a target conductor, the materials are the same and they are in the same environment. Although there is a difference in ice thickness between the target conductor that actually transmits power and the reference conductor that does not transmit power, there is a certain correlation between the two. This correlation can be used to predict the ice thickness of the target conductor by the ice thickness of the reference conductor. Figure 2 , Figure 2 The example diagram of ice coating on the target wire and the reference wire provided in this embodiment is as follows: Figure 2 The target wire image and the reference wire image are images taken by the first camera module and the second camera module with the same resolution in the same environment and at the same time.

[0036] based on Figure 1 Application scenarios and Figure 1 The target wire image and the reference wire image taken in the application scenario of the present invention provide a method for predicting the ice thickness of a wire. Please refer to Figure 3 , Figure 3 The following is an example flow chart of a method for predicting the ice thickness of a conductor provided in this embodiment. The method includes the following steps: Step S101, when the target wire is in a low visibility environment, a reference image of the reference wire is collected and the environmental information when the reference image is collected and the ice thickness of the reference wire are obtained, the reference wire and the target wire are in the same environment, the reference wire and the target wire are made of the same material and the reference image meets the preset clarity requirement.

[0037] In this embodiment, the target conductor is in a low visibility environment, which means that the shooting device cannot shoot the target conductor at all or can shoot the target conductor but the clarity of the shot image cannot meet the requirement. At this time, the ice thickness of the target conductor cannot be accurately predicted based on the image of the target conductor.

[0038] In this embodiment, when the target conductor is in a low visibility environment, the reference image of the reference conductor at this time and the environmental information at this time are collected, and the target conductor is predicted using the reference image, environmental information and the ice thickness of the reference conductor at this time. Environmental information includes, but is not limited to, ambient temperature, ambient humidity, wind speed, wind direction, lens temperature when photographing the reference conductor, etc. The ice thickness of the reference conductor can be estimated based on the result of image recognition of the reference image, or can be measured using a preset measurement tool. This embodiment does not limit the method for obtaining the ice thickness of the reference conductor.

[0039] In this embodiment, the clarity of the reference image can be evaluated manually or based on the characteristics of the image itself, including evaluation based on indicators such as grayscale variance, edge gradient, information entropy, spectral entropy and structural similarity, or using a specific algorithm to calculate its clarity. When the clarity reaches a preset clarity threshold, it is determined that the reference image meets the preset clarity requirement.

[0040] Step S102: input the reference image, the ice thickness of the reference wire and the environmental information into the prediction model to obtain the ice thickness of the target wire.

[0041] In this embodiment, the prediction model represents the correlation between the ice thickness of the reference conductor and the ice thickness of the target conductor. The image features of the reference image and the environmental information when the reference image is collected are both influencing factors affecting the correlation.

[0042] In the above method provided in this embodiment, since the target conductor and the reference conductor are made of the same material and are in the same environment, the ice thickness of the target conductor can be accurately predicted by adding the ice thickness of the reference conductor to the current environmental information.

[0043] In this embodiment, the prediction model is obtained by training the pre-built original model. In order to consider the influence of multiple dimensions on the correlation between the ice thickness of the reference wire and the ice thickness of the target wire as comprehensively as possible, improve the robustness of the trained prediction model, and ultimately improve the accuracy of the prediction, this embodiment provides a structural example of the original model, please refer to Figure 4 , Figure 4 The structural example diagram of the original model provided for this embodiment, Figure 4In the original model, the image feature extraction module, the merging module, the time series feature extraction module, the random dropout module and the linear module are included. Among them, the image feature extraction module is used to extract the historical feature map of the historical image; the merging module is used to merge the historical feature map, the historical environmental information and the historical ice thickness to obtain the historical merged features; the time series feature extraction module is used to extract the historical time series features from the historical merged features; the random dropout module is used to randomly select the target features from the historical time series features; the linear module is used to linearize the target features to obtain the predicted value of the ice thickness. According to the predicted value of the ice thickness and the actual ice thickness of the target wire as a label, the parameters of the original model are adjusted to train the original model. Since the image feature extraction module is used to extract image features, and the time series feature extraction module is used to extract the time series features of the sample data, the original model can learn the features of multiple dimensions such as image features, environmental information features, and time series features during the training process, which ensures the robustness of the original model, and further ensures the robustness of the prediction model obtained from the original model.

[0044] based on Figure 4 The structure of the original model, this embodiment provides a method for training the original model and finally obtaining a prediction model: First, obtain a pre-built original model, which includes an image feature extraction module, a merging module, a temporal feature extraction module, a random dropout module, and a linear module; In this embodiment, the image feature extraction module may be, but is not limited to, CNN (Convolutional Neural Network), RNN (Recurrent Neural Network), etc. Taking CNN as an example, CNN may adopt a ResNet structure, which may extract spatial hierarchical features of the image. For example, starting from simple low-level features such as edges and textures, the features are gradually combined into several times higher features, such as shapes, parts, objects, etc., through layer-by-layer processing of the network.

[0045] In this embodiment, when the historical environmental information includes information of one dimension, the historical environmental information and the historical ice thickness need to be mapped on the same dimension. When the historical environmental information includes information of multiple dimensions, the historical environmental information and the historical ice thickness of multiple dimensions also need to be mapped on the same dimension. In order to map information of different dimensions on the same dimension, the merging module may include a normalization layer, a vectorization layer and a merging layer. The normalization layer is used to normalize the historical environmental information and the historical ice thickness of multiple dimensions respectively, the vectorization layer is used to vectorize the historical feature map extracted by the image feature extraction module, and the merging layer is used to merge the normalization result and the vectorization result.

[0046] In this embodiment, the time series feature extraction module includes, but is not limited to, LSTM (Long Short-Term Memory), GRU (Gated Recurrent Unit), BiRNN (Bidirectional Recurrent Neural Network), etc. Taking LSTM as an example, a BiLSTM structure can be used, which can process data in both the forward and reverse directions, and can enhance the model's ability to capture bidirectional contexts. Since the sample data used for training can be collected according to a preset period over a period of time, the original model can be input in sequence according to the order of collection time for training, and the use of the time series feature extraction module can fully learn the time series features therein and improve the robustness of the model.

[0047] In this embodiment, the random dropout module can stop the activation values ​​of certain neurons from working with a certain probability during the forward propagation process in the model training phase to improve the generalization ability of the model. As an implementation method, the probability here defaults to 0.3 and can also be configured according to actual needs.

[0048] In this embodiment, the linear module adopts a linear prediction structure to perform linear regression on the features selected by the random deactivation module to obtain a predicted value of the ice thickness of the target conductor.

[0049] Secondly, sample data and labels are obtained. The sample data includes the historical images of the reference wire, the historical environmental information obtained when the historical images were collected, and the historical ice thickness of the reference wire. The label is the actual ice thickness of the target wire obtained when the historical images were collected. The sample data is input into the original model in the order of the collection time of the historical images. In this embodiment, the sample data may be multiple sets of data acquired according to a preset period within a preset time period. For example, between 1:00 and 2:00, a set of sample data is acquired every 10 minutes, and a total of 6 sets of sample data can be acquired. Each set of sample data has a corresponding label. Each set of sample data includes historical images collected at the corresponding moment, historical environmental information acquired, and historical ice thickness. The corresponding label is the actual ice thickness of the target wire at the corresponding moment.

[0050] In this embodiment, the historical environmental information may include the ambient temperature and humidity when the historical images were collected, and the lens temperature of the camera module when the historical images were taken. Since the temperature of the lens will affect the clarity of the captured image, the lens will automatically heat up under low temperature conditions to achieve the effect of taking as clear a picture as possible. If the lens is not heated, it will freeze completely and no valid image can be taken. Therefore, the lens temperature will affect the clarity of the historical image, and then affect the extracted historical feature map. Of course, according to actual needs, the environmental information may also include more information in addition to the ambient temperature, ambient humidity, and lens temperature, or at least one of the ambient temperature, ambient humidity, and lens temperature.

[0051] In this embodiment, in order to extract more reasonable time series features, the sample data can be input into the original model one by one for training in the order of the time of acquisition.

[0052] Third, the original model is trained using sample data, labels, and a preset loss function to obtain a trained original model; This embodiment uses Figure 4 The merging module in the example includes the normalization layer, the vectorization layer and the merging layer to illustrate the training process. Please refer to Figure 5 , Figure 5 The structure example of the original model provided for this embodiment Figure 2 ,based on Figure 5 The structure of the original model, the training process is: (1) Inputting the historical image into the image feature extraction module to obtain the historical feature map of the historical image; (2) Input the historical feature map, historical environmental information, and historical ice thickness into the merging module to obtain the historical merged features; In this embodiment, the historical feature map is input into the quantization layer to obtain a historical one-dimensional feature vector; the historical environmental information and the historical ice cover thickness are respectively input into the normalization layer to obtain normalized historical environmental information and normalized historical thickness information; the historical one-dimensional feature vector, the normalized historical environmental information and the normalized historical thickness information are input into the merging layer to obtain the historical merged feature.

[0053] (3) Input the historical merged features into the time series feature extraction module to obtain the historical time series features; (4) Input the historical time series features into the random dropout module to obtain the target features randomly selected from the historical time series features; (5) Input the target features into the linear module to obtain the predicted value of ice thickness of the target wire corresponding to the historical image; (6) According to the predicted ice thickness corresponding to the historical image, the label of the historical image and the preset loss function, the parameters of the original model are adjusted until the preset training termination conditions are met to obtain the trained original model.

[0054] In this embodiment, the preset loss function can select RMSE (Root Mean Square Error) to evaluate the effect of the original model during the training process. The formula of RMSE is expressed as: , where RMSE is the preset loss function, is the number of sample data, which is also the number of reference images in the sample data. For the first The sample data is the predicted value of ice thickness of the target wire predicted by input. For the The label corresponding to the sample data, that is, The actual ice thickness of the target wire corresponding to the sample data.

[0055] Finally, the random dropout module in the trained original model is removed to obtain the prediction model.

[0056] In this embodiment, since the random dropout module is used to improve the generalization ability of the model during the training process, the random dropout module may not be needed in the model application stage. Therefore, the random dropout module in the original model after training is removed to obtain a prediction model. Figure 6 , Figure 6 This is a diagram showing an example of the structure of the prediction model provided in this embodiment. Figure 6 In the prediction model, the prediction model includes an image feature extraction module, a merging module, a time series feature extraction module and a linear module. The function of each module is the same as that in the original model and will not be repeated here.

[0057] based on Figure 6 This embodiment provides a method for using the prediction model to predict the ice thickness of the target wire: First, the reference image is input into the image feature extraction module to obtain the feature map of the reference image; Secondly, the feature map, environmental information and ice thickness of the reference wire are input into the merging module to obtain the merged features; In this embodiment, corresponding to the training process of the original model, when the merging module includes a normalization layer, a vectorization layer and a merging layer, the merged feature is obtained as follows: the feature map is input into the vectorization layer to obtain a one-dimensional feature vector; the environmental information and the ice thickness of the reference conductor are respectively input into the normalization layer to obtain the normalized environmental features of the environmental information and the normalized thickness features of the ice thickness of the reference conductor; the one-dimensional feature vector, the normalized environmental features and the normalized thickness features are input into the merging layer to obtain the merged feature.

[0058] Third, the merged features are input into the time series feature extraction module to obtain the time series features; Finally, the time series characteristics are input into the linear module to obtain the ice thickness of the target wire.

[0059] This embodiment also provides a specific implementation method for determining whether a target wire is in a low visibility environment: First, an image of the target conductor is acquired, and the resolution of the camera module for capturing the image of the target conductor and the camera module for capturing the reference image are the same; Secondly, if the target wire is not detected in the image of the target wire, it is determined that the target wire is in a low visibility environment.

[0060] In this embodiment, the camera module for shooting the image of the target wire and the camera module for shooting the reference image are set to the same resolution, so that the two have the same pixel size under the same conditions and have the same ability to capture wire image details, so that the image features extracted from the reference image have more reference value. Of course, in order to further improve the reference value of the reference image, the shooting parameters of the two camera modules can also be set the same, or the same model and the same shooting parameters can be used.

[0061] In order to execute the corresponding steps in the above embodiment and each possible implementation method, a method for implementing the conductor ice thickness prediction device 100 is given below. Figure 7 , Figure 7 The block diagram of the conductor ice thickness prediction device provided in this embodiment. It should be noted that the basic principle and technical effect of the conductor ice thickness prediction device 100 provided by the present invention are the same as those of the corresponding above-mentioned embodiments, which are not mentioned in this embodiment for the sake of brief description.

[0062] The conductor ice thickness prediction device 100 includes an acquisition module 110 , a prediction module 120 and a training module 130 .

[0063] The acquisition module 110 is used to acquire a reference image of the reference wire and acquire environmental information when the reference image is acquired and ice thickness of the reference wire when the target wire is in a low visibility environment, the reference wire and the target wire are in the same environment, the reference wire and the target wire are made of the same material, and the reference image meets a preset clarity requirement; The prediction module 120 is used to input the reference image, the ice thickness of the reference wire and the environmental information into the prediction model to obtain the ice thickness of the target wire.

[0064] In an optional implementation, the prediction model includes an image feature extraction module, a merging module, a temporal feature extraction module and a linear module, and the prediction module 120 is specifically used for: Input the reference image into the image feature extraction module to obtain a feature map of the reference image; The feature map, environmental information and ice thickness of the reference wire are input into a merging module to obtain a merged feature; The combined features are input into the time series feature extraction module to obtain the time series features; The time series characteristics are input into the linear module to obtain the ice thickness of the target conductor.

[0065] In an optional embodiment, the merging module includes a normalization layer, a vectorization layer and a merging layer. The prediction module 120 is used to input the feature map, the environmental information and the ice thickness of the reference wire into the merging module to obtain the merged feature, and is specifically used to: Input the feature map into the vectorization layer to obtain a one-dimensional feature vector; The environmental information and the ice thickness of the reference conductor are input into the normalization layer respectively to obtain the normalized environmental features of the environmental information and the normalized thickness features of the ice thickness of the reference conductor; The one-dimensional feature vector, the normalized environmental feature and the normalized thickness feature are input into the merging layer to obtain the merged feature.

[0066] In an optional embodiment, the training module 130 is used to: obtain a pre-constructed original model, the original model includes an image feature extraction module, a merging module, a time series feature extraction module, a random deactivation module and a linear module; obtain sample data and labels, the sample data includes historical images of the reference conductor and historical environmental information obtained when the historical images are collected and the historical ice thickness of the reference conductor, the label is the actual ice thickness of the target conductor obtained when the historical images are collected, and the sample data is input into the original model in the chronological order of the collection time of the historical images; train the original model using the sample data, labels and a preset loss function to obtain a trained original model; remove the random deactivation module in the trained original model to obtain a prediction model.

[0067] In an optional implementation, the training module 130 is specifically used for: Inputting the historical image into the image feature extraction module to obtain a historical feature map of the historical image; The historical characteristic map, historical environmental information and historical ice thickness are input into the merging module to obtain the historical merging characteristics; Input the historical merged features into the time series feature extraction module to obtain the historical time series features; Input the historical time series features into the random dropout module to obtain the target features randomly selected from the historical time series features; The target features are input into the linear module to obtain the predicted value of ice thickness of the target wire corresponding to the historical image; According to the predicted ice thickness corresponding to the historical image, the label of the historical image and the preset loss function, the parameters of the original model are adjusted until the preset training termination conditions are met to obtain the trained original model.

[0068] In an optional embodiment, the acquisition module 110 is further used to: capture an image of the target conductor, and the resolution of the camera module that captures the image of the target conductor is the same as that of the camera module that captures the reference image; if the target conductor is not detected in the image of the target conductor, it is determined that the target conductor is in a low visibility environment.

[0069] In an optional implementation, the environmental information in the conductor ice thickness prediction device 100 includes the ambient temperature, the ambient humidity, and the lens temperature of the camera module that captures the reference image.

[0070] The embodiment of the present invention also provides a block diagram of an electronic device 10, which implements the wire ice thickness prediction method of the above embodiment. Figure 8 , Figure 8 This is a block diagram of an electronic device 10 provided in this embodiment. The electronic device 10 includes a processor 11, a memory 12 and a bus 13. The processor 11 and the memory 12 are connected via the bus 13.

[0071] The processor 11 may be an integrated circuit chip having the ability to process signals. In the implementation process, each step of the method for predicting the ice thickness of the conductor in the above-mentioned embodiment may be completed by means of an integrated logic circuit of hardware in the processor 11 or instructions in the form of software. The above-mentioned processor 11 may be a general-purpose processor, including a CPU (Central Processing Unit), a NP (Network Processor), etc.; it may also be a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Logic Gate Array) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0072] The memory 12 is used to store a program for implementing the conductor ice thickness prediction method. The program may be a software function module stored in the memory 12 in the form of software or firmware or solidified in the OS (Operating System) of the electronic device 10 .

[0073] After receiving the execution instruction, the processor 11 executes the program to implement the wire ice thickness prediction method of the above embodiment.

[0074] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for predicting the ice thickness of a conductor as described in any one of the aforementioned embodiments is implemented.

[0075] In summary, the embodiments of the present invention provide a method, device, electronic device and readable storage medium for predicting the ice thickness of a conductor. The method comprises: when a target conductor is in a low visibility environment, collecting a reference image of a reference conductor and obtaining environmental information when collecting the reference image and the ice thickness of the reference conductor, the reference conductor and the target conductor are in the same environment, the reference conductor and the target conductor are made of the same material and the reference image meets a preset clarity requirement; inputting the reference image, the ice thickness of the reference conductor and the environmental information into a prediction model to obtain the ice thickness of the target conductor. Compared with the prior art, the present embodiment has at least the following advantages: (1) the target conductor and the reference conductor are made of the same material and are in the same environment, and the ice thickness of the target conductor can be accurately predicted by adding the ice thickness of the reference conductor to the current environmental information; (2) an image feature extraction module is used to extract image features of various spatial levels from low-level features to high-level features, and a temporal feature extraction module is used to extract temporal features, and the spatial-level image features and temporal features are combined to improve the robustness of the prediction model; (3) a random dropout module is used in the model training stage to improve the generalization ability of the prediction model, and ultimately make the prediction result more accurate.

[0076] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for predicting the thickness of ice covering a conductor, characterized in that: The method comprises: When the target wire is in a low visibility environment, a reference image of the reference wire is collected and environmental information when the reference image is collected and the ice thickness of the reference wire are obtained, the reference wire and the target wire are in the same environment, the reference wire and the target wire are made of the same material and the reference image meets a preset clarity requirement; The reference image, the ice thickness of the reference wire and the environmental information are input into a prediction model to obtain the ice thickness of the target wire.

2. The method for predicting the ice thickness of a conductor according to claim 1, characterized in that: The prediction model includes an image feature extraction module, a merging module, a time series feature extraction module and a linear module. The step of inputting the reference image, the ice thickness of the reference wire and the environmental information into the prediction model to obtain the ice thickness of the target wire includes: Inputting the reference image into the image feature extraction module to obtain a feature map of the reference image; Inputting the feature map, the environmental information and the ice thickness of the reference wire into the merging module to obtain a merged feature; Inputting the combined features into the time series feature extraction module to obtain time series features; The time series characteristics are input into the linear module to obtain the ice thickness of the target conductor.

3. The method for predicting the ice thickness of a conductor according to claim 2, characterized in that: The merging module includes a normalization layer, a vectorization layer and a merging layer. The step of inputting the feature map, the environmental information and the ice thickness of the reference wire into the merging module to obtain the merged feature includes: Inputting the feature map into the vectorization layer to obtain a one-dimensional feature vector; Inputting the environmental information and the ice thickness of the reference wire into the normalization layer respectively, to obtain the normalized environmental features of the environmental information and the normalized thickness features of the ice thickness of the reference wire; The one-dimensional feature vector, the normalized environmental feature and the normalized thickness feature are input into the merging layer to obtain the merging feature.

4. The method for predicting the ice thickness of a conductor according to claim 1, characterized in that: The prediction model is obtained by: Obtaining a pre-built original model, wherein the original model includes an image feature extraction module, a merging module, a temporal feature extraction module, a random inactivation module, and a linear module; Acquire sample data and labels, wherein the sample data includes a historical image of the reference conductor, historical environmental information acquired when the historical image is acquired, and a historical ice thickness of the reference conductor, and the label is an actual ice thickness of the target conductor acquired when the historical image is acquired, and the sample data is input into the original model in the order of the acquisition time of the historical images; The original model is trained using the sample data, labels and a preset loss function to obtain a trained original model; The random inactivation module in the trained original model is removed to obtain the prediction model.

5. The method for predicting the ice thickness of a conductor according to claim 4, characterized in that: The step of training the original model using the sample data, labels and a preset loss function to obtain the trained original model comprises: Inputting the historical image into the image feature extraction module to obtain a historical feature map of the historical image; Inputting the historical feature map, the historical environmental information and the historical ice thickness into the merging module to obtain a historical merging feature; Inputting the historical merged features into the time series feature extraction module to obtain historical time series features; Inputting the historical time series features into the random dropout module to obtain a target feature randomly selected from the historical time series features; Inputting the target feature into the linear module to obtain a predicted value of ice thickness of the target conductor corresponding to the historical image; According to the predicted ice thickness corresponding to the historical image, the label of the historical image and the preset loss function, the parameters of the original model are adjusted until the preset training termination condition is met to obtain the trained original model.

6. The method for predicting the ice thickness of a conductor according to claim 1, characterized in that: The method further comprises: Acquire an image of the target wire, wherein the resolution of the camera module for photographing the image of the target wire and the resolution of the camera module for photographing the reference image are the same; If the target wire is not detected in the image of the target wire, it is determined that the target wire is in a low visibility environment.

7. The method for predicting the ice thickness of a conductor according to claim 1, characterized in that: The environmental information includes the ambient temperature, the ambient humidity and the lens temperature of the camera module that captures the reference image.

8. A conductor ice thickness prediction device, characterized in that: The device comprises: an acquisition module, configured to acquire a reference image of a reference wire and acquire environmental information when the reference image is acquired and ice thickness of the reference wire when the target wire is in a low visibility environment, wherein the reference wire and the target wire are in the same environment, the reference wire and the target wire are made of the same material, and the reference image meets a preset clarity requirement; The prediction module is used to input the reference image, the ice thickness of the reference wire and the environmental information into a prediction model to obtain the ice thickness of the target wire.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a program, and the processor is used to implement the wire ice thickness prediction method according to any one of claims 1 to 7 when executing the program.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method for predicting the ice thickness of a conductor as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and system for real-time monitoring of analog wire coated by ice of overhead power transmission line

    CN101701842A

  • A method for predicting ice thickness on transmission lines using visibility models

    CN102297674A

  • High-definition-image-based calculation method and system for icing thickness of transmission line

    CN106568388A

  • Power transmission line and high-altitude power transmission line icing thickness acquisition methods and calculation instrument

    CN111998814A

  • Second-order integrated icing prediction method and device based on multi-source icing monitoring data

    CN118429893A

Cited By

  • Ice layer thickness estimation module application value detection method and device, equipment and storage medium

    CN119203779A

  • Intrusion early warning device and method for power transmission line

    CN119206971A