Power distribution network tower classification method and system based on laser point cloud data

The classification method based on laser point cloud data solves the problems of long time consumption and low labor efficiency of traditional ground inspection methods, achieves accurate classification and identification of distribution network poles and towers, and improves detection accuracy and adaptability.

CN118628795APending Publication Date: 2024-09-10GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410678532.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional ground inspection methods are time-consuming, have difficult working conditions, and have low labor efficiency. They are especially difficult to conduct inspections in remote areas, especially under severe weather conditions.

Method used

A distribution network pole and tower classification method based on laser point cloud data is adopted. By acquiring and preprocessing laser point cloud data, Euclidean clustering algorithm is used to denoise, filter and classify, and combined with a deep network model for training and optimization, it is achieved Accurate classification and identification of poles and towers.

Benefits of technology

It achieves accurate classification and identification of distribution network poles and towers. Compared with traditional methods, it provides more accurate and comprehensive pole and tower characteristics, adapts to different types and scales of classification tasks, maintains good performance, and improves the accuracy and accuracy of detection and classification. efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628795A
    Figure CN118628795A
Patent Text Reader

Abstract

The invention discloses a power distribution network tower classification method based on laser point cloud data, and the method comprises the steps: obtaining laser point cloud data, carrying out the preprocessing of the laser point cloud data, and obtaining first laser point cloud data; the first laser point cloud data is classified, and the classification comprises the steps that according to the category of the power distribution network tower, the first laser point cloud data is labeled with the category of the corresponding power distribution network tower, and each point in the first laser point cloud data is associated with the category of the power distribution network tower; training a deep network model by using the labeled first laser point cloud data to obtain a first deep network model, evaluating the first deep network model, and adjusting and optimizing the first deep network model according to an evaluation result to obtain a second deep network model; the method is suitable for classification tasks of power distribution network towers of different types and scales, and good performance is kept in different data scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional visualization of distribution networks, and in particular to a distribution network pole tower classification method and system based on laser point cloud data. Background Art

[0002] The rapidly growing power network urgently needs safer maintenance of the power grid and its related infrastructure. In order to alleviate the growing demand for electricity and adapt to the rapid development of the national economy, many countries are accelerating the development of the power grid. Transmission lines are an important part of the power grid, with the characteristics of long transmission distance and large coverage. In order to prevent power grid safety accidents, power operation and maintenance companies will conduct regular power line inspections. Risk management of transmission line towers is necessary, especially transmission towers in remote mountain corridors are more likely to be threatened by tall trees and need to be inspected and maintained in a timely manner.

[0003] The existing main methods of power line inspection are aerial and ground. For a long time, my country's power line construction, maintenance and overhaul work mainly rely on the combination of aerial and ground inspections. Ground inspection is done by walking or driving, and aerial inspection is to use aircraft to inspect the line in the air and visually inspect the condition of the tower. The traditional ground inspection method can accurately judge the safety status of the transmission line because it enables inspectors to check the condition between the transmission line and vegetation on site. However, it has the disadvantages of long time, difficult working conditions, low labor efficiency, and difficult maintenance. In southern my country, most high-voltage transmission line towers are located in remote areas such as forests and mountains. It is difficult to inspect by walking or driving, especially in bad weather conditions. With the continuous improvement of remote sensing processing technology, the application of remote sensing has been promoted. Remote sensing observation technology will definitely assist or replace traditional methods. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is: the present invention solves the problem that the traditional ground inspection method has the disadvantages of being time-consuming, having difficult working conditions, low labor efficiency, and difficult maintenance, and it is difficult to conduct inspections by walking or driving in remote areas.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides a distribution network tower classification method based on laser point cloud data, comprising:

[0008] Acquire laser point cloud data, and preprocess the laser point cloud data to obtain first laser point cloud data;

[0009] Classifying the first laser point cloud data, wherein the classification includes labeling the first laser point cloud data with the category of the distribution network tower according to the category of the distribution network tower, and associating each point in the first laser point cloud data with the category of the distribution network tower;

[0010] The deep network model is trained using the labeled first laser point cloud data to obtain a first deep network model, the first deep network model is evaluated, and the first deep network model is tuned according to the evaluation result.

[0011] As a preferred solution of the distribution network tower classification method based on laser point cloud data described in the present invention, the preprocessing of the laser point cloud data includes:

[0012] The Euclidean clustering algorithm is used for denoising, and the laser point cloud data is divided into different clusters. The distance threshold between points is defined by the cluster radius. If the distance between two points exceeds the distance threshold, the points exceeding the distance threshold will be removed from the cluster.

[0013] It is determined whether each point in the laser point cloud data exceeds the distance threshold to obtain the denoised laser point cloud data set.

[0014] As a preferred solution of the distribution network tower classification method based on laser point cloud data described in the present invention, it also includes:

[0015] For the denoised laser point cloud data set, determine the neighbor points of any point in the laser point cloud data set, and obtain the neighbor point set of the point through the defined filter window size;

[0016] Add the coordinate values ​​of each neighbor point separately and divide it by the number of neighbor points in the set to get the average coordinate value of all points in the neighbor point set;

[0017] The coordinate value of the point is replaced by the coordinate average value to obtain updated laser point cloud data.

[0018] As a preferred solution of the method for classifying distribution network towers based on laser point cloud data of the present invention, the classification of the first laser point cloud data includes:

[0019] Randomly select a point in the first laser point cloud data as a seed point;

[0020] The classification operation includes using the Euclidean distance to calculate the distance between the seed point and each neighbor point, and setting a judgment threshold. If the distance between the two points is less than the judgment threshold, the neighbor point is added to the corresponding distribution network tower category. If the distance between the two points is greater than or equal to the judgment threshold, the neighbor point is regarded as the next seed point and the classification operation is repeated.

[0021] For each point added to the distribution network tower category, continue to calculate the neighboring points of the point in the distribution network tower category, and judge the distance between the two points and the size of the judgment threshold until all the points in the first laser point cloud data are assigned to the corresponding distribution network tower category.

[0022] As a preferred solution of the method for classifying distribution network towers based on laser point cloud data of the present invention, associating each point in the first laser point cloud data with the category of the distribution network tower comprises:

[0023] Traversing each point in the first laser point cloud data, creating a data structure for each point in the first laser point cloud data, including coordinate information of the point and the pole tower and non-pole tower category to which the point belongs;

[0024] The points in the first laser point cloud data are organized according to the categories they belong to, and an empty dictionary is created to store the organization results, so as to obtain a list with the tower category as the key and the point cloud data as the value, and each point is directly associated with the category it belongs to.

[0025] As a preferred solution of the distribution network tower classification method based on laser point cloud data of the present invention, traversing each point in the first laser point cloud data includes:

[0026] According to the tower category to which the point belongs, determine whether the tower category already exists in the dictionary. If so, add the data structure of the point to the point cloud data list of the corresponding tower category.

[0027] If it does not exist, create a new point cloud data list, add the point data structure to it, and add the tower category as the key and the point cloud data list as the value to the dictionary;

[0028] After the traversal is completed, a list with tower categories as keys and point cloud data as values ​​is obtained. Each tower category is associated with a corresponding point cloud data list.

[0029] As a preferred solution of the distribution network tower classification method based on laser point cloud data described in the present invention, wherein: using the labeled first laser point cloud data to train the deep network model includes:

[0030] The labeled first laser point cloud data is divided into a training set and a test set, the training set is used to train the deep network model, and the labeled category information is used for learning;

[0031] According to classifying the first laser point cloud data, the difference between the model prediction result and the true label is measured by the cross entropy function to obtain the loss function;

[0032] Calculate the gradient of the deep network model parameters in the loss function, and update the deep network model parameters according to the gradient information, which is expressed as:

[0033] m t =β1*m (t-1) +(1-β1)*g t

[0034]

[0035] w=w-α*m h / (sqrt(v_h)+ε)

[0036] Among them, m t and v t are the first-order learning and second-order estimation on the corresponding dimensions, β1 and β2 are smoothing coefficients, and g t is the gradient of the current parameter, α is the learning rate, and ε is a constant.

[0037] In a second aspect, the present invention provides a system for classifying distribution network towers based on laser point cloud data, comprising:

[0038] A preprocessing module, used to obtain laser point cloud data, preprocess the laser point cloud data, and obtain first laser point cloud data;

[0039] A classification module, used to classify the first laser point cloud data, wherein the classification includes labeling the first laser point cloud data with the category of the distribution network tower according to the category of the distribution network tower, and associating each point in the first laser point cloud data with the category of the distribution network tower;

[0040] A training module is used to train a deep network model using the labeled first laser point cloud data to obtain a first deep network model, evaluate the first deep network model, and tune the first deep network model according to the evaluation result.

[0041] In a third aspect, the present invention provides a computing device, comprising:

[0042] Memory and processor;

[0043] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the distribution network pole tower classification method based on laser point cloud data are implemented.

[0044] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the distribution network pole tower classification method based on laser point cloud data.

[0045] Beneficial effects of the present invention: The distribution network tower classification method based on laser point cloud data proposed in the present invention achieves accurate classification and identification of distribution network towers by acquiring detailed structural information of distribution network towers. Compared with the traditional classification method based on image processing, point cloud data can provide more accurate and comprehensive tower features. The classification model can flexibly adjust the network structure and parameters according to the complexity of the data and the requirements of the task, which means that the system can adapt to distribution network tower classification tasks of different types and scales and maintain good performance in different data scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0047] Figure 1 The present invention provides an overall flow chart of a distribution network tower classification method based on laser point cloud data. DETAILED DESCRIPTION

[0048] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0050] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0051] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0052] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0053] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0054] Example 1

[0055] Reference Figure 1 , which is an embodiment of the present invention, provides a distribution network tower classification method based on laser point cloud data, comprising:

[0056] S100: Acquire laser point cloud data, and pre-process the laser point cloud data to obtain first laser point cloud data;

[0057] Furthermore, the Euclidean clustering algorithm is used for denoising, and the laser point cloud data is divided into different clusters. The distance threshold between points is defined by the cluster radius. If the distance between two points exceeds the distance threshold, the points exceeding the distance threshold are removed from the cluster.

[0058] It is determined whether each point in the laser point cloud data exceeds the distance threshold to obtain the denoised laser point cloud data set.

[0059] It should be noted that the laser point cloud data of the distribution network towers are collected by laser scanners, and the laser point cloud data are preprocessed, including denoising, filtering and coordinate conversion. The Euclidean clustering algorithm is used for denoising, and the laser point cloud data are divided into different clusters. The distance threshold between points is defined by the clustering radius. The clustering radius is automatically determined by the density-based clustering algorithm. The clustering radius is determined by the density around a core point. The distance threshold is set to 0.2 meters. The distance threshold between points is defined by the clustering radius. The distance calculation between two points can be expressed as:

[0060] d = srqt((x2-x1) 2 +(y2-y1) 2 +(z2-z1) 2 )

[0061] It can also be expressed as: d = sqrt (A·A+B·B-2(A·B))

[0062] Among them, (x1, y1, z1) and (x2, y2, z2) represent the coordinates of two points respectively, vector A and vector B represent the positions of the two points, A·B represents the dot product of vector A and vector B. By looping through all points, calculating the distance between two points and dividing them, we can get the results of each cluster and noise point, and get the denoised point cloud data set: y[n]=(x1+x2+...+xn).

[0063] Furthermore, for the denoised laser point cloud data set, the neighbor points of any point in the laser point cloud data set are determined, and the neighbor point set of the point is obtained by defining the filter window size;

[0064] Add the coordinate values ​​of each neighbor point separately and divide it by the number of neighbor points in the set to get the average coordinate value of all points in the neighbor point set;

[0065] The coordinate value of the point is replaced by the average coordinate value to obtain the updated laser point cloud data.

[0066] It should be noted that the denoised point cloud data is smoothed by moving average filtering, and the average value of the neighboring points around each point is calculated to update the coordinate value, which is expressed as:

[0067] x filt =(1 / N)*∑(x neighbor )

[0068] y filt =(1 / N)*∑(y neighbor )

[0069] z filt =(1 / N)*∑(z neighbor )

[0070] Among them, (x filt ,y filt , z filt ) is the updated coordinate value of the current point, (x neighbor ,y neighbor , z neighbor ) is the coordinate value of the neighbor point of the current point, and N is the number of neighbor points.

[0071] It should also be noted that the filtered data is converted into a coordinate system. For the two-dimensional coordinate system (x, y), it is converted into a polar coordinate system (r, θ). The polar coordinate system is expressed as:

[0072] r = sqrt(x 2 +y 2 )

[0073] θ=atan2(y,x)

[0074] Among them, r represents the distance from the point to the origin, and θ represents the angle between the point and the x-axis;

[0075] Convert point cloud data from one coordinate system to another, perform rotation and translation operations, and the rotation is achieved through the rotation matrix, which is expressed as:

[0076] [x′]=[cos(θ)-sin(θ)*[x]

[0077] [y′]=[sin(θ)-cos(θ)*[y]

[0078] Where (x, y) is the original coordinate, (x′, y′) is the rotated coordinate, and θ is the rotation angle;

[0079] Translation is achieved through the translation vector, expressed as:

[0080] x′=x+dx

[0081] y′=y+dy

[0082] z′=z+dz

[0083] Among them, (x, y, z) are the original coordinates, (x′, y′, z′) are the coordinates after translation, and (dx, dy, dz) are the translation vectors.

[0084] S200: Classifying the first laser point cloud data, wherein the classification includes labeling the first laser point cloud data with the category of the distribution network tower according to the category of the distribution network tower, and associating each point in the first laser point cloud data with the category of the distribution network tower;

[0085] Furthermore, a point in the first laser point cloud data is randomly selected as a seed point;

[0086] The classification operation includes using the Euclidean distance to calculate the distance between the seed point and each neighbor point, and setting a judgment threshold. If the distance between the two points is less than the judgment threshold, the neighbor point is added to the corresponding distribution network tower category. If the distance between the two points is greater than or equal to the judgment threshold, the neighbor point is regarded as the next seed point and the classification operation is repeated.

[0087] For each point added to the distribution network tower category, continue to calculate the neighboring points of the point in the distribution network tower category, and determine the distance between the two points and the value of the determination threshold until all the points in the first laser point cloud data are assigned to the corresponding distribution network tower category;

[0088] It should be noted that the setting of the judgment threshold is based on the density and distribution of the point cloud data. If the data points are dense, a large judgment threshold is selected because the distance between neighboring points is small; if the data points are sparse, a small judgment threshold is selected to ensure that the neighboring points are segmented.

[0089] For example, if the dense point cloud data contains many cloud blocks, the point density between the point cloud blocks is high, and the distance between the points inside the point cloud blocks is small, the judgment threshold is set to 0.5 meters, and the points with a distance less than 0.5 meters between two points are assigned to the corresponding distribution network pole tower category; if the distribution of points in the sparse point cloud data set is relatively sparse and the distance between the two points is large, the judgment threshold is set to 0.1 meters, and the points with a distance less than 0.1 meters between two points are assigned to the corresponding distribution network pole tower category.

[0090] Furthermore, each point in the first laser point cloud data is traversed, and a data structure is created for each point in the first laser point cloud data, including coordinate information of the point and the pole tower and non-pole tower category to which the point belongs;

[0091] The points in the first laser point cloud data are organized according to the categories to which they belong, and an empty dictionary is created to store the organization results, so as to obtain a list with the tower category as the key and the point cloud data as the value, and each point is directly associated with the category to which it belongs;

[0092] According to the tower category to which the point belongs, determine whether the tower category already exists in the dictionary. If so, add the data structure of the point to the point cloud data list of the corresponding tower category.

[0093] If it does not exist, create a new point cloud data list, add the point data structure to it, and add the tower category as the key and the point cloud data list as the value to the dictionary;

[0094] After the traversal is completed, a list with tower category as key and point cloud data as value is obtained. Each tower category is associated with the corresponding point cloud data list.

[0095] It should be noted that by creating a data structure of points and organizing them according to the pole tower categories, the point cloud data can be better organized and managed. The attribute information of each point is encapsulated in a data structure, making the data more structured and accessible. Each point is directly associated with the pole tower category to which it belongs, so that the point cloud data under each pole tower category can be easily found, and the point cloud data can be conveniently analyzed, processed or visualized;

[0096] By using a dictionary to store and organize results, more tower categories and corresponding point cloud data can be easily added, providing good scalability to meet the needs of different data sets and application scenarios. By using a dictionary, the tower category can be used as a key to directly access the corresponding point cloud data list, which can quickly retrieve and obtain point cloud data under a specific tower category, improving the efficiency of data access.

[0097] S300: training a deep network model using the labeled first laser point cloud data to obtain a first deep network model, evaluating the first deep network model, and optimizing the first deep network model according to the evaluation result;

[0098] Furthermore, the annotated first laser point cloud data is divided into a training set and a test set, the training set is used to train the deep network model, and the annotated category information is used for learning;

[0099] According to classifying the first laser point cloud data, the difference between the model prediction result and the true label is measured by the cross entropy function to obtain the loss function;

[0100] Calculate the gradient of the deep network model parameters in the loss function, and update the deep network model parameters according to the gradient information, which is expressed as:

[0101] m t =β1*m (t-1) +(1-β1)*g t

[0102]

[0103] w=w-α*m h / (sqrt(v_h)+ε)

[0104] Among them, m t and v t are the first-order learning and second-order estimation on the corresponding dimensions, β1 and β2 are smoothing coefficients, and g t is the gradient of the current parameter, α is the learning rate, and ε is a constant.

[0105] It should be noted that each point in the laser point cloud data is labeled as a tower or non-tower category, and the labeled distribution network tower point cloud data is divided into a training set and a test set. The training set is used to train the selected deep network model. During the training process, the labeled category information is used for supervised learning. The point cloud data is classified according to the deep network model, and the difference between the model prediction result and the true label is measured by the cross entropy function, which is expressed as:

[0106]

[0107] Among them, y is the true label vector, is the predicted probability for each category;

[0108] The back propagation algorithm is used to calculate the gradient of the loss function with respect to the model parameters. When L is the loss function and w is a parameter, the gradient of the parameter is expressed as: The gradient is the rate of change of the loss function at the current parameter value, which guides the direction and amplitude of parameter update. According to the prediction results, the learning rate and the number of training iterations are dynamically adjusted to control the training process of the model.

[0109] It should also be noted that the trained deep network model is evaluated using the test set, the classification accuracy, precision, recall, and F1 value indicators are calculated, the performance of the deep network model is evaluated, and the deep network model is tuned according to the evaluation results;

[0110] Classification accuracy is calculated by the proportion of samples correctly classified by the deep network model on the test set to the total samples, expressed as:

[0111]

[0112] Among them, TP is the true proportion, TN is the negative proportion, FP is the false proportion, and FN is the false negative example;

[0113] Precision, the ratio of true positive samples to positive samples that the model reserves, is expressed as:

[0114]

[0115] Recall rate, the ratio of true positive examples to all true positive examples among the samples predicted by the calculation model as positive examples, is expressed as:

[0116]

[0117] The F1 value is a balanced indicator that comprehensively measures the precision and recall rate, expressed as:

[0118]

[0119] The F1 value combines precision and recall, and balances the two by harmonic mean. The higher the F1 value, the better the balance between precision and recall. That is, the model can have high accuracy and find more true positive examples. The F1 value ranges from 0 to 1, where 1 indicates the best performance and 0 indicates the worst performance. When both precision and recall are high, the F1 value will also be high. However, when there is a clear trade-off between precision and recall, the F1 value can help evaluate the overall performance of the model.

[0120] The above is a schematic scheme of a method for classifying distribution network towers based on laser point cloud data in this embodiment. It should be noted that the technical scheme of the device for classifying distribution network towers based on laser point cloud data and the technical scheme of the method for classifying distribution network towers based on laser point cloud data are of the same concept. For details not described in detail in the technical scheme of the device for classifying distribution network towers based on laser point cloud data in this embodiment, please refer to the description of the technical scheme of the method for classifying distribution network towers based on laser point cloud data.

[0121] The device for classifying distribution network towers based on laser point cloud data in this embodiment includes:

[0122] A preprocessing module, used to obtain laser point cloud data, preprocess the laser point cloud data, and obtain first laser point cloud data;

[0123] A classification module, used to classify the first laser point cloud data, wherein the classification includes labeling the first laser point cloud data with the category of the distribution network tower according to the category of the distribution network tower, and associating each point in the first laser point cloud data with the category of the distribution network tower;

[0124] A training module is used to train a deep network model using the labeled first laser point cloud data to obtain a first deep network model, evaluate the first deep network model, and tune the first deep network model according to the evaluation result.

[0125] This embodiment also provides a computing device, which is suitable for classifying distribution network towers based on laser point cloud data, including:

[0126] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the distribution network tower classification method based on laser point cloud data as proposed in the above embodiment.

[0127] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the distribution network tower classification method based on laser point cloud data proposed in the above embodiment is implemented.

[0128] The storage medium proposed in this embodiment and the distribution network pole tower classification method based on laser point cloud data proposed in the above embodiment belong to the same inventive concept. The technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0129] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0130] Example 2

[0131] Referring to Table 1, an embodiment of the present invention provides a distribution network tower classification method based on laser point cloud data to verify and illustrate the technical effects used in the method.

[0132] In the distribution network tower detection and classification test, the distribution network tower classification is performed using the traditional method and the method of the present invention;

[0133] Use laser radar or other sensors to obtain laser point cloud data of the distribution network area, and pre-process the obtained laser point cloud data, including denoising, filtering, coordinate conversion and other processing steps to improve data quality and accuracy;

[0134] Use traditional computer vision and feature extraction methods combined with machine learning algorithms to detect and classify towers from laser point cloud data, extract features from the point cloud data of the training set, and train machine learning models to classify towers;

[0135] The present invention labels each point in the point cloud data as a corresponding distribution network tower category, and associates each point in the laser point cloud data with the distribution network tower category to which it belongs, so as to establish a corresponding relationship between the point cloud data and the tower category, and train a deep network model for the detection and classification tasks of the distribution network tower;

[0136] The two methods are evaluated using the test set, and their performance indicators on tower detection and classification tasks are compared, as shown in Table 1:

[0137] Table 1 Comparison of data indicators between traditional method and the method of the present invention

[0138] Data indicators Traditional methods Method of the present invention Tower detection accuracy 80% 92% Tower classification accuracy 75% 88% Model training time 2 hours 8 hours Generalization ability for new data 60% accuracy 85% accuracy

[0139] As can be seen from Table 1, the method of the present invention has a higher tower detection accuracy than the traditional method. The accuracy of the traditional method is 80%, while the accuracy of the method of the present invention is increased to 92%, indicating that the method based on deep learning is more accurate and reliable in identifying and detecting distribution network towers;

[0140] Similarly, the method of the present invention also shows a higher accuracy rate in the task of pole tower classification. The accuracy rate of the traditional method is 75%, while the accuracy rate of the method of the present invention reaches 88%, indicating that the method of the present invention can better classify different types of pole towers.

[0141] The method of the present invention shows better generalization ability on new distribution network areas. The accuracy of traditional methods on new data drops to 60%, while the accuracy of the method of the present invention maintains a high accuracy of 85%, indicating that the method of the present invention has better adaptability and generalization ability when processing unseen data.

[0142] Compared with the traditional method, the method of the present invention can detect and classify the distribution network towers more accurately and better capture the shape and characteristics of the towers. The method of the present invention performs better in the accurate identification of the distribution network towers, improves the accuracy, and has good generalization ability, which means that even in the face of distribution network towers in different regions and under different conditions, the method of the present invention is more applicable and can cope with the detection and classification tasks of distribution network towers in various real-life scenarios. The method of the present invention can capture the characteristic information of the distribution network towers more comprehensively and accurately, and has stronger discrimination ability and better classification effect.

[0143] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A distribution network tower classification method based on laser point cloud data, characterized in that: include: Acquire laser point cloud data, and preprocess the laser point cloud data to obtain first laser point cloud data; Classifying the first laser point cloud data, wherein the classification includes labeling the first laser point cloud data with the category of the distribution network tower according to the category of the distribution network tower, and associating each point in the first laser point cloud data with the category of the distribution network tower; The deep network model is trained using the labeled first laser point cloud data to obtain a first deep network model, the first deep network model is evaluated, and the first deep network model is tuned according to the evaluation result.

2. The distribution network tower classification method based on laser point cloud data as claimed in claim 1, characterized in that: Preprocessing the laser point cloud data includes: The Euclidean clustering algorithm is used for denoising, and the laser point cloud data is divided into different clusters. The distance threshold between points is defined by the cluster radius. If the distance between two points exceeds the distance threshold, the points exceeding the distance threshold will be removed from the cluster. It is determined whether each point in the laser point cloud data exceeds the distance threshold to obtain the denoised laser point cloud data set.

3. The distribution network tower classification method based on laser point cloud data as claimed in claim 2, characterized in that: Also includes: For the denoised laser point cloud data set, determine the neighbor points of any point in the laser point cloud data set, and obtain the neighbor point set of the point through the defined filter window size; Add the coordinate values ​​of each neighbor point separately and divide it by the number of neighbor points in the set to get the average coordinate value of all points in the neighbor point set; The coordinate value of the point is replaced by the coordinate average value to obtain updated laser point cloud data.

4. The distribution network tower classification method based on laser point cloud data according to claim 1 or 3, characterized in that: Classifying the first laser point cloud data includes: Randomly select a point in the first laser point cloud data as a seed point; The classification operation includes using the Euclidean distance to calculate the distance between the seed point and each neighbor point, and setting a judgment threshold. If the distance between the two points is less than the judgment threshold, the neighbor point is added to the corresponding distribution network tower category. If the distance between the two points is greater than or equal to the judgment threshold, the neighbor point is regarded as the next seed point and the classification operation is repeated. For each point added to the distribution network tower category, continue to calculate the neighboring points of the point in the distribution network tower category, and judge the distance between the two points and the size of the judgment threshold until all the points in the first laser point cloud data are assigned to the corresponding distribution network tower category.

5. The distribution network tower classification method based on laser point cloud data as claimed in claim 4, characterized in that: Associating each point in the first laser point cloud data with the category of the distribution network tower includes: Traversing each point in the first laser point cloud data, creating a data structure for each point in the first laser point cloud data, including coordinate information of the point and the pole tower and non-pole tower category to which the point belongs; The points in the first laser point cloud data are organized according to the categories they belong to, and an empty dictionary is created to store the organization results, so as to obtain a list with the tower category as the key and the point cloud data as the value, and each point is directly associated with the category it belongs to.

6. The distribution network tower classification method based on laser point cloud data as claimed in claim 5, characterized in that: Traversing each point in the first laser point cloud data includes: According to the tower category to which the point belongs, determine whether the tower category already exists in the dictionary. If so, add the data structure of the point to the point cloud data list of the corresponding tower category. If it does not exist, create a new point cloud data list, add the point data structure to it, and add the tower category as the key and the point cloud data list as the value to the dictionary; After the traversal is completed, a list with tower categories as keys and point cloud data as values ​​is obtained. Each tower category is associated with a corresponding point cloud data list.

7. The distribution network tower classification method based on laser point cloud data as claimed in claim 6, characterized in that: Training the deep network model using the annotated first laser point cloud data includes: The labeled first laser point cloud data is divided into a training set and a test set, the training set is used to train the deep network model, and the labeled category information is used for learning; According to classifying the first laser point cloud data, the difference between the model prediction result and the true label is measured by the cross entropy function to obtain the loss function; Calculate the gradient of the deep network model parameters in the loss function, and update the deep network model parameters according to the gradient information, which is expressed as: m t =β1*m (t-1) +(1-β1)*g t w=w-α*m h / (sqrt(v_h)+ε) Among them, m t and v t are the first-order learning and second-order estimation on the corresponding dimensions, β1 and β2 are smoothing coefficients, and g t is the gradient of the current parameter, α is the learning rate, and ε is a constant.

8. A system for classification of distribution network towers based on laser point cloud data, characterized in that: include: A preprocessing module, used to obtain laser point cloud data, preprocess the laser point cloud data, and obtain first laser point cloud data; A classification module, used to classify the first laser point cloud data, wherein the classification includes labeling the first laser point cloud data with the category of the distribution network tower according to the category of the distribution network tower, and associating each point in the first laser point cloud data with the category of the distribution network tower; A training module is used to train a deep network model using the labeled first laser point cloud data to obtain a first deep network model, evaluate the first deep network model, and tune the first deep network model according to the evaluation result.

9. An electronic device, characterized in that: The device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.