CN111665859A - Unmanned aerial vehicle return control method and device, storage medium and electronic equipment - Google Patents
Unmanned aerial vehicle return control method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN111665859A CN111665859A CN201910176081.3A CN201910176081A CN111665859A CN 111665859 A CN111665859 A CN 111665859A CN 201910176081 A CN201910176081 A CN 201910176081A CN 111665859 A CN111665859 A CN 111665859A
- Authority
- CN
- China
- Prior art keywords
- return
- aerial vehicle
- unmanned aerial
- drone
- control method
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous control of position or course in three dimensions specially adapted for aircraft
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
本发明提出了一种无人机的返航控制方法及装置、存储介质、电子设备。无人机的返航控制方法包括:响应于返航指令,以预设加速度将无人机的飞行速度降低到预设阈值以下;控制无人机飞往指定位置,从所述指定位置进行垂直降落。无人机在切换成返航模式后先以预设加速度均匀地给无人机降速,在对无人机进行降速后再进行返航使得无人机能平稳地完成工作模式切换,这就避免了在切换返航模式后出现速度突变而导致的无人机姿态变化幅度过大的问题。
The invention provides a return-to-home control method and device, a storage medium and an electronic device for an unmanned aerial vehicle. The return-to-home control method of the UAV includes: in response to the return-to-home instruction, reducing the flight speed of the UAV below a preset threshold with a preset acceleration; controlling the UAV to fly to a designated position, and vertically land from the designated position. After the drone is switched to the return-to-home mode, the drone is evenly decelerated at the preset acceleration, and then the drone is decelerated and then returned to the home so that the drone can smoothly switch the working mode, which avoids the need for After switching the return-to-home mode, there is a problem that the UAV's attitude changes too much due to a sudden change in speed.
Description
技术领域technical field
本发明总体来说涉及一种无人机技术,具体而言,涉及一种无人机的返航控制方法及装置、存储介质、电子设备。The present invention generally relates to an unmanned aerial vehicle technology, and in particular, to a return-to-home control method and device, a storage medium, and an electronic device of an unmanned aerial vehicle.
背景技术Background technique
随着无人机技术的发展和控制系统的逐渐成熟,越来越多的旋翼式无人机被用于物流、安防、植保、巡检等领域。以物流无人机为例,无人机在执行自主任务过程中,当遇到恶劣天气等特殊情况时,需要进行返航,保证无人机安全返回地面。With the development of UAV technology and the gradual maturity of control systems, more and more rotary-wing UAVs are used in logistics, security, plant protection, inspection and other fields. Taking logistics drones as an example, in the process of autonomous missions, when the drones encounter special circumstances such as bad weather, they need to return to the ground to ensure that the drones return to the ground safely.
目前一般采由飞手(无人机操控人员)接管无人机,控制无人机降落到指定位置。当飞手接管无人机的瞬间容易出现速度突变而导致的飞行不稳定;此外,手动返航的有效控制距离受限于地面遥控器的通信距离,难以实现在需要进行返航时随时进行切换,也浪费了大量的人力物力。At present, it is generally adopted by the pilot (the drone operator) to take over the drone and control the drone to land at the designated location. When the pilot takes over the drone, it is prone to flight instability caused by sudden changes in speed; in addition, the effective control distance of manual return is limited by the communication distance of the ground remote controller, and it is difficult to switch at any time when returning to home is required. A lot of human and material resources were wasted.
在所述背景技术部分公开的上述信息仅用于加强对本发明的背景的理解,因此它可以包括不构成对本领域普通技术人员已知的现有技术的信息。The above information disclosed in this Background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.
发明内容SUMMARY OF THE INVENTION
在发明内容部分中引入了一系列简化形式的概念,这将在具体实施方式部分中进一步详细说明。本发明内容部分并不意味着要试图限定出所要求保护的技术方案的关键特征和必要技术特征,更不意味着试图确定所要求保护的技术方案的保护范围。A series of concepts in simplified form have been introduced in the Summary section, which are described in further detail in the Detailed Description section. The summary of the present invention is not intended to attempt to limit the key features and necessary technical features of the claimed technical solution, much less to determine the protection scope of the claimed technical solution.
本发明所要解决的一个技术问题为在切换返航模式后出现速度突变而导致的无人机飞行不稳定的问题。One technical problem to be solved by the present invention is the unstable flight of the drone caused by the sudden change of speed after switching the return-to-home mode.
为解决上述技术问题,本发明提供一种无人机的返航控制方法,其包括:In order to solve the above-mentioned technical problems, the present invention provides a return-to-home control method for an unmanned aerial vehicle, which includes:
响应于返航指令,以预设加速度将无人机的飞行速度降低到预设阈值以下;In response to the return-to-home command, reduce the flight speed of the drone below a preset threshold with a preset acceleration;
控制无人机飞往指定位置,从所述指定位置进行垂直降落。Control the drone to fly to the designated position and make a vertical landing from the designated position.
在本发明的一个实施例中,无人机的减速控制包括:In one embodiment of the present invention, the deceleration control of the drone includes:
获取无人机的当前飞行速度,将期望速度设置成所述当前飞行速度;Obtain the current flight speed of the drone, and set the desired speed to the current flight speed;
均匀地降低无人机的期望速度直至无人机的实际飞行速度的值降低至预设阈值以下。The desired speed of the drone is evenly reduced until the value of the actual flight speed of the drone falls below a preset threshold.
在本发明的一个实施例中,均匀降低无人机的期望速度直至无人机的实际速度的值降低至预设阈值以下,包括以下步骤:In one embodiment of the present invention, the desired speed of the UAV is evenly reduced until the value of the actual speed of the UAV decreases below a preset threshold, including the following steps:
步骤S121:以下列算式计算出v1的值,然后进入到步骤S122,Step S121: Calculate the value of v1 with the following formula, and then proceed to step S122,
v1=v0+a·Δtv 1 =v 0 +a·Δt
其中,in,
v0为期望速度;v 0 is the desired speed;
a为所述预设加速度;a is the preset acceleration;
Δt为一个期望速度调节周期的时长;Δt is the duration of a desired speed adjustment period;
步骤S122:判断v1是否小于零,若是则进入步骤S124,否则进入到步骤S123;Step S122: determine whether v1 is less than zero, if so, go to step S124, otherwise go to step S123;
步骤S123:将期望速度的数值设为v1,将期望速度的方向设置为与所述当前飞行速度的方向相同,进入到步骤S125;Step S123: set the value of the desired speed as v 1 , set the direction of the desired speed to be the same as the direction of the current flight speed, and go to step S125;
步骤S124:将期望速度设置为零,进入到步骤S125;Step S124: Set the desired speed to zero, and go to Step S125;
步骤S125:获取无人机的所述实际飞行速度,判断该实际飞行速度是否在所述预设阈值以下,若是则停止减速控制,否则进入到步骤S121。Step S125: Obtain the actual flight speed of the UAV, determine whether the actual flight speed is below the preset threshold, if so, stop the deceleration control, otherwise go to step S121.
在本发明的一个实施例中,Δt的取值范围为0.0005~0.01s。In an embodiment of the present invention, the value range of Δt is 0.0005-0.01s.
在本发明的一个实施例中,所述预设加速度的取值范围为大于等于-1.0m/s2且小于等于-5.0m/s2,所述预设阈值的取值范围为大于等于0.1m/s且小于等于0.5m/s。In an embodiment of the present invention, the value range of the preset acceleration is greater than or equal to -1.0m/s 2 and less than or equal to -5.0m/s 2 , and the value range of the preset threshold is greater than or equal to 0.1 m/s and less than or equal to 0.5m/s.
在本发明的一个实施例中,控制无人机飞往指定位置包括以下步骤:In one embodiment of the present invention, controlling the drone to fly to a designated location includes the following steps:
控制无人机按原路返回至原飞行线路的起始航点;Control the drone to return to the starting waypoint of the original flight route according to the original route;
控制无人机从所述起始航点飞行沿直线飞行至所述指定位置,所述指定位置的经度等于无人机起飞位置的经度,所述指定位置的纬度等于无人机起飞位置的纬度,所述指定位置的海拔等于起始航点的海拔的位置。Control the UAV to fly from the starting waypoint to the designated position in a straight line, the longitude of the designated position is equal to the longitude of the take-off position of the UAV, and the latitude of the designated position is equal to the latitude of the take-off position of the UAV , the altitude of the specified position is equal to the altitude of the starting waypoint.
在本发明的一个实施例中,控制无人机按原路返回至原飞行线路的起始航点的步骤包括:In an embodiment of the present invention, the step of controlling the UAV to return to the starting waypoint of the original flight route according to the original route includes:
获得原飞行线路中无人机已经通过的航点,控制无人机依次从最后通过的航点飞行至所述起始航点。Obtain the waypoints that the UAV has passed in the original flight route, and control the UAV to fly from the last waypoint to the starting waypoint in sequence.
在本发明的一个实施例中,当无人机与地面控制中心通信失联的时间大于预设值时无人机生成所述返航指令;或In an embodiment of the present invention, the drone generates the return-to-home instruction when the time when the drone and the ground control center are lost in communication is greater than a preset value; or
所述返航指令由地面控制中心发布。The return-to-home instruction is issued by the ground control center.
本发明的一个实施例还提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现上述的返航控制方法。An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the above-mentioned return-to-home control method is implemented.
本发明的一个实施例还提出了一种电子设备,其包括:An embodiment of the present invention also provides an electronic device, which includes:
处理器;以及processor; and
存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;
其中,所述处理器配置为经由执行所述可执行指令来执行权利要求上述的返航控制方法。Wherein, the processor is configured to execute the return-to-home control method of the claims by executing the executable instructions.
本发明还提出了一种无人机的返航控制装置,其包括:The present invention also proposes a return-to-home control device for an unmanned aerial vehicle, which includes:
减速控制模块,用于在接收到返航指令后,以预设加速度将无人机的飞行速度降低到预设阈值以下;The deceleration control module is used to reduce the flight speed of the drone below the preset threshold with the preset acceleration after receiving the return-to-home command;
返航飞行模块,用于控制无人机飞往指定位置进行垂直降落。The return flight module is used to control the drone to fly to the designated position for vertical landing.
由上述技术方案可知,本发明的返航控制方法的优点和积极效果在于:As can be seen from the above technical solutions, the advantages and positive effects of the return-to-home control method of the present invention are:
在切换成返航模式后先以预设加速度均匀地给无人机降速,在对无人机进行降速后再进行返航使得无人机能平稳地完成工作模式切换,这就避免了在切换返航模式后出现速度突变而导致的无人机姿态变化幅度过大的问题。After switching to the return-to-home mode, firstly decelerate the drone evenly with the preset acceleration, and then return to home after the drone is decelerated, so that the drone can smoothly switch the working mode, which avoids the need to switch back to home. After the mode, there is a problem that the UAV attitude changes too much due to the sudden change of speed.
附图说明Description of drawings
通过结合附图考虑以下对本发明的优选实施例的详细说明,本发明的各种目标、特征和优点将变得更加显而易见。附图仅为本发明的示范性图解,并非一定是按比例绘制。在附图中,同样的附图标记始终表示相同或类似的部件。其中:The various objects, features and advantages of the present invention will become more apparent from consideration of the following detailed description of the preferred embodiments of the invention in conjunction with the accompanying drawings. The drawings are merely exemplary illustrations of the invention and are not necessarily drawn to scale. Throughout the drawings, the same reference numbers refer to the same or like parts. in:
图1是根据一示例性实施方式示出的一种返航控制方法的流程图;Fig. 1 is a flow chart of a return-to-home control method according to an exemplary embodiment;
图2是根据一示例性实施方式示出的一种返航控制方法的流程图;2 is a flowchart of a return-to-home control method according to an exemplary embodiment;
图3是根据一示例性实施方式示出的一种返航控制装置的结构示意图;3 is a schematic structural diagram of a return-to-home control device according to an exemplary embodiment;
图4是根据一示例性实施方式示出的一种电子设备的结构示意图;4 is a schematic structural diagram of an electronic device according to an exemplary embodiment;
图5是根据一示例性实施方式示出的一种程序产品的结构示意图。FIG. 5 is a schematic structural diagram of a program product according to an exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的实施方式;相反,提供这些实施方式使得本发明将全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。图中相同的附图标记表示相同或类似的结构,因而将省略它们的详细描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed descriptions will be omitted.
参照图1,图1为无人机的返航控制方法的流程图。该返航控制方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a return-to-home control method of an unmanned aerial vehicle. The return-to-home control method includes the following steps:
步骤S10:响应于返航指令,以预设加速度将无人机的飞行速度降低到预设阈值以下。Step S10: In response to the return-to-home command, reduce the flight speed of the UAV below a preset threshold with a preset acceleration.
无人机可以是多旋翼无人机。无人机能沿预定的飞行线路进行飞行,当遇到恶劣天气、航线规划有误、无人机故障等情况时地面控制中心可以采用无线通讯向无人机发送返航指令。返航指令也可以是无人机自动生成的,例如,当无人机与地面控制中心之间通信失联的时间大于预设值时无人机自动生成返航指令。The drone may be a multi-rotor drone. The UAV can fly along the predetermined flight route. When encountering bad weather, wrong route planning, UAV failure, etc., the ground control center can use wireless communication to send a return command to the UAV. The return-to-home instruction can also be automatically generated by the UAV. For example, when the communication between the UAV and the ground control center is lost for a time greater than a preset value, the UAV automatically generates a return-to-home instruction.
当无人机接收到返航指令或者生成返航指令以后,即对正在飞行中的无人机进行减速。无人机的减速是以预设加速度进行减速,减速过程平稳。当无人机的飞行速度降低到预设阈值以下时,完成减速。该预设加速度的取值范围优选为大于等于-1.0m/s2且小于等于-5.0m/s2,该预设阈值的取值范围优选为大于等于0.1m/s且小于等于0.5m/s。When the drone receives a return command or generates a return command, it decelerates the flying drone. The deceleration of the drone is based on the preset acceleration, and the deceleration process is smooth. The deceleration is completed when the flight speed of the drone drops below a preset threshold. The value range of the preset acceleration is preferably greater than or equal to -1.0m/s 2 and less than or equal to -5.0m/s 2 , and the value range of the preset threshold is preferably greater than or equal to 0.1m/s and less than or equal to 0.5m/ s.
步骤S20:控制无人机飞往指定位置进行垂直降落。Step S20: Control the drone to fly to a designated position for vertical landing.
该指定位置可以是无人机中预先存储的一个位置,也可以是由地面控制中心发送的返航指令中所指定的一个位置。无人机能沿返航线路从当前位置飞行到指定位置。返航线路可以是直线,也可以是由地面控制中心或无人机根据无人机的当前位置、指定位置以及当前位置与指定位置之间的地图规划而来的线路。当指定位置为无人机的起飞时所处地点的上空时,无人机还可以是按原路返回。The designated position may be a position pre-stored in the UAV, or may be a position designated in the return-to-home command sent by the ground control center. The drone can fly from the current position to the designated position along the return route. The return route can be a straight line or a route planned by the ground control center or the UAV according to the current position of the UAV, the designated position, and the map between the current position and the designated position. When the designated position is above the place where the drone takes off, the drone can also return by the original route.
这样,无人机在沿预定的飞行线路飞行时,在接收到返航指令后切换成返航模式,在切换成返航模式后先以预设加速度均匀地给无人机降速,在对无人机进行降速后再进行返航使得无人机能平稳地完成工作模式切换,这就避免了在切换返航模式后出现速度突变而导致的无人机姿态变化幅度过大的问题。In this way, when the drone is flying along the predetermined flight route, it switches to the return-to-home mode after receiving the return-to-home command. After slowing down and then returning to home, the UAV can smoothly complete the switching of the working mode, which avoids the problem of excessive changes in the UAV's attitude caused by sudden changes in speed after switching the returning mode.
进一步地,在步骤S10中,无人机的减速控制包括步骤S110和步骤S120。Further, in step S10, the deceleration control of the drone includes step S110 and step S120.
步骤S110:获取无人机的当前飞行速度,将期望速度设置成该当前飞行速度。Step S110: Obtain the current flight speed of the drone, and set the desired speed to the current flight speed.
无人机中通常通过PID算法对无人机的飞行速度进行调节以使得无人机的飞行速度能达到期望速度,为无人机设定一个期望速度,无人机能依照期望速度飞行。In the UAV, the flight speed of the UAV is usually adjusted through the PID algorithm so that the UAV can reach the desired speed, and a desired speed is set for the UAV, and the UAV can fly according to the desired speed.
在无人机进行减速前,先获取无人机沿原飞行线路飞行的当前飞行速度,该当前飞行速度可以通过无人机上的传感器对无人机的飞行速度实时测量而获得,然后将期望速度设置为与该当前飞行速度相等。这样,在进行切换成返航模式的瞬间,能维持无人机的速度不变,使得无人机在切换模式时能平稳飞行。Before the UAV decelerates, first obtain the current flight speed of the UAV along the original flight path. The current flight speed can be obtained by measuring the flight speed of the UAV in real time by the sensor on the UAV, and then the desired speed Set to be equal to this current flight speed. In this way, at the moment of switching to the return-to-home mode, the speed of the drone can be maintained unchanged, so that the drone can fly smoothly when switching modes.
步骤S120:均匀地降低无人机的期望速度直至无人机的实际飞行速度的值降低至预设阈值以下。Step S120: uniformly reduce the desired speed of the UAV until the value of the actual flight speed of the UAV decreases below a preset threshold.
通过改变期望速度来调节无人机的飞行速度更加简单、方便,均匀地降低无人机的期望速度使得无人机降速更加平稳。实时获取无人机的实际飞行速度,当无人机的实际飞行速度降低到预设阈值以下就停止降速。It is simpler and more convenient to adjust the flight speed of the UAV by changing the desired speed, and evenly reducing the desired speed of the UAV makes the UAV decelerate more smoothly. The actual flight speed of the drone is obtained in real time, and the speed reduction is stopped when the actual flight speed of the drone drops below the preset threshold.
进一步地,参照图2,周期性地降低期望速度,Δt为一个调节周期。步骤S120包括步骤S121~步骤S125。Further, referring to FIG. 2 , the desired speed is periodically reduced, and Δt is an adjustment period. Step S120 includes steps S121 to S125.
步骤S121:以下列算式计算出v1的值,然后进入到步骤S122,Step S121: Calculate the value of v1 with the following formula, and then proceed to step S122,
v1=v0+a·Δtv 1 =v 0 +a·Δt
其中,v1的单位为m/s;Among them, the unit of v 1 is m/s;
v0为期望速度,单位m/s;v 0 is the desired velocity, in m/s;
a为所述预设加速度,单位m/s2;a is the preset acceleration, in m/s 2 ;
Δt为一个期望速度调节周期的时长,单位s;Δt is the duration of a desired speed adjustment cycle, in s;
第一次进入到步骤S121中,期望速度v0的数值等于步骤S110中所获得的当前飞行速度的数值。Δt为预设值,可以设置得尽可能小。Entering step S121 for the first time, the value of the desired speed v 0 is equal to the value of the current flight speed obtained in step S110 . Δt is a preset value and can be set as small as possible.
步骤S122:判断v1是否小于零,若是则进入步骤S124,否则进入到步骤S123;Step S122: determine whether v1 is less than zero, if so, go to step S124, otherwise go to step S123;
步骤S123:将期望速度的数值设为v1,将期望速度的方向设置为与步骤S110中所测得的当前飞行速度的相同方向,进入到步骤S125;Step S123: set the value of the desired speed as v 1 , set the direction of the desired speed to be the same direction as the current flight speed measured in step S110, and go to step S125;
步骤S124:将期望速度设置为零,进入到步骤S125;Step S124: Set the desired speed to zero, and go to Step S125;
步骤S125:获取无人机的所述实际飞行速度,判断该实际飞行速度是否在预设阈值以下,若是则停止减速控制,否则进入到步骤S121。Step S125: Obtain the actual flight speed of the UAV, determine whether the actual flight speed is below a preset threshold, if so, stop the deceleration control, otherwise, go to step S121.
依次执行步骤S121、S122和S123时对期望速度进行一次减速,减速的时间间隔为Δt,减速的幅度为a·Δt,这样,期望速度均匀降低。同时,将减速的时间间隔Δt设置得尽量小时,无人机的飞行速度能趋近于以预设加速度进行降速。Δt的取值范围优选为0.0005~0.01s,在这个范围内既能保证无人机能平稳降速,又不至于使无人机计算负担过大。When steps S121, S122 and S123 are performed in sequence, the desired speed is decelerated once, the deceleration time interval is Δt, and the deceleration range is a·Δt, so that the desired speed is uniformly reduced. At the same time, by setting the deceleration time interval Δt as small as possible, the flight speed of the UAV can approach the deceleration at the preset acceleration. The value range of Δt is preferably 0.0005 to 0.01s. Within this range, it can not only ensure that the UAV can decelerate smoothly, but also will not cause the UAV to calculate too much.
执行步骤S124则代表前一次调节的期望速度已经小于a·Δt,这次调节直接将期望速度设置为零。Executing step S124 means that the desired speed in the previous adjustment is already less than a·Δt, and the desired speed is directly set to zero in this adjustment.
执行步骤S125时则表示无人机的实际飞行速度已经小于预设阈值,直接结束无人机的减速控制,然后进入到步骤S20。无人机的实际飞行速度可以通过无人机上的传感器对无人机的飞行速度的实时测量而获得。When step S125 is executed, it means that the actual flying speed of the UAV is already lower than the preset threshold, and the deceleration control of the UAV is directly ended, and then the process goes to step S20. The actual flying speed of the UAV can be obtained through the real-time measurement of the flying speed of the UAV by the sensor on the UAV.
进一步地,步骤S20包括步骤S210~230。Further, step S20 includes steps S210-230.
步骤S210:控制无人机按原路返回至原飞行线路的起始航点。Step S210: Control the drone to return to the starting waypoint of the original flight route according to the original route.
原飞行线路由多个连续排布的航点组成,无人机依次通过各个航点来完成飞行。起始航点在原飞行线路的起点,一个航点采用经度、纬度和海拔三个量来表示。在按照原飞行线路飞行时,从起始航点开始,无人机每通过一个航点便标记下该航点并记录在航点文件中。The original flight route consists of multiple consecutively arranged waypoints, and the UAV completes the flight through each waypoint in turn. The starting waypoint is the starting point of the original flight line, and a waypoint is represented by three quantities of longitude, latitude and altitude. When flying according to the original flight route, starting from the starting waypoint, every time the drone passes through a waypoint, the waypoint is marked and recorded in the waypoint file.
在返航时,先获得原飞行线路中无人机已经通过的航点,控制无人机依次从最后通过的航点飞行至起始航点。具体地,无人机读取其内所存储的航点文件中已被标记出来的已通过航点,读取的顺序是逆序读取,即从最后一个已通过的航点向起始航点读取。每读取出一个已通过航点则无人机飞向该航点,待无人机到达该航点后再读取下一个已通过航点,直至无人机到达起始航点。无人机就能按原路返航到起始航点。When returning home, first obtain the waypoints that the UAV has passed in the original flight route, and control the UAV to fly from the last waypoint to the starting waypoint in sequence. Specifically, the drone reads the marked passed waypoints in the waypoint file stored in it, and the reading order is reverse order, that is, from the last passed waypoint to the starting waypoint read. Each time a passed waypoint is read, the drone flies to the waypoint, and after the drone reaches the waypoint, the next passed waypoint is read until the drone reaches the starting waypoint. The drone can return to the starting waypoint according to the original route.
通常原飞行线路为较优的线路,返航发生碰撞的可能性小。尤其是,由于该无人机在返航时也不用先垂直爬升的特定高度,无人机返航耗电量小,无人机返航图中电量耗尽坠毁的风险小。Usually the original flight route is the better route, and the possibility of collision when returning home is small. In particular, since the UAV does not need to climb to a specific height vertically when returning to flight, the power consumption of the UAV for returning to flight is small, and the risk of crashing when the power is exhausted in the UAV returning flight is small.
步骤S220:控制无人机从起始航点飞行至指定位置,指定位置的经度等于无人机起飞位置的经度,指定位置的纬度等于无人机起飞位置的纬度,指定位置的海拔等于起始航点的海拔的位置。Step S220: Control the UAV to fly from the starting waypoint to the designated position, the longitude of the designated position is equal to the longitude of the take-off position of the UAV, the latitude of the designated position is equal to the latitude of the take-off position of the UAV, and the altitude of the designated position is equal to the starting position The elevation location of the waypoint.
无人机在解锁起飞时记录下起飞位置的经度和纬度。指定位置的经度等于无人机起飞位置的经度,指定位置的纬度等于无人机起飞位置的纬度,指定位置的海拔等于起始航点的海拔的位置,这样,指定位置实际上是无人机起飞位置的上空中海拔高度与起始航点的海拔相同的一个点。由于指定位置的海拔与起始航点的海拔相同,从起始航点飞到指定位置时只需沿水平直线飞行即可,待无人机飞行到指定位置即可进行垂直降落。The drone records the longitude and latitude of the takeoff location when it is unlocked for takeoff. The longitude of the specified position is equal to the longitude of the take-off position of the drone, the latitude of the specified position is equal to the latitude of the take-off position of the drone, and the altitude of the specified position is equal to the altitude of the starting waypoint. In this way, the specified position is actually the drone. A point in the air above the take-off position at the same altitude as the starting waypoint. Since the altitude of the designated position is the same as the altitude of the starting waypoint, you only need to fly in a horizontal straight line when flying from the starting waypoint to the designated position, and the drone can land vertically when it flies to the designated position.
步骤S230:无人机飞行到指定位置后进行垂直降落。Step S230 : the drone flies to a designated position and then performs a vertical landing.
无人机垂直降落后即降落到起飞位置,只需要到起飞位置回收无人机即可。After the drone lands vertically, it will land at the take-off position, and you only need to go to the take-off position to recover the drone.
在本发明的一个实施例中,还提供了一种无人机的返航控制装置1。In an embodiment of the present invention, a return-to-home control device 1 for an unmanned aerial vehicle is also provided.
参照图3,该返航控制装置1包括减速控制模块11和返航飞行模块12。Referring to FIG. 3 , the return-to-home control device 1 includes a
减速控制模块11用于在接收到返航指令后,以预设加速度将无人机的飞行速度降低到预设阈值以下。返航飞行模块12用于在无人机的飞行速度降低到预设阈值以下后,控制无人机飞往指定位置进行垂直降落。The
进一步地,减速控制模块11包括过渡模块111和降速模块112。Further, the
过渡模块111用于获取无人机的当前飞行速度,将期望速度设置成当前飞行速度;The
降速模块112用于均匀地降低无人机的期望速度直至无人机的实际飞行速度的值降低至预设阈值以下。The
进一步地,返航飞行模块12还包括原路返航模块121、水平飞行模块122和垂直降落模块123。Further, the return-to-
原路返航模块121用于控制无人机按原路返回至原飞行线路的起始航点。The original
水平飞行模块122用于控制无人机从起始航点飞行沿直线飞行至所述指定位置,指定位置的经度等于无人机起飞位置的经度,指定位置的纬度等于无人机起飞位置的纬度,指定位置的海拔等于起始航点的海拔的位置。The
垂直降落模块123用于控制无人机从指定位置进行垂直降落。The
在本发明的示例性实施例中,还提供了一种能够实现上述无人机的返航控制方法的电子设备。In an exemplary embodiment of the present invention, there is also provided an electronic device capable of implementing the above-mentioned method for controlling the return to home of an unmanned aerial vehicle.
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".
下面参照图4来描述根据本发明的这种实施方式的电子设备800。图4显示的电子设备800仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。The
如图4所示,电子设备800以通用计算设备的形式表现。电子设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830。As shown in FIG. 4,
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行,使得所述处理单元810执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。Wherein, the storage unit stores program codes, and the program codes can be executed by the
存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)8201和/或高速缓存存储单元8202,还可以进一步包括只读存储单元(ROM)8203。The
存储单元820还可以包括具有一组(至少一个)程序模块8205的程序/实用工具8204,这样的程序模块8205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The
电子设备800也可以与一个或多个外部设备700(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与电子设备800的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to an embodiment of the present disclosure.
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium on which a program product capable of implementing the above-described method of the present specification is stored. In some possible implementations, aspects of the present invention can also be implemented in the form of a program product comprising program code for enabling the program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Example Method" section above in this specification.
参考图5所示,描述了根据本发明的实施方式的用于实现上述无人机的返航控制方法的程序产品900,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Referring to FIG. 5, a
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.
此外,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。Additionally, although the various steps of the methods of the present disclosure are depicted in the figures in a particular order, this does not require or imply that the steps must be performed in the particular order or that all illustrated steps must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, and the like.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本公开实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to an embodiment of the present disclosure.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由所附的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the appended claims.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910176081.3A CN111665859A (en) | 2019-03-08 | 2019-03-08 | Unmanned aerial vehicle return control method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910176081.3A CN111665859A (en) | 2019-03-08 | 2019-03-08 | Unmanned aerial vehicle return control method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111665859A true CN111665859A (en) | 2020-09-15 |
Family
ID=72382400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910176081.3A Pending CN111665859A (en) | 2019-03-08 | 2019-03-08 | Unmanned aerial vehicle return control method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111665859A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112311299A (en) * | 2020-09-18 | 2021-02-02 | 华帝股份有限公司 | Motor control method and cooking device applying same |
CN112666995A (en) * | 2020-12-15 | 2021-04-16 | 广州极飞科技有限公司 | Unmanned aerial vehicle speed planning method, device, equipment and storage medium |
CN113900160A (en) * | 2021-10-22 | 2022-01-07 | 北京登火汇智科技有限公司 | Meteorological detection equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527481A (en) * | 2016-12-06 | 2017-03-22 | 重庆零度智控智能科技有限公司 | Unmanned aerial vehicle flight control method, device and unmanned aerial vehicle |
CN108885462A (en) * | 2017-09-19 | 2018-11-23 | 深圳市大疆创新科技有限公司 | Flight control method, unmanned plane and the machine readable storage medium of unmanned plane |
-
2019
- 2019-03-08 CN CN201910176081.3A patent/CN111665859A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527481A (en) * | 2016-12-06 | 2017-03-22 | 重庆零度智控智能科技有限公司 | Unmanned aerial vehicle flight control method, device and unmanned aerial vehicle |
CN108885462A (en) * | 2017-09-19 | 2018-11-23 | 深圳市大疆创新科技有限公司 | Flight control method, unmanned plane and the machine readable storage medium of unmanned plane |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112311299A (en) * | 2020-09-18 | 2021-02-02 | 华帝股份有限公司 | Motor control method and cooking device applying same |
CN112666995A (en) * | 2020-12-15 | 2021-04-16 | 广州极飞科技有限公司 | Unmanned aerial vehicle speed planning method, device, equipment and storage medium |
CN112666995B (en) * | 2020-12-15 | 2023-11-21 | 广州极飞科技股份有限公司 | Unmanned aerial vehicle speed planning method, device, equipment and storage medium |
CN113900160A (en) * | 2021-10-22 | 2022-01-07 | 北京登火汇智科技有限公司 | Meteorological detection equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104808682B (en) | Small-sized rotor wing unmanned aerial vehicle automatic obstacle avoiding flight control method | |
WO2021237545A1 (en) | Inspection method for poles and towers, and unmanned aerial vehicle, control apparatus, system and storage medium | |
US11410558B2 (en) | Traffic control with reinforcement learning | |
WO2020191647A1 (en) | Landing control method and flight control device for unmanned aerial vehicle, and unmanned aerial vehicle | |
US12339672B2 (en) | Method for protection unmanned aerial vehicle and unmanned aerial vehicle | |
US20210181766A1 (en) | Return flight control method and device, and unmanned aerial vehicle | |
CN111665859A (en) | Unmanned aerial vehicle return control method and device, storage medium and electronic equipment | |
WO2023077341A1 (en) | Return flight method and apparatus of unmanned aerial vehicle, unmanned aerial vehicle, remote control device, system, and storage medium | |
WO2022127737A1 (en) | Trajectory planning method and apparatus, trajectory planner, unmanned aerial vehicle, and storage medium | |
WO2018110634A1 (en) | Flight management system and flight management method of unmanned aerial vehicle | |
CN113110588B (en) | Unmanned aerial vehicle formation and flying method thereof | |
US11308816B2 (en) | Automated vehicle control | |
CN113985914A (en) | Unmanned equipment landing control method, device, equipment and storage medium | |
CN113741529B (en) | Remote guidance method and remote guidance device for spacecraft and rendezvous unit | |
CN119200669B (en) | UAV flight trajectory detection method and equipment | |
CN110989675A (en) | Method and device for controlling return flight of unmanned aerial vehicle, unmanned aerial vehicle and storage medium | |
CN112673330A (en) | Unmanned aerial vehicle descending control method and device and unmanned aerial vehicle | |
CN110118557A (en) | A kind of course line joining method, system and user terminal | |
CN112124570A (en) | Aircraft takeoff control method and device, aircraft and storage medium | |
WO2020237531A1 (en) | Unmanned aerial vehicle return method and device, unmanned aerial vehicle, and storage medium | |
CN112634662B (en) | Electronic fence, control system, method, medium, unmanned aerial vehicle formation and terminal | |
CN114527783A (en) | Control method, device and equipment of unmanned aerial vehicle and computer storage medium | |
CN114019828A (en) | A multi-modal virtual-real interactive simulation system and method for unmanned aerial vehicle swarms | |
CN118567377A (en) | Unmanned aerial vehicle collision avoidance method, electronic equipment and storage medium | |
CN118584993A (en) | Preset route replanning method and system for autonomous obstacle avoidance of aircraft |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210305 Address after: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080 Applicant after: Beijing Jingbangda Trading Co.,Ltd. Address before: 100086 8th Floor, 76 Zhichun Road, Haidian District, Beijing Applicant before: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY Co.,Ltd. Applicant before: BEIJING JINGDONG CENTURY TRADING Co.,Ltd. Effective date of registration: 20210305 Address after: Room a1905, 19 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176 Applicant after: Beijing Jingdong Qianshi Technology Co.,Ltd. Address before: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080 Applicant before: Beijing Jingbangda Trading Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200915 |
|
RJ01 | Rejection of invention patent application after publication |