Three-dimensional space obstacle identification and dynamic obstacle avoidance method
Through a variety of sensors and deep learning technology, obstacles are identified and tracked, motion models are established, and adaptive obstacle avoidance paths are generated, which solves the problem of being unable to effectively track the motion of obstacles in the existing technology and improves the obstacle avoidance effect of UAVs. security and optimized energy use.
Patent Information
- Application Number
- CN202410825978.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
Existing drone obstacle avoidance technology cannot effectively track the movement of obstacles, resulting in poor obstacle avoidance effects, especially in complex flight environments.
Use a variety of sensors to obtain three-dimensional information, identify obstacles through three-dimensional point cloud processing, deep neural networks and contour extraction algorithms, establish a motion model of dynamic obstacles, predict their future positions, and combine virtual force fields and path planning algorithms to generate collision-free paths , and ensure accurate tracking of the aircraft through the controller.
It achieves accurate identification and tracking of static and dynamic obstacles, generates adaptive obstacle avoidance paths, and improves the obstacle avoidance effect and safety of the UAV. At the same time, taking energy efficiency into consideration, the flight strategy is optimized to minimize energy consumption.
Smart Images

Figure CN118625831A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of obstacle recognition and dynamic obstacle avoidance, and in particular to a three-dimensional space obstacle recognition and dynamic obstacle avoidance method. Background Art
[0002] When a drone is flying in the air, it needs to avoid obstacles on the flight path to avoid damage caused by collisions. In particular, low-altitude drones such as follow-up selfie drones and agricultural plant protection drones face more obstacles and more complex situations on their flight paths, so the requirements for obstacle avoidance are higher. The most common obstacle avoidance technologies for drones are infrared sensors, ultrasonic sensors, laser sensors, and visual sensors, which achieve obstacle avoidance by detecting whether there are other objects within a certain distance of the drone.
[0003] The existing publication number CN111522358A discloses a dynamic obstacle avoidance method for a drone, which sets ranging sensors on the front, back, left and right sides of the fuselage, identifies obstacles through Hough transform, and thus achieves obstacle avoidance flight. By continuously predicting the flight trajectory, dynamic monitoring of the distance between the drone and the obstacle or obstacle avoidance path correction is achieved, thereby achieving obstacle avoidance flight around fixed obstacles and moving obstacles.
[0004] Although the existing technology has improved the obstacle avoidance effect to a certain extent, it is unable to track the movement of obstacles, which leads to relatively poor obstacle avoidance effect to a certain extent. For this reason, we propose a three-dimensional space obstacle recognition and dynamic obstacle avoidance method. Summary of the invention
[0005] The purpose of the present invention is to provide a three-dimensional space obstacle recognition and dynamic obstacle avoidance method to solve the problems in the prior art.
[0006] To achieve the above object, the present invention provides the following technical solution: a three-dimensional space obstacle recognition and dynamic obstacle avoidance method, comprising the following steps:
[0007] S1. Environmental perception and data acquisition: Obtain three-dimensional information of the surrounding environment through a variety of sensors and pre-process the acquired sensor data;
[0008] S2. Obstacle detection and identification: Through 3D point cloud processing, clustering algorithms are used to distinguish individual obstacles; deep neural networks are applied to classify images or point clouds to identify static obstacles and dynamic obstacles; contour extraction algorithms are used to identify obstacles of specific shapes, and matching techniques are used to track their movement;
[0009] S3, Dynamic obstacle avoidance planning: Establish a motion model of dynamic obstacles and predict their future positions and trajectories; use a path planning algorithm that adapts to dynamic environments to generate a collision-free path from the starting point to the end point; construct a virtual force field in three-dimensional space to guide the aircraft away from obstacles and move toward the target point;
[0010] S4, Control and Execution: Generate a smooth flight trajectory based on the planned path, and use the controller to ensure that the aircraft can accurately track this trajectory.
[0011] Preferably, it also includes setting multi-level safety thresholds: setting safety distance thresholds for approaching obstacles, and taking different degrees of avoidance measures when the aircraft approaches these thresholds.
[0012] Preferably, the sensors in S1 include RGB-D cameras, laser radars, millimeter-wave radars, and ultrasonic sensors.
[0013] Preferably, the preprocessing of the sensor data includes denoising, calibration and synchronization.
[0014] Preferably, S4 also includes real-time adjustment: continuously monitoring environmental changes during flight, and if encountering new obstacles, quickly replanning the path and adjusting flight parameters.
[0015] Preferably, S4 also includes energy efficiency considerations: when avoiding obstacles and planning paths, the impact of flight altitude and speed factors on energy consumption is comprehensively considered, and the flight strategy is optimized to minimize energy consumption.
[0016] Preferably, the S2 specifically comprises the following steps:
[0017] Label obstacles in each frame of image or point cloud to distinguish between static and dynamic obstacles;
[0018] Perform normalization, cropping, flipping and other enhancement operations on the image to increase data diversity; point clouds need to be voxelized, downsampled, and standardized to make them suitable for the input requirements of the neural network;
[0019] Select appropriate network architectures, including convolutional neural networks, based on task characteristics;
[0020] Divide the data into training, validation and test sets;
[0021] Choose an appropriate loss function and optimizer;
[0022] Train the network on the training set, update the weights via backpropagation, and monitor the performance on the validation set to avoid overfitting;
[0023] Adjust the network structure and learning rate according to the performance of the validation set;
[0024] Evaluate the model on the test set that was not used in the training, and calculate the accuracy and recall;
[0025] The real-time collected image or point cloud data is subjected to the same preprocessing steps as during training; the processed data is input into the trained neural network to obtain the predicted category, i.e., static or dynamic obstacles.
[0026] Preferably, the method used for predicting future position and trajectory is Kalman filtering, particle filtering or a multi-target tracking algorithm.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] 1. Acquire three-dimensional information of the surrounding environment through a variety of sensors, providing a rich data basis for subsequent processing, and preprocessing the acquired sensor data; the preprocessing of sensor data includes denoising, calibration, and synchronization to ensure the accuracy and consistency of the data; thereby ensuring the accuracy of subsequent analysis.
[0029] 2. Apply deep neural networks (such as convolutional neural networks (CNN)) to classify images or point clouds and identify static obstacles (such as walls and trees) and dynamic obstacles (such as pedestrians and vehicles). Use contour extraction algorithms to identify obstacles of specific shapes and track their movement through matching technology. The movement of obstacles can be tracked in real time, thus providing good support for subsequent obstacle avoidance.
[0030] 3. Set multi-level safety thresholds: Set safety distance thresholds for approaching obstacles, and take different degrees of avoidance measures when the aircraft approaches these thresholds; multi-level safety thresholds have a multiple protection effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0032] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention.
[0034] See also Figure 1 In an embodiment of the present invention, a three-dimensional space obstacle recognition and dynamic obstacle avoidance method includes the following steps:
[0035] S1. Environmental perception and data acquisition: Acquire three-dimensional information of the surrounding environment through a variety of sensors, including RGB-D cameras, lidar, millimeter-wave radar, and ultrasonic sensors, providing a rich data foundation for subsequent processing and preprocessing the acquired sensor data; sensor data preprocessing includes denoising, calibration, and synchronization to ensure data accuracy and consistency;
[0036] S2. Obstacle detection and identification: Through 3D point cloud processing, for point cloud data generated by LiDAR, etc., a clustering algorithm is used to distinguish individual obstacles; deep neural networks (such as convolutional neural networks CNN) are applied to classify images or point clouds to identify static obstacles (such as walls, trees) and dynamic obstacles (such as pedestrians, vehicles); contour extraction algorithms are used to identify obstacles of specific shapes, and their movement is tracked through matching technology;
[0037] S3, dynamic obstacle avoidance planning: establish a motion model of dynamic obstacles and predict their future positions and trajectories. The method used to predict the future positions and trajectories is Kalman filtering, particle filtering or multi-target tracking algorithm; use a path planning algorithm that adapts to the dynamic environment to generate a collision-free path from the starting point to the end point; construct a virtual force field in three-dimensional space to guide the aircraft away from obstacles and move toward the target point at the same time;
[0038] S4, control and execution: Generate a smooth flight trajectory based on the planned path, and use a controller (such as PID controller, model predictive controller) to ensure that the aircraft can accurately track this trajectory.
[0039] It also includes setting multi-level safety thresholds: setting safety distance thresholds for approaching obstacles, and taking different degrees of avoidance measures when the aircraft approaches these thresholds.
[0040] The S4 also includes real-time adjustment: continuously monitoring environmental changes during flight, and quickly replanning the path and adjusting flight parameters in case of new obstacles.
[0041] The S4 also includes energy efficiency considerations: when avoiding obstacles and planning paths, the impact of flight altitude and speed factors on energy consumption is comprehensively considered, and the flight strategy is optimized to minimize energy consumption.
[0042] The S2 specifically includes the following steps:
[0043] Label obstacles in each frame of image or point cloud to distinguish between static and dynamic obstacles;
[0044] Perform normalization, cropping, flipping and other enhancement operations on the image to increase data diversity; point clouds need to be voxelized, downsampled, and standardized to make them suitable for the input requirements of the neural network;
[0045] Select appropriate network architectures, including convolutional neural networks, based on task characteristics;
[0046] Divide the data into training, validation and test sets;
[0047] Choose an appropriate loss function and optimizer;
[0048] Train the network on the training set, update the weights via backpropagation, and monitor the performance on the validation set to avoid overfitting;
[0049] Adjust the network structure and learning rate according to the performance of the validation set;
[0050] Evaluate the model on the test set that was not used in the training, and calculate the accuracy and recall;
[0051] The real-time collected image or point cloud data is subjected to the same preprocessing steps as during training; the processed data is input into the trained neural network to obtain the predicted category, i.e., static or dynamic obstacles.
[0052] Working principle:
[0053] Sensor fusion: Combine multiple sensors, such as RGB-D cameras, LiDAR, millimeter-wave radar, ultrasonic sensors, etc., to obtain three-dimensional information of the surrounding environment. This step provides a rich data foundation for subsequent processing.
[0054] Real-time data processing: Pre-process sensor data, including denoising, calibration, synchronization, etc., to ensure data accuracy and consistency.
[0055] 3D point cloud processing: For point cloud data generated by LiDAR, etc., use clustering algorithms (such as DBSCAN) to distinguish individual obstacles.
[0056] Deep learning method: Apply deep neural networks (such as convolutional neural networks (CNN)) to classify images or point clouds and identify static obstacles (such as walls and trees) and dynamic obstacles (such as pedestrians and vehicles).
[0057] Contour extraction and matching: Use contour extraction algorithms to identify obstacles of specific shapes and track their movement through matching techniques.
[0058] Prediction model: Establish a motion model of dynamic obstacles to predict their future position and trajectory. Commonly used methods include Kalman filtering and particle filtering.
[0059] Path Planning: Use path planning algorithms adapted to dynamic environments, such as RRT*, LPA*, or methods based on model predictive control (MPC) to generate a collision-free path from the start point to the end point.
[0060] Potential field method: Construct a virtual force field in three-dimensional space to guide the aircraft away from obstacles and move towards the target point.
[0061] Trajectory generation and tracking: Generate a smooth flight trajectory based on the planned path, and use a controller (such as PID controller, model predictive controller) to ensure that the aircraft can accurately track this trajectory.
[0062] Real-time decision-making and adjustment: Continuously monitor environmental changes during flight, and quickly replan the path and adjust flight parameters if new obstacles appear.
[0063] Energy efficiency considerations: When avoiding obstacles and planning paths, the impact of factors such as flight altitude and speed on energy consumption is comprehensively considered, and the flight strategy is optimized to minimize energy consumption.
[0064] Multi-level safety thresholds: Set safety distance thresholds for approaching obstacles, and take different degrees of avoidance measures when the aircraft approaches these thresholds.
[0065] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method, It is characterized in that The following steps are involved: S1. Environmental perception and data acquisition: Obtain three-dimensional information of the surrounding environment through a variety of sensors and pre-process the acquired sensor data; S2. Obstacle detection and identification: Through 3D point cloud processing, clustering algorithms are used to distinguish individual obstacles; deep neural networks are applied to classify images or point clouds to identify static obstacles and dynamic obstacles; contour extraction algorithms are used to identify obstacles of specific shapes, and matching techniques are used to track their movement; S3, Dynamic obstacle avoidance planning: Establish a motion model of dynamic obstacles and predict their future positions and trajectories; use a path planning algorithm that adapts to dynamic environments to generate a collision-free path from the starting point to the end point; construct a virtual force field in three-dimensional space to guide the aircraft away from obstacles and move toward the target point; S4, Control and Execution: Generate a smooth flight trajectory based on the planned path, and use the controller to ensure that the aircraft can accurately track this trajectory.
2. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1, It is characterized in that It also includes setting multi-level safety thresholds: setting safety distance thresholds for approaching obstacles, and taking different degrees of avoidance measures when the aircraft approaches these thresholds.
3. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1, It is characterized in that The sensors in the S1 include RGB-D camera, laser radar, millimeter wave radar, and ultrasonic sensor.
4. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1 or 3, It is characterized in that The sensor data preprocessing includes denoising, calibration, and synchronization.
5. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1, It is characterized in that The S4 also includes real-time adjustment: continuously monitoring environmental changes during flight, and quickly replanning the path and adjusting flight parameters in case of new obstacles.
6. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1, It is characterized in that The S4 also includes energy efficiency considerations: when avoiding obstacles and planning paths, the impact of flight altitude and speed factors on energy consumption is comprehensively considered, and the flight strategy is optimized to minimize energy consumption.
7. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1, It is characterized in that The S2 specifically includes the following steps: Label obstacles in each frame of image or point cloud to distinguish between static and dynamic obstacles; Perform normalization, cropping, flipping and other enhancement operations on the image to increase data diversity; point clouds need to be voxelized, downsampled, and standardized to make them suitable for the input requirements of the neural network; Select appropriate network architectures, including convolutional neural networks, based on task characteristics; Divide the data into training, validation and test sets; Choose an appropriate loss function and optimizer; Train the network on the training set, update the weights via backpropagation, and monitor the performance on the validation set to avoid overfitting; Adjust the network structure and learning rate according to the performance of the validation set; Evaluate the model on the test set that was not used in the training, and calculate the accuracy and recall; The real-time collected image or point cloud data is subjected to the same preprocessing steps as during training; the processed data is input into the trained neural network to obtain the predicted category, i.e., static or dynamic obstacles.
8. A three-dimensional space obstacle recognition and dynamic obstacle avoidance method according to claim 1, It is characterized in that The method used for predicting future positions and trajectories is Kalman filtering, particle filtering or a multi-target tracking algorithm.
Citation Information
Cited By
Management platform of low-altitude unmanned aerial vehicle
CN118966719A
A management platform for low-altitude drones
CN118966719B
Path obstacle avoidance method based on fuzzy matching camera video stream and probability cloud computing
CN119148727A
Method and system for identifying and monitoring flight environment of low-altitude aircraft based on offshore building
CN119274090A
Self-adaptive unmanned navigation control system for ship
CN119356341A
