WO2020258066A1 - Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium - Google Patents

Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium Download PDF

Info

Publication number
WO2020258066A1
WO2020258066A1 PCT/CN2019/092914 CN2019092914W WO2020258066A1 WO 2020258066 A1 WO2020258066 A1 WO 2020258066A1 CN 2019092914 W CN2019092914 W CN 2019092914W WO 2020258066 A1 WO2020258066 A1 WO 2020258066A1
Authority
WO
WIPO (PCT)
Prior art keywords
drone
route
waypoint
circle
current position
Prior art date
Application number
PCT/CN2019/092914
Other languages
French (fr)
Chinese (zh)
Inventor
钱明新
林灿龙
李罗川
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/092914 priority Critical patent/WO2020258066A1/en
Priority to CN201980012528.1A priority patent/CN111742277B/en
Publication of WO2020258066A1 publication Critical patent/WO2020258066A1/en

Links

Images

Classifications

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

Definitions

  • the embodiments of the present invention relate to the field of unmanned aerial vehicles, and in particular to a control method, equipment, unmanned aerial vehicle and storage medium of an unmanned aerial vehicle.
  • Vertical take-off and landing UAV is a new type of aircraft that has developed rapidly in recent years. It also has the vertical take-off and landing of rotary-wing aircraft and the ability to hover in the air and fly at low speeds, and the ability of fixed-wing aircraft to fly at high speed with lower energy consumption. It has strong industry application value.
  • the vertical take-off and landing drone can fly according to the pre-planned route by the user. For example, the vertical take-off and landing drone can receive multiple waypoint information sent by the ground control terminal, and automatically fly from the current position to the first waypoint, and Start flying along the pre-planned route from this first waypoint.
  • the embodiment of the present invention provides a control method, equipment, unmanned aerial vehicle and storage medium of an unmanned aerial vehicle, so that the unmanned aerial vehicle smoothly enters the first waypoint of a preset route with a small deviation and improves the unmanned aerial vehicle The tracking effect of the preset route in the initial stage of the preset route.
  • the first aspect of the embodiments of the present invention is to provide a control method of a drone, including:
  • the target route from the current position of the drone to the first waypoint , Wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the second waypoint along the preset route
  • the directions of all waypoints are the same;
  • the drone is controlled to fly to the first waypoint.
  • the second aspect of the embodiments of the present invention is to provide a drone control device, including: a memory and a processor;
  • the memory is used to store program codes
  • the processor calls the program code, and when the program code is executed, is used to perform the following operations:
  • the target route from the current position of the drone to the first waypoint , Wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the second waypoint along the preset route
  • the directions of all waypoints are the same;
  • the drone is controlled to fly to the first waypoint.
  • the third aspect of the embodiments of the present invention is to provide a drone, including:
  • the power system is installed on the fuselage to provide flight power
  • the fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
  • the control method, equipment, drone, and storage medium of the drone provided in this embodiment are based on the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. , Determine the target route of the UAV from the current position to the first waypoint, because the target route refers to the position information of the first waypoint and the second waypoint in the preset route, and there is no
  • the direction when the human machine enters the first waypoint is the same as the direction that the drone flies from the first waypoint to the second waypoint.
  • FIG. 1 is a flowchart of a method for controlling a drone provided by an embodiment of the present invention
  • Figure 2 is a schematic diagram of an application scenario provided by an embodiment of the present invention.
  • FIG. 3 is a flowchart of a control method of a drone provided by another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another application scenario provided by an embodiment of the present invention.
  • Figure 5 is a schematic diagram of multiple alternative routes provided by an embodiment of the present invention.
  • Figure 6 is a top view of an alternative route provided by an embodiment of the present invention.
  • Figure 7 is a side view of an alternative route provided by an embodiment of the present invention.
  • Figure 8 is a top view of another alternative route provided by an embodiment of the present invention.
  • Figure 9 is a side view of another alternative route provided by an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another multiple alternative routes provided by an embodiment of the present invention.
  • FIG. 11 is a flowchart of a control method of a drone provided by another embodiment of the present invention.
  • FIG. 12 is a schematic diagram of the horizontal range and height change of an unmanned aerial vehicle according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of the horizontal range and height change of another drone provided by an embodiment of the present invention.
  • Fig. 14 is a structural diagram of a UAV control device provided by an embodiment of the present invention.
  • 51 the first ending circle; 52: the second ending circle; 11: the first waypoint;
  • a component when a component is said to be “fixed to” another component, it can be directly on the other component or a central component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to the other component or there may be a centered component at the same time.
  • Fig. 1 is a flowchart of a method for controlling a drone provided by an embodiment of the present invention. As shown in Figure 1, the method in this embodiment may include:
  • Step S101 Determine from the current position of the drone to the first waypoint according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route The target route, wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the destination along the preset route The direction of the second waypoint is the same.
  • the execution subject of the method in this embodiment may be the control device of the drone, and the control device may be the flight controller of the drone, or other devices, components or equipment for controlling the flight of the drone.
  • the direction when the drone enters the first waypoint along the target route is the same as the direction the drone flies from the first waypoint to the second waypoint along the preset route.
  • the arc of the target route entering the first waypoint has the same curvature as the arc of the drone flying from the first waypoint to the second waypoint along the preset route.
  • the direction when the drone enters the first waypoint along the target route is the same as the direction the drone flies from the first waypoint to the second waypoint along the preset route.
  • the direction in which the target route enters the first waypoint is the same as the direction in which the first waypoint points to the second waypoint.
  • the UAV 20 needs to perform the flight mission of the preset route shown by the dotted line. Before executing the flight mission, the UAV 20 needs to fly from the current position to the first one of the preset route.
  • Waypoint 21 the UAV 20 may pre-store relevant information of each waypoint among the multiple waypoints included in the preset route, and the relevant information of each waypoint may specifically include the altitude information and location of the waypoint. Information, the speed information of the drone at the waypoint, etc.
  • the control device of the drone 20 when the drone 20 needs to fly from the current position to the first waypoint 21 of the preset route, the control device of the drone 20 first needs to determine from the current position to the first waypoint 21 The target route at point 21 is further controlled to control the drone 20 to fly from the current position to the first waypoint 21 of the preset route according to the target route.
  • the control device of the UAV 20 can determine from the current position to the position information of the first waypoint 21 and the second waypoint 22 of the preset route according to the current position information of the UAV 20 The target route of the first waypoint 21.
  • the control device of the drone 20 can determine the route segment between the first waypoint 21 and the second waypoint 22 according to the position information of the first waypoint 21 and the second waypoint 22, and further , Determine the reverse extension line 23 of the route segment, the length of the reverse extension line 23 can be determined by the control device, and the specific length value is not limited here. Further, the control device can determine a curve or straight line that smoothly transitions from the current position to the reverse extension line 23, and the curve or straight line and the reverse extension line 23 can constitute a target from the current position to the first waypoint 21 route. Since the target route includes the reverse extension line 23, the direction when the drone enters the first waypoint along the target route can be made to be the same as that of the drone flying along the preset route from the first waypoint to the second waypoint. The direction is the same.
  • Step S102 Control the drone to fly to the first waypoint according to the target route.
  • the control device can control the drone 20 to fly from the current position to the reverse extension line 23 according to the curve shown by the arrow, and further, control the drone according to the reverse extension line 23.
  • the man-machine 20 flies to the first waypoint 21.
  • the flying height of the drone 20 on the reverse extension line 23 may be the height corresponding to the first waypoint 21, and the flying speed of the drone 20 on the reverse extension line 23 may be the first waypoint.
  • the flying direction of the drone 20 on the reverse extension line 23 is the direction of the route segment between the first waypoint 21 and the second waypoint 22.
  • control device of the drone may also be a control terminal corresponding to the drone.
  • the control terminal may specifically be a ground control terminal.
  • the ground control terminal may be, for example, a mobile phone, a tablet computer, a laptop, etc. .
  • the control method, equipment, drone, and storage medium of the drone provided in this embodiment are based on the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. , Determine the target route of the UAV from the current position to the first waypoint, because the target route refers to the position information of the first waypoint and the second waypoint in the preset route, and there is no
  • the direction when the human machine enters the first waypoint is the same as the direction that the drone flies from the first waypoint to the second waypoint.
  • the embodiment of the present invention provides a control method of a drone.
  • Fig. 3 is a flowchart of a control method for a drone provided by another embodiment of the present invention.
  • the target route from the current position of the man-machine to the first waypoint includes: according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, Determine multiple alternative routes from the current position of the drone to the first waypoint; determine the target route from the multiple alternative routes.
  • the control device of the UAV 20 determines from the current position information of the UAV 20 and the position information of the first waypoint 21 and the second waypoint 22 of the preset route.
  • the control device can determine from the current position to the first waypoint based on the current position information of the drone 20 and the position information of the first waypoint 21 and the second waypoint 22 of the preset route. Multiple alternative routes for each waypoint 21, and further, the target route is determined from the multiple alternative routes.
  • the method of the embodiment of the present invention can be applied to a vertical take-off and landing UAV.
  • the vertical take-off and landing UAV includes a rotor power system and a fixed wing power system, which can be freely switched between the two modes of the rotor and the fixed wing.
  • the rotor power system provides the power of the UAV
  • the fixed-wing power system provides the power of the UAV.
  • Step S301 Determine a first starting circle and a second starting circle that are tangent to the speed direction of the drone at the current position according to the current position information of the drone.
  • point B represents the current location of the drone
  • the arrow represents the speed direction of the drone at the current location.
  • the current location information that is, the location information of point B and the speed direction
  • the two circles that are tangent to the speed direction of the drone at the current position are denoted as the first starting circle 41 and the second starting circle 42 respectively.
  • This embodiment does not limit the radii of the first starting circle 41 and the second starting circle 42, and the radius may be specifically set by the user through the control terminal.
  • the starting circle on the left side of the speed direction can be marked as the first starting circle 41, and the starting circle on the right side of the speed direction
  • the starting circle is marked as the second starting circle 42.
  • the starting circle on the left side of the speed direction may be recorded as the second starting circle 42, and the starting circle on the right side of the speed direction may be recorded as the first starting circle 41.
  • first starting circle 41 rotates counterclockwise and the second starting circle 42 rotates clockwise as an example for schematic illustration.
  • first starting circle 41 can also rotate clockwise
  • second starting circle 42 can rotate counterclockwise.
  • Step S302 Determine a first ending circle and a second ending circle according to the route segment between the first waypoint and the second waypoint in the preset route, the first ending circle and the second ending circle The ending circles are respectively tangent to the reverse extension line of the route segment.
  • the route segment between the first waypoint 21 and the second waypoint 22 can be determined.
  • the reverse extension line 23 of the route segment can be determined, and further, two circles tangent to the reverse extension line 23 can be determined, and these two circles are marked as the first end circle 51 and the second end circle 52 respectively.
  • the length of the reverse extension line 23 and the radius of the first end circle 51 and the second end circle 52 can be set by the user through the control terminal.
  • the end circle on the left side of the reverse extension line 23 is recorded as the first end circle 51, and the end circle on the right side of the reverse extension line 23 is recorded as the second end circle 52.
  • the ending circle on the left side of the reverse extension line 23 may be recorded as the second ending circle 52, and the ending circle on the right side of the reverse extension line 23 may be recorded as the first ending circle 51.
  • first end circle 51 rotates counterclockwise and the second end circle 52 rotates clockwise as an example for schematic illustration.
  • first end circle 51 can also rotate clockwise
  • second end circle 52 can rotate counterclockwise.
  • Step S303 According to the first starting circle or the second starting circle, and the first ending circle or the second ending circle, determine from the current position of the drone to the first Multiple alternative routes for waypoints.
  • a number of points from the current position B of the drone to the first waypoint 21 are determined Alternative routes.
  • multiple alternative routes can be generated by tangent connection between the start circle and the end circle.
  • WP 1 represents the first waypoint
  • WP 2 represents the second waypoint 22
  • the left starting circle corresponds to the first starting circle 41 in this embodiment
  • the right starting circle corresponds to the second starting circle 42 in this embodiment
  • the left ending circle corresponds to the first ending circle 51 in this embodiment
  • the right ending circle corresponds to the second ending circle 52 in this embodiment.
  • the horizontal range marking the tangent line between the two circles is infinite.
  • each of the multiple alternative routes includes a first route segment, a second route segment, and a third route segment that are sequentially connected;
  • the first route segment may be projected on a first circle
  • the third route segment may be projected on a second circle, the second route segment is respectively tangent to the first circle and the second circle, and the first circle is the first starting circle or the A second starting circle, the second circle being the first ending circle or the second ending circle.
  • an alternative route generated by connecting the left start circle and the right end circle through a tangent is taken as an example for schematic illustration.
  • Figure 6 shows a plan view of the alternative route
  • Figure 7 shows the alternative route.
  • the alternative route includes multiple route segments, as shown in Figures 6 and 7, the alternative route includes route segments numbered 2-5, that is, the alternative route is from the current position B to the first waypoint WP 1 route.
  • the route segment numbered 1 is the route for the drone to fly along the target direction to the current position B after rising from the starting point, such as the Home point, to the preset height.
  • the route segment numbered 2 is recorded as the first route segment
  • the route segment numbered 3 is recorded as the second route segment
  • the route segment numbered 4 is recorded as the third route segment.
  • the first route segment that is, the route segment numbered 2 can be projected on the left starting circle, which is the first starting circle 41
  • the third route segment, that is the route segment numbered 4 can be projected on the right end circle, which is the second ending circle 52.
  • the second route segment, the route segment numbered 3, is tangent to the left start circle and the right end circle.
  • the first route segment can be projected on the right start circle
  • the third route segment can be projected on the left end circle.
  • the second route segment is respectively tangent to the right start circle and the left end circle.
  • the first route segment can be projected on the left start circle
  • the third route segment can be projected on the left end circle.
  • the second route segment is tangent to the left start circle and the left end circle respectively.
  • the first route segment can be projected on the right start circle
  • the third route segment can be projected on the right end circle.
  • the second route segment is tangent to the right start circle and right end circle respectively.
  • the circle projected on the first route segment is recorded as the first circle
  • the circle projected on the third route segment is recorded as the second circle.
  • the first circle can be the first starting circle or the first circle.
  • the second circle may be the first ending circle or the second ending circle.
  • the user can also set a climbing circle between the start circle and the end circle.
  • the position and radius of the climb circle can also be set by the user through the control terminal.
  • the climb circle can be set In a preset area with no obstacles.
  • the climb circle can also rotate counterclockwise or clockwise.
  • the Multiple alternative routes from the current position to the first waypoint including: according to the first starting circle or the second starting circle, the climb circle, and the first ending circle or the The second end circle determines multiple alternative routes from the current position of the drone to the first waypoint.
  • the start circle and the climb circle are connected by a tangent line and the climb circle and the end circle are connected by a tangent line to generate multiple alternative routes.
  • two start circles rotate counterclockwise or rotate clockwise
  • the climb circle and the two end circles connected by tangents can generate 8 alternative routes, as shown in Figure 10, where 11 represents the first waypoint and 12 represents the second waypoint.
  • the horizontal range marking the tangent line between the two circles is infinite.
  • the second route segment includes a first sub-route, a second sub-route, and a third sub-route; wherein the first sub-route is connected to the first route segment, and the third sub-route is connected to the The third route segment is connected; the second sub route can be projected on a climb circle, the first sub route is tangent to the first circle and the climb circle, and the third sub route is connected to the climb circle.
  • the second circle is tangent to the climbing circle.
  • the climb circle is set by the user through the user interface of the control terminal.
  • the alternative route generated by the way that the left starting circle, the counterclockwise rotating climb circle and the right end circle are connected by a tangent line is used as an example to illustrate schematically, that is, taking the eight alternative routes shown in FIG. 10 Take one as an example for schematic illustration, and other alternative routes are similar.
  • Fig. 8 shows a top view of the alternative route
  • Fig. 9 shows a side view of the alternative route.
  • the alternative route includes multiple route segments, as shown in Figures 8 and 9, the alternative route includes route segments numbered 2-7, that is, the alternative route is from the current position B to the first waypoint WP 1 route.
  • the route segment numbered 1 is the route for the drone to fly along the target direction to the current position B after rising from the starting point, such as the Home point, to the preset height.
  • the route segment numbered 2 is recorded as the first route segment
  • the route segment composed of numbers 3, 4, and 5 is recorded as the second route segment
  • the route segment numbered 6 is recorded as the third route segment.
  • the first route segment, the route segment numbered 2 can be projected on the left starting circle, that is, the first starting circle 41
  • the route segment numbered 6 can be projected on the right end circle, that is the second ending circle 52 .
  • record the route segment numbered 4 as the second sub-route of the second route segment
  • the route numbered 5 The segment is recorded as the third sub-route of the second route segment.
  • the route segment numbered 3 is the first sub-route connected with the route segment numbered 2 that is the first route segment
  • the route segment numbered 5 is the third sub-route
  • the route segment numbered 6 is the third route segment connection.
  • the route segment numbered 4, that is, the second sub-route can be projected on the climb circle
  • the route segment numbered 3 is tangent to the left starting circle and the counterclockwise rotation climbing circle
  • the route segment numbered 5 is connected to the right end circle. Tangent to the climbing circle rotating counterclockwise.
  • each of the alternative routes further includes: a fourth route segment, and the fourth route segment is respectively connected to the third route segment and the first waypoint.
  • the alternative route further includes a fourth route segment, and the fourth route segment may be a route segment numbered 5.
  • the fourth route segment is respectively connected with the third route segment, the route segment numbered 4 and the first waypoint WP 1 .
  • the stage when the drone flies along the route segment numbered 1 is recorded as the forward transition stage, and the stage when the drone flies along the route segment numbered 2 is recorded as the start In the arc phase, the phase where the drone flies along the route segment numbered 3 is recorded as the end circle tangent phase, and the phase where the drone flies along the route segment numbered 4 is recorded as the end arc phase.
  • the stage in which the drone flies along the route segment numbered 5 is recorded as the pre-planning stage for the preset route.
  • the alternative route further includes a fourth route segment, and the fourth route segment may be a route segment numbered 7.
  • the fourth route segment is respectively connected to the third route segment, the route segment numbered 6 and the first waypoint WP 1 .
  • the stage where the drone flies along the route segment numbered 1 is recorded as the forward transition stage, and the stage where the drone flies along the route segment numbered 2 as the start In the arc phase, the phase where the drone flies along the route segment numbered 3 is recorded as the climb circle tangent phase, and the phase where the drone flies along the route segment numbered 4 is recorded as the arc of climb phase.
  • the stage when the drone flies along the route segment numbered 5 is recorded as the end circle tangent stage, and the stage when the drone flies along the route segment numbered 6 is recorded as the end arc stage, and the drone travels along the The flight stage of the route segment numbered 7 is recorded as the pre-route preparation stage.
  • the fourth route segment may be particularly mentioned above the first waypoint WP reverse route segment between the extended line 21 and the second waypoints WP.
  • the fourth route segment satisfies at least one of the following conditions: the height of the fourth route segment is the same as the height of the first waypoint; the drone is on the fourth route segment The flight speed is the same as the preset speed of the first waypoint; the direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
  • the fourth route segment may satisfy at least one of the following conditions: the height of the fourth route segment is the same as the height of the first waypoint WP 1 ; The flight speed of the man-machine on the fourth route segment is the same as the preset speed of the first waypoint WP 1 ; the direction of the fourth route segment is between the first waypoint WP 1 and the second waypoint WP 2 The directions of the route segments are the same.
  • the flying speed of the drone on the first route segment, the second route segment, and the third route segment is a preset speed of the first waypoint.
  • the drone when the drone flies on the first route segment, the second route segment, and the third route segment of the alternative route, the drone can Use the preset speed of the first waypoint WP 1 to fly, that is to say, starting from the current position of the drone at point B, the drone can follow the preset speed of the first waypoint WP 1 The size of the speed to fly.
  • the first starting circle and the second starting circle that are tangent to the speed direction of the drone at the current position are determined, and according to the preset route For the route segment between the first waypoint and the second waypoint, the first ending circle and the second ending circle are determined, and based on the first starting circle or the second starting circle, and the first The ending circle or the second ending circle determines multiple alternative routes from the current position of the drone to the first waypoint, thereby realizing the diversity of alternative routes.
  • a climbing circle in a preset area with no obstacles it can effectively prevent the drone from touching obstacles during the climbing process, thereby improving the flight safety of the drone.
  • the height of the fourth route segment is the same as the height of the first waypoint; the flying speed of the drone on the fourth route segment is The preset speed of the first waypoint is the same; the direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
  • the man-machine smoothly enters the first waypoint with a small deviation, which improves the tracking effect of the UAV in the initial stage of the preset route.
  • the embodiment of the present invention provides a control method of a drone.
  • Fig. 11 is a flow chart of a control method of a drone provided by another embodiment of the present invention. As shown in FIG. 11, on the basis of the foregoing embodiment, the altitude of the drone gradually increases on at least one of the first route segment, the second route segment, and the third route segment. .
  • Fig. 12 is a schematic diagram of the horizontal range and height changes of the UAV when the UAV is flying along the alternative route shown in Fig. 6 or Fig. 7.
  • the altitude of the drone gradually increases on the first route segment, the route segment numbered 2, the second route segment, the route segment numbered 3, and the third route segment, the route segment numbered 4. increase.
  • the UAV repeated circling and climbing along the right end circle on the route segment numbered 4.
  • the height of the drone may only gradually increase in the first route segment, the second route segment, or the third route segment, or the height of the drone is in the first route segment, the second route segment, or the third route segment. It gradually increases on any two of the route segment and the third route segment.
  • Fig. 13 is a schematic diagram of the horizontal range and altitude changes of the UAV when the UAV flies along the alternative route shown in Fig. 8 or Fig. 9.
  • the altitude of the drone is in the first route segment, the route segment numbered 2, the first sub-route of the second route segment, the route segment numbered 3, and the second route segment.
  • the second sub-route is gradually increasing on the route segment numbered 4.
  • the UAV repeated circling and climbing along the climb circle on the route segment numbered 4.
  • the target route is determined from the four alternative routes shown in FIG. 5.
  • the target route is determined from the eight alternative routes shown in FIG. 10.
  • the determining the target route from the multiple alternative routes includes:
  • Step S1101. In the process of determining that the drone flies from the current position to the first waypoint along each of the multiple alternative routes, the drone The horizontal voyage.
  • the alternative route shown in FIG. 6 or FIG. 7 is one of the four alternative routes shown in FIG. 5.
  • the alternative route along the UAV illustrated in FIG. 6 or FIG. 7 flying height UAVs up from a current position of the point B to the height of the first height of a waypoint WP 1.
  • the entire process UAV climb up from the current height position of the point B to the first waypoint WP during the initial height of a circular arc in the stage, and a terminating stage Tangent circular arc terminating stages.
  • the UAV can repeatedly circling and climb during the ending arc stage, and the horizontal range S of the UAV during the entire climbing process is equal to the sum of the horizontal range of these three stages.
  • the horizontal range of the drone during the entire climb process can be calculated when the drone is flying along the other alternative routes among the 4 alternative routes as shown in Figure 5, and then the drone's horizontal range can be obtained.
  • the horizontal range of the UAV during the flight from the current position to the first waypoint for each alternative route.
  • the alternative route shown in FIG. 8 or FIG. 9 is one of the eight alternative routes shown in FIG. 10.
  • UAV height raised from the current height position of the point B to the height of the first waypoint WP 1 is.
  • the entire climbing process of the drone that is, the process of rising from the height of point B at the current position to the height of the first waypoint WP 1 is completed in the initial arc phase, the climb circle tangent phase, and the climb arc phase. It is possible to repeat the circling climb during the arc of climb.
  • the horizontal range S of the UAV during the entire climb is equal to the sum of the horizontal range of these three stages.
  • the horizontal range of the drone during the entire climb process can be calculated when the drone is flying along the other alternative routes among the 8 alternative routes as shown in Figure 10, and then the drone's horizontal range can be obtained.
  • the horizontal range of the UAV during the flight from the current position to the first waypoint for each alternative route.
  • Step S1102 Determine the candidate route with the shortest horizontal range among the multiple candidate routes as the target route.
  • the alternative route with the shortest horizontal range among the four alternative routes shown in FIG. 5 is determined as the target route.
  • the alternative route with the shortest horizontal range among the eight alternative routes shown in FIG. 10 is determined as the target route.
  • the control device will control the drone to follow the route numbered 2-5 The segments fly to the first waypoint in sequence.
  • the control device will control the drone to follow the sequence of route segments numbered 2-7 Fly to the first waypoint.
  • the The horizontal range of the drone includes: determining that the drone is flying along the alternative route according to the height of the drone at the current position and the height of the first waypoint.
  • the number of laps that the drone needs to hover and climb on the second route segment and/or the third route segment; according to the drone's needs in the second route segment and/or the third route segment The number of circling and climbing laps on the segment to determine the level of the drone during the process of rising from the height of the current position to the height of the first waypoint along the alternative route voyage.
  • the altitude of point B at the current position of the drone is recorded as the initial altitude h 0
  • the altitude of the first waypoint WP 1 is recorded as the target altitude h tgt .
  • the tangent point between the route segment numbered 5 and the right end circle is marked as point D, that is, the altitude of the drone at point D reaches the height of the first waypoint WP 1 .
  • the horizontal range S of the drone during the entire climb is the horizontal range from point B to point D.
  • the horizontal range S of the drone during the entire climb is the horizontal range from point B to point D plus a 2 ⁇ R, where, R represents the radius of the right end circle.
  • the horizontal range S of the drone during the entire climb is the horizontal range from point B to point D plus two 2 ⁇ R.
  • the horizontal range S of the drone during the entire climb process increases by 2 ⁇ R. Therefore, when calculating the horizontal range S of the UAV during the entire climb process, it is necessary to calculate the number of cycles that the UAV repeats hovering and climbing on the right end circle, and according to the UAV repeating hovering and climbing on the right end circle The number of laps to determine the drone's horizontal range S during the process of rising from the height of the current position to the height of the first waypoint along the alternative route shown in Figure 6 or Figure 7, and then Obtain the horizontal range of the drone during the flight from the current position to the first waypoint along each alternative route.
  • the drone when the drone is flying from the current position to the height of the first waypoint along the alternate route shown in Figure 8 or Figure 9, the drone can repeat the circling climb on the climb circle according to the drone.
  • the drone can also hover repeatedly on the climb circle and the end circle. At this time, the drone can be determined according to the number of cycles the drone has repeatedly hovered and climbed on the climb circle and the end circle. The horizontal range S during the entire climb process, and then obtain the horizontal range of the UAV during the process of flying from the current position to the first waypoint along each alternative route.
  • the unmanned The number of laps that the aircraft needs to hover and climb on the second route segment and/or the third route segment includes: according to the altitude of the drone at the current position and the altitude of the first waypoint
  • the drone needs to hover and climb on the second route segment and/or the third route segment, and the hover climb
  • the trajectory inclination of is less than or equal to the preset climb trajectory inclination threshold.
  • the trajectory inclination of the drone hovering and climbing is determined according to the height difference between the height of the drone at the current position and the height of the first waypoint, and the horizontal range.
  • the trajectory inclination ⁇ of the circling and climbing of the UAV can be calculated every additional circle.
  • the increase is stopped until the calculated trajectory inclination angle ⁇ of the UAV hovering climb is less than or equal to the preset climb trajectory inclination angle threshold.
  • the preset climb trajectory inclination angle threshold is recorded as ⁇ max , and the preset climb trajectory inclination threshold ⁇ max may specifically be the maximum allowable climb trajectory inclination angle set by the user, that is, satisfy the condition When, stop increasing.
  • the number of times the UAV repeatedly circulates and climbs on the right termination circle is the final number of laps that the drone needs to circulate and climb on the right termination circle.
  • the unmanned The horizontal voyage of the aircraft by determining that the drone is flying from the current position to the first waypoint along each of the multiple alternative routes, the unmanned The horizontal voyage of the aircraft, the candidate route with the shortest horizontal voyage among the multiple alternative routes is determined as the target route, so that the UAV can maximize the flight from the current position to the first waypoint To save energy.
  • the embodiment of the present invention provides a control method of a drone.
  • the method further includes: controlling the drone to fly from the starting point to a preset height and then fly along the target direction to the current position.
  • point A represents the starting point of the drone, such as the Home point.
  • the control device controls the drone to rise from point A to the preset height arrival point C, further, fly from point C to the current position point B along the target direction, that is, the forward transition stage numbered 1 as shown in FIG.
  • the drone is a vertical take-off and landing drone, and controlling the drone to rise from a starting point to a preset height includes: controlling the drone to rise from the starting point to a preset height in a rotor mode Preset height. For example, after the drone starts to take off from point A, the control device controls the drone to rise from point A to a preset height in a rotor mode.
  • the target direction is a direction indicated by a remote control instruction sent by a control terminal, or a direction when the drone rises to the preset height.
  • the user can send a remote control instruction to the drone through the control terminal, and the remote control instruction can adjust the direction of the drone.
  • the target direction may specifically be the direction indicated by the remote control instruction of the control terminal when the drone reaches the preset height.
  • the target direction may be the direction of the drone when the drone reaches the preset height.
  • the flight mode of the drone is changed from the rotor mode to the fixed-wing mode.
  • the drone when the drone rises from the point A to the preset height h in the rotor mode, it hoveres at the point C, and further, flies from the point C to the current position point B along the target direction as described above.
  • the flight mode of the drone changes from rotor mode to fixed-wing mode, that is to say, when the flying mode of the drone at the current position point B is fixed-wing mode .
  • the method further includes: when the rotor lift of the drone is less than a preset lift, and When the airspeed of the drone is greater than the first airspeed threshold, the drone is switched from the rotor mode to the fixed wing mode.
  • the drone can be Switch from rotor mode to fixed wing mode.
  • the method further includes: when the airspeed of the drone is greater than a second airspeed When the threshold is reached, the drone is switched from the rotor mode to the fixed wing mode.
  • the drone in the process of flying from point C to point B at the current position, when the airspeed of the drone is greater than the second airspeed threshold, the drone can be switched from the rotor mode to the fixed wing mode.
  • the second airspeed threshold is greater than the first airspeed threshold.
  • the drone is controlled to fly to the current position along the target direction after rising from the starting point to a preset height, and when the drone flies along the target direction to the current position
  • the flight mode of the drone is changed from the rotor mode to the fixed-wing mode, which further saves the energy of the drone.
  • an application scenario in which the climb circle is not required to determine the multiple alternative routes is taken as an example to schematically illustrate the process of determining the target route.
  • the position coordinates of the first waypoint in the preset route relative to the UAV Home point are (-500m, 550m), and the height of the first waypoint relative to the ground is 200 meters.
  • the position coordinates of the second waypoint in the preset route relative to the UAV Home point are (-500m, 650m), and the height of the second waypoint relative to the ground is 200 meters.
  • the maximum allowable climb trajectory inclination angle ⁇ max set by the user through the control terminal is 5 degrees.
  • the radius of the starting circle and the ending circle are both 100 meters, and the length of the reverse extension of the route segment between the first waypoint 21 and the second waypoint 22 is 50 meters.
  • the preset altitude for the drone to take off from the Home point is 60 meters.
  • the UAV When the UAV needs to perform the flight mission of the preset route as shown by the dotted line shown in Figure 2, the UAV will automatically take off and lift off the ground in rotor mode from the Home point.
  • the rod can change the heading of the drone, for example, so that the heading of the drone is aligned with the target direction.
  • the target direction can be the direction from the first waypoint to the second waypoint.
  • the UAV When the UAV rises to a preset height of 60 meters, the UAV automatically triggers the flight route entry mission.
  • the UAV first enters the forward transition process.
  • the flight mode of the UAV switches from rotor mode to fixed wing mode, and the moment when the UAV switches from rotor mode to fixed wing mode
  • the height is 60m
  • the instantaneous position relative to the home point is (0m, 100m).
  • the speed direction of the drone is the target direction.
  • the instantaneous position is specifically the current position point B as described above.
  • two start points tangent to the speed direction are dynamically generated on the left and right sides of the speed direction.
  • Starting circle the coordinates of the center of the starting circle on the left are (-100m, 100m), and the coordinates of the center of the starting circle on the right are (100m, 100m); the opposite of the route segment between the first waypoint and the second waypoint
  • Two end circles are dynamically generated to both sides of the extension line, the center position coordinates of the left end circle are (-600m, 500m), and the center position coordinates of the right end circle are (-400m, 500m).
  • the drone's horizontal range is 1896m, and the number of cycles the drone needs to circle and climb on the left end circle is 1 circle ,
  • the trajectory inclination angle of the UAV hovering and climbing is 4.22°.
  • the drone's horizontal range is 1896m
  • the number of cycles the drone needs to hover and climb on the right end circle is 1 circle
  • the trajectory inclination angle of the UAV hovering and climbing is 4.22°.
  • the drone when the drone flies along an alternative route consisting of a right start circle and a left end circle, the drone's horizontal range is the shortest. Therefore, the right start circle and left end circle
  • the alternate route composed of circles serves as the target route of the UAV from the current position point B to the first waypoint.
  • the UAV flies to the first waypoint in sequence according to the starting arc phase, the ending circle tangent phase, the ending arc phase, and the preparation phase before entering the preset route corresponding to the target route.
  • FIG. 14 is a structural diagram of a UAV control device provided by an embodiment of the present invention.
  • the control device 140 includes: a memory 141 and a processor 142; the memory 141 is used to store program codes; the processor 142, The program code is called, and when the program code is executed, it is used to perform the following operations:
  • the control device 140 includes: a memory 141 and a processor 142; the memory 141 is used to store program codes; the processor 142, The program code is called, and when the program code is executed, it is used to perform the following operations:
  • According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route determine from The target route from the current position of the drone to the first waypoint, wherein the direction when the drone enters the first waypoint along the target route is the same as the direction along the drone
  • the direction of the preset route from the first waypoint to the second waypoint is the same; according to the target route, the drone is controlled to fly to the first
  • the processor 142 determines from the current position of the drone to the first waypoint according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route.
  • the target route of a waypoint is specifically used to: determine from the unmanned aircraft according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route. Multiple alternative routes from the current position of the aircraft to the first waypoint; determining the target route from the multiple alternative routes.
  • the processor 142 determines from the current position of the drone to the current position of the drone according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route.
  • the multiple alternative routes of the first waypoint it is specifically used to determine the first starting circle and the first starting circle tangent to the speed direction of the drone at the current position according to the current position information of the drone
  • each of the multiple alternative routes includes a first route segment, a second route segment, and a third route segment that are sequentially connected; the first route segment may be projected on the first route segment.
  • Circle, the third route segment can be projected on a second circle, the second route segment is respectively tangent to the first circle and the second circle, and the first circle is the first starting circle or The second starting circle, the second circle is the first ending circle or the second ending circle.
  • the second route segment includes a first sub-route, a second sub-route, and a third sub-route; wherein the first sub-route is connected to the first route segment, and the third sub-route is connected to the The third route segment is connected; the second sub route can be projected on a climb circle, the first sub route is tangent to the first circle and the climb circle, and the third sub route is connected to the climb circle.
  • the second circle is tangent to the climbing circle.
  • the climb circle is set by the user through the user interface of the control terminal.
  • the processor 142 determines from the current position of the drone to the current position of the drone according to the first starting circle or the second starting circle, and the first ending circle or the second ending circle.
  • the multiple alternative routes of the first waypoint are specifically used to: according to the first starting circle or the second starting circle, the climb circle, and the first ending circle or the first Second, the termination circle is to determine multiple alternative routes from the current position of the drone to the first waypoint.
  • each of the candidate routes further includes: a fourth route segment, and the fourth route segment is respectively connected to the third route segment and the first waypoint.
  • the fourth route segment satisfies at least one of the following conditions: the height of the fourth route segment is the same as the height of the first waypoint; the drone is on the fourth route segment The flight speed is the same as the preset speed of the first waypoint; the direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
  • the flying speed of the drone on the first route segment, the second route segment, and the third route segment is a preset speed of the first waypoint.
  • the altitude of the drone gradually increases on at least one of the first route segment, the second route segment, and the third route segment.
  • the processor 142 determines the target route from the multiple alternative routes, it is specifically configured to: determine that the drone follows each of the multiple alternative routes. During the course of the route from the current position to the first waypoint, the horizontal range of the UAV; the candidate route with the shortest horizontal range among the multiple alternative routes is determined as the target route .
  • the processor 142 determines that while the drone is flying from the current position to the first waypoint along each of the multiple alternative routes, When the horizontal range of the drone is described, it is specifically used to: determine that the drone is along the alternative route according to the height of the drone at the current position and the height of the first waypoint When flying, the drone needs to hover and climb the number of laps on the second route segment and/or the third route segment; according to the drone's needs in the second route segment and/or the third route segment The number of circling and climbing laps on the third route segment determines the level of the drone during the flight from the current position to the first waypoint along the alternative route voyage.
  • the processor 142 determines that when the drone is flying along the alternative route according to the altitude of the drone at the current position and the altitude of the first waypoint, the When the man-machine needs to hover and climb the number of laps on the second route segment and/or the third route segment, it is specifically used to: according to the altitude of the drone at the current position and the first The altitude of the waypoint, determining the inclination of the trajectory at which the drone needs to hover and climb on the second route segment and/or the third route segment when the drone is flying along the alternative route, The trajectory inclination angle of the spiral climb is less than or equal to a preset climb trajectory inclination angle threshold.
  • the trajectory inclination of the drone hovering and climbing is based on the altitude difference between the altitude of the drone at the current position and the altitude of the first waypoint, and the altitude of the drone while climbing The horizontal voyage in the process is determined.
  • the processor 142 determines from the current position of the drone to the first waypoint according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route. Before the target route of a waypoint, it is also used to control the drone to fly along the target direction to the current position after ascending from the starting point to the preset height.
  • the target direction is a direction indicated by a remote control instruction sent by a control terminal, or a direction when the drone rises to the preset height.
  • the processor 142 controls the drone to rise from the starting point to the preset height, it is specifically configured to control the drone to rise from the starting point to the preset height in the rotor mode.
  • the flight mode of the drone is changed from the rotor mode to the fixed-wing mode.
  • the processor 142 is further configured to: when the rotor lift of the drone is less than a preset lift, and the When the airspeed of the man-machine is greater than the first airspeed threshold, the drone is switched from the rotor mode to the fixed wing mode.
  • the processor 142 is further configured to: when the airspeed of the drone is greater than a second airspeed threshold, The drone is switched from the rotor mode to the fixed wing mode.
  • the control method, equipment, drone, and storage medium of the drone provided in this embodiment are based on the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. , Determine the target route of the UAV from the current position to the first waypoint, because the target route refers to the position information of the first waypoint and the second waypoint in the preset route, and there is no
  • the direction when the human machine enters the first waypoint is the same as the direction that the drone flies from the first waypoint to the second waypoint.
  • the embodiment of the present invention provides a drone.
  • the unmanned aerial vehicle includes a fuselage, a power system, and the above-mentioned control device, wherein the power system is installed on the fuselage to provide flight power.
  • the power system includes at least one of the following: a motor, a propeller, and an electronic governor.
  • the control device can execute the above-mentioned UAV control method, and the specific principle and implementation process of the method are as described above, and will not be repeated here.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the drone control method described in the foregoing embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

A method and a device for controlling an unmanned aerial vehicle, an unmanned aerial vehicle and a storage medium thereof. The method comprises: according to current position information of an unmanned aerial vehicle and position information of a first waypoint and a second waypoint in a preset flight path, determining a target flight path from the current position of the unmanned aerial vehicle to the first waypoint, the direction of the unmanned aerial vehicle when entering the first waypoint along the target flight path being consistent with the direction of the unmanned aerial vehicle flying from the first waypoint to the second waypoint along the preset flight path (S101); and according to the target flight path, controlling the unmanned aerial vehicle to fly to the first waypoint (S102). The method can enable an unmanned aerial vehicle to smoothly enter a first waypoint of a preset flight path with a small deviation, thereby improving the tracking effect of the unmanned aerial vehicle on the preset flight path at an initial stage of the preset flight path.

Description

无人机的控制方法、设备、无人机及存储介质UAV control method, equipment, UAV and storage medium 技术领域Technical field
本发明实施例涉及无人机领域,尤其涉及一种无人机的控制方法、设备、无人机及存储介质。The embodiments of the present invention relate to the field of unmanned aerial vehicles, and in particular to a control method, equipment, unmanned aerial vehicle and storage medium of an unmanned aerial vehicle.
背景技术Background technique
垂直起降无人机是近年来发展迅速的一类新型航空器,同时具备旋翼飞行器的垂直起降并能在空中悬停和低速飞行的能力和固定翼飞行器以较低能耗高速飞行的能力,具有极强的行业应用价值。垂直起降无人机可以按照用户预先规划好的航线飞行,例如,垂直起降无人机可以接收地面控制端发送的多个航路点信息,从当前位置自动飞行到第一个航路点,并从该第一个航路点开始沿着预先规划好的航线飞行。Vertical take-off and landing UAV is a new type of aircraft that has developed rapidly in recent years. It also has the vertical take-off and landing of rotary-wing aircraft and the ability to hover in the air and fly at low speeds, and the ability of fixed-wing aircraft to fly at high speed with lower energy consumption. It has strong industry application value. The vertical take-off and landing drone can fly according to the pre-planned route by the user. For example, the vertical take-off and landing drone can receive multiple waypoint information sent by the ground control terminal, and automatically fly from the current position to the first waypoint, and Start flying along the pre-planned route from this first waypoint.
但是,现有技术中无人机在进入第一个航路点时,无法满足第一个航路点的要求,导致无人机进入第一个航路点之后,无法按照预先规划好的航线正常飞行。However, in the prior art, when the drone enters the first waypoint, it cannot meet the requirements of the first waypoint, resulting in the drone being unable to normally fly according to the pre-planned route after entering the first waypoint.
发明内容Summary of the invention
本发明实施例提供一种无人机的控制方法、设备、无人机及存储介质,以使无人机以较小的偏差平滑进入预设航线的第一个航路点,提高该无人机在该预设航线的初始阶段对该预设航线的跟踪效果。The embodiment of the present invention provides a control method, equipment, unmanned aerial vehicle and storage medium of an unmanned aerial vehicle, so that the unmanned aerial vehicle smoothly enters the first waypoint of a preset route with a small deviation and improves the unmanned aerial vehicle The tracking effect of the preset route in the initial stage of the preset route.
本发明实施例的第一方面是提供一种无人机的控制方法,包括:The first aspect of the embodiments of the present invention is to provide a control method of a drone, including:
根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,其中,所述无人机沿所述目标航线进入所述第一个航路点时的方向与所述无人机沿所述预设航线从所述第一个航路点飞行到所述第二个航路点的方向一致;According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine the target route from the current position of the drone to the first waypoint , Wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the second waypoint along the preset route The directions of all waypoints are the same;
根据所述目标航线,控制所述无人机飞行到所述第一个航路点。According to the target route, the drone is controlled to fly to the first waypoint.
本发明实施例的第二方面是提供一种无人机的控制设备,包括:存储器和处理器;The second aspect of the embodiments of the present invention is to provide a drone control device, including: a memory and a processor;
所述存储器用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,其中,所述无人机沿所述目标航线进入所述第一个航路点时的方向与所述无人机沿所述预设航线从所述第一个航路点飞行到所述第二个航路点的方向一致;According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine the target route from the current position of the drone to the first waypoint , Wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the second waypoint along the preset route The directions of all waypoints are the same;
根据所述目标航线,控制所述无人机飞行到所述第一个航路点。According to the target route, the drone is controlled to fly to the first waypoint.
本发明实施例的第三方面是提供一种无人机,包括:The third aspect of the embodiments of the present invention is to provide a drone, including:
机身;body;
动力系统,安装在所述机身,用于提供飞行动力;The power system is installed on the fuselage to provide flight power;
以及第二方面所述的控制设备。And the control device described in the second aspect.
本发明实施例的第四方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。The fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
本实施例提供的无人机的控制方法、设备、无人机及存储介质,通过根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定所述无人机从当前位置到所述第一个航路点的目标航线,由于该目标航线参考了预设航线中的第一个航路点和第二个航路点的位置信息,并且无人机进入第一个航路点时的方向与无人机从第一个航路点飞行到第二个航路点的方向一致,因此,当无人机沿着该目标航线飞行到该第一个航路点时,可以使得该无人机以较小的偏差平滑进入第一个航路点,提高了该无人机在该预设航线的初始阶段对该预设航线的跟踪效果。The control method, equipment, drone, and storage medium of the drone provided in this embodiment are based on the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. , Determine the target route of the UAV from the current position to the first waypoint, because the target route refers to the position information of the first waypoint and the second waypoint in the preset route, and there is no The direction when the human machine enters the first waypoint is the same as the direction that the drone flies from the first waypoint to the second waypoint. Therefore, when the drone flies along the target route to the first waypoint It can make the UAV smoothly enter the first waypoint with a small deviation when the point is selected, which improves the tracking effect of the UAV on the preset route in the initial stage of the preset route.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本发明实施例提供的无人机的控制方法的流程图;FIG. 1 is a flowchart of a method for controlling a drone provided by an embodiment of the present invention;
图2为本发明实施例提供的一种应用场景的示意图;Figure 2 is a schematic diagram of an application scenario provided by an embodiment of the present invention;
图3为本发明另一实施例提供的无人机的控制方法的流程图;FIG. 3 is a flowchart of a control method of a drone provided by another embodiment of the present invention;
图4为本发明实施例提供的另一种应用场景的示意图;4 is a schematic diagram of another application scenario provided by an embodiment of the present invention;
图5为本发明实施例提供的多个备选航线的示意图;Figure 5 is a schematic diagram of multiple alternative routes provided by an embodiment of the present invention;
图6为本发明实施例提供的一种备选航线的俯视图;Figure 6 is a top view of an alternative route provided by an embodiment of the present invention;
图7为本发明实施例提供的一种备选航线的侧视图;Figure 7 is a side view of an alternative route provided by an embodiment of the present invention;
图8为本发明实施例提供的另一种备选航线的俯视图;Figure 8 is a top view of another alternative route provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种备选航线的侧视图;Figure 9 is a side view of another alternative route provided by an embodiment of the present invention;
图10为本发明实施例提供的另一种多个备选航线的示意图;10 is a schematic diagram of another multiple alternative routes provided by an embodiment of the present invention;
图11为本发明另一实施例提供的无人机的控制方法的流程图;FIG. 11 is a flowchart of a control method of a drone provided by another embodiment of the present invention;
图12为本发明实施例提供的一种无人机的水平航程和高度变化的示意图;FIG. 12 is a schematic diagram of the horizontal range and height change of an unmanned aerial vehicle according to an embodiment of the present invention;
图13为本发明实施例提供的另一种无人机的水平航程和高度变化的示意图;FIG. 13 is a schematic diagram of the horizontal range and height change of another drone provided by an embodiment of the present invention;
图14为本发明实施例提供的无人机的控制设备的结构图。Fig. 14 is a structural diagram of a UAV control device provided by an embodiment of the present invention.
附图标记:Reference signs:
20:无人机;          21:第一个航路点;    22:第二个航路点;20: UAV; 21: the first waypoint; 22: the second waypoint;
23:反向延长线;      41:第一起始圆;      42:第二起始圆;23: Reverse extension line; 41: first starting circle; 42: second starting circle;
51:第一终止圆;      52:第二终止圆;      11:第一个航路点;51: the first ending circle; 52: the second ending circle; 11: the first waypoint;
12:第二个航路点;    140:控制设备;       141:存储器;12: the second waypoint; 140: control equipment; 141: storage;
142:处理器。142: Processor.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接” 另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or a central component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to the other component or there may be a centered component at the same time.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例提供一种无人机的控制方法。图1为本发明实施例提供的无人机的控制方法的流程图。如图1所示,本实施例中的方法,可以包括:The embodiment of the present invention provides a control method of a drone. Fig. 1 is a flowchart of a method for controlling a drone provided by an embodiment of the present invention. As shown in Figure 1, the method in this embodiment may include:
步骤S101、根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,其中,所述无人机沿所述目标航线进入所述第一个航路点时的方向与所述无人机沿所述预设航线从所述第一个航路点飞行到所述第二个航路点的方向一致。Step S101: Determine from the current position of the drone to the first waypoint according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route The target route, wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the destination along the preset route The direction of the second waypoint is the same.
本实施例方法的执行主体可以是无人机的控制设备,该控制设备可以是无人机的飞行控制器,或者是其他用于控制无人机飞行的装置、部件或设备。The execution subject of the method in this embodiment may be the control device of the drone, and the control device may be the flight controller of the drone, or other devices, components or equipment for controlling the flight of the drone.
可选的,无人机沿目标航线进入第一个航路点时的方向与无人机沿预设航线从第一个航路点飞行到第二个航路点的方向一致,可以是无人机沿目标航线进入第一个航路点的弧线与无人机沿预设航线从第一个航路点飞行到第二个航路点的弧线的曲率一致。Optionally, the direction when the drone enters the first waypoint along the target route is the same as the direction the drone flies from the first waypoint to the second waypoint along the preset route. The arc of the target route entering the first waypoint has the same curvature as the arc of the drone flying from the first waypoint to the second waypoint along the preset route.
可选的,无人机沿目标航线进入第一个航路点时的方向与无人机沿预设航线从第一个航路点飞行到第二个航路点的方向一致,可以是无人机沿目标航线进入第一个航路点时的方向与第一个航路点指向第二个航路点的方向一致。Optionally, the direction when the drone enters the first waypoint along the target route is the same as the direction the drone flies from the first waypoint to the second waypoint along the preset route. The direction in which the target route enters the first waypoint is the same as the direction in which the first waypoint points to the second waypoint.
如图2所示,假设无人机20需要执行虚线所示的预设航线的飞行任务,在执行该飞行任务之前,该无人机20需要从当前位置飞行到该预设航线的第一个航路点21。可以理解,此处只是示意性说明,并不限定预设 航线的形状,也不限定该预设航线包括的航路点的个数。可选的,该无人机20可预先存储有该预设航线包括的多个航路点中每个航路点的相关信息,每个航路点的相关信息具体可包括该航路点的高度信息、位置信息、无人机在该航路点的速度信息等。As shown in Figure 2, suppose that the UAV 20 needs to perform the flight mission of the preset route shown by the dotted line. Before executing the flight mission, the UAV 20 needs to fly from the current position to the first one of the preset route. Waypoint 21. It can be understood that this is only a schematic description, and does not limit the shape of the preset route, nor the number of waypoints included in the preset route. Optionally, the UAV 20 may pre-store relevant information of each waypoint among the multiple waypoints included in the preset route, and the relevant information of each waypoint may specifically include the altitude information and location of the waypoint. Information, the speed information of the drone at the waypoint, etc.
在本实施例中,当该无人机20需要从当前位置飞行到该预设航线的第一个航路点21时,该无人机20的控制设备首先需要确定从当前位置到第一个航路点21的目标航线,进一步,根据该目标航线控制该无人机20从当前位置飞行到该预设航线的第一个航路点21。具体的,该无人机20的控制设备可根据该无人机20当前的位置信息以及该预设航线的第一个航路点21和第二个航路点22的位置信息,确定从当前位置到第一个航路点21的目标航线。例如,该无人机20的控制设备可根据第一个航路点21和第二个航路点22的位置信息,确定第一个航路点21和第二个航路点22之间的航线段,进一步,确定该航线段的反向延长线23,该反向延长线23的长度可以由该控制设备确定,具体长度值此处不做限定。进一步,该控制设备可确定出从当前位置平滑过渡到该反向延长线23的曲线或直线,该曲线或直线以及该反向延长线23可构成从当前位置到第一个航路点21的目标航线。由于该目标航线包括反向延长线23,可以使得无人机沿目标航线进入第一个航路点时的方向与无人机沿预设航线从第一个航路点飞行到第二个航路点的方向一致。In this embodiment, when the drone 20 needs to fly from the current position to the first waypoint 21 of the preset route, the control device of the drone 20 first needs to determine from the current position to the first waypoint 21 The target route at point 21 is further controlled to control the drone 20 to fly from the current position to the first waypoint 21 of the preset route according to the target route. Specifically, the control device of the UAV 20 can determine from the current position to the position information of the first waypoint 21 and the second waypoint 22 of the preset route according to the current position information of the UAV 20 The target route of the first waypoint 21. For example, the control device of the drone 20 can determine the route segment between the first waypoint 21 and the second waypoint 22 according to the position information of the first waypoint 21 and the second waypoint 22, and further , Determine the reverse extension line 23 of the route segment, the length of the reverse extension line 23 can be determined by the control device, and the specific length value is not limited here. Further, the control device can determine a curve or straight line that smoothly transitions from the current position to the reverse extension line 23, and the curve or straight line and the reverse extension line 23 can constitute a target from the current position to the first waypoint 21 route. Since the target route includes the reverse extension line 23, the direction when the drone enters the first waypoint along the target route can be made to be the same as that of the drone flying along the preset route from the first waypoint to the second waypoint. The direction is the same.
步骤S102、根据所述目标航线,控制所述无人机飞行到所述第一个航路点。Step S102: Control the drone to fly to the first waypoint according to the target route.
如图2所示,在确定出目标航线之后,该控制设备可按照箭头所示的曲线控制无人机20从当前位置飞行到反向延长线23,进一步,按照该反向延长线23控制无人机20飞行到该第一个航路点21。具体的,该无人机20在反向延长线23上的飞行高度可以是该第一个航路点21对应的高度,该无人机20在反向延长线23上的飞行速度可以是该第一个航路点21的预设速度,该无人机20在反向延长线23上的飞行方向为第一个航路点21和第二个航路点22之间的航线段的方向。As shown in Figure 2, after the target route is determined, the control device can control the drone 20 to fly from the current position to the reverse extension line 23 according to the curve shown by the arrow, and further, control the drone according to the reverse extension line 23. The man-machine 20 flies to the first waypoint 21. Specifically, the flying height of the drone 20 on the reverse extension line 23 may be the height corresponding to the first waypoint 21, and the flying speed of the drone 20 on the reverse extension line 23 may be the first waypoint. For a preset speed of a waypoint 21, the flying direction of the drone 20 on the reverse extension line 23 is the direction of the route segment between the first waypoint 21 and the second waypoint 22.
在其他实施例中,该无人机的控制设备还可以是该无人机对应的控制终端,该控制终端具体可以是地面控制端,该地面控制端例如可以是手机、 平板电脑、笔记本电脑等。In other embodiments, the control device of the drone may also be a control terminal corresponding to the drone. The control terminal may specifically be a ground control terminal. The ground control terminal may be, for example, a mobile phone, a tablet computer, a laptop, etc. .
本实施例提供的无人机的控制方法、设备、无人机及存储介质,通过根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定所述无人机从当前位置到所述第一个航路点的目标航线,由于该目标航线参考了预设航线中的第一个航路点和第二个航路点的位置信息,并且无人机进入第一个航路点时的方向与无人机从第一个航路点飞行到第二个航路点的方向一致,因此,当无人机沿着该目标航线飞行到该第一个航路点时,可以使得该无人机以较小的偏差平滑进入第一个航路点,提高了该无人机在该预设航线的初始阶段对该预设航线的跟踪效果。The control method, equipment, drone, and storage medium of the drone provided in this embodiment are based on the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. , Determine the target route of the UAV from the current position to the first waypoint, because the target route refers to the position information of the first waypoint and the second waypoint in the preset route, and there is no The direction when the human machine enters the first waypoint is the same as the direction that the drone flies from the first waypoint to the second waypoint. Therefore, when the drone flies along the target route to the first waypoint It can make the UAV smoothly enter the first waypoint with a small deviation when the point is selected, which improves the tracking effect of the UAV on the preset route in the initial stage of the preset route.
本发明实施例提供一种无人机的控制方法。图3为本发明另一实施例提供的无人机的控制方法的流程图。如图3所示,在上述实施例的基础上,所述根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,包括:根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线;从所述多个备选航线中确定所述目标航线。The embodiment of the present invention provides a control method of a drone. Fig. 3 is a flowchart of a control method for a drone provided by another embodiment of the present invention. As shown in Figure 3, on the basis of the above-mentioned embodiment, according to the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route, it is determined from the none The target route from the current position of the man-machine to the first waypoint includes: according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, Determine multiple alternative routes from the current position of the drone to the first waypoint; determine the target route from the multiple alternative routes.
如图2所示为无人机20的控制设备根据该无人机20当前的位置信息以及该预设航线的第一个航路点21和第二个航路点22的位置信息,确定的从当前位置到第一个航路点21的目标航线的一种示例。在本实施例中,该控制设备可根据该无人机20当前的位置信息以及该预设航线的第一个航路点21和第二个航路点22的位置信息,确定从当前位置到第一个航路点21的多个备选航线,进一步,从该多个备选航线中确定出该目标航线。As shown in Fig. 2, the control device of the UAV 20 determines from the current position information of the UAV 20 and the position information of the first waypoint 21 and the second waypoint 22 of the preset route. An example of the target route from the position to the first waypoint 21. In this embodiment, the control device can determine from the current position to the first waypoint based on the current position information of the drone 20 and the position information of the first waypoint 21 and the second waypoint 22 of the preset route. Multiple alternative routes for each waypoint 21, and further, the target route is determined from the multiple alternative routes.
可选的,本发明实施例方法可应用于垂直起降无人机,垂直起降无人机包括旋翼动力系统和固定翼动力系统,可以在旋翼和固定翼两种模式间自由切换。当垂直起降无人机切换至旋翼模式时,旋翼动力系统提供无人机的动力,当垂直起降无人机切换至固定翼模式时,固定翼动力系统提供无人机的动力。Optionally, the method of the embodiment of the present invention can be applied to a vertical take-off and landing UAV. The vertical take-off and landing UAV includes a rotor power system and a fixed wing power system, which can be freely switched between the two modes of the rotor and the fixed wing. When the vertical take-off and landing UAV switches to the rotor mode, the rotor power system provides the power of the UAV, and when the vertical take-off and landing UAV switches to the fixed-wing mode, the fixed-wing power system provides the power of the UAV.
作为一种可行的实现方式,所述根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线,包括:As a feasible implementation manner, according to the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route, it is determined from the current location of the drone. Multiple alternative routes from the location to the first waypoint, including:
步骤S301、根据所述无人机当前的位置信息,确定与所述无人机在当前位置的速度方向相切的第一起始圆和第二起始圆。Step S301: Determine a first starting circle and a second starting circle that are tangent to the speed direction of the drone at the current position according to the current position information of the drone.
如图4所示,B点表示无人机当前所在的位置,箭头表示无人机在当前位置的速度方向,根据当前的位置信息即B点的位置信息以及该速度方向,可确定出与该无人机在当前位置的速度方向相切的两个圆,该两个圆分别记为第一起始圆41和第二起始圆42。本实施例并不限定第一起始圆41和第二起始圆42的半径,该半径具体可以是用户通过控制终端设置的。As shown in Figure 4, point B represents the current location of the drone, and the arrow represents the speed direction of the drone at the current location. According to the current location information, that is, the location information of point B and the speed direction, it can be determined The two circles that are tangent to the speed direction of the drone at the current position are denoted as the first starting circle 41 and the second starting circle 42 respectively. This embodiment does not limit the radii of the first starting circle 41 and the second starting circle 42, and the radius may be specifically set by the user through the control terminal.
如图4所示,假设以该无人机在当前位置B点的速度方向为前向,可以将该速度方向左侧的起始圆记为第一起始圆41,将该速度方向右侧的起始圆记为第二起始圆42。在其他实施例中,还可以将速度方向左侧的起始圆记为第二起始圆42,将该速度方向右侧的起始圆记为第一起始圆41。As shown in Figure 4, assuming that the speed direction of the UAV at the current position B is the forward direction, the starting circle on the left side of the speed direction can be marked as the first starting circle 41, and the starting circle on the right side of the speed direction The starting circle is marked as the second starting circle 42. In other embodiments, the starting circle on the left side of the speed direction may be recorded as the second starting circle 42, and the starting circle on the right side of the speed direction may be recorded as the first starting circle 41.
在本实施例中,以第一起始圆41逆时针旋转,第二起始圆42顺时针旋转为例进行示意性说明。在其他实施例中,第一起始圆41也可以顺时针旋转,第二起始圆42逆时针旋转。In this embodiment, the first starting circle 41 rotates counterclockwise and the second starting circle 42 rotates clockwise as an example for schematic illustration. In other embodiments, the first starting circle 41 can also rotate clockwise, and the second starting circle 42 can rotate counterclockwise.
步骤S302、根据所述预设航线中的第一个航路点和第二个航路点之间的航线段,确定第一终止圆和第二终止圆,所述第一终止圆和所述第二终止圆分别与所述航线段的反向延长线相切。Step S302: Determine a first ending circle and a second ending circle according to the route segment between the first waypoint and the second waypoint in the preset route, the first ending circle and the second ending circle The ending circles are respectively tangent to the reverse extension line of the route segment.
如图4所示,根据第一个航路点21和第二个航路点22的位置信息,可确定出第一个航路点21和第二个航路点22之间的航线段,根据该航线段可确定该航线段的反向延长线23,进一步,可确定出与该反向延长线23相切的两个圆,这两个圆分别记为第一终止圆51和第二终止圆52。在本实施例中,反向延长线23的长度、以及第一终止圆51和第二终止圆52的半径均可以由用户通过控制终端设置。As shown in Figure 4, according to the location information of the first waypoint 21 and the second waypoint 22, the route segment between the first waypoint 21 and the second waypoint 22 can be determined. According to the route segment The reverse extension line 23 of the route segment can be determined, and further, two circles tangent to the reverse extension line 23 can be determined, and these two circles are marked as the first end circle 51 and the second end circle 52 respectively. In this embodiment, the length of the reverse extension line 23 and the radius of the first end circle 51 and the second end circle 52 can be set by the user through the control terminal.
同理,本实施例将该反向延长线23左侧的终止圆记为第一终止圆51,将该反向延长线23右侧的终止圆记为第二终止圆52。在其他实施例中,还可以将该反向延长线23左侧的终止圆记为第二终止圆52,将该反向延长线23右侧的终止圆记为第一终止圆51。Similarly, in this embodiment, the end circle on the left side of the reverse extension line 23 is recorded as the first end circle 51, and the end circle on the right side of the reverse extension line 23 is recorded as the second end circle 52. In other embodiments, the ending circle on the left side of the reverse extension line 23 may be recorded as the second ending circle 52, and the ending circle on the right side of the reverse extension line 23 may be recorded as the first ending circle 51.
在本实施例中,以第一终止圆51逆时针旋转,第二终止圆52顺时针旋转为例进行示意性说明。在其他实施例中,第一终止圆51也可以顺时针旋转,第二终止圆52逆时针旋转。In this embodiment, the first end circle 51 rotates counterclockwise and the second end circle 52 rotates clockwise as an example for schematic illustration. In other embodiments, the first end circle 51 can also rotate clockwise, and the second end circle 52 can rotate counterclockwise.
步骤S303、根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。Step S303: According to the first starting circle or the second starting circle, and the first ending circle or the second ending circle, determine from the current position of the drone to the first Multiple alternative routes for waypoints.
具体的,根据第一起始圆41或第二起始圆42、以及第一终止圆51或第二终止圆52,确定从无人机的当前位置B点到第一个航路点21的多个备选航线。Specifically, according to the first starting circle 41 or the second starting circle 42, and the first ending circle 51 or the second ending circle 52, a number of points from the current position B of the drone to the first waypoint 21 are determined Alternative routes.
作为一种可行的实现方式,在起始圆和终止圆之间可以通过切线连接的方式生成多个备选航线,如此,两个起始圆和两个终止圆通过切线连接的方式可生成4个备选航线,如图5所示,其中,WP 1表示第一个航路点21,WP 2表示第二个航路点22,左起始圆对应于本实施例中的第一起始圆41,右起始圆对应于本实施例中的第二起始圆42,左终止圆对应于本实施例中的第一终止圆51,右终止圆对应于本实施例中的第二终止圆52。另外,如果两个圆之间没有切线,则标记这两个圆之间的切线的水平航程为无穷大。 As a feasible implementation, multiple alternative routes can be generated by tangent connection between the start circle and the end circle. In this way, two start circles and two end circles can be connected by tangent to generate 4 As shown in Figure 5, WP 1 represents the first waypoint 21, WP 2 represents the second waypoint 22, the left starting circle corresponds to the first starting circle 41 in this embodiment, The right starting circle corresponds to the second starting circle 42 in this embodiment, the left ending circle corresponds to the first ending circle 51 in this embodiment, and the right ending circle corresponds to the second ending circle 52 in this embodiment. In addition, if there is no tangent line between the two circles, the horizontal range marking the tangent line between the two circles is infinite.
其中,所述多个备选航线中的每个所述备选航线包括依次连接的第一航线段、第二航线段、第三航线段;所述第一航线段可投影于第一圆,所述第三航线段可投影于第二圆,所述第二航线段分别与所述第一圆和所述第二圆相切,所述第一圆为所述第一起始圆或所述第二起始圆,所述第二圆为所述第一终止圆或所述第二终止圆。Wherein, each of the multiple alternative routes includes a first route segment, a second route segment, and a third route segment that are sequentially connected; the first route segment may be projected on a first circle, The third route segment may be projected on a second circle, the second route segment is respectively tangent to the first circle and the second circle, and the first circle is the first starting circle or the A second starting circle, the second circle being the first ending circle or the second ending circle.
本实施例以左起始圆和右终止圆通过切线连接的方式生成的备选航线为例进行示意性说明,如图6所示为该备选航线的俯视图,如图7所示为该备选航线的侧视图。该备选航线包括多个航线段,如图6和图7所示,该备选航线包括编号为2-5的航线段,即该备选航线是从当前位置B点到第一个航路点WP 1的航线。编号为1的航线段是该无人机从起始点例如Home点上升到预设高度后沿着目标方向飞行到当前位置B点的航线。 In this embodiment, an alternative route generated by connecting the left start circle and the right end circle through a tangent is taken as an example for schematic illustration. Figure 6 shows a plan view of the alternative route, and Figure 7 shows the alternative route. Side view of the selected route. The alternative route includes multiple route segments, as shown in Figures 6 and 7, the alternative route includes route segments numbered 2-5, that is, the alternative route is from the current position B to the first waypoint WP 1 route. The route segment numbered 1 is the route for the drone to fly along the target direction to the current position B after rising from the starting point, such as the Home point, to the preset height.
具体的,将编号为2的航线段记为第一航线段,将编号为3的航线段记为第二航线段,将编号为4的航线段记为第三航线段。其中,第一航线 段即编号为2的航线段可投影于左起始圆即第一起始圆41,第三航线段即编号为4的航线段可投影于右终止圆即第二终止圆52。第二航线段即编号为3的航线段分别与左起始圆和右终止圆相切。Specifically, the route segment numbered 2 is recorded as the first route segment, the route segment numbered 3 is recorded as the second route segment, and the route segment numbered 4 is recorded as the third route segment. Among them, the first route segment, that is, the route segment numbered 2 can be projected on the left starting circle, which is the first starting circle 41, and the third route segment, that is the route segment numbered 4, can be projected on the right end circle, which is the second ending circle 52. . The second route segment, the route segment numbered 3, is tangent to the left start circle and the right end circle.
同理,当右起始圆和左终止圆通过切线连接的方式生成备选航线时,该第一航线段可投影于右起始圆,该第三航线段可投影于左终止圆。第二航线段分别与该右起始圆和左终止圆相切。Similarly, when the right start circle and the left end circle are connected by a tangent to generate an alternative route, the first route segment can be projected on the right start circle, and the third route segment can be projected on the left end circle. The second route segment is respectively tangent to the right start circle and the left end circle.
同理,当左起始圆和左终止圆通过切线连接的方式生成备选航线时,该第一航线段可投影于左起始圆,该第三航线段可投影于左终止圆。第二航线段分别与该左起始圆和左终止圆相切。In the same way, when the left start circle and the left end circle are connected by a tangent to generate an alternative route, the first route segment can be projected on the left start circle, and the third route segment can be projected on the left end circle. The second route segment is tangent to the left start circle and the left end circle respectively.
同理,当右起始圆和右终止圆通过切线连接的方式生成备选航线时,该第一航线段可投影于右起始圆,该第三航线段可投影于右终止圆。第二航线段分别与该右起始圆和右终止圆相切。In the same way, when the right start circle and the right end circle are connected by a tangent to generate an alternative route, the first route segment can be projected on the right start circle, and the third route segment can be projected on the right end circle. The second route segment is tangent to the right start circle and right end circle respectively.
本实施例将第一航线段投影到的圆记为第一圆,将第三航线段投影到的圆记为第二圆,综上所述,该第一圆可以是第一起始圆或所述第二起始圆,第二圆可以是第一终止圆或第二终止圆。In this embodiment, the circle projected on the first route segment is recorded as the first circle, and the circle projected on the third route segment is recorded as the second circle. In summary, the first circle can be the first starting circle or the first circle. For the second starting circle, the second circle may be the first ending circle or the second ending circle.
如图8和图9所示,用户还可以在起始圆和终止圆之间设置一个爬升圆,该爬升圆的位置和半径也可以是用户通过控制终端设置的,例如,该爬升圆可设置在无障碍物的预设区域内。同理于起始圆和终止圆的旋转方向,该爬升圆也可以逆时针旋转或顺时针旋转。As shown in Figure 8 and Figure 9, the user can also set a climbing circle between the start circle and the end circle. The position and radius of the climb circle can also be set by the user through the control terminal. For example, the climb circle can be set In a preset area with no obstacles. Similarly to the direction of rotation of the start circle and the end circle, the climb circle can also rotate counterclockwise or clockwise.
作为另一种可行的实现方式,所述根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线,包括:根据所述第一起始圆或所述第二起始圆、所述爬升圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。As another feasible implementation manner, according to the first starting circle or the second starting circle, and the first ending circle or the second ending circle, the Multiple alternative routes from the current position to the first waypoint, including: according to the first starting circle or the second starting circle, the climb circle, and the first ending circle or the The second end circle determines multiple alternative routes from the current position of the drone to the first waypoint.
例如,在起始圆和爬升圆之间通过切线连接且在爬升圆和终止圆之间通过切线连接的方式生成多个备选航线,如此,两个起始圆、逆时针旋转或顺时针旋转的爬升圆、以及两个终止圆通过切线连接的方式可生成8个备选航线,如图10所示,其中,11表示第一个航路点,12表示第二个航路点。另外,如果两个圆之间没有切线,则标记这两个圆之间的切线的水平航程为无穷大。For example, the start circle and the climb circle are connected by a tangent line and the climb circle and the end circle are connected by a tangent line to generate multiple alternative routes. In this way, two start circles, rotate counterclockwise or rotate clockwise The climb circle and the two end circles connected by tangents can generate 8 alternative routes, as shown in Figure 10, where 11 represents the first waypoint and 12 represents the second waypoint. In addition, if there is no tangent line between the two circles, the horizontal range marking the tangent line between the two circles is infinite.
可选的,所述第二航线段包括第一子航线、第二子航线、第三子航线;其中,所述第一子航线与所述第一航线段连接,所述第三子航线与所述第三航线段连接;所述第二子航线可投影于爬升圆,所述第一子航线分别与所述第一圆和所述爬升圆相切,所述第三子航线分别与所述第二圆和所述爬升圆相切。可选的,所述爬升圆是用户通过控制终端的用户界面设置的。Optionally, the second route segment includes a first sub-route, a second sub-route, and a third sub-route; wherein the first sub-route is connected to the first route segment, and the third sub-route is connected to the The third route segment is connected; the second sub route can be projected on a climb circle, the first sub route is tangent to the first circle and the climb circle, and the third sub route is connected to the climb circle. The second circle is tangent to the climbing circle. Optionally, the climb circle is set by the user through the user interface of the control terminal.
本实施例以左起始圆、逆时针旋转的爬升圆和右终止圆通过切线连接的方式生成的备选航线为例进行示意性说明,即以图10所示的8个备选航线中的一个为例进行示意性说明,其他备选航线与此类似。In this embodiment, the alternative route generated by the way that the left starting circle, the counterclockwise rotating climb circle and the right end circle are connected by a tangent line is used as an example to illustrate schematically, that is, taking the eight alternative routes shown in FIG. 10 Take one as an example for schematic illustration, and other alternative routes are similar.
图8所示为该备选航线的俯视图,如图9所示为该备选航线的侧视图。该备选航线包括多个航线段,如图8和图9所示,该备选航线包括编号为2-7的航线段,即该备选航线是从当前位置B点到第一个航路点WP 1的航线。编号为1的航线段是该无人机从起始点例如Home点上升到预设高度后沿着目标方向飞行到当前位置B点的航线。 Fig. 8 shows a top view of the alternative route, and Fig. 9 shows a side view of the alternative route. The alternative route includes multiple route segments, as shown in Figures 8 and 9, the alternative route includes route segments numbered 2-7, that is, the alternative route is from the current position B to the first waypoint WP 1 route. The route segment numbered 1 is the route for the drone to fly along the target direction to the current position B after rising from the starting point, such as the Home point, to the preset height.
具体的,将编号为2的航线段记为第一航线段,将编号为3、4、5构成的航线段记为第二航线段,将编号为6的航线段记为第三航线段。其中,第一航线段即编号为2的航线段可投影于左起始圆即第一起始圆41,第三航线段即编号为6的航线段可投影于右终止圆即第二终止圆52。将图8或图9中编号为3的航线段记为第二航线段的第一子航线,将编号为4的航线段记为第二航线段的第二子航线,将编号为5的航线段记为第二航线段的第三子航线。其中,编号为3的航线段即第一子航线与编号为2的航线段即第一航线段连接,编号为5的航线段即第三子航线与编号为6的航线段即第三航线段连接。编号为4的航线段即第二子航线可投影于爬升圆,编号为3的航线段分别与左起始圆和逆时针旋转的爬升圆相切,编号为5的航线段分别与右终止圆和逆时针旋转的爬升圆相切。Specifically, the route segment numbered 2 is recorded as the first route segment, the route segment composed of numbers 3, 4, and 5 is recorded as the second route segment, and the route segment numbered 6 is recorded as the third route segment. Among them, the first route segment, the route segment numbered 2 can be projected on the left starting circle, that is, the first starting circle 41, and the third route segment, the route segment numbered 6 can be projected on the right end circle, that is the second ending circle 52 . Mark the route segment numbered 3 in Figure 8 or Figure 9 as the first sub-route of the second route segment, record the route segment numbered 4 as the second sub-route of the second route segment, and the route numbered 5 The segment is recorded as the third sub-route of the second route segment. Among them, the route segment numbered 3 is the first sub-route connected with the route segment numbered 2 that is the first route segment, the route segment numbered 5 is the third sub-route and the route segment numbered 6 is the third route segment connection. The route segment numbered 4, that is, the second sub-route, can be projected on the climb circle, the route segment numbered 3 is tangent to the left starting circle and the counterclockwise rotation climbing circle, and the route segment numbered 5 is connected to the right end circle. Tangent to the climbing circle rotating counterclockwise.
在其他实施例中,每个所述备选航线还包括:第四航线段,所述第四航线段分别与所述第三航线段和所述第一个航路点连接。In other embodiments, each of the alternative routes further includes: a fourth route segment, and the fourth route segment is respectively connected to the third route segment and the first waypoint.
如图6或图7所示,该备选航线还包括第四航线段,该第四航线段可以是编号为5的航线段。该第四航线段分别与第三航线段即编号为4的航线段和第一个航路点WP 1连接。如图6或图7所示,将无人机沿着编号为1的航线段飞行的阶段记为前向过度阶段,将无人机沿着编号为2的航线 段飞行的阶段记为起始圆圆弧阶段,将无人机沿着编号为3的航线段飞行的阶段记为终止圆切线阶段,将无人机沿着编号为4的航线段飞行的阶段记为终止圆圆弧阶段,将无人机沿着编号为5的航线段飞行的阶段记为预设航线进入前准备阶段。 As shown in FIG. 6 or FIG. 7, the alternative route further includes a fourth route segment, and the fourth route segment may be a route segment numbered 5. The fourth route segment is respectively connected with the third route segment, the route segment numbered 4 and the first waypoint WP 1 . As shown in Figure 6 or Figure 7, the stage when the drone flies along the route segment numbered 1 is recorded as the forward transition stage, and the stage when the drone flies along the route segment numbered 2 is recorded as the start In the arc phase, the phase where the drone flies along the route segment numbered 3 is recorded as the end circle tangent phase, and the phase where the drone flies along the route segment numbered 4 is recorded as the end arc phase. The stage in which the drone flies along the route segment numbered 5 is recorded as the pre-planning stage for the preset route.
如图8或图9所示,该备选航线还包括第四航线段,该第四航线段可以是编号为7的航线段。该第四航线段分别与第三航线段即编号为6的航线段和第一个航路点WP 1连接。如图8或图9所示,将无人机沿着编号为1的航线段飞行的阶段记为前向过度阶段,将无人机沿着编号为2的航线段飞行的阶段记为起始圆圆弧阶段,将无人机沿着编号为3的航线段飞行的阶段记为爬升圆切线阶段,将无人机沿着编号为4的航线段飞行的阶段记为爬升圆圆弧阶段,将无人机沿着编号为5的航线段飞行的阶段记为终止圆切线阶段,将无人机沿着编号为6的航线段飞行的阶段记为终止圆圆弧阶段,将无人机沿着编号为7的航线段飞行的阶段记为预设航线进入前准备阶段。 As shown in FIG. 8 or FIG. 9, the alternative route further includes a fourth route segment, and the fourth route segment may be a route segment numbered 7. The fourth route segment is respectively connected to the third route segment, the route segment numbered 6 and the first waypoint WP 1 . As shown in Figure 8 or Figure 9, the stage where the drone flies along the route segment numbered 1 is recorded as the forward transition stage, and the stage where the drone flies along the route segment numbered 2 as the start In the arc phase, the phase where the drone flies along the route segment numbered 3 is recorded as the climb circle tangent phase, and the phase where the drone flies along the route segment numbered 4 is recorded as the arc of climb phase. The stage when the drone flies along the route segment numbered 5 is recorded as the end circle tangent stage, and the stage when the drone flies along the route segment numbered 6 is recorded as the end arc stage, and the drone travels along the The flight stage of the route segment numbered 7 is recorded as the pre-route preparation stage.
可选的,该第四航线段具体可以是如上所述的第一个航路点WP 1和第二个航路点WP 2之间的航线段的反向延长线。 Optionally, the fourth route segment may be particularly mentioned above the first waypoint WP reverse route segment between the extended line 21 and the second waypoints WP.
可选的,所述第四航线段满足如下至少一个条件:所述第四航线段的高度与所述第一个航路点的高度相同;所述无人机在所述第四航线段上的飞行速度与所述第一个航路点的预设速度相同;所述第四航线段的方向与所述第一个航路点和所述第二个航路点之间的航线段的方向一致。Optionally, the fourth route segment satisfies at least one of the following conditions: the height of the fourth route segment is the same as the height of the first waypoint; the drone is on the fourth route segment The flight speed is the same as the preset speed of the first waypoint; the direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
例如以如图6或图7所示的第四航线段为例,该第四航线段可以满足如下至少一个条件:该第四航线段的高度与第一个航路点WP 1的高度相同;无人机在该第四航线段的飞行速度与第一个航路点WP 1的预设速度相同;该第四航线段的方向与第一个航路点WP 1和第二个航路点WP 2之间的航线段的方向一致。 For example, taking the fourth route segment as shown in Fig. 6 or Fig. 7 as an example, the fourth route segment may satisfy at least one of the following conditions: the height of the fourth route segment is the same as the height of the first waypoint WP 1 ; The flight speed of the man-machine on the fourth route segment is the same as the preset speed of the first waypoint WP 1 ; the direction of the fourth route segment is between the first waypoint WP 1 and the second waypoint WP 2 The directions of the route segments are the same.
可选的,所述无人机在所述第一航线段、所述第二航线段、所述第三航线段上的飞行速度为所述第一个航路点的预设速度。Optionally, the flying speed of the drone on the first route segment, the second route segment, and the third route segment is a preset speed of the first waypoint.
例如以如图6或图7所示的备选航线为例,当无人机在该备选航线的第一航线段、第二航线段、第三航线段上飞行时,该无人机可采用该第一个航路点WP 1的预设速度大小进行飞行,也就是说,从无人机的当前位置 B点开始,该无人机即可按照该第一个航路点WP 1的预设速度的大小进行飞行。 For example, taking the alternative route shown in Figure 6 or Figure 7 as an example, when the drone flies on the first route segment, the second route segment, and the third route segment of the alternative route, the drone can Use the preset speed of the first waypoint WP 1 to fly, that is to say, starting from the current position of the drone at point B, the drone can follow the preset speed of the first waypoint WP 1 The size of the speed to fly.
本实施例通过根据所述无人机当前的位置信息,确定与所述无人机在当前位置的速度方向相切的第一起始圆和第二起始圆,根据所述预设航线中的第一个航路点和第二个航路点之间的航线段,确定第一终止圆和第二终止圆,并根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线,实现了备选航线的多样性。另外,通过在无障碍物的预设区域内设置爬升圆,可有效避免无人机在爬升过程中碰触到障碍物,提高了无人机的飞行安全性。此外,通过第四航线段满足如下至少一个条件:所述第四航线段的高度与所述第一个航路点的高度相同;所述无人机在所述第四航线段上的飞行速度与所述第一个航路点的预设速度相同;所述第四航线段的方向与所述第一个航路点和所述第二个航路点之间的航线段的方向一致,可使得该无人机以较小的偏差平滑进入第一个航路点,提高了该无人机在该预设航线的初始阶段对该预设航线的跟踪效果。In this embodiment, according to the current position information of the drone, the first starting circle and the second starting circle that are tangent to the speed direction of the drone at the current position are determined, and according to the preset route For the route segment between the first waypoint and the second waypoint, the first ending circle and the second ending circle are determined, and based on the first starting circle or the second starting circle, and the first The ending circle or the second ending circle determines multiple alternative routes from the current position of the drone to the first waypoint, thereby realizing the diversity of alternative routes. In addition, by setting a climbing circle in a preset area with no obstacles, it can effectively prevent the drone from touching obstacles during the climbing process, thereby improving the flight safety of the drone. In addition, at least one of the following conditions is met through the fourth route segment: the height of the fourth route segment is the same as the height of the first waypoint; the flying speed of the drone on the fourth route segment is The preset speed of the first waypoint is the same; the direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint. The man-machine smoothly enters the first waypoint with a small deviation, which improves the tracking effect of the UAV in the initial stage of the preset route.
本发明实施例提供一种无人机的控制方法。图11为本发明另一实施例提供的无人机的控制方法的流程图。如图11所示,在上述实施例的基础上,所述无人机的高度在所述第一航线段、所述第二航线段、所述第三航线段中的至少一个航线上逐渐增加。The embodiment of the present invention provides a control method of a drone. Fig. 11 is a flow chart of a control method of a drone provided by another embodiment of the present invention. As shown in FIG. 11, on the basis of the foregoing embodiment, the altitude of the drone gradually increases on at least one of the first route segment, the second route segment, and the third route segment. .
如图12为无人机沿着如图6或图7所示的备选航线飞行时,该无人机的水平航程和高度变化的示意图。如图12所示,无人机的高度在第一航线段即编号为2的航线段、第二航线段即编号为3的航线段、以及第三航线段即编号为4的航线段上逐渐增加。其中,无人机在编号为4的航线段上沿着右终止圆重复盘旋爬升。Fig. 12 is a schematic diagram of the horizontal range and height changes of the UAV when the UAV is flying along the alternative route shown in Fig. 6 or Fig. 7. As shown in Figure 12, the altitude of the drone gradually increases on the first route segment, the route segment numbered 2, the second route segment, the route segment numbered 3, and the third route segment, the route segment numbered 4. increase. Among them, the UAV repeated circling and climbing along the right end circle on the route segment numbered 4.
在其他实施例中,该无人机的高度也可以只在第一航线段、第二航线段或第三航线段上逐渐增加,或者,该无人机的高度在第一航线段、第二航线段和第三航线段中的任意两个航线段上逐渐增加。In other embodiments, the height of the drone may only gradually increase in the first route segment, the second route segment, or the third route segment, or the height of the drone is in the first route segment, the second route segment, or the third route segment. It gradually increases on any two of the route segment and the third route segment.
如图13为无人机沿着如图8或图9所示的备选航线飞行时,该无人机的水平航程和高度变化的示意图。如图13所示,该无人机的高度在第 一航线段即编号为2的航线段、第二航线段的第一子航线即编号为3的航线段、以及该第二航线段的第二子航线即编号为4的航线段上逐渐增加。其中,无人机在编号为4的航线段上沿着爬升圆重复盘旋爬升。Fig. 13 is a schematic diagram of the horizontal range and altitude changes of the UAV when the UAV flies along the alternative route shown in Fig. 8 or Fig. 9. As shown in Figure 13, the altitude of the drone is in the first route segment, the route segment numbered 2, the first sub-route of the second route segment, the route segment numbered 3, and the second route segment. The second sub-route is gradually increasing on the route segment numbered 4. Among them, the UAV repeated circling and climbing along the climb circle on the route segment numbered 4.
如图5或图10所示,在确定出从无人机的当前位置B点到第一个航路点WP 1的多个备选航线后,需要进一步从该多个备选航线中确定出目标航线,例如,当不需要爬升圆确定该多个备选航线时,从如图5所示的4个备选航线中确定出目标航线。当需要爬升圆确定该多个备选航线时,从如图10所示的8个备选航线中确定出目标航线。 As shown in Figure 5 or Figure 10, after determining multiple alternative routes from the current position of the UAV to point B to the first waypoint WP 1 , it is necessary to further determine the target from the multiple alternative routes The route, for example, when the climb circle is not required to determine the multiple alternative routes, the target route is determined from the four alternative routes shown in FIG. 5. When the climb circle is required to determine the multiple alternative routes, the target route is determined from the eight alternative routes shown in FIG. 10.
所述从所述多个备选航线中确定所述目标航线,包括:The determining the target route from the multiple alternative routes includes:
步骤S1101、确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程。Step S1101. In the process of determining that the drone flies from the current position to the first waypoint along each of the multiple alternative routes, the drone The horizontal voyage.
以如图6或图7所示的备选航线为例进行示意性说明,该备选航线是如图5所示的4个备选航线中的一种。当无人机沿着如图6或图7所示的备选航线飞行时,无人机的高度从当前位置B点的高度上升到第一个航路点WP 1的高度。无人机整个爬升过程即从当前位置B点的高度上升到第一个航路点WP 1的高度的过程在初始圆圆弧阶段、终止圆切线阶段以及终止圆圆弧阶段完成。其中无人机在终止圆圆弧阶段可以重复盘旋爬升,无人机在整个爬升过程中的水平航程S等于这三个阶段的水平航程之和。同理,可计算出无人机沿着如图5所示的4个备选航线中其他几种备选航线飞行时,无人机在整个爬升过程中的水平航程,进而得到无人机沿着每个备选航线从当前位置飞行至第一个航路点的过程中,无人机的水平航程。 Take the alternative route shown in FIG. 6 or FIG. 7 as an example for schematic illustration, and the alternative route is one of the four alternative routes shown in FIG. 5. When the alternative route along the UAV illustrated in FIG. 6 or FIG. 7 flying height UAVs up from a current position of the point B to the height of the first height of a waypoint WP 1. I.e. the entire process UAV climb up from the current height position of the point B to the first waypoint WP during the initial height of a circular arc in the stage, and a terminating stage Tangent circular arc terminating stages. Among them, the UAV can repeatedly circling and climb during the ending arc stage, and the horizontal range S of the UAV during the entire climbing process is equal to the sum of the horizontal range of these three stages. In the same way, the horizontal range of the drone during the entire climb process can be calculated when the drone is flying along the other alternative routes among the 4 alternative routes as shown in Figure 5, and then the drone's horizontal range can be obtained. The horizontal range of the UAV during the flight from the current position to the first waypoint for each alternative route.
另外,如图8或图9所示的备选航线是如图10所示的8个备选航线中的一种。当无人机沿着如图8或图9所示的备选航线飞行时,无人机的高度从当前位置B点的高度上升到第一个航路点WP 1的高度。无人机整个爬升过程即从当前位置B点的高度上升到第一个航路点WP 1的高度的过程在初始圆圆弧阶段、爬升圆切线阶段以及爬升圆圆弧阶段完成,其中无人机在爬升圆圆弧阶段可以重复盘旋爬升,无人机在整个爬升过程中的水平航程S等于这三个阶段的水平航程之和。同理,可计算出无人机沿着如图10所示的8个备选航线中其他几种备选航线飞行时,无人机在整个爬升过 程中的水平航程,进而得到无人机沿着每个备选航线从当前位置飞行至第一个航路点的过程中,无人机的水平航程。 In addition, the alternative route shown in FIG. 8 or FIG. 9 is one of the eight alternative routes shown in FIG. 10. When the alternative route along the UAV illustrated in FIG. 8 or FIG. 9 flight, UAV height raised from the current height position of the point B to the height of the first waypoint WP 1 is. The entire climbing process of the drone, that is, the process of rising from the height of point B at the current position to the height of the first waypoint WP 1 is completed in the initial arc phase, the climb circle tangent phase, and the climb arc phase. It is possible to repeat the circling climb during the arc of climb. The horizontal range S of the UAV during the entire climb is equal to the sum of the horizontal range of these three stages. In the same way, the horizontal range of the drone during the entire climb process can be calculated when the drone is flying along the other alternative routes among the 8 alternative routes as shown in Figure 10, and then the drone's horizontal range can be obtained. The horizontal range of the UAV during the flight from the current position to the first waypoint for each alternative route.
步骤S1102、将所述多个备选航线中水平航程最短的备选航线确定为所述目标航线。Step S1102: Determine the candidate route with the shortest horizontal range among the multiple candidate routes as the target route.
例如,当不需要爬升圆确定该多个备选航线时,将图5所示的4个备选航线中水平航程最短的备选航线确定为所述目标航线。当需要爬升圆确定该多个备选航线时,将图10所示的8个备选航线中水平航程最短的备选航线确定为所述目标航线。例如,当不需要爬升圆确定该多个备选航线时,若如图6或图7所示的备选航线为目标航线,则该控制设备将控制无人机按照编号为2-5的航线段依次顺序飞行到该第一个航路点。当需要爬升圆确定该多个备选航线时,若如图8或图9所示的备选航线为目标航线,则该控制设备将控制无人机按照编号为2-7的航线段依次顺序飞行到该第一个航路点。For example, when the climb circle is not required to determine the multiple alternative routes, the alternative route with the shortest horizontal range among the four alternative routes shown in FIG. 5 is determined as the target route. When the climb circle is required to determine the multiple alternative routes, the alternative route with the shortest horizontal range among the eight alternative routes shown in FIG. 10 is determined as the target route. For example, when the climb circle is not required to determine the multiple alternative routes, if the alternative route shown in Figure 6 or Figure 7 is the target route, the control device will control the drone to follow the route numbered 2-5 The segments fly to the first waypoint in sequence. When the climb circle is required to determine the multiple alternative routes, if the alternative route as shown in Figure 8 or Figure 9 is the target route, the control device will control the drone to follow the sequence of route segments numbered 2-7 Fly to the first waypoint.
可选的,所述确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程,包括:根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数;根据所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数,确定所述无人机沿着所述备选航线从所述当前位置的高度上升到所述第一个航路点的高度的过程中,所述无人机的水平航程。Optionally, in the process of determining that the drone flies from the current position to the first waypoint along each of the multiple alternative routes, the The horizontal range of the drone includes: determining that the drone is flying along the alternative route according to the height of the drone at the current position and the height of the first waypoint. The number of laps that the drone needs to hover and climb on the second route segment and/or the third route segment; according to the drone's needs in the second route segment and/or the third route segment The number of circling and climbing laps on the segment to determine the level of the drone during the process of rising from the height of the current position to the height of the first waypoint along the alternative route voyage.
以图6或图7所示的备选航线为例,将无人机当前位置B点的高度记为初始高度h 0,将第一个航路点WP 1的高度记为目标高度h tgt。在无人机从当前位置B点的高度上升到第一个航路点WP 1的高度的过程中,无人机的爬升高度记为Δh,Δh=h tgt-h 0,将图6或图7所示的编号为5的航线段与右终止圆的切点记为D点,也就是说,无人机在D点时的高度达到第一个航路点WP 1的高度。当无人机在右终止圆上重复盘旋爬升的圈数为0时,该无人机在整个爬升过程中的水平航程S为从B点到D点的水平航程。当无人机在右终止圆上重复盘旋爬升的圈数为1时,该无人机在整个爬升过程中的水平航程S为从B点到D点的水平航程再加上一个2πR,其中,R表示 右终止圆的半径。当无人机在右终止圆上重复盘旋爬升的圈数为2时,该无人机在整个爬升过程中的水平航程S为从B点到D点的水平航程再加上两个2πR。也就是说,每当无人机在右终止圆上重复盘旋爬升的圈数增加一圈,该无人机在整个爬升过程中的水平航程S就增加2πR。因此,在计算无人机整个爬升过程中的水平航程S时,需要计算该无人机在右终止圆上重复盘旋爬升的圈数,并根据该无人机在右终止圆上重复盘旋爬升的圈数,确定该无人机沿着如图6或图7所示的备选航线从当前位置的高度上升到第一个航路点的高度的过程中,该无人机的水平航程S,进而得到无人机沿着每个备选航线从当前位置飞行至第一个航路点的过程中,无人机的水平航程。 Taking the alternative route shown in Fig. 6 or Fig. 7 as an example, the altitude of point B at the current position of the drone is recorded as the initial altitude h 0 , and the altitude of the first waypoint WP 1 is recorded as the target altitude h tgt . When the drone rises from the height of point B at the current position to the height of the first waypoint WP 1 , the climb height of the drone is recorded as Δh, Δh=h tgt -h 0 , refer to Figure 6 or Figure 7 The tangent point between the route segment numbered 5 and the right end circle is marked as point D, that is, the altitude of the drone at point D reaches the height of the first waypoint WP 1 . When the number of repeated circling and climbing cycles of the drone on the right end circle is 0, the horizontal range S of the drone during the entire climb is the horizontal range from point B to point D. When the number of cycles of the drone repeatedly circling and climbing on the right end circle is 1, the horizontal range S of the drone during the entire climb is the horizontal range from point B to point D plus a 2πR, where, R represents the radius of the right end circle. When the number of repeated circling and climbing cycles of the drone on the right end circle is 2, the horizontal range S of the drone during the entire climb is the horizontal range from point B to point D plus two 2πR. That is to say, whenever the number of cycles of repeated circling and climbing of the drone on the right end circle increases by one circle, the horizontal range S of the drone during the entire climb process increases by 2πR. Therefore, when calculating the horizontal range S of the UAV during the entire climb process, it is necessary to calculate the number of cycles that the UAV repeats hovering and climbing on the right end circle, and according to the UAV repeating hovering and climbing on the right end circle The number of laps to determine the drone's horizontal range S during the process of rising from the height of the current position to the height of the first waypoint along the alternative route shown in Figure 6 or Figure 7, and then Obtain the horizontal range of the drone during the flight from the current position to the first waypoint along each alternative route.
同理,当无人机沿着如图8或图9所示的备选航线从当前位置飞行至第一个航路点的高度的过程中,可根据该无人机在爬升圆上重复盘旋爬升的圈数,确定该无人机在整个爬升过程中的水平航程S,进而得到无人机沿着每个备选航线从当前位置飞行至第一个航路点的过程中,无人机的水平航程。In the same way, when the drone is flying from the current position to the height of the first waypoint along the alternate route shown in Figure 8 or Figure 9, the drone can repeat the circling climb on the climb circle according to the drone. The number of laps to determine the drone's horizontal range S during the entire climb process, and then obtain the drone's level during the flight from the current position to the first waypoint along each alternative route voyage.
在一些实施例中,该无人机还可以在爬升圆和终止圆上重复盘旋,此时,可根据该无人机在爬升圆和终止圆上重复盘旋爬升的圈数,确定该无人机在整个爬升过程中的水平航程S,进而得到无人机沿着每个备选航线从当前位置飞行至第一个航路点的过程中,无人机的水平航程。In some embodiments, the drone can also hover repeatedly on the climb circle and the end circle. At this time, the drone can be determined according to the number of cycles the drone has repeatedly hovered and climbed on the climb circle and the end circle. The horizontal range S during the entire climb process, and then obtain the horizontal range of the UAV during the process of flying from the current position to the first waypoint along each alternative route.
可选的,所述根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数,包括:根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的轨迹倾角,所述盘旋爬升的轨迹倾角小于或等于预设爬升轨迹倾角阈值。其中,所述无人机盘旋爬升的轨迹倾角是根据所述无人机在所述当前位置的高度和所述第一个航路点的高度的高度差、以及所述水平航程确定的。Optionally, when the drone is determined to fly along the alternative route according to the altitude of the drone at the current position and the altitude of the first waypoint, the unmanned The number of laps that the aircraft needs to hover and climb on the second route segment and/or the third route segment includes: according to the altitude of the drone at the current position and the altitude of the first waypoint When it is determined that the drone is flying along the alternate route, the drone needs to hover and climb on the second route segment and/or the third route segment, and the hover climb The trajectory inclination of is less than or equal to the preset climb trajectory inclination threshold. Wherein, the trajectory inclination of the drone hovering and climbing is determined according to the height difference between the height of the drone at the current position and the height of the first waypoint, and the horizontal range.
以图6或图7所示的备选航线为例,当无人机在右终止圆上重复盘旋爬升的圈数为0时,该无人机在整个爬升过程中的水平航程S为从B点到 D点的水平航程。此时,根据水平航程S和无人机的爬升高度Δ□计算该无人机盘旋爬升的轨迹倾角θ,
Figure PCTCN2019092914-appb-000001
由于当无人机在右终止圆上重复盘旋爬升的圈数每增加一圈,该无人机在整个爬升过程中的水平航程S就增加2πR,因此,当无人机在右终止圆上重复盘旋爬升的圈数每增加一圈时,该无人机盘旋爬升的轨迹倾角θ就会减小。因此,可以在盘旋爬升的圈数为0的基础上逐渐加1,每增加一圈计算一次该无人机盘旋爬升的轨迹倾角θ。直到满足计算得到的该无人机盘旋爬升的轨迹倾角θ小于或等于预设爬升轨迹倾角阈值时,停止增加。此处,将预设爬升轨迹倾角阈值记为θ max,该预设爬升轨迹倾角阈值θ max具体可以是用户设置的最大允许爬升轨迹倾角,即满足条件
Figure PCTCN2019092914-appb-000002
时,停止增加。此时得到的无人机在右终止圆上重复盘旋爬升的圈数即为最终该无人机需要在该右终止圆上重复盘旋爬升的圈数。同理,可计算出无人机沿着图8或图9所示的备选航线飞行时,该无人机需要在爬升圆上重复盘旋爬升的圈数,或者,该无人机需要在爬升圆和右终止圆上重复盘旋爬升的圈数。
Taking the alternative route shown in Figure 6 or Figure 7 as an example, when the number of cycles of repeated circling and climbing on the right end circle of the drone is 0, the horizontal range S of the drone during the entire climb is from B Horizontal flight from point to point D. At this time, calculate the trajectory inclination θ of the UAV hovering and climbing according to the horizontal range S and the UAV's climb height Δ□,
Figure PCTCN2019092914-appb-000001
Because when the UAV repeats circling and climbing on the right end circle, the horizontal range S of the UAV increases by 2πR during the entire climbing process. Therefore, when the UAV repeats on the right end circle Each time the number of circling and climbing circles increases, the inclination angle θ of the trajectory of the UAV circling and climbing will decrease. Therefore, one can gradually increase by 1 on the basis that the number of circling and climbing circles is 0, and the trajectory inclination θ of the circling and climbing of the UAV can be calculated every additional circle. The increase is stopped until the calculated trajectory inclination angle θ of the UAV hovering climb is less than or equal to the preset climb trajectory inclination angle threshold. Here, the preset climb trajectory inclination angle threshold is recorded as θ max , and the preset climb trajectory inclination threshold θ max may specifically be the maximum allowable climb trajectory inclination angle set by the user, that is, satisfy the condition
Figure PCTCN2019092914-appb-000002
When, stop increasing. At this time, the number of times the UAV repeatedly circulates and climbs on the right termination circle is the final number of laps that the drone needs to circulate and climb on the right termination circle. In the same way, it can be calculated that when the drone is flying along the alternative route shown in Figure 8 or Figure 9, the number of cycles that the drone needs to circulate and climb repeatedly on the climb circle, or the drone needs to be climbing Repeat the number of circling climbs on the circle and the right end circle.
本实施例通过确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程,将所述多个备选航线中水平航程最短的备选航线确定为所述目标航线,使得该无人机可以在从当前位置飞行到第一个航路点的过程中最大化的节省能量。In this embodiment, by determining that the drone is flying from the current position to the first waypoint along each of the multiple alternative routes, the unmanned The horizontal voyage of the aircraft, the candidate route with the shortest horizontal voyage among the multiple alternative routes is determined as the target route, so that the UAV can maximize the flight from the current position to the first waypoint To save energy.
本发明实施例提供一种无人机的控制方法。在上述实施例的基础上,所述根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线之前,所述方法还包括:控制所述无人机从起始点上升到预设高度后沿着目标方向飞行到所述当前位置。The embodiment of the present invention provides a control method of a drone. On the basis of the above-mentioned embodiment, according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, it is determined from the current position of the drone to Before the target route of the first waypoint, the method further includes: controlling the drone to fly from the starting point to a preset height and then fly along the target direction to the current position.
如图7或图9所示,点A表示无人机的起始点例如Home点,该无人机从点A开始起飞后,控制设备控制该无人机从点A上升到预设高度到达 点C,进一步,从点C沿着目标方向飞行到当前位置点B,即如图7或图9所示的编号为1的前向过度阶段。As shown in Figure 7 or Figure 9, point A represents the starting point of the drone, such as the Home point. After the drone starts to take off from point A, the control device controls the drone to rise from point A to the preset height arrival point C, further, fly from point C to the current position point B along the target direction, that is, the forward transition stage numbered 1 as shown in FIG.
可选的,所述无人机为垂直起降无人机,所述控制所述无人机从起始点上升到预设高度,包括:以旋翼模式控制所述无人机从起始点上升到预设高度。例如,该无人机从点A开始起飞后,控制设备控制该无人机以旋翼模式从点A上升到预设高度。Optionally, the drone is a vertical take-off and landing drone, and controlling the drone to rise from a starting point to a preset height includes: controlling the drone to rise from the starting point to a preset height in a rotor mode Preset height. For example, after the drone starts to take off from point A, the control device controls the drone to rise from point A to a preset height in a rotor mode.
可选的,所述目标方向为控制终端发送的遥控指令所指示的方向,或者所述无人机上升到所述预设高度时的方向。例如,该无人机从点A开始起飞上升到预设高度的过程中,该用户可通过控制终端向该无人机发送遥控指令,该遥控指令可调整该无人机的方向。该目标方向具体可以是该无人机到达该预设高度时该控制终端的遥控指令所指示的方向。或者,该目标方向可以是该无人机到达该预设高度时该无人机的方向。Optionally, the target direction is a direction indicated by a remote control instruction sent by a control terminal, or a direction when the drone rises to the preset height. For example, when the drone starts to take off from point A and rises to a preset height, the user can send a remote control instruction to the drone through the control terminal, and the remote control instruction can adjust the direction of the drone. The target direction may specifically be the direction indicated by the remote control instruction of the control terminal when the drone reaches the preset height. Alternatively, the target direction may be the direction of the drone when the drone reaches the preset height.
可选的,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述无人机的飞行模式由所述旋翼模式过度为固定翼模式。Optionally, during the process of the drone flying to the current position along the target direction, the flight mode of the drone is changed from the rotor mode to the fixed-wing mode.
例如,当无人机以旋翼模式从点A上升到预设高度h后在点C悬停,进一步,从点C沿着如上所述的目标方向飞行到当前位置点B。在从点C飞行到当前位置点B的过程中,该无人机的飞行模式由旋翼模式过度为固定翼模式,也就是说,当无人机在当前位置点B的飞行模式为固定翼模式。For example, when the drone rises from the point A to the preset height h in the rotor mode, it hoveres at the point C, and further, flies from the point C to the current position point B along the target direction as described above. In the process of flying from point C to point B at the current position, the flight mode of the drone changes from rotor mode to fixed-wing mode, that is to say, when the flying mode of the drone at the current position point B is fixed-wing mode .
作为一种可能的实现方式,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述方法还包括:当所述无人机的旋翼升力小于预设升力,且所述无人机的空速大于第一空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。As a possible implementation manner, during the process of the drone flying to the current position along the target direction, the method further includes: when the rotor lift of the drone is less than a preset lift, and When the airspeed of the drone is greater than the first airspeed threshold, the drone is switched from the rotor mode to the fixed wing mode.
例如,在从点C飞行到当前位置点B的过程中,当无人机的旋翼升力小于预设升力,且该无人机的空速大于第一空速阈值时,可以将该无人机从旋翼模式切换为固定翼模式。For example, in the process of flying from point C to point B at the current position, when the rotor lift of the drone is less than the preset lift, and the airspeed of the drone is greater than the first airspeed threshold, the drone can be Switch from rotor mode to fixed wing mode.
作为另一种可能的实现方式,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述方法还包括:当所述无人机的空速大于第二空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。As another possible implementation manner, during the process of the drone flying to the current position along the target direction, the method further includes: when the airspeed of the drone is greater than a second airspeed When the threshold is reached, the drone is switched from the rotor mode to the fixed wing mode.
例如,在从点C飞行到当前位置点B的过程中,无人机的空速大于第二空速阈值时,可以将该无人机从旋翼模式切换为固定翼模式。其中,第 二空速阈值大于第一空速阈值。For example, in the process of flying from point C to point B at the current position, when the airspeed of the drone is greater than the second airspeed threshold, the drone can be switched from the rotor mode to the fixed wing mode. Among them, the second airspeed threshold is greater than the first airspeed threshold.
本实施例通过控制所述无人机从起始点上升到预设高度后沿着目标方向飞行到所述当前位置,并且在所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述无人机的飞行模式由所述旋翼模式过度为固定翼模式,进一步节省了无人机的能量。In this embodiment, the drone is controlled to fly to the current position along the target direction after rising from the starting point to a preset height, and when the drone flies along the target direction to the current position In the process, the flight mode of the drone is changed from the rotor mode to the fixed-wing mode, which further saves the energy of the drone.
下面以不需要爬升圆确定该多个备选航线的应用场景为例,对目标航线的确定过程进行示意性说明。例如,预设航线中的第一个航路点相对于无人机Home点的位置坐标是(-500m,550m),该第一个航路点相对于地面的高度是200米。该预设航线中的第二个航路点相对于无人机Home点的位置坐标是(-500m,650m),该第二个航路点相对于地面的高度是200米。用户通过控制终端设置的最大允许爬升轨迹倾角θ max是5度。起始圆和终止圆的半径均为100米,第一个航路点21和第二个航路点22之间的航线段的反向延长线的长度是50米。该无人机从Home点起飞的预设高度是60米。当该无人机需要执行如图2所示的虚线所示的预设航线的飞行任务时,该无人机从Home点以旋翼模式自动起飞离地,在旋翼模式上升过程中,用户通过打杆可以改变无人机的机头航向,例如,使得该无人机的机头航向对准目标方向,例如,该目标方向可以是第一航路点指向第二个航路点的方向。当该无人机上升到预设高度60米后,该无人机自动触发航线入口飞行任务。该无人机首先进入前向过度过程,在前向过度过程中,该无人机的飞行模式从旋翼模式转换到固定翼模式,且该无人机由旋翼模式转换到固定翼模式时的瞬时高度是60m,瞬时位置相对home点的坐标为(0m,100m),此时,该无人机的速度方向为目标方向。该瞬时位置具体为如上所述的当前位置点B。进一步,根据无人机的当前位置点B的位置信息、速度方向、以及用户设置的起始圆和终止圆的半径,在该速度方向的左右两侧动态生成与速度方向相切的两个起始圆,左侧起始圆圆心坐标为(-100m,100m),右侧起始圆圆心坐标为(100m,100m);在第一个航路点与第二个航路点之间航线段的反向延长线两侧动态生成两个终止圆,左终止圆的圆心位置坐标为(-600m,500m),右终止圆的圆心位置坐标为(-400m,500m)。通过两个起始圆和两个终止圆之间切线连接的方式,可 生成如图5所示的4个备选航线。进一步,根据如上所述的最大允许爬升轨迹倾角θ max的限制条件,计算得到如下四组结果: In the following, an application scenario in which the climb circle is not required to determine the multiple alternative routes is taken as an example to schematically illustrate the process of determining the target route. For example, the position coordinates of the first waypoint in the preset route relative to the UAV Home point are (-500m, 550m), and the height of the first waypoint relative to the ground is 200 meters. The position coordinates of the second waypoint in the preset route relative to the UAV Home point are (-500m, 650m), and the height of the second waypoint relative to the ground is 200 meters. The maximum allowable climb trajectory inclination angle θ max set by the user through the control terminal is 5 degrees. The radius of the starting circle and the ending circle are both 100 meters, and the length of the reverse extension of the route segment between the first waypoint 21 and the second waypoint 22 is 50 meters. The preset altitude for the drone to take off from the Home point is 60 meters. When the UAV needs to perform the flight mission of the preset route as shown by the dotted line shown in Figure 2, the UAV will automatically take off and lift off the ground in rotor mode from the Home point. During the ascent of the rotor mode, the user clicks The rod can change the heading of the drone, for example, so that the heading of the drone is aligned with the target direction. For example, the target direction can be the direction from the first waypoint to the second waypoint. When the UAV rises to a preset height of 60 meters, the UAV automatically triggers the flight route entry mission. The UAV first enters the forward transition process. During the forward transition, the flight mode of the UAV switches from rotor mode to fixed wing mode, and the moment when the UAV switches from rotor mode to fixed wing mode The height is 60m, and the instantaneous position relative to the home point is (0m, 100m). At this time, the speed direction of the drone is the target direction. The instantaneous position is specifically the current position point B as described above. Further, according to the position information of the current position of the drone, the speed direction, and the radius of the start circle and the end circle set by the user, two start points tangent to the speed direction are dynamically generated on the left and right sides of the speed direction. Starting circle, the coordinates of the center of the starting circle on the left are (-100m, 100m), and the coordinates of the center of the starting circle on the right are (100m, 100m); the opposite of the route segment between the first waypoint and the second waypoint Two end circles are dynamically generated to both sides of the extension line, the center position coordinates of the left end circle are (-600m, 500m), and the center position coordinates of the right end circle are (-400m, 500m). By tangentially connecting the two starting circles and the two ending circles, 4 alternative routes as shown in Figure 5 can be generated. Further, according to the above-mentioned limitation conditions of the maximum allowable climb trajectory inclination angle θ max , the following four sets of results are calculated:
1)无人机沿着由左起始圆和左终止圆组成的备选航线飞行时,无人机的水平航程为1896m,无人机需要在左终止圆上盘旋爬升的圈数为1圈,无人机盘旋爬升的轨迹倾角为4.22°。1) When the drone is flying along an alternate route consisting of a left starting circle and a left ending circle, the drone's horizontal range is 1896m, and the number of cycles the drone needs to circle and climb on the left end circle is 1 circle , The trajectory inclination angle of the UAV hovering and climbing is 4.22°.
2)无人机沿着由左起始圆与右终止圆组成的备选航线飞行时,无人机的水平航程为1906m,无人机需要在右终止圆上盘旋爬升的圈数为2圈,无人机盘旋爬升的轨迹倾角为4.20°。2) When the drone is flying along an alternative route consisting of a left starting circle and a right ending circle, the drone's horizontal range is 1906m, and the number of times the drone needs to hover and climb on the right end circle is 2 times , The trajectory inclination angle of the UAV hovering and climbing is 4.20°.
3)无人机沿着由右起始圆与左终止圆组成的备选航线飞行时,无人机的水平航程为1713m,无人机需要在左终止圆上盘旋爬升的圈数为0圈,无人机盘旋爬升的轨迹倾角为4.67°。3) When the drone flies along an alternate route consisting of a right start circle and a left end circle, the drone's horizontal range is 1713m, and the number of laps the drone needs to hover and climb on the left end circle is 0. , The trajectory inclination angle of the UAV hovering and climbing is 4.67°.
4)无人机沿着由右起始圆与右终止圆组成的备选航线飞行时,无人机的水平航程为1896m,无人机需要在右终止圆上盘旋爬升的圈数为1圈,无人机盘旋爬升的轨迹倾角为4.22°。4) When the drone is flying along the alternate route consisting of the right starting circle and the right ending circle, the drone's horizontal range is 1896m, and the number of cycles the drone needs to hover and climb on the right end circle is 1 circle , The trajectory inclination angle of the UAV hovering and climbing is 4.22°.
根据如上四组结果可知,当该无人机沿着由右起始圆与左终止圆组成的备选航线飞行时,无人机的水平航程最短,因此,可将由右起始圆与左终止圆组成的备选航线作为该无人机从当前位置点B到第一个航路点的目标航线。该无人机按照该目标航线对应的起始圆圆弧阶段、终止圆切线阶段、终止圆圆弧阶段以及进入预设航线进入前准备阶段顺序飞行至第一个航路点。According to the above four sets of results, when the drone flies along an alternative route consisting of a right start circle and a left end circle, the drone's horizontal range is the shortest. Therefore, the right start circle and left end circle The alternate route composed of circles serves as the target route of the UAV from the current position point B to the first waypoint. The UAV flies to the first waypoint in sequence according to the starting arc phase, the ending circle tangent phase, the ending arc phase, and the preparation phase before entering the preset route corresponding to the target route.
本发明实施例提供一种无人机的控制设备。图14为本发明实施例提供的无人机的控制设备的结构图,如图14所示,该控制设备140包括:存储器141和处理器142;存储器141用于存储程序代码;处理器142,调用所述程序代码,当程序代码被执行时,用于执行以下操作:根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,其中,所述无人机沿所述目标航线进入所述第一个航路点时的方向与所述无人机沿所述预设航线从所述第一个航路点飞行到所述第二个航路点的方向一致;根据所述目标航线,控制所述无人机飞行到所述第一个航路点。The embodiment of the present invention provides a control device for a drone. FIG. 14 is a structural diagram of a UAV control device provided by an embodiment of the present invention. As shown in FIG. 14, the control device 140 includes: a memory 141 and a processor 142; the memory 141 is used to store program codes; the processor 142, The program code is called, and when the program code is executed, it is used to perform the following operations: According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine from The target route from the current position of the drone to the first waypoint, wherein the direction when the drone enters the first waypoint along the target route is the same as the direction along the drone The direction of the preset route from the first waypoint to the second waypoint is the same; according to the target route, the drone is controlled to fly to the first waypoint.
可选的,处理器142根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线时,具体用于:根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线;从所述多个备选航线中确定所述目标航线。Optionally, the processor 142 determines from the current position of the drone to the first waypoint according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route. The target route of a waypoint is specifically used to: determine from the unmanned aircraft according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route. Multiple alternative routes from the current position of the aircraft to the first waypoint; determining the target route from the multiple alternative routes.
可选的,处理器142根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线时,具体用于:根据所述无人机当前的位置信息,确定与所述无人机在当前位置的速度方向相切的第一起始圆和第二起始圆;根据所述预设航线中的第一个航路点和第二个航路点之间的航线段,确定第一终止圆和第二终止圆,所述第一终止圆和所述第二终止圆分别与所述航线段的反向延长线相切;根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。Optionally, the processor 142 determines from the current position of the drone to the current position of the drone according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route. When the multiple alternative routes of the first waypoint are described, it is specifically used to determine the first starting circle and the first starting circle tangent to the speed direction of the drone at the current position according to the current position information of the drone The second starting circle; according to the route segment between the first waypoint and the second waypoint in the preset route, the first ending circle and the second ending circle are determined, the first ending circle and the The second end circle is respectively tangent to the reverse extension line of the route segment; according to the first start circle or the second start circle, and the first end circle or the second end circle, Determine multiple alternative routes from the current position of the drone to the first waypoint.
可选的,所述多个备选航线中的每个所述备选航线包括依次连接的第一航线段、第二航线段、第三航线段;所述第一航线段可投影于第一圆,所述第三航线段可投影于第二圆,所述第二航线段分别与所述第一圆和所述第二圆相切,所述第一圆为所述第一起始圆或所述第二起始圆,所述第二圆为所述第一终止圆或所述第二终止圆。Optionally, each of the multiple alternative routes includes a first route segment, a second route segment, and a third route segment that are sequentially connected; the first route segment may be projected on the first route segment. Circle, the third route segment can be projected on a second circle, the second route segment is respectively tangent to the first circle and the second circle, and the first circle is the first starting circle or The second starting circle, the second circle is the first ending circle or the second ending circle.
可选的,所述第二航线段包括第一子航线、第二子航线、第三子航线;其中,所述第一子航线与所述第一航线段连接,所述第三子航线与所述第三航线段连接;所述第二子航线可投影于爬升圆,所述第一子航线分别与所述第一圆和所述爬升圆相切,所述第三子航线分别与所述第二圆和所述爬升圆相切。Optionally, the second route segment includes a first sub-route, a second sub-route, and a third sub-route; wherein the first sub-route is connected to the first route segment, and the third sub-route is connected to the The third route segment is connected; the second sub route can be projected on a climb circle, the first sub route is tangent to the first circle and the climb circle, and the third sub route is connected to the climb circle. The second circle is tangent to the climbing circle.
可选的,所述爬升圆是用户通过控制终端的用户界面设置的。Optionally, the climb circle is set by the user through the user interface of the control terminal.
可选的,处理器142根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线时,具体用于:根据所述第一起始圆或所述第二起始圆、所述爬升圆、以及所述第一终止圆或所述第二终止圆,确定从 所述无人机的当前位置到所述第一个航路点的多个备选航线。Optionally, the processor 142 determines from the current position of the drone to the current position of the drone according to the first starting circle or the second starting circle, and the first ending circle or the second ending circle. The multiple alternative routes of the first waypoint are specifically used to: according to the first starting circle or the second starting circle, the climb circle, and the first ending circle or the first Second, the termination circle is to determine multiple alternative routes from the current position of the drone to the first waypoint.
可选的,每个所述备选航线还包括:第四航线段,所述第四航线段分别与所述第三航线段和所述第一个航路点连接。Optionally, each of the candidate routes further includes: a fourth route segment, and the fourth route segment is respectively connected to the third route segment and the first waypoint.
可选的,所述第四航线段满足如下至少一个条件:所述第四航线段的高度与所述第一个航路点的高度相同;所述无人机在所述第四航线段上的飞行速度与所述第一个航路点的预设速度相同;所述第四航线段的方向与所述第一个航路点和所述第二个航路点之间的航线段的方向一致。Optionally, the fourth route segment satisfies at least one of the following conditions: the height of the fourth route segment is the same as the height of the first waypoint; the drone is on the fourth route segment The flight speed is the same as the preset speed of the first waypoint; the direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
可选的,所述无人机在所述第一航线段、所述第二航线段、所述第三航线段上的飞行速度为所述第一个航路点的预设速度。Optionally, the flying speed of the drone on the first route segment, the second route segment, and the third route segment is a preset speed of the first waypoint.
可选的,所述无人机的高度在所述第一航线段、所述第二航线段、所述第三航线段中的至少一个航线上逐渐增加。Optionally, the altitude of the drone gradually increases on at least one of the first route segment, the second route segment, and the third route segment.
可选的,处理器142从所述多个备选航线中确定所述目标航线时,具体用于:确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程;将所述多个备选航线中水平航程最短的备选航线确定为所述目标航线。Optionally, when the processor 142 determines the target route from the multiple alternative routes, it is specifically configured to: determine that the drone follows each of the multiple alternative routes. During the course of the route from the current position to the first waypoint, the horizontal range of the UAV; the candidate route with the shortest horizontal range among the multiple alternative routes is determined as the target route .
可选的,处理器142确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程时,具体用于:根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数;根据所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数,确定所述无人机沿着所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程。Optionally, the processor 142 determines that while the drone is flying from the current position to the first waypoint along each of the multiple alternative routes, When the horizontal range of the drone is described, it is specifically used to: determine that the drone is along the alternative route according to the height of the drone at the current position and the height of the first waypoint When flying, the drone needs to hover and climb the number of laps on the second route segment and/or the third route segment; according to the drone's needs in the second route segment and/or the third route segment The number of circling and climbing laps on the third route segment determines the level of the drone during the flight from the current position to the first waypoint along the alternative route voyage.
可选的,处理器142根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数时,具体用于:根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的轨迹倾角,所述盘旋爬升的轨迹倾角小于或等于预设爬升轨迹倾角阈值。Optionally, the processor 142 determines that when the drone is flying along the alternative route according to the altitude of the drone at the current position and the altitude of the first waypoint, the When the man-machine needs to hover and climb the number of laps on the second route segment and/or the third route segment, it is specifically used to: according to the altitude of the drone at the current position and the first The altitude of the waypoint, determining the inclination of the trajectory at which the drone needs to hover and climb on the second route segment and/or the third route segment when the drone is flying along the alternative route, The trajectory inclination angle of the spiral climb is less than or equal to a preset climb trajectory inclination angle threshold.
可选的,所述无人机盘旋爬升的轨迹倾角是根据所述无人机在所述当前位置的高度和所述第一个航路点的高度的高度差、以及所述无人机在爬升过程中的水平航程确定的。Optionally, the trajectory inclination of the drone hovering and climbing is based on the altitude difference between the altitude of the drone at the current position and the altitude of the first waypoint, and the altitude of the drone while climbing The horizontal voyage in the process is determined.
可选的,处理器142根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线之前,还用于:控制所述无人机从起始点上升到预设高度后沿着目标方向飞行到所述当前位置。Optionally, the processor 142 determines from the current position of the drone to the first waypoint according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route. Before the target route of a waypoint, it is also used to control the drone to fly along the target direction to the current position after ascending from the starting point to the preset height.
可选的,所述目标方向为控制终端发送的遥控指令所指示的方向,或者所述无人机上升到所述预设高度时的方向。Optionally, the target direction is a direction indicated by a remote control instruction sent by a control terminal, or a direction when the drone rises to the preset height.
可选的,处理器142控制所述无人机从起始点上升到预设高度时,具体用于:以旋翼模式控制所述无人机从起始点上升到预设高度。Optionally, when the processor 142 controls the drone to rise from the starting point to the preset height, it is specifically configured to control the drone to rise from the starting point to the preset height in the rotor mode.
可选的,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述无人机的飞行模式由所述旋翼模式过度为固定翼模式。Optionally, during the process of the drone flying to the current position along the target direction, the flight mode of the drone is changed from the rotor mode to the fixed-wing mode.
可选的,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,处理器142还用于:当所述无人机的旋翼升力小于预设升力,且所述无人机的空速大于第一空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。Optionally, in the process of the drone flying to the current position along the target direction, the processor 142 is further configured to: when the rotor lift of the drone is less than a preset lift, and the When the airspeed of the man-machine is greater than the first airspeed threshold, the drone is switched from the rotor mode to the fixed wing mode.
可选的,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,处理器142还用于:当所述无人机的空速大于第二空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。Optionally, during the process of the drone flying to the current position along the target direction, the processor 142 is further configured to: when the airspeed of the drone is greater than a second airspeed threshold, The drone is switched from the rotor mode to the fixed wing mode.
本发明实施例提供的控制设备的具体原理和实现方式均与上述实施例类似,此处不再赘述。The specific principles and implementation manners of the control device provided in the embodiment of the present invention are similar to those in the foregoing embodiment, and will not be repeated here.
本实施例提供的无人机的控制方法、设备、无人机及存储介质,通过根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定所述无人机从当前位置到所述第一个航路点的目标航线,由于该目标航线参考了预设航线中的第一个航路点和第二个航路点的位置信息,并且无人机进入第一个航路点时的方向与无人机从第一个航路点飞行到第二个航路点的方向一致,因此,当无人机沿着该目标航线飞行到该第一个航路点时,可以使得该无人机以较小的偏差平滑进入第一个航路点,提高了该无人机在该预设航线的初始阶段对该预设航线的跟踪效 果。The control method, equipment, drone, and storage medium of the drone provided in this embodiment are based on the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. , Determine the target route of the UAV from the current position to the first waypoint, because the target route refers to the position information of the first waypoint and the second waypoint in the preset route, and there is no The direction when the human machine enters the first waypoint is the same as the direction that the drone flies from the first waypoint to the second waypoint. Therefore, when the drone flies along the target route to the first waypoint It can make the UAV smoothly enter the first waypoint with a small deviation when the point is selected, which improves the tracking effect of the UAV on the preset route in the initial stage of the preset route.
本发明实施例提供一种无人机。该无人机包括:机身、动力系统和如上所述的控制设备,其中,动力系统安装在所述机身,用于提供飞行动力。该动力系统包括如下至少一种:电机、螺旋桨和电子调速器。该控制设备可执行如上所述的无人机的控制方法,该方法的具体原理和实现过程如上所述,此处不再赘述。The embodiment of the present invention provides a drone. The unmanned aerial vehicle includes a fuselage, a power system, and the above-mentioned control device, wherein the power system is installed on the fuselage to provide flight power. The power system includes at least one of the following: a motor, a propeller, and an electronic governor. The control device can execute the above-mentioned UAV control method, and the specific principle and implementation process of the method are as described above, and will not be repeated here.
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的无人机的控制方法。In addition, this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the drone control method described in the foregoing embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分 步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional modules as required, namely, the device The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention range.

Claims (44)

  1. 一种无人机的控制方法,其特征在于,包括:A control method of unmanned aerial vehicle, characterized in that it comprises:
    根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,其中,所述无人机沿所述目标航线进入所述第一个航路点时的方向与所述无人机沿所述预设航线从所述第一个航路点飞行到所述第二个航路点的方向一致;According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine the target route from the current position of the drone to the first waypoint , Wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the second waypoint along the preset route The directions of all waypoints are the same;
    根据所述目标航线,控制所述无人机飞行到所述第一个航路点。According to the target route, the drone is controlled to fly to the first waypoint.
  2. 根据权利要求1所述的方法,其特征在于,所述根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,包括:The method according to claim 1, characterized in that, according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, it is determined from the unmanned aircraft The target route from the aircraft’s current position to the first waypoint includes:
    根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线;According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine the distance from the current position of the drone to the first waypoint Multiple alternative routes;
    从所述多个备选航线中确定所述目标航线。The target route is determined from the plurality of alternative routes.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线,包括:The method according to claim 2, characterized in that, according to the current position information of the UAV and the position information of the first waypoint and the second waypoint in the preset route, it is determined from the Multiple alternative routes from the current position of the drone to the first waypoint include:
    根据所述无人机当前的位置信息,确定与所述无人机在当前位置的速度方向相切的第一起始圆和第二起始圆;Determine the first starting circle and the second starting circle tangent to the speed direction of the drone at the current position according to the current position information of the drone;
    根据所述预设航线中的第一个航路点和第二个航路点之间的航线段,确定第一终止圆和第二终止圆,所述第一终止圆和所述第二终止圆分别与所述航线段的反向延长线相切;According to the route segment between the first waypoint and the second waypoint in the preset route, a first end circle and a second end circle are determined, the first end circle and the second end circle are respectively Tangent to the reverse extension line of the route segment;
    根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。According to the first starting circle or the second starting circle, and the first ending circle or the second ending circle, determine the distance from the current position of the drone to the first waypoint Multiple alternative routes.
  4. 根据权利要求3所述的方法,其特征在于,所述多个备选航线中的每个所述备选航线包括依次连接的第一航线段、第二航线段、第三航线段;The method according to claim 3, wherein each of the plurality of alternative routes includes a first route segment, a second route segment, and a third route segment that are sequentially connected;
    所述第一航线段可投影于第一圆,所述第三航线段可投影于第二圆,所述第二航线段分别与所述第一圆和所述第二圆相切,所述第一圆为所述第一起始圆或所述第二起始圆,所述第二圆为所述第一终止圆或所述第二终止圆。The first route segment can be projected on a first circle, the third route segment can be projected on a second circle, and the second route segment is tangent to the first circle and the second circle. The first circle is the first starting circle or the second starting circle, and the second circle is the first ending circle or the second ending circle.
  5. 根据权利要求4所述的方法,其特征在于,所述第二航线段包括第一子航线、第二子航线、第三子航线;其中,所述第一子航线与所述第一航线段连接,所述第三子航线与所述第三航线段连接;The method according to claim 4, wherein the second route segment includes a first sub-route, a second sub-route, and a third sub-route; wherein the first sub-route and the first route segment Connected, the third sub-route is connected with the third route segment;
    所述第二子航线可投影于爬升圆,所述第一子航线分别与所述第一圆和所述爬升圆相切,所述第三子航线分别与所述第二圆和所述爬升圆相切。The second sub-course may be projected on a climb circle, the first sub-course is tangent to the first circle and the climb circle, and the third sub-course is respectively tangent to the second circle and the climb The circle is tangent.
  6. 根据权利要求5所述的方法,其特征在于,所述爬升圆是用户通过控制终端的用户界面设置的。The method according to claim 5, wherein the climb circle is set by a user through a user interface of a control terminal.
  7. 根据权利要求5或6所述的方法,其特征在于,所述根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线,包括:The method according to claim 5 or 6, characterized in that, according to the first starting circle or the second starting circle, and the first ending circle or the second ending circle, determining from Multiple alternative routes from the current position of the drone to the first waypoint include:
    根据所述第一起始圆或所述第二起始圆、所述爬升圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。According to the first start circle or the second start circle, the climb circle, and the first end circle or the second end circle, determine from the current position of the drone to the first Multiple alternative routes for a waypoint.
  8. 根据权利要求4-7任一项所述的方法,其特征在于,每个所述备选航线还包括:第四航线段,所述第四航线段分别与所述第三航线段和所述第一个航路点连接。The method according to any one of claims 4-7, wherein each of the alternative routes further comprises: a fourth route segment, and the fourth route segment is respectively connected to the third route segment and the The first waypoint is connected.
  9. 根据权利要求8所述的方法,其特征在于,所述第四航线段满足如下至少一个条件:The method according to claim 8, wherein the fourth route segment satisfies at least one of the following conditions:
    所述第四航线段的高度与所述第一个航路点的高度相同;The height of the fourth route segment is the same as the height of the first waypoint;
    所述无人机在所述第四航线段上的飞行速度与所述第一个航路点的预设速度相同;The flying speed of the drone on the fourth route segment is the same as the preset speed of the first waypoint;
    所述第四航线段的方向与所述第一个航路点和所述第二个航路点之间的航线段的方向一致。The direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
  10. 根据权利要求4所述的方法,其特征在于,所述无人机在所述第一航线段、所述第二航线段、所述第三航线段上的飞行速度为所述第一个航路点的预设速度。The method according to claim 4, wherein the flying speed of the drone on the first route segment, the second route segment, and the third route segment is the first route The preset speed of the point.
  11. 根据权利要求4-10任一项所述的方法,其特征在于,所述无人机的高度在所述第一航线段、所述第二航线段、所述第三航线段中的至少一个航线上逐渐增加。The method according to any one of claims 4-10, wherein the height of the drone is at least one of the first route segment, the second route segment, and the third route segment Gradually increase on the route.
  12. 根据权利要求4-11任一项所述的方法,其特征在于,所述从所述多个备选航线中确定所述目标航线,包括:The method according to any one of claims 4-11, wherein the determining the target route from the multiple alternative routes comprises:
    确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程;In the process of determining that the drone flies from the current position to the first waypoint along each of the multiple alternative routes, the horizontal range of the drone ;
    将所述多个备选航线中水平航程最短的备选航线确定为所述目标航线。The candidate route with the shortest horizontal voyage among the plurality of candidate routes is determined as the target route.
  13. 根据权利要求12所述的方法,其特征在于,所述确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程,包括:The method according to claim 12, wherein the determining that the drone flies from the current position to the first one along each of the plurality of alternative routes During the course of three waypoints, the horizontal range of the UAV includes:
    根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数;According to the altitude of the drone at the current position and the altitude of the first waypoint, it is determined that when the drone is flying along the alternate route, the drone needs to be in the first The number of circling climbs on the second course segment and/or the third course segment;
    根据所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数,确定所述无人机沿着所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程。According to the number of laps the drone needs to circulate and climb on the second route segment and/or the third route segment, it is determined that the drone will fly from the current position to the The horizontal range of the drone during the first waypoint.
  14. 根据权利要求13所述的方法,其特征在于,所述根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数,包括:The method according to claim 13, wherein the determining that the drone is along the backup path according to the height of the drone at the current position and the height of the first waypoint When selecting a flight route, the number of laps that the UAV needs to hover and climb on the second route segment and/or the third route segment includes:
    根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的轨迹倾角,所述盘旋爬升的轨迹倾角小于或等于预设爬升轨迹倾角阈值。According to the altitude of the drone at the current position and the altitude of the first waypoint, it is determined that when the drone is flying along the alternate route, the drone needs to be in the first The trajectory inclination angle of the spiral climb on the second route segment and/or the third route segment, the trajectory inclination angle of the spiral climb is less than or equal to a preset climb trajectory inclination angle threshold.
  15. 根据权利要求14所述的方法,其特征在于,所述无人机盘旋爬升的轨迹倾角是根据所述无人机在所述当前位置的高度和所述第一个航路点的高度的高度差、以及所述无人机在爬升过程中的水平航程确定的。The method according to claim 14, wherein the trajectory inclination of the drone hovering and climbing is based on the height difference between the height of the drone at the current position and the height of the first waypoint , And the horizontal range of the UAV in the climbing process is determined.
  16. 根据权利要求1所述的方法,其特征在于,所述根据无人机当前 的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线之前,所述方法还包括:The method according to claim 1, characterized in that, according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, it is determined from the unmanned aircraft Before the current position of the aircraft to the target route of the first waypoint, the method further includes:
    控制所述无人机从起始点上升到预设高度后沿着目标方向飞行到所述当前位置。The drone is controlled to rise from the starting point to the preset height and then fly along the target direction to the current position.
  17. 根据权利要求16所述的方法,其特征在于,所述目标方向为控制终端发送的遥控指令所指示的方向,或者所述无人机上升到所述预设高度时的方向。The method according to claim 16, wherein the target direction is a direction indicated by a remote control instruction sent by a control terminal, or a direction when the drone rises to the preset height.
  18. 根据权利要求16或17所述的方法,其特征在于,所述控制所述无人机从起始点上升到预设高度,包括:The method according to claim 16 or 17, wherein the controlling the drone to rise from the starting point to a preset height comprises:
    以旋翼模式控制所述无人机从起始点上升到预设高度。In the rotor mode, the drone is controlled to rise from the starting point to a preset height.
  19. 根据权利要求16或17所述的方法,其特征在于,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述无人机的飞行模式由旋翼模式过度为固定翼模式。The method according to claim 16 or 17, wherein during the process of the drone flying to the current position along the target direction, the flight mode of the drone changes from a rotor mode to a fixed Wing pattern.
  20. 根据权利要求19所述的方法,其特征在于,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述方法还包括:The method according to claim 19, characterized in that, during the process of the drone flying to the current position along the target direction, the method further comprises:
    当所述无人机的旋翼升力小于预设升力,且所述无人机的空速大于第一空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。When the rotor lift of the drone is less than the preset lift, and the airspeed of the drone is greater than the first airspeed threshold, the drone is switched from the rotor mode to the fixed wing mode.
  21. 根据权利要求19所述的方法,其特征在于,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述方法还包括:The method according to claim 19, characterized in that, during the process of the drone flying to the current position along the target direction, the method further comprises:
    当所述无人机的空速大于第二空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。When the airspeed of the drone is greater than the second airspeed threshold, switch the drone from the rotor mode to the fixed wing mode.
  22. 一种无人机的控制设备,其特征在于,包括:存储器和处理器;A control device for an unmanned aerial vehicle, which is characterized by comprising: a memory and a processor;
    所述存储器用于存储程序代码;The memory is used to store program codes;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
    根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线,其中,所述无人机沿所述目标航线进入所述第一个航路点时的方向与所述无人机沿所述预设航线从所述第一个航路点飞行到所述第 二个航路点的方向一致;According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine the target route from the current position of the drone to the first waypoint , Wherein the direction when the drone enters the first waypoint along the target route is the same as the drone flies from the first waypoint to the second waypoint along the preset route The directions of all waypoints are the same;
    根据所述目标航线,控制所述无人机飞行到所述第一个航路点。According to the target route, the drone is controlled to fly to the first waypoint.
  23. 根据权利要求22所述的控制设备,其特征在于,所述处理器根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线时,具体用于:The control device according to claim 22, wherein the processor determines from the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. When the UAV’s current position to the target route of the first waypoint is specifically used for:
    根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线;According to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route, determine the distance from the current position of the drone to the first waypoint Multiple alternative routes;
    从所述多个备选航线中确定所述目标航线。The target route is determined from the plurality of alternative routes.
  24. 根据权利要求23所述的控制设备,其特征在于,所述处理器根据所述无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线时,具体用于:The control device according to claim 23, wherein the processor determines according to the current position information of the drone and the position information of the first waypoint and the second waypoint in the preset route When multiple alternative routes from the current position of the UAV to the first waypoint are specifically used for:
    根据所述无人机当前的位置信息,确定与所述无人机在当前位置的速度方向相切的第一起始圆和第二起始圆;Determine the first starting circle and the second starting circle tangent to the speed direction of the drone at the current position according to the current position information of the drone;
    根据所述预设航线中的第一个航路点和第二个航路点之间的航线段,确定第一终止圆和第二终止圆,所述第一终止圆和所述第二终止圆分别与所述航线段的反向延长线相切;According to the route segment between the first waypoint and the second waypoint in the preset route, a first end circle and a second end circle are determined, the first end circle and the second end circle are respectively Tangent to the reverse extension line of the route segment;
    根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。According to the first starting circle or the second starting circle, and the first ending circle or the second ending circle, determine the distance from the current position of the drone to the first waypoint Multiple alternative routes.
  25. 根据权利要求24所述的控制设备,其特征在于,所述多个备选航线中的每个所述备选航线包括依次连接的第一航线段、第二航线段、第三航线段;The control device according to claim 24, wherein each of the plurality of alternative routes includes a first route segment, a second route segment, and a third route segment that are sequentially connected;
    所述第一航线段可投影于第一圆,所述第三航线段可投影于第二圆,所述第二航线段分别与所述第一圆和所述第二圆相切,所述第一圆为所述第一起始圆或所述第二起始圆,所述第二圆为所述第一终止圆或所述第二终止圆。The first route segment can be projected on a first circle, the third route segment can be projected on a second circle, and the second route segment is tangent to the first circle and the second circle. The first circle is the first starting circle or the second starting circle, and the second circle is the first ending circle or the second ending circle.
  26. 根据权利要求25所述的控制设备,其特征在于,所述第二航线 段包括第一子航线、第二子航线、第三子航线;其中,所述第一子航线与所述第一航线段连接,所述第三子航线与所述第三航线段连接;The control device according to claim 25, wherein the second route segment includes a first sub-route, a second sub-route, and a third sub-route; wherein the first sub-route and the first route Segment connection, the third sub-route is connected with the third route segment;
    所述第二子航线可投影于爬升圆,所述第一子航线分别与所述第一圆和所述爬升圆相切,所述第三子航线分别与所述第二圆和所述爬升圆相切。The second sub-course may be projected on a climb circle, the first sub-course is tangent to the first circle and the climb circle, and the third sub-course is respectively tangent to the second circle and the climb The circle is tangent.
  27. 根据权利要求26所述的控制设备,其特征在于,所述爬升圆是用户通过控制终端的用户界面设置的。The control device according to claim 26, wherein the climb circle is set by the user through the user interface of the control terminal.
  28. 根据权利要求26或27所述的控制设备,其特征在于,所述处理器根据所述第一起始圆或所述第二起始圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线时,具体用于:The control device according to claim 26 or 27, wherein the processor is based on the first starting circle or the second starting circle, and the first ending circle or the second ending circle , When determining multiple alternative routes from the current position of the drone to the first waypoint, it is specifically used to:
    根据所述第一起始圆或所述第二起始圆、所述爬升圆、以及所述第一终止圆或所述第二终止圆,确定从所述无人机的当前位置到所述第一个航路点的多个备选航线。According to the first start circle or the second start circle, the climb circle, and the first end circle or the second end circle, determine from the current position of the drone to the first Multiple alternative routes for a waypoint.
  29. 根据权利要求25-28任一项所述的控制设备,其特征在于,每个所述备选航线还包括:第四航线段,所述第四航线段分别与所述第三航线段和所述第一个航路点连接。The control device according to any one of claims 25-28, wherein each of the alternative routes further comprises: a fourth route segment, and the fourth route segment is respectively connected to the third route segment and the third route segment. Describe the first waypoint connection.
  30. 根据权利要求29所述的控制设备,其特征在于,所述第四航线段满足如下至少一个条件:The control device according to claim 29, wherein the fourth route segment satisfies at least one of the following conditions:
    所述第四航线段的高度与所述第一个航路点的高度相同;The height of the fourth route segment is the same as the height of the first waypoint;
    所述无人机在所述第四航线段上的飞行速度与所述第一个航路点的预设速度相同;The flying speed of the drone on the fourth route segment is the same as the preset speed of the first waypoint;
    所述第四航线段的方向与所述第一个航路点和所述第二个航路点之间的航线段的方向一致。The direction of the fourth route segment is consistent with the direction of the route segment between the first waypoint and the second waypoint.
  31. 根据权利要求25所述的控制设备,其特征在于,所述无人机在所述第一航线段、所述第二航线段、所述第三航线段上的飞行速度为所述第一个航路点的预设速度。The control device according to claim 25, wherein the flying speed of the UAV on the first route segment, the second route segment, and the third route segment is the first one. The preset speed of the waypoint.
  32. 根据权利要求25-31任一项所述的控制设备,其特征在于,所述无人机的高度在所述第一航线段、所述第二航线段、所述第三航线段中的至少一个航线上逐渐增加。The control device according to any one of claims 25-31, wherein the height of the drone is at least in the first route segment, the second route segment, and the third route segment. Gradually increase on a route.
  33. 根据权利要求25-32任一项所述的控制设备,其特征在于,所述 处理器从所述多个备选航线中确定所述目标航线时,具体用于:The control device according to any one of claims 25-32, wherein when the processor determines the target route from the multiple alternative routes, it is specifically configured to:
    确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程;In the process of determining that the drone flies from the current position to the first waypoint along each of the multiple alternative routes, the horizontal range of the drone ;
    将所述多个备选航线中水平航程最短的备选航线确定为所述目标航线。The candidate route with the shortest horizontal voyage among the plurality of candidate routes is determined as the target route.
  34. 根据权利要求33所述的控制设备,其特征在于,所述处理器确定所述无人机沿着所述多个备选航线中的每个所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程时,具体用于:The control device according to claim 33, wherein the processor determines that the UAV flies from the current position to the current position along each of the plurality of alternative routes. In the process of describing the first waypoint, the horizontal range of the UAV is specifically used for:
    根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数;According to the altitude of the drone at the current position and the altitude of the first waypoint, it is determined that when the drone is flying along the alternate route, the drone needs to be in the first The number of circling climbs on the second course segment and/or the third course segment;
    根据所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数,确定所述无人机沿着所述备选航线从所述当前位置飞行至所述第一个航路点的过程中,所述无人机的水平航程。According to the number of laps the drone needs to circulate and climb on the second route segment and/or the third route segment, it is determined that the drone will fly from the current position to the The horizontal range of the drone during the first waypoint.
  35. 根据权利要求34所述的控制设备,其特征在于,所述处理器根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的圈数时,具体用于:The control device according to claim 34, wherein the processor determines that the drone is along the line according to the height of the drone at the current position and the height of the first waypoint. When flying on the alternate route, when the drone needs to hover and climb on the second route segment and/or the third route segment, it is specifically used for:
    根据所述无人机在所述当前位置的高度和所述第一个航路点的高度,确定所述无人机沿着所述备选航线飞行时,所述无人机需要在所述第二航线段和/或所述第三航线段上盘旋爬升的轨迹倾角,所述盘旋爬升的轨迹倾角小于或等于预设爬升轨迹倾角阈值。According to the altitude of the drone at the current position and the altitude of the first waypoint, it is determined that when the drone is flying along the alternate route, the drone needs to be in the first The trajectory inclination angle of the spiral climb on the second route segment and/or the third route segment, the trajectory inclination angle of the spiral climb is less than or equal to a preset climb trajectory inclination angle threshold.
  36. 根据权利要求35所述的控制设备,其特征在于,所述无人机盘旋爬升的轨迹倾角是根据所述无人机在所述当前位置的高度和所述第一个航路点的高度的高度差、以及所述水平航程确定的。The control device according to claim 35, wherein the trajectory inclination of the drone hovering and climbing is based on the height of the drone at the current position and the height of the first waypoint Difference, and the horizontal range is determined.
  37. 根据权利要求22所述的控制设备,其特征在于,所述处理器根据无人机当前的位置信息以及预设航线中的第一个航路点和第二个航路点的位置信息,确定从所述无人机的当前位置到所述第一个航路点的目标航线之前,还用于:The control device according to claim 22, wherein the processor determines from the current location information of the drone and the location information of the first waypoint and the second waypoint in the preset route. Before the current position of the drone to the target route of the first waypoint, it is also used to:
    控制所述无人机从起始点上升到预设高度后沿着目标方向飞行到所述当前位置。The drone is controlled to rise from the starting point to the preset height and then fly along the target direction to the current position.
  38. 根据权利要求37所述的控制设备,其特征在于,所述目标方向为控制终端发送的遥控指令所指示的方向,或者所述无人机上升到所述预设高度时的方向。The control device according to claim 37, wherein the target direction is a direction indicated by a remote control instruction sent by a control terminal, or a direction when the drone rises to the preset height.
  39. 根据权利要求37或38所述的控制设备,其特征在于,所述处理器控制所述无人机从起始点上升到预设高度时,具体用于:The control device according to claim 37 or 38, wherein when the processor controls the drone to rise from a starting point to a preset height, it is specifically configured to:
    以旋翼模式控制所述无人机从起始点上升到预设高度。In the rotor mode, the drone is controlled to rise from the starting point to a preset height.
  40. 根据权利要求37或38所述的控制设备,其特征在于,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述无人机的飞行模式由旋翼模式过度为固定翼模式。The control device according to claim 37 or 38, wherein when the drone is flying along the target direction to the current position, the flight mode of the drone changes from the rotor mode to Fixed-wing mode.
  41. 根据权利要求40所述的控制设备,其特征在于,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述处理器还用于:The control device according to claim 40, wherein during the process of the drone flying to the current position along the target direction, the processor is further configured to:
    当所述无人机的旋翼升力小于预设升力,且所述无人机的空速大于第一空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。When the rotor lift of the drone is less than the preset lift, and the airspeed of the drone is greater than the first airspeed threshold, the drone is switched from the rotor mode to the fixed wing mode.
  42. 根据权利要求40所述的控制设备,其特征在于,所述无人机沿着所述目标方向飞行到所述当前位置的过程中,所述处理器还用于:The control device according to claim 40, wherein during the process of the drone flying to the current position along the target direction, the processor is further configured to:
    当所述无人机的空速大于第二空速阈值时,将所述无人机从所述旋翼模式切换为所述固定翼模式。When the airspeed of the drone is greater than the second airspeed threshold, switching the drone from the rotor mode to the fixed wing mode.
  43. 一种无人机,其特征在于,包括:An unmanned aerial vehicle, characterized in that it includes:
    机身;body;
    动力系统,安装在所述机身,用于提供飞行动力;The power system is installed on the fuselage to provide flight power;
    以及权利要求22-42任一项所述的控制设备。And the control device of any one of claims 22-42.
  44. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现权利要求1-21任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is executed by a processor to implement the method of any one of claims 1-21.
PCT/CN2019/092914 2019-06-26 2019-06-26 Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium WO2020258066A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/092914 WO2020258066A1 (en) 2019-06-26 2019-06-26 Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium
CN201980012528.1A CN111742277B (en) 2019-06-26 2019-06-26 Unmanned aerial vehicle control method, unmanned aerial vehicle control equipment, unmanned aerial vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/092914 WO2020258066A1 (en) 2019-06-26 2019-06-26 Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium

Publications (1)

Publication Number Publication Date
WO2020258066A1 true WO2020258066A1 (en) 2020-12-30

Family

ID=72646027

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/092914 WO2020258066A1 (en) 2019-06-26 2019-06-26 Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium

Country Status (2)

Country Link
CN (1) CN111742277B (en)
WO (1) WO2020258066A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306091B (en) * 2020-10-28 2023-06-20 峰飞航空科技(昆山)有限公司 Three-dimensional track planning method, device, equipment and storage medium
CN112306077B (en) * 2020-11-06 2022-11-08 广州极飞科技股份有限公司 Flight control method and device, aircraft and storage medium
CN112749847B (en) * 2021-01-15 2024-03-08 上海船舶研究设计院(中国船舶工业集团公司第六0四研究院) Ship route determining method and device and electronic equipment
CN113110555A (en) * 2021-04-30 2021-07-13 成都睿铂科技有限责任公司 Air route planning method
CN114650367B (en) * 2021-12-15 2023-11-21 广州极飞科技股份有限公司 Shooting control method, device, unmanned equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103149937A (en) * 2013-02-26 2013-06-12 北京航空航天大学 Transverse lateral curve flight-path tracking method based on curvature compensation
US20150066248A1 (en) * 2013-08-30 2015-03-05 Insitu, Inc. Unmanned vehicle searches
CN104503464A (en) * 2014-12-30 2015-04-08 中南大学 Computer-based convex polygon field unmanned aerial vehicle spraying operation route planning method
CN104807457A (en) * 2015-04-29 2015-07-29 广州快飞计算机科技有限公司 Generation method and device of flight line of aircraft and terminal equipment
CN108139759A (en) * 2015-09-15 2018-06-08 深圳市大疆创新科技有限公司 For unmanned vehicle path planning and the system and method for control
CN109460053A (en) * 2017-09-06 2019-03-12 广东泰高新技术发展有限公司 Aerial survey of unmanned aerial vehicle turning flight course planning method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4999782A (en) * 1989-05-03 1991-03-12 Honeywell Inc. Fixed curved path waypoint transition for aircraft
CN108496136A (en) * 2017-05-24 2018-09-04 深圳市大疆创新科技有限公司 Control method of making a return voyage, equipment and the unmanned vehicle of unmanned vehicle
CN107515617B (en) * 2017-08-15 2020-08-07 西安爱生技术集团公司 Method for controlling smooth switching of air route of fixed-wing unmanned aerial vehicle
CN108388263A (en) * 2018-03-01 2018-08-10 中国航空无线电电子研究所 Circular course autoflight system
CN109582035A (en) * 2018-11-29 2019-04-05 沈阳无距科技有限公司 A kind of aircraft's flight track air navigation aid, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103149937A (en) * 2013-02-26 2013-06-12 北京航空航天大学 Transverse lateral curve flight-path tracking method based on curvature compensation
US20150066248A1 (en) * 2013-08-30 2015-03-05 Insitu, Inc. Unmanned vehicle searches
CN104503464A (en) * 2014-12-30 2015-04-08 中南大学 Computer-based convex polygon field unmanned aerial vehicle spraying operation route planning method
CN104807457A (en) * 2015-04-29 2015-07-29 广州快飞计算机科技有限公司 Generation method and device of flight line of aircraft and terminal equipment
CN108139759A (en) * 2015-09-15 2018-06-08 深圳市大疆创新科技有限公司 For unmanned vehicle path planning and the system and method for control
CN109460053A (en) * 2017-09-06 2019-03-12 广东泰高新技术发展有限公司 Aerial survey of unmanned aerial vehicle turning flight course planning method

Also Published As

Publication number Publication date
CN111742277A (en) 2020-10-02
CN111742277B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
WO2020258066A1 (en) Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium
WO2018214074A1 (en) Return control method and apparatus of unmanned aerial vehicle, and unmanned aerial vehicle
US11194344B2 (en) Methods and system for autonomous landing
CN109720553B (en) Fixed-wing unmanned aerial vehicle with vertical take-off and landing function, control method and medium
US10293932B2 (en) Multi-mode unmanned aerial vehicle
WO2021244545A1 (en) Unmanned aerial vehicle guidance method, unmanned aerial vehicle, and storage medium
US9658619B1 (en) Unmanned aerial vehicle modular command priority determination and filtering system
US20220214703A1 (en) Flight method and apparatus for unmanned aerial vehicle and unmanned aerial vehicle
CN106114854B (en) A kind of push-button aircraft
WO2019127019A9 (en) Path planning method and device for unmanned aerial vehicle, and flight management method and device
CN106114853B (en) A kind of push-button aircraft
US20220055748A1 (en) Obstacle avoidance method and apparatus for unmanned aerial vehicle landing, and unmanned aerial vehilce
WO2021238742A1 (en) Return method, controller, unmanned aerial vehicle, and storage medium
US20220269290A1 (en) Route planning among no-fly zones and terrain
WO2021023187A1 (en) Control method of tilt rotor unmanned aerial vehicle, and tilt rotor unmanned aerial vehicle
WO2022037376A1 (en) Method for protecting unmanned aerial vehicle, and unmanned aerial vehicle
WO2020191666A1 (en) Return to home control method, flight control device, and unmanned aerial vehicle
US20210122466A1 (en) Aerial vehicle with differential control mechanisms
US20220317708A1 (en) Unmanned aerial vehicle protection method and apparatus and unmanned aerial vehicle
CN108572655A (en) flight control method and related device
CN113885565A (en) Control method for arc turning of multi-rotor unmanned aerial vehicle
CN112306077B (en) Flight control method and device, aircraft and storage medium
WO2021223136A1 (en) Control method, data processing method, device, unmanned aerial vehicle, and storage medium
US11345469B2 (en) Aerial vehicle using motor pulse-induced cyclic control
CN112099520A (en) Unmanned aerial vehicle landing control method and device, unmanned aerial vehicle 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: 19934685

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: 19934685

Country of ref document: EP

Kind code of ref document: A1