Unmanned aerial vehicle obstacle avoidance method, device and system
By using the programmable processor chip ZYNQ on the drone for data collection and obstacle recognition, the complexity and high cost of the existing drone obstacle avoidance system are solved, and simple, low-cost drone obstacle avoidance is achieved. system, improves performance and stability, and supports function expansion.
Patent Information
- Application Number
- CN202411158968.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-15
AI Technical Summary
The existing UAV obstacle avoidance system has complex design, high research and development costs, and difficulty in development. It lacks a system with simple design, low cost and easy development to realize UAV obstacle recognition.
The programmable processor chip ZYNQ is used to obtain data through the data acquisition equipment, send it to the programmable logic PL side of ZYNQ for obstacle identification, and store the identification information into the PS side of the processor system. After analysis, it issues obstacle avoidance control instructions. Control the drone to avoid obstacles. The ZYNQ system has a simple structure, centralized resources, and is easy to develop and maintain. It is interconnected through an internal parallel bus interface and supports multiple interface expansions.
A UAV obstacle avoidance system with simple design, low cost and easy development is realized, which reduces the difficulty of research and development and maintenance costs, improves the performance and stability of the UAV, supports multiple interface expansions, and enhances the functionality and functionality of the system. Scalability.
Smart Images

Figure CN118778680A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of drone technology, and in particular to a method, device and system for drone obstacle avoidance. Background Art
[0002] With the widespread application of drones in civil and military fields such as logistics distribution, cruising, and aerial photography, it is increasingly important to develop efficient, accurate, easy-to-develop and maintain drone obstacle avoidance systems. Usually, drone obstacle avoidance systems need to collect radar and video data and combine algorithms to realize functions such as obstacle location, relative moving speed, and volume contour recognition.
[0003] In the prior art, the design structure of the drone obstacle avoidance system is complex, the R&D cost is high, and the development difficulty is great. Therefore, there is an urgent need for a drone obstacle avoidance system with simple design, low cost and easy development to realize drone obstacle recognition. Summary of the invention
[0004] Based on the above problems, the present application provides a method, device and system for drone obstacle avoidance, so as to provide a drone obstacle avoidance system with simple design, low cost and easy development to realize drone obstacle identification.
[0005] The present application discloses a method for obstacle avoidance of a drone, wherein the drone is equipped with a programmable processor chip ZYNQ, and the method comprises:
[0006] Get the collected data from the data acquisition device connected to ZYNQ;
[0007] Send the collected data to the programmable logic PL end of ZYNQ;
[0008] The PL side identifies obstacle information based on the collected data, and stores the obstacle information in the processor system PS side of ZYNQ;
[0009] The PS side analyzes the obstacle information, obtains and issues obstacle avoidance control instructions to control the drone to avoid obstacles.
[0010] Optionally, the PL terminal identifies obstacle information based on the collected data, including:
[0011] The PL terminal identifies the position, relative moving speed, and volume contour of the obstacle based on the collected data in accordance with the obstacle identification program; the obstacle identification program supports pre-setting and updating.
[0012] Optionally, the method further includes:
[0013] The PL side calls the intellectual property IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
[0014] Optionally, the method further includes:
[0015] The PL side calls various types of IP cores to expand the number and types of interfaces on the PS side.
[0016] Optionally, the data acquisition equipment includes a radar and a camera.
[0017] Based on the above-mentioned method for avoiding obstacles in a UAV, the present application also discloses a device for avoiding obstacles in a UAV, wherein the UAV is equipped with a programmable processor chip ZYNQ, and the device comprises: a collection unit, a transmission unit, a processing unit and a control unit;
[0018] The acquisition unit is used to acquire the collected data from the data acquisition device externally connected to ZYNQ;
[0019] The transmission unit is used to send the collected data to the programmable logic PL end of ZYNQ;
[0020] The processing unit is used for the PL side to identify obstacle information based on the collected data and store the obstacle information in the processor system PS side of ZYNQ;
[0021] The control unit is used for the PS side to analyze the obstacle information, obtain and issue obstacle avoidance control instructions, so as to control the drone to avoid obstacles.
[0022] Optionally, the processing unit is used to:
[0023] The PL terminal identifies the position, relative moving speed, and volume contour of the obstacle based on the collected data in accordance with the obstacle identification program; the obstacle identification program supports pre-setting and updating.
[0024] Optionally, the device further comprises:
[0025] The health management unit is used by the PL side to call the intellectual property IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
[0026] Optionally, the device further comprises:
[0027] The expansion unit is used by the PL side to call various types of IP cores and expand the number and types of interfaces on the PS side.
[0028] Optionally, the data acquisition equipment includes a radar and a camera.
[0029] Based on the above-mentioned method for avoiding obstacles in a drone, the present application also discloses a system for avoiding obstacles in a drone, which is used to implement the above-mentioned method. The system includes a drone and a ZYNQ carried by the drone;
[0030] ZYNQ includes a PL side and a PS side interconnected by an internal parallel bus interface;
[0031] ZYNQ connects to external data acquisition equipment via a serial bus interface to obtain collected data;
[0032] The PL terminal is used to identify obstacle information based on the collected data;
[0033] The PS end is used to analyze the obstacle information to obtain an obstacle avoidance control instruction, and send the obstacle avoidance control instruction to the drone to control the drone to avoid obstacles.
[0034] Optionally, write or update the PL end of the obstacle identification program to identify the position, relative moving speed, and volume contour of the obstacle.
[0035] Optionally, call the PL end of the IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
[0036] Optionally, the PL end can be connected to an external camera and radar to collect video, image data and obstacle distance data.
[0037] The present application discloses a method, device and system for unmanned aerial vehicle obstacle avoidance. The unmanned aerial vehicle is equipped with ZYNQ, and the collected data is obtained from the data collection device external to ZYNQ and sent to the PL end of ZYNQ. The PL end identifies obstacle information based on the collected data and stores it in the PS end of ZYNQ. The PS end analyzes the obstacle information, obtains and issues obstacle avoidance control instructions to control the unmanned aerial vehicle to avoid obstacles. The ZYNQ system has a simple structure, all resources are concentrated on the same chip, and are interconnected through an internal parallel bus interface, which is easy to develop, with low R&D difficulty and maintenance cost. It is also easy to achieve overall resource scheduling, which improves the performance and stability of the unmanned aerial vehicle. The functions of the unmanned aerial vehicle can also be expanded through multiple and multiple interfaces. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0039] Figure 1 A flowchart of a method for avoiding obstacles in a drone disclosed in an embodiment of the present application is shown;
[0040] Figure 2a A schematic flow chart of another method for avoiding obstacles in a drone disclosed in an embodiment of the present application;
[0041] Figure 2b A timing diagram of a method for avoiding obstacles in a drone disclosed in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of the structure of a drone obstacle avoidance device disclosed in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of the structure of a drone obstacle avoidance system disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] Embodiment 1: This application discloses a method for avoiding obstacles of a drone.
[0046] For details, please refer to Figure 1 The present embodiment discloses a method for avoiding obstacles of a drone, comprising the following steps:
[0047] Step 101: Acquire collected data from a data acquisition device externally connected to ZYNQ.
[0048] In the method described in this embodiment, ZYNQ supports SERDES (serializer / deserializer) high-speed serial bus interface, which can be connected to multiple cameras, radars and other data acquisition devices. At the same time, SERDES supports multiple video transmission protocols, which can obtain more accurate high-definition video data of obstacles.
[0049] Step 102: Send the collected data to the programmable logic PL end of ZYNQ.
[0050] In the method described in this embodiment, ZYNQ includes a PS terminal and a PL terminal, which are interconnected through multiple high-speed parallel data interfaces and control signals in the chip, so as to be tightly coupled together. Among them, the PL terminal where the programmable logic device PLD (Programmab le Log ic Device) is located allows the user to set, erase and modify the internally connected integrated circuit by writing programming data, that is, the function of the PL terminal can be set by the user through programming.
[0051] Step 103: The PL side identifies obstacle information based on the collected data, and stores the obstacle information into the processor system PS side of ZYNQ.
[0052] This embodiment is applied to the field of drone obstacle avoidance, so the function of the PL end is to identify obstacle information based on collected data. As an optional method, the PL end can identify the position, relative moving speed, and volume contour of the obstacle based on the collected data according to the obstacle recognition program pre-written by the user. In addition, the obstacle recognition program can be written, and can also be updated by modification or rewriting.
[0053] In the method described in this embodiment, the PL side can call the intellectual property IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults. As an optional method, the analog signal can be converted into a digital signal through the ADC data acquisition interface of the PL side, and the discrete analog quantity can be detected to complete the health management of ZYNQ. Among them, the IP core refers to the mature design of the circuit module with independent functions in the chip, which can also be understood as the intermediate component of the chip design.
[0054] Since different IP cores have different functions, the PL side can also call multiple types of IP cores to expand the number and types of interfaces on the PS side. For example, when the PS side has only two Ethernet channels, but the actual demand is greater than two Ethernet channels, the PL side can expand the interface of the PS side by calling the IP core. When the optical fiber interface is required to transmit network data or video data, and the PS side does not have the corresponding interface, the PL side can also expand the interface types of the PS side by calling the IP core.
[0055] Step 104: The PS side analyzes the obstacle information, obtains and issues obstacle avoidance control instructions to control the drone to avoid obstacles.
[0056] In the method described in this embodiment, the PS side of ZYNQ integrates a processor, a memory and various interfaces for receiving and analyzing obstacle information identified by the PL side and obtaining obstacle avoidance control instructions.
[0057] As an optional method, the PS can send the obstacle avoidance control instructions to the drone and at the same time send the obstacle avoidance control instructions and obstacle information to an external system via a wired or wireless network.
[0058] The ZYNQ in the method described in this embodiment can be connected to multiple cameras, radars and other data acquisition devices through a high-speed serial bus interface, and supports a variety of high-definition video transmission protocols, which can obtain high-definition video data of obstacles for analysis and improve data accuracy. The PL end of ZYNQ can call rich and mature IP cores to expand the number and types of PS end interfaces. The PL end itself also supports the ADC data acquisition interface, which can convert analog signals into digital signals to detect discrete analog quantities, thereby realizing the health management of ZYNQ. All resources of the method described in this embodiment are concentrated on a ZYNQ chip, which has a simple structure, is easy to develop and realize overall resource scheduling, reduces the difficulty of research and development, maintenance costs, and improves system performance and stability. In addition, ZYNQ can realize data sharing and multi-system collaboration through the design of wired and wireless networks.
[0059] Embodiment 2: This application discloses another method for avoiding obstacles in a drone. Figure 2a The method described in this embodiment introduces the entire process of ZYNQ internal data processing when the drone avoids obstacles.
[0060] Step 201: The data acquisition device collects relevant data on obstacles and sends it to ZYNQ through the interface.
[0061] Step 202: The PL end of ZYNQ receives and obtains obstacle information based on relevant data identification.
[0062] Step 203: The PL end sends the obstacle information to the PS end.
[0063] Step 204: The PS side analyzes the obstacle information to obtain obstacle avoidance control instructions.
[0064] Step 205: The PS sends the obstacle avoidance control command to the drone.
[0065] Step 206: The UAV responds to the obstacle avoidance control command and completes obstacle avoidance.
[0066] Figure 2b This is a timing diagram of a method for avoiding obstacles in a drone disclosed in an embodiment of the present application. Figure 2b This article introduces the process of ZYNQ internal data transmission when the drone avoids obstacles:
[0067] The data acquisition device collects obstacle-related data a and sends it to the PL end of ZYNQ through the interface. The PL end identifies obstacle information b based on obstacle-related data a and sends it to the PS end of ZYNQ. The PS end analyzes obstacle information b to obtain obstacle avoidance control instructions c and sends it to the drone.
[0068] Based on the above-mentioned embodiment, a method for avoiding obstacles in a UAV is disclosed. This embodiment discloses a device for avoiding obstacles in a UAV. The UAV is equipped with a programmable processor chip ZYNQ. Figure 3 , the device for avoiding obstacles of a UAV comprises: a collection unit 301, a transmission unit 302, a processing unit 303 and a control unit 304;
[0069] The acquisition unit 301 is used to acquire the collected data from the data acquisition device externally connected to ZYNQ;
[0070] The transmission unit 302 is used to send the collected data to the programmable logic PL end of ZYNQ;
[0071] The processing unit 303 is used for the PL end to identify obstacle information based on the collected data and store the obstacle information in the processor system PS end of ZYNQ;
[0072] The control unit 304 is used for the PS end to analyze the obstacle information, obtain and issue obstacle avoidance control instructions, so as to control the drone to avoid obstacles.
[0073] Optionally, the processing unit 303 is configured to:
[0074] The PL terminal identifies the position, relative moving speed, and volume contour of the obstacle based on the collected data in accordance with the obstacle identification program; the obstacle identification program supports pre-setting and updating.
[0075] Optionally, the device further comprises:
[0076] The health management unit is used by the PL side to call the intellectual property IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
[0077] Optionally, the device further comprises:
[0078] The expansion unit is used by the PL side to call various types of IP cores and expand the number and types of interfaces on the PS side.
[0079] Optionally, the data acquisition equipment includes a radar and a camera.
[0080] Based on the above-mentioned method for avoiding obstacles in a drone, the present application also discloses a system for avoiding obstacles in a drone, wherein the drone is equipped with a programmable processor chip ZYNQ for implementing the above-mentioned method, and the system includes a drone and the ZYNQ carried by the drone;
[0081] ZYNQ includes a PL side and a PS side interconnected by an internal parallel bus interface;
[0082] ZYNQ connects to external data acquisition equipment via a serial bus interface to obtain collected data;
[0083] The PL terminal is used to identify obstacle information based on the collected data;
[0084] The PS end is used to analyze the obstacle information to obtain an obstacle avoidance control instruction, and send the obstacle avoidance control instruction to the drone to control the drone to avoid obstacles.
[0085] Optionally, write or update the PL end of the obstacle identification program to identify the position, relative moving speed, and volume contour of the obstacle.
[0086] Optionally, call the PL end of the IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
[0087] Optionally, the PL end can be connected to an external camera and radar to collect video, image data and obstacle distance data.
[0088] Figure 4 FIG. 1 is a schematic diagram of a system for avoiding obstacles in a drone disclosed in an embodiment of the present application. Figure 4 As shown in the figure, ZYNQ mainly consists of two parts, namely the PL end and the PS end. The internal parts are interconnected through multiple high-speed parallel data interfaces and control signals, so that the PL end and the PS end are tightly coupled together, thereby saving occupied area and reducing power consumption.
[0089] like Figure 4 It is shown that ZYNQ has a rich set of peripheral interfaces, among which JTAG_PL on the PL side is a programmable logic debugging interface, GTX (Gigabit Transceiver) is a gigabit transceiver that can be connected to a camera to collect video data to obtain image information, DDR3 (Double-Data-Rate Three Synchronous Dynamic Random Access Memory) is the third generation of double-data-rate synchronous dynamic random access memory, used for system cache. XADC is a collection of analog-to-digital converters, temperature sensors, and voltage sensors, GPIO (Genera l-purpose input / output) is a general-purpose input / output, and CAN (Controller Area Network bus) is a controller area network bus that can be connected to a radar to obtain distance information. UART (Un i versa l Asynchronous Receiver / Transmitter) is a universal asynchronous receiver / transmitter.
[0090] JTAG_PS on the PS side is the processing system debugging interface, and QSPI (Quad Ser ial Periphera linterface) is a four-wire serial peripheral interface used to connect to the FLASH boot firmware. EMMC (Embedded Multi Medi a Card) is an embedded multimedia card used to store logs and videos. The USB (Un i versa l Ser ia lBus) bus is a universal serial bus that can be connected to a wireless module for transmitting data through a wireless network. RGMII (Reduced G i gab it Med ia Independent Interface) is a simplified Gigabit media independent interface that can be connected to a wired network port for transmitting data through a wired network. The wired network port and the wireless module can be networked to achieve multi-system linkage.
[0091] The embodiments in this specification are described in a progressive manner. As for the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the methods.
[0092] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0093] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0094] The features described in the embodiments of this specification can be replaced or combined with each other, so that professional and technical personnel in this field can implement or use the present application.
[0095] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for avoiding obstacles in a drone, characterized in that: The drone is equipped with a programmable processor chip ZYNQ, and the method includes: Get the collected data from the data acquisition device connected to ZYNQ; Send the collected data to the programmable logic PL end of ZYNQ; The PL side identifies obstacle information based on the collected data, and stores the obstacle information in the processor system PS side of ZYNQ; The PS side analyzes the obstacle information, obtains and issues obstacle avoidance control instructions to control the drone to avoid obstacles.
2. The method according to claim 1, characterized in that: The PL end identifies obstacle information based on the collected data, including: The PL terminal identifies the position, relative moving speed, and volume contour of the obstacle based on the collected data in accordance with the obstacle identification program; the obstacle identification program supports pre-setting and updating.
3. The method according to claim 1, characterized in that The method further comprises: The PL side calls the intellectual property IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
4. The method according to claim 1, characterized in that: The method further comprises: The PL side calls various types of IP cores to expand the number and types of interfaces on the PS side.
5. The method according to claim 1, characterized in that The data acquisition equipment includes a radar and a camera.
6. A device for avoiding obstacles in a drone, characterized in that: The drone is equipped with a programmable processor chip ZYNQ, and the device includes: a collection unit, a transmission unit, a processing unit and a control unit; The acquisition unit is used to acquire the collected data from the data acquisition device externally connected to ZYNQ; The transmission unit is used to send the collected data to the programmable logic PL end of ZYNQ; The processing unit is used for the PL side to identify obstacle information based on the collected data and store the obstacle information in the processor system PS side of ZYNQ; The control unit is used for the PS side to analyze the obstacle information, obtain and issue obstacle avoidance control instructions, so as to control the drone to avoid obstacles.
7. A drone obstacle avoidance system, characterized in that: Used to implement the method described in any one of claims 1 to 5, the system comprises a drone and a ZYNQ carried by the drone; ZYNQ includes a PL side and a PS side interconnected by an internal parallel bus interface; ZYNQ connects to external data acquisition equipment via a serial bus interface to obtain collected data; The PL terminal is used to identify obstacle information based on the collected data; The PS end is used to analyze the obstacle information to obtain an obstacle avoidance control instruction, and send the obstacle avoidance control instruction to the drone to control the drone to avoid obstacles.
8. The system according to claim 7, characterized in that Write or update the PL end of the obstacle recognition program to identify the position, relative moving speed, and volume contour of the obstacle.
9. The system according to claim 7, characterized in that Call the PL end of the IP core that supports chip management to monitor the working status of ZYNQ in real time and report faults.
10. The system according to claim 7, characterized in that The PL end is connected to an external camera and radar to collect video, image data and obstacle distance data.
