Method for optimizing flight path of unmanned aerial vehicle

By building a calculation method for the minimum safe distance of the UAV flight and a collision warning system, dynamically adjusting the flight path, solving the collision risk problems caused by flight changes that have not been considered in the existing technology, and improving the flight safety performance and operation of the UAV efficiency.

CN119200652AActive Publication Date: 2024-12-27SHENZHEN URBAN TRANSPORT PLANNING CENT CO LTD

Patent Information

Application Number
CN202411708598.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2024-12-27
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

The existing drone flight path optimization methods fail to fully consider changes that may be encountered in actual flight, such as design deviations, sudden weather changes, unforeseen obstacles and GPS signal deviations, resulting in increased collision risk, operation Increased costs and increased task failure rates.

Method used

By collecting peripheral object information, environmental factors and drone information data during the operation of the drone, a calculation method for the minimum safe distance of the drone flight and a collision warning system are built, and the minimum safe distance is predicted using deep learning models, and dynamically adjust the minimum safe distance. Fly paths to maintain safe distances.

Benefits of technology

It effectively reduces the risk of drones colliding with surrounding objects, improves flight safety performance, reduces operational costs, and improves mission success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200652A_ABST
    Figure CN119200652A_ABST
Patent Text Reader

Abstract

The invention discloses an unmanned aerial vehicle flight path optimization method, and belongs to the technical field of unmanned aerial vehicle flight path planning. In order to improve the flight safety performance of the unmanned aerial vehicle, surrounding object information data, environmental factor data and unmanned aerial vehicle information data in the operation process of the unmanned aerial vehicle are collected; dividing the standardized data into three groups of factor data sets; constructing an unmanned aerial vehicle flight minimum safe distance calculation method, and calculating unmanned aerial vehicle minimum safe flight distances at different time points; constructing an unmanned aerial vehicle flight minimum safety distance prediction model, calculating unmanned aerial vehicle flight minimum safety distances under different single environment factors, and calculating unmanned aerial vehicle flight comprehensive minimum safety prediction distance; constructing a collision early warning method based on the comprehensive minimum safety prediction distance of the flight of the unmanned aerial vehicle, and performing early warning on the condition that the distance between the unmanned aerial vehicle and the surrounding object does not exceed the comprehensive minimum safety prediction distance; and carrying out design optimization on the flight path of the unmanned aerial vehicle. The flight path of the unmanned aerial vehicle is dynamically adjusted to keep a safe distance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of unmanned aerial vehicle flight path planning, and in particular relates to a method for optimizing the flight path of an unmanned aerial vehicle. Background Art

[0002] When a drone executes a predetermined flight path, even if the path is designed accurately, it is difficult to fully predict all obstacles and changes encountered in actual flight. This includes design deviations, objects that suddenly appear, etc. As a result, drones that lack flight path optimization and adjustment methods face multiple risks and potential problems. First, the risk of collision increases significantly, and drones may collide with objects at design deviation locations, protruding buildings, and natural obstacles (such as trees and mountains). These collisions may not only cause damage to the drone, but also damage valuable cargo or sensitive equipment carried by the drone, and even cause third-party property losses or personal injuries. Secondly, operating costs will rise due to frequent repairs and replacement of parts, and the insurance cost of drones may also rise due to increased flight risks. In addition to direct financial losses, the lack of effective flight path optimization will also lead to an increase in the failure rate of drone missions, affecting service quality and customer satisfaction. In the long run, this will affect the market competitiveness and brand reputation of operators, and limit the application and development of drone technology in a wider range of fields.

[0003] The invention patent with application number 202111131532.5 and invention name “A method for optimizing the control path of a drone” proposes a method for optimizing the control path of a drone. The method first obtains the path nodes that the drone needs to pass through according to the actual flight mission, and performs real number encoding on the path formed by these nodes to generate a random path. Then, the fitness value of the path is calculated, and the optimal path is selected using a genetic algorithm.

[0004] The invention patent with application number 202111300583.6 and invention name "A delivery drone, a delivery drone early warning method and device" proposes a drone inspection path optimization method, which obtains the longitude and latitude data of the monitoring points on the inspection track through a high-precision map, and uses the ant colony algorithm to solve the shortest inspection path. Through iterative optimization and adaptive pheromone concentration update mechanism, the path is continuously improved until the maximum number of iterations is reached, thereby determining the optimal inspection path.

[0005] However, existing studies have not fully considered the changes that may be encountered in actual flight, such as design deviations, sudden weather changes, unforeseen obstacles or GPS signal deviations. These unforeseen factors may cause the drone to deviate from the planned path when performing a flight mission, causing the drone to be too close to obstacles or ground objects, thereby increasing the risk of collision. Summary of the invention

[0006] The problem to be solved by the present invention is to improve the flight safety performance of a UAV and propose a method for optimizing the flight path of a UAV.

[0007] To achieve the above object, the present invention is implemented through the following technical solutions: A method for optimizing a UAV flight path comprises the following steps: S1. Collecting information data of surrounding objects, environmental factors, and drone information during the operation of the drone. The surrounding object information data includes object type, object height, and width. The environmental factors data include ambient wind speed, light intensity, and temperature. The drone information data includes drone length, drone width, and drone weight. S2. The data collected in step S1 is standardized, and the standardized data is divided into three groups of factor data sets to obtain a data set for temperature analysis, a data set for light intensity analysis, and a data set for ambient wind speed analysis; S3. Construct a method to calculate the minimum safe flight distance of UAVs, and calculate the minimum safe flight distance of UAVs at different time points; S4. Construct a prediction model for the minimum safe distance of UAV flight based on different single environmental factors, calculate the minimum safe distance of UAV flight under different single environmental factors, and then calculate the comprehensive minimum safe prediction distance of UAV flight; S5. Construct a collision warning method based on the comprehensive minimum safe predicted distance of UAV flight, and issue a warning when the distance between the UAV and surrounding objects does not exceed the comprehensive minimum safe predicted distance; S6. Based on the warning information obtained in step S5, the flight path of the UAV is optimized.

[0008] Furthermore, in step S1, data on the height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight of the object at the same time point are collected, and the selected time point is set as t 1, t 2…, you …, tn ,in, you For the i A point in time, n is the total number of time points.

[0009] Furthermore, in step S2, the standardized data are divided into three groups of factor data sets, to obtain a data set for temperature analysis, a data set for light intensity analysis, and a data set for ambient wind speed analysis; The factors in the data set for temperature analysis include object type, object height, object width, ambient wind speed, light intensity, drone length, drone width, and drone weight; The factors in the data set for analyzing light intensity include object type, object height, object width, ambient wind speed, temperature, drone length, drone width, and drone weight; The factors in the data set for environmental wind speed analysis include object type, object height, object width, light intensity, temperature, drone length, drone width, and drone weight.

[0010] Furthermore, the specific implementation method of step S3 includes the following steps: S3.1. According to i Time point you , the corresponding object type, object height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight data are used to establish a simulated drone flight field. In the simulated drone flight field, the distance between the drone and the object is set to , m Refers to the total number of distances between the drone and the object when it is set to fly. Point to the i Time point you, No. j The distance between the drone and the object when flying; S3.2. The height fluctuation amplitude of the UAV is measured by the airborne inertial measurement unit. The flight distance of the drone from detecting obstacles to responding using the vehicle-mounted GNSS navigation system is The noise generated by the drone is measured using a sound level meter placed in the surrounding environment. ,in, , , Respectively refer to i Time point you, No. j The distance between the drone and the object during flight The measured height fluctuation amplitude, the distance the drone flies from the time an obstacle is detected to the time it reacts, and the noise generated by the drone; S3.3. Based on , , , calculate the comprehensive evaluation index value of UAV safe flight , the calculation formula is: ; in, , , They are , , The corresponding weight value; On this basis, the distance between the drone and the object during flight is calculated. Corresponding comprehensive evaluation index value of UAV safe flight ; S3.4. Use the expert scoring method to set the threshold of comprehensive evaluation indicators for safe flight of drones , compare in turn and The size relationship of All greater than The comprehensive evaluation index value of the safe flight of the UAV is the condition, and then the obstacle corresponding to the minimum value that meets the condition is selected until the UAV flight distance when the reaction is made is the minimum safe flight distance of the UAV, which is recorded as ; S3.5. The calculated time point is t 1, t 2…, you …, tn The corresponding minimum safe flight distance of the UAV is .

[0011] Furthermore, the specific implementation method of step S4 includes the following steps: Furthermore, the specific implementation method of step S4 includes the following steps: S4.1. A deep learning model is used to build a temperature-based prediction model for the minimum safe distance of drone flight. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, ambient wind speed, light intensity, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, light intensity, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the temperature-based drone minimum safe flight distance prediction model for training, and the square of the error between the drone minimum safe flight distance predicted by the temperature-based drone minimum safe flight distance prediction model and the calculated drone minimum safe flight distance is used as the loss function. , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the temperature-based prediction model for the minimum safe flight distance of a UAV; The error back propagation method is used to optimize the parameters of the temperature-based UAV flight minimum safety distance prediction model, and the expression is: : in, are model parameters, is the learning rate, is the loss function with respect to the parameter The gradient of Represents the update of model parameters; After optimization, the temperature-based prediction model for the minimum safe distance of UAV flight is obtained. P 1; S4.2. A deep learning model is used to build a prediction model for the minimum safe distance of drone flight based on light intensity. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, ambient wind speed, temperature, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, temperature, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the drone minimum safe flight distance prediction model based on light intensity for training, and the square of the error between the drone minimum safe flight distance predicted by the drone minimum safe flight distance prediction model based on light intensity and the calculated safety distance is used as the loss function. , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the prediction model of the minimum safe flight distance of a UAV based on light intensity; The error back propagation method is used to optimize the parameters of the model, and after optimization, the minimum safe distance prediction model for UAV flight based on light intensity is obtained. P 2; S4.3. A deep learning model is used to build a prediction model for the minimum safe distance of UAV flight based on ambient wind speed. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, temperature, light intensity, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, temperature, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the drone minimum safe flight distance prediction model based on ambient wind speed for training, and the square of the error between the drone minimum safe flight distance predicted by the drone minimum safe flight distance prediction model based on ambient wind speed and the calculated safety distance is used as the loss function , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the prediction model of the minimum safe flight distance of a UAV based on the ambient wind speed; The error back propagation method is used to optimize the parameters of the model, and after optimization, the minimum safe distance prediction model for UAV flight based on ambient wind speed is obtained. P 3; S4.4. Based on P 1. P 2. P 3. Predict the minimum safe distance for drone flight; By inputting the drone flight time, the corresponding object type, object height, width, ambient wind speed, light intensity, drone length, drone width, and drone weight data are P 1, and then predict P 1 The minimum safe predicted distance for drone flight ; By inputting the drone flight time, the corresponding object type, object height, width, ambient wind speed, temperature, drone length, drone width, and drone weight data are P 2, and then predict P 2. The minimum safe predicted distance for drone flight ; By inputting the drone flight time, the corresponding object type, object height, width, light intensity, temperature, drone length, drone width, and drone weight data into P3, the prediction is obtained. P 3. The minimum safe predicted distance for drone flight ; S4.5. Calculate the minimum safe predicted distance for UAV flight , the expression is: ; in, , , They are , , The weight coefficient of .

[0012] Furthermore, the specific implementation method of step S5 includes the following steps: S5.1. Using airborne laser radar, the drone collects the three-dimensional coordinates of surrounding objects while flying. , For surrounding objects x Axis coordinates, For surrounding objects y Axis coordinates, For surrounding objects z Axis coordinates; S5.2. Use the drone-mounted GNSS system to collect the drone’s three-dimensional coordinates , Space for drones x Axis coordinates, Space for drones y Axis coordinates, Space for drones z Axis coordinates; S5.3. From the three-dimensional coordinates of surrounding objects , filtering and the spatial 3D coordinates of the drone Highly similar point cloud data, get the retained point cloud data The specific screening method is to traverse all three-dimensional coordinates ,Compare and Relationship: when When , the corresponding point cloud data is retained; when , delete the corresponding point cloud data; in, is the height deviation threshold; S5.4. From the retained point cloud data, arbitrarily select a point in the retained point cloud data Then, by calculating and comparing the points around this point with The distance between the points, select the points adjacent to the T Nearest Neighbor ; Point-based and its adjacent T nearest neighbor points, fitting a plane PM, the corresponding plane equation is: ; in, , , refers to the component of the plane normal vector, , , Refers to the coordinates of any point in the retained point cloud data of the surrounding objects. is a constant; based on and its adjacent T Nearest Neighbor , using the least squares method, we get , , , , and then determine the plane equation; S5.5. Calculate the three-dimensional coordinates of the drone The distance Ds from the plane PM is calculated as: ; S5.6. Construct collision warning conditions and compare Ds with the minimum safe predicted distance of the UAV flight obtained in step S5 The relationship between: when When , it indicates that the distance between the drone and the surrounding objects exceeds the comprehensive minimum safety prediction distance, and no warning is required; when , it indicates that the distance between the drone and surrounding objects does not exceed the comprehensive minimum safety prediction distance, and an early warning is required.

[0013] Furthermore, the specific implementation method of step S6 includes the following steps: S6.1. When the warning information is obtained based on step S5, a vertical line is drawn through the three-dimensional coordinates of the UAV to the fitting plane PM, and the intersection point of the vertical line and the plane PM is set as , the expression is as follows: ; ; ; in, is the intersection of the vertical line and plane PM x Axis coordinates, is the intersection of the vertical line and plane PM y Axis coordinates, is the intersection of the vertical line and plane PM z Axis coordinates, calculated The specific location of the coordinates; S6.2. Construction arrive Vector , the expression is: ; Set the adjusted drone space position coordinates to ,based on , , If three points are on the same straight line, then The expression of the position coordinates is: ; in, is the scaling factor; get The coordinates of ; S6.3. After setting the drone and The distance between them is Dsn, and the relationship equation is constructed to obtain the expression: ; ; Solving the equation based on the given Dsn, we get , then get Coordinates ; S6.4. Based on the adjusted spatial position coordinates of the UAV, N points to adjust, N When selecting points, the flight speed of the drone is considered, and the expression is: ; in, is the flight speed of the drone; Adjust the flight time of the segment for the drone at the location. To adjust the distance between adjacent points; S6.5. Based on the UAV's heading obtained in step S6.4 N points to adjust, among which the Then the first me The coordinates of the points are , after adjustment me The coordinates of the points are , me for N Any one of; Based on arrive Vector , establish the adjusted me The coordinate relationship of the points is expressed as: ; ; in, is the weight function, To adjust the scope of influence of the control; N After adjusting each point, the position optimization of the points near the UAV warning position is completed, and the UAV flight route is optimized.

[0014] Beneficial effects of the present invention: The method for optimizing the flight path of a UAV described in the present invention proposes a method for comprehensively predicting the safe flight distance of a UAV, and establishes a UAV flight safety distance prediction model by considering surrounding object information, environmental factors, UAV information, etc., so as to realize the prediction of the minimum safe distance of UAV flying in different environments; The present invention discloses a method for optimizing the flight path of an unmanned aerial vehicle (UAV), and proposes a collision warning method based on a comprehensive minimum safe predicted distance for UAV flight. By comparing the actual measured distance between the UAV and surrounding objects with the predicted minimum safe distance, the collision warning for UAV flight is achieved.

[0015] The present invention discloses a method for optimizing the flight path of a UAV, which dynamically adjusts the flight path of the UAV to maintain a safe distance, thereby directly reducing the risk of collision with surrounding objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 The present invention is a flowchart of a method for optimizing the flight path of a UAV. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the specific embodiments described are only part of the embodiments of the present invention, rather than all of the specific embodiments. The components of the specific embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations, and the present invention can also have other embodiments.

[0018] Therefore, the following detailed description of the specific embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected specific embodiments of the present invention. Based on the specific embodiments of the present invention, all other specific embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0019] In order to further understand the content, features and effects of the present invention, the following specific implementation methods are given as examples, and the attached Figure 1 The detailed instructions are as follows:

[0020] Embodiment 1: A method for optimizing a UAV flight path comprises the following steps: S1. Collecting information data of surrounding objects, environmental factors, and drone information during the operation of the drone. The surrounding object information data includes object type, object height, and width. The environmental factors data include ambient wind speed, light intensity, and temperature. The drone information data includes drone length, drone width, and drone weight. Furthermore, in step S1, data on the height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight of the object at the same time point are collected, and the selected time point is set as t 1, t 2…, you …, tn ,in, you For the i A point in time, n is the total number of time points.

[0021] Furthermore, data such as object type, object height, and width are obtained from traffic management departments and traffic infrastructure inspection departments, environmental wind speed, light intensity, and temperature are obtained from meteorological management departments, and data such as drone length, drone width, and drone weight are obtained from drone manufacturers and supplier websites. Among them, the object types mainly consider four categories: buildings, vegetation, traffic infrastructure, and traffic ancillary facilities. The corresponding numbers for buildings, vegetation, traffic infrastructure, and traffic ancillary facilities are 0.25, 0.50, 0.75, and 1.00, respectively.

[0022] S2. The data collected in step S1 is standardized, and the standardized data is divided into three groups of factor data sets to obtain a data set for temperature analysis, a data set for light intensity analysis, and a data set for ambient wind speed analysis; Furthermore, in step S2, the standardized data are divided into three groups of factor data sets, to obtain a data set for temperature analysis, a data set for light intensity analysis, and a data set for ambient wind speed analysis; The factors in the data set for temperature analysis include object type, object height, object width, ambient wind speed, light intensity, drone length, drone width, and drone weight; The factors in the data set for analyzing light intensity include object type, object height, object width, ambient wind speed, temperature, drone length, drone width, and drone weight; The factors in the data set for environmental wind speed analysis include object type, object height, object width, light intensity, temperature, drone length, drone width, and drone weight.

[0023] S3. Construct a method to calculate the minimum safe flight distance of UAVs, and calculate the minimum safe flight distance of UAVs at different time points; Furthermore, the specific implementation method of step S3 includes the following steps: S3.1. According to i Time point you , the corresponding object type, object height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight data are used to establish a simulated drone flight field. In the simulated drone flight field, the distance between the drone and the object is set to , m Refers to the total number of distances between the drone and the object when it is set to fly. Point to the i Time point you, No. j The distance between the drone and the object when flying; S3.2. The height fluctuation amplitude of the UAV is measured by the airborne inertial measurement unit. The flight distance of the drone from detecting obstacles to responding using the vehicle-mounted GNSS navigation system is The noise generated by the drone is measured using a sound level meter placed in the surrounding environment. ,in, , , Respectively refer to i Time point you, No. j The distance between the drone and the object during flight The measured height fluctuation amplitude, the distance the drone flies from the time an obstacle is detected to the time it reacts, and the noise generated by the drone; S3.3. Based on , , , calculate the comprehensive evaluation index value of UAV safe flight , the calculation formula is: ; in, , , They are , , The corresponding weight value; On this basis, the distance between the drone and the object during flight is calculated. Corresponding comprehensive evaluation index value of UAV safe flight ; S3.4. Use the expert scoring method to set the threshold of comprehensive evaluation indicators for safe flight of drones , compare in turn and The size relationship of All greater than The comprehensive evaluation index value of the safe flight of the UAV is the condition, and then the obstacle corresponding to the minimum value that meets the condition is selected until the UAV flight distance when the reaction is made is the minimum safe flight distance of the UAV, which is recorded as ; S3.5. The calculated time point is t 1, t 2…, you …, tn The corresponding minimum safe flight distance of the UAV is .

[0024] S4. Construct a prediction model for the minimum safe distance of UAV flight based on different single environmental factors, calculate the minimum safe distance of UAV flight under different single environmental factors, and then calculate the comprehensive minimum safe prediction distance of UAV flight; Furthermore, the specific implementation method of step S4 includes the following steps: S4.1. A deep learning model is used to build a temperature-based prediction model for the minimum safe distance of drone flight. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, ambient wind speed, light intensity, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, light intensity, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the temperature-based drone minimum safe flight distance prediction model for training, and the square of the error between the drone minimum safe flight distance predicted by the temperature-based drone minimum safe flight distance prediction model and the calculated drone minimum safe flight distance is used as the loss function. , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the temperature-based prediction model for the minimum safe flight distance of a UAV; The error back propagation method is used to optimize the parameters of the temperature-based UAV flight minimum safety distance prediction model, and the expression is: : in, are model parameters, is the learning rate, is the loss function with respect to the parameter The gradient of Represents the update of model parameters; After optimization, the temperature-based prediction model for the minimum safe distance of UAV flight is obtained. P 1; S4.2. A deep learning model is used to build a prediction model for the minimum safe distance of drone flight based on light intensity. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, ambient wind speed, temperature, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, temperature, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the drone minimum safe flight distance prediction model based on light intensity for training, and the square of the error between the drone minimum safe flight distance predicted by the drone minimum safe flight distance prediction model based on light intensity and the calculated safety distance is used as the loss function. , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the prediction model of the minimum safe flight distance of a UAV based on light intensity; The error back propagation method is used to optimize the parameters of the model, and after optimization, the minimum safe distance prediction model for UAV flight based on light intensity is obtained. P 2; S4.3. A deep learning model is used to build a prediction model for the minimum safe distance of UAV flight based on ambient wind speed. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, temperature, light intensity, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, temperature, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the drone minimum safe flight distance prediction model based on ambient wind speed for training, and the square of the error between the drone minimum safe flight distance predicted by the drone minimum safe flight distance prediction model based on ambient wind speed and the calculated safety distance is used as the loss function , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the prediction model of the minimum safe flight distance of a UAV based on the ambient wind speed; The error back propagation method is used to optimize the parameters of the model, and after optimization, the minimum safe distance prediction model for UAV flight based on ambient wind speed is obtained. P 3; S4.4. Based on P 1. P 2. P 3. Predict the minimum safe distance for drone flight; By inputting the drone flight time, the corresponding object type, object height, width, ambient wind speed, light intensity, drone length, drone width, and drone weight data are P 1, and then predict P 1 The minimum safe predicted distance for drone flight ; By inputting the drone flight time, the corresponding object type, object height, width, ambient wind speed, temperature, drone length, drone width, and drone weight data are P 2, and then predict P 2. The minimum safe predicted distance for drone flight ; By inputting the drone flight time, the corresponding object type, object height, width, light intensity, temperature, drone length, drone width, and drone weight data into P3, the prediction is obtained. P 3. The minimum safe predicted distance for drone flight ; S4.5. Calculate the minimum safe predicted distance for UAV flight , the expression is: ; in, , , They are , , The weight coefficient of .

[0025] S5. Construct a collision warning method based on the comprehensive minimum safe predicted distance of UAV flight, and issue a warning when the distance between the UAV and surrounding objects does not exceed the comprehensive minimum safe predicted distance; Furthermore, the specific implementation method of step S5 includes the following steps: S5.1. Using airborne laser radar, the drone collects the three-dimensional coordinates of surrounding objects while flying. , For surrounding objects x Axis coordinates, For surrounding objects y Axis coordinates, For surrounding objects z Axis coordinates; S5.2. Use the drone-mounted GNSS system to collect the drone’s three-dimensional coordinates , Space for drones x Axis coordinates, Space for drones y Axis coordinates, Space for drones z Axis coordinates; S5.3. From the three-dimensional coordinates of surrounding objects , filtering and the spatial 3D coordinates of the drone Highly similar point cloud data, get the retained point cloud data The specific screening method is to traverse all three-dimensional coordinates ,Compare and Relationship: when When , the corresponding point cloud data is retained; when , delete the corresponding point cloud data; in, is the height deviation threshold; S5.4. From the retained point cloud data, arbitrarily select a point in the retained point cloud data Then, by calculating and comparing the points around this point with The distance between the points, select the points adjacent to the T Nearest Neighbor ; Point-based and its adjacent T nearest neighbor points, fitting a plane PM, the corresponding plane equation is: ; in, , , refers to the component of the plane normal vector, , , Refers to the coordinates of any point in the retained point cloud data of the surrounding objects. is a constant; based on and its adjacent T Nearest Neighbor , using the least squares method, we get , , , , and then determine the plane equation; S5.5. Calculate the three-dimensional coordinates of the drone The distance Ds from the plane PM is calculated as: ; S5.6. Construct collision warning conditions and compare Ds with the minimum safe predicted distance of the UAV flight obtained in step S5 The relationship between: when When , it indicates that the distance between the drone and the surrounding objects exceeds the comprehensive minimum safety prediction distance, and no warning is required; when , it indicates that the distance between the drone and surrounding objects does not exceed the comprehensive minimum safety prediction distance, and an early warning is required.

[0026] S6. Based on the warning information obtained in step S5, the flight path of the UAV is optimized.

[0027] Furthermore, the specific implementation method of step S6 includes the following steps: S6.1. When the warning information is obtained based on step S5, a vertical line is drawn through the three-dimensional coordinates of the UAV to the fitting plane PM, and the intersection point of the vertical line and the plane PM is set as , the expression is as follows: ; ; ; in, is the intersection of the vertical line and plane PM x Axis coordinates, is the intersection of the vertical line and plane PM y Axis coordinates, is the intersection of the vertical line and plane PM z Axis coordinates, calculated The specific location of the coordinates; S6.2. Construction arrive Vector , the expression is: ; Set the adjusted drone space position coordinates to ,based on , , If three points are on the same straight line, then The expression of the position coordinates is: ; in, is the scaling factor; get The coordinates of ; S6.3. After setting the drone and The distance between them is Dsn, and the relationship equation is constructed to obtain the expression: ; ; Solving the equation based on the given Dsn, we get , then get Coordinates ; S6.4. Based on the adjusted spatial position coordinates of the UAV, N points to adjust, N When selecting points, the flight speed of the drone is considered, and the expression is: ; in, is the flight speed of the drone; Adjust the flight time of the segment for the drone at the location. To adjust the distance between adjacent points; S6.5. Based on the UAV's heading obtained in step S6.4 N points to adjust, among which the Then the first me The coordinates of the points are , after adjustment me The coordinates of the points are , me for N Any one of; Based on arrive Vector , establish the adjusted me The coordinate relationship of the points is expressed as: ; ; in, is the weight function, To adjust the scope of influence of the control; N After adjusting each point, the position optimization of the points near the UAV warning position is completed, and the UAV flight route is optimized.

[0028] The key points and intended protection points of the present invention are: (1) A comprehensive method for predicting the safe flight distance of UAVs.

[0029] (2) A collision warning method based on the comprehensive minimum safe prediction distance of UAV flight.

[0030] (3) A method for optimizing UAV flight paths.

[0031] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0032] Although the present application has been described above with reference to specific embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present application. In particular, as long as there is no structural conflict, the various features in the specific embodiments disclosed in the present application may be used in combination with each other in any manner, and the fact that these combinations are not exhaustively described in this specification is only for the sake of omitting space and saving resources. Therefore, the present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A method for optimizing the flight path of an unmanned aerial vehicle, characterized in that: The steps include: S1. Collecting information data of surrounding objects, environmental factors, and drone information during the operation of the drone. The surrounding object information data includes object type, object height, and width. The environmental factors data include ambient wind speed, light intensity, and temperature. The drone information data includes drone length, drone width, and drone weight. S2. The data collected in step S1 is standardized, and the standardized data is divided into three groups of factor data sets to obtain a data set for temperature analysis, a data set for light intensity analysis, and a data set for ambient wind speed analysis; S3. Construct a method to calculate the minimum safe flight distance of UAVs, and calculate the minimum safe flight distance of UAVs at different time points; S4. Construct a prediction model for the minimum safe distance of UAV flight based on different single environmental factors, calculate the minimum safe distance of UAV flight under different single environmental factors, and then calculate the comprehensive minimum safe prediction distance of UAV flight; S5. Construct a collision warning method based on the comprehensive minimum safe predicted distance of UAV flight, and issue a warning when the distance between the UAV and surrounding objects does not exceed the comprehensive minimum safe predicted distance; S6. Based on the warning information obtained in step S5, the flight path of the UAV is optimized.

2. The method for optimizing the flight path of an unmanned aerial vehicle according to claim 1, characterized in that: In step S1, data on object height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight are collected at the same time point, and the selected time point is set as t 1, t 2…, ti …, tn ,in, ti For the i A point in time, n is the total number of time points.

3. The method for optimizing the flight path of an unmanned aerial vehicle according to claim 2, characterized in that: In step S2, the standardized data are divided into three groups of factor data sets, to obtain a data set for temperature analysis, a data set for light intensity analysis, and a data set for ambient wind speed analysis; The factors in the data set for temperature analysis include object type, object height, object width, ambient wind speed, light intensity, drone length, drone width, and drone weight; The factors in the data set for analyzing light intensity include object type, object height, object width, ambient wind speed, temperature, drone length, drone width, and drone weight; The factors in the data set for environmental wind speed analysis include object type, object height, object width, light intensity, temperature, drone length, drone width, and drone weight.

4. The method for optimizing the flight path of an unmanned aerial vehicle according to claim 3, characterized in that: The specific implementation method of step S3 includes the following steps: S3.

1. According to i Time point ti , the corresponding object type, object height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight data are used to establish a simulated drone flight field. In the simulated drone flight field, the distance between the drone and the object is set to , m Refers to the total number of distances between the drone and the object when it is set to fly. Point to the i Time point ti, No. j The distance between the drone and the object when flying; S3.

2. The height fluctuation amplitude of the UAV is measured by the airborne inertial measurement unit. The flight distance of the drone from detecting obstacles to responding using the vehicle-mounted GNSS navigation system is The noise generated by the drone is measured using a sound level meter placed in the surrounding environment. ,in, , , Respectively refer to i Time point ti, No. j The distance between the drone and the object during flight The measured height fluctuation amplitude, the distance the drone flies from the time an obstacle is detected to the time it reacts, and the noise generated by the drone; S3.

3. Based on , , , calculate the comprehensive evaluation index value of UAV safe flight , the calculation formula is: ; in, , , They are , , The corresponding weight value; On this basis, the distance between the drone and the object during flight is calculated. Corresponding comprehensive evaluation index value of UAV safe flight ; S3.

4. Use the expert scoring method to set the threshold of comprehensive evaluation indicators for safe flight of drones , compare in turn and The size relationship of All greater than The comprehensive evaluation index value of the safe flight of the UAV is the condition, and then the obstacle corresponding to the minimum value that meets the condition is selected until the UAV flight distance when the reaction is made is the minimum safe flight distance of the UAV, which is recorded as ; S3.

5. The calculated time point is t 1, t 2…, ti …, tn The corresponding minimum safe flight distance of the UAV is .

5. The method for optimizing the flight path of an unmanned aerial vehicle according to claim 4, characterized in that: The specific implementation method of step S4 includes the following steps: S4.

1. A deep learning model is used to build a temperature-based prediction model for the minimum safe distance of drone flight. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, ambient wind speed, light intensity, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, light intensity, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the temperature-based drone minimum safe flight distance prediction model for training, and the square of the error between the drone minimum safe flight distance predicted by the temperature-based drone minimum safe flight distance prediction model and the calculated drone minimum safe flight distance is used as the loss function. , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the temperature-based prediction model for the minimum safe flight distance of a UAV; The error back propagation method is used to optimize the parameters of the temperature-based UAV flight minimum safety distance prediction model, and the expression is: : in, are model parameters, is the learning rate, is the loss function with respect to the parameter The gradient of Represents the update of model parameters; After optimization, the temperature-based prediction model for the minimum safe distance of UAV flight is obtained. P 1; S4.

2. A deep learning model is used to build a prediction model for the minimum safe distance of drone flight based on light intensity. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, ambient wind speed, temperature, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, temperature, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the drone minimum safe flight distance prediction model based on light intensity for training, and the square of the error between the drone minimum safe flight distance predicted by the drone minimum safe flight distance prediction model based on light intensity and the calculated safety distance is used as the loss function. , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the prediction model of the minimum safe flight distance of a UAV based on light intensity; The error back propagation method is used to optimize the parameters of the model, and after optimization, the minimum safe distance prediction model for UAV flight based on light intensity is obtained. P 2; S4.

3. A deep learning model is used to build a prediction model for the minimum safe distance of UAV flight based on ambient wind speed. The specific structure is as follows: Input layer: Set 8 input nodes, corresponding to the object type, object height, width, temperature, light intensity, drone length, drone width, and drone weight at each time point after data standardization; Hidden Layer: The first hidden layer: consists of 128 neurons and uses the ReLU activation function; The second hidden layer consists of 64 neurons and uses the ReLU activation function. The third hidden layer: consists of 32 neurons and uses the ReLU activation function; The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function; Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point; The object type, object height, width, ambient wind speed, temperature, drone length, drone width, drone weight, and drone minimum safe flight distance corresponding to each time point are input into the drone minimum safe flight distance prediction model based on ambient wind speed for training, and the square of the error between the drone minimum safe flight distance predicted by the drone minimum safe flight distance prediction model based on ambient wind speed and the calculated safety distance is used as the loss function , the expression is: ; in, The minimum safe flight distance of a UAV predicted by the prediction model of the minimum safe flight distance of a UAV based on the ambient wind speed; The error back propagation method is used to optimize the parameters of the model, and after optimization, the minimum safe distance prediction model for UAV flight based on ambient wind speed is obtained. P 3; S4.

4. Based on P 1. P 2. P 3. Predict the minimum safe distance for drone flight; By inputting the drone flight time, the corresponding object type, object height, width, ambient wind speed, light intensity, drone length, drone width, and drone weight data are P 1, and then predict P 1 The minimum safe predicted distance for drone flight ; By inputting the drone flight time, the corresponding object type, object height, width, ambient wind speed, temperature, drone length, drone width, and drone weight data are P 2, and then predict P 2. The minimum safe predicted distance for drone flight ; By inputting the drone flight time, the corresponding object type, object height, width, light intensity, temperature, drone length, drone width, and drone weight data into P3, the prediction is obtained. P 3. The minimum safe predicted distance for drone flight ; S4.

5. Calculate the minimum safe predicted distance for UAV flight , the expression is: ; in, , , They are , , The weight coefficient of .

6. A method for optimizing the flight path of an unmanned aerial vehicle according to claim 5, characterized in that: The specific implementation method of step S5 includes the following steps: S5.

1. Using airborne laser radar, the drone collects the three-dimensional coordinates of surrounding objects while flying. , For surrounding objects x Axis coordinates, For surrounding objects y Axis coordinates, For surrounding objects z Axis coordinates; S5.

2. Use the drone-mounted GNSS system to collect the drone’s three-dimensional coordinates , Space for drones x Axis coordinates, Space for drones y Axis coordinates, Space for drones z Axis coordinates; S5.

3. From the three-dimensional coordinates of surrounding objects , filter and the spatial 3D coordinates of the drone Highly similar point cloud data, get the retained point cloud data The specific screening method is to traverse all three-dimensional coordinates ,Compare and Relationship: when When , the corresponding point cloud data is retained; when , delete the corresponding point cloud data; in, is the height deviation threshold; S5.

4. From the retained point cloud data, arbitrarily select a point in the retained point cloud data Then, by calculating and comparing the points around this point with The distance between the points, select the points adjacent to the T Nearest Neighbor ; Point-based and its adjacent T nearest neighbor points, fitting a plane PM, the corresponding plane equation is: ; in, , , refers to the component of the plane normal vector, , , Refers to the coordinates of any point in the retained point cloud data of the surrounding objects. is a constant; based on and its adjacent T Nearest Neighbor , using the least squares method, we get , , , , and then determine the plane equation; S5.

5. Calculate the three-dimensional coordinates of the drone The distance Ds from the plane PM is calculated as: ; S5.

6. Construct collision warning conditions and compare Ds with the minimum safe predicted distance of the UAV flight obtained in step S5 The relationship between: when When , it indicates that the distance between the drone and the surrounding objects exceeds the comprehensive minimum safety prediction distance, and no warning is required; when , it indicates that the distance between the drone and surrounding objects does not exceed the comprehensive minimum safety prediction distance, and an early warning is required.

7. A method for optimizing the flight path of an unmanned aerial vehicle according to claim 6, characterized in that: The specific implementation method of step S6 includes the following steps: S6.

1. When the warning information is obtained based on step S5, a vertical line is drawn through the three-dimensional coordinates of the UAV to the fitting plane PM, and the intersection point of the vertical line and the plane PM is set as , the expression is as follows: ; ; ; in, is the intersection of the vertical line and plane PM x Axis coordinates, is the intersection of the vertical line and plane PM y Axis coordinates, is the intersection of the vertical line and plane PM z Axis coordinates, calculated The specific location of the coordinates; S6.

2. Construction arrive Vector , the expression is: ; Set the adjusted drone space position coordinates to ,based on , , If three points are on the same straight line, then The expression of the position coordinates is: ; in, is the scaling factor; get The coordinates of ; S6.

3. After setting the drone and The distance between them is Dsn, and the relationship equation is constructed to obtain the expression: ; ; Solving the equation based on the given Dsn, we get , then get Coordinates ; S6.

4. Based on the adjusted spatial position coordinates of the UAV, N points to adjust, N When selecting points, the flight speed of the drone is considered, and the expression is: ; in, is the flight speed of the drone; Adjust the flight time of the segment for the drone at the location. To adjust the distance between adjacent points; S6.

5. Based on the UAV's heading obtained in step S6.4 N points to adjust, among which the Then the first mi The coordinates of the points are , after adjustment mi The coordinates of the points are , mi for N Any one of; Based on arrive Vector , establish the adjusted mi The coordinate relationship of the points is expressed as: ; ; in, is the weight function, To adjust the scope of influence of the control; N After adjusting each point, the position optimization of the points near the UAV warning position is completed, and the UAV flight route is optimized.

Citation Information

Patent Citations

  • Method and device for controlling obstacle avoidance of unmanned aerial vehicle, storage medium and unmanned aerial vehicle

    CN113110594A

  • Unmanned aerial vehicle control method and device

    CN113534840A

  • Unmanned aerial vehicle autonomous obstacle avoidance method, flying method and system

    CN116700344A

  • Unmanned aerial vehicle path planning method, device and system under complex wind environment influence

    CN117213489A

  • Method and device for measuring obstacle avoidance distance of unmanned aerial vehicle

    CN118500344A

Cited By

  • Low-altitude unmanned aerial vehicle differential safety distance calculation method based on multi-parameter dynamic correction

    CN122046972A

  • A multi-parameter dynamic correction low-altitude unmanned aerial vehicle differentiated safety distance calculation method

    CN122046972B