Lightweight UAV environment perception method based on complex scenes

By building a target type recognition model and path adjustment, the problem of untimely avoidance of UAVs in complex environments is solved, safe avoidance and energy efficiency are improved, ensuring that UAVs can effectively complete tasks in complex environments.

CN118485938BActive Publication Date: 2024-10-01ANHUI JIYUAN SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410947078.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-01
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

When UAVs encounter complex obstacles in the flight environment, the existing perception methods are not intelligent enough, resulting in untimely avoidance and affecting mission execution.

Method used

Adopting a lightweight UAV environment perception method based on complex scenarios, building a target type recognition model through satellite positioning and big data, identifying static and dynamic targets, calculating safe avoidance distances, and adjusting path planning to ensure that the UAV can operate in complex environments Stay safe.

Benefits of technology

It realizes classified path planning for various obstacles, reserves a safe distance to avoid collisions, and reduces energy loss, ensuring that the drone can complete more tasks with limited power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485938B_ABST
    Figure CN118485938B_ABST
Patent Text Reader

Abstract

The present invention discloses a lightweight UAV environment perception method based on complex scenes, which relates to the field of UAV application technology, including: obtaining at least one monitoring target; forming a preliminary planning path of the UAV; constructing a target type recognition model; obtaining static targets and dynamic targets, obtaining moving dynamic targets and non-moving dynamic targets; forming a static restriction area of ​​the path of the UAV; obtaining a safe avoidance distance of the UAV; obtaining a secondary planning path; obtaining the moving trajectory of the dynamic target; forming a dynamic restriction area of ​​the path; and obtaining a final planning path. By constructing a target type recognition model, calculating the safe avoidance distance of the UAV, performing different path planning, and considering the situation where a movable obstacle suddenly changes its path, a safe distance is reserved for this situation, so that the emergency avoidance of the obstacle by the UAV can be guaranteed in any situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of unmanned aerial vehicle (UAV) application technology, and in particular to a lightweight UAV environment perception method based on complex scenarios. Background Art

[0002] There are many technical means for drones to avoid obstacles. The main means of drone obstacle avoidance include binocular vision, laser radar, and multiple drones' GPS position communication sharing. The obstacle avoidance process of drones can mainly include manual and automatic solutions. The manual solution is to use a remote control to manually control the drone to complete the obstacle avoidance process, and the automatic solution is based on the real-time GPS positioning information of the drone and the obstacles in the environment to control the drone to avoid obstacles.

[0003] The UAV flight environment is complex, and obstacles cause many interferences to UAVs. The existing UAV perception methods lack intelligence and are prone to insufficient judgment, resulting in the UAV's failure to avoid obstacles in a timely manner, which will affect the UAV's mission execution. Summary of the invention

[0004] In order to solve the above technical problems, a lightweight UAV environment perception method based on complex scenarios is provided. This technical solution solves the problems raised in the above background technology that the UAV flight environment is complex, obstacles cause interference to the UAV in various situations, and the existing UAV perception methods are not intelligent enough, which can easily lead to insufficient judgment, resulting in the UAV failing to avoid in time, which will affect the UAV's mission execution.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] Lightweight UAV environment perception method based on complex scenes, including:

[0007] Obtaining the execution mission of the UAV, and obtaining at least one monitoring target based on the execution mission of the UAV;

[0008] Using satellite positioning services, forming a preliminary planned path for the UAV based on at least one monitoring target;

[0009] Build a target category recognition model based on big data;

[0010] Perform environmental recognition to obtain static targets and dynamic targets, classify dynamic targets to obtain moving dynamic targets and non-moving dynamic targets;

[0011] Based on the static target, a static restricted area of ​​the drone's path is formed;

[0012] Based on the reaction time of the UAV and the acceleration data of the dynamic target, the safe avoidance distance of the UAV is obtained;

[0013] Based on the static restriction area of ​​the path, the preliminary planned path is adjusted to obtain the secondary planned path;

[0014] Estimate the position of the dynamic target and obtain the moving trajectory of the dynamic target;

[0015] Based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target, a dynamic restricted area of ​​the path is formed;

[0016] Based on the dynamic restricted area of ​​the path, the secondary planning path is adjusted to obtain the final planning path.

[0017] Preferably, forming a preliminary planned path of the UAV based on at least one monitoring target comprises the following steps:

[0018] Use satellite positioning services to obtain the positioning coordinates of the monitoring target;

[0019] Based on the positioning coordinates of the adjacent monitoring targets, a segmented path is formed between the adjacent monitoring targets, and the segmented path is a path with the shortest distance between the adjacent monitoring targets;

[0020] At least one segmented path is merged in sequence to obtain a preliminary planned path.

[0021] Preferably, the construction of the target type recognition model based on big data comprises the following steps:

[0022] Based on big data, obtain the name of at least one obstacle target encountered by the drone during flight;

[0023] Obtain at least one obstacle target corresponding to the obstacle target name, and summarize them into obstacle target categories, wherein the obstacle target categories are paired with the obstacle target names;

[0024] Acquire at least one obstacle target image of the obstacle target at different shooting angles and different shooting distances, and summarize them into an obstacle target image package, wherein the obstacle target image package is paired with the obstacle target;

[0025] At least one obstacle target classification and obstacle target image packages corresponding to the obstacle targets in the obstacle target classification are aggregated to obtain an object category recognition model.

[0026] Preferably, the process of performing environment recognition to obtain static targets and dynamic targets includes the following steps:

[0027] The UAV acquires a three-dimensional image of the front during the moving process to obtain at least one three-dimensional image of the environment, and the time interval between the acquisitions of adjacent three-dimensional images of the environment is a preset time;

[0028] Acquire at least one suspicious target whose distance from the initial planned path of the UAV is less than a preset distance in the three-dimensional image of the environment;

[0029] In at least one three-dimensional image of the environment, obtaining a change distance of a suspicious target, obtaining a moving time corresponding to the change distance of the suspicious target, and calculating a relative change speed of the suspicious target;

[0030] Obtain the real-time moving speed of the UAV, and subtract the real-time moving speed from the relative changing speed of the suspicious target to obtain the actual changing speed of the suspicious target;

[0031] Determine whether the actual change speed is 0. If not, the suspicious target is a dynamic target;

[0032] If yes, the suspicious target is identified based on the target type recognition model, and an obstacle target image consistent with the suspicious target is obtained as a characteristic obstacle target image;

[0033] Obtain the obstacle target corresponding to the obstacle target image package where the characteristic obstacle target image is located as the characteristic obstacle target;

[0034] Obtain the name of the obstacle target corresponding to the obstacle target category where the characteristic obstacle target is located as the characteristic obstacle target name;

[0035] When the object represented by the characteristic obstacle target name is immovable, the suspicious target is a static target;

[0036] When the object represented by the characteristic obstacle target name is movable, the suspicious target is a dynamic target.

[0037] Preferably, the classifying of dynamic targets to obtain moving dynamic targets and non-moving dynamic targets comprises the following steps:

[0038] When the actual change speed of the dynamic target is 0, the dynamic target is a non-moving dynamic target;

[0039] When the actual change speed of the dynamic target is not 0, the dynamic target is a moving dynamic target.

[0040] Preferably, the forming of the static restricted area of ​​the path of the UAV based on the static target comprises the following steps:

[0041] The areas with distances to static targets less than a preset value are aggregated to form a static restricted area for the drone’s path.

[0042] Preferably, obtaining the safe avoidance distance of the drone based on the reaction time of the drone and the acceleration data of the dynamic target comprises the following steps:

[0043] Get the drone’s reaction time;

[0044] Based on the target type recognition model, the obstacle target name corresponding to the dynamic target is identified as the calibrated obstacle target name;

[0045] Based on big data, the instantaneous acceleration of the object represented by the calibrated obstacle target name is obtained;

[0046] The safe avoidance distance of the drone is obtained by multiplying the instantaneous acceleration of the object represented by the calibrated obstacle target name and the reaction time of the drone at a preset multiple.

[0047] Preferably, the adjusting the preliminary planned path to obtain the secondary planned path comprises the following steps:

[0048] Obtain at least one point where the preliminary planned path intersects with the static restricted area of ​​the path as a first avoidance point;

[0049] At least one first avoidance point divides the preliminary planned path into at least one first breakpoint path;

[0050] The first breakpoint path overlapping with the path static restriction area is used as the first path to be replaced;

[0051] The first breakpoint path that does not overlap with the static restriction area of ​​the path is used as the first non-replacement path;

[0052] generating at least one first replaceable path at both ends of the first path to be replaced, wherein the first replaceable path does not intersect with the path static restriction area;

[0053] Selecting the shortest of at least one first replaceable path generated by the first to-be-replaced path as the first target replaceable path;

[0054] The first target replaceable path is used to replace the first to-be-replaced path in the preliminary planned path to obtain a secondary planned path.

[0055] Preferably, the forming of the path dynamic restriction area based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target comprises the following steps:

[0056] Identify whether a dynamic target is moving;

[0057] When the dynamic target is a moving dynamic target, obtaining a moving area of ​​the moving dynamic target;

[0058] Obtain the safe avoidance distance of the UAV corresponding to the moving dynamic target as the characteristic safe avoidance distance;

[0059] The area whose distance from the moving area of ​​the moving dynamic target is less than the characteristic safe avoidance distance is regarded as the path dynamic restriction area;

[0060] When the dynamic target is a non-moving dynamic target, the area whose distance to the non-moving dynamic target is less than the characteristic safe avoidance distance is used as the path dynamic restriction area.

[0061] Preferably, the adjusting the secondary planning path to obtain the final planning path comprises the following steps:

[0062] Obtaining at least one point where the secondary planning path intersects with the path dynamic restriction area as a second avoidance point;

[0063] At least one second avoidance point divides the secondary planning path into at least one second breakpoint path;

[0064] Using the second breakpoint path overlapping with the path dynamic restriction area as the second path to be replaced;

[0065] Using a second breakpoint path that does not overlap with the path dynamic restriction area as a second non-replacement path;

[0066] generating at least one second replaceable path at both ends of the second path to be replaced, wherein the second replaceable path does not intersect with the path dynamic restriction area;

[0067] Selecting the shortest of at least one second replaceable path generated by the second to-be-replaced path as the second target replaceable path;

[0068] The second target replaceable path is used to replace the second to-be-replaced path in the secondary planned path to obtain a final planned path.

[0069] Compared with the prior art, the present invention has the following beneficial effects:

[0070] By constructing a target type recognition model, calculating the safe avoidance distance of the UAV, and adjusting the secondary planning path to obtain the final planning path, various obstacles in the UAV's moving environment can be classified, and different path planning can be performed according to different classifications. In addition, considering the situation where the movable obstacle suddenly changes its path, a safe distance is reserved for this situation, so that the UAV can ensure emergency avoidance of obstacles under any circumstances. At the same time, the UAV's route will not collide with obstacles. Moreover, the path planned by this method is the shortest path allowed by the conditions, which can reduce the energy loss of the UAV, and the UAV can complete more tasks with limited power. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 It is a schematic diagram of the process of the lightweight UAV environment perception method based on complex scenes of the present invention;

[0072] Figure 2A schematic diagram of a process flow of forming a preliminary planning path of a UAV based on at least one monitoring target according to the present invention;

[0073] Figure 3 This is a schematic diagram of the process of building a target type recognition model based on big data in the present invention;

[0074] Figure 4 A schematic diagram of a process flow of obtaining static targets and dynamic targets for environment recognition of the present invention;

[0075] Figure 5 A schematic diagram of a process of classifying dynamic targets to obtain moving dynamic targets and non-moving dynamic targets according to the present invention;

[0076] Figure 6 This is a schematic diagram of a process for obtaining a safe avoidance distance of a UAV based on the reaction time of the UAV and the acceleration data of a dynamic target of the present invention;

[0077] Figure 7 The schematic diagram of the process flow of the secondary planning path is obtained by adjusting the preliminary planning path of the present invention;

[0078] Figure 8 A schematic diagram of a process flow of forming a path dynamic restriction area based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target of the present invention;

[0079] Fig. 9 The secondary planning path is adjusted according to the present invention to obtain a schematic flow chart of the final planning path. DETAILED DESCRIPTION

[0080] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0081] Reference Figure 1 As shown in the figure, the lightweight UAV environment perception method based on complex scenes includes:

[0082] Obtaining the execution mission of the UAV, and obtaining at least one monitoring target based on the execution mission of the UAV;

[0083] Using satellite positioning services, forming a preliminary planned path for the UAV based on at least one monitoring target;

[0084] Build a target category recognition model based on big data;

[0085] Perform environmental recognition to obtain static targets and dynamic targets, classify dynamic targets to obtain moving dynamic targets and non-moving dynamic targets;

[0086] Based on the static target, a static restricted area of ​​the drone's path is formed;

[0087] Based on the reaction time of the UAV and the acceleration data of the dynamic target, the safe avoidance distance of the UAV is obtained;

[0088] Based on the static restriction area of ​​the path, the preliminary planned path is adjusted to obtain the secondary planned path;

[0089] Estimate the position of the dynamic target and obtain the moving trajectory of the dynamic target;

[0090] Based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target, a dynamic restricted area of ​​the path is formed;

[0091] Based on the dynamic restricted area of ​​the path, the secondary planning path is adjusted to obtain the final planning path.

[0092] Reference Figure 2 As shown, forming a preliminary planned path of the UAV based on at least one monitoring target includes the following steps:

[0093] Use satellite positioning services to obtain the positioning coordinates of the monitoring target;

[0094] Based on the positioning coordinates of the adjacent monitoring targets, a segmented path is formed between the adjacent monitoring targets, and the segmented path is a path with the shortest distance between the adjacent monitoring targets;

[0095] At least one segmented path is merged in sequence to obtain a preliminary planned path.

[0096] When the drone is performing a mission, it is necessary to monitor the monitoring target and obtain relevant information of the monitoring target in order to analyze and judge the monitoring target. Since the flight of the drone is limited by power, the preliminary planned path needs to be as short as possible. In order to make the preliminary planned path as short as possible, the segmented paths between adjacent monitoring targets need to be as short as possible.

[0097] Reference Figure 3 As shown in the figure, building a target category recognition model based on big data includes the following steps:

[0098] Based on big data, obtain the name of at least one obstacle target encountered by the drone during flight;

[0099] Obtain at least one obstacle target corresponding to the obstacle target name, and summarize them into obstacle target categories, wherein the obstacle target categories are paired with the obstacle target names;

[0100] Acquire at least one obstacle target image of the obstacle target at different shooting angles and different shooting distances, and summarize them into an obstacle target image package, wherein the obstacle target image package is paired with the obstacle target;

[0101] At least one obstacle target classification and obstacle target image packages corresponding to the obstacle targets in the obstacle target classification are aggregated to obtain an object category recognition model.

[0102] Since the obstacle targets corresponding to the same obstacle target name may be different, such as tree branches, but the shapes of tree branches are different in actual situations, in order to be able to identify different tree branches, it is necessary to capture the shapes of various existing tree branches so that comparative judgment can be made during identification. However, when the actual image is acquired, there are differences in angles and distances, which will lead to different images of objects with the same shape, causing interference to the identification. Therefore, in order to avoid this situation, at least one obstacle target image is obtained at different shooting angles and different shooting distances. Thus, the target type recognition model obtained can better meet the identification of obstacles during the flight of the UAV.

[0103] Reference Figure 4 As shown, performing environmental recognition to obtain static targets and dynamic targets includes the following steps:

[0104] The UAV acquires a three-dimensional image of the front during the moving process to obtain at least one three-dimensional image of the environment, and the time interval between the acquisitions of adjacent three-dimensional images of the environment is a preset time;

[0105] Acquire at least one suspicious target whose distance from the initial planned path of the UAV is less than a preset distance in the three-dimensional image of the environment;

[0106] In at least one three-dimensional image of the environment, obtaining a change distance of a suspicious target, obtaining a moving time corresponding to the change distance of the suspicious target, and calculating a relative change speed of the suspicious target;

[0107] Obtain the real-time moving speed of the UAV, and subtract the real-time moving speed from the relative changing speed of the suspicious target to obtain the actual changing speed of the suspicious target;

[0108] Determine whether the actual change speed is 0. If not, the suspicious target is a dynamic target;

[0109] If yes, the suspicious target is identified based on the target type recognition model, and an obstacle target image consistent with the suspicious target is obtained as a characteristic obstacle target image;

[0110] Obtain the obstacle target corresponding to the obstacle target image package where the characteristic obstacle target image is located as the characteristic obstacle target;

[0111] Obtain the name of the obstacle target corresponding to the obstacle target category where the characteristic obstacle target is located as the characteristic obstacle target name;

[0112] When the object represented by the characteristic obstacle target name is immovable, the suspicious target is a static target;

[0113] When the object represented by the characteristic obstacle target name is movable, the suspicious target is a dynamic target.

[0114] The difference between static targets and dynamic targets is whether they will move. Based on this, a judgment can be made. However, in actual situations, dynamic targets also include objects that can move but do not move, such as a resting bird. However, it may suddenly move. If this situation is not taken into account, the drone may not avoid it in time, resulting in a collision and failure, which may cause the subsequent operations to be unable to proceed. Therefore, it is necessary to identify the suspicious targets and obtain their corresponding obstacle target names, and then judge whether the suspicious targets can move based on the obstacle target names.

[0115] Reference Figure 5 As shown, classifying dynamic targets to obtain moving dynamic targets and non-moving dynamic targets includes the following steps:

[0116] When the actual change speed of the dynamic target is 0, the dynamic target is a non-moving dynamic target;

[0117] When the actual change speed of the dynamic target is not 0, the dynamic target is a moving dynamic target.

[0118] Moving dynamic targets and non-moving dynamic targets move differently and therefore require different path adjustments.

[0119] Based on the static target, forming a static restricted area for the drone’s path includes the following steps:

[0120] The areas with distances to static targets less than a preset value are aggregated to form a static restricted area for the drone’s path.

[0121] Since the static target does not move, there is no need to consider the sudden movement of the static target. Therefore, it is only necessary to ensure that the drone does not scratch the static target.

[0122] Reference Figure 6 As shown, based on the reaction time of the drone and the acceleration data of the dynamic target, obtaining the safe avoidance distance of the drone includes the following steps:

[0123] Get the drone’s reaction time;

[0124] Based on the target type recognition model, the obstacle target name corresponding to the dynamic target is identified as the calibrated obstacle target name;

[0125] Based on big data, the instantaneous acceleration of the object represented by the calibrated obstacle target name is obtained;

[0126] The safe avoidance distance of the drone is obtained by multiplying the instantaneous acceleration of the object represented by the calibrated obstacle target name and the reaction time of the drone at a preset multiple.

[0127] The acceleration data of different dynamic targets, therefore, needs to calculate the safe avoidance distance of the corresponding drone for each dynamic target, wherein the preset multiple is greater than 1. Since the drone's reaction takes time, the drone will not make movement adjustments within the reaction time. Therefore, the distance that needs to be maintained with the dynamic target is greater than the safe avoidance distance of the drone. If the preset multiple is set to be greater than 1, there is still time for the drone to avoid after the reaction time, so that it will not collide with the dynamic target.

[0128] Reference Figure 7 As shown, adjusting the preliminary planning path to obtain the secondary planning path includes the following steps:

[0129] Obtain at least one point where the preliminary planned path intersects with the static restricted area of ​​the path as a first avoidance point;

[0130] At least one first avoidance point divides the preliminary planned path into at least one first breakpoint path;

[0131] The first breakpoint path overlapping with the path static restriction area is used as the first path to be replaced;

[0132] The first breakpoint path that does not overlap with the static restriction area of ​​the path is used as the first non-replacement path;

[0133] generating at least one first replaceable path at both ends of the first path to be replaced, wherein the first replaceable path does not intersect with the path static restriction area;

[0134] Selecting the shortest of at least one first replaceable path generated by the first to-be-replaced path as the first target replaceable path;

[0135] The first target replaceable path is used to replace the first to-be-replaced path in the preliminary planned path to obtain a secondary planned path.

[0136] The secondary planned path is a path that does not intersect the static restriction area of ​​the path, so the drone will not collide with obstacles in the static restriction area of ​​the path.

[0137] Reference Figure 8 As shown, based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target, forming a path dynamic restriction area includes the following steps:

[0138] Identify whether a dynamic target is moving;

[0139] When the dynamic target is a moving dynamic target, obtaining a moving area of ​​the moving dynamic target;

[0140] Obtain the safe avoidance distance of the UAV corresponding to the moving dynamic target as the characteristic safe avoidance distance;

[0141] The area whose distance from the moving area of ​​the moving dynamic target is less than the characteristic safe avoidance distance is regarded as the path dynamic restriction area;

[0142] When the dynamic target is a non-moving dynamic target, the area whose distance to the non-moving dynamic target is less than the characteristic safe avoidance distance is used as the path dynamic restriction area.

[0143] The setting of the path dynamic restriction area takes into account the sudden movement of dynamic targets. Therefore, when the UAV's path avoids the path dynamic restriction area, it will not collide with the UAV when the dynamic target moves suddenly.

[0144] Reference Fig. 9 As shown, adjusting the secondary planning path to obtain the final planning path includes the following steps:

[0145] Obtaining at least one point where the secondary planning path intersects with the path dynamic restriction area as a second avoidance point;

[0146] At least one second avoidance point divides the secondary planning path into at least one second breakpoint path;

[0147] Using the second breakpoint path overlapping with the path dynamic restriction area as the second path to be replaced;

[0148] Using a second breakpoint path that does not overlap with the path dynamic restriction area as a second non-replacement path;

[0149] generating at least one second replaceable path at both ends of the second path to be replaced, wherein the second replaceable path does not intersect with the path dynamic restriction area;

[0150] Selecting the shortest of at least one second replaceable path generated by the second to-be-replaced path as the second target replaceable path;

[0151] The second target replaceable path is used to replace the second to-be-replaced path in the secondary planned path to obtain a final planned path.

[0152] The final planned path is a path that does not intersect with the path dynamic restriction area, so the drone will not collide with obstacles in the path dynamic restriction area.

[0153] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned lightweight UAV environment perception method based on complex scenarios is executed.

[0154] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).

[0155] In summary, the advantages of the present invention are: by constructing a target type recognition model, calculating the safe avoidance distance of the UAV, and adjusting the secondary planning path to obtain the final planning path, various obstacles in the UAV's moving environment can be classified, and different path planning can be performed according to different classifications. In addition, considering the situation where the movable obstacle suddenly changes its path, a safe distance is reserved for this situation, thereby ensuring that the UAV can make emergency avoidance of obstacles under any circumstances. At the same time, the UAV's route will not collide with obstacles, and the path planned by this method is the shortest path allowed by the conditions, thereby reducing the energy loss of the UAV, and the UAV can complete more tasks with limited power.

[0156] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A lightweight UAV environment perception method based on complex scenes, characterized by: include: Obtaining the execution mission of the UAV, and obtaining at least one monitoring target based on the execution mission of the UAV; Using satellite positioning services, forming a preliminary planned path for the UAV based on at least one monitoring target; Build a target category recognition model based on big data; Perform environmental recognition to obtain static targets and dynamic targets, classify dynamic targets to obtain moving dynamic targets and non-moving dynamic targets; Based on the static target, a static restricted area of ​​the drone's path is formed; Based on the reaction time of the UAV and the acceleration data of the dynamic target, the safe avoidance distance of the UAV is obtained; Based on the static restriction area of ​​the path, the preliminary planned path is adjusted to obtain the secondary planned path; Estimate the position of the dynamic target and obtain the moving trajectory of the dynamic target; Based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target, a dynamic restricted area of ​​the path is formed; Based on the dynamic restricted area of ​​the path, the secondary planning path is adjusted to obtain the final planning path; The environmental recognition to obtain static targets and dynamic targets includes the following steps: The UAV acquires a three-dimensional image of the front during the moving process to obtain at least one three-dimensional image of the environment, and the time interval between the acquisitions of adjacent three-dimensional images of the environment is a preset time; Acquire at least one suspicious target whose distance from the initial planned path of the UAV is less than a preset distance in the three-dimensional image of the environment; In at least one three-dimensional image of the environment, obtaining a change distance of a suspicious target, obtaining a moving time corresponding to the change distance of the suspicious target, and calculating a relative change speed of the suspicious target; Obtain the real-time moving speed of the UAV, and subtract the real-time moving speed from the relative changing speed of the suspicious target to obtain the actual changing speed of the suspicious target; Determine whether the actual change speed is 0. If not, the suspicious target is a dynamic target; If yes, the suspicious target is identified based on the target type recognition model, and an obstacle target image consistent with the suspicious target is obtained as a characteristic obstacle target image; Obtain the obstacle target corresponding to the obstacle target image package where the characteristic obstacle target image is located as the characteristic obstacle target; Obtain the name of the obstacle target corresponding to the obstacle target category where the characteristic obstacle target is located as the characteristic obstacle target name; When the object represented by the characteristic obstacle target name is immovable, the suspicious target is a static target; When the object represented by the characteristic obstacle target name is movable, the suspicious target is a dynamic target.

2. The method for lightweight UAV environment perception based on complex scenes according to claim 1 is characterized in that: The forming of a preliminary planned path of the UAV based on at least one monitoring target comprises the following steps: Use satellite positioning services to obtain the positioning coordinates of the monitoring target; Based on the positioning coordinates of the adjacent monitoring targets, a segmented path is formed between the adjacent monitoring targets, and the segmented path is a path with the shortest distance between the adjacent monitoring targets; At least one segmented path is merged in sequence to obtain a preliminary planned path.

3. The lightweight UAV environment perception method based on complex scenes according to claim 2 is characterized in that: The construction of the target type recognition model based on big data includes the following steps: Based on big data, obtain the name of at least one obstacle target encountered by the drone during flight; Obtain at least one obstacle target corresponding to the obstacle target name, and summarize them into obstacle target categories, wherein the obstacle target categories are paired with the obstacle target names; Acquire at least one obstacle target image of the obstacle target at different shooting angles and different shooting distances, and summarize them into an obstacle target image package, wherein the obstacle target image package is paired with the obstacle target; At least one obstacle target classification and obstacle target image packages corresponding to the obstacle targets in the obstacle target classification are aggregated to obtain an object category recognition model.

4. The lightweight UAV environment perception method based on complex scenes according to claim 3 is characterized in that: The classifying of dynamic targets to obtain moving dynamic targets and non-moving dynamic targets comprises the following steps: When the actual change speed of the dynamic target is 0, the dynamic target is a non-moving dynamic target; When the actual change speed of the dynamic target is not 0, the dynamic target is a moving dynamic target.

5. The method for lightweight UAV environment perception based on complex scenes according to claim 4 is characterized in that: The method of forming a static restricted area of ​​the path of the drone based on the static target includes the following steps: The areas with distances to static targets less than a preset value are aggregated to form a static restricted area for the drone’s path.

6. The method for lightweight UAV environment perception based on complex scenes according to claim 5 is characterized in that: The method of obtaining the safe avoidance distance of the drone based on the reaction time of the drone and the acceleration data of the dynamic target comprises the following steps: Get the drone’s reaction time; Based on the target type recognition model, the obstacle target name corresponding to the dynamic target is identified as the calibrated obstacle target name; Based on big data, the instantaneous acceleration of the object represented by the calibrated obstacle target name is obtained; The safe avoidance distance of the drone is obtained by multiplying the instantaneous acceleration of the object represented by the calibrated obstacle target name and the reaction time of the drone at a preset multiple.

7. The method for lightweight UAV environment perception based on complex scenes according to claim 6 is characterized in that: The adjusting of the preliminary planned path to obtain the secondary planned path comprises the following steps: Obtain at least one point where the preliminary planned path intersects with the static restricted area of ​​the path as a first avoidance point; At least one first avoidance point divides the preliminary planned path into at least one first breakpoint path; The first breakpoint path overlapping with the path static restriction area is used as the first path to be replaced; The first breakpoint path that does not overlap with the static restriction area of ​​the path is used as the first non-replacement path; generating at least one first replaceable path at both ends of the first path to be replaced, wherein the first replaceable path does not intersect with the path static restriction area; Selecting the shortest of at least one first replaceable path generated by the first to-be-replaced path as the first target replaceable path; The first target replaceable path is used to replace the first to-be-replaced path in the preliminary planned path to obtain a secondary planned path.

8. The method for lightweight UAV environment perception based on complex scenes according to claim 7 is characterized in that: The forming of the path dynamic restriction area based on the safe avoidance distance of the UAV and the moving trajectory of the dynamic target comprises the following steps: Identify whether a dynamic target is moving; When the dynamic target is a moving dynamic target, obtaining a moving area of ​​the moving dynamic target; Obtain the safe avoidance distance of the UAV corresponding to the moving dynamic target as the characteristic safe avoidance distance; The area whose distance from the moving area of ​​the moving dynamic target is less than the characteristic safe avoidance distance is regarded as the path dynamic restriction area; When the dynamic target is a non-moving dynamic target, the area whose distance to the non-moving dynamic target is less than the characteristic safe avoidance distance is used as the path dynamic restriction area.

9. The method for lightweight UAV environment perception based on complex scenes according to claim 8 is characterized in that: The adjusting of the secondary planning path to obtain the final planning path comprises the following steps: Obtaining at least one point where the secondary planning path intersects with the path dynamic restriction area as a second avoidance point; At least one second avoidance point divides the secondary planning path into at least one second breakpoint path; Using the second breakpoint path overlapping with the path dynamic restriction area as the second path to be replaced; Using a second breakpoint path that does not overlap with the path dynamic restriction area as a second non-replacement path; generating at least one second replaceable path at both ends of the second path to be replaced, wherein the second replaceable path does not intersect with the path dynamic restriction area; Selecting the shortest of at least one second replaceable path generated by the second to-be-replaced path as the second target replaceable path; The second target replaceable path is used to replace the second to-be-replaced path in the secondary planned path to obtain a final planned path.