WO2022067759A1 - Flight control method, aircraft, control terminal, and readable storage medium - Google Patents

Flight control method, aircraft, control terminal, and readable storage medium Download PDF

Info

Publication number
WO2022067759A1
WO2022067759A1 PCT/CN2020/119652 CN2020119652W WO2022067759A1 WO 2022067759 A1 WO2022067759 A1 WO 2022067759A1 CN 2020119652 W CN2020119652 W CN 2020119652W WO 2022067759 A1 WO2022067759 A1 WO 2022067759A1
Authority
WO
WIPO (PCT)
Prior art keywords
aircraft
virtual
real
area
neighbor
Prior art date
Application number
PCT/CN2020/119652
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/CN2020/119652 priority Critical patent/WO2022067759A1/en
Publication of WO2022067759A1 publication Critical patent/WO2022067759A1/en

Links

Images

Classifications

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

Definitions

  • the present invention relates to the technical field of aircraft control, and in particular, to a flight control method, an aircraft, a control terminal and a computer-readable storage medium.
  • each drone is equipped with a collision avoidance strategy to prevent each other from colliding with each other during flight.
  • individual drones or aircraft may be out of control on the ground, so the corresponding operational scope of the aircraft cluster is planned, such as the establishment of geo-fences, to limit their areas of activity.
  • Each aircraft will implement flight control according to the planned geo-fence, so that the aircraft needs to determine the positional relationship between the aircraft itself and the geo-fence during flight, so as to avoid the situation that the aircraft leaves the geo-fence, but for a cluster of aircraft,
  • the applied geofences are the same, so that there are a large number of similar operations among the aircrafts during flight control, thus causing a waste of computing power of the aircrafts.
  • the present application provides a flight control method, an aircraft, a control terminal and a storage medium, so as to reduce the waste of computing power of the aircraft cluster.
  • the present application provides a flight control method, the method comprising:
  • the flight of the aircraft is controlled according to the neighboring aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighboring aircraft of the aircraft.
  • the present application also provides another flight control of an aircraft cluster, the method comprising:
  • Determining a neighboring aircraft of an aircraft in a neighboring area wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
  • the neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  • the present application also provides an aircraft, the aircraft comprising a memory and a processor;
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program and implement the following steps when executing the computer program:
  • Determining a neighboring aircraft of an aircraft in a neighboring area wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
  • the neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  • the present application further provides a control terminal, and the aircraft includes a memory and a processor;
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program and implement the following steps when executing the computer program:
  • Determining a neighboring aircraft of an aircraft in a neighboring area wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
  • the neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  • the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor implements the above-mentioned flight control method.
  • the embodiments of the present application provide a flight control method, an aircraft, a control terminal and a storage medium, obtain a pre-set geofence, then create a virtual aircraft cluster corresponding to the boundary of the geofence, and then determine the current need to control
  • the neighbor aircraft of the aircraft in the neighbor area the neighbor aircraft includes the real aircraft and the virtual aircraft, and finally the aircraft flies according to the determined neighbor aircraft according to the collision avoidance strategy of the aircraft.
  • the geo-fence of the aircraft is used as part of the aircraft cluster, and then the collision avoidance strategy is used to realize the flight of the aircraft, without the need for separate flight calculation and control for the geo-fence, which effectively saves aircraft.
  • the computing power of the cluster is used as part of the aircraft cluster, and then the collision avoidance strategy is used to realize the flight of the aircraft, without the need for separate flight calculation and control for the geo-fence, which effectively saves aircraft.
  • FIG. 1 is a schematic block diagram of a flight control system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of steps of a flight control method provided by an embodiment of the present application
  • Fig. 3 (a) is the area schematic diagram of the geofence provided by an embodiment of the present application.
  • 3(b) is a schematic diagram of a construction method of a virtual aircraft provided by an embodiment of the present application.
  • 3(c) is a schematic diagram of a construction method of a virtual aircraft provided by another embodiment of the present application.
  • 3(d) is a schematic diagram of a construction method of a virtual aircraft provided by another embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a step of determining a real aircraft provided by an embodiment of the present application
  • FIG. 5 is a schematic flowchart of a step of determining a real aircraft provided by another embodiment of the present application.
  • FIG. 6 is a schematic diagram of an area display interface of a neighbor area provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a step of determining a virtual aircraft provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a coordinate system corresponding to a geofence provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a step of determining a virtual aircraft provided by another embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a step of determining a real aircraft provided by another embodiment of the present application.
  • Fig. 11(a) is a schematic diagram of the flight direction of an aircraft provided by an embodiment of the present application.
  • Fig. 11(b) is a schematic diagram of the flight direction of an aircraft provided by another embodiment of the present application.
  • FIG. 12 is a schematic flowchart of a flight control method for an aircraft cluster provided by an embodiment of the present application.
  • FIG. 13 is a schematic block diagram of an aircraft provided by an embodiment of the present application.
  • FIG. 14 is a schematic block diagram of a control terminal provided by an embodiment of the present application.
  • each drone is equipped with a collision avoidance strategy to prevent each other from colliding, so that each drone can fly safely.
  • each UAV or aircraft may be out of control on the ground. Therefore, in order to make the aircraft fly normally and safely, it is necessary to plan the corresponding operating range for the aircraft cluster, such as establishing a geo-fence to limit its activity area. .
  • each aircraft after planning the corresponding geo-fence for the aircraft cluster, each aircraft will realize flight control according to the planned geo-fence, and at the same time calculate the positional relationship between the aircraft and the geo-fence in real time to ensure that the aircraft is always on the fly.
  • the positional relationship between the aircraft and the geo-fence in real time to ensure that the aircraft is always on the fly.
  • the embodiments of the present application provide a flight control method, an aircraft, a control terminal, and a storage medium, which are used to control the safe flight of each aircraft in an aircraft cluster, and at the same time reduce the waste of computing power in the aircraft cluster.
  • Figure 1 shows the flight control system of the UAV formation
  • the flight control system includes a ground terminal and a plurality of aircraft, the ground terminal is used to control the flight of the aircraft or perform corresponding actions, and from the aircraft Acquire corresponding motion information, where the motion information is flight motion information of the aircraft, such as motion direction, motion attitude, motion speed, and/or position information, and the like.
  • the aircraft includes unmanned aerial vehicles
  • the unmanned aerial vehicles include rotary-wing unmanned aerial vehicles, such as quad-rotor unmanned aerial vehicles, hexa-rotor unmanned aerial vehicles, octa-rotor unmanned aerial vehicles, or fixed-wing unmanned aerial vehicles.
  • rotary-wing and fixed-wing UAVs is not limited here.
  • the ground terminal may also be called a control terminal, for example, including a remote control, a ground control platform, a mobile phone, a tablet computer, a notebook computer, a PC computer, etc., and of course other devices, which are not limited herein.
  • a control terminal for example, including a remote control, a ground control platform, a mobile phone, a tablet computer, a notebook computer, a PC computer, etc., and of course other devices, which are not limited herein.
  • the ground terminal is used to control the flight of the movable platform or perform certain actions, such as performing photography or measurement. As shown in Figure 1, one ground terminal can control multiple aircraft.
  • FIG. 2 is a schematic flowchart of steps of a flight control method provided by an embodiment of the present application.
  • the flight control method can be applied to the aircraft in the aircraft cluster, so as to control the flight of the aircraft during the flight of the aircraft, and avoid the aircraft from colliding and flying out of the specified flight area.
  • the flight control method includes steps S201 to S203.
  • Geofence is an area boundary that allows aircraft to fly. In practical applications, it can be used to restrict aircraft from flying within the area included in the boundary of the geofence, or it can be used to control the aircraft outside the area included in the boundary of the geofence. flight.
  • the aircraft when the geo-fence restricts the aircraft from flying within the area corresponding to the geo-fence, then the aircraft is flying normally when the aircraft is in the area where the geo-fence is located, and is flying outside the area corresponding to the geo-fence. , which is abnormal flight. Therefore, when controlling the flight of the aircraft, it is necessary to control the aircraft to fly in the area corresponding to the geo-fence to ensure the safe flight of the aircraft. Especially for aircraft clusters, a large number of aircrafts need to be reasonably controlled for their flight. If there is no restriction on their flight area, but they are allowed to fly at will, it may cause greater flight risks.
  • the geo-fence is used as an explanation for restricting the flight of the aircraft in its corresponding area, that is, when the aircraft is flying in the area corresponding to the geo-fence, it is normal flight, Otherwise, it is abnormal flight.
  • the geofence is preset and can be an artificially set area.
  • an area is artificially designated as a geofence.
  • the shape of the geofence is not limited, such as a circular fence and a polygonal fence. It is set according to the actual area.
  • the area corresponding to an aircraft place can also be set as a geo-fence.
  • the operator can select and set the current corresponding geofence.
  • the aircraft when the aircraft is controlled to fly, the aircraft is made to fly within the area corresponding to the preset geo-fence. Therefore, when the aircraft is controlled to fly, the preset geo-fence is acquired and created. The virtual aircraft clusters corresponding to the boundaries of the obtained geofences.
  • the geofence boundary is materialized and the aircraft is used to replace the geofence boundary, that is, a boundary identical to the obtained geofence is formed by several aircrafts, but due to this
  • the aircraft used is not a real operational aircraft, so virtual aircraft is used when the aircraft is used to replace the geo-fence boundary, and the set of aircraft that constitute the entire geo-fence boundary is the virtual aircraft cluster used.
  • the steps include: determining how many aircraft are based on the boundary of the geo-fence. virtual positions, and creating a virtual aircraft at each of the virtual positions, resulting in a cluster of virtual aircraft.
  • the virtual position corresponding to each virtual aircraft on the boundary of the geofence is determined. Since the virtual aircraft does not actually exist, after the virtual position is determined, each virtual aircraft is The virtual position is regarded as a virtual aircraft, and after the virtual position on the boundary of the entire geofence is determined, the entire virtual aircraft cluster can be obtained, and for the obtained entire virtual aircraft cluster, it will be added to the entire real aircraft In the cluster, that is, the created virtual aircraft set is regarded as a part of the whole aircraft cluster, and then when the real aircraft is controlled to fly, since the geofence is transformed into a virtual aircraft and added to the entire aircraft cluster, collision avoidance can be used. strategy to control the flight of real aircraft.
  • the method includes: dividing the boundary of the geo-fence according to a preset interval distance to obtain multiple virtual locations.
  • the preset separation distance is used to determine the separation of each virtual aircraft.
  • a position is selected as the starting position, and then the follow-up is determined once according to the set separation distance.
  • Virtual positions corresponding to several virtual aircraft, and each virtual position corresponds to a virtual aircraft.
  • the preset separation distance can be customized according to actual needs, but it is not suitable to set the separation distance too large.
  • the geofence can also be a circular area, so when constructing a virtual aircraft cluster corresponding to the geofence, if the boundary of the geofence is a circle, the preset distance interval can be an radian, that is The construction of virtual aircraft cluster is realized through the included angle radian formed by two adjacent virtual aircraft.
  • S202 Determine the neighboring aircraft of the aircraft in the neighboring area, where the neighboring aircraft includes a virtual aircraft and/or a real aircraft in a virtual aircraft cluster.
  • the obtained virtual aircraft cluster will be added to the real aircraft cluster to obtain a new aircraft cluster, but the position of each virtual aircraft in the virtual aircraft cluster is will not change. For a real aircraft, it will complete its own flight according to the newly obtained aircraft cluster and flight instructions.
  • a virtual aircraft may be included, ie the neighbor aircraft consists of real aircraft and/or virtual aircraft.
  • the way of determining the real aircraft and the virtual aircraft is different. Therefore, when determining the neighbor aircraft, first determine the neighbor area of the aircraft, and then determine the real aircraft in the neighbor area, and Virtual aircraft in the neighbor area to obtain the current corresponding neighbor aircraft.
  • Step S401 Determine target position information of the aircraft.
  • the neighbor area is usually set as a circular area or other shape area, then when determining the aircraft in the neighbor area, determine the distance between each real aircraft and the currently controlled aircraft. Whether the distance is less than or equal to the area radius corresponding to the neighbor area, when the actual distance between the two is not greater than the set area radius, it is determined to be in the neighbor area, otherwise, it is determined to be outside the neighbor area.
  • the target position information of the aircraft it can be determined according to its own positioning device, such as GPS positioning device, through its own positioning, you can know the current distance position of the aircraft itself, such as specific latitude and longitude values, in world space, a latitude and longitude
  • the value can represent a position, but for the aircraft, an altitude value is also required, because all aircraft can exist under one longitude and latitude, that is, the same longitude and latitude but different altitudes. Therefore, when determining the aircraft's own position, in addition to determining the aircraft itself In addition to the latitude and longitude, the altitude value of the aircraft can also be determined.
  • the target position information of the aircraft when determining the target position information of the aircraft, it can be expressed in the form of coordinates, such as only including longitude and latitude (114°00'E, 22°35'N) and flight altitude (114°00E) ', north latitude 22°35', 150m), wherein, east longitude 114°00' and north latitude 22°35' represent the longitude and latitude of the aircraft, and 150m represents the flight altitude of the aircraft.
  • Step S402 Receive real location information sent by each real aircraft within the geo-fence.
  • information can be exchanged between aircraft through broadcasting. Therefore, after the aircraft completes the acquisition of its own position information, it can broadcast its own position information to other real aircraft.
  • the aircraft will send corresponding broadcasts at regular intervals or in real time, and carry its own location information in the broadcasts. At the same time, it will also receive broadcasts from other aircraft, and parse and read the information contained and carried in the broadcasts.
  • the aircraft can also actively obtain the position information of other real aircraft around it.
  • the aircraft actively sends a request for obtaining position information to the outside world.
  • the real aircraft can feed back its own position information to the aircraft.
  • the aircraft can also actively detect the position information of other real aircraft through other means, such as detectors.
  • the real position information is used to perform the area with the virtual position information described below, wherein the real position information is the position information corresponding to the real aircraft, and the virtual position information is the virtual aircraft created based on the geo-fence.
  • the location information corresponding to the virtual aircraft in the cluster is used to perform the area with the virtual position information described below, wherein the real position information is the position information corresponding to the real aircraft, and the virtual position information is the virtual aircraft created based on the geo-fence.
  • the location information corresponding to the virtual aircraft in the cluster is used to perform the area with the virtual position information described below, wherein the real position information is the position information corresponding to the real aircraft, and the virtual position information is the virtual aircraft created based on the geo-fence.
  • Step S403 according to the real position information, the target position information and the area information corresponding to the neighbor area, determine the real aircraft in the neighbor area.
  • the real aircraft in the neighbor area at this time will be determined.
  • the obtained target position information and the real position information are combined with the area information corresponding to the set neighbor area to determine the real aircraft currently in the neighbor area.
  • Step S501 according to the real position information and the target position information, determine the first distance between the real aircraft and the aircraft;
  • Step S502 Read the area information corresponding to the neighbor area, and determine the real aircraft in the neighbor area according to the first distance and the area information.
  • the real aircraft in the neighbor aircraft it is determined by distance comparison. Therefore, when the target position information and the real position information corresponding to each real aircraft are obtained, the first distance between each real aircraft and the aircraft is determined, and the neighbors are read at the same time. area information corresponding to the area, so as to determine whether it is a real aircraft in a neighboring area according to the first distance and the area information.
  • the position information of the aircraft can be determined by adding altitude and latitude. For example, (114°00'E, 22°35'N, 150m) is the position information of an aircraft.
  • the aircraft receives the real position sent by other real aircraft After the information is obtained, the distance value between each real aircraft and the aircraft can be obtained through distance calculation.
  • latitude is the latitude
  • longitude is the longitude
  • R is the radius of the earth 6378.137 (km)
  • the unit of the calculation result is km .
  • the height value can also be added to determine the distance between the two aircraft considering the height difference.
  • the formula for calculating the time distance is:
  • L is the distance between the aircraft
  • H 1 is the height of the aircraft
  • H 2 is the height of the real aircraft in the neighbor area.
  • the area information of the neighbor area it can be the area radius of the neighbor area. Since the position information of each aircraft is different, the corresponding neighbor area for each aircraft is also different, as shown in the figure 6, for aircraft 1, its corresponding neighbor area is area A, for aircraft 2, its corresponding neighbor area is area B, and for aircraft 3, its corresponding neighbor area is area C.
  • the neighbor areas corresponding to each aircraft may have overlapping areas, such as the neighbor areas corresponding to aircraft 1 and 2, or there may be no overlapping areas, such as the neighbor areas corresponding to aircraft 1 and 3. .
  • the area information of the neighbor area is pre-stored and recorded in the aircraft, so after the first distance between the aircraft and the real aircraft is calculated, the pre-recorded and stored area information will be read, and then the obtained first distance will be read.
  • the distance is compared with the area information, wherein the area information specifically includes a preset actual distance.
  • the first distance is compared with the preset actual distance in the area information, and it is determined whether the current corresponding real aircraft is a real aircraft in a neighbor aircraft according to the actual comparison result. Wherein, when it is determined that the first distance is less than or equal to the preset actual distance, it is determined that the real aircraft corresponding to the currently compared first distance is a real aircraft in the neighbor area, otherwise it is determined not to be a real aircraft in the neighbor area .
  • the preset actual distance is 5m
  • the preset actual distance is set according to actual application scenarios and requirements, and there is no specific limitation.
  • the virtual aircraft in the neighbor area also needs to be determined. Since the position of the virtual aircraft is fixed, referring to FIG. 7 , after determining that the aircraft is in the neighbor area When the virtual aircraft inside, including:
  • Step S701 constructing a coordinate system corresponding to the geo-fence.
  • the above method of determining the real aircraft by broadcasting cannot be used when determining the virtual aircraft in the neighboring area. Its own position can be acquired in real time, so when determining the virtual aircraft, it can be determined by means of coordinates.
  • a coordinate system corresponding to the geo-fence is first constructed, that is, a coordinate system is reconstructed based on the pre-built geo-fence, and then the virtual aircraft in the neighbor area is determined by means of coordinates.
  • the geofence When constructing the coordinate system corresponding to the geofence, the geofence is pre-selected, and the coordinates of the boundary of the geofence in the world coordinate system are known, that is, the latitude and longitude coordinates corresponding to the boundary of the geofence are Known, so when the coordinate system corresponding to the geofence is constructed, the real latitude and longitude coordinates corresponding to the geofence can be retained, that is, the coordinates are represented by the real latitude and longitude, and a new coordinate can be reconstructed, that is, the The latitude and longitude are converted to obtain new coordinates in the constructed coordinate system.
  • Step S702 Determine the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system, so as to determine the neighbor aircraft of the aircraft in the neighbor area according to the virtual coordinates.
  • the virtual positions corresponding to each virtual aircraft in the virtual aircraft cluster corresponding to the geofence need to be fused into the constructed coordinate system.
  • the coordinate system constructed at this time can be as shown in Fig. 8 .
  • a point of the geo-fence is used as the origin of the new coordinates, and the virtual positions of the virtual aircraft corresponding to the boundary of the geo-fence are co-ordinated. Since the geo-fence constructed at this time is a polygon (a rectangle in the figure) ), the latitude and longitude corresponding to the four vertices can be obtained by positioning, so after determining the latitude and longitude corresponding to each vertex, the lengths of oa and ob can be calculated, and then the new coordinates of a, b and c The coordinates of the three vertices.
  • the coordinates of point o are (0, 0)
  • the coordinates of point a are (2000, 0)
  • the coordinates of point b are (0, 1000)
  • the coordinates of point c are (2000, 1000)
  • the coordinates of each virtual aircraft can be determined according to the distance between two adjacent virtual aircraft.
  • the coordinates of a virtual aircraft adjacent to point o are (d, 0), where d is the distance between two adjacent virtual aircrafts, and can be (2d, 0), (3d, 0)...until (2000, 0) in sequence on the horizontal axis.
  • a new coordinate system corresponding to the geofence can be constructed with the center of the circle as the origin of the constructed coordinate system, and the coordinates corresponding to the virtual aircraft can be fused into the new coordinate system. middle.
  • the virtual aircraft in the neighboring area of the currently controlled aircraft will be determined according to the coordinate system after fusing the coordinate positions of all virtual aircraft.
  • Step S901 determining the target coordinates of the aircraft in the coordinate system
  • Step S902 Determine a virtual aircraft in the neighbor area according to the target coordinates and the virtual coordinates.
  • the coordinate position of the real aircraft in the constructed coordinate system will be determined. Corresponding to each aircraft in the real aircraft cluster, it will exist in the coordinate system. It has its own corresponding coordinates. Therefore, when completing the construction of the coordinate system, determine the target coordinates of the aircraft in the coordinate system.
  • the target coordinates are the position of the currently controlled aircraft in the coordinate system. After determining the target coordinates, it will be According to the target coordinates and the pre-determined virtual coordinates of the virtual aircraft, the virtual aircraft in the neighbor area is determined.
  • the latitude and longitude corresponding to a virtual aircraft can be selected.
  • the distance between the aircraft and the virtual aircraft can be calculated by calculating the latitude and longitude.
  • the distance and azimuth of the aircraft are then converted to obtain the target coordinates of the aircraft in the coordinate system.
  • determining the target position of the aircraft when determining the target position of the aircraft, it includes: determining a first relative position between the target position information and the geo-fence; determining a target of the aircraft in the coordinate system according to the first relative position coordinate.
  • the first relative position of the aircraft in the world coordinates and the geo-fence is determined, wherein the first relative position includes the distance and the azimuth in the horizontal direction, and then the determined first relative position is The positional relationship determines the target coordinates corresponding to the aircraft in the coordinate system.
  • the coordinate system constructed for the geofence is the NED coordinate system
  • the data of the geofence includes GPS data, such as GPS data including boundary points
  • the coordinate system corresponding to the GPS data is the world coordinate system, which can be selected from the data set of the geofence
  • the GPS of a certain point is used as the coordinate origin under the NED coordinate system, and the GPS data of other boundary points are mapped to the NED coordinate system. Therefore, when calculating the target coordinates corresponding to the aircraft in the coordinate system, the position of the aircraft can also be mapped to the NED coordinate system according to the GPS data of the aircraft and the GPS data of the origin under the NED coordinate system.
  • determining the first relative position when determining the first relative position, it includes: selecting at least one fence position in the geo-fence; determining the target position information and the at least one fence according to the target position information and the at least one fence position The positional relationship of the positions to determine the first relative position of the target position information and the geo-fence.
  • the target coordinates corresponding to the aircraft at this time are (30, 30).
  • the steps include: determining a first coordinate distance between the virtual aircraft and the aircraft according to the target coordinates and the virtual coordinates; reading the neighbors The preset coordinate distance corresponding to the area is determined, and the virtual aircraft in the neighbor area is determined according to the first coordinate distance and the preset coordinate distance.
  • the preset coordinate distance when the distance is not proportionally reduced, it can be the same as the preset actual distance described above, and at the same time, it can be reduced proportionally so that the preset coordinate distance is not equal to the preset actual distance, but no matter what the operation and Does not affect the actual judgment process.
  • the virtual aircraft corresponding to the first coordinate distance is a virtual aircraft in a neighbor area, and otherwise, it is determined not to be a virtual aircraft in a neighbor area.
  • the coordinate distance between the target coordinate and the virtual coordinate may not be calculated, but the judgment may be implemented in other ways.
  • the distance between the target coordinates and the boundary corresponding to the geo-fence in the coordinates is calculated, and then further determination is performed according to the obtained distance.
  • the minimum value of the distance between the target coordinates of the aircraft and the area boundary is greater than the preset coordinate distance, then obviously there will be no virtual aircraft in the neighbor area on the boundary of the area, which can reduce invalidation. comparison calculation.
  • the maximum value of the distance between the target coordinate corresponding to the aircraft and the area boundary is less than or equal to the preset coordinate distance, it is determined that all virtual aircraft in the changing contact area are virtual aircraft in the neighboring area.
  • the aircraft may need to be controlled to fly within the latitude and longitude area corresponding to the geofence.
  • the latitude and longitude corresponding to the aircraft during the flight cannot be within the boundaries of the geofence. outside the corresponding latitude and longitude range. Therefore, at this time, when controlling the flight of the aircraft, it is not necessary to consider the height difference between the aircraft and the virtual aircraft corresponding to the geo-fence.
  • the geofence when the geofence is a three-dimensional figure, it is necessary to ensure that the aircraft flies within the area enclosed by the boundary of the geofence, so at this time, it is not only necessary to consider the distance in the horizontal direction, that is, not only according to the Longitude and latitude are used to determine the distance between the aircraft and the virtual aircraft, and the height difference between the aircraft and the virtual aircraft also needs to be considered.
  • the area formed by the geofence is a sphere
  • the aircraft needs to be controlled to fly within the formed sphere. Therefore, when determining the virtual aircraft in the neighboring aircraft, it is also necessary to calculate the difference between the virtual aircraft and the currently controlled aircraft. height difference between.
  • the area formed by the geofence is a three-dimensional space of other shapes
  • the actual height difference also needs to be considered to determine the virtual aircraft in the neighboring aircraft.
  • Fig. 3(d) taking the geofence as a cube as an example, it is necessary to lay virtual icons on the six faces of the cube according to the size of the virtual aircraft to indicate that the six faces are provided with virtual aircraft.
  • the situation is different from Figure 3(b) or Figure 3(c), that is, the boundary of the geofence not only includes the edge position of a certain plane, but also needs to include the position within the plane, that is to say, in this case, six All the positions of each plane are the boundaries of the spatial three-dimensional geo-fence. Therefore, virtual aircraft need to be set on the six planes, so as to ensure that the real aircraft will not fly out of the range delineated by the three-dimensional geo-fence.
  • the real aircraft that is determined to be in the neighbor area uses the broadcast between the aircraft to determine its own position, thereby realizing the determination of the real aircraft in the neighbor area, while the virtual aircraft in the neighbor area is determined.
  • the boundary of the geo-fence and the position of the virtual aircraft are co-ordinated, and then the virtual aircraft in the neighbor area is determined through coordinate comparison.
  • the real aircraft in the neighbor area can also be determined by means of coordinates.
  • the real aircraft in the neighbor area of the aircraft can be determined, including:
  • Step S1001 determining the real coordinates corresponding to each real aircraft in the coordinate system
  • Step S1002 Determine a real aircraft in the neighbor area according to the real coordinates and the target coordinates.
  • target coordinates which specifically includes: determining the second relative position of each real aircraft and the aircraft according to the real position information and target position information; according to the target coordinates and the second relative position, The corresponding real coordinates of each real aircraft in the coordinate system are determined.
  • the real position information is the latitude and longitude in the world space corresponding to each real aircraft
  • the target position information is the latitude and longitude in the world space corresponding to the currently controlled aircraft.
  • the second relative position between each real aircraft and the currently controlled aircraft is determined.
  • the real coordinates corresponding to each real aircraft can be determined in the constructed coordinate system.
  • the target coordinates are (150, 200)
  • the second relative position is due east
  • the distance is 25m
  • the real coordinates corresponding to the real aircraft determined at this time are (175, 200).
  • the method includes: determining the second coordinate distance between the real aircraft and the aircraft according to the target coordinates and the real coordinates; reading the preset coordinate distance corresponding to the neighbor area, according to the The second coordinate distance and the preset coordinate distance determine the real aircraft in the neighbor area.
  • the coordinate distance between the real coordinates and the target coordinates will be calculated to obtain the second coordinate distance, where the second coordinate distance includes the distance between all real aircraft and the currently controlled aircraft. Coordinate distance, and then compare and filter to determine which real aircraft are in the neighbor area of the currently controlled aircraft.
  • the second coordinate distance is compared with the preset coordinate distance included in the area information corresponding to the read neighbor area, and it is determined that the real aircraft whose second coordinate distance is less than the preset coordinate distance is located in the neighbor area. The real aircraft, otherwise it is determined to be outside the neighbor area.
  • Step S203 controlling the flight of the aircraft according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  • the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  • the flight of the aircraft will be controlled based on the determined neighbor aircraft according to the collision avoidance strategy.
  • the collision avoidance strategy is a strategy to avoid the collision between the aircraft and other aircraft during flight. For example, when an obstacle appears on the flight path of the aircraft, it needs to be avoided in time to avoid the collision between the aircraft and the obstacle. During the flight, all objects except its own aircraft are obstacles. For example, in the aircraft cluster, when aircraft 1 is flying, all aircraft except aircraft 1 are obstacles, then during the flight of aircraft 1 , it is necessary to avoid other aircraft in a timely and effective manner.
  • the entire processing process is implemented on the processor of the aircraft itself, after determining the neighbor aircraft, it will control its own flight according to the collision avoidance strategy.
  • the general collision avoidance strategy may be that when there are other aircraft in front of the aircraft, it will not fly forward. Fly in the direction, and the aircraft can also perform hovering operations at this time.
  • a secondary judgment process can be added to the collision avoidance of the aircraft to avoid mis-control.
  • the boundary between the aircraft and the geo-fence will be smaller than the preset actual distance. If you control the aircraft to stay away from the geo-fence during this time period, if you are performing an art display at this time, the display effect of the aircraft will be poor. It occurs because the aircraft is based on the collision avoidance strategy.
  • a secondary judgment can be added under the condition of ensuring flight safety to reduce the occurrence of flight control misoperations.
  • the aircraft when the aircraft is controlled to fly based on the collision avoidance strategy, when the aircraft in the adjacent area of the aircraft is determined, the aircraft is not controlled to perform collision avoidance, such as turning or flying in the opposite direction, but continues to detect the aircraft and the aircraft in the adjacent area. The distance between the aircraft, and when the detected distance is less than or equal to the safe distance, control the aircraft to perform collision avoidance.
  • collision avoidance such as turning or flying in the opposite direction
  • the safety distance can be a preset value, and the preset value can be smaller than the distance information corresponding to the neighbor range.
  • the distance of the neighbor range is 10m
  • the safety distance can be set to 7m , that is, when the distance between the aircraft and other aircraft is less than or equal to 7m, the aircraft will be controlled to perform collision avoidance, such as controlling the aircraft to steer or fly in the opposite direction, or control the aircraft to hover in the air.
  • the distance and safety distance for the preset neighbor area/neighbor range are determined according to actual conditions, such as actual flight scenarios and flight tasks, and are not limited here.
  • the neighbor aircraft in the neighbor area of the aircraft can be obtained from the figure, which only contains virtual aircraft, then the flight direction of the aircraft at this time cannot be
  • the direction toward the neighboring aircraft, the direction that can fly at this time is the direction corresponding to the angle ⁇ , that is, the flying direction of the aircraft at this time can follow the direction indicated by the arrow in the figure.
  • the neighboring aircraft of the aircraft include virtual aircraft and real aircraft, and the direction that can be flown at this time is the direction corresponding to the angle ⁇ , then at this time The flight direction of the flight should avoid the virtual aircraft and the real aircraft, and you can fly in the direction indicated by the arrow in the figure.
  • FIG. 12 is a schematic flowchart of a flight control method for an aircraft cluster according to an embodiment of the present application.
  • the method includes:
  • Step S1201 obtaining a geo-fence, and creating a virtual aircraft cluster corresponding to the boundary of the geo-fence;
  • Step S1202 determining the neighboring aircraft of the aircraft in the neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
  • Step S1203 sending the neighbor aircraft to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is to avoid collision between the aircraft and the neighbor aircraft of the aircraft strategy.
  • a communication connection is established between the control terminal and the controlled aircraft, which can realize the exchange of data and information.
  • the aircraft sends the data information obtained by itself to the control terminal, and the control terminal, after performing data processing based on the received data information, feeds back the result information obtained from the processing to the corresponding aircraft, so that the aircraft responds.
  • flight control is performed based on the result information.
  • the control terminal acquires the pre-stored geo-fences related to the aircraft, then creates a virtual aircraft cluster corresponding to the boundaries of the read geo-fences, and then determines the neighbor aircraft in the neighbor area of the aircraft.
  • the neighbor aircraft contains The real aircraft and the virtual aircraft finally send the determined neighbor aircraft to the associated aircraft, so that the associated aircraft flies based on the collision avoidance strategy.
  • the control terminal since the process of determining the neighbor aircraft is performed on the control terminal, and the location information of the real aircraft needs to be used when determining the real aircraft included in the neighbor aircraft, the control terminal will also receive the county association at all times. The position information sent by each real aircraft, and then determine the real aircraft in the neighbor area according to the received position information.
  • determining the virtual aircraft included in the neighbor aircraft it may be implemented in the manner described in the embodiments from steps S701 to S702, but the entire processing process is performed on the control terminal.
  • a pre-set geofence is obtained, then a virtual aircraft cluster corresponding to the boundary of the geofence is created, and the neighbor aircraft in the neighbor area of the aircraft currently to be controlled is determined, including There are real aircraft and virtual aircraft, and finally, according to the collision avoidance strategy of the aircraft, the flight is carried out according to the determined neighbor aircraft.
  • the geo-fence of the aircraft is used as part of the aircraft cluster, and then the collision avoidance strategy is used to realize the flight of the aircraft, without the need for separate flight calculation and control for the geo-fence, which effectively saves the aircraft.
  • the computing power of the cluster is used as part of the aircraft cluster, and then the collision avoidance strategy is used to realize the flight of the aircraft, without the need for separate flight calculation and control for the geo-fence, which effectively saves the aircraft.
  • FIG. 13 is a schematic block diagram of an aircraft provided by an embodiment of the present application.
  • the aircraft 1300 includes a processor 1301 and a memory 1302 , and the processor 1301 and the memory 1302 are connected by a bus, such as an I2C (Inter-integrated Circuit) bus 1303 .
  • I2C Inter-integrated Circuit
  • the processor 1301 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 1302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 1302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a mobile hard disk, and the like.
  • the processor 1301 is used for running the computer program stored in the memory, and implements the following steps when executing the computer program:
  • Determining a neighboring aircraft of an aircraft in a neighboring area wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
  • the flight of the aircraft is controlled according to the neighboring aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighboring aircraft of the aircraft.
  • the processor 1301 when the processor 1301 implements the creation of the virtual aircraft cluster corresponding to the boundary of the geofence, it specifically implements:
  • a plurality of virtual positions are determined according to the boundaries of the geo-fence, and a virtual aircraft is created at each of the virtual positions to obtain a virtual aircraft cluster.
  • the virtual location is located on the boundary of the geofence.
  • the processor 1301 when implementing the determining of multiple virtual locations according to the geo-fence, the processor 1301 specifically implements:
  • the geo-fences are divided according to a preset interval distance to obtain a plurality of virtual positions.
  • the processor 1301 when the processor 1301 implements the determining of a neighboring aircraft in a neighboring area of the aircraft, the processor 1301 specifically implements:
  • the processor 1301 specifically implements:
  • the real position information the target position information and the area information corresponding to the neighbor area, the real aircraft in the neighbor area is determined.
  • the processor 1301 when the processor 1301 determines the real aircraft in the neighbor area according to the real location information, the target location information, and the area information corresponding to the neighbor area, the processor 1301 specifically implements:
  • the area information corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the first distance and the area information.
  • the area information includes a preset actual distance
  • the processor 1301 determines the real aircraft in the neighbor area according to the first distance and the area information, the processor 1301 specifically implements:
  • the real aircraft corresponding to the first distance is a real aircraft located in the neighbor area.
  • the processor 1301 specifically implements:
  • the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system are determined, so as to determine the neighbor aircraft of the aircraft in the neighbor area according to the virtual coordinates.
  • the processor 1301 is implementing the determining according to the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system, so as to determine the neighbors of the aircraft according to the virtual coordinates.
  • the specific implementation is as follows:
  • a virtual aircraft in the neighbor area is determined.
  • the processor 1301 when the processor 1301 determines the virtual aircraft in the neighbor area according to the target coordinates and the virtual coordinates, it specifically implements:
  • the preset coordinate distance corresponding to the neighbor area is read, and the virtual aircraft in the neighbor area is determined according to the first coordinate distance and the preset coordinate distance.
  • the processor 1301 when the processor 1301 implements the determining of the virtual aircraft in the neighbor area according to the first coordinate distance and the preset coordinate distance, the processor 1301 specifically implements:
  • the virtual aircraft corresponding to the first coordinate distance is a virtual aircraft located in the neighbor area.
  • the processor 1301 when the processor 1301 implements the determining of the target coordinates of the aircraft in the coordinate system, the processor 1301 specifically implements:
  • the target coordinates of the aircraft in the coordinate system are determined.
  • the processor 1301 when implementing the determining of the first relative position between the target location information and the geo-fence, the processor 1301 specifically implements:
  • a positional relationship between the target position information and the at least one fence position is determined to determine a first relative position of the target position information and the geo-fence.
  • the processor 1301 specifically implements:
  • the real aircraft in the neighbor area is determined.
  • the processor 1301 when the processor 1301 determines the real aircraft in the neighbor area according to the real coordinates and the target coordinates, it specifically implements:
  • the target coordinates and the real coordinates determine the second coordinate distance between the real aircraft and the aircraft
  • the preset coordinate distance corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the second coordinate distance and the preset coordinate distance.
  • the processor 1301 when the processor 1301 implements the determining of the real aircraft in the neighbor area according to the second coordinate distance and the preset coordinate distance, the processor 1301 specifically implements:
  • the second coordinate distance is less than or equal to the preset coordinate distance, it is determined that the real aircraft corresponding to the second coordinate distance is a real aircraft located in the neighbor area.
  • the processor 1301 when the processor 1301 implements the determining of the real coordinates corresponding to the real aircraft in the coordinate system, the processor 1301 specifically implements:
  • the corresponding real coordinates of each real aircraft in the coordinate system are determined.
  • FIG. 14 is a schematic block diagram of a control terminal provided by an embodiment of the present application.
  • the control terminal 1400 includes a processor 1401 and a memory 1402, and the processor 1401 and the memory 1402 are connected through a bus, such as an I2C (Inter-integrated Circuit) bus 1403.
  • I2C Inter-integrated Circuit
  • the processor 1401 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 1402 may be a smartphone, a tablet computer, a PTZ, or the like.
  • the processor 1401 is used for running the computer program stored in the memory, and implements the following steps when executing the computer program:
  • Determining a neighboring aircraft of an aircraft in a neighboring area wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
  • the neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy to avoid collisions between the aircraft and the aircraft's neighbor aircraft.
  • the embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the above implementation The steps of the flight control method described in any one of the examples provided.
  • the computer-readable storage medium may be the internal storage unit of the removable platform or the control terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the removable platform.
  • the computer-readable storage medium can also be an external storage device of the removable platform, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) equipped on the removable platform , SD) card, flash memory card (Flash Card), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)

Abstract

A flight control method, an aircraft, a control terminal, and a readable storage medium. The method comprises: obtaining a geo-fence, and creating a virtual aircraft cluster corresponding to the boundary of the geo-fence (S101); determining a neighbor aircraft of the aircraft in a neighbor area, the neighbor aircraft comprising a virtual aircraft and/or a real aircraft in the virtual aircraft cluster (S102); and on the basis of a collision avoidance strategy, controlling, according to the neighbor aircraft, the aircraft to fly, the collision avoidance strategy being a strategy of avoiding collision between the aircraft and the neighbor aircraft of the aircraft (S103). The method can reduce the waste of computing power of an aircraft cluster.

Description

飞行控制方法、飞行器、控制终端及可读存储介质Flight control method, aircraft, control terminal and readable storage medium 技术领域technical field
本发明涉及飞行器控制技术领域,尤其涉及一种飞行控制方法、飞行器、控制终端及计算机可读存储介质。The present invention relates to the technical field of aircraft control, and in particular, to a flight control method, an aircraft, a control terminal and a computer-readable storage medium.
背景技术Background technique
目前,飞行器已广泛被应用在不同的领域和场景中,比如在军事领域的无人机集群作战战略规划和在民用场景下的无人机编队的表演。对于规模较大的无人机编队而言,在飞行过程中,每个无人机中均配置有避碰策略防止彼此发生碰撞。但是,各无人机或飞行器可能会脱离地面的控制,因此会对飞行器集群规划相应的作业范围,如建立地理围栏,以限制其活动区域。At present, aircraft have been widely used in different fields and scenarios, such as the strategic planning of UAV swarms in the military field and the performance of UAV formations in civilian scenarios. For larger drone formations, each drone is equipped with a collision avoidance strategy to prevent each other from colliding with each other during flight. However, individual drones or aircraft may be out of control on the ground, so the corresponding operational scope of the aircraft cluster is planned, such as the establishment of geo-fences, to limit their areas of activity.
每个飞行器都会根据所规划的地理围栏实现飞行控制,使得飞行器在飞行过程中需要确定飞行器自身与地理围栏之间的位置关系,避免出现飞行器脱离地理围栏的情况,但是对于一个飞行器集群而言,所应用的地理围栏是相同的,使得需要在进行飞行控制时各飞行器之间存在着大量且相似的运算,因此造成飞行器的算力浪费。Each aircraft will implement flight control according to the planned geo-fence, so that the aircraft needs to determine the positional relationship between the aircraft itself and the geo-fence during flight, so as to avoid the situation that the aircraft leaves the geo-fence, but for a cluster of aircraft, The applied geofences are the same, so that there are a large number of similar operations among the aircrafts during flight control, thus causing a waste of computing power of the aircrafts.
发明内容SUMMARY OF THE INVENTION
基于此,本申请提供了一种飞行控制方法、飞行器、控制终端及存储介质,以降低飞行器集群的算力浪费。Based on this, the present application provides a flight control method, an aircraft, a control terminal and a storage medium, so as to reduce the waste of computing power of the aircraft cluster.
第一方面,本申请提供了一种飞行控制方法,所述方法包括:In a first aspect, the present application provides a flight control method, the method comprising:
获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的虚拟飞行器和/或真实飞行器;Determining the neighboring aircraft of the aircraft in the neighboring area, wherein the neighboring aircraft includes virtual aircraft and/or real aircraft in the virtual aircraft cluster;
基于避碰策略,根据所述邻居飞行器控制所述飞行器飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The flight of the aircraft is controlled according to the neighboring aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighboring aircraft of the aircraft.
第二方面,本申请还提供了另一种飞行器集群的飞行控制,所述方法包括:In a second aspect, the present application also provides another flight control of an aircraft cluster, the method comprising:
获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
第三方面,本申请还提供了一种飞行器,所述飞行器包括存储器和处理器;In a third aspect, the present application also provides an aircraft, the aircraft comprising a memory and a processor;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
第四方面,本申请还提供了一种控制终端,所述飞行器包括存储器和处理器;In a fourth aspect, the present application further provides a control terminal, and the aircraft includes a memory and a processor;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
第五方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现上述的飞行控制方法。In a fifth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor implements the above-mentioned flight control method.
本申请实施例提供了一种飞行控制方法、飞行器、控制终端及存储介质,获取预先所设定好的地理围栏,然后创建地理围栏的边界所对应的虚拟飞行器集群,进而确定当前所需要控制的飞行器的在邻居区域内的邻居飞行器,邻居飞行器包含有真实飞行器以及虚拟飞行器,最后根据飞行器的避碰策略,根据所确定的邻居飞行器来进行飞行。实现了在飞行器的飞行控制过程中,将飞行 器的地理围栏作为飞行器集群中的部分集群,然后利用避碰策略实现飞行器的飞行,无需针对地理围栏进行单独的飞行计算和控制,有效的节约了飞行器集群的算力。The embodiments of the present application provide a flight control method, an aircraft, a control terminal and a storage medium, obtain a pre-set geofence, then create a virtual aircraft cluster corresponding to the boundary of the geofence, and then determine the current need to control The neighbor aircraft of the aircraft in the neighbor area, the neighbor aircraft includes the real aircraft and the virtual aircraft, and finally the aircraft flies according to the determined neighbor aircraft according to the collision avoidance strategy of the aircraft. In the flight control process of the aircraft, the geo-fence of the aircraft is used as part of the aircraft cluster, and then the collision avoidance strategy is used to realize the flight of the aircraft, without the need for separate flight calculation and control for the geo-fence, which effectively saves aircraft. The computing power of the cluster.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请一实施例提供的一种飞行控制系统的框图示意图;1 is a schematic block diagram of a flight control system provided by an embodiment of the present application;
图2是本申请一实施例提供的一种飞行控制方法的步骤示意流程图;2 is a schematic flowchart of steps of a flight control method provided by an embodiment of the present application;
图3(a)是本申请一实施例提供的地理围栏的区域示意图;Fig. 3 (a) is the area schematic diagram of the geofence provided by an embodiment of the present application;
图3(b)是本申请一实施例提供的虚拟飞行器的构建方式的示意图;3(b) is a schematic diagram of a construction method of a virtual aircraft provided by an embodiment of the present application;
图3(c)是本申请另一实施例提供的虚拟飞行器的构建方式的示意图;3(c) is a schematic diagram of a construction method of a virtual aircraft provided by another embodiment of the present application;
图3(d)是本申请另一实施例提供的虚拟飞行器的构建方式的示意图;3(d) is a schematic diagram of a construction method of a virtual aircraft provided by another embodiment of the present application;
图4是本申请一实施例提供的确定真实飞行器的步骤的流程示意图;4 is a schematic flowchart of a step of determining a real aircraft provided by an embodiment of the present application;
图5是本申请另一实施例提供的确定真实飞行器的步骤的流程示意图;5 is a schematic flowchart of a step of determining a real aircraft provided by another embodiment of the present application;
图6是本申请一实施例提供的邻居区域的区域展示界面示意图;6 is a schematic diagram of an area display interface of a neighbor area provided by an embodiment of the present application;
图7是本申请一实施例提供的确定虚拟飞行器的步骤的流程示意图;7 is a schematic flowchart of a step of determining a virtual aircraft provided by an embodiment of the present application;
图8是本申请一实施例提供的地理围栏所对应的坐标系示意图;8 is a schematic diagram of a coordinate system corresponding to a geofence provided by an embodiment of the present application;
图9是本申请另一实施例提供的确定虚拟飞行器的步骤的流程示意图;9 is a schematic flowchart of a step of determining a virtual aircraft provided by another embodiment of the present application;
图10是本申请又一实施例提供的确定真实飞行器的步骤的流程示意图;10 is a schematic flowchart of a step of determining a real aircraft provided by another embodiment of the present application;
图11(a)是本申请一实施例提供的飞行器的飞行方向示意图;Fig. 11(a) is a schematic diagram of the flight direction of an aircraft provided by an embodiment of the present application;
图11(b)是本申请另一实施例提供的飞行器的飞行方向示意图;Fig. 11(b) is a schematic diagram of the flight direction of an aircraft provided by another embodiment of the present application;
图12是本申请一实施例提供的一种飞行器集群的飞行控制方法的流程示意图;12 is a schematic flowchart of a flight control method for an aircraft cluster provided by an embodiment of the present application;
图13是本申请一实施例提供的飞行器的示意性框图;13 is a schematic block diagram of an aircraft provided by an embodiment of the present application;
图14是本申请一实施例提供的控制终端的示意性框图。FIG. 14 is a schematic block diagram of a control terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
无人机编队在飞行过程中,每个无人机中均配置有避碰策略防止彼此发生碰撞,进而使得各无人机可以安全飞行。但是,对于整个编队,各无人机或飞行器可能会脱离地面的控制,因此为了使得飞行器能正常且安全的飞行,需要对飞行器集群规划相应的作业范围,如建立地理围栏,以限制其活动区域。During the flight of the drone formation, each drone is equipped with a collision avoidance strategy to prevent each other from colliding, so that each drone can fly safely. However, for the entire formation, each UAV or aircraft may be out of control on the ground. Therefore, in order to make the aircraft fly normally and safely, it is necessary to plan the corresponding operating range for the aircraft cluster, such as establishing a geo-fence to limit its activity area. .
在实际应用中,在对飞行器集群规划好了相应的地理围栏之后,每个飞行器都会根据所规划的地理围栏实现飞行控制,同时通过实时计算飞行器与地理围栏之间的位置关系,以保证飞行器一直在地理围栏所对应的区域范围内飞行,由于正给飞行器集群所包含的飞行器的数量是很大量的,同时所应用的地理围栏是相同的,使得需要在进行飞行控制时各飞行器之间存在着大量且相似的运算,因此造成飞行器的算力浪费。In practical applications, after planning the corresponding geo-fence for the aircraft cluster, each aircraft will realize flight control according to the planned geo-fence, and at the same time calculate the positional relationship between the aircraft and the geo-fence in real time to ensure that the aircraft is always on the fly. When flying within the area corresponding to the geo-fence, since the number of aircraft included in the cluster of aircraft being given is very large, and the applied geo-fence is the same, there is a need to exist between the aircraft during flight control. A large number of similar operations, thus causing a waste of computing power of the aircraft.
为此,本申请实施例提供了一种飞行控制方法、飞行器、控制终端及存储介质,用于控制飞行器集群中各飞行器安全飞行,同时降低飞行器集群的算力浪费。To this end, the embodiments of the present application provide a flight control method, an aircraft, a control terminal, and a storage medium, which are used to control the safe flight of each aircraft in an aircraft cluster, and at the same time reduce the waste of computing power in the aircraft cluster.
如图1所示,图1示出了无人机编队的飞行控制系统,该飞行控制系统包括地面端和多个飞行器,地面端用于控制飞行器的飞行或执行相应的动作,并从飞行器中获取相应的运动信息,该运动信息为飞行器的飞行运动信息,比如运动方向、运动姿态、运动速度和/或位置信息等等。As shown in Figure 1, Figure 1 shows the flight control system of the UAV formation, the flight control system includes a ground terminal and a plurality of aircraft, the ground terminal is used to control the flight of the aircraft or perform corresponding actions, and from the aircraft Acquire corresponding motion information, where the motion information is flight motion information of the aircraft, such as motion direction, motion attitude, motion speed, and/or position information, and the like.
其中,飞行器包括无人机,该无人机包括旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机,还可以是旋翼型与固定翼无人机的组合,在此不作限定。Among them, the aircraft includes unmanned aerial vehicles, and the unmanned aerial vehicles include rotary-wing unmanned aerial vehicles, such as quad-rotor unmanned aerial vehicles, hexa-rotor unmanned aerial vehicles, octa-rotor unmanned aerial vehicles, or fixed-wing unmanned aerial vehicles. The combination of rotary-wing and fixed-wing UAVs is not limited here.
示例性的,地面端也可以称为控制终端,例如包括遥控器、地面控制平台、手机、平板电脑、笔记本电脑和PC电脑等,当然还可以包括其他设备,在此不作限定。Exemplarily, the ground terminal may also be called a control terminal, for example, including a remote control, a ground control platform, a mobile phone, a tablet computer, a notebook computer, a PC computer, etc., and of course other devices, which are not limited herein.
其中,地面端用于控制可移动平台的飞行或执行某种动作,比如执行拍摄或测量等。如图1所示,一个地面端可以控制多架飞行器。Among them, the ground terminal is used to control the flight of the movable platform or perform certain actions, such as performing photography or measurement. As shown in Figure 1, one ground terminal can control multiple aircraft.
需要说明的是,在本申请的实施例中,将以图1中的飞行控制系统对本申请提供的飞行控制方法进行介绍,但图1对应方式并不构成对本申请提供的飞行控制系统的限定。It should be noted that, in the embodiments of the present application, the flight control method provided by the present application will be introduced with the flight control system in FIG. 1 , but the corresponding manner in FIG. 1 does not constitute a limitation on the flight control system provided by the present application.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
请参阅图2,图2是本申请一实施例提供的一种飞行控制方法的步骤示意流程图。该飞行控制方法可应用于飞行器集群中的飞行器,以在飞行器飞行过程中控制飞行器的飞行,避免飞行器碰撞和飞出所规定的飞行区域。Please refer to FIG. 2 , which is a schematic flowchart of steps of a flight control method provided by an embodiment of the present application. The flight control method can be applied to the aircraft in the aircraft cluster, so as to control the flight of the aircraft during the flight of the aircraft, and avoid the aircraft from colliding and flying out of the specified flight area.
如图2所示,该飞行控制方法包括步骤S201至步骤S203。As shown in FIG. 2 , the flight control method includes steps S201 to S203.
S201、获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群。S201. Obtain a geo-fence, and create a virtual aircraft cluster corresponding to the boundary of the geo-fence.
地理围栏是一个允许飞行器飞行的区域边界,在实际应用中,可以是用来限制飞行器在地理围栏的边界所包含的区域内飞行,还可以是控制飞行器在地理围栏的边界所包含的区域之外飞行。Geofence is an area boundary that allows aircraft to fly. In practical applications, it can be used to restrict aircraft from flying within the area included in the boundary of the geofence, or it can be used to control the aircraft outside the area included in the boundary of the geofence. flight.
示例性的,在地理围栏为限制飞行器在其所对应的区域内飞行时,那么在飞行器处于地理围栏所处的区域内时,即为正常飞行,而在处于地理围栏所对应的区域外飞行时,即为异常飞行。因此在控制飞行器飞行时,需要控制飞行器在地理围栏所对应的区域内飞行,以保证飞行器的安全飞行。特别是对于飞行器集群而言,大量的飞行器需要合理的控制其飞行,若没有对其进行飞行区域的限制,而是任其随意飞行,可能会造成更大的飞行风险。Exemplarily, when the geo-fence restricts the aircraft from flying within the area corresponding to the geo-fence, then the aircraft is flying normally when the aircraft is in the area where the geo-fence is located, and is flying outside the area corresponding to the geo-fence. , which is abnormal flight. Therefore, when controlling the flight of the aircraft, it is necessary to control the aircraft to fly in the area corresponding to the geo-fence to ensure the safe flight of the aircraft. Especially for aircraft clusters, a large number of aircrafts need to be reasonably controlled for their flight. If there is no restriction on their flight area, but they are allowed to fly at will, it may cause greater flight risks.
另外,在地理围栏为控制飞行器在其所对应的区域外飞行时,那么当飞行器进入地理围栏所对应的区域内时,为异常飞行。因此,此时在控制飞行器飞行时,将需要使得飞行器远离地理围栏所对应的区域。In addition, when the geofence is to control the aircraft to fly outside its corresponding area, then when the aircraft enters the area corresponding to the geofence, it is abnormal flight. Therefore, when controlling the flight of the aircraft, it will be necessary to keep the aircraft away from the area corresponding to the geo-fence.
为了更好的对本申请中的方案进行描述,在此以地理围栏为限制飞行器在其所对应的区域内飞行进行解释说明,也就是在飞行器处于地理围栏所对应的区域内飞行时为正常飞行,反之为异常飞行。In order to better describe the solution in this application, the geo-fence is used as an explanation for restricting the flight of the aircraft in its corresponding area, that is, when the aircraft is flying in the area corresponding to the geo-fence, it is normal flight, Otherwise, it is abnormal flight.
其中,地理围栏是预先所设定好的,可以是人为设定的区域,比如人为划定一个区域以作为一个地理围栏,其地理围栏的形状不限,如圆形围栏和多边形围栏,也可以是根据实际所处区域所设定的,比如一个飞机场所对应的区域也可以设定为一个地理围栏。在实际应用中,根据实际的飞行需求,操作者可以选择和设定好当前所对应的地理围栏。Among them, the geofence is preset and can be an artificially set area. For example, an area is artificially designated as a geofence. The shape of the geofence is not limited, such as a circular fence and a polygonal fence. It is set according to the actual area. For example, the area corresponding to an aircraft place can also be set as a geo-fence. In practical applications, according to the actual flight requirements, the operator can select and set the current corresponding geofence.
在一实施例中,在控制飞行器飞行时,使得飞行器在预先所设定好的地理围栏所对应的区域内飞行,因此,在控制飞行器飞行时,获取预先所设定好的 地理围栏,并创建所得到的地理围栏的边界所对应的虚拟飞行器集群。In one embodiment, when the aircraft is controlled to fly, the aircraft is made to fly within the area corresponding to the preset geo-fence. Therefore, when the aircraft is controlled to fly, the preset geo-fence is acquired and created. The virtual aircraft clusters corresponding to the boundaries of the obtained geofences.
在创建地理围栏边界所对应的虚拟飞行器集群时,通过将地理围栏边界实体化,使用飞行器代替地理围栏边界,也就是通过若干的飞行器以构成一个与获取的地理围栏相同的一个边界,但是由于此时所使用的飞行器并非是真实可运行的飞行器,因此在使用飞行器代替地理围栏边界时是使用虚拟飞行器,而构成整个地理围栏边界的飞行器的集合即为所使用的虚拟飞行器集群。When creating a virtual aircraft cluster corresponding to the geofence boundary, the geofence boundary is materialized and the aircraft is used to replace the geofence boundary, that is, a boundary identical to the obtained geofence is formed by several aircrafts, but due to this The aircraft used is not a real operational aircraft, so virtual aircraft is used when the aircraft is used to replace the geo-fence boundary, and the set of aircraft that constitute the entire geo-fence boundary is the virtual aircraft cluster used.
进一步地,在创建地理围栏边界对应的虚拟飞行器集群时,需要确定在地理围栏边界上如何实现虚拟飞行器的位置确定,因此,在创建虚拟飞行器集群时,包括:根据所述地理围栏的边界确定多个虚拟位置,以及在每个所述虚拟位置创建一个虚拟飞行器,得到虚拟飞行器集群。Further, when creating a virtual aircraft cluster corresponding to a geo-fence boundary, it is necessary to determine how to determine the position of the virtual aircraft on the geo-fence boundary. Therefore, when creating a virtual aircraft cluster, the steps include: determining how many aircraft are based on the boundary of the geo-fence. virtual positions, and creating a virtual aircraft at each of the virtual positions, resulting in a cluster of virtual aircraft.
在创建地理围栏的边界所对应的虚拟飞行器集群时,确定每一个虚拟飞行器在地理围栏的边界上所对应的虚拟位置,由于虚拟飞行器是实际不存在的,因此在确定虚拟位置之后,将每个虚拟位置视为一个虚拟飞行器,并在整个地理围栏的边界上的虚拟位置都确定之后,即可得到整个虚拟飞行器集群,而对于所得到的整个虚拟飞行器集群,将会将其添加至整个真实飞行器集群中,也就是将所创建的虚拟飞行器集作为整个飞行器集群中的一部分,进而在控制真实飞行器飞行时,由于将地理围栏转变为虚拟飞行器并加入到了整个的飞行器集群中,因此可以利用避碰策略来控制真实飞行器飞行。When creating a virtual aircraft cluster corresponding to the boundary of the geofence, the virtual position corresponding to each virtual aircraft on the boundary of the geofence is determined. Since the virtual aircraft does not actually exist, after the virtual position is determined, each virtual aircraft is The virtual position is regarded as a virtual aircraft, and after the virtual position on the boundary of the entire geofence is determined, the entire virtual aircraft cluster can be obtained, and for the obtained entire virtual aircraft cluster, it will be added to the entire real aircraft In the cluster, that is, the created virtual aircraft set is regarded as a part of the whole aircraft cluster, and then when the real aircraft is controlled to fly, since the geofence is transformed into a virtual aircraft and added to the entire aircraft cluster, collision avoidance can be used. strategy to control the flight of real aircraft.
进一步地,在创建地理围栏的边界所对应的虚拟飞行器集群时,首先确定每个虚拟飞行器所对应的虚拟位置,而在确定虚拟位置时,可以有多种不同的方式,而根据不同的方式在确定虚拟飞行器集群时所得到的创建效果也会有所不同。以地理围栏为如图3(a)中所示的区域为例,在创建的虚拟飞行器时,虚拟飞行器与真实飞行器大小相同,且使用一个小圆代表一个虚拟飞行器。Further, when creating a virtual aircraft cluster corresponding to the boundary of the geofence, first determine the virtual position corresponding to each virtual aircraft, and when determining the virtual position, there can be many different ways, and according to different ways The resulting creation of a virtual aircraft cluster will also vary. Taking the geofence as the area shown in Figure 3(a) as an example, when creating a virtual aircraft, the virtual aircraft is the same size as the real aircraft, and a small circle is used to represent a virtual aircraft.
在根据地理围栏的边界确定多个虚拟位置时,包括:根据预设的间隔距离对所述地理围栏的边界进行划分,以得到多个虚拟位置。When multiple virtual locations are determined according to the boundary of the geo-fence, the method includes: dividing the boundary of the geo-fence according to a preset interval distance to obtain multiple virtual locations.
预设的间隔距离是用来确定每个虚拟飞行器的间隔的,在图3(a)所示的地理围栏中,选定一个位置为起始位置,然后根据所设定的间隔距离一次确定后续若干虚拟飞行器所对应的虚拟位置,而在每个虚拟位置上会对应一个虚拟飞行器。其中,预设的间隔距离是可以根据实际的需求进行自定义设定的,但是并不适宜将间隔距离设置的过大。The preset separation distance is used to determine the separation of each virtual aircraft. In the geo-fence shown in Figure 3(a), a position is selected as the starting position, and then the follow-up is determined once according to the set separation distance. Virtual positions corresponding to several virtual aircraft, and each virtual position corresponds to a virtual aircraft. The preset separation distance can be customized according to actual needs, but it is not suitable to set the separation distance too large.
比如,在设定间隔距离为零时,那么此时所得到的虚拟飞行器集群与地理围栏的关系如图3(c)所示。For example, when the set separation distance is zero, the relationship between the virtual aircraft cluster and the geofence obtained at this time is shown in Figure 3(c).
再比如,在设定的间隔距离为L(其中L不为零)时,那么此时所得到的虚拟飞行器集群与地理围栏的关系如图3(b)所示。For another example, when the set separation distance is L (where L is not zero), the relationship between the virtual aircraft cluster and the geofence obtained at this time is shown in Figure 3(b).
另外,对于地理围栏而言,还可以是圆形的区域,因此在构建地理围栏所对应的虚拟飞行器集群时,若地理围栏的边界为一个圆,预设的距离间隔可以是一个弧度,也就是通过两个相邻的虚拟飞行器所构成的夹角弧度实现虚拟飞行器集群的构建。In addition, for the geofence, it can also be a circular area, so when constructing a virtual aircraft cluster corresponding to the geofence, if the boundary of the geofence is a circle, the preset distance interval can be an radian, that is The construction of virtual aircraft cluster is realized through the included angle radian formed by two adjacent virtual aircraft.
S202、确定飞行器在邻居区域的邻居飞行器,其中所述邻居飞行器包括虚拟飞行器集群中的虚拟飞行器和/或真实飞行器。S202. Determine the neighboring aircraft of the aircraft in the neighboring area, where the neighboring aircraft includes a virtual aircraft and/or a real aircraft in a virtual aircraft cluster.
在创建了地理围栏的边界所对应的虚拟飞行器集群之后,会将所得到的虚拟飞行器集群添加到真实的飞行器集群中,以得到一个新的飞行器集群,但是虚拟飞行器集群中各虚拟飞行器的位置是不会发生变化的。对于真实飞行器而言,会根据新得到的飞行器集群以及飞行指令完成自身的飞行。After the virtual aircraft cluster corresponding to the boundary of the geofence is created, the obtained virtual aircraft cluster will be added to the real aircraft cluster to obtain a new aircraft cluster, but the position of each virtual aircraft in the virtual aircraft cluster is will not change. For a real aircraft, it will complete its own flight according to the newly obtained aircraft cluster and flight instructions.
在飞行器飞行时,确定在飞行器的邻居区域内的邻居飞行器,而在确定邻居飞行器时是针对于新的飞行器集群而言,即对于飞行器的邻居飞行器而言,除了可以包含有真实飞行器之后,还可以包含的有虚拟飞行器,也就是邻居飞行器由真实飞行器和/或虚拟飞行器构成。When the aircraft is flying, determine the neighbor aircraft in the neighbor area of the aircraft, and when determining the neighbor aircraft is for the new aircraft cluster, that is, for the neighbor aircraft of the aircraft, in addition to including the real aircraft, also A virtual aircraft may be included, ie the neighbor aircraft consists of real aircraft and/or virtual aircraft.
由于,飞行器在感知和确定邻居飞行器时,对于真实飞行器和虚拟飞行器的确定方式有所不同,因此,在确定邻居飞行器时,首先确定飞行器的邻居区域,然后确定处于邻居区域内的真实飞行器,以及处于邻居区域内的虚拟飞行器,以得到当前所对应的邻居飞行器。Since, when the aircraft perceives and determines the neighbor aircraft, the way of determining the real aircraft and the virtual aircraft is different. Therefore, when determining the neighbor aircraft, first determine the neighbor area of the aircraft, and then determine the real aircraft in the neighbor area, and Virtual aircraft in the neighbor area to obtain the current corresponding neighbor aircraft.
进一步地,参照图4,在确定处于飞行器的邻居区域内的真实飞行器时,包括:Further, referring to FIG. 4 , when determining the real aircraft in the neighboring area of the aircraft, it includes:
步骤S401、确定所述飞行器的目标位置信息。Step S401: Determine target position information of the aircraft.
在确定处于飞行器的邻居区域内的真实飞行器时,通过确定飞行器与其他飞行器之间的距离关系来确定的。对应飞行器的邻居区域而言,通常情况下邻居区域会设定为一个圆形区域或者其他形状的区域,那么在确定邻居区域内的飞行器时,确定各真实飞行器与当前所控制的飞行器之间的距离是否小于或者等于邻居区域所对应的区域半径,在两者之间的实际距离不大于所设定的区域半径时确定处于邻居区域内,反之则确定处于邻居区域外。When determining the real aircraft in the neighboring area of the aircraft, it is determined by determining the distance relationship between the aircraft and other aircraft. Corresponding to the neighbor area of the aircraft, the neighbor area is usually set as a circular area or other shape area, then when determining the aircraft in the neighbor area, determine the distance between each real aircraft and the currently controlled aircraft. Whether the distance is less than or equal to the area radius corresponding to the neighbor area, when the actual distance between the two is not greater than the set area radius, it is determined to be in the neighbor area, otherwise, it is determined to be outside the neighbor area.
因此,在确定处于邻居区域的真实飞行器时,首先确定当前所控制和响应的飞行器的目标位置信息,进而根据自身的位置确定处于邻居区域内的真实飞行器。Therefore, when determining the real aircraft in the neighbor area, first determine the target position information of the aircraft currently controlled and responding, and then determine the real aircraft in the neighbor area according to its own position.
对于飞行器的目标位置信息,可以根据自身的定位装置所确定,比如GPS定位装置,通过自身的定位,可以知道飞行器自身当前所处的距离位置,如具体的经纬度值,在世界空间中,一个经纬度值可以代表一个位置,但是对于飞行器而言,还需要一个高度值,因为在一个经纬度下可以存在有所有飞行器,即处于统一经纬度但是高度不同,因此在确定飞行器的自身位置时,除了确定飞行器自身所处的经纬度之外,还可以确定飞行器的高度值。For the target position information of the aircraft, it can be determined according to its own positioning device, such as GPS positioning device, through its own positioning, you can know the current distance position of the aircraft itself, such as specific latitude and longitude values, in world space, a latitude and longitude The value can represent a position, but for the aircraft, an altitude value is also required, because all aircraft can exist under one longitude and latitude, that is, the same longitude and latitude but different altitudes. Therefore, when determining the aircraft's own position, in addition to determining the aircraft itself In addition to the latitude and longitude, the altitude value of the aircraft can also be determined.
具体地,在确定飞行器的目标位置信息时,可以使用坐标的方式进行表述,比如仅包含有经纬度的(东经114°00′,北纬22°35′)以及包含有飞行高度的(东经114°00′,北纬22°35′,150m),其中,东经114°00′和北纬22°35′表示飞行器的经纬度,150m表示飞行器的飞行高度。Specifically, when determining the target position information of the aircraft, it can be expressed in the form of coordinates, such as only including longitude and latitude (114°00'E, 22°35'N) and flight altitude (114°00E) ', north latitude 22°35', 150m), wherein, east longitude 114°00' and north latitude 22°35' represent the longitude and latitude of the aircraft, and 150m represents the flight altitude of the aircraft.
步骤S402、接收处于所述地理围栏内各真实飞行器所发送的真实位置信息。Step S402: Receive real location information sent by each real aircraft within the geo-fence.
对于每个真实飞行器而言,都会对自身的位置信息进行获取,而在确定处于邻居区域内的真实飞行器时,通过对所有飞行器的位置进行获取,以实现邻居飞行器的确定。For each real aircraft, its own position information will be acquired, and when the real aircraft in the neighbor area is determined, the position of all aircrafts will be acquired to realize the determination of the neighbor aircraft.
在实际应用中,飞行器之间可以通过广播的方式进行信息的交互,因此,在飞行器完成对自身位置信息的获取之后,可以通过广播的方式将自身的位置信息告知给其他的真实飞行器,因此真实飞行器会定时或者实时的发送相应的广播,并且在广播中携带有自身的位置信息,同时也会接受到其他飞行器所发出的广播,并对广播中所包含和携带的信息进行解析和读取。In practical applications, information can be exchanged between aircraft through broadcasting. Therefore, after the aircraft completes the acquisition of its own position information, it can broadcast its own position information to other real aircraft. The aircraft will send corresponding broadcasts at regular intervals or in real time, and carry its own location information in the broadcasts. At the same time, it will also receive broadcasts from other aircraft, and parse and read the information contained and carried in the broadcasts.
当然,也可以是飞行器主动获取周围的其他真实飞行器的位置信息,例如,飞行器主动向外界发送获取位置信息的请求,真实飞行器在接收到该请求后,可以将自身的位置信息反馈给该飞行器。或者,飞行器还可以通过其他方式,例如探测器等主动探测其他真实飞行器的位置信息。Of course, the aircraft can also actively obtain the position information of other real aircraft around it. For example, the aircraft actively sends a request for obtaining position information to the outside world. After receiving the request, the real aircraft can feed back its own position information to the aircraft. Alternatively, the aircraft can also actively detect the position information of other real aircraft through other means, such as detectors.
需要说明的是,真实位置信息是用于与下述所描述的虚拟位置信息进行区域,其中,真实位置信息为真实飞行器所对应的位置信息,而虚拟位置信息为基于地理围栏所创建的虚拟飞行器集群中虚拟飞行器所对应的位置信息。It should be noted that the real position information is used to perform the area with the virtual position information described below, wherein the real position information is the position information corresponding to the real aircraft, and the virtual position information is the virtual aircraft created based on the geo-fence. The location information corresponding to the virtual aircraft in the cluster.
步骤S403、根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域信息,确定处于邻居区域的真实飞行器。Step S403 , according to the real position information, the target position information and the area information corresponding to the neighbor area, determine the real aircraft in the neighbor area.
在得到飞行器当前所对应的目标位置信息和其他真实飞行器所对应的真实位置信息时,将确定此时处于邻居区域内的真实飞行器。When the current target position information corresponding to the aircraft and the real position information corresponding to other real aircraft are obtained, the real aircraft in the neighbor area at this time will be determined.
在一实施例中,在确定真实飞行器时,将所得到的目标位置信息和真实位置信息,结合所设定的邻居区域所对应的区域信息,确定当前处于邻居区域内 的真实飞行器。In one embodiment, when the real aircraft is determined, the obtained target position information and the real position information are combined with the area information corresponding to the set neighbor area to determine the real aircraft currently in the neighbor area.
由上述描述可知,在确定邻居飞行器时,首先确定邻居区域所对应的区域范围,然后确定其他真实飞行器与当前的飞行器之间的实际距离,进而通过两者的对比确定是否为处于邻居区域内的真实飞行器。It can be seen from the above description that when determining the neighbor aircraft, first determine the area corresponding to the neighbor area, then determine the actual distance between other real aircraft and the current aircraft, and then determine whether it is in the neighbor area by comparing the two. real aircraft.
因此,参照图5,在确定处于邻居区域内的真实飞行器时,包括:Therefore, referring to FIG. 5, when determining the real aircraft in the neighborhood area, including:
步骤S501、根据所述真实位置信息以及所述目标位置信息,确定所述各真实飞行器与所述飞行器的第一距离;Step S501, according to the real position information and the target position information, determine the first distance between the real aircraft and the aircraft;
步骤S502、读取所述邻居区域对应的区域信息,并根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器。Step S502: Read the area information corresponding to the neighbor area, and determine the real aircraft in the neighbor area according to the first distance and the area information.
在确定邻居飞行器中的真实飞行器时,通过距离对比来确定,因此在得到目标位置信息以及各真实飞行器对应的真实位置信息时,确定各真实飞行器与飞行器之间的第一距离,同时读取邻居区域所对应的区域信息,以根据第一距离和区域信息确定是否为处于邻居区域内的真实飞行器。When determining the real aircraft in the neighbor aircraft, it is determined by distance comparison. Therefore, when the target position information and the real position information corresponding to each real aircraft are obtained, the first distance between each real aircraft and the aircraft is determined, and the neighbors are read at the same time. area information corresponding to the area, so as to determine whether it is a real aircraft in a neighboring area according to the first distance and the area information.
飞行器的位置信息可以使用经纬度加高度的方式来确定,如(东经114°00′,北纬22°35′,150m)即为一个飞行器的位置信息,在飞行器接收到其他真实飞行器所发送的真实位置信息之后,通过距离计算可以得到每一个真实飞行器与飞行器之间的距离值。The position information of the aircraft can be determined by adding altitude and latitude. For example, (114°00'E, 22°35'N, 150m) is the position information of an aircraft. When the aircraft receives the real position sent by other real aircraft After the information is obtained, the distance value between each real aircraft and the aircraft can be obtained through distance calculation.
对于使用经纬度实现距离的计算,计算公式为:For the calculation of distance using latitude and longitude, the calculation formula is:
Figure PCTCN2020119652-appb-000001
Figure PCTCN2020119652-appb-000001
其中,latitude是纬度,longitude是经度,a=latitude1-latitude2为两点纬度之差,b=longitude1-longitude2为两点经度之差;R为地球半径6378.137(km),且计算结果的单位为km。Among them, latitude is the latitude, longitude is the longitude, a=latitude1-latitude2 is the difference between the latitudes of two points, b=longitude1-longitude2 is the difference between the longitudes of the two points; R is the radius of the earth 6378.137 (km), and the unit of the calculation result is km .
另外,由于两个飞行器之间还会有着高度的差异,因此在计算得到两个飞行器基于经纬度的差异S之后,还可以加入高度值来确定两个飞行器在考虑高度差异的情况下的距离,此时距离计算公式为:In addition, since there will be a difference in height between the two aircraft, after calculating the difference S between the two aircraft based on latitude and longitude, the height value can also be added to determine the distance between the two aircraft considering the height difference. The formula for calculating the time distance is:
Figure PCTCN2020119652-appb-000002
Figure PCTCN2020119652-appb-000002
其中,L为飞行器之间的距离,H 1为飞行器的高度,H 2为处于邻居区域内的真实飞行器的高度。 Among them, L is the distance between the aircraft, H 1 is the height of the aircraft, and H 2 is the height of the real aircraft in the neighbor area.
需要说明的是,在计算两个真实飞行器之间的距离时,由于飞行器之间的飞行高度的差异,但是并不是所有的情况都需要考虑到飞行器之间的飞行高度,因此在实际的应用过程中,可以根据实际的需求选择是否需要将飞行器的飞行 高度加以考虑,在不需要考虑飞行器之间的飞行高度时,那么可以直接利用上述公式(1)得到两个飞行器之间的实际距离,而在需要考虑飞行器之间的飞行高度时,将可以使用公式(1)和(2)的结合,确定两个飞行器之间的实际距离。It should be noted that when calculating the distance between two real aircraft, due to the difference in the flying height between the aircraft, but not all cases need to consider the flying height between the aircraft, so in the actual application process In , you can choose whether to consider the flying height of the aircraft according to the actual demand. When the flying height between the aircrafts does not need to be considered, you can directly use the above formula (1) to obtain the actual distance between the two aircraft, and When the flying height between the aircraft needs to be considered, it will be possible to use a combination of equations (1) and (2) to determine the actual distance between the two aircraft.
而对于邻居区域的区域信息而言,可以是邻居区域的区域半径,由于每个飞行器的位置信息的不同,因此对于每个飞行器而言,其所对应的邻居区域也是有所不同的,如图6所示,对于飞行器1,其所对应的邻居区域为区域A,对于飞行器2,其所对应的邻居区域为区域B,对于飞行器3,其所对应的邻居区域为区域C。For the area information of the neighbor area, it can be the area radius of the neighbor area. Since the position information of each aircraft is different, the corresponding neighbor area for each aircraft is also different, as shown in the figure 6, for aircraft 1, its corresponding neighbor area is area A, for aircraft 2, its corresponding neighbor area is area B, and for aircraft 3, its corresponding neighbor area is area C.
由图6可知,各飞行器所对应的邻居区域是可以具有重复区域的,如飞行器1和飞行器2所对应的邻居区域,也可以是没有重复区域的,如飞行器1和飞行器3所对应的邻居区域。It can be seen from Figure 6 that the neighbor areas corresponding to each aircraft may have overlapping areas, such as the neighbor areas corresponding to aircraft 1 and 2, or there may be no overlapping areas, such as the neighbor areas corresponding to aircraft 1 and 3. .
对于邻居区域的区域信息是预先存储和记录在飞行器中,因此在计算得到飞行器与真实飞行器之间的第一距离之后,将会读取预先所记录存储的区域信息,进而将所得到的第一距离和区域信息进行对比,其中区域信息具体包括有预设实际距离。The area information of the neighbor area is pre-stored and recorded in the aircraft, so after the first distance between the aircraft and the real aircraft is calculated, the pre-recorded and stored area information will be read, and then the obtained first distance will be read. The distance is compared with the area information, wherein the area information specifically includes a preset actual distance.
因此,在得到第一距离和区域信息之后,将第一距离与区域信息中的预设实际距离进行对比,根据实际的对比结果确定当前所对应的真实飞行器是否为处于邻居飞行器中的真实飞行器。其中,在确定第一距离小于或者等于预设实际距离时,确定当前所对比的第一距离所对应的真实飞行器为处于邻居区域内的真实飞行器,反之则确定不为处于邻居区域内的真实飞行器。Therefore, after obtaining the first distance and the area information, the first distance is compared with the preset actual distance in the area information, and it is determined whether the current corresponding real aircraft is a real aircraft in a neighbor aircraft according to the actual comparison result. Wherein, when it is determined that the first distance is less than or equal to the preset actual distance, it is determined that the real aircraft corresponding to the currently compared first distance is a real aircraft in the neighbor area, otherwise it is determined not to be a real aircraft in the neighbor area .
比如,预设实际距离为5m,那么只有第一距离不超过5m的真实飞行器为处理邻居区域内的真实飞行器。当然,预设实际距离是根据实际的应用场景和需求所设定的,具体不作限制。For example, if the preset actual distance is 5m, then only the real aircraft whose first distance does not exceed 5m are the real aircraft in the processing neighbor area. Of course, the preset actual distance is set according to actual application scenarios and requirements, and there is no specific limitation.
在一实施例中,在确定了处于邻居区域内的真实飞行器之后,还需要确定处于邻居区域内的虚拟飞行器,由于虚拟飞行器的位置是固定不变的,因此参照图7,在确定处于邻居区域内的虚拟飞行器时,包括:In one embodiment, after the real aircraft in the neighbor area is determined, the virtual aircraft in the neighbor area also needs to be determined. Since the position of the virtual aircraft is fixed, referring to FIG. 7 , after determining that the aircraft is in the neighbor area When the virtual aircraft inside, including:
步骤S701、构建与所述地理围栏对应的坐标系。Step S701, constructing a coordinate system corresponding to the geo-fence.
由于虚拟飞行器的位置是固定不变的,且虚拟飞行器不能向外发送广播,因此在确定处于邻居区域内的虚拟飞行器时,并不能采用上述利用广播的方式确定真实飞行器的方法,同时因为真实飞行器的自身位置是可以实时获取的,因此在确定虚拟飞行器时,可以采用坐标的方式来确定。Since the position of the virtual aircraft is fixed and the virtual aircraft cannot send out broadcasts, the above method of determining the real aircraft by broadcasting cannot be used when determining the virtual aircraft in the neighboring area. Its own position can be acquired in real time, so when determining the virtual aircraft, it can be determined by means of coordinates.
在一实施例中,首先构建与地理围栏相对应的坐标系,也就是基于预先所构建的地理围栏重新构建一个坐标系,进而采用坐标的方式确定处于邻居区域内的虚拟飞行器。In one embodiment, a coordinate system corresponding to the geo-fence is first constructed, that is, a coordinate system is reconstructed based on the pre-built geo-fence, and then the virtual aircraft in the neighbor area is determined by means of coordinates.
在构建地理围栏所对应的坐标系时,地理围栏是预先所选定好的,而对于地理围栏的边界在世界坐标系中的坐标是已知的,也就是地理围栏的边界对应的经纬度坐标是已知的,因此在构建得到地理围栏所对应的坐标系时,可以保留地理围栏所对应的真实经纬度坐标,即用真实的经纬度来表示坐标,还可以重新构建一个新的坐标,即将地理围栏的经纬度进行转化,得到在所构建的坐标系中的新的坐标。When constructing the coordinate system corresponding to the geofence, the geofence is pre-selected, and the coordinates of the boundary of the geofence in the world coordinate system are known, that is, the latitude and longitude coordinates corresponding to the boundary of the geofence are Known, so when the coordinate system corresponding to the geofence is constructed, the real latitude and longitude coordinates corresponding to the geofence can be retained, that is, the coordinates are represented by the real latitude and longitude, and a new coordinate can be reconstructed, that is, the The latitude and longitude are converted to obtain new coordinates in the constructed coordinate system.
步骤S702、确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器。Step S702: Determine the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system, so as to determine the neighbor aircraft of the aircraft in the neighbor area according to the virtual coordinates.
在完成地理围栏所对应的坐标系的构建之后,将需要把地理围栏所对应的虚拟飞行器集群中各虚拟飞行器所对应的虚拟位置融合到所构建的坐标系中。After the construction of the coordinate system corresponding to the geofence is completed, the virtual positions corresponding to each virtual aircraft in the virtual aircraft cluster corresponding to the geofence need to be fused into the constructed coordinate system.
在使用真实的经纬度表示坐标时,可以直接使用每个虚拟飞行器所对应的经纬度来直接表示坐标,而在重新构建坐标以使用新的坐标表示来描述时,需要进行相应的转化,以将经纬度转化为新坐标中的坐标。以图3(a)所示的地理围栏为例,此时所构建的坐标系可以如图8所示。When using the real latitude and longitude to represent the coordinates, you can directly use the latitude and longitude corresponding to each virtual aircraft to directly represent the coordinates, and when reconstructing the coordinates to describe with a new coordinate representation, you need to perform corresponding transformations to convert the latitude and longitude. is the coordinates in the new coordinates. Taking the geofence shown in Fig. 3(a) as an example, the coordinate system constructed at this time can be as shown in Fig. 8 .
在图8中,以地理围栏的一个点作为新坐标的原点,同时将地理围栏边界所对应的各虚拟飞行器的虚拟位置坐标化,由于此时所构建的地理围栏是一个多边形(图中为长方形),对于四个顶点对应的经纬度可以通过定位的方式所得到,因此在确定每个顶点所对应的经纬度之后,可以计算中oa和ob的长度,进而可以知道在新的坐标中a、b以及c三个顶点的坐标。In Fig. 8, a point of the geo-fence is used as the origin of the new coordinates, and the virtual positions of the virtual aircraft corresponding to the boundary of the geo-fence are co-ordinated. Since the geo-fence constructed at this time is a polygon (a rectangle in the figure) ), the latitude and longitude corresponding to the four vertices can be obtained by positioning, so after determining the latitude and longitude corresponding to each vertex, the lengths of oa and ob can be calculated, and then the new coordinates of a, b and c The coordinates of the three vertices.
比如在oa=2000m,ob=1000m时,o点坐标为(0,0),a点坐标为(2000,0),b点坐标为(0,1000)以及c点坐标为(2000,1000),而对于各虚拟飞行器的坐标,可以根据相邻两个虚拟飞行器之间的距离来确定,比如在横轴上,相邻与o点的一个虚拟飞行器的坐标为(d,0),其中d为相邻两个虚拟飞行器之间的距离,同时在横轴上依次可以为(2d,0),(3d,0)......直至(2000,0)。For example, when oa=2000m and ob=1000m, the coordinates of point o are (0, 0), the coordinates of point a are (2000, 0), the coordinates of point b are (0, 1000) and the coordinates of point c are (2000, 1000) , and the coordinates of each virtual aircraft can be determined according to the distance between two adjacent virtual aircraft. For example, on the horizontal axis, the coordinates of a virtual aircraft adjacent to point o are (d, 0), where d is the distance between two adjacent virtual aircrafts, and can be (2d, 0), (3d, 0)...until (2000, 0) in sequence on the horizontal axis.
同样的,在地理围栏的边界是一个圆时,可以以圆心为所构建的坐标系的原点来构建地理围栏所对应的新的坐标系,同时将虚拟飞行器所对应的坐标融合在新的坐标系中。Similarly, when the boundary of the geofence is a circle, a new coordinate system corresponding to the geofence can be constructed with the center of the circle as the origin of the constructed coordinate system, and the coordinates corresponding to the virtual aircraft can be fused into the new coordinate system. middle.
在确定了各虚拟飞行器在所构建的坐标系中做对应的虚拟坐标之后,将会 根据融合所有虚拟飞行器的坐标位置之后的坐标系来确定处于当前所控制的飞行器的邻居区域内的虚拟飞行器。After determining the corresponding virtual coordinates of each virtual aircraft in the constructed coordinate system, the virtual aircraft in the neighboring area of the currently controlled aircraft will be determined according to the coordinate system after fusing the coordinate positions of all virtual aircraft.
参照图9,在根据所构建完成的坐标系确定处于邻居区域内的虚拟飞行器时,包括:Referring to FIG. 9 , when determining the virtual aircraft in the neighbor area according to the constructed coordinate system, it includes:
步骤S901、确定所述飞行器在所述坐标系中的目标坐标;Step S901, determining the target coordinates of the aircraft in the coordinate system;
步骤S902、根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器。Step S902: Determine a virtual aircraft in the neighbor area according to the target coordinates and the virtual coordinates.
在完成将虚拟飞行器的位置融合到所构建的坐标系中之后,将确定真实飞行器在所构建的坐标系中的坐标位置,对应真实飞行器集群中的每一个飞行器而言,在坐标系中都会存在有自己对应的坐标,因此在完成坐标系的构建时,确定飞行器在坐标系中的目标坐标,目标坐标为当前所控制飞行的飞行器在坐标系中的位置,在确定了目标坐标之后,将会根据目标坐标和预先所确定的虚拟飞行器的虚拟坐标,确定处于邻居区域内的虚拟飞行器。After the position of the virtual aircraft is fused into the constructed coordinate system, the coordinate position of the real aircraft in the constructed coordinate system will be determined. Corresponding to each aircraft in the real aircraft cluster, it will exist in the coordinate system. It has its own corresponding coordinates. Therefore, when completing the construction of the coordinate system, determine the target coordinates of the aircraft in the coordinate system. The target coordinates are the position of the currently controlled aircraft in the coordinate system. After determining the target coordinates, it will be According to the target coordinates and the pre-determined virtual coordinates of the virtual aircraft, the virtual aircraft in the neighbor area is determined.
在确定飞行器在坐标系中的目标坐标时,可以选择一个虚拟飞行器对应的经纬度,同时由于该虚拟飞行器在坐标系中对应有相应的坐标,因此可以通过经纬度的计算计算飞行器与该虚拟飞行器之间的距离以及方位,然后通过转化得到飞行器在坐标系中的目标坐标。When determining the target coordinates of the aircraft in the coordinate system, the latitude and longitude corresponding to a virtual aircraft can be selected. At the same time, since the virtual aircraft has corresponding coordinates in the coordinate system, the distance between the aircraft and the virtual aircraft can be calculated by calculating the latitude and longitude. The distance and azimuth of the aircraft are then converted to obtain the target coordinates of the aircraft in the coordinate system.
具体地,在确定飞行器的目标位置时,包括:确定所述目标位置信息与所述地理围栏的第一相对位置;根据所述第一相对位置,确定所述飞行器在所述坐标系中的目标坐标。Specifically, when determining the target position of the aircraft, it includes: determining a first relative position between the target position information and the geo-fence; determining a target of the aircraft in the coordinate system according to the first relative position coordinate.
在确定飞行器的目标坐标时,通过确定飞行器在世界坐标中与地理围栏之间的第一相对位置,其中,第一相对位置包含有在水平方向上的距离以及方位,进而通过所确定的第一位置关系确定飞行器在坐标系中所对应的目标坐标。When determining the target coordinates of the aircraft, the first relative position of the aircraft in the world coordinates and the geo-fence is determined, wherein the first relative position includes the distance and the azimuth in the horizontal direction, and then the determined first relative position is The positional relationship determines the target coordinates corresponding to the aircraft in the coordinate system.
或者,针对地理围栏构建的坐标系为NED坐标系,该地理围栏的数据包括GPS数据,例如包括边界点的GPS数据,GPS数据对应的坐标系为世界坐标系,可以从地理围栏的数据集中选择某一个点的GPS作为NED坐标系下的坐标原点,将其他边界点的GPS数据均映射至NED坐标系下。因此,在计算飞行器在坐标系中所对应的目标坐标时,也可以根据飞行器的GPS数据以及NED坐标系下原点的GPS数据,将飞行器的位置映射至NED坐标系下。Alternatively, the coordinate system constructed for the geofence is the NED coordinate system, the data of the geofence includes GPS data, such as GPS data including boundary points, and the coordinate system corresponding to the GPS data is the world coordinate system, which can be selected from the data set of the geofence The GPS of a certain point is used as the coordinate origin under the NED coordinate system, and the GPS data of other boundary points are mapped to the NED coordinate system. Therefore, when calculating the target coordinates corresponding to the aircraft in the coordinate system, the position of the aircraft can also be mapped to the NED coordinate system according to the GPS data of the aircraft and the GPS data of the origin under the NED coordinate system.
另外,在确定第一相对位置时,包括:在所述地理围栏中选择至少一个围栏位置;根据所述目标位置信息以及所述至少一个围栏位置,确定所述目标位置信息与所述至少一个围栏位置的位置关系,以确定所述目标位置信息与所述 地理围栏的第一相对位置。In addition, when determining the first relative position, it includes: selecting at least one fence position in the geo-fence; determining the target position information and the at least one fence according to the target position information and the at least one fence position The positional relationship of the positions to determine the first relative position of the target position information and the geo-fence.
比如,在所选择的虚拟飞行器在坐标系中的坐标为(0,0),且对应有自身的经纬度,通过计算确定飞行器与该虚拟飞行器的距离为
Figure PCTCN2020119652-appb-000003
且方位在东北方向,那么此时飞行器所对应的目标坐标为(30,30)。
For example, when the coordinates of the selected virtual aircraft in the coordinate system are (0, 0) and correspond to its own latitude and longitude, the distance between the aircraft and the virtual aircraft is determined by calculation as
Figure PCTCN2020119652-appb-000003
And the orientation is in the northeast direction, then the target coordinates corresponding to the aircraft at this time are (30, 30).
在根据目标坐标和所得到的虚拟坐标确定处于邻居区域内的虚拟飞行器时,通过计算两者之间的坐标距离值,进而确定当前所计算的虚拟飞行器是否处于邻居区域内。When determining the virtual aircraft in the neighbor area according to the target coordinates and the obtained virtual coordinates, it is determined whether the currently calculated virtual aircraft is in the neighbor area by calculating the coordinate distance between the two.
具体地,在确定处于邻居区域内的虚拟飞行器时,包括:根据所述目标坐标以及所述虚拟坐标,确定所述各虚拟飞行器与所述飞行器之间的第一坐标距离;读取所述邻居区域对应的预设坐标距离,并根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器。Specifically, when determining the virtual aircraft in the neighbor area, the steps include: determining a first coordinate distance between the virtual aircraft and the aircraft according to the target coordinates and the virtual coordinates; reading the neighbors The preset coordinate distance corresponding to the area is determined, and the virtual aircraft in the neighbor area is determined according to the first coordinate distance and the preset coordinate distance.
在得到目标坐标之后,可以计算目标坐标与所得到的各虚拟坐标之间的第一坐标距离,也就是得到的飞行器与各虚拟飞行器所对应的坐标距离,然后读取所设定的预设坐标距离,进而根据所得到的第一坐标距离和预设坐标距离确定处于邻居区域的虚拟飞行器。After obtaining the target coordinates, you can calculate the first coordinate distance between the target coordinates and the obtained virtual coordinates, that is, the obtained coordinate distance between the aircraft and each virtual aircraft, and then read the set preset coordinates distance, and then determine the virtual aircraft in the neighbor area according to the obtained first coordinate distance and the preset coordinate distance.
对应所预设坐标距离,在距离不进行等比例缩小时,可以与前述描述的预设实际距离相同,同时可以通过比例缩小,使得预设坐标距离不等于预设实际距离,但是无论如何操作并不影响实际的判断过程。Corresponding to the preset coordinate distance, when the distance is not proportionally reduced, it can be the same as the preset actual distance described above, and at the same time, it can be reduced proportionally so that the preset coordinate distance is not equal to the preset actual distance, but no matter what the operation and Does not affect the actual judgment process.
而在进行对比时,在第一坐标距离小于或者等于预设坐标距离时,确定第一坐标距离所对应的虚拟飞行器为处于邻居区域的虚拟飞行器,反之则确定不为处于邻居区域的虚拟飞行器。During comparison, when the first coordinate distance is less than or equal to the preset coordinate distance, it is determined that the virtual aircraft corresponding to the first coordinate distance is a virtual aircraft in a neighbor area, and otherwise, it is determined not to be a virtual aircraft in a neighbor area.
另外,在确定处于邻居区域内的虚拟飞行器时,还可以不计算目标坐标与虚拟坐标之间的坐标距离,而是通过其他的方式实现判断。In addition, when determining the virtual aircraft in the neighbor area, the coordinate distance between the target coordinate and the virtual coordinate may not be calculated, but the judgment may be implemented in other ways.
比如,在确定了目标坐标之后,计算目标坐标与地理围栏在坐标中所对应的边界之间的距离,然后根据所得到的距离进行进一步的确定。而在确定过程中,若飞行器所对应的目标坐标与区域边界的距离的最小值都大于预设坐标距离,那么显然该区域边界上不会存在有处于邻居区域内的虚拟飞行器,这样可以降低无效的对比计算。同样地,若飞行器所对应的目标坐标与区域边界的距离的最大值小于或者等于预设坐标距离,则确定改变接区域上所有的虚拟飞行器均为邻居区域内的虚拟飞行器。For example, after the target coordinates are determined, the distance between the target coordinates and the boundary corresponding to the geo-fence in the coordinates is calculated, and then further determination is performed according to the obtained distance. During the determination process, if the minimum value of the distance between the target coordinates of the aircraft and the area boundary is greater than the preset coordinate distance, then obviously there will be no virtual aircraft in the neighbor area on the boundary of the area, which can reduce invalidation. comparison calculation. Similarly, if the maximum value of the distance between the target coordinate corresponding to the aircraft and the area boundary is less than or equal to the preset coordinate distance, it is determined that all virtual aircraft in the changing contact area are virtual aircraft in the neighboring area.
因此,在进行第一坐标距离的计算时,可以先计算目标坐标与各区域边界的最小坐标距离和最大坐标距离,这样在一定程度上可以减少计算过程,可以 更加快速的确定处于邻居区域内的虚拟飞行器。Therefore, when calculating the first coordinate distance, you can first calculate the minimum coordinate distance and the maximum coordinate distance between the target coordinate and the boundary of each area, which can reduce the calculation process to a certain extent, and can more quickly determine the neighbor area. virtual aircraft.
在一实施例中,由于地理围栏本身的功能和性质,因此在确定处于邻居区域内的虚拟飞行器时,需要保证飞行器不会飞离地理围栏所包含的区域,但是由于地理围栏所存在的方式和状态的不同,使得确定处于邻居区域内的虚拟飞行器时所对应的确定方式也会有所不同。In one embodiment, due to the function and nature of the geofence itself, when determining a virtual aircraft in a neighboring area, it is necessary to ensure that the aircraft will not fly away from the area included in the geofence, but due to the way and the existence of the geofence. Different states result in different determination methods when determining the virtual aircraft in the neighboring area.
示例性的,在地理围栏为一个二维平面图形时,比如如图3(a)所示的地理围栏,此时可以默认需要控制飞行器在地理围栏所对应的经纬度区域内飞行。而在实际应用中,以一个二维地理围栏为例,在需要控制飞行器在圈定的二维地理围栏所在区域内飞行时,此时飞行器在飞行过程中所对应的经纬度不能处于地理围栏的边界所对应的经纬度范围之外。故而,此时在控制飞行器飞行时,不需要考虑飞行器与地理围栏所对应的虚拟飞行器之间的高度差。Exemplarily, when the geofence is a two-dimensional plane figure, such as the geofence shown in FIG. 3( a ), by default, the aircraft may need to be controlled to fly within the latitude and longitude area corresponding to the geofence. In practical applications, taking a two-dimensional geofence as an example, when the aircraft needs to be controlled to fly in the area where the two-dimensional geofence is located, the latitude and longitude corresponding to the aircraft during the flight cannot be within the boundaries of the geofence. outside the corresponding latitude and longitude range. Therefore, at this time, when controlling the flight of the aircraft, it is not necessary to consider the height difference between the aircraft and the virtual aircraft corresponding to the geo-fence.
另外,在地理围栏为一个立体图形时,此时需要保证飞行器在地理围栏的边界所围成的区域内飞行,那么此时就不仅仅只需要考虑在水平方向上的距离,即不仅仅只是根据经纬度来确定飞行器与虚拟飞行器之间的距离,还需要考虑飞行器与虚拟飞行器之间的高度差异。比如,地理围栏所构成的区域是一个球体时,那么需要控制飞行器在所构成的球体内飞行,因此,在确定处于邻居飞行器中的虚拟飞行器时,还需要计算虚拟飞行器与当前所要控制的飞行器之间的高度差异。同样的,在地理围栏所构成的区域为其他形状的三维空间时,也需要考虑实际的高度差以确定邻居飞行器中的虚拟飞行器。参见图3(d)所示以地理围栏为立方体为例,需要在立方体的六个面内按照虚拟飞行器的尺寸大小铺设满虚拟图标,来指示该六个面上均设置有虚拟飞行器,这种情况下与图3(b)或图3(c)不同,即地理围栏的边界不单单包括某一平面的边缘位置,还需要包括平面内的位置,也即是说,这种情况下,六个面的所有位置均为空间立体地理围栏的边界,因此,在六个面上均需要设置虚拟飞行器,从而保障真实的飞行器不会飞出该立体地理围栏圈定的范围。In addition, when the geofence is a three-dimensional figure, it is necessary to ensure that the aircraft flies within the area enclosed by the boundary of the geofence, so at this time, it is not only necessary to consider the distance in the horizontal direction, that is, not only according to the Longitude and latitude are used to determine the distance between the aircraft and the virtual aircraft, and the height difference between the aircraft and the virtual aircraft also needs to be considered. For example, when the area formed by the geofence is a sphere, the aircraft needs to be controlled to fly within the formed sphere. Therefore, when determining the virtual aircraft in the neighboring aircraft, it is also necessary to calculate the difference between the virtual aircraft and the currently controlled aircraft. height difference between. Similarly, when the area formed by the geofence is a three-dimensional space of other shapes, the actual height difference also needs to be considered to determine the virtual aircraft in the neighboring aircraft. Referring to Fig. 3(d), taking the geofence as a cube as an example, it is necessary to lay virtual icons on the six faces of the cube according to the size of the virtual aircraft to indicate that the six faces are provided with virtual aircraft. The situation is different from Figure 3(b) or Figure 3(c), that is, the boundary of the geofence not only includes the edge position of a certain plane, but also needs to include the position within the plane, that is to say, in this case, six All the positions of each plane are the boundaries of the spatial three-dimensional geo-fence. Therefore, virtual aircraft need to be set on the six planes, so as to ensure that the real aircraft will not fly out of the range delineated by the three-dimensional geo-fence.
由上述描述可知,在确定处于邻居区域内的真实飞行器利用飞行器之间的广播实现对自身位置的确定,进而实现对处于邻居区域内的真实飞行器的确定,而在确定处于邻居区域内的虚拟飞行器时,通过坐标转化的方式将地理围栏的边界以及虚拟飞行器的位置坐标化,进而通过坐标对比来确定处于邻居区域内的虚拟飞行器。It can be seen from the above description that the real aircraft that is determined to be in the neighbor area uses the broadcast between the aircraft to determine its own position, thereby realizing the determination of the real aircraft in the neighbor area, while the virtual aircraft in the neighbor area is determined. When the coordinates are transformed, the boundary of the geo-fence and the position of the virtual aircraft are co-ordinated, and then the virtual aircraft in the neighbor area is determined through coordinate comparison.
而在实际应用过程中,同样可以使用坐标的方式确定处于邻居区域内的真实飞行器,参照图10,确定处于飞行器的邻居区域的真实飞行器,包括:In the actual application process, the real aircraft in the neighbor area can also be determined by means of coordinates. Referring to Figure 10, the real aircraft in the neighbor area of the aircraft can be determined, including:
步骤S1001、确定所述各真实飞行器在所述坐标系中对应的真实坐标;Step S1001, determining the real coordinates corresponding to each real aircraft in the coordinate system;
步骤S1002、根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器。Step S1002: Determine a real aircraft in the neighbor area according to the real coordinates and the target coordinates.
在利用与确定邻居区域内的虚拟飞行器的方式确定邻居区域内的真实飞行器时,需要确定各真实飞行器在所构建的坐标系中所对应的真实坐标,进而通过所各真实飞行器所对应的真实坐标以及预先所得到的目标坐标确定处于邻居区域内的真实飞行器。When determining the real aircraft in the neighbor area by using the method of determining the virtual aircraft in the neighbor area, it is necessary to determine the real coordinates corresponding to each real aircraft in the constructed coordinate system, and then pass the real coordinates corresponding to each real aircraft. And the pre-obtained target coordinates determine the real aircraft in the neighbor area.
在确定各真实飞行器在坐标系中所对应的真实坐标时,由于目标坐标对应的飞行器属于真实飞行器中的一个,因此在确定各真实飞行器在坐标系中所对应的真实坐标时,可以采用与确定目标坐标的方式来实现,具体包括:根据所述真实位置信息以及目标位置信息,确定所述各真实飞行器与所述飞行器的第二相对位置;根据所述目标坐标以及所述第二相对位置,确定所述各真实飞行器在所述坐标系中对应的真实坐标。When determining the real coordinates corresponding to each real aircraft in the coordinate system, since the aircraft corresponding to the target coordinates belongs to one of the real aircraft, when determining the real coordinates corresponding to each real aircraft in the coordinate system, the same It is realized by means of target coordinates, which specifically includes: determining the second relative position of each real aircraft and the aircraft according to the real position information and target position information; according to the target coordinates and the second relative position, The corresponding real coordinates of each real aircraft in the coordinate system are determined.
其中,真实位置信息为各真实飞行器所对应的世界空间内的经纬度,目标位置信息为当前所控制的飞行器所对应的世界空间内的经纬度。The real position information is the latitude and longitude in the world space corresponding to each real aircraft, and the target position information is the latitude and longitude in the world space corresponding to the currently controlled aircraft.
在得到各真实飞行器对应的真实位置信息和目标位置信息之后,确定各真实飞行器与当前所控制的飞行器之间的第二相对位置,由于飞行器的目标坐标已经确定,因此在得到各真实飞行器与当前所控制的飞行器之间的第二相对位置之后,即可以在所构建的坐标系中确定各真实飞行器所对应的真实坐标。After obtaining the real position information and target position information corresponding to each real aircraft, the second relative position between each real aircraft and the currently controlled aircraft is determined. After the second relative position between the controlled aircrafts, the real coordinates corresponding to each real aircraft can be determined in the constructed coordinate system.
比如,目标坐标为(150,200),第二相对位置为正东方向,且相距25m,那么此时所确定的真实飞行器所对应的真实坐标为(175,200)。For example, if the target coordinates are (150, 200), the second relative position is due east, and the distance is 25m, then the real coordinates corresponding to the real aircraft determined at this time are (175, 200).
在一实施例中,在确定了各真实飞行器所对应的真实坐标之后,将会根据所得到真实坐标以及当前所控制的飞行器所对应的目标坐标,确定哪些真实飞行器处于当前所控制的飞行器的邻居区域内。具体地,包括:根据所述目标坐标以及所述真实坐标,确定所述各真实飞行器与所述飞行器之间的第二坐标距离;读取所述邻居区域对应的预设坐标距离,根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器。In one embodiment, after the real coordinates corresponding to each real aircraft are determined, it will be determined which real aircraft are in the neighbors of the currently controlled aircraft according to the obtained real coordinates and the target coordinates corresponding to the currently controlled aircraft. within the area. Specifically, the method includes: determining the second coordinate distance between the real aircraft and the aircraft according to the target coordinates and the real coordinates; reading the preset coordinate distance corresponding to the neighbor area, according to the The second coordinate distance and the preset coordinate distance determine the real aircraft in the neighbor area.
在得到各真实飞行器的真实坐标之后,将会计算真实坐标与目标坐标之间的坐标距离,以得到第二坐标距离,其中第二坐标距离包含有所有真实飞行器与当前所控制的飞行器之间的坐标距离,然后通过对比筛选,确定哪些真实飞行器处于当前所控制的飞行器的邻居区域内。After the real coordinates of each real aircraft are obtained, the coordinate distance between the real coordinates and the target coordinates will be calculated to obtain the second coordinate distance, where the second coordinate distance includes the distance between all real aircraft and the currently controlled aircraft. Coordinate distance, and then compare and filter to determine which real aircraft are in the neighbor area of the currently controlled aircraft.
示例性的,将第二坐标距离与所读取的邻居区域所对应区域信息中所包含 的预设坐标距离进行对比,确定第二坐标距离小于预设坐标距离的真实飞行器为处于邻居区域内的真实飞行器,反之则确定处于邻居区域之外。Exemplarily, the second coordinate distance is compared with the preset coordinate distance included in the area information corresponding to the read neighbor area, and it is determined that the real aircraft whose second coordinate distance is less than the preset coordinate distance is located in the neighbor area. The real aircraft, otherwise it is determined to be outside the neighbor area.
步骤S203、基于避碰策略,根据所述邻居飞行器控制所述飞行器飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。Step S203 , controlling the flight of the aircraft according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
在确定了当前所控制的飞行器的邻居飞行器之后,将会根据避碰策略,以基于所确定的邻居飞行器来控制飞行器的飞行。After the neighbor aircraft of the currently controlled aircraft is determined, the flight of the aircraft will be controlled based on the determined neighbor aircraft according to the collision avoidance strategy.
避碰策略是避免飞行器在飞行过程中与其他的飞行器出现碰撞的策略,比如在飞行器的飞行路径上出现障碍物时,需要及时的进行规避,以避免飞行器与障碍物发生碰撞,而在飞行器的飞行过程中,除了自身飞行器,其他的所有物体都是障碍物,比如在飞行器集群中,飞行器1在飞行时,除了飞行器1之外的所有飞行器都是障碍物,那么在飞行器1的飞行过程中,需要及时有效的避开其他的飞行器。The collision avoidance strategy is a strategy to avoid the collision between the aircraft and other aircraft during flight. For example, when an obstacle appears on the flight path of the aircraft, it needs to be avoided in time to avoid the collision between the aircraft and the obstacle. During the flight, all objects except its own aircraft are obstacles. For example, in the aircraft cluster, when aircraft 1 is flying, all aircraft except aircraft 1 are obstacles, then during the flight of aircraft 1 , it is necessary to avoid other aircraft in a timely and effective manner.
由于整个的处理过程都是在飞行器自身的处理器上实现的,因此在确定了邻居飞行器之后,将会根据避碰策略控制自身飞行。而在实际的避碰飞行的过程中,一般的避碰策略可以是,在飞行器前方存在有其他飞行器时,将会不在往前飞行,此时可以根据邻居飞行器的实际情况进行相应的转向或者反向飞行,以及此时飞行器还可以执行悬停操作。Since the entire processing process is implemented on the processor of the aircraft itself, after determining the neighbor aircraft, it will control its own flight according to the collision avoidance strategy. In the actual collision avoidance flight, the general collision avoidance strategy may be that when there are other aircraft in front of the aircraft, it will not fly forward. Fly in the direction, and the aircraft can also perform hovering operations at this time.
另外,在控制飞行器基于避碰策略飞行时,还可以对飞行器的避碰增加一个二次判断的过程,以避免出现误控制的情况,比如在飞行器的飞行过程中存在一个时间段,而在该时间段内飞行器与地理围栏的边界会小于预设的实际距离,若在该时间段控制飞行器远离地理围栏,如果此时在进行艺术展示,则会出现飞行器展示效果差的情况,而该情况的发生时因为飞行器基于避碰策略而产生的,而为了避免这种情况的出现,在保证飞行安全的情况下,可以增加一个二次判断,以降低飞行控制误操作的产生。In addition, when the aircraft is controlled to fly based on the collision avoidance strategy, a secondary judgment process can be added to the collision avoidance of the aircraft to avoid mis-control. During the time period, the boundary between the aircraft and the geo-fence will be smaller than the preset actual distance. If you control the aircraft to stay away from the geo-fence during this time period, if you are performing an art display at this time, the display effect of the aircraft will be poor. It occurs because the aircraft is based on the collision avoidance strategy. In order to avoid this situation, a secondary judgment can be added under the condition of ensuring flight safety to reduce the occurrence of flight control misoperations.
示例性的,在基于避碰策略控制飞行器飞行时,在确定了飞行器邻居区域内的飞行器时,不控制飞行器执行避碰,比如转向或者反向飞行,而是继续检测飞行器与该邻居区域内的飞行器之间的距离,并在此时所检测的距离小于等于安全距离时,控制飞行器执行避碰。Exemplarily, when the aircraft is controlled to fly based on the collision avoidance strategy, when the aircraft in the adjacent area of the aircraft is determined, the aircraft is not controlled to perform collision avoidance, such as turning or flying in the opposite direction, but continues to detect the aircraft and the aircraft in the adjacent area. The distance between the aircraft, and when the detected distance is less than or equal to the safe distance, control the aircraft to perform collision avoidance.
其中,以为邻居飞行器中的某一个飞行器,安全距离可以为预设的值,且预设的值可以小于邻居范围所对应的距离信息,比如邻居范围的距离为10m,那么安全距离可以设置为7m,也就是在飞行器与其他飞行器之间的距离小于等于7m时将控制飞行器执行避碰,比如控制飞行器转向飞行或反向飞行,再 比如控制飞行器悬停在空中不动。Among them, for a certain aircraft in the neighbor aircraft, the safety distance can be a preset value, and the preset value can be smaller than the distance information corresponding to the neighbor range. For example, the distance of the neighbor range is 10m, then the safety distance can be set to 7m , that is, when the distance between the aircraft and other aircraft is less than or equal to 7m, the aircraft will be controlled to perform collision avoidance, such as controlling the aircraft to steer or fly in the opposite direction, or control the aircraft to hover in the air.
需要说明的是,对于预设的邻居区域/邻居范围的距离和安全距离是根据实际情况来确定的,比如根据实际的飞行场景和飞行任务,在此不作限制。It should be noted that the distance and safety distance for the preset neighbor area/neighbor range are determined according to actual conditions, such as actual flight scenarios and flight tasks, and are not limited here.
示例性的,在所确定的实际飞行场景如图11(a)所示时,由图可以得到处于飞行器的邻居区域内的邻居飞行器,仅包含有虚拟飞行器,那么此时飞行器的飞行方向不能是朝向邻居飞行器的方向,此时可以飞行的方向为角α所对应的方向,也就是此时飞行器的飞行方向可以按照图中箭头所指方向。Exemplarily, when the determined actual flight scene is shown in FIG. 11(a), the neighbor aircraft in the neighbor area of the aircraft can be obtained from the figure, which only contains virtual aircraft, then the flight direction of the aircraft at this time cannot be The direction toward the neighboring aircraft, the direction that can fly at this time is the direction corresponding to the angle α, that is, the flying direction of the aircraft at this time can follow the direction indicated by the arrow in the figure.
另外,在所确定的实际飞行场景如图11(b)所示时,此时飞行器的邻居飞行器包括有虚拟飞行器和真实飞行器,此时可以飞行的方向为角β所对应的方向,那么此时飞行的飞行方向应该避开虚拟飞行器和真实飞行器,可以按照图中箭头所指方向进行飞行。In addition, when the determined actual flight scene is shown in Figure 11(b), the neighboring aircraft of the aircraft include virtual aircraft and real aircraft, and the direction that can be flown at this time is the direction corresponding to the angle β, then at this time The flight direction of the flight should avoid the virtual aircraft and the real aircraft, and you can fly in the direction indicated by the arrow in the figure.
在上述描述的飞行器的控制方法中,所有的数据处理过程都是在飞行器自身的处理器上所进行的,而在实际应用中,还可以利用其它的控制终端来实现数据处理,并根据数据处理的结果信息生成相应的控制指令,以将所生成的控制指令发送至相应的飞行器,进而使得飞行器通过相应控制指令而进行飞行。In the above-described aircraft control method, all data processing processes are carried out on the processor of the aircraft itself. In practical applications, other control terminals can also be used to realize data processing, and the The corresponding control instructions are generated based on the result information of the data, so as to send the generated control instructions to the corresponding aircraft, so that the aircraft can fly through the corresponding control instructions.
参照图12,图12为本申请一实施例提供的一种飞行器集群的飞行控制方法的流程示意图。Referring to FIG. 12 , FIG. 12 is a schematic flowchart of a flight control method for an aircraft cluster according to an embodiment of the present application.
其中,该方法包括:Among them, the method includes:
步骤S1201、获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Step S1201, obtaining a geo-fence, and creating a virtual aircraft cluster corresponding to the boundary of the geo-fence;
步骤S1202、确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Step S1202, determining the neighboring aircraft of the aircraft in the neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
步骤S1203、将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。Step S1203, sending the neighbor aircraft to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is to avoid collision between the aircraft and the neighbor aircraft of the aircraft strategy.
在该飞行器集群的飞行控制方法中,控制终端与所控制的飞行器之间建立有通信连接,可以实现数据信息的交互。比如飞行器将自身所得到的数据信息发送至控制终端,而控制终端在基于所接收到的数据信息进行数据处理之后,将处理所得到的结果信息反馈发送至对应的飞行器,以使得飞行器进行响应,比如根据结果信息进行飞行控制。In the flight control method of the aircraft cluster, a communication connection is established between the control terminal and the controlled aircraft, which can realize the exchange of data and information. For example, the aircraft sends the data information obtained by itself to the control terminal, and the control terminal, after performing data processing based on the received data information, feeds back the result information obtained from the processing to the corresponding aircraft, so that the aircraft responds. For example, flight control is performed based on the result information.
控制终端获取预先所存储的与飞行器相关的地理围栏,然后创建所读取的地理围栏的边界所对应的虚拟飞行器集群,接着确定处于飞行器的邻居区域内 的邻居飞行器,同样的,邻居飞行器包含有真实飞行器和虚拟飞行器,最后将所确定的邻居飞行器发送至所关联的飞行器,以使得所关联的飞行器基于避碰策略进行飞行。The control terminal acquires the pre-stored geo-fences related to the aircraft, then creates a virtual aircraft cluster corresponding to the boundaries of the read geo-fences, and then determines the neighbor aircraft in the neighbor area of the aircraft. Similarly, the neighbor aircraft contains The real aircraft and the virtual aircraft finally send the determined neighbor aircraft to the associated aircraft, so that the associated aircraft flies based on the collision avoidance strategy.
在一实施例中,由于确定邻居飞行器的过程是在控制终端上进行的,而确定邻居飞行器中所包含的真实飞行器时需要使用到真实飞行器的位置信息,因此,控制终端还会时刻接收县关联的各真实飞行器所发送的位置信息,进而根据所接收到的位置信息确定处于邻居区域内的真实飞行器。In one embodiment, since the process of determining the neighbor aircraft is performed on the control terminal, and the location information of the real aircraft needs to be used when determining the real aircraft included in the neighbor aircraft, the control terminal will also receive the county association at all times. The position information sent by each real aircraft, and then determine the real aircraft in the neighbor area according to the received position information.
而在确定邻居飞行器中所包含的虚拟飞行器时,可以采用与步骤S701至步骤S702所描述的实施例的方式来实现,但是整个的处理过程是在控制终端上进行的。When determining the virtual aircraft included in the neighbor aircraft, it may be implemented in the manner described in the embodiments from steps S701 to S702, but the entire processing process is performed on the control terminal.
在上述描述的飞行控制方法中,获取预先所设定好的地理围栏,然后创建地理围栏的边界所对应的虚拟飞行器集群,进而确定当前所需要控制的飞行器的在邻居区域内的邻居飞行器,包含有真实飞行器以及虚拟飞行器,最后根据飞行器的避碰策略,根据所确定的邻居飞行器来进行飞行。实现了在飞行器的飞行控制过程中,将飞行器的地理围栏作为飞行器集群中的部分集群,然后利用避碰策略实现飞行器的飞行,无需针对地理围栏进行单独的飞行计算和控制,有效的节约了飞行器集群的算力。In the above-described flight control method, a pre-set geofence is obtained, then a virtual aircraft cluster corresponding to the boundary of the geofence is created, and the neighbor aircraft in the neighbor area of the aircraft currently to be controlled is determined, including There are real aircraft and virtual aircraft, and finally, according to the collision avoidance strategy of the aircraft, the flight is carried out according to the determined neighbor aircraft. In the flight control process of the aircraft, the geo-fence of the aircraft is used as part of the aircraft cluster, and then the collision avoidance strategy is used to realize the flight of the aircraft, without the need for separate flight calculation and control for the geo-fence, which effectively saves the aircraft. The computing power of the cluster.
请参阅图13,图13是本申请一实施例提供的飞行器的示意性框图。该飞行器1300包括处理器1301和存储器1302,处理器1301和存储器1302通过总线连接,该总线比如为I2C(Inter-integrated Circuit)总线1303。Please refer to FIG. 13 , which is a schematic block diagram of an aircraft provided by an embodiment of the present application. The aircraft 1300 includes a processor 1301 and a memory 1302 , and the processor 1301 and the memory 1302 are connected by a bus, such as an I2C (Inter-integrated Circuit) bus 1303 .
具体地,处理器1301可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 1301 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器1302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 1302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a mobile hard disk, and the like.
其中,所述处理器1301用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 1301 is used for running the computer program stored in the memory, and implements the following steps when executing the computer program:
获取地理围栏,创建所述地理围栏对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the geofence;
确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
基于避碰策略,根据所述邻居飞行器控制所述飞行器飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The flight of the aircraft is controlled according to the neighboring aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighboring aircraft of the aircraft.
在一些实施例中,所述处理器1301在实现所述创建所述地理围栏的边界对应的虚拟飞行器集群时,具体实现:In some embodiments, when the processor 1301 implements the creation of the virtual aircraft cluster corresponding to the boundary of the geofence, it specifically implements:
根据所述地理围栏的边界确定多个虚拟位置,以及在每个所述虚拟位置创建一个虚拟飞行器,得到虚拟飞行器集群。A plurality of virtual positions are determined according to the boundaries of the geo-fence, and a virtual aircraft is created at each of the virtual positions to obtain a virtual aircraft cluster.
在一些实施例中,所述虚拟位置位于所述地理围栏的边界上。In some embodiments, the virtual location is located on the boundary of the geofence.
在一些实施例中,所述处理器1301在实现所述根据所述地理围栏确定多个虚拟位置时,具体实现:In some embodiments, when implementing the determining of multiple virtual locations according to the geo-fence, the processor 1301 specifically implements:
按照预设的间隔距离对所述地理围栏进行划分,以得到多个虚拟位置。The geo-fences are divided according to a preset interval distance to obtain a plurality of virtual positions.
在一些实施例中,所述处理器1301在实现所述确定处于飞行器的邻居区域的邻居飞行器时,具体实现:In some embodiments, when the processor 1301 implements the determining of a neighboring aircraft in a neighboring area of the aircraft, the processor 1301 specifically implements:
确定处于所述飞行器的邻居区域的真实飞行器,以及确定处于所述飞行器的邻居区域的虚拟飞行器,得到对应的邻居飞行器。Determine the real aircraft in the neighbor area of the aircraft, and determine the virtual aircraft in the neighbor area of the aircraft to obtain the corresponding neighbor aircraft.
在一些实施例中,所述处理器1301在实现所述确定处于所述飞行器的邻居区域的真实飞行器时,具体实现:In some embodiments, the processor 1301 specifically implements:
确定所述飞行器的目标位置信息;determining the target position information of the aircraft;
接收处于所述地理围栏内各真实飞行器所发送的真实位置信息;receiving the real location information sent by each real aircraft in the geo-fence;
根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域信息,确定处于邻居区域的真实飞行器。According to the real position information, the target position information and the area information corresponding to the neighbor area, the real aircraft in the neighbor area is determined.
在一些实施例中,所述处理器1301在实现所述根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域信息,确定处于邻居区域的真实飞行器时,具体实现:In some embodiments, when the processor 1301 determines the real aircraft in the neighbor area according to the real location information, the target location information, and the area information corresponding to the neighbor area, the processor 1301 specifically implements:
根据所述真实位置信息以及所述目标位置信息,确定所述各真实飞行器与所述飞行器的第一距离;determining the first distance between the real aircraft and the aircraft according to the real position information and the target position information;
读取所述邻居区域对应的区域信息,并根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器。The area information corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the first distance and the area information.
在一些实施例中,所述区域信息包括预设实际距离,所述处理器1301在实现所述根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器时,具体实现:In some embodiments, the area information includes a preset actual distance, and when the processor 1301 determines the real aircraft in the neighbor area according to the first distance and the area information, the processor 1301 specifically implements:
若所述第一距离小于或者等于所述预设实际距离,则确定所述第一距离对应的真实飞行器为处于所述邻居区域的真实飞行器。If the first distance is less than or equal to the preset actual distance, it is determined that the real aircraft corresponding to the first distance is a real aircraft located in the neighbor area.
在一些实施例中,所述处理器1301在实现所述确定处于所述飞行器的邻居区域的虚拟飞行器时,具体实现:In some embodiments, the processor 1301 specifically implements:
构建与所述地理围栏对应的坐标系;constructing a coordinate system corresponding to the geofence;
确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器。The virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system are determined, so as to determine the neighbor aircraft of the aircraft in the neighbor area according to the virtual coordinates.
在一些实施例中,所述处理器1301在实现所述根据所述确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器时,具体实现:In some embodiments, the processor 1301 is implementing the determining according to the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system, so as to determine the neighbors of the aircraft according to the virtual coordinates. When the neighbor aircraft in the area is used, the specific implementation is as follows:
确定所述飞行器在所述坐标系中的目标坐标;determining the target coordinates of the aircraft in the coordinate system;
根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器。According to the target coordinates and the virtual coordinates, a virtual aircraft in the neighbor area is determined.
在一些实施例中,所述处理器1301在实现所述根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器时,具体实现:In some embodiments, when the processor 1301 determines the virtual aircraft in the neighbor area according to the target coordinates and the virtual coordinates, it specifically implements:
根据所述目标坐标以及所述虚拟坐标,确定所述各虚拟飞行器与所述飞行器之间的第一坐标距离;determining a first coordinate distance between each virtual aircraft and the aircraft according to the target coordinates and the virtual coordinates;
读取所述邻居区域对应的预设坐标距离,并根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器。The preset coordinate distance corresponding to the neighbor area is read, and the virtual aircraft in the neighbor area is determined according to the first coordinate distance and the preset coordinate distance.
在一些实施例中,所述处理器1301在实现所述根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器时,具体实现:In some embodiments, when the processor 1301 implements the determining of the virtual aircraft in the neighbor area according to the first coordinate distance and the preset coordinate distance, the processor 1301 specifically implements:
若所述第一坐标距离小于或者等于所述预设坐标距离,则确定所述第一坐标距离对应的虚拟飞行器为处于所述邻居区域的虚拟飞行器。If the first coordinate distance is less than or equal to the preset coordinate distance, it is determined that the virtual aircraft corresponding to the first coordinate distance is a virtual aircraft located in the neighbor area.
在一些实施例中,所述处理器1301在实现所述确定所述飞行器在所述坐标系中的目标坐标时,具体实现:In some embodiments, when the processor 1301 implements the determining of the target coordinates of the aircraft in the coordinate system, the processor 1301 specifically implements:
确定所述目标位置信息与所述地理围栏的第一相对位置;determining a first relative position of the target location information and the geo-fence;
根据所述第一相对位置,确定所述飞行器在所述坐标系中的目标坐标。According to the first relative position, the target coordinates of the aircraft in the coordinate system are determined.
在一些实施例中,所述处理器1301在实现所述确定所述目标位置信息与所述地理围栏的第一相对位置时,具体实现:In some embodiments, when implementing the determining of the first relative position between the target location information and the geo-fence, the processor 1301 specifically implements:
在所述地理围栏中选择至少一个围栏位置;selecting at least one fence location within the geofence;
根据所述目标位置信息以及所述至少一个围栏位置,确定所述目标位置信息与所述至少一个围栏位置的位置关系,以确定所述目标位置信息与所述地理围栏的第一相对位置。According to the target position information and the at least one fence position, a positional relationship between the target position information and the at least one fence position is determined to determine a first relative position of the target position information and the geo-fence.
在一些实施例中,所述处理器1301在实现所述确定处于所述飞行器的邻居区域的真实飞行器时,具体实现:In some embodiments, the processor 1301 specifically implements:
确定所述各真实飞行器在所述坐标系中对应的真实坐标;determining the corresponding real coordinates of each real aircraft in the coordinate system;
根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器。According to the real coordinates and the target coordinates, the real aircraft in the neighbor area is determined.
在一些实施例中,所述处理器1301在实现所述根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器时,具体实现:In some embodiments, when the processor 1301 determines the real aircraft in the neighbor area according to the real coordinates and the target coordinates, it specifically implements:
根据所述目标坐标以及所述真实坐标,确定所述各真实飞行器与所述飞行器之间的第二坐标距离;According to the target coordinates and the real coordinates, determine the second coordinate distance between the real aircraft and the aircraft;
读取所述邻居区域对应的预设坐标距离,根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器。The preset coordinate distance corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the second coordinate distance and the preset coordinate distance.
在一些实施例中,所述处理器1301在实现所述根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器时,具体实现:In some embodiments, when the processor 1301 implements the determining of the real aircraft in the neighbor area according to the second coordinate distance and the preset coordinate distance, the processor 1301 specifically implements:
若所述第二坐标距离小于或者等于所述预设坐标距离,则确定所述第二坐标距离对应的真实飞行器为处于所述邻居区域的真实飞行器。If the second coordinate distance is less than or equal to the preset coordinate distance, it is determined that the real aircraft corresponding to the second coordinate distance is a real aircraft located in the neighbor area.
在一些实施例中,所述处理器1301在实现所述确定所述各真实飞行器在所述坐标系中对应的真实坐标时,具体实现:In some embodiments, when the processor 1301 implements the determining of the real coordinates corresponding to the real aircraft in the coordinate system, the processor 1301 specifically implements:
根据所述真实位置信息以及目标位置信息,确定所述各真实飞行器与所述飞行器的第二相对位置;determining the second relative positions of the real aircraft and the aircraft according to the real position information and the target position information;
根据所述目标坐标以及所述第二相对位置,确定所述各真实飞行器在所述坐标系中对应的真实坐标。According to the target coordinates and the second relative position, the corresponding real coordinates of each real aircraft in the coordinate system are determined.
请参阅图14,图14是本申请一实施例提供的控制终端的示意性框图。该控制终端1400包括处理器1401和存储器1402,处理器1401和存储器1402通过总线连接,该总线比如为I2C(Inter-integrated Circuit)总线1403。Please refer to FIG. 14. FIG. 14 is a schematic block diagram of a control terminal provided by an embodiment of the present application. The control terminal 1400 includes a processor 1401 and a memory 1402, and the processor 1401 and the memory 1402 are connected through a bus, such as an I2C (Inter-integrated Circuit) bus 1403.
具体地,处理器1401可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 1401 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器1402可以是智能手机、平板电脑或云台等。Specifically, the memory 1402 may be a smartphone, a tablet computer, a PTZ, or the like.
其中,所述处理器1401用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 1401 is used for running the computer program stored in the memory, and implements the following steps when executing the computer program:
获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器 的邻居飞行器发生碰撞的策略。The neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy to avoid collisions between the aircraft and the aircraft's neighbor aircraft.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的任一项所述的飞行控制方法的步骤。The embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the above implementation The steps of the flight control method described in any one of the examples provided.
其中,所述计算机可读存储介质可以是前述任一实施例所述的可移动平台或控制终端的内部存储单元,例如所述可移动平台的硬盘或内存。所述计算机可读存储介质也可以是所述可移动平台的外部存储设备,例如所述可移动平台上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the computer-readable storage medium may be the internal storage unit of the removable platform or the control terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the removable platform. The computer-readable storage medium can also be an external storage device of the removable platform, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) equipped on the removable platform , SD) card, flash memory card (Flash Card), etc.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (39)

  1. 一种飞行控制方法,其特征在于,应用于飞行器集群中的飞行器,所述方法包括:A flight control method, characterized in that it is applied to an aircraft in an aircraft cluster, the method comprising:
    获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
    确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的虚拟飞行器和/或真实飞行器;Determining the neighboring aircraft of the aircraft in the neighboring area, wherein the neighboring aircraft includes virtual aircraft and/or real aircraft in the virtual aircraft cluster;
    基于避碰策略,根据所述邻居飞行器控制所述飞行器飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The flight of the aircraft is controlled according to the neighboring aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighboring aircraft of the aircraft.
  2. 根据权利要求1所述的飞行控制方法,其特征在于,所述创建所述地理围栏的边界对应的虚拟飞行器集群,包括:The flight control method according to claim 1, wherein the creating a virtual aircraft cluster corresponding to the boundary of the geofence comprises:
    根据所述地理围栏的边界确定多个虚拟位置,以及在每个所述虚拟位置创建一个虚拟飞行器,得到虚拟飞行器集群。A plurality of virtual positions are determined according to the boundaries of the geo-fence, and a virtual aircraft is created at each of the virtual positions to obtain a virtual aircraft cluster.
  3. 根据权利要求2所述的飞行控制方法,其特征在于,所述虚拟位置位于所述地理围栏的边界上。The flight control method according to claim 2, wherein the virtual location is located on the boundary of the geo-fence.
  4. 根据权利要求2所述的飞行控制方法,其特征在于,所述根据所述地理围栏的边界确定多个虚拟位置,包括:The flight control method according to claim 2, wherein the determining a plurality of virtual positions according to the boundary of the geo-fence comprises:
    按照预设的间隔距离对所述地理围栏的边界进行划分,以得到多个虚拟位置。The boundary of the geo-fence is divided according to a preset interval distance to obtain a plurality of virtual positions.
  5. 根据权利要求1所述的飞行控制方法,其特征在于,所述确定处于飞行器的邻居区域的邻居飞行器,包括:The flight control method according to claim 1, wherein the determining a neighbor aircraft in a neighbor area of the aircraft comprises:
    确定处于所述飞行器的邻居区域的真实飞行器,以及确定处于所述飞行器的邻居区域的虚拟飞行器,得到对应的邻居飞行器。Determine the real aircraft in the neighbor area of the aircraft, and determine the virtual aircraft in the neighbor area of the aircraft to obtain the corresponding neighbor aircraft.
  6. 根据权利要求5所述的飞行控制方法,其特征在于,所述确定处于所述飞行器的邻居区域的真实飞行器,包括:The flight control method according to claim 5, wherein the determining a real aircraft in a neighboring area of the aircraft comprises:
    确定所述飞行器的目标位置信息;determining the target position information of the aircraft;
    接收处于所述地理围栏内各真实飞行器所发送的真实位置信息;receiving the real location information sent by each real aircraft in the geo-fence;
    根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域信息,确定处于邻居区域的真实飞行器。According to the real position information, the target position information and the area information corresponding to the neighbor area, the real aircraft in the neighbor area is determined.
  7. 根据权利要求6所述的飞行控制方法,其特征在于,所述根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域信息,确定处于邻 居区域的真实飞行器,包括:flight control method according to claim 6, is characterized in that, described according to described real position information, described target position information and the area information corresponding to described neighbor area, determine the real aircraft that is in neighbor area, comprise:
    根据所述真实位置信息以及所述目标位置信息,确定所述各真实飞行器与所述飞行器的第一距离;determining the first distance between the real aircraft and the aircraft according to the real position information and the target position information;
    读取所述邻居区域对应的区域信息,并根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器。The area information corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the first distance and the area information.
  8. 根据权利要求7所述的飞行控制方法,其特征在于,所述区域信息包括预设实际距离,所述根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器,包括:The flight control method according to claim 7, wherein the area information includes a preset actual distance, and the determining the real aircraft in the neighbor area according to the first distance and the area information includes:
    若所述第一距离小于或者等于所述预设实际距离,则确定所述第一距离对应的真实飞行器为处于所述邻居区域的真实飞行器。If the first distance is less than or equal to the preset actual distance, it is determined that the real aircraft corresponding to the first distance is a real aircraft located in the neighbor area.
  9. 根据权利要求5所述的飞行控制方法,其特征在于,所述确定处于所述飞行器的邻居区域的虚拟飞行器,包括:The flight control method according to claim 5, wherein the determining a virtual aircraft in a neighboring area of the aircraft comprises:
    构建与所述地理围栏对应的坐标系;constructing a coordinate system corresponding to the geofence;
    确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器。The virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system are determined, so as to determine the neighbor aircraft of the aircraft in the neighbor area according to the virtual coordinates.
  10. 根据权利要求9所述的飞行控制方法,其特征在于,所述确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器,包括:The flight control method according to claim 9, wherein the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system are determined, so as to determine whether the aircraft is in a neighbor area according to the virtual coordinates neighbor aircraft, including:
    确定所述飞行器在所述坐标系中的目标坐标;determining the target coordinates of the aircraft in the coordinate system;
    根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器。According to the target coordinates and the virtual coordinates, a virtual aircraft in the neighbor area is determined.
  11. 根据权利要求10所述的飞行控制方法,其特征在于,所述根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器,包括:The flight control method according to claim 10, wherein the determining the virtual aircraft in the neighbor area according to the target coordinates and the virtual coordinates comprises:
    根据所述目标坐标以及所述虚拟坐标,确定所述各虚拟飞行器与所述飞行器之间的第一坐标距离;determining a first coordinate distance between each virtual aircraft and the aircraft according to the target coordinates and the virtual coordinates;
    读取所述邻居区域对应的预设坐标距离,并根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器。The preset coordinate distance corresponding to the neighbor area is read, and the virtual aircraft in the neighbor area is determined according to the first coordinate distance and the preset coordinate distance.
  12. 根据权利要求11所述的飞行控制方法,其特征在于,所述根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器,包括:The flight control method according to claim 11, wherein the determining the virtual aircraft in the neighbor area according to the first coordinate distance and the preset coordinate distance comprises:
    若所述第一坐标距离小于或者等于所述预设坐标距离,则确定所述第一坐标距离对应的虚拟飞行器为处于所述邻居区域的虚拟飞行器。If the first coordinate distance is less than or equal to the preset coordinate distance, it is determined that the virtual aircraft corresponding to the first coordinate distance is a virtual aircraft located in the neighbor area.
  13. 根据权利要求10所述的飞行控制方法,其特征在于,所述确定所述飞 行器在所述坐标系中的目标坐标,包括:The flight control method according to claim 10, wherein the determining the target coordinates of the aircraft in the coordinate system comprises:
    确定所述目标位置信息与所述地理围栏的第一相对位置;determining a first relative position of the target location information and the geo-fence;
    根据所述第一相对位置,确定所述飞行器在所述坐标系中的目标坐标。According to the first relative position, the target coordinates of the aircraft in the coordinate system are determined.
  14. 根据权利要求13所述的飞行控制方法,其特征在于,所述确定所述目标位置信息与所述地理围栏的第一相对位置,包括:The flight control method according to claim 13, wherein the determining the first relative position between the target position information and the geo-fence comprises:
    在所述地理围栏中选择至少一个围栏位置;selecting at least one fence location within the geofence;
    根据所述目标位置信息以及所述至少一个围栏位置,确定所述目标位置信息与所述至少一个围栏位置的位置关系,以确定所述目标位置信息与所述地理围栏的第一相对位置。According to the target position information and the at least one fence position, a positional relationship between the target position information and the at least one fence position is determined to determine a first relative position of the target position information and the geo-fence.
  15. 根据权利要求9至14中任一项所述的飞行控制方法,其特征在于,所述确定处于所述飞行器的邻居区域的真实飞行器,还包括:The flight control method according to any one of claims 9 to 14, wherein the determining a real aircraft in a neighboring area of the aircraft further comprises:
    确定所述各真实飞行器在所述坐标系中对应的真实坐标;determining the corresponding real coordinates of each real aircraft in the coordinate system;
    根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器。According to the real coordinates and the target coordinates, the real aircraft in the neighbor area is determined.
  16. 根据权利要求15所述的飞行控制方法,其特征在于,所述根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器,包括:The flight control method according to claim 15, wherein the determining, according to the real coordinates and the target coordinates, the real aircraft in the neighbor area comprises:
    根据所述目标坐标以及所述真实坐标,确定所述各真实飞行器与所述飞行器之间的第二坐标距离;According to the target coordinates and the real coordinates, determine the second coordinate distance between the real aircraft and the aircraft;
    读取所述邻居区域对应的预设坐标距离,根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器。The preset coordinate distance corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the second coordinate distance and the preset coordinate distance.
  17. 根据权利要求16所述的飞行控制方法,其特征在于,所述根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器,包括:The flight control method according to claim 16, wherein the determining the real aircraft in the neighbor area according to the second coordinate distance and the preset coordinate distance comprises:
    若所述第二坐标距离小于或者等于所述预设坐标距离,则确定所述第二坐标距离对应的真实飞行器为处于所述邻居区域的真实飞行器。If the second coordinate distance is less than or equal to the preset coordinate distance, it is determined that the real aircraft corresponding to the second coordinate distance is a real aircraft located in the neighbor area.
  18. 根据权利要求15所述的飞行控制方法,其特征在于,所述确定所述各真实飞行器在所述坐标系中对应的真实坐标,包括:The flight control method according to claim 15, wherein the determining the real coordinates corresponding to each real aircraft in the coordinate system comprises:
    根据所述真实位置信息以及目标位置信息,确定所述各真实飞行器与所述飞行器的第二相对位置;determining the second relative positions of the real aircraft and the aircraft according to the real position information and the target position information;
    根据所述目标坐标以及所述第二相对位置,确定所述各真实飞行器在所述坐标系中对应的真实坐标。According to the target coordinates and the second relative position, the corresponding real coordinates of each real aircraft in the coordinate system are determined.
  19. 一种飞行器集群的飞行控制方法,其特征在于,包括:A flight control method for an aircraft cluster, comprising:
    获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
    确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
    将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  20. 一种飞行器,其特征在于,所述飞行器包括存储器和处理器;An aircraft, characterized in that the aircraft includes a memory and a processor;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
    获取地理围栏,创建所述地理围栏对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the geofence;
    确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
    基于避碰策略,根据所述邻居飞行器控制所述飞行器飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The flight of the aircraft is controlled according to the neighboring aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighboring aircraft of the aircraft.
  21. 根据权利要求20所述的飞行器,其特征在于,所述处理器在实现所述创建所述地理围栏的边界对应的虚拟飞行器集群时,还用于实现:The aircraft according to claim 20, wherein when the processor implements the creation of the virtual aircraft cluster corresponding to the boundary of the geofence, the processor is further configured to implement:
    根据所述地理围栏的边界确定多个虚拟位置,以及在每个所述虚拟位置创建一个虚拟飞行器,得到虚拟飞行器集群。A plurality of virtual positions are determined according to the boundaries of the geo-fence, and a virtual aircraft is created at each of the virtual positions to obtain a virtual aircraft cluster.
  22. 根据权利要求21所述的飞行器,其特征在于,所述虚拟位置位于所述地理围栏的边界上。21. The aircraft of claim 21, wherein the virtual location is located on a boundary of the geofence.
  23. 根据权利要求21所述的飞行器,其特征在于,所述处理器在实现所述根据所述地理围栏确定多个虚拟位置时,还用于实现:The aircraft according to claim 21, wherein when implementing the determining of the plurality of virtual locations according to the geo-fence, the processor is further configured to:
    按照预设的间隔距离对所述地理围栏进行划分,以得到多个虚拟位置。The geo-fences are divided according to a preset interval distance to obtain a plurality of virtual positions.
  24. 根据权利要求20所述的飞行器,其特征在于,所述处理器在实现所述确定处于飞行器的邻居区域的邻居飞行器时,还用于实现:The aircraft according to claim 20, wherein, when the processor implements the determining of a neighbor aircraft in a neighbor area of the aircraft, the processor is further configured to:
    确定处于所述飞行器的邻居区域的真实飞行器,以及确定处于所述飞行器的邻居区域的虚拟飞行器,得到对应的邻居飞行器。Determine the real aircraft in the neighbor area of the aircraft, and determine the virtual aircraft in the neighbor area of the aircraft to obtain the corresponding neighbor aircraft.
  25. 根据权利要求24所述的飞行器,其特征在于,所述处理器在实现所述确定处于所述飞行器的邻居区域的真实飞行器时,还用于实现:The aircraft according to claim 24, wherein, when the processor implements the determining of a real aircraft located in a neighborhood area of the aircraft, the processor is further configured to:
    确定所述飞行器的目标位置信息;determining the target position information of the aircraft;
    接收处于所述地理围栏内各真实飞行器所发送的真实位置信息;receiving the real location information sent by each real aircraft in the geo-fence;
    根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域 信息,确定处于邻居区域的真实飞行器。According to the real position information, the target position information and the area information corresponding to the neighbor area, determine the real aircraft in the neighbor area.
  26. 根据权利要求25所述的飞行器,其特征在于,所述处理器在实现所述根据所述真实位置信息、所述目标位置信息以及所述邻居区域对应的区域信息,确定处于邻居区域的真实飞行器时,还用于实现:The aircraft according to claim 25, wherein the processor is implementing the determining of the real aircraft in the neighbor area according to the real position information, the target position information and the area information corresponding to the neighbor area is also used to implement:
    根据所述真实位置信息以及所述目标位置信息,确定所述各真实飞行器与所述飞行器的第一距离;determining the first distance between the real aircraft and the aircraft according to the real position information and the target position information;
    读取所述邻居区域对应的区域信息,并根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器。The area information corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the first distance and the area information.
  27. 根据权利要求26所述的飞行器,其特征在于,所述区域信息包括预设实际距离,所述处理器在实现所述根据所述第一距离与所述区域信息确定处于所述邻居区域的真实飞行器时,还用于实现:The aircraft according to claim 26, wherein the area information includes a preset actual distance, and the processor is performing the determining of the actual distance in the neighbor area according to the first distance and the area information. When the aircraft is used, it is also used to realize:
    若所述第一距离小于或者等于所述预设实际距离,则确定所述第一距离对应的真实飞行器为处于所述邻居区域的真实飞行器。If the first distance is less than or equal to the preset actual distance, it is determined that the real aircraft corresponding to the first distance is a real aircraft located in the neighbor area.
  28. 根据权利要求24所述的飞行器,其特征在于,所述处理器在实现所述确定处于所述飞行器的邻居区域的虚拟飞行器时,还用于实现:The aircraft according to claim 24, wherein, when the processor implements the determining of the virtual aircraft located in the neighbor area of the aircraft, the processor is further configured to:
    构建与所述地理围栏对应的坐标系;constructing a coordinate system corresponding to the geofence;
    确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器。The virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system are determined, so as to determine the neighbor aircraft of the aircraft in the neighbor area according to the virtual coordinates.
  29. 根据权利要求28所述的飞行器,其特征在于,所述处理器在实现所述确定所述虚拟飞行器集群中各虚拟飞行器在所述坐标系中所对应的虚拟坐标,以根据所述虚拟坐标确定飞行器在邻居区域的邻居飞行器时,还用于实现:The aircraft according to claim 28, wherein the processor determines the virtual coordinates corresponding to each virtual aircraft in the virtual aircraft cluster in the coordinate system, so as to determine the virtual coordinates according to the virtual coordinates When the aircraft is in the neighboring area of the neighboring aircraft, it is also used to implement:
    确定所述飞行器在所述坐标系中的目标坐标;determining the target coordinates of the aircraft in the coordinate system;
    根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器。According to the target coordinates and the virtual coordinates, a virtual aircraft in the neighbor area is determined.
  30. 根据权利要求29所述的飞行器,其特征在于,所述处理器在实现所述根据所述目标坐标以及所述虚拟坐标,确定处于所述邻居区域内的虚拟飞行器时,还用于实现:The aircraft according to claim 29, wherein when the processor determines the virtual aircraft in the neighbor area according to the target coordinates and the virtual coordinates, the processor is further configured to:
    根据所述目标坐标以及所述虚拟坐标,确定所述各虚拟飞行器与所述飞行器之间的第一坐标距离;determining a first coordinate distance between each virtual aircraft and the aircraft according to the target coordinates and the virtual coordinates;
    读取所述邻居区域对应的预设坐标距离,并根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器。The preset coordinate distance corresponding to the neighbor area is read, and the virtual aircraft in the neighbor area is determined according to the first coordinate distance and the preset coordinate distance.
  31. 根据权利要求30所述的飞行器,其特征在于,所述处理器在实现所述 根据所述第一坐标距离与所述预设坐标距离确定处于所述邻居区域的虚拟飞行器时,还用于实现:The aircraft according to claim 30, wherein when implementing the determining of the virtual aircraft in the neighbor area according to the first coordinate distance and the preset coordinate distance, the processor is further configured to implement :
    若所述第一坐标距离小于或者等于所述预设坐标距离,则确定所述第一坐标距离对应的虚拟飞行器为处于所述邻居区域的虚拟飞行器。If the first coordinate distance is less than or equal to the preset coordinate distance, it is determined that the virtual aircraft corresponding to the first coordinate distance is a virtual aircraft located in the neighbor area.
  32. 根据权利要求29所述的飞行器,其特征在于,所述处理器在实现所述确定所述飞行器在所述坐标系中的目标坐标时,还用于实现:The aircraft according to claim 29, wherein when the processor realizes the determining of the target coordinates of the aircraft in the coordinate system, the processor is further configured to:
    确定所述目标位置信息与所述地理围栏的第一相对位置;determining a first relative position of the target location information and the geo-fence;
    根据所述第一相对位置,确定所述飞行器在所述坐标系中的目标坐标。According to the first relative position, the target coordinates of the aircraft in the coordinate system are determined.
  33. 根据权利要求32所述的飞行器,其特征在于,所述处理器在实现所述确定所述目标位置信息与所述地理围栏的第一相对位置时,还用于实现:The aircraft according to claim 32, wherein, when the processor realizes the determining of the first relative position between the target location information and the geo-fence, the processor is further configured to:
    在所述地理围栏中选择至少一个围栏位置;selecting at least one fence location within the geofence;
    根据所述目标位置信息以及所述至少一个围栏位置,确定所述目标位置信息与所述至少一个围栏位置的位置关系,以确定所述目标位置信息与所述地理围栏的第一相对位置。According to the target position information and the at least one fence position, a positional relationship between the target position information and the at least one fence position is determined to determine a first relative position of the target position information and the geo-fence.
  34. 根据权利要求28至33中任一项所述的飞行器,其特征在于,所述处理器在实现所述确定处于所述飞行器的邻居区域的真实飞行器时,还用于实现:The aircraft according to any one of claims 28 to 33, wherein, when the processor implements the determining of a real aircraft in a neighboring area of the aircraft, the processor is further configured to:
    确定所述各真实飞行器在所述坐标系中对应的真实坐标;determining the corresponding real coordinates of each real aircraft in the coordinate system;
    根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器。According to the real coordinates and the target coordinates, the real aircraft in the neighbor area is determined.
  35. 根据权利要求34所述的飞行器,其特征在于,所述处理器在实现所述根据所述真实坐标以及所述目标坐标,确定处于所述邻居区域内的真实飞行器时,还用于实现:The aircraft according to claim 34, wherein when the processor determines the real aircraft in the neighbor area according to the real coordinates and the target coordinates, the processor is further configured to:
    根据所述目标坐标以及所述真实坐标,确定所述各真实飞行器与所述飞行器之间的第二坐标距离;According to the target coordinates and the real coordinates, determine the second coordinate distance between the real aircraft and the aircraft;
    读取所述邻居区域对应的预设坐标距离,根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器。The preset coordinate distance corresponding to the neighbor area is read, and the real aircraft in the neighbor area is determined according to the second coordinate distance and the preset coordinate distance.
  36. 根据权利要求35所述的飞行器,其特征在于,所述处理器在实现所述根据所述第二坐标距离与所述预设坐标距离确定处于所述邻居区域的真实飞行器时,还用于实现:The aircraft according to claim 35, wherein when implementing the determining of the real aircraft in the neighbor area according to the second coordinate distance and the preset coordinate distance, the processor is further configured to: :
    若所述第二坐标距离小于或者等于所述预设坐标距离,则确定所述第二坐标距离对应的真实飞行器为处于所述邻居区域的真实飞行器。If the second coordinate distance is less than or equal to the preset coordinate distance, it is determined that the real aircraft corresponding to the second coordinate distance is a real aircraft located in the neighbor area.
  37. 根据权利要求36所述的飞行器,其特征在于,所述处理器在实现所述 确定所述各真实飞行器在所述坐标系中对应的真实坐标时,还用于实现:aircraft according to claim 36, it is characterized in that, when described processor realizes described determining the real coordinates corresponding to each real aircraft in described coordinate system, also is used for realizing:
    根据所述真实位置信息以及目标位置信息,确定所述各真实飞行器与所述飞行器的第二相对位置;determining the second relative positions of the real aircraft and the aircraft according to the real position information and the target position information;
    根据所述目标坐标以及所述第二相对位置,确定所述各真实飞行器在所述坐标系中对应的真实坐标。According to the target coordinates and the second relative position, the corresponding real coordinates of each real aircraft in the coordinate system are determined.
  38. 一种控制终端,其特征在于,所述飞行器包括存储器和处理器;A control terminal, wherein the aircraft includes a memory and a processor;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
    获取地理围栏,创建所述地理围栏的边界对应的虚拟飞行器集群;Obtain a geofence, and create a virtual aircraft cluster corresponding to the boundary of the geofence;
    确定飞行器在邻居区域的邻居飞行器,其中,所述邻居飞行器包括所述虚拟飞行器集群中的若干虚拟飞行器和/或真实飞行器;Determining a neighboring aircraft of an aircraft in a neighboring area, wherein the neighboring aircraft includes several virtual aircraft and/or real aircraft in the virtual aircraft cluster;
    将所述邻居飞行器发送至所述飞行器,以使得所述飞行器基于避碰策略,根据所述邻居飞行器进行飞行,其中所述避碰策略为避免飞行器与所述飞行器的邻居飞行器发生碰撞的策略。The neighbor aircraft is sent to the aircraft, so that the aircraft flies according to the neighbor aircraft based on a collision avoidance strategy, wherein the collision avoidance strategy is a strategy for avoiding collision between the aircraft and the neighbor aircraft of the aircraft.
  39. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1至18中任一项所述的飞行控制方法,和/或实现如权利要求19所述的飞行控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the flight control according to any one of claims 1 to 18 is implemented method, and/or implementing a flight control method as claimed in claim 19 .
PCT/CN2020/119652 2020-09-30 2020-09-30 Flight control method, aircraft, control terminal, and readable storage medium WO2022067759A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/119652 WO2022067759A1 (en) 2020-09-30 2020-09-30 Flight control method, aircraft, control terminal, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/119652 WO2022067759A1 (en) 2020-09-30 2020-09-30 Flight control method, aircraft, control terminal, and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022067759A1 true WO2022067759A1 (en) 2022-04-07

Family

ID=80949407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119652 WO2022067759A1 (en) 2020-09-30 2020-09-30 Flight control method, aircraft, control terminal, and readable storage medium

Country Status (1)

Country Link
WO (1) WO2022067759A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167147A (en) * 2022-08-09 2022-10-11 南京航空航天大学 Distributed fault diagnosis method for swarm unmanned aerial vehicle based on thrust residual error estimation
EP4325465A1 (en) * 2022-07-25 2024-02-21 Pablo Air Co., Ltd. Method and apparatus for controlling operations of flight vehicles

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150370258A1 (en) * 2014-06-23 2015-12-24 Thomson Licensing Method for controlling a path of a rotary-wing drone, a corresponding system, a rotary-wing drone implementing this system and the related uses of such a drone
CN107430403A (en) * 2015-03-31 2017-12-01 深圳市大疆创新科技有限公司 System and method with geography fence facility level
CN108958289A (en) * 2018-07-28 2018-12-07 天津大学 Cluster unmanned plane collision prevention method based on relative velocity obstacle
CN109557942A (en) * 2019-01-21 2019-04-02 梁晓龙 A kind of unmanned plane geography fence algorithm of autonomous flight
CN110446166A (en) * 2019-08-12 2019-11-12 广州小鹏汽车科技有限公司 The monitoring method and device of a kind of positioning device close to geography fence

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150370258A1 (en) * 2014-06-23 2015-12-24 Thomson Licensing Method for controlling a path of a rotary-wing drone, a corresponding system, a rotary-wing drone implementing this system and the related uses of such a drone
CN107430403A (en) * 2015-03-31 2017-12-01 深圳市大疆创新科技有限公司 System and method with geography fence facility level
CN108958289A (en) * 2018-07-28 2018-12-07 天津大学 Cluster unmanned plane collision prevention method based on relative velocity obstacle
CN109557942A (en) * 2019-01-21 2019-04-02 梁晓龙 A kind of unmanned plane geography fence algorithm of autonomous flight
CN110446166A (en) * 2019-08-12 2019-11-12 广州小鹏汽车科技有限公司 The monitoring method and device of a kind of positioning device close to geography fence

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4325465A1 (en) * 2022-07-25 2024-02-21 Pablo Air Co., Ltd. Method and apparatus for controlling operations of flight vehicles
CN115167147A (en) * 2022-08-09 2022-10-11 南京航空航天大学 Distributed fault diagnosis method for swarm unmanned aerial vehicle based on thrust residual error estimation
CN115167147B (en) * 2022-08-09 2023-04-18 南京航空航天大学 Distributed fault diagnosis method for swarm unmanned aerial vehicle based on thrust residual error estimation

Similar Documents

Publication Publication Date Title
US20240029573A1 (en) Aerial vehicle flight control method and device thereof
US11897607B2 (en) Unmanned aerial vehicle beyond visual line of sight control
US20200402410A1 (en) Unmanned Aerial Vehicle Visual Line Of Sight Control
CN111656424B (en) Automatic flying unmanned aerial vehicle system based on big data and automatic flying method thereof
EP3491474B1 (en) System and method of dynamically controlling parameters for processing sensor output data for collision avoidance and path planning
EP3619591B1 (en) Leading drone
WO2021082396A1 (en) Unmanned aerial vehicle flight network modeling method based on low-altitude airspace restriction conditions
EP3619584B1 (en) Underwater leading drone system
WO2022067759A1 (en) Flight control method, aircraft, control terminal, and readable storage medium
US20180321681A1 (en) Leading drone method
WO2020155425A1 (en) No-fly control method, apparatus and device for unmanned aerial vehicle, and storage medium
WO2017168423A1 (en) System and method for autonomous guidance of vehicles
US20230289445A1 (en) Tamper-resistant geo-fence system for drones
CN113238583A (en) Intensive formation flying and anti-collision control method for fixed-wing unmanned aerial vehicles
CN107450586B (en) Method and system for adjusting air route and unmanned aerial vehicle system
KR20200002213A (en) Apparatus and method for constructing a 3d space map for route search for unmanned aerial vehicle
CN109960273B (en) Flight control method and device of unmanned aerial vehicle and storage medium
CN115730425A (en) Unmanned aerial vehicle cluster complex area balanced coverage method, system, storage medium and terminal based on improved spanning tree
CN117170402A (en) Unmanned aerial vehicle cluster collision avoidance method and system based on artificial potential field
CN115460539A (en) Method, device, medium and program product for acquiring electronic fence
CN114740885A (en) Unmanned aerial vehicle return method, device, equipment and storage medium
JP7351613B2 (en) computer system
WO2021016867A1 (en) Terminal device and data processing method therefor, and unmanned aerial vehicle and control method therefor
WO2023184085A1 (en) Unmanned aerial vehicle control method and apparatus, unmanned aerial vehicle, and storage medium
Lee et al. UAV Swarm Real-Time Rerouting by Edge Computing under a Changing Environment

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

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

Country of ref document: EP

Kind code of ref document: A1