[go: up one dir, main page]

CN110956176B - A fitting method and detection device for power transmission lines between tower foundations - Google Patents

A fitting method and detection device for power transmission lines between tower foundations Download PDF

Info

Publication number
CN110956176B
CN110956176B CN201911113740.5A CN201911113740A CN110956176B CN 110956176 B CN110956176 B CN 110956176B CN 201911113740 A CN201911113740 A CN 201911113740A CN 110956176 B CN110956176 B CN 110956176B
Authority
CN
China
Prior art keywords
fitting
transmission line
data
tower
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911113740.5A
Other languages
Chinese (zh)
Other versions
CN110956176A (en
Inventor
赵国伟
赵锐
王晓强
郝雁峰
冯利伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanxi Hongshuntong Technology Co ltd
State Grid Shanxi Electric Power Co ltd Datong Power Supply Branch
Original Assignee
Shanxi Hongshuntong Technology Co ltd
Datong Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanxi Hongshuntong Technology Co ltd, Datong Power Supply Co of State Grid Shanxi Electric Power Co Ltd filed Critical Shanxi Hongshuntong Technology Co ltd
Priority to CN201911113740.5A priority Critical patent/CN110956176B/en
Publication of CN110956176A publication Critical patent/CN110956176A/en
Application granted granted Critical
Publication of CN110956176B publication Critical patent/CN110956176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

本申请公开了一种塔基间输电线路拟合方法和检测装置,其中,该方法包括:步骤1,根据历史数据中的第一组拟合数据,逐层提取多层卷积神经网络的卷积中心点,并根据提取出的卷积中心点,计算多层卷积神经网络中最后一层卷积层的尺度不变特征,并生成塔线拟合神经网络;步骤2,根据历史数据中的第二组拟合数据,利用分类函数,训练塔线拟合神经网络;步骤3,采集塔基输电线路的待拟合图像数据,利用训练好的塔线拟合神经网络和输入的塔基数据,对待拟合图像数据进行拟合,生成拟合输电线路。通过本申请中的技术方案,利用神经网络拟合生成输电线路的拟合曲线,解决了整条输电线路线条轮廓提取难的问题,提高了输电线路故障检测的效率。

Figure 201911113740

The present application discloses a fitting method and detection device for a power transmission line between tower foundations, wherein the method includes: step 1, extracting the volume of the multi-layer convolutional neural network layer by layer according to the first set of fitting data in the historical data The center point of the product, and according to the extracted convolution center point, calculate the scale-invariant features of the last convolutional layer in the multi-layer convolutional neural network, and generate a tower line fitting neural network; step 2, according to the historical data The second set of fitting data, use the classification function to train the tower line fitting neural network; Step 3, collect the image data to be fitted of the tower foundation transmission line, use the trained tower line to fit the neural network and the input tower foundation data, to fit the image data to be fitted, and generate a fitted transmission line. Through the technical solution in this application, the fitting curve of the transmission line is generated by using neural network fitting, which solves the problem of difficulty in extracting the line outline of the entire transmission line, and improves the efficiency of transmission line fault detection.

Figure 201911113740

Description

Method and detection device for fitting transmission line between tower bases
Technical Field
The application relates to the technical field of transmission line detection, in particular to a fitting method of a transmission line between tower bases and a transmission line detection device between tower bases.
Background
Along with the continuous development of a power system, the power transmission line serving as a power transmission artery of the power system occupies an important position in the power system, most of the power transmission line is erected outdoors through a tower foundation, and due to the influence of natural environment, the power transmission line faces the problems of ageing, abnormal connecting parts and the like of the line, particularly in the case of broken power transmission line caused by freezing and raining, therefore, the contour form of the power transmission line between the tower foundations needs to be inferred and fitted so as to maintain the power transmission line in time and ensure the power supply safety.
In the prior art, a plurality of spans are usually set between tower bases, maintenance personnel acquire images on each span, and then the acquired images are summarized and then power transmission line fitting is carried out. The method has the advantages that the method is more in data acquisition, a large amount of labor cost is consumed for maintenance personnel, and if missing acquisition and acquisition errors occur in image acquisition of one span, the image acquisition needs to be carried out again, so that the method is not beneficial to timely maintenance of a power transmission line.
Disclosure of Invention
The purpose of the present application is: by adopting the neural network technology, according to the characteristic that the tangent rule of each point changes due to the inherent characteristics of line stress, the three-section line image comprising the tower foundation is used for reasoning the shape of the whole transmission line, the whole transmission line is fitted, the problem that the whole transmission line is difficult to identify is solved, and the image extraction of the transmission line without a spacer (a span) is realized.
The technical scheme of the first aspect of the application is that: the method for fitting the transmission line between the towers comprises the following steps: step 1, extracting convolution center points of a multi-layer convolution neural network layer by layer according to a first set of fitting data in historical data, calculating scale invariant features of a final layer of convolution layers in the multi-layer convolution neural network according to the features of the extracted convolution center points, and generating a tower line fitting neural network; step 2, training a tower line fitting neural network by using a classification function according to a second group of fitting data in the historical data; and step 3, acquiring image data to be fitted of the tower foundation transmission line, and fitting the image data to be fitted by utilizing the trained tower foundation fitting neural network and the input tower foundation data to generate a fitted transmission line.
In any of the above solutions, further, each layer of convolutional neural network includes a classifier and a plurality of layers of convolutional layers, and in step 1, the method specifically includes: step 11, inputting a first group of fitting data into a multi-layer convolutional neural network, and determining convolutional center point sampling points in the convolutional layer by layer in a random sampling mode; step 12, calculating the isomorphism characteristic of the convolution center point sampling point layer by layer in an iterative manner according to the convolution center point sampling point of the convolution layer, the convolution center point coordinates and the corresponding local point characteristics, and marking the isomorphism characteristic as the characteristic of the convolution center point; step 13, calculating the scale invariant feature of the final layer of convolution layer according to the feature of the final layer of convolution layer, wherein the scale invariant feature
Figure BDA0002273488630000021
The calculation formula of (2) is as follows:
Figure BDA0002273488630000022
Figure BDA0002273488630000023
wherein, pooling (·) is an average pooling operation,
Figure BDA0002273488630000024
for the index set of convolution center point sampling points in the final layer of convolution layers, phi (·) is an inner product operation,>
Figure BDA0002273488630000025
for the combination of the non-normalized eigenvectors corresponding to the c-th convolution center sampling point, s F Is the largest dimension of the local feature;
step 14, the scale-invariant features are obtained
Figure BDA0002273488630000026
And (3) inputting the data into a classifier, and generating a tower line fitting neural network by combining a vertical line fitting calculation equation.
In any of the above technical solutions, further, in step 2, the calculation formula of the classification function is:
Figure BDA0002273488630000027
wherein D is j (x i ) For the ith image data x i Classified output value of jth tower base data, D yi (x i ) For the ith image data x i Belonging to line data y i B is the total number of tower-based data.
In any of the above technical solutions, further, after acquiring the image data to be fitted of the tower foundation transmission line, step 3 specifically includes: step 31, carrying out gray processing on the acquired image data to be fitted, and generating a plurality of small view windows according to a preset window width; step 32, determining a binarization threshold value corresponding to the view window according to the pixel points contained in the view window and the pixel points of all rows in the image data to be fitted corresponding to the view window; and step 33, carrying out binarization processing on pixel points in the image data to be fitted according to the binarization threshold value, and carrying out power transmission line fitting according to the binarized image data to be fitted.
The technical scheme of the second aspect of the application is that: the utility model provides a transmission line detection device between tower base, this device includes: the system comprises an image acquisition unit, an image processing unit and a fault judging unit; the image acquisition unit is used for acquiring image data and sending the acquired image data to the image processing unit; the image processing unit generates a fitting transmission line according to the image data by using the method for fitting transmission lines between foundation according to any one of the technical schemes of the first aspect; and the fault judging unit is used for generating power transmission line alarm information when judging that the fitted power transmission line exceeds a line threshold curve.
In any one of the above solutions, further, the apparatus further includes: a data transmission unit; the data transmission unit is used for uploading the image data, the fitting transmission line and the transmission line alarm information to a data storage device.
The beneficial effects of this application are:
according to the method, the tower line fitting neural network is generated and trained through historical data, the trained tower line fitting neural network is used for carrying out fitting processing on acquired image data to be fitted of the tower foundation power transmission line, line data corresponding to the power transmission line due to stress are determined, the line data comprise vertical line vertex coordinates and load ratios, further, a fitting power transmission line is generated according to a tower foundation data and vertical line fitting calculation equation, power transmission line image extraction without a spacer (span) is achieved, power transmission line fitting efficiency and reliability are improved, and further, fault of the power transmission line is checked fast.
According to the method and the device, the acquired image data to be fitted are subjected to binarization processing, the influence of illumination on the image data is reduced, the value of the binarization threshold is determined between the first gray threshold and the third gray threshold by calculating the gray value variance of the pixel points in the view window, the accuracy of the value of the binarization threshold is improved, and meanwhile the problem of binarization probability errors of the same-color area caused by the fact that a plurality of continuous windows are located in the same-color area can be solved.
Drawings
The advantages of the foregoing and/or additional aspects of the present application will become apparent and readily appreciated from the description of the embodiments, taken in conjunction with the accompanying drawings, wherein:
FIG. 1 is a schematic flow chart of a method of inter-tower foundation transmission line fitting according to one embodiment of the present application;
fig. 2 is a schematic diagram of a fitted transmission line according to one embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, however, the present application may be practiced otherwise than as described herein, and thus the scope of the present application is not limited to the specific embodiments disclosed below.
Embodiment one:
an embodiment one will be described below with reference to fig. 1 and 2.
As shown in fig. 1, this embodiment provides a method for fitting a transmission line between bases, including:
step 1, extracting convolution center points of a multi-layer convolution neural network layer by layer according to a first set of fitting data in historical data, calculating scale invariant features of a final layer of convolution layers in the multi-layer convolution neural network according to the features of the extracted convolution center points, and generating a tower line fitting neural network;
specifically, historical data of the power transmission line between the towers is randomly divided into two sets of fitting data, wherein the first set of fitting data is used for generating a tower line fitting neural network, and the second set of fitting data is used for training the tower line fitting neural network so as to improve the accuracy and reliability of power transmission line fitting of the tower line fitting neural network, and the historical data comprises tower base data (such as tower base coordinates and tower base heights), image data of the power transmission line between the towers and corresponding line data (such as vertical line vertex coordinates and historical load-weight ratios).
Further, in this embodiment, each layer of convolutional neural network includes a classifier and multiple layers of convolutional layers, and step 1 specifically includes:
in step 11,inputting the first group of fitting data into a multi-layer convolutional neural network, and determining convolutional center point sampling points in the convolutional layer by adopting a random sampling mode
Figure BDA0002273488630000051
Specifically, let the index set of the convolution center point sampling points of the first layer be:
Figure BDA0002273488630000052
wherein n (l) is the number of convolution center point sampling points in the first convolution layer, which can be set manually according to the requirement,
Figure BDA0002273488630000053
the c-th convolution center point sampling point in the first convolution layer.
In this embodiment, the initial value of the convolution center point sampling point is set as follows:
Figure BDA0002273488630000054
in the formula, n represents the number of pixel points in the input first set of fitting data, namely, represents the whole pixel points.
Step 12, sampling points according to the convolution center points of the convolution layers
Figure BDA0002273488630000055
Convolved center point coordinates +.>
Figure BDA0002273488630000056
And corresponding local point features, iterative calculation of convolution center point sampling points layer by layer>
Figure BDA0002273488630000057
Is->
Figure BDA0002273488630000058
Features noted as convolution center points;
specifically, for each convolution layer, a kNN proximity algorithm is adopted, and a convolution center point sampling point is used as a local point, wherein each local point has local point characteristics, namely a characteristic vector
Figure BDA0002273488630000059
Further, according to the kNN proximity algorithm, local features within a certain range of the local point can be determined (here, the prior art is not described in detail). An iterative algorithm is adopted among the multiple layers of convolution layers of the convolution neural network, namely, the output of the first layer-1 convolution layer is the input of the first layer of convolution layer, and the input of the first layer of convolution layer is set as a set of characteristics and corresponding points ∈ ->
Figure BDA00022734886300000510
Figure BDA00022734886300000511
In the method, in the process of the invention,
Figure BDA00022734886300000512
for the coordinate corresponding to the c-th convolution center, < >>
Figure BDA00022734886300000513
Is the feature vector corresponding to the c-th convolution center.
For the first layer convolution layer, the constant characteristics
Figure BDA00022734886300000514
For empty, these edge features->
Figure BDA00022734886300000515
When the vector splicing operation in the following calculation is participated, ambiguity can be generated, therefore, any vector is specified to splice an empty vector, and the spliced result is kept unchanged.
Further, an alike feature
Figure BDA0002273488630000061
The calculation formula of (2) is as follows:
Figure BDA0002273488630000062
Figure BDA0002273488630000063
Figure BDA0002273488630000064
Figure BDA0002273488630000065
Figure BDA0002273488630000066
Figure BDA0002273488630000067
Figure BDA0002273488630000068
where c is the index of the sampling point,
Figure BDA0002273488630000069
l is the number of layers of the convolution layer, l=1, 2, …, L is the number of the last convolution layer, s F For the largest scale of the local feature, Φ (·) is the inner product operation of the input and convolution kernel,
Figure BDA00022734886300000610
Representing the corresponding non-return of the c-th convolution center as an intermediate calculation variableNormalized eigenvector combinations (matrix form), s P For maximum scale of local points, MLP δ (. Cndot.) is a multi-layer perceptron, (. Cndot.)>
Figure BDA00022734886300000611
Relative coordinate matrix of local points, < >>
Figure BDA00022734886300000612
The vector stitching operation is characterized in that,
Figure BDA00022734886300000613
for a feature vector matrix corresponding to a local point, k is the number of local points (i.e. the number of k nearest samples in kNN's neighbor algorithm), i is used as an index of local points, i=1, …, k,
Figure BDA00022734886300000614
For the combination of the relative coordinates of all points in the kNN part corresponding to the c-th convolution center,/->
Figure BDA00022734886300000615
The coordinates corresponding to the c-th convolution center.
The maximum dimension s of the local feature F And the maximum dimension s of the local point P Defined as the maximum of the two norms, which characterizes the physical properties of the first set of fitting data, should not participate in the process of iterative optimization of the convolutional neural network.
For vector concatenation operations
Figure BDA00022734886300000616
If vector a= (a) 1 ,…,a θ ),b=(b 1 ,…,b β ) Then there is
Figure BDA00022734886300000617
The input set of the last convolution layer can be calculated by the calculation formula
Figure BDA00022734886300000618
In this embodiment, the index set of the convolution center point sampling points of the final layer of convolution layer is set as
Figure BDA00022734886300000619
The operation of the last layer of convolution layer is very similar to the previous layers of convolution layer operation, except that the largest dimension s of the local feature is not made F Is multiplied by (a) back to (b). The purpose of this is to obtain a feature that is "invariant" to the input scale, rather than a feature that is "alike". This is in view of the output constant characteristics of the last layer of convolution layer +.>
Figure BDA0002273488630000071
After direct pooling, the output result of the convolutional neural network is obtained by a classifier, thus, the characteristic of the convolutional neural network is changed uniformly>
Figure BDA0002273488630000072
The relative scale information between them is not important, but its invariance is significant for the correct output of the classifier.
Step 13, according to the characteristics of the last convolution layer
Figure BDA0002273488630000073
Calculating scale invariant features of the last convolutional layer
Figure BDA0002273488630000074
Wherein the scale invariant feature->
Figure BDA0002273488630000075
The calculation formula of (2) is as follows:
Figure BDA0002273488630000076
Figure BDA0002273488630000077
where L is the number of the last convolutional layer and pooling (·) is the average pooling operation.
Step 14, the scale-invariant features are obtained
Figure BDA0002273488630000078
And (3) inputting the data into a classifier, and generating a tower line fitting neural network by combining a vertical line fitting calculation equation.
Specifically, the scale-invariant feature having invariance is obtained in step 13 above
Figure BDA0002273488630000079
After the convolution characteristic is transmitted into a classifier of the convolution neural network, a neural network which can determine line data according to the input tower foundation data and image data can be obtained, and then a vertical line fitting calculation equation is combined to generate a tower line fitting neural network, so that fitting of the transmission line in the input image data is realized, wherein the vertical line fitting calculation equation is as follows:
f=kx+b-ach(x/a+arch w-l/a)+ach(arch w-l/a)
Figure BDA00022734886300000710
wherein kx+b is a linear equation between two tower bases, which is determined by tower base data, x is a horizontal distance of fitting points, l is an abscissa of a vertex fitting a vertical line, and a is a weight ratio.
Step 2, training a tower line fitting neural network by using a classification function according to a second group of fitting data in the historical data;
further, in step 2, the calculation formula of the classification function is:
Figure BDA00022734886300000711
wherein D is j (x i ) For the ith image data x i A classification output value belonging to the jth tower base data,D yi (x i ) For the ith image data x i Belonging to line data y i And B is the total number of tower-based data, and the values of i, j and B are determined by the second group of fitting data.
Specifically, the tower line fitting neural network is denoted as D, and the input image data is denoted as x 1 …x N The corresponding line data is denoted y 1 …y N . Setting the sample number of the second group of fitting data as N and the total number of the corresponding tower base data as B, inputting the second group of fitting data into a tower line fitting neural network D, and defining a classification function of the ith image data through the concept of cross entropy:
Figure BDA0002273488630000081
where i=1, 2, …, N is determined by the second set of fitting data.
The loss function is then optimized using conventional algorithms, such as a random gradient descent algorithm
Figure BDA0002273488630000082
I.e. the network parameters (such as convolution kernel parameters, full connection parameters) are adjusted according to the gradient direction update, the value of the loss function is reduced. And iterating the process until the classification accuracy rate converges, so that a tower line fitting neural network with trained parameters is obtained, and corresponding line data is determined according to the input image data and tower base data, so that fitting of the power transmission line in the image data is realized.
And step 3, acquiring image data to be fitted of the tower foundation transmission line, and fitting the image data to be fitted by using the trained tower foundation fitting neural network and the input tower foundation data to generate a fitted transmission line.
Specifically, for any two adjacent tower bases, image data to be fitted of at least three power transmission lines are obtained, wherein the image data to be fitted of the joints of the two ends of the power transmission lines and the tower bases and the image data to be fitted of the power transmission lines between the at least two tower bases are included. The tower base data is known data available to power transmission line maintenance personnel, and the tower base data can be directly input into the trained tower line fitting neural network.
Setting the central position of a first tower foundation as an origin of coordinates, establishing a rectangular coordinate system, utilizing a trained tower line fitting neural network to process acquired image data to be fitted, determining line data corresponding to a power transmission line in the image, such as a load ratio a and vertical vertex coordinates, and fitting the image data to be fitted according to the input tower foundation data.
It should be noted that, because the method in this embodiment is a tower line fitting neural network generated and trained through historical data, accuracy of line data determined by the tower line fitting neural network according to collected image data to be fitted can be effectively ensured, and reliability of fitting a power transmission line is further improved. Meanwhile, the tower line fitting neural network can output multiple groups of line data with high accuracy according to actual demands, and a corresponding fitting transmission line is generated by fitting each group of line data, so that the reliability of transmission line fitting is further improved.
Further, after the image data to be fitted of the tower foundation transmission line is collected, the step 3 specifically includes:
step 31, carrying out gray processing on the acquired image data to be fitted, and generating a plurality of small view windows according to a preset window width;
specifically, the image data to be fitted is subjected to graying treatment, for example, a maximum value method is adopted to adjust the RGB value corresponding to each pixel point in the image data to be fitted, and the corresponding calculation formula is as follows:
F’(B,G,R)=B*0.114+G*0.587+R*0.229,
in the formula, F' (B, G, R) is a gradation value of the pixel after the gradation processing.
Setting the preset window width as 16 and the window height as 1, namely selecting pixel points in row pixels row by using the view windows, and in order to equally divide the image data to be fitted after the graying treatment according to the column number n=16, inserting redundant pixel points into the image data to be fitted, wherein the pixel value can be set by itself, so that the image data to be fitted can be divided into an integer number of view windows by taking the row pixel points as a unit.
Step 32, determining a binarization threshold value corresponding to the view window according to the pixel points contained in the view window and the pixel points of all rows in the image data to be fitted corresponding to the view window;
in this embodiment, a method for determining a binarization threshold is shown, which includes:
step 321, calculating a first gray average value of pixel points contained in the view window, and calculating a first gray threshold value of the view window according to a preset correction coefficient and the first gray average value;
specifically, according to the line pixel points, temporarily storing the pixel points in the image data to be fitted, sequentially selecting the generated view windows, counting the sum of the gray values of the pixel points in each view window, calculating the corresponding first gray average value according to the number of the pixel points in the view window, and recording as gMean win Integrating the gray value with a preset correction coefficient theta and recording the gray value as a first gray threshold TH corresponding to a current view window 1 The corresponding calculation formula is:
Figure BDA0002273488630000101
in the formula g i For the gray value of the pixel point of the ith pixel point in the current view window, the preset correction coefficient θ may be set to 0.87, where N is the total number of pixel points in the view window, and n=16.
Step 322, calculating a second gray level average value of all the row pixel points in the image data to be fitted corresponding to the view window, and calculating a second gray level threshold value of the row pixel points according to the preset correction coefficient and the second gray level average value;
specifically, according to the pixel points of the rows, temporarily storing the pixel points in the image data to be fitted, counting the sum of the pixel gray values of all the pixel points in the current row of the pixel points row by row, calculating a second gray average value according to the number of the pixel points of the rows, and recording as gMean line Will beIt is integrated with the preset correction coefficient theta and is recorded as the second gray level mean value TH corresponding to the current row pixel point 2 The corresponding calculation formula is:
Figure BDA0002273488630000102
in the formula g j For the pixel gray value of the j-th pixel point in the current row of pixel points, the value of the preset correction coefficient theta can be set to be 0.87, and M is the total number of pixel points in the row of pixel points.
Step 323, calculating a third gray threshold according to the first gray threshold and the second gray threshold by using a weighting algorithm;
specifically, a first weight w is set 1 The value is 9, and the second weight value w 2 According to a weighted calculation formula, a first weight, a second weight, a first gray threshold and a second gray threshold, a third gray threshold is calculated, and the weighted calculation formula is as follows:
Figure BDA0002273488630000103
in TH crct Is the third gray threshold, w 1 As the first weight, TH 1 Is a first gray threshold, w 2 As the second weight, TH 2 Is the second gray level threshold.
Step 324, according to the gray value variance of the pixel points in the view window, determining a binarization threshold, wherein the binarization threshold is one of a first gray threshold and a third gray threshold;
in particular, in the conventional binarization process, a same-color region with extremely small pixel gray level difference is usually encountered, wherein the definition of the same-color region is that the pixel gray level in the region is distributed near the region gray level mean and obeys sigma 2 Extremely small normal distribution N (mu, sigma) 2 ) Is a region of (a) in the above-mentioned region(s). The same color region is most likely to be an ideal region with equal gray values, but there is a possibility that the gray values after photographing and sampling are different, and black-white phase is generated after binarization, so in the present inventionThe application introduces a preset variance threshold, the size of which can be adjusted according to an empirical value, calculates the gray value variances of all pixel points in a view window, and determines a binarization threshold according to the size relation between the two.
Taking the view window as a unit, calculating gray value variance S of all pixel points in the view window 2 Setting a preset variance threshold
Figure BDA0002273488630000111
According to the gray value variance S 2 And a preset variance threshold->
Figure BDA0002273488630000112
The magnitude relation between the two is used for determining a binarization threshold value TH, and the corresponding calculation formula is as follows:
Figure BDA0002273488630000113
and step 33, carrying out binarization processing on pixel points in the image data to be fitted according to the binarization threshold value, and generating a fitting power transmission line according to the binarized image data to be fitted and the trained tower line fitting neural network.
Specifically, when binarization is performed, pixel gray values g of pixel points in image data to be fitted are compared point by point x The magnitude of the binarization threshold TH corresponding to the view window, when the pixel gray value of the pixel point is determined to be smaller than the binarization threshold, the pixel gray value of the pixel point is set to 0, and when the pixel gray value of the pixel point is determined to be larger than or equal to the binarization threshold, the pixel gray value of the pixel point is set to 255, namely, the corresponding binarization formula is:
Figure BDA0002273488630000114
in the formula, g' x The pixel gray value of the pixel point after the binarization processing is used.
By the power transmission line fitting method in the embodiment, the generated fitting power transmission line is shown in fig. 2, and the fitting process of the power transmission line can be completed on the premise of no span. In order to improve accuracy of the final fitting line, the number of the fitting transmission lines is set to be three in the embodiment.
Embodiment two:
the embodiment provides a transmission line detection device between tower footing, and the device includes: the system comprises an image acquisition unit, an image processing unit and a fault judging unit; the image acquisition unit is used for acquiring image data and transmitting the acquired image data to the image processing unit; the image processing unit generates a fitting transmission line according to the image data by using the method for fitting the transmission line between the towers according to any of the above embodiments; the fault judging unit is used for generating power transmission line alarm information when judging that the fitted power transmission line exceeds a line threshold curve.
Specifically, when at least three images of the power transmission line to be fitted are acquired by the image acquisition unit (such as a camera), the image processing unit processes the acquired images, and the specific processing process is as described in the first embodiment, which is not repeated here, after the fitted power transmission line is generated, the fault judgment unit judges the generated profile of the fitted power transmission line according to the preset line threshold curve, when the profile of the fitted power transmission line exceeds the line threshold curve, the radian indicating the sagging of the power transmission line exceeds the warning value, so that the problem of ageing, loosening and even breaking of the power transmission line can be judged, and at the moment, the fault judgment unit generates power transmission line alarm information.
Further, in order to realize the big data management of the state information of the power transmission line, a data storage device is arranged in each work area, and the data storage devices of each work area are commonly connected to a cloud server, so that the data sharing is carried out among each work area, the fault corresponding rate of the power transmission line is improved, and the device further comprises: a data transmission unit; the data transmission unit is used for uploading image data, fitting the power transmission line and alarming information of the power transmission line to the data storage device.
The technical scheme of the application is explained in detail above with reference to the accompanying drawings, and the application provides a method for fitting and detecting a transmission line between towers, wherein the method comprises the following steps: step 1, extracting convolution center points of a multi-layer convolution neural network layer by layer according to a first set of fitting data in historical data, calculating scale invariant features of a final layer of convolution layers in the multi-layer convolution neural network according to the extracted convolution center points, and generating a tower line fitting neural network; step 2, training a tower line fitting neural network by using a classification function according to a second group of fitting data in the historical data; and step 3, acquiring image data to be fitted of the tower foundation transmission line, and fitting the image data to be fitted by using the trained tower foundation fitting neural network and the input tower foundation data to generate a fitted transmission line. According to the technical scheme, the fitting curve of the transmission line is generated by utilizing the neural network fitting, so that the problem that the outline of the whole transmission line is difficult to extract is solved, and the efficiency of transmission line fault detection is improved.
The steps in the present application may be sequentially adjusted, combined, and pruned according to actual requirements.
The units in the device can be combined, divided and pruned according to actual requirements.
Although the present application is disclosed in detail with reference to the accompanying drawings, it is to be understood that such description is merely exemplary and is not intended to limit the application of the present application. The scope of the present application is defined by the appended claims and may include various modifications, alterations, and equivalents to the invention without departing from the scope and spirit of the application.

Claims (5)

1. A fitting method of a transmission line between tower bases is characterized by comprising the following steps:
step 1, extracting convolution center points of a multi-layer convolution neural network layer by layer according to a first set of fitting data in historical data, calculating scale invariant features of a final layer of convolution layers in the multi-layer convolution neural network according to the extracted convolution center points, and generating a tower line fitting neural network;
step 2, training the tower line fitting neural network by using a classification function according to a second group of fitting data in the historical data;
step 3, collecting the image data to be fitted of the tower foundation transmission line, fitting the image data to be fitted by using the trained tower foundation fitting neural network and the input tower foundation data to generate a fitting transmission line,
after the image data to be fitted of the tower foundation transmission line is acquired, the step 3 specifically comprises the following steps:
step 31, carrying out gray processing on the acquired image data to be fitted, and generating a plurality of view windows according to a preset window width;
step 32, determining a binarization threshold corresponding to the view window according to the pixel points contained in the view window and the pixel points of all rows of the image data to be fitted corresponding to the view window;
and step 33, performing binarization processing on the pixel points in the image data to be fitted according to the binarization threshold value, and performing power transmission line fitting according to the binarized image data to be fitted.
2. The method for fitting transmission lines between towers according to claim 1, wherein each layer of convolutional neural network comprises a classifier and a plurality of layers of convolutional layers, and the step 1 specifically comprises:
step 11, inputting the first group of fitting data into the multi-layer convolutional neural network, and determining convolutional center point sampling points in a convolutional layer by adopting a random sampling mode;
step 12, iteratively calculating the isomorphism characteristic of the convolution center point sampling point layer by layer according to the convolution center point sampling point, the convolution center point coordinates and the corresponding local point characteristics of the convolution layer, and recording the isomorphism characteristic as the characteristic of the convolution center point;
step 13, calculating the scale invariant feature of the final layer of convolution layer according to the feature of the final layer of convolution layer, wherein the scale invariant feature
Figure FDA0004164712410000021
The calculation formula of (2) is as follows:
Figure FDA0004164712410000022
Figure FDA0004164712410000023
wherein, (. Cndot.) is an average pooling operation,
Figure FDA0004164712410000024
for the index set of convolution center point sampling points in the final layer of convolution layers, phi (·) is an inner product operation,>
Figure FDA0004164712410000025
for the combination of the non-normalized eigenvectors corresponding to the c-th convolution center sampling point, s F Is the largest dimension of the local feature;
and step 14, transmitting the scale invariant features into the classifier, and generating the tower line fitting neural network by combining a vertical line fitting calculation equation.
3. The method for fitting an inter-tower-foundation transmission line according to claim 2, wherein in step 2, the calculation formula of the classification function is:
Figure FDA0004164712410000026
wherein D is j ( i ) For the ith image data x i A classification output value belonging to the jth tower base data,
Figure FDA0004164712410000027
for the ith image data x i Belonging to line data y i B is the total number of tower-based data.
4. The utility model provides a transmission line detection device between tower base, its characterized in that, this device includes: the system comprises an image acquisition unit, an image processing unit and a fault judging unit;
the image acquisition unit is used for acquiring image data and sending the acquired image data to the image processing unit;
the image processing unit generates a fitted transmission line from the image data by using the inter-tower foundation transmission line fitting method according to any one of claims 1 to 3;
and the fault judging unit is used for generating power transmission line alarm information when judging that the fitted power transmission line exceeds a line threshold curve.
5. The inter-tower foundation transmission line detection device of claim 4, wherein said device further comprises: a data transmission unit;
the data transmission unit is used for uploading the image data, the fitting transmission line and the transmission line alarm information to a data storage device.
CN201911113740.5A 2019-11-14 2019-11-14 A fitting method and detection device for power transmission lines between tower foundations Active CN110956176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911113740.5A CN110956176B (en) 2019-11-14 2019-11-14 A fitting method and detection device for power transmission lines between tower foundations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911113740.5A CN110956176B (en) 2019-11-14 2019-11-14 A fitting method and detection device for power transmission lines between tower foundations

Publications (2)

Publication Number Publication Date
CN110956176A CN110956176A (en) 2020-04-03
CN110956176B true CN110956176B (en) 2023-06-16

Family

ID=69977260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911113740.5A Active CN110956176B (en) 2019-11-14 2019-11-14 A fitting method and detection device for power transmission lines between tower foundations

Country Status (1)

Country Link
CN (1) CN110956176B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115761304B (en) * 2022-10-21 2025-11-04 国家电网有限公司 A method for post-identification and handling of hidden dangers in power transmission line corridors

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978580A (en) * 2015-06-15 2015-10-14 国网山东省电力公司电力科学研究院 Insulator identification method for unmanned aerial vehicle polling electric transmission line
CN107506768A (en) * 2017-10-11 2017-12-22 电子科技大学 A kind of stranded recognition methods of transmission line wire based on full convolutional neural networks
CN107767366A (en) * 2017-09-22 2018-03-06 全球能源互联网研究院有限公司 A kind of transmission line of electricity approximating method and device
CN109215020A (en) * 2018-08-30 2019-01-15 国网黑龙江省电力有限公司佳木斯供电公司 Ultra-high-tension power transmission line fault recognition method based on computer vision
CN110033453A (en) * 2019-04-18 2019-07-19 国网山西省电力公司电力科学研究院 Based on the power transmission and transformation line insulator Aerial Images fault detection method for improving YOLOv3
CN110363160A (en) * 2019-07-17 2019-10-22 河南工业大学 Method and device for multi-lane line recognition

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017040691A1 (en) * 2015-08-31 2017-03-09 Cape Analytics, Inc. Systems and methods for analyzing remote sensing imagery
US11393160B2 (en) * 2018-03-23 2022-07-19 Intel Corporation Deep geometric model fitting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978580A (en) * 2015-06-15 2015-10-14 国网山东省电力公司电力科学研究院 Insulator identification method for unmanned aerial vehicle polling electric transmission line
CN107767366A (en) * 2017-09-22 2018-03-06 全球能源互联网研究院有限公司 A kind of transmission line of electricity approximating method and device
CN107506768A (en) * 2017-10-11 2017-12-22 电子科技大学 A kind of stranded recognition methods of transmission line wire based on full convolutional neural networks
CN109215020A (en) * 2018-08-30 2019-01-15 国网黑龙江省电力有限公司佳木斯供电公司 Ultra-high-tension power transmission line fault recognition method based on computer vision
CN110033453A (en) * 2019-04-18 2019-07-19 国网山西省电力公司电力科学研究院 Based on the power transmission and transformation line insulator Aerial Images fault detection method for improving YOLOv3
CN110363160A (en) * 2019-07-17 2019-10-22 河南工业大学 Method and device for multi-lane line recognition

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Fault point detection of IOT using multi-spectral image fusion based on deep learning;HouRui等;《Journal of Visual Communication and Image Representation》;20190805;第64卷;1-8 *
输电线路航拍杆塔图像拼接融合研究;金显华等;《计算机仿真》;20150815(第08期);280-283 *
造成输电线路导线弛度误差的因素及防范措施;赵国伟 等;《宁夏电力》;20101231(第(2010)S1期);61-63 *

Also Published As

Publication number Publication date
CN110956176A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
US11176408B2 (en) Tire image recognition method and tire image recognition device
CN110245678B (en) An Image Matching Method Based on Heterogeneous Siamese Region Selection Network
CN110009037B (en) A method and system for short-term prediction of engineering wind speed based on physical information coupling
TWI651697B (en) Parking space vacancy detection method and detection model establishment method thereof
CN111104906A (en) Transmission tower bird nest fault detection method based on YOLO
CN109141248A (en) Pig weight measuring method and system based on image
CN116959099A (en) Abnormal behavior identification method based on space-time diagram convolutional neural network
CN103714349A (en) Image recognition method based on color and texture features
WO2014054042A1 (en) Device and method for detecting plantation rows
CN110197185B (en) Method and system for monitoring space under bridge based on scale invariant feature transform algorithm
Ye et al. An image-based approach for automatic detecting tasseling stage of maize using spatio-temporal saliency
CN117671607B (en) Real-time detection method and system for belt conveyor anomaly based on computer vision
CN114220084A (en) Distribution equipment defect identification method based on infrared image
CN118657826B (en) Method, system, equipment and storage medium for detecting minimum bending radius of cable
CN112802011A (en) Fan blade defect detection method based on VGG-BLS
CN117807469B (en) Underwater sensor data acquisition method, medium and system
CN116152930A (en) Method and system for identifying abnormal behavior on campus
CN110956176B (en) A fitting method and detection device for power transmission lines between tower foundations
CN111429424A (en) Heating furnace inlet abnormity identification method based on deep learning
CN114581419A (en) Transformer insulating sleeve defect detection method, related equipment and readable storage medium
CN117078624A (en) A lightweight concrete crack detection method and device based on multi-dimensional attention module
CN112419243A (en) A fault identification method for power distribution room equipment based on infrared image analysis
CN111950519A (en) Two-column convolutional neural network crowd counting method based on detection and density estimation
CN109146834A (en) Car damage identification method and device, computer readable storage medium, terminal
CN107230195B (en) Image processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 037000 Shanxi Province Datong City Yingbin Road No. 61

Patentee after: State Grid Shanxi Electric Power Co.,Ltd. Datong Power Supply Branch

Country or region after: China

Patentee after: SHANXI HONGSHUNTONG TECHNOLOGY Co.,Ltd.

Address before: 037000 Shanxi Province Datong City Yingbin Road No. 61

Patentee before: DATONG POWER SUPPLY COMPANY OF STATE GRID SHANXI ELECTRIC POWER Co.

Country or region before: China

Patentee before: SHANXI HONGSHUNTONG TECHNOLOGY Co.,Ltd.