Real-time transmission line extraction method based on laser point cloud for UAV power inspection
By coupling the diffusion field and the convolutional neural network method, the problem of low efficiency and poor timeliness of the traditional transmission line inspection method is solved, and the rapid real-time extraction of transmission conductors from the lidar point cloud is achieved, which is suitable for scenarios requiring high efficiency.
Patent Information
- Application Number
- CN202111572110.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-12-21
AI Technical Summary
Traditional high-voltage/UHV transmission line inspection methods are labor-intensive and inefficient, and cannot meet the growing inspection needs. Moreover, the wire extraction in existing lidar point cloud data has poor timeliness and insufficient adaptability.
A real-time transmission conductor extraction method using coupling diffusion field and convolutional neural network for UAV power inspection lidar point cloud. Efficient multi-scale detection is achieved through DCSV point cloud characterization, diffusion field feature enhancement and PLDNet network, and a three-dimensional bounding box mark is generated. Transmission conductor point cloud.
It achieves rapid and real-time extraction of transmission wires from lidar point clouds, and is suitable for scenarios with high efficiency requirements, such as disaster emergency inspections, improving timeliness and adaptability.
Smart Images

Figure CN114359754B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the application of target extraction in UAV power inspection LiDAR (LiDAR) point cloud data, and proposes a new method for automatic extraction of real-time transmission wires from transmission corridor LiDAR (LiDAR) point cloud. Background Art
[0002] Stable power supply is the basis of industrial production and daily life in modern society. Timely and sufficient inspection of high-voltage / UHV transmission lines is particularly important for the safe and stable operation of power grids. Traditional high-voltage / UHV transmission line monitoring mainly uses optical measurement equipment (such as telescopes, video / infrared / ultraviolet cameras) to conduct helicopter and ground manual field inspections to detect faulty components or invading trees. The natural environment of high-voltage and UHV transmission line corridors is harsh and complex. Traditional methods are labor-intensive, difficult working conditions, low labor efficiency, and inconvenient management. They cannot meet the growing detection needs (Peng Xiangyang et al., 2015; Ituen and Sohn, 2010). Ultra-high and UHV power grids are in urgent need of safe, advanced, and efficient power inspection methods.
[0003] Transmission lines (conductors) are the main components of transmission equipment and are vulnerable to external forces and environmental intrusions in power corridors (Katrasnik et al., 2009). Automatic wire extraction from line inspection LiDAR point clouds and images has long attracted the attention of academia and industry. The wire cross-section is thin and the imaging area on the inspection image is small (1-2 pixels). Figure 2 Reconstructing these relatively narrow structures from 3D oblique images remains an unsolved and open research problem (Li et al., 2018a; Pei et al., 2016). At present, 3D extraction and analysis of transmission lines are mostly based on LiDAR point clouds, which are mainly divided into rule-based and machine learning-based methods. Such studies mostly construct constraint rules through line prior information (Chen et al., 2018; Sohn et al., 2012) or train on small sample data (Gu et al., 2016; Kim and Sohn, 2013). They have the limitation of poor adaptability to scenes not covered by predefined rules or training samples, and most of them are non-real-time processing with poor timeliness.
[0004] Related references are as follows:
[0005] [1] Peng Xiangyang, Chen Chi, Rao Zhangquan, et al. Power line safety inspection and intelligent diagnosis based on multi-sensor data acquisition by UAV [J]. High Voltage Engineering, 2015, 41(1):8.
[0006] [2]Ituen I, Sohn G.The Way Forward:Advances in Maintaining Right-of-Way of Transmission Lines[J].Geomatica,2010,64.
[0007] [3]Katrasnik J, Pernus F, Likar BA survey of mobile robots for distribution power line inspection[J]. IEEE Transactions on power delivery, 2009, 25(1):485-493.
[0008] [4]Li Y, Pan C, Cao X, et al. Power Line Detection by Pyramidal PatchClassification[J]. IEEE Transactions on Emerging Topics in Computational Intelligence, 2018:1-11.
[0009] [5] Pei Huikun, Jiang San, Lin Guoan, et al. Three-dimensional reconstruction of power corridors based on UAV oblique photography[J]. Surveying and Mapping Science, 2016, 41(12):5.
[0010] [6]Chen C, Yang B, Song S, et al. Automatic Clearance Anomaly Detection for Transmission Line Corridors Utilizing UAV-Borne LIDAR Data[J].RemoteSensing, 2018,10(4):613.
[0011] [7]Sohn G,Jwa Y,Kim H B.Automatic powerline scene classification and reconstruction using airborne lidar data[J].ISPRS Ann.Photogramm.RemoteSens.Spat.Inf.Sci,2012,13(167172):28.
[0012] [8]Gu Y, Wang Q, Xie B.Multiple kernel sparse representation for airborne LiDAR data classification[J]. IEEE Transactions on Geoscience andRemote Sensing, 2016, 55(2):1085-1105.
[0013] [9]Kim HB,Sohn G.Point-based classification of power line corridorscene using random forests[J].Photogrammetric Engineering&Remote Sensing,2013,79(9):821-833. Summary of the invention
[0014] In view of the shortcomings and deficiencies of the traditional power inspection LiDAR point cloud real-time transmission line extraction method, this patent proposes a UAV power inspection LiDAR point cloud real-time transmission line extraction method by coupling diffusion field and convolutional neural network, which can automatically extract the transmission line point cloud in the LiDAR point cloud in real time.
[0015] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0016] Firstly, in order to achieve efficient convolution on three-dimensional point clouds, a new DCSV point cloud representation method for line inspection is proposed, which converts discrete point clouds into three-dimensional tensors, which are composed of variable geometric voxels that are not regularly divided along the coordinate axes. Then, after the point cloud is regularized by DCSV, the encoded features of each voxel are used as energy signals to simulate the heat diffusion process in physics and perform spatial diffusion. The diffusion process is approximated by finite element analysis, and a diffusion feature map is generated on the DCSV representation. Finally, a single-stage detector RPLDNet consisting of a backbone network and two subnetworks is proposed to perform multi-scale detection of transmission line point clouds under DCSV diffusion representation, and decode and calculate the bbox by combining channel information (rotation angle, width). 3d The three-dimensional bounding box marks the point cloud data contained therein as the transmission line point cloud.
[0017] The method for extracting real-time transmission line from laser point cloud of UAV power inspection includes the following steps:
[0018] Step 1, using a variable geometry voxel diffusion cross-section map (DCSV) representation method to achieve efficient convolution on a three-dimensional point cloud, wherein the variable geometry voxel diffusion cross-section map (DCSV) representation method converts a discrete point cloud into a three-dimensional tensor composed of variable geometry voxels that are not regularly divided along a coordinate axis;
[0019] Step 2: Based on the variable geometry voxel diffusion cross-section map (DCSV) representation method, the diffusion field feature enhancement method is used to enhance the features of the transmission line on each channel of the DCSV to obtain a point cloud diffusion DCSV representation for subsequent deep feature learning and extraction.
[0020] Step 3, construct a real-time power transmission line detection network PLDNet, which consists of a lightweight backbone network and two multi-scale detection sub-networks. The point cloud diffusion DCSV representation is input into the PLDNet network to obtain a two-dimensional target detection box after non-local maximum suppression NMS, and combined with the channel information set when generating DCSV, the three-dimensional bounding box is decoded and calculated, and the point cloud data in the three-dimensional bounding box is marked as a power transmission line point cloud.
[0021] Furthermore, the variable geometry voxel diffusion cross-section map (DCSV) characterization method described in step 1 voxelizes the laser point cloud into a series of irregular shaped three-dimensional grids along the flight direction of the UAV. The grid resolutions of DCSV in the horizontal projection direction y of the 3D track, the vertical track direction x in the horizontal plane, and the elevation direction z are set to Δl, Δw, and Δh, respectively. The laser point cloud is divided into 3D voxels of l / Δl, w / Δw, and h / Δh dimensions, where l, w, and h represent the total length of the laser point cloud in the y, x, and z directions, respectively. The DCSV energy feature of each 3D voxel is defined as the elevation linear code fcsv(·) under the point density constraint, as shown in formula (1):
[0022]
[0023] Where P(U, V, W) is the voxel coordinate of voxel P in the x, y, and z directions, j is the number of points in voxel P, and z is i is the elevation coordinate of the i-th point in voxel P, are the maximum and minimum elevation values of the point set in the Cth channel of DCSV, dt is the minimum point number threshold in voxel P, and λ is the parameter for adjusting the initial energy. After calculating the discrete regularization of the DCSV energy feature of the voxel, DCSV uses the horizontal projection of the variable UAV track direction as the third dimension of the tensor space as the tensor channel C. When calculating the elevation linear encoding, voxels with the same channel C are regarded as the same variable geometric voxel section, reducing the degree of freedom of the 3D space to 2, thereby enabling efficient 2D convolution on the DCSV.
[0024] Furthermore, the specific implementation of step 2 includes the following sub-steps:
[0025] Step 2.1, the diffusion field feature enhancement method uses the diffusion partial differential equation for mathematical modeling, which is expressed as formula (2):
[0026]
[0027] Where u(r,t) is the density of the diffusion medium at spatial position r and time t, D(u(r,t),r) is the diffusion coefficient at the spatial position (r,t) with energy density u, is a vector differential operator in mathematics;
[0028] Step 2.2, under the condition of a constant diffusion coefficient D, where D is independent of u, convert formula (2) into the following linear equation:
[0029]
[0030] The energy diffusion process in a given area can be described by formula (3);
[0031] Step 2.3: Under the same initial energy state, boundary conditions and diffusion coefficient conditions, the energy diffusion process produces a series of independent and repeatable field characteristics. Using this diffusion characteristic, the channel characteristics in DCSV are diffusely enhanced. Let Voxel (U, V, C) be the voxel in DCSV, and the corresponding point set be PC (x, y, z). According to formula (1), calculate the corresponding eigenvalue F DCSV , then the initial energy state of the diffusion field in channel C is as follows:
[0032] T(x,z) C =F DCSV (U,V,C) (4)
[0033] Step 2.4, in the DCSV space domain xz, ignoring the radiation loss, the energy diffusion transfer process under constant conductivity can be expressed by formula (5):
[0034]
[0035] Where T is the energy state, t and k are time and thermal conductivity respectively;
[0036] Step 2.5: Formula (5) is discretized to obtain formula (6). In formula (6), n represents the nth moment, then Represents the energy value obtained by the voxel in the i-th row and j-th column at the n-th moment:
[0037]
[0038] The BTCS (backward in time, central in space) implicit method is used to perform finite element solution on Equation (6), and then the voxel-by-voxel energy value under the specified channel, thermal conductivity and time is obtained and quantified to generate a point cloud diffusion DCSV representation for deep feature extraction and recognition.
[0039] Furthermore, there are a total of 7 modules in the backbone network in step 3. The designs of the first six modules are the same. The basic blocks of these modules are composed of two-dimensional convolution (Conv), batch normalization (BN) and maximum pooling layers; all convolutions use 3×3 kernel functions and leakyRelu activation functions. The number of channels of the six convolutions in the module is equal to 16, 32, 64, 128, 256, and 1024 respectively. The seventh module consists of a two-dimensional convolution with a channel number of 256 and a stride of 1, batch normalization, leakyRelu activation and spatial pyramid pooling SPP layer to aggregate deep features of different scales, and the output deep features are 13×13×1024.
[0040] Furthermore, in step 3, the multi-scale detection sub-network 1 performs detection in combination with the deep features output by the backbone network. The output features of the seventh convolution module in the backbone network are processed by a 128-channel 3×3 kernel function convolution and a 3×3×2 upsampling process, and then connected with the output features of the fourth convolution module in the backbone network. After the connection, a 256-channel 3×3 kernel function convolution and an 18-channel 1×1 kernel function convolution are calculated to aggregate multi-scale features for detecting small-scale targets; the multi-scale detection sub-network 2 combines the output features of the spatial pyramid pooling SPP layer. The spatial pyramid pooling SPP layer contains three maximum pooling layers, which perform maximum pooling of 13×13, 9×9 and 5×5 respectively, and combines the output features of the seventh module in the backbone network with the features of these three pooling layers. Then, the output features of the spatial pyramid pooling SPP layer are input into the convolution layer, and 18-channel regression and prediction are performed on the 13×13 grid.
[0041] Furthermore, the loss function used by the PLDNet network in step 3 is as follows,
[0042]
[0043]
[0044]
[0045] Where x, y, w, and h in formula (7) represent the horizontal coordinate x and the vertical coordinate y of the center point of a two-dimensional detection box in the image, as well as the width w of the detection box in the x direction and the height h of the detection box in the y direction; r represents one of the detection boxes; maxIOU represents the maximum intersection over union (IoU) between the predicted box and the true value; Thresh is the set threshold; is the confidence of the prediction box; and truth c , Represent the coordinates and categories of the true value box and the predicted box respectively; in order to improve the detection ability of small targets, λ is introduced coord =(2-truth w *truth h ) Increase the weight of small targets, truth w Represents the width of the true value detection box divided by the width of the entire image, truth h Represents the height of the true value detection box divided by the height of the entire image, and λ obj and λ class Set equal values; parameterize each object as an oriented 3D bounding box bbox 3d (θ z ,DCSVwidth y ,bbox 2d ), corresponding to the rotation angle and width of the DCSV located at channel C, and its 2D bounding box in the xz plane; the encoding of the 2D bounding box is the same as that proposed in YoloV3, θ z Set to be consistent with the tangent of the flight direction, DCSVwidth y is a predetermined value.
[0046] Furthermore, in step 3, the PLDNet network is trained using stochastic gradient descent and back propagation to obtain the model weights.
[0047] Furthermore, the channel information set when generating the DCSV in step 3 includes a rotation angle on the navigation level and a cross-sectional voxel width.
[0048] Furthermore, the encoding of the 2D bounding box is the same as that proposed in YoloV3.
[0049] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0050] The present invention takes the LiDAR point cloud data collected by the drone inspection system as the research object, formulates a three-step real-time wire extraction model application strategy based on its data characteristics, and concretizes the DCSV point cloud characterization method, diffusion field feature enhancement method, and neural network DCSV characterization target detection extraction method defined in the three-step real-time wire extraction model of the LiDAR point cloud data of the line corridor, and completes the rapid extraction of power transmission wires from the LiDAR point cloud data. The method can better solve the problem of complex steps and difficulty in real-time extraction of traditional LiDAR point cloud power transmission wire extraction methods, and can quickly detect power transmission wires in LiDAR point clouds, and can be used in scenes with high timeliness requirements (such as disaster emergency inspections, etc.). BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 Flow chart of the method for real-time transmission line extraction from UAV power inspection laser radar (LiDAR) point cloud in an embodiment of the present invention.
[0052] Figure 2 Schematic diagram of point cloud DCSV representation in an embodiment of the present invention.
[0053] Figure 3 Result diagram of the diffusion field feature enhancement method in an embodiment of the present invention; wherein, (a) and (b) are different perspectives of the laser point cloud diffusion cross-sectional view, and Figure (c) is the result diagram of the diffusion field feature enhancement method of the point cloud.
[0054] Figure 4 RPLDNet structure diagram in an embodiment of the present invention.
[0055] Figure 5 Schematic diagram of decoding of the reasoning process in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The technical solution of the present invention is described below in conjunction with the accompanying drawings and embodiments.
[0057] The method proposed in the present invention is specifically described by selecting multiple LiDAR point cloud data sets collected by UAV LiDAR. Figure 1 , the embodiment of the present invention comprises the following steps:
[0058] Step 1: In order to achieve efficient convolution on three-dimensional point clouds, a new variable geometry voxel diffusion cross section view (DCSV) representation method for line inspection is proposed, which converts discrete point clouds into a three-dimensional tensor composed of variable geometry voxels that are not regularly divided along the coordinate axes.
[0059] DCSV representation converts the laser point cloud into a series of irregular 3D occupancy grids along the flight direction of the UAV (Unmanned Air Vehicle, referred to as UAV). Figure 2 ). Set the grid resolution of DCSV in the horizontal projection direction of the 3D track (y), the vertical track direction in the horizontal plane (x), and the elevation direction (z) to Δl, Δw, and Δh respectively. The laser point cloud is divided into 3D voxels of l / Δl, w / Δw, and h / Δh dimensions, where l, w, and h represent the total length of the laser point cloud in the y, x, and z directions, respectively. The DCSV energy feature of each 3D voxel is defined as the elevation linear encoding fcsv(·) under the point density constraint, as shown in Formula 1:
[0060]
[0061] Where P(U,V,W) is the voxel coordinate of voxel P in the x,y,z directions, j is the number of points in voxel P, z is i is the elevation coordinate of the i-th point in voxel P, are the maximum and minimum elevation values of the point set in the Cth channel of DCSV, dt is the minimum point number threshold in voxel P, and λ is the parameter for adjusting the initial energy. After calculating the discrete regularization of the DCSV energy feature of the voxel, dimensional 3D energy tensor. DCSV uses the horizontal projection of the variable UAV track direction as the third dimension of the tensor space as tensor channel C. When calculating the elevation linear encoding, voxels with the same channel C are regarded as the same variable geometric voxel section, reducing the degree of freedom of the 3D space to 2, so that efficient 2D convolution can be performed on the DCSV, and on this basis, the grid features can be calculated according to the point cloud distribution characteristics within the voxel through steps 2 and 3 to achieve effective and compact transmission line corridor scene expression. Generated by the above steps dimensional energy feature tensor, such as Figure 2 It is a schematic diagram of point cloud DCSV representation.
[0062] Step 2: Based on the point cloud DCSV, a diffusion field feature enhancement method is proposed to enhance the features of the transmission line in each channel of DCSV for subsequent deep feature learning and extraction.
[0063] The above step 2 further comprises the following steps:
[0064] Step 2.1, after DCSV, the transmission line usually occupies only a few voxel grids in the xz plane (x in the horizontal plane, vertical track direction, z in the elevation direction), which is difficult to identify directly. To solve this problem, the present invention proposes a diffusion field feature enhancement method to enhance the features of the transmission line in each channel of DCSV for subsequent deep feature learning and extraction. The diffusion process is mathematically modeled using the diffusion partial differential equation, which is expressed as formula (2):
[0065]
[0066] Where u(r,t) is the density of the diffusion medium at spatial position r and time t, D(u(r,t),r) is the diffusion coefficient at the spatial position (r,t) with energy density u, It is a vector differential operator in mathematics.
[0067] Step 2.2, under the condition of constant diffusion coefficient D (D is independent of u), formula (2) can be converted into the following linear equation (heat equation, formula (3)):
[0068]
[0069] The energy diffusion process in a given area can be described by formula (3).
[0070] Step 2.3, under the same initial energy state, boundary conditions and diffusion coefficient conditions, the energy diffusion process produces a series of independent and repeatable field characteristics. Using this diffusion characteristic, the channel characteristics in DCSV are diffusely enhanced. Let Voxel(U,V,C) be the voxel in DCSV, and the corresponding point set be PC(x,y,z). According to formula (1), calculate the corresponding eigenvalue F DCSV , then the initial energy state of the diffusion field in channel C is as shown in formula (4)
[0071] T(x,z) C =F DCSV (U,V,C)#(4)
[0072] Step 2.4, in the DCSV space domain (xz), ignoring the radiation loss, the energy diffusion transfer process under constant conductivity can be expressed by formula (5):
[0073]
[0074] Where T is the energy state, t and k are time and thermal conductivity respectively.
[0075] Step 2.5: Formula (5) is discretized to obtain formula (6). In formula (6), n represents the nth moment, then Represents the energy value obtained by the voxel in the i-th row and j-th column at the n-th moment.
[0076]
[0077] Under the Dirichlet boundary condition that the regional boundary values are all zero, the initial energy state of the DCSV space domain is calculated according to formula (1), and the BTCS (backward in time, central in space) implicit method is used to perform finite element solution on formula (6), and then the voxel-by-voxel energy value under the specified channel, thermal conductivity and time is obtained and quantified, and a point cloud diffusion DCSV representation is generated for deep feature extraction and recognition. Figure 3 The figure shown is the result of the diffusion field feature enhancement method.
[0078] Step 3: To realize the real-time detection of power transmission line point cloud on the DCSV diffusion feature tensor, a real-time power transmission line detection network (Power Transmission Lines Detection Net, PLDNet for short) is proposed. The network consists of a lightweight backbone network and two multi-scale detection sub-networks. The network structure is as follows: Figure 4 As shown. The point cloud diffusion DCSV representation is input into the PLDNet network to obtain the two-dimensional target detection box bbox after NMS (non-local maximum suppression). 2d , combined with the channel information set when generating DCSV (rotation angle on the navigation level, cross-section voxel width), decode and calculate the bbox 3d The three-dimensional bounding box marks the point cloud data within the three-dimensional bounding box as a transmission line point cloud. The above step 3 further includes the following steps:
[0079] Step 3.1, the PLDNet proposed in the present invention is composed of 11 convolutional layers and 9 pooling layers as a whole. The convolutional layer used in the backbone is a standard 2D convolution, which is used to extract the input diffusion DCSV deep features. There are a total of 7 modules in the backbone network. The design of the first six modules is the same, and the basic blocks of these modules are composed of two-dimensional convolution (Conv), batch normalization (BN), and maximum pooling layers. All convolutions use a 3×3 kernel function and a leakyRelu activation function. The number of channels of the six convolutions in the module is equal to 16, 32, 64, 128, 256, and 1024, respectively. The seventh module consists of a two-dimensional convolution with a channel number of 256 and a stride of 1, batch normalization, leakyRelu activation, and a spatial pyramid pooling (SPP) layer to aggregate deep features of different scales, and the output deep features are 13×13×1024.
[0080] Step 3.2, the multi-scale detection sub-network (header network) of the PLDNet proposed in the present invention follows the principle of efficient and multi-scale detection to design two sub-networks: Sub-network 1 (header1) performs detection in combination with the multi-scale features output by the backbone network. The output features of the seventh convolution module in the backbone network are processed by 128-channel 3×3 kernel function convolution and 3×3×2 upsampling, and then connected with the output features of the fourth convolution module in the backbone network. After the connection, a 256-channel 3×3 kernel function convolution and an 18-channel 1×1 kernel function convolution are calculated to aggregate multi-scale features for detecting small-scale targets. Subnetwork 2 (header2) combines the output features of the spatial pyramid pooling module. The spatial pyramid pooling contains three maximum pooling layers, which perform maximum pooling of 13×13, 9×9 and 5×5 respectively, and combines the output features of the seventh module in the combined backbone network with the features of these three pooling layers. Then, the output features of the SPP spatial pyramid pooling are input into the convolutional layer, and 18-channel regression and prediction are performed on the 13×13 grid.
[0081] Step 3.3, the training and reasoning steps of the PLDNet proposed in the present invention have the following characteristics:
[0082] The loss function is shown in formula 7-9. The loss function is mainly divided into three parts: coordinate loss, confidence loss and classification loss.
[0083]
[0084]
[0085]
[0086] Where x, y, w, and h in formula (7) represent the horizontal coordinate x and vertical coordinate y of the center point of a two-dimensional detection box in the image, as well as the width w of the detection box in the x direction and the height h of the detection box in the y direction; r represents one of the detection boxes. maxIOU represents the maximum intersection over union (IoU) between the predicted box and the true value; Thresh is the set threshold of 0.6; is the confidence of the prediction box; and truth c , Represent the coordinates and categories of the true value box and the predicted box respectively. The loss value calculation strategy of formula (7) adopts the error square sum strategy (SSE). In order to improve the detection ability of small objects, λ is introduced coord =(2-truth w *truth h )(truth w Represents the width of the true value detection box divided by the width of the entire image, truthh represents the height of the true value detection box divided by the height of the entire image) to increase the weight of small targets and obj and λ class Set them to equal values. Each object is parameterized as an oriented 3D bounding box bbox 3d (θ z ,DCSVwidth y ,bbox 2d ), corresponding to the rotation angle and width of the DCSV located in channel C, and its 2D bounding box in the xz plane (x in the horizontal plane, vertical track direction, z in the elevation direction). The encoding of the 2D bounding box is the same as that proposed in YoloV3. z Set to be consistent with the tangent of the flight direction, DCSVwidth y is a predetermined value. Compared with 3D cuboid-based 3D object detection, this parameterization method omits the parameterization along the Z axis (flight direction), simplifying the calculation. In the forward propagation training process of the PLDNet neural network, anchor boxes with a 1:1 aspect ratio are used. Each image unit of each multi-scale detection subnetwork uses three anchor boxes of different sizes, with a total of 6 anchor boxes. Afterwards, PLDNet is trained using stochastic gradient descent (SGD) and back propagation to obtain the model weights.
[0087] Step 3.4: During the inference process, the point cloud diffusion DCSV representation is input into the PLDNet network to obtain the bbox after NMS (non-local maximum suppression) 2d , and combined with the channel information (rotation angle on the navigation level, cross-sectional voxel width), decode and calculate the bbox 3d The three-dimensional bounding box marks the point cloud data within the three-dimensional bounding box as the transmission line point cloud, such as Figure 5 .
[0088] The technical solution and beneficial effects of the present invention will be further explained below with reference to specific examples.
[0089] Using multiple LiDAR point cloud data sets collected by UAV LiDAR, after being processed by the method of the present invention, the average F-1 score of DCPLD-Net for power transmission line point cloud extraction is 97.11%, and the running speed reaches 8HZ. This shows that the present invention can provide high-precision LiDAR power transmission line extraction results in real-time time efficiency.
[0090] In specific implementation, the process provided by the present invention can be automatically run using software technology.
[0091] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time, characterized in that: The steps include: Step 1, using a variable geometry voxel diffusion cross-section map (DCSV) representation method to achieve efficient convolution on a three-dimensional point cloud, wherein the variable geometry voxel diffusion cross-section map (DCSV) representation method converts a discrete point cloud into a three-dimensional tensor composed of variable geometry voxels that are not regularly divided along a coordinate axis; The variable geometry voxel diffusion cross-section map (DCSV) characterization method described in step 1 voxelizes the laser point cloud into a series of irregular 3D grids along the flight direction of the UAV. The grid resolutions of DCSV in the horizontal projection direction y of the 3D track, the vertical track direction x in the horizontal plane, and the elevation direction z are set to Δl, Δw, and Δh, respectively. The laser point cloud is divided into 3D voxels of l / Δl, w / Δw, and h / Δh dimensions. l, w, and h represent the total length of the laser point cloud in the y, x, and z directions, respectively. The DCSV energy feature of each 3D voxel is defined as the elevation linear code fcsv(·) under the point density constraint, as shown in formula (1): Where P(U,V,W) is the voxel coordinate of voxel P in the x,y,z directions, j is the number of points in voxel P, z is i is the elevation coordinate of the i-th point in voxel P, are the maximum and minimum elevation values of the point set in the Cth channel of DCSV, dt is the minimum point number threshold in voxel P, and λ is the parameter for adjusting the initial energy. After calculating the discrete regularization of the DCSV energy feature of the voxel, dimensional 3D energy tensor; DCSV uses the horizontal projection of the variable UAV track direction as the third dimension of the tensor space as the tensor channel C. When calculating the elevation linear encoding, voxels with the same channel C are regarded as the same variable geometric voxel section, reducing the degree of freedom of the 3D space to 2, thereby enabling efficient 2D convolution on the DCSV; Step 2: Based on the variable geometry voxel diffusion cross-section map (DCSV) representation method, the diffusion field feature enhancement method is used to enhance the features of the transmission line on each channel of the DCSV to obtain a point cloud diffusion DCSV representation for subsequent deep feature learning and extraction. The specific implementation of step 2 includes the following sub-steps: Step 2.1, the diffusion field feature enhancement method uses the diffusion partial differential equation for mathematical modeling, which is expressed as formula (2): Where u(r,t) is the density of the diffusion medium at spatial position r and time t, D(u(r,t),r) is the diffusion coefficient at the spatial position (r,t) with energy density u, is a vector differential operator in mathematics; Step 2.2, under the condition of a constant diffusion coefficient D, where D is independent of u, convert formula (2) into the following linear equation: The energy diffusion process in a given area can be described by formula (3); Step 2.3: Under the same initial energy state, boundary conditions and diffusion coefficient conditions, the energy diffusion process produces a series of independent and repeatable field characteristics. Using this diffusion characteristic, the channel characteristics in DCSV are diffusely enhanced. Let Voxel(U,V,C) be the voxel in DCSV, and the corresponding point set be PC(x,y,z). According to formula (1), calculate the corresponding eigenvalue F DCSV , then the initial energy state of the diffusion field in channel C is as follows: T(x,z) C =F DCSV (U,V,C) (4) Step 2.4, in the DCSV space domain xz, ignoring the radiation loss, the energy diffusion transfer process under constant conductivity can be expressed by formula (5): Where T is the energy state, t and k are time and thermal conductivity respectively; Step 2.5: Formula (5) is discretized to obtain formula (6). In formula (6), n represents the nth moment, then Represents the energy value obtained by the voxel in the i-th row and j-th column at the n-th moment: The BTCS implicit method is used to perform finite element solution on equation (6), and then the voxel-by-voxel energy value under the specified channel, thermal conductivity and time is obtained and quantified to generate the point cloud diffusion DCSV representation for deep feature extraction and recognition. Step 3, construct a real-time power transmission line detection network PLDNet, which consists of a lightweight backbone network and two multi-scale detection sub-networks. The point cloud diffusion DCSV representation is input into the PLDNet network to obtain a two-dimensional target detection box after non-local maximum suppression NMS, and combined with the channel information set when generating DCSV, the three-dimensional bounding box is decoded and calculated, and the point cloud data in the three-dimensional bounding box is marked as a power transmission line point cloud.
2. The method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time as claimed in claim 1, characterized in that: There are a total of 7 modules in the backbone network in step 3. The design of the first six modules is the same. The basic blocks of these modules are composed of two-dimensional convolution, batch normalization and maximum pooling layers; all convolutions use 3×3 kernel functions and leakyRelu activation functions. The number of channels of the six convolutions in the module is equal to 16, 32, 64, 128, 256, and 1024 respectively. The seventh module consists of a two-dimensional convolution with a channel number of 256 and a stride of 1, batch normalization, leakyRelu activation and spatial pyramid pooling SPP layer to aggregate deep features of different scales, and the output deep features are 13×13×1024.
3. The method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time as claimed in claim 2, characterized in that: In step 3, the multi-scale detection sub-network 1 performs detection in combination with the deep features output by the backbone network. The output features of the seventh convolution module in the backbone network are processed by a 128-channel 3×3 kernel function convolution and a 3×3×2 upsampling process, and then connected with the output features of the fourth convolution module in the backbone network. After the connection, a 256-channel 3×3 kernel function convolution and an 18-channel 1×1 kernel function convolution are calculated to aggregate multi-scale features for detecting small-scale targets; the multi-scale detection sub-network 2 combines the output features of the spatial pyramid pooling SPP layer. The spatial pyramid pooling SPP layer contains three maximum pooling layers, which perform maximum pooling of 13×13, 9×9 and 5×5 respectively, and combines the output features of the seventh module in the backbone network with the features of these three pooling layers. Then, the output features of the spatial pyramid pooling SPP layer are input into the convolution layer, and 18-channel regression and prediction are performed on the 13×13 grid.
4. The method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time as claimed in claim 1, characterized in that: The loss function used by the PLDNet network in step 3 is as follows, Wherein, x, y, w, and h in formula (7) represent the horizontal coordinate x and the vertical coordinate y of the center point of a two-dimensional detection box in the image, as well as the width w of the detection box in the x direction and the height h of the detection box in the y direction; r represents one of the detection boxes; maxIOU represents the maximum intersection-union between the predicted box and the true value; Thresh is the set threshold; is the confidence of the prediction box; and Represent the coordinates and categories of the true value box and the predicted box respectively; in order to improve the detection ability of small targets, λ is introduced coord =(2-truth w *truth h ) Increase the weight of small targets, truth w Represents the width of the true value detection box divided by the width of the entire image, truth h Represents the height of the true value detection box divided by the height of the entire image, and λ obj and λ class Set equal values; parameterize each object as an oriented 3D bounding box bbox 3d (θ z ,DCSVwidth y ,bbox 2d ), corresponding to the rotation angle and width of the DCSV located in channel C, and its 2D bounding box in the xz plane, where the vertical track direction x in the horizontal plane and the elevation direction z; the encoding of the 2D bounding box is the same as that proposed in YoloV3, θ z Set to be consistent with the tangent of the flight direction, DCSVwidth y is a predetermined value.
5. The method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time as claimed in claim 1, characterized in that: In step 3, during the forward propagation training of the PLDNet neural network, an anchor box with an aspect ratio of 1:1 is used. Each image unit of each multi-scale detection subnetwork uses three anchor boxes of different sizes, with a total of 6 anchor boxes. After that, the PLDNet network is trained using stochastic gradient descent and back propagation to obtain the model weights.
6. The method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time as claimed in claim 1, characterized in that: The channel information set when generating the DCSV in step 3 includes the rotation angle on the navigation level and the cross-sectional voxel width.
7. The method for extracting power transmission lines from UAV power inspection laser radar point cloud in real time as claimed in claim 4, characterized in that: The encoding of 2D bounding boxes is the same as proposed in YoloV3.
