Obstacle avoidance control method for multi-agent system formation based on adaptive artificial potential field method
By introducing the adaptive artificial potential field method into the multi-agent system, improving the gravitational and repulsive gain coefficients, and calculating the formation expansion factor, the problems of excessive gravity and path redundancy at the initial position of the agent in the traditional method are solved, and the agent is realized Efficient obstacle avoidance and adaptability in complex environments.
Patent Information
- Application Number
- CN202410556092.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-07
AI Technical Summary
In the formation obstacle avoidance of multi-agent systems, the traditional artificial potential field method has the problem that the initial position of the agent is too large, the attraction and repulsion gain coefficients are limited by empirical values, and the motion curve is prone to path redundancy.
Using the adaptive artificial potential field method, by establishing a repulsive potential field around obstacles, improving the gravitational and repulsive gain coefficients and introducing distance factors, the formation expansion factor is calculated to determine the movement direction and path of the agent to ensure that the agent can effectively Avoid obstacles and quickly switch to the initial formation.
It enables the agent to efficiently avoid obstacles in complex environments, avoid path redundancy, ensure that the agent does not collide with obstacles, and evaluate its adaptability in the environment through the efficiency function.
Smart Images

Figure CN118331280B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of multi-agent control, and in particular to a multi-agent system formation obstacle avoidance control method based on an adaptive artificial potential field method. Background Art
[0002] With the development of artificial intelligence, multi-agent systems have gradually become one of the most widely researched areas of robotics. Compared with single agents, multi-agents are more efficient and flexible and can adapt to complex operating environments. In the formation and obstacle avoidance environment, choosing the appropriate formation control method and obstacle avoidance algorithm is a key issue for multi-agent systems. It is also a hot topic of research for scholars at home and abroad at this stage.
[0003] At present, a lot of research has been carried out in the field of formation obstacle avoidance algorithms for multi-agent systems at home and abroad. The main methods are as follows: planning algorithms based on potential fields, planning algorithms based on search, planning algorithms based on sampling, and planning algorithms based on artificial intelligence. Among them, the motion planning algorithm based on potential fields guides the algorithm to search for feasible paths by constructing potential field functions, and the agent only needs to search for obstacles locally to complete formation obstacle avoidance. The artificial potential field method has high robustness and the planned path is safe and reliable. However, the traditional artificial potential field method has problems such as the excessive gravity of the agent at the initial position, the limitation of taking empirical values of the attraction and repulsion gain coefficients, and the easy path redundancy of the planned motion curve. Summary of the invention
[0004] In view of the shortcomings of the prior art, the present invention proposes a multi-agent formation obstacle avoidance method based on an adaptive artificial potential field method. The agent can be a drone, a ship, a car, a robot, etc. As a control method, it can be extended to multiple engineering applications, such as in a multi-agent collaborative pursuit task in a complex motion environment, requiring the monomer to effectively avoid dangerous obstacles while efficiently completing the encirclement task; such as in an unmanned warehouse or freight terminal, a robot or smart car automatic handling system, etc. Through this method, the triangular formation of the pilot-follower method is determined, a gravitational field is established at the target point and a potential field is established around the obstacle, the gravitational and repulsive gain coefficients are improved and a distance factor is introduced, the formation expansion factor is calculated to determine the formation through the obstacle area, and the multi-agent makes a gain coefficient adjustment according to the complex environment to avoid obstacles smoothly. When all the agents pass through the obstacle area, they quickly switch to the initial formation and continue to run to the target point. And the efficiency function is used to evaluate and verify the adaptability of the multi-agent formation in the obstacle avoidance process.
[0005] The specific technical solution of the present invention is to provide a multi-agent system formation obstacle avoidance control method based on an adaptive artificial potential field method.
[0006] Step 1, establish the initial position triangle formation;
[0007] Step 2: The target point establishes a gravitational potential field function. The gravitational force of the target point on the navigator is proportional to the distance between them. The gravitational force is obtained by the negative gradient of the gravitational potential field function. A repulsive potential field function is established around each obstacle. The repulsive force is obtained by the negative gradient of the repulsive potential field function. The combined force of the gravitational force and the repulsive force is calculated to determine the direction of movement of the navigator.
[0008] Step 3: Based on the direction of the resultant force calculated in step 2, the navigator plans a reasonable motion curve to avoid obstacles and successfully reach the target point. The multi-agent triangular formation enters the obstacle area, calculates the formation expansion factor and adopts a reasonable formation to pass smoothly.
[0009] Step 4: Based on the formation obtained in step 3, each intelligent agent uses the adaptive artificial potential field method to perform real-time obstacle avoidance. After all intelligent agents in the formation pass the obstacle, they restore the initial formation according to the current environment and reach the target point.
[0010] Step 5: Use the Monte Carlo method to conduct multiple experiments and record the running time of the agent from the initial point to the target point and the number of path iterations, and design an efficiency function to evaluate the adaptability of the agent in the environment.
[0011] Furthermore, step 1 is as follows:
[0012] In view of the complexity of the random obstacle environment, a pilot-follower formation method with simple control and wide application is adopted. In order to express the relationship between the agents in the triangle formation, the pilot-follower position model formula of the six-agent triangle formation is as follows:
[0013]
[0014] The six agents are named a, b, c, d, e, and f according to their positions. a ,y a ), (x b ,y b ), (x c ,y c ), (x d ,y d ), (x e ,y e ), (x f ,y f ) is the coordinate position of the agent. a is the navigator, where abd and acf are the lengths of the two sides of the triangle, and def is the length of the base. l is the distance between ab, bd, ac, and cf. is the motion direction angle, and α is the built-in angle of the triangle.
[0015] Furthermore, step 2 is as follows:
[0016] A gravitational potential field is formed around the target point, and its function formula is:
[0017]
[0018] Among them, k att is the gravitational gain coefficient, q and q g Represent the positions of the agent and the target point respectively, ρ g is a vector that represents the Euclidean distance between the agent and the target point. The direction of the vector is from the agent to the target point. In the gravitational potential field, the gravitational force F on the qth agent is att (q) can be expressed by the negative gradient of its gravitational field function:
[0019]
[0020] The repulsive potential field function U of the qth agent rep (q) as follows:
[0021]
[0022] Among them, k rep is the repulsion gain coefficient, ρ(q,q o ) is the distance between the agent and the obstacle, and ρ0 is the distance at which the obstacle has an impact.
[0023] Similarly, the repulsive force can be obtained by the negative gradient of the repulsive potential field function
[0024]
[0025] The combined force of gravity and repulsion on the agent is
[0026]
[0027] Furthermore, step 3 is as follows:
[0028] In the process of multi-agent formation, the parameter related to keeping the formation unchanged and only changing the proportion of the formation is called the scaling factor, which is usually represented by the symbol ρ and the calculation formula is as follows:
[0029]
[0030] ρ≥ρ m , ρ m It represents the minimum value of the expansion factor of the complementary collision of each intelligent agent during the formation process. D represents the overall width of the multi-intelligent formation, D max It is the maximum width of the multi-agent formation after transformation when passing through the obstacle area.
[0031] Furthermore, step 4 is as follows:
[0032] The improved formula of the adaptive artificial potential field method is as follows:
[0033]
[0034] Among them, ρ(q,q o ) is the distance between the agent and the obstacle.
[0035]
[0036]
[0037] where k rep ′ is the adaptive repulsion gain coefficient, and its expression is ρ a is the new distance influence factor, its value is half of ρ0, m and n are the distance influence coefficients.
[0038] Furthermore, step 5 is as follows:
[0039] Different obstacle scenarios will have different effects on the formation structure, where the environmental fitness function can describe the adaptability of multiple agents to the current environmental constraints after heterogeneous transformation. Its expression is:
[0040] f envfit =I fdd +I ecr +I fect
[0041] where f envfit is the fitness function, I fdd is the formation distortion, I ecr is the energy consumption ratio, I fect is the formation change convergence time ratio.
[0042] The efficiency function used in the present invention to evaluate adaptability is as follows:
[0043] f envfit =I iter +I time
[0044] Among them I iter is the standard deviation of the number of iterations, I time is the time standard deviation. The smaller the sum of the two is, the stronger the adaptability of formation obstacle avoidance in random environments is.
[0045] Compared with the prior art, the advantages of the present invention are:
[0046] The present invention adopts the initial position formation of the leader-follower triangle formation. When the multi-agent formation passes through the obstacle area, the expansion factor is calculated to change the formation to pass through the obstacle. The gain coefficients of gravity and repulsion in the traditional artificial potential field method are improved, and the distance factor is added to the repulsion to improve the problem of excessive gravity in the initial position of the agent. The gain coefficient is corrected in real time as the movement environment of the agent changes, ensuring that each agent plans a smooth motion curve without colliding with obstacles. The multi-agent system quickly switches to the initial formation through the obstacle area and reaches the target point. Construct an efficiency function to evaluate the adaptability of the multi-agent system to the environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is an operation flow chart of the multi-agent system formation obstacle avoidance control method based on the adaptive artificial potential field method according to the invention;
[0048] Figure 2 The overall layout and motion curve of the multi-agent formation obstacle avoidance based on the adaptive artificial potential field method according to the first embodiment;
[0049] Figure 3 is the running time required for the multi-agent navigator according to Embodiment 1 to move from the initial position to the target point;
[0050] Figure 4 It is the number of path iterations of the multi-agent navigator moving from the initial position to the target point according to the first embodiment.
[0051] Figure 5 It is a schematic diagram of the navigation and following position model of a multi-agent leader and six-agent triangle formation according to Embodiment 1. DETAILED DESCRIPTION
[0052] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0054] like Figure 1 As shown, this embodiment provides a multi-agent system formation obstacle avoidance control method based on an adaptive artificial potential field method, the method comprising:
[0055] Step 1: Determine the initial point and use the leader-follower method to determine the leader among the six agents. The rest are followers and a triangle formation is adopted.
[0056] In this step, in view of the complexity of the random obstacle environment, a pilot-follower formation method with simple control and wide application is adopted. In order to express the relationship between the agents in the triangle formation, the pilot-follower position model formula of the six-agent triangle formation is as follows:
[0057]
[0058] The six agents are named a, b, c, d, e, and f according to their positions. a ,y a ), (x b ,y b ), (x c ,y c ), (x d ,y d ), (x e ,y e ), (x f ,y f ) is the coordinate position of the agent. a is the navigator, where abd and acf are the lengths of the two sides of the triangle, and def is the length of the base. l is the distance between ab, bd, ac, and cf. is the motion direction angle, and α is the built-in angle of the triangle. Figure 5 .
[0059] Step 2: A gravitational potential field function is established at the target point. The gravitational force of the target position on the navigator is proportional to the distance between the two. The gravitational force is obtained by the negative gradient of the gravitational potential field function. A repulsive potential field function is established around each obstacle. The repulsive force is obtained by the negative gradient of the repulsive potential field function. The combined force of the gravitational force and the repulsive force is calculated to determine the direction of movement of the navigator.
[0060] In step 2, a gravitational potential field is formed around the target point, and its function formula is:
[0061]
[0062] Among them, k att is the gravitational gain coefficient, q and q g Represent the positions of the agent and the target point respectively, ρ g is a vector that represents the Euclidean distance between the agent and the target point. The direction of the vector is from the agent to the target point. In the gravitational potential field, the gravitational force F on the qth agent is att (q) can be expressed by the negative gradient of its gravitational field function:
[0063]
[0064] The repulsive potential field function U of the qth agentrep (q) as follows:
[0065]
[0066] Among them, k rep is the repulsion gain coefficient, ρ(q,q o ) is the distance between the agent and the obstacle, and ρ0 is the distance at which the obstacle has an impact.
[0067] Similarly, the repulsive force can be obtained by the negative gradient of the repulsive potential field function
[0068]
[0069] The combined force of gravity and repulsion on the agent is
[0070]
[0071] Step 3: Based on the direction of the resultant force calculated in step 2, the navigator plans a reasonable motion curve to avoid obstacles and successfully reach the target point. The multi-agent triangular formation enters the obstacle area, calculates the formation expansion factor and adopts a reasonable formation to pass smoothly.
[0072] In step 3, the parameter that keeps the formation unchanged and only changes the proportion of the formation during the multi-agent formation process is called the scaling factor, which is usually represented by the symbol ρ and the calculation formula is as follows:
[0073]
[0074] ρ≥ρ m , ρ m It represents the minimum value of the expansion factor of the complementary collision of each intelligent agent during the formation process. D represents the overall width of the multi-intelligent formation, D max It is the maximum width of the multi-agent formation after transformation when passing through the obstacle area.
[0075] The leading agent avoids obstacles through the artificial potential field method during the movement and plans the optimal path for the formation. When the optimal path is between two obstacles, the expansion factor can be calculated to determine the three transformation modes of the formation. The commonly used σ∈{σ i |0,1,2}.
[0076] When σ=0, the multi-agents are in a non-formation transformation mode. If ρ≥1, then D max ≥D, when the formation passes through the middle of an obstacle, it does not change the original formation structure and passes stably. This mode is the optimal obstacle avoidance strategy for multi-agent formations.
[0077] When σ=1, the multi-agents are in isomorphic transformation mode. If ρ<1 and ρ≥ρ m, indicating that the multi-agent formation cannot maintain the original formation to pass the obstacle. In the σ=1 mode, the original formation structure is retained and only the formation size is changed. This mode is a suboptimal obstacle avoidance strategy for multi-agent formation.
[0078] When σ=2, the multi-agents present a heterogeneous transformation mode, ρ<ρ m In this mode, the obstacle can only be passed after the original formation structure is destroyed. After the leader successfully passes the obstacle by combining the artificial potential field method, the command will be sent to all followers separately, and the original formation structure will be restored after all of them have passed.
[0079] Since the obstacles are arranged densely, the formation expansion factor is calculated as σ=2, that is, a heterogeneous transformation formation is adopted for passing.
[0080] Step 4: Based on the formation obtained in step 3, each agent performs real-time obstacle avoidance using the adaptive artificial potential field method. After all agents in the formation pass through the obstacle, the initial formation is restored according to the current environment to reach the target point. The adaptive artificial potential field algorithm has two parts: the gravitational force generated on the target point and the repulsive force generated on the obstacle.
[0081] In step 4, the gravity formula of the adaptive artificial potential field method is as follows:
[0082]
[0083] Among them, k att ′ is the adaptive gravity gain coefficient, ρ(q,q o ) is the distance between the agent and the obstacle. g is the distance between the agent and the target point.
[0084] The repulsive force formula is as follows:
[0085]
[0086]
[0087] where k rep ′ is the adaptive repulsion gain coefficient, and its expression is: ρ a is the new distance influence factor, whose value is half of ρ0, F reo 1a 、F reo 2a When the obstacle’s influence distance is ρ a When , the obstacle points to the agent and the agent points to the target point. reo 1o 、F reo 2o When the obstacle's influence distance is greater than ρ a When it is less than ρ0, the repulsive force generated by the obstacle pointing to the agent and the agent pointing to the target point, m and n are the distance influence coefficients.
[0088] Step 5: Use the Monte Carlo method to conduct multiple experiments and record the running time of the agent from the initial point to the target point and the number of path iterations, and design an efficiency function to evaluate the adaptability of the agent in the environment.
[0089] In step 5, different obstacle scenarios will have different effects on the formation structure, where the environmental fitness function can describe the adaptability of the multi-agent to the current environmental constraints after heterogeneous transformation. Its expression is:
[0090] f envfit =I fdd +I ecr +I fect
[0091] where f envfit is the fitness function, I fdd is the formation distortion, I ecr is the energy consumption ratio, I fect is the formation change convergence time ratio.
[0092] The efficiency function used in the present invention to evaluate adaptability is as follows:
[0093] f envfit =I iter +I time
[0094] Among them I iter is the standard deviation of the number of iterations, I time is the time standard deviation. The smaller the sum of the two is, the stronger the adaptability of formation obstacle avoidance in random environments is.
[0095] In this example, in order to verify the adaptability and effectiveness of multi-agent formation obstacle avoidance in a random obstacle scenario, the initial position coordinates of the leader are set to [0,0], and the position coordinates of the followers are: x2 = [-1,-1], x3 = [1,-1], x4 = [-2,-2], x5 = [0,-2], x6 = [2,-2]. The target point is (23,23), and 50 random obstacles are set between them. Each agent moves at a uniform speed of 0.1 m / s, and the formation angle is set to Obstacle recognition radius ρ0 = 3m, repulsion coefficient m = 0.8, n = 1.5, formation spacing The maximum number of iterations is 500.
[0096] The simulation experiment was carried out in MATLAB, and the Monte Carlo method was used to repeat the experiment 50 times, calculate the efficiency function and record the data. Figure 2As shown in the figure, the multi-agents maintain a triangular formation at the initial position, select heterogeneous transformation modes according to the scaling factor, and avoid obstacles one by one when passing through the obstacle area, and fit a smooth motion curve under the adaptive artificial potential field method. Figure 3 , 4 The figure shows the running time and number of iterations of the 50 experiments. Since all 50 experiments were conducted in random obstacle areas, the results were relatively stable and kept within a small range. The standard deviation of the two data was calculated and added to get an efficiency value of 9.39. The experimental simulation showed the stability and adaptability of the algorithm in the multi-agent formation obstacle avoidance in a random obstacle environment.
[0097] Although the present application is disclosed in detail with reference to the accompanying drawings, it should be understood that these descriptions are merely exemplary and are not intended to limit the application of the present application. The scope of protection of the present application is defined by the appended claims and may include various modifications, alterations and equivalents made to the invention without departing from the scope and spirit of the present application.
[0098] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A multi-agent formation obstacle avoidance control method based on adaptive artificial potential field method, Features: Step 1: Determine the initial point, use the pilot-follower method to determine the leader among the six agents, and the rest are followers, and form a triangle formation; Step 2: A gravitational potential field function is established at the target point. The gravitational force of the target point on the navigator is proportional to the distance between them. The gravitational force is obtained by the negative gradient of the gravitational potential field function. A repulsive potential field function is established around each obstacle. The repulsive force is obtained by the negative gradient of the repulsive potential field function. The combined force of the gravitational force and the repulsive force is calculated to determine the direction of movement of the navigator. Step 3: Based on the movement direction calculated in step 2, the navigator plans a reasonable movement curve to avoid obstacles and successfully reach the target point. The multi-agent triangular formation enters the obstacle area, calculates the formation expansion factor, and adopts a reasonable formation to pass smoothly; Step 4: According to the formation obtained in step 3, each agent uses the adaptive artificial potential field method to avoid obstacles in real time. After all agents in the formation pass the obstacles, they restore the initial formation according to the current environment and reach the target point. The improved formula of the adaptive artificial potential field method is as follows: Among them, k att ′ is the adaptive gravity gain coefficient, ρ(q,q o ) is the distance between the agent and the obstacle; ρ g is the distance between the agent and the target point; where k rep ′ is the adaptive repulsion gain coefficient, and its expression is ρ a is the new distance influence factor, whose value is ρ 0 One half of F reo1a 、F reo2a When the obstacle’s influence distance is ρ a When the obstacle points to the agent and the agent points to the target point, F reo1o 、F reo2o When the obstacle's influence distance is greater than ρ a and is less than ρ 0 When , the repulsive force generated by the obstacle pointing to the agent and the agent pointing to the target point, m and n are the distance influence coefficients; Step 5: Use the Monte Carlo method to conduct multiple experiments and record the running time of the agent from the initial point to the target point and the number of path iterations, and design an efficiency function to evaluate the adaptability of the agent in the environment.
2. The multi-agent formation obstacle avoidance control method according to claim 1, Features: Step 1 is as follows: In view of the complexity of the random obstacle environment, the pilot-follower formation method is adopted. In order to express the relationship between the agents in the triangle formation, the pilot-follower position model formula of the six-agent triangle formation is as follows: The six agents are named a, b, c, d, e, and f according to their positions; a ,y a ), (x b ,y b ), (x c ,y c ), (x d ,y d ), (x e ,y e ), (x f ,y f ) is the coordinate position of the agent; a is the navigator, where abd and acf are the lengths of the two sides of the triangle, and def is the length of the base; l is the distance between ab, bd, ac, and cf; is the motion direction angle, and α is the built-in angle of the triangle.
3. The multi-agent formation obstacle avoidance control method according to claim 2, Features: Step 2 is as follows: A gravitational potential field is formed around the target point, and its function formula is: Among them, k att is the gravitational gain coefficient, q and q g Represent the positions of the agent and the target point respectively, ρ g is a vector representing the Euclidean distance between the agent and the target point. The direction of the vector is from the agent to the target point. In the gravitational potential field, the gravitational force F on the qth agent is att (q) can be expressed by the negative gradient of its gravitational field function: The repulsive potential field function U of the qth agent rep (q) as follows: Among them, k rep is the repulsion gain coefficient, ρ(q,q o ) is the distance between the agent and the obstacle, ρ 0 The distance at which the obstacle has an effect; Similarly, the repulsive force can be obtained by the negative gradient of the repulsive potential field function The combined force of gravity and repulsion on the agent is 4. The multi-agent formation obstacle avoidance control method according to claim 3, Features: Step 3 is as follows: The parameter that keeps the formation unchanged and only changes the proportion of the formation during the multi-agent formation process is called the scaling factor, which is usually represented by the symbol ρ and the calculation formula is as follows: ρ≥ρ m , ρ m It represents the minimum value of the expansion factor of the complementary collision of each agent during the formation process; D represents the overall width of the multi-agent formation, D max It is the maximum width of the multi-agent formation after transformation when passing through the obstacle area.
Citation Information
Patent Citations
Multi-robot formation control method based on virtual navigation-navigation-following
CN115167440A
Multi-unmanned vehicle formation integral obstacle avoidance method based on improved artificial potential field method
CN115933644A
