Unmanned aerial vehicle autonomous navigation method and system based on deep reinforcement learning

Through the deep reinforcement learning method, a state space and a dynamic reward function containing angle changes are constructed, which solves the problem of insufficient navigation performance of UAVs in complex environments and achieves efficient and safe autonomous navigation.

CN118550320AActive Publication Date: 2024-08-27HARBIN INST OF TECH

Patent Information

Application Number
CN202410557434.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-08-27
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

Existing UAV autonomous navigation training models in complex environments converge slowly, behave too conservatively or aggressively, and fail to effectively consider the dynamic changing trends of agents, resulting in insufficient navigation performance.

Method used

A method based on deep reinforcement learning is used to obtain status information through airborne sensors, construct a state space containing angle changes, design a dynamic reward function, and combine the experience replay pool optimization model to balance exploration and utilization behaviors and improve navigation performance.

Benefits of technology

It realizes the autonomous path planning of UAVs in high-density and highly dynamic environments, improves the navigation success rate and efficiency, and ensures safe flight.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550320A
    Figure CN118550320A
Patent Text Reader

Abstract

The invention discloses an unmanned aerial vehicle autonomous navigation method and system based on deep reinforcement learning, and relates to the field of unmanned aerial vehicle autonomous navigation. The problems that the convergence speed of an unmanned aerial vehicle training model is low, conservative and aggressive behaviors of an unmanned aerial vehicle are balanced and the influence of the dynamic change trend of an intelligent agent on a navigation task is not considered are solved. The method comprises the following steps: acquiring current state information and previous moment state information; constructing a state space of the unmanned aerial vehicle at the current moment according to the state information at the current moment, the state information at the previous moment and the information of the unmanned aerial vehicle at the current moment; obtaining an action space at the current moment; the unmanned aerial vehicle executes expected actions and obtains rewards, and meanwhile, state information at the next moment is updated; constructing a state space of the next moment; taking the state space at the current moment, the action space, the reward and the state space at the next moment as samples to be stored in an experience playback pool; training an unmanned aerial vehicle autonomous navigation model; and executing an autonomous navigation task of the unmanned aerial vehicle according to the trained model. The method is applied to industrial and agricultural fields.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous navigation of unmanned aerial vehicles, and in particular to an autonomous navigation method of unmanned aerial vehicles based on deep reinforcement learning. Background Art

[0002] In recent years, thanks to the rapid development of control algorithms and computing platforms, the research on UAVs has made a series of progress. Due to their high efficiency, portability and economy, UAVs have been promoted and applied in many fields, such as data collection, remote rescue, environmental monitoring and pesticide spraying. In most tasks performed by UAVs, their core role can be defined as flying from the starting point to the target point, and in this process, the UAV can achieve automatic navigation and obstacle avoidance. However, in real scenarios, high-density and high-dynamic working environments such as woods and pedestrians pose great challenges to the autonomous navigation and obstacle avoidance of UAVs, which requires UAVs to effectively identify obstacles and respond in a timely manner. Therefore, how to improve the autonomous navigation capability of UAVs in complex environments and ensure the safe flight of UAVs has become a core issue of concern to scholars and industry.

[0003] The UAV autonomous navigation solution based on deep reinforcement learning has been proven to be effective in many studies, but there are still some problems that need further exploration. They mainly include the following aspects:

[0004] (1) Sparse rewards: When training a model, the agent is rewarded only when it reaches the target point. This usually makes it difficult for the agent to effectively learn the correct behavior strategy during the exploration process, causing the trained model to converge slowly or even fail to converge.

[0005] (2) Exploration and Exploitation: The agent’s exploration means trying new behaviors to discover possible high-reward states, while the exploitation means selecting the current optimal behavior based on known information, which corresponds to the conservative and aggressive behaviors of the drone. How to balance exploration and exploitation requires further research.

[0006] (3) State space: The choice of state space is crucial for deep reinforcement learning models. Most agents make decisions based only on information at the current moment, while ignoring the dynamic changes of the agent (such as the translation and rotation of the drone). Summary of the invention

[0007] The present invention aims at the problem that the UAV training model converges slowly, the UAV's conservative and aggressive behaviors are balanced, and the problem that the dynamic change trend of the intelligent body does not take into account the impact of the navigation task, and proposes a UAV autonomous navigation method based on deep reinforcement learning. The method comprises:

[0008] S1: The drone obtains the current state information and the state information of the previous moment based on the onboard sensors;

[0009] S2: Construct the current state space of the drone based on the current state information, the previous state information, and the drone’s own information at the current moment;

[0010] S3: The drone obtains the action space at the current moment based on the current state space;

[0011] S4: The drone performs the desired action and obtains a reward, while updating the state information for the next moment;

[0012] S5: Repeat steps S1 and S2 to construct the state space at the next moment;

[0013] S6: The current state space, action space, reward, and state space at the next moment are stored as a sample in the experience replay pool for training the UAV autonomous navigation model;

[0014] S7: Repeat steps S1 to S6 to train the autonomous navigation model of the UAV;

[0015] S8: According to the trained UAV autonomous navigation model, repeat the actions from step S1 to step S5 to perform the UAV autonomous navigation task.

[0016] Furthermore, a preferred embodiment is proposed, wherein step S1 comprises:

[0017]

[0018] in, represents the measured value of the i-th laser beam in the lidar at time t, θ i is the angle between the laser beam and the first-person heading of the UAV, and α represents the yaw angle of the UAV.

[0019] Furthermore, a preferred embodiment is proposed, wherein the airborne sensor is a laser radar, and the field of view angle of the laser radar is 4π / 3 and the angular resolution is π / 18.

[0020] Furthermore, a preferred method is proposed, in which the state space of the drone at the current moment in step S2 is:

[0021]

[0022] Among them, s t represents the state space of the UAV at time t, Indicates the drone's own state information, which is determined by the drone's linear speed v lin , angular velocity v yaw , linear acceleration a lin , angular acceleration a yaw, the distance d between the drone and the target ut And the first-person perspective of the drone and the angle β between the drone and the target point, Δο t Indicates the difference between the current state information of the drone and the state information of the previous moment:

[0023]

[0024] in, represents the measured value of the i-th laser beam in the lidar at time t-1, α t-1 represents the yaw angle of the drone at time t-1, α t represents the yaw angle of the drone at time t, Δα t Indicates the difference in the yaw angle of the drone at adjacent moments;

[0025] The state space of the drone contains static and dynamic information of the perceived environment, where the static information represents the observation data at the current moment, and the dynamic information represents the movement trend of the drone relative to obstacles.

[0026] Furthermore, a preferred embodiment is proposed, wherein the method further comprises limiting the actual flight speed of the drone:

[0027] v lin ∈[0,0.5],v yaw ∈[-1,1].

[0028] Furthermore, a preferred method is proposed, in which the reward function in step S4 is expressed as:

[0029] R=r dis +r arr +r cra +r laser +r step +r lin +r yaw

[0030] Among them, r dis represents the distance reward, r arr represents the reward for reaching the goal, r cra represents the reward for colliding with an obstacle, r laser represents the free space reward, r step represents the step reward, r lin represents the linear speed bonus and r yaw Represents the yaw rate bonus.

[0031] Furthermore, a preferred method is proposed, wherein the reward function is specifically:

[0032]

[0033]

[0034]

[0035] and

[0036]

[0037] r laser =-∑ i (1-d i / max(ο)) 4

[0038] r step =-ε3*N step ,and

[0039]

[0040] r lin =-ε4*|a lin |

[0041] r yaw =-ε5*|a yaw |

[0042] Among them, N step represents the number of steps executed by the drone, ε1 to ε5 are positive coefficients, r1 and r2 represent constants set according to the task, and E step Indicates the number of rounds of current training, E max Indicates the maximum number of rounds set.

[0043] Based on the same inventive concept, the present invention also proposes a drone autonomous navigation system based on deep reinforcement learning, the system comprising:

[0044] A state information acquisition unit, used by the UAV to obtain current state information and state information of the previous moment based on the onboard sensor;

[0045] A state space construction unit, used to construct the state space of the drone at the current moment according to the state information at the current moment, the state information at the previous moment and the drone's own information at the current moment;

[0046] An action space acquisition unit is used for the drone to obtain the action space at the current moment based on the current state space;

[0047] The reward unit is used to construct a reward function to encourage the drone to perform the desired action and update the state information at the next moment;

[0048] A loop unit is used to repeat the state information acquisition unit and the state space construction unit to construct the state space at the next moment;

[0049] A storage unit is used to store the current state space, action space, reward, and the next state space as a sample in the experience playback pool for training the UAV autonomous navigation model;

[0050] A training unit, used to repeat the actions of the state information acquisition unit to the storage unit, and train the autonomous navigation model of the UAV;

[0051] The navigation unit is used to repeat the actions of the state information acquisition unit to the state information acquisition unit according to the trained UAV autonomous navigation model to perform the UAV autonomous navigation task.

[0052] Based on the same inventive concept, the present invention also proposes a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes a drone autonomous navigation method based on deep reinforcement learning as described in any one of the above items.

[0053] Based on the same inventive concept, the present invention also proposes a computer-readable storage medium, which is used to store a computer program, and the computer program executes any of the above-mentioned methods for autonomous navigation of a drone based on deep reinforcement learning.

[0054] The present invention is beneficial in that:

[0055] The present invention solves the problems of slow convergence of UAV training models, balancing the conservative and aggressive behaviors of UAVs, and failure to consider the impact of the dynamic change trend of the intelligent body on the navigation task.

[0056] The present invention proposes an autonomous navigation method for unmanned aerial vehicles based on deep reinforcement learning, which realizes autonomous path planning of unmanned aerial vehicles in high-density and high-dynamic environments. First, by analyzing the impact of position changes and angle changes of unmanned aerial vehicles on flight performance in complex flight environments, a state space representation method containing angle change information is proposed. Then, in order to balance the exploration and conservative behavior of the intelligent agent, a dynamic reward function is constructed. Finally, a high-dynamic and high-density simulation environment is built to verify the proposed algorithm. The results show that the proposed algorithm can have the highest navigation success rate and can improve the navigation efficiency of the unmanned aerial vehicle while improving the autonomous navigation performance.

[0057] This paper takes into account the impact of position changes and angle changes of drones on navigation performance in complex scenarios, introduces angle change information as input of the deep reinforcement learning model, and expands ideas for research on navigation algorithms based on lidar.

[0058] The present invention constructs a dynamic reward function based on the non-sparse reward function to balance the conservative behavior and exploratory behavior of the intelligent agent during the model training process, thereby improving the flight efficiency while improving the success rate of drone navigation.

[0059] The invention is applicable to the fields of industry and agriculture. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 This is a flow chart of a method for autonomous navigation of a drone based on deep reinforcement learning as described in implementation mode 1;

[0061] Figure 2 The network structure of the autonomous navigation model of the UAV described in the first embodiment, wherein State represents the state space, Sample represents random sampling, and Action represents the action space;

[0062] Figure 3 This is a schematic diagram of a training scenario according to the eleventh embodiment;

[0063] Figure 4 A schematic diagram of reward convergence curves obtained by training four algorithms according to Implementation Example 11;

[0064] Figure 5 This is a schematic diagram of a high-density test scenario according to the eleventh embodiment, wherein: Figure 5 (a) shows a training scene containing 90 obstacles. Figure 5 (b) shows a training scene containing 120 obstacles. Figure 5 (c) represents a training scene containing 150 obstacles. Figure 5 (d) represents a training scene containing 180 obstacles. Figure 5 (e) represents the training scene containing 210 obstacles;

[0065] Figure 6 is the average flight distance and average number of flight steps in the high-density scenario described in Implementation Example 11, where: Figure 6 (a) shows the average flight distance of the four algorithms when completing tasks in different test scenarios. Figure 6 (b) represents the average flight distance steps of the four algorithms when completing tasks in different test scenarios;

[0066] Figure 7 This is a schematic diagram of a high dynamic test scenario according to the eleventh embodiment;

[0067] Figure 8 is the average flight distance and average number of flight steps in the high dynamic scene described in the eleventh embodiment, wherein: Figure 8(a) shows the average flight distance of the four algorithms when completing tasks in different test scenarios. Figure 8 (b) Represents the average flight distance steps of the four algorithms when completing tasks in different test scenarios. DETAILED DESCRIPTION

[0068] 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 only part of the embodiments of the present invention, not all of the embodiments.

[0069] Implementation method 1, see Figure 1 and Figure 2 The present embodiment describes a method for autonomous navigation of a drone based on deep reinforcement learning, the method comprising:

[0070] S1: The drone obtains the current state information and the state information of the previous moment based on the onboard sensors;

[0071] S2: Construct the current state space of the drone based on the current state information, the previous state information, and the drone’s own information at the current moment;

[0072] S3: The drone obtains the action space at the current moment based on the current state space;

[0073] S4: The drone performs the desired action and obtains a reward, while updating the state information for the next moment;

[0074] S5: Repeat steps S1 and S2 to construct the state space at the next moment;

[0075] S6: The current state space, action space, reward, and state space at the next moment are stored as a sample in the experience replay pool for training the UAV autonomous navigation model;

[0076] S7: Repeat steps S1 to S6 to train the autonomous navigation model of the UAV;

[0077] S8: According to the trained UAV autonomous navigation model, repeat the actions from step S1 to step S5 to perform the UAV autonomous navigation task.

[0078] The method of autonomous navigation of a drone based on deep reinforcement learning proposed in this embodiment enables the drone to learn from experience and continuously optimize the autonomous navigation model by using deep reinforcement learning, thereby accelerating the training convergence speed. By constructing a reward function, the drone is encouraged to perform the desired action while avoiding overly conservative or radical behavior, so that the drone can complete the navigation task more effectively under the premise of ensuring safety. The dynamic change trend of the intelligent agent of the drone may be different in different environments and tasks. Through the experience replay pool and the continuously updated state space, the drone can adapt to different environments and tasks, and continuously optimize the autonomous navigation model to adapt to the trend of dynamic changes. The method proposed in this embodiment is based on the idea of ​​deep reinforcement learning. The drone continuously learns through interaction with the environment and optimizes the autonomous navigation model according to the guidance of the reward function. Through the experience replay pool, the drone can reuse previous experience, thereby improving learning efficiency and model stability. Finally, the drone can complete the navigation task efficiently and safely in different environments according to the trained autonomous navigation model.

[0079] This embodiment proposes a method for autonomous navigation of unmanned aerial vehicles based on deep reinforcement learning, which realizes autonomous path planning of unmanned aerial vehicles in high-density and high-dynamic environments. First, by analyzing the impact of position changes and angle changes of unmanned aerial vehicles on flight performance in complex flight environments, a state space representation method containing angle change information is proposed. Then, in order to balance the exploration and conservative behavior of the intelligent agent, a dynamic reward function is constructed. Finally, a high-dynamic and high-density simulation environment is built to verify the proposed algorithm. The results show that the proposed algorithm can have the highest navigation success rate and can improve the navigation efficiency of the unmanned aerial vehicle while improving the autonomous navigation performance.

[0080] Implementation method 2: This implementation method further limits the autonomous navigation method of a drone based on deep reinforcement learning described in implementation method 1, and step S1 includes:

[0081]

[0082] in, represents the measured value of the i-th laser beam in the lidar at time t, θ i is the angle between the laser beam and the first-person heading of the UAV, and α represents the yaw angle of the UAV.

[0083] This embodiment obtains the current state information and the state information of the previous moment through the airborne sensors, including the measurement value of the laser radar and the yaw angle of the drone, etc., which can provide more accurate and comprehensive state information, helping the drone to perceive the surrounding environment more accurately. The state of the drone is comprehensively considered using a variety of sensor information, such as laser radar and yaw angle. Such comprehensive information acquisition helps to improve the drone's ability to perceive the environment, thereby improving the accuracy and reliability of autonomous navigation. The drone can obtain and process the information of the airborne sensors in real time, ensuring the timeliness and continuity of the state information, allowing the drone to respond quickly in a dynamic environment, thereby enhancing the real-time and flexibility of autonomous navigation. Obtaining more accurate and comprehensive state information helps to establish a more accurate state space, thereby providing a more reliable data basis for the training of deep reinforcement learning models, accelerating the convergence speed of the model and improving performance.

[0084] Implementation method three: This implementation method is a further limitation of the drone autonomous navigation method based on deep reinforcement learning described in implementation method two. The onboard sensor is a laser radar, and the field of view angle of the laser radar is 4π / 3 and the angular resolution is π / 18.

[0085] In this embodiment, laser radar is used as an airborne sensor to provide more accurate and high-resolution environmental perception data. Laser radar can obtain obstacle information in the environment in real time at different distances and directions, thereby providing the drone with more comprehensive and accurate status information, which helps to improve the accuracy and safety of autonomous navigation.

[0086] The field of view of the laser radar in this embodiment is 4π / 3 and the angular resolution is π / 18, which means that the laser radar can cover a wider range and has a higher angular resolution. Such an optimized design enables the drone to perceive the surrounding environment more comprehensively, accurately identify the location and shape of obstacles, and improve the safety and reliability of navigation. Furthermore, the high resolution and wide field of view of the laser radar enable the drone to adapt to complex and changing environments, including different terrains and climatic conditions such as urban areas, forests, and mountainous areas. This enables the drone to perform effective autonomous navigation and complete various tasks in a variety of challenging environments.

[0087] Implementation method 4: This implementation method is a further limitation of the autonomous navigation method of a drone based on deep reinforcement learning described in implementation method 2. In step S2, the state space of the drone at the current moment is:

[0088]

[0089] Among them, s t represents the state space of the UAV at time t, Indicates the drone's own state information, which is determined by the drone's linear speed v lin , angular velocity v yaw , linear acceleration a lin , angular acceleration a yaw , the distance d between the drone and the target ut And the first-person perspective of the drone and the angle β between the drone and the target point, Δο t Indicates the difference between the current state information of the drone and the state information of the previous moment:

[0090]

[0091] in, represents the measured value of the i-th laser beam in the lidar at time t-1, α t-1 represents the yaw angle of the drone at time t-1, α t represents the yaw angle of the drone at time t, Δα t Indicates the difference in the yaw angle of the drone at adjacent moments;

[0092] The state space of the drone contains static and dynamic information of the perceived environment, where the static information represents the observation data at the current moment, and the dynamic information represents the movement trend of the drone relative to obstacles.

[0093] By combining the drone's own state information with the lidar's measurements, a more comprehensive and complete state space is formed. This comprehensive design can better reflect the drone's current environmental perception and its own motion state, providing richer and more accurate input data for the deep reinforcement learning model, thereby improving the accuracy and stability of navigation.

[0094] By taking the motion trend of the drone relative to obstacles as part of the state space, the model can better understand the motion of obstacles in the environment, so as to better plan the path and respond. This design that considers dynamic information enables the drone to respond to complex environmental changes more flexibly and improves the robustness and adaptability of navigation.

[0095] By using the difference between the current state information and the previous state information to represent the state space of the drone, the model can more easily capture the changes and trends between states, thereby improving the efficiency and performance of the model.

[0096] Combining static and dynamic information of the perceived environment enables the drone to understand the environment more comprehensively and make corresponding navigation decisions. Static information provides environmental observation data at the current moment, while dynamic information provides the movement trend of obstacles. The combination of the two can help the drone better plan the path, avoid collisions and fly safely.

[0097] Implementation mode 5: This implementation mode further limits the autonomous navigation method of a drone based on deep reinforcement learning described in Implementation mode 4. The method further includes limiting the actual flight speed of the drone:

[0098] v lin ∈[0,0.5],v yaw ∈[-1,1].

[0099] This embodiment can ensure that the drone maintains a safe speed range during navigation by limiting the actual flight speed of the drone. This limitation can effectively reduce the risk during flight, reduce the occurrence of accidental collisions or emergencies, and thus improve the safety of navigation.

[0100] Implementation 6: This implementation is a further limitation of the UAV autonomous navigation method based on deep reinforcement learning described in Implementation 1. The reward function in step S4 is expressed as:

[0101] R=r dis +r arr +r cra

[0102] +r laser +r step +r lin +r yaw

[0103] Among them, r dis represents the distance reward, r arr represents the reward for reaching the goal, r cra represents the reward for colliding with an obstacle, r laser represents the free space reward, r step represents the step reward, r lin represents the linear speed bonus and r yaw Represents the yaw rate bonus.

[0104] This embodiment can effectively guide the drone to learn a good navigation strategy by designing a reward function. Distance reward, target reaching reward and free space reward can encourage the drone to maintain a suitable distance from the target, successfully reach the target and choose a safe and collision-free flight path as much as possible, thereby improving navigation efficiency and safety. The reward function includes a penalty term for collision with obstacles, which helps the drone avoid collision with obstacles and ensure flight safety. By punishing collision behavior, the drone will tend to choose a path that avoids obstacles, thereby reducing the occurrence of accidental collisions. This reward function covers rewards and penalties in multiple aspects, including distance, speed, yaw angular velocity, etc., and can comprehensively guide the drone to learn effective navigation strategies. This multi-dimensional reward design enables the drone to learn a more comprehensive and robust navigation strategy to adapt to different environments and task requirements. The introduction of step rewards and linear speed rewards helps to improve learning efficiency and the accuracy of speed control. Step rewards can encourage the drone to reach the target as quickly as possible, while linear speed rewards help control the flight speed of the drone to avoid flying too fast or too slow.

[0105] Implementation method 7: This implementation method is a further limitation of the drone autonomous navigation method based on deep reinforcement learning described in implementation method 6, and the reward is specifically:

[0106] and

[0107]

[0108]

[0109] and

[0110]

[0111] r laser =-∑ i (1-d i / max(ο)) 4

[0112] r step =-ε3*N step ,and

[0113]

[0114] r lin =-ε4*|a lin |

[0115] r yaw =-ε5*|a yaw |

[0116] Among them, N step represents the number of steps executed by the drone, ε1 to ε5 are positive coefficients, r1 and r2 represent constants set according to the task, and E step Indicates the number of rounds of current training, E max Indicates the maximum number of rounds set.

[0117] The main function of the reward function is to convey the goal to the agent, that is, to maximize the expected value of the probability of the cumulative sum of the scalar reward signals received by the agent. The design of the reward function directly determines the performance evaluation of the agent in a specific action, which in turn affects the performance and convergence speed of the reinforcement learning algorithm. This implementation method constructs a dynamic reward function based on the non-sparse reward function to balance the conservative behavior and exploratory behavior of the agent during the model training process, thereby improving the flight efficiency while improving the success rate of drone navigation.

[0118] Embodiment 8: A drone autonomous navigation system based on deep reinforcement learning described in this embodiment, the system includes:

[0119] A state information acquisition unit, used by the UAV to obtain current state information and state information of the previous moment based on the onboard sensor;

[0120] A state space construction unit, used to construct the state space of the drone at the current moment according to the state information at the current moment, the state information at the previous moment and the drone's own information at the current moment;

[0121] An action space acquisition unit is used for the drone to obtain the action space at the current moment based on the current state space;

[0122] The reward unit is used to construct a reward function to encourage the drone to perform the desired action and update the state information at the next moment;

[0123] A loop unit is used to repeat the state information acquisition unit and the state space construction unit to construct the state space at the next moment;

[0124] A storage unit is used to store the current state space, action space, reward, and the next state space as a sample in the experience playback pool for training the UAV autonomous navigation model;

[0125] A training unit, used to repeat the actions of the state information acquisition unit to the storage unit, and train the autonomous navigation model of the UAV;

[0126] The navigation unit is used to repeat the actions of the state information acquisition unit to the state information acquisition unit according to the trained UAV autonomous navigation model to perform the UAV autonomous navigation task.

[0127] Implementation method 9. A computer device described in this implementation method includes a memory and a processor, wherein a computer program is stored in the memory. When the processor runs the computer program stored in the memory, the processor executes a drone autonomous navigation method based on deep reinforcement learning as described in any one of implementation methods 1 to 7.

[0128] Implementation method ten, a computer-readable storage medium described in this implementation method, wherein the computer-readable storage medium is used to store a computer program, and the computer program executes a drone autonomous navigation method based on deep reinforcement learning as described in any one of implementation methods one to seven.

[0129] Implementation Method 11: See Figures 3 to 8 This embodiment provides a specific example of the method for autonomous navigation of a drone based on deep reinforcement learning described in the first embodiment, and is also used to explain the second to seventh embodiments, specifically:

[0130] In order to verify the method proposed in this paper, a simulation scene with high density and high dynamic obstacles was constructed based on Gazebo. Figure 3 As shown in the figure, there are 150 obstacles in a 20×20 rectangular field. In each training episode, the coordinates of all obstacles are randomly generated, and the target point is randomly selected from a, b, c, and d. The flight mission of the drone is defined as flying from the origin to the target point within a specified number of steps. The criteria for the end of each training episode include reaching the target point, encountering an obstacle, and the drone neither reaching the target nor colliding within the maximum number of steps.

[0131] In order to verify the advantages of the method proposed in this invention, DDPG, TD3 and SAC algorithms are used for comparison. In addition, in order to objectively evaluate the performance of the algorithm, the following five quantitative indicators are selected to measure the completion of the task:

[0132] (1) Success rate R s : The ratio of the number of times the drone completes the navigation task to the total number of tests;

[0133] (2) Collision rate R c : The ratio of the number of times the drone encounters obstacles to the total number of tests;

[0134] (3) Loss rate R l : The ratio of the number of times the drone neither reaches the target point nor collides within the specified number of steps to the total number of attempts;

[0135] (4) Average flight distance L dis : The average flight distance when the UAV successfully completes the mission;

[0136] (5) Average number of flight steps N step : The average number of steps required for a drone to successfully complete a mission.

[0137] Among the above indicators, R s The larger it is, the better the autonomous navigation performance of the drone. dis and N step The smaller it is, the more efficient the drone can fly.

[0138] In such Figure 3 In the training scenario shown in the figure, the method proposed in the present invention and three comparison algorithms (DDPG, TD3, SAC) are trained. For objective comparison, the hyperparameters and training settings of the four algorithms are kept consistent. In the reward function, r1=200, r2=300, E max =400. The cumulative rewards of different algorithms vary with the number of training sets. Figure 4 As shown, all the data in the figure have been smoothed.

[0139] according to Figure 4 As shown in the figure, the proposed method has a faster convergence speed and higher reward than the other three algorithms, among which the proposed method starts to converge around the 150th episode, SAC and DDPG start to converge around the 200th episode, and TD3 starts to converge around the 300th episode and has the lowest reward. Therefore, the training results show that the proposed method has better convergence.

[0140] In order to verify the effectiveness of the proposed algorithm, the proposed UAV autonomous navigation model is tested in simulation scenarios with different numbers of obstacles. Figure 5 As shown in the figure, there are five scenarios with different numbers of obstacles. The drones based on the four algorithms perform 100 navigation tasks in five scenarios with different obstacle densities. Similar to the training process, the position of the obstacles is randomly regenerated and the target point is reselected after each flight mission.

[0141] The navigation success rate, collision rate and loss rate of the four algorithms under different obstacle densities are shown in Table 1. It can be seen from the table that the method proposed in the present invention achieved the highest success rate and the lowest collision rate in all five scenarios, and the navigation performance of the SAC algorithm is better than that of DDPG and TD3. Due to the high obstacle density in the experimental scenario, only DDPG experienced flight loss. Comparing the experimental results of scenario 1 and scenario 5, it can be seen that with the substantial increase in obstacle density, the success rate of our algorithm only decreased by 18%, while the success rates of the other three algorithms decreased by 28%, 48% and 29% respectively, which further demonstrates the stability of the method proposed in the present invention.

[0142] Table 1 Experimental results under different density scenarios

[0143]

[0144] Based on the flight trajectory data, the average flight distance and average number of flight steps of all completed navigation task experiments are calculated as follows: Figure 6 shown.

[0145] according to Figure 6 (a) It can be seen that the method proposed in the present invention has the shortest average flight distance in scenes 2 and 3, and has an average flight distance that is only greater than SAC in scenes 1 and 5. Figure 6 (b), the method proposed in the present invention requires the least average number of flight steps in all five scenarios. Therefore, based on the above analysis, it can be seen that compared with the other three classic algorithms, the method proposed in the present invention not only has the highest navigation success rate and stability but also has the best flight efficiency in a high-density flight environment.

[0146] In order to further verify the performance of the trained algorithm, we constructed Figure 7 The high dynamic test scene is shown. As shown in the figure, the starting coordinates of the drone are [0, -7], the target coordinates are [0, 7], and the flight mission of the drone is defined as autonomous flight from the starting point to the target point. During each test, 30 obstacles are randomly generated in the middle area between the starting point and the target point. The movement direction of the obstacles is marked by the arrows in the figure. After reaching the edge of the field, the obstacles will continue to move in the opposite direction until the end of this test. The movement speed of the obstacles is set to 0.01m / s, 0.05m / s, 0.1m / s, 0.15m / s and 0.2m / s respectively. Each group of experiments is carried out 100 times, and the position of the obstacles will be regenerated after each test.

[0147] The experimental results of all algorithms in five dynamic scenes are shown in Table 2. It can be seen from Table 2 that the method proposed in the present invention achieves the highest navigation success rate and the lowest collision rate in the tests under different obstacle movement speeds, and there is no flight loss, which shows the effectiveness of the method proposed in the present invention in high dynamic scenes. In comparison, the other three algorithms all experienced flight loss, among which the loss rates of SAC and DDPG were relatively high. It should be noted that as the obstacle movement speed increases, the difficulty of the drone avoiding obstacles increases sharply, resulting in a significant reduction in the success rate of all algorithms.

[0148] Table 2 Experimental results under different dynamic scenes

[0149]

[0150] Based on the flight trajectory of the drone, the average flight distance and average number of flight steps of the drone in the dynamic scene are calculated. Figure 8 shown.

[0151] from Figure 8 It can be seen that the method proposed in the present invention has the shortest average flight distance and the least average number of flight steps in all five dynamic flight scenes. Figure 8 It shows that the proposed algorithm not only has a higher navigation success rate but also has the highest navigation efficiency when facing a highly dynamic flight environment, enabling the UAV to achieve autonomous navigation quickly and accurately.

[0152] The present invention proposes a method for autonomous navigation of unmanned aerial vehicles based on deep reinforcement learning, which realizes autonomous path planning of unmanned aerial vehicles in high-density and high-dynamic environments. First, by analyzing the influence of position changes and angle changes of unmanned aerial vehicles on flight performance in complex flight environments, a state space representation method containing angle change information is proposed. Then, a dynamic reward function is constructed to balance the exploration and conservative behavior of the intelligent agent. Finally, a high-dynamic and high-density simulation environment is built to verify the proposed method. The results show that the proposed algorithm can have the highest navigation success rate and can improve the navigation efficiency of the unmanned aerial vehicle while improving the autonomous navigation performance.

[0153] Although the preferred embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.

[0154] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

[0155] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0156] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0157] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure rather than to limit its protection scope. Although the present disclosure has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present disclosure, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the disclosed claims to be approved.

Claims

1. A method for autonomous navigation of unmanned aerial vehicles based on deep reinforcement learning, characterized in that: The method comprises: S1: The drone obtains the current state information and the state information of the previous moment based on the onboard sensors; S2: Construct the current state space of the drone based on the current state information, the previous state information, and the drone’s own information at the current moment; S3: The drone obtains the action space at the current moment based on the current state space; S4: The drone performs the desired action and obtains a reward, while updating the state information for the next moment; S5: Repeat steps S1 and S2 to construct the state space at the next moment; S6: The current state space, action space, reward, and state space at the next moment are stored as a sample in the experience replay pool for training the UAV autonomous navigation model; S7: Repeat steps S1 to S6 to train the autonomous navigation model of the UAV; S8: According to the trained UAV autonomous navigation model, repeat the actions from step S1 to step S5 to perform the UAV autonomous navigation task.

2. The method for autonomous navigation of a drone based on deep reinforcement learning according to claim 1, characterized in that: The step S1 comprises: in, represents the measured value of the i-th laser beam in the lidar at time t, θ i is the angle between the laser beam and the first-person heading of the UAV, and α represents the yaw angle of the UAV.

3. The method for autonomous navigation of a drone based on deep reinforcement learning according to claim 2, characterized in that: The airborne sensor is a laser radar, and the field of view of the laser radar is 4π / 3 and the angular resolution is π / 18.

4. The method for autonomous navigation of a drone based on deep reinforcement learning according to claim 2, characterized in that: The state space of the drone at the current moment in step S2 is: Among them, s t represents the state space of the UAV at time t, Indicates the drone's own state information, which is determined by the drone's linear speed v lin , angular velocity v yaw , linear acceleration a lin , angular acceleration a yaw , the distance d between the drone and the target ut And the first-person perspective of the drone and the angle β between the drone and the target point, Δο t Indicates the difference between the current state information of the drone and the state information of the previous moment: in, represents the measured value of the i-th laser beam in the lidar at time t-1, α t-1 represents the yaw angle of the drone at time t-1, α t represents the yaw angle of the drone at time t, Δα t Indicates the difference in the yaw angle of the drone at adjacent moments; The state space of the drone contains static and dynamic information of the perceived environment, where the static information represents the observation data at the current moment, and the dynamic information represents the movement trend of the drone relative to obstacles.

5. The method for autonomous navigation of a drone based on deep reinforcement learning according to claim 4, characterized in that: The method also includes limiting the actual flight speed of the drone: v lin ∈[0,0.5],v yaw ∈[-1,1]。 6. The method for autonomous navigation of a drone based on deep reinforcement learning according to claim 1, characterized in that: The reward function in step S4 is expressed as: R=r dis +r arr +r cra +r laser +r step +r lin +r yaw Among them, r dis represents the distance reward, r arr represents the reward for reaching the goal, r cra represents the reward for colliding with an obstacle, r laser represents the free space reward, r step represents the step reward, r lin represents the linear speed bonus and r yaw Represents the yaw rate bonus.

7. The method for autonomous navigation of a drone based on deep reinforcement learning according to claim 6, characterized in that: The reward function is specifically: and and r laser =-∑ i (1-d i / max(o)) 4 r step =-ε3*N step ,and r lin =-ε4*|a lin | r yaw =-ε5*|a yaw | Among them, N step represents the number of steps executed by the drone, ε1 to ε5 are positive coefficients, r1 and r2 represent constants set according to the task, and E step Indicates the number of rounds of current training, E max Indicates the maximum number of rounds set.

8. An autonomous navigation system for unmanned aerial vehicles based on deep reinforcement learning, characterized in that: The system comprises: A state information acquisition unit, used by the UAV to obtain current state information and state information of the previous moment based on the onboard sensor; A state space construction unit, used to construct the state space of the drone at the current moment according to the state information at the current moment, the state information at the previous moment and the drone's own information at the current moment; An action space acquisition unit is used for the drone to obtain the action space at the current moment based on the current state space; The reward unit is used to construct a reward function to encourage the drone to perform the desired action and update the state information at the next moment; A loop unit is used to repeat the state information acquisition unit and the state space construction unit to construct the state space at the next moment; A storage unit is used to store the current state space, action space, reward, and the next state space as a sample in the experience playback pool for training the UAV autonomous navigation model; A training unit, used to repeat the actions of the state information acquisition unit to the storage unit, and train the autonomous navigation model of the UAV; The navigation unit is used to repeat the actions of the state information acquisition unit to the state information acquisition unit according to the trained UAV autonomous navigation model to perform the UAV autonomous navigation task.

9. A computer device, characterized in that: It includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes a method for autonomous navigation of a drone based on deep reinforcement learning as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program executes the drone autonomous navigation method based on deep reinforcement learning as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Unmanned aerial vehicle motion planning method and system based on deep reinforcement learning

    CN115826621A

  • Unmanned aerial vehicle relay navigation method based on deep reinforcement learning

    CN116817909A

  • Unmanned aerial vehicle navigation method based on deep reinforcement learning and PID controller

    CN117387635A

Cited By

  • Unmanned vehicle assisted information age minimization unmanned aerial vehicle path planning method

    CN119847208A

  • Unmanned cleaning robot motion planning method and device based on deep reinforcement learning

    CN120779955A

  • Unmanned aerial vehicle autonomous navigation obstacle avoidance method facing real-time strong noise interference

    CN121185306A

  • An Autonomous Navigation and Obstacle Avoidance Method for Unmanned Aerial Vehicles in the Face of Real-Time Strong Noise Interference

    CN121185306B

  • Multi-mode cooperation method and system based on autonomous target tracking of unmanned aerial vehicle in complex environment

    CN122199606A