Large-scale cluster distributed autonomous grouping and grouping method and device
By introducing the target perspective calculation module into the unmanned cluster, the problem of inaccurate cluster grouping in a multi-target environment is solved, more efficient target tracking and task completion are achieved, and the adaptability and robustness of the cluster are improved.
Patent Information
- Application Number
- CN202410567905.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, unmanned swarms autonomously choose to form clusters when faced with multiple targets. There are inaccuracies in grouping and grouping, which makes it difficult for individuals to effectively track targets and is inefficient in a communication-limited environment.
By introducing the target perspective calculation module into the cluster members, new targets are added to the current target group, and tracking targets are screened based on the perspective calculation results to achieve autonomous grouping, ensuring that cluster members can accurately select and track targets, and avoid confusion under the influence of multiple targets.
It improves the adaptability and task completion efficiency of the cluster, ensures that individuals can effectively track targets, reduces communication interference and internal collisions, and enhances the robustness and overall performance of the cluster.
Smart Images

Figure CN118655898A
Abstract
Description
Technical Field
[0001] The present application relates to the field of navigation technology, and more specifically, to a method and device for large-scale cluster distributed autonomous grouping and grouping. Background Art
[0002] When considering environmental stimuli (i.e. obstacles), the autonomous grouping and aggregation behaviors of unmanned swarms mainly involve the clustering behaviors formed due to the autonomous selection of individuals when multiple targets are discovered at the same time.
[0003] Cluster tracking realizes the function of task planning level for distributed cluster systems. Due to the lack of a unified global optimization algorithm, its efficiency is generally lower than that of centralized control systems. However, in the more common communication restricted environment, it is of great significance to study the autonomous behavior mechanism of distributed clusters.
[0004] The main difficulty of cluster tracking is how the cluster individuals deal with the forces exerted by the two targets on themselves. Since the target always exists, if the influence of one of the targets is not eliminated in the algorithm, it will be difficult for the individual to track the target along the expected path, and its movement direction will point to the middle area between the two targets. In addition, although there is no concept of target allocation in the distributed cluster system, the number of clusters tracking two targets of the same value should be as equal as possible. However, in the prior art, there is still an inaccurate technical problem in the clustering and grouping formed by the autonomous selection of cluster members when multiple targets are discovered at the same time.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a large-scale cluster distributed autonomous grouping and grouping method and device, so as to at least solve the technical problem of inaccurate cluster grouping and grouping caused by autonomous selection of cluster members when discovering multiple targets at the same time in the prior art.
[0007] According to one aspect of an embodiment of the present invention, a large-scale cluster distributed autonomous grouping and grouping method is provided, including: when a first cluster member in the cluster discovers a new target during cluster cruising, the first cluster member adds the new target to the current target group; when the number of the current target group is greater than 1, the first cluster member performs target perspective calculation; according to the result of the target perspective calculation, the targets in the current target group are screened, and the screened targets in the current target group are used as tracking targets to achieve autonomous grouping of the cluster.
[0008] According to another aspect of an embodiment of the present invention, a large-scale cluster distributed autonomous grouping and grouping device is provided, which is arranged on the first cluster member in the cluster, and the device includes: a target determination module, configured to add the new target to the current target group when the first cluster member in the cluster discovers a new target during cluster cruising; a perspective calculation module, configured to, when the number of the current target group is greater than 1, the first cluster member performs target perspective calculation; a grouping module, configured to filter the targets in the current target group according to the results of the target perspective calculation, and use the filtered targets in the current target group as tracking targets, so as to autonomously group the unmanned cluster.
[0009] In an embodiment of the present invention, when the first cluster member in the cluster discovers a new target during cluster cruising, the new target is added to the current target group; when the number of the current target group is greater than 1, the first cluster member performs target perspective calculation; based on the result of the target perspective calculation, the target in the current target group is screened, and the screened target in the current target group is used as the tracking target to achieve autonomous grouping of the cluster. The above method solves the technical problem of inaccurate cluster grouping and grouping formed by the autonomous selection of cluster members when multiple targets are discovered at the same time in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0011] Figure 1 is a flow chart of a method for selecting large-scale cluster neighbors based on spatial segmentation of perceptual perspective according to an embodiment of the present application;
[0012] Figure 2 It is a flow chart of a large-scale cluster distributed autonomous grouping and grouping method according to an embodiment of the present application;
[0013] Figure 3 is a flow chart of a cluster active avoidance and safe obstacle avoidance method based on speed vector control according to an embodiment of the present application;
[0014] Figure 4 is a flow chart of a method for autonomously generating cluster opinions according to an embodiment of the present application;
[0015] Figure 5 is a schematic diagram of a neighbor selection method based on a perspective according to an embodiment of the present application;
[0016] Figure 6 is a schematic diagram of a perspective-based adaptive spatial neighbor selection process according to an embodiment of the present application;
[0017] Figure 7 is an experimental effect diagram of a method for selecting a fixed number of neighbors according to an embodiment of the present application;
[0018] Figure 8 is an experimental effect diagram of the view-based neighbor selection method according to an embodiment of the present application;
[0019] Fig. 9 is a schematic diagram of target viewing angle determination according to an embodiment of the present application;
[0020] Fig.10 is a schematic diagram of target viewing angle size determination according to an embodiment of the present application;
[0021] Fig.11 is a schematic diagram of grouping according to an embodiment of the present application;
[0022] Fig.12 is a schematic diagram of a clustering judgment algorithm according to an embodiment of the present application;
[0023] Fig.13 is a schematic diagram of an active avoidance method according to an embodiment of the present application;
[0024] Fig.14 is a schematic diagram of an adaptive variable viewpoint influence experiment according to an embodiment of the present application;
[0025] Fig.15 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0027] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0028] Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values of the parts and steps set forth in these embodiments do not limit the scope of the application. Meanwhile, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to actual proportional relationships. The technology, methods and equipment known to those of ordinary skill in the relevant art may not be discussed in detail. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, and therefore, once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.
[0029] Example 1
[0030] The present application provides a navigation method for an unmanned cluster, the method comprising the following steps:
[0031] Step S1, autonomous grouping.
[0032] This embodiment provides two autonomous grouping methods. The first method is to perform autonomous grouping through adaptive spatial neighbor selection based on perspective, and the second method is to perform target-based unmanned cluster autonomous grouping.
[0033] The first method will be described in detail below.
[0034] like Figure 1 As shown, the large-scale cluster neighbor selection method based on perceptual perspective space segmentation includes the following steps:
[0035] Step S102, a first cluster member in the cluster receives position and speed information of other cluster members within the communication range, and determines a candidate neighbor set of the first cluster member based on the position and speed information;
[0036] Step S104: calculating the state distance and the spatial distance between the first cluster member and each neighbor member in the candidate neighbor set, and calculating the score of each neighbor member based on the state distance and the spatial distance.
[0037] Determine a neighbor selection weight variable; calculate the score based on the spatial distance, the state distance, the neighbor selection weight variable, and the farthest distance at which the first cluster member can interact. This embodiment takes into account the state differences and spatial positions between individuals, so that the cluster can move in an orderly and synchronous manner from the local to the whole, improving the consistency and efficiency of the cluster behavior. At the same time, the perspective-based neighbor selection mechanism further optimizes the neighbor selection process, so that individuals can perceive the surrounding environment more accurately and take appropriate actions, thereby enhancing the robustness and adaptability of the cluster.
[0038] Step S106: selecting a neighbor of the first cluster member from the candidate neighbor set based on the score and the perspective of the first cluster member.
[0039] For example, the neighbor member with the lowest score is selected as the first neighbor; the following is repeated until there is no neighbor member meeting the preset condition in the candidate neighbor set: based on the viewing angle, the neighbor member with the lowest score is selected from the neighbor members meeting the preset condition in the candidate neighbor set as the next neighbor, wherein the preset condition is: not being selected as a neighbor and not being blocked by the neighbor members that have been selected as neighbors.
[0040] This embodiment selects the neighbor member with the lowest score as the first neighbor, and repeats this process until there is no neighbor member that meets the preset conditions in the candidate neighbor set. Based on the perspective, the member with the lowest score is selected from the neighbor members that meet the preset conditions as the next neighbor, which is beneficial to the collaborative behavior and dynamic adjustment of the cluster. This mechanism minimizes the state difference and occlusion between neighbors, allowing cluster members to cooperate more closely, avoiding communication interference and internal collisions, thereby improving the overall efficiency and robustness of the cluster, while ensuring the stability and adaptability of the cluster configuration.
[0041] The determination that the neighbor member is not blocked by the neighbor member selected as the neighbor is as follows: the observation field of the first cluster member on the neighbor member in the neighbor set to be selected is modeled as a cone-shaped three-dimensional space area; based on the cone-shaped three-dimensional space area, whether the current neighbor member in the neighbor set to be selected is blocked by the neighbor member selected as the neighbor. The first cluster member is the vertex of the cone, the neighbor member in the neighbor set to be selected is located at the center of the bottom surface of the cone, and the angle included by the longitudinal section of the cone is the viewing angle of the first cluster member to the neighbor member. The viewing angle is determined based on the bottom radius of the cone and the height of the cone, the height of the cone is the distance between the first cluster member and the neighbor member in the neighbor set to be selected, and the bottom radius is twice the radius of the first cluster member. If the position of the current neighbor member is within the viewing angle of any neighbor member selected as the neighbor member, it is determined that the current neighbor member is blocked by the neighbor member selected as the neighbor.
[0042] This embodiment can effectively exclude members that are blocked by neighbor members selected as neighbors by modeling the observation field of the first cluster member of the neighbor members in the neighbor set to be selected as a cone-shaped three-dimensional space area, and determining the viewing angle according to the base radius and height of the cone. This method ensures the accuracy and rationality of the neighbor selection process by considering the range of viewing angle, thereby improving the stability and efficiency of the cluster. In this way, cluster members can perceive the surrounding environment more accurately and make appropriate neighbor selections, thereby optimizing the collaborative behavior and dynamic adjustment of the cluster, reducing communication interference and internal collisions, and improving the overall performance and robustness of the cluster.
[0043] The second method will be described in detail below.
[0044] like Figure 2 As shown, the large-scale cluster distributed autonomous grouping and grouping method includes the following steps:
[0045] Step S202, when a first cluster member in the cluster discovers a new target during cluster patrol, the first cluster member adds the new target to the current target group;
[0046] Step S204, when the number of the current target groups is greater than 1, the first cluster member performs target perspective calculation;
[0047] Step S206, filtering the targets in the current target group according to the result of the target perspective calculation, and taking the filtered targets in the current target group as tracking targets to achieve autonomous grouping of the cluster.
[0048] According to the result of the target perspective calculation, the target with a reachable perspective is selected from the current target group and remains in the current target group, and the other targets are moved into the pending target group. Specifically, when the result of the target perspective calculation is that there is no reachable perspective for each target in the current target group, each target is moved into the pending target group; when the result of the target perspective calculation is that there is a reachable perspective for only one target in the current target group, the target with a reachable perspective is retained in the current target group, and the other targets are moved into the pending target group; when the result of the target perspective calculation is that there is a reachable perspective for at least two targets in the current target group, the target with the largest reachable perspective is retained in the current target group, and the other targets are moved into the pending target group.
[0049] This embodiment ensures that the cluster individuals can effectively track the target, avoiding the confusion and untracking problems caused by multiple targets. By considering the reachable view of each target, the cluster can more intelligently select and assign tasks, improving the adaptability and task completion efficiency of the cluster.
[0050] Among them, the reachable viewing angle is the viewing angle when the current target is not blocked by the neighbor members in the cluster, wherein whether it is blocked by the neighbor members in the cluster is determined by: modeling the observation field of the first cluster member to the neighbor members in the cluster as a conical three-dimensional space area; based on the conical three-dimensional space area, determining whether the first cluster member is blocked by the neighbor members in the cluster. This embodiment effectively avoids the situation where cluster members are blocked by neighbors and cannot observe the target by modeling the observation field of cluster members as a conical three-dimensional space area, and determining whether other members block the current target based on this model. This intelligent target viewing angle calculation method enables the cluster to select and track targets more accurately, improving the cluster's task completion efficiency and adaptability.
[0051] The first cluster member maintains the distance and synchronizes the speed with the cluster neighbors in the cluster, moves in the direction of the target tracked by the cluster neighbors to perform natural grouping, and repeats this step if it is determined that the natural grouping has not ended. This mechanism enables cluster members to automatically form a dispersed arrangement in the process of tracking the target, avoiding excessive crowding and collisions between members, thereby improving the overall stability and coordination of the cluster. At the same time, by adjusting the tracking direction of the target, the cluster members present a more dispersed and orderly layout in space, providing greater flexibility and adaptability for the movement and operation of the cluster in complex environments.
[0052] Determining whether natural grouping has ended can be achieved as follows: the first cluster member sends local cluster member information to neighbor members in the cluster, receives cluster member information sent by the neighbor members, and updates the local cluster member information based on the received cluster member information; the first cluster member performs a traversal operation on the local cluster member information. If the neighbor information of any known cluster member can be queried, it is considered that the local cluster member information has included all members in the cluster, and then the number of members in the cluster is calculated. If the number of members decreases, it is determined that the cluster has completed natural grouping, otherwise, it is determined that the natural grouping has not ended. This embodiment ensures the information exchange of all cluster members by means of interactive information. When the local cluster member information includes all members and the number decreases, it can be determined that natural grouping has ended. This intelligent grouping judgment method effectively improves the self-organization and adaptability of the cluster, so that the cluster can make corresponding adjustments in time when facing different environments and tasks, thereby improving the overall operating efficiency.
[0053] The first cluster member redefines the tracking target through the communication interaction within the cluster or its own motion state, and moves the redetermined tracking target into the current target group. This embodiment enables the cluster to timely redefine the tracking target based on changes in internal communication or its own state, ensuring the cluster's continuous and effective tracking of the target and task execution capabilities. By dynamically adjusting the tracking target, the cluster can adapt to different environments and task requirements more flexibly, improving overall adaptability and execution efficiency.
[0054] In addition, through this application, the unmanned swarm has the ability to track targets. Individuals who find the target will be attracted by the target and move towards the target at the maximum cruising speed until they slow down and stably track the target when they are close to the target. When the swarm detects two targets at the same time, or finds a second target while tracking a target, the swarm can take into account multiple targets at the same time within its capabilities. For individuals, they can make autonomous choices of targets, thereby achieving the purpose of group tracking.
[0055] Step S2, performing obstacle avoidance processing.
[0056] like Figure 3 As shown, the cluster active avoidance and safe obstacle avoidance method based on speed vector control provided in the present application includes the following steps:
[0057] Step S302, when an obstacle is detected and it is determined that the first cluster member in the cluster should avoid the obstacle, obtaining the speed state of the first cluster member;
[0058] For example, determine the adaptive function f of the safe obstacle avoidance method obs,safe , the direction of the first cluster member's safe obstacle avoidance speed D i,safe_obs , whether the distance enters the obstacle avoidance range, the independent variable based on speed, and the constant term K obs,safe , wherein the speed-based independent variable is used to control the magnitude of the safe obstacle avoidance speed; the adaptive function f based on the safe obstacle avoidance method obs,safe , the direction of the first cluster member's safe obstacle avoidance speed D i,safe_obs , whether the distance enters the obstacle avoidance range, the independent variable based on speed, and the constant term K obs,safe , to calculate the speed state of the first cluster member.
[0059] This embodiment helps to ensure that cluster members can quickly and safely avoid obstacles while minimizing the impact on the overall state of the cluster, thereby ensuring the cluster's ability to safely traverse complex environments.
[0060] Step S304, determining a safe obstacle avoidance speed and an active obstacle avoidance speed of the first cluster member based on the speed state;
[0061] Taking the obstacle as the center of the circle, the tangent direction of the circle where the first cluster member is currently located is used as the direction of the active avoidance speed;
[0062] Determine the magnitude of the active avoidance speed of the first cluster member. For example, the influence of the distance maintenance, speed synchronization and cluster cruise instructions from neighbor members in the cluster is calculated through a cluster opinion generation method based on opinion influence and individual independence (described in detail below), and the speed control instruction of the active avoidance speed is obtained based on the influence; the direction vector of the active avoidance speed and the expected speed is calculated through the relative position of the first cluster member and the obstacle; based on the speed control instruction and the direction vector, the magnitude of the active avoidance speed of the first cluster member is determined. This embodiment enables cluster members to reasonably adjust the speed according to the surrounding environment and the cluster motion state, effectively avoid obstacles, and ensure the cluster's ability to safely cross in complex environments.
[0063] The direction vector can be obtained as follows: when the obstacle is in the left front of the first cluster member's body coordinate system, determine the first rotation matrix, the first rotation matrix rotates the direction vector of the first cluster member pointing to the obstacle by ninety degrees clockwise; when the obstacle is in the right front of the first cluster member's body coordinate system, determine the second rotation matrix, the first rotation matrix rotates the direction vector of the first cluster member pointing to the obstacle by ninety degrees counterclockwise; based on the first rotation matrix or the second rotation matrix, calculate the direction vector of the active avoidance speed and the expected speed. For example, obtain the position p of the obstacle obs , the position p of the first cluster member i , the rotation angle θ for active avoidance act and the desired rotation angle θ desire Based on the position p of the obstacle obs , the position p of the first cluster member i , the active avoidance rotation angle θ act , and the first rotation matrix or the second rotation matrix, calculate the active avoidance direction vector w act ; Based on the position of the obstacle p obs , the position p of the first cluster member i , the desired rotation angle θ desire , and the first rotation matrix or the second rotation matrix, calculate the direction vector u of the desired speed desire The active avoidance rotation angle θ desire Based on the following, we get: the position p of the obstacle obs , the position p of the first cluster member i, and the preset safe obstacle avoidance radius r rep,safe .
[0064] This embodiment enables cluster members to avoid obstacles promptly and accurately based on the location information of the obstacle and the first cluster member, as well as a preset safe obstacle avoidance radius, thereby ensuring the safe operation of the cluster in a complex environment.
[0065] Next, the cluster opinion generation method based on opinion influence and individual independence will be described in detail.
[0066] like Figure 4 As shown, the cluster opinion autonomous generation method includes the following steps:
[0067] Step S3042, the first cluster member obtains navigation perception information from its own sensor system and neighbor status information from neighbor members in the cluster, and processes the navigation perception information and the neighbor status information;
[0068] The neighbor status information includes an expected speed vector of a neighbor member and a current speed vector of the neighbor member, wherein the expected speed vector is determined based on a received control instruction from a command center or an expected speed of target tracking.
[0069] The neighbor state mean square error is calculated based on the neighbor state information. For example, the speed state of the neighbor member and the state mean of all neighbor members of the first cluster member are obtained; the neighbor state mean square error is calculated based on the speed state of the neighbor member and the state mean. The neighbor state mean square error is used to describe the consistency of the states of all neighbor members.
[0070] This embodiment can calculate the mean square error of the neighbor state by obtaining the speed state of the neighbor members and the state mean of all neighbor members of the first cluster member. The state mean can reflect the degree of difference between the states of the neighbor members, that is, it describes the degree of state consistency. This is very important for cluster members, because they need to understand whether the motion state of the surrounding neighbor members is consistent enough to make appropriate decisions, such as adjusting their own motion state or coordinating operations with neighbor members, thereby improving the operating efficiency and stability of the entire cluster.
[0071] Based on the mean square error of the neighbor states, the inverse tangent function is used to correct the strength of belief in the own viewpoint in the navigation perception information. For example, the larger the mean square error of the neighbor states, the closer the ratio of the inverse tangent function to π / 2 is to 1, so that the ratio can adaptively reflect the strength of belief of the first cluster member in its own viewpoint; when the mean square error of the neighbor states is smaller, the closer the ratio of the inverse tangent function to π / 2 is to 0, so that the ratio can adaptively reflect the speed state of the neighbor members. In this way, the correction of navigation perception information can more accurately reflect the movement environment and state of cluster members, which is beneficial to the accuracy and real-time performance of cluster decision-making.
[0072] Step S3044, based on the current task requirements, using the processed navigation perception information and the neighbor status information to generate one's own opinion.
[0073] When the neighbor member has a higher priority task requirement that has not been met, the influence of the neighbor member on the first cluster member is increased; based on the increased influence, a speed view is generated, wherein the speed view is closer to the speed view of the neighbor member, so as to achieve speed synchronization with the neighbor member until the motion state of the neighbor member meets the task requirement; wherein the own view includes the speed view.
[0074] This embodiment can effectively respond to higher priority task demands of neighbor members, and improve the flexibility and response speed of the cluster for task execution. By increasing the influence of neighbor members on the first cluster member, it is possible to collaborate more closely with neighbor members and give priority to meeting important task demands. The generated speed view is closer to the speed view of the neighbor member, which can achieve speed synchronization and maintain coordination and consistency among cluster members, which helps to improve the efficiency and coordination of the cluster when performing tasks. At the same time, including their own views allows cluster members to maintain a certain degree of autonomy in collaboration, which can not only meet the needs of neighbor members, but also maintain a certain degree of their own decision-making ability, improving the adaptability and stability of the cluster for tasks in complex environments.
[0075] Step S306: Avoid the obstacle based on the safe obstacle avoidance speed and the active obstacle avoidance speed.
[0076] Example 2
[0077] The embodiment of the present application provides another large-scale cluster neighbor selection method based on spatial segmentation of perception perspective. Taking the cluster members as drones as an example, this embodiment proposes an adaptive spatial neighbor selection mechanism that considers both state distance and spatial distance, where the state distance is defined as the difference between the velocity vectors of the cluster members, which quantifies the difference in velocity states of different members in the cluster, and the spatial distance is defined as the Euclidean distance.
[0078] For individuals, state distance is a very important influencing factor. Drones with closer spatial distances are more likely to become neighbors, which ensures that the cluster can be orderly and synchronized from the local to the overall. Due to the existence of neighbor interactions and mutual forces, internal collision problems are also avoided.
[0079] In addition, in order to achieve better synergy among the clusters, drones with too large a state distance should be excluded from the neighbor set, such as drones moving in opposite directions in extreme cases. This allows individuals to quickly choose members of one cluster as neighbors when the clusters split and not be affected by members of the other cluster. When two clusters with different directions need to cross each other, even though the spatial distance between members of different clusters is small, the excessively large state distance prevents the two clusters from being confused by neighbor exchanges.
[0080] Further combining the state distance and spatial distance, the neighbor selection weight variable α is introduced NBR ,0<α NBR <1, and normalize the state distance and space distance. The specific formula is as follows
[0081]
[0082] SCO i,j represents the score of drone j when drone i (the first cluster member) selects its neighbors, d i,j is the spatial distance (or Euclidean distance) between UAV i and UAV j, R max_inac is the maximum distance for UAV interaction, ||·|| is the modulus length calculation, where v i represents the flight speed of UAV i, v j represents the flight speed of UAV j.
[0083] After the individual calculates the neighbor selection scores for all drones within the communication range, members with low scores are more suitable to be selected as neighbors. The next step is to determine the upper limit of the number of neighbors. Different from the traditional method of fixing the upper limit, this embodiment proposes an adaptive neighbor number determination method based on perspective calculation.
[0084] In a cluster, when a member can be directly observed by the main body through vision without being blocked by other drones, the member is considered to be a neighbor that can be selected, because the interaction between them is direct, without the influence of obstacles, and their communication conditions are also ideal. In addition, even under conditions of limited communication, such neighbors have the best perceived position. The unmanned cluster mentioned in this embodiment can exchange position and speed information in communication, so for an individual, the perception angle will not be limited to the visual sensor carried by the fuselage, but a complete spherical area.
[0085] The method for calculating the viewing angle is as follows: the observation field of an individual to other members is modeled as a conical three-dimensional space region, where the individual is the vertex of the cone and the member it observes is located at the center of the bottom of the cone. The angle between the longitudinal sections of the cone is the individual's viewing angle to the member. In view of the complexity and unpredictability of the movement of members in the cluster, this embodiment reasonably sets the radius of the bottom of the cone to 2R UAV , R UAV is the radius size of the drone, and the angle of view calculation formula is as follows. When the positions of other members are within this angle of view and farther away, they are determined to be blocked and are no longer selected as neighbors of the individual.
[0086]
[0087] The specific selection diagram is as follows Figure 5 The complete neighbor selection algorithm steps are as follows: Step 1: The members in the cluster receive the position and speed information of other members within the communication range and obtain the candidate neighbor set N of drone i i Step 2: For drone i, calculate the scores of other members according to the state distance and spatial distance: i,j ,j∈N i Step 3: Select the drone with the lowest score as the first neighbor. Step 4: Select the drone with the lowest score as the second neighbor from the drones that are not blocked by neighbors. Step 5: Repeat the process of the previous step until there are no members in the candidate neighbor set that can be selected as neighbors.
[0088] The process of view-based adaptive spatial neighbor selection is as follows Figure 6 As shown in the figure, since the neighbors' view angles cannot be blocked by each other, the number of neighbors is limited. The drones located in the core area of the cluster have members in all directions that can be selected as neighbors, so they have more neighbors. Correspondingly, the drones in the edge area have fewer neighbors, which are generally located in the direction of the core area of the cluster. The number of neighbors can be adaptively controlled according to the different positions of the drones to improve the compactness of the cluster configuration. Figure 7 This is a schematic diagram of the simulation of the fixed number of neighbors selection method. The Y-axis in the figure is the Y axis. Figure 8 It is a schematic diagram of the simulation of the view-based neighbor selection method.
[0089] Example 3
[0090] The embodiment of the present application provides another large-scale cluster distributed autonomous grouping and grouping method.
[0091] The mechanism of cluster tracking provided by this application designs the current target group and the pending target group. The individual only tracks the members of the current target group. Only when the current target group is empty (the target disappears or is eliminated), the members of the pending target group will be moved into the current target group. If the number of the current target group is greater than 1, the cluster individual makes a judgment based on the target perspective, which is similar to the neighbor observation perspective mentioned above. If the target is not blocked by any other member in the cluster, it is considered that the target has a reachable perspective for the individual, otherwise it has no reachable perspective.
[0092] Generally speaking, individuals at the periphery of the cluster have the best vision and are more likely to have a reachable view of the target. Therefore, starting from these members, select the target with a reachable view to stay in the current target group and track the target, and move the remaining targets into the pending target group. This rule is also more in line with the behavior of general bionic clusters - the movement of peripheral individuals drives the internal cluster members to move away in two directions respectively, and this movement is also more reasonable in space, and there will be no confusion such as crossing, because individuals with a reachable view are closer to the target in the group.
[0093] In addition, since the cluster distribution and the three-dimensional configuration formed are random, the number of individuals that can observe the two targets is roughly the same, thus ensuring that there is not much difference in the number of the two groups after grouping. For the individual with the best field of view, that is, the individual that can simultaneously see the two targets, the field of view size for the two targets is further calculated, that is, the maximum field of view that is not blocked by cluster members, such as Figures 9 to 12 As shown, the individual selects the target with a larger viewing angle for tracking and moves the remaining targets into the pending target group. The larger viewing angle means that the individual can move toward the target more freely in space and is in a more advantageous position to track the target.
[0094] Other cluster members that are inside the cluster and have no reachable view of all targets move all targets into the pending target group, indicating that they cannot determine their own tracking targets in the first place. Then, under the influence of the cluster neighbors (distance maintenance and speed synchronization), they move towards one of the targets. At this time, the beneficial noise of the system mentioned above will help individuals make quick decisions and keep up with the separated and distant groups. With the help of the cluster judgment algorithm, after the cluster is completed, through internal communication interaction or its own motion state at this time, it re-determines its own tracking target and moves it into the current target group. At this time, the cluster's autonomous clustering behavior when facing multiple targets ends.
[0095] The basic principle of the clustering judgment algorithm is to determine the current cluster members through individual interactive communication. If there is a change, it can be inferred that the cluster has undergone clustering or grouping behavior. The specific interaction mechanism is: the current individual sends the entity and neighbor information to the neighbor. After receiving the information, the neighbor updates the known cluster member information. If the cluster member information increases, more complete information will be sent to all neighbors. The above rules apply to all individuals. The individual traverses the locally stored cluster member information. If any known cluster member can query its neighbor information, it is considered that the cluster member information at this time already includes all members of the cluster. The next step is to calculate the number of cluster members. If the number decreases, it is determined that the cluster has completed clustering. The drone number starts from 0, and the cluster member information format is as follows:
[0096]
[0097] Among them, drone 1 has neighbor sets drones 4 and 5, and drones 4 and 5 have neighbor sets drone 1 and neighbor sets drone 1 and 2 respectively. And so on. When traversing all non-empty members, when checking drone 4, it is found that its neighbor is drone 0, but drone 0 has no neighbor record, which means that the information interaction is not sufficient at this time, and it is necessary to wait for complete member information, as follows:
[0098]
[0099] It can be seen that the cluster has a total of 5 members, namely drones 0, 1, 2, 4, and 5. Compared with the cluster member information recorded before the interaction, if the number decreases, it is judged that the current cluster has completed the grouping behavior, and the current member information is used to replace the previous record.
[0100] The fully distributed autonomous grouping and grouping mechanism when facing obstacles and targets makes the unmanned swarm more adaptable and flexible when facing environmental and task stimuli. It constantly changes its form to improve its own survival ability and task completion ability. More importantly, through the choices and actions of individual limited intelligence, the overall swarm can emerge with more intelligent behaviors.
[0101] In addition, since the spatial neighbor selection mechanism provided by the present application takes into account the differences in individual speed states, members with large speed differences will not be selected as neighbors by each other. This directly solves the problem of mutual influence (from the attraction of maintaining distance) if the members of the two groups are still regarded as neighbors after grouping.
[0102] Example 4
[0103] The embodiment of the present application provides another cluster active avoidance and safe obstacle avoidance method based on speed vector control.
[0104] Coping with dense obstacle environments is a key indicator of the reliability of drone swarms in performing complex tasks. When the sensor system obtains environmental obstacle information, the drone swarm dynamically adjusts the individual motion state while maintaining its own configuration as much as possible to achieve the purpose of fast crossing and safe obstacle avoidance. The adjustment of motion state should be based on the following two principles: First, a safe distance must be maintained from obstacles. In this embodiment, it is set to R obs,safe Although the UAV will not collide with obstacles immediately after entering this distance, the threat to flight safety increases rapidly; secondly, before the cluster members enter the safe distance, the change of the individual's established motion state caused by the obstacle avoidance speed should be limited to the minimum, thereby reducing the impact on the overall state of the cluster. This is also the biggest difference between cluster obstacle avoidance and individual obstacle avoidance. The difference between them is not just a simple quantitative difference. Cluster obstacle avoidance often causes individuals to sacrifice obstacle avoidance efficiency and abandon the optimal route.
[0105] First, consider the safe obstacle avoidance method. In order to keep the drone at a safe distance from the obstacle, when the drone enters the safe distance, it should be subjected to repulsion so that it can escape as soon as possible. This repulsion is based on the change in distance. The closer the drone is to the obstacle, the greater the threat, the stronger the repulsion, and the faster it can change the state of motion. In addition, it is not difficult to find that due to the uncertainty of the movement of cluster members in a dense environment, the safe obstacle avoidance range is a complete cylindrical area centered on the obstacle. Therefore, the direction from the obstacle to the drone is the shortest route for the drone to escape from the safe obstacle avoidance area. Based on the above ideas, the safety method is designed, and the self-attraction mutual repulsion model is referred to. The design of the safe obstacle avoidance model is as follows:
[0106]
[0107] Where v i,obs_safe represents the safe obstacle avoidance speed of drone i, K obs,safe represents the fixed gain term for safe obstacle avoidance, v i,pre represents the current speed of drone i, v cruise represents the desired cruising speed, r rep,safe represents the radius of the drone’s safe obstacle avoidance, f obs_safe (·) is the adaptive function of the safe obstacle avoidance method, and its specific form is
[0108]
[0109] It is related to the fixed gain K obs_safe Together they constitute the variable gain term of the safe obstacle avoidance method, where p i is the position coordinate of UAV i, p obs is the position coordinate of the obstacle, ||p i -p obs|| is the Euclidean distance between UAV i and the obstacle. When the UAV is close to the obstacle, ||p i -p obs In the process of || decreasing, the entire variable gain term increases rapidly, and the error term changes to obtain a repulsive force with a higher speed. rep,safe is the exclusion radius for the drone to avoid obstacles safely. Since there are obstacles of different sizes in dense environments, r rep,safe The value is
[0110] r rep,safe =R obs_safe +R obs_size
[0111] Where R obs_size is the obstacle radius, R obs_safe is the safe distance threshold between the drone and the obstacle. It can be obtained through the cluster perception method. i,safe_obs The direction of the drone's safe obstacle avoidance speed. The specific calculation method is as follows:
[0112]
[0113] The above method can achieve distance-based safe obstacle avoidance speed changes. The core idea is that the higher the threat level (the closer to the obstacle), the more radical the action taken (the greater the obstacle avoidance speed). However, there is a lack of consideration of the speed state of individual drones. Safe obstacle avoidance is essentially using a speed vector in the opposite direction to correct the speed vector that would originally collide with the obstacle. Therefore, when the drone's cruising speed increases, in order to obtain a similar obstacle avoidance effect, it is often necessary to adjust the parameters of the safe obstacle avoidance model. However, if the speed increases when approaching the obstacle due to the influence of other members of the cluster, fixed model parameters may cause unexpected collisions. Therefore, the speed state v of drone i at the current moment is added to the obstacle avoidance model. i,pre :
[0114]
[0115] Where v i,obs_safe represents the safe obstacle avoidance speed of drone i, K obs,safe represents the fixed gain term for safe obstacle avoidance, f obs_safe (·) is the adaptive function of the safe obstacle avoidance method, p i is the position coordinate of UAV i, p obs is the position coordinate of the obstacle, ||p i -p obs || is the Euclidean distance between UAV i and the obstacle, r rep,safe is the exclusion radius for the drone to avoid obstacles safely, D i,safe_obsThe direction of the safe obstacle avoidance speed of the drone. The faster the drone approaches the obstacle, the greater the output of the variable gain term, thereby adaptively increasing the safe obstacle avoidance speed to ensure that the control speed direction of the drone can be corrected to a safe area.
[0116] Relying on the safe obstacle avoidance method can ensure that the drone cluster will not collide with obstacles when crossing dense environments. However, since the direction of the safe obstacle avoidance speed is opposite to the direction of the drone's movement, it actually slows down the drone, and the cluster's crossing speed will be greatly reduced, affecting the execution efficiency of the cluster task. In order to solve this problem, an active avoidance mechanism is designed. Its core idea is to use the long-range perception ability of the drone to adjust the movement state in advance to avoid obstacles on the established route. Since it can enter the safe obstacle avoidance area less frequently, the speed loss of the cluster crossing is reduced.
[0117] Specifically, enter the active avoidance radius R obs,act After that, when the current speed of the drone points to the safe obstacle avoidance column area of the fixed obstacle, it is judged that the drone will be decelerated by the safe obstacle avoidance effect if it continues to fly in the current motion state. In order to actively avoid the obstacle, the drone should move to both sides of the obstacle until it leaves the safe obstacle avoidance area. The speed direction of active avoidance is the tangent direction of the circle with the obstacle as the center and the current position of the drone. Specifically, the direction vector of the drone pointing to the obstacle is rotated 90 degrees to the cluster cruising direction, such as Fig.13 As shown in the figure, since the active avoidance speed cannot decompose into a speed component in the opposite direction of the cruising speed, it is possible to stay away from the active avoidance and safe obstacle avoidance ranges without slowing down the cluster cruising speed.
[0118] It should be noted that the purpose of active avoidance is to avoid the obstacle safety area on the original route. However, in view of the second cluster obstacle avoidance principle proposed in this section, the size of the active avoidance speed is limited. Its value can only correct the speed direction of the drone to point to the tangent direction of the obstacle avoidance circle. This is the minimum speed change to ensure the safe flight of the drone. In order to calculate the size of the active avoidance speed, the first step is to calculate the influence of the neighboring drones' distance maintenance, speed synchronization, and cluster cruise instructions through the viewpoint generation model, and obtain the drone's current speed control instruction v i,opin , pay attention to its east and north coordinates v i_opin,x 、v i_opin,y The second step is to calculate the active avoidance direction vector w based on the relative position of the drone and the obstacle. act and the direction vector u of the desired velocity desire , respectively w act =(w act,x ,w act,y )、u desire =(u desire,x,u desire,y ), the specific calculation process is as follows:
[0119]
[0120]
[0121]
[0122] in, is the first rotation matrix, θ act ,θ desire are the rotation angles of active avoidance and desired speed, respectively, p i is the position coordinate of UAV i, p obs is the position coordinate of the obstacle, r rep,safe The exclusion radius for the drone to safely avoid obstacles.
[0123] In the above formula, the obstacle is considered to be in the left front of the UAV body coordinate system, that is, the active avoidance speed requires the direction vector of the UAV pointing to the obstacle to be rotated 90 degrees clockwise. When the obstacle is in the right front of the UAV body coordinate system, the second rotation matrix is:
[0124]
[0125] Finally, calculate the UAV's active avoidance speed ||v i,obs_act ||:
[0126]
[0127] v i_opin,x ,v i_opin,y is the projection value of the current speed control command of the drone in the x and y directions, w act,x ,w act,y is the projection value of the active avoidance direction vector in the x and y directions, u desire,x ,u desire,y It is the projection value of the direction vector of the desired velocity in the x and y directions.
[0128] In order to increase the crossing speed, active avoidance uses the sensor system to give an early warning and correct the control speed of the drone to the tangent direction of the outer periphery of the safe obstacle avoidance area, thereby reducing the speed loss of the drone due to entering the safe obstacle avoidance area, and at the same time, the impact on the cluster configuration is small. It should be noted that the active avoidance method intervenes in the motion state of the drone on the plane and does not involve the celestial speed. In addition, the influence range of the active avoidance method exists in the circular area from the active avoidance radius to the safe obstacle avoidance radius. Finally, if the active avoidance speed and the safe obstacle avoidance speed exist, they will participate in the process of opinion generation as one of the individual opinions. So far, through the active avoidance and safe obstacle avoidance mechanisms, the ability of the cluster to cope with complex and dense environments has been greatly improved. The former optimizes the path in advance, and the latter provides the ability to emergency brake when necessary. More importantly, the active avoidance and safe obstacle avoidance methods take into account the speed state and obstacle information of the drone itself when designing, and add them to the obstacle avoidance speed calculation method. Therefore, for drone clusters with different cruising speeds, obstacle environments of different scales have strong robustness.
[0129] Example 5
[0130] The embodiment of the present application provides another method for generating cluster opinions based on opinion influence and individual independence.
[0131] From the perspective of opinion dynamics, the formation of social consensus requires social members to widely exchange opinions, individuals to selectively accept the opinions spread by others, and re-output their own opinions. In the cycle of opinion generation-interaction-collision-regeneration-re-interaction, collective opinions are generated. This is very similar to the process of cluster synchronization, so this embodiment introduces opinion dynamics into the cluster model, and regards cluster members as individuals in human society. The information they receive includes two parts: navigation perception information from their own sensor system and neighbor status information from the cluster communication system.
[0132] First, by combining these two aspects of information, cluster members can use the self-attraction and mutual repulsion model to derive their total self-attraction and mutual repulsion speed, which allows individuals to maintain a desired distance from their neighbors. This part of the speed is called the individual's autonomous view. The neighbor's view is the speed information of the neighbor. In order to achieve the consistency of the cluster speed state (that is, to achieve the formation of social consensus), an opinion generation model is established.
[0133]
[0134] In the formula, v i,int is the final opinion generated by individual i, that is, the final speed control instruction, v i,ar is the autonomous view of individual i, which comes from the self-attraction and mutual repulsion model, N i is the neighbor set, ||N i|| is the number of neighbors in the neighbor set, v j is the speed information of neighbor j, and α (0<α<1) represents the strength of the individual's belief in his or her own opinion. When α=1, the individual completely ignores the speed opinions of other members and takes his or her own opinion as the final generated opinion. In the field of opinion dynamics, such individuals are called stubborn individuals. When α=0, the individual completely believes in the opinions of his or her neighbors and is consistent with them. He or she is called a conformist individual. Generally speaking, individuals in a cluster must keep a distance from their neighbors, form a configuration and avoid internal collisions, and also consider the speed status of their neighbors to achieve speed synchronization and improve consistency, so the strength of belief is 0<α<1.
[0135] This embodiment provides a viewpoint synthesis model, which describes how people in society draw their own conclusions under the influence of multiple viewpoints, and can simulate the propagation, collision and final formation of social consensus of different viewpoints. In the field of unmanned clusters, the outward propagation of views is the individual's state of motion, that is, the speed. If a consensus can be reached, it means that the cluster has achieved speed consistency (speed synchronization). In the basic model, the views of different neighbors are considered to have the same influence (or weight), and individuals are equally affected by these views. In mathematical form, the mean is taken as the common viewpoint feedback of all neighbors.
[0136] However, this treatment can neither truly reflect the influence process of various opinions and judgments in society, nor can it make unmanned swarms show strong flexibility and adaptability when facing environmental and task stimuli. Often, due to mathematical averaging, the swarm behavior is too "mediocre", that is, slow movement. Considering that individuals in real society have different degrees of acceptance of opinions from different objects, that is, there are members with different influences in society, such as experts, scholars, experienced personnel, etc. These objects can often influence the conclusions and opinions ultimately generated by individuals to a greater extent, and then affect the development direction of the entire social consensus. This is the basic law of the formation of social consensus. It is precisely because of these objects with greater influence that a view can be quickly promoted in social groups, and through extensive thinking and discussion, consensus can be reached, which promotes society to have stronger adjustment and adaptability when facing emergencies.
[0137] It is worth noting that the consensus active cluster model designed in this embodiment is a fully distributed unmanned cluster without a leader or central control node. Each individual has an equal status in the cluster and executes the same cluster strategy. Therefore, it is unreasonable to set up "expert" members in the cluster, which will greatly reduce the cluster's anti-interference ability, because the unexpected absence of "expert" members often causes other members of the cluster to be forced to terminate tasks or their efficiency to deteriorate due to the lack of accurate cluster instructions.
[0138] In order to avoid the existence of "expert" members and better simulate the formation of social consensus, this embodiment designs an adaptive and variable opinion influence mechanism, which allows different members to have different influence on the opinions of individuals. However, this higher or lower influence ability depends on the individual's movement state rather than the individual's identity. In other words, any cluster member can assume such a role, and the realization of the cluster task will not fail due to the absence of any individual. The opinion influence mechanism is applied equally to all individuals.
[0139] Specifically, consider a common cluster movement behavior - sharp turn. For individuals, this drastic change in movement state generally comes from environmental or task stimulation, such as a new control command from a remote ground command center to the cluster, requiring the cluster to quickly change its direction of movement, or to observe targets or obstacles and need to maneuver quickly. At this time, this embodiment excludes the situation where all members in the cluster can receive the control command or obstacle and target information from the command center, and strives to make the cluster model able to solve the most complex and difficult application scenarios. Due to the long distance and the difficulty in ensuring communication conditions, the command center is unlikely to establish contact with all cluster members. In addition, due to different observation fields, it is often the peripheral members who first discover the target or obstacle and take the next step.
[0140] The experiment found that if individuals deal with the speed opinions of all their neighbors by taking the numerical average, then when only a few individuals respond correctly to external stimuli, their influence will be overwritten by the original motion state of most members, and they will not be able to guide the cluster to make maneuvers such as sharp turns. Their own movement will also be unsustainable due to the weakening of neighbor spacing and speed synchronization.
[0141] Therefore, in order to make the influence of individuals on other members' opinions change adaptively, the overall movement of the cluster can still be driven when the environment and tasks stimulate a few members. The improved opinion generation model is as follows
[0142]
[0143] Among them, v i,opin is the current speed control instruction of the drone, α opin (0<α opin <1) is the strength of the individual's belief in the autonomous view, v i,aamr is the speed control value calculated by the individual through self-attraction and mutual repulsion, v ref,j is defined as the expected speed vector of neighbor j, which is determined by the control command received by the individual from the command center or the expected speed of target tracking (these two do not work at the same time), v pre,jDefined as the current velocity vector of neighbor j. It is not difficult to find from the formula that when a neighbor has a higher priority task requirement that is not met (no control instructions are executed or the target is tracked), its influence on the individual will increase, and the individual will be closer to the speed view of the member when generating its own speed view, thereby achieving speed synchronization with it, until the neighbor's motion state meets the task requirements, and the influence will be consistent with that of an ordinary neighbor. Through this processing, any neighbor can increase its influence when needed, driving the cluster to respond quickly even when information perception is incomplete, without losing the advantage of strong robustness of distributed clusters. The impact of adaptive variable view influence on the cluster is as follows: Fig.14 shown.
[0144] Further considering the situation where the communication within the cluster is limited, members observe the speed and position of their neighbors in real time through the sensor system. At this time, it is impossible to determine whether the neighbors have obtained the control instructions from the command center or the information about neighbors and obstacles. They can only perceive the changes in the speed status of their neighbors. Therefore, the opinion generation model is modified as follows:
[0145]
[0146] Among them, v i,opin is the current speed control instruction of the drone, α opin (0<α opin <1) is the strength of the individual's belief in the autonomous view, v i,aamr is the speed control value calculated by the individual through self-attraction and mutual repulsion, v last,j Defined as the velocity vector of neighbor j at the last moment, v pre,j Defined as the current velocity vector of neighbor j. For the fully distributed cluster model proposed in this embodiment, individuals have no subordinate relationship with each other and are completely independent. After designing an adaptive variable mechanism for the influence of individual opinions on other members, it is necessary to further consider the degree of acceptance of other opinions by individuals, which is called individual independence. In the basic model in the previous section, the variable α opin Used to describe the strength of an individual's belief in his or her own opinion, α opin The larger the value, the more firmly the individual believes in his own opinion, and the less influenced by the opinions of neighbors, that is, the more independent he is. However, all individuals have the same belief strength in their own opinions at all times, which makes the cluster less flexible and takes longer to reach a consensus. Moreover, since individuals are still always influenced by the opinions of neighbors, when the cluster is in an environment where it is difficult to maintain a consistent state and it is not necessary to maintain it, the disordered opinions of neighbors are an obstacle to the safe flight of individuals. Therefore, it is necessary to adaptively change the independence of cluster individuals to improve the performance of the cluster.
[0147] Next, we will discuss the theoretical basis of the opinion generation model. In real society, the degree to which individuals accept other people's opinions is obviously different, and can be roughly divided into three categories. The first type is people with high independence. They have their own knowledge accumulation and thinking process, and thus draw their own conclusions. They are very skeptical of other people's opinions and are less influenced by others, but they will slow down the formation of social consensus; the second type is people who are used to following the crowd. They lack the ability and habit of thinking, accept other people's opinions completely, and go with the flow. They can accelerate the formation of social consensus, but because they trust other people's opinions too much, they do not protect their own interests enough; the third type is people with a certain degree of independence. They will not only insist on their own interests and independent thinking, but also modify their own opinions according to the conclusions of others. The existence of this type of individuals prevents social consensus from being highly unified, but tends to be consistent with conflicts and twists and turns, and retains individual thinking and interests while forming social consensus. In general, the existence of the third type of individuals is the key to avoiding excessive polarization and confusion of social consensus. Similarly, in the unmanned swarm model, individuals need to have the characteristics of the third type of individuals, but how to adapt individual independence to tasks and environment is a difficult problem. The expectations for individual independence are different in different environments and task contexts. A cluster whose individual independence can adapt to changes obviously has better environmental and task adaptability.
[0148] Consider when a cluster enters a dense obstacle area. Since the obstacle threats and positions faced by cluster members are different, their speed states will show huge differences. At this time, if the speed is corrected by referring to the neighbor's views (that is, speed), it will affect the obstacle avoidance efficiency and even safe flight. Therefore, in this environment, individuals are expected to have high independence. Individuals are more concerned about their own interests, that is, the requirements of safe flight and distance maintenance. Neighbors' views are not reliable and effective enough to refer to. On the other hand, considering that the cluster needs to turn quickly, which often occurs when there are environmental and task stimuli, if it only relies on the traction brought by the distance maintenance between neighbors, its effect is lagging and slow. Only speed synchronization can achieve this function efficiently. This requires individuals to be less independent and trust the views of neighbors more, so as to quickly change their own speed state and achieve consistency with neighbors.
[0149] Therefore, starting from the speed state of the neighbors, an individual independence adaptive variable mechanism is designed, and the variable S i Represents the mean square error of the neighbor states of individual i
[0150]
[0151] N i is the neighbor set, ||N i || is the number of neighbors in the neighbor set, v jis the speed information of neighbor j, represents the mean speed state of the neighbors of individual i, and the mean square error is used to describe the consistency of the neighbors' states. The strength of the individual's belief in his own opinion is α opin Modify to the following form
[0152]
[0153] S i represents the mean square error of the neighbor states of individual i, α opin,i is the strength of drone i’s belief in its own opinion. The improved opinion generation model is as follows:
[0154]
[0155] Among them, v i,opin is the current speed control instruction of the UAV, S i represents the mean square error of the neighbor states of individual i, v i,aamr is the speed control value calculated by the individual through self-attraction and mutual repulsion, v ref,j is defined as the expected speed vector of neighbor j, which is determined by the control command received by the individual from the command center or the expected speed of target tracking (these two do not work at the same time), v pre,j Defined as the current velocity vector of neighbor j. The improved formula links the independence of individuals with the consistency of neighbor states. Since the change trend of the inverse tangent function y=arctan(x) when the variable is greater than 0 conforms to the relationship between the independence of individuals and the consistency of neighbor states designed in this embodiment, by narrowing the function range to 1, it can adaptively reflect the strength of the individual's belief in his own opinion. When the difference in neighbor states is very large, the neighbor may have entered a dense obstacle area or is in the initial stage of clustering. opin The value of will be close to 1, at this time, individuals consider their own point of view more, that is, the self-attraction and mutual repulsion point of view, so that the cluster can quickly form a three-dimensional configuration and maintain a safe distance from each other. On the contrary, when the neighbor states are close to the same, α opin The value of will be close to 0, and individuals will choose to consider the opinions of their neighbors more, so that their own speed state is consistent with that of their neighbors, which is conducive to the realization of cluster consistency and improves the ability of clusters to quickly turn to respond to environmental and task stimuli.
[0156] The adaptive variable individual independence mechanism improves the consensus active cluster model from the perspective of individual receiving and processing opinions, so that the individuals in clusters under different task scenarios have different characteristics, which in turn affects the performance of cluster consistency. When pursuing configuration, individual independence is high and is less affected by the speed state of neighbors. When pursuing consistency, individual independence is low and it is faster to achieve consistency with the speed state of neighbors.
[0157] Example 6
[0158] An embodiment of the present application provides a large-scale cluster neighbor selection device based on perceptual perspective space segmentation, including: a determination module, configured to receive position and speed information of other cluster members within a communication range from a first cluster member in a cluster, and determine a candidate neighbor set of the first cluster member based on the position and speed information; a score calculation module, configured to calculate a state distance and a spatial distance between the first cluster member and each neighbor member in the candidate neighbor set, and calculate a score for each neighbor member based on the state distance and the spatial distance; and a selection module, configured to select neighbors of the first cluster member from the candidate neighbor set based on the score and the perspective of the first cluster member.
[0159] An embodiment of the present application also provides a large-scale cluster distributed autonomous grouping and grouping device, which is arranged on the first cluster member in the cluster, and the device includes: a target determination module, configured to add the new target to the current target group when the first cluster member in the cluster discovers a new target during cluster cruising; a perspective calculation module, configured to perform target perspective calculation on the first cluster member when the number of the current target group is greater than 1; a grouping module, configured to filter the targets in the current target group according to the results of the target perspective calculation, and use the filtered targets in the current target group as tracking targets to autonomously group the unmanned cluster.
[0160] An embodiment of the present application also provides a cluster active avoidance and safe obstacle avoidance device based on speed vector control, including: an acquisition module, configured to acquire the speed state of the first cluster member when an obstacle is detected and it is determined that the first cluster member in the cluster should avoid the obstacle; a speed determination module, configured to determine the safe obstacle avoidance speed and the active obstacle avoidance speed of the first cluster member based on the speed state; an obstacle avoidance module, configured to avoid the obstacle based on the safe obstacle avoidance speed and the active obstacle avoidance speed.
[0161] An embodiment of the present application also provides a cluster opinion generation device based on opinion influence and individual independence, including: an acquisition module, configured to acquire navigation perception information from its own sensing system and neighbor status information from neighbor members in the cluster through a first cluster member, and process the navigation perception information and the neighbor status information; a generation module, configured to generate its own opinion based on the current environment and / or task requirements, using the processed navigation perception information and the neighbor status information.
[0162] It should be noted that: the various devices provided in the above embodiments are only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the various devices provided in the above embodiments belong to the same concept as the corresponding method embodiments, and their specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0163] Example 7
[0164] Fig.15 FIG. 1 shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present disclosure. It should be noted that: Fig.15 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0165] like Fig.15 As shown, the electronic device includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0166] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0167] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, various functions defined in the method and apparatus of the present application are executed. In some embodiments, the electronic device may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0168] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0169] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0170] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0171] As another aspect, the present application further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device.
[0172] The computer-readable medium carries one or more programs, and when the one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiments. For example, the electronic device can implement each step of the method embodiment.
[0173] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0174] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0175] In the several embodiments provided in the present application, it should be understood that the disclosed terminal device can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0177] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0178] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A large-scale cluster distributed autonomous grouping and grouping method, characterized in that: include: When a first cluster member in the cluster discovers a new target during cluster patrol, the first cluster member adds the new target to the current target group; When the number of the current target groups is greater than 1, the first cluster member performs target perspective calculation; According to the result of the target perspective calculation, the targets in the current target group are screened, and the screened targets in the current target group are used as tracking targets to achieve autonomous grouping of the cluster.
2. The method according to claim 1, characterized in that: Filtering the targets in the current target group according to the target perspective calculation result includes: selecting targets with reachable perspectives in the current target group to remain in the current target group and moving other targets into a pending target group according to the target perspective calculation result.
3. The method according to claim 2, characterized in that According to the result of the target perspective calculation, selecting a target with a reachable perspective in the current target group to remain in the current target group, and moving other targets into the pending target group, including: When the result of the target perspective calculation is that there is no reachable perspective for each target in the current target group, each target is moved into a pending target group; When the result of the target perspective calculation is that only one target in the current target group has a reachable perspective, the target with the reachable perspective is kept in the current target group, and the other targets are moved into the pending target group; When the result of the target perspective calculation is that at least two targets in the current target group have a reachable perspective, the target with the largest reachable perspective is kept in the current target group, and the other targets are moved into the pending target group.
4. The method according to claim 3, characterized in that The reachable viewing angle is the viewing angle when the current target is not blocked by neighbor members in the cluster, wherein whether it is blocked by neighbor members in the cluster is determined by: modeling the observation field of the first cluster member to the neighbor members in the cluster as a conical three-dimensional space area; based on the conical three-dimensional space area, determining whether the first cluster member is blocked by neighbor members in the cluster.
5. The method according to claim 3, characterized in that: After moving each of the targets into the pending target group, the method further includes: The first cluster member maintains a distance and synchronizes speed with the cluster neighbors in the cluster, moves in the target direction tracked by the cluster neighbors, so as to perform natural grouping, and repeats this step when it is determined that the natural grouping has not been completed.
6. The method according to claim 5, characterized in that After the natural grouping is completed, the method further includes: the first cluster member redetermines the tracking target through the communication interaction within the cluster or its own motion state, and moves the redetermined tracking target into the current target group.
7. The method according to claim 5, characterized in that Determining that the natural grouping has not ended includes: The first cluster member sends local cluster member information to neighbor members in the cluster, receives cluster member information sent by the neighbor members, and updates the local cluster member information based on the received cluster member information; The first cluster member traverses the local cluster member information. If the neighbor information of any known cluster member can be queried, it is considered that the local cluster member information has included all members in the cluster. Then, the number of members in the cluster is calculated. If the number of members decreases, it is determined that the cluster has completed natural clustering. Otherwise, it is determined that the natural clustering has not ended.
8. A large-scale cluster distributed autonomous grouping and grouping device, characterized in that: The device is provided on a first cluster member in the cluster, and comprises: a target determination module, configured to add a new target to a current target group when a first cluster member in the cluster discovers a new target during cluster cruising; A perspective calculation module, configured to, when the number of the current target groups is greater than 1, have the first cluster member perform target perspective calculation; The clustering module is configured to filter the targets in the current target group according to the result of the target perspective calculation, and use the filtered targets in the current target group as tracking targets to autonomously cluster the unmanned cluster.
9. An electronic device, characterized in that: include: a memory configured to store a computer program; The processor is configured to make the computer execute the method according to any one of claims 1 to 7 when the program is executed.
10. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed, the computer is caused to execute the method according to any one of claims 1 to 7.
