HK1239851B - Method and apparatus for controlling aircraft - Google Patents
Method and apparatus for controlling aircraft Download PDFInfo
- Publication number
- HK1239851B HK1239851B HK17113043.1A HK17113043A HK1239851B HK 1239851 B HK1239851 B HK 1239851B HK 17113043 A HK17113043 A HK 17113043A HK 1239851 B HK1239851 B HK 1239851B
- Authority
- HK
- Hong Kong
- Prior art keywords
- aircraft
- detection plane
- horizontal
- vertical
- projection position
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及飞行器控制技术领域,尤其涉及飞行器的控制方法和装置。The present invention relates to the field of aircraft control technology, and in particular to an aircraft control method and device.
背景技术Background Art
无人机也称为无人驾驶飞行器,是利用无线电遥控遥测设备和自备的程序控制装置操纵的不载人飞机。无人机上无驾驶舱,但安装有导航飞行控制系统、程序控制装置以及动力和电源等设备。地面遥控遥测站人员通过数据链等设备,对其进行跟踪、定位、遥控、遥测和数字传输。与载人飞机相比,它具有体积小、造价低、使用方便、适应多种飞行环境要求的特点,因此被广泛应用于航空遥感、气象研究、农业飞播、病虫害防治以及战争中。A drone, also known as an unmanned aerial vehicle, is an unmanned aircraft controlled by radio remote control and telemetry equipment and a self-contained programmable controller. While lacking a cockpit, a drone is equipped with a navigation and flight control system, programmable controllers, and power and electrical equipment. Ground-based remote control and telemetry stations use data links and other equipment to track, locate, remotely control, measure, and transmit digital data. Compared to manned aircraft, drones are smaller, less expensive, easier to use, and adaptable to a variety of flight environments. Consequently, they are widely used in aerial remote sensing, meteorological research, agricultural aerial seeding, pest control, and even warfare.
以无人机为代表的飞行器在飞行过程中,会由于自身的机械故障、与其他物体碰撞等原因坠落,坠落可能砸到路人或车辆造成人员、财产的损失。因此,随着以无人机为代表的飞行器被广泛应用,飞行器的控制,尤其是坠落时的控制成为亟需解决的问题。During flight, drones and other aircraft can crash due to mechanical failures, collisions with other objects, and other factors. These crashes can potentially hit pedestrians or vehicles, causing personal and property damage. Therefore, with the widespread use of drones and other aircraft, controlling them, particularly during crashes, has become a pressing issue.
现有技术中,通过控制飞行器坠落情况的发生,进而减少飞行器坠落造成的损失,但该方法无法在坠落情况发生后对飞行器进行控制。In the prior art, the loss caused by the aircraft crash is reduced by controlling the occurrence of the aircraft crash, but this method cannot control the aircraft after the crash occurs.
发明内容Summary of the Invention
为了解决坠落情况发生后对飞行器进行控制的问题,本发明实施例提出了一种飞行器等控制方法和装置。In order to solve the problem of controlling an aircraft after a crash occurs, embodiments of the present invention provide a method and apparatus for controlling an aircraft.
一方面,本发明实施例提供了一种飞行器的控制方法,所述方法包括:In one aspect, an embodiment of the present invention provides a method for controlling an aircraft, the method comprising:
确定所述飞行器的水平速度v水平和垂直速度v垂直;Determining the horizontal velocity vhorizontal and vertical velocity vvertical of the aircraft;
在所述飞行器的坠落方向上,获取与所述飞行器之间的距离不大于预设距离L的物体;Acquire an object whose distance from the aircraft is not greater than a preset distance L in the falling direction of the aircraft;
根据所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器与所述物体之间的位置关系;Predicting a positional relationship between the aircraft and the object after flying L based on the horizontal v, the vertical v, and the L;
若所述位置关系满足预设关系,则采取预设的控制措施控制所述飞行器。If the position relationship satisfies a preset relationship, a preset control measure is taken to control the aircraft.
可选地,所述确定飞行器的v水平和v垂直之前,还包括:Optionally, before determining the v horizontal and v vertical of the aircraft, the method further includes:
确定飞行器坠落。Confirmed that the aircraft crashed.
可选地,所述根据所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器与所述物体之间的位置关系,包括:Optionally, predicting the positional relationship between the aircraft and the object after flight L based on the v horizontal , the v vertical , and the L includes:
确定所述飞行器在探测平面中的第一投影位置,并确定所述物体在所述探测平面中的扫描位置,所述探测平面与所述无人机的距离为L,且所述探测平面与所述无人机的运动方向垂直;Determining a first projection position of the aircraft in a detection plane and determining a scanning position of the object in the detection plane, where the detection plane is at a distance L from the UAV and the detection plane is perpendicular to a direction of motion of the UAV;
根据所述第一投影位置、所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器在所述探测平面中的第二投影位置;Predicting a second projection position of the aircraft in the detection plane after flying L based on the first projection position, v horizontal , v vertical , and L;
将所述第二投影位置与所述扫描位置之间的位置关系确定为飞行L后所述飞行器与所述物体之间的位置关系。The positional relationship between the second projection position and the scanning position is determined as the positional relationship between the aircraft and the object after flight L.
可选地,所述飞行器上配备景深传感器,所述景深传感器的探测方向与所述飞行器的运动方向一致;Optionally, the aircraft is equipped with a depth of field sensor, and the detection direction of the depth of field sensor is consistent with the movement direction of the aircraft;
所述在所述飞行器的运动方向上,获取与所述飞行器之间的距离不大于预设距离L的物体,包括:Acquiring an object whose distance from the aircraft is not greater than a preset distance L in the direction of movement of the aircraft includes:
获取所述景深传感器以L为景深探测到的物体。Obtain an object detected by the depth of field sensor with a depth of field L.
可选地,所述确定所述飞行器在探测平面中的第一投影位置,包括:Optionally, determining a first projection position of the aircraft in the detection plane includes:
获取所述飞行器的三维尺寸;Obtaining the three-dimensional size of the aircraft;
确定所述景深传感器与所述飞行器初始方向之间的角度;determining an angle between the depth sensor and an initial direction of the aircraft;
根据所述三维尺寸、所述角度将所述飞行器投影至探测平面中;Projecting the aircraft onto a detection plane according to the three-dimensional size and the angle;
将所述飞行器在所述探测平面中的投影位置确定为第一投影位置。The projection position of the aircraft in the detection plane is determined as a first projection position.
可选地,所述根据所述第一投影位置、所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器在所述探测平面中的第二投影位置,包括:Optionally, predicting a second projection position of the aircraft in the detection plane after flight L based on the first projection position, the horizontal v, the vertical v, and the L includes:
根据所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器在所述探测平面中纵向移动的距离s;According to the horizontal v, the vertical v, and the L, predict the longitudinal distance s of the aircraft in the detection plane after flying L;
将所述第一投影位置纵向移动所述s距离后的位置确定为第二投影位置。The position after the first projection position is longitudinally moved by the distance s is determined as the second projection position.
可选地,所述根据所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器在所述探测平面中纵向移动的距离s,包括:Optionally, the predicting, based on the v horizontal , the v vertical , and the L, a distance s that the aircraft moves longitudinally in the detection plane after flying L includes:
根据如下公式预测s:Predict s according to the following formula:
其中,g为重力加速度,a为预设的缩小比例常数。Where g is the acceleration due to gravity and a is the preset reduction ratio constant.
可选地,所述预设的控制措施为:弹出气囊,或者,解体所述飞行器。Optionally, the preset control measure is: deploying an airbag, or disintegrating the aircraft.
另一方面,本发明实施例提供了一种飞行器的控制装置,所述装置包括:In another aspect, an embodiment of the present invention provides a control device for an aircraft, the device comprising:
第一确定模块,用于确定飞行器的水平速度v水平和垂直速度v垂直;A first determination module is used to determine the horizontal velocity vhorizontal and the vertical velocity vvertical of the aircraft;
获取模块,用于在所述飞行器的坠落方向上,获取与所述飞行器之间的距离不大于预设距离L的物体;An acquisition module, configured to acquire an object whose distance from the aircraft is not greater than a preset distance L in the falling direction of the aircraft;
预测模块,用于根据所述第一确定模块确定的v水平、所述第一确定模块确定的v垂直、所述L,预测飞行L后所述飞行器与所述获取模块获取的物体之间的位置关系;a prediction module, configured to predict a positional relationship between the aircraft and the object acquired by the acquisition module after flight L based on v horizontal determined by the first determination module, v vertical determined by the first determination module, and L;
控制模块,用于当所述预测模块预测位置关系满足预设关系时,采取预设的控制措施控制所述飞行器。The control module is configured to take preset control measures to control the aircraft when the position relationship predicted by the prediction module satisfies a preset relationship.
可选地,所述装置,还包括:Optionally, the device further includes:
第二确定模块,用于确定飞行器坠落。The second determination module is used to determine that the aircraft has crashed.
可选地,所述预测模块,包括:Optionally, the prediction module includes:
第一确定单元,用于确定所述飞行器在探测平面中的第一投影位置,所述探测平面与所述无人机的距离为L,且所述探测平面与所述无人机的运动方向垂直;a first determining unit, configured to determine a first projection position of the aircraft in a detection plane, where a distance L between the detection plane and the UAV is equal to or greater than 0.05, and the detection plane is perpendicular to a moving direction of the UAV;
第二确定单元,用于确定所述物体在所述探测平面中的扫描位置;a second determining unit, configured to determine a scanning position of the object in the detection plane;
预测单元,用于根据所述第一确定单元确定的第一投影位置、所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器在所述探测平面中的第二投影位置;a prediction unit, configured to predict a second projection position of the aircraft in the detection plane after flight L based on the first projection position determined by the first determination unit, the v horizontal , the v vertical , and the L;
第三确定单元,用于将所述预测单元预测的第二投影位置与所述第二确定单元确定的扫描位置之间的位置关系确定为飞行L后所述飞行器与所述物体之间的位置关系。The third determining unit is configured to determine the positional relationship between the second projection position predicted by the predicting unit and the scanning position determined by the second determining unit as the positional relationship between the aircraft and the object after flight L.
可选地,所述飞行器上配备景深传感器,所述景深传感器的探测方向与所述飞行器的运动方向一致;Optionally, the aircraft is equipped with a depth of field sensor, and the detection direction of the depth of field sensor is consistent with the movement direction of the aircraft;
所述获取模块,用于获取所述景深传感器以L为景深探测到的物体。The acquisition module is used to acquire the object detected by the depth of field sensor with a depth of field L.
可选地,第一确定单元,包括:Optionally, the first determining unit includes:
获取子单元,用于获取所述飞行器的三维尺寸;an acquisition subunit, configured to acquire the three-dimensional dimensions of the aircraft;
第一确定子单元,用于确定所述景深传感器与所述飞行器初始方向之间的角度;a first determining subunit, configured to determine an angle between the depth sensor and an initial direction of the aircraft;
投影子单元,用于根据所述获取子单元获取的三维尺寸、所述第一确定子单元确定的角度将所述飞行器投影至探测平面中;a projection subunit, configured to project the aircraft into a detection plane according to the three-dimensional size acquired by the acquisition subunit and the angle determined by the first determination subunit;
第二确定子单元,用于将所述投影子单元将飞行器在所述探测平面中的投影位置确定为第一投影位置。The second determining subunit is configured to determine the projection position of the aircraft in the detection plane by the projection subunit as a first projection position.
可选地,所述预测单元,包括:Optionally, the prediction unit includes:
预测子单元,用于根据所述v水平、所述v垂直、所述L,预测飞行L后所述飞行器在所述探测平面中纵向移动的距离s;A prediction subunit, configured to predict, based on the v horizontal , the v vertical , and the L, a distance s that the aircraft will move longitudinally in the detection plane after flying L;
确定子单元,用于将所述第一投影位置纵向移动所述预测子单元得到的s距离后的位置确定为第二投影位置。The determination subunit is configured to determine a position after the first projection position is longitudinally moved by a distance s obtained by the prediction subunit as a second projection position.
可选地,所述预测子单元,用于根据如下公式预测s:Optionally, the prediction subunit is configured to predict s according to the following formula:
其中,g为重力加速度,a为预设的缩小比例常数。Where g is the acceleration due to gravity and a is the preset reduction ratio constant.
可选地,所述预设的控制措施为:弹出气囊,或者,解体所述飞行器。Optionally, the preset control measure is: deploying an airbag, or disintegrating the aircraft.
有益效果如下:The beneficial effects are as follows:
确定飞行器的v水平和v垂直;在飞行器的坠落方向上,获取与飞行器之间的距离不大于L的物体;根据v水平、v垂直、L,预测飞行L后飞行器与物体之间的位置关系;若位置关系满足预设关系,则采取预设的控制措施控制飞行器,实现坠落情况发生后对飞行器的控制。Determine the aircraft's v horizontal and v vertical ; obtain an object with a distance no greater than L from the aircraft in the aircraft's falling direction; predict the positional relationship between the aircraft and the object after flying L based on v horizontal , v vertical , and L; if the positional relationship meets the preset relationship, take the preset control measures to control the aircraft and achieve control of the aircraft after the fall occurs.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
下面将参照附图描述本发明的具体实施例,其中:Specific embodiments of the present invention will be described below with reference to the accompanying drawings, in which:
图1示出了本发明一种实施例中提供的一种飞行器的控制方法流程图;FIG1 shows a flow chart of a method for controlling an aircraft provided in one embodiment of the present invention;
图2示出了本发明另一种实施例中提供的一种无人机的示意图;FIG2 shows a schematic diagram of a drone provided in another embodiment of the present invention;
图3示出了本发明另一种实施例中提供的另一种飞行器的控制方法流程图;FIG3 shows a flow chart of another method for controlling an aircraft provided in another embodiment of the present invention;
图4示出了本发明另一种实施例中提供的一种无人机的速度示意图;FIG4 shows a schematic diagram of the speed of a drone provided in another embodiment of the present invention;
图5示出了本发明另一种实施例中提供的一种障碍信息图;FIG5 shows an obstacle information diagram provided in another embodiment of the present invention;
图6示出了本发明另一种实施例中提供的一种三维障碍信息图;FIG6 shows a three-dimensional obstacle information map provided in another embodiment of the present invention;
图7示出了本发明另一种实施例中提供的无人机俯视图;FIG7 shows a top view of a drone provided in another embodiment of the present invention;
图8示出了本发明另一种实施例中提供的一种无人机在三维障碍信息图中投影的示意图;FIG8 shows a schematic diagram of a drone projected on a three-dimensional obstacle information map provided in another embodiment of the present invention;
图9示出了本发明另一种实施例中提供的一种无人机在三维障碍信息图中投影的位置示意图;FIG9 is a schematic diagram showing the position of a drone projected in a three-dimensional obstacle information map provided in another embodiment of the present invention;
图10示出了本发明另一种实施例中提供的一种无人机在三维障碍信息图中投影的位移示意图;FIG10 shows a schematic diagram of the displacement of a drone projected on a three-dimensional obstacle information map provided in another embodiment of the present invention;
图11示出了本发明另一种实施例中提供的另一种无人机在三维障碍信息图中投影的示意图;FIG11 is a schematic diagram showing another drone projected on a three-dimensional obstacle information map provided in another embodiment of the present invention;
图12示出了本发明另一种实施例中提供的另一种飞行器的控制方法流程图;FIG12 shows a flow chart of another method for controlling an aircraft provided in another embodiment of the present invention;
图13示出了本发明另一种实施例中提供的另一种障碍信息图;FIG13 shows another obstacle information diagram provided in another embodiment of the present invention;
图14示出了本发明另一种实施例中提供的另一种三维障碍信息图;FIG14 shows another three-dimensional obstacle information diagram provided in another embodiment of the present invention;
图15示出了本发明另一种实施例中提供的一种飞行器的控制装置的结构示意图;FIG15 is a schematic structural diagram of a control device for an aircraft provided in another embodiment of the present invention;
图16示出了本发明另一种实施例中提供的另一种飞行器的控制装置的结构示意图;FIG16 is a schematic structural diagram of another aircraft control device provided in another embodiment of the present invention;
图17示出了本发明另一种实施例中提供的一种预测模块的结构示意图;FIG17 shows a schematic structural diagram of a prediction module provided in another embodiment of the present invention;
图18示出了本发明另一种实施例中提供的一种第一确定单元的结构示意图;FIG18 shows a schematic structural diagram of a first determining unit provided in another embodiment of the present invention;
图19示出了本发明另一种实施例中提供的一种预测单元的结构示意图。FIG19 shows a schematic structural diagram of a prediction unit provided in another embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
目前飞行器在坠落时由于无法控制,难以避免与前方物体相撞,也无法避免因砸到路人或车辆而造成的人员、财产的损失。为了减少飞行器坠落时造成的损失,本申请提出了一种飞行器的控制方法,该方法应用于一种飞行器的控制装置,该飞行器的控制装置如图15至图19任一图所示的实施例所述的飞行器的控制装置。该飞行器的控制装置位于飞行器上,同时,飞行器上可以配备景深传感器,该景深传感器的探测方向可以与所述飞行器的运动方向一致,当飞行器坠落时,该飞行器的控制装置可以确定飞行器的v水平和v垂直;在飞行器的坠落方向上,通过景深传感器获取与飞行器之间的距离不大于预设距离L的物体;根据v水平、v垂直、L,预测飞行L后飞行器与物体之间的位置关系;若位置关系满足预设关系,则采取预设的控制措施控制飞行器,实现坠落情况发生后对飞行器的控制。Currently, when an aircraft falls, it is difficult to avoid colliding with objects in front of it due to the lack of control, and it is also difficult to avoid the loss of life and property caused by hitting pedestrians or vehicles. In order to reduce the losses caused by the aircraft falling, the present application proposes a control method for an aircraft, which is applied to an aircraft control device, such as the aircraft control device described in the embodiments shown in any of Figures 15 to 19. The aircraft control device is located on the aircraft. At the same time, the aircraft can be equipped with a depth of field sensor. The detection direction of the depth of field sensor can be consistent with the movement direction of the aircraft. When the aircraft falls, the aircraft control device can determine the aircraft's v horizontal and v vertical ; in the direction of the aircraft's fall, the depth of field sensor is used to detect an object that is no more than a preset distance L from the aircraft; based on v horizontal , v vertical , and L, the positional relationship between the aircraft and the object after flying L is predicted; if the positional relationship meets the preset relationship, the preset control measures are taken to control the aircraft, thereby achieving control of the aircraft after the fall occurs.
结合上述实施环境,本实施例提供了一种飞行器的控制方法,参见图1,本实施例提供的方法流程具体如下:In combination with the above implementation environment, this embodiment provides a method for controlling an aircraft. Referring to FIG1 , the method flow provided in this embodiment is as follows:
101:确定飞行器的水平速度v水平和垂直速度v垂直;101: Determine the horizontal velocity vhorizontal and vertical velocity vvertical of the aircraft;
可选地,确定飞行器的v水平和v垂直之前,还包括:Optionally, before determining the v horizontal and v vertical of the aircraft, the method further includes:
确定飞行器坠落。Confirmed that the aircraft crashed.
102:在飞行器的坠落方向上,获取与飞行器之间的距离不大于预设距离L的物体;102: Acquire an object whose distance from the aircraft is not greater than a preset distance L in the falling direction of the aircraft;
可选地,飞行器上配备景深传感器,景深传感器的探测方向与飞行器的运动方向一致;Optionally, the aircraft is equipped with a depth sensor, and the detection direction of the depth sensor is consistent with the movement direction of the aircraft;
在飞行器的运动方向上,获取与飞行器之间的距离不大于预设距离L的物体,包括:Acquiring an object within a predetermined distance L from the aircraft in the direction of the aircraft's motion includes:
获取景深传感器以L为景深探测到的物体。Get the object detected by the depth sensor at a depth of L.
103:根据v水平、v垂直、L,预测飞行L后飞行器与物体之间的位置关系;103: Based on v horizontal , v vertical , and L, predict the positional relationship between the aircraft and the object after flying L;
可选地,根据v水平、v垂直、L,预测飞行L后飞行器与物体之间的位置关系,包括:Optionally, based on v horizontal , v vertical , and L, predicting the positional relationship between the aircraft and the object after flying L includes:
确定飞行器在探测平面中的第一投影位置,并确定物体在探测平面中的扫描位置,探测平面与无人机的距离为L,且探测平面与无人机的运动方向垂直;Determine the first projection position of the aircraft in the detection plane and determine the scanning position of the object in the detection plane. The distance L between the detection plane and the UAV is perpendicular to the direction of motion of the UAV.
根据第一投影位置、v水平、v垂直、L,预测飞行L后飞行器在探测平面中的第二投影位置;Predict the second projection position of the aircraft in the detection plane after flying L based on the first projection position, v horizontal , v vertical , and L;
将第二投影位置与扫描位置之间的位置关系确定为飞行L后飞行器与物体之间的位置关系。The positional relationship between the second projection position and the scanning position is determined as the positional relationship between the aircraft and the object after flight L.
可选地,确定飞行器在探测平面中的第一投影位置,包括:Optionally, determining a first projection position of the aircraft in the detection plane includes:
获取飞行器的三维尺寸;Get the three-dimensional size of the aircraft;
确定景深传感器与飞行器初始方向之间的角度;Determine the angle between the depth sensor and the initial orientation of the aircraft;
根据三维尺寸、角度将飞行器投影至探测平面中;Project the aircraft onto the detection plane according to the three-dimensional size and angle;
将飞行器在探测平面中的投影位置确定为第一投影位置。The projection position of the aircraft in the detection plane is determined as the first projection position.
可选地,根据第一投影位置、v水平、v垂直、L,预测飞行L后飞行器在探测平面中的第二投影位置,包括:Optionally, predicting a second projection position of the aircraft in the detection plane after flying L based on the first projection position, v horizontal , v vertical , and L includes:
根据v水平、v垂直、L,预测飞行L后飞行器在探测平面中纵向移动的距离s;Based on vhorizontal , vvertical , and L, predict the distance s that the aircraft will move longitudinally in the detection plane after flying L;
将第一投影位置纵向移动s距离后的位置确定为第二投影位置。The position after the first projection position is longitudinally moved by a distance s is determined as the second projection position.
可选地,根据v水平、v垂直、L,预测飞行L后飞行器在探测平面中纵向移动的距离s,包括:Optionally, based on v horizontal , v vertical , and L , predicting the longitudinal distance s that the aircraft moves in the detection plane after flying L includes:
根据如下公式预测s:Predict s according to the following formula:
其中,g为重力加速度,a为预设的缩小比例常数。Where g is the acceleration due to gravity and a is the preset reduction ratio constant.
104:若位置关系满足预设关系,则采取预设的控制措施控制飞行器。104: If the position relationship satisfies the preset relationship, a preset control measure is taken to control the aircraft.
可选地,预设的控制措施为:弹出气囊,或者,解体飞行器。Optionally, the preset control measures are: deploying airbags, or disintegrating the aircraft.
有益效果:Beneficial effects:
确定飞行器的v水平和v垂直;在飞行器的坠落方向上,获取与飞行器之间的距离不大于L的物体;根据v水平、v垂直、L,预测飞行L后飞行器与物体之间的位置关系;若位置关系满足预设关系,则采取预设的控制措施控制飞行器,实现坠落情况发生后对飞行器的控制。Determine the aircraft's v horizontal and v vertical ; obtain an object with a distance no greater than L from the aircraft in the aircraft's falling direction; predict the positional relationship between the aircraft and the object after flying L based on v horizontal , v vertical , and L; if the positional relationship meets the preset relationship, take the preset control measures to control the aircraft and achieve control of the aircraft after the fall occurs.
结合上述实施环境,本实施例提供了一种飞行器的控制方法,由于飞行器包括的种类较多,为了便于说明,本实施例仅以无人机,且与无人机之间的距离不大于L的物体为一个物体A为例进行说明。In combination with the above implementation environment, this embodiment provides a method for controlling an aircraft. Since there are many types of aircraft, for the sake of convenience, this embodiment only takes a drone and an object A whose distance from the drone is not greater than L as an example for explanation.
其中,无人机如图2所示,该无人机上配备一个可360度自由旋转的红外激光景深传感器,该360度自由旋转的红外激光景深传感器的探测方向始终与该无人机的运动方向保持一致。The UAV is shown in FIG2 . The UAV is equipped with an infrared laser depth-of-field sensor that can rotate freely 360 degrees. The detection direction of the 360-degree freely rotating infrared laser depth-of-field sensor is always consistent with the movement direction of the UAV.
参见图3,本实施例提供的方法流程具体如下:Referring to FIG3 , the method flow provided in this embodiment is specifically as follows:
301:确定无人机坠落;301: Confirmed that the drone has crashed;
无人机在飞行过程中会对自身状态,设备的运行情况等进行监测,并基于监测结果判断无人机是否坠落,当判断无人机坠落时,则确定无人机坠落。During the flight, the drone will monitor its own status, the operation status of the equipment, etc., and judge whether the drone has crashed based on the monitoring results. If it is judged that the drone has crashed, it is determined that the drone has crashed.
其中,坠落原因可以有很多,例如图2所示的无人机机械故障,或者飞行中受到碰撞,或者其他原因。无人机坠落方式也有很多,例如:自由落体方式的坠落,或者部分螺旋桨失速导致的坠落,或者其他方式的坠落。There are many possible reasons for a drone to fall, such as a mechanical failure, a collision, or other reasons. There are also many ways a drone can fall, such as free fall, partial propeller stall, or other causes.
另外,在实际应用中,不同无人机坠落时的加速可能不同,本实施例对无人机坠落的具体加速度不进行限定。In addition, in actual applications, the acceleration of different drones when falling may be different. This embodiment does not limit the specific acceleration of the drone falling.
302:确定无人机的v水平和v垂直;302: Determine the v horizontal and v vertical of the drone;
由于无人机均配备GPS(Global Positioning System,全球定位系统)、高度传感器等设备及系统,本步骤中无人机的v水平可由GPS得到,垂直速度v垂直可由高度传感器得到。Since all drones are equipped with GPS (Global Positioning System), altitude sensors and other equipment and systems, in this step, the drone's vhorizontal can be obtained by GPS, and the vertical speed vvertical can be obtained by the altitude sensor.
需要说明的是,本实施例及后续实施例中如未特殊说明,提及的速度(v、v水平、v垂直等)均为矢量,既包括大小,也包括方向。It should be noted that, unless otherwise specified in this embodiment and subsequent embodiments, the speeds mentioned (v, v horizontal , v vertical , etc.) are all vectors, including both magnitude and direction.
另外,为了后续步骤中对无人机自身位置的确定,在得到v水平和v垂直后,还可以根据v水平和v垂直计算出无人机的飞行速度v,以确定无人机在三维空间中的速度。In addition, in order to determine the position of the drone itself in the subsequent steps, after obtaining v horizontal and v vertical , the flight speed v of the drone can also be calculated based on v horizontal and v vertical to determine the speed of the drone in three-dimensional space.
例如,若v水平的方向为东偏北α度,飞行速度v即无人机当前的实际速度,v的方向为水平面向下旋转β度,如图4所示。For example, if the horizontal direction of v is α degrees east of north, the flight speed v is the current actual speed of the UAV, and the direction of v is β degrees downward rotation of the horizontal plane, as shown in Figure 4.
其中,β=arctan(v垂直/v水平)Where β = arctan ( vvertical / vhorizontal )
当然,由于无人机可以实时测算出当前的飞行速度,因此,v也可以直接从无人机的相关测算设备中获取。Of course, since the drone can calculate the current flight speed in real time, v can also be directly obtained from the relevant measurement equipment of the drone.
303:在无人机的坠落方向上,获取与无人机之间的距离不大于L的物体;303: Acquire an object whose distance from the drone is not greater than L in the falling direction of the drone;
由于图2所示的无人机上配备的360度自由旋转的红外激光景深传感器的探测方向始终与该无人机的运动方向保持一致,因此本步骤可以通过获取360度自由旋转的红外激光景深传感器的探测以L为景深探测到的物体实现。Since the detection direction of the 360-degree freely rotating infrared laser depth of field sensor equipped on the drone shown in Figure 2 is always consistent with the movement direction of the drone, this step can be achieved by obtaining the objects detected by the 360-degree freely rotating infrared laser depth of field sensor with a depth of field L.
例如:360度自由旋转的红外激光景深传感器进行实时的L内的景深扫描,此处假设L为最远扫描距离,得到一个如图5所示的障碍信息图。360度自由旋转的红外激光景深传感器还可以对其可见区域进行距离测量,没检测到物体的像素点d为∞,扫描到物体A的像素点则记录此点的距离信息d(0-L),将每个点的距离信息描绘出来即可得到一个如图6所示的三维障碍信息图。For example, a 360-degree rotating infrared laser depth sensor performs real-time depth scanning within a range of L, assuming L is the maximum scanning distance, resulting in an obstacle information map as shown in Figure 5. A 360-degree rotating infrared laser depth sensor can also measure distances within its visible area. Pixels without detected objects have a value of d equal to ∞, while pixels that detect object A record the distance information d(0-L) to that point. By plotting the distance information for each point, a three-dimensional obstacle information map is generated, as shown in Figure 6.
另外,360度自由旋转的红外激光景深传感器的探测方向始终与该无人机的运动方向保持一致的具体实现方式可以为:360度自由旋转的红外激光景深传感器根据自身的地磁传感器即可调整自身在水平方向对准实例中的东偏北α度,之后向地心垂直方向转动β角度这个方向,此时,即使无人机在坠落过程中是转动或翻滚的,360度自由旋转的红外激光景深传感器依然可根据α,β这两个绝对角度值保持自身始终面向速度的绝对方向不变。In addition, the specific implementation method of ensuring that the detection direction of the 360-degree freely rotating infrared laser depth of field sensor is always consistent with the movement direction of the drone can be: the 360-degree freely rotating infrared laser depth of field sensor can adjust itself horizontally to α degrees east of north in the example according to its own geomagnetic sensor, and then rotate β degrees toward the center of the earth. At this time, even if the drone rotates or rolls during the fall, the 360-degree freely rotating infrared laser depth of field sensor can still keep its absolute direction of facing speed unchanged according to the two absolute angle values α and β.
当然,本实施例仅以360度自由旋转的红外激光景深传感器的探测为例进行说明,在实际应用中,无人机上还可以配备其他形式的景深传感器,只要该传感器可以以L为景深探测物体,并且可以360度自由旋转,以保证该传感器的探测方向始终与该无人机的运动方向一致即可。Of course, this embodiment only uses the detection of an infrared laser depth of field sensor that can rotate freely 360 degrees as an example. In actual applications, the drone can also be equipped with other forms of depth of field sensors, as long as the sensor can detect objects with a depth of field of L and can rotate freely 360 degrees to ensure that the detection direction of the sensor is always consistent with the movement direction of the drone.
304:根据v水平、v垂直、L,预测飞行L后无人机与物体之间的位置关系;304: Based on v horizontal , v vertical , and L, predict the positional relationship between the drone and the object after flying L;
具体实施时,包括但不限于通过如下四个步骤实现:The specific implementation includes but is not limited to the following four steps:
步骤1:确定无人机在探测平面中的第一投影位置;Step 1: Determine the first projection position of the UAV in the detection plane;
其中,探测平面与无人机的距离为L,且探测平面与无人机的运动方向垂直。The distance between the detection plane and the UAV is L, and the detection plane is perpendicular to the movement direction of the UAV.
步骤1在具体实施时,可以通过如下3个子步骤实现:Step 1 can be implemented through the following three sub-steps:
子步骤1.1:获取无人机的三维尺寸;Sub-step 1.1: Obtain the three-dimensional dimensions of the drone;
无人机在制造时即有精确的三维尺寸,且该三维尺寸会作为其三维模型信息存储在无人机相关程序中,本步骤可以直接从相关程序中获取三维尺寸。The drone has precise three-dimensional dimensions when it is manufactured, and these dimensions are stored as its three-dimensional model information in the drone-related program. In this step, the three-dimensional dimensions can be directly obtained from the related program.
子步骤1.2:确定景深传感器与无人机初始方向之间的角度;Sub-step 1.2: Determine the angle between the depth sensor and the initial orientation of the drone.
图2中的360度自由旋转的红外激光景深传感器通过双轴或多轴与无人机主机连接,任意时刻360度自由旋转的红外激光景深传感器均可知道其当前的各个轴角度。将360度自由旋转的红外激光景深传感器当前的各个轴角度确定为景深传感器与无人机初始方向之间的角度。The 360-degree freely rotating infrared laser depth sensor in Figure 2 is connected to the drone host via two or more axes. The current angle of each axis of the 360-degree freely rotating infrared laser depth sensor can be determined at any time. The current angle of each axis of the 360-degree freely rotating infrared laser depth sensor is determined as the angle between the depth sensor and the initial orientation of the drone.
子步骤1.3:根据三维尺寸、角度将无人机投影至探测平面中;Sub-step 1.3: Project the drone onto the detection plane based on its three-dimensional size and angle;
360度自由旋转的红外激光景深传感器可以以X轴和Y轴做旋转,取图2中面向正前方为正方向。以俯视图看Y轴,如图7所示,Y轴此时垂直设备向上。The 360-degree rotatable infrared laser depth sensor can rotate along the X and Y axes, with the forward direction as shown in Figure 2. Looking at the Y axis from a top view, as shown in Figure 7, the Y axis is now perpendicular to the device and pointing upward.
若当前360度自由旋转的红外激光景深传感器延Y轴顺时针转动角度y,则可知,无人机在下落时刻,应取y+180°作为延Y轴旋转的投影分量。而延X轴的转动同理,延X轴转动角度x时,应取x+180°作为延X轴旋转的投影分量。If the infrared laser depth sensor, which is currently rotating 360 degrees, rotates clockwise along the Y axis by an angle y, then at the moment of the drone's descent, the projection component of the rotation along the Y axis should be y+180°. Similarly, for rotation along the X axis, when the X axis rotates by an angle x, the projection component of the rotation along the X axis should be x+180°.
将(x+180°,y+180°)作为无人机的3D模型投影角度即可得到其在景深传感器中的形状,而无人机尺寸是步骤1中已知,360度自由旋转的红外激光景深传感器的感光器件尺寸、镜头焦距也是已知,则无人机自身知道在L处此投影在探测图像中的实际大小,如图8所示。Using (x+180°, y+180°) as the projection angle of the drone's 3D model, its shape in the depth sensor can be obtained. The size of the drone is known in step 1, and the size of the photosensitive device and the focal length of the lens of the 360-degree freely rotating infrared laser depth sensor are also known. The drone itself knows the actual size of this projection at position L in the detection image, as shown in Figure 8.
子步骤1.4:将无人机在探测平面中的投影位置确定为第一投影位置。Sub-step 1.4: Determine the projection position of the UAV in the detection plane as the first projection position.
步骤2:确定物体A在探测平面中的扫描位置;Step 2: Determine the scanning position of object A in the detection plane;
由于步骤303中的三维障碍信息图与无人机的距离为L,且探测平面与无人机的运动方向垂直,因此,步骤303中的三维障碍信息图为探测平面中的一个部分,步骤2中可以直接获取步骤303中的三维障碍信息图,将该图作为物体A投影至探测平面中的投影结果,并将物体A在该图中的投影位置确定为扫描位置。Since the distance between the 3D obstacle information map in step 303 and the UAV is L, and the detection plane is perpendicular to the movement direction of the UAV, the 3D obstacle information map in step 303 is a part of the detection plane. In step 2, the 3D obstacle information map in step 303 can be directly obtained and used as the projection result of object A onto the detection plane. The projection position of object A in the map is determined as the scanning position.
对于步骤1和步骤2的实现顺序,本实施例以先执行步骤1再执行步骤2的情况进行说明,实际应用时,还可以先执行步骤2再执行步骤1,或者同时执行步骤1和步骤2,本实施例不对步骤1和步骤2的具体实现顺序进行限定。Regarding the implementation order of step 1 and step 2, this embodiment is described by first executing step 1 and then executing step 2. In actual application, step 2 can also be executed first and then step 1, or step 1 and step 2 can be executed at the same time. This embodiment does not limit the specific implementation order of step 1 and step 2.
步骤3:根据第一投影位置、v水平、v垂直、L,预测飞行L后无人机在探测平面中的第二投影位置;Step 3: Based on the first projection position, v horizontal , v vertical , and L, predict the second projection position of the UAV in the detection plane after flying L;
步骤3可以通过如下两个子步骤实现:Step 3 can be implemented through the following two sub-steps:
子步骤3.1:根据v水平、v垂直、L,预测飞行L后无人机在探测平面中纵向移动的距离s,且s可以通过如下公式预测:Sub-step 3.1: Based on v horizontal , v vertical , and L, predict the longitudinal distance s that the UAV will move in the detection plane after flying L. s can be predicted using the following formula:
其中,g为重力加速度,a为预设的缩小比例常数,且s预测公式可由如下方式推到出:Where g is the acceleration due to gravity, a is the preset reduction constant, and the s prediction formula can be derived as follows:
在步骤302中,已知无人机的v,v水平和v垂直,v的方向为水平面向下旋转β度。步骤304的子步骤1.3中,也已知360度自由旋转的红外激光景深传感器与无人机机身的X,Y轴角速度,假设分别为ωX和ωY。In step 302, the drone's v, v horizontal , and v vertical are known, with v's direction being a downward rotation of β degrees from the horizontal plane. In sub-step 1.3 of step 304, the X and Y angular velocities of the 360-degree rotating infrared laser depth sensor and the drone's body are also known, assuming them to be ω X and ω Y , respectively.
若不考虑风速造成的影响,则在自由落体中,v水平理论不会变,而v垂直会在重力加速度作用下逐步加大。If the influence of wind speed is not considered, then in free fall, v horizontal will not change theoretically, while v vertical will gradually increase under the action of gravitational acceleration.
非自由落体中,则v水平和v垂直都会变化,但无人机依然可得到任意时刻的v水平和v垂直,并根据下落轨迹进行运动预判。In non-free fall, both v horizontal and v vertical will change, but the drone can still obtain v horizontal and v vertical at any time and predict the movement based on the falling trajectory.
下面,本实施例以自由落体为例进行进一步分析,在探测距离为L的情况下,可知无人机飞行至L远处的探测平面的时间近似为L/v,参见图9。Next, this embodiment uses free fall as an example for further analysis. When the detection distance is L, it can be seen that the time it takes for the drone to fly to the detection plane at a distance of L is approximately L/v, as shown in FIG9 .
假设L/v时间后,v垂直变为v垂直’,Assume that after L/v time, v vertical becomes v vertical ',
则v'垂直=v垂直+g×L/v;Then v'vertical = vvertical + g × L/v;
此时的β'=arctan(v'垂直/v水平)At this time, β'=arctan(v' vertical /v horizontal )
假设L/v时间后,无人机投影像在L/v时间前的探测图像中纵向移动距离为b(因为无人机自由落体坠落过程中水平速度和方向不会变,因此在探测图像中不会有横向移动),如图10所示。Assume that after the L/v time, the longitudinal movement distance of the drone projection image in the detection image before the L/v time is b (because the horizontal speed and direction of the drone do not change during free fall, there will be no lateral movement in the detection image), as shown in Figure 10.
可知b=L×tan(β'-β),代入可得:We know that b = L × tan(β'-β), and substituting it into the equation yields:
b为实际纵向移动距离,而在360度自由旋转的红外激光景深传感器的实际面积上,移动距离和实际距离成等比缩小,缩小比例在360度自由旋转的红外激光景深传感器和镜头组制造完成后即为已知参数,假设L距离外缩小比例为常数a,则在360度自由旋转的红外激光景深传感器上的纵向移动距离为b is the actual longitudinal movement distance. On the actual area of the 360-degree freely rotating infrared laser depth of field sensor, the movement distance is proportionally reduced to the actual distance. The reduction ratio is a known parameter after the 360-degree freely rotating infrared laser depth of field sensor and the lens group are manufactured. Assuming that the reduction ratio outside the L distance is a constant a, the longitudinal movement distance on the 360-degree freely rotating infrared laser depth of field sensor is
子步骤3.2:将第一投影位置纵向移动s距离后的位置确定为第二投影位置。Sub-step 3.2: Determine the position after the first projection position is longitudinally moved by a distance s as the second projection position.
在得到s后,又知360度自由旋转的红外激光景深传感器与机身的X,Y轴角速度分别为ωX和ωY,自由落体运动中此角速度不会变,则L/v时间后,无人机绕X,Y轴转动角度分别为ωX×L/v和ωY×L/v,假设L/v时间后无人机从第一投影位置纵向移动s距离后的位置在L/v时间前的检测图像中位置如图11所示,则该位置确定为第二投影位置。After obtaining s, we know that the angular velocities of the 360-degree freely rotating infrared laser depth of field sensor and the fuselage about the X and Y axes are ω X and ω Y respectively. These angular velocities do not change during free fall. Therefore, after the L/v time, the rotation angles of the drone around the X and Y axes are ω X × L/v and ω Y × L/v respectively. Assuming that the position of the drone after moving s longitudinally from the first projection position after the L/v time is shown in Figure 11 in the detection image before the L/v time, this position is determined as the second projection position.
步骤4:将第二投影位置与扫描位置之间的位置关系确定为飞行L后无人机与物体A之间的位置关系。Step 4: The positional relationship between the second projection position and the scanned position is determined as the positional relationship between the UAV and object A after flight L.
若第二投影位置与扫描位置存在重叠部分,则确定飞行L后无人机与物体A会发生碰撞;If there is an overlap between the second projection position and the scanned position, it is determined that the drone will collide with object A after flight L;
若第二投影位置与扫描位置不存在任何重叠,且第二投影位置与扫描位置之间在扫描图像上的距离为c,则确定飞行L后无人机与物体A之间的位置不会发生碰撞,且无人机与物体A之间的实际距离为c×a;If there is no overlap between the second projected position and the scanned position, and the distance between the second projected position and the scanned position on the scanned image is c, then it is determined that the positions of the drone and object A will not collide after flight L, and the actual distance between the drone and object A is c×a;
305:若位置关系满足预设关系,则采取预设的控制措施控制无人机。305: If the position relationship satisfies the preset relationship, a preset control measure is taken to control the UAV.
其中,预设的控制措施包括但不限于:弹出气囊,或者,解体无人机。Among them, the preset control measures include but are not limited to: deploying airbags, or disintegrating the drone.
如果预设关系为无人机与物体A之间的位置存在重叠部分,则仅当步骤304中确定飞行L后无人机与物体A之间的位置存在重叠部分后,才采取预设的控制措施控制无人机。If the preset relationship is that there is an overlap between the positions of the drone and object A, the preset control measures are taken to control the drone only after it is determined in step 304 that there is an overlap between the positions of the drone and object A after flight L.
如果预设关系为无人机与物体A之间的实际距离不大于e,则不仅当步骤304中确定飞行L后无人机与物体A之间的位置存在重叠部分后,采取预设的控制措施控制无人机,还当步骤304中确定飞行L后无人机与物体A之间的位置不存在任何重叠,无人机与物体A之间的实际距离为c×a,且c×a不大于e后,采取预设的控制措施控制无人机。If the preset relationship is that the actual distance between the UAV and object A is not greater than e, then not only when it is determined in step 304 that there is an overlap between the positions of the UAV and object A after flight L, the preset control measures are taken to control the UAV, but also when it is determined in step 304 that there is no overlap between the positions of the UAV and object A after flight L, the actual distance between the UAV and object A is c×a, and c×a is not greater than e, the preset control measures are taken to control the UAV.
可见,通过对当前的运动状态进行预判,可知在L距离后,无人机与物体A是否会发生碰撞。It can be seen that by predicting the current motion state, it can be known whether the drone will collide with object A after the distance L.
例如:如果在预判中发现L距离后将与物体(行人,地面,建筑物等等)发生碰撞,则无人机应启动紧急保护装置,如弹出安全气囊或解体等等,既能保护无人机自身免受损伤,也能保护行人或财产不被砸伤砸坏。For example, if the drone predicts that it will collide with an object (pedestrians, ground, buildings, etc.) at a distance of L, the drone should activate emergency protection devices, such as deploying airbags or disintegrating, to protect the drone itself from damage and to protect pedestrians or property from being injured or damaged.
本实施例提供的无人机坠落的防撞方法,通过一个在无人机上可360度自由旋转的红外激光景深传感器,实时的指向当前速度方向,通过对L处超高频扫描激光测距或者基于pattern的全副景深分析等技术,并结合自身轮廓在该时刻该角度的投影影像,根据对当前速度在投影平面的双方向分量以及旋转速度,预测是否会发生碰撞。如果将要发生碰撞,则启动应急机制(比如弹出气囊,自身结构分解等等),以最大限度避免对无人机自身以及地面的人或财务造成的损伤。在无人机应用越来越广泛的今天,本实施例提供的方法将极大的提升设备和地面物体及行人的安全性。The anti-collision method for falling drones provided in this embodiment uses an infrared laser depth-of-field sensor on the drone that can rotate 360 degrees freely to point to the current speed direction in real time. By using ultra-high-frequency scanning laser ranging at L or pattern-based full-frame depth-of-field analysis and other technologies, combined with the projection image of its own contour at that moment and angle, it predicts whether a collision will occur based on the two-directional components of the current speed in the projection plane and the rotation speed. If a collision is about to occur, the emergency mechanism is activated (such as popping out the airbag, decomposing the self-structure, etc.) to minimize damage to the drone itself and people or property on the ground. As drones are increasingly used, the method provided in this embodiment will greatly improve the safety of equipment, ground objects, and pedestrians.
此外,本实施例仅以图2所示的无人机上配备一个可360度自由旋转的红外激光景深传感器为例进行解释说明,实际应用中,根据若该可360度自由旋转的红外激光景深传感器可能存在视线遮挡问题,或者其他问题,可以酌情配备2个,或者多个可360度自由旋转的红外激光景深传感器,具体数量本实施例不进行限制。当无人机上配备多个可360度自由旋转的红外激光景深传感器时,可将各可360度自由旋转的红外激光景深传感器得到的数据综合成一份数据,作为可360度自由旋转的红外激光景深传感器得到的最终数据进行后续处理即可。In addition, this embodiment is explained using only one 360-degree rotatable infrared laser depth of field sensor equipped on the drone shown in FIG2 as an example. In actual applications, depending on whether the 360-degree rotatable infrared laser depth of field sensor may have line of sight obstruction or other issues, two or more 360-degree rotatable infrared laser depth of field sensors may be equipped as appropriate. The specific number is not limited in this embodiment. When a drone is equipped with multiple 360-degree rotatable infrared laser depth of field sensors, the data obtained by each 360-degree rotatable infrared laser depth of field sensor can be integrated into a single data set and used as the final data obtained by the 360-degree rotatable infrared laser depth of field sensor for subsequent processing.
本实施例提供的无人机坠落的防撞方法在无人机开始坠落时开始执行,并且持续重复执行,即实时通过本实施例提供的无人机坠落的防撞方法获取其水平速度和垂直速度,其运动方向上距离不大于L的物体,确定其能与物体碰撞时,采取预设的防撞措施,以防止其在整个坠落过程中与物体碰撞。The anti-collision method for a falling drone provided in this embodiment starts to execute when the drone starts to fall, and is continuously and repeatedly executed, that is, the horizontal speed and vertical speed of the drone are obtained in real time through the anti-collision method for a falling drone provided in this embodiment, and the distance in the direction of its movement is not greater than L from the object. When it is determined that it can collide with the object, the preset anti-collision measures are taken to prevent it from colliding with the object during the entire falling process.
有益效果:Beneficial effects:
确定无人机的v水平和v垂直;在无人机的坠落方向上,获取与无人机之间的距离不大于L的物体;根据v水平、v垂直、L,预测飞行L后无人机与物体之间的位置关系;若位置关系满足预设关系,则采取预设的控制措施控制无人机,实现坠落情况发生后对无人机的控制。Determine the drone's v horizontal and v vertical ; obtain an object with a distance no greater than L from the drone in the direction of the drone's fall; predict the positional relationship between the drone and the object after flying L based on v horizontal , v vertical , and L; if the positional relationship meets the preset relationship, take the preset control measures to control the drone and achieve control of the drone after the fall occurs.
上述实施例以与无人机之间的距离不大于L的物体为一个物体A进行说明。下面结合上述实施环境,针对无人机之间的距离不大于L的物体为多个物体的场景,对本申请提供的一种飞行器的控制方法进行说明。The above embodiment is described with the object A being at a distance no greater than L from the drone. Next, in conjunction with the above implementation environment, a method for controlling an aircraft provided by this application is described for a scenario where there are multiple objects at a distance no greater than L between the drones.
在本实施例中,仍以图2所示的无人机,且该无人机上配备一个可360度自由旋转的红外激光景深传感器,该360度自由旋转的红外激光景深传感器的探测方向始终与该无人机的运动方向保持一致为例。In this embodiment, the drone shown in FIG2 is still taken as an example, and the drone is equipped with an infrared laser depth of field sensor that can rotate freely 360 degrees, and the detection direction of the 360-degree freely rotating infrared laser depth of field sensor is always consistent with the movement direction of the drone.
参见图12,本实施例提供的方法流程具体如下:Referring to FIG12 , the method flow provided in this embodiment is as follows:
1201:确定无人机坠落;1201: Confirmed that the drone has crashed;
此步骤的实现方式与步骤301相同,详情请参见步骤301,此处不再赘述。The implementation method of this step is the same as step 301. For details, please refer to step 301 and will not be repeated here.
1202:确定无人机的v水平和v垂直;1202: Determine the v horizontal and v vertical of the drone;
此步骤的实现方式与步骤302相同,详情请参见步骤302,此处不再赘述。The implementation method of this step is the same as step 302. For details, please refer to step 302 and will not be repeated here.
1203:在无人机的坠落方向上,获取与无人机之间的距离不大于L的所有物体;1203: Acquire all objects in the falling direction of the drone whose distance to the drone is not greater than L;
由于无人机的坠落方向上,与无人机之间的距离不大于L的物体为多个,因此,此步骤获取所有与无人机之间的距离不大于L的物体。Since there are multiple objects whose distances from the drone are not greater than L in the falling direction of the drone, this step obtains all objects whose distances from the drone are not greater than L.
针对每一个物体,其实现方式与步骤303相同,详情请参见步骤303,此处不再具体描述。For each object, the implementation method is the same as step 303. For details, please refer to step 303 and will not be described in detail here.
例如:360度自由旋转的红外激光景深传感器进行实时的L内的景深扫描,得到一个如图13所示的障碍信息图。若360度自由旋转的红外激光景深传感器还可以对其可见区域进行距离测量,可得到一个如图14所示的三维障碍信息图。For example, a 360-degree rotating infrared laser depth sensor performs real-time depth scanning within L, generating an obstacle information map as shown in Figure 13. If the 360-degree rotating infrared laser depth sensor can also measure the distance within its visible area, a three-dimensional obstacle information map as shown in Figure 14 can be generated.
1204:根据v水平、v垂直、L,预测飞行L后无人机与每个物体之间的位置关系;1204: Based on v horizontal , v vertical , and L, predict the positional relationship between the UAV and each object after flying L;
针对每一个物体,根据v水平、v垂直、L,预测飞行L后无人机与其之间的位置关系的实现方式与步骤304相同,详情请参见步骤304,此处不再具体描述。For each object, the method for predicting the positional relationship between the drone and the object after flying L is the same as step 304. For details, please refer to step 304 and will not be described in detail here.
1205:若存在与无人机之间位置关系满足预设关系的物体,则采取预设的控制措施控制无人机。1205: If there is an object whose positional relationship with the drone satisfies a preset relationship, a preset control measure is taken to control the drone.
分别确定飞行L后无人机与每个物体之间的位置关系是否满足预设关系,如果存在一个物体,其与无人机之间位置关系满足预设关系,则采取预设的控制措施控制无人机。Determine whether the positional relationship between the drone and each object after flight L meets the preset relationship. If there is an object whose positional relationship with the drone meets the preset relationship, take the preset control measures to control the drone.
针对飞行L后无人机与每个物体之间的位置关系是否满足预设关系的确定方式与步骤305相同,详情请参见步骤305,此处不再具体描述。The method for determining whether the positional relationship between the drone and each object after flight L satisfies the preset relationship is the same as that in step 305. For details, please refer to step 305 and will not be described in detail here.
有益效果:Beneficial effects:
确定无人机的v水平和v垂直;在无人机的坠落方向上,获取与无人机之间的距离不大于L的所有物体;根据v水平、v垂直、L,预测飞行L后无人机与物体之间的位置关系;若存在与无人机之间位置关系满足预设关系的物体,则采取预设的控制措施控制无人机,实现坠落情况发生后对无人机的控制。Determine the v horizontal and v vertical of the drone; obtain all objects whose distance from the drone is no greater than L in the direction of the drone's fall; predict the positional relationship between the drone and the object after flying L based on v horizontal , v vertical , and L; if there is an object whose positional relationship with the drone meets the preset relationship, take the preset control measures to control the drone and achieve control of the drone after the fall occurs.
基于同一发明构思,参见图15所示的实施例,本实施例提供了一种飞行器的控制装置,由于飞行器的控制装置解决问题的原理与一种飞行器的控制方法相似,因此飞行器的控制装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, referring to the embodiment shown in FIG15 , this embodiment provides a control device for an aircraft. Since the principle of solving the problem by the control device for an aircraft is similar to that of a control method for an aircraft, the implementation of the control device for the aircraft can refer to the implementation of the method, and the repeated parts will not be repeated.
参见图15,该飞行器的控制装置,包括:Referring to FIG15 , the control device of the aircraft includes:
第一确定模块1501,用于确定飞行器的水平速度v水平和垂直速度v垂直;The first determination module 1501 is used to determine the horizontal velocity vhorizontal and the vertical velocity vvertical of the aircraft;
获取模块1502,用于在飞行器的坠落方向上,获取与飞行器之间的距离不大于预设距离L的物体;An acquisition module 1502 is configured to acquire an object whose distance from the aircraft is not greater than a preset distance L in the falling direction of the aircraft;
预测模块1503,用于根据第一确定模块1501确定的v水平、第一确定模块确定1501的v垂直、L,预测飞行L后飞行器与获取模块1502获取的物体之间的位置关系;The prediction module 1503 is configured to predict the positional relationship between the aircraft and the object acquired by the acquisition module 1502 after flight L based on v horizontal determined by the first determination module 1501 , v vertical determined by the first determination module 1501 , and L;
控制模块1504,用于当预测模块1503预测位置关系满足预设关系时,采取预设的控制措施控制飞行器。The control module 1504 is configured to take preset control measures to control the aircraft when the prediction module 1503 predicts that the position relationship satisfies a preset relationship.
参见图16,该装置,还包括:Referring to FIG16 , the device further comprises:
第二确定模块1505,用于确定飞行器坠落。The second determining module 1505 is used to determine whether the aircraft has crashed.
参见图17,预测模块1503,包括:Referring to FIG. 17 , the prediction module 1503 includes:
第一确定单元15031,用于确定飞行器在探测平面中的第一投影位置,探测平面与无人机的距离为L,且探测平面与无人机的运动方向垂直;The first determining unit 15031 is configured to determine a first projection position of the aircraft in a detection plane, where the distance L between the detection plane and the UAV is perpendicular to the direction of motion of the UAV.
第二确定单元15032,用于确定物体在探测平面中的扫描位置;A second determining unit 15032 is configured to determine a scanning position of the object in the detection plane;
预测单元15033,用于根据第一确定单元15031确定的第一投影位置、v水平、v垂直、L,预测飞行L后飞行器在探测平面中的第二投影位置;The prediction unit 15033 is configured to predict a second projection position of the aircraft in the detection plane after flight L based on the first projection position, v horizontal , v vertical , and L determined by the first determination unit 15031;
第三确定单元15034,用于将预测单元15033预测的第二投影位置与第二确定单元15032确定的扫描位置之间的位置关系确定为飞行L后飞行器与物体之间的位置关系。The third determining unit 15034 is configured to determine the positional relationship between the second projection position predicted by the predicting unit 15033 and the scanning position determined by the second determining unit 15032 as the positional relationship between the aircraft and the object after flight L.
其中,飞行器上配备景深传感器,景深传感器的探测方向与飞行器的运动方向一致;The aircraft is equipped with a depth sensor, and the detection direction of the depth sensor is consistent with the movement direction of the aircraft;
获取模块1502,用于获取景深传感器以L为景深探测到的物体。The acquisition module 1502 is configured to acquire an object detected by the depth sensor with a depth of field L.
参见图18,第一确定单元15031,包括:Referring to FIG. 18 , the first determining unit 15031 includes:
获取子单元150311,用于获取飞行器的三维尺寸;Acquisition subunit 150311 is used to obtain the three-dimensional size of the aircraft;
第一确定子单元150312,用于确定景深传感器与飞行器初始方向之间的角度;The first determining subunit 150312 is used to determine the angle between the depth sensor and the initial direction of the aircraft;
投影子单元150313,用于根据获取子单元150311获取的三维尺寸、第一确定子单元150312确定的角度将飞行器投影至探测平面中;The projection subunit 150313 is configured to project the aircraft onto the detection plane according to the three-dimensional size obtained by the acquisition subunit 150311 and the angle determined by the first determination subunit 150312;
第二确定子单元150314,用于将投影子单元150313将飞行器在探测平面中的投影位置确定为第一投影位置。The second determining subunit 150314 is configured to determine the projection position of the aircraft in the detection plane by the projection subunit 150313 as the first projection position.
参见图19,预测单元15033,包括:Referring to FIG. 19 , the prediction unit 15033 includes:
预测子单元150331,用于根据v水平、v垂直、L,预测飞行L后飞行器在探测平面中纵向移动的距离s;The prediction subunit 150331 is used to predict the longitudinal distance s of the aircraft in the detection plane after flying L based on v horizontal , v vertical , and L;
确定子单元150332,用于将第一投影位置纵向移动预测子单元150331得到的s距离后的位置确定为第二投影位置。The determination subunit 150332 is configured to determine the position of the first projection position after longitudinally moving the first projection position by the distance s obtained by the prediction subunit 150331 as the second projection position.
其中,预测子单元150331,用于根据如下公式预测s:The prediction subunit 150331 is used to predict s according to the following formula:
其中,g为重力加速度,a为预设的缩小比例常数。Where g is the acceleration due to gravity and a is the preset reduction ratio constant.
其中,预设的控制措施为:弹出气囊,或者,解体飞行器。Among them, the preset control measures are: popping out the airbag, or disintegrating the aircraft.
有益效果如下:The beneficial effects are as follows:
确定飞行器的v水平和v垂直;在飞行器的坠落方向上,获取与飞行器之间的距离不大于L的所有物体;根据v水平、v垂直、L,预测飞行L后飞行器与物体之间的位置关系;若存在与飞行器之间位置关系满足预设关系的物体,则采取预设的控制措施控制飞行器,实现坠落情况发生后对飞行器的控制。Determine the aircraft's v horizontal and v vertical ; obtain all objects whose distance from the aircraft is no greater than L in the aircraft's falling direction; predict the positional relationship between the aircraft and the object after flying L based on v horizontal , v vertical , and L; if there is an object whose positional relationship with the aircraft satisfies the preset relationship, take the preset control measures to control the aircraft and achieve control of the aircraft after the fall occurs.
上述实施例中,均可以采用现有的功能元器件模块来实施。例如,处理模块可以采用现有的数据处理元器件,至少,现有定位技术中采用的定位服务器上便具备实现该功能元器件;至于接收模块,则是任意一个具备信号传输功能的设备都具备的元器件;同时,处理模块进行的A、n参数计算、强度调整等采用的都是现有的技术手段,本领域技术人员经过相应的设计开发即可实现。The above embodiments can all be implemented using existing functional components and modules. For example, the processing module can utilize existing data processing components. At least, positioning servers used in existing positioning technologies already have components that implement this function. As for the receiving module, it is a component that any device with signal transmission capabilities has. Furthermore, the calculation of the A and n parameters and the intensity adjustment performed by the processing module all utilize existing technical means and can be implemented by those skilled in the art through appropriate design and development.
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本发明时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For the convenience of description, the various parts of the above-mentioned device are divided into various modules or units according to their functions and described separately. Of course, when implementing the present invention, the functions of each module or unit can be realized in the same or multiple software or hardware.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
Claims (12)
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1239851A1 HK1239851A1 (en) | 2018-05-11 |
| HK1239851B true HK1239851B (en) | 2020-12-11 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107087429B (en) | Aircraft control method and device | |
| EP2909689B1 (en) | Micro unmanned aerial vehicle and method of control therefor | |
| JP6250228B2 (en) | Image photographing system for shape measurement of structure, remote control device, on-board control device, program and recording medium | |
| US20190196474A1 (en) | Control method, control apparatus, control device, and movable platform | |
| CN110192122B (en) | Systems and methods for radar control on unmanned mobile platforms | |
| US20190220039A1 (en) | Methods and system for vision-based landing | |
| US20180003161A1 (en) | Unmanned aerial vehicle wind turbine inspection systems and methods | |
| JP6852672B2 (en) | Aircraft control device, air vehicle control method, and program | |
| WO2018023556A1 (en) | Methods and systems for obstacle identification and avoidance | |
| JP6195450B2 (en) | Autonomous flying robot | |
| WO2018218516A1 (en) | Unmanned aerial vehicle return route planning method and apparatus | |
| KR101767492B1 (en) | collision avoidance apparatus of nunmanned vehicle | |
| CN108124472B (en) | Method and device for avoiding barrier and aircraft | |
| JP2014119828A (en) | Autonomous aviation flight robot | |
| JP2014149622A (en) | Autonomous flying robot | |
| CN107003679A (en) | The avoidance obstacle method and unmanned vehicle of unmanned vehicle | |
| EP2523062B1 (en) | Time phased imagery for an artificial point of view | |
| CN108778931B (en) | Rotation control method, control device and aircraft of a camera device | |
| US20220297821A1 (en) | Control device, control method, unmanned aircraft, information processing device, information processing method, and program | |
| JP7513030B2 (en) | Information processing device, information processing method, information processing program, and control device | |
| HK1239851B (en) | Method and apparatus for controlling aircraft | |
| JP2017182691A (en) | Autonomous flight robot | |
| HK1239851A1 (en) | Method and apparatus for controlling aircraft | |
| Awan | Observability Properties of Relative State Estimation between Two Vehicles in a GPS-Denied Environment |