Autonomous positioning method and device for unmanned aerial vehicle and unmanned aerial vehicle
Through multi-sensor information fusion of two-dimensional lidar, inertial sensors, visual odometry, depth cameras and fixed-altitude radar, the autonomous positioning of drones in underground space is realized, solving the problem of satellite signal loss in underground environments, and improving Improve positioning accuracy and stability.
Patent Information
- Application Number
- CN202011204006.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-02
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for existing UAVs to position themselves autonomously in the underground space environment. This is mainly due to the loss of satellite signals and the closed environment, which makes the existing autonomous positioning methods inapplicable.
Two-dimensional lidar, inertial sensors, visual odometry and depth cameras are used to collect data. Through multi-sensor information fusion and fixed-altitude radar data, autonomous positioning of UAVs in underground space is achieved.
The autonomous positioning of UAVs can be achieved without satellite signals. It is suitable for underground space environments, improves positioning accuracy and stability, and avoids the drift problem caused by inertial navigation data.
Smart Images

Figure CN112596071B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of autonomous positioning of unmanned aerial vehicles (UAVs), and more specifically, to an autonomous positioning method and device for unmanned aerial vehicles (UAVs), and a UAV. Background Art
[0002] With the advancement of urbanization in human society, the contradiction between the explosive growth of urban population and the limited surface area is increasing, which makes the urban combat system expand to underground space. With the increasing status of underground space in urban combat, it is particularly important to realize the reconnaissance and detection of underground space targets. In underground space, the use of drones to search, identify, lock and track targets has a wide range of applications. In order to realize the normal flight and execution of tasks of drones in underground space, it is necessary to solve the problem of autonomous positioning of drones in underground space.
[0003] At present, autonomous positioning of UAVs flying in space on the ground is mainly achieved through satellites and inertial navigation (full name: Inertial Navigation System, INS).
[0004] However, in underground environments, satellite signals are easily lost due to the closed environment and severe obstruction, so the existing autonomous positioning methods are not suitable for underground environments. Summary of the invention
[0005] One purpose of the embodiments of the present disclosure is to provide a new technical solution for autonomous positioning of unmanned aerial vehicles, which can be applied to underground space environments.
[0006] According to a first aspect of the present disclosure, a method for autonomous positioning of an unmanned aerial vehicle is provided, comprising: obtaining laser positioning information based on data collected by a two-dimensional laser radar of the unmanned aerial vehicle; obtaining visual positioning information based on data respectively collected by an inertial sensor, a visual odometer and a depth camera of the unmanned aerial vehicle; obtaining altitude information based on data collected by an altitude-fixing radar of the unmanned aerial vehicle; and obtaining positioning information of the spatial position of the unmanned aerial vehicle based on the laser positioning information, the visual positioning information and the altitude information.
[0007] According to the second aspect of the present disclosure, there is also provided an autonomous positioning device for a drone, comprising a processor and a memory, wherein the memory is used to store instructions, and the instructions are used to control the processor to operate to execute the method described in the first aspect of the present disclosure.
[0008] According to the third aspect of the present disclosure, a drone is also provided, comprising a two-dimensional laser radar, an inertial sensor, a visual odometer, a depth camera, an altitude determination radar and the drone autonomous positioning device described in the second aspect of the present disclosure; wherein the drone autonomous positioning device is respectively communicated with the two-dimensional laser radar, the inertial sensor, the visual odometer, the depth camera, and the altitude determination radar.
[0009] One beneficial effect of the disclosed embodiment is that the method of the disclosed embodiment obtains laser positioning information based on the data collected by the two-dimensional laser radar of the drone; obtains visual positioning information based on the data collected by the inertial sensor, visual odometer and depth camera of the drone; obtains altitude information based on the data collected by the altitude-fixing radar of the drone; and obtains positioning information of the spatial position of the drone based on the laser positioning information, visual positioning information and altitude information. According to the method of this embodiment, autonomous positioning of the drone can be achieved without satellite signals, and this autonomous positioning method can be applied to underground space environments.
[0010] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0012] Figure 1 is a block diagram of an intelligent drone system according to one embodiment;
[0013] Figure 2 is a schematic diagram of an interactive interface of a drone autonomous positioning software according to one embodiment;
[0014] Figure 3 is a schematic flow chart of a method for autonomous positioning of a drone according to an embodiment;
[0015] Figure 4 is a flow chart of a method for autonomous positioning of a drone according to another embodiment;
[0016] Figure 5 is a schematic diagram of an interactive interface of a drone navigation and obstacle avoidance software according to one embodiment;
[0017] Figure 6 is a flow chart of a method for autonomous positioning of a drone according to another embodiment;
[0018] Figure 7 is a flow chart of a method for autonomous positioning of a drone according to another embodiment;
[0019] Figure 8 is a schematic diagram of an optimized fDSST algorithm process according to one embodiment;
[0020] Fig. 9 is a block diagram of a UAV autonomous positioning device according to an embodiment;
[0021] Fig.10 is a block schematic diagram of a drone according to one embodiment. DETAILED DESCRIPTION
[0022] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0023] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0024] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0025] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0026] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0027] <System Embodiment>
[0028] Figure 1 FIG. 1 is a schematic diagram of the structure of an optional intelligent drone system to which the method of the embodiment of the present disclosure can be applied. Figure 1 As shown, the intelligent UAV system may include at least a UAV and a ground measurement and control terminal. The UAV and the ground measurement and control terminal may interact via wireless communication.
[0029] like Figure 1 As shown, the UAV may at least include a platform and power subsystem 10, a flight control subsystem 20, a perception and information fusion subsystem 30, a target detection and tracking subsystem 40, a data link subsystem 50, and a ground measurement and control subsystem 60.
[0030] Among them, the platform and power subsystem 10 may have the function of a multi-sensor carrying platform, and may specifically include components such as a fuselage, a brushless motor, an electronic speed regulator, a propeller, and a battery; the flight control subsystem 20 may have the function of controlling the attitude and track stability of the UAV, the flight state parameter collection and navigation calculation, and may specifically include components such as an inertial sensor 201, an autopilot, a receiver, and state knowledge points; the perception and information fusion subsystem 30 may have the functions of autonomous positioning and navigation flight in an underground garage environment, and may specifically include components such as an onboard computer, a two-dimensional laser radar 301, a visual odometer 302, a depth camera 303, and a fixed altitude radar 304; the target detection and tracking subsystem 40 may have the functions of target detection and identification, and dynamic tracking after locking the target, and may specifically include components such as an optoelectronic pod 401; the data link subsystem 50 may have the function of using a data link that integrates high-resistance occlusion graphics and data, and real-time transmission of images and data between the aircraft and the ground, and may specifically include components such as an airborne terminal and a ground terminal; the ground measurement and control subsystem 60 may have the function of ground control and realization of human-computer interaction, and may specifically include components such as a ground measurement and control terminal and a remote controller.
[0031] Based on the above content, the device interface connection relationship of the drone can be described as follows: the onboard computer is connected to the altitude fixing radar, lidar, and autopilot through UART (Universal Asynchronous Receiver / Transmitter) lines, and the onboard computer is connected to the visual odometer and depth camera through USB lines; the optoelectronic pod is connected to the onboard computer through HDMI (High Definition Multimedia Interface) lines, connected to the airborne end of the data link through CVBS (Composite Video Broadcast Signal) video information lines, and connected to the autopilot through RS422 (electrical characteristics of balanced voltage digital interface circuits) lines; the autopilot is also connected to the airborne end of the data link through RS422; the airborne end of the data link is wirelessly connected to the ground end of the data link.
[0032] In this embodiment, the inertial sensor 201, or inertial measurement unit (IMU), can be used to achieve six-axis position and attitude solution; the two-dimensional laser radar 301 can be used to achieve high-precision two-dimensional positioning; the visual odometer 302, or visual sensor, can be used to achieve six-axis reference position and attitude solution; the depth camera 303 can be used to acquire depth data; the altitude determination radar 304 can be used to achieve precise altitude determination; and the optoelectronic pod 401 can be used to collect video data.
[0033] In one embodiment, taking an underground garage environment as an example, a drone in an underground garage environment can use an inertial sensor 201, a two-dimensional laser radar 301, a visual odometer 302, a depth camera 303, and a height-fixing radar 304 to perform multi-sensor fusion positioning. The schematic diagram of the drone autonomous positioning software interaction interface can be as follows: Figure 2 shown.
[0034] like Figure 2 As shown, the above-mentioned onboard computer can be installed with ROS (Robot Operating System), and ROS can be provided with a laser altitude determination drive package, a lidar drive package, a camera drive package and MAVROSPackage, and can communicate with the flight control system of the UAV (i.e., the above-mentioned flight control subsystem 20) through the MAVROS Package in ROS.
[0035] Specifically, the inertial navigation data collected by the inertial sensor 201 can be output to the MAVROS Package for information fusion, and the multi-sensor fusion positioning information obtained by multi-sensor information fusion can be output to the flight control system so as to control the flight of the drone accordingly.
[0036] <Method Example>
[0037] Example 1
[0038] Figure 3 2 is a flow chart of a method for autonomous positioning of a UAV according to an embodiment. In this embodiment, the method for autonomous positioning of a UAV may include the following steps S310 to S340.
[0039] Step S310, obtaining laser positioning information based on data collected by the two-dimensional laser radar of the drone.
[0040] In detail, laser radar usually has a millimeter-level resolution, so that the drone can produce high accuracy even after a long period of operation. In this embodiment, laser radar is used for laser SLAM (simultaneous localization and mapping) positioning, which can directly obtain the scene depth and obtain its own posture by splicing and matching the map.
[0041] In this embodiment, the laser positioning information obtained by the laser radar will be further combined with other sensor information for multi-sensor information fusion positioning. Therefore, a two-dimensional laser radar can be selected to obtain laser positioning information without using a three-dimensional laser radar, thereby avoiding the problems that exist due to the use of a three-dimensional laser radar, such as the three-dimensional laser radar requiring relatively high processor performance when outputting point cloud information, and the three-dimensional laser radar being large in size and expensive.
[0042] In one embodiment, step S310 includes: using a laser SLAM algorithm based on Cartographer to perform two-dimensional positioning and environmental mapping based on data collected by the two-dimensional laser radar of the drone, and obtaining the posture information of the drone in three plane directions and the yaw direction as the laser positioning information.
[0043] In detail, Cartographer is a set of SLAM algorithms based on graph optimization launched by Google.
[0044] In this embodiment, the laser SLAM solution puts forward optimization requirements for all observation quantities at the back end, which can always constrain the drift of sensor data, thereby ensuring the accuracy of positioning.
[0045] like Figure 2 As shown, according to the data collected by the above-mentioned two-dimensional laser radar 301, high-precision two-dimensional positioning and environmental mapping can be performed through the laser SLAM algorithm based on Cartographer, and the posture information of the drone in three plane directions and the yaw direction can be output to obtain the laser positioning topic (i.e., the above-mentioned laser positioning information). The obtained laser positioning information can be further used for multi-sensor information fusion positioning to achieve autonomous and accurate positioning of the drone.
[0046] In this embodiment, laser SLAM is only a part of the information used for autonomous positioning of the drone. Two-dimensional laser SLAM can ensure that the drone can achieve high-precision solutions in the three plane directions and the yaw direction, which are relatively important degrees of freedom, under long-term operation conditions.
[0047] Step S320, obtaining visual positioning information according to the data collected by the inertial sensor, visual odometer and depth camera of the drone.
[0048] Taking into account the low accuracy of the pose solved by camera vision SLAM alone and the large error of inertial navigation data after the drone has been running for a long time, this embodiment uses image frames as a reference to correct the accumulated errors of the inertial sensor to obtain the posture of the drone in the roll and pitch directions. This implementation method is more accurate than simply using inertial sensor filtering to solve the pose.
[0049] Specifically, the visual data obtained by the visual odometer, the inertial navigation data obtained by the inertial sensor, and the depth data obtained by the depth camera can be used for preliminary multi-sensor information fusion to obtain visual positioning information, which is then combined with other sensor information for further multi-sensor information fusion positioning to achieve autonomous positioning of the drone. Based on this, the scale problem of pure camera visual SLAM can be alleviated, which causes the drone to drift after a long time of operation, and increases the error in weak light and open environments.
[0050] In one embodiment, step S320 includes: using VINS-based VIO-SLAM fusion technology to obtain the position information of the drone in the roll and pitch directions as the visual positioning information based on the inertial navigation data collected by the inertial sensor of the drone, the monocular scene image collected by the visual odometer of the drone, and the depth information collected by the depth camera of the drone.
[0051] In detail, VINS is an open source monocular visual inertial navigation SLAM solution from the Hong Kong University of Science and Technology. The solution is a VIO (Visual Inertial Odometry) system based on optimization and sliding windows. It uses IMU pre-integration to build a tightly coupled framework and has automatic initialization, online external parameter calibration, relocalization, closed-loop detection, and global pose graph optimization functions.
[0052] In this embodiment, the visual SLAM solution puts forward optimization requirements for all observation quantities at the back end, which can always constrain the drift of sensor data, thereby ensuring the accuracy of positioning.
[0053] In this embodiment, Figure 2 As shown, the inertial navigation data collected by the inertial sensor 201, the monocular scene image collected by the visual odometer 302, and the depth information collected by the depth camera 303 can be passed to the visual SLAM algorithm based on vision-inertia, and the posture information of the drone in the roll and pitch directions can be output to obtain the visual positioning topic (i.e., the above-mentioned visual positioning information). The obtained visual positioning information can be further used for multi-sensor information fusion positioning to achieve autonomous and accurate positioning of the drone.
[0054] As can be seen from the above, the visual SLAM in this embodiment is only a part of the information used for autonomous positioning of the drone. Visual SLAM can provide a reference for the posture of the drone in other degrees of freedom directions except the three planes and the yaw direction.
[0055] Step S330, obtaining altitude information based on data collected by the altitude-fixing radar of the UAV.
[0056] In this embodiment, Figure 2 As shown, the height topic (i.e., the height information) of the height between the drone and the ground can be transmitted according to the above-mentioned height determination radar 304. The obtained height information can be further used for multi-sensor information fusion positioning to achieve autonomous and accurate positioning of the drone. This embodiment uses the height determination radar to replace the barometer, which is beneficial to obtain higher positioning accuracy.
[0057] Step S340, obtaining the positioning information of the spatial position of the UAV according to the laser positioning information, the visual positioning information and the altitude information.
[0058] In this embodiment, laser SLAM, visual SLAM, and height information are only part of the information used for autonomous positioning of the drone. The three are output through posture fusion filtering to output autonomous positioning information of the drone.
[0059] In detail, the above-mentioned drone autonomous positioning method can be applied in an underground garage environment to realize autonomous positioning flight of the drone in the underground garage. Thus, in one embodiment, the positioning information of the spatial position of the drone is the positioning information of the drone in the underground garage.
[0060] In this embodiment, preferably, high-precision pose information of three planes and the yaw direction can be obtained based on the laser SLAM solution of Cartographer, and the roll and pitch attitude information can be supplemented based on the VIO-SLAM fusion technology of VINS. By applying these two SLAM solutions in closed indoor scenes such as underground garages, the sensors can still operate well without being restricted by the environment, thereby providing accurate positioning information for the drone.
[0061] As can be seen from the above, the autonomous positioning method for unmanned aerial vehicles provided in this embodiment can obtain the positioning information of the spatial position of the unmanned aerial vehicle by performing multi-sensor information fusion on the sensor data collected by sensors such as two-dimensional laser radar, inertial sensor, visual odometer, depth camera, and height-fixing radar. This autonomous positioning method does not rely on satellite signals such as GPS, so it can be applied to underground environments without satellite signals such as underground garages, and can support the stable operation of unmanned aerial vehicles. In addition, since it is no longer mainly dependent on the inertial navigation data collected by the inertial sensor to achieve autonomous positioning, it can avoid the large drift caused by the inertial navigation data on the unmanned aerial vehicle posture estimation after the unmanned aerial vehicle has been running for a long time, which is beneficial to improve the accuracy of unmanned aerial vehicle positioning.
[0062] In one embodiment, the above-mentioned UAV autonomous positioning method is applied to Figure 1 The above-mentioned UAV is verified through a combination of simulation and experiment, and a large number of repeated tests are conducted to verify the autonomous positioning accuracy of the UAV when it flies autonomously in the underground garage and does not rely on satellite signals. The test environment, test content, and test results are as follows:
[0063] Test environment: underground garage environment on or below the third floor where there is no satellite signal.
[0064] Test content: After taking off, the UAV keeps hovering at an appropriate height, and then draws a circular frame with the point directly below as the origin to capture the actual horizontal position of the UAV in real time. When the flight is completed, the positioning error is calculated based on the offset of the measured actual horizontal position relative to the initial point directly below.
[0065] Test results: The UAV can achieve autonomous positioning with high accuracy.
[0066] In summary, when the drone is in an underground garage, the GPS module will not work properly. At this time, relying solely on inertial sensors will cause a relatively large drift in the posture estimation after a long period of operation, thereby affecting the positioning accuracy of the drone. The disclosed embodiment proposes a method for positioning based on Cartographer's laser SLAM and VINS-based VIO-SLAM fusion, using laser SLAM to obtain high-precision posture information in three planes and yaw direction, and using VIO-SLAM to supplement roll and pitch attitude information. Both SLAM solutions are in the back end, and have put forward optimization requirements for all observations, which can always constrain the drift generated by sensor data, and this method can still operate well without environmental restrictions in closed indoor scenes such as underground garages, ensuring that the drone obtains accurate positioning information in real time.
[0067] Example 2
[0068] Based on the content disclosed in the above embodiment 1, in the process of realizing autonomous positioning of the drone, the drone can also avoid obstacles in the space environment based on the real-time autonomous positioning information. Figure 4 The UAV autonomous positioning method may further include the following steps S410 to S440.
[0069] Step S410: construct a first map of the space environment in which the drone is located.
[0070] A map of the spatial environment in which the drone is located can be constructed based on the starting position (such as the spatial position of the drone) and the destination position of the drone's obstacle avoidance flight mission, and combined with the environmental data sensed by the sensors on the drone (such as the above-mentioned two-dimensional laser radar 301, visual odometer 302, etc.). Among them, the spatial position of the drone can be determined based on the autonomous positioning information of the drone.
[0071] In detail, the obstacle avoidance flight mode of the drone can be applied in an underground garage environment to realize the obstacle avoidance flight of the drone in the underground garage. Thus, in one embodiment, the spatial environment of the drone is the underground garage where the drone is located.
[0072] For example, the above-mentioned visual odometer 302, two-dimensional lidar 301 and other sensors can be used to obtain stereoscopic depth information of the underground garage environment and static obstacles in the environment, and then build a three-dimensional model of the environment and establish a global two-dimensional grid map and a three-dimensional octree map based on the stereoscopic depth information, and plan the global path and detect dynamic obstacles based on this.
[0073] From the above, it can be seen that this embodiment, from the perspective of actual scenarios, proposes an environmental perception and obstacle detection method based on multi-sensor information fusion such as visual odometer and lidar, constructs a grid map and octree map of the underground garage, and improves the drone's ability to avoid obstacles such as vehicles.
[0074] In addition, this embodiment constructs a three-dimensional space map to provide a data basis for the drone's obstacle avoidance flight, and can also avoid the problems of low efficiency, possible local difficulties, and inability to accurately avoid obstacles in real time when the drone only performs obstacle avoidance flight on a two-dimensional plane.
[0075] In one embodiment, step S410 includes: obtaining the scene structure and local obstacle information of the spatial environment in which the drone is located based on the data collected by the depth camera of the drone; establishing a depth information map of the local scene of the spatial environment in which the drone is located based on the scene structure and local obstacle information, and presenting it in the form of an octree map.
[0076] Thus, planning a global path according to the first map can be planning a global path according to the octree map. For example, an A* algorithm (A-star algorithm) can be used in the established octree map to perform a global search to plan a global path.
[0077] In this embodiment, step S420 may be performed after the above step S340.
[0078] Step S420: planning a global path according to the positioning information of the spatial position of the drone and the first map.
[0079] In one embodiment, planning a global path according to the octree map includes: obtaining target area information of the destination area according to RGB (or RGB color mode) image data collected by the depth camera of the drone; determining three-dimensional waypoints according to the target area information and a preset SLAM local map to obtain positioning information of the spatial position of the destination area; performing global planning using the A* algorithm in the octree map according to the positioning information of the spatial position of the destination area, the local depth information collected by the depth camera, the positioning information of the spatial position of the drone, and the SLAM local map to obtain a global path.
[0080] In detail, the RGB color model is a color standard in the industry, which obtains a variety of colors by changing the three color channels of red (R), green (G), and blue (B) and superimposing them on each other.
[0081] In this embodiment, the visual tracking results can be converted into target point tracking coordinates, and then the global path can be planned through the A* algorithm based on the depth information, the location of the drone, the map established by the laser SLAM, and the location of the target point.
[0082] In one implementation, the schematic diagram of the interaction interface of the drone navigation and obstacle avoidance software can be as follows: Figure 5 As shown. Figure 5 As shown, the above-mentioned onboard computer may be installed with ROS, and the ROS may be provided with a MAVROS Package, and the MAVROS Package may communicate with the flight control system (i.e., the above-mentioned flight control subsystem 20) of the UAV via the MAVLink (MicroAirVehicleLink, micro air vehicle link communication protocol) communication method. For example, after obtaining the obstacle avoidance flight result, the onboard computer may output the corresponding instruction of the obstacle avoidance flight result to the flight control system via the MAVROS Package, so as to control the flight of the UAV accordingly.
[0083] exist Figure 5In the RGB image topic (i.e., the above-mentioned RGB image data) collected by the depth camera of the drone can obtain the target area topic (i.e., the above-mentioned target area information) through visual tracking processing (for example, the visual tracking processing can be performed in combination with the Yolov3-tiny network structure and the fDSST algorithm). According to the target area topic and the SLAM local map, the three-dimensional waypoint is determined (for example, the camera model can be converted to perform three-dimensional waypoint determination), and the three-dimensional waypoint topic (i.e., the positioning information of the spatial position of the above-mentioned destination area) can be obtained. According to the positioning information of the spatial position of the drone (for example, the position obtained by the autonomous positioning module of the drone through autonomous positioning), the local depth topic (i.e., the above-mentioned local depth information) collected by the depth camera, the SLAM local map and the three-dimensional waypoint topic, the A* algorithm is used for global planning to obtain the global path.
[0084] In detail, YOLO (You Only Look Once) is an object recognition and positioning algorithm based on deep neural networks. It has been developed to version v3, which can find specific targets in input data (images or videos). The YOLO V3 detection network is compressed and optimized to obtain the YOLO V3-tiny detection network.
[0085] In detail, the DSST (Discriminative Scale Space Tracking) algorithm is a target tracking algorithm based on correlation filters, and the fDSST algorithm is an accelerated and improved version of the DSST algorithm.
[0086] In this embodiment, an A* path planning algorithm with the characteristics of high real-time performance and fast response speed is used for global planning, so that the UAV flies in the planned path to avoid obstacles, thereby improving the robustness of the UAV's obstacle avoidance.
[0087] Step S430: determining the next node of the node where the drone is located in the global path based on the positioning information of the spatial position of the drone.
[0088] In this step, the next node in the global path is determined according to the position of the drone as the current target node, so that the drone can be controlled to fly from its current position to the target node. When flying to the target node, the target node is usually the node where the drone is currently located, so the next node can be determined again. This cycle is repeated until the drone flies to the last node in the global path, thus completing the obstacle avoidance flight mission.
[0089] Based on this, in one embodiment, the method also includes: when controlling the drone to fly to the next node, determining whether the next node is the last node in the global path; when the next node is not the last node, executing the step of determining the next node of the node where the drone is located in the global path.
[0090] When it is determined that the next node is the last node in the global path, it is confirmed that the UAV has completed the obstacle avoidance flight mission, so that it can enter the autonomous return phase. In the autonomous return phase, the UAV can determine the return path according to the map established in the previous phase to achieve the function of autonomous recovery. When it is determined that the next node is not the last node in the global path, a new next node is determined.
[0091] Step S440, based on the positioning information of the spatial position of the drone, control the drone to fly to the next node, and in the process of controlling the drone to fly to the next node, determine whether there is an obstacle; if there is an obstacle, based on the positioning information of the spatial position of the drone, update the global path and execute step 430.
[0092] In this step, local planning is performed based on the paths between nodes obtained by global planning.
[0093] The optimal global path can be obtained through the path planning algorithm on the constructed map. When the drone moves based on the global path, obstacles that do not originally exist on the map, such as pedestrians, will inevitably appear. In this way, the sensors carried by the drone can be used to obtain real-time information about the surrounding environment during operation, and local path planning can be improved accordingly to avoid obstacles on the moving path.
[0094] In this embodiment, the global path is updated in real time through real-time local obstacle avoidance, so that the optimality of the global path planning is not changed while planning the local path.
[0095] In this embodiment, during the flight of the UAV in the spatial environment, by combining global path planning and local obstacle avoidance, the static obstacles and dynamic obstacles in the environment can be avoided in real time in two-dimensional planes and three-dimensional spaces, thereby realizing obstacle avoidance flight of the UAV.
[0096] In one embodiment, global planning and local obstacle avoidance can be achieved based on an octree map with adjustable resolution. That is, global planning and local obstacle avoidance are based on maps of different resolutions, respectively, so that the amount of path calculation can be reduced while improving the efficiency of navigation, and can meet the requirements of obstacle detection and avoidance in complex scenes such as underground garages.
[0097] In one embodiment, in step S440, updating the global path includes: determining first positioning information of the spatial position of the obstacle and second positioning information of the spatial position of the drone; setting a repulsive field of the obstacle to the drone according to the distance between the first positioning information and the second positioning information; setting a gravitational field of the next node to the drone according to the distance between the positioning information of the next node and the second positioning information; superimposing the repulsive field and the gravitational field to obtain a superimposed gravitational field; and updating the global path according to the superimposed gravitational field.
[0098] In this embodiment, the repulsive field of the obstacle and the gravitational field of the target node (such as the next node mentioned above) are set, wherein the farther away from the obstacle, the smaller the repulsive force, and the closer to the target node, the greater the gravitational force. Then, an abstract gravitational potential field can be obtained by superposition, and this superimposed gravitational field is related to the relative distance between the drone and the obstacle, and the relative distance between the drone and the target node. Then the motion trajectory can be adjusted according to the force exerted on the drone in the potential field. Under normal circumstances, the drone is always moved from a high potential energy point to a low potential energy point under the combined action of the gravitational potential generated by the target node and the repulsive potential generated by the obstacle, so that the drone can always reach the lowest potential energy point in the map in the end.
[0099] In this embodiment, an artificial potential field is used to perform dynamic local obstacle avoidance and realize on-demand real-time updating of the global path. During the flight, the UAV can not only effectively avoid static obstacles in the space environment, but also effectively avoid dynamic obstacles in the space environment (for example, in the space environment of an underground garage, dynamic obstacles may include pedestrians, vehicles with high speeds, etc.), which is beneficial to reducing the obstacle avoidance response time of the UAV and improving the robustness of the obstacle avoidance of the UAV.
[0100] like Figure 5 As shown, based on the planned global path, APF (Artificial Potential Field) can be used to achieve local obstacle avoidance, and the global path can be updated according to the local obstacle avoidance result to obtain a new global path, and based on the new global path, the flight control system can be used to control the obstacle avoidance flight of the UAV.
[0101] In order to solve the problem of obstacle avoidance during the flight of the UAV, this embodiment proposes a UAV path planning and obstacle avoidance algorithm based on the A* algorithm and the APF algorithm, which has the characteristics of high real-time performance and fast response speed. This enables the UAV to have the ability to plan a path and avoid obstacles on the planned path at the same time, thereby improving the robustness of the UAV.
[0102] In one embodiment, after step S410 and before step S420, the method further includes: using Tie_Breaker technology to remove redundant search nodes in the first map. For example, after constructing the first map of the space environment where the drone is located, first remove the redundant search nodes in the first map, and then use the A* algorithm to perform a global search on the first map after the redundant search nodes have been removed. In this way, by removing unnecessary redundant search nodes, the search efficiency can be improved, so that the global path can be planned faster and more accurately.
[0103] It is understandable that the destination position of the obstacle avoidance flight mission of the drone can be fixed (such as obstacle avoidance flight to a fixed position) or variable (such as obstacle avoidance flight for target tracking). If the destination position is fixed, the first map constructed can be constructed for the first time. If the destination position is not fixed, the first map for the destination position can be constructed in real time or periodically.
[0104] Based on this, in one embodiment, the method also includes: periodically determining the third positioning information of the spatial position of the destination area; judging whether the first distance between the third positioning information and the third positioning information determined last time is not less than a preset distance threshold; when the first distance is not less than the preset distance threshold, executing the step of constructing a first map of the spatial environment in which the drone is located.
[0105] In this embodiment, by continuously judging and comparing the destination position, it can be determined whether the destination position has changed. If so, the map is rebuilt in real time, and a global path is planned based on the new map so as to fly to the new destination more accurately. Of course, if the destination position does not change much, the map may not be rebuilt to save the obstacle avoidance flight process.
[0106] As can be seen from the above, the obstacle avoidance flight method of the drone provided in this embodiment constructs a spatial environment map to plan a global path, and monitors the presence of obstacles in real time during the flight navigation according to the global path, so as to perform local obstacle avoidance in real time as needed to update the global path until the drone completes the obstacle avoidance flight mission. This obstacle avoidance flight method enables the drone to have accurate environmental perception capabilities and rapid target detection capabilities, so that it can be applied to the application scenario of the drone's obstacle avoidance flight in underground three-dimensional space. Of course, based on the same implementation principle, this obstacle avoidance flight method can also be applied to non-underground three-dimensional space.
[0107] In one embodiment, the above-mentioned unmanned aerial vehicle obstacle avoidance flight method is applied to Figure 1 The above-mentioned UAV is verified by combining simulation and experiment through a large number of repeated tests to verify the obstacle avoidance speed and recognition distance of the UAV. The test environment, test content and test results are as follows:
[0108] Test environment: underground garage environment on or below the third floor where there is no satellite signal.
[0109] Test content: In an underground garage environment with obstacles such as pillars and vehicles, a drone flight path is set, and the path contains obstacles. During the flight, the drone promptly modifies the flight path to avoid obstacles, then returns to the planned path to continue flying, and finally lands at the designated location.
[0110] Test results: The UAV can achieve obstacle avoidance flight with good obstacle avoidance speed and recognition distance.
[0111] In summary, in order to solve the problems of extremely high real-time path planning and fast obstacle avoidance flight for drones in the complex and small unstructured environment of underground garages, the embodiments of the present invention propose an environmental perception and obstacle detection method based on multi-sensor information fusion such as visual sensors and lidar, A*-based drone path planning and APF-based obstacle avoidance algorithm, and use multi-sensor fusion to construct a grid map and octree map of the underground garage, and use A* and APF algorithms for path planning and local obstacle avoidance, so that the global and local algorithms are based on maps with different resolutions, respectively, which improves the robustness of the drone, reduces the amount of path calculation, and improves the efficiency of navigation.
[0112] Example 3
[0113] Based on the content disclosed in the above embodiment 1, in the process of realizing autonomous positioning of the drone, the drone can also perform target recognition in the space environment based on the real-time autonomous positioning information. Figure 6 The UAV autonomous positioning method may further include the following steps S610 to S630.
[0114] Step S610: performing image recognition on the image captured by the sensor of the drone for capturing images until a first image that meets the preset feature information is recognized.
[0115] For example, the image may be a frame of image in the video captured by the optoelectronic pod 401 .
[0116] In one implementation, the number of preset characteristic information may be more than one. For example, when the plurality of preset characteristic information are characteristic information of a plurality of vehicles, the corresponding plurality of vehicles may be identified respectively.
[0117] In detail, the collected image can be input into the trained model, and then the features in the image can be matched to perform image recognition. After the first image is recognized according to the preset feature information, since the object corresponding to the first image meets the preset feature information, the object can be considered as a suspicious object. Based on this, in order to improve the accuracy of target recognition, the drone can be controlled to fly to the identification area of the suspicious object to identify its identification information, and then the target object can be further identified according to the identification information.
[0118] In detail, the method of identifying a target by a drone can be applied in an underground garage environment to realize target identification by a drone in an underground garage. Thus, in one embodiment, the preset characteristic information is the vehicle characteristic information of the target vehicle; the preset identification information is the license plate number of the target vehicle; and the identification area is the license plate area. For example, the vehicle characteristic information may include the color, appearance and other characteristics of the vehicle.
[0119] Taking vehicle identification as an example, in order to achieve target vehicle identification, the sensor on the drone is first used to collect images. For each frame of the image collected, the preset vehicle feature information is used as input, and the image feature matching recognition network and license plate recognition technology in deep learning are used to match the suspicious target vehicle in the random search image. If it is not found, the next frame of the image is further searched until a suspicious target vehicle that meets the preset feature information is identified from a certain frame of the image. After searching for the suspicious target vehicle, the drone can fly to the suspicious target vehicle so as to locate the license plate position of the suspicious target vehicle at close range.
[0120] In one implementation, the video collected by the optoelectronic pod can have a resolution of 60fps full HD and HD (1280×720) or above. And through the collection of key frames, the collected images can be pre-processed by image cropping, noise filtering, automatic white balance, automatic exposure, gamma correction, edge enhancement, contrast adjustment, etc., and then the pre-processed images can be sent to the vehicle feature recognition network.
[0121] In one implementation, before using the drone's sensor to capture images, adaptive light compensation processing can be performed based on environmental factors of the drone's spatial environment so that the drone can identify the target object more quickly and accurately.
[0122] In this embodiment, step S620 may be performed after the above step S340.
[0123] Step S620, based on the positioning information of the spatial position of the drone, control the drone to fly to the identification area of the first object corresponding to the first image, and when controlling the drone to fly to the identification area, perform image recognition on the image collected by the sensor to obtain the first identification information carried by the identification area.
[0124] In this step, when the drone flies to the identification area of the suspicious object, the image collected by the sensor on the drone, such as the above-mentioned optoelectronic pod, usually contains the image corresponding to the identification area, and the identification information of the suspicious object can be identified therefrom. Of course, if the image corresponding to the identification area is not identified from the current frame image, the next frame image can be identified, and so on and so forth, until the image corresponding to the identification area is identified from an image.
[0125] Taking vehicle identification as an example, the first object may be a suspicious target vehicle, the identification area may be the area where the vehicle license plate is located, and the first identification information may be the vehicle license plate number.
[0126] Based on this, in one embodiment, in step S620, the image recognition is performed on the image collected by the sensor to obtain the first identification information carried by the identification area, including: performing image recognition on the image collected by the sensor until a second image corresponding to the license plate area is identified; correcting the second image to a rectangular image showing a front view; sending both the second image and the rectangular image to an end-to-end OCR (Optical Character Recognition) network for character matching and recognition to obtain a first license plate number corresponding to the second image and a second license plate number corresponding to the rectangular image; determining whether the first license plate number and the second license plate number are the same; if the first license plate number and the second license plate number are the same, determining that the first identification information is the first license plate number or the second license plate number.
[0127] In one implementation, the network input shape can be 3×160×40, and the output shape can be 1×84×20, for recognizing license plate characters of variable length, and end-to-end character recognition can use CTC-Loss as the loss function.
[0128] In this embodiment, an end-to-end method is used to identify the target vehicle, and a neural network is used to detect and locate the vehicle license plate and recognize characters, so as to quickly detect and identify the target in real time. Based on the improvement of target recognition efficiency, time can be gained for subsequent stable tracking of the target object.
[0129] In this embodiment, after locating the license plate area, on the one hand, text information recognition is directly performed to identify the license plate number therein, and on the other hand, the image of the license plate area is specifically corrected and then the license plate number is recognized therefrom. If the recognized license plate numbers are consistent, it can be considered that the recognized license plate number has a high recognition accuracy rate.
[0130] Step S630: compare the first identification information with preset identification information, and when the first identification information and the preset identification information are the same, determine that the first object is a target object.
[0131] In this step, if the identified first identification information is consistent with the preset identification information, the suspicious object can be considered as the target object and the target object can be locked. By locking the target object, target tracking processing can be further performed on the target object.
[0132] Based on the above content, in one embodiment, the method further includes: inputting the CCPD data set into a YOLO V3-tiny detection network for model training to obtain a first detection model for identifying the first image;
[0133] In the step S610, performing image recognition on the image captured by the sensor until a first image that meets the preset feature information is recognized includes: inputting the image captured by the sensor into the first detection model for image recognition until a first image that meets the preset feature information is recognized.
[0134] Based on the above content, in one embodiment, the method further includes: inputting the CCPD data set into a YOLO V3-tiny detection network for model training to obtain a second detection model for identifying the first identification information;
[0135] In the step S620, performing image recognition on the image collected by the sensor to obtain the first identification information carried by the identification area includes: inputting the image collected by the sensor into the second detection model for image recognition to obtain the first identification information carried by the identification area.
[0136] In detail, the CCPD dataset is a large domestic dataset for license plate recognition.
[0137] In detail, the one-stop target detection algorithm YOLO V3 has the characteristics of strong practicality and sensitivity to small target detection. Considering that the detection real-time performance of the YOLO V3 detection network is not high enough when applied to airborne embedded systems, this embodiment uses the YOLO V3-tiny network compressed and pruned on the basis of YOLO V3 to improve the prediction frame rate by sacrificing a small amount of accuracy.
[0138] For example, all ResNet structures are removed from YOLO V3, and the final output branches are reduced to 2. The feature maps of the two branches are 13×13 and 26×26 respectively, and each feature map uses 3 anchors for prediction. Since each branch has different layers of deep feature fusion, it is still effective for small target detection. The test is carried out by capturing images in real time with a camera, and the speed can reach more than 25 frames per second.
[0139] For example, the license plate detection and positioning network model is first trained to obtain the YOLO model, and then the model optimizer is used to process it to reduce the weight accuracy of the trained model from 32-bit floating points to 8-bit integers, thereby generating an optimized intermediate representation (IR). Based on this, the performance advantages of reasoning on the onboard computer can be better utilized at the expense of appropriate accuracy requirements. After that, the model can be deployed in the target environment for inference engine calls in the application.
[0140] Preferably, the OpenVINO toolkit released by Intel can be used for model optimization to expand computer vision workloads and maximize performance and increase the running speed of inference applications.
[0141] In this embodiment, by selecting the one-stop sub-lightweight model YOLO V3 Tiny, using network compression and pruning technology, and cooperating with the airborne computer CPU hardware optimization acceleration technology, real-time high-precision target detection and recognition can be achieved under the limited computing resources of the drone airborne equipment, thereby alleviating or even overcoming the difficulties of jittery, blurred lighting and poor contrast of image information collected by random search in the underground garage environment, license plate occlusion and stains, and a small proportion of the image of the license plate area to be located and identified. It can also identify multiple target vehicles at the same time, which is suitable for use in embedded low-cost CPU occasions, and can achieve a balance between accuracy and real-time requirements.
[0142] As can be seen from the above, the method of identifying a target by a drone provided in this embodiment first performs a preliminary identification of the identification object based on the preset feature information, further collects identification information when the preliminary identification passes, and performs a second identification when the identification information is obtained correctly. If the second identification passes, the target object is locked. This implementation method can overcome the problem of low target identification accuracy due to the data dependence, poor scalability and versatility of the feature information, which is easy to exist when identifying a target only based on feature information matching, so that it can be better applied to target identification detection in complex environments.
[0143] In one embodiment, the above-mentioned unmanned aerial vehicle obstacle avoidance flight method is applied to Figure 1The above-mentioned UAV is verified through a combination of simulation and experiment, and a large number of repeated tests are conducted to verify the UAV's search capability and target vehicle recognition accuracy. The test environment, test content, and test results are as follows:
[0144] Test environment: underground garage environment on or below the third floor where there is no satellite signal.
[0145] Test content: In an underground garage environment, quickly search and identify the target garage with given features, determine the location of the target vehicle, and lock the vehicle.
[0146] Test results: The UAV can realize target recognition with good real-time and accuracy.
[0147] In summary, in order to solve the problems of complex environment, uneven light, image jitter and blur, complex background, small proportion of license plate area image, and large amount of calculation of traditional computing models in the process of drone target recognition, the embodiment of the present disclosure constructs a one-stop sub-lightweight model YOLO V3-Tiny, which uses network compression and pruning technology, and cooperates with the hardware optimization acceleration technology based on the airborne computer CPU to quickly detect and recognize targets. By optimizing the image feature matching recognition and license plate recognition network and using an end-to-end method to quickly identify target vehicles, real-time high-precision target detection and recognition is achieved under limited computing resources, and the balance between accuracy and real-time requirements is achieved.
[0148] Example 4
[0149] Based on the content disclosed in the above embodiment 1, in the process of realizing autonomous positioning of the drone, the drone can also track the target in the space environment based on the real-time autonomous positioning information. Figure 7 The UAV autonomous positioning method may further include the following steps S710 to S740.
[0150] Step S710, obtaining an image captured by a sensor of the drone for collecting images. For example, the image may be an image captured by the optoelectronic pod 401.
[0151] Step S720: determining first spatial position information of the target object according to an image region in the image corresponding to the identified target object.
[0152] In detail, the target object to be tracked can be identified based on the image captured by the sensor, and the target object can be locked after the target object is identified. And the target object can be tracked based on the image corresponding to the identified target object and combined with the image captured by the sensor after the target object is identified.
[0153] In this embodiment, after the image area corresponding to the target object is determined, the spatial position of the target object can be determined accordingly, and then the next spatial position of the target object can be predicted accordingly.
[0154] In detail, the method of tracking a target by a drone can be applied in an underground garage environment to realize target tracking by a drone in an underground garage. Thus, in one embodiment, the first spatial position information of the target object is the spatial position information of the target object in the underground garage.
[0155] Step S730: predicting the next spatial position information of the target object according to the first spatial position information.
[0156] Considering the scale scaling problem of the tracking target in the visual image and the requirement of fast real-time tracking, the fDSST tracking algorithm can be used to achieve stable tracking of dynamic targets.
[0157] Based on this, in one embodiment, the step S730 includes: using the position filter of the fDSST algorithm to predict a new position based on the position corresponding to the first spatial position information; using the size filter of the fDSST algorithm to predict a new size based on the new position and the size corresponding to the first spatial position information; and obtaining the next spatial position information of the target object based on the new position and the new size.
[0158] In this embodiment, the next spatial position information may be predicted by predicting a new position and a new size based on the position and size corresponding to the first spatial position information.
[0159] In order to further enhance the tracking accuracy and achieve stable tracking of dynamic targets, the fDSST algorithm can be optimized. For example, the circulant matrix method can be used to generate a series of training samples from the target selected in the first frame to train the optimal correlation filter to estimate the position of the target in the next frame, and multi-channel HOG (Histogram of Oriented Gradient) features can be used to train the multi-channel correlation filter. Based on this, the optimized fDSST algorithm process can be as follows Figure 8 shown. Figure 8 The dotted line in is used to identify the image area corresponding to the target object in the video image.
[0160] Please refer to Figure 8 , the algorithm flow may include:
[0161] (1) Extract target features based on the target information of the first frame of the image, select a Gaussian function with the target as the center of the desired output, and calculate the initial parameters of the filter based on the input and output;
[0162] (2) For each subsequent frame, extract image features from the predicted position of the previous frame;
[0163] (3) Add a cosine window and predict the target position in this frame through a correlation filter. This operation is completed using a fast Fourier transform (FFT) to speed up the calculation.
[0164] (4) Outputting the maximum response position, i.e., the target position, and extracting the target position;
[0165] (5) Update the relevant filter parameters according to the features and repeat step (2).
[0166] Based on this, in one embodiment, in the step S730, predicting the next spatial position information of the target object includes: using the optimized fDSST algorithm to predict the next spatial position information of the target object; wherein the optimized fDSST algorithm has one or more of the following features: Feature 1, the filter derivation adopts point-by-point operation, which is accelerated by FFT (fast Fourier transform) to convert the time domain operation into the complex frequency domain; Feature 2, PCA (Principal Component Analysis) dimensionality reduction method is used to compress the HOG feature dimension, reduce the feature dimension of the position filter and the scale filter, and obtain the scale positioning by trigonometric polynomial interpolation; Feature 3, the filtering result is interpolated, the coarse feature grid is used to train and detect the sample, and the final prediction result is obtained by trigonometric polynomial interpolation.
[0167] In this embodiment, the optimized fDSST tracking algorithm can be used to achieve stable tracking of dynamic targets, and the tracking of targets can be achieved through position filters and scale filters based on HOG features. The fast calculation of FFT makes the algorithm fast and efficient, and the PCA dimension compression method reduces the amount of calculation by multiples, because the calculation cost of FFT is proportional to the feature dimension, and the target detection range can be increased, so that the tracking accuracy and effect of the algorithm become better, while ensuring accuracy and meeting the real-time requirements. Based on this, the drone can still track specific targets in real time under high-speed flight conditions, and can be applied to underground garage environments where there are problems such as interference from similar targets, occlusion of scene obstacles, and background spots in the field of view, and can have a good target vehicle tracking effect.
[0168] In one embodiment, experiments are conducted on videos captured by a quadrotor aircraft, and the experimental results show that the average frame rate exceeds 35 frames per second, achieving a real-time effect, and the tracking error is within an acceptable range compared to the flight error caused by the jitter of the quadrotor aircraft.
[0169] In this embodiment, step S740 may be performed after the above step S340.
[0170] Step S740: Control the drone to fly toward the target object according to the next spatial position information and the positioning information of the spatial position of the drone.
[0171] In this embodiment, a high-definition camera is used to shoot the ground target, and the collected image information is processed in real time by the onboard image processing algorithm to obtain the tracking result, and then the tracking result can be sent to the UAV flight control system in the form of a serial port. Specifically, the flight control system can solve the offset according to the tracking result, and control the aircraft attitude in the form of a control amount, thereby completing the tracking of the target object.
[0172] To ensure the stable tracking of the dynamic target object by the drone, each frame of the acquired video image should include the image corresponding to the target object, otherwise it can be considered that the target object is lost and the tracking fails. In the case of losing the target object, the target search and recognition can be started again, and the tracking can be continued after the target object is recognized again.
[0173] Based on this, in one embodiment, after the step S710 and before the step S720, the method further includes: identifying whether the image has the image area; if the image has the image area, executing the step S720; if the image does not have the image area, executing the step S710.
[0174] As can be seen from the above, the target tracking method provided in this embodiment performs image recognition on the identified target object based on the video image collected by the drone, determines its spatial position based on the recognition result, and then predicts its next spatial position based on this, so as to track the target based on the prediction result. Since it is no longer simply relying on feature points to identify the target to achieve target tracking, the target tracking effect can be improved.
[0175] In one embodiment, the above-mentioned UAV autonomous positioning method is applied to Figure 1 The above-mentioned UAVs are verified through a combination of simulation and experiment, and through a large number of repeated tests to verify the speed, continuous tracking time and loss probability of the UAV tracking the vehicle. The test environment, test content and test results are as follows:
[0176] Test environment: underground garage environment on or below the third floor where there is no satellite signal.
[0177] Test content: The drone locks on the target vehicle, and moves the target vehicle in the parking lot at a slow speed of 20km / h, and turns, goes upstairs or downstairs to other floors, etc. The drone always locks on the target vehicle and continues to track it.
[0178] Test results: The UAV can track the target and the continuous tracking time is relatively long with a low probability of losing tracking.
[0179] In summary, in order to solve the problems of interference from similar targets, occlusion of scene obstacles, and background clutter in the field of view in underground environments, the embodiments of the present disclosure propose to use the fDSST tracking algorithm to achieve stable tracking of dynamic vehicles. The target is tracked by using the position filter and scale filter based on the HOG feature, the algorithm is fast and efficient using FFT fast calculation, and the PCA dimensionality compression method is used to reduce the amount of calculation by several times, thereby increasing the target detection range, making the tracking accuracy and effect of the algorithm better, and ensuring accuracy while having good real-time performance.
[0180] Example 5
[0181] Based on the contents disclosed in the above embodiments 1-4, Figure 1 The above-mentioned drone shown can have the functions of autonomous positioning, obstacle avoidance flight, target identification and target tracking, so as to realize the entire process of the drone in the underground garage from take-off to target search and identification, locking and dynamic tracking to mission completion and return. The specific implementation process of the process can be described as follows:
[0182] ①After the drone takes off, it integrates information from multiple sensors to autonomously locate and navigate to avoid obstacles;
[0183] ②Then enter the target search and identification stage, which is mainly responsible for searching for the target vehicle in the current underground garage. Use the autonomous positioning module to perform SLAM positioning and mapping, and use the strategy of completing the SLAM local map to traverse the current scene. In the process of traversing the completed map, use light compensation and the target recognition module to perform multi-feature rapid matching search on vehicles in the environment, identify suspicious vehicles, and then locate the license plate position of the suspicious vehicle, and identify and match the license plate until the target vehicle is found;
[0184] ③ After the drone completes the target search, it locks the target and enters the target tracking phase. This phase mainly involves dynamic tracking and navigation obstacle avoidance of the target vehicle. The target tracking module visually tracks the identified designated vehicle, and then the navigation obstacle avoidance module quickly tracks the visually tracked target vehicle. If tracking is lost during this period, the target search and identification phase is started again until the mission requirements are met;
[0185] ④ After the UAV completes the mission requirements, it enters the autonomous return phase. In this phase, the UAV determines the return path based on the map established in the previous phase and realizes the function of autonomous recovery.
[0186] It can be seen that in this embodiment, by giving the characteristics of the target vehicle, the drone can quickly identify and track a specific vehicle, and in the process perform autonomous positioning and navigation obstacle avoidance without satellite signals.
[0187] In one embodiment, the contents disclosed in the above embodiments 1-4 are applied to Figure 1 The above-mentioned UAVs are evaluated for comprehensive performance through a combination of simulation and experiment, and through extensive and repeated tests. The test environment, test content, and test results are as follows:
[0188] Test environment: underground garage environment on or below the third floor where there is no satellite signal.
[0189] Test content: Combine the entire test process together to test the UAV's rapid search and dynamic tracking tasks, and achieve fully autonomous navigation and obstacle avoidance flight, target search and identification, and target locking and dynamic tracking.
[0190] Test results: The UAV can achieve autonomous positioning, obstacle avoidance flight, target identification and target tracking.
[0191] <Device Example>
[0192] Fig. 9 901 is a block diagram of a drone autonomous positioning device according to an embodiment. The drone autonomous positioning device 901 may include at least a processor 9011 and a memory 9012. The memory 9012 is used to store instructions, and the instructions are used to control the processor 9011 to operate to perform the drone autonomous positioning method according to any embodiment of the present disclosure. The technician can design the instructions according to the scheme disclosed in the present disclosure. How the instructions control the processor 9011 to operate is well known in the art, so it will not be described in detail here.
[0193] In this embodiment, the memory 9012 is used to store computer instructions. The memory 9012 includes, for example, ROM (read-only memory), RAM (random access memory), a non-volatile memory such as a hard disk, etc.
[0194] In this embodiment, the processor 9011 is used to execute a computer program, which may be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The processor 9011 may be, for example, a central processing unit (CPU), a microprocessor (MCU), or the like.
[0195] In addition to the processor 9011 and the memory 9012 described above, the drone autonomous positioning device 901 may also include an interface device, etc. The interface device includes, for example, various bus interfaces, for example, a serial bus interface (including a USB interface, etc.), a parallel bus interface, etc.
[0196] In one embodiment, the drone autonomous positioning device 901 may be in the onboard computer.
[0197] Fig.10 is a block diagram of a drone according to an embodiment, the drone 100 may include at least a two-dimensional laser radar 1002, a visual odometer 1003, a depth camera 1004, an altitude determination radar 1005, an inertial sensor 1006, and a drone autonomous positioning device 1001 disclosed in the present disclosure;
[0198] Among them, the drone autonomous positioning device 1001 is respectively communicated with the two-dimensional laser radar 1002, the visual odometer 1003, the depth camera 1004, the altitude determination radar 1005, and the inertial sensor 1006.
[0199] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0200] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0201] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0202] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0203] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0204] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0205] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0206] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0207] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for autonomous positioning of unmanned aerial vehicles, It is characterized in that include: Laser positioning information is obtained based on data collected by the two-dimensional laser radar of the drone; wherein the laser positioning information includes the posture information of the drone in three plane directions and the yaw direction, and the posture information of the drone in the three plane directions and the yaw direction is obtained by performing two-dimensional positioning and environmental mapping based on the data collected by the two-dimensional laser radar of the drone using a laser SLAM algorithm based on Cartographer; Visual positioning information is obtained according to the data respectively collected by the inertial sensor, visual odometer and depth camera of the drone; wherein the visual positioning information includes the posture information of the drone in the roll and pitch directions, and the posture information of the drone in the roll and pitch directions is obtained by using VIO-SLAM fusion technology based on VINS, according to the inertial navigation data collected by the inertial sensor of the drone, the monocular scene image collected by the visual odometer of the drone, and the depth information collected by the depth camera of the drone; Obtaining altitude information according to data collected by the altitude-fixing radar of the UAV; According to the laser positioning information, the visual positioning information and the height information, the positioning information of the spatial position of the UAV is obtained; wherein the positioning information of the spatial position of the UAV is obtained by performing posture fusion filtering on the laser positioning information, the visual positioning information and the height information; Constructing a first map of the space environment in which the drone is located; wherein the first map is presented in the form of an octree map; A global path is planned according to the positioning information of the spatial position of the drone and the first map; wherein the global path is obtained by using the A* algorithm to perform global planning in the octree map according to the positioning information of the spatial position of the destination area, the local depth information collected by the depth camera, the positioning information of the spatial position of the drone, and a preset SLAM local map; the positioning information of the spatial position of the destination area is obtained by converting the target area information of the destination area and the SLAM local map through a camera model to determine the three-dimensional waypoints; the target area information is obtained by visually tracking the RGB image data collected by the depth camera of the drone in combination with the Yolov3-tiny network structure and the fDSST algorithm; Determine the next node of the node where the drone is located in the global path based on the positioning information of the spatial position of the drone; Based on the positioning information of the spatial position of the drone, control the drone to fly to the next node, and determine whether there is an obstacle in the process of controlling the drone to fly to the next node; In the presence of obstacles, the global path is updated based on the positioning information of the spatial position of the drone, and the step of determining the next node of the node where the drone is located in the global path is performed.
2. The method according to claim 1, It is characterized in that The positioning information of the spatial position of the drone is the positioning information of the drone in the underground garage.
3. The method according to claim 1, It is characterized in that The step of constructing a first map of the space environment in which the drone is located includes: Acquire the scene structure and local obstacle information of the space environment in which the drone is located according to the data collected by the depth camera of the drone; According to the scene structure and local obstacle information, a depth information map of the local scene of the spatial environment where the drone is located is established, and presented in the form of an octree map; The planning of a global path according to the first map includes: planning a global path according to the octree map.
4. The method according to claim 1, It is characterized in that After constructing a first map of the spatial environment in which the drone is located and before planning a global path according to the first map, the method further includes: The Tie_Breaker technique is used to remove redundant search nodes in the first map.
5. An autonomous positioning device for drones, It is characterized in that The method comprises a processor and a memory, wherein the memory is used to store instructions, and the instructions are used to control the processor to operate so as to execute the method according to any one of claims 1 to 4.
6. A drone, It is characterized in that It includes a two-dimensional laser radar, an inertial sensor, a visual odometer, a depth camera, an altitude determination radar, and the autonomous positioning device for the unmanned aerial vehicle according to claim 5; Among them, the drone autonomous positioning device is respectively communicated with the two-dimensional laser radar, the inertial sensor, the visual odometer, the depth camera, and the height-fixing radar.
Citation Information
Cited By
Control and positioning method of active variable-angle laser radar unmanned aerial vehicle
CN120560318A
A control and positioning method of an active variable-angle laser radar unmanned aerial vehicle
CN120560318B
