WO2019134148A1 - Method and device for controlling unmanned aerial vehicle, and movable platform - Google Patents
Method and device for controlling unmanned aerial vehicle, and movable platform Download PDFInfo
- Publication number
- WO2019134148A1 WO2019134148A1 PCT/CN2018/071676 CN2018071676W WO2019134148A1 WO 2019134148 A1 WO2019134148 A1 WO 2019134148A1 CN 2018071676 W CN2018071676 W CN 2018071676W WO 2019134148 A1 WO2019134148 A1 WO 2019134148A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- unmanned aerial
- aerial vehicle
- uav
- distance
- controlling
- Prior art date
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
Definitions
- the embodiment of the invention relates to the technical field of drones, and in particular to a control method, a control device and a movable platform of an unmanned aerial vehicle.
- Embodiments of the present invention provide a control method, a control device, and a movable platform for an unmanned aerial vehicle, which are used to implement obstacle avoidance and ensure flight safety.
- an embodiment of the present invention provides a method for controlling an unmanned aerial vehicle, including:
- the UAV When the distance is less than the first preset distance, controlling the UAV to fly in a first direction and then fly in a second direction;
- the first direction is a direction away from the obstacle surface, and the second direction is a proximity obstacle Direction of the face;
- an embodiment of the present invention provides a control device for an unmanned aerial vehicle, including: a distance sensor and a processor;
- the distance sensor is configured to acquire a distance between the UAV and the obstacle surface
- the processor is configured to control the UAV to fly in a first direction and then fly in a second direction when the distance acquired by the distance sensor is less than a first preset distance; the first direction is away a direction of the obstacle surface, the second direction being a direction close to the obstacle surface;
- an embodiment of the present invention provides a readable storage medium, where the readable storage medium stores a computer program; when the computer program is executed, the first aspect of the present invention is implemented as described in the embodiment of the present invention.
- the control method of the human aircraft is not limited to a third aspect.
- an embodiment of the present invention provides a mobile platform, including: a power device, and a control device according to the second aspect of the present invention;
- the power unit is for outputting power.
- the control method, the control device and the movable platform of the unmanned aerial vehicle obtained by the embodiment of the invention obtain the distance between the unmanned aerial vehicle and the obstacle surface; and when the distance is less than the first preset distance, the unmanned person is controlled Flying the aircraft away from the obstacle surface, and then controlling the unmanned aerial vehicle to fly toward the obstacle surface; then controlling the unmanned aerial vehicle to stop flying toward the obstacle surface, the unmanned aerial vehicle stopping toward the second
- the distance between the UAV and the obstacle surface is greater than or equal to the first preset distance when flying in the direction, thereby ensuring a certain distance between the UAV and the obstacle surface, thereby realizing obstacle avoidance and ensuring
- the flight is safe, and the present embodiment controls the UAV to achieve a bounce-like flight trajectory during the obstacle avoidance process, so that the player's control of the UAV is more interesting, and the user experience is improved to increase the low-level player to the UAV. interest of.
- FIG. 1 is a schematic architectural diagram of an unmanned flight system in accordance with an embodiment of the present invention
- FIG. 2 is a flowchart of a method for controlling an unmanned aerial vehicle according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an unmanned aerial vehicle flying in a first direction and then flying in a second direction according to an embodiment of the present invention
- FIG. 4 is a schematic diagram of an unmanned aerial vehicle flying in a first direction according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of an unmanned aerial vehicle flying in a second direction according to an embodiment of the present invention
- FIG. 6 is a schematic structural diagram of a control device according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a mobile platform according to an embodiment of the present invention.
- Embodiments of the present invention provide a control method, a control device, and a movable platform of an unmanned aerial vehicle.
- the unmanned aerial vehicle involved therein may be a rotorcraft, for example, a multi-rotor aircraft driven by air by a plurality of urging means, and embodiments of the present invention are not limited thereto.
- FIG. 1 is a schematic architectural diagram of an unmanned flight system in accordance with an embodiment of the present invention. This embodiment is described by taking a rotorcraft unmanned aerial vehicle as an example.
- the unmanned aerial vehicle system 100 can include an unmanned aerial vehicle 110, a pan/tilt head 120, a display device 130, and a control device 140.
- the unmanned aerial vehicle 110 may include a power system 150, a flight control system 160, and a rack.
- the UAV 110 can be in wireless communication with the control device 140 and the display device 130.
- the rack can include a fuselage and a tripod (also known as a landing gear).
- the fuselage may include a center frame and one or more arms coupled to the center frame, the one or more arms extending radially from the center frame.
- the stand is coupled to the fuselage for supporting when the UAV 110 is landing.
- Power system 150 may include one or more electronic governors (referred to as ESCs) 151, one or more propellers 153, and one or more electric machines 152 corresponding to one or more propellers 153, wherein motor 152 is coupled Between the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are disposed on the arm of the unmanned aerial vehicle 110; the electronic governor 151 is configured to receive the driving signal generated by the flight control system 160 and provide driving according to the driving signal. Current is supplied to the motor 152 to control the rotational speed of the motor 152. Motor 152 is used to drive propeller rotation to power the flight of unmanned aerial vehicle 110, which enables unmanned aerial vehicle 110 to achieve one or more degrees of freedom of motion.
- ESCs electronic governors
- the UAV 110 can be rotated about one or more axes of rotation.
- the above-described rotating shaft may include a roll axis, a yaw axis, and a pitch axis.
- the motor 152 can be a DC motor or an AC motor.
- the motor 152 may be a brushless motor or a brushed motor.
- Flight control system 160 may include flight controller 161 and sensing system 162.
- the sensing system 162 is used to measure the attitude information of the unmanned aerial vehicle, that is, the position information and state information of the UAV 110 in space, for example, three-dimensional position, three-dimensional angle, three-dimensional speed, three-dimensional acceleration, and three-dimensional angular velocity.
- Sensing system 162 can include, for example, at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an Inertial Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer.
- the global navigation satellite system can be a Global Positioning System (GPS).
- GPS Global Positioning System
- the flight controller 161 is used to control the flight of the unmanned aerial vehicle 110, for example, the flight of the unmanned aerial vehicle 110 can be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the UAV 110 in accordance with pre-programmed program instructions, or may control the UAV 110 in response to one or more control commands from the control device 140.
- the pan/tilt 120 can include a motor 122.
- the pan/tilt is used to carry the imaging device 123.
- the flight controller 161 can control the motion of the platform 120 via the motor 122.
- the platform 120 may further include a controller for controlling the motion of the platform 120 by controlling the motor 122.
- the platform 120 can be independent of the UAV 110 or a portion of the UAV 110.
- the motor 122 can be a DC motor or an AC motor.
- the motor 122 may be a brushless motor or a brushed motor.
- the pan/tilt can be located at the top of the UAV or at the bottom of the UAV.
- the imaging device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the imaging device 123 may communicate with the flight controller and perform shooting under the control of the flight controller.
- the imaging device 123 of the present embodiment includes at least a photosensitive element, such as a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor.
- CMOS Complementary Metal Oxide Semiconductor
- CCD Charge-coupled Device
- the display device 130 is located at the ground end of the unmanned aerial vehicle system 100, can communicate with the unmanned aerial vehicle 110 wirelessly, and can be used to display attitude information of the unmanned aerial vehicle 110. In addition, an image taken by the imaging device can also be displayed on the display device 130. It should be understood that the display device 130 may be a stand-alone device or may be integrated in the control device 140.
- the control device 140 is located at the ground end of the unmanned aerial vehicle system 100 and can communicate with the unmanned aerial vehicle 110 in a wireless manner for remote manipulation of the unmanned aerial vehicle 110.
- the above-mentioned nomenclature of the components of the unmanned flight system is for the purpose of identification only and is not to be construed as limiting the embodiments of the invention. It should be noted that the UAV may include all or part of the above components.
- FIG. 2 is a flowchart of a method for controlling an unmanned aerial vehicle according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment may include:
- the distance between the unmanned aerial vehicle and the obstacle surface is obtained, wherein the embodiment can obtain the unmanned aerial vehicle and the obstacle by means of laser ranging, ultrasonic ranging, infrared ranging, visual ranging, and the like.
- the obstacle surface may be, for example, a floor, a wall surface, a ceiling surface, a hand, etc., which is not limited in this embodiment.
- the distance between the UAV and the obstacle surface may be acquired at a preset time interval, or the distance between the UAV and the obstacle surface may be acquired in real time.
- the distance between the determinations may be a preset interval of the system, such as 0.01, 0.05, 0.1, 0.2, 0.5, 1, 2 seconds, etc., or may be a time interval set by the user; if the distance is less than the first preset distance, It indicates that the UAV is about to touch the obstacle surface, and then the embodiment controls the UAV to fly in the first direction, and then controls the UAV to fly in the second direction, as shown in FIG.
- the first direction is a direction away from the obstacle surface
- the second direction is a direction close to the obstacle surface
- the embodiment controls the unmanned aerial vehicle to fly away from the obstacle surface, and then controls the unmanned aerial vehicle to fly toward the obstacle surface.
- the unmanned aerial vehicle is controlled to stop flying in the second direction, and when the unmanned aerial vehicle stops flying in the second direction, between the unmanned aerial vehicle and the obstacle surface
- the distance is greater than or equal to the first preset distance, thereby ensuring a certain distance between the UAV and the obstacle surface.
- the distance between the unmanned aerial vehicle and the obstacle surface is obtained; when the distance is less than the first preset distance, the unmanned aerial vehicle is controlled to fly away from the obstacle surface, and then the unmanned aerial vehicle is controlled to Flying in a direction close to the obstacle surface; then controlling the unmanned aerial vehicle to stop flying in a direction approaching the obstacle surface, between the unmanned aerial vehicle and the obstacle surface when the unmanned aerial vehicle stops flying in the second direction
- the distance is greater than or equal to the first preset distance, thereby ensuring a certain distance between the UAV and the obstacle surface, achieving obstacle avoidance and ensuring flight safety, and the present embodiment controls the UAV to avoid obstacles.
- a similar bounce flight trajectory is realized, which makes the player's control of the UAV more interesting and improves the user experience, so as to increase the interest of the younger players in the UAV.
- the first direction is above the UAV and the second direction is below the UAV.
- the first direction is below the UAV and the second direction is above the UAV.
- the first direction is the rear of the unmanned aerial vehicle
- the second direction is the front of the unmanned aerial vehicle
- the first direction is the front of the UAV and the second direction is the rear of the UAV.
- the first direction is the right side of the UAV
- the second direction is the left side of the UAV
- the first direction is the left side of the unmanned aerial vehicle
- the second direction is the right side of the unmanned aerial vehicle
- one implementation of controlling the UAV to fly in a first direction is to control the UAV to first accelerate the flight and then decelerate the flight toward the first direction.
- the unmanned aerial vehicle is first controlled to accelerate in the first direction, and after the acceleration flight is completed, the unmanned aerial vehicle is controlled to decelerate in the first direction.
- a possible implementation of controlling the unmanned aerial vehicle to accelerate the flight and then decelerate the flight in the first direction is to control the unmanned aerial vehicle to accelerate the flight in the first direction until Controlling the UAV to decelerate in the first direction when the distance between the UAV and the obstacle surface is greater than or equal to the second preset distance; the second preset distance is greater than the first preset distance.
- controlling the unmanned aerial vehicle to accelerate the flight in the first direction detecting the distance between the unmanned aerial vehicle and the obstacle surface during the accelerated flight, and determining whether the distance is smaller than the second preset distance, if the distance is smaller than the second preset The distance continues to control the unmanned aerial vehicle to accelerate in the first direction. If the distance is greater than or equal to the second predetermined distance, the control of the unmanned aerial vehicle is accelerated to the first direction, and the unmanned aerial vehicle is controlled to the first Slow down the direction.
- the flying speed is defined when the UAV is flying in the first direction, that is, the defined speed is the first preset speed, and after the unmanned aerial vehicle is controlled to accelerate in the first direction, if the unmanned aerial vehicle is facing the first
- the unmanned aerial vehicle is controlled to fly at a constant speed in the first direction; if the flight speed of the unmanned aerial vehicle in the first direction is less than the first preset speed, then the control is continued.
- the unmanned aerial vehicle accelerates in the first direction.
- the flying speed of the UAV in the first direction is greater than or equal to the first preset speed, and the distance between the UAV and the obstacle surface is greater than or equal to the second preset distance, then no one is controlled.
- the aircraft flies at a constant speed in the first direction, but directly controls the unmanned aerial vehicle to decelerate in the first direction; if the flying speed of the unmanned aerial vehicle in the first direction is greater than or equal to the first preset speed, and the unmanned aerial vehicle and the obstacle When the distance between the faces is less than the second preset distance, the UAV is controlled to fly at a constant speed in the first direction until the distance between the UAV and the obstacle surface is greater than or equal to the second preset distance. The aircraft decelerated in the first direction.
- the schematic diagram of controlling the unmanned aerial vehicle to fly in the first direction can be, for example, as shown in FIG.
- one implementation of controlling the UAV to fly in a second direction is to control the UAV to first accelerate the flight and then decelerate the flight toward the second direction.
- the unmanned aerial vehicle is first controlled to accelerate in the second direction, and after the acceleration flight is completed, the unmanned aerial vehicle is controlled to decelerate in the second direction.
- a possible implementation of controlling the unmanned aerial vehicle to accelerate the flight and then decelerate the flight in the second direction is: controlling the unmanned aerial vehicle to accelerate the flight in the second direction until Controlling the UAV to decelerate in the second direction when the distance between the UAV and the obstacle surface is less than or equal to a third preset distance; the third preset distance is greater than the first preset distance. Firstly controlling the unmanned aerial vehicle to accelerate the flight in the second direction, detecting the distance between the unmanned aerial vehicle and the obstacle surface during the accelerated flight, and determining whether the distance is greater than the third preset distance, if the distance is greater than the third preset The distance continues to control the unmanned aerial vehicle to accelerate in the second direction.
- the control of the unmanned aerial vehicle is accelerated to the second direction, and the unmanned aerial vehicle is controlled to the second Slow down the direction.
- the third preset distance described above may be equal to the second preset distance described above.
- the flight speed is defined when the UAV is flying in the second direction, that is, the defined speed is the second preset speed, and after the UAV is controlled to accelerate in the second direction, if the UAV is facing the first
- the unmanned aerial vehicle is controlled to fly at a constant speed in the second direction; if the flight speed of the unmanned aerial vehicle in the second direction is less than the second preset speed, then the control is continued.
- the unmanned aerial vehicle accelerates in the second direction.
- the flying speed of the UAV in the second direction is greater than or equal to the second preset speed, and the distance between the UAV and the obstacle surface is less than or equal to the third preset distance, then no one is controlled.
- the aircraft flies at a constant speed in the second direction, but directly controls the unmanned aerial vehicle to decelerate in the second direction; if the flying speed of the unmanned aerial vehicle in the second direction is greater than or equal to the second preset speed, and the unmanned aerial vehicle and the obstacle
- the UAV is controlled to fly at a constant speed in the first direction until the distance between the UAV and the obstacle surface is less than or equal to the third preset distance.
- the aircraft decelerated in the second direction if the flying speed of the UAV in the second direction is greater than or equal to the second preset speed, and the distance between the UAV and the obstacle surface is less than or equal to the third preset distance.
- controlling the UAV to stop flying in the second direction comprises: controlling the flying speed of the UAV to the second direction to be reduced to 0, Controlling the UAV to stop flying in the second direction.
- the unmanned aerial vehicle is controlled to decelerate in the second direction, and the flight speed decreases as the flight time increases. When the flight speed decreases to zero, the unmanned aerial vehicle no longer has a flight speed in the second direction. The unmanned aerial vehicle stops.
- the schematic diagram of controlling the unmanned aerial vehicle to fly in the second direction can be, for example, as shown in FIG. 5.
- the one possible implementation of controlling the UAV to fly in a first direction and then in a second direction is to control the UAV to fly in the first direction until The UAV is controlled to fly in the second direction when the flying speed of the UAV in the second direction is the third preset speed.
- the third preset speed is 0, that is, the unmanned aerial vehicle is controlled to accelerate in the first direction and then decelerate in the first direction, and when the flying speed of the unmanned aerial vehicle in the first direction is 0, the control is performed.
- the unmanned aerial vehicle flies in the second direction.
- the above-mentioned obstacle surfaces may not be the same obstacle surface.
- the previous obstacle surface is the ground, when the hand reaches the ground, Below the aircraft, the obstacle surface detected by the UAV is changed to the hand.
- the embodiments of the present invention ensure that a certain distance between the UAV and the obstacle surface is maintained by the above solutions, thereby avoiding obstacles and ensuring flight safety, and the present embodiment controls the process of the UAV in obstacle avoidance.
- the realization of a similar bounce flight trajectory makes the player's control of the UAV more interesting and enhances the user experience to increase the interest of the younger players in the UAV.
- FIG. 6 is a schematic structural diagram of a control apparatus according to an embodiment of the present invention.
- the control apparatus 600 of this embodiment may include a distance sensor 601 and a processor 602.
- the distance sensor 601 is configured to acquire a distance between the UAV and the obstacle surface
- the processor 602 is configured to control the UAV to fly in a first direction and then fly in a second direction when the distance acquired by the distance sensor 601 is less than a first preset distance; the first direction In a direction away from the obstacle surface, the second direction is a direction close to the obstacle surface
- the processor 602 is specifically configured to: control the unmanned aerial vehicle to accelerate the flight and then decelerate the flight toward the first direction.
- the processor 602 is specifically configured to: control the unmanned aerial vehicle to accelerate flight in the first direction until a distance between the unmanned aerial vehicle and the obstacle surface acquired by the distance sensor When the second preset distance is greater than or equal to the second preset distance, the unmanned aerial vehicle is controlled to decelerate in the first direction; the second preset distance is greater than the first preset distance.
- the processor 602 is further configured to: after controlling the unmanned aerial vehicle to accelerate the flight in the first direction, if the flying speed of the unmanned aerial vehicle in the first direction is greater than or equal to the first When the speed is preset, the UAV is controlled to fly at a constant speed in the first direction.
- the processor 602 is specifically configured to: control the unmanned aerial vehicle to fly in the second direction and then accelerate the flight.
- the processor 602 is specifically configured to: control the unmanned aerial vehicle to accelerate flight in the second direction until the distance between the unmanned aerial vehicle and the obstacle surface acquired by the distance sensor 601 When the distance is less than or equal to the third preset distance, the UAV is controlled to decelerate in the second direction; the third preset distance is greater than the first preset distance.
- the processor 602 is further configured to: after controlling the UAV to accelerate the flight in the second direction, if the flying speed of the UAV in the second direction is greater than or equal to the second When the speed is preset, the UAV is controlled to fly at a constant speed in the second direction.
- the processor 602 is specifically configured to: control a flight speed of the UAV to the second direction to be reduced to 0 to control the UAV to stop flying in the second direction. .
- the processor 602 is specifically configured to: control the UAV to fly in the first direction until a flight speed of the UAV in the first direction is a third pre- The UAV is controlled to fly in the second direction when the speed is set.
- the third preset speed is zero.
- the first direction is above the UAV, and the second direction is below the UAV;
- the first direction is below the unmanned aerial vehicle, and the second direction is above the unmanned aerial vehicle;
- the first direction is a rear of the unmanned aerial vehicle, and the second direction is a front side of the unmanned aerial vehicle;
- the first direction is the front of the UAV, and the second direction is the rear of the UAV;
- the first direction is the right side of the UAV, and the second direction is the left side of the UAV;
- the first direction is the left side of the unmanned aerial vehicle
- the second direction is the right side of the unmanned aerial vehicle
- the distance sensor 601 includes at least one of a laser ranging sensor, an ultrasonic ranging sensor, an infrared ranging sensor, and a visual ranging sensor.
- control device 600 of the present embodiment may further include: a speed sensor 603; and the speed sensor 603 is configured to acquire a flight speed of the unmanned aerial vehicle.
- control device of this embodiment may be used to implement the technical solutions in the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
- FIG. 8 is a schematic structural diagram of a mobile platform according to an embodiment of the present invention.
- the mobile platform 800 of the present embodiment may include: a power device 801 and a control device 802.
- the power unit 801 is configured to output power.
- the control device 802 can adopt the structure of the device embodiment shown in FIG. 6 or FIG. 7.
- the technical solution of any of the foregoing method embodiments can be executed, and the implementation principle and technical effects are similar, and details are not described herein again.
- the movable platform 800 can be an unmanned aerial vehicle.
- the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
- the foregoing storage medium includes: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and the like, which can store program codes. Medium.
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
A method and device for controlling an unmanned aerial vehicle, and a movable platform. The method comprises: acquiring a distance between an unmanned aerial vehicle and an obstacle (S201); if the distance is less than a first preset distance, controlling the unmanned aerial vehicle to fly away from the obstacle in a first direction, and then controlling the unmanned aerial vehicle to fly toward the obstacle in a second direction; and controlling the unmanned aerial vehicle to stop flying toward the obstacle, wherein when the unmanned aerial vehicle stops flying in the second direction, the distance between the unmanned aerial vehicle and the obstacle is greater than or equal to the first preset distance, thereby enabling the unmanned aerial vehicle to keep a certain distance from the obstacle to realize obstacle avoidance, and ensuring flight safety. In the obstacle avoidance process, the unmanned aerial vehicle is controlled so as to fly in a rebounding manner, such that a user has more fun when controlling the unmanned aerial vehicle, thereby improving user experience, and increasing the enjoyment of young players with respect to unmanned aerial vehicles.
Description
本发明实施例涉及无人机技术领域,尤其涉及一种无人飞行器的控制方法、控制装置和可移动平台。The embodiment of the invention relates to the technical field of drones, and in particular to a control method, a control device and a movable platform of an unmanned aerial vehicle.
随着无人机应用的越来越广泛,无人机的玩家也随之增多,其中既有专业的玩家也有业余的玩家,这些玩家可以通过遥控器控制无人机的飞行轨迹,也可以通过手机、平板电脑等控制无人机的飞行轨迹,甚至可以预先设定好轨迹,无人机根据这些预先设定的轨迹进行飞行。但是,由于无人机的飞行环境繁杂,还可能存在不可控的因素,例如:突然出现的障碍物等,会影响无人机的飞行安全。With the increasing use of drones, the number of drone players has increased. There are both professional and amateur players who can control the flight path of the drone through the remote control. The mobile phone, tablet computer, etc. control the flight path of the drone, and even the track can be preset, and the drone can fly according to these preset trajectories. However, due to the complicated flight environment of the drone, there may be uncontrollable factors, such as sudden obstacles, which may affect the flight safety of the drone.
发明内容Summary of the invention
本发明实施例提供一种无人飞行器的控制方法、控制装置和可移动平台,用于实现避障,保证飞行安全。Embodiments of the present invention provide a control method, a control device, and a movable platform for an unmanned aerial vehicle, which are used to implement obstacle avoidance and ensure flight safety.
第一方面,本发明实施例提供一种无人飞行器的控制方法,包括:In a first aspect, an embodiment of the present invention provides a method for controlling an unmanned aerial vehicle, including:
获取无人飞行器与障碍面之间的距离;Obtaining the distance between the UAV and the obstacle surface;
在所述距离小于第一预设距离时,控制所述无人飞行器朝第一方向飞行再朝第二方向飞行;所述第一方向为远离障碍面的方向,所述第二方向为靠近障碍面的方向;When the distance is less than the first preset distance, controlling the UAV to fly in a first direction and then fly in a second direction; the first direction is a direction away from the obstacle surface, and the second direction is a proximity obstacle Direction of the face;
控制所述无人飞行器停止朝所述第二方向飞行所述无人飞行器停止朝所述第二方向飞行时所述无人飞行器与障碍面之间的距离大于或等于所述第一预设距离。Controlling that the UAV stops flying in the second direction, the UAV stops flying toward the second direction, and the distance between the UAV and the obstacle surface is greater than or equal to the first preset distance .
第二方面,本发明实施例提供一种无人飞行器的控制装置,包括:距离传感器和处理器;In a second aspect, an embodiment of the present invention provides a control device for an unmanned aerial vehicle, including: a distance sensor and a processor;
所述距离传感器,用于获取无人飞行器与障碍面之间的距离;The distance sensor is configured to acquire a distance between the UAV and the obstacle surface;
所述处理器,用于在所述距离传感器获取的所述距离小于第一预设距离 时,控制所述无人飞行器朝第一方向飞行再朝第二方向飞行;所述第一方向为远离障碍面的方向,所述第二方向为靠近障碍面的方向;The processor is configured to control the UAV to fly in a first direction and then fly in a second direction when the distance acquired by the distance sensor is less than a first preset distance; the first direction is away a direction of the obstacle surface, the second direction being a direction close to the obstacle surface;
控制所述无人飞行器停止朝所述第二方向飞行;所述无人飞行器停止朝所述第二方向飞行时,所述距离传感器获取的所述无人飞行器与障碍面之间的距离大于或等于所述第一预设距离。Controlling the UAV to stop flying in the second direction; when the UAV stops flying in the second direction, the distance between the UAV and the obstacle surface acquired by the distance sensor is greater than or Equal to the first preset distance.
第三方面,本发明实施例提供一种可读存储介质,所述可读存储介质上存储有计算机程序;所述计算机程序在被执行时,实现如第一方面本发明实施例所述的无人飞行器的控制方法。In a third aspect, an embodiment of the present invention provides a readable storage medium, where the readable storage medium stores a computer program; when the computer program is executed, the first aspect of the present invention is implemented as described in the embodiment of the present invention. The control method of the human aircraft.
第四方面,本发明实施例提供一种可移动平台,包括,动力装置,和如第二方面本发明实施例所述的控制装置;In a fourth aspect, an embodiment of the present invention provides a mobile platform, including: a power device, and a control device according to the second aspect of the present invention;
所述动力装置,用于输出动力。The power unit is for outputting power.
本发明实施例提供的无人飞行器的控制方法、控制装置和可移动平台,通过获取无人飞行器与障碍面之间的距离;在所述距离小于第一预设距离时,控制所述无人飞行器朝远离障碍面的方向飞行,再控制无人飞行器朝靠近障碍面的方向飞行;然后控制所述无人飞行器停止朝靠近障碍面的方向飞行,在所述无人飞行器停止朝所述第二方向飞行时所述无人飞行器与所述障碍面之间的距离大于或等于所述第一预设距离,从而保证了无人飞行器与障碍面之间保持一定的距离,实现避障,保证了飞行安全,而且本实施例控制无人飞行器在避障的过程中实现类似弹跳的飞行轨迹,使得玩家对无人飞行器的控制更具有趣味性,提高了用户体验,以增加低龄玩家对无人飞行器的兴趣。The control method, the control device and the movable platform of the unmanned aerial vehicle provided by the embodiment of the invention obtain the distance between the unmanned aerial vehicle and the obstacle surface; and when the distance is less than the first preset distance, the unmanned person is controlled Flying the aircraft away from the obstacle surface, and then controlling the unmanned aerial vehicle to fly toward the obstacle surface; then controlling the unmanned aerial vehicle to stop flying toward the obstacle surface, the unmanned aerial vehicle stopping toward the second The distance between the UAV and the obstacle surface is greater than or equal to the first preset distance when flying in the direction, thereby ensuring a certain distance between the UAV and the obstacle surface, thereby realizing obstacle avoidance and ensuring The flight is safe, and the present embodiment controls the UAV to achieve a bounce-like flight trajectory during the obstacle avoidance process, so that the player's control of the UAV is more interesting, and the user experience is improved to increase the low-level player to the UAV. interest of.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是根据本发明的实施例的无人飞行系统的示意性架构图;1 is a schematic architectural diagram of an unmanned flight system in accordance with an embodiment of the present invention;
图2为本发明一实施例提供的无人飞行器的控制方法的流程图;2 is a flowchart of a method for controlling an unmanned aerial vehicle according to an embodiment of the present invention;
图3为本发明一实施例提供的无人飞行器朝第一方向飞行再朝第二方向飞行的示意图;3 is a schematic diagram of an unmanned aerial vehicle flying in a first direction and then flying in a second direction according to an embodiment of the present invention;
图4为本发明一实施例提供的无人飞行器朝第一方向飞行的示意图;4 is a schematic diagram of an unmanned aerial vehicle flying in a first direction according to an embodiment of the present invention;
图5为本发明一实施例提供的无人飞行器朝第二方向飞行的示意图;FIG. 5 is a schematic diagram of an unmanned aerial vehicle flying in a second direction according to an embodiment of the present invention; FIG.
图6为本发明一实施例提供的控制装置的结构示意图;FIG. 6 is a schematic structural diagram of a control device according to an embodiment of the present invention;
图7为本发明另一实施例提供的控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present invention; FIG.
图8为本发明一实施例提供的可移动平台的结构示意图。FIG. 8 is a schematic structural diagram of a mobile platform according to an embodiment of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围,在不冲突的情况下,下述的实施例及实施方式中的特征可以相互组合。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts are within the scope of the protection of the present invention. In the case of no conflict, the following embodiments and implementations Features in the manner can be combined with each other.
本发明的实施例提供了无人飞行器的控制方法、控制装置和可移动平台。其中涉及的无人飞行器可以是旋翼飞行器(rotorcraft),例如,由多个推动装置通过空气推动的多旋翼飞行器,本发明的实施例并不限于此。Embodiments of the present invention provide a control method, a control device, and a movable platform of an unmanned aerial vehicle. The unmanned aerial vehicle involved therein may be a rotorcraft, for example, a multi-rotor aircraft driven by air by a plurality of urging means, and embodiments of the present invention are not limited thereto.
图1是根据本发明的实施例的无人飞行系统的示意性架构图。本实施例以旋翼无人飞行器为例进行说明。1 is a schematic architectural diagram of an unmanned flight system in accordance with an embodiment of the present invention. This embodiment is described by taking a rotorcraft unmanned aerial vehicle as an example.
无人飞行系统100可以包括无人飞行器110、云台120、显示设备130和控制装置140。其中,无人飞行器110可以包括动力系统150、飞行控制系统160和机架。无人飞行器110可以与控制装置140和显示设备130进行无线通信。The unmanned aerial vehicle system 100 can include an unmanned aerial vehicle 110, a pan/tilt head 120, a display device 130, and a control device 140. Among them, the unmanned aerial vehicle 110 may include a power system 150, a flight control system 160, and a rack. The UAV 110 can be in wireless communication with the control device 140 and the display device 130.
机架可以包括机身和脚架(也称为起落架)。机身可以包括中心架以及与中心架连接的一个或多个机臂,一个或多个机臂呈辐射状从中心架延伸出。脚架与机身连接,用于在无人飞行器110着陆时起支撑作用。The rack can include a fuselage and a tripod (also known as a landing gear). The fuselage may include a center frame and one or more arms coupled to the center frame, the one or more arms extending radially from the center frame. The stand is coupled to the fuselage for supporting when the UAV 110 is landing.
动力系统150可以包括一个或多个电子调速器(简称为电调)151、一个或多个螺旋桨153以及与一个或多个螺旋桨153相对应的一个或多个电机152,其中电机152连接在电子调速器151与螺旋桨153之间,电机152和螺旋桨153设置在无人飞行器110的机臂上;电子调速器151用于接收飞行控制系统160产生的驱动信号,并根据驱动信号提供驱动电流给电机152,以 控制电机152的转速。电机152用于驱动螺旋桨旋转,从而为无人飞行器110的飞行提供动力,该动力使得无人飞行器110能够实现一个或多个自由度的运动。在某些实施例中,无人飞行器110可以围绕一个或多个旋转轴旋转。例如,上述旋转轴可以包括横滚轴、偏航轴和俯仰轴。应理解,电机152可以是直流电机,也可以交流电机。另外,电机152可以是无刷电机,也可以是有刷电机。 Power system 150 may include one or more electronic governors (referred to as ESCs) 151, one or more propellers 153, and one or more electric machines 152 corresponding to one or more propellers 153, wherein motor 152 is coupled Between the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are disposed on the arm of the unmanned aerial vehicle 110; the electronic governor 151 is configured to receive the driving signal generated by the flight control system 160 and provide driving according to the driving signal. Current is supplied to the motor 152 to control the rotational speed of the motor 152. Motor 152 is used to drive propeller rotation to power the flight of unmanned aerial vehicle 110, which enables unmanned aerial vehicle 110 to achieve one or more degrees of freedom of motion. In certain embodiments, the UAV 110 can be rotated about one or more axes of rotation. For example, the above-described rotating shaft may include a roll axis, a yaw axis, and a pitch axis. It should be understood that the motor 152 can be a DC motor or an AC motor. In addition, the motor 152 may be a brushless motor or a brushed motor.
飞行控制系统160可以包括飞行控制器161和传感系统162。传感系统162用于测量无人飞行器的姿态信息,即无人飞行器110在空间的位置信息和状态信息,例如,三维位置、三维角度、三维速度、三维加速度和三维角速度等。传感系统162例如可以包括陀螺仪、超声传感器、电子罗盘、惯性测量单元(Inertial Measurement Unit,IMU)、视觉传感器、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(Global Positioning System,GPS)。飞行控制器161用于控制无人飞行器110的飞行,例如,可以根据传感系统162测量的姿态信息控制无人飞行器110的飞行。应理解,飞行控制器161可以按照预先编好的程序指令对无人飞行器110进行控制,也可以通过响应来自控制装置140的一个或多个控制指令对无人飞行器110进行控制。 Flight control system 160 may include flight controller 161 and sensing system 162. The sensing system 162 is used to measure the attitude information of the unmanned aerial vehicle, that is, the position information and state information of the UAV 110 in space, for example, three-dimensional position, three-dimensional angle, three-dimensional speed, three-dimensional acceleration, and three-dimensional angular velocity. Sensing system 162 can include, for example, at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an Inertial Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer. For example, the global navigation satellite system can be a Global Positioning System (GPS). The flight controller 161 is used to control the flight of the unmanned aerial vehicle 110, for example, the flight of the unmanned aerial vehicle 110 can be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the UAV 110 in accordance with pre-programmed program instructions, or may control the UAV 110 in response to one or more control commands from the control device 140.
云台120可以包括电机122。云台用于携带成像装置123。飞行控制器161可以通过电机122控制云台120的运动。可选地,作为另一实施例,云台120还可以包括控制器,用于通过控制电机122来控制云台120的运动。应理解,云台120可以独立于无人飞行器110,也可以为无人飞行器110的一部分。应理解,电机122可以是直流电机,也可以是交流电机。另外,电机122可以是无刷电机,也可以是有刷电机。还应理解,云台可以位于无人飞行器的顶部,也可以位于无人飞行器的底部。The pan/tilt 120 can include a motor 122. The pan/tilt is used to carry the imaging device 123. The flight controller 161 can control the motion of the platform 120 via the motor 122. Optionally, as another embodiment, the platform 120 may further include a controller for controlling the motion of the platform 120 by controlling the motor 122. It should be understood that the platform 120 can be independent of the UAV 110 or a portion of the UAV 110. It should be understood that the motor 122 can be a DC motor or an AC motor. In addition, the motor 122 may be a brushless motor or a brushed motor. It should also be understood that the pan/tilt can be located at the top of the UAV or at the bottom of the UAV.
成像装置123例如可以是照相机或摄像机等用于捕获图像的设备,成像装置123可以与飞行控制器通信,并在飞行控制器的控制下进行拍摄。本实施例的成像装置123至少包括感光元件,该感光元件例如为互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)传感器或电荷耦合元件(Charge-coupled Device,CCD)传感器。The imaging device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the imaging device 123 may communicate with the flight controller and perform shooting under the control of the flight controller. The imaging device 123 of the present embodiment includes at least a photosensitive element, such as a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor.
显示设备130位于无人飞行系统100的地面端,可以通过无线方式与无 人飞行器110进行通信,并且可以用于显示无人飞行器110的姿态信息。另外,还可以在显示设备130上显示成像装置拍摄的图像。应理解,显示设备130可以是独立的设备,也可以集成在控制装置140中。The display device 130 is located at the ground end of the unmanned aerial vehicle system 100, can communicate with the unmanned aerial vehicle 110 wirelessly, and can be used to display attitude information of the unmanned aerial vehicle 110. In addition, an image taken by the imaging device can also be displayed on the display device 130. It should be understood that the display device 130 may be a stand-alone device or may be integrated in the control device 140.
控制装置140位于无人飞行系统100的地面端,可以通过无线方式与无人飞行器110进行通信,用于对无人飞行器110进行远程操纵。The control device 140 is located at the ground end of the unmanned aerial vehicle system 100 and can communicate with the unmanned aerial vehicle 110 in a wireless manner for remote manipulation of the unmanned aerial vehicle 110.
应理解,上述对于无人飞行系统各组成部分的命名仅是出于标识的目的,并不应理解为对本发明的实施例的限制。需要说明的是,无人飞行器可以包括上述全部部件或部分部件。It should be understood that the above-mentioned nomenclature of the components of the unmanned flight system is for the purpose of identification only and is not to be construed as limiting the embodiments of the invention. It should be noted that the UAV may include all or part of the above components.
图2为本发明一实施例提供的无人飞行器的控制方法的流程图,如图2所示,本实施例的方法可以包括:2 is a flowchart of a method for controlling an unmanned aerial vehicle according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment may include:
S201、获取无人飞行器与障碍面之间的距离。S201. Obtain a distance between the UAV and the obstacle surface.
S202、在所述距离小于第一预设距离时,控制所述无人飞行器朝第一方向飞行再朝第二方向飞行。S202. When the distance is less than the first preset distance, control the UAV to fly in a first direction and then fly in a second direction.
S203、控制所述无人飞行器停止朝所述第二方向飞行。S203. Control the UAV to stop flying in the second direction.
本实施例中,获取无人飞行器与障碍面之间的距离,其中,本实施例可以通过激光测距、超声测距、红外测距、视觉测距等方法,获取所述无人飞行器与障碍面之间的距离。该障碍面例如可以是地面、墙面、天花板面、手等,本实施例对此不做限定。在一些实施例中,可以按照预设时间间隔获取无人飞行器与障碍面之间的距离,也可以是实时获取无人飞行器与障碍面之间的距离。In this embodiment, the distance between the unmanned aerial vehicle and the obstacle surface is obtained, wherein the embodiment can obtain the unmanned aerial vehicle and the obstacle by means of laser ranging, ultrasonic ranging, infrared ranging, visual ranging, and the like. The distance between the faces. The obstacle surface may be, for example, a floor, a wall surface, a ceiling surface, a hand, etc., which is not limited in this embodiment. In some embodiments, the distance between the UAV and the obstacle surface may be acquired at a preset time interval, or the distance between the UAV and the obstacle surface may be acquired in real time.
在获取到无人飞行器与障碍面之间的距离之后,判断该距离是否小于第一预设距离,若该距离大于或等于第一预设距离,则继续判断获取的距离是否小于第一预设距离,判断的间隔可以是系统预设的间隔,如0.01、0.05、0.1、0.2、0.5、1、2秒等,也可以是用户设定的时间间隔;若该距离小于第一预设距离,则说明无人飞行器即将触碰到该障碍面,然后本实施例控制无人飞行器朝第一方向飞行,再控制无人飞行器朝第二方向飞行,如图3所示。其中,第一方向为远离障碍面的方向,第二方向为靠近障碍面的方向,即本实施例控制无人飞行器朝远离障碍面的方向飞行,再控制无人飞行器朝靠近障碍面的方向飞行,以实现类似弹跳的过程。本实施例在控制无人飞行器朝第二方向飞行之后,再控制无人飞行器停止朝第二方向飞行,并且在该无人 飞行器停止朝第二方向飞行时,无人飞行器与障碍面之间的距离大于或等于第一预设距离,从而保证了无人飞行器与障碍面之间保持一定的距离。After obtaining the distance between the UAV and the obstacle surface, determining whether the distance is less than the first preset distance, and if the distance is greater than or equal to the first preset distance, continuing to determine whether the acquired distance is less than the first preset The distance between the determinations may be a preset interval of the system, such as 0.01, 0.05, 0.1, 0.2, 0.5, 1, 2 seconds, etc., or may be a time interval set by the user; if the distance is less than the first preset distance, It indicates that the UAV is about to touch the obstacle surface, and then the embodiment controls the UAV to fly in the first direction, and then controls the UAV to fly in the second direction, as shown in FIG. Wherein, the first direction is a direction away from the obstacle surface, and the second direction is a direction close to the obstacle surface, that is, the embodiment controls the unmanned aerial vehicle to fly away from the obstacle surface, and then controls the unmanned aerial vehicle to fly toward the obstacle surface. To achieve a similar bounce process. In this embodiment, after controlling the unmanned aerial vehicle to fly in the second direction, the unmanned aerial vehicle is controlled to stop flying in the second direction, and when the unmanned aerial vehicle stops flying in the second direction, between the unmanned aerial vehicle and the obstacle surface The distance is greater than or equal to the first preset distance, thereby ensuring a certain distance between the UAV and the obstacle surface.
本实施例中,通过获取无人飞行器与障碍面之间的距离;在所述距离小于第一预设距离时,控制所述无人飞行器朝远离障碍面的方向飞行,再控制无人飞行器朝靠近障碍面的方向飞行;然后控制所述无人飞行器停止朝靠近障碍面的方向飞行,在所述无人飞行器停止朝所述第二方向飞行时所述无人飞行器与所述障碍面之间的距离大于或等于所述第一预设距离,从而保证了无人飞行器与障碍面之间保持一定的距离,实现避障,保证了飞行安全,而且本实施例控制无人飞行器在避障的过程中实现类似弹跳的飞行轨迹,使得玩家对无人飞行器的控制更具有趣味性,提高了用户体验,以增加低龄玩家对无人飞行器的兴趣。In this embodiment, the distance between the unmanned aerial vehicle and the obstacle surface is obtained; when the distance is less than the first preset distance, the unmanned aerial vehicle is controlled to fly away from the obstacle surface, and then the unmanned aerial vehicle is controlled to Flying in a direction close to the obstacle surface; then controlling the unmanned aerial vehicle to stop flying in a direction approaching the obstacle surface, between the unmanned aerial vehicle and the obstacle surface when the unmanned aerial vehicle stops flying in the second direction The distance is greater than or equal to the first preset distance, thereby ensuring a certain distance between the UAV and the obstacle surface, achieving obstacle avoidance and ensuring flight safety, and the present embodiment controls the UAV to avoid obstacles. In the process, a similar bounce flight trajectory is realized, which makes the player's control of the UAV more interesting and improves the user experience, so as to increase the interest of the younger players in the UAV.
在一些实施例中,若所述障碍面位于所述无人飞行器的下方,则所述第一方向为无人飞行器的上方,所述第二方向为无人飞行器的下方。In some embodiments, if the obstacle surface is below the UAV, the first direction is above the UAV and the second direction is below the UAV.
若所述障碍面位于所述无人飞行器的上方,则所述第一方向为无人飞行器的下方,所述第二方向为无人飞行器的上方。If the obstacle surface is above the UAV, the first direction is below the UAV and the second direction is above the UAV.
若所述障碍面位于所述无人飞行器的前方,则所述第一方向为所述无人飞行器的后方,所述第二方向为所述无人飞行器的前方。If the obstacle surface is located in front of the unmanned aerial vehicle, the first direction is the rear of the unmanned aerial vehicle, and the second direction is the front of the unmanned aerial vehicle.
若所述障碍面位于所述无人飞行器的后方,则所述第一方向为无人飞行器的前方,所述第二方向为无人飞行器的后方。If the obstacle surface is located behind the UAV, the first direction is the front of the UAV and the second direction is the rear of the UAV.
若所述障碍面位于所述无人飞行器的左方,则所述第一方向为所述无人飞行器的右方,所述第二方向为所述无人飞行器的左方。If the obstacle surface is located to the left of the UAV, the first direction is the right side of the UAV, and the second direction is the left side of the UAV.
若所述障碍面位于所述无人飞行器的右方,则所述第一方向为无人飞行器的左方,所述第二方向为无人飞行器的右方。If the obstacle surface is located to the right of the unmanned aerial vehicle, the first direction is the left side of the unmanned aerial vehicle, and the second direction is the right side of the unmanned aerial vehicle.
在一些实施例中,上述控制所述无人飞行器朝第一方向飞行的一种实现方式为:控制所述无人飞行器朝所述第一方向先加速飞行再减速飞行。本实施例中是先控制无人飞行器朝第一方向先加速飞行,在加速飞行一段后,再控制无人飞行器朝第一方向减速飞行。In some embodiments, one implementation of controlling the UAV to fly in a first direction is to control the UAV to first accelerate the flight and then decelerate the flight toward the first direction. In this embodiment, the unmanned aerial vehicle is first controlled to accelerate in the first direction, and after the acceleration flight is completed, the unmanned aerial vehicle is controlled to decelerate in the first direction.
在一些实施例中,上述控制所述无人飞行器朝所述第一方向先加速飞行再减速飞行的一种可能的实现方式为:控制所述无人飞行器朝所述第一方向加速飞行,直至所述无人飞行器与障碍面之间的距离大于或等于第二预设距 离时控制所述无人飞行器朝所述第一方向减速飞行;所述第二预设距离大于所述第一预设距离。先控制无人飞行器朝第一方向加速飞行,在加速飞行的过程中检测无人飞行器与障碍面之间的距离,并判断该距离是否小于第二预设距离,若该距离小于第二预设距离,则继续控制无人飞行器朝第一方向加速飞行,若该距离大于或等于第二预设距离时,则停止控制无人飞行器朝第一方向加速飞行,而是控制无人飞行器朝第一方向减速飞行。In some embodiments, a possible implementation of controlling the unmanned aerial vehicle to accelerate the flight and then decelerate the flight in the first direction is to control the unmanned aerial vehicle to accelerate the flight in the first direction until Controlling the UAV to decelerate in the first direction when the distance between the UAV and the obstacle surface is greater than or equal to the second preset distance; the second preset distance is greater than the first preset distance. Firstly controlling the unmanned aerial vehicle to accelerate the flight in the first direction, detecting the distance between the unmanned aerial vehicle and the obstacle surface during the accelerated flight, and determining whether the distance is smaller than the second preset distance, if the distance is smaller than the second preset The distance continues to control the unmanned aerial vehicle to accelerate in the first direction. If the distance is greater than or equal to the second predetermined distance, the control of the unmanned aerial vehicle is accelerated to the first direction, and the unmanned aerial vehicle is controlled to the first Slow down the direction.
在一些实施例中,在无人飞行器朝第一方向飞行时限定飞行速度,即该限定速度为第一预设速度,在控制无人飞行器朝第一方向加速飞行之后,若无人飞行器朝第一方向的飞行速度加速至大于或等于第一预设速度时,控制无人飞行器朝第一方向匀速飞行;若无人飞行器朝第一方向的飞行速度小于第一预设速度时,则继续控制无人飞行器朝第一方向加速飞行。其中,若无人飞行器朝第一方向的飞行速度大于或等于第一预设速度时,且无人飞行器与障碍面之间的距离大于或等于第二预设距离时,则不再控制无人飞行器朝第一方向均速飞行,而是直接控制无人飞行器朝第一方向减速飞行;若无人飞行器朝第一方向的飞行速度大于或等于第一预设速度时,且无人飞行器与障碍面之间的距离小于第二预设距离时,则控制无人飞行器朝第一方向均速飞行,直到无人飞行器与障碍面之间的距离大于或等于第二预设距离时再控制无人飞行器朝第一方向减速飞行。In some embodiments, the flying speed is defined when the UAV is flying in the first direction, that is, the defined speed is the first preset speed, and after the unmanned aerial vehicle is controlled to accelerate in the first direction, if the unmanned aerial vehicle is facing the first When the flight speed in one direction is accelerated to be greater than or equal to the first preset speed, the unmanned aerial vehicle is controlled to fly at a constant speed in the first direction; if the flight speed of the unmanned aerial vehicle in the first direction is less than the first preset speed, then the control is continued. The unmanned aerial vehicle accelerates in the first direction. Wherein, if the flying speed of the UAV in the first direction is greater than or equal to the first preset speed, and the distance between the UAV and the obstacle surface is greater than or equal to the second preset distance, then no one is controlled. The aircraft flies at a constant speed in the first direction, but directly controls the unmanned aerial vehicle to decelerate in the first direction; if the flying speed of the unmanned aerial vehicle in the first direction is greater than or equal to the first preset speed, and the unmanned aerial vehicle and the obstacle When the distance between the faces is less than the second preset distance, the UAV is controlled to fly at a constant speed in the first direction until the distance between the UAV and the obstacle surface is greater than or equal to the second preset distance. The aircraft decelerated in the first direction.
其中,控制无人飞行器朝第一方向飞行的示意图例如可以如图4所示。Wherein, the schematic diagram of controlling the unmanned aerial vehicle to fly in the first direction can be, for example, as shown in FIG.
在一些实施例中,上述控制所述无人飞行器朝第二方向飞行的一种实现方式为:控制所述无人飞行器朝所述第二方向先加速飞行再减速飞行。本实施例中是先控制无人飞行器朝第二方向先加速飞行,在加速飞行一段后,再控制无人飞行器朝第二方向减速飞行。In some embodiments, one implementation of controlling the UAV to fly in a second direction is to control the UAV to first accelerate the flight and then decelerate the flight toward the second direction. In this embodiment, the unmanned aerial vehicle is first controlled to accelerate in the second direction, and after the acceleration flight is completed, the unmanned aerial vehicle is controlled to decelerate in the second direction.
在一些实施例中,上述控制所述无人飞行器朝所述第二方向先加速飞行再减速飞行的一种可能的实现方式为:控制所述无人飞行器朝所述第二方向加速飞行,直至所述无人飞行器与障碍面之间的距离小于或等于第三预设距离时控制所述无人飞行器朝所述第二方向减速飞行;所述第三预设距离大于所述第一预设距离。先控制无人飞行器朝第二方向加速飞行,在加速飞行的过程中检测无人飞行器与障碍面之间的距离,并判断该距离是否大于第三预设距离,若该距离大于第三预设距离,则继续控制无人飞行器朝第二方向加 速飞行,若该距离小于或等于第三预设距离时,则停止控制无人飞行器朝第二方向加速飞行,而是控制无人飞行器朝第二方向减速飞行。在一些实施例中,上述的第三预设距离可以等于上述的第二预设距离。In some embodiments, a possible implementation of controlling the unmanned aerial vehicle to accelerate the flight and then decelerate the flight in the second direction is: controlling the unmanned aerial vehicle to accelerate the flight in the second direction until Controlling the UAV to decelerate in the second direction when the distance between the UAV and the obstacle surface is less than or equal to a third preset distance; the third preset distance is greater than the first preset distance. Firstly controlling the unmanned aerial vehicle to accelerate the flight in the second direction, detecting the distance between the unmanned aerial vehicle and the obstacle surface during the accelerated flight, and determining whether the distance is greater than the third preset distance, if the distance is greater than the third preset The distance continues to control the unmanned aerial vehicle to accelerate in the second direction. If the distance is less than or equal to the third predetermined distance, the control of the unmanned aerial vehicle is accelerated to the second direction, and the unmanned aerial vehicle is controlled to the second Slow down the direction. In some embodiments, the third preset distance described above may be equal to the second preset distance described above.
在一些实施例中,在无人飞行器朝第二方向飞行时限定飞行速度,即该限定速度为第二预设速度,在控制无人飞行器朝第二方向加速飞行之后,若无人飞行器朝第二方向的飞行速度加速至大于或等于第二预设速度时,控制无人飞行器朝第二方向匀速飞行;若无人飞行器朝第二方向的飞行速度小于第二预设速度时,则继续控制无人飞行器朝第二方向加速飞行。其中,若无人飞行器朝第二方向的飞行速度大于或等于第二预设速度时,且无人飞行器与障碍面之间的距离小于或等于第三预设距离时,则不再控制无人飞行器朝第二方向均速飞行,而是直接控制无人飞行器朝第二方向减速飞行;若无人飞行器朝第二方向的飞行速大于或等于第二预设速度时,且无人飞行器与障碍面之间的距离大于第三预设距离时,则控制无人飞行器朝第一方向均速飞行,直到无人飞行器与障碍面之间的距离小于或等于第三预设距离时再控制无人飞行器朝第二方向减速飞行。In some embodiments, the flight speed is defined when the UAV is flying in the second direction, that is, the defined speed is the second preset speed, and after the UAV is controlled to accelerate in the second direction, if the UAV is facing the first When the flight speed in the two directions is accelerated to be greater than or equal to the second preset speed, the unmanned aerial vehicle is controlled to fly at a constant speed in the second direction; if the flight speed of the unmanned aerial vehicle in the second direction is less than the second preset speed, then the control is continued. The unmanned aerial vehicle accelerates in the second direction. Wherein, if the flying speed of the UAV in the second direction is greater than or equal to the second preset speed, and the distance between the UAV and the obstacle surface is less than or equal to the third preset distance, then no one is controlled. The aircraft flies at a constant speed in the second direction, but directly controls the unmanned aerial vehicle to decelerate in the second direction; if the flying speed of the unmanned aerial vehicle in the second direction is greater than or equal to the second preset speed, and the unmanned aerial vehicle and the obstacle When the distance between the faces is greater than the third preset distance, the UAV is controlled to fly at a constant speed in the first direction until the distance between the UAV and the obstacle surface is less than or equal to the third preset distance. The aircraft decelerated in the second direction.
在一些实施例中,上述控制所述无人飞行器停止朝所述第二方向飞行的一种可能的实现方式包括:控制所述无人飞行器朝所述第二方向的飞行速度减为0,以控制所述无人飞行器停止朝所述第二方向飞行。本实施例中控制无人飞行器朝第二方向减速飞行,飞行速度随着飞行时间的增加而减少,在飞行速度减少为0时,无人飞行器不再有朝第二方向的飞行速度,此时无人飞行器停止。In some embodiments, the above-described one possible implementation of controlling the UAV to stop flying in the second direction comprises: controlling the flying speed of the UAV to the second direction to be reduced to 0, Controlling the UAV to stop flying in the second direction. In this embodiment, the unmanned aerial vehicle is controlled to decelerate in the second direction, and the flight speed decreases as the flight time increases. When the flight speed decreases to zero, the unmanned aerial vehicle no longer has a flight speed in the second direction. The unmanned aerial vehicle stops.
其中,控制无人飞行器朝第二方向飞行的示意图例如可以如图5所示。The schematic diagram of controlling the unmanned aerial vehicle to fly in the second direction can be, for example, as shown in FIG. 5.
在一些实施例中,所述控制所述无人飞行器朝第一方向飞行再朝第二方向飞行的一种可能的实现方式为:控制所述无人飞行器朝所述第一方向飞行,直至所述无人飞行器朝第二方向的飞行速度为第三预设速度时控制所述无人飞行器朝所述第二方向飞行。在一些实施例中,第三预设速度为0,也就是控制无人飞行器朝第一方向加速飞行然后朝第一方向减速飞行,在无人飞行器朝第一方向的飞行速度为0时,控制无人飞行器朝第二方向飞行。In some embodiments, the one possible implementation of controlling the UAV to fly in a first direction and then in a second direction is to control the UAV to fly in the first direction until The UAV is controlled to fly in the second direction when the flying speed of the UAV in the second direction is the third preset speed. In some embodiments, the third preset speed is 0, that is, the unmanned aerial vehicle is controlled to accelerate in the first direction and then decelerate in the first direction, and when the flying speed of the unmanned aerial vehicle in the first direction is 0, the control is performed. The unmanned aerial vehicle flies in the second direction.
需要说明的是,上述的障碍面可以不是同一障碍面,在控制无人飞行器朝第一方向飞行再朝第二方向飞行的过程中,若之前的障碍面为地面,当手 伸入到无人飞行器的下方,则此时无人飞行器检测到的障碍面变更为手。It should be noted that the above-mentioned obstacle surfaces may not be the same obstacle surface. In the process of controlling the unmanned aerial vehicle to fly in the first direction and then fly in the second direction, if the previous obstacle surface is the ground, when the hand reaches the ground, Below the aircraft, the obstacle surface detected by the UAV is changed to the hand.
综上所述,本发明实施例通过上述各方案保证了无人飞行器与障碍面之间保持一定的距离,实现避障,保证了飞行安全,而且本实施例控制无人飞行器在避障的过程中实现类似弹跳的飞行轨迹,使得玩家对无人飞行器的控制更具有趣味性,提高了用户体验,以增加低龄玩家对无人飞行器的兴趣。In summary, the embodiments of the present invention ensure that a certain distance between the UAV and the obstacle surface is maintained by the above solutions, thereby avoiding obstacles and ensuring flight safety, and the present embodiment controls the process of the UAV in obstacle avoidance. The realization of a similar bounce flight trajectory makes the player's control of the UAV more interesting and enhances the user experience to increase the interest of the younger players in the UAV.
图6为本发明一实施例提供的控制装置的结构示意图,如图6所示,本实施例的控制装置600可以包括:距离传感器601和处理器602。FIG. 6 is a schematic structural diagram of a control apparatus according to an embodiment of the present invention. As shown in FIG. 6, the control apparatus 600 of this embodiment may include a distance sensor 601 and a processor 602.
所述距离传感器601,用于获取无人飞行器与障碍面之间的距离;The distance sensor 601 is configured to acquire a distance between the UAV and the obstacle surface;
所述处理器602,用于在所述距离传感器601获取的所述距离小于第一预设距离时,控制所述无人飞行器朝第一方向飞行再朝第二方向飞行;所述第一方向为远离障碍面的方向,所述第二方向为靠近障碍面的方向The processor 602 is configured to control the UAV to fly in a first direction and then fly in a second direction when the distance acquired by the distance sensor 601 is less than a first preset distance; the first direction In a direction away from the obstacle surface, the second direction is a direction close to the obstacle surface
控制所述无人飞行器停止朝所述第二方向飞行;所述无人飞行器停止朝所述第二方向飞行时,所述距离传感器601获取的所述无人飞行器与障碍面之间的距离大于或等于所述第一预设距离。Controlling that the UAV stops flying toward the second direction; when the UAV stops flying toward the second direction, the distance between the UAV and the obstacle surface acquired by the distance sensor 601 is greater than Or equal to the first preset distance.
在一些实施例中,所述处理器602,具体用于:控制所述无人飞行器朝所述第一方向先加速飞行再减速飞行。In some embodiments, the processor 602 is specifically configured to: control the unmanned aerial vehicle to accelerate the flight and then decelerate the flight toward the first direction.
在一些实施例中,所述处理器602,具体用于:控制所述无人飞行器朝所述第一方向加速飞行,直至所述距离传感器获取的所述无人飞行器与障碍面之间的距离大于或等于第二预设距离时,控制所述无人飞行器朝所述第一方向减速飞行;所述第二预设距离大于所述第一预设距离。In some embodiments, the processor 602 is specifically configured to: control the unmanned aerial vehicle to accelerate flight in the first direction until a distance between the unmanned aerial vehicle and the obstacle surface acquired by the distance sensor When the second preset distance is greater than or equal to the second preset distance, the unmanned aerial vehicle is controlled to decelerate in the first direction; the second preset distance is greater than the first preset distance.
在一些实施例中,所述处理器602,还用于在控制所述无人飞行器朝所述第一方向加速飞行之后,若所述无人飞行器朝第一方向的飞行速度大于或等于第一预设速度时,控制所述无人飞行器朝所述第一方向匀速飞行。In some embodiments, the processor 602 is further configured to: after controlling the unmanned aerial vehicle to accelerate the flight in the first direction, if the flying speed of the unmanned aerial vehicle in the first direction is greater than or equal to the first When the speed is preset, the UAV is controlled to fly at a constant speed in the first direction.
在一些实施例中,所述处理器602,具体用于:控制所述无人飞行器朝所述第二方向先加速度飞行再减速飞行。In some embodiments, the processor 602 is specifically configured to: control the unmanned aerial vehicle to fly in the second direction and then accelerate the flight.
在一些实施例中,所述处理器602,具体用于:控制所述无人飞行器朝所述第二方向加速飞行,直至所述距离传感器601获取的所述无人飞行器与障碍面之间的距离小于或等于第三预设距离时,控制所述无人飞行器朝所述第二方向减速飞行;所述第三预设距离大于所述第一预设距离。In some embodiments, the processor 602 is specifically configured to: control the unmanned aerial vehicle to accelerate flight in the second direction until the distance between the unmanned aerial vehicle and the obstacle surface acquired by the distance sensor 601 When the distance is less than or equal to the third preset distance, the UAV is controlled to decelerate in the second direction; the third preset distance is greater than the first preset distance.
在一些实施例中,所述处理器602,还用于在控制所述无人飞行器朝所 述第二方向加速飞行之后,若所述无人飞行器朝第二方向的飞行速度大于或等于第二预设速度时,控制所述无人飞行器朝所述第二方向匀速飞行。In some embodiments, the processor 602 is further configured to: after controlling the UAV to accelerate the flight in the second direction, if the flying speed of the UAV in the second direction is greater than or equal to the second When the speed is preset, the UAV is controlled to fly at a constant speed in the second direction.
在一些实施例中,所述处理器602,具体用于:控制所述无人飞行器朝所述第二方向的飞行速度减为0,以控制所述无人飞行器停止朝所述第二方向飞行。In some embodiments, the processor 602 is specifically configured to: control a flight speed of the UAV to the second direction to be reduced to 0 to control the UAV to stop flying in the second direction. .
在一些实施例中,所述处理器602,具体用于:控制所述无人飞行器朝所述第一方向飞行,直至所述无人飞行器的朝所述第一方向的飞行速度为第三预设速度时控制所述无人飞行器朝所述第二方向飞行。In some embodiments, the processor 602 is specifically configured to: control the UAV to fly in the first direction until a flight speed of the UAV in the first direction is a third pre- The UAV is controlled to fly in the second direction when the speed is set.
在一些实施例中,所述第三预设速度为0。In some embodiments, the third preset speed is zero.
在一些实施例中,若所述障碍面位于所述无人飞行器的下方,则所述第一方向为无人飞行器的上方,所述第二方向为无人飞行器的下方;In some embodiments, if the obstacle surface is located below the UAV, the first direction is above the UAV, and the second direction is below the UAV;
若所述障碍面位于所述无人飞行器的上方,则所述第一方向为无人飞行器的下方,所述第二方向为无人飞行器的上方;If the obstacle surface is above the unmanned aerial vehicle, the first direction is below the unmanned aerial vehicle, and the second direction is above the unmanned aerial vehicle;
若所述障碍面位于所述无人飞行器的前方,则所述第一方向为所述无人飞行器的后方,所述第二方向为所述无人飞行器的前方;If the obstacle surface is located in front of the unmanned aerial vehicle, the first direction is a rear of the unmanned aerial vehicle, and the second direction is a front side of the unmanned aerial vehicle;
若所述障碍面位于所述无人飞行器的后方,则所述第一方向为无人飞行器的前方,所述第二方向为无人飞行器的后方;If the obstacle surface is located behind the UAV, the first direction is the front of the UAV, and the second direction is the rear of the UAV;
若所述障碍面位于所述无人飞行器的左方,则所述第一方向为所述无人飞行器的右方,所述第二方向为所述无人飞行器的左方;If the obstacle surface is located to the left of the UAV, the first direction is the right side of the UAV, and the second direction is the left side of the UAV;
若所述障碍面位于所述无人飞行器的右方,则所述第一方向为无人飞行器的左方,所述第二方向为无人飞行器的右方。If the obstacle surface is located to the right of the unmanned aerial vehicle, the first direction is the left side of the unmanned aerial vehicle, and the second direction is the right side of the unmanned aerial vehicle.
在一些实施例中,所述距离传感器601包括:激光测距传感器、超声测距传感器、红外测距传感器、视觉测距传感器中的至少一种。In some embodiments, the distance sensor 601 includes at least one of a laser ranging sensor, an ultrasonic ranging sensor, an infrared ranging sensor, and a visual ranging sensor.
在一些实施例中,如图7所示,本实施例的控制装置600还可以包括:速度传感器603;所述速度传感器603,用于获取所述无人飞行器的飞行速度。In some embodiments, as shown in FIG. 7, the control device 600 of the present embodiment may further include: a speed sensor 603; and the speed sensor 603 is configured to acquire a flight speed of the unmanned aerial vehicle.
本实施例的控制装置,可以用于执行上述各方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。The control device of this embodiment may be used to implement the technical solutions in the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
图8为本发明一实施例提供的可移动平台的结构示意图,如图8所示,本实施例的可移动平台800可以包括:动力装置801和控制装置802。其中,所述动力装置801,用于输出动力。控制装置802可以采用图6或图7所示 装置实施例的结构,其对应地,可以执行上述任一方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。FIG. 8 is a schematic structural diagram of a mobile platform according to an embodiment of the present invention. As shown in FIG. 8, the mobile platform 800 of the present embodiment may include: a power device 801 and a control device 802. The power unit 801 is configured to output power. The control device 802 can adopt the structure of the device embodiment shown in FIG. 6 or FIG. 7. Correspondingly, the technical solution of any of the foregoing method embodiments can be executed, and the implementation principle and technical effects are similar, and details are not described herein again.
在一些实施例中,可移动平台800可以是无人飞行器。In some embodiments, the movable platform 800 can be an unmanned aerial vehicle.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and the like, which can store program codes. Medium.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.
Claims (27)
- 一种无人飞行器的控制方法,其特征在于,包括:A method for controlling an unmanned aerial vehicle, comprising:获取无人飞行器与障碍面之间的距离;Obtaining the distance between the UAV and the obstacle surface;在所述距离小于第一预设距离时,控制所述无人飞行器朝第一方向飞行再朝第二方向飞行;所述第一方向为远离障碍面的方向,所述第二方向为靠近障碍面的方向;When the distance is less than the first preset distance, controlling the UAV to fly in a first direction and then fly in a second direction; the first direction is a direction away from the obstacle surface, and the second direction is a proximity obstacle Direction of the face;控制所述无人飞行器停止朝所述第二方向飞行;所述无人飞行器停止朝所述第二方向飞行时所述无人飞行器与障碍面之间的距离大于或等于所述第一预设距离。Controlling the UAV to stop flying in the second direction; the distance between the UAV and the obstacle surface when the UAV stops flying in the second direction is greater than or equal to the first preset distance.
- 根据权利要求1所述的方法,其特征在于,所述控制所述无人飞行器朝第一方向飞行,包括:The method of claim 1 wherein said controlling said UAV to fly in a first direction comprises:控制所述无人飞行器朝所述第一方向先加速飞行再减速飞行。The UAV is controlled to accelerate the flight and then decelerate the flight toward the first direction.
- 根据权利要求2所述的方法,其特征在于,所述控制所述无人飞行器朝所述第一方向先加速飞行再减速飞行,包括:The method according to claim 2, wherein said controlling said unmanned aerial vehicle to accelerate flight and then decelerate flight toward said first direction comprises:控制所述无人飞行器朝所述第一方向加速飞行,直至所述无人飞行器与障碍面之间的距离大于或等于第二预设距离时控制所述无人飞行器朝所述第一方向减速飞行;所述第二预设距离大于所述第一预设距离。Controlling the unmanned aerial vehicle to accelerate flight in the first direction until the distance between the unmanned aerial vehicle and the obstacle surface is greater than or equal to a second predetermined distance, controlling the unmanned aerial vehicle to decelerate toward the first direction Flying; the second preset distance is greater than the first preset distance.
- 根据权利要求3所述的方法,其特征在于,所述控制所述无人飞行器朝所述第一方向加速飞行之后,还包括:The method according to claim 3, wherein after the controlling the unmanned aerial vehicle to accelerate the flight in the first direction, the method further comprises:若所述无人飞行器朝第一方向的飞行速度大于或等于第一预设速度时,控制所述无人飞行器朝所述第一方向匀速飞行。And if the flying speed of the UAV in the first direction is greater than or equal to the first preset speed, controlling the UAV to fly at a constant speed in the first direction.
- 根据权利要求1-4任意一项所述的方法,其特征在于,所述控制所述无人飞行器朝第二方向飞行,包括:The method according to any one of claims 1 to 4, wherein the controlling the unmanned aerial vehicle to fly in a second direction comprises:控制所述无人飞行器朝所述第二方向先加速度飞行再减速飞行。The UAV is controlled to fly in the second direction and then to decelerate the flight.
- 根据权利要求5所述的方法,其特征在于,所述控制所述无人飞行器朝所述第二方向先加速度飞行再减速飞行,包括:The method according to claim 5, wherein said controlling said unmanned aerial vehicle to fly in said second direction first acceleration and then decelerating flight comprises:控制所述无人飞行器朝所述第二方向加速飞行,直至所述无人飞行器与障碍面之间的距离小于或等于第三预设距离时控制所述无人飞行器朝所述第二方向减速飞行;所述第三预设距离大于所述第一预设距离。Controlling the unmanned aerial vehicle to accelerate the flight in the second direction until the distance between the unmanned aerial vehicle and the obstacle surface is less than or equal to a third predetermined distance, and controlling the unmanned aerial vehicle to decelerate toward the second direction Flying; the third preset distance is greater than the first preset distance.
- 根据权利要求6所述的方法,其特征在于,所述控制所述无人飞行器 朝所述第二方向加速飞行之后,还包括:The method according to claim 6, wherein after the controlling the unmanned aerial vehicle to accelerate the flight in the second direction, the method further comprises:若所述无人飞行器朝第二方向的飞行速度大于或等于第二预设速度时,控制所述无人飞行器朝所述第二方向匀速飞行。And if the flying speed of the UAV in the second direction is greater than or equal to the second preset speed, controlling the UAV to fly at a constant speed in the second direction.
- 根据权利要求1-7任意一项所述的方法,其特征在于,所述控制所述无人飞行器停止朝所述第二方向飞行,包括:The method of any of claims 1-7, wherein the controlling the UAV to stop flying in the second direction comprises:控制所述无人飞行器朝所述第二方向的飞行速度减为0,以控制所述无人飞行器停止朝所述第二方向飞行。Controlling the flying speed of the UAV toward the second direction is reduced to zero to control the UAV to stop flying in the second direction.
- 根据权利要求1-8任意一项所述的方法,其特征在于,所述控制所述无人飞行器朝第一方向飞行再朝第二方向飞行,包括:The method according to any one of claims 1-8, wherein the controlling the UAV to fly in a first direction and then fly in a second direction comprises:控制所述无人飞行器朝所述第一方向飞行,直至所述无人飞行器的朝所述第一方向的飞行速度为第三预设速度时控制所述无人飞行器朝所述第二方向飞行。Controlling the UAV to fly in the first direction until the UAV is flying toward the second direction when the flight speed of the UAV in the first direction is a third preset speed .
- 根据权利要求9所述的方法,其特征在于,所述第三预设速度为0。The method of claim 9 wherein said third predetermined speed is zero.
- 根据权利要求1-10任意一项所述的方法,其特征在于,若所述障碍面位于所述无人飞行器的下方,则所述第一方向为无人飞行器的上方,所述第二方向为无人飞行器的下方;The method according to any one of claims 1 to 10, wherein if the obstacle surface is located below the unmanned aerial vehicle, the first direction is above the unmanned aerial vehicle, and the second direction Underneath the unmanned aerial vehicle;若所述障碍面位于所述无人飞行器的上方,则所述第一方向为无人飞行器的下方,所述第二方向为无人飞行器的上方;If the obstacle surface is above the unmanned aerial vehicle, the first direction is below the unmanned aerial vehicle, and the second direction is above the unmanned aerial vehicle;若所述障碍面位于所述无人飞行器的前方,则所述第一方向为所述无人飞行器的后方,所述第二方向为所述无人飞行器的前方;If the obstacle surface is located in front of the unmanned aerial vehicle, the first direction is a rear of the unmanned aerial vehicle, and the second direction is a front side of the unmanned aerial vehicle;若所述障碍面位于所述无人飞行器的后方,则所述第一方向为无人飞行器的前方,所述第二方向为无人飞行器的后方;If the obstacle surface is located behind the UAV, the first direction is the front of the UAV, and the second direction is the rear of the UAV;若所述障碍面位于所述无人飞行器的左方,则所述第一方向为所述无人飞行器的右方,所述第二方向为所述无人飞行器的左方;If the obstacle surface is located to the left of the UAV, the first direction is the right side of the UAV, and the second direction is the left side of the UAV;若所述障碍面位于所述无人飞行器的右方,则所述第一方向为无人飞行器的左方,所述第二方向为无人飞行器的右方。If the obstacle surface is located to the right of the unmanned aerial vehicle, the first direction is the left side of the unmanned aerial vehicle, and the second direction is the right side of the unmanned aerial vehicle.
- 根据权利要求1-11任意一项所述的方法,其特征在于,所述获取无人飞行器与障碍面之间的距离,包括:The method according to any one of claims 1 to 11, wherein the obtaining the distance between the UAV and the obstacle surface comprises:根据激光测距、超声测距、红外测距、视觉测距中的至少一种,获取所述无人飞行器与障碍面之间的距离。Obtaining a distance between the UAV and the obstacle surface according to at least one of laser ranging, ultrasonic ranging, infrared ranging, and visual ranging.
- 一种无人飞行器的控制装置,其特征在于,包括:距离传感器和处理器;A control device for an unmanned aerial vehicle, comprising: a distance sensor and a processor;所述距离传感器,用于获取无人飞行器与障碍面之间的距离;The distance sensor is configured to acquire a distance between the UAV and the obstacle surface;所述处理器,用于在所述距离传感器获取的所述距离小于第一预设距离时,控制所述无人飞行器朝第一方向飞行再朝第二方向飞行;所述第一方向为远离障碍面的方向,所述第二方向为靠近障碍面的方向;The processor is configured to control the UAV to fly in a first direction and then fly in a second direction when the distance acquired by the distance sensor is less than a first preset distance; the first direction is away a direction of the obstacle surface, the second direction being a direction close to the obstacle surface;控制所述无人飞行器停止朝所述第二方向飞行;所述无人飞行器停止朝所述第二方向飞行时,所述距离传感器获取的所述无人飞行器与障碍面之间的距离大于或等于所述第一预设距离。Controlling the UAV to stop flying in the second direction; when the UAV stops flying in the second direction, the distance between the UAV and the obstacle surface acquired by the distance sensor is greater than or Equal to the first preset distance.
- 根据权利要求13所述的控制装置,其特征在于,所述处理器,具体用于:控制所述无人飞行器朝所述第一方向先加速飞行再减速飞行。The control device according to claim 13, wherein the processor is specifically configured to: control the unmanned aerial vehicle to accelerate the flight and then decelerate the flight toward the first direction.
- 根据权利要求14所述的控制装置,其特征在于,所述处理器,具体用于:控制所述无人飞行器朝所述第一方向加速飞行,直至所述距离传感器获取的所述无人飞行器与障碍面之间的距离大于或等于第二预设距离时,控制所述无人飞行器朝所述第一方向减速飞行;所述第二预设距离大于所述第一预设距离。The control device according to claim 14, wherein the processor is specifically configured to: control the unmanned aerial vehicle to accelerate flight in the first direction until the unmanned aerial vehicle acquired by the distance sensor The UAV is controlled to decelerate in the first direction when the distance between the obstacle surface is greater than or equal to the second preset distance; the second preset distance is greater than the first preset distance.
- 根据权利要求15所述的控制装置,其特征在于,所述处理器,还用于在控制所述无人飞行器朝所述第一方向加速飞行之后,若所述无人飞行器朝第一方向的飞行速度大于或等于第一预设速度时,控制所述无人飞行器朝所述第一方向匀速飞行。The control device according to claim 15, wherein the processor is further configured to: after controlling the unmanned aerial vehicle to accelerate in the first direction, if the unmanned aerial vehicle is in a first direction When the flying speed is greater than or equal to the first preset speed, the UAV is controlled to fly at a constant speed in the first direction.
- 根据权利要求13-16任意一项所述的控制装置,其特征在于,所述处理器,具体用于:控制所述无人飞行器朝所述第二方向先加速度飞行再减速飞行。The control device according to any one of claims 13-16, wherein the processor is specifically configured to: control the unmanned aerial vehicle to fly in the second direction and then decelerate the flight.
- 根据权利要求17所述的控制装置,其特征在于,所述处理器,具体用于:控制所述无人飞行器朝所述第二方向加速飞行,直至所述距离传感器获取的所述无人飞行器与障碍面之间的距离小于或等于第三预设距离时,控制所述无人飞行器朝所述第二方向减速飞行;所述第三预设距离大于所述第一预设距离。The control device according to claim 17, wherein the processor is specifically configured to: control the unmanned aerial vehicle to accelerate flight in the second direction until the unmanned aerial vehicle acquired by the distance sensor When the distance between the obstacle surface is less than or equal to the third preset distance, the UAV is controlled to decelerate in the second direction; the third preset distance is greater than the first preset distance.
- 根据权利要求18所述的控制装置,其特征在于,所述处理器,还用于在控制所述无人飞行器朝所述第二方向加速飞行之后,若所述无人飞行器 朝第二方向的飞行速度大于或等于第二预设速度时,控制所述无人飞行器朝所述第二方向匀速飞行。The control device according to claim 18, wherein the processor is further configured to: after controlling the unmanned aerial vehicle to accelerate in the second direction, if the unmanned aerial vehicle is facing in a second direction When the flying speed is greater than or equal to the second preset speed, the UAV is controlled to fly at a constant speed in the second direction.
- 根据权利要求13-19任意一项所述的控制装置,其特征在于,所述处理器,具体用于:控制所述无人飞行器朝所述第二方向的飞行速度减为0,以控制所述无人飞行器停止朝所述第二方向飞行。The control device according to any one of claims 13 to 19, wherein the processor is specifically configured to: control a flight speed of the unmanned aerial vehicle to the second direction to be reduced to 0 to control the The UAV stops flying in the second direction.
- 根据权利要求13-20任意一项所述的控制装置,其特征在于,所述处理器,具体用于:控制所述无人飞行器朝所述第一方向飞行,直至所述无人飞行器的朝所述第一方向的飞行速度为第三预设速度时控制所述无人飞行器朝所述第二方向飞行。The control device according to any one of claims 13 to 20, wherein the processor is specifically configured to: control the unmanned aerial vehicle to fly in the first direction until the unmanned aerial vehicle The UAV is controlled to fly in the second direction when the flight speed in the first direction is the third preset speed.
- 根据权利要求21所述的控制装置,其特征在于,所述第三预设速度为0。The control device according to claim 21, wherein said third preset speed is zero.
- 根据权利要求16、19-22中任意一项所述的控制装置,其特征在于,还包括:速度传感器;The control device according to any one of claims 16, 19 to 22, further comprising: a speed sensor;所述速度传感器,用于获取所述无人飞行器的飞行速度。The speed sensor is configured to acquire a flight speed of the unmanned aerial vehicle.
- 根据权利要求13-23任意一项所述的控制装置,其特征在于,若所述障碍面位于所述无人飞行器的下方,则所述第一方向为无人飞行器的上方,所述第二方向为无人飞行器的下方;The control device according to any one of claims 13 to 23, wherein if the obstacle surface is located below the unmanned aerial vehicle, the first direction is above the unmanned aerial vehicle, and the second The direction is below the unmanned aerial vehicle;若所述障碍面位于所述无人飞行器的上方,则所述第一方向为无人飞行器的下方,所述第二方向为无人飞行器的上方;If the obstacle surface is above the unmanned aerial vehicle, the first direction is below the unmanned aerial vehicle, and the second direction is above the unmanned aerial vehicle;若所述障碍面位于所述无人飞行器的前方,则所述第一方向为所述无人飞行器的后方,所述第二方向为所述无人飞行器的前方;If the obstacle surface is located in front of the unmanned aerial vehicle, the first direction is a rear of the unmanned aerial vehicle, and the second direction is a front side of the unmanned aerial vehicle;若所述障碍面位于所述无人飞行器的后方,则所述第一方向为无人飞行器的前方,所述第二方向为无人飞行器的后方;If the obstacle surface is located behind the UAV, the first direction is the front of the UAV, and the second direction is the rear of the UAV;若所述障碍面位于所述无人飞行器的左方,则所述第一方向为所述无人飞行器的右方,所述第二方向为所述无人飞行器的左方;If the obstacle surface is located to the left of the UAV, the first direction is the right side of the UAV, and the second direction is the left side of the UAV;若所述障碍面位于所述无人飞行器的右方,则所述第一方向为无人飞行器的左方,所述第二方向为无人飞行器的右方。If the obstacle surface is located to the right of the unmanned aerial vehicle, the first direction is the left side of the unmanned aerial vehicle, and the second direction is the right side of the unmanned aerial vehicle.
- 根据权利要求13-24任意一项所述的控制装置,其特征在于,所述距离传感器包括:激光测距传感器、超声测距传感器、红外测距传感器、视觉测距传感器中的至少一种。The control device according to any one of claims 13 to 24, wherein the distance sensor comprises at least one of a laser ranging sensor, an ultrasonic ranging sensor, an infrared ranging sensor, and a visual ranging sensor.
- 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序;所述计算机程序在被执行时,实现如权利要求1-12任意一项所述的无人飞行器的控制方法。A readable storage medium, characterized in that the readable storage medium stores a computer program; when the computer program is executed, the control of the unmanned aerial vehicle according to any one of claims 1-12 is implemented method.
- 一种可移动平台,包括,动力装置,和如权利要求13-25任意一项所述的控制装置;A movable platform comprising: a power unit, and the control device according to any one of claims 13-25;所述动力装置,用于输出动力。The power unit is for outputting power.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201880031255.0A CN110612496A (en) | 2018-01-05 | 2018-01-05 | Control method and device for unmanned aerial vehicle and movable platform |
PCT/CN2018/071676 WO2019134148A1 (en) | 2018-01-05 | 2018-01-05 | Method and device for controlling unmanned aerial vehicle, and movable platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/071676 WO2019134148A1 (en) | 2018-01-05 | 2018-01-05 | Method and device for controlling unmanned aerial vehicle, and movable platform |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019134148A1 true WO2019134148A1 (en) | 2019-07-11 |
Family
ID=67143619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/071676 WO2019134148A1 (en) | 2018-01-05 | 2018-01-05 | Method and device for controlling unmanned aerial vehicle, and movable platform |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110612496A (en) |
WO (1) | WO2019134148A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100100269A1 (en) * | 2008-10-20 | 2010-04-22 | Honeywell International Inc. | Systems and Methods for Unmanned Aerial Vehicle Navigation |
CN103543751A (en) * | 2013-09-12 | 2014-01-29 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle and control device of same |
CN105607642A (en) * | 2015-09-18 | 2016-05-25 | 广东中安金狮科创有限公司 | Method for unmanned aerial vehicle to automatically carry out range finding, avoiding and crossing flight in three-dimensional space |
CN106094870A (en) * | 2016-08-23 | 2016-11-09 | 成都翼高九天科技有限公司 | A kind of flight control system based on wireless telecommunications unmanned plane |
CN106774363A (en) * | 2016-12-02 | 2017-05-31 | 河北省自动化研究所 | UAV flight control system and method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968353B (en) * | 2010-09-29 | 2012-02-08 | 清华大学 | Terrain Tracking Method for Unmanned Helicopter Based on Laser Detection and Image Recognition |
CN106131790B (en) * | 2016-08-18 | 2021-01-15 | 联想(北京)有限公司 | Control method of mobile device and mobile device |
CN107077148B (en) * | 2016-11-22 | 2019-07-16 | 深圳市大疆创新科技有限公司 | UAV obstacle avoidance control method, flight controller and unmanned aerial vehicle |
-
2018
- 2018-01-05 WO PCT/CN2018/071676 patent/WO2019134148A1/en active Application Filing
- 2018-01-05 CN CN201880031255.0A patent/CN110612496A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100100269A1 (en) * | 2008-10-20 | 2010-04-22 | Honeywell International Inc. | Systems and Methods for Unmanned Aerial Vehicle Navigation |
CN103543751A (en) * | 2013-09-12 | 2014-01-29 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle and control device of same |
CN105607642A (en) * | 2015-09-18 | 2016-05-25 | 广东中安金狮科创有限公司 | Method for unmanned aerial vehicle to automatically carry out range finding, avoiding and crossing flight in three-dimensional space |
CN106094870A (en) * | 2016-08-23 | 2016-11-09 | 成都翼高九天科技有限公司 | A kind of flight control system based on wireless telecommunications unmanned plane |
CN106774363A (en) * | 2016-12-02 | 2017-05-31 | 河北省自动化研究所 | UAV flight control system and method |
Also Published As
Publication number | Publication date |
---|---|
CN110612496A (en) | 2019-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11222549B2 (en) | Collision detection and avoidance | |
US10377484B2 (en) | UAV positional anchors | |
US20250045949A1 (en) | Uav control method, device and uav | |
US20220083078A1 (en) | Method for controlling aircraft, device, and aircraft | |
US10692174B2 (en) | Course profiling and sharing | |
WO2018209702A1 (en) | Method for controlling unmanned aerial vehicle, unmanned aerial vehicle and machine-readable storage medium | |
WO2018053877A1 (en) | Control method, control device, and delivery system | |
WO2022033307A1 (en) | Obstacle avoidance method and apparatus, and unmanned aerial vehicle | |
US11798172B2 (en) | Maximum temperature point tracking method, device and unmanned aerial vehicle | |
CN107438805A (en) | Unmanned aerial vehicle (UAV) control method and device | |
WO2018040006A1 (en) | Control method, device and system, aerial vehicle, carrier, and operating device | |
WO2019227289A1 (en) | Time-lapse photography control method and device | |
WO2019128275A1 (en) | Photographing control method and device, and aircraft | |
WO2020133410A1 (en) | Image capture method and device | |
CN111344651B (en) | Unmanned aerial vehicle control method and unmanned aerial vehicle | |
CN109154834A (en) | Control method, the device and system of unmanned plane | |
WO2020244648A1 (en) | Aerial vehicle control method and apparatus, and aerial vehicle | |
CN110832420A (en) | Unmanned aerial vehicle control method and device and unmanned aerial vehicle | |
WO2022205294A1 (en) | Method and apparatus for controlling unmanned aerial vehicle, unmanned aerial vehicle, and storage medium | |
WO2019134148A1 (en) | Method and device for controlling unmanned aerial vehicle, and movable platform | |
US20200027238A1 (en) | Method for merging images and unmanned aerial vehicle | |
WO2019134142A1 (en) | Unmanned aerial vehicle control method, unmanned aerial vehicle system, and control device | |
WO2022094808A1 (en) | Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium | |
WO2022109801A1 (en) | Cooperative control method and system for cradle head and aircraft | |
CN116101507A (en) | Control method and device for rotorcraft, rotorcraft and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18897987 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18897987 Country of ref document: EP Kind code of ref document: A1 |