WO2021146972A1 - Airspace detection method, movable platform, device, and storage medium - Google Patents

Airspace detection method, movable platform, device, and storage medium Download PDF

Info

Publication number
WO2021146972A1
WO2021146972A1 PCT/CN2020/073659 CN2020073659W WO2021146972A1 WO 2021146972 A1 WO2021146972 A1 WO 2021146972A1 CN 2020073659 W CN2020073659 W CN 2020073659W WO 2021146972 A1 WO2021146972 A1 WO 2021146972A1
Authority
WO
WIPO (PCT)
Prior art keywords
drone
preset
view
distance
field
Prior art date
Application number
PCT/CN2020/073659
Other languages
French (fr)
Chinese (zh)
Inventor
刘宝恩
王涛
李鑫超
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN202080004081.6A priority Critical patent/CN112567308A/en
Priority to PCT/CN2020/073659 priority patent/WO2021146972A1/en
Publication of WO2021146972A1 publication Critical patent/WO2021146972A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/10Simultaneous control of position or course in three dimensions

Abstract

An airspace detection method, a movable platform, a device, and a storage medium. The method comprises: responding to a flight control instruction so that an unmanned aerial vehicle flies according to a preset flight mode (S101); in a flight process, obtaining an environment image in a preset field of view above the unmanned aerial vehicle (S102); and if it is identified that there is no object of an obstacle type in the environment image, determining that airspace above the unmanned aerial vehicle is flyable (S104). On one hand, compared with methods of regarding airspace above an unmanned aerial vehicle to be flyable by default, whether the airspace above the unmanned aerial vehicle is flyable is determined by means of detection. When the airspace above is flyable, the unmanned aerial vehicle can fly upwards, and automatic return is further implemented to avoid damage to the unmanned aerial vehicle. On the other hand, the detection method is not intended to detect the entire field of view above the unmanned aerial vehicle, but to detect the preset field of view obtained by flight according to the preset flight mode, so that the detection range is narrowed, the amount of calculation is reduced, and the detection efficiency is improved.

Description

空域检测方法、可移动平台、设备和存储介质Airspace detection method, movable platform, equipment and storage medium 技术领域Technical field
本发明涉及图像处理技术领域,尤其涉及一种空域检测方法、可移动平台、设备和存储介质。The present invention relates to the technical field of image processing, in particular to an airspace detection method, a movable platform, equipment and storage medium.
背景技术Background technique
无人机是利用无线电遥控设备和自备的程序控制装置操纵的不载人飞行器。与载人飞机相比,它具有体积小、造价低等特点,目前已经广泛使用到众多领域中,比如街景拍摄、电力巡检、交通监视、灾后救援等等。UAV is an unmanned aerial vehicle operated by radio remote control equipment and self-provided program control device. Compared with manned aircraft, it has the characteristics of small size and low cost. It has been widely used in many fields, such as street scene shooting, power inspection, traffic monitoring, post-disaster rescue and so on.
在无人机飞行的各个阶段,都需要躲避障碍物。以无人机返航为例,在返航过程中无人机存在一个向上飞行的过程,此时,就需要区分出无人机上方是否是可飞行空域,也即是是否存在障碍物。在现有技术中,通常会默认无人机上方为可飞行空域,但这显然是不合理的,在返航过程中为无人机带来了较大的损毁风险。In all stages of UAV flight, obstacles need to be avoided. Take the drone's return as an example. During the return process, the drone has an upward flight. At this time, it is necessary to distinguish whether the drone is in the flyable airspace, that is, whether there are obstacles. In the prior art, it is usually assumed that the airspace above the drone is flyable, but this is obviously unreasonable and brings a greater risk of damage to the drone during the return process.
发明内容Summary of the invention
本发明提供了一种空域检测方法、可移动平台、设备和存储介质,用于实现无人机上方可飞行空域的准确检测。The invention provides an airspace detection method, a movable platform, equipment and a storage medium, which are used for realizing accurate detection of the flightable airspace above the drone.
本发明的第一方面是为了提供一种空域检测方法,所述方法包括:The first aspect of the present invention is to provide an airspace detection method, the method includes:
对飞行控制指令进行响应,使无人机以预设飞行方式飞行;Respond to flight control commands to make the UAV fly in a preset flight mode;
在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
本发明的第二方面是为了提供一种可移动平台,所述可移动平台包括:机体、动力系统以及控制装置;The second aspect of the present invention is to provide a movable platform, the movable platform includes: a body, a power system and a control device;
所述动力系统,设置于所述机体上,用于为所述可移动平台提供动力;The power system is arranged on the body and used to provide power for the movable platform;
所述控制装置包含存储器和处理器;The control device includes a memory and a processor;
所述存储器,用于存储计算机程序;The memory is used to store a computer program;
所述处理器,用于运行所述存储器中存储的计算机程序以实现:对飞行控制指令进行响应,使无人机以预设飞行方式飞行;The processor is configured to run a computer program stored in the memory to realize: responding to flight control instructions to make the UAV fly in a preset flight mode;
在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
本发明的第三方面是为了提供一种空域检测设备,所述设备包括:The third aspect of the present invention is to provide an airspace detection device, which includes:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于运行所述存储器中存储的计算机程序以实现:对飞行控制指令进行响应,使无人机以预设飞行方式飞行;The processor is configured to run a computer program stored in the memory to realize: responding to flight control instructions to make the UAV fly in a preset flight mode;
在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
本发明的第四方面是为了提供一种计算机可读存储介质,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于第一方面所述的空域检测方法。The fourth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect. The airspace detection method described.
本发明提供的空域检测方法、可移动平台、设备和存储介质,对飞行控制指令进行响应,并依据响应结果使无人机按照预设飞行方式飞行。在飞行的过程中,获取无人机上方预设视场内的环境图像,并对此环境图像进行识别。若识别出环境图像中不存在属于障碍物类别的物体,可以认为无人机上方没有障碍物,则确定无人机上方是可飞行空域。一方面,相比于现有技术中默认无人机上方空域为可飞行空域的方式,本发明提供了一种空域检测方法,以通过检测的方式确定无人机上方是否是可飞行空域。当检测出上方空域没有障碍物时,无人机便可向上飞行,并进一步实现返航,避免出现无人机损毁。另一方面,本发明提供的空域检测方法并不是对无人机上方的全部视场进行检测,而是对按照预设飞行方式飞行得到的预设视场进行检测,使 得检测过程中的检测范围缩小,降低计算量,提高检测效率。The airspace detection method, movable platform, equipment and storage medium provided by the present invention respond to flight control instructions, and make the UAV fly according to the preset flight mode according to the response result. During the flight, the environment image in the preset field of view above the drone is acquired and the environment image is recognized. If it is recognized that there is no object belonging to the obstacle category in the environmental image, it can be considered that there is no obstacle above the drone, and the airspace above the drone is determined to be flyable. On the one hand, compared to the way in the prior art that the airspace above the drone is a flyable airspace, the present invention provides an airspace detection method to determine whether the airspace above the drone is a flyable airspace through detection. When it is detected that there are no obstacles in the airspace above, the drone can fly upwards and further return home to avoid damage to the drone. On the other hand, the airspace detection method provided by the present invention does not detect the entire field of view above the drone, but detects the preset field of view obtained by flying according to the preset flight mode, so that the detection range in the detection process is Reduce, reduce the amount of calculation, and improve the detection efficiency.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1为本发明实施例提供的一种空域检测方法的流程示意图;FIG. 1 is a schematic flowchart of an airspace detection method provided by an embodiment of the present invention;
图2为本发明实施例提供的无人机配置的云台在不同状态下的结构示意图;FIG. 2 is a schematic structural diagram of a pan/tilt configured for drones in different states according to an embodiment of the present invention;
图3为本发明实施例提供的环境图像对应的环形视场的示意图;3 is a schematic diagram of a circular field of view corresponding to an environmental image provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种空域检测方法的流程示意图;4 is a schematic flowchart of another airspace detection method provided by an embodiment of the present invention;
图5a为本发明实施例提供的又一种空域检测方法的流程示意图;FIG. 5a is a schematic flowchart of yet another airspace detection method according to an embodiment of the present invention;
图5b为本发明实施例提供的又一种空域检测方法的流程示意图;FIG. 5b is a schematic flowchart of yet another airspace detection method according to an embodiment of the present invention;
图5c为本发明实施例提供的又一种空域检测方法的流程示意图;FIG. 5c is a schematic flowchart of another airspace detection method according to an embodiment of the present invention;
图6为本发明实施例提供的第一距离与第二距离之间的关系示意图;6 is a schematic diagram of the relationship between the first distance and the second distance provided by an embodiment of the present invention;
图7为本发明实施例提供的一种空域检测装置的结构示意图;FIG. 7 is a schematic structural diagram of an airspace detection device provided by an embodiment of the present invention;
图8为本发明实施例提供的一种可移动平台的结构示意图;FIG. 8 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention;
图9为本发明实施例提供的一种空域检测设备的结构示意图。FIG. 9 is a schematic structural diagram of an airspace detection device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
在对本发明实施例提供的空域检测方法进行详细介绍之前,先对无人机的自动返航机制进行简单介绍。Before detailed introduction to the airspace detection method provided by the embodiment of the present invention, the automatic return mechanism of the UAV will be briefly introduced.
在飞行的过程中,无人机很多时候都处于超视距的范围,当无人机完成飞行任务或者在飞行过程中遇到恶劣的自然环境比如突起的山峰,又或者与地面基站之间的通信连接断开时,为了保证无人机的安全,避免出现损毁事故,无人机往往需要自动返航。由于无人机的自动返航过程中存在一个上升飞行阶段,因此,无人机上方是否存在障碍物就成为影响无人机能否自动返航的重要因素。此时,便可以使用下述各实施例提供的空域检测方法来判断无人机上方是否存在障碍物,也即是确定无人机是否能够实现自动返航。During the flight, the UAV is often in the range of beyond the visual range. When the UAV completes the flight mission or encounters the harsh natural environment during the flight, such as the protruding mountain peak, or the ground base station. When the communication connection is disconnected, in order to ensure the safety of the drone and avoid damage accidents, the drone often needs to return home automatically. Since there is an ascending flight stage during the automatic return of the UAV, whether there are obstacles above the UAV becomes an important factor affecting the automatic return of the UAV. At this time, the airspace detection method provided by the following embodiments can be used to determine whether there is an obstacle above the drone, that is, to determine whether the drone can automatically return home.
下面结合附图,对本发明的一些实施方式作详细说明。在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。In the following, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. As long as there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other.
图1为本发明实施例提供的一种空域检测方法的流程示意图。该空域检测方法的执行主体是空域检测设备。可以理解的是,该空域检测设备可以实现为软件、或者软件和硬件的组合。空域检测设备执行该空域检测方法则可以实现对无人机上方空域是否为可飞行空域的检测。本实施例以及下述各实施例中的空域检测设备具体来说可以是可移动平台,比如无人机等。具体的,该方法可以包括:FIG. 1 is a schematic flowchart of an airspace detection method provided by an embodiment of the present invention. The main body of the airspace detection method is airspace detection equipment. It is understandable that the airspace detection device can be implemented as software or a combination of software and hardware. The airspace detection device executes the airspace detection method to detect whether the airspace above the drone is a flightable airspace. The airspace detection equipment in this embodiment and the following embodiments may specifically be a movable platform, such as a drone. Specifically, the method may include:
S101,对飞行控制指令进行响应,使无人机以预设飞行方式飞行。S101: Respond to the flight control command to make the UAV fly in a preset flight mode.
当无人机需要自动返航时,会产生一个飞行控制指令,无人机响应此指令,以使自身按照预设飞行方式飞行,并且预设飞行方式与飞行控制指令具有一一对应关系。举例来说,飞行控制指令可以为在第一位置原地旋转飞行,也可以为由第一位置飞行至预设距离之外的第二位置,其中,第一位置可以是无人机产生飞行控制指令时所处的位置,其可以是无人机整个飞行过程中的任一位置。When the drone needs to return home automatically, it will generate a flight control command. The drone responds to this command to make itself fly according to the preset flight mode, and the preset flight mode has a one-to-one correspondence with the flight control command. For example, the flight control command can be rotating and flying in place at the first position, or flying from the first position to a second position beyond the preset distance, where the first position can be that the drone generates flight control. The position at the time of the command can be any position during the entire flight of the UAV.
S102,在以预设飞行方式飞行过程中,获取对应于无人机上方预设视场内的环境图像。S102: Acquire an environment image corresponding to the preset field of view above the drone during the flight in the preset flight mode.
在以预设飞行方式飞行的过程中,无人机自身配置的可上视摄像头可以不断对无人机上方进行拍摄,以得到环境图像。无人机飞行方式特殊性,也就直接导致得到的环境图像对应的视场具有特殊性,也即是在一定视场内。也就是说,响应飞行控制指令以预设飞行方式飞行,其的直接作用就是得到预设视场内的环境图像。In the process of flying in the preset flight mode, the upward-viewing camera configured by the UAV itself can continuously take pictures of the top of the UAV to obtain environmental images. The particularity of the flying mode of the UAV directly leads to the particularity of the field of view corresponding to the obtained environmental image, that is, within a certain field of view. In other words, in response to flight control instructions to fly in a preset flight mode, its direct function is to obtain an image of the environment in the preset field of view.
可选地,无人机上配置的可上视摄像头具体可以是一个单目摄像头,并 且此单目摄像头的可上视功能可以借助云台实现,即单目摄像头放置于可以向上抬起的云台上,通过云台的向上抬起从而使得单目摄像头能够拍得对应于无人机上方的环境图像。其中,云台的抬起与非抬起状态可以如图2所示。对于飞行控制指令,一种可选地方式,可以是控制无人机在当前位置旋转飞行一周。由于无人机上的可上视摄像头本身具有一定的视场角度,因此,在经过旋转飞行后,得到的环境图像对应的视场是一个环形视场,可如图3所示,并且圆环的高度由单目摄像头的视场决定。Optionally, the top-viewing camera configured on the UAV can be a monocular camera, and the top-viewing function of the monocular camera can be realized with the help of a pan-tilt, that is, the monocular camera is placed on a pan-tilt that can be lifted upwards. Up, the monocular camera can take images corresponding to the environment above the drone by lifting up the pan/tilt. Among them, the lifted and non-lifted states of the PTZ can be shown in Figure 2. For the flight control command, an alternative way may be to control the UAV to rotate and fly one circle at the current position. Since the up-view camera on the UAV itself has a certain field of view angle, after rotating and flying, the field of view corresponding to the obtained environment image is a circular field of view, as shown in Figure 3, and the circular field of view The height is determined by the field of view of the monocular camera.
S103,识别环境图像中物体所属的类别。S103: Identify the category to which the object in the environmental image belongs.
接着,无人机会对获取到的环境图像进行识别,以确定环境图像中各物体所属的类别。这种识别实际上是像素级别的,也即是识别出环境图像中每个像素点所属的类别。对于像素级别的识别过程,可选地,可以神经网络模型来完成。Then, the drone will recognize the acquired environment image to determine the category of each object in the environment image. This recognition is actually at the pixel level, that is, to identify the category to which each pixel in the environmental image belongs. For the pixel-level recognition process, optionally, it can be done by a neural network model.
具体来说,神经网络模型具体可以为卷积神经网络(Convolutional Neural Networks,CNN)模型。神经网络模型可以包括多个计算节点,每个计算节点中可以包括卷积(Conv)层、批量归一化(Batch Normalization,BN)以及激活函数ReLU,计算节点之间可以采用跳跃连接(Skip Connection)方式连接。Specifically, the neural network model may be a convolutional neural network (Convolutional Neural Networks, CNN) model. The neural network model can include multiple computing nodes. Each computing node can include a convolution (Conv) layer, batch normalization (BN), and an activation function ReLU. The computing nodes can use skip connection (Skip Connection). ) Way to connect.
K×H×W的输入数据可以输入神经网络模型,经过神经网络模型处理后,可以获得C×H×W的输出数据。其中,K可以表示输入通道的个数,K可以等于4,分别对应红(R,red)、绿(G,green)、蓝(B,blue)和深度(D,deep)共四个通道;H可以表示输入图像(即环境图像)的高,W可以表示输入图像的宽,C可以表示类别数。The input data of K×H×W can be input into the neural network model, and after the neural network model is processed, the output data of C×H×W can be obtained. Among them, K can represent the number of input channels, and K can be equal to 4, corresponding to the four channels of red (R, red), green (G, green), blue (B, blue) and depth (D, deep) respectively; H can represent the height of the input image (ie, environmental image), W can represent the width of the input image, and C can represent the number of categories.
需要说明的是,当输入图像过大时,可以将一个输入图像切割为N个子图像,相应的,输入数据可以为N×K×H’×W’,输出数据可以为N×C×H’×W’,其中,H’可以表示子图像的高,W’可以表示子图像的宽。当然,在其他实施例中,也可以通过其他方式获得特征图,本申请对此不做限定。It should be noted that when the input image is too large, an input image can be cut into N sub-images. Correspondingly, the input data can be N×K×H'×W', and the output data can be N×C×H' ×W', where H'can represent the height of the sub-image, and W'can represent the width of the sub-image. Of course, in other embodiments, the feature map may also be obtained in other ways, which is not limited in this application.
利用上述预先训练好的神经网络模型处理环境图像,以得到特征图,具体来说可以包括如下步骤:Using the above-mentioned pre-trained neural network model to process the environment image to obtain a feature map may specifically include the following steps:
步骤1,将环境图像输入神经网络模型,得到神经网络模型的模型输出结果。Step 1. Input the environment image into the neural network model to obtain the model output result of the neural network model.
其中,神经网络模型的模型输出结果可以包括多个输出通道分别输出的 置信度特征图,该多个输出通道可以与多个对象类别一一对应,单个对象类别的置信度特征图的像素值用于表征像素是对象类别的概率。Among them, the model output result of the neural network model may include the confidence feature maps output by multiple output channels, and the multiple output channels can correspond to multiple object categories one-to-one, and the pixel values of the confidence feature maps of a single object category are used To characterize the probability that a pixel is an object category.
步骤2,根据神经网络模型的模型输出结果,得到包含语义信息的特征图。Step 2: According to the model output result of the neural network model, a feature map containing semantic information is obtained.
可以将与该多个输出通道一一对应的多个置信度特征图中同一像素位置像素值最大的置信度特征图对应的对象类别,作为像素位置的对象类别,从而得到特征图。The object category corresponding to the confidence feature map with the largest pixel value at the same pixel location in the multiple confidence feature maps one-to-one corresponding to the multiple output channels may be used as the object category of the pixel location to obtain the feature map.
假设,神经网络模型的输出通道的个数为4,每个通道的输出结果是一个置信度特征图,即4个置信度特征图分别为置信度特征图1至置信度特征图4,且置信度特征图1对应天空、置信度特征图2对应建筑物、置信度特征图3对应树木、置信度特征图4对应“其他”。在这几种分类中,除了天空,剩余都可以认为是障碍物。Suppose that the number of output channels of the neural network model is 4, and the output result of each channel is a confidence feature map, that is, the 4 confidence feature maps are the confidence feature map 1 to the confidence feature map 4, and the confidence The degree characteristic map 1 corresponds to the sky, the confidence characteristic map 2 corresponds to buildings, the confidence characteristic map 3 corresponds to trees, and the confidence characteristic map 4 corresponds to "other". In these categories, except for the sky, the rest can be regarded as obstacles.
例如,当置信度特征图1中像素位置(100,100)的像素值是70,置信度特征图2中像素位置(100,100)的像素值是50,置信度特征图3中像素位置(100,100)的像素值是20,置信度特征图4中像素位置(100,100)的像素值是20时,可以确定像素位置(100,100)是天空。For example, when the pixel value at the pixel location (100, 100) in the confidence feature map 1 is 70, the pixel value at the pixel location (100, 100) in the confidence feature map 2 is 50, and the pixel at the pixel location (100, 100) in the confidence feature map 3 When the value is 20, and the pixel value of the pixel position (100, 100) in the confidence feature map 4 is 20, it can be determined that the pixel position (100, 100) is the sky.
又例如,当置信度特征图1中像素位置(100,80)的像素值是20,置信度特征图2中像素位置(100,80)的像素值是30,置信度特征图3中像素位置(100,80)的像素值是20,置信度特征图4中像素位置(100,80)的像素值是70时,可以确定像素位置(100,80)是其他,即不是树木、建筑物和树木中的任意一种。For another example, when the pixel value at the pixel location (100, 80) in the confidence feature map 1 is 20, the pixel value at the pixel location (100, 80) in the confidence feature map 2 is 30, and the pixel location in the confidence feature map 3 When the pixel value of (100,80) is 20, and the pixel value of pixel position (100,80) in the confidence feature figure 4 is 70, it can be determined that the pixel position (100,80) is other, that is, it is not trees, buildings, and Any of the trees.
S104,若环境图像中不存在属于障碍物类别的物体,则确定无人机的上方空域为可飞行空域。S104: If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
基于环境图像的识别结果,一种情况,若识别出环境图像中不存在属于障碍物类别的物体,表明无人机上方的空域中没有障碍物,则确定上方空域是可飞行空域。此时,无人机可以开始上升飞行,并自动返航。Based on the recognition result of the environment image, in one case, if it is recognized that there is no object belonging to the obstacle category in the environment image, indicating that there is no obstacle in the airspace above the drone, it is determined that the airspace above is a flightable airspace. At this point, the UAV can start to fly and return home automatically.
另一种情况,若识别出环境图像中存在属于障碍物类别的物体,表明无人机上方存在障碍物,则确定无人机的上方空域为不可飞行空域。此时,无人机需要在当前位置继续悬停。In another case, if it is recognized that there are objects belonging to the obstacle category in the environmental image, indicating that there are obstacles above the drone, the airspace above the drone is determined to be non-flyable airspace. At this time, the drone needs to continue hovering at the current position.
本实施例提供的空域检测方法,对飞行控制指令进行响应,并依据响应结果使无人机按照预设飞行方式飞行。在飞行的过程中,获取无人机上方预设视场内的环境图像,并对此环境图像进行识别。若识别出环境图像中不存 在属于障碍物类别的物体,可以认为无人机上方没有障碍物,则确定无人机上方是可飞行空域。一方面,相比于现有技术中默认无人机上方空域为可飞行空域的方式,本发明提供了一种空域检测方法,通过检测的方式确定无人机上方是否是可飞行空域。当检测出上方空域没有障碍物时,无人机便可向上飞行,并进一步实现自动返航,避免无人机损毁。另一方面,本发明提供的空域检测方法并不是对无人机上方的全部视场进行检测,而是对按照预设飞行方式飞行得到的预设视场进行检测,使得检测过程中的检测范围缩小,降低计算量,提高检测效率。The airspace detection method provided in this embodiment responds to flight control instructions, and makes the UAV fly in a preset flight mode according to the response result. During the flight, the environment image in the preset field of view above the drone is acquired and the environment image is recognized. If it is recognized that there are no objects belonging to the obstacle category in the environmental image, it can be considered that there is no obstacle above the drone, and the airspace above the drone is determined to be flyable. On the one hand, compared to the prior art method in which the airspace above the drone is assumed to be flyable airspace, the present invention provides an airspace detection method to determine whether the airspace above the drone is flyable airspace through detection. When it is detected that there are no obstacles in the airspace above, the drone can fly upwards and further realize automatic return to avoid damage to the drone. On the other hand, the airspace detection method provided by the present invention does not detect the entire field of view above the drone, but detects the preset field of view obtained by flying according to the preset flight mode, so that the detection range in the detection process is Reduce, reduce the amount of calculation, and improve the detection efficiency.
除此之外,本实施例中仅使用可上视的摄像头拍得的图像即可实现空域检测,也即是提供了一种全新的空域检测方法。相比于使用双目摄像头或者深度传感器进行空域检测的方法,本实施例更加适用于未配置有双目摄像头或者深度传感器的无人机。In addition, in this embodiment, only the image taken by the upward-viewable camera can be used to realize airspace detection, that is, a brand-new airspace detection method is provided. Compared with the method of using binocular cameras or depth sensors for airspace detection, this embodiment is more suitable for drones that are not equipped with binocular cameras or depth sensors.
根据上述实施例中的描述可知,无人机上配置有可上视摄像头,此摄像头通常具有一个较大的视场角度,比如45度。然而在实际应用中,还可以以此摄像头的视场角度为上限,有针对性地调整视场角度以得到对应于环境图像的预设视场。According to the description in the foregoing embodiment, it can be seen that the drone is equipped with an upward-looking camera, which usually has a larger field of view angle, such as 45 degrees. However, in practical applications, the angle of the field of view of the camera can also be used as the upper limit, and the angle of the field of view can be adjusted in a targeted manner to obtain the preset field of view corresponding to the environmental image.
基于此,图4为本发明实施例提供的另一种空域检测方法的流程示意图,如图4所示,在步骤101之后,该空域检测方法还可以包括以下步骤:Based on this, FIG. 4 is a schematic flowchart of another airspace detection method provided by an embodiment of the present invention. As shown in FIG. 4, after step 101, the airspace detection method may further include the following steps:
S201,根据无人机上配置的可上视摄像头的视场角度确定预设环形视场的视场角度。S201: Determine the field of view angle of the preset annular field of view according to the field of view angle of the upward-looking camera configured on the drone.
为了后续的描述简洁,将可上视摄像头本身的视场角度称为第一角度,与预设飞行方式对应的预设环形视场的视场角度称为第二角度。第二角度小于或等于第一角度。For brevity in the subsequent description, the angle of view of the top-view camera itself is referred to as the first angle, and the angle of the preset circular field of view corresponding to the preset flying mode is referred to as the second angle. The second angle is less than or equal to the first angle.
默认情况下,可以将第二角度设置成与第一角度相等。但在实际应用中,也可以确定一个小于第一角度的第二角度。视场角度调整为第二角度后,环形视场的环宽也相应变小。By default, the second angle can be set equal to the first angle. However, in practical applications, a second angle smaller than the first angle can also be determined. After the angle of the field of view is adjusted to the second angle, the ring width of the annular field of view also becomes smaller.
但在实际应用中,可选地,除了可以根据第一角度来确定第二角度之外为,更为精细地,可选地,还可以依据无人机的体积以及无人机的飞行环境,来确定第二角度。However, in practical applications, in addition to determining the second angle based on the first angle, it can be more refined, optionally, based on the volume of the drone and the flight environment of the drone. To determine the second angle.
举例来说,当无人机的体积较小或者飞行环境较为空旷,则可以将第二 角度确定为一个稍小于第一角度的角度。由于可上视摄像头拍得的原始图像都对应于第一角度,因此,在确定出第二角度后,还会将此原始图像进行截取,截取后的图像即为环境图像。经过截取处理后,环境图像的尺寸会小于原始图像的尺寸,也即是缩小了空域检测的视场范围,从而降低计算量,提高检测效率。For example, when the size of the drone is small or the flying environment is relatively open, the second angle can be determined as an angle slightly smaller than the first angle. Since the original images captured by the up-view camera correspond to the first angle, after the second angle is determined, the original image will be intercepted, and the intercepted image is the environment image. After the interception process, the size of the environment image will be smaller than the size of the original image, that is, the field of view of the spatial detection is reduced, thereby reducing the amount of calculation and improving the detection efficiency.
当无人机体积较大或者飞行环境较为狭小,则可以确定第二角度确定与第一角度相等,以保证是在最大视场角度内对无人机上方的空域进行检测,尽可能避免出现无人机损毁的情况。When the size of the drone is large or the flying environment is relatively narrow, the second angle can be determined to be equal to the first angle to ensure that the airspace above the drone is detected within the maximum field of view angle, and as far as possible to avoid the occurrence of errors. Damaged man and machine.
本实施例中,在实际飞行过程中,还可以根据飞行环境以及无人机的体积等参数来对可上视摄像头自身的第一角度进行调整,以得到满足实际飞行的第二角度。通过角度的调整可以缩小空域检测的视场范围,降低计算量,提高检测效率。In this embodiment, during actual flight, the first angle of the up-view camera itself can also be adjusted according to parameters such as the flight environment and the volume of the drone to obtain the second angle that meets the actual flight. By adjusting the angle, the field of view of the airspace detection can be reduced, the calculation amount is reduced, and the detection efficiency can be improved.
根据上述各实施例中的描述可知,飞行控制指令、环境图像对应的预设视场角度以及可飞行空域的检测之间有着强关联关系。则基于上述各实施例,当飞行控制指令具体为第一飞行控制指令时,图5a为本发明实施例提供的又一种空域检测方法的流程示意图。如图5a所示,该方法可以包括如下步骤:According to the description in each of the foregoing embodiments, it can be seen that there is a strong correlation between the flight control command, the preset angle of view corresponding to the environment image, and the detection of the flightable airspace. Based on the foregoing embodiments, when the flight control instruction is specifically the first flight control instruction, FIG. 5a is a schematic flowchart of another airspace detection method provided by an embodiment of the present invention. As shown in Figure 5a, the method may include the following steps:
S301,对第一飞行控制指令进行响应,使无人机在第一位置原地旋转飞行一周。S301: Respond to the first flight control instruction to make the UAV rotate and fly one circle in situ at the first position.
第一飞行控制指令具体可以是控制无人机在第一位置原地旋转飞行一周的控制指令。无人机响应此指令,开始在第一位置旋转飞行一周。The first flight control instruction may specifically be a control instruction for controlling the drone to rotate and fly one circle in situ at the first position. The drone responds to this instruction and starts to fly one circle in the first position.
S302,在第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在第一位置获取的多张图像对应于无人机上方的第一预设环形视场。S302. In the process of rotating and flying at the first position, acquire multiple images taken at intervals of a preset angle, and the multiple images acquired at the first position correspond to the first preset annular field of view above the drone.
S303,对多张图像进行合并处理,以得到环境图像。S303: Perform merging processing on multiple images to obtain an environmental image.
无人机在旋转飞行过程中,其自身配置的可上视摄像头会以预设角度为间隔拍得多张图像,再将多张图像进行合并,即可获取到环境图像。此环境图像对应的视场即为第一预设环形视场,环境图像中包括的景象即为无人机上方第一预设环形视场内的景象,此第一预设环形视场对应于无人机的机身上方。During the rotating flight of the drone, its own up-view camera will take multiple images at preset angle intervals, and then merge the multiple images to obtain environmental images. The field of view corresponding to this environment image is the first preset annular field of view, and the scene included in the environment image is the scene in the first preset annular field of view above the drone, and the first preset annular field of view corresponds to Above the fuselage of the drone.
S304,识别环境图像中物体所属的类别。S304: Identify the category to which the object in the environmental image belongs.
S305,若环境图像中不存在属于障碍物类别的物体,则确定无人机的上 方空域为可飞行空域。S305: If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
上述步骤304和步骤305的执行过程与前述实施例的相应步骤相似,可以参见如图1所示实施例中的相关描述,在此不再赘述。The execution process of the foregoing step 304 and step 305 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 1, which will not be repeated here.
本实施例中,响应第一飞行控制指令,使无人机在第一位置原地旋转飞行一周。正是由于这种特殊的飞行方式,使得获取到的环境图像对应于一种特殊视场即无人机上方第一预设环形视场。最后,通过对环境图像的识别即能准确确定出无人机上方空域是否存在障碍物,也即是确定出无人机是否可以自动返航。In this embodiment, in response to the first flight control instruction, the UAV rotates and flies once in the first position. It is precisely because of this special flight mode that the acquired environment image corresponds to a special field of view, that is, the first preset annular field of view above the drone. Finally, through the recognition of environmental images, it can be accurately determined whether there are obstacles in the airspace above the drone, that is, whether the drone can return home automatically.
在图5a所示实施例中,检测的是无人机机身上方是否存在障碍物,此检测范围实际上是一个最小检测范围。为了实现自动返航,避免无人机出现损毁,一方面,无人机机翼上方往往也需要进行障碍物检测。并且另一方面,在实际应用中,无人机在上升飞行阶段,受到大风或其他环境因素的影响,在上升飞行过程中还有可能存在晃动。基于上述两方面考虑,还可以适当扩大障碍物的检测范围。In the embodiment shown in FIG. 5a, it is detected whether there is an obstacle above the drone body, and the detection range is actually a minimum detection range. In order to achieve automatic return to home and avoid damage to the drone, on the one hand, obstacle detection is often required on the wing of the drone. And on the other hand, in practical applications, the UAV is affected by strong winds or other environmental factors during the ascending flight, and there may be shaking during the ascending flight. Based on the above two considerations, the detection range of obstacles can also be appropriately expanded.
则图5b为本发明实施例提供的又一种空域检测方法的流程示意图。如图5b所示,该方法可以包括如下步骤:Fig. 5b is a schematic flowchart of yet another airspace detection method according to an embodiment of the present invention. As shown in Figure 5b, the method may include the following steps:
S401,对第一飞行控制指令进行响应,使无人机在第一位置原地旋转飞行一周。S401: Respond to the first flight control instruction to make the UAV rotate and fly one circle in situ at the first position.
S402,在第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在第一位置获取的多张图像对应于无人机上方的第一预设环形视场。S402: During the rotating flight at the first position, acquire multiple images taken at intervals of a preset angle, and the multiple images acquired at the first location correspond to the first preset annular field of view above the drone.
上述步骤401和步骤402的执行过程与前述实施例的相应步骤相似,可以参见如图5a所示实施例中的相关描述,在此不再赘述。The execution process of the foregoing step 401 and step 402 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 5a, which will not be repeated here.
S403,对第二飞行控制指令进行响应,使无人机飞行至与第一位置相距预设距离的第二位置。S403: Respond to the second flight control instruction to make the drone fly to a second position that is a preset distance from the first position.
S404,获取在第二位置拍得的图像,在第二位置获取的图像对应于无人机上方的预设视场角度。S404: Acquire an image taken at the second position, where the image obtained at the second position corresponds to a preset angle of view above the drone.
S405,根据在第一位置获取的多张图像和在第二位置获取的图像生成环境图像。S405: Generate an environment image based on the multiple images acquired at the first location and the images acquired at the second location.
在响应第一飞行控制指令后,还可以继续对第二飞行控制指令进行响应,使得无人机从当前的第一位置飞行至第二位置。其中,第一位置与第二位置 相距预设距离。无人机上的可上视摄像头可以在此第二位置处于继续拍得图像。此时图像的数量可以是一张,且此图像的视场是在第二位置处时无人机上方的预设视场角度。此时,由第一预设环形视场和预设视场角度共同组成预设视场。After responding to the first flight control instruction, it may continue to respond to the second flight control instruction, so that the drone flies from the current first position to the second position. Wherein, the first position and the second position are separated by a preset distance. The up-view camera on the drone can continue to take images in this second position. At this time, the number of images may be one, and the field of view of this image is the preset field of view angle above the drone when it is at the second position. At this time, the preset field of view is composed of the first preset annular field of view and the preset angle of field of view.
对于预设距离,可选地,预设距离应该不小于第一距离L1与第二距离L2之差。其中,第一距离L1为无人机的机身中心与可上视摄像头之间的距离,第二距离L2为机身中心与无人机机翼边缘之间的最大距离。对于第一距离与第二距离的位置、大小关系可以参见图6中的标注。For the preset distance, optionally, the preset distance should not be less than the difference between the first distance L1 and the second distance L2. Among them, the first distance L1 is the distance between the center of the drone's fuselage and the top-viewing camera, and the second distance L2 is the maximum distance between the center of the fuselage and the edge of the drone's wing. For the position and size relationship between the first distance and the second distance, please refer to the label in FIG. 6.
然后,将在第一位置旋转飞行拍得的多张图像进行合并处理,并将合并结果和在第二位置拍得的图像共同确定为环境图像。Then, the multiple images taken by the rotating flight at the first position are merged, and the merged result and the image taken at the second position are jointly determined as the environment image.
S406,识别环境图像中物体所属的类别。S406: Identify the category to which the object in the environmental image belongs.
S407,若环境图像中不存在属于障碍物类别的物体,则确定无人机的上方空域为可飞行空域。S407: If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
上述步骤406和步骤407的执行过程与前述实施例的相应步骤相似,可以参见如图1所示实施例中的相关描述,在此不再赘述。The execution process of the foregoing step 406 and step 407 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 1, which will not be repeated here.
当确定出无人机上方空域为可飞行空域时,无人机会再次返回第一位置,在第一位置处进行返航。When it is determined that the airspace above the drone is a flyable airspace, the drone will return to the first position again and return home at the first position.
本实施例中,无人机会先在第一位置旋转飞行然后再飞至第二位置,从而完成预设的飞行方式。在以此特殊的飞行方式飞行过程中,会在第一位置拍得多张图像,且也会在第二位置拍得图像,从而根据拍得的全部图像生成环境图像。此环境图像对应于在第一位置处无人机上方第一预设环形视场,也对应于在第二位置处无人机上方的预设视场角。最后,通过对环境图像的识别便能够确定出无人机上方空域是否存在障碍物。与图5a所示实施例相比,本实施例中障碍物的检测范围由第一位置扩大至第二位置,这种范围的扩大能够判断出同时无人机机身以及机翼上方是否存在障碍物,从而能够更准确地确定无人机是否可以自动返航。In this embodiment, the drone will first rotate and fly in the first position and then fly to the second position, thereby completing the preset flight mode. During the flight in this special flight mode, multiple images will be taken at the first position, and images will also be taken at the second position, thereby generating environmental images based on all the captured images. This environment image corresponds to the first preset annular field of view above the drone at the first position, and also corresponds to the preset angle of view above the drone at the second position. Finally, through the recognition of environmental images, it can be determined whether there are obstacles in the airspace above the drone. Compared with the embodiment shown in Figure 5a, the detection range of obstacles in this embodiment is expanded from the first position to the second position. This expansion of the range can determine whether there are obstacles above the UAV fuselage and wings at the same time. In this way, it is possible to more accurately determine whether the UAV can return home automatically.
虽然图5b所示实施例中已经将检测范围由第一位置扩大到第二位置了,但图5b所示实施例中只是根据在第二位置拍得的一张图像进行障碍物检测,这样显然并不能够全面的检测出无人机上方的空域是否存在障碍物。Although the detection range has been expanded from the first position to the second position in the embodiment shown in Fig. 5b, the embodiment shown in Fig. 5b only performs obstacle detection based on an image taken at the second position, which is obviously It is not possible to fully detect whether there are obstacles in the airspace above the drone.
在此基础上,图5c为本发明实施例提供的又一种空域检测方法的流程示 意图。如图5c所示,该方法可以包括如下步骤:On this basis, Fig. 5c is a schematic flowchart of another airspace detection method provided by an embodiment of the present invention. As shown in Figure 5c, the method may include the following steps:
S501,对第一飞行控制指令进行响应,使无人机在第一位置原地旋转飞行一周。S501: Respond to the first flight control instruction to make the UAV rotate and fly one circle in situ at the first position.
S502,在第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在第一位置获取的多张图像对应于无人机上方的第一预设环形视场。S502: During the rotating flight at the first position, acquire multiple images taken at intervals of a preset angle, and the multiple images acquired at the first location correspond to the first preset annular field of view above the drone.
上述步骤501~步骤502的执行过程与前述实施例的相应步骤相似,可以参见如图1所示实施例中的相关描述,在此不再赘述。The execution process of the foregoing steps 501 to 502 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 1, which will not be repeated here.
S503,对第三飞行控制指令进行响应,使无人机在与第一位置相距预设距离的第二位置原地旋转飞行一周。S503: Respond to the third flight control instruction to make the UAV rotate and fly one circle in situ at a second position that is a preset distance from the first position.
S504,在第二位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在第二位置获取的多张图像对应于无人机上方的第二预设环形视场。S504: During the rotating flight at the second position, acquire multiple images taken at intervals of a preset angle, and the multiple images acquired at the second location correspond to the second preset annular field of view above the drone.
在响应于第一飞行控制之后,还可以对第三飞行控制指令进行响应。以使无人机从第一位置飞行至第二位置,并在第二位置原地旋转飞行一周。无人机在第二位置旋转飞行后,可上视摄像头同样可以以预设角度为间隔在第二位置拍得多张图像。此时,在第二位置拍得的多张图像各自对应的视场角度会共同组成在第二位置处无人机上方的第二预设环形视场。步骤503~步骤504实际上与步骤501~步骤502的执行过程基本相似,具体内容可以参见上述实施例中的相应内容。After responding to the first flight control, it is also possible to respond to the third flight control command. In order to make the UAV fly from the first position to the second position, and rotate and fly one circle in the second position. After the drone rotates and flies in the second position, the upward-viewing camera can also take multiple images in the second position at intervals of a preset angle. At this time, the corresponding field of view angles of the multiple images taken at the second position will collectively form a second preset annular field of view above the drone at the second position. Step 503 to step 504 are actually basically similar to the execution process of step 501 to step 502, and the specific content can refer to the corresponding content in the foregoing embodiment.
S505,分别对在第一位置和第二位置分别获取的多张图像进行合并处理,以得到环境图像。S505: Perform merging processing on the multiple images respectively obtained at the first position and the second position respectively, to obtain an environment image.
经过上述步骤,已经获取到在第一位置拍得的多张图像和在第二位置拍得的多张图像。此时分别在不同位置拍得的图像进行合并处理,从而得到第一位置对应的环境图像和第二位置对应的环境图像,以便后续对这两张环境图像进行识别处理。After the above steps, multiple images taken at the first position and multiple images taken at the second position have been acquired. At this time, the images taken at different positions are merged, so as to obtain the environment image corresponding to the first position and the environment image corresponding to the second position, so that the two environmental images can be subsequently identified.
S506,识别环境图像中物体所属的类别。S506: Identify the category to which the object in the environmental image belongs.
S507,若环境图像中不存在属于障碍物类别的物体,则确定无人机的上方空域为可飞行空域。S507: If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
上述步骤506和步骤507的执行过程与前述实施例的相应步骤相似,可以参见如图1所示实施例中的相关描述,在此不再赘述。The execution process of the foregoing step 506 and step 507 is similar to the corresponding steps of the foregoing embodiment, and reference may be made to the related description in the embodiment shown in FIG. 1, which will not be repeated here.
本实施例中,无人机分别会在第一位置和第二位置原地旋转飞行一周,并根据在两个位置分别拍得的多张图像进行识别。通过旋转飞行这种特殊的 飞行方式,既能够全面判断出无人机机身上方的空域是否存在障碍物,又能够全面地判断出无人机机翼上方的空域是否存在障碍物,相比于图5b所示实施例,能够更加全面、准确地确定无人机是否可以自动返航。In this embodiment, the UAV will rotate and fly one circle in the first position and the second position respectively, and recognize based on multiple images taken at the two positions. Through the special flying method of rotating flight, it is possible to comprehensively determine whether there are obstacles in the airspace above the drone's fuselage, and to comprehensively determine whether there are obstacles in the airspace above the drone's wing. The embodiment shown in Figure 5b can more comprehensively and accurately determine whether the UAV can return home automatically.
此外,在上述实施例的基础上,当无人机上方空域为可飞行空域时,即可控制无人返航。容易理解的,无人机的任何飞行过程都是需要电池供电的,因此,在控制无人机返航之前,还可以先确定返航过程中所需的电量,若当前的剩余电量多于返航所需电量时,才会控制无人机返航。In addition, on the basis of the above embodiments, when the airspace above the drone is a flyable airspace, the unmanned return can be controlled. It is easy to understand that any flight process of the drone requires battery power. Therefore, before controlling the drone to return home, you can also determine the power required during the return process. If the current remaining power is more than the return required When the battery is charged, the drone will be controlled to return home.
而对于返航过程中所需电量的确定,一种可选地方式,可以先根据历史风速信息估计从当前位置降落至返航目的地的风速信息。再确定从当前位置降落至返航目的地的地速信息,以根据风速信息和地速信息确定无人机的返航过程所需的电量。As for the determination of the power required during the return home process, an alternative way is to first estimate the wind speed information from the current position to the destination of the return home based on the historical wind speed information. Then determine the ground speed information for landing from the current position to the return destination, so as to determine the power required for the drone's return process based on the wind speed information and ground speed information.
图7为本发明实施例提供的一种空域检测装置的结构示意图;参考附图5所示,本实施例提供了一种空域检测装置,该空域检测装置可以执行上述的空域检测方法;具体的,空域检测装置包括:FIG. 7 is a schematic structural diagram of an airspace detection device provided by an embodiment of the present invention; referring to FIG. 5, this embodiment provides an airspace detection device, which can execute the above-mentioned airspace detection method; specifically , The airspace detection device includes:
响应模块11,用于对飞行控制指令进行响应,使无人机以预设飞行方式飞行。The response module 11 is used to respond to flight control commands to make the UAV fly in a preset flight mode.
获取模块12,用于在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像。The acquiring module 12 is configured to acquire an environment image corresponding to the preset field of view above the drone during the flight in the preset flight mode.
识别模块13,用于识别所述环境图像中物体所属的类别。The recognition module 13 is used to recognize the category to which the object in the environmental image belongs.
确定模块14,用于若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。The determining module 14 is configured to determine that the airspace above the drone is a flyable airspace if there is no object belonging to the obstacle category in the environment image.
图7所示装置还可以执行图1~图6所示实施例的方法,本实施例未详细描述的部分,可参考对图1~图6所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1~图6所示实施例中的描述,在此不再赘述。The device shown in FIG. 7 can also execute the methods of the embodiments shown in FIGS. 1 to 6. For parts that are not described in detail in this embodiment, reference may be made to the related descriptions of the embodiments shown in FIGS. 1 to 6. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 6, which will not be repeated here.
图8为本发明实施例提供的一种可移动平台的结构示意图;参考附图8所示,本发明实施例的提供了一种可移动平台,该可移动平台为以下无人飞行器;具体的,该可移动平台包括:机体21、动力系统22以及控制装置23。FIG. 8 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention; referring to FIG. 8, an embodiment of the present invention provides a movable platform, which is the following unmanned aerial vehicle; , The movable platform includes: a body 21, a power system 22, and a control device 23.
所述动力系统22,设置于所述机体21上,用于为所述可移动平台提供动力。The power system 22 is arranged on the body 21 and is used to provide power for the movable platform.
所述控制装置23包括存储器231和处理器232。The control device 23 includes a memory 231 and a processor 232.
所述存储器,用于存储计算机程序;The memory is used to store a computer program;
处理器,用于运行所述存储器中存储的计算机程序以实现:对飞行控制指令进行响应,使无人机以预设飞行方式飞行;The processor is configured to run a computer program stored in the memory to realize: responding to flight control instructions to make the UAV fly in a preset flight mode;
在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
进一步的,处理器232还用于:若识别出所述环境图像中存在属于障碍物类别的物体,则确定所述无人机的上方空域为不可飞行空域。Further, the processor 232 is further configured to: if an object belonging to an obstacle category is recognized in the environment image, determine that the airspace above the drone is a non-flyable airspace.
进一步的,机体21上设置有可上视摄像头24。Further, the body 21 is provided with a camera 24 capable of looking upwards.
所述处理器对飞行控制指令进行响应,以使无人机以预设飞行方式飞行,以使所述处理器获取到所述无人机上方预设环形视场内的环境图像;The processor responds to the flight control instruction to make the drone fly in a preset flight mode, so that the processor obtains the environment image in the preset circular field of view above the drone;
该处理器232还用于:根据所述可上视摄像头的视场角度确定所述预设环形视场的视场角度。The processor 232 is further configured to determine the field of view angle of the preset annular field of view according to the field of view angle of the up-view camera.
进一步的,处理器232还用于:根据所述可上视摄像头的视场角度、所述无人机的体积以及所述无人机的飞行环境,确定所述预设环形视场的视场角度。Further, the processor 232 is further configured to: determine the field of view of the preset circular field of view according to the angle of the field of view of the up-view camera, the volume of the drone, and the flying environment of the drone angle.
进一步的,处理器232还用于:对第一飞行控制指令进行响应,使所述无人机在第一位置原地旋转飞行一周。Further, the processor 232 is further configured to: respond to the first flight control instruction, so that the UAV rotates and flies once at the first position.
进一步的,处理器232还用于:在所述第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第一位置获取的多张图像对应于所述无人机上方的第一预设环形视场;Further, the processor 232 is further configured to: during the rotating flight at the first position, obtain a plurality of images taken at intervals of a preset angle, and the plurality of images obtained at the first position correspond to the The first preset annular field of view above the drone;
对所述多张图像进行合并处理,以得到所述环境图像。Merging the multiple images is performed to obtain the environmental image.
进一步的,处理器232还用于:Further, the processor 232 is also used for:
对第二飞行控制指令进行响应,使所述无人机飞行至与所述第一位置相距预设距离的第二位置,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。Respond to the second flight control instruction to cause the drone to fly to a second position that is a preset distance from the first position, wherein the preset distance is not less than the difference between the first distance and the second distance , The first distance is the distance between the center of the drone's fuselage and the up-view camera, and the second distance is the distance between the center of the fuselage and the edge of the drone's wing The maximum distance.
进一步的,处理器232还用于:获取在所述第二位置拍得的图像,在所述 第二位置获取的图像对应于所述无人机上方的预设视场角度;Further, the processor 232 is further configured to: acquire an image taken at the second position, where the image acquired at the second position corresponds to a preset angle of view above the drone;
根据对在所述第一位置获取的多张图像和在所述第二位置获取的图像生成所述环境图像。The environment image is generated based on a plurality of images acquired at the first location and an image acquired at the second location.
进一步的,处理器232还用于:对第三飞行控制指令进行响应,使所述无人机在与所述第一位置相距预设距离的第二位置原地旋转飞行一周,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。Further, the processor 232 is further configured to: respond to a third flight control instruction, so that the UAV rotates and flies in situ at a second position that is a preset distance from the first position, wherein the The preset distance is not less than the difference between the first distance and the second distance, the first distance is the distance between the center of the drone body and the up-view camera, and the second distance is the The maximum distance between the center of the fuselage and the edge of the UAV wing.
进一步的,处理器232还用于:在所述第二位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第二位置获取的多张图像对应于所述无人机上方的第二预设环形视场;Further, the processor 232 is further configured to: during the rotating flight at the second position, obtain a plurality of images taken at intervals of a preset angle, and the plurality of images obtained at the second position correspond to the The second preset annular field of view above the drone;
分别对在所述第一位置和所述第二位置分别获取的多张图像进行合并处理,以得到所述环境图像。The multiple images respectively acquired at the first position and the second position are merged to obtain the environment image.
图8所示的可移动平台可以执行图1~图6所示实施例的方法,本实施例未详细描述的部分,可参考对图1~图6所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1~图6所示实施例中的描述,在此不再赘述。The movable platform shown in FIG. 8 can execute the methods of the embodiments shown in FIGS. 1 to 6. For parts that are not described in detail in this embodiment, please refer to the related descriptions of the embodiments shown in FIGS. 1 to 6. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 6, which will not be repeated here.
在一个可能的设计中,图9所示空域检测设备的结构可实现为一电子设备,该电子设备可以是无人机。如图9所示,该电子设备可以包括:一个或多个处理器31和一个或多个存储器32。其中,存储器32用于存储支持电子设备执行上述图1~图6所示实施例中提供的空域检测方法的程序。处理器31被配置为用于执行存储器32中存储的程序。In a possible design, the structure of the airspace detection device shown in FIG. 9 can be implemented as an electronic device, and the electronic device can be a drone. As shown in FIG. 9, the electronic device may include: one or more processors 31 and one or more memories 32. Among them, the memory 32 is used to store a program that supports the electronic device to execute the airspace detection method provided in the above-mentioned embodiments shown in FIGS. 1 to 6. The processor 31 is configured to execute a program stored in the memory 32.
具体的,程序包括一条或多条计算机指令,其中,一条或多条计算机指令被处理器31执行时能够实现如下步骤:Specifically, the program includes one or more computer instructions, and the following steps can be implemented when one or more computer instructions are executed by the processor 31:
对飞行控制指令进行响应,使无人机以预设飞行方式飞行;Respond to flight control commands to make the UAV fly in a preset flight mode;
在以预设飞行方式飞行过程中,获取对应于无人机上方预设视场内的环境图像;During the flight in the preset flight mode, obtain the environment image corresponding to the preset field of view above the drone;
识别环境图像中物体所属的类别;Identify the category to which objects in the environment image belong;
若环境图像中不存在属于障碍物类别的物体,则确定无人机的上方空域为可飞行空域。If there are no objects belonging to the obstacle category in the environment image, the airspace above the drone is determined to be flyable airspace.
其中,该空域检测设备的结构中还可以包括通信接口33,用于电子设备 与其他设备或通信网络通信。The structure of the airspace detection device may also include a communication interface 33 for the electronic device to communicate with other devices or a communication network.
进一步的,处理器31还用于:若识别出所述环境图像中存在属于障碍物类别的物体,则确定所述无人机的上方空域为不可飞行空域。Further, the processor 31 is further configured to: if it is recognized that there is an object belonging to the obstacle category in the environment image, determine that the airspace above the drone is a non-flyable airspace.
进一步的,所述处理器对飞行控制指令进行响应,以使无人机以预设飞行方式飞行,以使所述处理器获取到所述无人机上方预设环形视场内的环境图像;Further, the processor responds to the flight control instruction to make the drone fly in a preset flight mode, so that the processor obtains the environment image in the preset circular field of view above the drone;
在获取环境图像获取的步骤之前,处理器31还用于:根据所述无人机上配置的可上视摄像头的视场角度确定所述预设环形视场的视场角度。Before the step of acquiring the environment image, the processor 31 is further configured to determine the field of view angle of the preset annular field of view according to the field of view angle of the up-view camera configured on the drone.
进一步的,在获取环境图像获取的步骤之前,该处理器31还用于:根据所述可上视摄像头的视场角度、所述无人机的体积以及所述无人机的飞行环境,确定所述预设环形视场的视场角度。Further, before the step of acquiring environmental images, the processor 31 is further configured to: determine according to the field of view angle of the up-view camera, the volume of the drone, and the flight environment of the drone The field of view angle of the preset annular field of view.
进一步的,处理器31还用于:对第一飞行控制指令进行响应,使所述无人机在第一位置原地旋转飞行一周。Further, the processor 31 is further configured to: respond to the first flight control instruction to make the UAV rotate and fly once in the first position.
进一步的,处理器31还用于:在所述第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第一位置获取的多张图像对应于所述无人机上方的第一预设环形视场;Further, the processor 31 is further configured to: during the rotating flight at the first position, obtain a plurality of images taken at intervals of a preset angle, and the plurality of images obtained at the first position correspond to the The first preset annular field of view above the drone;
对所述多张图像进行合并处理,以得到所述环境图像。Merging the multiple images is performed to obtain the environmental image.
进一步的,处理器31还用于:对第二飞行控制指令进行响应,使所述无人机飞行至与所述第一位置相距预设距离的第二位置,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。Further, the processor 31 is further configured to: respond to a second flight control instruction to cause the drone to fly to a second position that is a preset distance from the first position, wherein the preset distance is not Is less than the difference between a first distance and a second distance, the first distance being the distance between the center of the drone's body and the up-view camera, and the second distance being the distance between the center of the body and the The maximum distance between the edges of the UAV's wings.
进一步的,处理器31还用于:获取在所述第二位置拍得的图像,在所述第二位置获取的图像对应于所述无人机上方的预设视场角度;Further, the processor 31 is further configured to: acquire an image taken at the second position, where the image acquired at the second position corresponds to a preset angle of view above the drone;
根据对在所述第一位置获取的多张图像和在所述第二位置获取的图像生成所述环境图像。The environment image is generated based on a plurality of images acquired at the first location and an image acquired at the second location.
进一步的,处理器31还用于:对第三飞行控制指令进行响应,使所述无人机在与所述第一位置相距预设距离的第二位置原地旋转飞行一周,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。Further, the processor 31 is further configured to: respond to a third flight control instruction, so that the UAV rotates and flies in situ at a second position that is a preset distance from the first position, wherein the The preset distance is not less than the difference between the first distance and the second distance, the first distance is the distance between the center of the drone body and the up-view camera, and the second distance is the The maximum distance between the center of the fuselage and the edge of the UAV wing.
进一步的,处理器31还用于:在所述第二位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第二位置获取的多张图像对应于所述无人机上方的第二预设环形视场;Further, the processor 31 is further configured to: during the rotating flight at the second position, obtain a plurality of images taken at intervals of a preset angle, and the plurality of images obtained at the second position correspond to the The second preset annular field of view above the drone;
分别对在所述第一位置和所述第二位置分别获取的多张图像进行合并处理,以得到所述环境图像。The multiple images respectively acquired at the first position and the second position are merged to obtain the environment image.
图9所示设备可以执行图1~图6所示实施例的方法,本实施例未详细描述的部分,可参考对图1~图6所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1~图6所示实施例中的描述,在此不再赘述。The device shown in FIG. 9 can execute the methods of the embodiments shown in FIGS. 1 to 6. For parts that are not described in detail in this embodiment, reference may be made to the related descriptions of the embodiments shown in FIGS. 1 to 6. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 1 to FIG. 6, which will not be repeated here.
另外,本发明实施例提供了一种计算机可读存储介质,存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图1~图6的空域检测方法。In addition, an embodiment of the present invention provides a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the above-mentioned airspace in FIGS. 1 to 6 Detection method.
以上各个实施例中的技术方案、技术特征在与本相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本申请保护范围内的等同实施例。The technical solutions and technical features in each of the above embodiments can be singly or combined in case of conflict with the present invention, as long as they do not exceed the cognitive scope of those skilled in the art, they all belong to the equivalent embodiments within the protection scope of this application. .
在本发明所提供的几个实施例中,应该理解到,所揭露的相关检测装置(例如:IMU)和方法,可以通过其它的方式实现。例如,以上所描述的遥控装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,遥控装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the related detection device (for example: IMU) and method disclosed may be implemented in other ways. For example, the embodiments of the remote control device described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, remote control devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention, which do not limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of the present invention.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention. scope.

Claims (33)

  1. 一种空域检测方法,其特征在于,所述方法包括:An airspace detection method, characterized in that the method includes:
    对飞行控制指令进行响应,使无人机以预设飞行方式飞行;Respond to flight control commands to make the UAV fly in a preset flight mode;
    在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
    识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
    若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若识别出所述环境图像中存在属于障碍物类别的物体,则确定所述无人机的上方空域为不可飞行空域。If it is recognized that there is an object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a non-flyable airspace.
  3. 根据权利要求1所述的方法,其特征在于,所述对飞行控制指令进行响应,使无人机以预设飞行方式飞行用于获取到所述无人机上方预设环形视场内的环境图像。The method according to claim 1, wherein the responding to the flight control instruction to make the drone fly in a preset flight mode is used to obtain the environment in the preset circular field of view above the drone image.
  4. 根据权利要求3所述的方法,其特征在于,所述获取对应于所述无人机上方预设视场内的环境图像之前,所述方法还包括:The method according to claim 3, characterized in that, before the acquiring an environment image corresponding to a preset field of view above the drone, the method further comprises:
    根据所述无人机上配置的可上视摄像头的视场角度确定所述预设环形视场的视场角度。The field of view angle of the preset annular field of view is determined according to the field of view angle of the up-view camera configured on the drone.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述无人机上配置的可上视摄像头的视场角度确定所述预设环形视场的视场角度,包括:The method according to claim 4, wherein the determining the field of view angle of the preset annular field of view according to the field of view angle of the up-view camera configured on the drone comprises:
    根据所述可上视摄像头的视场角度、所述无人机的体积以及所述无人机的飞行环境,确定所述预设环形视场的视场角度。According to the field of view angle of the up-view camera, the volume of the drone, and the flying environment of the drone, the field of view angle of the preset annular field of view is determined.
  6. 根据权利要求4所述的方法,其特征在于,所述对飞行控制控制进行响应,使无人机以预设飞行方式飞行,包括:The method according to claim 4, wherein the responding to the flight control control to make the UAV fly in a preset flight mode comprises:
    对第一飞行控制指令进行响应,使所述无人机在第一位置原地旋转飞行一周。In response to the first flight control instruction, the UAV rotates and flies one circle in the first position.
  7. 根据所述权利要求6所述的方法,其特征在于,所述在以所述预设飞行方式飞行过程中,获取在飞行过程中对应于所述无人机上方预设视场内的环境图像,包括:The method according to claim 6, wherein, in the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone during the flight ,include:
    在所述第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第一位置获取的多张图像对应于所述无人机上方的第一预设环形 视场;During the rotating flight at the first position, multiple images taken at intervals of a preset angle are acquired, and the multiple images acquired at the first position correspond to the first preset ring above the drone Field of view
    对所述多张图像进行合并处理,以得到所述环境图像。Merging the multiple images is performed to obtain the environmental image.
  8. 根据权利要求7所述的方法,其特征在于,所述对飞机控制控制进行响应,使无人机以预设的飞行方式飞行,还包括:The method according to claim 7, wherein the responding to the control of the aircraft to make the UAV fly in a preset flight mode further comprises:
    对第二飞行控制指令进行响应,使所述无人机飞行至与所述第一位置相距预设距离的第二位置。In response to the second flight control command, the drone is caused to fly to a second position that is a preset distance from the first position.
  9. 根据权利要求8所述的方法,其特征在于,所述在以所述预设飞行方式飞行过程中,获取在飞行过程中对应于所述无人机上方预设视场内的环境图像,还包括:The method according to claim 8, characterized in that, in the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone during the flight, and include:
    获取在所述第二位置拍得的图像,在所述第二位置获取的图像对应于所述无人机上方的预设视场角度;Acquiring an image taken at the second position, where the image acquired at the second position corresponds to a preset angle of view above the drone;
    根据对在所述第一位置获取的多张图像和在所述第二位置获取的图像生成所述环境图像。The environment image is generated based on a plurality of images acquired at the first location and an image acquired at the second location.
  10. 根据权利要求7所述的方法,其特征在于,所述对飞行控制指令进行响应,使无人机以预设的飞行方式飞行,还包括:The method according to claim 7, wherein the responding to the flight control instruction to make the UAV fly in a preset flight mode, further comprises:
    对第三飞行控制指令进行响应,使所述无人机在与所述第一位置相距预设距离的第二位置原地旋转飞行一周。In response to the third flight control instruction, the UAV is made to rotate and fly one circle in situ at a second position that is a preset distance from the first position.
  11. 根据权利要求10所述的方法,其特征在于,所述在以所述预设飞行方式飞行过程中,获取在飞行过程中对应于所述无人机上方预设视场内的环境图像,还包括:The method according to claim 10, characterized in that, in the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone during the flight, and include:
    在所述第二位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第二位置获取的多张图像对应于所述无人机上方的第二预设环形视场;During the rotating flight at the second position, multiple images taken at intervals of a preset angle are acquired, and the multiple images acquired at the second position correspond to the second preset ring above the drone Field of view
    分别对在所述第一位置和所述第二位置分别获取的多张图像进行合并处理,以得到所述环境图像。The multiple images respectively acquired at the first position and the second position are merged to obtain the environment image.
  12. 根据权利要求8或10所述的方法,其特征在于,所述预设距离不小于第一距离与第二距离之差,其中,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。The method according to claim 8 or 10, wherein the preset distance is not less than the difference between the first distance and the second distance, wherein the first distance is the center of the drone and the The distance between the up-view cameras, and the second distance is the maximum distance between the center of the fuselage and the wing edge of the drone.
  13. 一种可移动平台,其特征在于,所述移动平台包括:机体、动力系统以及控制装置;A movable platform, characterized in that, the mobile platform includes: a body, a power system, and a control device;
    所述动力系统,设置于所述机体上,用于为所述可移动平台提供动力;The power system is arranged on the body and used to provide power for the movable platform;
    所述控制装置包括存储器和处理器;The control device includes a memory and a processor;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于运行所述存储器中存储的计算机程序以实现:对飞行控制指令进行响应,使无人机以预设飞行方式飞行;The processor is configured to run a computer program stored in the memory to realize: responding to flight control instructions to make the UAV fly in a preset flight mode;
    在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
    识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
    若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
  14. 根据权利要求13所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 13, wherein the processor is further configured to:
    若识别出所述环境图像中存在属于障碍物类别的物体,则确定所述无人机的上方空域为不可飞行空域。If it is recognized that there is an object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a non-flyable airspace.
  15. 根据权利要求13所述的平台,其特征在于,所述机体包括可上视摄像头;The platform according to claim 13, wherein the body includes a camera capable of looking upwards;
    所述处理器对飞行控制指令进行响应,以使无人机以预设飞行方式飞行,以使所述处理器获取到所述无人机上方预设环形视场内的环境图像;The processor responds to the flight control instruction to make the drone fly in a preset flight mode, so that the processor obtains the environment image in the preset circular field of view above the drone;
    所述处理器,还用于:The processor is also used for:
    根据所述可上视摄像头的视场角度确定所述预设环形视场的视场角度。The field of view angle of the preset annular field of view is determined according to the field of view angle of the up-view camera.
  16. 根据权利要求15所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 15, wherein the processor is further configured to:
    根据所述可上视摄像头的视场角度、所述无人机的体积以及所述无人机的飞行环境,确定所述预设环形视场的视场角度。According to the field of view angle of the up-view camera, the volume of the drone, and the flying environment of the drone, the field of view angle of the preset annular field of view is determined.
  17. 根据权利要求15所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 15, wherein the processor is further configured to:
    对第一飞行控制指令进行响应,使所述无人机在第一位置原地旋转飞行一周。In response to the first flight control instruction, the UAV rotates and flies one circle in the first position.
  18. 根据权利要求17所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 17, wherein the processor is further configured to:
    在所述第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第一位置获取的多张图像对应于所述无人机上方的第一预设环形视场;During the rotating flight at the first position, multiple images taken at intervals of a preset angle are acquired, and the multiple images acquired at the first position correspond to the first preset ring above the drone Field of view
    对所述多张图像进行合并处理,以得到所述环境图像。Merging the multiple images is performed to obtain the environmental image.
  19. 根据权利要求18所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 18, wherein the processor is further configured to:
    对第二飞行控制指令进行响应,使所述无人机飞行至与所述第一位置相距预设距离的第二位置,其中,所述预设距离不小于第一距离与第二距离之差,其中,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。Respond to the second flight control instruction to cause the drone to fly to a second position that is a preset distance from the first position, wherein the preset distance is not less than the difference between the first distance and the second distance , Wherein the first distance is the distance between the center of the drone's fuselage and the up-view camera, and the second distance is the distance between the center of the fuselage and the edge of the drone's wing The maximum distance between.
  20. 根据权利要求19所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 19, wherein the processor is further configured to:
    获取在所述第二位置拍得的图像,在所述第二位置获取的图像对应于所述无人机上方的预设视场角度;Acquiring an image taken at the second position, where the image acquired at the second position corresponds to a preset angle of view above the drone;
    根据对在所述第一位置获取的多张图像和在所述第二位置获取的图像生成所述环境图像。The environment image is generated based on a plurality of images acquired at the first location and an image acquired at the second location.
  21. 根据权利要求18所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 18, wherein the processor is further configured to:
    对第三飞行控制指令进行响应,使所述无人机在与所述第一位置相距预设距离的第二位置原地旋转飞行一周,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。In response to the third flight control command, the UAV makes a full-rotation flight in a second position that is a preset distance from the first position, wherein the preset distance is not less than the first distance and the first position. The difference between the two distances, the first distance is the distance between the center of the drone and the up-view camera, and the second distance is the center of the drone and the drone. The maximum distance between the edges of the wings.
  22. 根据权利要求21所述的平台,其特征在于,所述处理器,还用于:The platform according to claim 21, wherein the processor is further configured to:
    在所述第二位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第二位置获取的多张图像对应于所述无人机上方的第二预设环形视场;During the rotating flight at the second position, multiple images taken at intervals of a preset angle are acquired, and the multiple images acquired at the second position correspond to the second preset ring above the drone Field of view
    分别对在所述第一位置和所述第二位置分别获取的多张图像进行合并处理,以得到所述环境图像。The multiple images respectively acquired at the first position and the second position are merged to obtain the environment image.
  23. 一种空域检测设备,其特征在于,所述设备包括:An airspace detection equipment, characterized in that the equipment includes:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
    对飞行控制指令进行响应,使无人机以预设飞行方式飞行;Respond to flight control commands to make the UAV fly in a preset flight mode;
    在以所述预设飞行方式飞行过程中,获取对应于所述无人机上方预设视场内的环境图像;In the process of flying in the preset flight mode, acquiring an environment image corresponding to the preset field of view above the drone;
    识别所述环境图像中物体所属的类别;Identifying the category to which the object in the environmental image belongs;
    若所述环境图像中不存在属于障碍物类别的物体,则确定所述无人机的上方空域为可飞行空域。If there is no object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a flyable airspace.
  24. 根据权利要求23所述的设备,其特征在于,所述处理器,还用于:The device according to claim 23, wherein the processor is further configured to:
    若识别出所述环境图像中存在属于障碍物类别的物体,则确定所述无人机的上方空域为不可飞行空域。If it is recognized that there is an object belonging to the obstacle category in the environment image, it is determined that the airspace above the drone is a non-flyable airspace.
  25. 根据权利要求23所述的设备,其特征在于,所述处理器对飞行控制指令进行响应,以使无人机以预设飞行方式飞行,以使所述处理器获取到所述无人机上方预设环形视场内的环境图像;The device according to claim 23, wherein the processor responds to flight control instructions, so that the UAV will fly in a preset flight mode, so that the processor can obtain information above the UAV. Preset the environment image in the annular field of view;
    所述处理器,还用于:The processor is also used for:
    根据所述无人机上配置的可上视摄像头的视场角度确定所述预设环形视场的视场角度。The field of view angle of the preset annular field of view is determined according to the field of view angle of the up-view camera configured on the drone.
  26. 根据权利要求25所述的设备,其特征在于,所述处理器还用于:The device according to claim 25, wherein the processor is further configured to:
    根据所述可上视摄像头的视场角度、所述无人机的体积以及所述无人机的飞行环境,确定所述预设环形视场的视场角度。According to the field of view angle of the up-view camera, the volume of the drone, and the flying environment of the drone, the field of view angle of the preset annular field of view is determined.
  27. 根据权利要求25所述的设备,其特征在于,所述处理器还用于:The device according to claim 25, wherein the processor is further configured to:
    对第一飞行控制指令进行响应,使所述无人机在第一位置原地旋转飞行一周。In response to the first flight control instruction, the UAV rotates and flies one circle in the first position.
  28. 根据权利要求27所述的设备,其特征在于,所述处理器还用于:The device according to claim 27, wherein the processor is further configured to:
    在所述第一位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第一位置获取的多张图像对应于所述无人机上方的第一预设环形视场;During the rotating flight at the first position, multiple images taken at intervals of a preset angle are acquired, and the multiple images acquired at the first position correspond to the first preset ring above the drone Field of view
    对所述多张图像进行合并处理,以得到所述环境图像。Merging the multiple images is performed to obtain the environmental image.
  29. 根据权利要求28所述的设备,其特征在于,所述处理器还用于:The device according to claim 28, wherein the processor is further configured to:
    对第二飞行控制指令进行响应,使所述无人机飞行至与所述第一位置相距预设距离的第二位置,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。Respond to the second flight control instruction to cause the drone to fly to a second position that is a preset distance from the first position, wherein the preset distance is not less than the difference between the first distance and the second distance , The first distance is the distance between the center of the drone's fuselage and the up-view camera, and the second distance is the distance between the center of the fuselage and the edge of the drone's wing The maximum distance.
  30. 根据权利要求29所述的设备,其特征在于,所述处理器还用于:The device according to claim 29, wherein the processor is further configured to:
    获取在所述第二位置拍得的图像,在所述第二位置获取的图像对应于所述无人机上方的预设视场角度;Acquiring an image taken at the second position, where the image acquired at the second position corresponds to a preset angle of view above the drone;
    根据对在所述第一位置获取的多张图像和在所述第二位置获取的图像生成所述环境图像。The environment image is generated based on a plurality of images acquired at the first location and an image acquired at the second location.
  31. 根据权利要求28所述的设备,其特征在于,所述处理器还用于:The device according to claim 28, wherein the processor is further configured to:
    对第三飞行控制指令进行响应,使所述无人机在与所述第一位置相距预设距离的第二位置原地旋转飞行一周,其中,所述预设距离不小于第一距离与第二距离之差,所述第一距离为所述无人机的机身中心与所述可上视摄像头之间的距离,所述第二距离为所述机身中心与所述无人机机翼边缘之间的最大距离。In response to the third flight control command, the UAV makes a full-rotation flight in a second position that is a preset distance from the first position, wherein the preset distance is not less than the first distance and the first position. The difference between the two distances, the first distance is the distance between the center of the drone and the up-view camera, and the second distance is the center of the drone and the drone. The maximum distance between the edges of the wings.
  32. 根据权利要求31所述的设备,其特征在于,所述处理器还用于:The device according to claim 31, wherein the processor is further configured to:
    在所述第二位置旋转飞行过程中,获取以预设角度为间隔拍得的多张图像,在所述第二位置获取的多张图像对应于所述无人机上方的第二预设环形视场;During the rotating flight at the second position, multiple images taken at intervals of a preset angle are acquired, and the multiple images acquired at the second position correspond to the second preset ring above the drone Field of view
    分别对在所述第一位置和所述第二位置分别获取的多张图像进行合并处理,以得到所述环境图像。The multiple images respectively acquired at the first position and the second position are merged to obtain the environment image.
  33. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求1至12中任一项所述的空域检测方法。A computer-readable storage medium, wherein the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used to implement any one of claims 1 to 12 The airspace detection method described in item.
PCT/CN2020/073659 2020-01-21 2020-01-21 Airspace detection method, movable platform, device, and storage medium WO2021146972A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080004081.6A CN112567308A (en) 2020-01-21 2020-01-21 Airspace detection method, movable platform, equipment and storage medium
PCT/CN2020/073659 WO2021146972A1 (en) 2020-01-21 2020-01-21 Airspace detection method, movable platform, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/073659 WO2021146972A1 (en) 2020-01-21 2020-01-21 Airspace detection method, movable platform, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021146972A1 true WO2021146972A1 (en) 2021-07-29

Family

ID=75034938

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/073659 WO2021146972A1 (en) 2020-01-21 2020-01-21 Airspace detection method, movable platform, device, and storage medium

Country Status (2)

Country Link
CN (1) CN112567308A (en)
WO (1) WO2021146972A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106444837A (en) * 2016-10-17 2017-02-22 北京理工大学 Obstacle avoiding method and obstacle avoiding system for unmanned aerial vehicle
CN108171116A (en) * 2017-12-01 2018-06-15 北京臻迪科技股份有限公司 Aircraft obstacle avoidance aiding method, device and obstacle avoidance aiding system
CN108594851A (en) * 2015-10-22 2018-09-28 飞智控(天津)科技有限公司 A kind of autonomous obstacle detection system of unmanned plane based on binocular vision, method and unmanned plane
US10121117B1 (en) * 2016-09-08 2018-11-06 Amazon Technologies, Inc. Drone location signature filters
CN208544411U (en) * 2018-06-11 2019-02-26 视海博(中山)科技股份有限公司 The unmanned plane with underneath type rotor detected safely applied to restricted clearance
CN110171565A (en) * 2019-05-17 2019-08-27 南京绿新能源研究院有限公司 A kind of unmanned plane and its detection method for photovoltaic plant fault detection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468029B (en) * 2015-09-23 2018-03-02 杨珊珊 A kind of unmanned plane device and method
GB2568369B (en) * 2015-11-13 2019-11-27 Walmart Apollo Llc Product delivery methods and systems utilizing portable unmanned delivery aircraft
CN106292704A (en) * 2016-09-07 2017-01-04 四川天辰智创科技有限公司 The method and device of avoiding barrier
CN208044406U (en) * 2018-03-05 2018-11-02 仲恺农业工程学院 A kind of obstacle avoidance system and unmanned plane based on plant protection drone Multiple detection
CN108769569B (en) * 2018-04-10 2021-04-13 昆山微电子技术研究院 360-degree three-dimensional panoramic observation system and method for unmanned aerial vehicle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594851A (en) * 2015-10-22 2018-09-28 飞智控(天津)科技有限公司 A kind of autonomous obstacle detection system of unmanned plane based on binocular vision, method and unmanned plane
US10121117B1 (en) * 2016-09-08 2018-11-06 Amazon Technologies, Inc. Drone location signature filters
CN106444837A (en) * 2016-10-17 2017-02-22 北京理工大学 Obstacle avoiding method and obstacle avoiding system for unmanned aerial vehicle
CN108171116A (en) * 2017-12-01 2018-06-15 北京臻迪科技股份有限公司 Aircraft obstacle avoidance aiding method, device and obstacle avoidance aiding system
CN208544411U (en) * 2018-06-11 2019-02-26 视海博(中山)科技股份有限公司 The unmanned plane with underneath type rotor detected safely applied to restricted clearance
CN110171565A (en) * 2019-05-17 2019-08-27 南京绿新能源研究院有限公司 A kind of unmanned plane and its detection method for photovoltaic plant fault detection

Also Published As

Publication number Publication date
CN112567308A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
US11797028B2 (en) Unmanned aerial vehicle control method and device and obstacle notification method and device
US11361665B2 (en) Unmanned aerial vehicle privacy controls
WO2020187095A1 (en) Target tracking method and apparatus, and unmanned aerial vehicle
US20210289141A1 (en) Control method and apparatus for photographing device, and device and storage medium
WO2021189456A1 (en) Unmanned aerial vehicle inspection method and apparatus, and unmanned aerial vehicle
US20220091608A1 (en) Method, apparatus, and electronic device for obstacle avoidance
US11079242B2 (en) System and method for determining autonomous vehicle location using incremental image analysis
CN112180955B (en) Visual feedback-based secondary review method and system for automatic inspection unmanned aerial vehicle
WO2020143576A1 (en) Method and apparatus for adjusting main detection direction of airborne radar, and unmanned aerial vehicle
CN106502257B (en) Anti-interference control method for precise landing of unmanned aerial vehicle
WO2017139282A1 (en) Unmanned aerial vehicle privacy controls
JP6515367B1 (en) Imaging system and imaging method
WO2019104641A1 (en) Unmanned aerial vehicle, control method therefor and recording medium
US10725479B2 (en) Aerial vehicle landing method, aerial vehicle, and computer readable storage medium
WO2021129351A1 (en) Drone protection method and device, drone
WO2021088684A1 (en) Omnidirectional obstacle avoidance method and unmanned aerial vehicle
KR102195051B1 (en) System and method for creating spatial information using image information from drone and computer program for the same
US20200115050A1 (en) Control device, control method, and program
EP3893078A1 (en) Relay point generation method and apparatus, and unmanned aerial vehicle
WO2021146973A1 (en) Unmanned aerial vehicle return-to-home control method, device, movable platform and storage medium
WO2022016534A1 (en) Flight control method of unmanned aerial vehicle and unmanned aerial vehicle
WO2018018514A1 (en) Target-based image exposure adjustment
US20220392353A1 (en) Unmanned aerial vehicle privacy controls
WO2021056139A1 (en) Method and device for acquiring landing position, unmanned aerial vehicle, system, and storage medium
WO2020114432A1 (en) Water detection method and apparatus, and unmanned aerial vehicle

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20916200

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20916200

Country of ref document: EP

Kind code of ref document: A1