Multi-agent route planning method and device based on artificial potential field and PPO

Through a multi-agent route planning method based on artificial potential fields and PPO, combined with minimum error entropy Kalman filtering and active experience playback, the problem of slow training speed in multi-agent route planning is solved, and effective avoidance in unknown environments is achieved. obstacles and path planning, improving the convergence speed and adaptability.

CN118670400BActive Publication Date: 2024-10-29SOUTHWEST JIAOTONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411156553.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-10-29
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

Existing multi-agent path planning algorithms rely on complex dynamic models, have slow convergence speeds during training, and do not utilize the Proximal Policy Optimization (PPO) algorithm, making it difficult to effectively avoid obstacles and plan paths in unknown environments.

Method used

A multi-agent route planning method based on artificial potential fields and PPO is used to process information errors through minimum error entropy Kalman filtering. Combined with the active experience playback method, the artificial potential field function is used to calculate the reward function and is updated when the preset conditions are not met. Policy network to improve the convergence speed of reinforcement learning.

Benefits of technology

In the case where the agent dynamics model and the location of environmental obstacles are unknown, obstacle avoidance and path planning are achieved, overcoming the local optimal problem of artificial potential fields, improving environmental adaptability and robustness, and accelerating reinforcement learning. The convergence speed of the method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118670400B_ABST
    Figure CN118670400B_ABST
Patent Text Reader

Abstract

The present application relates to a multi-agent route planning method and device based on artificial potential field and PPO, including initializing the original parameters of the algorithm involved in the agent; screening out the next action to be performed by the agent; using the artificial potential field function to obtain the new state value after the agent performs the action; if the preset conditions are met, then the action strategy is formulated for the agent according to the policy network; if the preset conditions are not met, the experience library is managed, the policy network is trained according to the managed experience library, and the action strategy is formulated for the agent using the trained policy network. By using an algorithm with a non-deterministic strategy, the local optimal problem of the artificial potential field is overcome, the local optimal point is jumped out, and it has strong environmental adaptability and robustness; at the same time, with the help of the active experience replay method, the convergence speed of the reinforcement learning method in the obstacle avoidance and path planning process is accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of navigation planning technology, and in particular to a multi-agent route planning method and device based on artificial potential field and PPO. Background Art

[0002] The application prospects of multi-agent obstacle avoidance and path planning are very broad. For example, the navigation of unmanned vehicles, ground robots, drones, surface unmanned boats, underwater unmanned vehicles, and cross-domain unmanned systems all rely on path planning technology. Moreover, this technical method and system involve many different industries and fields, including transportation, logistics, manufacturing, and military. Among them, obstacle avoidance and path planning are key technologies for realizing autonomous motion planning of intelligent agents. Conventional path planning algorithms rely on complex dynamic models and map information of intelligent agents. At present, no path planning scheme based on the proximal policy optimization (PPO) algorithm has been proposed.

[0003] Most existing algorithms are based on complex dynamic models of intelligent agents for control. Writing controller algorithms is a complex and time-consuming process. Traditional reinforcement learning algorithms such as DQN, SARSA, and AC have the problem of slow convergence during training. Summary of the invention

[0004] Based on this, it is necessary to provide a multi-agent path planning method and device based on artificial potential field and PPO that can improve the convergence speed during training to address the above technical problems, and use the active experience replay method to accelerate the convergence speed of the reinforcement learning method in the obstacle avoidance and path planning process.

[0005] In a first aspect, the present application provides a multi-agent route planning method based on an artificial potential field and PPO, the multi-agent route planning method based on an artificial potential field and PPO comprising:

[0006] Initialize the original parameters of the algorithm involved in the intelligent agent;

[0007] Acquire the current state value of the agent, and process the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent;

[0008] Using the artificial potential field function and the sensor value after error processing, obtaining a new state value after the agent performs the next action;

[0009] If the preset conditions are met, a policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network;

[0010] If the preset conditions are not met, the experience base is managed based on the parameter set of the agent including all state sets and the original parameters, the policy network is trained according to the managed experience base, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0011] In one embodiment, the obtaining of the current state value of the agent and processing the information error by a minimum error entropy Kalman filtering method to select the next action to be performed by the agent include:

[0012] When there is only a single agent, the current state value of the agent is obtained, and the information error is processed by the minimum error entropy Kalman filtering method, the current state value is input into the policy network, the action probability output by the policy network is obtained, the reward function is calculated according to the artificial potential field function, and the next action to be performed by the agent is selected based on the action probability;

[0013] When there are at least two such agents, the current state value of each of the agents is obtained, and the current state value is transmitted to the central controller, and the target allocation result calculated by the central controller based on the target allocation mechanism with the minimum combined gravity is obtained, and the reward function is calculated according to the artificial potential field function, and then the action probability is output by the strategy network, and the next action to be performed by the agent is selected from the action probability set.

[0014] In one embodiment, the step of obtaining the current state value of each of the agents, transmitting the current state value to the central controller, obtaining the target allocation result calculated by the central controller based on the target allocation mechanism with the minimum combined gravitational force, calculating the reward value according to the artificial potential field function, and then outputting the action probability by the strategy network, and selecting the next action to be performed by the agent from the action probability set, includes:

[0015] The current state value of each of the agents is obtained, and the current state value and the target position of the agent are transmitted to the central controller, and the target allocation mechanism based on the minimum combined gravity of the central controller is obtained to perform target allocation, and the action probability set output by the strategy network is obtained, and the next action to be performed by the agent is selected based on the action probability.

[0016] In one embodiment, calculating the reward function according to the artificial potential field function includes:

[0017] Obtaining sensor values ​​of the agent;

[0018] Constructing a gravitational field and a repulsive field of the target point according to the positional relationship between the intelligent agent, the target point and the obstacle;

[0019] Calculating the resultant force exerted on the agent at the current position based on the parameters of the gravitational field and the parameters of the repulsive field;

[0020] A reward function of the agent is calculated based on the combined force.

[0021] In one embodiment, the experience base is managed based on the parameter set including all state sets and the original parameters of the agent, the policy network is trained according to the managed experience base, the trained policy network and the pre-built evaluation network are updated, and the action strategy is formulated for the agent using the updated policy network, including:

[0022] storing a parameter set including the current state value, the new state value, and the original parameter in an experience database;

[0023] When the experience database is full, constructing an objective function based on the data stored in the experience database, and training the policy network based on the objective function;

[0024] The data in the experience library are sorted in descending order according to the reward value, a high-reward experience list is extracted, the high-reward experience list is expanded to obtain a positive experience library, and the trained policy network is retrained using the positive experience library.

[0025] In one embodiment, when the experience database is full, constructing an objective function based on the data stored in the experience database, and training the policy network based on the objective function includes:

[0026] When the experience inventory is full, constructing a state value function and an action value function respectively, and constructing an advantage function based on the state value function and the action value function;

[0027] Based on the advantage function, an objective function including a strategy CLIP term, a state value error function and an information entropy function is constructed, and the objective function is back-propagated to realize the training of the strategy network.

[0028] In one embodiment, the data in the experience library is sorted in descending order according to the reward value, a high reward experience list is extracted, the high reward experience list is expanded to obtain a positive experience library, and the trained policy network is retrained using the positive experience library, including:

[0029] Rearranging the data in the experience database in descending order of reward value;

[0030] Calculate the number of high-reward experiences for retraining based on the experience extraction coefficient, combine the high-reward experience list, and expand the high-reward experience list to obtain a positive experience library;

[0031] A positive experience library containing a preset number of experience combinations is obtained, and the trained strategy network is retrained using the positive experience library.

[0032] In a second aspect, the present application further provides a multi-agent route planning device based on an artificial potential field and PPO, the multi-agent route planning device comprising:

[0033] The initialization module is used to initialize the original parameters of the algorithm involved in the intelligent agent;

[0034] An action screening module is used to obtain the current state value of the intelligent agent, and process the information error through the minimum error entropy Kalman filtering method to screen the next action to be performed by the intelligent agent;

[0035] A numerical calculation module, used for obtaining a new state value of the agent after executing the next action by using an artificial potential field function and a sensor value;

[0036] A strategy building module, used for outputting a strategy network corresponding to the intelligent agent if a preset condition is met, and formulating an action strategy for the intelligent agent according to the strategy network;

[0037] The strategy training module is used to manage the experience base based on the parameter set of the agent including all state sets and the original parameters if the preset conditions are not met, train the strategy network according to the managed experience base, update the trained strategy network and the pre-built evaluation network, and use the updated strategy network to formulate an action strategy for the agent.

[0038] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0039] Initialize the original parameters of the algorithm involved in the intelligent agent;

[0040] Acquire the current state value of the agent, and process the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent;

[0041] Using the artificial potential field function and the sensor value after error processing, obtaining a new state value after the agent performs the next action;

[0042] If the preset conditions are met, a policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network;

[0043] If the preset conditions are not met, the experience base is managed based on the parameter set of the agent including all state sets and the original parameters, the policy network is trained according to the managed experience base, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0044] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0045] Initialize the original parameters of the algorithm involved in the intelligent agent;

[0046] Acquire the current state value of the agent, and process the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent;

[0047] Using the artificial potential field function and the sensor value after error processing, obtaining a new state value after the agent performs the next action;

[0048] If the preset conditions are met, a policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network;

[0049] If the preset conditions are not met, the experience base is managed based on the parameter set of the agent including all state sets and the original parameters, the policy network is trained according to the managed experience base, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0050] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0051] Initialize the original parameters of the algorithm involved in the intelligent agent;

[0052] Acquire the current state value of the agent, and process the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent;

[0053] Using the artificial potential field function and the sensor value after error processing, obtaining a new state value after the agent performs the next action;

[0054] If the preset conditions are met, a policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network;

[0055] If the preset conditions are not met, the experience base is managed based on the parameter set of the agent including all state sets and the original parameters, the policy network is trained according to the managed experience base, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0056] The above-mentioned multi-agent path planning method and device based on artificial potential field and PPO can realize obstacle avoidance and path planning under the condition of unknown agent dynamic model and environmental obstacle position information. By using the algorithm of non-deterministic strategy, it overcomes the local optimal problem of artificial potential field and jumps out of the local optimal point, and has strong environmental adaptability and robustness. At the same time, with the help of active experience replay method, it accelerates the convergence speed of reinforcement learning method in obstacle avoidance and path planning process. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 Schematic diagram of an application environment of a multi-agent route planning method based on an artificial potential field and PPO in one embodiment;

[0058] Figure 2 1 is a flow chart of a multi-agent route planning method based on artificial potential field and PPO in one embodiment;

[0059] Figure 3 It is a schematic diagram of force analysis for UUV in one embodiment;

[0060] Figure 4 A schematic diagram of a multi-agent hybrid control framework in another embodiment;

[0061] Figure 5 A schematic diagram of a multi-UUV multi-target path planning case in another embodiment;

[0062] Figure 6 A structural block diagram of a multi-agent route planning device based on an artificial potential field and PPO in one embodiment;

[0063] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] The multi-agent route planning method based on artificial potential field and PPO provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The reinforcement learning method of dynamic artificial potential field and active experience playback is used to solve the obstacle avoidance and path planning of the intelligent body dynamics model and the unknown position of the map obstacle, and to solve the problems that the conventional artificial potential field algorithm cannot cope with the unknown environment and avoid static and dynamic obstacles, thereby improving the convergence speed of the algorithm's reinforcement learning algorithm. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, and tablet computers. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0066] Embodiment 1

[0067] In one embodiment, Figure 2 As shown in the figure, a multi-agent route planning method based on artificial potential field and PPO is provided. Figure 1 Taking the server 104 in the example as an example, the following steps are included:

[0068] Step S10, initializing the original parameters of the algorithm involved in the agent.

[0069] The intelligent agent in this embodiment is typically an unmanned underwater vehicle (UUV), which refers to an unmanned underwater vehicle that is remotely controlled or automatically controlled and is an intelligent system that replaces divers or manned small submarines to perform high-risk underwater operations such as deep-sea exploration, rescue, and mine removal. The various execution steps below will be described using UUV as an example to represent the intelligent agent.

[0070] Specifically, the measurement values ​​of UUV sensors (including but not limited to position sensors, sonar sensors, distance sensors, inertial sensors, etc.) are processed by the minimum error entropy Kalman filtering method to form the state space s∈S of reinforcement learning, and the parameters of UUV actuators (including propellers and steering rudders) constitute the action space a∈A of reinforcement learning. It is also necessary to construct and initialize the strategy network and evaluation network involved in the following text.

[0071] Step S30, obtaining the current state value of the agent, and processing the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent.

[0072] The purpose of this application is to plan the subsequent path of the agent, and to refine it to each step, that is, to determine the next action to be performed. In order to achieve this goal, the reinforcement learning algorithm used here is the proximal policy optimization (PPO) algorithm. If the action space is discrete, the probability of each action output by the policy network is P i , if it is a continuous action space, then the expected µ and variance σ are output, thereby constructing the probability density function of the action interval. The algorithm parameters involved in this algorithm are the learning rate , reward discount factor , maximum number of iterations, number of experience value training rounds, size of experience library B m×n The policy network is based on the current action S i , output the action probability, and randomly select the next action based on the action probability a t .

[0073] Step S50, using the artificial potential field function and the sensor values ​​after error processing, obtain a new state value after the agent performs the next action.

[0074] Among them, after the next action is determined in the previous step, the intelligent agent is controlled to perform the action. After that, the artificial potential field function and sensor values ​​are needed to calculate the new state value of the intelligent agent after performing the action.

[0075] Specifically, the way to obtain the new state value here is the gravitational field coefficient and the repulsive field coefficient. The premise for obtaining the two coefficients is to construct the gravitational field and repulsive field corresponding to the current position of the UUV. After obtaining the gravitational field coefficient and the repulsive field coefficient, the reward function is calculated according to the magnitude of the resultant force received by the UUV at the current position.

[0076] Step S70: If the preset conditions are met, the policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network.

[0077] The policy network here is essentially a neural network used to estimate policies. The policy formulated based on the policy network is specifically the probability distribution of which actions the agent takes in a given state. The policy network output here can help the agent implement dynamic decision-making strategies, so as to learn and make decisions more effectively in the environment. In the specific implementation process, the policy network adopts a deep neural network structure. After processing the continuous or discrete action space, the trained deep neural network is output as the policy network. According to whether the many parameters obtained before meet the target conditions, if the target conditions are met, the policy network under the current conditions is output, and the obtained policy network is used as a trained algorithm model to formulate action strategies for subsequent motion trajectories for the agent.

[0078] Specifically, the target conditions here include the maximum number of iterations N, or the average reward of the latest 100 rounds. If the target conditions are met, the operation of the output policy network is triggered.

[0079] Step S90, if the preset conditions are not met, the experience library is managed based on the parameter set of the agent including all state sets and the original parameters, the policy network is trained according to the managed experience library, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0080] Among them, when the aforementioned parameters do not meet the preset conditions and the action strategy cannot be directly output, it is necessary to manage the parameter set including all the state sets and the original parameters in the experience library, and use the data in the experience library to perform a series of operations to obtain the trained strategy network, and then formulate a braking strategy for the subsequent actions of the UUV.

[0081] This embodiment is applied to intelligent bodies including UUVs, and proposes a dynamic artificial potential field algorithm for the sonar, distance sensor, camera and other sensors equipped by the intelligent body to solve the real-time obstacle avoidance and path planning when the map information is unknown. The active experience replay method is used to accelerate the reinforcement learning method - improve the convergence speed of the proximal policy optimization (PPO) algorithm. The dynamic artificial potential field and reinforcement learning method are applied to realize obstacle avoidance and path planning when the dynamic model of the intelligent body and the position information of environmental obstacles are unknown. The algorithm used is a non-deterministic strategy, which can overcome the local optimal problem of the artificial potential field, jump out of the local optimal point, and accelerate the convergence speed of the reinforcement learning method in the obstacle avoidance and path planning process.

[0082] Embodiment 2

[0083] Based on the multi-agent route planning method based on artificial potential field and PPO proposed in Example 1, this example specifically describes some of the steps therein.

[0084] Considering the number of agents in the actual scenario, the specific operation of step S30 includes the following two processing methods according to the difference between a single agent and multiple agents:

[0085] (1) When there is only a single intelligent agent, obtain the current state value of the intelligent agent, process the information error through the minimum error entropy Kalman filtering method, input the current state value into the policy network, obtain the action probability output by the policy network, calculate the reward function according to the artificial potential field function, and select the next action to be performed by the intelligent agent based on the action probability.

[0086] (2) When there are at least two such agents, obtain the current state value of each of the agents, transmit the current state value to the central controller, obtain the target allocation result calculated by the central controller based on the target allocation mechanism with the minimum combined gravitational force, calculate the reward function according to the artificial potential field function, and then output the action probability by the strategy network, and select the next action to be performed by the agent from the action probability set.

[0087] In the implementation, for the case of a single agent, the reinforcement learning algorithm used is the proximal policy optimization (PPO) algorithm. If the action space is discrete, the probability of each action output by the policy network is P i , if it is a continuous action space, then the output expectation and variance , thereby constructing the probability density function of the action interval. The algorithm parameters involved in this algorithm are the learning rate , reward discount factor , maximum number of iterations, number of experience value training rounds, size of experience library B m×n The policy network is based on the current action S t , output the action probability, and randomly select the current action according to the action probability a t .

[0088] For the case of multiple agents, the processing method is essentially the same as that of a single UUV, except that in the multi-UUV scenario, it is necessary to increase the communication between the UUV and the central controller to obtain the state value, and to increase the target allocation mechanism to allocate the targets of each UUV. Specifically, for the obstacle avoidance and path planning of multiple agents, a hybrid control method is adopted, that is, a centralized training and decentralized execution framework is adopted. At the beginning, the agent transmits its state observation data to the central controller. After the central controller obtains the global state S, it trains the model and obtains the optimal decentralized control strategy and passes it to the agent. After training, the agent no longer needs to communicate with the central controller, and can generate the optimal action based on its local observation state through its own action strategy function. The specific process is given in the subsequent Example 3.

[0089] Step S30 specifically includes:

[0090] Obtaining sensor values ​​of the agent;

[0091] Constructing a gravitational field and a repulsive field of the target point according to the positional relationship between the intelligent agent, the target point and the obstacle;

[0092] Calculating the resultant force exerted on the agent at the current position based on the parameters of the gravitational field and the parameters of the repulsive field;

[0093] A reward function of the agent is calculated based on the combined force.

[0094] Among them, Figure 3 As shown in the figure, according to the position of the UUV and the target point, the gravitational field of the target point is constructed, and the gravitational field can attract the robot to the target. The basic principle is that when the robot moves away from the target, the attractive field will gradually increase. The specific methods involving the construction of the gravitational field and the repulsive field are shown in the following formulas 1 to 4.

[0095] Gravitational field construction: , formula 1;

[0096] Gravitational force: , formula 2;

[0097] In the formula, represents the gravitational field gain coefficient, Indicates the current position of the UUV and target location The Euclidean distance between , the vector direction points to the target position.

[0098] Repulsion field construction: , formula 3;

[0099] Repulsion size: , formula 4;

[0100] In the formula, is the repulsion gain coefficient, is the adjustable positive coefficient, is the distance from the UUV to the obstacle, measured by the numerical sensor, The maximum measuring distance of the distance sensor.

[0101] Since the agent is only affected by gravity and repulsion in the actual scene, the magnitude of the combined force on the agent at the current position is shown in Formula 5:

[0102] , Formula 5.

[0103] Here, the weight of the UUV when it reaches the target is increased by calculating the reward, and the reward function shown in Formula 6 is constructed:

[0104] , Formula 6;

[0105] In the formula, , for F exist X , Y The component in the axial direction, is the current heading angle, .

[0106] The role of the reward function is as follows: if you reach the target point, you will get an extra reward, and if you hit an obstacle, you will get a penalty.

[0107] As mentioned above, if the preset conditions are met, step S70 is directly executed, and the policy network that is considered to be trained is used to execute the subsequent action strategy for the agent. In the case where the preset conditions are not met, it is necessary to train the policy network with the help of a lot of data stored in the experience library, and then use the trained policy network to execute the subsequent action strategy for the agent. The implementation method for the latter case, that is, step S90, specifically includes:

[0108] Step S92: storing the parameter set including the set of all states and the original parameters in an experience database.

[0109] Step S94: when the experience database is full, construct an objective function based on the data stored in the experience database, and train the policy network based on the objective function.

[0110] Step S96, sorting the data in the experience library in descending order of reward value, extracting a high-reward experience list, expanding the high-reward experience list to obtain a positive experience library, and using the positive experience library to perform secondary training on the trained policy network.

[0111] Wherein, step S94 specifically includes:

[0112] When the experience inventory is full, constructing a state value function and an action value function respectively, and constructing an advantage function based on the state value function and the action value function;

[0113] Based on the advantage function, an objective function including a strategy CLIP term, a state value error function and an information entropy function is constructed, and the objective function is back-propagated to realize the training of the strategy network.

[0114] In practice, the core idea of ​​this step to realize policy network training is: when the experience inventory is full, construct the objective function and use the gradient descent method to update the policy network.

[0115] The basis for constructing the objective function is the advantage function. The specific process of constructing the advantage function is as follows:

[0116] Construct the period cumulative return as shown in Formula 7: , Formula 7;

[0117] In the formula, is the reward discount factor, is the reward at time t+k+1.

[0118] Construct the state value function as shown in Formula 8:

[0119] , formula 8;

[0120] In the formula, State transition probability, is the action strategy, means In Strategy The mathematical expectation.

[0121] Construct the action-value function as shown in Formula 9:

[0122] , Formula 9.

[0123] Subtracting Formula 8 from Formula 9, we get the advantage function expression shown in Formula 10:

[0124] , formula 10;

[0125] Since this embodiment uses the proximal policy optimization (PPO) algorithm, the algorithm aims to make the policy select actions with higher "advantages". At the same time, if the policy has high entropy, additional rewards are given to encourage more exploration. Therefore, the total loss function consists of three terms: policy clipping CLIP term, state value error function and information entropy function.

[0126] The calculation strategy for clipping CLIP items is based on formula 11:

[0127] , Formula 11;

[0128] In the formula, is the expected estimate of the internal data, is the ratio between the new and old strategies, is a hyperparameter whose function is to limit the magnitude of policy updates when multiple policy updates are performed using the same batch of data. The way it works is that The value of is limited to between, is the advantage function, which is used to calculate the advantage of an action relative to the average in a given state.

[0129] The state value error function is shown in formula 12:

[0130] , Formula 12;

[0131] In the formula, T refers to the total time steps required for the round, To evaluate the state value predicted by the network.

[0132] The information entropy function is shown in formula 13:

[0133] , Formula 13;

[0134] Based on the expressions of formulas 11-13, the final objective function is summarized as shown in formula 14:

[0135] , Formula 14;

[0136] Where c1 and c2 are hyperparameters, which measure the importance of policy evaluation (Critic) and exploration accuracy respectively.

[0137] Back propagates the objective function, and updates the parameters of the deep neural network by gradient descent according to the calculated objective function value, so that the prediction results of the deep neural network are more accurate, thereby updating the parameters of the policy network. and the parameters of the evaluation network , as shown in Formula 15:

[0138] , Formula 15;

[0139] In the formula, refers to the parameters of the policy network and the parameters of the evaluation network , It refers to the learning rate , It refers to calculating the gradient of the objective function. The purpose of this iteration is to make the objective function smaller and smaller.

[0140] Wherein, step S96 specifically includes:

[0141] Rearranging the data in the experience database in descending order of reward value;

[0142] The number of high-reward experiences for retraining is calculated based on the experience extraction coefficient, and the high-reward experience list is combined to expand the high-reward experience list to obtain a positive experience library; a positive experience library containing a preset number of experience combinations is obtained, and the trained strategy network is retrained using the positive experience library.

[0143] In implementation, the data in the experience database is re-sorted according to the size of the reward value. , indicating that according to the reward value R For the entire experience list Re-sort and get a new list E ;

[0144] Calculate the amount of high reward experience: , Formula 16;

[0145] in is the extraction coefficient;

[0146] Therefore, the list of high-reward experiences extracted is: , Indicates the first i Group index, expand the high reward experience list, the number of expansions is q i :

[0147] , Formula 17;

[0148] Where N is a positive integer, Mi Indicates i High reward experience prequel q i A collection of experiences combined with group experiences. R MRefers to the high reward experience list Mp The reward value combination set in , ;

[0149] The final positive experiences that require retraining are: .

[0150] Use Experience Set M , repeat the operation of S94 to update the strategy network and the evaluation network;

[0151] This embodiment is applied to intelligent bodies including UUVs, and proposes a dynamic artificial potential field algorithm for the sonar, distance sensor, camera and other sensors equipped by the intelligent body to solve the real-time obstacle avoidance and path planning when the map information is unknown. The active experience replay method is used to accelerate the reinforcement learning method - improve the convergence speed of the proximal policy optimization (PPO) algorithm. The dynamic artificial potential field and reinforcement learning method are applied to realize obstacle avoidance and path planning when the dynamic model of the intelligent body and the position information of environmental obstacles are unknown. The algorithm used is a non-deterministic strategy, which can overcome the local optimal problem of the artificial potential field, jump out of the local optimal point, and accelerate the convergence speed of the reinforcement learning method in the obstacle avoidance and path planning process.

[0152] Embodiment 3

[0153] For multiple agents, such as Figure 4 As shown in the figure, a hybrid control method can be used for obstacle avoidance and path planning of multiple agents, that is, a centralized training and decentralized execution framework. At the beginning, the agent transmits its own state observation data to the central controller. After the central controller obtains the global state S, it trains the model and passes it to the agent after obtaining the optimal decentralized control strategy. After training, the agent no longer needs to communicate with the central controller, and can generate the optimal action based on its local observation state and its own action strategy function.

[0154] The aforementioned step S30 further includes:

[0155] Obtaining the current state value of each of the agents, transmitting the current state value and the target position of the agent to the central controller, obtaining the target allocation mechanism based on the minimum combined gravitational force of the central controller to perform target allocation, calculating the reward value according to the artificial potential field function, and then outputting the action probability through the strategy network;

[0156] The action probability output by the policy network is obtained, and the next action to be performed by the agent is selected from the action set based on the action probability.

[0157] In implementation, unlike a single UUV, in the case of multiple UUVs, the state value of each UUV needs to be sent to the central controller, and the optimal decentralized control strategy is obtained from the central controller, so that each UUV can subsequently generate the optimal action according to its own action strategy function.

[0158] Step S301: Set n agent sensor parameters as reinforcement learning state space and actuator parameters as action space.

[0159] Step S302: The central controller initializes algorithm parameters, including parameters of the corresponding n strategy networks and n evaluation networks.

[0160] Step S303: Each agent obtains the current state S t , using the communication network to transmit the status value to the central controller.

[0161] Step S304: First, the central controller allocates targets according to the target allocation mechanism with the smallest combined gravitational force based on the state value and target position of the acquired intelligent agent. Secondly, the strategy network is used to output the action probability and calculate the artificial potential field function and reward value. , and randomly select actions according to probability, and send the action value back to the agent.

[0162] Step S305: The agent performs actions and obtains a new state S t+1 , and transmitted to the central controller again.

[0163] Step S306: The central controller determines whether the target condition is achieved according to the set target condition. If successful, the central controller outputs the corresponding strategy network as the model trained by the agent and formulates an action strategy for the agent. If the target condition is not achieved, the process proceeds to step S307.

[0164] Step S307: Fill the experience database and determine whether the memory database is full. If so, execute steps 308, 309, and 310; otherwise, repeat steps 303, 304, 305, 306, and 307.

[0165] Step S308: Calculate the objective function using the experience database data, and use the gradient descent algorithm to train the strategy network and the evaluation network.

[0166] Step S309: Extract positive experience and train the network again.

[0167] Step S310: Clear the experience database and jump back to step 303.

[0168] The specific operation steps are as follows: Taking underwater multi-UUV multi-target path planning as an example, Figure 5As shown, most of the processes are similar to the single UUV example, and only the target allocation mechanism with the smallest combined gravity is introduced here.

[0169] In the implementation, three UUVs (numbered as unmanned underwater vehicle 1, unmanned underwater vehicle 2, and unmanned underwater vehicle 3) need to reach three target locations (numbered as target 1, target 2, and target 3), where the gravitational field of each UUV to the three targets is shown in formula 18:

[0170] , Formula 18;

[0171] in, i The values ​​of are 1, 2, and 3. j The values ​​of are 1, 2, and 3. Indicates i UUV to j The gravitational field of a target.

[0172] For this scenario, there are 6 target allocation schemes, among which the total gravitational field of the kth target allocation is shown in Formula 19

[0173] , Formula 19;

[0174] in, j The value of is 1, 2, 3. , j Not equal, that is, the two UUVs will not be pointing at the same target.

[0175] Therefore, the optimal target allocation strategy is shown in Formula 20:

[0176] , formula 20;

[0177] in, They represent the target numbers corresponding to the UUVs respectively.

[0178] The subsequent process is the same as the steps in Example 2 and will not be repeated here.

[0179] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0180] Based on the same inventive concept, the embodiment of the present application also provides a multi-agent route planning device based on artificial potential field and PPO for implementing the above-mentioned. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the multi-agent route planning device based on artificial potential field and PPO provided below can refer to the limitations of the multi-agent route planning method based on artificial potential field and PPO above, which will not be repeated here.

[0181] In one embodiment, Figure 6 As shown, a multi-agent route planning device 60 based on artificial potential field and PPO is provided, comprising: an initialization module, an action screening module, a numerical calculation module, a strategy construction module and a strategy training module, wherein:

[0182] The initialization module 61 is used to initialize the original parameters of the algorithm involved in the intelligent agent.

[0183] The intelligent agent in this embodiment is typically an unmanned underwater vehicle (UUV), which refers to an unmanned underwater vehicle that is remotely controlled or automatically controlled and is an intelligent system that replaces divers or manned small submarines to perform high-risk underwater operations such as deep-sea exploration, rescue, and mine removal. The various execution steps below will be described using UUV as an example to refer to the intelligent agent.

[0184] Specifically, the measurement values ​​of UUV sensors (including but not limited to position sensors, sonar sensors (for distance detection, communication, etc.), inertial sensors, etc.) are processed by the minimum error entropy Kalman filtering method to form the state space s∈S of reinforcement learning, and the parameters of UUV actuators (including propellers and steering rudders) constitute the action space a∈A of reinforcement learning. It is also necessary to construct and initialize the strategy network and evaluation network involved in the following text.

[0185] The action screening module 63 is used to obtain the current state value of the intelligent agent, and process the information error through the minimum error entropy Kalman filtering method to screen the next action to be performed by the intelligent agent.

[0186] The purpose of this application is to plan the subsequent path of the agent, and to refine it to each step, that is, to determine the next action to be performed. In order to achieve this goal, the reinforcement learning algorithm used here is the proximal policy optimization (PPO) algorithm. If the action space is discrete, the probability of each action output by the policy network is P i , if it is a continuous action space, then the output expectation and variance , thereby constructing the probability density function of the action interval. The algorithm parameters involved in this algorithm are the learning rate , reward discount factor , maximum number of iterations, number of experience value training rounds, size of experience library B m×n The policy network is based on the current action S t , output the action probability, and randomly select the current action according to the action probability a t .

[0187] The numerical calculation module 65 is used to use the artificial potential field function and the sensor value to obtain the new state value after the intelligent agent performs the next action.

[0188] Among them, after the next action is determined in the previous step, the intelligent agent is controlled to perform the action. Then, the artificial potential field function needs to be used to calculate the new state value of the intelligent agent after performing the action.

[0189] Specifically, the way to obtain the new state value here is the gravitational field coefficient and the repulsive field coefficient. The premise for obtaining the two coefficients is to construct the gravitational field and repulsive field corresponding to the current position of the UUV. After obtaining the gravitational field coefficient and the repulsive field coefficient, the reward function is calculated according to the magnitude of the resultant force received by the UUV at the current position.

[0190] The strategy construction module 67 is used to output a strategy network corresponding to the intelligent agent if a preset condition is met, and formulate an action strategy for the intelligent agent according to the strategy network.

[0191] Among them, it is based on whether the many parameters obtained before meet the target conditions. If the target conditions are met, the policy network under the current conditions is output, and the obtained policy network is used as the trained algorithm model to formulate the action strategy for the subsequent motion trajectory of the intelligent body.

[0192] Specifically, the target conditions here include the maximum number of iterations N, or the average reward of the latest 100 rounds. If the target conditions are met, the operation of the output policy network is triggered.

[0193] The strategy training module 69 is used to manage the experience base based on the parameter set of the agent including all state sets and the original parameters if the preset conditions are not met, train the strategy network according to the managed experience base, update the trained strategy network and the pre-built evaluation network, and use the updated strategy network to formulate an action strategy for the agent.

[0194] Among them, when the aforementioned parameters do not meet the preset conditions and the action strategy cannot be directly output, it is necessary to manage the parameter set including all the state sets and the original parameters in the experience library, and use the data in the experience library to perform a series of operations to obtain the trained strategy network, and then formulate a braking strategy for the subsequent actions of the UUV.

[0195] This embodiment is applied to intelligent bodies including UUVs, and proposes a dynamic artificial potential field algorithm for the sonar, distance sensor, image and other sensors equipped by the intelligent body to solve the real-time obstacle avoidance and path planning when the map information is unknown. The active experience replay method is used to accelerate the reinforcement learning method - improve the convergence speed of the proximal policy optimization (PPO) algorithm. The dynamic artificial potential field and reinforcement learning method are applied to realize obstacle avoidance and path planning when the dynamic model of the intelligent body and the position information of the environmental obstacles are unknown. The algorithm used is a non-deterministic strategy, which can overcome the local optimal problem of the artificial potential field, jump out of the local optimal point, and accelerate the convergence speed of the reinforcement learning method in the obstacle avoidance and path planning process.

[0196] Each module in the multi-agent route planning device based on artificial potential field and PPO can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0197] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a multi-agent route planning method based on artificial potential field and PPO is implemented.

[0198] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0199] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0200] Step S10, initializing the original parameters of the algorithm involved in the agent.

[0201] Step S30, obtaining the current state value of the agent, and processing the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent.

[0202] Step S50, using the artificial potential field function and the sensor value, obtaining a new state value of the agent after performing the action.

[0203] Step S70: If the preset conditions are met, the policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network.

[0204] Step S90, if the preset conditions are not met, the experience library is managed based on the parameter set of the agent including all the state sets and the original parameters, the policy network is trained according to the managed experience library, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0205] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0206] Step S10, initializing the original parameters of the algorithm involved in the agent.

[0207] Step S30, obtaining the current state value of the agent, and processing the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent.

[0208] Step S50, using the artificial potential field function and the sensor value, obtaining a new state value of the agent after performing the action.

[0209] Step S70: If the preset conditions are met, the policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network.

[0210] Step S90, if the preset conditions are not met, the experience library is managed based on the parameter set of the agent including all the state sets and the original parameters, the policy network is trained according to the managed experience library, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0211] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0212] Step S10, initializing the original parameters of the algorithm involved in the agent.

[0213] Step S30, obtaining the current state value of the agent, and processing the information error by using the minimum error entropy Kalman filtering method to select the next action to be performed by the agent.

[0214] Step S50, using the artificial potential field function and the sensor value, obtaining a new state value of the agent after performing the action.

[0215] Step S70: If the preset conditions are met, the policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network.

[0216] Step S90, if the preset conditions are not met, the experience library is managed based on the parameter set including all the state sets of the agent and the original parameters, the policy network is trained according to the managed experience library, the trained policy network and the pre-built evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent.

[0217] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0218] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0219] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0220] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A multi-agent route planning method based on artificial potential field and PPO, characterized in that: The multi-agent route planning method based on artificial potential field and PPO includes: Initialize the original parameters of the algorithm involved in the intelligent agent; The current state value of the agent is obtained, and the information error is processed by the minimum error entropy Kalman filtering method, and the next action to be performed by the agent is screened, including: when there is only a single agent, the current state value of the agent is obtained, and the information error is processed by the minimum error entropy Kalman filtering method, the current state value is input into the policy network, the action probability output by the policy network is obtained, the reward function is calculated according to the artificial potential field function, and the next action to be performed by the agent is selected based on the action probability; when there are at least two agents, the current state value of each agent is obtained, the current state value is transmitted to the central controller, the target allocation result calculated by the central controller based on the target allocation mechanism with the minimum combined gravity is obtained, the reward function is calculated according to the artificial potential field function, and the action probability is output by the policy network, and the next action to be performed by the agent is selected from the action probability set, wherein the target is a plurality of target positions that at least two agents need to reach, there are multiple target allocation mechanisms, and the combined gravity is the sum of the gravitational forces received by all agents under each target allocation mechanism; Using the artificial potential field function and the sensor value after error processing, obtaining a new state value after the agent performs the next action; If the preset conditions are met, a policy network corresponding to the agent is output, and an action strategy is formulated for the agent according to the policy network; If the preset conditions are not met, the experience library is managed based on a parameter set including the current state value, the new state value, and the original parameters, the policy network is trained based on the managed experience library, the trained policy network and the pre-constructed evaluation network are updated, and the updated policy network is used to formulate an action strategy for the agent, including: storing the parameter set including the current state value, the new state value, and the original parameters in the experience library; when the experience library is full, constructing an objective function based on the data stored in the experience library, and training the policy network based on the objective function; sorting the data in the experience library in order of reward value from large to small, extracting a high reward experience list, expanding the high reward experience list to obtain a positive experience library, and using the positive experience library to perform secondary training on the trained policy network.

2. The multi-agent route planning method based on artificial potential field and PPO according to claim 1 is characterized in that: The step of obtaining the current state value of each of the agents, transmitting the current state value to the central controller, obtaining the target allocation result calculated by the central controller based on the target allocation mechanism with the minimum combined gravitational force, calculating the reward value according to the artificial potential field function, and then outputting the action probability by the strategy network, and selecting the next action to be performed by the agent from the action probability set, includes: The current state value of each of the agents is obtained, and the current state value and the target position of the agent are transmitted to the central controller, and the target allocation mechanism based on the minimum combined gravity of the central controller is obtained to perform target allocation, and the action probability set output by the strategy network is obtained, and the next action to be performed by the agent is selected based on the action probability.

3. The multi-agent route planning method based on artificial potential field and PPO according to claim 1 is characterized in that: The calculating of the reward function according to the artificial potential field function comprises: Obtaining sensor values ​​of the agent; Constructing a gravitational field and a repulsive field according to the positional relationship between the intelligent agent and the target point and obstacles; Calculating the resultant force exerted on the agent at the current position based on the parameters of the gravitational field and the parameters of the repulsive field; A reward function of the agent is calculated based on the combined force.

4. The multi-agent route planning method based on artificial potential field and PPO according to claim 1 is characterized in that: When the experience database is full, constructing an objective function based on the data stored in the experience database, and training the policy network based on the objective function, including: When the experience inventory is full, constructing a state value function and an action value function respectively, and constructing an advantage function based on the state value function and the action value function; Based on the advantage function, an objective function including a strategy CLIP term, a state value error function and an information entropy function is constructed, and the objective function is back-propagated to realize the training of the strategy network.

5. The multi-agent route planning method based on artificial potential field and PPO according to claim 1 is characterized in that: The data in the experience library is sorted in descending order according to the reward value, a high reward experience list is extracted, the high reward experience list is expanded to obtain a positive experience library, and the trained policy network is trained again using the positive experience library, including: Rearranging the data in the experience database in descending order of reward value; Calculate the number of high-reward experiences for retraining based on the experience extraction coefficient, combine the high-reward experience list, and expand the high-reward experience list to obtain a positive experience library; A positive experience library containing a preset number of experience combinations is obtained, and the trained strategy network is retrained using the positive experience library.

6. A multi-agent route planning device based on artificial potential field and PPO, characterized in that: The multi-agent route planning device comprises: The initialization module is used to initialize the original parameters of the algorithm involved in the intelligent agent; An action screening module is used to obtain the current state value of the agent, process the information error by the minimum error entropy Kalman filtering method, and screen the next action to be performed by the agent, including: when there is only one agent, obtain the current state value of the agent, process the information error by the minimum error entropy Kalman filtering method, input the current state value into the policy network, obtain the action probability output by the policy network, calculate the reward function according to the artificial potential field function, and select the next action to be performed by the agent based on the action probability; when there are at least two agents, obtain the current state value of each agent, transmit the current state value to the central controller, obtain the target allocation result calculated by the central controller based on the target allocation mechanism with the minimum combined gravity, calculate the reward function according to the artificial potential field function, and then output the action probability by the policy network, and select the next action to be performed by the agent from the action probability set, wherein the target is a plurality of target positions that at least two agents need to reach, there are multiple target allocation mechanisms, and the combined gravity is the sum of the gravitational forces received by all agents under each target allocation mechanism; A numerical calculation module, used for obtaining a new state value of the agent after executing the next action by using an artificial potential field function and a sensor value; A strategy building module, used for outputting a strategy network corresponding to the intelligent agent if a preset condition is met, and formulating an action strategy for the intelligent agent according to the strategy network; A strategy training module is used to manage the experience library based on a parameter set including the current state value, the new state value, and the original parameters if the preset conditions are not met, train the strategy network according to the managed experience library, update the trained strategy network and the pre-built evaluation network, and use the updated strategy network to formulate an action strategy for the agent, including: storing the parameter set including the current state value, the new state value, and the original parameters in the experience library; when the experience library is full, constructing an objective function based on the data stored in the experience library, and training the strategy network based on the objective function; sorting the data in the experience library in descending order of reward value, extracting a high reward experience list, expanding the high reward experience list to obtain a positive experience library, and using the positive experience library to perform secondary training on the trained strategy network.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the multi-agent path planning method based on artificial potential field and PPO described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multi-agent route planning method based on artificial potential field and PPO described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Express delivery route optimization method based on elitist-driven particle swarm algorithm

    CN111047102A

  • Multi-agent path planning method and system based on logistics storage environment

    CN117908542A