A multi-AGV scheduling method, device, equipment and storage medium

By combining deep encoding and decoding networks and diffusion models with multi-agent reinforcement learning, the problem of low efficiency in multi-AGV scheduling in logistics and warehousing is solved, and dynamic scheduling and efficiency improvement in complex environments are achieved.

CN118365099BActive Publication Date: 2024-09-10SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789432.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-10
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

The existing technology has low sample efficiency in multi-AGV scheduling in logistics and warehousing, and cannot effectively learn strategies. Moreover, the traditional method is static scheduling, which is difficult to handle complex or uncertain dynamic environments.

Method used

A deep encoding and decoding network is used to model the real-time environmental state, combined with the diffusion model and multi-agent reinforcement learning, and through the framework of centralized training and decentralized execution, action sequences are generated to achieve dynamic scheduling of multiple AGVs.

Benefits of technology

It improves the efficiency of multi-AGV scheduling, can handle complex and uncertain environments, discovers information coordination strategies, and improves dynamic scheduling capabilities in cooperation and competition scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365099B
    Figure CN118365099B
Patent Text Reader

Abstract

The present application discloses a multi-AGV scheduling method, device, equipment and storage medium, and relates to the field of logistics warehousing technology. The method includes: collecting real-time environmental information and modeling it as a real-time environmental state representation through a deep encoding and decoding network; constructing a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning and training the multi-AGV dynamic scheduling model using the real-time environmental state representation to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates an action sequence based on a training method of a denoising diffusion probability model; multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution; dynamically inputting the target environmental information into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of multiple AGVs. Through the technical solution of the present application, multi-AGV dynamic scheduling can be achieved and the efficiency of multi-AGV scheduling can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics warehousing technology, and in particular to a multi-AGV scheduling method, device, equipment and storage medium. Background Art

[0002] In recent years, artificial intelligence and related industries have been growing rapidly and have become the focus of academia, industry, and governments around the world. The "New Generation Artificial Intelligence Development Plan" has highlighted the national strategic position of artificial intelligence research and industry. In the field of multi-AGV (Automated Guided Vehicle) scheduling in logistics warehousing, methods based on deep reinforcement learning have made significant progress, but most of these methods have low sample efficiency. Reinforcement learning usually requires a large amount of data to learn effective strategies, which is a major obstacle in real-world applications; and traditional reinforcement learning methods are static scheduling of multiple AGVs from a holistic perspective. For complex or uncertain environments, it is very urgent to establish a dynamic and accurate model. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a multi-AGV scheduling method, device, equipment and storage medium, which can realize multi-AGV dynamic scheduling and improve the efficiency of multi-AGV scheduling. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a multi-AGV scheduling method, comprising:

[0005] Collect real-time environment information and model it into real-time environment state representation through a deep encoder-decoder network;

[0006] A multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning is constructed, and the multi-AGV dynamic scheduling model is trained using the real-time environmental state representation to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on a training method of a denoised diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution;

[0007] The target environment information is dynamically input into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGVs.

[0008] Optionally, the real-time environmental information includes a map module, a task module and an AGV module; wherein the map module includes an entry point, an entry buffer, a high-level buffer, an exit buffer, and an exit point; the task module includes a starting point, a target point, a task ready time, and a current task execution time; the AGV module includes a driving speed, real-time coordinates, load capacity, battery power, and failure rate.

[0009] Optionally, the real-time environment information is collected and modeled as a real-time environment state through a deep codec network. The corresponding calculation formula is:

[0010] ;

[0011] ;

[0012] in, for t The embedding matrix of the input sample at time step; M is the learnable embedding transformation matrix; , , for t The map module, the task module, and the AGV module in the time step sample are embedded in a matrix obtained by connection operation; express t The time step will Assigned to transportation, i , j Represent the index of the task and AGV respectively.

[0013] Optionally, the constructing of a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and training the multi-AGV dynamic scheduling model using the real-time environment state representation to obtain a target multi-AGV dynamic scheduling model includes:

[0014] Acquire a multi-agent, wherein the multi-agent includes at least one agent, and each AGV is modeled as an agent;

[0015] Determine target constraints, and input the real-time environment state representation and the target constraints into the diffusion model corresponding to each of the multiple agents to generate an action sequence;

[0016] The Q value corresponding to each of the multi-agents is determined based on the action sequence and the real-time environmental state representation, and the target multi-AGV dynamic scheduling model is determined according to the Q value.

[0017] Optionally, determining the target multi-AGV dynamic scheduling model according to the Q value includes:

[0018] The Q value is updated using the least squares error, and the multi-AGV dynamic scheduling model is trained by stochastic gradient descent to determine the target multi-AGV dynamic scheduling model.

[0019] Optionally, the diffusion model uses no classifier guidance and performs sampling within a preset low temperature range, and generates a calculation formula corresponding to the action sequence based on the training method of the denoising diffusion probability model:

[0020] ;

[0021] ;

[0022] in, is the diffusion model t In the time step k Step denoising output; , , It is k Step VP Test coefficient; is a sample from a standard normal distribution, k is a positive integer, K for k The total number of thresholds; Parameterized by a deep neural network for predicting random noise; Represents the constraints of the task; , Is a constant.

[0023] Optionally, the multi-AGV scheduling method further includes:

[0024] Determine a learning strategy corresponding to the multi-agent based on the multi-agent and the diffusion model;

[0025] Acquire the transition data when the multi-agent reaches the next state from the current state according to the learning strategy, so as to determine the transition data set corresponding to the multi-agent by using the transition data, and store the transition data set in the replay cache;

[0026] Accordingly, the process of constructing a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning also includes:

[0027] The transfer data set in the replay buffer is utilized by the multi-agent reinforcement learning, and the learning strategy is updated by maximizing the expected reward function value of the multi-agent based on the training framework of centralized training and decentralized execution.

[0028] In a second aspect, the present application discloses a multi-AGV scheduling device, comprising:

[0029] An information collection module is used to collect real-time environmental information and model it into a real-time environmental state representation through a deep encoding and decoding network;

[0030] A model building module is used to build a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and train the multi-AGV dynamic scheduling model using the real-time environmental state representation to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on a training method of a denoised diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution;

[0031] The model prediction module is used to dynamically input the target environment information into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGV.

[0032] In a third aspect, the present application discloses an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the multi-AGV scheduling method as described above.

[0033] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the multi-AGV scheduling method as described above.

[0034] The present application provides a multi-AGV scheduling method, including: collecting real-time environmental information and modeling it as a real-time environmental state representation through a deep encoding and decoding network; constructing a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and using the real-time environmental state representation to train the multi-AGV dynamic scheduling model to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates an action sequence based on a training method of a denoising diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution; the target environmental information is dynamically input into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGV.

[0035] The beneficial technical effects of the present application are: on the one hand, by introducing the diffusion model mechanism, not only can the model be used to model any state and action distribution, but multiple constraints can also be considered during the training process, thereby generating behaviors that meet multiple complex or uncertain environments during testing; on the other hand, the introduction of multi-agent reinforcement learning training methods can handle unpredictable dynamic events. At the same time, in cooperative and competitive scenarios, the agent group can discover various information coordination strategies, which plays a significant role in improving the efficiency of dynamic scheduling of multiple AGVs.

[0036] In addition, the present application provides a multi-AGV scheduling device, equipment and storage medium, which correspond to the above-mentioned multi-AGV scheduling method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0038] Figure 1 A flow chart of a multi-AGV scheduling method disclosed in this application;

[0039] Figure 2 This is a schematic diagram of the overall process of multi-AGV dynamic scheduling disclosed in this application;

[0040] Figure 3 A schematic diagram of a target multi-AGV dynamic scheduling model training process disclosed in this application;

[0041] Figure 4 A schematic diagram of the structure of a multi-AGV dynamic scheduling system disclosed in this application;

[0042] Figure 5 This is a schematic diagram of the structure of a multi-AGV dispatching device disclosed in this application;

[0043] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Currently, in the field of multi-AGV scheduling in logistics warehousing, the scheduling of multiple AGVs is statically scheduled from an overall perspective, and most samples based on deep reinforcement learning have low efficiency and cannot learn effective strategies, which is a major obstacle in real-world applications.

[0046] To this end, the present application provides a multi-AGV scheduling solution that can achieve dynamic scheduling of multiple AGVs and improve the efficiency of multi-AGV scheduling.

[0047] The embodiment of the present invention discloses a multi-AGV scheduling method, see Figure 1 As shown, the method includes:

[0048] Step S11: Collect real-time environmental information and model it into real-time environmental state representation through a deep encoding and decoding network.

[0049] In an embodiment of the present application, the real-time environmental information includes a map module, a task module and an AGV module; wherein the map module includes an entry point, an entry buffer, a high-level buffer, an exit buffer, and an exit point; the task module includes a starting point, a target point, a task ready time, and a current task execution time; the AGV module includes a driving speed, real-time coordinates, load capacity, battery power, and failure rate.

[0050] It should be pointed out that the environmental state modeling is performed after the real-time environmental information is collected. In order to achieve dynamic scheduling, each AGV is modeled as an intelligent agent, and the environmental information observed by each AGV in real time is used as its state representation. Specifically, the calculation formula corresponding to the real-time environmental state representation modeled by the deep encoding and decoding network is:

[0051] ;

[0052] ;

[0053] in, for t The embedding matrix of the input sample at time step; M is the learnable embedding transformation matrix; , , for t The map module, the task module, and the AGV module in the time step sample are embedded in a matrix obtained by connection operation; express t The time step will Assigned to transportation, i , j Represent the index of the task and AGV respectively.

[0054] Step S12: construct a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and use the real-time environmental state representation to train the multi-AGV dynamic scheduling model to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on a training method of a denoising diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution.

[0055] In the embodiment of the present application, a diffusion model mechanism is first introduced to enable the model to model any state and action distribution. At the same time, multiple constraints can be considered during the training process, thereby generating behaviors that meet multiple complex or uncertain environments during testing.

[0056] Secondly, the embodiment of the present application introduces a multi-agent reinforcement learning training method, starting from the perspective of individual AGVs, rather than the traditional overall perspective static scheduling. And adopting a training framework of centralized training and decentralized execution, it is possible to schedule dynamic events. In this way, unpredictable dynamic events such as mission readiness, AGV failure, etc. can be handled. At the same time, in cooperation and competition scenarios, each agent as an agent group can discover corresponding information coordination strategies for various dynamic events, which plays a significant role in improving the efficiency of multi-AGV dynamic scheduling.

[0057] Specifically, the multi-AGV dynamic scheduling model based on the diffusion model and multi-agent reinforcement learning is constructed, and the multi-AGV dynamic scheduling model is trained using the real-time environment state representation to obtain a target multi-AGV dynamic scheduling model, including: obtaining a multi-agent, wherein the multi-agent includes at least one agent, and each AGV is modeled as an agent; determining target constraints, and inputting the real-time environment state representation and the target constraints into the diffusion models corresponding to each of the multi-agents to generate an action sequence; determining the Q value corresponding to each of the multi-agents based on the action sequence and the real-time environment state representation, and determining the target multi-AGV dynamic scheduling model according to the Q value.

[0058] In a specific implementation, the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on the training method of Denoising Diffusion Probabilistic Models (DDPM). Specifically, the corresponding calculation formula is:

[0059] ;

[0060] ;

[0061] in, is the diffusion model t In the time step k Step denoising output; , , It is k Step VP Test coefficient; is a sample from a standard normal distribution, k is a positive integer, K for k The total number of thresholds; parameterized by a deep neural network to predict random noise, where the random noise is added to the dataset samples To generate The noise ϵ∼N(0, I ); Indicates the constraints of the task, such as path deadlock, historical status , Historical Actions , , is the current time step; , is a constant. In one feasible implementation, , .

[0062] It can be understood that the diffusion model includes two processes, one is the forward diffusion process, which gradually adds noise to the object, such as the intelligent agent in the present invention, until pure noise is finally obtained; the other is the reverse denoising diffusion process, which starts from pure noise and gradually denoises it, and finally obtains the real object. In this way, it can work by gradually reducing noise and gradually introducing data features, and finally generate high-quality transfer data sets as training samples, enhance the randomly sampled original data, improve the performance of the reinforcement learning strategy, and accelerate the convergence speed.

[0063] In the embodiment of the present application, a learning strategy corresponding to each agent is generated for the reverse denoising diffusion process of the diffusion model. Specifically, the learning strategy corresponding to the multi-agent is determined based on the multi-agent and the diffusion model; the transition data when the multi-agent reaches the next state from the current state is obtained according to the learning strategy, so as to determine the transition data set corresponding to the multi-agent using the transition data, and store the transition data set in the replay cache.

[0064] It should be pointed out that when multiple agents reach the next state from the current state, the corresponding reward value is calculated at the same time. r , so you can get a complete transfer data , and then use the transfer data to determine the transfer data set corresponding to the multi-agent. At the same time, the transfer data set is stored in the replay cache. Furthermore, the multi-agent reinforcement learning utilizes the transfer data set in the replay cache enhanced by the diffusion model, and adopts a centralized training and decentralized execution framework to learn the strategy by maximizing the expected cumulative rewards of multiple AGVs. Specifically, the process of constructing a multi-AGV dynamic scheduling model based on the diffusion model and multi-agent reinforcement learning also includes: using the transfer data set in the replay cache through the multi-agent reinforcement learning, based on the centralized training and decentralized execution training framework, to update the learning strategy by maximizing the expected reward function value of the multi-agent.

[0065] In the embodiment of the present application, the agent can be i Expected return The gradient is written as:

[0066] ;

[0067] Among them, consider a N The game of agents, the strategy parameters are ,set up is the set of all agent strategies. In the embodiment of the present application, compared with traditional reinforcement learning, the expected benefit update gradient in multi-agent reinforcement learning introduces a centralized action value function. is a centralized action-value function that takes as input the actions of all agents, along with some state information x , outputting the value of 𝑄 for agent 𝑖. In the simplest case, 𝑥 can consist of the observed values ​​of all agents .

[0068] In an embodiment of the present application, in the process of iterative training of the model, the historical environmental state representation of the previous modeling and the real-time environmental state representation obtained by the current modeling, and the collaborative constraints are used as training samples and conditions to train the multi-AGV dynamic scheduling model. Specifically: Decentralized execution stage: Each agent will input its observed feature vector, that is, state representation, and collaborative constraints into its own diffusion model; the diffusion model will attempt to predict and remove noise in the reverse process to generate an action sequence as an option. Centralized training stage: Calculate the Q value of each agent based on the actions of all agents and the observed state information, and then calculate the error loss. In one feasible implementation, the least squares error is used to minimize the expected Q Values ​​and Goals Q Specifically, the Q value is updated by using the least squares error, and the multi-AGV dynamic scheduling model is trained by stochastic gradient descent to determine the target multi-AGV dynamic scheduling model.

[0069] Among them, the centralized action value function The update formula is:

[0070] ;

[0071] ;

[0072] in, It is a target strategy set with delay parameters. The model is trained using the stochastic gradient descent method, and finally a trained target multi-AGV dynamic scheduling model is obtained.

[0073] Step S13: dynamically inputting the target environment information into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGVs.

[0074] In the embodiment of the present application, after obtaining the trained target multi-AGV dynamic scheduling model, the target multi-AGV dynamic scheduling model can be used for verification and reasoning. Specifically, verification and reasoning is to dynamically input the acquired target environment information into the trained scheduling model in actual application to dynamically output the action sequence of multiple AGVs.

[0075] Further, such as Figure 2 The figure shows an overall flow chart of the target multi-AGV dynamic scheduling model based on the diffusion model and multi-agent reinforcement learning. Figure 3 First, the real-time environment information is connected through the AGV module, task module, and map module to generate an environment state representation, which is specifically represented as an embedding matrix. Secondly, the diffusion model is used to generate an action sequence and synthesize a transfer data set. In the process of model training, the modeled real-time environment state representation ( is the current time step) and the historical environment state representation , , collaborative constraints are used as training samples and conditions to train the dynamic scheduling model of multiple AGVs in logistics warehousing. Multi-agent reinforcement learning uses the transfer data set learning strategy in the replay cache enhanced by the diffusion model, and adopts a centralized training and decentralized execution framework to learn strategies by maximizing the expected cumulative rewards of multiple AGVs. In the decentralized execution stage, each agent will input the observed feature vector collaborative constraints into its own diffusion model. The diffusion model will try to predict and remove noise to generate action choices in the reverse process; in the centralized training stage, the Q value of each agent is calculated based on the actions of all agents and the observed state information, and then the error loss is calculated. The least squares error is used to minimize the gap between the expected Q value and the target Q value, and the model is trained using the stochastic gradient descent method. Finally, the trained multi-AGV dynamic scheduling model is obtained. Correspondingly, such as Figure 4The figure shows a schematic diagram of a logistics warehousing multi-AGV dynamic scheduling system based on a diffusion model and multi-agent reinforcement learning, including preprocessing, model construction, model training, and model prediction. The specific implementation process of each module corresponds to the above-disclosed content and will not be repeated here.

[0076] The present application provides a multi-AGV scheduling method, including: collecting real-time environmental information and modeling it as a real-time environmental state representation through a deep encoding and decoding network; constructing a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and using the real-time environmental state representation to train the multi-AGV dynamic scheduling model to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates an action sequence based on a training method of a denoising diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution; the target environmental information is dynamically input into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGV.

[0077] The beneficial technical effects of the present application are: on the one hand, by introducing the diffusion model mechanism, not only can the model be used to model any state and action distribution, but multiple constraints can also be considered during the training process, thereby generating behaviors that meet multiple complex or uncertain environments during testing; on the other hand, the introduction of multi-agent reinforcement learning training methods can handle unpredictable dynamic events. At the same time, in cooperative and competitive scenarios, the agent group can discover various information coordination strategies, which plays a significant role in improving the efficiency of dynamic scheduling of multiple AGVs.

[0078] Correspondingly, the embodiment of the present application also discloses a multi-AGV scheduling device, see Figure 5 As shown, the device comprises:

[0079] An information collection module 11 is used to collect real-time environmental information and model it into a real-time environmental state representation through a deep encoding and decoding network;

[0080] The model building module 12 is used to build a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and train the multi-AGV dynamic scheduling model using the real-time environmental state representation to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on a training method of a denoised diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution;

[0081] The model prediction module 13 is used to dynamically input the target environment information into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGVs.

[0082] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0083] It can be seen that the above scheme of this embodiment includes: collecting real-time environmental information and modeling it as a real-time environmental state representation through a deep encoding and decoding network; constructing a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and using the real-time environmental state representation to train the multi-AGV dynamic scheduling model to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates an action sequence based on a training method of a denoising diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution; the target environmental information is dynamically input into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of multiple AGVs.

[0084] The beneficial technical effects of the present application are: on the one hand, by introducing the diffusion model mechanism, not only can the model be used to model any state and action distribution, but multiple constraints can also be considered during the training process, thereby generating behaviors that meet multiple complex or uncertain environments during testing; on the other hand, the introduction of multi-agent reinforcement learning training methods can handle unpredictable dynamic events. At the same time, in cooperative and competitive scenarios, the agent group can discover various information coordination strategies, which plays a significant role in improving the efficiency of dynamic scheduling of multiple AGVs.

[0085] Furthermore, the present application also discloses an electronic device. Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram cannot be considered as any limitation on the scope of use of the present application.

[0086] Figure 6 The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the multi-AGV scheduling method disclosed in any of the aforementioned embodiments.

[0087] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0088] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.

[0089] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the multi-AGV scheduling method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0090] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned multi-AGV scheduling method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0091] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0092] The steps of the multi-AGV scheduling method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0093] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0094] The above is a detailed introduction to a multi-AGV scheduling method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A multi-AGV scheduling method, characterized in that: include: Collect real-time environment information and model it into real-time environment state representation through a deep encoder-decoder network; A multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning is constructed, and the multi-AGV dynamic scheduling model is trained using the real-time environmental state representation to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on a training method of a denoised diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution; Dynamically inputting target environment information into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGVs; The real-time environment information includes a map module, a task module and an AGV module; the map module includes an entry point, an entry buffer, a high buffer, an exit buffer and an exit point; the task module includes a starting point, a target point, a task ready time and a current task execution time; the AGV module includes a driving speed, a real-time coordinate, a load capacity, a battery charge and a failure rate; The multi-AGV dynamic scheduling model based on the diffusion model and multi-agent reinforcement learning is constructed, and the multi-AGV dynamic scheduling model is trained using the real-time environment state representation to obtain a target multi-AGV dynamic scheduling model, including: Acquire a multi-agent, wherein the multi-agent includes at least one agent, and each AGV is modeled as an agent; Determine target constraints, and input the real-time environment state representation and the target constraints into the diffusion model corresponding to each of the multiple agents to generate an action sequence; The Q value corresponding to each of the multi-agents is determined based on the action sequence and the real-time environmental state representation, and the target multi-AGV dynamic scheduling model is determined according to the Q value.

2. The multi-AGV scheduling method according to claim 1, characterized in that: The calculation formula corresponding to collecting real-time environmental information and modeling it through a deep codec network to represent the real-time environmental state is: ; ; in, for t The embedding matrix of the input sample at time step; M is the learnable embedding transformation matrix; , , for t The map module, the task module, and the AGV module in the time step sample are embedded in a matrix obtained by connection operation; express t The time step will Assigned to transportation, i , j Represent the index of the task and AGV respectively.

3. The multi-AGV scheduling method according to claim 1, characterized in that: Determining the target multi-AGV dynamic scheduling model according to the Q value includes: The Q value is updated using the least squares error, and the multi-AGV dynamic scheduling model is trained by stochastic gradient descent to determine the target multi-AGV dynamic scheduling model.

4. The multi-AGV scheduling method according to claim 1, characterized in that: The diffusion model uses no classifier guidance and sampling within a preset low temperature range, and the calculation formula corresponding to the action sequence generated based on the training method of the denoising diffusion probability model is: ; ; in, is the diffusion model t In the time step k Step denoising output; , , It is k Step VP Test coefficient; is a sample from a standard normal distribution, k is a positive integer, K for k The total number of thresholds; Parameterized by a deep neural network to predict random noise, which is added to the dataset samples To produce The noise ϵ∼N(0,1); Represents the constraints of the task; , Is a constant.

5. The multi-AGV scheduling method according to any one of claims 1 to 4, characterized in that: Also includes: Determine a learning strategy corresponding to the multi-agent based on the multi-agent and the diffusion model; Acquire the transition data when the multi-agent reaches the next state from the current state according to the learning strategy, so as to determine the transition data set corresponding to the multi-agent by using the transition data, and store the transition data set in the replay cache; Accordingly, the process of constructing a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning also includes: The transfer data set in the replay buffer is utilized by the multi-agent reinforcement learning, and the learning strategy is updated by maximizing the expected reward function value of the multi-agent based on the training framework of centralized training and decentralized execution.

6. A multi-AGV dispatching device, characterized in that: include: An information collection module is used to collect real-time environmental information and model it into a real-time environmental state representation through a deep encoding and decoding network; A model building module is used to build a multi-AGV dynamic scheduling model based on a diffusion model and multi-agent reinforcement learning, and train the multi-AGV dynamic scheduling model using the real-time environmental state representation to obtain a target multi-AGV dynamic scheduling model; wherein the diffusion model uses no classifier guidance and sampling within a preset low temperature range, and generates action sequences based on a training method of a denoised diffusion probability model; the multi-agent reinforcement learning adopts a training framework of centralized training and decentralized execution; A model prediction module, used to dynamically input target environment information into the target multi-AGV dynamic scheduling model to dynamically output the action sequence of the multi-AGV; The real-time environment information includes a map module, a task module and an AGV module; the map module includes an entry point, an entry buffer, a high buffer, an exit buffer and an exit point; the task module includes a starting point, a target point, a task ready time and a current task execution time; the AGV module includes a driving speed, a real-time coordinate, a load capacity, a battery charge and a failure rate; The model building module is specifically used for: Acquire a multi-agent, wherein the multi-agent includes at least one agent, and each AGV is modeled as an agent; Determine target constraints, and input the real-time environment state representation and the target constraints into the diffusion model corresponding to each of the multiple agents to generate an action sequence; The Q value corresponding to each of the multi-agents is determined based on the action sequence and the real-time environmental state representation, and the target multi-AGV dynamic scheduling model is determined according to the Q value.

7. An electronic device, characterized in that: The electronic device includes a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the multi-AGV scheduling method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by the processor, the multi-AGV scheduling method as described in any one of claims 1 to 5 is implemented.