An unmanned aerial vehicle crossing over and crossing line control method and system based on point cloud recognition
By using airborne lidar and point cloud processing technology, the smooth flight path of the UAV is identified and planned, which solves the collision risk of the UAV in the crossing area and realizes high-precision three-dimensional perception and safe flight.
Patent Information
- Application Number
- CN202611264509.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-08-20
AI Technical Summary
Existing drone obstacle avoidance technologies struggle to accurately perceive the three-dimensional geometric information of power lines and towers in complex environments, leading to collision risks when flying over crossing areas. Furthermore, existing point cloud processing algorithms lack sufficient accuracy and robustness in complex natural environments, failing to achieve deep closed-loop fusion and path planning.
Three-dimensional point cloud data is collected by airborne lidar, preprocessed using slope change and cloth simulation filtering algorithms, and combined with Euclidean clustering and regular classifiers to identify point cloud clusters of poles and power lines to generate a smooth three-dimensional flight path. The model prediction controller is then used to track path points to ensure the safe flight of the UAV.
It enables high-precision 3D perception and smooth flight path planning for UAVs in complex environments, significantly improving path reliability and safety, reducing collision risks, and ensuring autonomous and safe inspection of UAVs in areas crossing lines.
Smart Images

Figure CN122776829B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of UAV crossing control processing, specifically to a UAV crossing control method and system based on point cloud recognition. Background Technology
[0002] Automated inspection of power lines using drones is an important development direction for smart grid operation and maintenance. During inspections, drones often need to fly over complex areas where power lines cross each other, meaning one line passes above or below another. These scenarios place extremely high demands on flight safety; a control malfunction leading to a collision with a power line could cause serious equipment damage and a power grid accident.
[0003] Existing drone obstacle avoidance technologies largely rely on visible light or infrared sensors. However, these two-dimensional vision sensors are susceptible to ambient light and weather conditions (such as fog, haze, and backlighting), making it difficult to accurately acquire the three-dimensional geometric information of small targets such as power lines and towers, resulting in insufficient reliability. Although Global Positioning System (GNSS) or Real-Time Dynamic Differential (RTK) technology can provide the drone's own position, it cannot directly perceive the precise three-dimensional shape of surrounding obstacles, failing to meet the requirements for safe passage in precise spatial structures such as intersections.
[0004] LiDAR technology can acquire high-precision 3D environmental point cloud data, enabling 3D obstacle perception. Existing technologies include some solutions for identifying power lines or poles using point clouds. However, these solutions typically have the following limitations: First, point cloud processing algorithms lack accuracy and robustness in complex natural environments (such as adjacent vegetation), easily leading to false positives or false negatives; second, existing technologies mostly focus on recognition and display, failing to achieve deep closed-loop fusion of recognition results with UAV flight control; finally, when generating flight paths, simple straight lines or broken lines are often used, without considering the dynamic constraints of the UAV and the smoothness of the path, potentially leading to flight instability or inaccurate tracking, and the lack of a precise safe flight space model near intersection points poses a collision risk.
[0005] Therefore, there is an urgent need for an integrated solution that can accurately perceive the environment, intelligently plan and stably execute flight maneuvers to ensure the absolute safety of drones autonomously inspecting areas where power corridors intersect. Summary of the Invention
[0006] The purpose of this invention is to provide a method for controlling UAVs crossing lines based on point cloud recognition, which can effectively solve the problems mentioned in the background art.
[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows: This invention provides a method for controlling UAV crossing lines based on point cloud tower identification, comprising the following steps: The original three-dimensional point cloud data of the inspection area is collected by airborne lidar; the original three-dimensional point cloud data is preprocessed to separate the non-ground point cloud data. Identify and extract tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data; Based on the spatial distribution of the tower point cloud clusters, one or more overlapping areas are determined; For each of the aforementioned overlapping areas, an unobstructed flight path for the UAV is generated; Control the drone to fly across the crossing area along the unobstructed flight path.
[0008] Preferably, as one possible implementation, the preprocessing of the original 3D point cloud data to separate the non-ground point cloud data includes: The original 3D point cloud data is initially processed using a grid ground filtering algorithm based on slope variation to remove significant ground points; After the initial processing, the point cloud is finely filtered using a cloth simulation filtering algorithm to divide the point cloud into ground points and non-ground points. The non-ground point cloud data is stored in the first point cloud set for subsequent processing.
[0009] Preferably, as one possible implementation; identifying and extracting tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data includes: Perform Euclidean clustering analysis on the first point cloud cluster, and group points whose spatial distance is less than the first threshold into the same initial point cloud cluster. Calculate the geometric features of each of the initial point cloud clusters, including dimensionality, linearity, and scattering. Based on the geometric features, an initial point cloud cluster with linearity higher than the second threshold and scattering lower than the third threshold is classified as a power line point cloud cluster using a rule-based classifier. Initial point cloud clusters with vertical distribution values above the fourth threshold in the dimensional features are classified as candidate tower point cloud clusters.
[0010] Preferably, as one possible implementation, generating an unobstructed flight path for the UAV for each of the said overlapping areas includes: Based on the spatial coordinates of the power line point cloud cluster, a three-dimensional spatial equation for the power line below the crossing region and the crossing line above the crossing region is fitted. A safe flight space is calculated between the lower power line and the upper crossing line. The boundary of the safe flight space is defined by the highest point of the lower power line plus a first safety margin and the lowest point of the upper crossing line minus a second safety margin. Within the safe flight space, a smooth three-dimensional flight path is generated from the current tower to the next tower using a cubic B-spline curve algorithm.
[0011] Preferably, as one possible implementation, controlling the UAV to fly along the unobstructed flight path across the intersecting area includes: The smooth three-dimensional flight path is discretized into a series of path points with a time sequence, and the expected position, expected velocity and expected acceleration of the UAV at each path point are calculated. The desired position, desired velocity, and desired acceleration are input into the UAV's model prediction controller; The model predictive controller calculates the optimal control quantity at a first frequency and outputs it to the actuator of the UAV to drive the UAV to track the path point.
[0012] Preferably, as one possible implementation; after classifying the initial point cloud clusters with linearity higher than the second threshold and scattering lower than the third threshold as power line point cloud clusters, the method further includes a step of model fitting for the power line point cloud clusters: For each power line point cloud cluster identified, the principal component analysis algorithm is used to calculate the principal direction vector of its point cloud. The electric field point cloud cluster is projected onto a two-dimensional plane perpendicular to its principal direction vector; A straight line is fitted in the two-dimensional plane based on the random sample consensus algorithm. Its mathematical model is: Ax + By + C = 0; where (A, B, C) are the parameters of the fitted straight line, and (x, y) are the coordinates of the points on the projection plane. The fitted straight line is mapped back to three-dimensional space to obtain a three-dimensional straight line model of the power line segment.
[0013] Preferably, as one possible implementation, the specific steps of generating a smooth three-dimensional flight path using the cubic B-spline curve algorithm include: Within the safe flight space, a path is set with a starting point P0, an ending point P4, and three control points P1, P2, and P3. Based on the starting point, ending point, and control points, a parameterized cubic B-spline curve is defined, and its mathematical expression is: ; in, The parameters are normalized and ∈ [0, 1], The corresponding parameter on the curve point, It is a control point. It is a cubic B-spline basis function, defined by the following recursive formula: = ; ; in, This refers to the 0th-order B-spline basis function; Let T be the k-th degree B-spline basis function; k is the degree of the basis function, here k=3, and T=[t0,t1,…,t8] is the node vector t. i The set has 9 nodes in total; With path smoothness and distance to obstacles as optimization objectives, an optimization objective function F(P1, P2, P3) is constructed for the coordinates of control points P1, P2, and P3: ; in, The second derivative of the path is used to measure curvature; It is the shortest distance from the path to the j-th obstacle; These are the weighting coefficients. Scale factor; The optimal solution of the objective function F is obtained by using gradient descent or sequential quadratic programming algorithm to obtain the coordinates of the control points that make the path smoothest and safest. Based on the optimized control point coordinates, the final cubic B-spline curve is calculated as the unobstructed flight path.
[0014] Preferably, as one possible implementation, the UAV crossing control method based on point cloud recognition further includes: when the deviation between the actual position of the UAV and the global path exceeds a preset replanning threshold, automatically triggering the re-execution of the steps of obtaining the prior path point set and static map to perform heading solution and path publishing processing, and generating a new global path.
[0015] Preferably, as one possible implementation, the static map is a laser SLAM raster map or a vector map.
[0016] This invention provides a UAV crossing control system based on point cloud recognition, characterized in that the system includes a data acquisition module, a separation processing module, an extraction processing module, a determination processing module, a path generation processing module, and a control processing module. The acquisition module is used to acquire raw 3D point cloud data of the inspection area using an airborne lidar. The separation processing module is used to preprocess the original three-dimensional point cloud data and separate the non-ground point cloud data; The extraction and processing module is used to identify and extract tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data; The processing module is used to determine one or more overlapping areas based on the spatial distribution of the tower point cloud clusters; The path generation and processing module is used to generate an unobstructed flight path for the UAV for each of the crossing areas; The control processing module is used to control the UAV to fly across the crossing area along the unobstructed flight path.
[0017] The present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the aforementioned UAV crossing control method based on point cloud recognition.
[0018] The present invention provides an electronic device, including a processor and a memory, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps of the aforementioned UAV crossing control method based on point cloud recognition.
[0019] Compared with the prior art, the present invention has the following beneficial effects: This invention provides a UAV crossing control method based on point cloud recognition, which can significantly improve path reliability. Specifically, the method integrates two techniques: prior path and map correction. It makes full use of the experience of prior path and the structural constraints of map, effectively solving the problem of existing technologies that heavily rely on map accuracy. Through map point supplementation and correction mechanisms, it can automatically correct deviations and omissions in prior path, ensuring that the generated path is always within the actual passable area, thus greatly improving path safety.
[0020] This invention provides a UAV crossing control method based on point cloud recognition. It uses piecewise cubic Hermite interpolation to generate a global path, ensuring the continuity of the first derivative of the curve at all feature points and achieving G1 continuity. Compared with the polyline or grid sequence paths generated by existing technologies, the path generated by this invention is a smooth curve containing continuously changing heading angle information, which is more convenient for the UAV motion controller to track and execute, and significantly improves the stability of the UAV's flight process.
[0021] This invention provides a method for controlling UAVs crossing lines based on point cloud recognition. By combining feature point extraction with direction change filtering and distance filtering, it can adapt to environmental paths of various complexities. Whether it is a curved channel or a long straight corridor, this invention can accurately extract key feature points and generate a high-quality smooth path by combining map information. This method can be widely used in service UAVs, industrial handling, autonomous driving and other fields, and has strong practicality. Attached Figure Description
[0022] Figure 1This is a schematic diagram of the overall process of the UAV crossing control method based on point cloud recognition proposed in this invention; Figure 2 This is a schematic diagram illustrating the specific process steps of the UAV crossing control method based on point cloud recognition proposed in this invention to separate non-ground point cloud data. Figure 3 This is a schematic diagram illustrating the specific process steps for extracting tower point cloud clusters and power line point cloud clusters in the UAV crossing control method based on point cloud recognition proposed in this invention. Figure 4 This is a schematic diagram illustrating the architecture principle of the UAV crossing control system based on point cloud recognition proposed in this invention.
[0023] Labels: Acquisition module 10, Separation processing module 20, Extraction processing module 30, Determination processing module 40, Path generation processing module 50, Control processing module 60. Detailed Implementation
[0024] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings.
[0026] Example 1 The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0027] This embodiment is implemented in a scenario where a standard 110kV high-voltage transmission line crosses a 10kV distribution line. The drone platform is a DJI Matrice 300 RTK, and the equipped LiDAR is a PandarXT-32 from Hesai Technology.
[0028] Step 1: Data Acquisition and Preprocessing (corresponding to steps S1 and S2); After takeoff, the UAV flies along the direction of the power transmission line, and the onboard LiDAR scans at a frequency of 10Hz to acquire dense raw 3D point cloud data. The data is processed by the onboard computing unit (NVIDIA Jetson AGX Xavier).
[0029] First, a slope filtering algorithm is used, with the grid size set to 1m×1m and the slope threshold set to 30°, to quickly filter out most obvious ground points.
[0030] Then, the Cloth Simulation Filter (CSF) algorithm was applied for fine processing, with the "cloth" rigidity set to 0.5, the grid resolution to 0.5m, and the number of iterations to 500. This algorithm successfully separated ground points (such as hills and grasslands) from non-ground points (towers, power lines, and trees) with high precision, and the generated non-ground point cloud was stored for subsequent identification.
[0031] Step 2: Tower and Power Line Identification (corresponding to step S3); Euclidean clustering is performed on the non-ground point cloud, with a distance threshold of 0.5m, dividing the point cloud into multiple independent object clusters. The geometric features of each cluster are calculated. For one elongated cluster, its linearity is calculated to be 0.92 and its scattering is 0.08. Since its linearity is higher than the set threshold of 0.85 and its scattering is lower than the threshold of 0.15, this cluster is classified as a power line point cloud cluster. For this power line cluster, principal component analysis (PCA) is performed to obtain its principal direction vector (0.12, 0.99, -0.08).
[0032] All points within the cluster are projected onto a plane perpendicular to the main direction. Within this projection plane, a straight line is fitted using the RANSAC algorithm, yielding straight line parameters (A, B, C) of (0.71, -0.70, 12.35), thus establishing a three-dimensional spatial straight line model of this power line segment. For another vertically extending point cloud cluster, its height difference along the Z-axis is 28.5 meters, far exceeding the threshold of 5 meters, and its point cloud distribution in the XY plane converges with the endpoints of the power line model; therefore, it is classified as a tower point cloud cluster. By repeating this process multiple times, towers T1 and T2 on both sides of the crossing area are identified.
[0033] Step 3: Crossing Area Analysis and Safe Path Generation (corresponding to steps S4 and S5); Based on the identified tower T1 and T2 positions and the power line model, it is determined that the 110kV line above and the 10kV line below cross each other near the coordinates (X=125.3, Y= -43.7).
[0034] The highest point of the 110kV line below is calculated to be 103.5 meters, and the lowest point of the 10kV line above is calculated to be 108.2 meters. A safety margin of 2 meters is set for both, thus determining the upper and lower boundaries of the safe flight space to be 105.5 meters (103.5+2) and 106.2 meters (108.2-2), respectively.
[0035] The path starts at a point near tower T1 at a height of 106 meters and ends at a point near tower T2 at a height of 106 meters. Three initial control points, P1, P2, and P3, are preset between these two points.
[0036] Construct an objective function F with control point coordinates as the optimization variable. Set the smoothness weight w1=0.7, the safety weight w2=0.3, and the scale factor σ=0.5. Obstacle distance d j This represents the shortest Euclidean distance from the path point to the two power line models.
[0037] The objective function F was optimized using the Sequential Quadratic Programming (SQP) algorithm. After 15 iterations, the optimal control point coordinates were obtained: P1(130.1, -40.2, 106.0), P2(135.5, -41.8, 105.8), P3(142.6, -45.1, 106.1). Substituting the optimized control points into the cubic B-spline curve formula, with the node vectors set to uniform node vectors [0, 0, 0, 0, 0.5, 1, 1, 1, 1], a smooth three-dimensional flight path was calculated and generated, ensuring it remained absolutely within the safe space.
[0038] Step 4: UAV Flight Control (corresponding to step S6): Discretize the generated cubic B-spline path at 100ms intervals to obtain a series of path points. Calculate the desired velocity (e.g., 0.5 m / s) and desired acceleration of the UAV at each path point using the first and second derivatives of the B-spline curve.
[0039] These desired values (position, velocity, acceleration) are input into the Model Predictive Controller (MPC) built into the UAV flight control system. The MPC has a control cycle of 50ms. In each control cycle, the MPC calculates the optimal throttle and control surface control values based on the current UAV state and the desired state for the next few steps.
[0040] The actuator drives the drone according to this control quantity, enabling it to accurately and smoothly follow the planned path and ultimately fly safely and stably across the crossing area.
[0041] See Figure 1 The following describes the specific operation flow of the UAV crossing control method based on point cloud recognition provided in Embodiment 1 of the present invention, which includes the following specific steps: S1: Collect raw 3D point cloud data of the inspection area using airborne lidar; S2: Preprocess the raw 3D point cloud data to separate non-ground point cloud data; S3: Identify and extract pole point cloud clusters and power line point cloud clusters from the non-ground point cloud data; S4: Determine one or more overlapping areas based on the spatial distribution of the pole point cloud clusters; S5: For each of the crossing areas, generate an unobstructed flight path for the UAV; S6: Control the UAV to fly over the crossing area along the unobstructed flight path.
[0042] Analysis of the above technical solution reveals that the UAV crossing control method based on point cloud recognition, in its specific execution, firstly collects raw 3D point cloud data of the inspection area using an airborne lidar; then, it preprocesses the raw 3D point cloud data to separate non-ground point cloud data; from the non-ground point cloud data, it identifies and extracts pole and power line point cloud clusters; based on the spatial distribution of the pole and power line point cloud clusters, it determines one or more crossing areas; for each crossing area, it generates an unobstructed flight path for the UAV; finally, it controls the UAV to fly across the crossing area along the unobstructed flight path. This method, from point cloud data acquisition, preprocessing, and target recognition to crossing area determination and path generation, ultimately achieves tracking control. Traditional manual operation or simple GPS navigation cannot solve the problem of safe crossing in complex 3D space (high-voltage lines above, low-voltage lines below, or other lines). This solution uses lidar to actively perceive the environment, accurately reconstruct the three-dimensional spatial relationship between power lines and towers, automatically plan an unobstructed path, and drive drones to follow precisely, thereby minimizing human intervention. It directly solves the core pain points of easy collisions and difficulty in judgment when flying across cross-area areas, and significantly improves the autonomy and safety of inspection operations.
[0043] The above solution constructs a closed loop of perception, decision-making, and control operations. It accurately reconstructs the three-dimensional environment through lidar, automatically plans and tracks safe paths, fundamentally solving the pain points of manual operation in complex crossing areas where obstacle crossing is difficult and risky. It realizes fully autonomous, highly safe, and refined inspection of UAVs.
[0044] See Figure 2 Preferably, the preprocessing of the original 3D point cloud data in step S2 to separate the non-ground point cloud data includes: S21: The original 3D point cloud data is initially processed using a grid ground filtering algorithm based on slope variation to remove significant ground points; S22: For the point cloud after the initial processing, use the cloth simulation filtering algorithm to perform fine filtering and divide the point cloud into ground points and non-ground points; S23: Store the non-ground point cloud data into the first point cloud set for subsequent processing.
[0045] The large number of ground points in the original point cloud can severely interfere with subsequent clustering and target recognition, increasing computational burden and easily leading to misjudgments. This scheme employs a slope-variable-based grid filter for coarse processing, which can quickly remove most ground points from flat or gently sloping terrain. Subsequently, a cloth-simulation filter is used for fine processing, which can effectively handle the fine separation of complex terrains (such as steep slopes and vegetated areas). This cascaded filtering strategy from coarse to fine balances processing efficiency and accuracy, ensuring that the non-ground point cloud contains as little ground noise as possible. This provides high-quality input data for the subsequent accurate extraction of poles and power lines from non-ground points, avoiding misjudgments of the pole base structure or errors in power line extraction caused by ground point attachment.
[0046] In short, the above steps first use slope variation grid filtering to quickly eliminate a large number of flat terrain points, and then use cloth simulation filtering to finely process complex terrain residues. This coarse-to-fine cascade strategy efficiently removes ground interference, providing a clean and high-quality data foundation for the subsequent accurate separation of towers and power lines.
[0047] See Figure 3 Preferably, step S3, which involves identifying and extracting tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data, includes: S31: Perform Euclidean clustering analysis on the first point cloud cluster and group points whose spatial distance is less than the first threshold into the same initial point cloud cluster. S32: Calculate the geometric features of each of the initial point cloud clusters, including dimensionality, linearity, and scattering. S33: Based on the geometric features, an initial point cloud cluster with linearity higher than the second threshold and scattering lower than the third threshold is classified as a power line point cloud cluster using a rule-based classifier. S34: Classify the initial point cloud clusters whose vertical distribution in the dimensional features is higher than the fourth threshold as candidate tower point cloud clusters.
[0048] The aforementioned technical solution introduces dimensional features, linearity, and scattering as distinguishing criteria. Since power lines are elongated, a linearity exceeding a threshold and a scattering below a threshold can accurately locate them. Similarly, towers exhibit significant vertical extension, so a vertical distribution exceeding a threshold can effectively identify them. This rule-based classifier method utilizes the inherent geometric properties of point clouds, without relying on color or intensity information, and demonstrates good robustness to different LiDAR models and ambient lighting conditions.
[0049] Preferably, in step S5, generating an unobstructed flight path for the UAV for each of the intersecting areas includes: S51: Based on the spatial coordinates of the power line point cloud cluster, fit the three-dimensional spatial equation of the power line below the crossing area and the crossing line above the crossing area; S52: Calculate a safe flight space between the lower power line and the upper crossing line, the boundary of the safe flight space being defined by the highest point of the lower power line plus a first safety margin and the lowest point of the upper crossing line minus a second safety margin; S53: Within the safe flight space, a smooth three-dimensional flight path from the current tower to the next tower is generated using a cubic B-spline curve algorithm.
[0050] The core challenge of flying across cross-regional areas is the confined space and strict constraints. The steps described above parameterize the environmental model by fitting the three-dimensional spatial equations of the upper and lower power lines. Next, a safe flight space is defined, bounded by the highest point plus margin of the lower line and the lowest point minus margin of the upper line. This space geometrically provides absolute protection for the UAV; as long as the flight path remains within the boundary, it will not collide with the power lines. Based on this, a cubic B-spline curve is used to generate the path, ensuring that the trajectory has continuous second derivatives (curvature continuity), resulting in a smooth flight attitude.
[0051] Preferably, step S6, controlling the drone to fly across the intersecting area along the unobstructed flight path, includes: S61: Discretize the smooth three-dimensional flight path into a series of path points with a time sequence, and calculate the expected position, expected velocity and expected acceleration of the UAV at each path point; S62: Input the desired position, desired velocity, and desired acceleration into the UAV's model prediction controller; S63: The model predictive controller calculates the optimal control quantity at a first frequency and outputs it to the actuator of the UAV to drive the UAV to track the path point.
[0052] It should be noted that the above technical solution discretizes the path into a sequence of timestamped points (desired position / velocity / acceleration), forming a complete spatiotemporal trajectory. Specifically, a Model Predictive Controller (MPC) is used as the tracking algorithm: in each control cycle, it calculates the optimal control input for a future time domain using a predictive model, handling the UAV's dynamic constraints (such as maximum speed and acceleration) and predictive information about the future trajectory. This provides smoother control input and smaller tracking errors compared to traditional single-point tracking algorithms such as PID, especially when navigating narrow gaps. MPC can detect curves in advance and smoothly adjust attitude, avoiding overshoot or control delays that could cause the UAV to run out of the safe space, thus ensuring high-dynamic and precise obstacle crossing.
[0053] Preferably, after classifying the initial point cloud clusters with linearity higher than the second threshold and scattering lower than the third threshold into electric field line point cloud clusters in step S33, the method further includes a step of model fitting for the electric field line point cloud clusters: S33a: For each power line point cloud cluster identified, the principal component analysis algorithm is used to calculate the principal direction vector of its point cloud. S33b: Project the electric field point cloud cluster onto a two-dimensional plane perpendicular to its principal direction vector; S3.3c: Fit a straight line in the two-dimensional plane based on the random sampling consensus algorithm. Its mathematical model is: Ax + By + C = 0; where (A, B, C) are the parameters of the fitted straight line, and (x, y) are the coordinates of the points on the projection plane. S33d: The fitted straight line is mapped back to three-dimensional space to obtain a three-dimensional straight line model of the electric line segment.
[0054] Analysis of the above technical solutions reveals that: First, the three-dimensional problem is reduced in dimension. The projection operation simplifies the fitting calculation, and the projection perpendicular to the principal direction maximizes the representation of the horizontal discrete distribution of the wires. Then, the RANSAC (Random Sample Consensus) algorithm is used to fit the straight line on the two-dimensional plane, effectively filtering out outlier noise points (such as interference from insulators or tree branches) and obtaining more accurate (A, B, C) straight line parameters. These processing operations ultimately condense the discrete point cloud into a precise, noise-resistant three-dimensional straight line model, providing accurate basic data for subsequent calculations of the line equations and the definition of the safety space.
[0055] Preferably, the specific steps in step S53 of generating a smooth three-dimensional flight path using the cubic B-spline curve algorithm include: S53a: Set the starting point P0, the ending point P4, and three control points P1, P2, and P3 of the path within the safe flight space. S53b: Based on the starting point, ending point, and control points, define a parameterized cubic B-spline curve, the mathematical expression of which is: ; in, The parameters are normalized and ∈[0,1], The corresponding parameter on the curve point, It is a control point. It is a cubic B-spline basis function, defined by the following recursive formula: = ; ; in, This refers to the 0th-order B-spline basis function; Here, k represents the k-th degree B-spline basis function; k is the degree of the basis function, where k=3. T=[t0,t1,…,t8] is the node vector, with a total of 9 nodes. S53c: Using path smoothness and distance to obstacles as optimization objectives, construct the optimization objective function F(P1, P2, P3) for the coordinates of control points P1, P2, and P3: ; in, The second derivative of the path is used to measure curvature; It is the shortest distance from the path to the j-th obstacle; These are the weighting coefficients. Scale factor; S53d: Use gradient descent or sequential quadratic programming to find the optimal solution of the objective function F, and obtain the coordinates of the control points that make the path smoothest and safest. S53e: Based on the optimized control point coordinates, calculate the final cubic B-spline curve as the unobstructed flight path.
[0056] Research has found that generating only one B-spline curve within a safe space is insufficient; it is necessary to find the smoothest curve that is furthest from all obstacles. The aforementioned steps S53a-S53e construct a multi-objective optimization function F, which includes two metrics: the second derivative of the path (smoothness / curvature penalty term) and the distance to the nearest obstacle (safety reward term), with weighting coefficients balancing their importance. Solving this function using gradient descent or sequential quadratic programming allows iterative adjustment of the positions of control points P1, P2, and P3, ultimately finding the globally optimal solution for this objective. This optimization method is more intelligent and safer than directly specifying a few control points or simply generating a curve, automatically finding the optimal compromise path in confined spaces to maximize flight safety.
[0057] Preferably, as one possible implementation, the static map is a laser SLAM raster map or a vector map.
[0058] Preferably, as one possible implementation, the UAV crossing control method based on point cloud recognition further includes: when the deviation between the actual position of the UAV and the global path exceeds a preset replanning threshold, automatically triggering the re-execution of the steps of obtaining the prior path point set and static map to perform heading solution and path publishing processing, and generating a new global path.
[0059] Research has found that actual drone flights may deviate from the original path due to wind disturbances, load changes, control errors, etc. This technical solution sets a replanning threshold; when the deviation exceeds the limit, it automatically triggers a full-process reprocessing operation, from obtaining prior path points to solving the heading and publishing the new path. This operation prevents the drone from adhering to an incorrect path, leading to collisions or mission failures, and enables the system to autonomously recover from uncertain deviations, extending the robustness of the entire solution from the static to the dynamic execution level.
[0060] This invention provides a UAV crossing control method based on point cloud recognition. It acquires high-precision 3D point cloud data of the inspection area using an airborne lidar, and employs a two-stage filtering strategy combining slope-varying grid ground filtering and cloth-simulated filtering for point cloud preprocessing, effectively separating non-ground point cloud data. This method utilizes the principle of lidar actively emitting laser beams for distance measurement, is independent of ambient lighting conditions, and maintains stable perception performance even in complex weather conditions such as fog and backlight. Compared to existing obstacle avoidance schemes based on visible light or infrared sensors, this method significantly improves perception reliability in complex power corridor environments, providing the UAV with an accurate 3D environmental information foundation.
[0061] Meanwhile, this invention provides a UAV crossing control method based on point cloud recognition. It uses a rule-based geometric feature classifier to identify point cloud clusters of towers and power lines, and fits a three-dimensional spatial straight line model of the power line point cloud through principal component analysis, projection transformation, and random sampling consistency algorithm. This method utilizes the physical characteristics of towers being vertical columnar structures and power lines being slender and linearly distributed. It performs joint discrimination through multi-dimensional geometric features such as dimensionality, linearity, and scattering. Even in complex natural environments such as those with interference from nearby vegetation, it can maintain high recognition accuracy and robustness, effectively reducing false detection rate and false negative rate, and improving the practicality of point cloud recognition technology in actual inspection scenarios.
[0062] Example 2 See Figure 4 Embodiment 2 of the present invention provides a UAV crossing control system based on point cloud recognition, which performs the following processing according to the UAV crossing control method based on point cloud recognition in Embodiment 1; the system includes a data acquisition module 10, a separation processing module 20, an extraction processing module 30, a determination processing module 40, a path generation processing module 50, and a control processing module 60: The acquisition module is used to acquire raw 3D point cloud data of the inspection area using an airborne lidar. The separation processing module is used to preprocess the original three-dimensional point cloud data and separate the non-ground point cloud data; The extraction and processing module is used to identify and extract tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data; The processing module is used to determine one or more overlapping areas based on the spatial distribution of the tower point cloud clusters; The path generation and processing module is used to generate an unobstructed flight path for the UAV for each of the crossing areas; The control processing module is used to control the UAV to fly across the crossing area along the unobstructed flight path.
[0063] Example 3 The present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the UAV crossing control method based on point cloud recognition provided in Embodiment 1.
[0064] Example 4 The present invention provides an electronic device, including a processor and a memory, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps of the UAV crossing control method based on point cloud recognition provided in Embodiment 1 above.
[0065] In summary, the UAV crossing control method based on point cloud recognition provided in this embodiment of the invention includes the following steps: collecting point cloud data obtained by UAV inspection; performing voxelization processing on the point cloud data to achieve spatial segmentation, obtaining a point cloud feature set represented by a voxel grid; extracting local geometric features using the PointNet algorithm based on the point cloud feature set represented by the voxel grid, and determining the feature vector group corresponding to the diversity of tower structures; if there is a subset with significant morphological differences in the feature vector group, performing type classification on the subset through cluster analysis to obtain classified tower type labels; obtaining the classified tower type labels, and processing the point cloud boundary using a dynamic threshold adjustment method for each label to determine the electrical... The intersection area of power lines and towers is identified. Based on this intersection area, the RandLA-Net algorithm is used for semantic segmentation to obtain refined tower and power line segmentation results. The segmentation results are matched with a preset confidence model to determine the calculated confidence value. If the calculated confidence value is lower than a threshold, iterative optimization is used to correct the segmentation results, obtaining an improved confidence index. Based on the improved confidence index, inspection report data is generated, the priority sequence of maintenance decisions is determined, multiple power line patrol flight path points are determined based on the identified power lines, tower bypass flight path points are determined based on the towers, line-biting flight is achieved based on the power line patrol flight path points, and tower bypass flight is controlled by the UAV to fly over towers based on the tower bypass flight path points.
[0066] The aforementioned method for point cloud segmentation and inspection of power poles and power lines during UAV power line simulation aims to address the problems of insufficient point cloud data processing accuracy and difficulty in effectively distinguishing between power poles and power lines in existing UAV inspections. By employing the above technical solution, this invention enables automatic identification and segmentation of power poles and power lines, improving the processing accuracy and efficiency of inspection data, and providing effective technical support for UAV power line inspections.
[0067] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0068] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0069] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for controlling unmanned aerial vehicles (UAVs) crossing lines based on point cloud recognition, characterized in that, Includes the following steps: The original three-dimensional point cloud data of the inspection area is collected by airborne lidar; the original three-dimensional point cloud data is preprocessed to separate the non-ground point cloud data. Identify and extract tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data; Based on the spatial distribution of the tower point cloud clusters, one or more overlapping areas are determined; For each of the aforementioned crossing areas, an unobstructed flight path for the UAV is generated, including: fitting a three-dimensional spatial equation of the power line below the crossing area and the crossing line above the crossing area based on the spatial coordinates of the power line point cloud cluster; calculating a safe flight space between the lower power line and the upper crossing line, the boundary of which is defined by the highest point of the lower power line plus a first safety margin and the lowest point of the upper crossing line minus a second safety margin; and generating a smooth three-dimensional flight path from the current tower to the next tower within the safe flight space using a cubic B-spline curve algorithm. Controlling the UAV to fly across the crossing area along the unobstructed flight path specifically includes discretizing the smooth three-dimensional flight path into a series of path points with a time sequence, and calculating the expected position, expected velocity, and expected acceleration of the UAV at each path point; inputting the expected position, expected velocity, and expected acceleration into the UAV's model predictive controller; the model predictive controller solving for the optimal control quantity at a first frequency and outputting it to the UAV's actuators to drive the UAV to track the path points; The specific steps for generating a smooth three-dimensional flight path using the cubic B-spline curve algorithm include: Within the safe flight space, a path is set with a starting point P0, an ending point P4, and three control points P1, P2, and P3. Based on the starting point, ending point, and control points, a parameterized cubic B-spline curve is defined, and its mathematical expression is: ; in, The parameters are normalized and ∈ [0,1], The corresponding parameter on the curve point, It is a control point. It is a cubic B-spline basis function, defined by the following recursive formula: = ; ; in, This refers to the 0th-order B-spline basis function; Let T be the k-th degree B-spline basis function; k is the degree of the basis function, here k=3, and T= [t0,t1,…,t8] is the node vector t. i The set has 9 nodes in total; With path smoothness and distance to obstacles as optimization objectives, an optimization objective function F(P1, P2, P3) is constructed for the coordinates of control points P1, P2, and P3: ; in, The second derivative of the path is used to measure curvature; It is the shortest distance from the path to the j-th obstacle; These are the weighting coefficients. Scale factor; The optimal solution of the objective function F is obtained by using gradient descent or sequential quadratic programming algorithm to obtain the coordinates of the control points that make the path smoothest and safest. Based on the optimized control point coordinates, the final cubic B-spline curve is calculated as the unobstructed flight path.
2. The method according to claim 1, characterized in that, The preprocessing of the original 3D point cloud data to separate non-ground point cloud data includes: The original 3D point cloud data is initially processed using a grid ground filtering algorithm based on slope variation to remove significant ground points; After the initial processing, the point cloud is finely filtered using a cloth simulation filtering algorithm to divide the point cloud into ground points and non-ground points. The non-ground point cloud data is stored in the first point cloud set for subsequent processing.
3. The method according to claim 2, characterized in that, The identification and extraction of tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data includes: Perform Euclidean clustering analysis on the first point cloud cluster, and group points whose spatial distance is less than the first threshold into the same initial point cloud cluster. Calculate the geometric features of each of the initial point cloud clusters, including dimensionality, linearity, and scattering. Based on the geometric features, an initial point cloud cluster with linearity higher than the second threshold and scattering lower than the third threshold is classified as a power line point cloud cluster using a rule-based classifier. Initial point cloud clusters with vertical distribution values above the fourth threshold in the dimensional features are classified as candidate tower point cloud clusters.
4. The method according to claim 1, characterized in that, After classifying the initial point cloud clusters with linearity higher than the second threshold and scattering lower than the third threshold as electric field line point cloud clusters, the process also includes a model fitting step for the electric field line point cloud clusters: For each power line point cloud cluster identified, the principal component analysis algorithm is used to calculate the principal direction vector of its point cloud. The electric field point cloud cluster is projected onto a two-dimensional plane perpendicular to its principal direction vector; S3.3c: A straight line is fitted in the two-dimensional plane based on the random sample consensus algorithm, and its mathematical model is: Ax + By + C = 0; where (A,B, C) are the parameters of the fitted straight line, and (x, y) are the coordinates of the points on the projection plane; The fitted straight line is mapped back to three-dimensional space to obtain a three-dimensional straight line model of the power line segment.
5. The method according to any one of claims 1 to 4, characterized in that, Also includes: When the deviation between the actual position of the UAV and the global path exceeds the preset replanning threshold, the process of obtaining the prior path point set and static map is automatically triggered to perform the heading solution and path publishing processing steps again, and a new global path is generated.
6. The method according to claim 5, characterized in that, The static map is a laser SLAM raster map or a vector map.
7. A UAV crossing control system based on point cloud recognition, characterized in that, The system includes an acquisition module, a separation processing module, an extraction processing module, a determination processing module, a path generation processing module, and a control processing module. The acquisition module is used to acquire raw 3D point cloud data of the inspection area using an airborne lidar. The separation processing module is used to preprocess the original three-dimensional point cloud data and separate the non-ground point cloud data; The extraction and processing module is used to identify and extract tower point cloud clusters and power line point cloud clusters from the non-ground point cloud data; The processing module is used to determine one or more overlapping areas based on the spatial distribution of the tower point cloud clusters; The path generation processing module is used to generate an unobstructed flight path for the UAV for each of the crossing areas; and to fit a three-dimensional spatial equation of the power line below the crossing area and the crossing line above the crossing area based on the spatial coordinates of the power line point cloud cluster. A safe flight space is calculated between the lower power line and the upper crossing line. The boundary of the safe flight space is defined by the highest point of the lower power line plus a first safety margin and the lowest point of the upper crossing line minus a second safety margin. Within the safe flight space, a smooth three-dimensional flight path from the current tower to the next tower is generated using a cubic B-spline curve algorithm. This smooth three-dimensional flight path is discretized into a series of path points with a time sequence, and the desired position, desired velocity, and desired acceleration of the UAV at each path point are calculated. These desired position, velocity, and acceleration are input into the UAV's model predictive controller. The model predictive controller calculates the optimal control quantity at a first frequency and outputs it to the UAV's actuators to drive the UAV to track the path points. Within the safe flight space, a starting point P0, an ending point P4, and three control points P1, P2, and P3 are set for the path. Based on the starting point, ending point, and control points, a parameterized cubic B-spline curve is defined, with the following mathematical expression: ;in, The parameters are normalized and ∈ [0,1], The corresponding parameter on the curve point, It is a control point. It is a cubic B-spline basis function, defined by the following recursive formula: = ; ;in, This refers to the 0th-order B-spline basis function; Let T be the k-th degree B-spline basis function; k is the degree of the basis function, here k=3, and T= [t0,t1,…,t8] is the node vector t. i The set consists of 9 nodes; with path smoothness and distance to obstacles as optimization objectives, an optimization objective function F(P1, P2, P3) is constructed for the coordinates of control points P1, P2, and P3: ;in, The second derivative of the path is used to measure curvature; It is the shortest distance from the path to the j-th obstacle; These are the weighting coefficients. The scaling factor is used; the optimal solution of the objective function F is obtained using gradient descent or sequential quadratic programming algorithm to obtain the coordinates of the control points that make the path smoothest and safest; based on the optimized control point coordinates, the final cubic B-spline curve is calculated as the unobstructed flight path. The control processing module is used to control the UAV to fly across the crossing area along the unobstructed flight path.
Citation Information
Patent Citations
Multiple-divided-conductor automatic extraction and fine modeling method based on LiDAR point clouds
CN106709946A
Three-dimensional point cloud recognition-based cross-crossing and cross-line control method and system for unmanned aerial vehicle
CN120428747A
Gradient-based unmanned aerial vehicle path planning method and system
CN121028818A
