A UAV flight safety early warning method
By collecting and analyzing the objects and environmental information around the drone, a deep learning prediction model is built, which solves the problem of insufficient consideration of safe distance in drone flight, and realizes safe flight and wide application of drones in complex environments.
Patent Information
- Application Number
- CN202411708629.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-11-27
AI Technical Summary
The prior art fails to effectively consider the safe distance issues in drone flight, especially under different facilities types and environmental conditions, which may affect the safe flight and anti-collision capabilities of drones, limiting their wide range of applications and safety.
By collecting the information of surrounding objects, environmental factors and drone information during the operation of the drone, a calculation method and prediction model for the minimum safe distance of the drone flight is constructed, and the minimum safe distance under different environmental factors is predicted based on the deep learning model, and a collision warning method is constructed.
It realizes the minimum safe distance prediction of drones in different environments, supports the mission execution of drones in complex environments, expands the application range of drones, and reduces accident risks through collision warning.
Smart Images

Figure CN119207177B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicle flight safety, and in particular relates to a unmanned aerial vehicle flight safety early warning method. Background Art
[0002] The impact of different structures must be considered during the flight of drones, as these structures will have a direct impact on the flight stability, safety and efficiency of drones. High-rise buildings, bridges, trees, etc. not only differ in height, they may also change the surrounding airflow patterns and form complex wind flow situations, which puts higher requirements on the control accuracy and flight path planning of drones. For example, high-rise buildings can produce strong wind pressure effects, so that drones may encounter sudden airflow changes when flying near them, affecting flight stability. In addition, complex transportation infrastructure such as highway interchanges are not only complex in structure, but also have a dynamic and changeable surrounding environment, which requires drones to have a high degree of adaptability and immediate response capabilities to deal with possible collision risks.
[0003] If the impact of these structures is ignored during the flight of the drone, it may lead to a variety of flight safety issues. First, the drone may not be able to effectively avoid obstacles of different heights. For example, if the flight altitude is not adjusted in time to avoid tall buildings or tree beams, a collision accident may occur, causing damage to the drone or even harm to people and property on the ground. Secondly, ignoring the changes in airflow caused by the structure may make it difficult to control the drone, especially in strong wind conditions, where stability and maneuverability are greatly reduced, and the risk of flight mission failure increases. For example, when flying in a wind tunnel formed by tall buildings, the drone may encounter a sudden change in wind speed, resulting in control failure, affecting the accuracy of data collection or leading to more serious safety accidents.
[0004] The invention patent with application number 201711349951.X and invention name “Real-time safety warning device for drones” proposes a real-time safety warning device for drones, including an airborne warning device, integrating a flight controller, a status monitoring module (including a drone parameter acquisition module) and a warning module. This system can collect the flight and environmental parameters of drones and analyze these parameters through the warning module. If the parameters are abnormal, the safety warning instruction will be triggered and the safety mechanism will be activated, thereby improving the flight safety of the drone.
[0005] The invention patent with application number 202111300583.6 and invention name "A delivery drone, a delivery drone early warning method and device" discloses a delivery drone and its early warning method and device, which are operated by different power supply and sensor submodules. The early warning module and the control module evaluate the collected data to determine the abnormal state of the drone. When an abnormality is found, the early warning module will send an alarm to the surroundings and report to the server to prompt the surrounding people to avoid and quickly handle the abnormality, effectively reducing the risk of accidents.
[0006] However, existing studies have focused on real-time status monitoring and abnormal warning systems for drones, but none of them explicitly mention the consideration of safe distance issues during drone flight. In particular, the requirements for safe distances may vary under different facility types and environmental conditions. The lack of specific considerations for safe flight distances may affect the safe flight and collision avoidance capabilities of drones in complex environments, thereby limiting the breadth and safety of their applications. Summary of the invention
[0007] The problem to be solved by the present invention is to improve the safety performance of unmanned aerial vehicle flight and propose a unmanned aerial vehicle flight safety early warning method.
[0008] To achieve the above object, the present invention is implemented through the following technical solutions:
[0009] A UAV flight safety early warning method comprises the following steps:
[0010] 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.
[0011] 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, and set aside;
[0012] 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;
[0013] S4. Construct a prediction model for the minimum safe distance of UAV flight based on different single environmental factors, and calculate the minimum safe distance of UAV flight under different single environmental factors;
[0014] S5. Based on the minimum safe distance for UAV flight under different single environmental factors obtained in step S4, calculate the comprehensive minimum safe predicted distance for UAV flight;
[0015] S6. Construct a collision warning method based on the comprehensive minimum safe prediction distance of UAV flight.
[0016] 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…, ti …, tn ,in, ti For the i A point in time, n is the total number of time points.
[0017] 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;
[0018] 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;
[0019] 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;
[0020] 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.
[0021] Furthermore, the specific implementation method of step S3 includes the following steps:
[0022] 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;
[0023] 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;
[0024] S3.3. Based on , , , calculate the comprehensive evaluation index value of UAV safe flight , the calculation formula is:
[0025] ;
[0026] in, , , They are , , The corresponding weight value;
[0027] On this basis, the distance between the drone and the object during flight is calculated. Corresponding comprehensive evaluation index value of UAV safe flight ;
[0028] 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 ;
[0029] S3.5. The calculated time point is t 1, t 2…, ti …, tn The corresponding minimum safe flight distance of the UAV is .
[0030] Furthermore, the specific implementation method of step S4 includes the following steps:
[0031] 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:
[0032] 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;
[0033] Hidden Layer:
[0034] The first hidden layer: consists of 128 neurons and uses the ReLU activation function;
[0035] The second hidden layer consists of 64 neurons and uses the ReLU activation function.
[0036] The third hidden layer: consists of 32 neurons and uses the ReLU activation function;
[0037] The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function;
[0038] Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point;
[0039] 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:
[0040] ;
[0041] 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;
[0042] 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:
[0043] ;
[0044] 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;
[0045] After optimization, the temperature-based prediction model for the minimum safe distance of UAV flight is obtained. P 1;
[0046] 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:
[0047] 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;
[0048] Hidden Layer:
[0049] The first hidden layer: consists of 128 neurons and uses the ReLU activation function;
[0050] The second hidden layer consists of 64 neurons and uses the ReLU activation function.
[0051] The third hidden layer: consists of 32 neurons and uses the ReLU activation function;
[0052] The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function;
[0053] Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point;
[0054] 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:
[0055] ;
[0056] 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;
[0057] 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;
[0058] 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:
[0059] 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;
[0060] Hidden Layer:
[0061] The first hidden layer: consists of 128 neurons and uses the ReLU activation function;
[0062] The second hidden layer consists of 64 neurons and uses the ReLU activation function.
[0063] The third hidden layer: consists of 32 neurons and uses the ReLU activation function;
[0064] The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function;
[0065] Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point;
[0066] 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:
[0067] ;
[0068] 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;
[0069] 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;
[0070] S4.4. Based on P1. P 2. P 3. Predict the minimum safe distance for drone flight;
[0071] 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 ;
[0072] 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 ;
[0073] 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 .
[0074] Furthermore, in step S5, the minimum safe predicted distance for UAV flight is calculated. The expression is:
[0075] ;
[0076] in, , , They are , , The weight coefficient of .
[0077] Furthermore, the specific implementation method of step S6 includes the following steps:
[0078] S6.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;
[0079] S6.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;
[0080] S6.3. From the three-dimensional coordinates of surrounding objects , filter and the spatial 3D coordinates of the drone Point cloud data with similar heights are retained. The specific screening method is to traverse all three-dimensional coordinates. ,Compare and Relationship:
[0081] when When , the corresponding point cloud data is retained;
[0082] when , delete the corresponding point cloud data;
[0083] in, is the height deviation threshold;
[0084] S6.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 ;
[0085] Point-based and its adjacent T nearest neighbor points, fitting a plane PM, the corresponding plane equation is:
[0086] ;
[0087] 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;
[0088] based on and its adjacent T Nearest Neighbor , using the least squares method, we get , , , , and then determine the plane equation;
[0089] S6.5. Calculate the three-dimensional coordinates of the drone The distance Ds from the plane PM is calculated as:
[0090] ;
[0091] S6.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:
[0092] 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;
[0093] 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.
[0094] Beneficial effects of the present invention:
[0095] The UAV flight safety warning method described in the present invention takes into account the surrounding object information, environmental factors, UAV information, etc., establishes a UAV flight safety distance prediction model, and realizes the prediction of the minimum safe distance for UAV flying in different environments; supports the UAV's task execution in complex environments and expands the application scope of UAVs.
[0096] The UAV flight safety warning method described in the present invention proposes a collision warning method based on the comprehensive minimum safety prediction distance of the UAV flight, which realizes the collision warning of the UAV flight. Through the accurate analysis of the surrounding environment of the UAV and the flight data, potential risk factors can be discovered in time, and risk avoidance measures can be taken in advance to prevent possible accidents. Not only can the damage caused by collision or loss of control of the UAV be avoided, and the high cost of repairing or replacing equipment can be reduced, but also liability disputes or legal proceedings caused by accidents can be prevented. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] Figure 1 The present invention is a flowchart of a UAV flight safety early warning method. DETAILED DESCRIPTION
[0098] 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.
[0099] 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.
[0100] 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:
[0101] Embodiment 1:
[0102] A UAV flight safety early warning method, characterized in that it includes the following steps:
[0103] 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.
[0104] 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…, ti …, tn ,in, ti For the i A point in time, n is the total number of time points.
[0105] Furthermore, the data collected for object height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight correspond and are the same, that is, they are all data information at the same time. The selected time point is t 1, t 2…, ti…, tn , the object heights corresponding to each time point are A 1, A 2, ..., An ; The object widths corresponding to each time point are B 1, B 2, ..., Bn ; The corresponding ambient wind speeds at each time point are C 1, C 2, ..., Cn ; The light intensity corresponding to each time point is D 1, D 2, ..., Dn The temperatures at each time point are E 1, E 2, ..., En ; The length of the drone corresponding to each time point is F 1, F 2, ..., Fn ; The width of the drone corresponding to each time point is G 1, G 2, ..., Gn ; The weight of the drone at each time point is H 1, H 2, ..., Hn ;
[0106] The above data are obtained from public channels;
[0107] S2. The data collected in step S1 is standardized, and the influence of a single environmental factor data on the prediction of safe flight of the UAV is extracted and analyzed. 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 environmental wind speed analysis, and the data set is set aside;
[0108] 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;
[0109] 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;
[0110] 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;
[0111] 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.
[0112] Furthermore, after data standardization, the object heights corresponding to each time point are ; After data standardization, the object widths corresponding to each time point are ; After data standardization, the ambient wind speeds corresponding to each time point are ; After data standardization, the light intensity corresponding to each time point is ; After data standardization, the temperatures corresponding to each time point are ; After data standardization, the drone lengths corresponding to each time point are ; After data standardization, the width of the drone corresponding to each time point is ; After data standardization, the weight of the drone at each time point is ;
[0113] 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;
[0114] Furthermore, the specific implementation method of step S3 includes the following steps:
[0115] 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;
[0116] 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 toi 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;
[0117] S3.3. Based on , , , calculate the comprehensive evaluation index value of UAV safe flight , the calculation formula is:
[0118] ;
[0119] in, , , They are , , The corresponding weight value;
[0120] On this basis, the distance between the drone and the object during flight is calculated. Corresponding comprehensive evaluation index value of UAV safe flight ;
[0121] 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 ;
[0122] S3.5. The calculated time point is t 1, t 2…, ti …, tn The corresponding minimum safe flight distance of the UAV is .
[0123] S4. Construct a prediction model for the minimum safe distance of UAV flight based on different single environmental factors, and calculate the minimum safe distance of UAV flight under different single environmental factors;
[0124] Furthermore, the specific implementation method of step S4 includes the following steps:
[0125] 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:
[0126] 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;
[0127] Hidden Layer:
[0128] The first hidden layer: consists of 128 neurons and uses the ReLU activation function;
[0129] The second hidden layer consists of 64 neurons and uses the ReLU activation function.
[0130] The third hidden layer: consists of 32 neurons and uses the ReLU activation function;
[0131] The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function;
[0132] Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point;
[0133] 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:
[0134] ;
[0135] 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;
[0136] 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:
[0137] ;
[0138] 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;
[0139] After optimization, the temperature-based prediction model for the minimum safe distance of UAV flight is obtained. P 1;
[0140] 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:
[0141] 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;
[0142] Hidden Layer:
[0143] The first hidden layer: consists of 128 neurons and uses the ReLU activation function;
[0144] The second hidden layer consists of 64 neurons and uses the ReLU activation function.
[0145] The third hidden layer: consists of 32 neurons and uses the ReLU activation function;
[0146] The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function;
[0147] Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point;
[0148] 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:
[0149] ;
[0150] 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;
[0151] 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;
[0152] 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:
[0153] 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;
[0154] Hidden Layer:
[0155] The first hidden layer: consists of 128 neurons and uses the ReLU activation function;
[0156] The second hidden layer consists of 64 neurons and uses the ReLU activation function.
[0157] The third hidden layer: consists of 32 neurons and uses the ReLU activation function;
[0158] The fourth hidden layer: consists of 16 neurons and uses the ReLU activation function;
[0159] Output layer: set 1 neuron corresponding to the minimum safe flight distance of the drone at each time point;
[0160] 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:
[0161] ;
[0162] 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;
[0163] 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;
[0164] S4.4. Based on P 1. P 2. P 3. Predict the minimum safe distance for drone flight;
[0165] 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 ;
[0166] 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 ;
[0167] 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 .
[0168] S5. Based on the minimum safe distance for UAV flight under different single environmental factors obtained in step S4, calculate the comprehensive minimum safe predicted distance for UAV flight;
[0169] Further, in step S5, the minimum safe predicted distance for UAV flight is calculated. The expression is:
[0170] ;
[0171] in, , , They are , , The weight coefficient of .
[0172] S6. Construct a collision warning method based on the comprehensive minimum safe prediction distance of UAV flight;
[0173] Furthermore, the specific implementation method of step S6 includes the following steps:
[0174] S6.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 zAxis coordinates;
[0175] S6.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;
[0176] S6.3. From the three-dimensional coordinates of surrounding objects , filter and the spatial 3D coordinates of the drone Point cloud data with similar heights are retained. The specific screening method is to traverse all three-dimensional coordinates. ,Compare and Relationship:
[0177] when When , the corresponding point cloud data is retained;
[0178] when , delete the corresponding point cloud data;
[0179] in, is the height deviation threshold;
[0180] S6.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 ;
[0181] Point-based and its adjacent T nearest neighbor points, fitting a plane PM, the corresponding plane equation is:
[0182] ;
[0183] 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;
[0184] based on and its adjacent TNearest Neighbor , using the least squares method, we get , , , , and then determine the plane equation;
[0185] S6.5. Calculate the three-dimensional coordinates of the drone The distance Ds from the plane PM is calculated as:
[0186] ;
[0187] S6.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:
[0188] 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;
[0189] 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.
[0190] The key points and protection points of the present invention are:
[0191] (1) A comprehensive method for predicting the safe flight distance of UAVs.
[0192] (2) A collision warning method based on the comprehensive minimum safe prediction distance of UAV flight.
[0193] 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.
[0194] 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 UAV flight safety early warning method, characterized in that: The steps include: S1. Collecting surrounding object information data, environmental factor data, and drone information data during the operation of the drone, the surrounding object information data includes object type, object height, and width, the environmental factor data includes ambient wind speed, light intensity, and temperature, and the drone information data includes drone length, drone width, and drone weight; 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 points are set as t1, t2…, ti…, tn, where ti is the i-th time point and n is the total number of time points; 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, for standby use; 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; S3. Construct a method for calculating the minimum safe flight distance of a UAV and calculate the minimum safe flight distance of a UAV at different time points; The specific implementation method of step S3 includes the following steps: S3.
1. According to the object type, object height, width, ambient wind speed, light intensity, temperature, drone length, drone width, and drone weight data corresponding to the i-th time point ti, a simulated drone flight field is established. In the simulated drone flight field, the distance between the drone and the object during flight is set to m refers to the total distance between the drone and the object when it is flying. It refers to the distance between the jth UAV and the object at the i-th time point ti; 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 drone-mounted GNSS system is The noise generated by the drone is measured using a sound level meter placed in the surrounding environment. in, They refer to the distance between the i-th time point ti and the j-th UAV and the object when flying. 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: Among them, α1, α2, and α3 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 expert scoring method to set the threshold of comprehensive evaluation index for safe flight of drones Compare 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. Calculate the minimum safe flight distance of the drone corresponding to the time points t1, t2…, ti…, tn: S4. Construct a prediction model for the minimum safe distance of UAV flight based on different single environmental factors, and calculate the minimum safe distance of UAV flight under different single environmental factors; S5. Based on the minimum safe distance for UAV flight under different single environmental factors obtained in step S4, calculate the comprehensive minimum safe predicted distance for UAV flight; S6. Construct a collision warning method based on the comprehensive minimum safe prediction distance of UAV flight.
2. The UAV flight safety early warning method according to claim 1, 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 Q1, which is expressed as: 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: Among them, θ is the model parameter, η is the learning rate, is the gradient of the loss function with respect to the parameter θ, ← represents the update of the model parameters; After optimization, the temperature-based prediction model P1 for the minimum safe distance of UAV flight was obtained; 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 Q2, which is expressed as: 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 P2 for UAV flight based on light intensity is obtained; 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, light intensity, 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 Q3, which is expressed as: 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 P3 for UAV flight based on ambient wind speed is obtained; S4.
4. Based on P1, P2 and P3, predict the minimum safe distance for UAV 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 into P1, the minimum safe predicted distance M of the drone flight of P1 is predicted. min-P1 ; 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 into P2, the minimum safe predicted distance M of the drone flight of P2 is predicted. min-P2 ; 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 minimum safe predicted distance M of the drone flight of P3 is predicted. min-P3 .
3. The UAV flight safety early warning method according to claim 2 is characterized in that: In step S5, the minimum safe predicted distance M of the UAV flight is calculated. min-R The expression is: M min-R =β1M min-P1 +β2M min-P2 +β3M min-P3 Among them, β1, β2, and β3 are M min-P1 、M min-P2 、M min-P3 The weight coefficient of .
4. The UAV flight safety early warning method according to claim 3 is characterized in that: The specific implementation method of step S6 includes the following steps: S6.
1. Using airborne laser radar, the drone collects the three-dimensional coordinates of surrounding objects while flying. zb (x zb ,y zb ,z zb ), x zb is the x-axis coordinate of the surrounding object, y zb is the y-axis coordinate of the surrounding object, z zb is the z-axis coordinate of the surrounding objects; S6.
2. Use the GNSS system on the drone to collect the three-dimensional coordinates S of the drone. wr (x wr ,y wr ,z wr ), x wr is the spatial x-axis coordinate of the drone, y wr is the spatial y-axis coordinate of the drone, z wr is the spatial z-axis coordinate of the drone; S6.
3. From the three-dimensional coordinates S of the surrounding objects zb (x zb ,y zb ,z zb ), filter the spatial three-dimensional coordinates S of the drone wr (x wr ,y wr ,z wr ) point cloud data with high similarity, and obtain the retained point cloud data S zb-b (x zb-b ,y zb-b ,z zb-b ), the specific screening method is to traverse all three-dimensional coordinates S zb (x zb ,y zb ,z zb ), compare z zb With z wr Relationship: When z zb ≤|z wr -z tr |, keep the corresponding point cloud data; When z zb >|z wr -z tr |, delete the corresponding point cloud data; Among them, z tr is the height deviation threshold; S6.
4. From the retained point cloud data, arbitrarily select a point of the retained point cloud data Then, by calculating and comparing the points around this point with The distance between them, select the T nearest neighbor points adjacent to the point; Point-based and its adjacent T nearest neighbor points, fitting a plane PM, the corresponding plane equation is: a1x zb-b +b1y zb-b +c1z zb-b +d1=0 Among them, a1, b1, c1 refer to the components of the plane normal vector, x zb-b ,y zb-b 、z zb-b Refers to the coordinates of any point in the retained point cloud data of the surrounding objects, d1 is a constant; based on and its T nearest neighbors The least square method is used to fit a1, b1, c1, and d1, and then the plane equation is determined; S6.
5. Calculate the three-dimensional spatial coordinates S of the drone wr (x wr ,y wr ,z wr ) and the distance Ds between the plane PM, calculated as: S6.
6. Construct collision warning conditions and compare Ds with the comprehensive minimum safe predicted distance M of the UAV flight obtained in step S5 min-R The relationship between: When DS>M min-R 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 Ds≤M min-R , 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.
Citation Information
Patent Citations
Real-time safety early warning device for drones
CN108120476B
A delivery drone, a delivery drone early warning method and a delivery drone early warning device
CN116080903B
Real-time acquisition method for early warning range applicable to low-altitude drone
CN110223539A
Drone control system and method for detecting and identifying of drone using the same
KR102292117B1